pageflow 15.2.2 → 15.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +338 -85
  3. data/admins/pageflow/accounts.rb +1 -98
  4. data/admins/pageflow/entry.rb +21 -1
  5. data/admins/pageflow/entry_templates.rb +140 -0
  6. data/admins/pageflow/membership.rb +12 -0
  7. data/admins/pageflow/user.rb +5 -3
  8. data/app/assets/javascripts/pageflow/admin/entries.js +65 -0
  9. data/app/assets/javascripts/pageflow/admin/users.js +1 -1
  10. data/app/assets/javascripts/pageflow/asset_urls.js.erb +1 -0
  11. data/app/assets/javascripts/pageflow/base.js +0 -12
  12. data/app/assets/javascripts/pageflow/components.js +2 -6
  13. data/app/assets/javascripts/pageflow/dist/ui.js +47 -14
  14. data/app/assets/javascripts/pageflow/vendor.js +13 -10
  15. data/app/assets/stylesheets/pageflow/base.scss +0 -7
  16. data/app/assets/stylesheets/pageflow/editor/base.scss +2 -0
  17. data/app/assets/stylesheets/pageflow/editor/composables.scss +5 -1
  18. data/app/assets/stylesheets/pageflow/editor/emulation_mode_button.scss +44 -55
  19. data/app/assets/stylesheets/pageflow/editor/help.scss +2 -2
  20. data/app/assets/stylesheets/pageflow/ui/tooltip.scss +17 -3
  21. data/app/helpers/pageflow/admin/entries_helper.rb +16 -0
  22. data/app/helpers/pageflow/structured_data_helper.rb +0 -2
  23. data/app/models/pageflow/account.rb +21 -1
  24. data/app/models/pageflow/entry.rb +9 -2
  25. data/app/models/pageflow/entry_duplicate.rb +1 -0
  26. data/app/models/pageflow/entry_template.rb +16 -2
  27. data/app/policies/pageflow/account_policy.rb +10 -0
  28. data/app/policies/pageflow/entry_template_policy.rb +5 -1
  29. data/app/views/admin/accounts/_entry_template_details.html.arb +7 -5
  30. data/app/views/admin/accounts/_form.html.erb +3 -49
  31. data/app/views/admin/entries/_attributes_table.html.arb +5 -0
  32. data/app/views/admin/entries/_not_allowed_to_see_entry_types.json.jbuilder +2 -0
  33. data/app/views/admin/entries/entry_types.json.jbuilder +4 -0
  34. data/app/views/admin/entry_templates/_form.html.erb +58 -0
  35. data/app/views/admin/users/_not_allowed_to_see_user_quota.html.erb +3 -0
  36. data/app/views/components/pageflow/admin/entry_templates_tab.rb +48 -0
  37. data/app/views/pageflow/admin/users/_quota_exhausted.html.erb +1 -1
  38. data/config/initializers/admin_resource_tabs.rb +5 -0
  39. data/config/initializers/help_entries.rb +1 -5
  40. data/config/locales/de.yml +88 -155
  41. data/config/locales/en.yml +79 -143
  42. data/db/migrate/20200515112500_add_constraints_to_entry_templates.rb +21 -0
  43. data/db/migrate/20200807135200_rename_pageflow_entry_template_entry_type_to_entry_type_name.rb +7 -0
  44. data/entry_types/paged/app/assets/javascripts/pageflow_paged/components.js +7 -0
  45. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +1479 -1391
  46. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +9218 -0
  47. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-client.js +1 -1
  48. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-server.js +3 -3
  49. data/entry_types/paged/app/assets/javascripts/pageflow_paged/frontend.js +6 -0
  50. data/entry_types/paged/app/assets/javascripts/pageflow_paged/server_rendering.js +9 -0
  51. data/entry_types/paged/app/assets/javascripts/pageflow_paged/vendor.js +8 -0
  52. data/entry_types/paged/app/controllers/pageflow_paged/application_controller.rb +2 -2
  53. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/page_background_asset_helper.rb +4 -3
  54. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/react_server_side_rendering_helper.rb +23 -2
  55. data/entry_types/paged/app/views/layouts/pageflow_paged/application.html.erb +2 -2
  56. data/entry_types/paged/app/views/pageflow_paged/editor/entries/_head.html.erb +2 -2
  57. data/entry_types/paged/app/views/pageflow_paged/entries/_entry.html.erb +1 -1
  58. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/page_background_asset/_element.html.erb +0 -0
  59. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/_widget.html.erb +0 -0
  60. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/page.html.erb +0 -0
  61. data/entry_types/paged/config/initializers/features.rb +1 -1
  62. data/entry_types/paged/config/initializers/help_entries.rb +17 -0
  63. data/entry_types/paged/config/locales/new/help.de.yml +162 -0
  64. data/entry_types/paged/config/locales/new/help.en.yml +153 -0
  65. data/entry_types/paged/lib/pageflow_paged/engine.rb +13 -0
  66. data/entry_types/paged/lib/pageflow_paged/plugin.rb +5 -1
  67. data/entry_types/paged/lib/pageflow_paged/react.rb +12 -0
  68. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/page_type.rb +2 -2
  69. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/widget_type.rb +2 -2
  70. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react-server.js +20613 -0
  71. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react.js +21495 -0
  72. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react-server.js +24 -0
  73. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react.js +24 -0
  74. data/entry_types/scrolled/app/assets/javascripts/pageflow_scrolled/legacy.js +0 -0
  75. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +2 -2
  76. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +14 -4
  77. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +2 -2
  78. data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +8 -0
  79. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +6 -0
  80. data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +2 -0
  81. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +33 -0
  82. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +8 -0
  83. data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +38 -0
  84. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/content_elements/batch.json.jbuilder +2 -0
  85. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +1 -7
  86. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +19 -3
  87. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +3 -0
  88. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +7 -0
  89. data/entry_types/scrolled/config/initializers/help_entries.rb +16 -0
  90. data/entry_types/scrolled/config/locales/new/de.yml +345 -13
  91. data/entry_types/scrolled/config/locales/new/en.yml +257 -14
  92. data/entry_types/scrolled/config/routes.rb +1 -0
  93. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +28 -0
  94. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoDesktop.svg +56 -0
  95. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoMobile.svg +22 -0
  96. data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +4 -0
  97. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +3 -1
  98. data/entry_types/scrolled/lib/pageflow_scrolled/seeds.rb +90 -30
  99. data/entry_types/scrolled/lib/tasks/pageflow_scrolled_tasks.rake +64 -27
  100. data/entry_types/scrolled/package/contentElements-editor.js +242 -183
  101. data/entry_types/scrolled/package/contentElements-frontend.css +1 -0
  102. data/entry_types/scrolled/package/contentElements-frontend.js +624 -279
  103. data/entry_types/scrolled/package/editor.js +2561 -363
  104. data/entry_types/scrolled/package/frontend-server.js +228 -0
  105. data/entry_types/scrolled/package/frontend/EditableText-4264c349.js +1993 -0
  106. data/entry_types/scrolled/package/frontend/Wavesurfer-c3c45324.js +378 -0
  107. data/entry_types/scrolled/package/frontend/components-cfe6a479.js +2115 -0
  108. data/entry_types/scrolled/package/frontend/getPrototypeOf-63c7c8e8.js +86 -0
  109. data/entry_types/scrolled/package/frontend/index.css +9 -0
  110. data/entry_types/scrolled/package/frontend/index.js +4425 -0
  111. data/entry_types/scrolled/package/package.json +17 -6
  112. data/entry_types/scrolled/spec/fixtures/audio.m4a +0 -0
  113. data/entry_types/scrolled/spec/fixtures/video.mp4 +0 -0
  114. data/lib/generators/pageflow/initializer/templates/pageflow.rb +20 -9
  115. data/lib/pageflow/ability_mixin.rb +14 -2
  116. data/lib/pageflow/configuration.rb +6 -5
  117. data/lib/pageflow/engine.rb +1 -0
  118. data/lib/pageflow/entry_type_configuration.rb +1 -0
  119. data/lib/pageflow/global_config_api.rb +5 -4
  120. data/lib/pageflow/react.rb +4 -2
  121. data/lib/pageflow/version.rb +1 -1
  122. data/{packages/pageflow → package}/config/jest/index.js +2 -1
  123. data/{packages/pageflow → package}/config/jest/transformers/jst.js +0 -0
  124. data/{packages/pageflow → package}/config/jest/transformers/upwardBabel.js +0 -0
  125. data/package/config/webpack.js +22 -0
  126. data/{packages/pageflow → package}/editor.js +480 -1129
  127. data/package/frontend.js +2525 -0
  128. data/{packages/pageflow → package}/package.json +3 -0
  129. data/{packages/pageflow → package}/testHelpers.js +114 -13
  130. data/{packages/pageflow → package}/ui.js +47 -14
  131. data/spec/factories/accounts.rb +3 -1
  132. data/spec/factories/entry_templates.rb +1 -0
  133. data/spec/factories/published_entries.rb +6 -1
  134. metadata +62 -26
  135. data/app/assets/javascripts/pageflow/dist/frontend.js +0 -5800
  136. data/config/initializers/entry_types.rb +0 -4
  137. data/entry_types/scrolled/package/frontend.js +0 -2879
  138. data/packages/pageflow/config/jest/transformers/cssModules.js +0 -1
  139. data/packages/pageflow/config/webpack.js +0 -14
@@ -19,4 +19,4 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(t){var e=
19
19
  */Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function E(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case p:case a:case u:case s:case h:return t;default:switch(t=t&&t.$$typeof){case l:case d:case y:case g:case c:return t;default:return e}}case i:return e}}}function O(t){return E(t)===p}e.typeOf=E,e.AsyncMode=f,e.ConcurrentMode=p,e.ContextConsumer=l,e.ContextProvider=c,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=y,e.Memo=g,e.Portal=i,e.Profiler=u,e.StrictMode=s,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===p||t===u||t===s||t===h||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===c||t.$$typeof===l||t.$$typeof===d||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w)},e.isAsyncMode=function(t){return O(t)||E(t)===f},e.isConcurrentMode=O,e.isContextConsumer=function(t){return E(t)===l},e.isContextProvider=function(t){return E(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return E(t)===d},e.isFragment=function(t){return E(t)===a},e.isLazy=function(t){return E(t)===y},e.isMemo=function(t){return E(t)===g},e.isPortal=function(t){return E(t)===i},e.isProfiler=function(t){return E(t)===u},e.isStrictMode=function(t){return E(t)===s},e.isSuspense=function(t){return E(t)===h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(0),a=(l(i),l(n(28))),s=l(n(42)),u=l(n(402)),c=l(n(403));function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.measure=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.useClone;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var r=n.getDimensions(n._node,t,e),o="function"==typeof n.props.children;n._propsToMeasure.some((function(t){if(r[t]!==n._lastDimensions[t])return n.props.onMeasure(r),o&&void 0!==n&&n.setState({dimensions:r}),n._lastDimensions=r,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(t),n._lastDimensions={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentDidMount",value:function(){var t=this;this._setDOMNode(),this.measure(),this.resizeObserver=new u.default((function(){return t.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(t){t.config;var e=t.whitelist,n=t.blacklist;this.props.whitelist===e&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:e,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=s.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.useClone,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.cloneOptions;return(0,c.default)(t,r({margin:e,clone:n},o))}},{key:"_getPropsToMeasure",value:function(t){var e=t.whitelist,n=t.blacklist;return e.filter((function(t){return n.indexOf(t)<0}))}},{key:"render",value:function(){var t=this.props.children;return i.Children.only("function"==typeof t?t(this.state.dimensions):t)}}]),e}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},e.default=f,t.exports=e.default},function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=2;var s=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function s(){n&&(n=!1,t()),r&&c()}function u(){i(s)}function c(){var t=Date.now();if(n){if(t-o<a)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}(this.refresh.bind(this),s)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+h(t["border-"+n+"-width"])}),0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=p(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=h(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,s=h(r.width),u=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=v(r,"left","right")+i),Math.round(u+a)!==n&&(u-=v(r,"top","bottom")+a)),!function(t){return t===p(t).document.documentElement}(t)){var c=Math.round(s+i)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return b(o.left,o.top,s,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return r?y(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):g(t):d}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var w=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(t,e){var n,r,o,i,a,s,u,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),f(u,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),u);f(this,{target:t,contentRect:c})},O=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new w(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,P=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new O(e,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){P.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:P;e.default=k}.call(this,n(74))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.getBoundingClientRect(),r=void 0,a=void 0,s=void 0;if((n.width&&n.height||e.noCloneOnZeroDimension)&&!e.clone)e.margin&&(s=(0,i.default)(getComputedStyle(t)));else{var u=(0,o.default)(t,e);n=u.rect,s=u.margin}e.margin?(r=s.left+n.width+s.right,a=s.top+n.height+s.bottom):(r=n.width,a=n.height);return{width:r,height:a,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var o=r(n(404)),i=r(n(168));t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,o,a=t.parentNode,s=document.createElement("div"),u=t.cloneNode(!0),c=getComputedStyle(t);s.style.height=0,s.style.overflow="hidden",u.setAttribute("id",""),u.setAttribute("name",""),(e.display||c&&"none"===c.getPropertyValue("display"))&&(u.style.display=e.display||"block");(e.width||c&&!parseInt(c.getPropertyValue("width")))&&(u.style.width=e.width||"auto");(e.height||c&&!parseInt(c.getPropertyValue("height")))&&(u.style.height=e.height||"auto");return s.appendChild(u),a.appendChild(s),n=u.getBoundingClientRect(),r=u.offsetWidth,o=u.offsetHeight,a.removeChild(s),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(c)}};var r,o=n(168),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){var r,o;
20
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],u=this.buffer.getChannelData(a),c=e;c<=n;c++){for(var l=~~(c*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=u[h];v>d&&(d=v),v<p&&(p=v)}s[2*c]=d,s[2*c+1]=p,(0==a||d>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=d),(0==a||p<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=p)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:t.WebAudio.audioContext=null,t.WebAudio.offlineAudioContext=null)},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var n=this.seekTo(t,e);t=n.start,e=n.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=t,o.style.width="100%";var i=e.querySelector(this.mediaType);i&&e.removeChild(i),e.appendChild(o),this._load(o,n)},loadElt:function(t,e){var n=t;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,e)},_load:function(t,e){var n=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){n.fireEvent("canplay")})),t.addEventListener("ended",(function(){n.fireEvent("finish")})),t.addEventListener("play",(function(){n.fireEvent("play")})),t.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},getPlaybackRate:function(){return this.playbackRate||this.media.playbackRate},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(n){n>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,n,r){return this.buffer?t.WebAudio.getPeaks.call(this,e,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var n,r=t.targetTouches?t.targetTouches[0].clientX:t.clientX,o=this.wrapper.getBoundingClientRect(),i=this.width,a=this.getWidth();return!this.params.fillParent&&i<a?(n=(r-o.left)*this.params.pixelRatio/i||0)>1&&(n=1):n=(r-o.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,n},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var n=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=n){var r=t.wrapper.getBoundingClientRect();if(e.clientY>=r.bottom-n)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,n,r){this.setWidth(e)||this.clearWave(),this.params.barWidth?this.drawBars(t,0,n,r):this.drawWave(t,0,n,r)},style:function(t,e){return Object.keys(e).forEach((function(n){t.style[n]!==e[n]&&(t.style[n]=e[n])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=t-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!e&&-r<=i&&i<r&&(o=n+(i=Math.max(-5,Math.min(5,i)))),(o=Math.max(0,Math.min(a,o)))!=n&&(this.wrapper.scrollLeft=o))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){return this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},setHeight:function(t){return t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(t){var e=1/this.params.pixelRatio,n=Math.round(t*this.width)*e;if(n<this.lastPos||n-this.lastPos>=e){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(r)}this.updateProgress(n)}},destroy:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateCursor:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.updateCursor(),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawBars(t,e,r,o)}));e=a[0]}var s=1;[].some.call(e,(function(t){return t<0}))&&(s=2);var u=.5/this.params.pixelRatio,c=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=e.length/s,h=this.params.barWidth*this.params.pixelRatio,v=Math.max(this.params.pixelRatio,~~(h/2)),g=h+v,y=1/this.params.barHeight;if(this.params.normalize){var m=t.util.max(e),b=t.util.min(e);y=-b>m?-b:m}var w=d/c;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var n=r/w;n<o/w;n+=g){var i=e[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);t.fillRect(n+u,p-a+f,h+u,2*a)}}),this)})),drawWave:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawWave(t,e,r,o)}));e=a[0]}if(![].some.call(e,(function(t){return t<0}))){for(var s=[],u=0,c=e.length;u<c;u++)s[2*u]=e[u],s[2*u+1]=-e[u];e=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(e.length/2),v=1;this.params.fillParent&&this.width!=h&&(v=this.width/h);var g=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),m=t.util.min(e);g=-m>y?-m:y}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){for(t.beginPath(),t.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(e[2*n]/g*d),t.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(e[2*n+1]/g*d);t.lineTo(n*v+l,d-i+p)}t.closePath(),t.fill(),t.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();this.canvases.forEach((function(t,e){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);e==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(t,n,this.height),this.clearWaveForEntry(t)}),this)},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0,height:"100%"})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,n){var r=Math.round(e/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/o||0,t.end=t.start+r/o,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=n,this.style(t.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=n,this.style(t.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(t){this.clearWaveForEntry(t)}),this)},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawBars(t,e,r,o)}),this);e=i[0]}var a=1;[].some.call(e,(function(t){return t<0}))&&(a=2);var s=this.width,u=this.params.height*this.params.pixelRatio,c=u*n||0,l=u/2,f=e.length/a,p=this.params.barWidth*this.params.pixelRatio,d=p+Math.max(this.params.pixelRatio,~~(p/2)),h=1/this.params.barHeight;if(this.params.normalize){var v=t.util.max(e),g=t.util.min(e);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=e[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+c,p+this.halfPixel,2*w)}})),drawWave:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawWave(t,e,r,o)}),this);e=i[0]}if(![].some.call(e,(function(t){return t<0}))){for(var a=[],s=0,u=e.length;s<u;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var c=this.params.height*this.params.pixelRatio,l=c*n||0,f=c/2,p=1/this.params.barHeight;if(this.params.normalize){var d=t.util.max(e),h=t.util.min(e);p=-h>d?-h:d}this.drawLine(e,p,f,l,r,o);var v=e.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(t,e,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,t,e,n,r,o,i),this.drawLineToContext(a,a.progressCtx,t,e,n,r,o,i)}),this)},drawLineToContext:function(t,e,n,r,o,i,a,s){if(e){var u=n.length/2,c=1;this.params.fillParent&&this.width!=u&&(c=this.width/u);var l=Math.round(u*t.start),f=Math.round(u*t.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(e.beginPath(),e.moveTo((p-l)*c+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);e.lineTo((g-l)*c+this.halfPixel,o-v+i)}for(var g=d-1;g>=p;g--)h=n[2*g+1]||0,v=Math.round(h/r*o),e.lineTo((g-l)*c+this.halfPixel,o-v+i);e.closePath(),e.fill()}}},fillRect:function(t,e,n,r,o){o=o||0;for(var i=Math.floor(t/this.maxCanvasWidth),a=Math.min(Math.ceil((t+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var u=this.canvases[s],c=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+u.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(u),this.fillRectToContext(u.waveCtx,l.x1-c,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(u.progressCtx,l.x1-c,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(t,e,n,r,o){t&&t.fillRect(e,n,r,o)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(t,e))})),n.length>1?n:n[0]}}),t.Drawer.SplitWavePointPlot=Object.create(t.Drawer.Canvas),t.util.extend(t.Drawer.SplitWavePointPlot,{defaultPlotParams:{plotNormalizeTo:"whole",plotTimeStart:0,plotMin:0,plotMax:1,plotColor:"#f63",plotProgressColor:"#F00",plotPointHeight:2,plotPointWidth:2,plotSeparator:!0,plotSeparatorColor:"black",plotRangeDisplay:!1,plotRangeUnits:"",plotRangePrecision:4,plotRangeIgnoreOutliers:!1,plotRangeFontSize:12,plotRangeFontType:"Ariel",waveDrawMedianLine:!0,plotFileDelimiter:"\t"},plotTimeStart:0,plotTimeEnd:-1,plotArrayLoaded:!1,plotArray:[],plotPoints:[],plotMin:0,plotMax:1,initDrawer:function(t){var e=this;for(var n in this.defaultPlotParams)void 0===this.params[n]&&(this.params[n]=this.defaultPlotParams[n]);this.plotTimeStart=this.params.plotTimeStart,void 0!==this.params.plotTimeEnd&&(this.plotTimeEnd=this.params.plotTimeEnd),Array.isArray(t.plotArray)?(this.plotArray=t.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(t.plotFileUrl,(function(t){e.plotArray=t,e.plotArrayLoaded=!0,e.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(t,e,n,r){if(1==this.plotArrayLoaded)this.setWidth(e),this.splitChannels=!0,this.params.height=this.params.height/2,t[0]instanceof Array&&(t=t[0]),this.params.barWidth?this.drawBars(t,1,n,r):this.drawWave(t,1,n,r),this.params.height=2*this.params.height,this.calculatePlots(),this.drawPlots();else{var o=this;o.on("plot-array-loaded",(function(){o.drawPeaks(t,e,n,r)}))}},drawPlots:function(){var t=this.params.height*this.params.pixelRatio/2,e=.5/this.params.pixelRatio;for(var n in this.waveCc.fillStyle=this.params.plotColor,this.progressCc&&(this.progressCc.fillStyle=this.params.plotProgressColor),this.plotPoints){var r=parseInt(n),o=t-this.params.plotPointHeight-this.plotPoints[n]*(t-this.params.plotPointHeight),i=this.params.plotPointHeight;this.waveCc.fillRect(r,o,this.params.plotPointWidth,i),this.progressCc&&this.progressCc.fillRect(r,o,this.params.plotPointWidth,i)}this.params.plotSeparator&&(this.waveCc.fillStyle=this.params.plotSeparatorColor,this.waveCc.fillRect(0,t,this.width,e)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var t=this.params.plotRangeFontSize*this.params.pixelRatio,e=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=t.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(e,3,t),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var t=[],e=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var u=this.plotArray[s];if(u.value>n&&(n=u.value),u.value<r&&(r=u.value),u.time>=this.plotTimeStart&&u.time<=this.plotTimeEnd){var c=Math.round(this.width*(u.time-this.plotTimeStart)/a);if(t.push(u.value),c!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=c}}"whole"==this.params.plotNormalizeTo?(this.plotMin=r,this.plotMax=n):"values"==this.params.plotNormalizeTo?(this.plotMin=this.params.plotMin,this.plotMax=this.params.plotMax):(this.plotMin=i,this.plotMax=o),this.normalizeValues()},normalizeValues:function(){var t={};if("none"!==this.params.plotNormalizeTo){for(var e in this.plotPoints){var n=(this.plotPoints[e]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(t[e]=1):n<0?this.params.plotRangeIgnoreOutliers||(t[e]=0):t[e]=n}this.plotPoints=t}},loadPlotArrayFromFile:function(e,n,r){void 0===r&&(r="\t");var o=[],i={url:e,responseType:"text"};t.util.ajax(i).on("load",(function(t){if(200==t.currentTarget.status){for(var e=t.currentTarget.responseText.split("\n"),i=0;i<e.length;i++){var a=e[i].split(r);2==a.length&&o.push({time:parseFloat(a[0]),value:parseFloat(a[1])})}n(o)}}))},calculatePlotTimeEnd:function(){void 0!==this.params.plotTimeEnd?this.plotTimeEnd=this.params.plotTimeEnd:this.plotTimeEnd=this.plotArray[this.plotArray.length-1].time},avg:function(t){return t.reduce((function(t,e){return t+e}))/t.length}}),t.util.extend(t.Drawer.SplitWavePointPlot,t.Observer),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,n){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<e;)o++;for(o%2==0&&r.push(e);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var n=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var r=t.create(n);if(e.dataset.peaks)var o=JSON.parse(e.dataset.peaks);r.load(e.dataset.url,o)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=r)},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return E})),n.d(r,"updatePageLink",(function(){return O})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return W})),n.d(o,"PageBackground",(function(){return H})),n.d(o,"PageBackgroundImage",(function(){return Cn})),n.d(o,"PageShadow",(function(){return In})),n.d(o,"PageForeground",(function(){return Mn})),n.d(o,"PageContent",(function(){return Fn})),n.d(o,"PageScroller",(function(){return Bn})),n.d(o,"PageHeader",(function(){return Un})),n.d(o,"PageText",(function(){return Wn})),n.d(o,"PageLink",(function(){return Yn})),n.d(o,"PageThumbnail",(function(){return Jn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Zn})),n.d(o,"PlayerControls",(function(){return Ur})),n.d(o,"CloseButton",(function(){return Vr})),n.d(o,"MenuBar",(function(){return Dr})),n.d(o,"Icon",(function(){return ur})),n.d(o,"editorOnly",(function(){return Gr})),n.d(o,"withVisibilityWatching",(function(){return Br})),n.d(o,"Draggable",(function(){return Er.a})),n.d(o,"Measure",(function(){return xr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return tn})),n.d(i,"pageAttributes",(function(){return en})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Kr})),n.d(i,"currentParentChapterAttributes",(function(){return $r})),n.d(i,"t",(function(){return Hr})),n.d(i,"setting",(function(){return Qr})),n.d(i,"file",(function(){return Ye})),n.d(i,"prop",(function(){return Vn})),n.d(i,"widgetAttributes",(function(){return to})),n.d(i,"editingWidget",(function(){return eo}));n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(79),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(291),n(292),n(293),n(294),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(157),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(390),n(164);var a=n(4),s=(n(391),"PAGE_DID_ACTIVATE"),u="PAGE_WILL_ACTIVATE",c="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,t)}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.name,r=t.value;return x(m,e,{name:n,value:r})}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.linkId,r=t.name,o=t.value;return x(b,e,{linkId:n,name:r,value:o})}function x(t,e){return{type:t,meta:{collectionName:"pages",itemId:e},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(t){var e=t.settings;return{type:P,payload:{settings:e}}}function S(t){var e=t.property,n=t.value;return{type:k,payload:{property:e,value:n}}}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&j(t.prototype,e),n&&j(t,n),t}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t){return(I="function"==typeof Symbol&&"symbol"===C(Symbol.iterator)?function(t){return C(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":C(t)})(t)}function M(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),W=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),e}(L.Component);function H(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),V=n.n(q);function G(t){return!!V()(t).match(/^\s*$/)}function z(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}z.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[z(n)]=t[n],e}),{})},z.deep=function(t){return Array.isArray(t)?t.map(z.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[z(n)]=z.deep(t[n]),e}),{}):t},z.concat=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).reduce((function(t,e){return t+e[0].toUpperCase()+e.slice(1)}))};var Y=z,X=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Object.keys(t).reduce((function(e,r){return"function"==typeof t[r]?e[r]=t[r].apply(t,n):e[r]=t[r],e}),{})}},$=n(60),K=n(120),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt((function(t,n){var r=e.slice(0,-1).map(et),o=e.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(t===J)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function tt(t,e){return nt((function(){return Object(K.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=et(t[n]),e}),{})}((e=t,Object.keys(e).reduce((function(t,n){return"function"==typeof e[n]?t[n]=e[n]:t[n]=function(){return e[n]},t}),{}))));var e}))}function et(t){return"function"==typeof t&&t[Q]?t(J):t}function nt(t){return t[Q]=!0,t}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function ot(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var it=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(e){return t.element=e}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(t){this.props.loaded&&!t.loaded&&function(t){var e=window.getComputedStyle(t).getPropertyValue("background-image");if(e.match(/^url/))ot(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(t){var e=this.props.position[t];return void 0===e?50:e}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var t=this.props.structuredDataComponent;return B.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(B.a.Component);it.defaultProps={position:[50,50],fileCollection:"imageFiles"};var at=n(17),st=Object(at.c)({isPreloaded:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return t}},isPrepared:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case u:return!0;case h:return!1;default:return t}},isActive:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return t}},isActivated:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case s:return!0;case l:return!1;default:return t}},initialScrollerPosition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",ct="COLLECTION_ADD",lt="COLLECTION_CHANGE",ft="COLLECTION_REMOVE",pt="COLLECTION_ORDER";function dt(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function ht(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ct,meta:{collectionName:e},payload:{attributes:n,order:r}}}function vt(t){var e=t.collectionName,n=t.attributes;return{type:lt,meta:{collectionName:e},payload:{attributes:n}}}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ct:case lt:return e.payload.attributes;default:return t}}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=function(t){var e={};function n(n){return e[n]=e[n]||Object(at.c)({attributes:gt,state:Object(at.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:st})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=gt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?mt({},t,{state:mt({},t.state,{custom:void 0})}):t}},wt=n(2),Et=n.n(wt),Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(e){if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));e=e[n]}return e[t].items||{}}};function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},kt(e),n))}function kt(t){return"__".concat(t,"_connectedId")}var _t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return function(e,o){var i=r,a=e;if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=e[n]}if(!a[t])throw new Error("Cannot select from unknown collection ".concat(t,"."));return"function"==typeof r&&(i=r(e,o)),(i=i||e[kt(t)])?a[t].items[i]:null}}};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var jt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.idAttribute,r=void 0===n?"id":n,o=e.itemReducer,i=void 0===o?gt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,u=arguments.length>1?arguments[1]:void 0;if(!u.meta||u.meta.collectionName!=t)return o;switch(u.type){case ut:return{order:u.payload.items.map((function(t){return t[r]})),items:u.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,ht({collectioName:u.payload.collectioName,attributes:e})),t}),{})};case ct:return{order:u.payload.order,items:Tt({},o.items,Object(a.a)({},u.payload.attributes[r],i(void 0,u)))};case lt:return n=u.payload.attributes[r],{order:o.order,items:Tt({},o.items,Object(a.a)({},n,i(o.items[n],u)))};case ft:return n=u.payload.attributes[r],delete(e=Tt({},o.items))[n],{order:u.payload.order,items:e};case pt:return{items:o.items,order:u.payload.order};default:if(u.meta.itemId){var c=o.items[u.meta.itemId],l=i(c,u);if(l!==c)return{order:o.order,items:Tt({},o.items,Object(a.a)({},u.meta.itemId,l))}}return o}}};function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ct(t,e,n){t.meta&&t.meta.collectionName==e&&!t.meta.itemId&&(t.meta=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?At(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.meta,{itemId:n}))}function It(t,e){return t.meta&&t.meta.collectionName==e}function Mt(t){return t.meta&&t.meta.itemId}var Rt=n(3),Dt=n(7);function Nt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lt=n(28),Bt=n.n(Lt),Ft=Bt.a.shape({trySubscribe:Bt.a.func.isRequired,tryUnsubscribe:Bt.a.func.isRequired,notifyNestedSubs:Bt.a.func.isRequired,isSubscribed:Bt.a.func.isRequired}),Ut=Bt.a.shape({subscribe:Bt.a.func.isRequired,dispatch:Bt.a.func.isRequired,getState:Bt.a.func.isRequired});B.a.forwardRef;var Wt=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Nt(o,e);var r=o.prototype;function o(n,r){var o;return(o=e.call(this,n,r)||this)[t]=n.store,o}return r.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ut.isRequired,children:Bt.a.element.isRequired},r.childContextTypes=((e={})[t]=Ut.isRequired,e[n]=Ft,e),r}();function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Vt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Gt=n(172),zt=n.n(Gt),Yt=n(96),Xt=n.n(Yt),$t=n(119),Kt=null,Qt={notify:function(){}};var Jt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qt}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=Kt,t=Kt},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==Kt&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qt)},t}(),Zt=void 0!==B.a.forwardRef,te=0,ee={};function ne(){}function re(t,e){var n,r;void 0===e&&(e={});var o=e,i=o.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,c=o.renderCountProp,l=void 0===c?void 0:c,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Vt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=te++,w=((n={})[h]=Ut,n[m]=Ft,n),E=((r={})[m]=Ft,r);return function(e){Xt()(Object($t.isValidElementType)(e),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},y,{getDisplayName:a,methodName:u,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){var o;return(o=n.call(this,t,e)||this).version=b,o.state={},o.renderCount=0,o.store=t[h]||e[h],o.propsMode=Boolean(t[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ht(Ht(o))),Xt()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Nt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[m]=e||this.context[m],t},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=ne,this.store=null,this.selector.run=ne,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xt()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var t=(this.propsMode?this.props:this.context)[m];this.subscription=new Jt(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ee)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(g||l||this.propsMode&&this.subscription))return t;var e=qt({},t);return g&&(e.ref=this.setWrappedInstance),l&&(e[l]=this.renderCount++),this.propsMode&&this.subscription&&(e[m]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(L.createElement)(e,this.addExtraProps(t.props))},i}(L.Component);return Zt&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=e,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,zt()(i,e)}}var oe=Object.prototype.hasOwnProperty;function ie(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function ae(t,e){if(ie(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!oe.call(e,n[o])||!ie(t[n[o]],e[n[o]]))return!1;return!0}function se(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ue(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ce(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=ue(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ue(o),o=r(e,n)),o},r}}var le=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?se((function(e){return Object(at.b)(t,e)})):void 0}];var fe=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(){return{}}))}];function pe(t,e,n){return qt({},n,t,e)}var de=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return pe}}];function he(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ve(t,e,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(s=t(i,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):y?(h=t(i,a),v=!p(h,s),s=h,v&&(c=n(s,u,a)),c):c}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),u=e(r,a),c=n(s,u,a),d=!0,c)}}function ge(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Vt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),u=o(t,i);return(i.pure?ve:he)(a,s,u,t,i)}function ye(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function me(t,e){return t===e}var be,we,Ee,Oe,xe,Pe,ke,_e,Se,Te,je,Ae,Ce=(Ee=(we=void 0===be?{}:be).connectHOC,Oe=void 0===Ee?re:Ee,xe=we.mapStateToPropsFactories,Pe=void 0===xe?fe:xe,ke=we.mapDispatchToPropsFactories,_e=void 0===ke?le:ke,Se=we.mergePropsFactories,Te=void 0===Se?de:Se,je=we.selectorFactory,Ae=void 0===je?ge:je,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,u=void 0===s?me:s,c=o.areOwnPropsEqual,l=void 0===c?ae:c,f=o.areStatePropsEqual,p=void 0===f?ae:f,d=o.areMergedPropsEqual,h=void 0===d?ae:d,v=Vt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,Pe,"mapStateToProps"),y=ye(e,_e,"mapDispatchToProps"),m=ye(n,Te,"mergeProps");return Oe(Ae,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Me=function(t){var e=function(e){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,e),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},kt(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return e.childContextTypes=Object(a.a)({},kt(t),B.a.PropTypes.number),e};function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var De=function(t,e,n){var r=Y.deep(t.reduce((function(t,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];t[r]=e[o]}else t[n]=e[n];return t}),{}));return n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},Y.deep(n)):r},Ne=function(t){var e=t.collection,n=t.dispatch,r=t.collectionName,o=t.idAttribute,i=void 0===o?"id":o,a=t.attributes,s=void 0===a?["id"]:a,u=t.includeConfiguration,c=void 0!==u&&u;n(dt({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(ht({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(ht({collectionName:r,attributes:f(t),order:e.pluck(i)}))})),e.on("change",(function(t){(function(t){return l.some((function(e){return t.hasChanged(e)}))})(t)&&n(vt({collectionName:r,attributes:f(t)}))})),c&&e.on("change:configuration",(function(t){n(vt({collectionName:r,attributes:f(t)}))})),e.on("remove",(function(t){setTimeout((function(){n(function(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ft,meta:{collectionName:e},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(t),order:e.pluck(i)}))}),0)})),e.on("sort",(function(){n(function(t){var e=t.collectionName,n=t.order;return{type:pt,meta:{collectionName:e},payload:{order:n}}}({collectionName:r,order:e.pluck(i)}))}));var l=s.map((function(t){return"object"==typeof t?function(t){return t[Object.keys(t)[0]]}(t):t}));function f(t){return De(s,t.attributes,c&&t.configuration.attributes)}},Le=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.attributes,i=void 0===o?["id"]:o,a=t.includeConfiguration,s=void 0!==a&&a;r(dt({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Be=n(50),Fe=n.n(Be),Ue=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Fe.a.Collection&&e instanceof Fe.a.Collection?Ne:Le)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function We(t){var e=t.candidates,n=t.page,r=t.fileExists;return e.find((function(t){if(t.condition&&!function(t,e){var n=e[Y(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=He(n,t);return r(Y(t.collectionName),e)}))}function He(t,e){return"id"in e?e.id:t[Y(e.attribute)]}function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Ve=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("No file url templates found for ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({urls:(e.variants||Object.keys(n[t])).reduce((function(r,o){var i=function(t,e,n,r){var o=r[t][n];if(o)return o.replace(":id_partition",(i=e.id,function(t,e){return t.replace(/./g,(function(t,e,n){return e&&(n.length-e)%3==0?"/"+t:t}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",e.basename);var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var ze=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("Could not find model type for collection name ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Ye(t,e){return Z(_t(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return $e(t,e,n,r)}))}function Xe(){return Z((function(t){return t.files}),(function(t){return function(e,n){return n&&!!_t(e)({id:n})(t)}}))}function $e(t,e,n,r){return ze(t,Ve(t,e,n),r)}function Ke(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[Y(r.type)]:null}}var Qe=_t("pages"),Je=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(e){if(!n[e])throw new Error("Cannot select from unknown namespace ".concat(e,"."));n=n[e]}var r=n[t];return r.items[r.order[0]]}}("pages");function Ze(t){return Z(Je,(function(e){return e&&e.attributes[t]}))}function tn(t,e){return Z(Qe(e),(function(e){return e&&e.attributes[t]}))}function en(t){return Z(Qe(t),(function(t){return t&&t.attributes}))}function nn(t,e){return Z(Qe(e),(function(e){return e&&e.state.custom[t]}))}function rn(t){return sn("isActive",t)}function on(t){return sn("isPreloaded",t)}function an(t){return sn("isPrepared",t)}function sn(t,e){return Z(Qe(e),(function(e){return e&&e.state.common[t]}))}var un=Et.a.mark(ln),cn=Et.a.mark(fn);function ln(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,u],fn);case 2:case"end":return t.stop()}}),un)}function fn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.type!=d){e.next=5;break}return e.next=3,Object(Rt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Rt.put)(w());case 5:case"end":return e.stop()}}),cn)}var pn=Et.a.mark(dn);function dn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Fe.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(m,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(vn,{pagesCollection:t,id:Mt(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Dt.takeEvery)(b,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(hn,{pagesCollection:t,pageId:Mt(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),pn)}function hn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=gn(e,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;gn(e,n).configuration.set(r,o)}function gn(t,e){var n=t.where({perma_id:e})[0];if(!n)throw new Error("Could not find page with perma id ".concat(e,"."));return n}var yn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Et.a.mark((function t(){var r;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(ln(),"t0",1);case 1:return t.delegateYield(dn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Et.a.mark((function t(){var e,o;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Rt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(y,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Rt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},mn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=n(42),wn=n.n(bn),En=Me("pages"),On=function(t){var e=t.Component,n=t.store,r=t.selectTargetElement,o=void 0===r?function(t){return t[0]}:r;return{scroller:!1,enhance:function(t,r){wn.a.render(B.a.createElement(Wt,{store:n},B.a.createElement(En,{itemId:xn(t)},B.a.createElement(mn,{mediaContext:{page:t.page("instance")}},B.a.createElement(e,null)))),o(t)),n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,t)}({id:xn(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:xn(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:xn(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:xn(t)}))},activating:function(t,e,r){n.dispatch(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.position;return x(u,e,{position:n})}({id:xn(t),position:r.position}))},activated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,t)}({id:xn(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:xn(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(c,t)}({id:xn(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:xn(t)}))},update:function(t,e){pageflow.commonPageCssClasses.updateCommonPageCssClasses(t,e)},cleanup:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,t)}({id:xn(t)})),wn.a.unmountComponentAtNode(t[0])}}};function xn(t){return parseInt(t.attr("id"),10)}function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kn(t,e){return Object.keys(e).reduce((function(n,r){return"function"==typeof t[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[r].apply(this,o),e[r].apply(this,o)}:n[r]=e[r],n}),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pn(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var _n,Sn,Tn={init:function(t){var e=t.pages,n=t.dispatch;Ue({collection:e,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(t){var e=t.pageTypes,n=(void 0===e?[]:e).reduce((function(t,e){var n=e.name,r=e.reducer;return t[n]=r,t}),{});return{pages:jt("pages",{idAttribute:"permaId",itemReducer:bt(n)})}},createMiddleware:function(){return function t(e){var n,r=e.getState,o=e.dispatch,i=(n=[],{subscribe:function(t){return n.push(t),function(){return function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}(n,t)}},emit:function(t){for(var e=n.slice(),r=0,o=e.length;r<o;r++)e[r](t)}});return t.getState=r,t.dispatch=o,t.subscribe=i.subscribe,function(t){return function(e){var n=t(e);return i.emit(e),n}}}},createSaga:function(t){var e=t.pages,n=t.pageTypes,r=void 0===n?[]:n,o=t.middleware,i=r.reduce((function(t,e){var n=e.name,r=e.saga;return t[n]=r,t}),{});return function(t,e){var n=Et.a.mark(l),r=Et.a.mark(f),o=Et.a.mark(p),i=Et.a.mark(d),a=Et.a.mark(h),s=e.itemSaga,u=e.middleware,c=Ot(t);return l;function l(){var t;return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,ct,ft],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Rt.select)(c);case 2:return e=n.sent,n.delegateYield(p(e,t),"t0",4);case 4:return n.delegateYield(d(e,t),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(t,e){return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(e).map((function(n){if(!(n in t))return Object(Rt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(t).map((function(t){if(!e[t])return Object(Rt.fork)(h,parseInt(t,10))}));case 2:n=r.sent,Object.keys(t).forEach((function(t,r){e[t]||(e[t]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return u.subscribe((function(r){It(r,t)&&Mt(r)!=e||n(r)}))},dispatch:function(n){Ct(n,t,e),u.dispatch(n)},getState:function(){return Pt(u.getState(),t,e)}}),r.prev=1,r.next=4,Object(Rt.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:e,pageTypeSagas:i}),middleware:o})}},jn=(Sn=kt(_n="pages"),function(t,e,n){var r=Ce(t?function(e,n){var r=t(Pt(e,_n,n[Sn]),n);return"function"==typeof r?function(t,e){return r(Pt(t,_n,e[Sn]),e)}:r}:null,e?function(t,n){var r=function(e){return Ct(e,_n,n[Sn]),t(e)};return"function"==typeof e?e(r,n):Object(at.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,t),A(n,[{key:"render",value:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Sn,this.context[Sn]));return B.a.createElement(e,t)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Sn,B.a.PropTypes.number),n}});var An=jn(tt({loaded:on()}))(it),Cn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page,e=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(An,{fileId:t["".concat(e,"Id")],fileCollection:this.props.fileCollection,position:[t["".concat(e,"X")],t["".concat(e,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),e}(B.a.Component);Cn.defaultProps={propertyBaseName:"backgroundImage"};var In=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),e}(B.a.Component),Mn=function(t){return B.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Rn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(e){return t.wrapperElement=e}},React.createElement("div",{ref:function(e){return t.scrollerElement=e},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var t=jQuery(this.scrollerElement);t.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=t.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(t){this.scroller.resetPosition(t)}}]),e}(L.Component),Dn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillReceiveProps",value:function(t){!this.props.enabled&&t.enabled?this.refs.scroller.enable():this.props.enabled&&!t.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==t.initialScrollerPosition&&t.initialScrollerPosition&&this.refs.scroller.resetPosition({position:t.initialScrollerPosition})}},{key:"getChildContext",value:function(){var t=this;return this._pageScroller=this._pageScroller||{disable:function(){t.refs.scroller.disable()},enable:function(){t.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Rn,{ref:"scroller",className:(t=this.props,U()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Nn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(B.a.Component);function Nn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Dn.childContextTypes={pageScroller:B.a.PropTypes.object};var Ln,Bn=jn(tt({enabled:sn("isActivated",Ln),initialScrollerPosition:function(t){return sn("initialScrollerPosition",t)}()}))(Dn),Fn=function(t){return React.createElement(Mn,null,React.createElement(Bn,null,t.children))},Un=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(B.a.Component);function Wn(t){return B.a.createElement("div",{className:Hn(t)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:qn(t)}),t.children)}function Hn(t){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=Wn.defaultProps.marginBottom))}function qn(t){return{__html:t.page.text}}function Vn(t){return function(e,n){var r=t.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(t,e){return t&&t[e]}),n)}}function Gn(t){return function(e,n,r){return rt(t,r)}}Wn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var zn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(t){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),t.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),e}(B.a.Component),Yn=Ce(tt({targetPage:en({id:Vn("pageLink.targetPageId")})}))(zn);function Xn(t){return React.createElement("div",{className:$n(t)})}function $n(t){return U()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=We({candidates:Kn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,He(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Kn(t){return[Qn(t)].concat(Object($.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function Qn(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Xn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Jn=jn(tt({pageType:Ke({page:function(t){return t.page}}),fileExists:Xe()}))(Xn),Zn=jn(tt({loaded:on(),lazy:!0}))(Jn);function tr(t){return U()("add_info_box",{empty:er(t),title_empty:G(t.title),description_empty:G(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function er(t){return G(t.title)&&G(t.description)}var nr=function(t){return React.createElement("div",{className:tr(t)},function(t){if(!G(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function rr(t){return React.createElement("div",{className:U()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function or(t){return B.a.createElement("svg",{className:t.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"".concat(t.viewBoxLeft," ").concat(t.viewBoxTop," ").concat(t.viewBoxWidth," ").concat(t.viewBoxHeight)},t.children)}or.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var ir=or,ar={Checkmark:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},sr={toggleInfoBox:ar.Info,mediaQuality:ar.Gear,textTracks:ar.Subtitles,activeMenuItem:ar.Checkmark,loadingSpinner:ar.CircleWithNotch,play:ar.Play,pause:ar.Pause};function ur(t){var e=sr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return B.a.createElement(e,t)}var cr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ur,{name:"loadingSpinner"}))},lr=function(t){return jn(tt({id:Z(rn(),(function(t){return t?"firstContent":void 0}))}))(t)};var fr=lr((function(t){return React.createElement("a",{className:pr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:dr(t)},function(t){return t.iconName?React.createElement(ur,{name:t.iconName}):React.createElement("span",null)}(t))}));function pr(t){return U()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function dr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function hr(t){return React.createElement("div",{className:U()(t.className)},function(t){if(isNaN(t))return vr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(gr(n),":").concat(gr(e)):"".concat(n,":").concat(gr(e))}(t.value))}var vr="-:--";function gr(t){return t<10?"0"+t:t}hr.defaultProps={value:0};var yr=function(t){return React.createElement(hr,{className:"vjs-current-time",value:t.currentTime})},mr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},br=function(t){return React.createElement(hr,{className:"vjs-duration",value:t.duration})},wr=n(95),Er=n.n(wr),Or=n(32),xr=n.n(Or),Pr=37,kr=39,_r=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(t){var e=t.width;r.setState({progressHolderWidth:e})},r.measureHandle=function(t){var e=t.width;r.setState({handleWidth:e})},r.handleStop=function(t,e){r.props.onSeek&&r.props.onSeek(r.positionToTime(e.x))},r.handleDrag=function(t,e){r.props.onScrub&&r.props.onScrub(r.positionToTime(e.x))},r.handleKeyDown=function(t){var e;t.keyCode==Pr?e=Math.max(0,r.props.currentTime-1):t.keyCode==kr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return N(e,t),A(e,[{key:"positionToTime",value:function(t){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,t/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(wr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Sr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Sr(this.playProgress())}}),B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Sr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),e}(B.a.Component);function Sr(t){return t>0?100*t+"%":0}_r.defaultProps={currentTime:0,bufferedEnd:0};var Tr=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={subMenuVisible:!1},r.onLinkClick=function(t){t.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return N(e,React.Component),A(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:jr(e,this.state.subMenuVisible),ref:function(e){return t.wrapper=e},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ir(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(ur,{className:Ir(e,"icon"),name:e.iconName})),function(t,e){if(t.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(t,e){return t.subMenuItems.map((function(n){return React.createElement("li",{className:Ar(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Cr(t,n.value,e)},function(t){if(t.active)return React.createElement(ur,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(t,e){if(e.annotation)return React.createElement("span",{className:Ir(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function jr(t,e){return U()({"player_controls-menu_bar_button-sub_menu_visible":e},Ir(t))}function Ar(t){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function Cr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Ir(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Mr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Rr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Dr(t){return React.createElement("div",{className:Nr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Tr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Lr(t.onAdditionalButtonClick,e.name),onMouseEnter:Lr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Lr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Rr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Mr,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Nr(t){return U()(t.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":t.hiddenOnPhone,"player_controls-menu_bar-stand_alone":t.standAlone,"player_controls-menu_bar-inverted":t.inverted})}function Lr(t,e){if(t)return function(){return t(e)}}function Br(t){return function(e){function n(t){var e;return T(this,n),(e=M(this,R(n).call(this,t))).checkVisibility=function(){var t=window.getComputedStyle(e.element);e.lastVisibility!=t.visibility&&("visible"==t.visibility&&"none"!=t.display?e.props.onVisible&&e.props.onVisible():e.props.onHidden&&e.props.onHidden()),e.lastVisibility=t.visibility},e}return N(n,e),A(n,[{key:"componentDidMount",value:function(){this.element=wn.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(t,this.props)}}]),n}(B.a.Component)}function Fr(t){return U()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Tr.defaultProps={subMenuItems:[]},Mr.defaultProps={items:[]},Rr.defaultProps={items:[]},Dr.defaultProps={additionalButtons:[],standAlone:!0};var Ur=Br((function(t){return B.a.createElement(rr,t,B.a.createElement("span",{className:"hint"},t.hint),B.a.createElement(nr,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Fr(t)},function(t){if(t.isLoading)return B.a.createElement(cr,t)}(t),B.a.createElement("div",{className:"play_button"},B.a.createElement(fr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(yr,t),B.a.createElement(mr,null),B.a.createElement(br,t),B.a.createElement(_r,t))}(t),B.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),B.a.createElement(Dr,{standAlone:!1,additionalButtons:t.additionalMenuBarButtons,onAdditionalButtonClick:t.onAdditionalButtonClick,onAdditionalButtonMouseEnter:t.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:t.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Hr=Z(qr,(function(t){return function(e,n){return I18n.t(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wr(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function qr(t){return t.i18n.locale}var Vr=Ce(tt({t:Hr}))((function(t){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:t.t("pageflow.public.close"),onClick:t.onClick},React.createElement("div",{className:"label"},t.t("pageflow.public.close")))})),Gr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},zr=_t("chapters");var Yr=zr,Xr=_t("storylines");function $r(){return function(t,e){var n=Kr()(t,e);return n?Yr({id:n.chapterId})(t,e):null}}function Kr(){return function(t,e){return en({id:function(t,e){return Z(Xr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return Z(zr(e),(function(e){return e&&e[t]}))}("storylineId",{id:tn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function Qr(t){var e=t.property;return function(t){return t.settings[e]}}var Jr=_t("widgets");function Zr(t,e){var n=e.role;return Z(Jr({id:n}),(function(e){return e&&e[t]}))}function to(t){var e=t.role;return Z(Jr({id:e}),(function(t){return t}))}function eo(t){var e=t.role;return Z(Jr({id:e}),(function(t){return!(!t||!t.editing)}))}var no=function(t){return U()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},ro="MEDIA_TOGGLE_PLAYING",oo="MEDIA_PLAY",io="MEDIA_PLAY_AND_FADE_IN",ao="MEDIA_PAUSE",so="MEDIA_FADE_OUT_AND_PAUSE",uo="CHANGE_VOLUME_FACTOR",co="MEDIA_PLAY_FAILED",lo="MEDIA_PLAYING_MUTED",fo="MEDIA_SCRUB_TO",po="MEDIA_SEEK_TO",ho="MEDIA_PREBUFFER",vo="MEDIA_PREBUFFERED",go="MEDIA_ABORT_PREBUFFERING",yo="MEDIA_BUFFER_UNDERRUN",mo="MEDIA_BUFFER_UNDERRUN_CONTINUE",bo="MEDIA_META_DATA_LOADED",wo="MEDIA_PROGRESS",Eo="MEDIA_PLAYING",Oo="MEDIA_PAUSED",xo="MEDIA_TIME_UPDATE",Po="MEDIA_ENDED",ko="MEDIA_SEEKING",_o="MEDIA_SEEKED",So="MEDIA_WAITING",To="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",jo="MEDIA_USER_INTERACTION",Ao="MEDIA_USER_IDLE",Co="MEDIA_CONTROLS_ENTERED",Io="MEDIA_CONTROLS_LEFT",Mo="MEDIA_FOCUS_ENTERED_CONTROLS",Ro="MEDIA_FOCUS_LEFT_CONTROLS",Do="MEDIA_CONTROLS_HIDDEN",No="SHOW_INFO_BOX_DURING_PLAYBACK",Lo="HIDE_INFO_BOX_DURING_PLAYBACK",Bo="TOGGLE_INFO_BOX_DURING_PLAYBACK",Fo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Uo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Wo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(ro)},play:function(){return n(oo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(io,{fadeDuration:e})},pause:function(){return n(ao)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(so,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(uo,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(co)},playingMuted:function(){return n(lo)},scrubTo:function(t){return n(fo,{time:t})},seekTo:function(t){return n(po,{time:t})},prebuffer:function(){return n(ho)},prebuffered:function(){return n(vo)},abortPrebuffering:function(){return n(go)},bufferUnderrun:function(){return n(yo)},bufferUnderrunContinue:function(){return n(mo)},playing:function(){return n(Eo)},paused:function(){return n(Oo)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(xo,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(bo,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(wo,{bufferedEnd:e})},ended:function(){return n(Po)},seeking:function(){return n(ko)},seeked:function(){return n(_o)},waiting:function(){return n(So)},hasNotBeenPlayingForAMoment:function(t){return n(To)},userInteraction:function(){return n(jo)},userIdle:function(){return n(Ao)},controlsEntered:function(){return n(Co)},controlsLeft:function(){return n(Io)},focusEnteredControls:function(){return n(Mo)},focusLeftControls:function(){return n(Ro)},controlsHidden:function(){return n(Do)},showInfoBoxDuringPlayback:function(){return n(No)},hideInfoBoxDuringPlayback:function(){return n(Lo)},toggleInfoBoxDuringPlayback:function(){return n(Bo)},saveMediaElementId:function(t){return n(Fo,{id:t})},discardMediaElementId:function(){return n(Uo)}};function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:t,meta:{collectionName:"pages",mediaScope:e},payload:n}}}function Ho(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function qo(t){return t.backgroundMedia.muted}function Vo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Go(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===t?"default":t))}function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(at.b)(Wo({scope:e}),t)}}function Yo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z(Qr({property:"textTrack"}),Qr({property:"volume"}),Hr,qr,function(t,e){var n=e.parent;return Z(Ot(t,{namespace:"files"}),n,(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r,o){return n?Object.keys(e).reduce((function(i,a){var s=e[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push($e(t,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:e}),r,(function(t,e,n,r,o,i){t=t||{};var s=o.map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vo(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Xo(t,n)},t)})),u=function(t,e,n,r){if(e){var o=t.find((function(t){return t.permaId==e}));if(o)return o}var i=t.find((function(t){return"subtitles"==t.kind&&t.srclang==n})),a=0==r&&t.find((function(t){return"captions"==t.kind}));return i||a}(s,i,r,e);return{files:s.sort((function(t,e){return(t.displayLabel||"").localeCompare(e.displayLabel||"")})),autoFile:u,activeFileId:$o(s,u,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Xo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function $o(t,e,n){if("off"==n.kind)return null;var r=t.find((function(t){return t.srclang==n.srclang&&t.kind==n.kind}));return r?r.id:e&&e.id}function Ko(t){return Z(t.autoplayWhenBackgroundMediaMuted,Qo({id:t.id}),qo,(function(t,e,n){return e&&(!n||t)}))}function Qo(t){return Z(tn("autoplay",t),(function(t){return!1!==t}))}function Jo(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:t.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:e.togglePlaying,onScrub:e.scrubTo,onSeek:e.seekTo,onMouseEnter:e.controlsEntered,onMouseLeave:e.controlsLeft,onFocus:e.focusEnteredControls,onBlur:e.focusLeftControls,watchVisibility:n.isPlaying,onHidden:e.controlsHidden,additionalMenuBarButtons:ei(t),infoBoxHiddenDuringPlayback:ni(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:oi(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ri(t.textTracks,t.t),textTracksMenuButtonTitle:t.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(e){"off"==e?t.updateTextTrackSettings({kind:"off"}):t.updateTextTrackSettings(t.textTracks.files.find((function(t){return t.id==e})))}},t,{className:ti(n)}))}Jo.defaultProps={playerControlsComponent:Ur,qualities:[],textTracks:{files:[]}};var Zo=Ce(tt({activeQuality:Qr({property:"videoQuality"}),t:Hr}),{updateTextTrackSettings:Ho,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(Jo);function ti(t){return U()(no(t))}function ei(t){var e=t.t;return er(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ni(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ri(t,e){if(!t.files.length)return[];var n={value:"off",label:e("pageflow.public.text_track_modes.none"),active:"off"==t.mode};return[{value:"auto",label:t.autoFile?e("pageflow.public.text_track_modes.auto",{label:t.autoFile.displayLabel}):e("pageflow.public.text_track_modes.auto_off"),active:"auto"==t.mode},n].concat(t.files.map((function(e){return{value:e.id,label:e.displayLabel,active:"user"==t.mode&&e.id==t.activeFileId}})))}function oi(t,e,n,r){return n=n||"auto",function(t,e){if(!e)return[];return t.filter((function(t){return!!e.urls[t]||"auto"==t}))}(t,e).map((function(t){return{value:t,label:r("pageflow.public.video_qualities.labels.".concat(t)),annotation:r("pageflow.public.video_qualities.annotations.".concat(t),{defaultValue:""}),active:t==n}}))}function ii(t){return function(e){return e.entry[t]}}function ai(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var si=Ce(tt({t:Hr,entrySlug:ii("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:ai(t),target:"_blank"},(n=(e=t).file,r=e.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var e,n,r,o})),ui=Z(nn("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function ci(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(W,{className:pi(t.className,fi(t),t.textTracks,n)},React.createElement(H,{pageHasPlayerControls:!0},t.children,React.createElement(In,{page:e,className:no(n)})),React.createElement(Mn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:no(n)},React.createElement(Zo,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Bn,{className:no(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(si,{file:t.file})))))}ci.defaultProps={playerControlsCanOverlapPageText:!0};var li=jn(tt({pageScrollerMarginBottom:ui,textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Gn("autoplay support"),shouldAutoplay:Ko({id:Vn("page.permaId"),autoplayWhenBackgroundMediaMuted:Vn("autoplayWhenBackgroundMediaMuted")})}))(ci);function fi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function pi(t,e,n,r){return U()(t,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!e,should_play:r.shouldPlay,has_played:r.hasPlayed})}var di=jn(tt({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:tn("atmoDuringPlayback"),defaultTextTrackFileId:tn("defaultTextTrackFileId")}))((function(t){if(t.file&&t.file.isReady){var e=t.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(t){if(t.pageIsPrepared){var e=t.playerComponent;return React.createElement(e,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,fit:t.fit,position:t.position,loop:t.loop,muted:t.muted,playsInline:t.playsInline,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,textTrackPosition:t.textTrackPosition})}if(t.preloadComponent&&t.pageIsPreloaded){var n=t.preloadComponent;return React.createElement(n,{file:t.file,posterImageFile:t.posterImageFile})}return React.createElement("noscript",null)}(t),React.createElement(e,{file:t.file}))}return React.createElement("noscript",null)})),hi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{ref:function(e){return t.containerElement=e},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.poster!==this.props.poster||t.loop!==this.props.loop||t.muted!==this.props.muted||t.playsInline!==this.props.playsInline||!vi(t.sources,this.props.sources)||!vi(t.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var t=document.createElement("div"),e=document.createElement(this.props.tagName);return e.setAttribute("preload","none"),e.setAttribute("crossorigin","anonymous"),e.setAttribute("alt",this.props.alt),this.props.poster&&e.setAttribute("data-poster",this.props.poster),this.props.loop&&e.setAttribute("loop","true"),this.props.muted&&e.setAttribute("muted","true"),this.props.playsInline&&e.setAttribute("playsinline","true"),this.props.sources.forEach((function(t){var n=document.createElement("source");n.setAttribute("src",t.src),n.setAttribute("type",t.type),e.appendChild(n)})),this.props.tracks.forEach((function(t){var n=document.createElement("track");n.setAttribute("src",t.src),n.setAttribute("id",t.id),n.setAttribute("kind",t.kind),n.setAttribute("srclang",t.srclang),n.setAttribute("label",t.label),e.appendChild(n)})),t.appendChild(e),{__html:t.innerHTML.replace('preload="none"','preload="auto"')}}}]),e}(B.a.Component);function vi(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function gi(t,e){e.emulateTextTracksDisplay;var n=e.atmoSettings,r=e.mediaContext,o=e.playsInline,i="audio"==t.tagName.toLowerCase(),a=new pageflow.VideoPlayer(t,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:t.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}hi.defaultProps={tagName:"video",sources:[],tracks:[]};var yi=function(t,e){t.on("loadedmetadata",(function(){return e.metaDataLoaded({currentTime:t.currentTime(),duration:t.duration()})})),t.on("progress",(function(){return e.progress({bufferedEnd:t.bufferedEnd()})})),t.on("play",e.playing),t.on("playfailed",e.playFailed),t.on("playmuted",e.playingMuted),t.on("pause",e.paused),t.on("waiting",e.waiting),t.on("seeking",e.seeking),t.on("seeked",e.seeked),t.on("bufferunderrun",e.bufferUnderrun),t.on("bufferunderruncontinue",e.bufferUnderrunContinue),t.on("timeupdate",(function(){return e.timeUpdate({currentTime:t.currentTime(),duration:t.duration()})})),t.on("ended",e.ended)};function mi(t,e,n){t.one("timeupdate",(function(){bi(t,null,e(),n())}))}function bi(t,e,n,r){e!=n&&function(t,e){[].slice.call(t.textTracks()).forEach((function(t){t.id=="text_track_file_".concat(e)?t.mode="showing":t.mode="disabled"}))}(t,n),function(t,e){t.updateCueLineSettings(e)}(t,r)}var wi,Ei=function(t){var e=t.tagName,n=t.sources,r=t.poster,o=void 0===r?function(){}:r,i=t.emulateTextTracksDisplay,a=void 0!==i&&i,s=t.createPlayer,u=void 0===s?gi:s,c=function(t){function r(t,n){var o;return T(this,r),(o=M(this,R(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=u(e,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:t.playsInline}),o.player.ready((function(){var t,n,r,i,a,s;o.props.playerActions.saveMediaElementId(e.id),t=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,s=n(),a===i&&s.currentTime>0&&t.currentTime(s.currentTime),s.shouldPrebuffer&&t.prebuffer().then(r.prebuffered),s.isPlaying&&t.play(),t.on("canplay",(function(){n().shouldPlay&&t.paused()&&t.play()})),o.displaysTextTracksInNativePlayer||function(t,e,n){t.on("pause",(function(){mi(t,e,n)})),t.textTracks().on("addtrack",(function(){bi(t,null,e(),n())})),bi(t,null,e(),n()),mi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),yi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return N(r,t),A(r,[{key:"componentDidUpdate",value:function(t){var e=this;this.player&&(this.player.ready((function(){var n,r,o;n=e.player,r=t.muted,o=e.props.muted,r!==o&&n.muted(o),function(t,e,n,r){e!==n&&t.changeVolumeFactor(n,r)}(e.player,t.playerState.volumeFactor,e.props.playerState.volumeFactor,e.props.playerState.volumeFactorFadeDuration),function(t,e,n,r){!e.shouldPrebuffer&&n.shouldPrebuffer&&t.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!e.shouldPlay&&n.shouldPlay?n.fadeDuration?t.playAndFadeIn(n.fadeDuration):t.play():e.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?t.fadeOutAndPause(n.fadeDuration):t.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==e.shouldSeekTo&&t.currentTime(n.shouldSeekTo)}(e.player,t.playerState,e.props.playerState,e.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||bi(this.player,t.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(hi,{tagName:e,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(t=this.props.textTracks.files,r=this.props.textTracksEnabled,r?t.filter((function(t){return t.isReady})).map((function(t){return{id:"text_track_file_".concat(t.id),kind:t.kind,label:t.displayLabel,srclang:t.srclang,src:t.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var t,r}}]),r}(B.a.Component);c.contextTypes={mediaContext:B.a.PropTypes.object},c.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=Ce(tt({textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("defaultTextTrackFileId")}),quality:Qr({property:"videoQuality"}),hasNativeVideoPlayer:Gn("native video player"),hasHighBandwidth:Gn("high bandwidth"),textTrackPosition:xi}),{updateTextTrackSettings:Ho})(c);return l.WrappedComponent=c,l},Oi=(wi="slimPlayerControls",function(t){return t.widgetPresence[wi]});function xi(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Oi(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Pi=Ei({tagName:"audio",sources:function(t){return[{type:"audio/ogg",src:"".concat(t.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(t.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(t.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function ki(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function _i(t){var e=Math.round(t/1e3)%60,n=Math.floor(t/1e3/60)%60,r=Math.floor(t/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(e>0||0==n&&0==r)&&(o+="".concat(e,"S")),o}var Si,Ti=Ce(tt({isEnabled:(Si="structured_data",function(t){return t.features.indexOf(Si)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var ji=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:ki("https",e.urls.mp3),duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));function Ai(t){return React.createElement(di,Object.assign({},t,{playerComponent:Pi,structuredDataComponent:ji}))}var Ci=function(t,e,n,r){if(r&&r.height&&e&&"contain"!=e){var o,i,a,s=t.width/t.height;if("width"==(r.width/r.height>s?"width":"height")?(o=(i=r.height)*s,a=r.width/o):(i=(o=r.width)/s,a=r.height/i),!("smart_contain"==e&&a>1.2)){var u=o*a,c=i*a,l=void 0!==n[0]&&"cover"==e?n[0]:50,f=void 0!==n[1]&&"cover"==e?n[1]:50;return{left:(r.width-u)*l/100,top:(r.height-c)*f/100,width:u,height:c}}}};function Ii(t,e){if(t&&e){var n=Math.max(0,-t.left),r=Math.max(0,t.width-e.width+t.left),o=Math.max(0,-t.top),i=Math.max(0,t.height-e.height+t.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ri(t){return B.a.createElement(xr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=Ci(t.videoFile,t.fit,t.position,e);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ii(n,e),style:Di(n)},t.children))}(t,e)}))}function Di(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Ni=Ei({tagName:"video",sources:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(e=e||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(t.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(t.urls[o],"?u=1")}];return t.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(t.urls["dash-playlist"])}].concat(i)),i}return t.urls[e]||(e="high"),[{type:"video/mp4",src:"".concat(t.urls[e],"?u=1")}]},poster:Fi});function Li(t){return B.a.createElement(Ri,{videoFile:t.file,fit:t.fit,position:t.position},B.a.createElement(Ni,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline}))}var Bi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=Fi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(B.a.Component);function Fi(t,e){var n=rt("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Bi.defaultProps={preloadImage:ot};var Ui=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:ki("https",e.urls.high),thumbnailUrl:ki("https",e.urls.poster_medium),width:e.width,height:e.height,duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));var Wi=Ce(tt({file:Ye("videoFiles",{id:Vn("videoFileId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageFileId")}),muted:function(t,e){return e.muted||qo(t)}}))((function(t){return React.createElement(di,Object.assign({},t,{playerComponent:Li,preloadComponent:Bi,structuredDataComponent:Ui}))}));function Hi(t){var e=t.page,n=Y.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=Y.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(Wi,{videoFileId:e["".concat(n,"Id")],posterImageFileId:e["".concat(r,"Id")],playerState:t.playerState,playerActions:t.playerActions,fit:t.fit,position:[e["".concat(n,"X")],e["".concat(n,"Y")]],textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline})}Hi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var qi=Ce(tt({fileExists:Xe()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:Y.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"videoFile"),collection:"videoFiles"}]).find((function(e){return t.fileExists(e.collection,t.page["".concat(e.propertyBaseName,"Id")])}));var e}(t);return e?React.createElement(Cn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var Vi=Ce(tt({fileExists:Xe(),hasMobilePlatform:Gn("mobile platform"),hasAutoplaySupport:Gn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=Y.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(qi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Hi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Gi=Ce(tt({file:Ye("imageFiles",{id:Vn("fileId")}),entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt;if(e){var r={"@context":"http://schema.org","@type":"ImageObject",name:e.basename,description:e.alt,url:ki("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}return null}));var zi=jn(tt({page:en(),playerState:Go({scope:"background"})}),X({playerActions:zo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[Y.concat(o,"backgroundType")]?React.createElement(Vi,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Cn,{page:e,propertyNamePrefix:o,structuredDataComponent:Gi})}));function Yi(t){return React.createElement(H,null,React.createElement(zi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(In,{page:t.page}))}var Xi=Ce(tt({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement($i,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(Ki,{imageId:e.backgroundImageId}):null})),$i=Ce(tt({videoFile:Ye("videoFiles",{id:Vn("videoId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(Qi,{file:n}):React.createElement(Qi,{file:e})})),Ki=jn(tt({file:Ye("imageFiles",{id:Vn("imageId")}),pageIsPrepared:an()}))(Qi);function Qi(t){var e=t.file;return e&&e.isReady&&an?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function Ji(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!G(t.title))return React.createElement("h3",{className:Zi(t)},t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function Zi(t){var e=!G(t.title)&&!G(t.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ta="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ea=jn(null,{setPageScrollerMarginBottom:function(t){return{type:ta,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(xr.a,{whitelist:["height"],onMeasure:function(e){var n=e.height;return t.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},t.children))}));var na=lr((function(t){return React.createElement("a",{href:"#",className:ra(t),id:t.id,tabIndex:"4",title:t.title,onClick:oa(t)},React.createElement(ur,{name:t.isPlaying?"pause":"play"}))}));function ra(t){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function oa(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var ia=n(173),aa=n.n(ia),sa="rgba(170, 170, 170, 1)",ua="rgba(0, 0, 0, 0.5)",ca="#fff",la="#888";var fa=jn(tt({pageIsPrepared:an(),waveformColor:tn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(xr.a,{whitelist:["height"]},(function(e){var n=e.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(aa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?ua:sa,cursorColor:t.inverted?la:ca,height:n}}),React.createElement(na,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function pa(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(hr,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(hr,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var da=jn(tt({inverted:tn("invert")}))((function(t){return React.createElement("div",{className:ha(t)},React.createElement(ea,null,React.createElement(fa,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(pa,{currentTime:t.currentTime,duration:t.duration}),React.createElement(Ji,t.infoBox)),React.createElement(Dr,{inverted:t.inverted,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,hiddenOnPhone:!t.isPlaying,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function ha(t){return U()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var va="HOTKEY_SPACE",ga="HOTKEY_TAB";function ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ba=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scope,n=void 0===e?"default":e;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.meta&&e.meta.mediaScope&&e.meta.mediaScope!==n)return t;switch(e.type){case u:return ma({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ma({},t,{shouldPrebuffer:!1});case oo:return ma({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case Eo:return ma({},t,{shouldPlay:!0,isPlaying:!0});case co:return ma({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case io:return ma({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case ao:return ma({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case Oo:return t.bufferUnderrun?ma({},t,{isPlaying:!1,hasPlayed:!0}):ma({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case so:return ma({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case uo:return ma({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case ho:return ma({},t,{shouldPrebuffer:!0});case vo:return ma({},t,{shouldPrebuffer:!1});case So:return ma({},t,{isLoading:!0});case yo:return ma({},t,{bufferUnderrun:!0});case mo:return ma({},t,{bufferUnderrun:!1});case fo:return ma({},t,{scrubbingAt:e.payload.time});case po:return ma({},t,{shouldSeekTo:e.payload.time});case ko:return ma({},t,{isLoading:!0});case _o:return ma({},t,{scrubbingAt:void 0,isLoading:!1});case bo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case wo:return ma({},t,{bufferedEnd:e.payload.bufferedEnd});case xo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case Po:return ma({},t,{shouldPlay:!1,isPlaying:!1});case To:return ma({},t,{hasBeenPlayingJustNow:!1});case ga:case jo:return ma({},t,{userIsIdle:!1,controlsHidden:!1});case Ao:return ma({},t,{userIsIdle:!0});case Co:return ma({},t,{userHoveringControls:!0});case Io:return ma({},t,{userHoveringControls:!1});case Mo:return ma({},t,{focusInsideControls:!0});case Ro:return ma({},t,{focusInsideControls:!1});case Do:return ma({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Lo:return ma({},t,{infoBoxHiddenDuringPlayback:!0});case No:return ma({},t,{infoBoxHiddenDuringPlayback:!1});case Bo:return ma({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case Fo:return ma({},t,{mediaElementId:e.payload.id});case Uo:return ma({},t,{mediaElementId:null});default:return t}}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ta:return Ea({},t,{bottom:e.payload.value});default:return t}},xa=Et.a.mark(ka),Pa=Et.a.mark(_a);function ka(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([va,ro],_a,Wo());case 2:case"end":return t.stop()}}),xa)}function _a(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Rt.select)(Go());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Rt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Rt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Rt.put)(e());case 13:case"end":return r.stop()}}),Pa)}var Sa=Et.a.mark(ja),Ta=Et.a.mark(Aa);function ja(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([co,lo],Aa);case 2:case"end":return t.stop()}}),Sa)}function Aa(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ta)}var Ca="BACKGROUND_MEDIA_MUTE",Ia="BACKGROUND_MEDIA_UNMUTE";function Ma(){return{type:Ia}}var Ra=Et.a.mark(Ha),Da=Et.a.mark(qa),Na=Et.a.mark(Va),La=Et.a.mark(Ga),Ba=Wo(),Fa=Ba.play,Ua=Ba.prebuffer,Wa=Ba.waiting;function Ha(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Rt.race)({task:Object(Rt.call)(Va,t),cancel:Object(Rt.take)(l)}),Object(Rt.race)({task:Object(Rt.call)(qa,t),cancel:Object(Rt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Ra)}function qa(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Rt.select)(Qo());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Rt.race)({unmute:Object(Rt.take)(Ia),cancel:Object(Rt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield(Va(t),"t1",12);case 12:case"end":return n.stop()}}),Da)}function Va(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ga(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Rt.put)(Wa());case 5:return n.next=7,[Object(Rt.take)(vo),Object(Rt.put)(Ua())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Rt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Rt.put)(Fa());case 12:case"end":return n.stop()}}),Na)}function Ga(t){var e,n,r;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Rt.select)(Ko({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),La)}var za=Et.a.mark(Ya);function Ya(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(oo,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(Xa);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)($a);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),za)}function Xa(){pageflow.events.trigger("scroll_indicator:disable")}function $a(){pageflow.events.trigger("scroll_indicator:enable")}var Ka=Et.a.mark(Qa);function Qa(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.race)({task:Object(Rt.call)(Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)(Dt.delay,700);case 2:return t.next=4,Object(Rt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Rt.take)(Eo)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),Ka)}var Ja=Et.a.mark(ts),Za=Et.a.mark(es);function ts(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([oo,jo,ga],es,e);case 3:case"end":return n.stop()}}),Ja)}function es(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Rt.put)(t());case 4:case"end":return e.stop()}}),Za)}var ns=Et.a.mark(rs);function rs(){var t,e,n,r,o=arguments;return Et.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e=t.scope,n=Wo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(c,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ns)}var os=Et.a.mark(is);function is(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Po,Et.a.mark((function t(){var e,n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Rt.select)(rn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Rt.call)(as);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),os)}function as(){pageflow.slides.next()}var ss=Et.a.mark(ls);function us(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?us(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ls(){var t,e,n=arguments;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[ka(),ja(),Ya()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([is(),rs(),Qa()]),rt("mobile platform")||e.push([Ha(cs({},t,{canAutoplay:rt("autoplay support")}))]),t.hideControls&&e.push([ts()]),r.next=7,e;case 7:case"end":return r.stop()}}),ss)}var fs=Et.a.mark(hs),ps=Et.a.mark(vs),ds=Et.a.mark(gs);function hs(){var t,e,n,r=arguments;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e=t.scope,n=Wo({scope:e}),o.next=4,Object(Dt.takeEvery)(u,Et.a.mark((function t(e){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Rt.race)({task:[Object(Rt.put)(n.prebuffer()),Object(Rt.call)(vs,n),Object(Rt.call)(gs,n)],cancel:Object(Rt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),fs)}function vs(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.prebuffer,e=t.changeVolumeFactor,n=t.play,r.next=3,Object(Rt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Rt.take)(vo);case 5:return r.next=7,Object(Rt.put)(n());case 7:case"end":return r.stop()}}),ps)}function gs(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Rt.take)(vo),Object(Rt.take)(s)];case 3:return n.next=5,Object(Rt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ds)}function ys(t){return{reducers:{"media.default":ba({scope:"default"}),"media.pageScrollerMargin":Oa},saga:Et.a.mark((function e(){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ls(t);case 2:case"end":return e.stop()}}),e)}))}}var ms={reducers:{"media.background":ba({scope:"background"})},saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[hs({scope:"background"}),rs({scope:"background"}),ja()];case 2:case"end":return t.stop()}}),t)}))};var bs=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page;return B.a.createElement(W,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Vr,{onClick:this.onCloseButtonClick}),B.a.createElement(Dr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(H,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(In,{page:t})),B.a.createElement(Mn,null,B.a.createElement(Ur,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),B.a.createElement(Bn,null,B.a.createElement(Un,{page:t}),B.a.createElement(Wn,{page:t}))))}}]),e}(B.a.Component),ws=jn(tt({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(bs),Es="HIDE_TEXT_ACTIVATE",Os="HIDE_TEXT_DEACTIVATE";var xs=Et.a.mark(Ps);function Ps(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Os,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(ks);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),xs)}function ks(){pageflow.events.trigger("scroll_indicator:enable")}var _s={name:"interactivePageBackground",saga:Ps};function Ss(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Ts(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var As=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ss(n,["component","reduxModules"]);r||c("Requires component option to be present"),Array.isArray(i)||c("Expected reduxModules option to be an array.");var s=[],u=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||c("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&c("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),js({},t,{},e.reducers)}),{});function c(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(js({name:e,component:r,reducer:Object.keys(u).length?Object(at.c)(u):void 0,saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.map((function(t){return t()}));case 2:case"end":return t.stop()}}),t)}))},a))},this.forEach=function(){return t.forEach.apply(t,arguments)},this.reduce=function(){return t.reduce.apply(t,arguments)},this.findByName=function(e){return t.find((function(t){var n=t.name;t.component;return n==e}))}},Cs=As.register;function Is(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Is(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Is(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rs=new function(){var t=[];this.register=function(e,n){var r=n.component;t.push({name:e,component:r})},this.findByName=function(e){var n=t.find((function(t){return t.name==e}));if(!n)throw'Widget type with name "'.concat(e,'" not found.');return n},this.forEach=function(){t.forEach.apply(t,arguments)}},Ds=Rs.register,Ns=n(174),Ls={muted:!1},Bs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ca:return{muted:!0};case Ia:return{muted:!1};default:return t}};function Fs(t){var e=t.t,n=t.muted,r=t.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:e("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Us={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:Ca})})),n.on("background_media:unmute",(function(t){return r(Ma())})))},createReducers:function(){return{backgroundMedia:Bs}},createSaga:function(t){var e=t.backgroundMedia;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ia,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function Ws(t){return t.cookieNotice.visible}function Hs(t){return t.theming.privacy_link_url}var qs="COOKIE_NOTICE_REQUEST",Vs="COOKIE_NOTICE_DISMISS";function Gs(){return{type:Vs}}function zs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function Ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $s=function(t){var e={dismissed:t.hasBeenDismissed,visible:!1};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case qs:return t.dismissed?t:Xs({},t,{visible:!0});case Vs:return{dismissed:!0,visible:!1};default:return t}}},Ks={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:qs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:$s({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(qs,Et.a.mark((function t(){var n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(Ws);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Rt.cps)(Qs,e);case 5:return n=t.sent,t.next=8,Object(Rt.take)(Vs);case 8:return t.next=10,Object(Rt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)(Vs,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),t)})))}};function Qs(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var Js={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},Zs="THEMING_INIT";var tu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Zs:return e.payload.theming;default:return t}},eu={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:Zs,payload:{theming:t}}}(e))},createReducers:function(){return{theming:tu}}},nu={init:function(t){var e=t.storylines,n=t.dispatch;Ue({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:jt("storylines")}}},ru={init:function(t){var e=t.chapters,n=t.dispatch;Ue({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:jt("chapters")}}},ou="PAGE_TYPES_INIT";var iu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ou:return e.payload.pageTypes;default:return t}},au={createReducers:function(){return{pageTypes:iu}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:ou,payload:{pageTypes:e}}}({pageTypes:Y.deep(e)}))}},su="CURRENT_PAGE_CHANGE";var uu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case su:return e.payload.id;default:return t}},cu=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:su,payload:{id:e}}}({id:t.getPermaId()}))}))},lu={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||cu(n,r)},createReducers:function(){return{currentPageId:uu}}},fu={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){Ue({collection:e[t],collectionName:Y(t),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(t){var e=t.files,n=t.fileUrlTemplates,r=void 0===n?{}:n,o=t.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(at.c)(Object.keys(e).reduce((function(t,e){return t[e=Y(e)]=jt(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},pu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case P:return e.payload.settings;default:return t}},du={init:function(t){var e=t.isServerSide,n=t.settings,r=t.dispatch;e||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:pu}},createSaga:function(t){var e=t.settings;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)([e,e.set],n.payload.property,n.payload.value);case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};var hu="I18N_INIT";var vu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case hu:return{locale:e.payload.locale};default:return t}},gu={createReducers:function(){return{i18n:vu}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:hu,payload:{locale:e}}}({locale:e}))}},yu="ENTRY_UPDATE",mu="ENTRY_READY";function bu(t){var e=t.entry;return{type:yu,payload:{entry:e}}}function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ou=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case yu:return Eu({},t,{},e.payload.entry);case mu:return Eu({},t,{isReady:!0});default:return t}},xu={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:mu})})),Fe.a.Model&&e instanceof Fe.a.Model?function(t){var e=t.entry,n=t.dispatch;Pu({entry:e,dispatch:n}),e.metadata.on("change:title",(function(){Pu({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Ou}}};function Pu(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.get("slug"),title:e.metadata.get("title")||e.get("entry_title"),publishedAt:null}}))}var ku={init:function(t){var e=t.isServerSide,n=t.window,r=t.getState,o=t.dispatch;e||n.addEventListener("keydown",(function(t){var e=r().currentPageId;32==t.keyCode?o(function(t){var e=t.currentPageId;return x(va,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(ga,e)}({currentPageId:e}))}))}},_u=function(t,e){t.on("activate",(function(t){return e({type:Es})})),t.on("deactivate",(function(t){return e({type:Os})}))};function Su(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Su(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ju={isActive:!1,hasBeenActive:!1},Au=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ju,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Es:return{isActive:!0,hasBeenActive:!0};case Os:return Tu({},t,{isActive:!1});case su:return Tu({},t,{hasBeenActive:!1});default:return t}},Cu={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||_u(n,r)},createReducers:function(){return{hideText:Au}}},Iu={init:function(t){var e=t.widgets,n=t.dispatch;Ue({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:jt("widgets",{idAttribute:"role"})}}};var Mu="WIDGETS_LOAD";var Ru=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Mu:return e.payload.widgets;default:return t}},Du={init:function(t){var e=t.isServerSide,n=t.events,r=t.widgetsApi,o=t.dispatch;function i(){o(function(t){var e=t.widgets;return{type:Mu,payload:{widgets:e}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}e||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ru}}},Nu="THEME_INIT";var Lu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Nu:return e.payload;default:return t}},Bu={createReducers:function(){return{theme:Lu}},init:function(t){var e,n=t.dispatch;if(!t.isServerSide){var r=document.getElementById("theme_probe-main_color");n((e={mainColor:window.getComputedStyle(r)["background-color"]},{type:Nu,payload:e}))}}};function Fu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Uu=function(t){var e=!!t.storylines,n=!t.settings,r=t.seed,o=e?t:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:As,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:e?t.entry.widgets:r.widgets,cookies:t.cookies,hideText:t.hideText,events:t.events,settings:t.settings,widgetsApi:t.widgets,backgroundMedia:t.backgroundMedia,window:n?null:window},s=Object(Ns.a)([Us,Ks,Js,gu,eu,xu,lu,nu,ru,Tn,fu,du,Cu,Iu,Du,au,ku,Bu],i);return n||(As.forEach((function(e){return t.pageType.register(e.name,function(t){return kn(On(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Rs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){wn.a.render(React.createElement(Wt,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},Wu=Me("pages"),Hu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.pageComponent=As.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(Wu,{itemId:this.props.pageId},B.a.createElement(e,null)))}}]),e}(B.a.Component),qu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.widgetComponent=Rs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(e,null))}}]),e}(B.a.Component),Vu=Me("pages"),Gu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return B.a.createElement(Wt,{store:this.store},B.a.createElement(Vu,{itemId:this.props.pageId},B.a.createElement(zi,null)))}}]),e}(B.a.Component);function zu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(li,{className:"audio_page supports_text_position_center",page:t.page,file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_audio"),playerControlsComponent:Yu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(zi,null),React.createElement(Ai,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:Xu(e)}))}function Yu(t){return"waveform"==t?da:Ur}function Xu(t){if("waveform"==t)return"top"}function $u(t){var e=t.page;return React.createElement(W,{className:"supports_text_position_center"},React.createElement(Yi,{page:e}),React.createElement(Mn,null,React.createElement(Bn,null,React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e}))))}var Ku=["auto","4k","fullhd","medium"];function Qu(t){return React.createElement(li,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:Ku,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Hi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions}),React.createElement(qi,{page:t.page}))}var Ju={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},Zu=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={fading:!1,hidden:!1},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){t.setState({fading:!0}),t.hiddenTimeout=setTimeout((function(){t.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this.props.editing,e=this.state,n=e.hidden,r=e.fading;return t||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!t&&r}),onTouchMove:tc,style:Ju},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function tc(t){t.preventDefault()}var ec=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={hidden:!1,animating:!0},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(e){t.resolveDelayedStart=e}))}},{key:"hideOrLoop",value:function(t){var e=this;t.target===t.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){e.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this,e=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=oc(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:nc,style:ic(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:rc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function nc(t){t.preventDefault()}function rc(t){var e=t.firstPageBackgroundImageUrl,n=t.backgroundImage,r=t.blurStrength,o=n?n.urls.medium:e;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function oc(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ic(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:oc(t)?"#fff":"#000"}}var ac=Ce(tt({editing:eo({role:"loading_spinner"}),firstPageInvert:Ze("invert"),firstPageBackgroundImageUrl:function(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return Z(e,Xe(),(function(t){return t}),(function(t,e,n){if(t){var o=We({candidates:Ke({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Ye(Y(o.collectionName),{id:He(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Je,(function(t){return t&&t.attributes}))}),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Zr("invert",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),blurStrength:Zr("blurStrength",{role:"loading_spinner"})}))(ec);var sc=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=oc(this.props);return B.a.createElement(ac,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},e||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(B.a.Component);var uc=n(97),cc=n.n(uc);function lc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}Cs("background_image",{component:jn(tt({page:en()}))($u),reduxModules:[ms]}),Cs("video",{component:jn(tt({page:en(),videoFile:Ye("videoFiles",{id:tn("videoFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(Qu),reduxModules:[ys({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Gn("native video player")})]}),Cs("audio",{component:jn(tt({page:en(),audioFile:Ye("audioFiles",{id:tn("audioFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(zu),reduxModules:[ys({retryOnUnmute:!0}),ms]}),Ds("cookie_notice_bar",{component:Ce(tt({isCookieNoticeVisible:Ws,privacyLinkUrl:Hs,editing:eo({role:"cookie_notice"}),t:Hr,locale:qr}),{dismiss:Gs})(zs)}),Ds("unmute_button",{component:Ce(tt({t:Hr,muted:qo}),{unmute:Ma})(Fs)}),Ds("classic_loading_spinner",{component:Ce(tt({editing:eo({role:"loading_spinner"})}))(Zu)}),Ds("title_loading_spinner",{component:Ce(tt({firstPageInvert:Ze("invert"),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ii("title"),title:Zr("title",{role:"loading_spinner"}),subtitle:Zr("subtitle",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"})}))(sc)}),Ds("media_loading_spinner",{component:ac}),cc.a.events&&cc.a.events.on("seed:loaded",(function(){return Uu(cc.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lc(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({MediaPageBackground:Yi,PageWithInteractiveBackground:ws},o),actions:r,selectors:i,registerPageType:Cs,registerPageTypeWithDefaultBackground:function(t,e){Cs(t,{component:zi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Ms({scroller:!0},e),reduxModules:[ms]})},registerWidgetType:Ds,mediaReduxModule:ys,mediaPageBackgroundReduxModule:ms,pageWithInteractiveBackgroundReduxModule:_s,iconMapping:sr,SvgIcon:ir,classNames:U.a,connect:Ce,connectInPage:jn,combineReducers:at.c,combine:X,ServerSidePage:Hu,ServerSideWidget:qu,ServerSidePageBackgroundAsset:Gu}}]).default;
22
+ * @license BSD-3-Clause */o=this,void 0===(r=function(){return o.WaveSurfer=function(){"use strict";var t={defaultParams:{audioContext:null,audioRate:1,autoCenter:!0,backend:"WebAudio",barHeight:1,closeAudioContext:!1,container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,fallbackProgressHeight:4,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,progressColor:"#555",normalize:!1,removeMediaElementOnDestroy:!0,renderer:"MultiCanvas",scrollParent:!1,skipLength:2,splitChannels:!1,waveColor:"#999"},init:function(e){if(this.params=t.util.extend({},this.defaultParams,e),this.container="string"==typeof e.container?document.querySelector(this.params.container):this.params.container,!this.container)throw new Error("Container element not found");if(null==this.params.mediaContainer?this.mediaContainer=this.container:"string"==typeof this.params.mediaContainer?this.mediaContainer=document.querySelector(this.params.mediaContainer):this.mediaContainer=this.params.mediaContainer,!this.mediaContainer)throw new Error("Media Container element not found");this.savedVolume=0,this.isMuted=!1,this.tmpEvents=[],this.currentAjax=null,this.createDrawer(),this.createBackend(),this.createPeakCache(),this.isDestroyed=!1},createDrawer:function(){var e=this;this.drawer=Object.create(t.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("click",(function(t,n){setTimeout((function(){e.seekTo(n)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))},createBackend:function(){var e=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||t.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(t[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){e.fireEvent("finish")})),this.backend.on("play",(function(){e.fireEvent("play")})),this.backend.on("pause",(function(){e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(t.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},play:function(t,e){this.fireEvent("interaction",this.play.bind(this,t,e)),this.backend.play(t,e)},pause:function(){this.backend.isPaused()||this.backend.pause()},playPause:function(){this.backend.isPaused()?this.play():this.pause()},isPlaying:function(){return!this.backend.isPaused()},skipBackward:function(t){this.skip(-t||-this.params.skipLength)},skipForward:function(t){this.skip(t||this.params.skipLength)},skip:function(t){var e=this.getCurrentTime()||0,n=this.getDuration()||1;e=Math.max(0,Math.min(n,e+(t||0))),this.seekAndCenter(e/n)},seekAndCenter:function(t){this.seekTo(t),this.drawer.recenter(t)},seekTo:function(t){this.fireEvent("interaction",this.seekTo.bind(this,t));var e=this.backend.isPaused();e||this.backend.pause();var n=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(t*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),e||this.backend.play(),this.params.scrollParent=n,this.fireEvent("seek",t)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(t){this.backend.setVolume(t)},getVolume:function(){return this.backend.getVolume()},getCurrentTime:function(){return this.backend.getCurrentTime()},setCurrentTime:function(t){this.getDuration()>=t?this.seekTo(1):this.seekTo(t/this.getDuration())},setPlaybackRate:function(t){this.backend.setPlaybackRate(t)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(t){t!==this.isMuted&&(t?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0):(this.backend.setVolume(this.savedVolume),this.isMuted=!1))},getMute:function(){return this.isMuted},getFilters:function(){return this.backend.filters||[]},toggleScroll:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()},toggleInteraction:function(){this.params.interact=!this.params.interact},getWaveColor:function(){return this.params.waveColor},setWaveColor:function(t){this.params.waveColor=t,this.drawBuffer()},getProgressColor:function(){return this.params.progressColor},setProgressColor:function(t){this.params.progressColor=t,this.drawBuffer()},getCursorColor:function(){return this.params.cursorColor},setCursorColor:function(t){this.params.cursorColor=t,this.drawer.updateCursor()},getHeight:function(){return this.params.height},setHeight:function(t){this.params.height=t,this.drawer.setHeight(t*this.params.pixelRatio)},drawBuffer:function(){var t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),e=this.drawer.getWidth(),n=t,r=this.drawer.getScrollX(),o=Math.min(r+e,n);if(this.params.fillParent&&(!this.params.scrollParent||t<e)&&(r=0,o=n=e),this.params.partialRender)for(var i=this.peakCache.addRangeToPeakCache(n,r,o),a=0;a<i.length;a++)s=this.backend.getPeaks(n,i[a][0],i[a][1]),this.drawer.drawPeaks(s,n,i[a][0],i[a][1]);else{r=0,o=n;var s=this.backend.getPeaks(n,r,o);this.drawer.drawPeaks(s,n,r,o)}this.fireEvent("redraw",s,n)},zoom:function(t){this.params.minPxPerSec=t,this.params.scrollParent=!0,this.refresh(),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",t)},refresh:function(){this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents())},loadArrayBuffer:function(t){this.decodeArrayBuffer(t,function(t){this.isDestroyed||this.loadDecodedBuffer(t)}.bind(this))},loadDecodedBuffer:function(t){this.backend.load(t),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(t){var e=this,n=new FileReader;n.addEventListener("progress",(function(t){e.onProgress(t)})),n.addEventListener("load",(function(t){e.loadArrayBuffer(t.target.result)})),n.addEventListener("error",(function(){e.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(t),this.empty()},load:function(t,e,n){switch(this.empty(),this.isMuted=!1,this.params.backend){case"WebAudio":return this.loadBuffer(t,e);case"MediaElement":return this.loadMediaElement(t,e,n)}},loadBuffer:function(t,e){var n=function(e){return e&&this.tmpEvents.push(this.once("ready",e)),this.getArrayBuffer(t,this.loadArrayBuffer.bind(this))}.bind(this);if(!e)return n();this.backend.setPeaks(e),this.drawBuffer(),this.tmpEvents.push(this.once("interaction",n))},loadMediaElement:function(t,e,n){var r=t;if("string"==typeof t)this.backend.load(r,this.mediaContainer,e,n);else{var o=t;this.backend.loadElt(o,e),r=o.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(t){this.fireEvent("error",t)}.bind(this))),e&&this.backend.setPeaks(e),e&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(r,function(t){this.decodeArrayBuffer(t,function(t){this.backend.buffer=t,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(t,e){this.arraybuffer=t,this.backend.decodeArrayBuffer(t,function(n){this.isDestroyed||this.arraybuffer!=t||(e(n),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(e,n){var r=this,o=t.util.ajax({url:e,responseType:"arraybuffer"});return this.currentAjax=o,this.tmpEvents.push(o.on("progress",(function(t){r.onProgress(t)})),o.on("success",(function(t,e){n(t),r.currentAjax=null})),o.on("error",(function(t){r.fireEvent("error","XHR error: "+t.target.statusText),r.currentAjax=null}))),o},onProgress:function(t){if(t.lengthComputable)var e=t.loaded/t.total;else e=t.loaded/(t.loaded+1e6);this.fireEvent("loading",Math.round(100*e),t.target)},exportPCM:function(t,e,n,r){t=t||1024,r=r||0,e=e||1e4,n=n||!1;var o=this.backend.getPeaks(t,r),i=[].map.call(o,(function(t){return Math.round(t*e)/e})),a=JSON.stringify(i);return n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(a)),a},exportImage:function(t,e){return t||(t="image/png"),e||(e=1),this.drawer.getImage(t,e)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(t){t.un()}))},empty:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)},destroy:function(){this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),this.backend.destroy(),this.drawer.destroy(),this.isDestroyed=!0},create:function(e){var n=Object.create(t);return n.init(e),n}};return t.util={requestAnimationFrame:(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){setTimeout(t,1e3/60)}).bind(window),frame:function(e){return function(){var n=this,r=arguments;t.util.requestAnimationFrame((function(){e.apply(n,r)}))}},extend:function(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},debounce:function(t,e,n){var r,o,i,a=function(){i=null,n||t.apply(o,r)};return function(){o=this,r=arguments;var s=n&&!i;clearTimeout(i),(i=setTimeout(a,e))||(i=setTimeout(a,e)),s&&t.apply(o,r)}},min:function(t){var e=1/0;for(var n in t)t[n]<e&&(e=t[n]);return e},max:function(t){var e=-1/0;for(var n in t)t[n]>e&&(e=t[n]);return e},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(e){var n=Object.create(t.Observer),r=new XMLHttpRequest,o=!1;return r.open(e.method||"GET",e.url,!0),r.responseType=e.responseType||"json",r.addEventListener("progress",(function(t){n.fireEvent("progress",t),t.lengthComputable&&t.loaded==t.total&&(o=!0)})),r.addEventListener("load",(function(t){o||n.fireEvent("progress",t),n.fireEvent("load",t),200==r.status||206==r.status?n.fireEvent("success",r.response,t):n.fireEvent("error",t)})),r.addEventListener("error",(function(t){n.fireEvent("error",t)})),r.send(),n.xhr=r,n}},t.Observer={on:function(t,e){this.handlers||(this.handlers={});var n=this.handlers[t];return n||(n=this.handlers[t]=[]),n.push(e),{name:t,callback:e,un:this.un.bind(this,t,e)}},un:function(t,e){if(this.handlers){var n=this.handlers[t];if(n)if(e)for(var r=n.length-1;r>=0;r--)n[r]==e&&n.splice(r,1);else n.length=0}},unAll:function(){this.handlers=null},once:function(t,e){var n=this,r=function(){e.apply(this,arguments),setTimeout((function(){n.un(t,r)}),0)};return this.on(t,r)},fireEvent:function(t){if(this.handlers){var e=this.handlers[t],n=Array.prototype.slice.call(arguments,1);e&&e.forEach((function(t){t.apply(null,n)}))}}},t.util.extend(t,t.Observer),t.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return t.WebAudio.audioContext||(t.WebAudio.audioContext=new(window.AudioContext||window.webkitAudioContext)),t.WebAudio.audioContext},getOfflineAudioContext:function(e){return t.WebAudio.offlineAudioContext||(t.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),t.WebAudio.offlineAudioContext},init:function(e){this.params=e,this.ac=e.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(t.WebAudio.state.playing),Object.create(t.WebAudio.state.paused),Object.create(t.WebAudio.state.finished)],this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState(this.PAUSED_STATE),this.setPlaybackRate(this.params.audioRate),this.setLength(0)},disconnectFilters:function(){this.filters&&(this.filters.forEach((function(t){t&&t.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(t){this.state!==this.states[t]&&(this.state=this.states[t],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(t){this.disconnectFilters(),t&&t.length&&(this.filters=t,this.analyser.disconnect(),t.reduce((function(t,e){return t.connect(e),e}),this.analyser).connect(this.gainNode))},createScriptNode:function(){this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(this.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(this.scriptBufferSize),this.scriptNode.connect(this.ac.destination)},addOnAudioProcess:function(){var t=this;this.scriptNode.onaudioprocess=function(){var e=t.getCurrentTime();e>=t.getDuration()?(t.setState(t.FINISHED_STATE),t.fireEvent("pause")):e>=t.scheduledPause?t.pause():t.state===t.states[t.PLAYING_STATE]&&t.fireEvent("audioprocess",e)}},removeOnAudioProcess:function(){this.scriptNode.onaudioprocess=null},createAnalyserNode:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)},createVolumeNode:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)},setVolume:function(t){this.gainNode.gain.value=t},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(t,e,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(t,function(t){e(t)}.bind(this),n)},setPeaks:function(t){this.peaks=t},setLength:function(t){if(!this.mergedPeaks||t!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var e=this.buffer?this.buffer.numberOfChannels:1,n=0;n<e;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(t-1)]=0,this.splitPeaks[n][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}},getPeaks:function(t,e,n){if(this.peaks)return this.peaks;e=e||0,n=n||t-1,this.setLength(t);for(var r=this.buffer.length/t,o=~~(r/10)||1,i=this.buffer.numberOfChannels,a=0;a<i;a++)for(var s=this.splitPeaks[a],u=this.buffer.getChannelData(a),c=e;c<=n;c++){for(var l=~~(c*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=u[h];v>d&&(d=v),v<p&&(p=v)}s[2*c]=d,s[2*c+1]=p,(0==a||d>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=d),(0==a||p<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=p)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:t.WebAudio.audioContext=null,t.WebAudio.offlineAudioContext=null)},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var n=this.seekTo(t,e);t=n.start,e=n.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=t,o.style.width="100%";var i=e.querySelector(this.mediaType);i&&e.removeChild(i),e.appendChild(o),this._load(o,n)},loadElt:function(t,e){var n=t;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,e)},_load:function(t,e){var n=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){n.fireEvent("canplay")})),t.addEventListener("ended",(function(){n.fireEvent("finish")})),t.addEventListener("play",(function(){n.fireEvent("play")})),t.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},getPlaybackRate:function(){return this.playbackRate||this.media.playbackRate},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(n){n>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,n,r){return this.buffer?t.WebAudio.getPeaks.call(this,e,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var n,r=t.targetTouches?t.targetTouches[0].clientX:t.clientX,o=this.wrapper.getBoundingClientRect(),i=this.width,a=this.getWidth();return!this.params.fillParent&&i<a?(n=(r-o.left)*this.params.pixelRatio/i||0)>1&&(n=1):n=(r-o.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,n},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var n=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=n){var r=t.wrapper.getBoundingClientRect();if(e.clientY>=r.bottom-n)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,n,r){this.setWidth(e)||this.clearWave(),this.params.barWidth?this.drawBars(t,0,n,r):this.drawWave(t,0,n,r)},style:function(t,e){return Object.keys(e).forEach((function(n){t.style[n]!==e[n]&&(t.style[n]=e[n])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=t-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!e&&-r<=i&&i<r&&(o=n+(i=Math.max(-5,Math.min(5,i)))),(o=Math.max(0,Math.min(a,o)))!=n&&(this.wrapper.scrollLeft=o))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){return this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},setHeight:function(t){return t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(t){var e=1/this.params.pixelRatio,n=Math.round(t*this.width)*e;if(n<this.lastPos||n-this.lastPos>=e){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(r)}this.updateProgress(n)}},destroy:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateCursor:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.updateCursor(),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawBars(t,e,r,o)}));e=a[0]}var s=1;[].some.call(e,(function(t){return t<0}))&&(s=2);var u=.5/this.params.pixelRatio,c=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=e.length/s,h=this.params.barWidth*this.params.pixelRatio,v=Math.max(this.params.pixelRatio,~~(h/2)),g=h+v,y=1/this.params.barHeight;if(this.params.normalize){var m=t.util.max(e),b=t.util.min(e);y=-b>m?-b:m}var w=d/c;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var n=r/w;n<o/w;n+=g){var i=e[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);t.fillRect(n+u,p-a+f,h+u,2*a)}}),this)})),drawWave:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawWave(t,e,r,o)}));e=a[0]}if(![].some.call(e,(function(t){return t<0}))){for(var s=[],u=0,c=e.length;u<c;u++)s[2*u]=e[u],s[2*u+1]=-e[u];e=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(e.length/2),v=1;this.params.fillParent&&this.width!=h&&(v=this.width/h);var g=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),m=t.util.min(e);g=-m>y?-m:y}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){for(t.beginPath(),t.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(e[2*n]/g*d),t.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(e[2*n+1]/g*d);t.lineTo(n*v+l,d-i+p)}t.closePath(),t.fill(),t.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();this.canvases.forEach((function(t,e){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);e==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(t,n,this.height),this.clearWaveForEntry(t)}),this)},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0,height:"100%"})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,n){var r=Math.round(e/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/o||0,t.end=t.start+r/o,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=n,this.style(t.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=n,this.style(t.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(t){this.clearWaveForEntry(t)}),this)},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawBars(t,e,r,o)}),this);e=i[0]}var a=1;[].some.call(e,(function(t){return t<0}))&&(a=2);var s=this.width,u=this.params.height*this.params.pixelRatio,c=u*n||0,l=u/2,f=e.length/a,p=this.params.barWidth*this.params.pixelRatio,d=p+Math.max(this.params.pixelRatio,~~(p/2)),h=1/this.params.barHeight;if(this.params.normalize){var v=t.util.max(e),g=t.util.min(e);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=e[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+c,p+this.halfPixel,2*w)}})),drawWave:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawWave(t,e,r,o)}),this);e=i[0]}if(![].some.call(e,(function(t){return t<0}))){for(var a=[],s=0,u=e.length;s<u;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var c=this.params.height*this.params.pixelRatio,l=c*n||0,f=c/2,p=1/this.params.barHeight;if(this.params.normalize){var d=t.util.max(e),h=t.util.min(e);p=-h>d?-h:d}this.drawLine(e,p,f,l,r,o);var v=e.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(t,e,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,t,e,n,r,o,i),this.drawLineToContext(a,a.progressCtx,t,e,n,r,o,i)}),this)},drawLineToContext:function(t,e,n,r,o,i,a,s){if(e){var u=n.length/2,c=1;this.params.fillParent&&this.width!=u&&(c=this.width/u);var l=Math.round(u*t.start),f=Math.round(u*t.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(e.beginPath(),e.moveTo((p-l)*c+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);e.lineTo((g-l)*c+this.halfPixel,o-v+i)}for(var g=d-1;g>=p;g--)h=n[2*g+1]||0,v=Math.round(h/r*o),e.lineTo((g-l)*c+this.halfPixel,o-v+i);e.closePath(),e.fill()}}},fillRect:function(t,e,n,r,o){o=o||0;for(var i=Math.floor(t/this.maxCanvasWidth),a=Math.min(Math.ceil((t+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var u=this.canvases[s],c=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+u.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(u),this.fillRectToContext(u.waveCtx,l.x1-c,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(u.progressCtx,l.x1-c,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(t,e,n,r,o){t&&t.fillRect(e,n,r,o)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(t,e))})),n.length>1?n:n[0]}}),t.Drawer.SplitWavePointPlot=Object.create(t.Drawer.Canvas),t.util.extend(t.Drawer.SplitWavePointPlot,{defaultPlotParams:{plotNormalizeTo:"whole",plotTimeStart:0,plotMin:0,plotMax:1,plotColor:"#f63",plotProgressColor:"#F00",plotPointHeight:2,plotPointWidth:2,plotSeparator:!0,plotSeparatorColor:"black",plotRangeDisplay:!1,plotRangeUnits:"",plotRangePrecision:4,plotRangeIgnoreOutliers:!1,plotRangeFontSize:12,plotRangeFontType:"Ariel",waveDrawMedianLine:!0,plotFileDelimiter:"\t"},plotTimeStart:0,plotTimeEnd:-1,plotArrayLoaded:!1,plotArray:[],plotPoints:[],plotMin:0,plotMax:1,initDrawer:function(t){var e=this;for(var n in this.defaultPlotParams)void 0===this.params[n]&&(this.params[n]=this.defaultPlotParams[n]);this.plotTimeStart=this.params.plotTimeStart,void 0!==this.params.plotTimeEnd&&(this.plotTimeEnd=this.params.plotTimeEnd),Array.isArray(t.plotArray)?(this.plotArray=t.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(t.plotFileUrl,(function(t){e.plotArray=t,e.plotArrayLoaded=!0,e.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(t,e,n,r){if(1==this.plotArrayLoaded)this.setWidth(e),this.splitChannels=!0,this.params.height=this.params.height/2,t[0]instanceof Array&&(t=t[0]),this.params.barWidth?this.drawBars(t,1,n,r):this.drawWave(t,1,n,r),this.params.height=2*this.params.height,this.calculatePlots(),this.drawPlots();else{var o=this;o.on("plot-array-loaded",(function(){o.drawPeaks(t,e,n,r)}))}},drawPlots:function(){var t=this.params.height*this.params.pixelRatio/2,e=.5/this.params.pixelRatio;for(var n in this.waveCc.fillStyle=this.params.plotColor,this.progressCc&&(this.progressCc.fillStyle=this.params.plotProgressColor),this.plotPoints){var r=parseInt(n),o=t-this.params.plotPointHeight-this.plotPoints[n]*(t-this.params.plotPointHeight),i=this.params.plotPointHeight;this.waveCc.fillRect(r,o,this.params.plotPointWidth,i),this.progressCc&&this.progressCc.fillRect(r,o,this.params.plotPointWidth,i)}this.params.plotSeparator&&(this.waveCc.fillStyle=this.params.plotSeparatorColor,this.waveCc.fillRect(0,t,this.width,e)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var t=this.params.plotRangeFontSize*this.params.pixelRatio,e=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=t.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(e,3,t),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var t=[],e=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var u=this.plotArray[s];if(u.value>n&&(n=u.value),u.value<r&&(r=u.value),u.time>=this.plotTimeStart&&u.time<=this.plotTimeEnd){var c=Math.round(this.width*(u.time-this.plotTimeStart)/a);if(t.push(u.value),c!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=c}}"whole"==this.params.plotNormalizeTo?(this.plotMin=r,this.plotMax=n):"values"==this.params.plotNormalizeTo?(this.plotMin=this.params.plotMin,this.plotMax=this.params.plotMax):(this.plotMin=i,this.plotMax=o),this.normalizeValues()},normalizeValues:function(){var t={};if("none"!==this.params.plotNormalizeTo){for(var e in this.plotPoints){var n=(this.plotPoints[e]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(t[e]=1):n<0?this.params.plotRangeIgnoreOutliers||(t[e]=0):t[e]=n}this.plotPoints=t}},loadPlotArrayFromFile:function(e,n,r){void 0===r&&(r="\t");var o=[],i={url:e,responseType:"text"};t.util.ajax(i).on("load",(function(t){if(200==t.currentTarget.status){for(var e=t.currentTarget.responseText.split("\n"),i=0;i<e.length;i++){var a=e[i].split(r);2==a.length&&o.push({time:parseFloat(a[0]),value:parseFloat(a[1])})}n(o)}}))},calculatePlotTimeEnd:function(){void 0!==this.params.plotTimeEnd?this.plotTimeEnd=this.params.plotTimeEnd:this.plotTimeEnd=this.plotArray[this.plotArray.length-1].time},avg:function(t){return t.reduce((function(t,e){return t+e}))/t.length}}),t.util.extend(t.Drawer.SplitWavePointPlot,t.Observer),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,n){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<e;)o++;for(o%2==0&&r.push(e);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var n=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var r=t.create(n);if(e.dataset.peaks)var o=JSON.parse(e.dataset.peaks);r.load(e.dataset.url,o)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=r)},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return E})),n.d(r,"updatePageLink",(function(){return O})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return W})),n.d(o,"PageBackground",(function(){return H})),n.d(o,"PageBackgroundImage",(function(){return Cn})),n.d(o,"PageShadow",(function(){return In})),n.d(o,"PageForeground",(function(){return Mn})),n.d(o,"PageContent",(function(){return Fn})),n.d(o,"PageScroller",(function(){return Bn})),n.d(o,"PageHeader",(function(){return Un})),n.d(o,"PageText",(function(){return Wn})),n.d(o,"PageLink",(function(){return Yn})),n.d(o,"PageThumbnail",(function(){return Jn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Zn})),n.d(o,"PlayerControls",(function(){return Ur})),n.d(o,"CloseButton",(function(){return Vr})),n.d(o,"MenuBar",(function(){return Dr})),n.d(o,"Icon",(function(){return ur})),n.d(o,"editorOnly",(function(){return Gr})),n.d(o,"withVisibilityWatching",(function(){return Br})),n.d(o,"Draggable",(function(){return Er.a})),n.d(o,"Measure",(function(){return xr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return tn})),n.d(i,"pageAttributes",(function(){return en})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Kr})),n.d(i,"currentParentChapterAttributes",(function(){return $r})),n.d(i,"t",(function(){return Hr})),n.d(i,"setting",(function(){return Qr})),n.d(i,"file",(function(){return Ye})),n.d(i,"prop",(function(){return Vn})),n.d(i,"widgetAttributes",(function(){return to})),n.d(i,"editingWidget",(function(){return eo}));n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(79),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(291),n(292),n(293),n(294),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(157),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(390),n(164);var a=n(4),s=(n(391),"PAGE_DID_ACTIVATE"),u="PAGE_WILL_ACTIVATE",c="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,t)}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.name,r=t.value;return x(m,e,{name:n,value:r})}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.linkId,r=t.name,o=t.value;return x(b,e,{linkId:n,name:r,value:o})}function x(t,e){return{type:t,meta:{collectionName:"pages",itemId:e},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(t){var e=t.settings;return{type:P,payload:{settings:e}}}function S(t){var e=t.property,n=t.value;return{type:k,payload:{property:e,value:n}}}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&j(t.prototype,e),n&&j(t,n),t}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t){return(I="function"==typeof Symbol&&"symbol"===C(Symbol.iterator)?function(t){return C(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":C(t)})(t)}function M(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),W=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),e}(L.Component);function H(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),V=n.n(q);function G(t){return!!V()(t).match(/^\s*$/)}function z(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}z.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[z(n)]=t[n],e}),{})},z.deep=function(t){return Array.isArray(t)?t.map(z.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[z(n)]=z.deep(t[n]),e}),{}):t},z.concat=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).reduce((function(t,e){return t+e[0].toUpperCase()+e.slice(1)}))};var Y=z,X=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Object.keys(t).reduce((function(e,r){return"function"==typeof t[r]?e[r]=t[r].apply(t,n):e[r]=t[r],e}),{})}},$=n(60),K=n(120),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt((function(t,n){var r=e.slice(0,-1).map(et),o=e.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(t===J)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function tt(t,e){return nt((function(){return Object(K.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=et(t[n]),e}),{})}((e=t,Object.keys(e).reduce((function(t,n){return"function"==typeof e[n]?t[n]=e[n]:t[n]=function(){return e[n]},t}),{}))));var e}))}function et(t){return"function"==typeof t&&t[Q]?t(J):t}function nt(t){return t[Q]=!0,t}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function ot(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var it=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(e){return t.element=e}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(t){this.props.loaded&&!t.loaded&&function(t){var e=window.getComputedStyle(t).getPropertyValue("background-image");if(e.match(/^url/))ot(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(t){var e=this.props.position[t];return void 0===e?50:e}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var t=this.props.structuredDataComponent;return B.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(B.a.Component);it.defaultProps={position:[50,50],fileCollection:"imageFiles"};var at=n(17),st=Object(at.c)({isPreloaded:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return t}},isPrepared:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case u:return!0;case h:return!1;default:return t}},isActive:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return t}},isActivated:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case s:return!0;case l:return!1;default:return t}},initialScrollerPosition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",ct="COLLECTION_ADD",lt="COLLECTION_CHANGE",ft="COLLECTION_REMOVE",pt="COLLECTION_ORDER";function dt(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function ht(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ct,meta:{collectionName:e},payload:{attributes:n,order:r}}}function vt(t){var e=t.collectionName,n=t.attributes;return{type:lt,meta:{collectionName:e},payload:{attributes:n}}}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ct:case lt:return e.payload.attributes;default:return t}}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=function(t){var e={};function n(n){return e[n]=e[n]||Object(at.c)({attributes:gt,state:Object(at.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:st})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=gt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?mt({},t,{state:mt({},t.state,{custom:void 0})}):t}},wt=n(2),Et=n.n(wt),Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(e){if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));e=e[n]}return e[t].items||{}}};function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},kt(e),n))}function kt(t){return"__".concat(t,"_connectedId")}var _t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return function(e,o){var i=r,a=e;if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=e[n]}if(!a[t])throw new Error("Cannot select from unknown collection ".concat(t,"."));return"function"==typeof r&&(i=r(e,o)),(i=i||e[kt(t)])?a[t].items[i]:null}}};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var jt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.idAttribute,r=void 0===n?"id":n,o=e.itemReducer,i=void 0===o?gt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,u=arguments.length>1?arguments[1]:void 0;if(!u.meta||u.meta.collectionName!=t)return o;switch(u.type){case ut:return{order:u.payload.items.map((function(t){return t[r]})),items:u.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,ht({collectioName:u.payload.collectioName,attributes:e})),t}),{})};case ct:return{order:u.payload.order,items:Tt({},o.items,Object(a.a)({},u.payload.attributes[r],i(void 0,u)))};case lt:return n=u.payload.attributes[r],{order:o.order,items:Tt({},o.items,Object(a.a)({},n,i(o.items[n],u)))};case ft:return n=u.payload.attributes[r],delete(e=Tt({},o.items))[n],{order:u.payload.order,items:e};case pt:return{items:o.items,order:u.payload.order};default:if(u.meta.itemId){var c=o.items[u.meta.itemId],l=i(c,u);if(l!==c)return{order:o.order,items:Tt({},o.items,Object(a.a)({},u.meta.itemId,l))}}return o}}};function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ct(t,e,n){t.meta&&t.meta.collectionName==e&&!t.meta.itemId&&(t.meta=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?At(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.meta,{itemId:n}))}function It(t,e){return t.meta&&t.meta.collectionName==e}function Mt(t){return t.meta&&t.meta.itemId}var Rt=n(3),Dt=n(7);function Nt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lt=n(28),Bt=n.n(Lt),Ft=Bt.a.shape({trySubscribe:Bt.a.func.isRequired,tryUnsubscribe:Bt.a.func.isRequired,notifyNestedSubs:Bt.a.func.isRequired,isSubscribed:Bt.a.func.isRequired}),Ut=Bt.a.shape({subscribe:Bt.a.func.isRequired,dispatch:Bt.a.func.isRequired,getState:Bt.a.func.isRequired});B.a.forwardRef;var Wt=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Nt(o,e);var r=o.prototype;function o(n,r){var o;return(o=e.call(this,n,r)||this)[t]=n.store,o}return r.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ut.isRequired,children:Bt.a.element.isRequired},r.childContextTypes=((e={})[t]=Ut.isRequired,e[n]=Ft,e),r}();function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Vt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Gt=n(172),zt=n.n(Gt),Yt=n(96),Xt=n.n(Yt),$t=n(119),Kt=null,Qt={notify:function(){}};var Jt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qt}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=Kt,t=Kt},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==Kt&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qt)},t}(),Zt=void 0!==B.a.forwardRef,te=0,ee={};function ne(){}function re(t,e){var n,r;void 0===e&&(e={});var o=e,i=o.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,c=o.renderCountProp,l=void 0===c?void 0:c,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Vt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=te++,w=((n={})[h]=Ut,n[m]=Ft,n),E=((r={})[m]=Ft,r);return function(e){Xt()(Object($t.isValidElementType)(e),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},y,{getDisplayName:a,methodName:u,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){var o;return(o=n.call(this,t,e)||this).version=b,o.state={},o.renderCount=0,o.store=t[h]||e[h],o.propsMode=Boolean(t[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ht(Ht(o))),Xt()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Nt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[m]=e||this.context[m],t},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=ne,this.store=null,this.selector.run=ne,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xt()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var t=(this.propsMode?this.props:this.context)[m];this.subscription=new Jt(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ee)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(g||l||this.propsMode&&this.subscription))return t;var e=qt({},t);return g&&(e.ref=this.setWrappedInstance),l&&(e[l]=this.renderCount++),this.propsMode&&this.subscription&&(e[m]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(L.createElement)(e,this.addExtraProps(t.props))},i}(L.Component);return Zt&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=e,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,zt()(i,e)}}var oe=Object.prototype.hasOwnProperty;function ie(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function ae(t,e){if(ie(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!oe.call(e,n[o])||!ie(t[n[o]],e[n[o]]))return!1;return!0}function se(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ue(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ce(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=ue(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ue(o),o=r(e,n)),o},r}}var le=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?se((function(e){return Object(at.b)(t,e)})):void 0}];var fe=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(){return{}}))}];function pe(t,e,n){return qt({},n,t,e)}var de=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return pe}}];function he(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ve(t,e,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(s=t(i,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):y?(h=t(i,a),v=!p(h,s),s=h,v&&(c=n(s,u,a)),c):c}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),u=e(r,a),c=n(s,u,a),d=!0,c)}}function ge(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Vt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),u=o(t,i);return(i.pure?ve:he)(a,s,u,t,i)}function ye(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function me(t,e){return t===e}var be,we,Ee,Oe,xe,Pe,ke,_e,Se,Te,je,Ae,Ce=(Ee=(we=void 0===be?{}:be).connectHOC,Oe=void 0===Ee?re:Ee,xe=we.mapStateToPropsFactories,Pe=void 0===xe?fe:xe,ke=we.mapDispatchToPropsFactories,_e=void 0===ke?le:ke,Se=we.mergePropsFactories,Te=void 0===Se?de:Se,je=we.selectorFactory,Ae=void 0===je?ge:je,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,u=void 0===s?me:s,c=o.areOwnPropsEqual,l=void 0===c?ae:c,f=o.areStatePropsEqual,p=void 0===f?ae:f,d=o.areMergedPropsEqual,h=void 0===d?ae:d,v=Vt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,Pe,"mapStateToProps"),y=ye(e,_e,"mapDispatchToProps"),m=ye(n,Te,"mergeProps");return Oe(Ae,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Me=function(t){var e=function(e){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,e),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},kt(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return e.childContextTypes=Object(a.a)({},kt(t),B.a.PropTypes.number),e};function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var De=function(t,e,n){var r=Y.deep(t.reduce((function(t,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];t[r]=e[o]}else t[n]=e[n];return t}),{}));return n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},Y.deep(n)):r},Ne=function(t){var e=t.collection,n=t.dispatch,r=t.collectionName,o=t.idAttribute,i=void 0===o?"id":o,a=t.attributes,s=void 0===a?["id"]:a,u=t.includeConfiguration,c=void 0!==u&&u;n(dt({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(ht({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(ht({collectionName:r,attributes:f(t),order:e.pluck(i)}))})),e.on("change",(function(t){(function(t){return l.some((function(e){return t.hasChanged(e)}))})(t)&&n(vt({collectionName:r,attributes:f(t)}))})),c&&e.on("change:configuration",(function(t){n(vt({collectionName:r,attributes:f(t)}))})),e.on("remove",(function(t){setTimeout((function(){n(function(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ft,meta:{collectionName:e},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(t),order:e.pluck(i)}))}),0)})),e.on("sort",(function(){n(function(t){var e=t.collectionName,n=t.order;return{type:pt,meta:{collectionName:e},payload:{order:n}}}({collectionName:r,order:e.pluck(i)}))}));var l=s.map((function(t){return"object"==typeof t?function(t){return t[Object.keys(t)[0]]}(t):t}));function f(t){return De(s,t.attributes,c&&t.configuration.attributes)}},Le=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.attributes,i=void 0===o?["id"]:o,a=t.includeConfiguration,s=void 0!==a&&a;r(dt({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Be=n(50),Fe=n.n(Be),Ue=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Fe.a.Collection&&e instanceof Fe.a.Collection?Ne:Le)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function We(t){var e=t.candidates,n=t.page,r=t.fileExists;return e.find((function(t){if(t.condition&&!function(t,e){var n=e[Y(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=He(n,t);return r(Y(t.collectionName),e)}))}function He(t,e){return"id"in e?e.id:t[Y(e.attribute)]}function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Ve=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("No file url templates found for ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({urls:(e.variants||Object.keys(n[t])).reduce((function(r,o){var i=function(t,e,n,r){var o=r[t][n];if(o)return o.replace(":id_partition",(i=e.id,function(t,e){return t.replace(/./g,(function(t,e,n){return e&&(n.length-e)%3==0?"/"+t:t}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",e.basename);var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var ze=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("Could not find model type for collection name ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Ye(t,e){return Z(_t(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return $e(t,e,n,r)}))}function Xe(){return Z((function(t){return t.files}),(function(t){return function(e,n){return n&&!!_t(e)({id:n})(t)}}))}function $e(t,e,n,r){return ze(t,Ve(t,e,n),r)}function Ke(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[Y(r.type)]:null}}var Qe=_t("pages"),Je=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(e){if(!n[e])throw new Error("Cannot select from unknown namespace ".concat(e,"."));n=n[e]}var r=n[t];return r.items[r.order[0]]}}("pages");function Ze(t){return Z(Je,(function(e){return e&&e.attributes[t]}))}function tn(t,e){return Z(Qe(e),(function(e){return e&&e.attributes[t]}))}function en(t){return Z(Qe(t),(function(t){return t&&t.attributes}))}function nn(t,e){return Z(Qe(e),(function(e){return e&&e.state.custom[t]}))}function rn(t){return sn("isActive",t)}function on(t){return sn("isPreloaded",t)}function an(t){return sn("isPrepared",t)}function sn(t,e){return Z(Qe(e),(function(e){return e&&e.state.common[t]}))}var un=Et.a.mark(ln),cn=Et.a.mark(fn);function ln(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,u],fn);case 2:case"end":return t.stop()}}),un)}function fn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.type!=d){e.next=5;break}return e.next=3,Object(Rt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Rt.put)(w());case 5:case"end":return e.stop()}}),cn)}var pn=Et.a.mark(dn);function dn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Fe.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(m,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(vn,{pagesCollection:t,id:Mt(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Dt.takeEvery)(b,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(hn,{pagesCollection:t,pageId:Mt(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),pn)}function hn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=gn(e,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;gn(e,n).configuration.set(r,o)}function gn(t,e){var n=t.where({perma_id:e})[0];if(!n)throw new Error("Could not find page with perma id ".concat(e,"."));return n}var yn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Et.a.mark((function t(){var r;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(ln(),"t0",1);case 1:return t.delegateYield(dn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Et.a.mark((function t(){var e,o;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Rt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(y,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Rt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},mn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=n(42),wn=n.n(bn),En=Me("pages"),On=function(t){var e=t.Component,n=t.store,r=t.selectTargetElement,o=void 0===r?function(t){return t[0]}:r;return{scroller:!1,enhance:function(t,r){wn.a.render(B.a.createElement(Wt,{store:n},B.a.createElement(En,{itemId:xn(t)},B.a.createElement(mn,{mediaContext:{page:t.page("instance")}},B.a.createElement(e,null)))),o(t)),n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,t)}({id:xn(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:xn(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:xn(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:xn(t)}))},activating:function(t,e,r){n.dispatch(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.position;return x(u,e,{position:n})}({id:xn(t),position:r.position}))},activated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,t)}({id:xn(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:xn(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(c,t)}({id:xn(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:xn(t)}))},update:function(t,e){pageflow.commonPageCssClasses.updateCommonPageCssClasses(t,e)},cleanup:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,t)}({id:xn(t)})),wn.a.unmountComponentAtNode(t[0])}}};function xn(t){return parseInt(t.attr("id"),10)}function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kn(t,e){return Object.keys(e).reduce((function(n,r){return"function"==typeof t[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[r].apply(this,o),e[r].apply(this,o)}:n[r]=e[r],n}),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pn(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var _n,Sn,Tn={init:function(t){var e=t.pages,n=t.dispatch;Ue({collection:e,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(t){var e=t.pageTypes,n=(void 0===e?[]:e).reduce((function(t,e){var n=e.name,r=e.reducer;return t[n]=r,t}),{});return{pages:jt("pages",{idAttribute:"permaId",itemReducer:bt(n)})}},createMiddleware:function(){return function t(e){var n,r=e.getState,o=e.dispatch,i=(n=[],{subscribe:function(t){return n.push(t),function(){return function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}(n,t)}},emit:function(t){for(var e=n.slice(),r=0,o=e.length;r<o;r++)e[r](t)}});return t.getState=r,t.dispatch=o,t.subscribe=i.subscribe,function(t){return function(e){var n=t(e);return i.emit(e),n}}}},createSaga:function(t){var e=t.pages,n=t.pageTypes,r=void 0===n?[]:n,o=t.middleware,i=r.reduce((function(t,e){var n=e.name,r=e.saga;return t[n]=r,t}),{});return function(t,e){var n=Et.a.mark(l),r=Et.a.mark(f),o=Et.a.mark(p),i=Et.a.mark(d),a=Et.a.mark(h),s=e.itemSaga,u=e.middleware,c=Ot(t);return l;function l(){var t;return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,ct,ft],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Rt.select)(c);case 2:return e=n.sent,n.delegateYield(p(e,t),"t0",4);case 4:return n.delegateYield(d(e,t),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(t,e){return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(e).map((function(n){if(!(n in t))return Object(Rt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(t).map((function(t){if(!e[t])return Object(Rt.fork)(h,parseInt(t,10))}));case 2:n=r.sent,Object.keys(t).forEach((function(t,r){e[t]||(e[t]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return u.subscribe((function(r){It(r,t)&&Mt(r)!=e||n(r)}))},dispatch:function(n){Ct(n,t,e),u.dispatch(n)},getState:function(){return Pt(u.getState(),t,e)}}),r.prev=1,r.next=4,Object(Rt.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:e,pageTypeSagas:i}),middleware:o})}},jn=(Sn=kt(_n="pages"),function(t,e,n){var r=Ce(t?function(e,n){var r=t(Pt(e,_n,n[Sn]),n);return"function"==typeof r?function(t,e){return r(Pt(t,_n,e[Sn]),e)}:r}:null,e?function(t,n){var r=function(e){return Ct(e,_n,n[Sn]),t(e)};return"function"==typeof e?e(r,n):Object(at.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,t),A(n,[{key:"render",value:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Sn,this.context[Sn]));return B.a.createElement(e,t)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Sn,B.a.PropTypes.number),n}});var An=jn(tt({loaded:on()}))(it),Cn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page,e=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(An,{fileId:t["".concat(e,"Id")],fileCollection:this.props.fileCollection,position:[t["".concat(e,"X")],t["".concat(e,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),e}(B.a.Component);Cn.defaultProps={propertyBaseName:"backgroundImage"};var In=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),e}(B.a.Component),Mn=function(t){return B.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Rn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(e){return t.wrapperElement=e}},React.createElement("div",{ref:function(e){return t.scrollerElement=e},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var t=jQuery(this.scrollerElement);t.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=t.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(t){this.scroller.resetPosition(t)}}]),e}(L.Component),Dn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillReceiveProps",value:function(t){!this.props.enabled&&t.enabled?this.refs.scroller.enable():this.props.enabled&&!t.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==t.initialScrollerPosition&&t.initialScrollerPosition&&this.refs.scroller.resetPosition({position:t.initialScrollerPosition})}},{key:"getChildContext",value:function(){var t=this;return this._pageScroller=this._pageScroller||{disable:function(){t.refs.scroller.disable()},enable:function(){t.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Rn,{ref:"scroller",className:(t=this.props,U()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Nn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(B.a.Component);function Nn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Dn.childContextTypes={pageScroller:B.a.PropTypes.object};var Ln,Bn=jn(tt({enabled:sn("isActivated",Ln),initialScrollerPosition:function(t){return sn("initialScrollerPosition",t)}()}))(Dn),Fn=function(t){return React.createElement(Mn,null,React.createElement(Bn,null,t.children))},Un=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(B.a.Component);function Wn(t){return B.a.createElement("div",{className:Hn(t)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:qn(t)}),t.children)}function Hn(t){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=Wn.defaultProps.marginBottom))}function qn(t){return{__html:t.page.text}}function Vn(t){return function(e,n){var r=t.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(t,e){return t&&t[e]}),n)}}function Gn(t){return function(e,n,r){return rt(t,r)}}Wn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var zn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(t){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),t.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),e}(B.a.Component),Yn=Ce(tt({targetPage:en({id:Vn("pageLink.targetPageId")})}))(zn);function Xn(t){return React.createElement("div",{className:$n(t)})}function $n(t){return U()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=We({candidates:Kn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,He(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Kn(t){return[Qn(t)].concat(Object($.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function Qn(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Xn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Jn=jn(tt({pageType:Ke({page:function(t){return t.page}}),fileExists:Xe()}))(Xn),Zn=jn(tt({loaded:on(),lazy:!0}))(Jn);function tr(t){return U()("add_info_box",{empty:er(t),title_empty:G(t.title),description_empty:G(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function er(t){return G(t.title)&&G(t.description)}var nr=function(t){return React.createElement("div",{className:tr(t)},function(t){if(!G(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function rr(t){return React.createElement("div",{className:U()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function or(t){return B.a.createElement("svg",{className:t.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"".concat(t.viewBoxLeft," ").concat(t.viewBoxTop," ").concat(t.viewBoxWidth," ").concat(t.viewBoxHeight)},t.children)}or.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var ir=or,ar={Checkmark:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},sr={toggleInfoBox:ar.Info,mediaQuality:ar.Gear,textTracks:ar.Subtitles,activeMenuItem:ar.Checkmark,loadingSpinner:ar.CircleWithNotch,play:ar.Play,pause:ar.Pause};function ur(t){var e=sr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return B.a.createElement(e,t)}var cr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ur,{name:"loadingSpinner"}))},lr=function(t){return jn(tt({id:Z(rn(),(function(t){return t?"firstContent":void 0}))}))(t)};var fr=lr((function(t){return React.createElement("a",{className:pr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:dr(t)},function(t){return t.iconName?React.createElement(ur,{name:t.iconName}):React.createElement("span",null)}(t))}));function pr(t){return U()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function dr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function hr(t){return React.createElement("div",{className:U()(t.className)},function(t){if(isNaN(t))return vr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(gr(n),":").concat(gr(e)):"".concat(n,":").concat(gr(e))}(t.value))}var vr="-:--";function gr(t){return t<10?"0"+t:t}hr.defaultProps={value:0};var yr=function(t){return React.createElement(hr,{className:"vjs-current-time",value:t.currentTime})},mr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},br=function(t){return React.createElement(hr,{className:"vjs-duration",value:t.duration})},wr=n(95),Er=n.n(wr),Or=n(32),xr=n.n(Or),Pr=37,kr=39,_r=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(t){var e=t.width;r.setState({progressHolderWidth:e})},r.measureHandle=function(t){var e=t.width;r.setState({handleWidth:e})},r.handleStop=function(t,e){r.props.onSeek&&r.props.onSeek(r.positionToTime(e.x))},r.handleDrag=function(t,e){r.props.onScrub&&r.props.onScrub(r.positionToTime(e.x))},r.handleKeyDown=function(t){var e;t.keyCode==Pr?e=Math.max(0,r.props.currentTime-1):t.keyCode==kr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return N(e,t),A(e,[{key:"positionToTime",value:function(t){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,t/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(wr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Sr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Sr(this.playProgress())}}),B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Sr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),e}(B.a.Component);function Sr(t){return t>0?100*t+"%":0}_r.defaultProps={currentTime:0,bufferedEnd:0};var Tr=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={subMenuVisible:!1},r.onLinkClick=function(t){t.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return N(e,React.Component),A(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:jr(e,this.state.subMenuVisible),ref:function(e){return t.wrapper=e},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ir(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(ur,{className:Ir(e,"icon"),name:e.iconName})),function(t,e){if(t.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(t,e){return t.subMenuItems.map((function(n){return React.createElement("li",{className:Ar(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Cr(t,n.value,e)},function(t){if(t.active)return React.createElement(ur,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(t,e){if(e.annotation)return React.createElement("span",{className:Ir(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function jr(t,e){return U()({"player_controls-menu_bar_button-sub_menu_visible":e},Ir(t))}function Ar(t){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function Cr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Ir(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Mr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Rr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Dr(t){return React.createElement("div",{className:Nr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Tr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Lr(t.onAdditionalButtonClick,e.name),onMouseEnter:Lr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Lr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Rr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Mr,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Nr(t){return U()(t.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":t.hiddenOnPhone,"player_controls-menu_bar-stand_alone":t.standAlone,"player_controls-menu_bar-inverted":t.inverted})}function Lr(t,e){if(t)return function(){return t(e)}}function Br(t){return function(e){function n(t){var e;return T(this,n),(e=M(this,R(n).call(this,t))).checkVisibility=function(){var t=window.getComputedStyle(e.element);e.lastVisibility!=t.visibility&&("visible"==t.visibility&&"none"!=t.display?e.props.onVisible&&e.props.onVisible():e.props.onHidden&&e.props.onHidden()),e.lastVisibility=t.visibility},e}return N(n,e),A(n,[{key:"componentDidMount",value:function(){this.element=wn.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(t,this.props)}}]),n}(B.a.Component)}function Fr(t){return U()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Tr.defaultProps={subMenuItems:[]},Mr.defaultProps={items:[]},Rr.defaultProps={items:[]},Dr.defaultProps={additionalButtons:[],standAlone:!0};var Ur=Br((function(t){return B.a.createElement(rr,t,B.a.createElement("span",{className:"hint"},t.hint),B.a.createElement(nr,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Fr(t)},function(t){if(t.isLoading)return B.a.createElement(cr,t)}(t),B.a.createElement("div",{className:"play_button"},B.a.createElement(fr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(yr,t),B.a.createElement(mr,null),B.a.createElement(br,t),B.a.createElement(_r,t))}(t),B.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),B.a.createElement(Dr,{standAlone:!1,additionalButtons:t.additionalMenuBarButtons,onAdditionalButtonClick:t.onAdditionalButtonClick,onAdditionalButtonMouseEnter:t.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:t.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Hr=Z(qr,(function(t){return function(e,n){return I18n.t(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wr(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function qr(t){return t.i18n.locale}var Vr=Ce(tt({t:Hr}))((function(t){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:t.t("pageflow.public.close"),onClick:t.onClick},React.createElement("div",{className:"label"},t.t("pageflow.public.close")))})),Gr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},zr=_t("chapters");var Yr=zr,Xr=_t("storylines");function $r(){return function(t,e){var n=Kr()(t,e);return n?Yr({id:n.chapterId})(t,e):null}}function Kr(){return function(t,e){return en({id:function(t,e){return Z(Xr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return Z(zr(e),(function(e){return e&&e[t]}))}("storylineId",{id:tn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function Qr(t){var e=t.property;return function(t){return t.settings[e]}}var Jr=_t("widgets");function Zr(t,e){var n=e.role;return Z(Jr({id:n}),(function(e){return e&&e[t]}))}function to(t){var e=t.role;return Z(Jr({id:e}),(function(t){return t}))}function eo(t){var e=t.role;return Z(Jr({id:e}),(function(t){return!(!t||!t.editing)}))}var no=function(t){return U()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},ro="MEDIA_TOGGLE_PLAYING",oo="MEDIA_PLAY",io="MEDIA_PLAY_AND_FADE_IN",ao="MEDIA_PAUSE",so="MEDIA_FADE_OUT_AND_PAUSE",uo="CHANGE_VOLUME_FACTOR",co="MEDIA_PLAY_FAILED",lo="MEDIA_PLAYING_MUTED",fo="MEDIA_SCRUB_TO",po="MEDIA_SEEK_TO",ho="MEDIA_PREBUFFER",vo="MEDIA_PREBUFFERED",go="MEDIA_ABORT_PREBUFFERING",yo="MEDIA_BUFFER_UNDERRUN",mo="MEDIA_BUFFER_UNDERRUN_CONTINUE",bo="MEDIA_META_DATA_LOADED",wo="MEDIA_PROGRESS",Eo="MEDIA_PLAYING",Oo="MEDIA_PAUSED",xo="MEDIA_TIME_UPDATE",Po="MEDIA_ENDED",ko="MEDIA_SEEKING",_o="MEDIA_SEEKED",So="MEDIA_WAITING",To="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",jo="MEDIA_USER_INTERACTION",Ao="MEDIA_USER_IDLE",Co="MEDIA_CONTROLS_ENTERED",Io="MEDIA_CONTROLS_LEFT",Mo="MEDIA_FOCUS_ENTERED_CONTROLS",Ro="MEDIA_FOCUS_LEFT_CONTROLS",Do="MEDIA_CONTROLS_HIDDEN",No="SHOW_INFO_BOX_DURING_PLAYBACK",Lo="HIDE_INFO_BOX_DURING_PLAYBACK",Bo="TOGGLE_INFO_BOX_DURING_PLAYBACK",Fo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Uo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Wo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(ro)},play:function(){return n(oo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(io,{fadeDuration:e})},pause:function(){return n(ao)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(so,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(uo,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(co)},playingMuted:function(){return n(lo)},scrubTo:function(t){return n(fo,{time:t})},seekTo:function(t){return n(po,{time:t})},prebuffer:function(){return n(ho)},prebuffered:function(){return n(vo)},abortPrebuffering:function(){return n(go)},bufferUnderrun:function(){return n(yo)},bufferUnderrunContinue:function(){return n(mo)},playing:function(){return n(Eo)},paused:function(){return n(Oo)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(xo,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(bo,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(wo,{bufferedEnd:e})},ended:function(){return n(Po)},seeking:function(){return n(ko)},seeked:function(){return n(_o)},waiting:function(){return n(So)},hasNotBeenPlayingForAMoment:function(t){return n(To)},userInteraction:function(){return n(jo)},userIdle:function(){return n(Ao)},controlsEntered:function(){return n(Co)},controlsLeft:function(){return n(Io)},focusEnteredControls:function(){return n(Mo)},focusLeftControls:function(){return n(Ro)},controlsHidden:function(){return n(Do)},showInfoBoxDuringPlayback:function(){return n(No)},hideInfoBoxDuringPlayback:function(){return n(Lo)},toggleInfoBoxDuringPlayback:function(){return n(Bo)},saveMediaElementId:function(t){return n(Fo,{id:t})},discardMediaElementId:function(){return n(Uo)}};function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:t,meta:{collectionName:"pages",mediaScope:e},payload:n}}}function Ho(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function qo(t){return t.backgroundMedia.muted}function Vo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Go(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===t?"default":t))}function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(at.b)(Wo({scope:e}),t)}}function Yo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z(Qr({property:"textTrack"}),Qr({property:"volume"}),Hr,qr,function(t,e){var n=e.parent;return Z(Ot(t,{namespace:"files"}),n,(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r,o){return n?Object.keys(e).reduce((function(i,a){var s=e[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push($e(t,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:e}),r,(function(t,e,n,r,o,i){t=t||{};var s=o.map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vo(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Xo(t,n)},t)})),u=function(t,e,n,r){if(e){var o=t.find((function(t){return t.permaId==e}));if(o)return o}var i=t.find((function(t){return"subtitles"==t.kind&&t.srclang==n})),a=0==r&&t.find((function(t){return"captions"==t.kind}));return i||a}(s,i,r,e);return{files:s.sort((function(t,e){return(t.displayLabel||"").localeCompare(e.displayLabel||"")})),autoFile:u,activeFileId:$o(s,u,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Xo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function $o(t,e,n){if("off"==n.kind)return null;var r=t.find((function(t){return t.srclang==n.srclang&&t.kind==n.kind}));return r?r.id:e&&e.id}function Ko(t){return Z(t.autoplayWhenBackgroundMediaMuted,Qo({id:t.id}),qo,(function(t,e,n){return e&&(!n||t)}))}function Qo(t){return Z(tn("autoplay",t),(function(t){return!1!==t}))}function Jo(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:t.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:e.togglePlaying,onScrub:e.scrubTo,onSeek:e.seekTo,onMouseEnter:e.controlsEntered,onMouseLeave:e.controlsLeft,onFocus:e.focusEnteredControls,onBlur:e.focusLeftControls,watchVisibility:n.isPlaying,onHidden:e.controlsHidden,additionalMenuBarButtons:ei(t),infoBoxHiddenDuringPlayback:ni(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:oi(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ri(t.textTracks,t.t),textTracksMenuButtonTitle:t.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(e){"off"==e?t.updateTextTrackSettings({kind:"off"}):t.updateTextTrackSettings(t.textTracks.files.find((function(t){return t.id==e})))}},t,{className:ti(n)}))}Jo.defaultProps={playerControlsComponent:Ur,qualities:[],textTracks:{files:[]}};var Zo=Ce(tt({activeQuality:Qr({property:"videoQuality"}),t:Hr}),{updateTextTrackSettings:Ho,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(Jo);function ti(t){return U()(no(t))}function ei(t){var e=t.t;return er(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ni(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ri(t,e){if(!t.files.length)return[];var n={value:"off",label:e("pageflow.public.text_track_modes.none"),active:"off"==t.mode};return[{value:"auto",label:t.autoFile?e("pageflow.public.text_track_modes.auto",{label:t.autoFile.displayLabel}):e("pageflow.public.text_track_modes.auto_off"),active:"auto"==t.mode},n].concat(t.files.map((function(e){return{value:e.id,label:e.displayLabel,active:"user"==t.mode&&e.id==t.activeFileId}})))}function oi(t,e,n,r){return n=n||"auto",function(t,e){if(!e)return[];return t.filter((function(t){return!!e.urls[t]||"auto"==t}))}(t,e).map((function(t){return{value:t,label:r("pageflow.public.video_qualities.labels.".concat(t)),annotation:r("pageflow.public.video_qualities.annotations.".concat(t),{defaultValue:""}),active:t==n}}))}function ii(t){return function(e){return e.entry[t]}}function ai(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var si=Ce(tt({t:Hr,entrySlug:ii("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:ai(t),target:"_blank"},(n=(e=t).file,r=e.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var e,n,r,o})),ui=Z(nn("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function ci(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(W,{className:pi(t.className,fi(t),t.textTracks,n)},React.createElement(H,{pageHasPlayerControls:!0},t.children,React.createElement(In,{page:e,className:no(n)})),React.createElement(Mn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:no(n)},React.createElement(Zo,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Bn,{className:no(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(si,{file:t.file})))))}ci.defaultProps={playerControlsCanOverlapPageText:!0};var li=jn(tt({pageScrollerMarginBottom:ui,textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Gn("autoplay support"),shouldAutoplay:Ko({id:Vn("page.permaId"),autoplayWhenBackgroundMediaMuted:Vn("autoplayWhenBackgroundMediaMuted")})}))(ci);function fi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function pi(t,e,n,r){return U()(t,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!e,should_play:r.shouldPlay,has_played:r.hasPlayed})}var di=jn(tt({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:tn("atmoDuringPlayback"),defaultTextTrackFileId:tn("defaultTextTrackFileId")}))((function(t){if(t.file&&t.file.isReady){var e=t.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(t){if(t.pageIsPrepared){var e=t.playerComponent;return React.createElement(e,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,fit:t.fit,position:t.position,loop:t.loop,muted:t.muted,playsInline:t.playsInline,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,textTrackPosition:t.textTrackPosition})}if(t.preloadComponent&&t.pageIsPreloaded){var n=t.preloadComponent;return React.createElement(n,{file:t.file,posterImageFile:t.posterImageFile})}return React.createElement("noscript",null)}(t),React.createElement(e,{file:t.file}))}return React.createElement("noscript",null)})),hi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{ref:function(e){return t.containerElement=e},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.poster!==this.props.poster||t.loop!==this.props.loop||t.muted!==this.props.muted||t.playsInline!==this.props.playsInline||!vi(t.sources,this.props.sources)||!vi(t.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var t=document.createElement("div"),e=document.createElement(this.props.tagName);return e.setAttribute("preload","none"),e.setAttribute("crossorigin","anonymous"),e.setAttribute("alt",this.props.alt),this.props.poster&&e.setAttribute("data-poster",this.props.poster),this.props.loop&&e.setAttribute("loop","true"),this.props.muted&&e.setAttribute("muted","true"),this.props.playsInline&&e.setAttribute("playsinline","true"),this.props.sources.forEach((function(t){var n=document.createElement("source");n.setAttribute("src",t.src),n.setAttribute("type",t.type),e.appendChild(n)})),this.props.tracks.forEach((function(t){var n=document.createElement("track");n.setAttribute("src",t.src),n.setAttribute("id",t.id),n.setAttribute("kind",t.kind),n.setAttribute("srclang",t.srclang),n.setAttribute("label",t.label),e.appendChild(n)})),t.appendChild(e),{__html:t.innerHTML.replace('preload="none"','preload="auto"')}}}]),e}(B.a.Component);function vi(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function gi(t,e){e.emulateTextTracksDisplay;var n=e.atmoSettings,r=e.mediaContext,o=e.playsInline,i="audio"==t.tagName.toLowerCase(),a=new pageflow.VideoPlayer(t,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:t.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}hi.defaultProps={tagName:"video",sources:[],tracks:[]};var yi=function(t,e){t.on("loadedmetadata",(function(){return e.metaDataLoaded({currentTime:t.currentTime(),duration:t.duration()})})),t.on("progress",(function(){return e.progress({bufferedEnd:t.bufferedEnd()})})),t.on("play",e.playing),t.on("playfailed",e.playFailed),t.on("playmuted",e.playingMuted),t.on("pause",e.paused),t.on("waiting",e.waiting),t.on("seeking",e.seeking),t.on("seeked",e.seeked),t.on("bufferunderrun",e.bufferUnderrun),t.on("bufferunderruncontinue",e.bufferUnderrunContinue),t.on("timeupdate",(function(){return e.timeUpdate({currentTime:t.currentTime(),duration:t.duration()})})),t.on("ended",e.ended)};function mi(t,e,n){t.one("timeupdate",(function(){bi(t,null,e(),n())}))}function bi(t,e,n,r){e!=n&&function(t,e){[].slice.call(t.textTracks()).forEach((function(t){t.id=="text_track_file_".concat(e)?t.mode="showing":t.mode="disabled"}))}(t,n),function(t,e){t.updateCueLineSettings(e)}(t,r)}var wi,Ei=function(t){var e=t.tagName,n=t.sources,r=t.poster,o=void 0===r?function(){}:r,i=t.emulateTextTracksDisplay,a=void 0!==i&&i,s=t.createPlayer,u=void 0===s?gi:s,c=function(t){function r(t,n){var o;return T(this,r),(o=M(this,R(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=u(e,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:t.playsInline}),o.player.ready((function(){var t,n,r,i,a,s;o.props.playerActions.saveMediaElementId(e.id),t=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,s=n(),a===i&&s.currentTime>0&&t.currentTime(s.currentTime),s.shouldPrebuffer&&t.prebuffer().then(r.prebuffered,(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(){mi(t,e,n)})),t.textTracks().on("addtrack",(function(){bi(t,null,e(),n())})),bi(t,null,e(),n()),mi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),yi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return N(r,t),A(r,[{key:"componentDidUpdate",value:function(t){var e=this;this.player&&(this.player.ready((function(){var n,r,o;n=e.player,r=t.muted,o=e.props.muted,r!==o&&n.muted(o),function(t,e,n,r){e!==n&&t.changeVolumeFactor(n,r)}(e.player,t.playerState.volumeFactor,e.props.playerState.volumeFactor,e.props.playerState.volumeFactorFadeDuration),function(t,e,n,r){!e.shouldPrebuffer&&n.shouldPrebuffer&&t.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!e.shouldPlay&&n.shouldPlay?n.fadeDuration?t.playAndFadeIn(n.fadeDuration):t.play():e.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?t.fadeOutAndPause(n.fadeDuration):t.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==e.shouldSeekTo&&t.currentTime(n.shouldSeekTo)}(e.player,t.playerState,e.props.playerState,e.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||bi(this.player,t.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(hi,{tagName:e,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(t=this.props.textTracks.files,r=this.props.textTracksEnabled,r?t.filter((function(t){return t.isReady})).map((function(t){return{id:"text_track_file_".concat(t.id),kind:t.kind,label:t.displayLabel,srclang:t.srclang,src:t.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var t,r}}]),r}(B.a.Component);c.contextTypes={mediaContext:B.a.PropTypes.object},c.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=Ce(tt({textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("defaultTextTrackFileId")}),quality:Qr({property:"videoQuality"}),hasNativeVideoPlayer:Gn("native video player"),hasHighBandwidth:Gn("high bandwidth"),textTrackPosition:xi}),{updateTextTrackSettings:Ho})(c);return l.WrappedComponent=c,l},Oi=(wi="slimPlayerControls",function(t){return t.widgetPresence[wi]});function xi(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Oi(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Pi=Ei({tagName:"audio",sources:function(t){return[{type:"audio/ogg",src:"".concat(t.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(t.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(t.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function ki(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function _i(t){var e=Math.round(t/1e3)%60,n=Math.floor(t/1e3/60)%60,r=Math.floor(t/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(e>0||0==n&&0==r)&&(o+="".concat(e,"S")),o}var Si,Ti=Ce(tt({isEnabled:(Si="structured_data",function(t){return t.features.indexOf(Si)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var ji=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:ki("https",e.urls.mp3),duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));function Ai(t){return React.createElement(di,Object.assign({},t,{playerComponent:Pi,structuredDataComponent:ji}))}var Ci=function(t,e,n,r){if(r&&r.height&&e&&"contain"!=e){var o,i,a,s=t.width/t.height;if("width"==(r.width/r.height>s?"width":"height")?(o=(i=r.height)*s,a=r.width/o):(i=(o=r.width)/s,a=r.height/i),!("smart_contain"==e&&a>1.2)){var u=o*a,c=i*a,l=void 0!==n[0]&&"cover"==e?n[0]:50,f=void 0!==n[1]&&"cover"==e?n[1]:50;return{left:(r.width-u)*l/100,top:(r.height-c)*f/100,width:u,height:c}}}};function Ii(t,e){if(t&&e){var n=Math.max(0,-t.left),r=Math.max(0,t.width-e.width+t.left),o=Math.max(0,-t.top),i=Math.max(0,t.height-e.height+t.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ri(t){return B.a.createElement(xr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=Ci(t.videoFile,t.fit,t.position,e);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ii(n,e),style:Di(n)},t.children))}(t,e)}))}function Di(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Ni=Ei({tagName:"video",sources:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(e=e||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(t.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(t.urls[o],"?u=1")}];return t.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(t.urls["dash-playlist"])}].concat(i)),i}return t.urls[e]||(e="high"),[{type:"video/mp4",src:"".concat(t.urls[e],"?u=1")}]},poster:Fi});function Li(t){return B.a.createElement(Ri,{videoFile:t.file,fit:t.fit,position:t.position},B.a.createElement(Ni,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline}))}var Bi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=Fi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(B.a.Component);function Fi(t,e){var n=rt("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Bi.defaultProps={preloadImage:ot};var Ui=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:ki("https",e.urls.high),thumbnailUrl:ki("https",e.urls.poster_medium),width:e.width,height:e.height,duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));var Wi=Ce(tt({file:Ye("videoFiles",{id:Vn("videoFileId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageFileId")}),muted:function(t,e){return e.muted||qo(t)}}))((function(t){return React.createElement(di,Object.assign({},t,{playerComponent:Li,preloadComponent:Bi,structuredDataComponent:Ui}))}));function Hi(t){var e=t.page,n=Y.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=Y.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(Wi,{videoFileId:e["".concat(n,"Id")],posterImageFileId:e["".concat(r,"Id")],playerState:t.playerState,playerActions:t.playerActions,fit:t.fit,position:[e["".concat(n,"X")],e["".concat(n,"Y")]],textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline})}Hi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var qi=Ce(tt({fileExists:Xe()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:Y.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"videoFile"),collection:"videoFiles"}]).find((function(e){return t.fileExists(e.collection,t.page["".concat(e.propertyBaseName,"Id")])}));var e}(t);return e?React.createElement(Cn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var Vi=Ce(tt({fileExists:Xe(),hasMobilePlatform:Gn("mobile platform"),hasAutoplaySupport:Gn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=Y.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(qi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Hi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Gi=Ce(tt({file:Ye("imageFiles",{id:Vn("fileId")}),entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt;if(e){var r={"@context":"http://schema.org","@type":"ImageObject",name:e.basename,description:e.alt,url:ki("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}return null}));var zi=jn(tt({page:en(),playerState:Go({scope:"background"})}),X({playerActions:zo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[Y.concat(o,"backgroundType")]?React.createElement(Vi,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Cn,{page:e,propertyNamePrefix:o,structuredDataComponent:Gi})}));function Yi(t){return React.createElement(H,null,React.createElement(zi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(In,{page:t.page}))}var Xi=Ce(tt({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement($i,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(Ki,{imageId:e.backgroundImageId}):null})),$i=Ce(tt({videoFile:Ye("videoFiles",{id:Vn("videoId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(Qi,{file:n}):React.createElement(Qi,{file:e})})),Ki=jn(tt({file:Ye("imageFiles",{id:Vn("imageId")}),pageIsPrepared:an()}))(Qi);function Qi(t){var e=t.file;return e&&e.isReady&&an?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function Ji(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!G(t.title))return React.createElement("h3",{className:Zi(t)},t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function Zi(t){var e=!G(t.title)&&!G(t.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ta="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ea=jn(null,{setPageScrollerMarginBottom:function(t){return{type:ta,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(xr.a,{whitelist:["height"],onMeasure:function(e){var n=e.height;return t.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},t.children))}));var na=lr((function(t){return React.createElement("a",{href:"#",className:ra(t),id:t.id,tabIndex:"4",title:t.title,onClick:oa(t)},React.createElement(ur,{name:t.isPlaying?"pause":"play"}))}));function ra(t){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function oa(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var ia=n(173),aa=n.n(ia),sa="rgba(170, 170, 170, 1)",ua="rgba(0, 0, 0, 0.5)",ca="#fff",la="#888";var fa=jn(tt({pageIsPrepared:an(),waveformColor:tn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(xr.a,{whitelist:["height"]},(function(e){var n=e.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(aa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?ua:sa,cursorColor:t.inverted?la:ca,height:n}}),React.createElement(na,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function pa(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(hr,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(hr,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var da=jn(tt({inverted:tn("invert")}))((function(t){return React.createElement("div",{className:ha(t)},React.createElement(ea,null,React.createElement(fa,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(pa,{currentTime:t.currentTime,duration:t.duration}),React.createElement(Ji,t.infoBox)),React.createElement(Dr,{inverted:t.inverted,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,hiddenOnPhone:!t.isPlaying,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function ha(t){return U()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var va="HOTKEY_SPACE",ga="HOTKEY_TAB";function ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ba=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scope,n=void 0===e?"default":e;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.meta&&e.meta.mediaScope&&e.meta.mediaScope!==n)return t;switch(e.type){case u:return ma({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ma({},t,{shouldPrebuffer:!1});case oo:return ma({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case Eo:return ma({},t,{shouldPlay:!0,isPlaying:!0});case co:return ma({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case io:return ma({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case ao:return ma({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case Oo:return t.bufferUnderrun?ma({},t,{isPlaying:!1,hasPlayed:!0}):ma({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case so:return ma({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case uo:return ma({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case ho:return ma({},t,{shouldPrebuffer:!0});case vo:return ma({},t,{shouldPrebuffer:!1});case So:return ma({},t,{isLoading:!0});case yo:return ma({},t,{bufferUnderrun:!0});case mo:return ma({},t,{bufferUnderrun:!1});case fo:return ma({},t,{scrubbingAt:e.payload.time});case po:return ma({},t,{shouldSeekTo:e.payload.time});case ko:return ma({},t,{isLoading:!0});case _o:return ma({},t,{scrubbingAt:void 0,isLoading:!1});case bo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case wo:return ma({},t,{bufferedEnd:e.payload.bufferedEnd});case xo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case Po:return ma({},t,{shouldPlay:!1,isPlaying:!1});case To:return ma({},t,{hasBeenPlayingJustNow:!1});case ga:case jo:return ma({},t,{userIsIdle:!1,controlsHidden:!1});case Ao:return ma({},t,{userIsIdle:!0});case Co:return ma({},t,{userHoveringControls:!0});case Io:return ma({},t,{userHoveringControls:!1});case Mo:return ma({},t,{focusInsideControls:!0});case Ro:return ma({},t,{focusInsideControls:!1});case Do:return ma({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Lo:return ma({},t,{infoBoxHiddenDuringPlayback:!0});case No:return ma({},t,{infoBoxHiddenDuringPlayback:!1});case Bo:return ma({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case Fo:return ma({},t,{mediaElementId:e.payload.id});case Uo:return ma({},t,{mediaElementId:null});default:return t}}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ta:return Ea({},t,{bottom:e.payload.value});default:return t}},xa=Et.a.mark(ka),Pa=Et.a.mark(_a);function ka(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([va,ro],_a,Wo());case 2:case"end":return t.stop()}}),xa)}function _a(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Rt.select)(Go());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Rt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Rt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Rt.put)(e());case 13:case"end":return r.stop()}}),Pa)}var Sa=Et.a.mark(ja),Ta=Et.a.mark(Aa);function ja(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([co,lo],Aa);case 2:case"end":return t.stop()}}),Sa)}function Aa(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ta)}var Ca="BACKGROUND_MEDIA_MUTE",Ia="BACKGROUND_MEDIA_UNMUTE";function Ma(){return{type:Ia}}var Ra=Et.a.mark(Ha),Da=Et.a.mark(qa),Na=Et.a.mark(Va),La=Et.a.mark(Ga),Ba=Wo(),Fa=Ba.play,Ua=Ba.prebuffer,Wa=Ba.waiting;function Ha(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Rt.race)({task:Object(Rt.call)(Va,t),cancel:Object(Rt.take)(l)}),Object(Rt.race)({task:Object(Rt.call)(qa,t),cancel:Object(Rt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Ra)}function qa(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Rt.select)(Qo());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Rt.race)({unmute:Object(Rt.take)(Ia),cancel:Object(Rt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield(Va(t),"t1",12);case 12:case"end":return n.stop()}}),Da)}function Va(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ga(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Rt.put)(Wa());case 5:return n.next=7,[Object(Rt.take)(vo),Object(Rt.put)(Ua())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Rt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Rt.put)(Fa());case 12:case"end":return n.stop()}}),Na)}function Ga(t){var e,n,r;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Rt.select)(Ko({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),La)}var za=Et.a.mark(Ya);function Ya(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(oo,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(Xa);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)($a);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),za)}function Xa(){pageflow.events.trigger("scroll_indicator:disable")}function $a(){pageflow.events.trigger("scroll_indicator:enable")}var Ka=Et.a.mark(Qa);function Qa(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.race)({task:Object(Rt.call)(Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)(Dt.delay,700);case 2:return t.next=4,Object(Rt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Rt.take)(Eo)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),Ka)}var Ja=Et.a.mark(ts),Za=Et.a.mark(es);function ts(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([oo,jo,ga],es,e);case 3:case"end":return n.stop()}}),Ja)}function es(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Rt.put)(t());case 4:case"end":return e.stop()}}),Za)}var ns=Et.a.mark(rs);function rs(){var t,e,n,r,o=arguments;return Et.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e=t.scope,n=Wo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(c,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ns)}var os=Et.a.mark(is);function is(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Po,Et.a.mark((function t(){var e,n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Rt.select)(rn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Rt.call)(as);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),os)}function as(){pageflow.slides.next()}var ss=Et.a.mark(ls);function us(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?us(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ls(){var t,e,n=arguments;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[ka(),ja(),Ya()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([is(),rs(),Qa()]),rt("mobile platform")||e.push([Ha(cs({},t,{canAutoplay:rt("autoplay support")}))]),t.hideControls&&e.push([ts()]),r.next=7,e;case 7:case"end":return r.stop()}}),ss)}var fs=Et.a.mark(hs),ps=Et.a.mark(vs),ds=Et.a.mark(gs);function hs(){var t,e,n,r=arguments;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e=t.scope,n=Wo({scope:e}),o.next=4,Object(Dt.takeEvery)(u,Et.a.mark((function t(e){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Rt.race)({task:[Object(Rt.put)(n.prebuffer()),Object(Rt.call)(vs,n),Object(Rt.call)(gs,n)],cancel:Object(Rt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),fs)}function vs(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.prebuffer,e=t.changeVolumeFactor,n=t.play,r.next=3,Object(Rt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Rt.take)(vo);case 5:return r.next=7,Object(Rt.put)(n());case 7:case"end":return r.stop()}}),ps)}function gs(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Rt.take)(vo),Object(Rt.take)(s)];case 3:return n.next=5,Object(Rt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ds)}function ys(t){return{reducers:{"media.default":ba({scope:"default"}),"media.pageScrollerMargin":Oa},saga:Et.a.mark((function e(){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ls(t);case 2:case"end":return e.stop()}}),e)}))}}var ms={reducers:{"media.background":ba({scope:"background"})},saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[hs({scope:"background"}),rs({scope:"background"}),ja()];case 2:case"end":return t.stop()}}),t)}))};var bs=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page;return B.a.createElement(W,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Vr,{onClick:this.onCloseButtonClick}),B.a.createElement(Dr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(H,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(In,{page:t})),B.a.createElement(Mn,null,B.a.createElement(Ur,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),B.a.createElement(Bn,null,B.a.createElement(Un,{page:t}),B.a.createElement(Wn,{page:t}))))}}]),e}(B.a.Component),ws=jn(tt({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(bs),Es="HIDE_TEXT_ACTIVATE",Os="HIDE_TEXT_DEACTIVATE";var xs=Et.a.mark(Ps);function Ps(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Os,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(ks);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),xs)}function ks(){pageflow.events.trigger("scroll_indicator:enable")}var _s={name:"interactivePageBackground",saga:Ps};function Ss(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Ts(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var As=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ss(n,["component","reduxModules"]);r||c("Requires component option to be present"),Array.isArray(i)||c("Expected reduxModules option to be an array.");var s=[],u=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||c("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&c("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),js({},t,{},e.reducers)}),{});function c(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(js({name:e,component:r,reducer:Object.keys(u).length?Object(at.c)(u):void 0,saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.map((function(t){return t()}));case 2:case"end":return t.stop()}}),t)}))},a))},this.forEach=function(){return t.forEach.apply(t,arguments)},this.reduce=function(){return t.reduce.apply(t,arguments)},this.findByName=function(e){return t.find((function(t){var n=t.name;t.component;return n==e}))}},Cs=As.register;function Is(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Is(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Is(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rs=new function(){var t=[];this.register=function(e,n){var r=n.component;t.push({name:e,component:r})},this.findByName=function(e){var n=t.find((function(t){return t.name==e}));if(!n)throw'Widget type with name "'.concat(e,'" not found.');return n},this.forEach=function(){t.forEach.apply(t,arguments)}},Ds=Rs.register,Ns=n(174),Ls={muted:!1},Bs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ca:return{muted:!0};case Ia:return{muted:!1};default:return t}};function Fs(t){var e=t.t,n=t.muted,r=t.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:e("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Us={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:Ca})})),n.on("background_media:unmute",(function(t){return r(Ma())})))},createReducers:function(){return{backgroundMedia:Bs}},createSaga:function(t){var e=t.backgroundMedia;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ia,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function Ws(t){return t.cookieNotice.visible}function Hs(t){return t.theming.privacy_link_url}var qs="COOKIE_NOTICE_REQUEST",Vs="COOKIE_NOTICE_DISMISS";function Gs(){return{type:Vs}}function zs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function Ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $s=function(t){var e={dismissed:t.hasBeenDismissed,visible:!1};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case qs:return t.dismissed?t:Xs({},t,{visible:!0});case Vs:return{dismissed:!0,visible:!1};default:return t}}},Ks={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:qs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:$s({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(qs,Et.a.mark((function t(){var n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(Ws);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Rt.cps)(Qs,e);case 5:return n=t.sent,t.next=8,Object(Rt.take)(Vs);case 8:return t.next=10,Object(Rt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)(Vs,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),t)})))}};function Qs(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var Js={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},Zs="THEMING_INIT";var tu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Zs:return e.payload.theming;default:return t}},eu={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:Zs,payload:{theming:t}}}(e))},createReducers:function(){return{theming:tu}}},nu={init:function(t){var e=t.storylines,n=t.dispatch;Ue({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:jt("storylines")}}},ru={init:function(t){var e=t.chapters,n=t.dispatch;Ue({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:jt("chapters")}}},ou="PAGE_TYPES_INIT";var iu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ou:return e.payload.pageTypes;default:return t}},au={createReducers:function(){return{pageTypes:iu}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:ou,payload:{pageTypes:e}}}({pageTypes:Y.deep(e)}))}},su="CURRENT_PAGE_CHANGE";var uu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case su:return e.payload.id;default:return t}},cu=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:su,payload:{id:e}}}({id:t.getPermaId()}))}))},lu={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||cu(n,r)},createReducers:function(){return{currentPageId:uu}}},fu={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){Ue({collection:e[t],collectionName:Y(t),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(t){var e=t.files,n=t.fileUrlTemplates,r=void 0===n?{}:n,o=t.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(at.c)(Object.keys(e).reduce((function(t,e){return t[e=Y(e)]=jt(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},pu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case P:return e.payload.settings;default:return t}},du={init:function(t){var e=t.isServerSide,n=t.settings,r=t.dispatch;e||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:pu}},createSaga:function(t){var e=t.settings;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)([e,e.set],n.payload.property,n.payload.value);case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};var hu="I18N_INIT";var vu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case hu:return{locale:e.payload.locale};default:return t}},gu={createReducers:function(){return{i18n:vu}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:hu,payload:{locale:e}}}({locale:e}))}},yu="ENTRY_UPDATE",mu="ENTRY_READY";function bu(t){var e=t.entry;return{type:yu,payload:{entry:e}}}function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ou=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case yu:return Eu({},t,{},e.payload.entry);case mu:return Eu({},t,{isReady:!0});default:return t}},xu={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:mu})})),Fe.a.Model&&e instanceof Fe.a.Model?function(t){var e=t.entry,n=t.dispatch;Pu({entry:e,dispatch:n}),e.metadata.on("change:title",(function(){Pu({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Ou}}};function Pu(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.get("slug"),title:e.metadata.get("title")||e.get("entry_title"),publishedAt:null}}))}var ku={init:function(t){var e=t.isServerSide,n=t.window,r=t.getState,o=t.dispatch;e||n.addEventListener("keydown",(function(t){var e=r().currentPageId;32==t.keyCode?o(function(t){var e=t.currentPageId;return x(va,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(ga,e)}({currentPageId:e}))}))}},_u=function(t,e){t.on("activate",(function(t){return e({type:Es})})),t.on("deactivate",(function(t){return e({type:Os})}))};function Su(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Su(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ju={isActive:!1,hasBeenActive:!1},Au=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ju,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Es:return{isActive:!0,hasBeenActive:!0};case Os:return Tu({},t,{isActive:!1});case su:return Tu({},t,{hasBeenActive:!1});default:return t}},Cu={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||_u(n,r)},createReducers:function(){return{hideText:Au}}},Iu={init:function(t){var e=t.widgets,n=t.dispatch;Ue({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:jt("widgets",{idAttribute:"role"})}}};var Mu="WIDGETS_LOAD";var Ru=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Mu:return e.payload.widgets;default:return t}},Du={init:function(t){var e=t.isServerSide,n=t.events,r=t.widgetsApi,o=t.dispatch;function i(){o(function(t){var e=t.widgets;return{type:Mu,payload:{widgets:e}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}e||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ru}}},Nu="THEME_INIT";var Lu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Nu:return e.payload;default:return t}},Bu={createReducers:function(){return{theme:Lu}},init:function(t){var e,n=t.dispatch;if(!t.isServerSide){var r=document.getElementById("theme_probe-main_color");n((e={mainColor:window.getComputedStyle(r)["background-color"]},{type:Nu,payload:e}))}}};function Fu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Uu=function(t){var e=!!t.storylines,n=!t.settings,r=t.seed,o=e?t:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:As,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:e?t.entry.widgets:r.widgets,cookies:t.cookies,hideText:t.hideText,events:t.events,settings:t.settings,widgetsApi:t.widgets,backgroundMedia:t.backgroundMedia,window:n?null:window},s=Object(Ns.a)([Us,Ks,Js,gu,eu,xu,lu,nu,ru,Tn,fu,du,Cu,Iu,Du,au,ku,Bu],i);return n||(As.forEach((function(e){return t.pageType.register(e.name,function(t){return kn(On(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Rs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){wn.a.render(React.createElement(Wt,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},Wu=Me("pages"),Hu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.pageComponent=As.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(Wu,{itemId:this.props.pageId},B.a.createElement(e,null)))}}]),e}(B.a.Component),qu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.widgetComponent=Rs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(e,null))}}]),e}(B.a.Component),Vu=Me("pages"),Gu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return B.a.createElement(Wt,{store:this.store},B.a.createElement(Vu,{itemId:this.props.pageId},B.a.createElement(zi,null)))}}]),e}(B.a.Component);function zu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(li,{className:"audio_page supports_text_position_center",page:t.page,file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_audio"),playerControlsComponent:Yu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(zi,null),React.createElement(Ai,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:Xu(e)}))}function Yu(t){return"waveform"==t?da:Ur}function Xu(t){if("waveform"==t)return"top"}function $u(t){var e=t.page;return React.createElement(W,{className:"supports_text_position_center"},React.createElement(Yi,{page:e}),React.createElement(Mn,null,React.createElement(Bn,null,React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e}))))}var Ku=["auto","4k","fullhd","medium"];function Qu(t){return React.createElement(li,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:Ku,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Hi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions}),React.createElement(qi,{page:t.page}))}var Ju={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},Zu=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={fading:!1,hidden:!1},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){t.setState({fading:!0}),t.hiddenTimeout=setTimeout((function(){t.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this.props.editing,e=this.state,n=e.hidden,r=e.fading;return t||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!t&&r}),onTouchMove:tc,style:Ju},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function tc(t){t.preventDefault()}var ec=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={hidden:!1,animating:!1},n}return N(e,t),A(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=oc(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:nc,style:ic(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:rc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function nc(t){t.preventDefault()}function rc(t){var e=t.firstPageBackgroundImageUrl,n=t.backgroundImage,r=t.blurStrength,o=t.backgroundImageX,i=t.backgroundImageY,a={x:null!=o?o:50,y:null!=i?i:50},s=n?n.urls.medium:e;if(s){var u={backgroundImage:'url("'.concat(s,'")'),filter:"blur("+r+"px)"};return n&&(u.backgroundPosition="".concat(a.x,"% ").concat(a.y,"%")),u}}function oc(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ic(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:oc(t)?"#fff":"#000",animationDelay:void 0!==t.animationDuration?t.animationDuration+"s":void 0}}var ac=Ce(tt({editing:eo({role:"loading_spinner"}),firstPageInvert:Ze("invert"),firstPageBackgroundImageUrl:function(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return Z(e,Xe(),(function(t){return t}),(function(t,e,n){if(t){var o=We({candidates:Ke({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Ye(Y(o.collectionName),{id:He(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Je,(function(t){return t&&t.attributes}))}),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),backgroundImageX:Zr("customBackgroundImageX",{role:"loading_spinner"}),backgroundImageY:Zr("customBackgroundImageY",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),blurStrength:Zr("blurStrength",{role:"loading_spinner"}),animationDuration:Zr("animationDuration",{role:"loading_spinner"})}))(ec);var sc=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=oc(this.props),i=void 0!==this.props.animationDuration?this.props.animationDuration+"s":void 0;return B.a.createElement(ac,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o}),style:{animationDuration:i}},B.a.createElement("div",{className:"media_loading_spinner-title"},e||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(B.a.Component);var uc=n(97),cc=n.n(uc);function lc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}Cs("background_image",{component:jn(tt({page:en()}))($u),reduxModules:[ms]}),Cs("video",{component:jn(tt({page:en(),videoFile:Ye("videoFiles",{id:tn("videoFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(Qu),reduxModules:[ys({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Gn("native video player")})]}),Cs("audio",{component:jn(tt({page:en(),audioFile:Ye("audioFiles",{id:tn("audioFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(zu),reduxModules:[ys({retryOnUnmute:!0}),ms]}),Ds("cookie_notice_bar",{component:Ce(tt({isCookieNoticeVisible:Ws,privacyLinkUrl:Hs,editing:eo({role:"cookie_notice"}),t:Hr,locale:qr}),{dismiss:Gs})(zs)}),Ds("unmute_button",{component:Ce(tt({t:Hr,muted:qo}),{unmute:Ma})(Fs)}),Ds("classic_loading_spinner",{component:Ce(tt({editing:eo({role:"loading_spinner"})}))(Zu)}),Ds("title_loading_spinner",{component:Ce(tt({firstPageInvert:Ze("invert"),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ii("title"),title:Zr("title",{role:"loading_spinner"}),subtitle:Zr("subtitle",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"}),animationDuration:Zr("animationDuration",{role:"loading_spinner"})}))(sc)}),Ds("media_loading_spinner",{component:ac}),cc.a.events&&cc.a.events.on("seed:loaded",(function(){return Uu(cc.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lc(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({MediaPageBackground:Yi,PageWithInteractiveBackground:ws},o),actions:r,selectors:i,registerPageType:Cs,registerPageTypeWithDefaultBackground:function(t,e){Cs(t,{component:zi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Ms({scroller:!0},e),reduxModules:[ms]})},registerWidgetType:Ds,mediaReduxModule:ys,mediaPageBackgroundReduxModule:ms,pageWithInteractiveBackgroundReduxModule:_s,iconMapping:sr,SvgIcon:ir,classNames:U.a,connect:Ce,connectInPage:jn,combineReducers:at.c,combine:X,ServerSidePage:Hu,ServerSideWidget:qu,ServerSidePageBackgroundAsset:Gu}}]).default;
@@ -3,12 +3,12 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(e){var t=
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 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 u in r)n.call(r,u)&&r[u]&&e.push(u)}}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(392);Object.defineProperty(t,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(92);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(93);Object.defineProperty(t,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(393);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 u=n(42);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return u.delay}}),Object.defineProperty(t,"CANCEL",{enumerable:!0,get:function(){return u.CANCEL}});var c,s=n(394),l=(c=s)&&c.__esModule?c:{default:c},f=d(n(164)),p=d(n(395));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(73))},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),u=n(18),c=n(70),s=n(22),l=n(21),f=n(15).f,p=n(38),d=n(55),h=n(13),v=n(61),g=i.DataView,y=g&&g.prototype,m=i.Int8Array,b=m&&m.prototype,w=i.Uint8ClampedArray,O=w&&w.prototype,E=m&&p(m),_=b&&p(b),x=Object.prototype,P=x.isPrototypeOf,k=h("toStringTag"),S=v("TYPED_ARRAY_TAG"),j=!(!i.ArrayBuffer||!g),T=j&&!!d&&"Opera"!==c(i.opera),A=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M=function(e){return a(e)&&u(I,c(e))};for(r in I)i[r]||(T=!1);if((!T||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},T))for(r in I)i[r]&&d(i[r],E);if((!T||!_||_===x)&&(_=E.prototype,T))for(r in I)i[r]&&d(i[r].prototype,_);if(T&&p(O)!==_&&d(O,_),o&&!u(_,k))for(r in A=!0,f(_,k,{get:function(){return a(this)?this[S]:void 0}}),I)i[r]&&s(i[r],S,r);j&&d&&p(y)!==x&&d(y,x),e.exports={NATIVE_ARRAY_BUFFER:j,NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:A&&S,aTypedArray:function(e){if(M(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(d){if(P.call(E,e))return e}else for(var t in I)if(u(I,r)){var n=i[t];if(n&&(e===n||P.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 I){var a=i[r];a&&u(a.prototype,e)&&delete a.prototype[e]}_[e]&&!n||l(_,e,n?t:T&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(o){if(d){if(n)for(r in I)(a=i[r])&&u(a,e)&&delete a[e];if(E[e]&&!n)return;try{return l(E,e,n?t:T&&m[e]||t)}catch(e){}}for(r in I)!(a=i[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||u(I,t)},isTypedArray:M,TypedArray:E,TypedArrayPrototype:_}},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(54),i=n(61),a=n(127),u=r.Symbol,c=o("wks");e.exports=function(e){return c[e]||(c[e]=a&&u[e]||(a?u:i)("Symbol."+e))}},function(e,t,n){var r=n(31),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(121),i=n(10),a=n(34),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(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(24);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(170),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,u=a.hasOwnProperty,c=a.toString,s=i?i.toStringTag:void 0;var l=function(e){var t=u.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[s]=n:delete e[s]),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,O=Object.prototype,E=w.toString,_=O.hasOwnProperty,x=E.call(Object);var P=function(e){if(!m(e)||g(e)!=b)return!1;var t=y(e);if(null===t)return!0;var n=_.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&E.call(n)==x},k=n(120),S={INIT:"@@redux/INIT"};function j(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(j)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],u=a,c=!1;function s(){u===a&&(u=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 s(),u.push(e),function(){if(t){t=!1,s();var n=u.indexOf(e);u.splice(n,1)}}}function p(e){if(!P(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=u,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})}})[k.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)}}})[k.a]=function(){return this},e},r}function T(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 A(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={},u=0;u<i.length;u++){var c=i[u],s=n[c],l=e[c],f=s(l,t);if(void 0===f){var p=T(c,t);throw new Error(p)}o[c]=f,r=r||f!==l}return r?o:e}}function I(e,t){return function(){return t(e.apply(void 0,arguments))}}function M(e,t){if("function"==typeof e)return I(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]=I(a,t))}return r}function N(){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 C=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),u=a.dispatch,c={getState:a.getState,dispatch:function(e){return u(e)}};return i=t.map((function(e){return e(c)})),u=N.apply(void 0,i)(a.dispatch),C({},a,{dispatch:u})}}}n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return M})),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){e.exports={}},function(e,t,n){var r=n(46),o=n(60),i=n(16),a=n(14),u=n(66),c=[].push,s=function(e){var t=1==e,n=2==e,s=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),O=r(h,v,3),E=a(w.length),_=0,x=g||u,P=t?x(d,E):n?x(d,0):void 0;E>_;_++)if((p||_ in w)&&(m=O(y=w[_],_,b),e))if(t)P[_]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return _;case 2:c.call(P,y)}else if(l)return!1;return f?-1:s||l?l:P}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){var r=n(8),o=n(54),i=n(22),a=n(18),u=n(98),c=n(122),s=n(30),l=s.get,f=s.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,s=!!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]&&(s=!0):delete e[t],s?e[t]=n:i(e,t,n)):s?e[t]=n:u(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(74),i=n(43),a=n(25),u=n(34),c=n(18),s=n(121),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=u(t,!0),s)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(60),o=n(24);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(125),o=n(18),i=n(130),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(24),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),u+">"+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(396)()},function(e,t,n){var r,o,i,a=n(123),u=n(8),c=n(9),s=n(22),l=n(18),f=n(75),p=n(62),d=u.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 s(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){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(125),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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(399),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},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(75),a=n(107),u=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"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(102),i=n(100),a=n(62),u=n(128),c=n(97),s=n(75)("IE_PROTO"),l=function(){},f=function(){var e,t=c("iframe"),n=i.length;for(t.style.display="none",u.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[s]=e):n=f(),void 0===t?n:o(n,t)},a[s]=!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(117),u=n(11),c=n(80),s=n(48),l=n(43),f=n(22),p=n(14),d=n(140),h=n(158),v=n(34),g=n(18),y=n(70),m=n(9),b=n(39),w=n(55),O=n(50).f,E=n(159),_=n(20).forEach,x=n(56),P=n(15),k=n(23),S=n(30),j=n(82),T=S.get,A=S.set,I=P.f,M=k.f,N=Math.round,C=o.RangeError,D=c.ArrayBuffer,R=c.DataView,L=u.NATIVE_ARRAY_BUFFER_VIEWS,B=u.TYPED_ARRAY_TAG,F=u.TypedArray,U=u.TypedArrayPrototype,H=u.aTypedArrayConstructor,W=u.isTypedArray,q=function(e,t){for(var n=0,r=t.length,o=new(H(e))(r);r>n;)o[n]=t[n++];return o},G=function(e,t){I(e,t,{get:function(){return T(this)[t]}})},V=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},z=function(e,t){return W(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]):M(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?I(e,t,n):(e[t]=n.value,e)};i?(L||(k.f=Y,P.f=X,G(U,"buffer"),G(U,"byteOffset"),G(U,"byteLength"),G(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),e.exports=function(e,t,n,i){var u=e+(i?"Clamped":"")+"Array",c="get"+e,l="set"+e,v=o[u],g=v,y=g&&g.prototype,P={},k=function(e,n){I(e,n,{get:function(){return function(e,n){var r=T(e);return r.view[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var o=T(e);i&&(r=(r=N(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 s(e,g,u),j(m(n)?V(n)?void 0!==o?new v(n,h(r,t),o):void 0!==r?new v(n,h(r,t)):new v(n):W(n)?q(g,n):E.call(g,n):new v(d(n)),e,g)})),w&&w(g,F),_(O(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=y):(g=n((function(e,n,r,o){s(e,g,u);var i,a,c,l=0,f=0;if(m(n)){if(!V(n))return W(n)?q(g,n):E.call(g,n);i=n,f=h(r,t);var v=n.byteLength;if(void 0===o){if(v%t)throw C("Wrong length");if((a=v-f)<0)throw C("Wrong length")}else if((a=p(o)*t)+f>v)throw C("Wrong length");c=a/t}else c=d(n),i=new D(a=c*t);for(A(e,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new R(i)});l<c;)k(e,l++)})),w&&w(g,F),y=g.prototype=b(U)),y.constructor!==g&&f(y,"constructor",g),B&&f(y,B,u),P[u]=g,r({global:!0,forced:g!=v,sham:!L},P),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",t),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",t),x(u)}):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[s]=function(){return clearTimeout(n)},r},t.createMockTask=function(){var e,t=!0,n=void 0,r=void 0;return i(e={},u,!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},u=t.TASK=a("TASK"),c=t.HELPER=a("HELPER"),s=(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[u]},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=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(31),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(32);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(39),i=n(22),a=r("unscopables"),u=Array.prototype;null==u[a]&&i(u,a,o(null)),e.exports=function(e){u[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(32),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,n){var r=n(126),o=n(100).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(62),o=n(9),i=n(18),a=n(15).f,u=n(61),c=n(71),s=u("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,s,{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,s)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[s].objectID},getWeakData:function(e,t){if(!i(e,s)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[s].weakData},onFreeze:function(e){return c&&d.REQUIRED&&f(e)&&!i(e,s)&&p(e),e}};r[s]=!0},function(e,t,n){var r=n(44),o=n(174);(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(138);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),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(21);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(24),o="["+n(84)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=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:u(1),end:u(2),trim:u(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(25),o=n(14),i=n(45),a=function(e){return function(t,n,a){var u,c=r(t),s=o(c.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>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=u[a(e)];return n==s||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(126),o=n(100);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(9),o=n(51),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(103),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(70),o=n(68),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(105),i=n(14),a=n(46),u=n(69),c=n(135),s=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=u(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 s)return g;return new s(!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 s)return g;return new s(!1)}).stop=function(e){return new s(!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(54),o=n(61),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(25),o=n(47),i=n(68),a=n(30),u=n(106),c=a.set,s=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(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(32),o=n(16),i=n(60),a=n(14),u=function(e){return function(t,n,u,c){r(n);var s=o(t),l=i(s),f=a(s.length),p=e?f-1:0,d=e?-1:1;if(u<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,s));return c}};e.exports={left:u(!1),right:u(!0)}},function(e,t,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(22),u=n(57),c=n(6),s=n(48),l=n(31),f=n(14),p=n(140),d=n(50).f,h=n(15).f,v=n(104),g=n(37),y=n(30),m=y.get,b=y.set,w=r.ArrayBuffer,O=w,E=r.DataView,_=r.Math,x=r.RangeError,P=_.abs,k=_.pow,S=_.floor,j=_.log,T=_.LN2,A=function(e,t,n){var r,o,i,a=new Array(n),u=8*n-t-1,c=(1<<u)-1,s=c>>1,l=23===t?k(2,-24)-k(2,-77):0,f=e<0||0===e&&1/e<0?1:0,p=0;for((e=P(e))!=e||e===1/0?(o=e!=e?1:0,r=c):(r=S(j(e)/T),e*(i=k(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?l/i:l*k(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*k(2,t),r+=s):(o=e*k(2,s-1)*k(2,t),r=0));t>=8;a[p++]=255&o,o/=256,t-=8);for(r=r<<t|o,u+=t;u>0;a[p++]=255&r,r/=256,u-=8);return a[--p]|=128*f,a},I=function(e,t){var n,r=e.length,o=8*r-t-1,i=(1<<o)-1,a=i>>1,u=o-7,c=r-1,s=e[c--],l=127&s;for(s>>=7;u>0;l=256*l+e[c],c--,u-=8);for(n=l&(1<<-u)-1,l>>=-u,u+=t;u>0;n=256*n+e[c],c--,u-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:s?-1/0:1/0;n+=k(2,t),l-=a}return(s?-1:1)*n*k(2,l-t)},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return[255&e]},C=function(e){return[255&e,e>>8&255]},D=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return A(e,23,4)},L=function(e){return A(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 x("Wrong index");var a=m(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+t);return r?c:c.reverse()},U=function(e,t,n,r,o,i){var a=p(+n),u=m(e);if(a+t>u.byteLength)throw x("Wrong index");for(var c=m(u.buffer).bytes,s=a+u.byteOffset,l=r(+o),f=0;f<t;f++)c[s+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 H,W=(O=function(e){return s(this,O),new w(p(e))}).prototype=w.prototype,q=d(w),G=0;q.length>G;)(H=q[G++])in O||a(O,H,w[H]);W.constructor=O}var V=new E(new O(2)),z=E.prototype.setInt8;V.setInt8(0,2147483648),V.setInt8(1,2147483649),!V.getInt8(0)&&V.getInt8(1)||u(E.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 O=function(e){s(this,O,"ArrayBuffer");var t=p(e);b(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},E=function(e,t,n){s(this,E,"DataView"),s(e,O,"DataView");var r=m(e).byteLength,i=l(t);if(i<0||i>r)throw x("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw x("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(B(O,"byteLength"),B(E,"buffer"),B(E,"byteLength"),B(E,"byteOffset")),u(E.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 M(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return I(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return I(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,N,t)},setUint8:function(e,t){U(this,1,e,N,t)},setInt16:function(e,t){U(this,2,e,C,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,C,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,R,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(O,"ArrayBuffer"),g(E,"DataView"),e.exports={ArrayBuffer:O,DataView:E}},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(64),a=n(21),u=n(53),c=n(72),s=n(48),l=n(9),f=n(6),p=n(77),d=n(37),h=n(82);e.exports=function(e,t,n,v,g){var y=o[e],m=y&&y.prototype,b=y,w=v?"set":"add",O={},E=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),u.REQUIRED=!0;else if(i(e,!0)){var _=new b,x=_[w](g?{}:-0,1)!=_,P=f((function(){_.has(1)})),k=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)}));k||((b=t((function(t,n){s(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),(P||S)&&(E("delete"),E("has"),v&&E("get")),(S||x)&&E(w),g&&m.clear&&delete m.clear}return O[e]=b,r({global:!0,forced:b!=y},O),d(b,e),g||n.setStrong(b,e,v),b}},function(e,t,n){var r=n(9),o=n(55);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(86),a=RegExp.prototype.exec,u=String.prototype.replace,c=a,s=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(s||l)&&(c=function(e){var t,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),s&&(t=c.lastIndex),r=a.call(c,e),s&&r&&(c.lastIndex=c.global?r.index+r[0].length:t),l&&r&&r.length>1&&u.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(31),o=n(24),i=function(e){return function(t,n){var i,a,u=String(o(t)),c=r(n),s=u.length;return c<0||c>=s?e?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?e?u.charAt(c):i:e?u.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(22),o=n(21),i=n(6),a=n(13),u=n(87),c=a("species"),s=!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&&!s||"split"===e&&!l){var v=/./[p],g=n(p,""[e],(function(e,t,n,r,o){return t.exec===u?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(87);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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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[u].maybe=!0,e},t.put=O,t.race=function(e){return b(s,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,E("call",e,n))},t.apply=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,E("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,E("cps",e,n))},t.fork=_,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=_.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"),!x(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"),!x(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(42);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"),u="TAKE",c="PUT",s="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(u,{pattern:e});if(o.is.channel(e))return b(u,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}function O(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 E(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 u=t;i=u.context,t=u.fn}return(0,o.check)(t,o.is.func,e+": argument "+t+" is not a function"),{context:i,fn:t,args:n}}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(p,E("fork",e,n))}O.sync=function(){var e=O.apply(void 0,arguments);return e[c].sync=!0,e};var x=function(e){return e[o.TASK]};t.asEffect={take:function(e){return e&&e[a]&&e[u]},put:function(e){return e&&e[a]&&e[c]},race:function(e){return e&&e[a]&&e[s]},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(42),i=n(93),a=t.END={type:"@@redux-saga/CHANNEL_END"},u=t.isEnd=function(e){return e&&"@@redux-saga/CHANNEL_END"===e.type};var c=t.INVALID_BUFFER="invalid buffer passed to channel factory function",s=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,s),!t){if(!n.length)return e.put(i);for(var a=0;a<n.length;a++){var u=n[a];if(!u[o.MATCH]||u[o.MATCH](i))return n.splice(a,1),u(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){u(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(42),o=t.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,u=4,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,c=0,s=0,l=function(t){n[c]=t,c=(c+1)%e,r++},f=function(){if(0!=r){var t=n[s];return n[s]=null,r--,s=(s+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,s=c=(c+1)%e;break;case u:d=2*e,n=p(),r=n.length,c=n.length,s=0,n.length=d,e=d,l(f)}}},take:f,flush:p}}t.buffers={none:function(){return c},fixed:function(e){return s(e,i)},dropping:function(e){return s(e,2)},sliding:function(e){return s(e,a)},expanding:function(e){return s(e,u)}}},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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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)),u=v(n(3)),c=v(n(11)),s=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,u=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var c=(0,f.getBoundPosition)(n,i.x,i.y),s=o(c,2);i.x=s[0],i.y=s[1],i.slackX=n.state.slackX+(a-i.x),i.slackY=n.state.slackY+(u-i.y),r.x=a,r.y=u,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,u={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)(u):t=(0,l.createCSSTransform)(u);var c=this.props,p=c.defaultClassName,h=c.defaultClassNameDragging,v=c.defaultClassNameDragged,y=(0,s.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:u.default.oneOf(["both","x","y","none"]),bounds:u.default.oneOfType([u.default.shape({left:u.default.number,right:u.default.number,top:u.default.number,bottom:u.default.number}),u.default.string,u.default.oneOf([!1])]),defaultClassName:u.default.string,defaultClassNameDragging:u.default.string,defaultClassNameDragged:u.default.string,defaultPosition:u.default.shape({x:u.default.number,y:u.default.number}),position:u.default.shape({x:u.default.number,y:u.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),u=n(9);e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",s="<<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 u=t[n];if(!Array.isArray(u))return new f("Invalid "+o+" `"+i+"` of type `"+v(u)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<u.length;c++){var s=e(u,c,r,o,i+"["+c+"]",a);if(s instanceof Error)return s}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||s;return new f("Invalid "+o+" `"+i+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:s)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var u;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 u=t[n],c=v(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var s in u)if(u.hasOwnProperty(s)){var l=e(u,s,r,o,i+"."+s,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],u=0;u<e.length;u++)if(c=a,s=e[u],c===s?0!==c||1/c==1/s:c!=c&&s!=s)return null;var c,s;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 u=0;u<e.length;u++)if(null==(0,e[u])(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 u=t[n],c=v(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var l=e[s];if(l){var p=l(u,s,r,o,i+"."+s,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 u(u,c,l,p,d,h,v){if(p=p||s,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]?u?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=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function d(e){return p((function(t,n,r,o,i,a){var u=t[n];return v(u)!==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}(u)+"` 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=u,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,u,c){if(r(t),!e){var s;if(void 0===t)s=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,u,c],f=0;(s=new Error(t.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},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,u,c){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var l;try{r("function"==typeof e[s],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",u||"React class",n,s),l=e[s](t,s,u,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).",u||"React class",n,s,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;
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 u in r)n.call(r,u)&&r[u]&&e.push(u)}}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(392);Object.defineProperty(t,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(92);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(93);Object.defineProperty(t,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(393);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 u=n(42);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return u.delay}}),Object.defineProperty(t,"CANCEL",{enumerable:!0,get:function(){return u.CANCEL}});var c,s=n(394),l=(c=s)&&c.__esModule?c:{default:c},f=d(n(164)),p=d(n(395));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(73))},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),u=n(18),c=n(70),s=n(22),l=n(21),f=n(15).f,p=n(38),d=n(55),h=n(13),v=n(61),g=i.DataView,y=g&&g.prototype,m=i.Int8Array,b=m&&m.prototype,w=i.Uint8ClampedArray,O=w&&w.prototype,E=m&&p(m),_=b&&p(b),x=Object.prototype,k=x.isPrototypeOf,P=h("toStringTag"),S=v("TYPED_ARRAY_TAG"),j=!(!i.ArrayBuffer||!g),T=j&&!!d&&"Opera"!==c(i.opera),A=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M=function(e){return a(e)&&u(I,c(e))};for(r in I)i[r]||(T=!1);if((!T||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},T))for(r in I)i[r]&&d(i[r],E);if((!T||!_||_===x)&&(_=E.prototype,T))for(r in I)i[r]&&d(i[r].prototype,_);if(T&&p(O)!==_&&d(O,_),o&&!u(_,P))for(r in A=!0,f(_,P,{get:function(){return a(this)?this[S]:void 0}}),I)i[r]&&s(i[r],S,r);j&&d&&p(y)!==x&&d(y,x),e.exports={NATIVE_ARRAY_BUFFER:j,NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:A&&S,aTypedArray:function(e){if(M(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(d){if(k.call(E,e))return e}else for(var t in I)if(u(I,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 I){var a=i[r];a&&u(a.prototype,e)&&delete a.prototype[e]}_[e]&&!n||l(_,e,n?t:T&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(o){if(d){if(n)for(r in I)(a=i[r])&&u(a,e)&&delete a[e];if(E[e]&&!n)return;try{return l(E,e,n?t:T&&m[e]||t)}catch(e){}}for(r in I)!(a=i[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||u(I,t)},isTypedArray:M,TypedArray:E,TypedArrayPrototype:_}},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(54),i=n(61),a=n(127),u=r.Symbol,c=o("wks");e.exports=function(e){return c[e]||(c[e]=a&&u[e]||(a?u:i)("Symbol."+e))}},function(e,t,n){var r=n(31),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(121),i=n(10),a=n(34),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(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(24);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(170),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,u=a.hasOwnProperty,c=a.toString,s=i?i.toStringTag:void 0;var l=function(e){var t=u.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[s]=n:delete e[s]),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,O=Object.prototype,E=w.toString,_=O.hasOwnProperty,x=E.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=_.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&E.call(n)==x},P=n(120),S={INIT:"@@redux/INIT"};function j(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(j)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],u=a,c=!1;function s(){u===a&&(u=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 s(),u.push(e),function(){if(t){t=!1,s();var n=u.indexOf(e);u.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=u,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})}})[P.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)}}})[P.a]=function(){return this},e},r}function T(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 A(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={},u=0;u<i.length;u++){var c=i[u],s=n[c],l=e[c],f=s(l,t);if(void 0===f){var p=T(c,t);throw new Error(p)}o[c]=f,r=r||f!==l}return r?o:e}}function I(e,t){return function(){return t(e.apply(void 0,arguments))}}function M(e,t){if("function"==typeof e)return I(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]=I(a,t))}return r}function N(){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 C=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),u=a.dispatch,c={getState:a.getState,dispatch:function(e){return u(e)}};return i=t.map((function(e){return e(c)})),u=N.apply(void 0,i)(a.dispatch),C({},a,{dispatch:u})}}}n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return M})),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){e.exports={}},function(e,t,n){var r=n(46),o=n(60),i=n(16),a=n(14),u=n(66),c=[].push,s=function(e){var t=1==e,n=2==e,s=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),O=r(h,v,3),E=a(w.length),_=0,x=g||u,k=t?x(d,E):n?x(d,0):void 0;E>_;_++)if((p||_ in w)&&(m=O(y=w[_],_,b),e))if(t)k[_]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return _;case 2:c.call(k,y)}else if(l)return!1;return f?-1:s||l?l:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){var r=n(8),o=n(54),i=n(22),a=n(18),u=n(98),c=n(122),s=n(30),l=s.get,f=s.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,s=!!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]&&(s=!0):delete e[t],s?e[t]=n:i(e,t,n)):s?e[t]=n:u(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(74),i=n(43),a=n(25),u=n(34),c=n(18),s=n(121),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=u(t,!0),s)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(60),o=n(24);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(125),o=n(18),i=n(130),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(24),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),u+">"+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(396)()},function(e,t,n){var r,o,i,a=n(123),u=n(8),c=n(9),s=n(22),l=n(18),f=n(75),p=n(62),d=u.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 s(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){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(125),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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(399),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},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(75),a=n(107),u=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"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(102),i=n(100),a=n(62),u=n(128),c=n(97),s=n(75)("IE_PROTO"),l=function(){},f=function(){var e,t=c("iframe"),n=i.length;for(t.style.display="none",u.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[s]=e):n=f(),void 0===t?n:o(n,t)},a[s]=!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(117),u=n(11),c=n(80),s=n(48),l=n(43),f=n(22),p=n(14),d=n(140),h=n(158),v=n(34),g=n(18),y=n(70),m=n(9),b=n(39),w=n(55),O=n(50).f,E=n(159),_=n(20).forEach,x=n(56),k=n(15),P=n(23),S=n(30),j=n(82),T=S.get,A=S.set,I=k.f,M=P.f,N=Math.round,C=o.RangeError,D=c.ArrayBuffer,R=c.DataView,L=u.NATIVE_ARRAY_BUFFER_VIEWS,B=u.TYPED_ARRAY_TAG,F=u.TypedArray,U=u.TypedArrayPrototype,H=u.aTypedArrayConstructor,W=u.isTypedArray,q=function(e,t){for(var n=0,r=t.length,o=new(H(e))(r);r>n;)o[n]=t[n++];return o},G=function(e,t){I(e,t,{get:function(){return T(this)[t]}})},V=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},z=function(e,t){return W(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]):M(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?I(e,t,n):(e[t]=n.value,e)};i?(L||(P.f=Y,k.f=X,G(U,"buffer"),G(U,"byteOffset"),G(U,"byteLength"),G(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),e.exports=function(e,t,n,i){var u=e+(i?"Clamped":"")+"Array",c="get"+e,l="set"+e,v=o[u],g=v,y=g&&g.prototype,k={},P=function(e,n){I(e,n,{get:function(){return function(e,n){var r=T(e);return r.view[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var o=T(e);i&&(r=(r=N(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 s(e,g,u),j(m(n)?V(n)?void 0!==o?new v(n,h(r,t),o):void 0!==r?new v(n,h(r,t)):new v(n):W(n)?q(g,n):E.call(g,n):new v(d(n)),e,g)})),w&&w(g,F),_(O(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=y):(g=n((function(e,n,r,o){s(e,g,u);var i,a,c,l=0,f=0;if(m(n)){if(!V(n))return W(n)?q(g,n):E.call(g,n);i=n,f=h(r,t);var v=n.byteLength;if(void 0===o){if(v%t)throw C("Wrong length");if((a=v-f)<0)throw C("Wrong length")}else if((a=p(o)*t)+f>v)throw C("Wrong length");c=a/t}else c=d(n),i=new D(a=c*t);for(A(e,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new R(i)});l<c;)P(e,l++)})),w&&w(g,F),y=g.prototype=b(U)),y.constructor!==g&&f(y,"constructor",g),B&&f(y,B,u),k[u]=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),x(u)}):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[s]=function(){return clearTimeout(n)},r},t.createMockTask=function(){var e,t=!0,n=void 0,r=void 0;return i(e={},u,!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},u=t.TASK=a("TASK"),c=t.HELPER=a("HELPER"),s=(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[u]},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=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(31),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(32);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(39),i=n(22),a=r("unscopables"),u=Array.prototype;null==u[a]&&i(u,a,o(null)),e.exports=function(e){u[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(32),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,n){var r=n(126),o=n(100).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(62),o=n(9),i=n(18),a=n(15).f,u=n(61),c=n(71),s=u("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,s,{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,s)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[s].objectID},getWeakData:function(e,t){if(!i(e,s)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[s].weakData},onFreeze:function(e){return c&&d.REQUIRED&&f(e)&&!i(e,s)&&p(e),e}};r[s]=!0},function(e,t,n){var r=n(44),o=n(174);(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(138);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),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(21);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(24),o="["+n(84)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=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:u(1),end:u(2),trim:u(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(25),o=n(14),i=n(45),a=function(e){return function(t,n,a){var u,c=r(t),s=o(c.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>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=u[a(e)];return n==s||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(126),o=n(100);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(9),o=n(51),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(103),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(70),o=n(68),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(105),i=n(14),a=n(46),u=n(69),c=n(135),s=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=u(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 s)return g;return new s(!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 s)return g;return new s(!1)}).stop=function(e){return new s(!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(54),o=n(61),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(25),o=n(47),i=n(68),a=n(30),u=n(106),c=a.set,s=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(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(32),o=n(16),i=n(60),a=n(14),u=function(e){return function(t,n,u,c){r(n);var s=o(t),l=i(s),f=a(s.length),p=e?f-1:0,d=e?-1:1;if(u<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,s));return c}};e.exports={left:u(!1),right:u(!0)}},function(e,t,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(22),u=n(57),c=n(6),s=n(48),l=n(31),f=n(14),p=n(140),d=n(50).f,h=n(15).f,v=n(104),g=n(37),y=n(30),m=y.get,b=y.set,w=r.ArrayBuffer,O=w,E=r.DataView,_=r.Math,x=r.RangeError,k=_.abs,P=_.pow,S=_.floor,j=_.log,T=_.LN2,A=function(e,t,n){var r,o,i,a=new Array(n),u=8*n-t-1,c=(1<<u)-1,s=c>>1,l=23===t?P(2,-24)-P(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(j(e)/T),e*(i=P(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?l/i:l*P(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*P(2,t),r+=s):(o=e*P(2,s-1)*P(2,t),r=0));t>=8;a[p++]=255&o,o/=256,t-=8);for(r=r<<t|o,u+=t;u>0;a[p++]=255&r,r/=256,u-=8);return a[--p]|=128*f,a},I=function(e,t){var n,r=e.length,o=8*r-t-1,i=(1<<o)-1,a=i>>1,u=o-7,c=r-1,s=e[c--],l=127&s;for(s>>=7;u>0;l=256*l+e[c],c--,u-=8);for(n=l&(1<<-u)-1,l>>=-u,u+=t;u>0;n=256*n+e[c],c--,u-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:s?-1/0:1/0;n+=P(2,t),l-=a}return(s?-1:1)*n*P(2,l-t)},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return[255&e]},C=function(e){return[255&e,e>>8&255]},D=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return A(e,23,4)},L=function(e){return A(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 x("Wrong index");var a=m(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+t);return r?c:c.reverse()},U=function(e,t,n,r,o,i){var a=p(+n),u=m(e);if(a+t>u.byteLength)throw x("Wrong index");for(var c=m(u.buffer).bytes,s=a+u.byteOffset,l=r(+o),f=0;f<t;f++)c[s+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 H,W=(O=function(e){return s(this,O),new w(p(e))}).prototype=w.prototype,q=d(w),G=0;q.length>G;)(H=q[G++])in O||a(O,H,w[H]);W.constructor=O}var V=new E(new O(2)),z=E.prototype.setInt8;V.setInt8(0,2147483648),V.setInt8(1,2147483649),!V.getInt8(0)&&V.getInt8(1)||u(E.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 O=function(e){s(this,O,"ArrayBuffer");var t=p(e);b(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},E=function(e,t,n){s(this,E,"DataView"),s(e,O,"DataView");var r=m(e).byteLength,i=l(t);if(i<0||i>r)throw x("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw x("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(B(O,"byteLength"),B(E,"buffer"),B(E,"byteLength"),B(E,"byteOffset")),u(E.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 M(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return I(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return I(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,N,t)},setUint8:function(e,t){U(this,1,e,N,t)},setInt16:function(e,t){U(this,2,e,C,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,C,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,R,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(O,"ArrayBuffer"),g(E,"DataView"),e.exports={ArrayBuffer:O,DataView:E}},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(64),a=n(21),u=n(53),c=n(72),s=n(48),l=n(9),f=n(6),p=n(77),d=n(37),h=n(82);e.exports=function(e,t,n,v,g){var y=o[e],m=y&&y.prototype,b=y,w=v?"set":"add",O={},E=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),u.REQUIRED=!0;else if(i(e,!0)){var _=new b,x=_[w](g?{}:-0,1)!=_,k=f((function(){_.has(1)})),P=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)}));P||((b=t((function(t,n){s(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)&&(E("delete"),E("has"),v&&E("get")),(S||x)&&E(w),g&&m.clear&&delete m.clear}return O[e]=b,r({global:!0,forced:b!=y},O),d(b,e),g||n.setStrong(b,e,v),b}},function(e,t,n){var r=n(9),o=n(55);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(86),a=RegExp.prototype.exec,u=String.prototype.replace,c=a,s=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(s||l)&&(c=function(e){var t,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),s&&(t=c.lastIndex),r=a.call(c,e),s&&r&&(c.lastIndex=c.global?r.index+r[0].length:t),l&&r&&r.length>1&&u.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(31),o=n(24),i=function(e){return function(t,n){var i,a,u=String(o(t)),c=r(n),s=u.length;return c<0||c>=s?e?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?e?u.charAt(c):i:e?u.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(22),o=n(21),i=n(6),a=n(13),u=n(87),c=a("species"),s=!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&&!s||"split"===e&&!l){var v=/./[p],g=n(p,""[e],(function(e,t,n,r,o){return t.exec===u?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(87);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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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[u].maybe=!0,e},t.put=O,t.race=function(e){return b(s,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,E("call",e,n))},t.apply=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,E("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,E("cps",e,n))},t.fork=_,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=_.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"),!x(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"),!x(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(42);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"),u="TAKE",c="PUT",s="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(u,{pattern:e});if(o.is.channel(e))return b(u,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}function O(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 E(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 u=t;i=u.context,t=u.fn}return(0,o.check)(t,o.is.func,e+": argument "+t+" is not a function"),{context:i,fn:t,args:n}}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(p,E("fork",e,n))}O.sync=function(){var e=O.apply(void 0,arguments);return e[c].sync=!0,e};var x=function(e){return e[o.TASK]};t.asEffect={take:function(e){return e&&e[a]&&e[u]},put:function(e){return e&&e[a]&&e[c]},race:function(e){return e&&e[a]&&e[s]},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(42),i=n(93),a=t.END={type:"@@redux-saga/CHANNEL_END"},u=t.isEnd=function(e){return e&&"@@redux-saga/CHANNEL_END"===e.type};var c=t.INVALID_BUFFER="invalid buffer passed to channel factory function",s=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,s),!t){if(!n.length)return e.put(i);for(var a=0;a<n.length;a++){var u=n[a];if(!u[o.MATCH]||u[o.MATCH](i))return n.splice(a,1),u(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){u(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(42),o=t.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,u=4,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,c=0,s=0,l=function(t){n[c]=t,c=(c+1)%e,r++},f=function(){if(0!=r){var t=n[s];return n[s]=null,r--,s=(s+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,s=c=(c+1)%e;break;case u:d=2*e,n=p(),r=n.length,c=n.length,s=0,n.length=d,e=d,l(f)}}},take:f,flush:p}}t.buffers={none:function(){return c},fixed:function(e){return s(e,i)},dropping:function(e){return s(e,2)},sliding:function(e){return s(e,a)},expanding:function(e){return s(e,u)}}},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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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)),u=v(n(3)),c=v(n(11)),s=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,u=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var c=(0,f.getBoundPosition)(n,i.x,i.y),s=o(c,2);i.x=s[0],i.y=s[1],i.slackX=n.state.slackX+(a-i.x),i.slackY=n.state.slackY+(u-i.y),r.x=a,r.y=u,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,u={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)(u):t=(0,l.createCSSTransform)(u);var c=this.props,p=c.defaultClassName,h=c.defaultClassNameDragging,v=c.defaultClassNameDragged,y=(0,s.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:u.default.oneOf(["both","x","y","none"]),bounds:u.default.oneOfType([u.default.shape({left:u.default.number,right:u.default.number,top:u.default.number,bottom:u.default.number}),u.default.string,u.default.oneOf([!1])]),defaultClassName:u.default.string,defaultClassNameDragging:u.default.string,defaultClassNameDragged:u.default.string,defaultPosition:u.default.shape({x:u.default.number,y:u.default.number}),position:u.default.shape({x:u.default.number,y:u.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),u=n(9);e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",s="<<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 u=t[n];if(!Array.isArray(u))return new f("Invalid "+o+" `"+i+"` of type `"+v(u)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<u.length;c++){var s=e(u,c,r,o,i+"["+c+"]",a);if(s instanceof Error)return s}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||s;return new f("Invalid "+o+" `"+i+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:s)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var u;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 u=t[n],c=v(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var s in u)if(u.hasOwnProperty(s)){var l=e(u,s,r,o,i+"."+s,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],u=0;u<e.length;u++)if(c=a,s=e[u],c===s?0!==c||1/c==1/s:c!=c&&s!=s)return null;var c,s;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 u=0;u<e.length;u++)if(null==(0,e[u])(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 u=t[n],c=v(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var l=e[s];if(l){var p=l(u,s,r,o,i+"."+s,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 u(u,c,l,p,d,h,v){if(p=p||s,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]?u?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=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function d(e){return p((function(t,n,r,o,i,a){var u=t[n];return v(u)!==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}(u)+"` 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=u,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,u,c){if(r(t),!e){var s;if(void 0===t)s=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,u,c],f=0;(s=new Error(t.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},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,u,c){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var l;try{r("function"==typeof e[s],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",u||"React class",n,s),l=e[s](t,s,u,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).",u||"React class",n,s,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 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=s,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(s(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",u.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),u=(o=a)&&o.__esModule?o:{default:o},c="";function s(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,s=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=s.getComputedStyle(i),p=s.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,u.innerWidth)(l)-(0,u.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,u.innerHeight)(l)-(0,u.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,u.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,u.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},u=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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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)),u=p(n(11)),c=n(13),s=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=u.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,s.getControlPosition)(e,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,s.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,s.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,u=i-o.state.lastY,c=(0,s.snapToGrid)(o.props.grid,a,u),l=r(c,2);if(a=l[0],u=l[1],!a&&!u)return;n=o.state.lastX+a,i=o.state.lastY+u}var p=(0,s.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,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,r=t.y,i=(0,s.createCoreData)(o,n,r),a=u.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=u.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 u(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,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.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];s.push(new h(e,t)),1!==s.length||l||u(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(19))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){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 s=[n,r,o,i,a,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[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(22);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(50),i=n(101),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(65);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,c=0;u>c;)o.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r,o,i=n(8),a=n(76),u=i.process,c=u&&u.versions,s=c&&c.v8;s?o=(r=s.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,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)t[u++]=e;return t}},function(e,t,n){var r=n(13),o=n(68),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(136),i=n(38),a=n(55),u=n(37),c=n(22),s=n(21),l=n(13),f=n(44),p=n(68),d=n(137),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,O,E,_=function(e){if(e===d&&j)return j;if(!v&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",P=!1,k=e.prototype,S=k[g]||k["@@iterator"]||d&&k[d],j=!v&&S||_(d),T="Array"==t&&k.entries||S;if(T&&(w=i(T.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&c(w,g,y)),u(w,x,!0,!0),f&&(p[x]=y))),"values"==d&&S&&"values"!==S.name&&(P=!0,j=function(){return S.call(this)}),f&&!b||k[g]===j||c(k,g,j),p[t]=j,d)if(O={values:_("values"),keys:m?j:_("keys"),entries:_("entries")},b)for(E in O)!v&&!P&&E in k||s(k,E,O[E]);else r({target:t,proto:!0,forced:v||P},O);return O}},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(109),i=n(24),a=Math.ceil,u=function(e){return function(t,n,u){var c,s,l=String(i(t)),f=l.length,p=void 0===u?" ":String(u),d=r(n);return d<=f||""==p?l:(c=d-f,(s=o.call(p,a(c/p.length))).length>c&&(s=s.slice(0,c)),e?l+s:s+l)}};e.exports={start:u(!1),end:u(!0)}},function(e,t,n){"use strict";var r=n(31),o=n(24);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),u=n(6),c=n(33),s=n(46),l=n(128),f=n(97),p=n(152),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){O(e)}},_=function(e){O(e.data)},x=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(E(e))}:m&&m.now?r=function(e){m.now(E(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(x)?r="onreadystatechange"in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(E(e),0)}:(r=x,a.addEventListener("message",_,!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(112);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(88).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(84);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(77),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,u=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 u(2),1,void 0).length}))},function(e,t,n){"use strict";e.exports=n(398)},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 u(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 u=0,c=o.pop(),s=a(o),l=e.apply(void 0,[function(){return u++,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=s.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 u},f.resetRecomputations=function(){return u=0},f}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=u,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=u(i)},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);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(73),n(390)(e))},function(e,t,n){var r=n(12),o=n(6),i=n(97);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(54);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(8),o=n(122),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(18),o=n(99),i=n(23),a=n(15);e.exports=function(e,t){for(var n=o(t),u=a.f,c=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||u(e,l,c(t,l))}}},function(e,t,n){e.exports=n(8)},function(e,t,n){var r=n(18),o=n(25),i=n(63).indexOf,a=n(62);e.exports=function(e,t){var n,u=o(e),c=0,s=[];for(n in u)!r(a,n)&&r(u,n)&&s.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(s,n)||s.push(n));return s}},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(25),o=n(50).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),u=i(n.length),c=o(e,u),s=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?u:o(l,u))-s,u-c),p=1;for(s<c&&c<s+f&&(p=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){"use strict";var r=n(51),o=n(14),i=n(46),a=function(e,t,n,u,c,s,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<u;){if(h in n){if(p=v?v(n[h],h,t):n[h],s>0&&r(p))d=a(e,t,p,o(p.length),d,s-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(20).forEach,o=n(40);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(135),a=n(105),u=n(14),c=n(52),s=n(69);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=s(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=u(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(137).IteratorPrototype,o=n(39),i=n(43),a=n(37),u=n(68),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),u[s]=c,e}},function(e,t,n){"use strict";var r,o,i,a=n(38),u=n(22),c=n(18),s=n(13),l=n(44),f=s("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)||u(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(25),o=n(31),i=n(14),a=n(40),u=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");e.exports=s||l?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=u(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(31),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(32),o=n(9),i=[].slice,a={},u=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?u(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(39),i=n(57),a=n(46),u=n(48),c=n(72),s=n(106),l=n(56),f=n(12),p=n(53).fastKey,d=n(30),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){u(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[s],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);s(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(58).trim,i=n(84),a=r.parseFloat,u=1/a(i+"-0")!=-1/0;e.exports=u?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(58).trim,i=n(84),a=r.parseInt,u=/^[+-]?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||(u.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(65),a=n(101),u=n(74),c=n(16),s=n(60),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=u.f;o>l;)for(var d,h=s(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(65),i=n(25),a=n(74).f,u=function(e){return function(t){for(var n,u=i(t),c=o(u),s=c.length,l=0,f=[];s>l;)n=c[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!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(76);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,u,c,s,l,f=n(8),p=n(23).f,d=n(33),h=n(111).set,v=n(152),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),O=w&&w.value;O||(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?(u=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=u=!u}):m&&m.resolve?(s=m.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){h.call(f,r)}),e.exports=O||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(155);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(32),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(88).charAt,o=n(30),i=n(106),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(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(76);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(344);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(69),a=n(105),u=n(46),c=n(11).aTypedArrayConstructor;e.exports=function(e){var t,n,s,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=u(v,arguments[2],2)),n=o(d.length),s=new(c(this))(n),t=0;n>t;t++)s[t]=g?v(d[t],t):d[t];return s}},function(e,t,n){"use strict";var r=n(57),o=n(53).getWeakData,i=n(10),a=n(9),u=n(48),c=n(72),s=n(20),l=n(18),f=n(30),p=f.set,d=f.getterFor,h=s.find,v=s.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,s){var f=e((function(e,r){u(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&c(r,e[s],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(78);var r=n(1),o=n(35),i=n(162),a=n(21),u=n(57),c=n(37),s=n(136),l=n(30),f=n(48),p=n(18),d=n(46),h=n(70),v=n(10),g=n(9),y=n(39),m=n(43),b=n(387),w=n(69),O=n(13),E=o("fetch"),_=o("Headers"),x=O("iterator"),P=l.set,k=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),j=/\+/g,T=Array(4),A=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),I);return t}},N=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return C[e]},R=function(e){return encodeURIComponent(e).replace(N,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:M(r.shift()),value:M(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=s((function(e,t){P(this,{type:"URLSearchParamsIterator",iterator:b(k(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})),H=function(){f(this,H,"URLSearchParams");var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(P(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==s)if(g(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:u.value+""})}else for(c in s)p(s,c)&&d.push({key:c,value:s[c]+""});else L(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},W=H.prototype;u(W,{append:function(e,t){F(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=k(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=k(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=k(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=k(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=k(this),o=r.entries,i=!1,a=e+"",u=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=k(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=k(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(W,x,W.entries),a(W,"toString",(function(){for(var e,t=k(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(R(e.key)+"="+R(e.value));return n.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof E||"function"!=typeof _||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 _(t.headers):new _).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)),E.apply(this,o)}}),e.exports={URLSearchParams:H,getState:k}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91);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,O=g.logger,E=g.onError,_=O||r.log,x=(0,a.stdChannel)(n);T.cancel=r.noop;var P=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",j),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),k={name:m,cancel:function(){k.isRunning&&!k.isCancelled&&(k.isCancelled=!0,T(p))},isRunning:!0},S=function(e,t,n){var o=[],i=void 0,a=!1;function u(e){s(),n(e,!0)}function c(e){o.push(e),e.cont=function(c,s){a||((0,r.remove)(o,e),e.cont=r.noop,s?u(c):(e===t&&(i=c),o.length||(a=!0,n(i))))}}function s(){a||(a=!0,o.forEach((function(e){e.cont=r.noop,e.cancel()})),o=[])}return c(t),{addTask:c,cancelAll:s,abort:u,getTasks:function(){return o},taskNames:function(){return o.map((function(e){return e.name}))}}}(0,k,A);function j(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=j),t._isRunning=!0,T(),P;function T(e,n){if(!k.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=t.throw(e):e===p?(k.isCancelled=!0,T.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?(k.isMainRunning=!1,k.cont&&k.cont(o.value)):I(o.value,y,"",T)}catch(e){k.isCancelled&&_("error","uncaught at "+m,e.message),k.isMainRunning=!1,k.cont(e,!0)}}function A(e,n){t._isRunning=!1,x.close(),n?(e instanceof Error&&(e.sagaStack="at "+m+" \n "+(e.sagaStack||e.stack)),P.cont||(_("error","uncaught",e.sagaStack||e.stack),e instanceof Error&&E&&E(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(e===p&&s&&_("info",m+" has been cancelled",""),t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),P.cont&&P.cont(e,n),P.joiners.forEach((function(t){return t.cb(e,n)})),P.joiners=null}function I(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:t,label:s,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){_("error","uncaught at "+m,e.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var O=void 0;return(r.is.promise(e)?M(e,b):r.is.helper(e)?C({fn:e},g,b):r.is.iterator(e)?N(e,g,m,b):r.is.array(e)?function(e,t,n){if(!e.length)return n([]);var o=0,i=void 0,u=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)):(u[t]=e,++o===u.length&&(i=!0,n(u))))};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 I(e,t,n,c[n])}))}(e,g,b):r.is.notUndef(O=i.asEffect.take(e))?function(e,t){var n=e.channel,r=e.pattern,o=e.maybe;n=n||x;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}(O,b):r.is.notUndef(O=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);_("error","uncaught at "+m,e.stack||e.message||e)}if(!a||!r.is.promise(e))return t(e);M(e,t)}))}(O,b):r.is.notUndef(O=i.asEffect.race(e))?function(e,t,n){var o=void 0,i=Object.keys(e),u={};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,u[e]=t})),n.cancel=function(){o||(o=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(n){o||I(e[n],t,n,u[n])}))}(O,g,b):r.is.notUndef(O=i.asEffect.call(e))?function(e,t,n){var o=e.context,i=e.fn,a=e.args,u=void 0;try{u=i.apply(o,a)}catch(e){return n(e,!0)}return r.is.promise(u)?M(u,n):r.is.iterator(u)?N(u,t,i.name,n):n(u)}(O,g,b):r.is.notUndef(O=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}(O,b):r.is.notUndef(O=i.asEffect.fork(e))?C(O,g,b):r.is.notUndef(O=i.asEffect.join(e))?function(e,t){e.isRunning()?(n={task:P,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}(O,b):r.is.notUndef(O=i.asEffect.cancel(e))?function(e,t){e.isRunning()&&e.cancel();t()}(O,b):r.is.notUndef(O=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)}}(O,b):r.is.notUndef(O=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||u.buffers.fixed(),i))}(O,b):r.is.notUndef(O=i.asEffect.flush(e))?function(e,t){e.flush(t)}(O,b):r.is.notUndef(O=i.asEffect.cancelled(e))?function(e,t){t(!!k.isCancelled)}(0,b):b(e))}function M(e,t){var n=e[r.CANCEL];"function"==typeof n&&(t.cancel=n),e.then(t,(function(e){return t(e,!0)}))}function N(t,r,o,i){e(t,n,d,v,g,r,o,i)}function C(t,i,a){var u=t.context,c=t.fn,s=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)((u=void 0,c={done:!1,value:i},function(e){return u?{done:!0,value:e}:(u=!0,c)}));var u,c}({context:u,fn:c,args:s});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(42),o=n(166),i=n(91),a=n(92),u=n(93);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 s=!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=u;var r=[],o=0;function i(e){try{a(),e()}finally{u()}}function a(){o++}function u(){!--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,u,c){a=a||"";var s,l,f,p=e,d=0,h="",v="",g=!1;for("string"==typeof u?u=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(u):Array.isArray(u)||(u=null),s=0,l=a.length;s<l;s++)switch(f=a[s]){case"<":if(g)break;if(" "==a[s+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,u&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[s-1]&&"-"==a[s-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[s-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[s-1]&&"!"==a[s-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(s-6,7).toLowerCase()){p=t;break}y(f);break;default:y(f)}function y(n){p==e?h+=n:u&&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!==u.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(73))},function(e,t,n){"use strict";var r=n(118),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},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=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 u=c(t),v=c(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||u&&u[y])){var m=p(n,y);try{s(t,y,m)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(2),i=n.n(o),a=n(59),u=n(17),c=n(7),s=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=s()(),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(u.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(u.c)(n):function(e,t){return e}}(t,n),{},(d=u.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(403))},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),u=n(12),c=n(127),s=n(6),l=n(18),f=n(51),p=n(9),d=n(10),h=n(16),v=n(25),g=n(34),y=n(43),m=n(39),b=n(65),w=n(50),O=n(129),E=n(101),_=n(23),x=n(15),P=n(74),k=n(22),S=n(21),j=n(54),T=n(75),A=n(62),I=n(61),M=n(13),N=n(130),C=n(26),D=n(37),R=n(30),L=n(20).forEach,B=T("hidden"),F=M("toPrimitive"),U=R.set,H=R.getterFor("Symbol"),W=Object.prototype,q=o.Symbol,G=i("JSON","stringify"),V=_.f,z=x.f,Y=O.f,X=P.f,$=j("symbols"),K=j("op-symbols"),Q=j("string-to-symbol-registry"),J=j("symbol-to-string-registry"),Z=j("wks"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=u&&s((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(W,t);r&&delete W[t],z(e,t,n),r&&e!==W&&z(W,t,r)}:z,re=function(e,t){var n=$[e]=m(q.prototype);return U(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},oe=c&&"symbol"==typeof q.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ie=function(e,t,n){e===W&&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){u&&!ue.call(n,t)||ie(e,t,n[t])})),e},ue=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===W&&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!==W||!l($,r)||l(K,r)){var o=V(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},se=function(e){var t=Y(v(e)),n=[];return L(t,(function(e){l($,e)||l(A,e)||n.push(e)})),n},le=function(e){var t=e===W,n=Y(t?K:v(e)),r=[];return L(n,(function(e){!l($,e)||t&&!l(W,e)||r.push($[e])})),r};(c||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===W&&n.call(K,e),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return u&&te&&ne(W,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return H(this).tag})),P.f=ue,x.f=ie,_.f=ce,w.f=O.f=se,E.f=le,u&&(z(q.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||S(W,"propertyIsEnumerable",ue,{unsafe:!0})),N.f=function(e){return re(M(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),L(b(Z),(function(e){C(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(l(Q,t))return Q[t];var n=q(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:!u},{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:se,getOwnPropertySymbols:le}),r({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),G)&&r({target:"JSON",stat:!0,forced:!c||s((function(){var e=q();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(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,G.apply(null,o)}});q.prototype[F]||k(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(e,t,n){var r=n(8),o=n(98),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),u=n(9),c=n(15).f,s=n(124),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};s(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=u(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(26)("asyncIterator")},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(51),a=n(9),u=n(16),c=n(14),s=n(52),l=n(66),f=n(67),p=n(13),d=n(103),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=u(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&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(1),o=n(131),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(20).every;r({target:"Array",proto:!0,forced:n(40)("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(104),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(1),o=n(20).filter;r({target:"Array",proto:!0,forced:!n(67)("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(20).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(20).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(132),i=n(16),a=n(14),u=n(31),c=n(66);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:u(e)),r}})},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(32),c=n(66);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return u(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(133);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(1),o=n(134);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(1),o=n(63).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(63).indexOf,i=n(40),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:u||c},{indexOf:function(e){return u?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(51)})},function(e,t,n){"use strict";var r=n(1),o=n(60),i=n(25),a=n(40),u=[].join,c=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:c||s},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(1),o=n(139);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(1),o=n(20).map;r({target:"Array",proto:!0,forced:!n(67)("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(52);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(79).left;r({target:"Array",proto:!0,forced:n(40)("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(79).right;r({target:"Array",proto:!0,forced:n(40)("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(51),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(51),a=n(45),u=n(14),c=n(25),s=n(52),l=n(67),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=u(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&&s(r,l,h[g]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(1),o=n(20).some;r({target:"Array",proto:!0,forced:n(40)("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(32),i=n(16),a=n(6),u=n(40),c=[],s=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(56)("Array")},function(e,t,n){"use strict";var r=n(1),o=n(45),i=n(31),a=n(14),u=n(16),c=n(66),s=n(52),l=n(67),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=u(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&&s(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(80),a=n(56),u=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==u},{ArrayBuffer:u}),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(80),a=n(10),u=n(45),c=n(14),s=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=u(e,n),o=u(void 0===t?n:t,n),i=new(s(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(80);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(222);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(108).start,i=Math.abs,a=Date.prototype,u=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(u.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(22),o=n(225),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(21),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(141)})},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(38),a=n(13)("hasInstance"),u=Function.prototype;a in u||o.f(u,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,u=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(8);n(37)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(81),o=n(142);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(143),i=Math.acosh,a=Math.log,u=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+u(e-1)*u(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(110),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(83),i=Math.cosh,a=Math.abs,u=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*u*u))*(u/2)}})},function(e,t,n){var r=n(1),o=n(83);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(1)({target:"Math",stat:!0},{fround:n(240)})},function(e,t,n){var r=n(110),o=Math.abs,i=Math.pow,a=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),l=r(e);return i<s?l*(i/s/u+1/a-1/a)*s*u:(n=(t=(1+u/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,u=0,c=arguments.length,s=0;u<c;)s<(n=i(arguments[u++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*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(143)})},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(110)})},function(e,t,n){var r=n(1),o=n(6),i=n(83),a=Math.abs,u=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:(u(e-1)-u(-e-1))*(c/2)}})},function(e,t,n){var r=n(1),o=n(83),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(37)(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(64),a=n(21),u=n(18),c=n(33),s=n(82),l=n(34),f=n(6),p=n(39),d=n(50).f,h=n(23).f,v=n(15).f,g=n(58).trim,y=o.Number,m=y.prototype,b="Number"==c(p(m)),w=function(e){var t,n,r,o,i,a,u,c,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=g(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,u=0;u<a;u++)if((c=i.charCodeAt(u))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(b?f((function(){m.valueOf.call(n)})):"Number"!=c(n))?s(new y(w(t)),n,E):w(t)},_=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(","),x=0;_.length>x;x++)u(y,O=_[x])&&!u(E,O)&&v(E,O,h(y,O));E.prototype=m,m.constructor=E,a(o,"Number",E)}},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(254)})},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(144)})},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(144),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(145);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(31),i=n(147),a=n(109),u=n(6),c=1..toFixed,s=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))||!u((function(){c.call({})}))},{toFixed:function(e){var t,n,r,u,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=s(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=s(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+((u=h.length)<=f?"0."+a.call("0",f-u)+h:h.slice(0,u-f)+"."+h.slice(u-f)):d+h}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(147),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(148);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(39)})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:u(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(102)})},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(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(149).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(71),i=n(6),a=n(9),u=n(53).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(u(e)):e}})},function(e,t,n){var r=n(1),o=n(72),i=n(52);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(25),a=n(23).f,u=n(12),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||c,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(1),o=n(12),i=n(99),a=n(25),u=n(23),c=n(52);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&c(l,t,n);return l}})},function(e,t,n){var r=n(1),o=n(6),i=n(129).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(38),u=n(107);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(1)({target:"Object",stat:!0},{is:n(150)})},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(65);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(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.get}while(n=c(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.set}while(n=c(n))}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:u((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(53).onFreeze,a=n(71),u=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:u((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(55)})},function(e,t,n){var r=n(21),o=n(288),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(70),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(149).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(145);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r,o,i,a,u=n(1),c=n(44),s=n(8),l=n(35),f=n(151),p=n(21),d=n(57),h=n(54),v=n(37),g=n(56),y=n(9),m=n(32),b=n(48),w=n(33),O=n(72),E=n(77),_=n(49),x=n(111).set,P=n(153),k=n(154),S=n(293),j=n(155),T=n(294),A=n(30),I=n(64),M=n(13),N=n(103),C=M("species"),D="Promise",R=A.get,L=A.set,B=A.getterFor(D),F=f,U=s.TypeError,H=s.document,W=s.process,q=h("inspectSource"),G=l("fetch"),V=j.f,z=V,Y="process"==w(W),X=!!(H&&H.createEvent&&s.dispatchEvent),$=I(D,(function(){var e=q(F)!==String(F);if(66===N)return!0;if(!e&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[C]=n,!(t.then((function(){}))instanceof n)})),K=$||!E((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;P((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,c,s,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?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?d(U("Promise-chain cycle")):(c=Q(u))?c.call(u,p,d):p(u)):d(o)}catch(e){h&&!s&&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=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},ee=function(e,t){x.call(s,(function(){var n,r=t.value;if(te(t)&&(n=T((function(){Y?W.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){x.call(s,(function(){Y?W.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?P((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=R(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=V(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?W.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=R(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},j.f=V=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 G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(F,G.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),u({target:D,stat:!0,forced:$},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),u({target:D,stat:!0,forced:c||$},{resolve:function(e){return k(c&&this===i?F:this,e)}}),u({target:D,stat:!0,forced:K},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=T((function(){var n=m(t.resolve),i=[],a=0,u=1;O(e,(function(e){var c=a++,s=!1;i.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,i[c]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=T((function(){var o=m(t.resolve);O(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(151),a=n(35),u=n(49),c=n(154),s=n(21);r({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=u(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||s(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(6),c=o("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!u((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):s.call(e,t,n)}})},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(9),c=n(39),s=n(141),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(s.apply(e,r))}var o=n.prototype,l=c(u(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return u(h)?h:l}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(34),u=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(u.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 u.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(23).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),u=n(23),c=n(38);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,s,l=arguments.length<3?t:arguments[2];return i(t)===l?t[n]:(r=u.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(s=c(t))?e(s,n,l):void 0}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(23);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(38);r({target:"Reflect",stat:!0,sham:!n(107)},{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(99)})},function(e,t,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(71)},{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),u=n(15),c=n(23),s=n(38),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=s(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,u.f(d,n,f)}else u.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(138),a=n(55);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(64),a=n(82),u=n(15).f,c=n(50).f,s=n(112),l=n(86),f=n(21),p=n(6),d=n(56),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=s(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)},O=function(e){e in w||u(w,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},E=c(v),_=0;E.length>_;)O(E[_++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(e,t,n){"use strict";var r=n(1),o=n(87);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(12),o=n(15),i=n(86);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var r=n(21),o=n(10),i=n(6),a=n(86),u=RegExp.prototype,c=u.toString,s=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(s||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 u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(81),o=n(142);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(88).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(113),a=n(24),u=n(114),c="".endsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("endsWith")},{endsWith:function(e){var t=String(a(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:s(o(n),r),l=String(e);return c?c.call(t,l,u):t.slice(u-l.length,u)===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(113),i=n(24);r({target:"String",proto:!0,forced:!n(114)("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(89),o=n(10),i=n(14),a=n(24),u=n(115),c=n(90);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),s=String(this);if(!a.global)return c(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,s));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(1),o=n(108).end;r({target:"String",proto:!0,forced:n(157)},{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(108).start;r({target:"String",proto:!0,forced:n(157)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(25),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=[],u=0;n>u;)a.push(String(t[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(e,t,n){n(1)({target:"String",proto:!0},{repeat:n(109)})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(16),a=n(14),u=n(31),c=n(24),s=n(115),l=n(90),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=s(h,a(d.lastIndex),y))}for(var w,O="",E=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),P=f(p(u(b.index),h.length),0),k=[],S=1;S<b.length;S++)k.push(void 0===(w=b[S])?w:String(w));var j=b.groups;if(v){var T=[x].concat(k,P,h);void 0!==j&&T.push(j);var A=String(i.apply(void 0,T))}else A=r(x,h,P,k,j,i);P>=E&&(O+=h.slice(E,P)+A,E=P+x.length)}return O+h.slice(E)}];function r(e,n,r,o,a,u){var c=r+e.length,s=o.length,l=v;return void 0!==a&&(a=i(a),l=h),t.call(u,l,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":u=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[l-1]}return void 0===u?"":u}))}}))},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(24),a=n(150),u=n(90);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),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=u(i,c);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){"use strict";var r=n(89),o=n(112),i=n(10),a=n(24),u=n(49),c=n(115),s=n(14),l=n(90),f=n(87),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 u,c,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(u=f.call(v,r))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,u.index)),u.length>1&&u.index<r.length&&d.apply(l,u.slice(1)),s=u[0].length,h=c,l.length>=i));)v.lastIndex===u.index&&v.lastIndex++;return h===r.length?!s&&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=u(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,O=0,E=[];O<p.length;){m.lastIndex=v?O:0;var _,x=l(m,v?p:p.slice(O));if(null===x||(_=h(s(m.lastIndex+(v?0:O)),p.length))===w)O=c(p,O,g);else{if(E.push(p.slice(w,O)),E.length===b)return E;for(var P=1;P<=x.length-1;P++)if(E.push(x[P]),E.length===b)return E;O=w=_}}return E.push(p.slice(w)),E}]}),!v)},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".startsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(s(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(58).trim;r({target:"String",proto:!0,forced:n(116)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(58).end,i=n(116)("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(58).start,i=n(116)("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(27);r({target:"String",proto:!0,forced:n(28)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){n(41)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(31);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(41)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(41)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("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(131),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(20).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(104),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(20).filter,i=n(49),a=r.aTypedArray,u=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,s=new(u(n))(c);c>r;)s[r]=t[r++];return s}))},function(e,t,n){"use strict";var r=n(11),o=n(20).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(20).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(20).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(117),o=n(11),i=n(159);o.exportStatic("from",i,r)},function(e,t,n){"use strict";var r=n(11),o=n(63).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(63).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(78),a=n(13)("iterator"),u=r.Uint8Array,c=i.values,s=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=u&&u.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 s.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(139),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(20).map,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(u(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(11),o=n(117),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(79).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(79).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(158),a=n(16),u=n(6),c=r.aTypedArray,s=u((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),u=o(r.length),s=0;if(u+t>n)throw RangeError("Wrong length");for(;s<u;)this[t+s]=r[s++]}),s)},function(e,t,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,u=r.aTypedArrayConstructor,c=[].slice,s=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,s=n.length,l=new(u(r))(s);s>i;)l[i]=n[i++];return l}),s)},function(e,t,n){"use strict";var r=n(11),o=n(20).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),u=r.aTypedArray;r.exportProto("subarray",(function(e,t){var n=u(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,u=o.aTypedArray,c=[].toLocaleString,s=[].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?s.call(u(this)):u(this),arguments)}),f)},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,u=a&&a.prototype,c=[].toString,s=[].join;i((function(){c.call({})}))&&(c=function(){return s.call(this)}),o.exportProto("toString",c,(u||{}).toString!=c)},function(e,t,n){"use strict";var r,o=n(8),i=n(57),a=n(53),u=n(81),c=n(160),s=n(9),l=n(30).enforce,f=n(123),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=u("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(s(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(s(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(s(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(s(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(81)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(160),!1,!0)},function(e,t,n){var r=n(8),o=n(161),i=n(133),a=n(22);for(var u in o){var c=r[u],s=c&&c.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){var r=n(8),o=n(161),i=n(78),a=n(22),u=n(13),c=u("iterator"),s=u("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[s]||a(d,s,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(111),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(153),a=n(33),u=o.process,c="process"==a(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&u.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(8),i=n(76),a=[].slice,u=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:u(o.setTimeout),setInterval:u(o.setInterval)})},function(e,t,n){"use strict";n(156);var r,o=n(1),i=n(12),a=n(162),u=n(8),c=n(102),s=n(21),l=n(48),f=n(18),p=n(148),d=n(134),h=n(88).codeAt,v=n(386),g=n(37),y=n(163),m=n(30),b=u.URL,w=y.URLSearchParams,O=y.getState,E=m.set,_=m.getterFor("URL"),x=Math.floor,P=Math.pow,k=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,j=/\d/,T=/^(0x|0X)/,A=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,C=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\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),N.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(C.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=V(r[o],H);e.host=n}},B=function(e){var t,n,r,o,i,a,u,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=T.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?A:M).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>=P(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*P(256,3-r);return u},F=function(e){var t,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!j.test(p()))return;for(;j.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[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)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=x(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},H={},W=p({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},W,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=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&&k.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={},ue={},ce={},se={},le={},fe={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},we={},Oe=function(e,t,n,o){var i,a,u,c,s,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(R,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!k.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=ue:"/"==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=se;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=se}else l=ce;break;case ue:if(l=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){v&&(h="%40"+h),v=!0,u=d(h);for(var m=0;m<u.length;m++){var b=u[m];if(":"!=b||y){var w=V(b,G);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(!j.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var O=parseInt(h,10);if(O>65535)return"Invalid port";e.port=Y(e)&&O===z[e.scheme]?null:O,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(".."===(s=(s=h).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(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+=V(a,q);break;case me:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=V(a,H));break;case be:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,H)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=V(a,W))}p++}},Ee=function(e){var t,n,r=l(this,Ee,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=E(r,{type:"URL"});if(void 0!==o)if(o instanceof Ee)t=_(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(u,a,null,t))throw TypeError(n);var c=u.searchParams=new w,s=O(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},i||(r.href=xe.call(r),r.origin=Pe.call(r),r.protocol=ke.call(r),r.username=Se.call(r),r.password=je.call(r),r.host=Te.call(r),r.hostname=Ae.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=Ce.call(r),r.hash=De.call(r))},_e=Ee.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",X(e)&&(s+=n+(r?":"+r:"")+"@"),s+=U(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},Pe=function(){var e=_(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"},ke=function(){return _(this).scheme+":"},Se=function(){return _(this).username},je=function(){return _(this).password},Te=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ae=function(){var e=_(this).host;return null===e?"":U(e)},Ie=function(){var e=_(this).port;return null===e?"":String(e)},Me=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=_(this).query;return e?"?"+e:""},Ce=function(){return _(this).searchParams},De=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Re(xe,(function(e){var t=_(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Re(Pe),protocol:Re(ke,(function(e){var t=_(this);Oe(t,String(e)+":",ee)})),username:Re(Se,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],G)}})),password:Re(je,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],G)}})),host:Re(Te,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Re(Ae,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Re(Ie,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Re(Me,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ge))})),search:Re(Ne,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Ce),hash:Re(De,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(_e,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),s(_e,"toString",(function(){return xe.call(this)}),{enumerable:!0}),b){var Le=b.createObjectURL,Be=b.revokeObjectURL;Le&&s(Ee,"createObjectURL",(function(e){return Le.apply(b,arguments)})),Be&&s(Ee,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}g(Ee,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ee})},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,u=String.fromCharCode,c=function(e){return e+22+75*(e<26)},s=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(u(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,O=36-b;r.push(u(c(b+w%O))),y=a(w/O)}r.push(u(c(y))),p=s(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(69);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",u=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 T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===h)continue;return u}}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=s(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 s(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(j([])));w&&w!==n&&r.call(w,i)&&(m=w);var O=y.prototype=v.prototype=Object.create(m);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function _(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var u=s(e[n],e,o);if("throw"!==u.type){var c=u.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(u.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function x(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,x(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=s(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 P(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(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:T}}function T(){return{value:t,done:!0}}return g.prototype=O.constructor=y,y.constructor=g,y[u]=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,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(_.prototype),_.prototype[a]=function(){return this},e.AsyncIterator=_,e.async=function(t,n,r,o){var i=new _(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(O),O[u]="Generator",O[i]=function(){return this},O.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=j,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(k),!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 u.type="throw",u.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],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){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(!s)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),k(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;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(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,u=t.sagaMonitor,c=t.logger;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var s=(0,o.uid)();u&&(r=(0,o.wrapSagaDispatch)(r),u.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}}));var l=(0,a.default)(e,n,r,i,{sagaMonitor:u,logger:c},s,e.name);u&&u.effectResolved(s,l);return l};var r,o=n(42),i=n(165),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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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 u={done:!1,value:(0,a.take)(e)},c=void 0,p=function(e){return c=e};return l({q1:function(){return["q2",u,p]},q2:function(){return c===o.END?[s]:["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 u={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",u,g]},q2:function(){return h===o.END?[s]: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,u.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?[s]:["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(92),i=n(42),a=n(91),u=n(93),c={done:!0,value:void 0},s={};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=t;function u(t,n){if(a===s)return c;if(n)throw a=s,n;o&&o(t);var i=e[a](),u=r(i,3),l=u[0],f=u[1],p=u[2];return o=p,(a=l)===s?c:f}return(0,i.makeIterator)(u,(function(e){return u(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,s=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)(s);return function(e){return function(t){n&&n.actionDispatched(t);var r=e(t);return t[o.SAGA_ACTION]?l.emit(t):(0,u.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 u=(0,o.uid)();n&&n.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:i}});var c=t(e,i,u);return n&&n.effectResolved(u,c),c},r};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r},u=n(166),c=n(92)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42);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(91);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(397);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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";
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=s,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(s(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",u.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),u=(o=a)&&o.__esModule?o:{default:o},c="";function s(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,s=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=s.getComputedStyle(i),p=s.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,u.innerWidth)(l)-(0,u.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,u.innerHeight)(l)-(0,u.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,u.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,u.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},u=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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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)),u=p(n(11)),c=n(13),s=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=u.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,s.getControlPosition)(e,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,s.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,s.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,u=i-o.state.lastY,c=(0,s.snapToGrid)(o.props.grid,a,u),l=r(c,2);if(a=l[0],u=l[1],!a&&!u)return;n=o.state.lastX+a,i=o.state.lastY+u}var p=(0,s.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,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,r=t.y,i=(0,s.createCoreData)(o,n,r),a=u.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=u.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 u(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,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.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];s.push(new h(e,t)),1!==s.length||l||u(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(19))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){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 s=[n,r,o,i,a,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[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(22);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(50),i=n(101),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(65);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,c=0;u>c;)o.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r,o,i=n(8),a=n(76),u=i.process,c=u&&u.versions,s=c&&c.v8;s?o=(r=s.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,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)t[u++]=e;return t}},function(e,t,n){var r=n(13),o=n(68),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(136),i=n(38),a=n(55),u=n(37),c=n(22),s=n(21),l=n(13),f=n(44),p=n(68),d=n(137),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,O,E,_=function(e){if(e===d&&j)return j;if(!v&&e in P)return P[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",k=!1,P=e.prototype,S=P[g]||P["@@iterator"]||d&&P[d],j=!v&&S||_(d),T="Array"==t&&P.entries||S;if(T&&(w=i(T.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&c(w,g,y)),u(w,x,!0,!0),f&&(p[x]=y))),"values"==d&&S&&"values"!==S.name&&(k=!0,j=function(){return S.call(this)}),f&&!b||P[g]===j||c(P,g,j),p[t]=j,d)if(O={values:_("values"),keys:m?j:_("keys"),entries:_("entries")},b)for(E in O)!v&&!k&&E in P||s(P,E,O[E]);else r({target:t,proto:!0,forced:v||k},O);return O}},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(109),i=n(24),a=Math.ceil,u=function(e){return function(t,n,u){var c,s,l=String(i(t)),f=l.length,p=void 0===u?" ":String(u),d=r(n);return d<=f||""==p?l:(c=d-f,(s=o.call(p,a(c/p.length))).length>c&&(s=s.slice(0,c)),e?l+s:s+l)}};e.exports={start:u(!1),end:u(!0)}},function(e,t,n){"use strict";var r=n(31),o=n(24);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),u=n(6),c=n(33),s=n(46),l=n(128),f=n(97),p=n(152),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){O(e)}},_=function(e){O(e.data)},x=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(E(e))}:m&&m.now?r=function(e){m.now(E(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(x)?r="onreadystatechange"in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(E(e),0)}:(r=x,a.addEventListener("message",_,!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(112);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(88).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(84);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(77),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,u=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 u(2),1,void 0).length}))},function(e,t,n){"use strict";e.exports=n(398)},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 u(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 u=0,c=o.pop(),s=a(o),l=e.apply(void 0,[function(){return u++,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=s.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 u},f.resetRecomputations=function(){return u=0},f}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=u,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=u(i)},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);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(73),n(390)(e))},function(e,t,n){var r=n(12),o=n(6),i=n(97);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(54);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(8),o=n(122),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(18),o=n(99),i=n(23),a=n(15);e.exports=function(e,t){for(var n=o(t),u=a.f,c=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||u(e,l,c(t,l))}}},function(e,t,n){e.exports=n(8)},function(e,t,n){var r=n(18),o=n(25),i=n(63).indexOf,a=n(62);e.exports=function(e,t){var n,u=o(e),c=0,s=[];for(n in u)!r(a,n)&&r(u,n)&&s.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(s,n)||s.push(n));return s}},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(25),o=n(50).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),u=i(n.length),c=o(e,u),s=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?u:o(l,u))-s,u-c),p=1;for(s<c&&c<s+f&&(p=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){"use strict";var r=n(51),o=n(14),i=n(46),a=function(e,t,n,u,c,s,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<u;){if(h in n){if(p=v?v(n[h],h,t):n[h],s>0&&r(p))d=a(e,t,p,o(p.length),d,s-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(20).forEach,o=n(40);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(135),a=n(105),u=n(14),c=n(52),s=n(69);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=s(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=u(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(137).IteratorPrototype,o=n(39),i=n(43),a=n(37),u=n(68),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),u[s]=c,e}},function(e,t,n){"use strict";var r,o,i,a=n(38),u=n(22),c=n(18),s=n(13),l=n(44),f=s("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)||u(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(25),o=n(31),i=n(14),a=n(40),u=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");e.exports=s||l?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=u(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(31),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(32),o=n(9),i=[].slice,a={},u=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?u(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(39),i=n(57),a=n(46),u=n(48),c=n(72),s=n(106),l=n(56),f=n(12),p=n(53).fastKey,d=n(30),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){u(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[s],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);s(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(58).trim,i=n(84),a=r.parseFloat,u=1/a(i+"-0")!=-1/0;e.exports=u?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(58).trim,i=n(84),a=r.parseInt,u=/^[+-]?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||(u.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(65),a=n(101),u=n(74),c=n(16),s=n(60),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=u.f;o>l;)for(var d,h=s(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(65),i=n(25),a=n(74).f,u=function(e){return function(t){for(var n,u=i(t),c=o(u),s=c.length,l=0,f=[];s>l;)n=c[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!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(76);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,u,c,s,l,f=n(8),p=n(23).f,d=n(33),h=n(111).set,v=n(152),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),O=w&&w.value;O||(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?(u=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=u=!u}):m&&m.resolve?(s=m.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){h.call(f,r)}),e.exports=O||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(155);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(32),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(88).charAt,o=n(30),i=n(106),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(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(76);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(344);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(69),a=n(105),u=n(46),c=n(11).aTypedArrayConstructor;e.exports=function(e){var t,n,s,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=u(v,arguments[2],2)),n=o(d.length),s=new(c(this))(n),t=0;n>t;t++)s[t]=g?v(d[t],t):d[t];return s}},function(e,t,n){"use strict";var r=n(57),o=n(53).getWeakData,i=n(10),a=n(9),u=n(48),c=n(72),s=n(20),l=n(18),f=n(30),p=f.set,d=f.getterFor,h=s.find,v=s.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,s){var f=e((function(e,r){u(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&c(r,e[s],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(78);var r=n(1),o=n(35),i=n(162),a=n(21),u=n(57),c=n(37),s=n(136),l=n(30),f=n(48),p=n(18),d=n(46),h=n(70),v=n(10),g=n(9),y=n(39),m=n(43),b=n(387),w=n(69),O=n(13),E=o("fetch"),_=o("Headers"),x=O("iterator"),k=l.set,P=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),j=/\+/g,T=Array(4),A=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),I);return t}},N=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return C[e]},R=function(e){return encodeURIComponent(e).replace(N,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:M(r.shift()),value:M(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=s((function(e,t){k(this,{type:"URLSearchParamsIterator",iterator:b(P(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})),H=function(){f(this,H,"URLSearchParams");var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==s)if(g(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:u.value+""})}else for(c in s)p(s,c)&&d.push({key:c,value:s[c]+""});else L(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},W=H.prototype;u(W,{append:function(e,t){F(arguments.length,2);var n=P(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=P(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=P(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=P(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=P(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=P(this),o=r.entries,i=!1,a=e+"",u=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=P(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=P(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(W,x,W.entries),a(W,"toString",(function(){for(var e,t=P(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(R(e.key)+"="+R(e.value));return n.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof E||"function"!=typeof _||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 _(t.headers):new _).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)),E.apply(this,o)}}),e.exports={URLSearchParams:H,getState:P}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91);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,O=g.logger,E=g.onError,_=O||r.log,x=(0,a.stdChannel)(n);T.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",j),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),P={name:m,cancel:function(){P.isRunning&&!P.isCancelled&&(P.isCancelled=!0,T(p))},isRunning:!0},S=function(e,t,n){var o=[],i=void 0,a=!1;function u(e){s(),n(e,!0)}function c(e){o.push(e),e.cont=function(c,s){a||((0,r.remove)(o,e),e.cont=r.noop,s?u(c):(e===t&&(i=c),o.length||(a=!0,n(i))))}}function s(){a||(a=!0,o.forEach((function(e){e.cont=r.noop,e.cancel()})),o=[])}return c(t),{addTask:c,cancelAll:s,abort:u,getTasks:function(){return o},taskNames:function(){return o.map((function(e){return e.name}))}}}(0,P,A);function j(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=j),t._isRunning=!0,T(),k;function T(e,n){if(!P.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=t.throw(e):e===p?(P.isCancelled=!0,T.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?(P.isMainRunning=!1,P.cont&&P.cont(o.value)):I(o.value,y,"",T)}catch(e){P.isCancelled&&_("error","uncaught at "+m,e.message),P.isMainRunning=!1,P.cont(e,!0)}}function A(e,n){t._isRunning=!1,x.close(),n?(e instanceof Error&&(e.sagaStack="at "+m+" \n "+(e.sagaStack||e.stack)),k.cont||(_("error","uncaught",e.sagaStack||e.stack),e instanceof Error&&E&&E(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(e===p&&s&&_("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 I(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:t,label:s,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){_("error","uncaught at "+m,e.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var O=void 0;return(r.is.promise(e)?M(e,b):r.is.helper(e)?C({fn:e},g,b):r.is.iterator(e)?N(e,g,m,b):r.is.array(e)?function(e,t,n){if(!e.length)return n([]);var o=0,i=void 0,u=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)):(u[t]=e,++o===u.length&&(i=!0,n(u))))};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 I(e,t,n,c[n])}))}(e,g,b):r.is.notUndef(O=i.asEffect.take(e))?function(e,t){var n=e.channel,r=e.pattern,o=e.maybe;n=n||x;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}(O,b):r.is.notUndef(O=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);_("error","uncaught at "+m,e.stack||e.message||e)}if(!a||!r.is.promise(e))return t(e);M(e,t)}))}(O,b):r.is.notUndef(O=i.asEffect.race(e))?function(e,t,n){var o=void 0,i=Object.keys(e),u={};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,u[e]=t})),n.cancel=function(){o||(o=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(n){o||I(e[n],t,n,u[n])}))}(O,g,b):r.is.notUndef(O=i.asEffect.call(e))?function(e,t,n){var o=e.context,i=e.fn,a=e.args,u=void 0;try{u=i.apply(o,a)}catch(e){return n(e,!0)}return r.is.promise(u)?M(u,n):r.is.iterator(u)?N(u,t,i.name,n):n(u)}(O,g,b):r.is.notUndef(O=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}(O,b):r.is.notUndef(O=i.asEffect.fork(e))?C(O,g,b):r.is.notUndef(O=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}(O,b):r.is.notUndef(O=i.asEffect.cancel(e))?function(e,t){e.isRunning()&&e.cancel();t()}(O,b):r.is.notUndef(O=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)}}(O,b):r.is.notUndef(O=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||u.buffers.fixed(),i))}(O,b):r.is.notUndef(O=i.asEffect.flush(e))?function(e,t){e.flush(t)}(O,b):r.is.notUndef(O=i.asEffect.cancelled(e))?function(e,t){t(!!P.isCancelled)}(0,b):b(e))}function M(e,t){var n=e[r.CANCEL];"function"==typeof n&&(t.cancel=n),e.then(t,(function(e){return t(e,!0)}))}function N(t,r,o,i){e(t,n,d,v,g,r,o,i)}function C(t,i,a){var u=t.context,c=t.fn,s=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)((u=void 0,c={done:!1,value:i},function(e){return u?{done:!0,value:e}:(u=!0,c)}));var u,c}({context:u,fn:c,args:s});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(42),o=n(166),i=n(91),a=n(92),u=n(93);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 s=!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=u;var r=[],o=0;function i(e){try{a(),e()}finally{u()}}function a(){o++}function u(){!--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,u,c){a=a||"";var s,l,f,p=e,d=0,h="",v="",g=!1;for("string"==typeof u?u=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(u):Array.isArray(u)||(u=null),s=0,l=a.length;s<l;s++)switch(f=a[s]){case"<":if(g)break;if(" "==a[s+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,u&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[s-1]&&"-"==a[s-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[s-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[s-1]&&"!"==a[s-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(s-6,7).toLowerCase()){p=t;break}y(f);break;default:y(f)}function y(n){p==e?h+=n:u&&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!==u.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(73))},function(e,t,n){"use strict";var r=n(118),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},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=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 u=c(t),v=c(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||u&&u[y])){var m=p(n,y);try{s(t,y,m)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(2),i=n.n(o),a=n(59),u=n(17),c=n(7),s=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=s()(),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(u.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(u.c)(n):function(e,t){return e}}(t,n),{},(d=u.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(403))},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),u=n(12),c=n(127),s=n(6),l=n(18),f=n(51),p=n(9),d=n(10),h=n(16),v=n(25),g=n(34),y=n(43),m=n(39),b=n(65),w=n(50),O=n(129),E=n(101),_=n(23),x=n(15),k=n(74),P=n(22),S=n(21),j=n(54),T=n(75),A=n(62),I=n(61),M=n(13),N=n(130),C=n(26),D=n(37),R=n(30),L=n(20).forEach,B=T("hidden"),F=M("toPrimitive"),U=R.set,H=R.getterFor("Symbol"),W=Object.prototype,q=o.Symbol,G=i("JSON","stringify"),V=_.f,z=x.f,Y=O.f,X=k.f,$=j("symbols"),K=j("op-symbols"),Q=j("string-to-symbol-registry"),J=j("symbol-to-string-registry"),Z=j("wks"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=u&&s((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(W,t);r&&delete W[t],z(e,t,n),r&&e!==W&&z(W,t,r)}:z,re=function(e,t){var n=$[e]=m(q.prototype);return U(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},oe=c&&"symbol"==typeof q.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ie=function(e,t,n){e===W&&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){u&&!ue.call(n,t)||ie(e,t,n[t])})),e},ue=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===W&&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!==W||!l($,r)||l(K,r)){var o=V(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},se=function(e){var t=Y(v(e)),n=[];return L(t,(function(e){l($,e)||l(A,e)||n.push(e)})),n},le=function(e){var t=e===W,n=Y(t?K:v(e)),r=[];return L(n,(function(e){!l($,e)||t&&!l(W,e)||r.push($[e])})),r};(c||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===W&&n.call(K,e),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return u&&te&&ne(W,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return H(this).tag})),k.f=ue,x.f=ie,_.f=ce,w.f=O.f=se,E.f=le,u&&(z(q.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||S(W,"propertyIsEnumerable",ue,{unsafe:!0})),N.f=function(e){return re(M(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),L(b(Z),(function(e){C(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(l(Q,t))return Q[t];var n=q(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:!u},{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:se,getOwnPropertySymbols:le}),r({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),G)&&r({target:"JSON",stat:!0,forced:!c||s((function(){var e=q();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(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,G.apply(null,o)}});q.prototype[F]||P(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(e,t,n){var r=n(8),o=n(98),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),u=n(9),c=n(15).f,s=n(124),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};s(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=u(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(26)("asyncIterator")},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(51),a=n(9),u=n(16),c=n(14),s=n(52),l=n(66),f=n(67),p=n(13),d=n(103),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=u(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&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(1),o=n(131),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(20).every;r({target:"Array",proto:!0,forced:n(40)("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(104),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(1),o=n(20).filter;r({target:"Array",proto:!0,forced:!n(67)("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(20).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(20).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(132),i=n(16),a=n(14),u=n(31),c=n(66);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:u(e)),r}})},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(32),c=n(66);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return u(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(133);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(1),o=n(134);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(1),o=n(63).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(63).indexOf,i=n(40),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:u||c},{indexOf:function(e){return u?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(51)})},function(e,t,n){"use strict";var r=n(1),o=n(60),i=n(25),a=n(40),u=[].join,c=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:c||s},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(1),o=n(139);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(1),o=n(20).map;r({target:"Array",proto:!0,forced:!n(67)("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(52);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(79).left;r({target:"Array",proto:!0,forced:n(40)("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(79).right;r({target:"Array",proto:!0,forced:n(40)("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(51),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(51),a=n(45),u=n(14),c=n(25),s=n(52),l=n(67),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=u(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&&s(r,l,h[g]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(1),o=n(20).some;r({target:"Array",proto:!0,forced:n(40)("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(32),i=n(16),a=n(6),u=n(40),c=[],s=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(56)("Array")},function(e,t,n){"use strict";var r=n(1),o=n(45),i=n(31),a=n(14),u=n(16),c=n(66),s=n(52),l=n(67),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=u(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&&s(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(80),a=n(56),u=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==u},{ArrayBuffer:u}),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(80),a=n(10),u=n(45),c=n(14),s=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=u(e,n),o=u(void 0===t?n:t,n),i=new(s(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(80);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(222);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(108).start,i=Math.abs,a=Date.prototype,u=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(u.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(22),o=n(225),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(21),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(141)})},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(38),a=n(13)("hasInstance"),u=Function.prototype;a in u||o.f(u,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,u=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(8);n(37)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(81),o=n(142);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(143),i=Math.acosh,a=Math.log,u=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+u(e-1)*u(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(110),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(83),i=Math.cosh,a=Math.abs,u=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*u*u))*(u/2)}})},function(e,t,n){var r=n(1),o=n(83);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(1)({target:"Math",stat:!0},{fround:n(240)})},function(e,t,n){var r=n(110),o=Math.abs,i=Math.pow,a=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),l=r(e);return i<s?l*(i/s/u+1/a-1/a)*s*u:(n=(t=(1+u/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,u=0,c=arguments.length,s=0;u<c;)s<(n=i(arguments[u++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*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(143)})},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(110)})},function(e,t,n){var r=n(1),o=n(6),i=n(83),a=Math.abs,u=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:(u(e-1)-u(-e-1))*(c/2)}})},function(e,t,n){var r=n(1),o=n(83),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(37)(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(64),a=n(21),u=n(18),c=n(33),s=n(82),l=n(34),f=n(6),p=n(39),d=n(50).f,h=n(23).f,v=n(15).f,g=n(58).trim,y=o.Number,m=y.prototype,b="Number"==c(p(m)),w=function(e){var t,n,r,o,i,a,u,c,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=g(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,u=0;u<a;u++)if((c=i.charCodeAt(u))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(b?f((function(){m.valueOf.call(n)})):"Number"!=c(n))?s(new y(w(t)),n,E):w(t)},_=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(","),x=0;_.length>x;x++)u(y,O=_[x])&&!u(E,O)&&v(E,O,h(y,O));E.prototype=m,m.constructor=E,a(o,"Number",E)}},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(254)})},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(144)})},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(144),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(145);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(31),i=n(147),a=n(109),u=n(6),c=1..toFixed,s=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))||!u((function(){c.call({})}))},{toFixed:function(e){var t,n,r,u,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=s(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=s(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+((u=h.length)<=f?"0."+a.call("0",f-u)+h:h.slice(0,u-f)+"."+h.slice(u-f)):d+h}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(147),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(148);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(39)})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:u(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(102)})},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(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(149).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(71),i=n(6),a=n(9),u=n(53).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(u(e)):e}})},function(e,t,n){var r=n(1),o=n(72),i=n(52);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(25),a=n(23).f,u=n(12),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||c,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(1),o=n(12),i=n(99),a=n(25),u=n(23),c=n(52);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&c(l,t,n);return l}})},function(e,t,n){var r=n(1),o=n(6),i=n(129).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(38),u=n(107);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(1)({target:"Object",stat:!0},{is:n(150)})},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(65);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(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.get}while(n=c(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.set}while(n=c(n))}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:u((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(53).onFreeze,a=n(71),u=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:u((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(55)})},function(e,t,n){var r=n(21),o=n(288),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(70),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(149).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(145);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r,o,i,a,u=n(1),c=n(44),s=n(8),l=n(35),f=n(151),p=n(21),d=n(57),h=n(54),v=n(37),g=n(56),y=n(9),m=n(32),b=n(48),w=n(33),O=n(72),E=n(77),_=n(49),x=n(111).set,k=n(153),P=n(154),S=n(293),j=n(155),T=n(294),A=n(30),I=n(64),M=n(13),N=n(103),C=M("species"),D="Promise",R=A.get,L=A.set,B=A.getterFor(D),F=f,U=s.TypeError,H=s.document,W=s.process,q=h("inspectSource"),G=l("fetch"),V=j.f,z=V,Y="process"==w(W),X=!!(H&&H.createEvent&&s.dispatchEvent),$=I(D,(function(){var e=q(F)!==String(F);if(66===N)return!0;if(!e&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[C]=n,!(t.then((function(){}))instanceof n)})),K=$||!E((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 u,c,s,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?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?d(U("Promise-chain cycle")):(c=Q(u))?c.call(u,p,d):p(u)):d(o)}catch(e){h&&!s&&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=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},ee=function(e,t){x.call(s,(function(){var n,r=t.value;if(te(t)&&(n=T((function(){Y?W.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){x.call(s,(function(){Y?W.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=R(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=V(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?W.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=R(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},j.f=V=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 G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return P(F,G.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),u({target:D,stat:!0,forced:$},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),u({target:D,stat:!0,forced:c||$},{resolve:function(e){return P(c&&this===i?F:this,e)}}),u({target:D,stat:!0,forced:K},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=T((function(){var n=m(t.resolve),i=[],a=0,u=1;O(e,(function(e){var c=a++,s=!1;i.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,i[c]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=T((function(){var o=m(t.resolve);O(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(151),a=n(35),u=n(49),c=n(154),s=n(21);r({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=u(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||s(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(6),c=o("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!u((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):s.call(e,t,n)}})},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(9),c=n(39),s=n(141),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(s.apply(e,r))}var o=n.prototype,l=c(u(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return u(h)?h:l}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(34),u=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(u.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 u.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(23).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),u=n(23),c=n(38);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,s,l=arguments.length<3?t:arguments[2];return i(t)===l?t[n]:(r=u.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(s=c(t))?e(s,n,l):void 0}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(23);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(38);r({target:"Reflect",stat:!0,sham:!n(107)},{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(99)})},function(e,t,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(71)},{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),u=n(15),c=n(23),s=n(38),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=s(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,u.f(d,n,f)}else u.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(138),a=n(55);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(64),a=n(82),u=n(15).f,c=n(50).f,s=n(112),l=n(86),f=n(21),p=n(6),d=n(56),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=s(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)},O=function(e){e in w||u(w,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},E=c(v),_=0;E.length>_;)O(E[_++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(e,t,n){"use strict";var r=n(1),o=n(87);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(12),o=n(15),i=n(86);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var r=n(21),o=n(10),i=n(6),a=n(86),u=RegExp.prototype,c=u.toString,s=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(s||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 u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(81),o=n(142);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(88).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(113),a=n(24),u=n(114),c="".endsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("endsWith")},{endsWith:function(e){var t=String(a(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:s(o(n),r),l=String(e);return c?c.call(t,l,u):t.slice(u-l.length,u)===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(113),i=n(24);r({target:"String",proto:!0,forced:!n(114)("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(89),o=n(10),i=n(14),a=n(24),u=n(115),c=n(90);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),s=String(this);if(!a.global)return c(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,s));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(1),o=n(108).end;r({target:"String",proto:!0,forced:n(157)},{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(108).start;r({target:"String",proto:!0,forced:n(157)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(25),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=[],u=0;n>u;)a.push(String(t[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(e,t,n){n(1)({target:"String",proto:!0},{repeat:n(109)})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(16),a=n(14),u=n(31),c=n(24),s=n(115),l=n(90),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=s(h,a(d.lastIndex),y))}for(var w,O="",E=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),k=f(p(u(b.index),h.length),0),P=[],S=1;S<b.length;S++)P.push(void 0===(w=b[S])?w:String(w));var j=b.groups;if(v){var T=[x].concat(P,k,h);void 0!==j&&T.push(j);var A=String(i.apply(void 0,T))}else A=r(x,h,k,P,j,i);k>=E&&(O+=h.slice(E,k)+A,E=k+x.length)}return O+h.slice(E)}];function r(e,n,r,o,a,u){var c=r+e.length,s=o.length,l=v;return void 0!==a&&(a=i(a),l=h),t.call(u,l,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":u=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[l-1]}return void 0===u?"":u}))}}))},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(24),a=n(150),u=n(90);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),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=u(i,c);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){"use strict";var r=n(89),o=n(112),i=n(10),a=n(24),u=n(49),c=n(115),s=n(14),l=n(90),f=n(87),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 u,c,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(u=f.call(v,r))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,u.index)),u.length>1&&u.index<r.length&&d.apply(l,u.slice(1)),s=u[0].length,h=c,l.length>=i));)v.lastIndex===u.index&&v.lastIndex++;return h===r.length?!s&&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=u(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,O=0,E=[];O<p.length;){m.lastIndex=v?O:0;var _,x=l(m,v?p:p.slice(O));if(null===x||(_=h(s(m.lastIndex+(v?0:O)),p.length))===w)O=c(p,O,g);else{if(E.push(p.slice(w,O)),E.length===b)return E;for(var k=1;k<=x.length-1;k++)if(E.push(x[k]),E.length===b)return E;O=w=_}}return E.push(p.slice(w)),E}]}),!v)},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".startsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(s(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(58).trim;r({target:"String",proto:!0,forced:n(116)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(58).end,i=n(116)("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(58).start,i=n(116)("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(27);r({target:"String",proto:!0,forced:n(28)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){n(41)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(31);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(41)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(41)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("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(131),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(20).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(104),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(20).filter,i=n(49),a=r.aTypedArray,u=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,s=new(u(n))(c);c>r;)s[r]=t[r++];return s}))},function(e,t,n){"use strict";var r=n(11),o=n(20).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(20).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(20).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(117),o=n(11),i=n(159);o.exportStatic("from",i,r)},function(e,t,n){"use strict";var r=n(11),o=n(63).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(63).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(78),a=n(13)("iterator"),u=r.Uint8Array,c=i.values,s=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=u&&u.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 s.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(139),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(20).map,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(u(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(11),o=n(117),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(79).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(79).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(158),a=n(16),u=n(6),c=r.aTypedArray,s=u((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),u=o(r.length),s=0;if(u+t>n)throw RangeError("Wrong length");for(;s<u;)this[t+s]=r[s++]}),s)},function(e,t,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,u=r.aTypedArrayConstructor,c=[].slice,s=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,s=n.length,l=new(u(r))(s);s>i;)l[i]=n[i++];return l}),s)},function(e,t,n){"use strict";var r=n(11),o=n(20).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),u=r.aTypedArray;r.exportProto("subarray",(function(e,t){var n=u(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,u=o.aTypedArray,c=[].toLocaleString,s=[].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?s.call(u(this)):u(this),arguments)}),f)},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,u=a&&a.prototype,c=[].toString,s=[].join;i((function(){c.call({})}))&&(c=function(){return s.call(this)}),o.exportProto("toString",c,(u||{}).toString!=c)},function(e,t,n){"use strict";var r,o=n(8),i=n(57),a=n(53),u=n(81),c=n(160),s=n(9),l=n(30).enforce,f=n(123),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=u("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(s(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(s(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(s(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(s(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(81)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(160),!1,!0)},function(e,t,n){var r=n(8),o=n(161),i=n(133),a=n(22);for(var u in o){var c=r[u],s=c&&c.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){var r=n(8),o=n(161),i=n(78),a=n(22),u=n(13),c=u("iterator"),s=u("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[s]||a(d,s,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(111),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(153),a=n(33),u=o.process,c="process"==a(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&u.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(8),i=n(76),a=[].slice,u=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:u(o.setTimeout),setInterval:u(o.setInterval)})},function(e,t,n){"use strict";n(156);var r,o=n(1),i=n(12),a=n(162),u=n(8),c=n(102),s=n(21),l=n(48),f=n(18),p=n(148),d=n(134),h=n(88).codeAt,v=n(386),g=n(37),y=n(163),m=n(30),b=u.URL,w=y.URLSearchParams,O=y.getState,E=m.set,_=m.getterFor("URL"),x=Math.floor,k=Math.pow,P=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,j=/\d/,T=/^(0x|0X)/,A=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,C=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\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),N.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(C.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=V(r[o],H);e.host=n}},B=function(e){var t,n,r,o,i,a,u,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=T.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?A:M).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(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*k(256,3-r);return u},F=function(e){var t,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!j.test(p()))return;for(;j.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[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)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=x(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},H={},W=p({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},W,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=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&&P.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={},ue={},ce={},se={},le={},fe={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},we={},Oe=function(e,t,n,o){var i,a,u,c,s,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(R,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!P.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=ue:"/"==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=se;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=se}else l=ce;break;case ue:if(l=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){v&&(h="%40"+h),v=!0,u=d(h);for(var m=0;m<u.length;m++){var b=u[m];if(":"!=b||y){var w=V(b,G);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(!j.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var O=parseInt(h,10);if(O>65535)return"Invalid port";e.port=Y(e)&&O===z[e.scheme]?null:O,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(".."===(s=(s=h).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(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+=V(a,q);break;case me:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=V(a,H));break;case be:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,H)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=V(a,W))}p++}},Ee=function(e){var t,n,r=l(this,Ee,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=E(r,{type:"URL"});if(void 0!==o)if(o instanceof Ee)t=_(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(u,a,null,t))throw TypeError(n);var c=u.searchParams=new w,s=O(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},i||(r.href=xe.call(r),r.origin=ke.call(r),r.protocol=Pe.call(r),r.username=Se.call(r),r.password=je.call(r),r.host=Te.call(r),r.hostname=Ae.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=Ce.call(r),r.hash=De.call(r))},_e=Ee.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",X(e)&&(s+=n+(r?":"+r:"")+"@"),s+=U(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},ke=function(){var e=_(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"},Pe=function(){return _(this).scheme+":"},Se=function(){return _(this).username},je=function(){return _(this).password},Te=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ae=function(){var e=_(this).host;return null===e?"":U(e)},Ie=function(){var e=_(this).port;return null===e?"":String(e)},Me=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=_(this).query;return e?"?"+e:""},Ce=function(){return _(this).searchParams},De=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Re(xe,(function(e){var t=_(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Re(ke),protocol:Re(Pe,(function(e){var t=_(this);Oe(t,String(e)+":",ee)})),username:Re(Se,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],G)}})),password:Re(je,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],G)}})),host:Re(Te,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Re(Ae,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Re(Ie,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Re(Me,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ge))})),search:Re(Ne,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Ce),hash:Re(De,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(_e,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),s(_e,"toString",(function(){return xe.call(this)}),{enumerable:!0}),b){var Le=b.createObjectURL,Be=b.revokeObjectURL;Le&&s(Ee,"createObjectURL",(function(e){return Le.apply(b,arguments)})),Be&&s(Ee,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}g(Ee,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ee})},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,u=String.fromCharCode,c=function(e){return e+22+75*(e<26)},s=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(u(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,O=36-b;r.push(u(c(b+w%O))),y=a(w/O)}r.push(u(c(y))),p=s(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(69);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",u=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 T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===h)continue;return u}}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=s(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 s(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(j([])));w&&w!==n&&r.call(w,i)&&(m=w);var O=y.prototype=v.prototype=Object.create(m);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function _(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var u=s(e[n],e,o);if("throw"!==u.type){var c=u.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(u.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function x(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,x(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=s(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 P(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 j(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:T}}function T(){return{value:t,done:!0}}return g.prototype=O.constructor=y,y.constructor=g,y[u]=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,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(_.prototype),_.prototype[a]=function(){return this},e.AsyncIterator=_,e.async=function(t,n,r,o){var i=new _(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(O),O[u]="Generator",O[i]=function(){return this},O.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=j,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(P),!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 u.type="throw",u.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],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){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(!s)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),P(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;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(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,u=t.sagaMonitor,c=t.logger;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var s=(0,o.uid)();u&&(r=(0,o.wrapSagaDispatch)(r),u.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}}));var l=(0,a.default)(e,n,r,i,{sagaMonitor:u,logger:c},s,e.name);u&&u.effectResolved(s,l);return l};var r,o=n(42),i=n(165),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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(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 u={done:!1,value:(0,a.take)(e)},c=void 0,p=function(e){return c=e};return l({q1:function(){return["q2",u,p]},q2:function(){return c===o.END?[s]:["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 u={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",u,g]},q2:function(){return h===o.END?[s]: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,u.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?[s]:["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(92),i=n(42),a=n(91),u=n(93),c={done:!0,value:void 0},s={};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=t;function u(t,n){if(a===s)return c;if(n)throw a=s,n;o&&o(t);var i=e[a](),u=r(i,3),l=u[0],f=u[1],p=u[2];return o=p,(a=l)===s?c:f}return(0,i.makeIterator)(u,(function(e){return u(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,s=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)(s);return function(e){return function(t){n&&n.actionDispatched(t);var r=e(t);return t[o.SAGA_ACTION]?l.emit(t):(0,u.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 u=(0,o.uid)();n&&n.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:i}});var c=t(e,i,u);return n&&n.effectResolved(u,c),c},r};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r},u=n(166),c=n(92)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42);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(91);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(397);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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,4 +16,4 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(e){var t=
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(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,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=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 O(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 u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case s:return e;default:return t}}case i:return t}}}function E(e){return O(e)===p}t.typeOf=O,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===u||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||O(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===y},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(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(29))),u=l(n(19)),c=l(n(400)),s=l(n(401));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=u.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,s.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 u=20,c=["top","right","bottom","left","width","height","size","weight"],s="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 u(){n&&(n=!1,e()),r&&s()}function c(){i(u)}function s(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),u)}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),s?(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,u=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=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 s=Math.round(u+i)-t,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,u,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}(),O=function(e,t){var n,r,o,i,a,u,c,s=(r=(n=t).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.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:s})},E=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 O(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}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,x=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 E(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var P=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=P}.call(this,n(73))},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,u=void 0;if((n.width&&n.height||t.noCloneOnZeroDimension)&&!t.clone)t.margin&&(u=(0,i.default)(getComputedStyle(e)));else{var c=(0,o.default)(e,t);n=c.rect,u=c.margin}t.margin?(r=u.left+n.width+u.right,a=u.top+n.height+u.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(402)),i=r(n(167));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,u=document.createElement("div"),c=e.cloneNode(!0),s=getComputedStyle(e);u.style.height=0,u.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(t.display||s&&"none"===s.getPropertyValue("display"))&&(c.style.display=t.display||"block");(t.width||s&&!parseInt(s.getPropertyValue("width")))&&(c.style.width=t.width||"auto");(t.height||s&&!parseInt(s.getPropertyValue("height")))&&(c.style.height=t.height||"auto");return u.appendChild(c),a.appendChild(u),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.offsetHeight,a.removeChild(u),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(s)}};var r,o=n(167),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},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 u(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,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.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];s.push(new h(e,t)),1!==s.length||l||u(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 O})),n.d(r,"updatePageLink",(function(){return E})),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 W})),n.d(o,"PageBackgroundImage",(function(){return Tn})),n.d(o,"PageShadow",(function(){return An})),n.d(o,"PageForeground",(function(){return In})),n.d(o,"PageContent",(function(){return Ln})),n.d(o,"PageScroller",(function(){return Rn})),n.d(o,"PageHeader",(function(){return Bn})),n.d(o,"PageText",(function(){return Fn})),n.d(o,"PageLink",(function(){return Vn})),n.d(o,"PageThumbnail",(function(){return Kn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Qn})),n.d(o,"PlayerControls",(function(){return Br})),n.d(o,"CloseButton",(function(){return Wr})),n.d(o,"MenuBar",(function(){return Nr})),n.d(o,"Icon",(function(){return ar})),n.d(o,"editorOnly",(function(){return qr})),n.d(o,"withVisibilityWatching",(function(){return Rr})),n.d(o,"Draggable",(function(){return br.a})),n.d(o,"Measure",(function(){return Or.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return en})),n.d(i,"pageAttributes",(function(){return tn})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Xr})),n.d(i,"currentParentChapterAttributes",(function(){return Yr})),n.d(i,"t",(function(){return Ur})),n.d(i,"setting",(function(){return $r})),n.d(i,"file",(function(){return Yt})),n.d(i,"prop",(function(){return Wn})),n.d(i,"widgetAttributes",(function(){return Jr})),n.d(i,"editingWidget",(function(){return Zr}));n(173),n(175),n(176),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(78),n(202),n(203),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(223),n(224),n(226),n(227),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(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),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(289),n(290),n(291),n(292),n(295),n(296),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(156),n(318),n(319),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(345),n(346),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(388),n(163);var a=n(4),u=(n(389),"PAGE_DID_ACTIVATE"),c="PAGE_WILL_ACTIVATE",s="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 _(h,e)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,r=e.value;return _(m,t,{name:n,value:r})}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageId,n=e.linkId,r=e.name,o=e.value;return _(b,t,{linkId:n,name:r,value:o})}function _(e,t){return{type:e,meta:{collectionName:"pages",itemId:t},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var x="SETTINGS_LOAD",P="SETTINGS_UPDATE";function k(e){var t=e.settings;return{type:x,payload:{settings:t}}}function S(e){var t=e.property,n=e.value;return{type:P,payload:{property:t,value:n}}}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(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 A(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function I(e){return(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})(e)}function M(e){return(M="function"==typeof Symbol&&"symbol"===I(Symbol.iterator)?function(e){return I(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":I(e)})(e)}function N(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(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&&D(e,t)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),H=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),t}(L.Component);function W(e){return React.createElement("div",{className:(t=e,n=t.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},e.children);var t,n}var q=n(168),G=n.n(q);function V(e){return!!G()(e).match(/^\s*$/)}function z(e){return e.replace(/_[a-z]/g,(function(e){return e[1].toUpperCase()}))}z.keys=function(e){return Object.keys(e).reduce((function(t,n){return t[z(n)]=e[n],t}),{})},z.deep=function(e){return Array.isArray(e)?e.map(z.deep):"object"==typeof e&&e?Object.keys(e).reduce((function(t,n){return t[z(n)]=z.deep(e[n]),t}),{}):e},z.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 Y=z,X=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}),{})}},$=n(59),K=n(119),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ne((function(e,n){var r=t.slice(0,-1).map(te),o=t.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(e===J)return i;if(e)return i(e,n);throw"Missing state argument for selector."}))}function ee(e,t){return ne((function(){return Object(K.createStructuredSelector)(function(e){return Object.keys(e).reduce((function(t,n){return t[n]=te(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 te(e){return"function"==typeof e&&e[Q]?e(J):e}function ne(e){return e[Q]=!0,e}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return t&&t.has(e)}function oe(e){return new Promise((function(t){var n=new Image;n.onload=t,n.onerror=t,n.src=e}))}var ie=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.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/))oe(t.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(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 B.a.createElement(e,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),t}(B.a.Component);ie.defaultProps={position:[50,50],fileCollection:"imageFiles"};var ae=n(17),ue=Object(ae.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 u: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 ce="COLLECTION_RESET",se="COLLECTION_ADD",le="COLLECTION_CHANGE",fe="COLLECTION_REMOVE",pe="COLLECTION_ORDER";function de(e){var t=e.collectionName,n=e.items;return{type:ce,meta:{collectionName:t},payload:{collectionName:t,items:n}}}function he(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:se,meta:{collectionName:t},payload:{attributes:n,order:r}}}function ve(e){var t=e.collectionName,n=e.attributes;return{type:le,meta:{collectionName:t},payload:{attributes:n}}}function ge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case se:case le:return t.payload.attributes;default:return e}}function ye(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=function(e){var t={};function n(n){return t[n]=t[n]||Object(ae.c)({attributes:ge,state:Object(ae.c)({custom:e[n]||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},common:ue})}),t[n]}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,o=ge(e.attributes,t);return n(o.type)(r(e,e.attributes,o),t)};function r(e,t,n){return t&&t.type!==n.type?me({},e,{state:me({},e.state,{custom:void 0})}):e}},we=n(2),Oe=n.n(we),Ee=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 _e(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 xe(e,t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,Object(a.a)({},Pe(t),n))}function Pe(e){return"__".concat(e,"_connectedId")}var ke=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[Pe(e)])?a[e].items[i]:null}}};function Se(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?Se(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=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?ge:o,u={order:[],items:{}};return function(){var t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=e)return o;switch(c.type){case ce: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,he({collectioName:c.payload.collectioName,attributes:t})),e}),{})};case se:return{order:c.payload.order,items:je({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case le:return n=c.payload.attributes[r],{order:o.order,items:je({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case fe:return n=c.payload.attributes[r],delete(t=je({},o.items))[n],{order:c.payload.order,items:t};case pe:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var s=o.items[c.meta.itemId],l=i(s,c);if(l!==s)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 Ne(e){return e.meta&&e.meta.itemId}var Ce=n(3),De=n(7);function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Le=n(29),Be=n.n(Le),Fe=Be.a.shape({trySubscribe:Be.a.func.isRequired,tryUnsubscribe:Be.a.func.isRequired,notifyNestedSubs:Be.a.func.isRequired,isSubscribed:Be.a.func.isRequired}),Ue=Be.a.shape({subscribe:Be.a.func.isRequired,dispatch:Be.a.func.isRequired,getState:Be.a.func.isRequired});B.a.forwardRef;var He=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){Re(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 L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ue.isRequired,children:Be.a.element.isRequired},r.childContextTypes=((t={})[e]=Ue.isRequired,t[n]=Fe,t),r}();function We(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 Ve=n(171),ze=n.n(Ve),Ye=n(95),Xe=n.n(Ye),$e=n(118),Ke=null,Qe={notify:function(){}};var Je=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qe}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=Ke,e=Ke},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!==Ke&&(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=Qe)},e}(),Ze=void 0!==B.a.forwardRef,et=0,tt={};function nt(){}function rt(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,u=o.methodName,c=void 0===u?"connectAdvanced":u,s=o.renderCountProp,l=void 0===s?void 0:s,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=et++,w=((n={})[h]=Ue,n[m]=Fe,n),O=((r={})[m]=Fe,r);return function(t){Xe()(Object($e.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(We(We(o))),Xe()(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}Re(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=nt,this.store=null,this.selector.run=nt,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xe()(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 Je(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(tt)):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(L.createElement)(t,this.addExtraProps(e.props))},i}(L.Component);return Ze&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=t,i.displayName=r,i.childContextTypes=O,i.contextTypes=w,i.propTypes=w,ze()(i,t)}}var ot=Object.prototype.hasOwnProperty;function it(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function at(e,t){if(it(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(!ot.call(t,n[o])||!it(e[n[o]],t[n[o]]))return!1;return!0}function ut(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ct(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function st(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=ct(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ct(o),o=r(t,n)),o},r}}var lt=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?ut((function(t){return Object(ae.b)(e,t)})):void 0}];var ft=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(){return{}}))}];function pt(e,t,n){return qe({},n,e,t)}var dt=[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,u){var c=e(t,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return pt}}];function ht(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function vt(e,t,n,r,o){var i,a,u,c,s,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?(u=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):g?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):y?(h=e(i,a),v=!p(h,u),u=h,v&&(s=n(u,c,a)),s):s}return function(o,l){return d?h(o,l):(u=e(i=o,a=l),c=t(r,a),s=n(u,c,a),d=!0,s)}}function gt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ge(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),c=o(e,i);return(i.pure?vt:ht)(a,u,c,e,i)}function yt(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 mt(e,t){return e===t}var bt,wt,Ot,Et,_t,xt,Pt,kt,St,jt,Tt,At,It=(Ot=(wt=void 0===bt?{}:bt).connectHOC,Et=void 0===Ot?rt:Ot,_t=wt.mapStateToPropsFactories,xt=void 0===_t?ft:_t,Pt=wt.mapDispatchToPropsFactories,kt=void 0===Pt?lt:Pt,St=wt.mergePropsFactories,jt=void 0===St?dt:St,Tt=wt.selectorFactory,At=void 0===Tt?gt:Tt,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,c=void 0===u?mt:u,s=o.areOwnPropsEqual,l=void 0===s?at:s,f=o.areStatePropsEqual,p=void 0===f?at:f,d=o.areMergedPropsEqual,h=void 0===d?at:d,v=Ge(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=yt(e,xt,"mapStateToProps"),y=yt(t,kt,"mapDispatchToProps"),m=yt(n,jt,"mergeProps");return Et(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 Nt=function(e){var t=function(t){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,t),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},Pe(e),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return t.childContextTypes=Object(a.a)({},Pe(e),B.a.PropTypes.number),t};function Ct(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 Dt=function(e,t,n){var r=Y.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?Ct(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{},Y.deep(n)):r},Rt=function(e){var t=e.collection,n=e.dispatch,r=e.collectionName,o=e.idAttribute,i=void 0===o?"id":o,a=e.attributes,u=void 0===a?["id"]:a,c=e.includeConfiguration,s=void 0!==c&&c;n(de({collectionName:r,items:t.map(f)})),t.on("add",(function(e){e.isNew()||n(he({collectionName:r,attributes:f(e)}))})),t.on("change:id",(function(e){n(he({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(ve({collectionName:r,attributes:f(e)}))})),s&&t.on("change:configuration",(function(e){n(ve({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:fe,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:pe,meta:{collectionName:t},payload:{order:n}}}({collectionName:r,order:t.pluck(i)}))}));var l=u.map((function(e){return"object"==typeof e?function(e){return e[Object.keys(e)[0]]}(e):e}));function f(e){return Dt(u,e.attributes,s&&e.configuration.attributes)}},Lt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.attributes,i=void 0===o?["id"]:o,a=e.includeConfiguration,u=void 0!==a&&a;r(de({collectionName:n,items:t.map((function(e){return Dt(i,e,u&&e.configuration)}))}))},Bt=n(19),Ft=n.n(Bt),Ut=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.idAttribute,i=e.attributes,a=e.includeConfiguration;(Ft.a.Collection&&t instanceof Ft.a.Collection?Rt:Lt)({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[Y(e.attribute)];return e.negated?n!=e.value:n==e.value}(e.condition,n))return!1;var t=Wt(n,e);return r(Y(e.collectionName),t)}))}function Wt(e,t){return"id"in t?t.id:e[Y(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,u=9,(Array(u).fill(0).join("")+a).slice(-u))))).replace(":basename",t.basename);var i,a,u}(e,t,o,n);return i&&(r[o]=i),r}),{})},t)};function Vt(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 zt=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?Vt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{collectionName:e,modelType:n[e]})};function Yt(e,t){return Z(ke(e,{namespace:"files"})(t),(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r){return $t(e,t,n,r)}))}function Xt(){return Z((function(e){return e.files}),(function(e){return function(t,n){return n&&!!ke(t)({id:n})(e)}}))}function $t(e,t,n,r){return zt(e,Gt(e,t,n),r)}function Kt(e){var t=e.page;return function(e,n){var r="function"==typeof t?t(n):t;return r?e.pageTypes[Y(r.type)]:null}}var Qt=ke("pages"),Jt=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 Zt(e){return Z(Jt,(function(t){return t&&t.attributes[e]}))}function en(e,t){return Z(Qt(t),(function(t){return t&&t.attributes[e]}))}function tn(e){return Z(Qt(e),(function(e){return e&&e.attributes}))}function nn(e,t){return Z(Qt(t),(function(t){return t&&t.state.custom[e]}))}function rn(e){return un("isActive",e)}function on(e){return un("isPreloaded",e)}function an(e){return un("isPrepared",e)}function un(e,t){return Z(Qt(t),(function(t){return t&&t.state.common[e]}))}var cn=Oe.a.mark(ln),sn=Oe.a.mark(fn);function ln(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeLatest)([d,p,c],fn);case 2:case"end":return e.stop()}}),cn)}function fn(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(Ce.call)(De.delay,5e3);case 3:return t.next=5,Object(Ce.put)(w());case 5:case"end":return t.stop()}}),sn)}var pn=Oe.a.mark(dn);function dn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Ft.a.Collection){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(De.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(Ce.call)(vn,{pagesCollection:e,id:Ne(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(De.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(Ce.call)(hn,{pagesCollection:e,pageId:Ne(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()}}),pn)}function hn(e){var t=e.pagesCollection,n=e.pageId,r=e.linkId,o=e.name,i=e.value,a=gn(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 vn(e){var t=e.pagesCollection,n=e.id,r=e.name,o=e.value;gn(t,n).configuration.set(r,o)}function gn(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 yn=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(ln(),"t0",1);case 1:return e.delegateYield(dn(t),"t1",2);case 2:return e.next=4,Object(De.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(Ce.select)(en("type"));case 2:if(t=e.sent,!(o=n[t])){e.next=8;break}return e.next=7,Object(Ce.fork)(o);case 7:r=e.sent;case 8:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(De.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(Ce.cancel)(r);case 3:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),e)})))},mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),t}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=Nt("pages"),wn=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){Ft.a.render(B.a.createElement(He,{store:n},B.a.createElement(bn,{itemId:On(e)},B.a.createElement(mn,{mediaContext:{page:e.page("instance")}},B.a.createElement(t,null)))),o(e)),n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(g,e)}({id:On(e)}))},preload:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(f,e)}({id:On(e)}))},prepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(p,e)}({id:On(e)}))},unprepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(d,e)}({id:On(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 _(c,t,{position:n})}({id:On(e),position:r.position}))},activated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(u,e)}({id:On(e)}))},deactivating:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(l,e)}({id:On(e)}))},deactivated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(s,e)}({id:On(e)}))},resize:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(v,e)}({id:On(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 _(y,e)}({id:On(e)})),Ft.a.unmountComponentAtNode(e[0])}}};function On(e){return parseInt(e.attr("id"),10)}function En(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 _n(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?En(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}var xn,Pn,kn={init:function(e){var t=e.pages,n=e.dispatch;Ut({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:Te("pages",{idAttribute:"permaId",itemReducer:be(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),u=t.itemSaga,c=t.middleware,s=Ee(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(De.takeEvery)([ce,se,fe],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(Ce.select)(s);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(Ce.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(Ce.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(De.runSaga)(u(),{subscribe:function(n){return c.subscribe((function(r){Me(r,e)&&Ne(r)!=t||n(r)}))},dispatch:function(n){Ie(n,e,t),c.dispatch(n)},getState:function(){return xe(c.getState(),e,t)}}),r.prev=1,r.next=4,Object(Ce.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:t,pageTypeSagas:i}),middleware:o})}},Sn=(Pn=Pe(xn="pages"),function(e,t,n){var r=It(e?function(t,n){var r=e(xe(t,xn,n[Pn]),n);return"function"==typeof r?function(e,t){return r(xe(e,xn,t[Pn]),t)}:r}:null,t?function(e,n){var r=function(t){return Ie(t,xn,n[Pn]),e(t)};return"function"==typeof t?t(r,n):Object(ae.b)(t,r)}:null,n);return function(e){var t=r(e),n=function(e){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,e),A(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)({},Pn,this.context[Pn]));return B.a.createElement(t,e)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Pn,B.a.PropTypes.number),n}});var jn=Sn(ee({loaded:on()}))(ie),Tn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page,t=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(jn,{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}(B.a.Component);Tn.defaultProps={propertyBaseName:"backgroundImage"};var An=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),t}(B.a.Component),In=function(e){return B.a.createElement("div",{className:"content",onTouchStart:e.onInteraction,onMouseMove:e.onInteraction},e.children)},Mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(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:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var 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}(L.Component),Nn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(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 B.a.createElement(Mn,{ref:"scroller",className:(e=this.props,U()(e.className,{"scroller-clipped_bottom":!!e.marginBottom})),style:Cn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var e}}]),t}(B.a.Component);function Cn(e){if(e.marginBottom)return{bottom:e.marginBottom}}Nn.childContextTypes={pageScroller:B.a.PropTypes.object};var Dn,Rn=Sn(ee({enabled:un("isActivated",Dn),initialScrollerPosition:function(e){return un("initialScrollerPosition",e)}()}))(Nn),Ln=function(e){return React.createElement(In,null,React.createElement(Rn,null,e.children))},Bn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),t}(B.a.Component);function Fn(e){return B.a.createElement("div",{className:Un(e)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:Hn(e)}),e.children)}function Un(e){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(e.marginBottom),e.marginBottom!=Fn.defaultProps.marginBottom))}function Hn(e){return{__html:e.page.text}}function Wn(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 qn(e){return function(t,n,r){return re(e,r)}}Fn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var Gn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(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}(B.a.Component),Vn=It(ee({targetPage:tn({id:Wn("pageLink.targetPageId")})}))(Gn);function zn(e){return React.createElement("div",{className:Yn(e)})}function Yn(e){return U()({load_image:e.lazy&&e.loaded},e.className,(t=e.pageType)?"is_".concat(t.name):"is_dangling",function(e){var t=Ht({candidates:Xn(e),page:e.page,fileExists:e.fileExists});if(t)return function(e,t){return[e.lazy?"lazy":null,t.cssClassPrefix,e.imageStyle,Wt(e.page,t)].filter(Boolean).join("_")}(e,t)}(e));var t}function Xn(e){return[$n(e)].concat(Object($.a)((t=e.pageType)?t.thumbnailCandidates:[]));var t}function $n(e){return{id:e.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}zn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Kn=Sn(ee({pageType:Kt({page:function(e){return e.page}}),fileExists:Xt()}))(zn),Qn=Sn(ee({loaded:on(),lazy:!0}))(Kn);function Jn(e){return U()("add_info_box",{empty:Zn(e),title_empty:V(e.title),description_empty:V(e.description),"add_info_box-hidden_during_playback":e.hiddenDuringPlayback})}function Zn(e){return V(e.title)&&V(e.description)}var er=function(e){return React.createElement("div",{className:Jn(e)},function(e){if(!V(e.title))return React.createElement("h3",null,e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})}(e))};function tr(e){return React.createElement("div",{className:U()("controls",e.className),"data-role":"player_controls",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}function nr(e){return B.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)}nr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var rr=nr,or={Checkmark:function(e){return React.createElement(rr,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(rr,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(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(e){return React.createElement(rr,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"}))},Info:function(e){return React.createElement(rr,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"}))},Pause:function(e){return React.createElement(rr,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(rr,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(rr,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"}))}},ir={toggleInfoBox:or.Info,mediaQuality:or.Gear,textTracks:or.Subtitles,activeMenuItem:or.Checkmark,loadingSpinner:or.CircleWithNotch,play:or.Play,pause:or.Pause};function ar(e){var t=ir[e.name];if(!t)throw new Error('No icon registered for "'.concat(e.name,'".'));return B.a.createElement(t,e)}var ur=function(e){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ar,{name:"loadingSpinner"}))},cr=function(e){return Sn(ee({id:Z(rn(),(function(e){return e?"firstContent":void 0}))}))(e)};var sr=cr((function(e){return React.createElement("a",{className:lr(e),href:"#",tabIndex:"4",id:e.id,title:e.title,onClick:fr(e)},function(e){return e.iconName?React.createElement(ar,{name:e.iconName}):React.createElement("span",null)}(e))}));function lr(e){return U()("vjs-play-control",{"vjs-playing":e.isPlaying},{"player_controls-play_button-custom_icon":!!e.iconName})}function fr(e){return function(t){e.onClick&&e.onClick(t),t.preventDefault()}}function pr(e){return React.createElement("div",{className:U()(e.className)},function(e){if(isNaN(e))return dr;var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/60/60);return r>0?"".concat(r,":").concat(hr(n),":").concat(hr(t)):"".concat(n,":").concat(hr(t))}(e.value))}var dr="-:--";function hr(e){return e<10?"0"+e:e}pr.defaultProps={value:0};var vr=function(e){return React.createElement(pr,{className:"vjs-current-time",value:e.currentTime})},gr=function(e){return React.createElement("div",{className:"vjs-time-divider"},"/")},yr=function(e){return React.createElement(pr,{className:"vjs-duration",value:e.duration})},mr=n(94),br=n.n(mr),wr=n(36),Or=n.n(wr),Er=37,_r=39,xr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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==Er?t=Math.max(0,r.props.currentTime-1):e.keyCode==_r&&(t=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(t)},r}return R(t,e),A(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 B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(mr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Pr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Pr(this.playProgress())}}),B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Pr(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}(B.a.Component);function Pr(e){return e>0?100*e+"%":0}xr.defaultProps={currentTime:0,bufferedEnd:0};var kr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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 R(t,React.Component),A(t,[{key:"render",value:function(){var e=this,t=this.props;return React.createElement("div",{className:Sr(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:Ar(t,"link"),href:"#",tabIndex:"4",title:t.title,onClick:this.onLinkClick},React.createElement(ar,{className:Ar(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:jr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Tr(e,n.value,t)},function(e){if(e.active)return React.createElement(ar,{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:Ar(e,"sub_menu_item_annotation")},t.annotation)}(e,n)))}))}(e,t))}(t,this.closeMenu))}}]),t}();function Sr(e,t){return U()({"player_controls-menu_bar_button-sub_menu_visible":t},Ar(e))}function jr(e){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":e.active})}function Tr(e,t,n){return function(r){r.preventDefault(),n(),e.onSubMenuItemClick&&e.onSubMenuItemClick(t)}}function Ar(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 U()(["player_controls-menu_bar_button"].concat(n).join("_"),[e.className].concat(n).join("_"))}function Ir(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-quality_menu_button",title:e.buttonTitle,iconName:"mediaQuality",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Mr(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-text_tracks_menu_button",title:e.buttonTitle,iconName:"textTracks",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Nr(e){return React.createElement("div",{className:Cr(e)},function(e){return e.additionalButtons.map((function(t){return React.createElement(kr,{title:t.label,iconName:t.iconName,className:t.className,key:t.name,onClick:Dr(e.onAdditionalButtonClick,t.name),onMouseEnter:Dr(e.onAdditionalButtonMouseEnter,t.name),onMouseLeave:Dr(e.onAdditionalButtonMouseLeave,t.name)})}))}(e),React.createElement(Mr,{buttonTitle:e.textTracksMenuButtonTitle,items:e.textTracksMenuItems,onItemClick:e.onTextTracksMenuItemClick}),React.createElement(Ir,{buttonTitle:e.qualityMenuButtonTitle,items:e.qualityMenuItems,onItemClick:e.onQualityMenuItemClick}))}function Cr(e){return U()(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 Dr(e,t){if(e)return function(){return e(t)}}function Rr(e){return function(t){function n(e){var t;return j(this,n),(t=N(this,C(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 R(n,t),A(n,[{key:"componentDidMount",value:function(){this.element=Ft.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(e,this.props)}}]),n}(B.a.Component)}function Lr(e){return U()("vjs-control-bar",{with_quality_menu_present:e.qualityMenuItems&&e.qualityMenuItems.length>=2,with_text_tracks_menu_present:e.textTracksMenuItems&&e.textTracksMenuItems.length>=2})}kr.defaultProps={subMenuItems:[]},Ir.defaultProps={items:[]},Mr.defaultProps={items:[]},Nr.defaultProps={additionalButtons:[],standAlone:!0};var Br=Rr((function(e){return B.a.createElement(tr,e,B.a.createElement("span",{className:"hint"},e.hint),B.a.createElement(er,Object.assign({},e.infoBox,{hiddenDuringPlayback:e.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Lr(e)},function(e){if(e.isLoading)return B.a.createElement(ur,e)}(e),B.a.createElement("div",{className:"play_button"},B.a.createElement(sr,{title:e.playButtonTitle,iconName:e.playButtonIconName,isPlaying:e.isPlaying,onClick:e.onPlayButtonClick})),function(e){if(e.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(vr,e),B.a.createElement(gr,null),B.a.createElement(yr,e),B.a.createElement(xr,e))}(e),B.a.createElement("div",{className:"control_bar_text"},e.controlBarText)),B.a.createElement(Nr,{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 Fr(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 Ur=Z(Hr,(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?Fr(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({locale:e},n))}}));function Hr(e){return e.i18n.locale}var Wr=It(ee({t:Ur}))((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")))})),qr=function(e){return PAGEFLOW_EDITOR?e:function(){return!1}},Gr=ke("chapters");var Vr=Gr,zr=ke("storylines");function Yr(){return function(e,t){var n=Xr()(e,t);return n?Vr({id:n.chapterId})(e,t):null}}function Xr(){return function(e,t){return tn({id:function(e,t){return Z(zr(t),(function(t){return t&&t[e]}))}("parentPagePermaId",{id:function(e,t){return Z(Gr(t),(function(t){return t&&t[e]}))}("storylineId",{id:en("chapterId",{id:e.currentPageId})(e,t)})(e,t)})(e,t)})(e,t)}}function $r(e){var t=e.property;return function(e){return e.settings[t]}}var Kr=ke("widgets");function Qr(e,t){var n=t.role;return Z(Kr({id:n}),(function(t){return t&&t[e]}))}function Jr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return e}))}function Zr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return!(!e||!e.editing)}))}var eo=function(e){return U()({is_playing:e.shouldPlay,is_playing_delayed:e.hasBeenPlayingJustNow,is_paused:!e.shouldPlay})},to="MEDIA_TOGGLE_PLAYING",no="MEDIA_PLAY",ro="MEDIA_PLAY_AND_FADE_IN",oo="MEDIA_PAUSE",io="MEDIA_FADE_OUT_AND_PAUSE",ao="CHANGE_VOLUME_FACTOR",uo="MEDIA_PLAY_FAILED",co="MEDIA_PLAYING_MUTED",so="MEDIA_SCRUB_TO",lo="MEDIA_SEEK_TO",fo="MEDIA_PREBUFFER",po="MEDIA_PREBUFFERED",ho="MEDIA_ABORT_PREBUFFERING",vo="MEDIA_BUFFER_UNDERRUN",go="MEDIA_BUFFER_UNDERRUN_CONTINUE",yo="MEDIA_META_DATA_LOADED",mo="MEDIA_PROGRESS",bo="MEDIA_PLAYING",wo="MEDIA_PAUSED",Oo="MEDIA_TIME_UPDATE",Eo="MEDIA_ENDED",_o="MEDIA_SEEKING",xo="MEDIA_SEEKED",Po="MEDIA_WAITING",ko="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",So="MEDIA_USER_INTERACTION",jo="MEDIA_USER_IDLE",To="MEDIA_CONTROLS_ENTERED",Ao="MEDIA_CONTROLS_LEFT",Io="MEDIA_FOCUS_ENTERED_CONTROLS",Mo="MEDIA_FOCUS_LEFT_CONTROLS",No="MEDIA_CONTROLS_HIDDEN",Co="SHOW_INFO_BOX_DURING_PLAYBACK",Do="HIDE_INFO_BOX_DURING_PLAYBACK",Ro="TOGGLE_INFO_BOX_DURING_PLAYBACK",Lo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Bo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Fo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return{togglePlaying:function(){return n(to)},play:function(){return n(no)},playAndFadeIn:function(e){var t=e.fadeDuration;return n(ro,{fadeDuration:t})},pause:function(){return n(oo)},fadeOutAndPause:function(e){var t=e.fadeDuration;return n(io,{fadeDuration:t})},changeVolumeFactor:function(e,t){var r=t.fadeDuration;return n(ao,{volumeFactor:e,fadeDuration:r})},playFailed:function(){return n(uo)},playingMuted:function(){return n(co)},scrubTo:function(e){return n(so,{time:e})},seekTo:function(e){return n(lo,{time:e})},prebuffer:function(){return n(fo)},prebuffered:function(){return n(po)},abortPrebuffering:function(){return n(ho)},bufferUnderrun:function(){return n(vo)},bufferUnderrunContinue:function(){return n(go)},playing:function(){return n(bo)},paused:function(){return n(wo)},timeUpdate:function(e){var t=e.currentTime,r=e.duration;return n(Oo,{currentTime:t,duration:r})},metaDataLoaded:function(e){var t=e.currentTime,r=e.duration;return n(yo,{currentTime:t,duration:r})},progress:function(e){var t=e.bufferedEnd;return n(mo,{bufferedEnd:t})},ended:function(){return n(Eo)},seeking:function(){return n(_o)},seeked:function(){return n(xo)},waiting:function(){return n(Po)},hasNotBeenPlayingForAMoment:function(e){return n(ko)},userInteraction:function(){return n(So)},userIdle:function(){return n(jo)},controlsEntered:function(){return n(To)},controlsLeft:function(){return n(Ao)},focusEnteredControls:function(){return n(Io)},focusLeftControls:function(){return n(Mo)},controlsHidden:function(){return n(No)},showInfoBoxDuringPlayback:function(){return n(Co)},hideInfoBoxDuringPlayback:function(){return n(Do)},toggleInfoBoxDuringPlayback:function(){return n(Ro)},saveMediaElementId:function(e){return n(Lo,{id:e})},discardMediaElementId:function(){return n(Bo)}};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 Uo(e){return S({property:"textTrack",value:e?{srclang:e.srclang,kind:e.kind}:{}})}function Ho(e){return e.backgroundMedia.muted}function Wo(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 qo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===e?"default":e))}function Go(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return function(e){return Object(ae.b)(Fo({scope:t}),e)}}function Vo(e){var t=e.file,n=e.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z($r({property:"textTrack"}),$r({property:"volume"}),Ur,Hr,function(e,t){var n=t.parent;return Z(Ee(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 u=t[a];return u.id&&u.parentFileId==n.id&&u.parentFileModelType==n.modelType&&i.push($t(e,u,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:t}),r,(function(e,t,n,r,o,i){e=e||{};var u=o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(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}(u,i,r,t);return{files:u.sort((function(e,t){return(e.displayLabel||"").localeCompare(t.displayLabel||"")})),autoFile:c,activeFileId:Yo(u,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 Yo(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 Xo(e){return Z(e.autoplayWhenBackgroundMediaMuted,$o({id:e.id}),Ho,(function(e,t,n){return t&&(!n||e)}))}function $o(e){return Z(en("autoplay",e),(function(e){return!1!==e}))}function Ko(e){var t=e.playerActions,n=e.playerState,r=e.playerControlsComponent;return B.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:Zo(e),infoBoxHiddenDuringPlayback:ei(e),onAdditionalButtonMouseEnter:t.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:t.hideInfoBoxDuringPlayback,onAdditionalButtonClick:t.toggleInfoBoxDuringPlayback,qualityMenuItems:ni(e.qualities,e.file,e.activeQuality,e.t),qualityMenuButtonTitle:e.t("pageflow.public.media_quality"),onQualityMenuItemClick:e.updateVideoQualitySetting,textTracksMenuItems:ti(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:Jo(n)}))}Ko.defaultProps={playerControlsComponent:Br,qualities:[],textTracks:{files:[]}};var Qo=It(ee({activeQuality:$r({property:"videoQuality"}),t:Ur}),{updateTextTrackSettings:Uo,updateVideoQualitySetting:function(e){return S({property:"videoQuality",value:e})}})(Ko);function Jo(e){return U()(eo(e))}function Zo(e){var t=e.t;return Zn(e.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:t("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ei(e){var t=e.playerState;return void 0===t.infoBoxHiddenDuringPlayback?!!e.textTracks.activeFileId:t.infoBoxHiddenDuringPlayback}function ti(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 ni(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 ri(e){return function(t){return t.entry[e]}}function oi(e){var t=e.entrySlug,n=e.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(t,"/").concat(r,"/").concat(n.id)}var ii=It(ee({t:Ur,entrySlug:ri("slug")}))((function(e){return e.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:oi(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})),ai=Z(nn("media.pageScrollerMargin"),(function(e){return e&&e.bottom}));function ui(e){var t=e.page,n=e.playerState,r={title:t.additionalTitle,description:t.additionalDescription};return React.createElement(H,{className:li(e.className,si(e),e.textTracks,n)},React.createElement(W,{pageHasPlayerControls:!0},e.children,React.createElement(An,{page:t,className:eo(n)})),React.createElement(In,{onInteraction:function(){return n.userIsIdle&&e.playerActions.userInteraction()},classNames:eo(n)},React.createElement(Qo,{file:e.file,textTracks:e.textTracks,playerState:n,playerActions:e.playerActions,qualities:e.qualities,controlBarText:e.controlBarText,infoBox:r,playerControlsComponent:e.playerControlsComponent}),React.createElement(Rn,{className:eo(n),marginBottom:e.dynamicPageScrollerMargin&&e.pageScrollerMarginBottom},React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t,marginBottom:e.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(ii,{file:e.file})))))}ui.defaultProps={playerControlsCanOverlapPageText:!0};var ci=Sn(ee({pageScrollerMarginBottom:ai,textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("page.defaultTextTrackFileId")}),hasAutoplaySupport:qn("autoplay support"),shouldAutoplay:Xo({id:Wn("page.permaId"),autoplayWhenBackgroundMediaMuted:Wn("autoplayWhenBackgroundMediaMuted")})}))(ui);function si(e){return e.shouldAutoplay&&e.hasAutoplaySupport&&!e.playerState.playFailed}function li(e,t,n,r){return U()(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 fi=Sn(ee({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:en("atmoDuringPlayback"),defaultTextTrackFileId:en("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)})),pi=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.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||!di(e.sources,this.props.sources)||!di(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}(B.a.Component);function di(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 hi(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}pi.defaultProps={tagName:"video",sources:[],tracks:[]};var vi=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 gi(e,t,n){e.one("timeupdate",(function(){yi(e,null,t(),n())}))}function yi(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)}var mi,bi=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,u=e.createPlayer,c=void 0===u?hi:u,s=function(e){function r(e,n){var o;return j(this,r),(o=N(this,C(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,u;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,u=n(),a===i&&u.currentTime>0&&e.currentTime(u.currentTime),u.shouldPrebuffer&&e.prebuffer().then(r.prebuffered),u.isPlaying&&e.play(),e.on("canplay",(function(){n().shouldPlay&&e.paused()&&e.play()})),o.displaysTextTracksInNativePlayer||function(e,t,n){e.on("pause",(function(){gi(e,t,n)})),e.textTracks().on("addtrack",(function(){yi(e,null,t(),n())})),yi(e,null,t(),n()),gi(e,t,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),vi(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 R(r,e),A(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||yi(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 B.a.createElement(pi,{tagName:t,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),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}(B.a.Component);s.contextTypes={mediaContext:B.a.PropTypes.object},s.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=It(ee({textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("defaultTextTrackFileId")}),quality:$r({property:"videoQuality"}),hasNativeVideoPlayer:qn("native video player"),hasHighBandwidth:qn("high bandwidth"),textTrackPosition:Oi}),{updateTextTrackSettings:Uo})(s);return l.WrappedComponent=s,l},wi=(mi="slimPlayerControls",function(e){return e.widgetPresence[mi]});function Oi(e,t){var n=t.playerState,r=t.textTrackPosition;return r||(wi(e)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Ei=bi({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 _i(e,t){return t&&t.match(/^\/\//)?"".concat(e,":").concat(t):t}function xi(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 Pi,ki=It(ee({isEnabled:(Pi="structured_data",function(e){return e.features.indexOf(Pi)>=0})}))((function(e){var t=e.data;return e.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null}));var Si=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:t.basename,description:t.alt,url:_i("https",t.urls.mp3),duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));function ji(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Ei,structuredDataComponent:Si}))}var Ti=function(e,t,n,r){if(r&&r.height&&t&&"contain"!=t){var o,i,a,u=e.width/e.height;if("width"==(r.width/r.height>u?"width":"height")?(o=(i=r.height)*u,a=r.width/o):(i=(o=r.width)/u,a=r.height/i),!("smart_contain"==t&&a>1.2)){var c=o*a,s=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-s)*f/100,width:c,height:s}}}};function Ai(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 Ii(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 Mi(e){return B.a.createElement(Or.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(t){return function(e,t){var n=Ti(e.videoFile,e.fit,e.position,t);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ai(n,t),style:Ni(n)},e.children))}(e,t)}))}function Ni(e){return e&&function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:"absolute"},e)}var Ci=bi({tagName:"video",sources:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(t=t||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(e.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(e.urls[o],"?u=1")}];return e.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(e.urls["dash-playlist"])}].concat(i)),i}return e.urls[t]||(t="high"),[{type:"video/mp4",src:"".concat(e.urls[t],"?u=1")}]},poster:Li});function Di(e){return B.a.createElement(Mi,{videoFile:e.file,fit:e.fit,position:e.position},B.a.createElement(Ci,{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 Ri=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.file,n=e.posterImageFile,r=e.preloadImage,o=Li(t,n);o&&r(o)}},{key:"render",value:function(){return null}}]),t}(B.a.Component);function Li(e,t){var n=re("mobile platform")?"medium":"large";return t?t.urls[n]:e.urls["poster_".concat(n)]}Ri.defaultProps={preloadImage:oe};var Bi=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:t.basename,description:t.alt,url:_i("https",t.urls.high),thumbnailUrl:_i("https",t.urls.poster_medium),width:t.width,height:t.height,duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));var Fi=It(ee({file:Yt("videoFiles",{id:Wn("videoFileId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageFileId")}),muted:function(e,t){return t.muted||Ho(e)}}))((function(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Di,preloadComponent:Ri,structuredDataComponent:Bi}))}));function Ui(e){var t=e.page,n=Y.concat(e.propertyNamePrefix,e.videoPropertyBaseName),r=Y.concat(e.propertyNamePrefix,e.posterImagePropertyBaseName);return React.createElement(Fi,{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})}Ui.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Hi=It(ee({fileExists:Xt()}))((function(e){var t=function(e){return(t=e.propertyNamePrefix,[{propertyBaseName:Y.concat(t,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.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(Tn,{page:e.page,propertyBaseName:t.propertyBaseName,fileCollection:t.collection}):React.createElement("noscript",null)}));var Wi=It(ee({fileExists:Xt(),hasMobilePlatform:qn("mobile platform"),hasAutoplaySupport:qn("autoplay support")}))((function(e){return e.hasMobilePlatform&&function(e){var t=Y.concat(e.propertyNamePrefix,"mobilePosterImageId");return e.fileExists("imageFiles",e.page[t])}(e)?React.createElement(Hi,{page:e.page,propertyNamePrefix:e.propertyNamePrefix}):React.createElement(Ui,Object.assign({loop:!0,fit:"cover",muted:!e.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},e))}));var qi=It(ee({file:Yt("imageFiles",{id:Wn("fileId")}),entryPublishedAt:ri("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:_i("https",t.urls.large),width:t.width,height:t.height,datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}return null}));var Gi=Sn(ee({page:tn(),playerState:qo({scope:"background"})}),X({playerActions:Go({scope:"background"})}))((function(e){var t=e.page,n=e.playerState,r=e.playerActions,o=e.propertyNamePrefix;return"video"==t[Y.concat(o,"backgroundType")]?React.createElement(Wi,{page:t,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Tn,{page:t,propertyNamePrefix:o,structuredDataComponent:qi})}));function Vi(e){return React.createElement(W,null,React.createElement(Gi,{propertyNamePrefix:e.propertyNamePrefix}),React.createElement(An,{page:e.page}))}var zi=It(ee({isEntryReady:function(e){return!!e.entry.isReady}}))((function(e){var t=e.page;return e.isEntryReady?"video"==t.backgroundType||"video"==t.type?React.createElement(Yi,{videoId:t.videoFileId,posterImageId:t.posterImageId}):React.createElement(Xi,{imageId:t.backgroundImageId}):null})),Yi=It(ee({videoFile:Yt("videoFiles",{id:Wn("videoId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageId")})}))((function(e){var t=e.videoFile,n=e.posterImageFile;return n?React.createElement($i,{file:n}):React.createElement($i,{file:t})})),Xi=Sn(ee({file:Yt("imageFiles",{id:Wn("imageId")}),pageIsPrepared:an()}))($i);function $i(e){var t=e.file;return t&&t.isReady&&an?React.createElement("img",{src:t.urls.print,alt:t.alt,className:"print_image"}):React.createElement("noscript",null)}function Ki(e){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(e){if(!V(e.title))return React.createElement("h3",{className:Qi(e)},e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:e.description}})}(e))}function Qi(e){var t=!V(e.title)&&!V(e.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":t})}var Ji="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var Zi=Sn(null,{setPageScrollerMarginBottom:function(e){return{type:Ji,payload:{value:e},meta:{collectionName:"pages"}}}})((function(e){return React.createElement(Or.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 ea=cr((function(e){return React.createElement("a",{href:"#",className:ta(e),id:e.id,tabIndex:"4",title:e.title,onClick:na(e)},React.createElement(ar,{name:e.isPlaying?"pause":"play"}))}));function ta(e){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":e.inverted})}function na(e){return function(t){t.preventDefault(),e.onClick&&e.onClick()}}var ra="rgba(170, 170, 170, 1)",oa="rgba(0, 0, 0, 0.5)",ia="#fff",aa="#888";var ua=Sn(ee({pageIsPrepared:an(),waveformColor:en("waveformColor"),mainColor:function(e){return e.theme.mainColor}}))((function(e){return e.pageIsPrepared&&e.mediaElementId?React.createElement(Or.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(Ft.a,{mediaElt:"#".concat(e.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:e.waveformColor||e.mainColor,waveColor:e.inverted?oa:ra,cursorColor:e.inverted?aa:ia,height:n}}),React.createElement(ea,{isPlaying:e.isPlaying,title:e.playButtonTitle,inverted:e.inverted,onClick:e.onPlayButtonClick})))})):null}));function ca(e){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(pr,{value:e.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(pr,{value:e.duration,className:"waveform_player_controls-times_display-duration"}))}var sa=Sn(ee({inverted:en("invert")}))((function(e){return React.createElement("div",{className:la(e)},React.createElement(Zi,null,React.createElement(ua,{isPlaying:e.isPlaying,inverted:e.inverted,playButtonTitle:e.playButtonTitle,mediaElementId:e.mediaElementId,onPlayButtonClick:e.onPlayButtonClick}),React.createElement(ca,{currentTime:e.currentTime,duration:e.duration}),React.createElement(Ki,e.infoBox)),React.createElement(Nr,{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 la(e){return U()("waveform_player_controls",{"waveform_player_controls-inverted":e.inverted})}var fa="HOTKEY_SPACE",pa="HOTKEY_TAB";function da(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 ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var va=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 ha({},e,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ha({},e,{shouldPrebuffer:!1});case no:return ha({},e,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case bo:return ha({},e,{shouldPlay:!0,isPlaying:!0});case uo:return ha({},e,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case ro:return ha({},e,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:t.payload.fadeDuration,isLoading:!0});case oo:return ha({},e,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case wo:return e.bufferUnderrun?ha({},e,{isPlaying:!1,hasPlayed:!0}):ha({},e,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case io:return ha({},e,{shouldPlay:!1,fadeDuration:t.payload.fadeDuration,isLoading:!1});case ao:return ha({},e,{volumeFactor:t.payload.volumeFactor,volumeFactorFadeDuration:t.payload.fadeDuration});case fo:return ha({},e,{shouldPrebuffer:!0});case po:return ha({},e,{shouldPrebuffer:!1});case Po:return ha({},e,{isLoading:!0});case vo:return ha({},e,{bufferUnderrun:!0});case go:return ha({},e,{bufferUnderrun:!1});case so:return ha({},e,{scrubbingAt:t.payload.time});case lo:return ha({},e,{shouldSeekTo:t.payload.time});case _o:return ha({},e,{isLoading:!0});case xo:return ha({},e,{scrubbingAt:void 0,isLoading:!1});case yo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration});case mo:return ha({},e,{bufferedEnd:t.payload.bufferedEnd});case Oo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration,isLoading:!1});case Eo:return ha({},e,{shouldPlay:!1,isPlaying:!1});case ko:return ha({},e,{hasBeenPlayingJustNow:!1});case pa:case So:return ha({},e,{userIsIdle:!1,controlsHidden:!1});case jo:return ha({},e,{userIsIdle:!0});case To:return ha({},e,{userHoveringControls:!0});case Ao:return ha({},e,{userHoveringControls:!1});case Io:return ha({},e,{focusInsideControls:!0});case Mo:return ha({},e,{focusInsideControls:!1});case No:return ha({},e,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Do:return ha({},e,{infoBoxHiddenDuringPlayback:!0});case Co:return ha({},e,{infoBoxHiddenDuringPlayback:!1});case Ro:return ha({},e,{infoBoxHiddenDuringPlayback:!e.infoBoxHiddenDuringPlayback});case Lo:return ha({},e,{mediaElementId:t.payload.id});case Bo:return ha({},e,{mediaElementId:null});default:return e}}};function ga(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 ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ma=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ji:return ya({},e,{bottom:t.payload.value});default:return e}},ba=Oe.a.mark(Oa),wa=Oe.a.mark(Ea);function Oa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([fa,to],Ea,Fo());case 2:case"end":return e.stop()}}),ba)}function Ea(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(Ce.select)(qo());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Ce.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Ce.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Ce.put)(t());case 13:case"end":return r.stop()}}),wa)}var _a=Oe.a.mark(Pa),xa=Oe.a.mark(ka);function Pa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([uo,co],ka);case 2:case"end":return e.stop()}}),_a)}function ka(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return e.stop()}}),xa)}var Sa="BACKGROUND_MEDIA_MUTE",ja="BACKGROUND_MEDIA_UNMUTE";function Ta(){return{type:ja}}var Aa=Oe.a.mark(Ba),Ia=Oe.a.mark(Fa),Ma=Oe.a.mark(Ua),Na=Oe.a.mark(Ha),Ca=Fo(),Da=Ca.play,Ra=Ca.prebuffer,La=Ca.waiting;function Ba(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.takeEvery)(u,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(Ce.race)({task:Object(Ce.call)(Ua,e),cancel:Object(Ce.take)(l)}),Object(Ce.race)({task:Object(Ce.call)(Fa,e),cancel:Object(Ce.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Aa)}function Fa(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(Ce.select)($o());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Ce.race)({unmute:Object(Ce.take)(ja),cancel:Object(Ce.take)(l)});case 8:if(t=n.sent,!t.unmute){n.next=12;break}return n.delegateYield(Ua(e),"t1",12);case 12:case"end":return n.stop()}}),Ia)}function Ua(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ha(e),"t0",1);case 1:if(!(t=n.t0)){n.next=5;break}return n.next=5,Object(Ce.put)(La());case 5:return n.next=7,[Object(Ce.take)(po),Object(Ce.put)(Ra())];case 7:if(!t){n.next=12;break}return n.next=10,Object(Ce.call)(De.delay,1e3);case 10:return n.next=12,Object(Ce.put)(Da());case 12:case"end":return n.stop()}}),Ma)}function Ha(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(Ce.select)(Xo({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&t);case 5:case"end":return o.stop()}}),Na)}var Wa=Oe.a.mark(qa);function qa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(no,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ga);case 5:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Va);case 5:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),Wa)}function Ga(){pageflow.events.trigger("scroll_indicator:disable")}function Va(){pageflow.events.trigger("scroll_indicator:enable")}var za=Oe.a.mark(Ya);function Ya(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.hasNotBeenPlayingForAMoment,n.next=3,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.race)({task:Object(Ce.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(Ce.call)(De.delay,700);case 2:return e.next=4,Object(Ce.put)(t(!1));case 4:case"end":return e.stop()}}),e)}))),cancel:Object(Ce.take)(bo)});case 2:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),za)}var Xa=Oe.a.mark(Ka),$a=Oe.a.mark(Qa);function Ka(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.userIdle,n.next=3,Object(De.takeLatest)([no,So,pa],Qa,t);case 3:case"end":return n.stop()}}),Xa)}function Qa(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(De.delay,3e3);case 2:return t.next=4,Object(Ce.put)(e());case 4:case"end":return t.stop()}}),$a)}var Ja=Oe.a.mark(Za);function Za(){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=Fo({scope:t}),r=n.fadeOutAndPause,i.next=4,Object(De.takeEvery)(s,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.put)(r({fadeDuration:400}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return i.stop()}}),Ja)}var eu=Oe.a.mark(tu);function tu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Eo,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(Ce.select)(en("autoChangePageOnEnded"));case 2:return t=e.sent,e.next=5,Object(Ce.select)(rn());case 5:if(n=e.sent,!t||!n){e.next=9;break}return e.next=9,Object(Ce.call)(nu);case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),eu)}function nu(){pageflow.slides.next()}var ru=Oe.a.mark(au);function ou(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 iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ou(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function au(){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=[Oa(),Pa(),qa()],e.playsInNativePlayer&&e.playsInNativePlayer()||t.push([tu(),Za(),Ya()]),re("mobile platform")||t.push([Ba(iu({},e,{canAutoplay:re("autoplay support")}))]),e.hideControls&&t.push([Ka()]),r.next=7,t;case 7:case"end":return r.stop()}}),ru)}var uu=Oe.a.mark(lu),cu=Oe.a.mark(fu),su=Oe.a.mark(pu);function lu(){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=Fo({scope:t}),o.next=4,Object(De.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(Ce.race)({task:[Object(Ce.put)(n.prebuffer()),Object(Ce.call)(fu,n),Object(Ce.call)(pu,n)],cancel:Object(Ce.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return o.stop()}}),uu)}function fu(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(Ce.put)(t(0,{fadeDuration:0}));case 3:return r.next=5,Object(Ce.take)(po);case 5:return r.next=7,Object(Ce.put)(n());case 7:case"end":return r.stop()}}),cu)}function pu(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(Ce.take)(po),Object(Ce.take)(u)];case 3:return n.next=5,Object(Ce.put)(t(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),su)}function du(e){return{reducers:{"media.default":va({scope:"default"}),"media.pageScrollerMargin":ma},saga:Oe.a.mark((function t(){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,au(e);case 2:case"end":return t.stop()}}),t)}))}}var hu={reducers:{"media.background":va({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,[lu({scope:"background"}),Za({scope:"background"}),Pa()];case 2:case"end":return e.stop()}}),e)}))};var vu=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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 R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page;return B.a.createElement(H,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Wr,{onClick:this.onCloseButtonClick}),B.a.createElement(Nr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(W,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(An,{page:e})),B.a.createElement(In,null,B.a.createElement(Br,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:e.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:e.additionalTitle,description:e.additionalDescription}}),B.a.createElement(Rn,null,B.a.createElement(Bn,{page:e}),B.a.createElement(Fn,{page:e}))))}}]),t}(B.a.Component),gu=Sn(ee({textIsHidden:function(e){return e.hideText.isActive},textHasBeenHidden:function(e){return e.hideText.hasBeenActive}}))(vu),yu="HIDE_TEXT_ACTIVATE",mu="HIDE_TEXT_DEACTIVATE";var bu=Oe.a.mark(wu);function wu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(mu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ou);case 5:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),bu)}function Ou(){pageflow.events.trigger("scroll_indicator:enable")}var Eu={name:"interactivePageBackground",saga:wu};function _u(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 xu(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 Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ku=new function(){var e=[];this.register=function(t,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=_u(n,["component","reduxModules"]);r||s("Requires component option to be present"),Array.isArray(i)||s("Expected reduxModules option to be an array.");var u=[],c=i.reduce((function(e,t){return"object"==typeof t&&3==new Set(Object.keys(t).concat(["name","reducers","saga"])).size||s("Expected redux module to be object with name, reducers and saga properties at most."),t.reducers&&"object"!=typeof t.reducers&&s("Expected reducers property of ".concat(t.name," reduxModule to be object.")),t.saga&&u.push(t.saga),Pu({},e,{},t.reducers)}),{});function s(e){throw new Error("".concat(e," Check registerPageType call of ").concat(t," page type."))}e.push(Pu({name:t,component:r,reducer:Object.keys(c).length?Object(ae.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,u.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}))}},Su=ku.register;function ju(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ju(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=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)}},Iu=Au.register,Mu=n(172),Nu={muted:!1},Cu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Sa:return{muted:!0};case ja:return{muted:!1};default:return e}};function Du(e){var t=e.t,n=e.muted,r=e.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.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 Ru={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||(n.on("background_media:mute",(function(e){return r({type:Sa})})),n.on("background_media:unmute",(function(e){return r(Ta())})))},createReducers:function(){return{backgroundMedia:Cu}},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(De.takeEvery)(ja,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return t.unmute()}));case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};function Lu(e){return e.cookieNotice.visible}function Bu(e){return e.theming.privacy_link_url}var Fu="COOKIE_NOTICE_REQUEST",Uu="COOKIE_NOTICE_DISMISS";function Hu(){return{type:Uu}}function Wu(e){var t=e.isCookieNoticeVisible,n=e.editing,r=e.t,o=e.dismiss;return t||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.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 B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(e),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function qu(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 Gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vu=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 Fu:return e.dismissed?e:Gu({},e,{visible:!0});case Uu:return{dismissed:!0,visible:!1};default:return e}}},zu={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||n.on("cookie_notice:request",(function(){return r({type:Fu})}))},createReducers:function(e){var t=e.cookies;return{cookieNotice:Vu({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(De.takeEvery)(Fu,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(Ce.select)(Lu);case 2:if(!e.sent){e.next=10;break}return e.next=5,Object(Ce.cps)(Yu,t);case 5:return n=e.sent,e.next=8,Object(Ce.take)(Uu);case 8:return e.next=10,Object(Ce.call)(n);case 10:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)(Uu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.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 Yu(e,t){e.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(e){return t(null,e)}))}var Xu={createReducers:function(e){var t=e.enabledFeatureNames;return{features:function(){return t}}}},$u="THEMING_INIT";var Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $u:return t.payload.theming;default:return e}},Qu={init:function(e){var t=e.theming;(0,e.dispatch)(function(e){return{type:$u,payload:{theming:e}}}(t))},createReducers:function(){return{theming:Ku}}},Ju={init:function(e){var t=e.storylines,n=e.dispatch;Ut({collection:t,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Te("storylines")}}},Zu={init:function(e){var t=e.chapters,n=e.dispatch;Ut({collection:t,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Te("chapters")}}},ec="PAGE_TYPES_INIT";var tc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ec:return t.payload.pageTypes;default:return e}},nc={createReducers:function(){return{pageTypes:tc}},init:function(e){var t=e.pageTypesSeed;(0,e.dispatch)(function(e){var t=e.pageTypes;return{type:ec,payload:{pageTypes:t}}}({pageTypes:Y.deep(t)}))}},rc="CURRENT_PAGE_CHANGE";var oc=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 rc:return t.payload.id;default:return e}},ic=function(e,t){e.on("page:change",(function(e){return t(function(e){var t=e.id;return{type:rc,payload:{id:t}}}({id:e.getPermaId()}))}))},ac={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||ic(n,r)},createReducers:function(){return{currentPageId:oc}}},uc={init:function(e){var t=e.files,n=e.dispatch;Object.keys(t).forEach((function(e){Ut({collection:t[e],collectionName:Y(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=Y.keys(r),i=Y.keys(i),{files:Object(ae.c)(Object.keys(t).reduce((function(e,t){return e[t=Y(t)]=Te(t,{idAttribute:"permaId"}),e}),{})),fileUrlTemplates:function(e){return r},modelTypes:function(e){return i}}}},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 x:return t.payload.settings;default:return e}},sc={init:function(e){var t=e.isServerSide,n=e.settings,r=e.dispatch;t||(r(k({settings:n.toJSON()})),n.on("change",(function(){return r(k({settings:n.toJSON()}))})))},createReducers:function(){return{settings:cc}},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(De.takeEvery)(P,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(Ce.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 lc="I18N_INIT";var fc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case lc:return{locale:t.payload.locale};default:return e}},pc={createReducers:function(){return{i18n:fc}},init:function(e){var t=e.locale;(0,e.dispatch)(function(e){var t=e.locale;return{type:lc,payload:{locale:t}}}({locale:t}))}},dc="ENTRY_UPDATE",hc="ENTRY_READY";function vc(e){var t=e.entry;return{type:dc,payload:{entry:t}}}function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case dc:return yc({},e,{},t.payload.entry);case hc:return yc({},e,{isReady:!0});default:return e}},bc={init:function(e){var t=e.entry,n=e.dispatch,r=e.events;e.isServerSide||r.once("ready",(function(){return n({type:hc})})),Ft.a.Model&&t instanceof Ft.a.Model?function(e){var t=e.entry,n=e.dispatch;wc({entry:t,dispatch:n}),t.metadata.on("change:title",(function(){wc({entry:t,dispatch:n})}))}({entry:t,dispatch:n}):function(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.slug,title:t.title,publishedAt:t.published_at}}))}({entry:t,dispatch:n})},createReducers:function(){return{entry:mc}}};function wc(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.get("slug"),title:t.metadata.get("title")||t.get("entry_title"),publishedAt:null}}))}var Oc={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 _(fa,t)}({currentPageId:t})):9==e.keyCode&&o(function(e){var t=e.currentPageId;return _(pa,t)}({currentPageId:t}))}))}},Ec=function(e,t){e.on("activate",(function(e){return t({type:yu})})),e.on("deactivate",(function(e){return t({type:mu})}))};function _c(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 xc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_c(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pc={isActive:!1,hasBeenActive:!1},kc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pc,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case yu:return{isActive:!0,hasBeenActive:!0};case mu:return xc({},e,{isActive:!1});case rc:return xc({},e,{hasBeenActive:!1});default:return e}},Sc={init:function(e){var t=e.isServerSide,n=e.hideText,r=e.dispatch;t||Ec(n,r)},createReducers:function(){return{hideText:kc}}},jc={init:function(e){var t=e.widgets,n=e.dispatch;Ut({collection:t,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Te("widgets",{idAttribute:"role"})}}};var Tc="WIDGETS_LOAD";var Ac=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Tc:return t.payload.widgets;default:return e}},Ic={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:Tc,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:Ac}}},Mc="THEME_INIT";var Nc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Mc:return t.payload;default:return e}},Cc={createReducers:function(){return{theme:Nc}},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:Mc,payload:t}))}}};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}var Rc=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:ku,theming:r.theming,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,window:n?null:window},u=Object(Mu.a)([Ru,zu,Xu,pc,Qu,bc,ac,Ju,Zu,kn,uc,sc,Sc,jc,Ic,nc,Oc,Cc],i);return n||(ku.forEach((function(t){return e.pageType.register(t.name,function(e){return _n(wn(e),e.mixin||{})}(function(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}({},t,{Component:t.component,store:u})))})),Au.forEach((function(t){var n=t.name,r=t.component;return e.widgetTypes.register(n,function(e,t){return{enhance:function(n){Ft.a.render(React.createElement(He,{store:t},React.createElement(e,null)),n[0])}}}(r,u))}))),u},Lc=Nt("pages"),Bc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.pageComponent=ku.findByName(this.props.pageType).component}},{key:"render",value:function(e){var t=this.pageComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(Lc,{itemId:this.props.pageId},B.a.createElement(t,null)))}}]),t}(B.a.Component),Fc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.widgetComponent=Au.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(e){var t=this.widgetComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(t,null))}}]),t}(B.a.Component),Uc=Nt("pages"),Hc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed})}},{key:"render",value:function(e){return B.a.createElement(He,{store:this.store},B.a.createElement(Uc,{itemId:this.props.pageId},B.a.createElement(Gi,null)))}}]),t}(B.a.Component);function Wc(e){var t=e.page.audioPlayerControlsVariant;return React.createElement(ci,{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:qc(t),dynamicPageScrollerMargin:"waveform"==t,autoplayWhenBackgroundMediaMuted:!1},React.createElement(Gi,null),React.createElement(ji,{file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,textTrackPosition:Gc(t)}))}function qc(e){return"waveform"==e?sa:Br}function Gc(e){if("waveform"==e)return"top"}function Vc(e){var t=e.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(Vi,{page:t}),React.createElement(In,null,React.createElement(Rn,null,React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t}))))}var zc=["auto","4k","fullhd","medium"];function Yc(e){return React.createElement(ci,{className:"video_page supports_text_position_center",page:e.page,file:e.videoFile,qualities:zc,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Ui,{page:e.page,playerState:e.playerState,playerActions:e.playerActions}),React.createElement(Hi,{page:e.page}))}var Xc={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},$c=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={fading:!1,hidden:!1},n}return R(t,e),A(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?B.a.createElement("div",{className:U()("loading_spinner",{fade:!e&&r}),onTouchMove:Kc,style:Xc},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Kc(e){e.preventDefault()}var Qc=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={hidden:!1,animating:!0},n}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!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=es(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),t||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(t){return e.hideOrLoop(t)},onTouchMove:Jc,style:ts(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:Zc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Jc(e){e.preventDefault()}function Zc(e){var t=e.firstPageBackgroundImageUrl,n=e.backgroundImage,r=e.blurStrength,o=n?n.urls.medium:t;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function es(e){return e.backgroundImage||null!=e.invert?e.invert:e.firstPageInvert}function ts(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:es(e)?"#fff":"#000"}}var ns=It(ee({editing:Zr({role:"loading_spinner"}),firstPageInvert:Zt("invert"),firstPageBackgroundImageUrl:function(e){var t=e.page,n=e.variant,r=void 0===n?"medium":n;return Z(t,Xt(),(function(e){return e}),(function(e,t,n){if(e){var o=Ht({candidates:Kt({page:e})(n).thumbnailCandidates,page:e,fileExists:t});if(o){var i=Yt(Y(o.collectionName),{id:Wt(e,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Jt,(function(e){return e&&e.attributes}))}),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Qr("invert",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),blurStrength:Qr("blurStrength",{role:"loading_spinner"})}))(Qc);var rs=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.subtitle,r=e.entryTitle,o=es(this.props);return B.a.createElement(ns,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},t||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),t}(B.a.Component);var os=n(96),is=n.n(os);function as(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}Su("background_image",{component:Sn(ee({page:tn()}))(Vc),reduxModules:[hu]}),Su("video",{component:Sn(ee({page:tn(),videoFile:Yt("videoFiles",{id:en("videoFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Yc),reduxModules:[du({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:qn("native video player")})]}),Su("audio",{component:Sn(ee({page:tn(),audioFile:Yt("audioFiles",{id:en("audioFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Wc),reduxModules:[du({retryOnUnmute:!0}),hu]}),Iu("cookie_notice_bar",{component:It(ee({isCookieNoticeVisible:Lu,privacyLinkUrl:Bu,editing:Zr({role:"cookie_notice"}),t:Ur,locale:Hr}),{dismiss:Hu})(Wu)}),Iu("unmute_button",{component:It(ee({t:Ur,muted:Ho}),{unmute:Ta})(Du)}),Iu("classic_loading_spinner",{component:It(ee({editing:Zr({role:"loading_spinner"})}))($c)}),Iu("title_loading_spinner",{component:It(ee({firstPageInvert:Zt("invert"),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ri("title"),title:Qr("title",{role:"loading_spinner"}),subtitle:Qr("subtitle",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),invert:Qr("invert",{role:"loading_spinner"})}))(rs)}),Iu("media_loading_spinner",{component:ns}),is.a.events&&is.a.events.on("seed:loaded",(function(){return Rc(is.a)}));t.default={components:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({MediaPageBackground:Vi,PageWithInteractiveBackground:gu},o),actions:r,selectors:i,registerPageType:Su,registerPageTypeWithDefaultBackground:function(e,t){Su(e,{component:Gi,selectTargetElement:function(e){return e.find(".page_background_asset")[0]},mixin:Tu({scroller:!0},t),reduxModules:[hu]})},registerWidgetType:Iu,mediaReduxModule:du,mediaPageBackgroundReduxModule:hu,pageWithInteractiveBackgroundReduxModule:Eu,iconMapping:ir,SvgIcon:rr,classNames:U.a,connect:It,connectInPage:Sn,combineReducers:ae.c,combine:X,ServerSidePage:Bc,ServerSideWidget:Fc,ServerSidePageBackgroundAsset:Hc}}]).default;
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,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=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 O(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 u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case s:return e;default:return t}}case i:return t}}}function E(e){return O(e)===p}t.typeOf=O,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===u||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||O(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===y},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(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(29))),u=l(n(19)),c=l(n(400)),s=l(n(401));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=u.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,s.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 u=20,c=["top","right","bottom","left","width","height","size","weight"],s="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 u(){n&&(n=!1,e()),r&&s()}function c(){i(u)}function s(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),u)}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),s?(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,u=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=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 s=Math.round(u+i)-t,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,u,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}(),O=function(e,t){var n,r,o,i,a,u,c,s=(r=(n=t).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.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:s})},E=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 O(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}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,x=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 E(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=k}.call(this,n(73))},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,u=void 0;if((n.width&&n.height||t.noCloneOnZeroDimension)&&!t.clone)t.margin&&(u=(0,i.default)(getComputedStyle(e)));else{var c=(0,o.default)(e,t);n=c.rect,u=c.margin}t.margin?(r=u.left+n.width+u.right,a=u.top+n.height+u.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(402)),i=r(n(167));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,u=document.createElement("div"),c=e.cloneNode(!0),s=getComputedStyle(e);u.style.height=0,u.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(t.display||s&&"none"===s.getPropertyValue("display"))&&(c.style.display=t.display||"block");(t.width||s&&!parseInt(s.getPropertyValue("width")))&&(c.style.width=t.width||"auto");(t.height||s&&!parseInt(s.getPropertyValue("height")))&&(c.style.height=t.height||"auto");return u.appendChild(c),a.appendChild(u),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.offsetHeight,a.removeChild(u),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(s)}};var r,o=n(167),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},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 u(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,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.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];s.push(new h(e,t)),1!==s.length||l||u(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 O})),n.d(r,"updatePageLink",(function(){return E})),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 W})),n.d(o,"PageBackgroundImage",(function(){return Tn})),n.d(o,"PageShadow",(function(){return An})),n.d(o,"PageForeground",(function(){return In})),n.d(o,"PageContent",(function(){return Ln})),n.d(o,"PageScroller",(function(){return Rn})),n.d(o,"PageHeader",(function(){return Bn})),n.d(o,"PageText",(function(){return Fn})),n.d(o,"PageLink",(function(){return Vn})),n.d(o,"PageThumbnail",(function(){return Kn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Qn})),n.d(o,"PlayerControls",(function(){return Br})),n.d(o,"CloseButton",(function(){return Wr})),n.d(o,"MenuBar",(function(){return Nr})),n.d(o,"Icon",(function(){return ar})),n.d(o,"editorOnly",(function(){return qr})),n.d(o,"withVisibilityWatching",(function(){return Rr})),n.d(o,"Draggable",(function(){return br.a})),n.d(o,"Measure",(function(){return Or.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return en})),n.d(i,"pageAttributes",(function(){return tn})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Xr})),n.d(i,"currentParentChapterAttributes",(function(){return Yr})),n.d(i,"t",(function(){return Ur})),n.d(i,"setting",(function(){return $r})),n.d(i,"file",(function(){return Yt})),n.d(i,"prop",(function(){return Wn})),n.d(i,"widgetAttributes",(function(){return Jr})),n.d(i,"editingWidget",(function(){return Zr}));n(173),n(175),n(176),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(78),n(202),n(203),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(223),n(224),n(226),n(227),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(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),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(289),n(290),n(291),n(292),n(295),n(296),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(156),n(318),n(319),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(345),n(346),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(388),n(163);var a=n(4),u=(n(389),"PAGE_DID_ACTIVATE"),c="PAGE_WILL_ACTIVATE",s="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 _(h,e)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,r=e.value;return _(m,t,{name:n,value:r})}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageId,n=e.linkId,r=e.name,o=e.value;return _(b,t,{linkId:n,name:r,value:o})}function _(e,t){return{type:e,meta:{collectionName:"pages",itemId:t},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var x="SETTINGS_LOAD",k="SETTINGS_UPDATE";function P(e){var t=e.settings;return{type:x,payload:{settings:t}}}function S(e){var t=e.property,n=e.value;return{type:k,payload:{property:t,value:n}}}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(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 A(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function I(e){return(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})(e)}function M(e){return(M="function"==typeof Symbol&&"symbol"===I(Symbol.iterator)?function(e){return I(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":I(e)})(e)}function N(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(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&&D(e,t)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),H=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),t}(L.Component);function W(e){return React.createElement("div",{className:(t=e,n=t.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},e.children);var t,n}var q=n(168),G=n.n(q);function V(e){return!!G()(e).match(/^\s*$/)}function z(e){return e.replace(/_[a-z]/g,(function(e){return e[1].toUpperCase()}))}z.keys=function(e){return Object.keys(e).reduce((function(t,n){return t[z(n)]=e[n],t}),{})},z.deep=function(e){return Array.isArray(e)?e.map(z.deep):"object"==typeof e&&e?Object.keys(e).reduce((function(t,n){return t[z(n)]=z.deep(e[n]),t}),{}):e},z.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 Y=z,X=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}),{})}},$=n(59),K=n(119),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ne((function(e,n){var r=t.slice(0,-1).map(te),o=t.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(e===J)return i;if(e)return i(e,n);throw"Missing state argument for selector."}))}function ee(e,t){return ne((function(){return Object(K.createStructuredSelector)(function(e){return Object.keys(e).reduce((function(t,n){return t[n]=te(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 te(e){return"function"==typeof e&&e[Q]?e(J):e}function ne(e){return e[Q]=!0,e}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return t&&t.has(e)}function oe(e){return new Promise((function(t){var n=new Image;n.onload=t,n.onerror=t,n.src=e}))}var ie=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.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/))oe(t.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(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 B.a.createElement(e,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),t}(B.a.Component);ie.defaultProps={position:[50,50],fileCollection:"imageFiles"};var ae=n(17),ue=Object(ae.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 u: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 ce="COLLECTION_RESET",se="COLLECTION_ADD",le="COLLECTION_CHANGE",fe="COLLECTION_REMOVE",pe="COLLECTION_ORDER";function de(e){var t=e.collectionName,n=e.items;return{type:ce,meta:{collectionName:t},payload:{collectionName:t,items:n}}}function he(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:se,meta:{collectionName:t},payload:{attributes:n,order:r}}}function ve(e){var t=e.collectionName,n=e.attributes;return{type:le,meta:{collectionName:t},payload:{attributes:n}}}function ge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case se:case le:return t.payload.attributes;default:return e}}function ye(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=function(e){var t={};function n(n){return t[n]=t[n]||Object(ae.c)({attributes:ge,state:Object(ae.c)({custom:e[n]||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},common:ue})}),t[n]}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,o=ge(e.attributes,t);return n(o.type)(r(e,e.attributes,o),t)};function r(e,t,n){return t&&t.type!==n.type?me({},e,{state:me({},e.state,{custom:void 0})}):e}},we=n(2),Oe=n.n(we),Ee=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 _e(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 xe(e,t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,Object(a.a)({},ke(t),n))}function ke(e){return"__".concat(e,"_connectedId")}var Pe=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[ke(e)])?a[e].items[i]:null}}};function Se(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?Se(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=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?ge:o,u={order:[],items:{}};return function(){var t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=e)return o;switch(c.type){case ce: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,he({collectioName:c.payload.collectioName,attributes:t})),e}),{})};case se:return{order:c.payload.order,items:je({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case le:return n=c.payload.attributes[r],{order:o.order,items:je({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case fe:return n=c.payload.attributes[r],delete(t=je({},o.items))[n],{order:c.payload.order,items:t};case pe:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var s=o.items[c.meta.itemId],l=i(s,c);if(l!==s)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 Ne(e){return e.meta&&e.meta.itemId}var Ce=n(3),De=n(7);function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Le=n(29),Be=n.n(Le),Fe=Be.a.shape({trySubscribe:Be.a.func.isRequired,tryUnsubscribe:Be.a.func.isRequired,notifyNestedSubs:Be.a.func.isRequired,isSubscribed:Be.a.func.isRequired}),Ue=Be.a.shape({subscribe:Be.a.func.isRequired,dispatch:Be.a.func.isRequired,getState:Be.a.func.isRequired});B.a.forwardRef;var He=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){Re(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 L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ue.isRequired,children:Be.a.element.isRequired},r.childContextTypes=((t={})[e]=Ue.isRequired,t[n]=Fe,t),r}();function We(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 Ve=n(171),ze=n.n(Ve),Ye=n(95),Xe=n.n(Ye),$e=n(118),Ke=null,Qe={notify:function(){}};var Je=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qe}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=Ke,e=Ke},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!==Ke&&(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=Qe)},e}(),Ze=void 0!==B.a.forwardRef,et=0,tt={};function nt(){}function rt(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,u=o.methodName,c=void 0===u?"connectAdvanced":u,s=o.renderCountProp,l=void 0===s?void 0:s,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=et++,w=((n={})[h]=Ue,n[m]=Fe,n),O=((r={})[m]=Fe,r);return function(t){Xe()(Object($e.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(We(We(o))),Xe()(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}Re(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=nt,this.store=null,this.selector.run=nt,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xe()(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 Je(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(tt)):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(L.createElement)(t,this.addExtraProps(e.props))},i}(L.Component);return Ze&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=t,i.displayName=r,i.childContextTypes=O,i.contextTypes=w,i.propTypes=w,ze()(i,t)}}var ot=Object.prototype.hasOwnProperty;function it(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function at(e,t){if(it(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(!ot.call(t,n[o])||!it(e[n[o]],t[n[o]]))return!1;return!0}function ut(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ct(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function st(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=ct(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ct(o),o=r(t,n)),o},r}}var lt=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?ut((function(t){return Object(ae.b)(e,t)})):void 0}];var ft=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(){return{}}))}];function pt(e,t,n){return qe({},n,e,t)}var dt=[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,u){var c=e(t,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return pt}}];function ht(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function vt(e,t,n,r,o){var i,a,u,c,s,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?(u=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):g?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):y?(h=e(i,a),v=!p(h,u),u=h,v&&(s=n(u,c,a)),s):s}return function(o,l){return d?h(o,l):(u=e(i=o,a=l),c=t(r,a),s=n(u,c,a),d=!0,s)}}function gt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ge(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),c=o(e,i);return(i.pure?vt:ht)(a,u,c,e,i)}function yt(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 mt(e,t){return e===t}var bt,wt,Ot,Et,_t,xt,kt,Pt,St,jt,Tt,At,It=(Ot=(wt=void 0===bt?{}:bt).connectHOC,Et=void 0===Ot?rt:Ot,_t=wt.mapStateToPropsFactories,xt=void 0===_t?ft:_t,kt=wt.mapDispatchToPropsFactories,Pt=void 0===kt?lt:kt,St=wt.mergePropsFactories,jt=void 0===St?dt:St,Tt=wt.selectorFactory,At=void 0===Tt?gt:Tt,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,c=void 0===u?mt:u,s=o.areOwnPropsEqual,l=void 0===s?at:s,f=o.areStatePropsEqual,p=void 0===f?at:f,d=o.areMergedPropsEqual,h=void 0===d?at:d,v=Ge(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=yt(e,xt,"mapStateToProps"),y=yt(t,Pt,"mapDispatchToProps"),m=yt(n,jt,"mergeProps");return Et(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 Nt=function(e){var t=function(t){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,t),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},ke(e),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return t.childContextTypes=Object(a.a)({},ke(e),B.a.PropTypes.number),t};function Ct(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 Dt=function(e,t,n){var r=Y.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?Ct(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{},Y.deep(n)):r},Rt=function(e){var t=e.collection,n=e.dispatch,r=e.collectionName,o=e.idAttribute,i=void 0===o?"id":o,a=e.attributes,u=void 0===a?["id"]:a,c=e.includeConfiguration,s=void 0!==c&&c;n(de({collectionName:r,items:t.map(f)})),t.on("add",(function(e){e.isNew()||n(he({collectionName:r,attributes:f(e)}))})),t.on("change:id",(function(e){n(he({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(ve({collectionName:r,attributes:f(e)}))})),s&&t.on("change:configuration",(function(e){n(ve({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:fe,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:pe,meta:{collectionName:t},payload:{order:n}}}({collectionName:r,order:t.pluck(i)}))}));var l=u.map((function(e){return"object"==typeof e?function(e){return e[Object.keys(e)[0]]}(e):e}));function f(e){return Dt(u,e.attributes,s&&e.configuration.attributes)}},Lt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.attributes,i=void 0===o?["id"]:o,a=e.includeConfiguration,u=void 0!==a&&a;r(de({collectionName:n,items:t.map((function(e){return Dt(i,e,u&&e.configuration)}))}))},Bt=n(19),Ft=n.n(Bt),Ut=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.idAttribute,i=e.attributes,a=e.includeConfiguration;(Ft.a.Collection&&t instanceof Ft.a.Collection?Rt:Lt)({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[Y(e.attribute)];return e.negated?n!=e.value:n==e.value}(e.condition,n))return!1;var t=Wt(n,e);return r(Y(e.collectionName),t)}))}function Wt(e,t){return"id"in t?t.id:e[Y(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,u=9,(Array(u).fill(0).join("")+a).slice(-u))))).replace(":basename",t.basename);var i,a,u}(e,t,o,n);return i&&(r[o]=i),r}),{})},t)};function Vt(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 zt=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?Vt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{collectionName:e,modelType:n[e]})};function Yt(e,t){return Z(Pe(e,{namespace:"files"})(t),(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r){return $t(e,t,n,r)}))}function Xt(){return Z((function(e){return e.files}),(function(e){return function(t,n){return n&&!!Pe(t)({id:n})(e)}}))}function $t(e,t,n,r){return zt(e,Gt(e,t,n),r)}function Kt(e){var t=e.page;return function(e,n){var r="function"==typeof t?t(n):t;return r?e.pageTypes[Y(r.type)]:null}}var Qt=Pe("pages"),Jt=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 Zt(e){return Z(Jt,(function(t){return t&&t.attributes[e]}))}function en(e,t){return Z(Qt(t),(function(t){return t&&t.attributes[e]}))}function tn(e){return Z(Qt(e),(function(e){return e&&e.attributes}))}function nn(e,t){return Z(Qt(t),(function(t){return t&&t.state.custom[e]}))}function rn(e){return un("isActive",e)}function on(e){return un("isPreloaded",e)}function an(e){return un("isPrepared",e)}function un(e,t){return Z(Qt(t),(function(t){return t&&t.state.common[e]}))}var cn=Oe.a.mark(ln),sn=Oe.a.mark(fn);function ln(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeLatest)([d,p,c],fn);case 2:case"end":return e.stop()}}),cn)}function fn(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(Ce.call)(De.delay,5e3);case 3:return t.next=5,Object(Ce.put)(w());case 5:case"end":return t.stop()}}),sn)}var pn=Oe.a.mark(dn);function dn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Ft.a.Collection){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(De.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(Ce.call)(vn,{pagesCollection:e,id:Ne(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(De.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(Ce.call)(hn,{pagesCollection:e,pageId:Ne(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()}}),pn)}function hn(e){var t=e.pagesCollection,n=e.pageId,r=e.linkId,o=e.name,i=e.value,a=gn(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 vn(e){var t=e.pagesCollection,n=e.id,r=e.name,o=e.value;gn(t,n).configuration.set(r,o)}function gn(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 yn=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(ln(),"t0",1);case 1:return e.delegateYield(dn(t),"t1",2);case 2:return e.next=4,Object(De.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(Ce.select)(en("type"));case 2:if(t=e.sent,!(o=n[t])){e.next=8;break}return e.next=7,Object(Ce.fork)(o);case 7:r=e.sent;case 8:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(De.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(Ce.cancel)(r);case 3:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),e)})))},mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),t}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=Nt("pages"),wn=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){Ft.a.render(B.a.createElement(He,{store:n},B.a.createElement(bn,{itemId:On(e)},B.a.createElement(mn,{mediaContext:{page:e.page("instance")}},B.a.createElement(t,null)))),o(e)),n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(g,e)}({id:On(e)}))},preload:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(f,e)}({id:On(e)}))},prepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(p,e)}({id:On(e)}))},unprepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(d,e)}({id:On(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 _(c,t,{position:n})}({id:On(e),position:r.position}))},activated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(u,e)}({id:On(e)}))},deactivating:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(l,e)}({id:On(e)}))},deactivated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(s,e)}({id:On(e)}))},resize:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(v,e)}({id:On(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 _(y,e)}({id:On(e)})),Ft.a.unmountComponentAtNode(e[0])}}};function On(e){return parseInt(e.attr("id"),10)}function En(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 _n(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?En(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}var xn,kn,Pn={init:function(e){var t=e.pages,n=e.dispatch;Ut({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:Te("pages",{idAttribute:"permaId",itemReducer:be(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),u=t.itemSaga,c=t.middleware,s=Ee(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(De.takeEvery)([ce,se,fe],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(Ce.select)(s);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(Ce.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(Ce.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(De.runSaga)(u(),{subscribe:function(n){return c.subscribe((function(r){Me(r,e)&&Ne(r)!=t||n(r)}))},dispatch:function(n){Ie(n,e,t),c.dispatch(n)},getState:function(){return xe(c.getState(),e,t)}}),r.prev=1,r.next=4,Object(Ce.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:t,pageTypeSagas:i}),middleware:o})}},Sn=(kn=ke(xn="pages"),function(e,t,n){var r=It(e?function(t,n){var r=e(xe(t,xn,n[kn]),n);return"function"==typeof r?function(e,t){return r(xe(e,xn,t[kn]),t)}:r}:null,t?function(e,n){var r=function(t){return Ie(t,xn,n[kn]),e(t)};return"function"==typeof t?t(r,n):Object(ae.b)(t,r)}:null,n);return function(e){var t=r(e),n=function(e){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,e),A(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)({},kn,this.context[kn]));return B.a.createElement(t,e)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},kn,B.a.PropTypes.number),n}});var jn=Sn(ee({loaded:on()}))(ie),Tn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page,t=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(jn,{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}(B.a.Component);Tn.defaultProps={propertyBaseName:"backgroundImage"};var An=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),t}(B.a.Component),In=function(e){return B.a.createElement("div",{className:"content",onTouchStart:e.onInteraction,onMouseMove:e.onInteraction},e.children)},Mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(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:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var 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}(L.Component),Nn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(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 B.a.createElement(Mn,{ref:"scroller",className:(e=this.props,U()(e.className,{"scroller-clipped_bottom":!!e.marginBottom})),style:Cn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var e}}]),t}(B.a.Component);function Cn(e){if(e.marginBottom)return{bottom:e.marginBottom}}Nn.childContextTypes={pageScroller:B.a.PropTypes.object};var Dn,Rn=Sn(ee({enabled:un("isActivated",Dn),initialScrollerPosition:function(e){return un("initialScrollerPosition",e)}()}))(Nn),Ln=function(e){return React.createElement(In,null,React.createElement(Rn,null,e.children))},Bn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),t}(B.a.Component);function Fn(e){return B.a.createElement("div",{className:Un(e)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:Hn(e)}),e.children)}function Un(e){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(e.marginBottom),e.marginBottom!=Fn.defaultProps.marginBottom))}function Hn(e){return{__html:e.page.text}}function Wn(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 qn(e){return function(t,n,r){return re(e,r)}}Fn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var Gn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(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}(B.a.Component),Vn=It(ee({targetPage:tn({id:Wn("pageLink.targetPageId")})}))(Gn);function zn(e){return React.createElement("div",{className:Yn(e)})}function Yn(e){return U()({load_image:e.lazy&&e.loaded},e.className,(t=e.pageType)?"is_".concat(t.name):"is_dangling",function(e){var t=Ht({candidates:Xn(e),page:e.page,fileExists:e.fileExists});if(t)return function(e,t){return[e.lazy?"lazy":null,t.cssClassPrefix,e.imageStyle,Wt(e.page,t)].filter(Boolean).join("_")}(e,t)}(e));var t}function Xn(e){return[$n(e)].concat(Object($.a)((t=e.pageType)?t.thumbnailCandidates:[]));var t}function $n(e){return{id:e.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}zn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Kn=Sn(ee({pageType:Kt({page:function(e){return e.page}}),fileExists:Xt()}))(zn),Qn=Sn(ee({loaded:on(),lazy:!0}))(Kn);function Jn(e){return U()("add_info_box",{empty:Zn(e),title_empty:V(e.title),description_empty:V(e.description),"add_info_box-hidden_during_playback":e.hiddenDuringPlayback})}function Zn(e){return V(e.title)&&V(e.description)}var er=function(e){return React.createElement("div",{className:Jn(e)},function(e){if(!V(e.title))return React.createElement("h3",null,e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})}(e))};function tr(e){return React.createElement("div",{className:U()("controls",e.className),"data-role":"player_controls",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}function nr(e){return B.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)}nr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var rr=nr,or={Checkmark:function(e){return React.createElement(rr,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(rr,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(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(e){return React.createElement(rr,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"}))},Info:function(e){return React.createElement(rr,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"}))},Pause:function(e){return React.createElement(rr,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(rr,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(rr,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"}))}},ir={toggleInfoBox:or.Info,mediaQuality:or.Gear,textTracks:or.Subtitles,activeMenuItem:or.Checkmark,loadingSpinner:or.CircleWithNotch,play:or.Play,pause:or.Pause};function ar(e){var t=ir[e.name];if(!t)throw new Error('No icon registered for "'.concat(e.name,'".'));return B.a.createElement(t,e)}var ur=function(e){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ar,{name:"loadingSpinner"}))},cr=function(e){return Sn(ee({id:Z(rn(),(function(e){return e?"firstContent":void 0}))}))(e)};var sr=cr((function(e){return React.createElement("a",{className:lr(e),href:"#",tabIndex:"4",id:e.id,title:e.title,onClick:fr(e)},function(e){return e.iconName?React.createElement(ar,{name:e.iconName}):React.createElement("span",null)}(e))}));function lr(e){return U()("vjs-play-control",{"vjs-playing":e.isPlaying},{"player_controls-play_button-custom_icon":!!e.iconName})}function fr(e){return function(t){e.onClick&&e.onClick(t),t.preventDefault()}}function pr(e){return React.createElement("div",{className:U()(e.className)},function(e){if(isNaN(e))return dr;var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/60/60);return r>0?"".concat(r,":").concat(hr(n),":").concat(hr(t)):"".concat(n,":").concat(hr(t))}(e.value))}var dr="-:--";function hr(e){return e<10?"0"+e:e}pr.defaultProps={value:0};var vr=function(e){return React.createElement(pr,{className:"vjs-current-time",value:e.currentTime})},gr=function(e){return React.createElement("div",{className:"vjs-time-divider"},"/")},yr=function(e){return React.createElement(pr,{className:"vjs-duration",value:e.duration})},mr=n(94),br=n.n(mr),wr=n(36),Or=n.n(wr),Er=37,_r=39,xr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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==Er?t=Math.max(0,r.props.currentTime-1):e.keyCode==_r&&(t=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(t)},r}return R(t,e),A(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 B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(mr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:kr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:kr(this.playProgress())}}),B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():kr(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}(B.a.Component);function kr(e){return e>0?100*e+"%":0}xr.defaultProps={currentTime:0,bufferedEnd:0};var Pr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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 R(t,React.Component),A(t,[{key:"render",value:function(){var e=this,t=this.props;return React.createElement("div",{className:Sr(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:Ar(t,"link"),href:"#",tabIndex:"4",title:t.title,onClick:this.onLinkClick},React.createElement(ar,{className:Ar(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:jr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Tr(e,n.value,t)},function(e){if(e.active)return React.createElement(ar,{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:Ar(e,"sub_menu_item_annotation")},t.annotation)}(e,n)))}))}(e,t))}(t,this.closeMenu))}}]),t}();function Sr(e,t){return U()({"player_controls-menu_bar_button-sub_menu_visible":t},Ar(e))}function jr(e){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":e.active})}function Tr(e,t,n){return function(r){r.preventDefault(),n(),e.onSubMenuItemClick&&e.onSubMenuItemClick(t)}}function Ar(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 U()(["player_controls-menu_bar_button"].concat(n).join("_"),[e.className].concat(n).join("_"))}function Ir(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(Pr,{className:"player_controls-quality_menu_button",title:e.buttonTitle,iconName:"mediaQuality",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Mr(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(Pr,{className:"player_controls-text_tracks_menu_button",title:e.buttonTitle,iconName:"textTracks",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Nr(e){return React.createElement("div",{className:Cr(e)},function(e){return e.additionalButtons.map((function(t){return React.createElement(Pr,{title:t.label,iconName:t.iconName,className:t.className,key:t.name,onClick:Dr(e.onAdditionalButtonClick,t.name),onMouseEnter:Dr(e.onAdditionalButtonMouseEnter,t.name),onMouseLeave:Dr(e.onAdditionalButtonMouseLeave,t.name)})}))}(e),React.createElement(Mr,{buttonTitle:e.textTracksMenuButtonTitle,items:e.textTracksMenuItems,onItemClick:e.onTextTracksMenuItemClick}),React.createElement(Ir,{buttonTitle:e.qualityMenuButtonTitle,items:e.qualityMenuItems,onItemClick:e.onQualityMenuItemClick}))}function Cr(e){return U()(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 Dr(e,t){if(e)return function(){return e(t)}}function Rr(e){return function(t){function n(e){var t;return j(this,n),(t=N(this,C(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 R(n,t),A(n,[{key:"componentDidMount",value:function(){this.element=Ft.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(e,this.props)}}]),n}(B.a.Component)}function Lr(e){return U()("vjs-control-bar",{with_quality_menu_present:e.qualityMenuItems&&e.qualityMenuItems.length>=2,with_text_tracks_menu_present:e.textTracksMenuItems&&e.textTracksMenuItems.length>=2})}Pr.defaultProps={subMenuItems:[]},Ir.defaultProps={items:[]},Mr.defaultProps={items:[]},Nr.defaultProps={additionalButtons:[],standAlone:!0};var Br=Rr((function(e){return B.a.createElement(tr,e,B.a.createElement("span",{className:"hint"},e.hint),B.a.createElement(er,Object.assign({},e.infoBox,{hiddenDuringPlayback:e.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Lr(e)},function(e){if(e.isLoading)return B.a.createElement(ur,e)}(e),B.a.createElement("div",{className:"play_button"},B.a.createElement(sr,{title:e.playButtonTitle,iconName:e.playButtonIconName,isPlaying:e.isPlaying,onClick:e.onPlayButtonClick})),function(e){if(e.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(vr,e),B.a.createElement(gr,null),B.a.createElement(yr,e),B.a.createElement(xr,e))}(e),B.a.createElement("div",{className:"control_bar_text"},e.controlBarText)),B.a.createElement(Nr,{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 Fr(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 Ur=Z(Hr,(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?Fr(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({locale:e},n))}}));function Hr(e){return e.i18n.locale}var Wr=It(ee({t:Ur}))((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")))})),qr=function(e){return PAGEFLOW_EDITOR?e:function(){return!1}},Gr=Pe("chapters");var Vr=Gr,zr=Pe("storylines");function Yr(){return function(e,t){var n=Xr()(e,t);return n?Vr({id:n.chapterId})(e,t):null}}function Xr(){return function(e,t){return tn({id:function(e,t){return Z(zr(t),(function(t){return t&&t[e]}))}("parentPagePermaId",{id:function(e,t){return Z(Gr(t),(function(t){return t&&t[e]}))}("storylineId",{id:en("chapterId",{id:e.currentPageId})(e,t)})(e,t)})(e,t)})(e,t)}}function $r(e){var t=e.property;return function(e){return e.settings[t]}}var Kr=Pe("widgets");function Qr(e,t){var n=t.role;return Z(Kr({id:n}),(function(t){return t&&t[e]}))}function Jr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return e}))}function Zr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return!(!e||!e.editing)}))}var eo=function(e){return U()({is_playing:e.shouldPlay,is_playing_delayed:e.hasBeenPlayingJustNow,is_paused:!e.shouldPlay})},to="MEDIA_TOGGLE_PLAYING",no="MEDIA_PLAY",ro="MEDIA_PLAY_AND_FADE_IN",oo="MEDIA_PAUSE",io="MEDIA_FADE_OUT_AND_PAUSE",ao="CHANGE_VOLUME_FACTOR",uo="MEDIA_PLAY_FAILED",co="MEDIA_PLAYING_MUTED",so="MEDIA_SCRUB_TO",lo="MEDIA_SEEK_TO",fo="MEDIA_PREBUFFER",po="MEDIA_PREBUFFERED",ho="MEDIA_ABORT_PREBUFFERING",vo="MEDIA_BUFFER_UNDERRUN",go="MEDIA_BUFFER_UNDERRUN_CONTINUE",yo="MEDIA_META_DATA_LOADED",mo="MEDIA_PROGRESS",bo="MEDIA_PLAYING",wo="MEDIA_PAUSED",Oo="MEDIA_TIME_UPDATE",Eo="MEDIA_ENDED",_o="MEDIA_SEEKING",xo="MEDIA_SEEKED",ko="MEDIA_WAITING",Po="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",So="MEDIA_USER_INTERACTION",jo="MEDIA_USER_IDLE",To="MEDIA_CONTROLS_ENTERED",Ao="MEDIA_CONTROLS_LEFT",Io="MEDIA_FOCUS_ENTERED_CONTROLS",Mo="MEDIA_FOCUS_LEFT_CONTROLS",No="MEDIA_CONTROLS_HIDDEN",Co="SHOW_INFO_BOX_DURING_PLAYBACK",Do="HIDE_INFO_BOX_DURING_PLAYBACK",Ro="TOGGLE_INFO_BOX_DURING_PLAYBACK",Lo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Bo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Fo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return{togglePlaying:function(){return n(to)},play:function(){return n(no)},playAndFadeIn:function(e){var t=e.fadeDuration;return n(ro,{fadeDuration:t})},pause:function(){return n(oo)},fadeOutAndPause:function(e){var t=e.fadeDuration;return n(io,{fadeDuration:t})},changeVolumeFactor:function(e,t){var r=t.fadeDuration;return n(ao,{volumeFactor:e,fadeDuration:r})},playFailed:function(){return n(uo)},playingMuted:function(){return n(co)},scrubTo:function(e){return n(so,{time:e})},seekTo:function(e){return n(lo,{time:e})},prebuffer:function(){return n(fo)},prebuffered:function(){return n(po)},abortPrebuffering:function(){return n(ho)},bufferUnderrun:function(){return n(vo)},bufferUnderrunContinue:function(){return n(go)},playing:function(){return n(bo)},paused:function(){return n(wo)},timeUpdate:function(e){var t=e.currentTime,r=e.duration;return n(Oo,{currentTime:t,duration:r})},metaDataLoaded:function(e){var t=e.currentTime,r=e.duration;return n(yo,{currentTime:t,duration:r})},progress:function(e){var t=e.bufferedEnd;return n(mo,{bufferedEnd:t})},ended:function(){return n(Eo)},seeking:function(){return n(_o)},seeked:function(){return n(xo)},waiting:function(){return n(ko)},hasNotBeenPlayingForAMoment:function(e){return n(Po)},userInteraction:function(){return n(So)},userIdle:function(){return n(jo)},controlsEntered:function(){return n(To)},controlsLeft:function(){return n(Ao)},focusEnteredControls:function(){return n(Io)},focusLeftControls:function(){return n(Mo)},controlsHidden:function(){return n(No)},showInfoBoxDuringPlayback:function(){return n(Co)},hideInfoBoxDuringPlayback:function(){return n(Do)},toggleInfoBoxDuringPlayback:function(){return n(Ro)},saveMediaElementId:function(e){return n(Lo,{id:e})},discardMediaElementId:function(){return n(Bo)}};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 Uo(e){return S({property:"textTrack",value:e?{srclang:e.srclang,kind:e.kind}:{}})}function Ho(e){return e.backgroundMedia.muted}function Wo(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 qo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===e?"default":e))}function Go(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return function(e){return Object(ae.b)(Fo({scope:t}),e)}}function Vo(e){var t=e.file,n=e.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z($r({property:"textTrack"}),$r({property:"volume"}),Ur,Hr,function(e,t){var n=t.parent;return Z(Ee(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 u=t[a];return u.id&&u.parentFileId==n.id&&u.parentFileModelType==n.modelType&&i.push($t(e,u,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:t}),r,(function(e,t,n,r,o,i){e=e||{};var u=o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(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}(u,i,r,t);return{files:u.sort((function(e,t){return(e.displayLabel||"").localeCompare(t.displayLabel||"")})),autoFile:c,activeFileId:Yo(u,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 Yo(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 Xo(e){return Z(e.autoplayWhenBackgroundMediaMuted,$o({id:e.id}),Ho,(function(e,t,n){return t&&(!n||e)}))}function $o(e){return Z(en("autoplay",e),(function(e){return!1!==e}))}function Ko(e){var t=e.playerActions,n=e.playerState,r=e.playerControlsComponent;return B.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:Zo(e),infoBoxHiddenDuringPlayback:ei(e),onAdditionalButtonMouseEnter:t.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:t.hideInfoBoxDuringPlayback,onAdditionalButtonClick:t.toggleInfoBoxDuringPlayback,qualityMenuItems:ni(e.qualities,e.file,e.activeQuality,e.t),qualityMenuButtonTitle:e.t("pageflow.public.media_quality"),onQualityMenuItemClick:e.updateVideoQualitySetting,textTracksMenuItems:ti(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:Jo(n)}))}Ko.defaultProps={playerControlsComponent:Br,qualities:[],textTracks:{files:[]}};var Qo=It(ee({activeQuality:$r({property:"videoQuality"}),t:Ur}),{updateTextTrackSettings:Uo,updateVideoQualitySetting:function(e){return S({property:"videoQuality",value:e})}})(Ko);function Jo(e){return U()(eo(e))}function Zo(e){var t=e.t;return Zn(e.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:t("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ei(e){var t=e.playerState;return void 0===t.infoBoxHiddenDuringPlayback?!!e.textTracks.activeFileId:t.infoBoxHiddenDuringPlayback}function ti(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 ni(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 ri(e){return function(t){return t.entry[e]}}function oi(e){var t=e.entrySlug,n=e.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(t,"/").concat(r,"/").concat(n.id)}var ii=It(ee({t:Ur,entrySlug:ri("slug")}))((function(e){return e.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:oi(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})),ai=Z(nn("media.pageScrollerMargin"),(function(e){return e&&e.bottom}));function ui(e){var t=e.page,n=e.playerState,r={title:t.additionalTitle,description:t.additionalDescription};return React.createElement(H,{className:li(e.className,si(e),e.textTracks,n)},React.createElement(W,{pageHasPlayerControls:!0},e.children,React.createElement(An,{page:t,className:eo(n)})),React.createElement(In,{onInteraction:function(){return n.userIsIdle&&e.playerActions.userInteraction()},classNames:eo(n)},React.createElement(Qo,{file:e.file,textTracks:e.textTracks,playerState:n,playerActions:e.playerActions,qualities:e.qualities,controlBarText:e.controlBarText,infoBox:r,playerControlsComponent:e.playerControlsComponent}),React.createElement(Rn,{className:eo(n),marginBottom:e.dynamicPageScrollerMargin&&e.pageScrollerMarginBottom},React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t,marginBottom:e.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(ii,{file:e.file})))))}ui.defaultProps={playerControlsCanOverlapPageText:!0};var ci=Sn(ee({pageScrollerMarginBottom:ai,textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("page.defaultTextTrackFileId")}),hasAutoplaySupport:qn("autoplay support"),shouldAutoplay:Xo({id:Wn("page.permaId"),autoplayWhenBackgroundMediaMuted:Wn("autoplayWhenBackgroundMediaMuted")})}))(ui);function si(e){return e.shouldAutoplay&&e.hasAutoplaySupport&&!e.playerState.playFailed}function li(e,t,n,r){return U()(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 fi=Sn(ee({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:en("atmoDuringPlayback"),defaultTextTrackFileId:en("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)})),pi=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.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||!di(e.sources,this.props.sources)||!di(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}(B.a.Component);function di(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 hi(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}pi.defaultProps={tagName:"video",sources:[],tracks:[]};var vi=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 gi(e,t,n){e.one("timeupdate",(function(){yi(e,null,t(),n())}))}function yi(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)}var mi,bi=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,u=e.createPlayer,c=void 0===u?hi:u,s=function(e){function r(e,n){var o;return j(this,r),(o=N(this,C(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,u;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,u=n(),a===i&&u.currentTime>0&&e.currentTime(u.currentTime),u.shouldPrebuffer&&e.prebuffer().then(r.prebuffered,(function(){})),u.isPlaying&&e.play(),e.on("canplay",(function(){n().shouldPlay&&e.paused()&&e.play()})),o.displaysTextTracksInNativePlayer||function(e,t,n){e.on("pause",(function(){gi(e,t,n)})),e.textTracks().on("addtrack",(function(){yi(e,null,t(),n())})),yi(e,null,t(),n()),gi(e,t,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),vi(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 R(r,e),A(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||yi(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 B.a.createElement(pi,{tagName:t,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),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}(B.a.Component);s.contextTypes={mediaContext:B.a.PropTypes.object},s.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=It(ee({textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("defaultTextTrackFileId")}),quality:$r({property:"videoQuality"}),hasNativeVideoPlayer:qn("native video player"),hasHighBandwidth:qn("high bandwidth"),textTrackPosition:Oi}),{updateTextTrackSettings:Uo})(s);return l.WrappedComponent=s,l},wi=(mi="slimPlayerControls",function(e){return e.widgetPresence[mi]});function Oi(e,t){var n=t.playerState,r=t.textTrackPosition;return r||(wi(e)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Ei=bi({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 _i(e,t){return t&&t.match(/^\/\//)?"".concat(e,":").concat(t):t}function xi(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 ki,Pi=It(ee({isEnabled:(ki="structured_data",function(e){return e.features.indexOf(ki)>=0})}))((function(e){var t=e.data;return e.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null}));var Si=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:t.basename,description:t.alt,url:_i("https",t.urls.mp3),duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Pi,{data:r})}));function ji(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Ei,structuredDataComponent:Si}))}var Ti=function(e,t,n,r){if(r&&r.height&&t&&"contain"!=t){var o,i,a,u=e.width/e.height;if("width"==(r.width/r.height>u?"width":"height")?(o=(i=r.height)*u,a=r.width/o):(i=(o=r.width)/u,a=r.height/i),!("smart_contain"==t&&a>1.2)){var c=o*a,s=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-s)*f/100,width:c,height:s}}}};function Ai(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 Ii(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 Mi(e){return B.a.createElement(Or.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(t){return function(e,t){var n=Ti(e.videoFile,e.fit,e.position,t);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ai(n,t),style:Ni(n)},e.children))}(e,t)}))}function Ni(e){return e&&function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:"absolute"},e)}var Ci=bi({tagName:"video",sources:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(t=t||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(e.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(e.urls[o],"?u=1")}];return e.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(e.urls["dash-playlist"])}].concat(i)),i}return e.urls[t]||(t="high"),[{type:"video/mp4",src:"".concat(e.urls[t],"?u=1")}]},poster:Li});function Di(e){return B.a.createElement(Mi,{videoFile:e.file,fit:e.fit,position:e.position},B.a.createElement(Ci,{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 Ri=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.file,n=e.posterImageFile,r=e.preloadImage,o=Li(t,n);o&&r(o)}},{key:"render",value:function(){return null}}]),t}(B.a.Component);function Li(e,t){var n=re("mobile platform")?"medium":"large";return t?t.urls[n]:e.urls["poster_".concat(n)]}Ri.defaultProps={preloadImage:oe};var Bi=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:t.basename,description:t.alt,url:_i("https",t.urls.high),thumbnailUrl:_i("https",t.urls.poster_medium),width:t.width,height:t.height,duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Pi,{data:r})}));var Fi=It(ee({file:Yt("videoFiles",{id:Wn("videoFileId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageFileId")}),muted:function(e,t){return t.muted||Ho(e)}}))((function(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Di,preloadComponent:Ri,structuredDataComponent:Bi}))}));function Ui(e){var t=e.page,n=Y.concat(e.propertyNamePrefix,e.videoPropertyBaseName),r=Y.concat(e.propertyNamePrefix,e.posterImagePropertyBaseName);return React.createElement(Fi,{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})}Ui.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Hi=It(ee({fileExists:Xt()}))((function(e){var t=function(e){return(t=e.propertyNamePrefix,[{propertyBaseName:Y.concat(t,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.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(Tn,{page:e.page,propertyBaseName:t.propertyBaseName,fileCollection:t.collection}):React.createElement("noscript",null)}));var Wi=It(ee({fileExists:Xt(),hasMobilePlatform:qn("mobile platform"),hasAutoplaySupport:qn("autoplay support")}))((function(e){return e.hasMobilePlatform&&function(e){var t=Y.concat(e.propertyNamePrefix,"mobilePosterImageId");return e.fileExists("imageFiles",e.page[t])}(e)?React.createElement(Hi,{page:e.page,propertyNamePrefix:e.propertyNamePrefix}):React.createElement(Ui,Object.assign({loop:!0,fit:"cover",muted:!e.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},e))}));var qi=It(ee({file:Yt("imageFiles",{id:Wn("fileId")}),entryPublishedAt:ri("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:_i("https",t.urls.large),width:t.width,height:t.height,datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Pi,{data:r})}return null}));var Gi=Sn(ee({page:tn(),playerState:qo({scope:"background"})}),X({playerActions:Go({scope:"background"})}))((function(e){var t=e.page,n=e.playerState,r=e.playerActions,o=e.propertyNamePrefix;return"video"==t[Y.concat(o,"backgroundType")]?React.createElement(Wi,{page:t,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Tn,{page:t,propertyNamePrefix:o,structuredDataComponent:qi})}));function Vi(e){return React.createElement(W,null,React.createElement(Gi,{propertyNamePrefix:e.propertyNamePrefix}),React.createElement(An,{page:e.page}))}var zi=It(ee({isEntryReady:function(e){return!!e.entry.isReady}}))((function(e){var t=e.page;return e.isEntryReady?"video"==t.backgroundType||"video"==t.type?React.createElement(Yi,{videoId:t.videoFileId,posterImageId:t.posterImageId}):React.createElement(Xi,{imageId:t.backgroundImageId}):null})),Yi=It(ee({videoFile:Yt("videoFiles",{id:Wn("videoId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageId")})}))((function(e){var t=e.videoFile,n=e.posterImageFile;return n?React.createElement($i,{file:n}):React.createElement($i,{file:t})})),Xi=Sn(ee({file:Yt("imageFiles",{id:Wn("imageId")}),pageIsPrepared:an()}))($i);function $i(e){var t=e.file;return t&&t.isReady&&an?React.createElement("img",{src:t.urls.print,alt:t.alt,className:"print_image"}):React.createElement("noscript",null)}function Ki(e){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(e){if(!V(e.title))return React.createElement("h3",{className:Qi(e)},e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:e.description}})}(e))}function Qi(e){var t=!V(e.title)&&!V(e.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":t})}var Ji="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var Zi=Sn(null,{setPageScrollerMarginBottom:function(e){return{type:Ji,payload:{value:e},meta:{collectionName:"pages"}}}})((function(e){return React.createElement(Or.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 ea=cr((function(e){return React.createElement("a",{href:"#",className:ta(e),id:e.id,tabIndex:"4",title:e.title,onClick:na(e)},React.createElement(ar,{name:e.isPlaying?"pause":"play"}))}));function ta(e){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":e.inverted})}function na(e){return function(t){t.preventDefault(),e.onClick&&e.onClick()}}var ra="rgba(170, 170, 170, 1)",oa="rgba(0, 0, 0, 0.5)",ia="#fff",aa="#888";var ua=Sn(ee({pageIsPrepared:an(),waveformColor:en("waveformColor"),mainColor:function(e){return e.theme.mainColor}}))((function(e){return e.pageIsPrepared&&e.mediaElementId?React.createElement(Or.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(Ft.a,{mediaElt:"#".concat(e.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:e.waveformColor||e.mainColor,waveColor:e.inverted?oa:ra,cursorColor:e.inverted?aa:ia,height:n}}),React.createElement(ea,{isPlaying:e.isPlaying,title:e.playButtonTitle,inverted:e.inverted,onClick:e.onPlayButtonClick})))})):null}));function ca(e){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(pr,{value:e.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(pr,{value:e.duration,className:"waveform_player_controls-times_display-duration"}))}var sa=Sn(ee({inverted:en("invert")}))((function(e){return React.createElement("div",{className:la(e)},React.createElement(Zi,null,React.createElement(ua,{isPlaying:e.isPlaying,inverted:e.inverted,playButtonTitle:e.playButtonTitle,mediaElementId:e.mediaElementId,onPlayButtonClick:e.onPlayButtonClick}),React.createElement(ca,{currentTime:e.currentTime,duration:e.duration}),React.createElement(Ki,e.infoBox)),React.createElement(Nr,{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 la(e){return U()("waveform_player_controls",{"waveform_player_controls-inverted":e.inverted})}var fa="HOTKEY_SPACE",pa="HOTKEY_TAB";function da(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 ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var va=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 ha({},e,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ha({},e,{shouldPrebuffer:!1});case no:return ha({},e,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case bo:return ha({},e,{shouldPlay:!0,isPlaying:!0});case uo:return ha({},e,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case ro:return ha({},e,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:t.payload.fadeDuration,isLoading:!0});case oo:return ha({},e,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case wo:return e.bufferUnderrun?ha({},e,{isPlaying:!1,hasPlayed:!0}):ha({},e,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case io:return ha({},e,{shouldPlay:!1,fadeDuration:t.payload.fadeDuration,isLoading:!1});case ao:return ha({},e,{volumeFactor:t.payload.volumeFactor,volumeFactorFadeDuration:t.payload.fadeDuration});case fo:return ha({},e,{shouldPrebuffer:!0});case po:return ha({},e,{shouldPrebuffer:!1});case ko:return ha({},e,{isLoading:!0});case vo:return ha({},e,{bufferUnderrun:!0});case go:return ha({},e,{bufferUnderrun:!1});case so:return ha({},e,{scrubbingAt:t.payload.time});case lo:return ha({},e,{shouldSeekTo:t.payload.time});case _o:return ha({},e,{isLoading:!0});case xo:return ha({},e,{scrubbingAt:void 0,isLoading:!1});case yo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration});case mo:return ha({},e,{bufferedEnd:t.payload.bufferedEnd});case Oo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration,isLoading:!1});case Eo:return ha({},e,{shouldPlay:!1,isPlaying:!1});case Po:return ha({},e,{hasBeenPlayingJustNow:!1});case pa:case So:return ha({},e,{userIsIdle:!1,controlsHidden:!1});case jo:return ha({},e,{userIsIdle:!0});case To:return ha({},e,{userHoveringControls:!0});case Ao:return ha({},e,{userHoveringControls:!1});case Io:return ha({},e,{focusInsideControls:!0});case Mo:return ha({},e,{focusInsideControls:!1});case No:return ha({},e,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Do:return ha({},e,{infoBoxHiddenDuringPlayback:!0});case Co:return ha({},e,{infoBoxHiddenDuringPlayback:!1});case Ro:return ha({},e,{infoBoxHiddenDuringPlayback:!e.infoBoxHiddenDuringPlayback});case Lo:return ha({},e,{mediaElementId:t.payload.id});case Bo:return ha({},e,{mediaElementId:null});default:return e}}};function ga(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 ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ma=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ji:return ya({},e,{bottom:t.payload.value});default:return e}},ba=Oe.a.mark(Oa),wa=Oe.a.mark(Ea);function Oa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([fa,to],Ea,Fo());case 2:case"end":return e.stop()}}),ba)}function Ea(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(Ce.select)(qo());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Ce.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Ce.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Ce.put)(t());case 13:case"end":return r.stop()}}),wa)}var _a=Oe.a.mark(ka),xa=Oe.a.mark(Pa);function ka(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([uo,co],Pa);case 2:case"end":return e.stop()}}),_a)}function Pa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return e.stop()}}),xa)}var Sa="BACKGROUND_MEDIA_MUTE",ja="BACKGROUND_MEDIA_UNMUTE";function Ta(){return{type:ja}}var Aa=Oe.a.mark(Ba),Ia=Oe.a.mark(Fa),Ma=Oe.a.mark(Ua),Na=Oe.a.mark(Ha),Ca=Fo(),Da=Ca.play,Ra=Ca.prebuffer,La=Ca.waiting;function Ba(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.takeEvery)(u,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(Ce.race)({task:Object(Ce.call)(Ua,e),cancel:Object(Ce.take)(l)}),Object(Ce.race)({task:Object(Ce.call)(Fa,e),cancel:Object(Ce.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Aa)}function Fa(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(Ce.select)($o());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Ce.race)({unmute:Object(Ce.take)(ja),cancel:Object(Ce.take)(l)});case 8:if(t=n.sent,!t.unmute){n.next=12;break}return n.delegateYield(Ua(e),"t1",12);case 12:case"end":return n.stop()}}),Ia)}function Ua(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ha(e),"t0",1);case 1:if(!(t=n.t0)){n.next=5;break}return n.next=5,Object(Ce.put)(La());case 5:return n.next=7,[Object(Ce.take)(po),Object(Ce.put)(Ra())];case 7:if(!t){n.next=12;break}return n.next=10,Object(Ce.call)(De.delay,1e3);case 10:return n.next=12,Object(Ce.put)(Da());case 12:case"end":return n.stop()}}),Ma)}function Ha(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(Ce.select)(Xo({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&t);case 5:case"end":return o.stop()}}),Na)}var Wa=Oe.a.mark(qa);function qa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(no,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ga);case 5:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Va);case 5:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),Wa)}function Ga(){pageflow.events.trigger("scroll_indicator:disable")}function Va(){pageflow.events.trigger("scroll_indicator:enable")}var za=Oe.a.mark(Ya);function Ya(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.hasNotBeenPlayingForAMoment,n.next=3,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.race)({task:Object(Ce.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(Ce.call)(De.delay,700);case 2:return e.next=4,Object(Ce.put)(t(!1));case 4:case"end":return e.stop()}}),e)}))),cancel:Object(Ce.take)(bo)});case 2:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),za)}var Xa=Oe.a.mark(Ka),$a=Oe.a.mark(Qa);function Ka(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.userIdle,n.next=3,Object(De.takeLatest)([no,So,pa],Qa,t);case 3:case"end":return n.stop()}}),Xa)}function Qa(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(De.delay,3e3);case 2:return t.next=4,Object(Ce.put)(e());case 4:case"end":return t.stop()}}),$a)}var Ja=Oe.a.mark(Za);function Za(){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=Fo({scope:t}),r=n.fadeOutAndPause,i.next=4,Object(De.takeEvery)(s,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.put)(r({fadeDuration:400}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return i.stop()}}),Ja)}var eu=Oe.a.mark(tu);function tu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Eo,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(Ce.select)(en("autoChangePageOnEnded"));case 2:return t=e.sent,e.next=5,Object(Ce.select)(rn());case 5:if(n=e.sent,!t||!n){e.next=9;break}return e.next=9,Object(Ce.call)(nu);case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),eu)}function nu(){pageflow.slides.next()}var ru=Oe.a.mark(au);function ou(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 iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ou(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function au(){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=[Oa(),ka(),qa()],e.playsInNativePlayer&&e.playsInNativePlayer()||t.push([tu(),Za(),Ya()]),re("mobile platform")||t.push([Ba(iu({},e,{canAutoplay:re("autoplay support")}))]),e.hideControls&&t.push([Ka()]),r.next=7,t;case 7:case"end":return r.stop()}}),ru)}var uu=Oe.a.mark(lu),cu=Oe.a.mark(fu),su=Oe.a.mark(pu);function lu(){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=Fo({scope:t}),o.next=4,Object(De.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(Ce.race)({task:[Object(Ce.put)(n.prebuffer()),Object(Ce.call)(fu,n),Object(Ce.call)(pu,n)],cancel:Object(Ce.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return o.stop()}}),uu)}function fu(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(Ce.put)(t(0,{fadeDuration:0}));case 3:return r.next=5,Object(Ce.take)(po);case 5:return r.next=7,Object(Ce.put)(n());case 7:case"end":return r.stop()}}),cu)}function pu(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(Ce.take)(po),Object(Ce.take)(u)];case 3:return n.next=5,Object(Ce.put)(t(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),su)}function du(e){return{reducers:{"media.default":va({scope:"default"}),"media.pageScrollerMargin":ma},saga:Oe.a.mark((function t(){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,au(e);case 2:case"end":return t.stop()}}),t)}))}}var hu={reducers:{"media.background":va({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,[lu({scope:"background"}),Za({scope:"background"}),ka()];case 2:case"end":return e.stop()}}),e)}))};var vu=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(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 R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page;return B.a.createElement(H,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Wr,{onClick:this.onCloseButtonClick}),B.a.createElement(Nr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(W,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(An,{page:e})),B.a.createElement(In,null,B.a.createElement(Br,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:e.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:e.additionalTitle,description:e.additionalDescription}}),B.a.createElement(Rn,null,B.a.createElement(Bn,{page:e}),B.a.createElement(Fn,{page:e}))))}}]),t}(B.a.Component),gu=Sn(ee({textIsHidden:function(e){return e.hideText.isActive},textHasBeenHidden:function(e){return e.hideText.hasBeenActive}}))(vu),yu="HIDE_TEXT_ACTIVATE",mu="HIDE_TEXT_DEACTIVATE";var bu=Oe.a.mark(wu);function wu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(mu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ou);case 5:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),bu)}function Ou(){pageflow.events.trigger("scroll_indicator:enable")}var Eu={name:"interactivePageBackground",saga:wu};function _u(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 xu(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 ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pu=new function(){var e=[];this.register=function(t,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=_u(n,["component","reduxModules"]);r||s("Requires component option to be present"),Array.isArray(i)||s("Expected reduxModules option to be an array.");var u=[],c=i.reduce((function(e,t){return"object"==typeof t&&3==new Set(Object.keys(t).concat(["name","reducers","saga"])).size||s("Expected redux module to be object with name, reducers and saga properties at most."),t.reducers&&"object"!=typeof t.reducers&&s("Expected reducers property of ".concat(t.name," reduxModule to be object.")),t.saga&&u.push(t.saga),ku({},e,{},t.reducers)}),{});function s(e){throw new Error("".concat(e," Check registerPageType call of ").concat(t," page type."))}e.push(ku({name:t,component:r,reducer:Object.keys(c).length?Object(ae.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,u.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}))}},Su=Pu.register;function ju(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ju(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=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)}},Iu=Au.register,Mu=n(172),Nu={muted:!1},Cu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Sa:return{muted:!0};case ja:return{muted:!1};default:return e}};function Du(e){var t=e.t,n=e.muted,r=e.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.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 Ru={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||(n.on("background_media:mute",(function(e){return r({type:Sa})})),n.on("background_media:unmute",(function(e){return r(Ta())})))},createReducers:function(){return{backgroundMedia:Cu}},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(De.takeEvery)(ja,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return t.unmute()}));case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};function Lu(e){return e.cookieNotice.visible}function Bu(e){return e.theming.privacy_link_url}var Fu="COOKIE_NOTICE_REQUEST",Uu="COOKIE_NOTICE_DISMISS";function Hu(){return{type:Uu}}function Wu(e){var t=e.isCookieNoticeVisible,n=e.editing,r=e.t,o=e.dismiss;return t||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.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 B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(e),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function qu(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 Gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vu=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 Fu:return e.dismissed?e:Gu({},e,{visible:!0});case Uu:return{dismissed:!0,visible:!1};default:return e}}},zu={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||n.on("cookie_notice:request",(function(){return r({type:Fu})}))},createReducers:function(e){var t=e.cookies;return{cookieNotice:Vu({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(De.takeEvery)(Fu,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(Ce.select)(Lu);case 2:if(!e.sent){e.next=10;break}return e.next=5,Object(Ce.cps)(Yu,t);case 5:return n=e.sent,e.next=8,Object(Ce.take)(Uu);case 8:return e.next=10,Object(Ce.call)(n);case 10:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)(Uu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.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 Yu(e,t){e.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(e){return t(null,e)}))}var Xu={createReducers:function(e){var t=e.enabledFeatureNames;return{features:function(){return t}}}},$u="THEMING_INIT";var Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $u:return t.payload.theming;default:return e}},Qu={init:function(e){var t=e.theming;(0,e.dispatch)(function(e){return{type:$u,payload:{theming:e}}}(t))},createReducers:function(){return{theming:Ku}}},Ju={init:function(e){var t=e.storylines,n=e.dispatch;Ut({collection:t,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Te("storylines")}}},Zu={init:function(e){var t=e.chapters,n=e.dispatch;Ut({collection:t,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Te("chapters")}}},ec="PAGE_TYPES_INIT";var tc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ec:return t.payload.pageTypes;default:return e}},nc={createReducers:function(){return{pageTypes:tc}},init:function(e){var t=e.pageTypesSeed;(0,e.dispatch)(function(e){var t=e.pageTypes;return{type:ec,payload:{pageTypes:t}}}({pageTypes:Y.deep(t)}))}},rc="CURRENT_PAGE_CHANGE";var oc=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 rc:return t.payload.id;default:return e}},ic=function(e,t){e.on("page:change",(function(e){return t(function(e){var t=e.id;return{type:rc,payload:{id:t}}}({id:e.getPermaId()}))}))},ac={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||ic(n,r)},createReducers:function(){return{currentPageId:oc}}},uc={init:function(e){var t=e.files,n=e.dispatch;Object.keys(t).forEach((function(e){Ut({collection:t[e],collectionName:Y(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=Y.keys(r),i=Y.keys(i),{files:Object(ae.c)(Object.keys(t).reduce((function(e,t){return e[t=Y(t)]=Te(t,{idAttribute:"permaId"}),e}),{})),fileUrlTemplates:function(e){return r},modelTypes:function(e){return i}}}},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 x:return t.payload.settings;default:return e}},sc={init:function(e){var t=e.isServerSide,n=e.settings,r=e.dispatch;t||(r(P({settings:n.toJSON()})),n.on("change",(function(){return r(P({settings:n.toJSON()}))})))},createReducers:function(){return{settings:cc}},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(De.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(Ce.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 lc="I18N_INIT";var fc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case lc:return{locale:t.payload.locale};default:return e}},pc={createReducers:function(){return{i18n:fc}},init:function(e){var t=e.locale;(0,e.dispatch)(function(e){var t=e.locale;return{type:lc,payload:{locale:t}}}({locale:t}))}},dc="ENTRY_UPDATE",hc="ENTRY_READY";function vc(e){var t=e.entry;return{type:dc,payload:{entry:t}}}function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case dc:return yc({},e,{},t.payload.entry);case hc:return yc({},e,{isReady:!0});default:return e}},bc={init:function(e){var t=e.entry,n=e.dispatch,r=e.events;e.isServerSide||r.once("ready",(function(){return n({type:hc})})),Ft.a.Model&&t instanceof Ft.a.Model?function(e){var t=e.entry,n=e.dispatch;wc({entry:t,dispatch:n}),t.metadata.on("change:title",(function(){wc({entry:t,dispatch:n})}))}({entry:t,dispatch:n}):function(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.slug,title:t.title,publishedAt:t.published_at}}))}({entry:t,dispatch:n})},createReducers:function(){return{entry:mc}}};function wc(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.get("slug"),title:t.metadata.get("title")||t.get("entry_title"),publishedAt:null}}))}var Oc={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 _(fa,t)}({currentPageId:t})):9==e.keyCode&&o(function(e){var t=e.currentPageId;return _(pa,t)}({currentPageId:t}))}))}},Ec=function(e,t){e.on("activate",(function(e){return t({type:yu})})),e.on("deactivate",(function(e){return t({type:mu})}))};function _c(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 xc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_c(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kc={isActive:!1,hasBeenActive:!1},Pc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kc,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case yu:return{isActive:!0,hasBeenActive:!0};case mu:return xc({},e,{isActive:!1});case rc:return xc({},e,{hasBeenActive:!1});default:return e}},Sc={init:function(e){var t=e.isServerSide,n=e.hideText,r=e.dispatch;t||Ec(n,r)},createReducers:function(){return{hideText:Pc}}},jc={init:function(e){var t=e.widgets,n=e.dispatch;Ut({collection:t,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Te("widgets",{idAttribute:"role"})}}};var Tc="WIDGETS_LOAD";var Ac=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Tc:return t.payload.widgets;default:return e}},Ic={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:Tc,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:Ac}}},Mc="THEME_INIT";var Nc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Mc:return t.payload;default:return e}},Cc={createReducers:function(){return{theme:Nc}},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:Mc,payload:t}))}}};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}var Rc=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:Pu,theming:r.theming,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,window:n?null:window},u=Object(Mu.a)([Ru,zu,Xu,pc,Qu,bc,ac,Ju,Zu,Pn,uc,sc,Sc,jc,Ic,nc,Oc,Cc],i);return n||(Pu.forEach((function(t){return e.pageType.register(t.name,function(e){return _n(wn(e),e.mixin||{})}(function(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}({},t,{Component:t.component,store:u})))})),Au.forEach((function(t){var n=t.name,r=t.component;return e.widgetTypes.register(n,function(e,t){return{enhance:function(n){Ft.a.render(React.createElement(He,{store:t},React.createElement(e,null)),n[0])}}}(r,u))}))),u},Lc=Nt("pages"),Bc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.pageComponent=Pu.findByName(this.props.pageType).component}},{key:"render",value:function(e){var t=this.pageComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(Lc,{itemId:this.props.pageId},B.a.createElement(t,null)))}}]),t}(B.a.Component),Fc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.widgetComponent=Au.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(e){var t=this.widgetComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(t,null))}}]),t}(B.a.Component),Uc=Nt("pages"),Hc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed})}},{key:"render",value:function(e){return B.a.createElement(He,{store:this.store},B.a.createElement(Uc,{itemId:this.props.pageId},B.a.createElement(Gi,null)))}}]),t}(B.a.Component);function Wc(e){var t=e.page.audioPlayerControlsVariant;return React.createElement(ci,{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:qc(t),dynamicPageScrollerMargin:"waveform"==t,autoplayWhenBackgroundMediaMuted:!1},React.createElement(Gi,null),React.createElement(ji,{file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,textTrackPosition:Gc(t)}))}function qc(e){return"waveform"==e?sa:Br}function Gc(e){if("waveform"==e)return"top"}function Vc(e){var t=e.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(Vi,{page:t}),React.createElement(In,null,React.createElement(Rn,null,React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t}))))}var zc=["auto","4k","fullhd","medium"];function Yc(e){return React.createElement(ci,{className:"video_page supports_text_position_center",page:e.page,file:e.videoFile,qualities:zc,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Ui,{page:e.page,playerState:e.playerState,playerActions:e.playerActions}),React.createElement(Hi,{page:e.page}))}var Xc={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},$c=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={fading:!1,hidden:!1},n}return R(t,e),A(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?B.a.createElement("div",{className:U()("loading_spinner",{fade:!e&&r}),onTouchMove:Kc,style:Xc},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Kc(e){e.preventDefault()}var Qc=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={hidden:!1,animating:!1},n}return R(t,e),A(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=es(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),t||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(t){return e.hideOrLoop(t)},onTouchMove:Jc,style:ts(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:Zc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Jc(e){e.preventDefault()}function Zc(e){var t=e.firstPageBackgroundImageUrl,n=e.backgroundImage,r=e.blurStrength,o=e.backgroundImageX,i=e.backgroundImageY,a={x:null!=o?o:50,y:null!=i?i:50},u=n?n.urls.medium:t;if(u){var c={backgroundImage:'url("'.concat(u,'")'),filter:"blur("+r+"px)"};return n&&(c.backgroundPosition="".concat(a.x,"% ").concat(a.y,"%")),c}}function es(e){return e.backgroundImage||null!=e.invert?e.invert:e.firstPageInvert}function ts(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:es(e)?"#fff":"#000",animationDelay:void 0!==e.animationDuration?e.animationDuration+"s":void 0}}var ns=It(ee({editing:Zr({role:"loading_spinner"}),firstPageInvert:Zt("invert"),firstPageBackgroundImageUrl:function(e){var t=e.page,n=e.variant,r=void 0===n?"medium":n;return Z(t,Xt(),(function(e){return e}),(function(e,t,n){if(e){var o=Ht({candidates:Kt({page:e})(n).thumbnailCandidates,page:e,fileExists:t});if(o){var i=Yt(Y(o.collectionName),{id:Wt(e,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Jt,(function(e){return e&&e.attributes}))}),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),backgroundImageX:Qr("customBackgroundImageX",{role:"loading_spinner"}),backgroundImageY:Qr("customBackgroundImageY",{role:"loading_spinner"}),invert:Qr("invert",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),blurStrength:Qr("blurStrength",{role:"loading_spinner"}),animationDuration:Qr("animationDuration",{role:"loading_spinner"})}))(Qc);var rs=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.subtitle,r=e.entryTitle,o=es(this.props),i=void 0!==this.props.animationDuration?this.props.animationDuration+"s":void 0;return B.a.createElement(ns,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o}),style:{animationDuration:i}},B.a.createElement("div",{className:"media_loading_spinner-title"},t||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),t}(B.a.Component);var os=n(96),is=n.n(os);function as(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}Su("background_image",{component:Sn(ee({page:tn()}))(Vc),reduxModules:[hu]}),Su("video",{component:Sn(ee({page:tn(),videoFile:Yt("videoFiles",{id:en("videoFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Yc),reduxModules:[du({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:qn("native video player")})]}),Su("audio",{component:Sn(ee({page:tn(),audioFile:Yt("audioFiles",{id:en("audioFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Wc),reduxModules:[du({retryOnUnmute:!0}),hu]}),Iu("cookie_notice_bar",{component:It(ee({isCookieNoticeVisible:Lu,privacyLinkUrl:Bu,editing:Zr({role:"cookie_notice"}),t:Ur,locale:Hr}),{dismiss:Hu})(Wu)}),Iu("unmute_button",{component:It(ee({t:Ur,muted:Ho}),{unmute:Ta})(Du)}),Iu("classic_loading_spinner",{component:It(ee({editing:Zr({role:"loading_spinner"})}))($c)}),Iu("title_loading_spinner",{component:It(ee({firstPageInvert:Zt("invert"),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ri("title"),title:Qr("title",{role:"loading_spinner"}),subtitle:Qr("subtitle",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),invert:Qr("invert",{role:"loading_spinner"}),animationDuration:Qr("animationDuration",{role:"loading_spinner"})}))(rs)}),Iu("media_loading_spinner",{component:ns}),is.a.events&&is.a.events.on("seed:loaded",(function(){return Rc(is.a)}));t.default={components:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({MediaPageBackground:Vi,PageWithInteractiveBackground:gu},o),actions:r,selectors:i,registerPageType:Su,registerPageTypeWithDefaultBackground:function(e,t){Su(e,{component:Gi,selectTargetElement:function(e){return e.find(".page_background_asset")[0]},mixin:Tu({scroller:!0},t),reduxModules:[hu]})},registerWidgetType:Iu,mediaReduxModule:du,mediaPageBackgroundReduxModule:hu,pageWithInteractiveBackgroundReduxModule:Eu,iconMapping:ir,SvgIcon:rr,classNames:U.a,connect:It,connectInPage:Sn,combineReducers:ae.c,combine:X,ServerSidePage:Bc,ServerSideWidget:Fc,ServerSidePageBackgroundAsset:Hc}}]).default;
@@ -0,0 +1,6 @@
1
+ //= require ./dist/frontend
2
+ //= require_self
3
+ //= require ./dist/react-client
4
+ //= require pageflow/application
5
+
6
+ _.extend(pageflow, pageflow_paged.frontend);
@@ -0,0 +1,9 @@
1
+ // Pageflow Paged requires an older version of React than the one that
2
+ // comes bundled with react-rails. The React builds from the
3
+ // originally used version of react-rails have been copied to
4
+ // paged/vendor/assets/javascripts/<env>/pageflow_paged/vendor.
5
+
6
+ //= require pageflow_paged/vendor/react-server
7
+
8
+ //= require react_ujs
9
+ //= require components
@@ -0,0 +1,8 @@
1
+ //= require pageflow/vendor
2
+
3
+ // Pageflow Paged requires an older version of React than the one that
4
+ // comes bundled with react-rails. The React builds from the
5
+ // originally used version of react-rails have been copied to
6
+ // paged/vendor/assets/javascripts/<env>/pageflow_paged/vendor.
7
+
8
+ //= require pageflow_paged/vendor/react
@@ -11,10 +11,10 @@ module PageflowPaged
11
11
  helper Pageflow::InfoBoxHelper
12
12
  helper Pageflow::NavigationBarHelper
13
13
  helper Pageflow::OverviewHelper
14
- helper Pageflow::PageBackgroundAssetHelper
14
+ helper PageBackgroundAssetHelper
15
15
  helper Pageflow::PagesHelper
16
16
  helper Pageflow::PageTypesHelper
17
- helper Pageflow::ReactServerSideRenderingHelper
17
+ helper ReactServerSideRenderingHelper
18
18
  helper Pageflow::RevisionFileHelper
19
19
  helper Pageflow::SocialShareHelper
20
20
  helper Pageflow::SocialShareLinksHelper
@@ -1,10 +1,11 @@
1
- module Pageflow
1
+ module PageflowPaged
2
+ # Render image or video loop page backgrounds
2
3
  module PageBackgroundAssetHelper
3
- include EntryJsonSeedHelper
4
+ include Pageflow::EntryJsonSeedHelper
4
5
  include ReactServerSideRenderingHelper
5
6
 
6
7
  def page_background_asset(page)
7
- render('pageflow/page_background_asset/element',
8
+ render('pageflow_paged/page_background_asset/element',
8
9
  entry: @entry,
9
10
  page: page)
10
11
  end
@@ -1,8 +1,9 @@
1
- module Pageflow
1
+ module PageflowPaged
2
2
  # @api private
3
3
  module ReactServerSideRenderingHelper
4
4
  def render_page_react_component(entry, page, component_name)
5
5
  return '' if page.perma_id.blank?
6
+
6
7
  extra_props_string = %("pageId": #{page.perma_id}, "pageType": "#{page.template}")
7
8
  render_react_component_with_seed(entry, component_name, extra_props_string)
8
9
  end
@@ -13,13 +14,33 @@ module Pageflow
13
14
  %("widgetTypeName": "#{widget_type_name}"))
14
15
  end
15
16
 
17
+ def self.renderer
18
+ @renderer ||=
19
+ ReactRenderer.new(files: ['pageflow_paged/server_rendering.js'])
20
+ end
21
+
16
22
  private
17
23
 
18
24
  def render_react_component_with_seed(entry, component_name, extra_props_string)
19
25
  seed = (@_pageflow_react_entry_seed ||= entry_json_seed(entry))
20
26
  props_string = %({ "resolverSeed": #{seed}, #{extra_props_string} })
21
27
 
22
- ::React::ServerRendering.render(component_name, props_string, true)
28
+ ReactServerSideRenderingHelper.renderer.render(component_name, props_string, true)
29
+ end
30
+
31
+ # Normally react-rails either tries to auto detect which asset
32
+ # container (i.e. Webpack, Sprockets) to use or relies on an app
33
+ # wide configuration. Since Pageflow Paged and Scrolled need
34
+ # different asset containers, this renderer specifies it
35
+ # explicitly.
36
+ class ReactRenderer < ::React::ServerRendering::BundleRenderer
37
+ def asset_container_class
38
+ if assets_precompiled?
39
+ ::React::ServerRendering::ManifestContainer
40
+ else
41
+ ::React::ServerRendering::EnvironmentContainer
42
+ end
43
+ end
23
44
  end
24
45
  end
25
46
  end
@@ -7,8 +7,8 @@
7
7
  window.PAGEFLOW_EDITOR = false;
8
8
  </script>
9
9
 
10
- <%= javascript_include_tag 'pageflow/vendor', 'data-turbolinks-track' => true %>
11
- <%= javascript_include_tag 'pageflow/application', 'data-turbolinks-track' => true %>
10
+ <%= javascript_include_tag 'pageflow_paged/vendor', 'data-turbolinks-track' => true %>
11
+ <%= javascript_include_tag 'pageflow_paged/frontend', 'data-turbolinks-track' => true %>
12
12
 
13
13
  <meta charset="utf-8" />
14
14
  <%= csrf_meta_tags %>
@@ -5,8 +5,8 @@
5
5
  window.PAGEFLOW_EDITOR = true;
6
6
  </script>
7
7
 
8
- <%= javascript_include_tag 'pageflow/vendor' %>
9
- <%= javascript_include_tag 'pageflow/application' %>
8
+ <%= javascript_include_tag 'pageflow_paged/vendor' %>
9
+ <%= javascript_include_tag 'pageflow_paged/frontend' %>
10
10
  <%= javascript_include_tag 'pageflow_paged/editor' %>
11
11
 
12
12
  <%= render 'layouts/pageflow_paged/ie_include_tags' %>
@@ -2,7 +2,7 @@
2
2
  id: 'outer_wrapper',
3
3
  data: {theme: entry.theme.name},
4
4
  class: entry_css_class(entry)) do %>
5
- <%= structured_data_for_entry(entry) %>
5
+ <%= structured_data_for_entry(entry) if Pageflow.config_for(entry).features.enabled?('structured_data') %>
6
6
 
7
7
  <%= render 'pageflow_paged/entries/skip_links' %>
8
8
 
@@ -4,7 +4,7 @@ Pageflow.configure do |config|
4
4
  entry_type_config.features.register('delayed_text_fade_in')
5
5
 
6
6
  entry_type_config.features.register('storylines') do |feature_config|
7
- feature_config.help_entries.register('pageflow.help_entries.storylines', priority: 7)
7
+ feature_config.help_entries.register('pageflow_paged.help_entries.storylines', priority: 7)
8
8
  end
9
9
 
10
10
  entry_type_config.features.register('editor_emulation_mode')
@@ -0,0 +1,17 @@
1
+ Pageflow.configure do |c|
2
+ c.for_entry_type(PageflowPaged.entry_type) do |config|
3
+ config.help_entries.register('pageflow_paged.help_entries.overview', priority: 100)
4
+
5
+ config.help_entries.register('pageflow_paged.help_entries.meta_data', priority: 50)
6
+ config.help_entries.register('pageflow.help_entries.meta_data.general',
7
+ priority: 100, parent: 'pageflow_paged.help_entries.meta_data')
8
+ config.help_entries.register('pageflow_paged.help_entries.meta_data.appearance',
9
+ priority: 75, parent: 'pageflow_paged.help_entries.meta_data')
10
+ config.help_entries.register('pageflow.help_entries.meta_data.social',
11
+ priority: 50, parent: 'pageflow_paged.help_entries.meta_data')
12
+
13
+ config.help_entries.register('pageflow_paged.help_entries.outline', priority: 30)
14
+ config.help_entries.register('pageflow_paged.help_entries.page_options', priority: 20)
15
+ config.help_entries.register('pageflow_paged.help_entries.atmo', priority: 7)
16
+ end
17
+ end
@@ -0,0 +1,162 @@
1
+ de:
2
+ pageflow_paged:
3
+ help_entries:
4
+ overview:
5
+ menu_item: Übersicht
6
+ text: |
7
+ # Übersicht
8
+
9
+ Dies ist der Editor zum Bearbeiten eines Pageflows. Mit
10
+ seiner Zweiteilung ermöglicht er die direkte Vorschau
11
+ während der Bearbeitung, zeigt Änderungen am Text oder neu
12
+ ausgewählte Dateien unmittelbar an und speichert diese
13
+ automatisch.
14
+
15
+ Die Seitenleiste kann durch einen Klick auf den Anfasser zur
16
+ Größenänderung ein- und ausgeblendet werden. Mit einem
17
+ Verschieben der Seitenleiste nach links und rechts kannst Du
18
+ die Größe des Vorschaufensters verändern. Wird das
19
+ Vorschaufenster schmal, und somit eher zu einem hochkantigen
20
+ Mobiltelefon-Format gestaucht, wird aus Platzgründen statt
21
+ der Navigationsleiste nur das Icon „Übersicht“ angezeigt.
22
+
23
+ Die Navigation des Editors ist unterteilt in die vier
24
+ Bereiche:
25
+
26
+ ## Titel und Optionen
27
+
28
+ Unter „Titel und Optionen“ kannst Du grundsätzliche
29
+ Parameter des Erscheinungsbildes, sowie Titel, Sprache,
30
+ Impressum etc. einstellen. Dazu können Texte festgelegt
31
+ werden, die beim Teilen des Beitrags über Social Media
32
+ Dienste angezeigt werden sollen.
33
+
34
+ Details findest Du unter: [Titel und Optionen](#pageflow_paged.help_entries.meta_data)
35
+
36
+ ## Dateien verwalten
37
+
38
+ Unter „Dateien verwalten“ lädst Du die Mediendateien hoch,
39
+ die im Pageflow verwendet werden sollen. Du kannst hier auch
40
+ bereits hochgeladene Videos, Fotos und Audios
41
+ wiederverwenden.
42
+
43
+ Details findest Du unter: [Dateien verwalten](#pageflow.help_entries.files)
44
+
45
+ ## Gliederung
46
+
47
+ Über die „Gliederung“ kannst Du Kapitel und Seiten
48
+ hinzufügen, also die eigentlichen Inhalte bearbeiten. Per
49
+ Drag&Drop lassen sich Seiten und Kapitel auch jederzeit
50
+ umsortieren.
51
+
52
+ Details findest Du unter: [Kapitel und Seiten](#pageflow_paged.help_entries.outline)
53
+ meta_data:
54
+ menu_item: Titel und Optionen
55
+ text: |
56
+ # Titel und Optionen
57
+
58
+ Allgemeine Einstellungen für den Beitrag. Bitte einen
59
+ Unterpunkt auf der linken Seite auswählen.
60
+ appearance:
61
+ menu_item: Erscheinungsbild
62
+ text: |
63
+ # Erscheinungsbild
64
+
65
+ ## Multimedia Hinweis vor dem Start
66
+
67
+ Entscheide, ob zu Beginn Deines Pageflows ein Hinweis angezeigt wird.
68
+
69
+ ## Kapitelanfang hervorheben
70
+
71
+ Mit dieser Option wird der Titel der jeweils ersten Seite
72
+ eines Kapitels größer dargestellt.
73
+
74
+ ## Neue Seiten hervorheben
75
+
76
+ Zeigt zum Start des Pageflows in einer Info-Box die seit dem letzten Besuch neu erstellen Seiten an. Da für dieses Features Cookies verwendet werden, erscheint bei Aktivierung - gemäss der DSGVO - automatisch ein Cookie-Hinweis am unteren Bildrand.
77
+
78
+ ## Home-Button anzeigen
79
+
80
+ Es gibt die Möglichkeit, in der Navigation einen Button
81
+ anzuzeigen, der auf eine externe Seite verlinkt, z.B. zurück
82
+ auf die Homepage, von der aus Du den Pageflow verlinkt hast.
83
+
84
+ ## Übersicht-Button anzeigen
85
+
86
+ Der Übersichts-Button in der Navigationsleiste kann ausgeblendet werden.
87
+
88
+ ## Home-Button-URL
89
+
90
+ Gib hier den Link ein, auf den ein Klick auf den Home-Button führen soll. Falls die Ziel-URL für alle Beiträge Deines Kontos identisch ist, kann über „Einstellungen“ auch eine allgemeine „Redirect-URL“ festgelegt werden, die sich auf alle Beiträge auswirkt.
91
+
92
+ ## Steuerungsgesten
93
+
94
+ Mit dieser Option kann die Steuerung für mobile Endgeräte auf horizontales Scrollen umgestellt werden.
95
+
96
+ ## Lade-Ansicht
97
+
98
+ Wähle die Art der Lade-Ansicht Deines Beitrags. Alternativ zur klassischen Ansicht kann hier ein individueller Lade-Indikator mit eigenem Hintergrund-Bild, animierter Titel- und Untertitel-Zeile und skalierbarer Unschärfe konfiguriert werden.
99
+
100
+ ## Player Controls
101
+
102
+ Wähle das Erscheinungsbild der Steuerungs-Elemente für Audio- und Video-Player, 360° Panorama- und Vorher/Nachher-Seiten aus.
103
+
104
+ ## Navigationsleiste
105
+
106
+ Wähle zwischen unterschiedlichen Navigationsleisten. Beachte, dass bei mobilen Endgeräten statt der Navigationsleiste aus Platzgründen in lediglich das Icon „Übersicht“ angezeigt wird.
107
+
108
+ ## Cookie Hinweis
109
+
110
+ Sobald Google Analytics oder das Feature „Neue Seiten hervorheben“ aktiviert ist, wird beim ersten Besuch des Beitrags automatisch ein Datenschutz-Hinweis angezeigt. Falls ein Beitrag in eine eigene Webseite mit eigenem Datenschutz-Hinweis eingebettet wird, kann dieser Hinweis optional ausgeblendet werden.
111
+
112
+ ## Theme
113
+ Lege ein Font-Template für den Beitrag fest.
114
+ outline:
115
+ menu_item: Kapitel und Seiten
116
+ text: |
117
+ # Kapitel und Seiten
118
+
119
+ Ein Pageflow besteht aus mindestens einem Kapitel mit
120
+ mindestens einer Seite. Es können beliebig viele Kapitel mit
121
+ beliebig vielen Seiten erstellt werden. Um Inhalte zu
122
+ erstellen, klicke
123
+
124
+ 1. auf Neues Kaptitel, um ein erstes Kapitel zu erstellen
125
+ 2. auf Neue Seite, um dem Kapitel eine Seite hinzuzufügen, und
126
+ 3. auf diese Seite, um den Inhalt zu bearbeiten.
127
+
128
+ ## Aufbau eines Kapitels
129
+
130
+ Mit den „Kapiteln" strukturierst Du den Aufbau Deiner
131
+ Reportage - beispielsweise nach Themenschwerpunkten oder
132
+ Zeiträumen. Die Kapitel werden in der „Übersicht“ angezeigt
133
+ und dienen dem User als Orientierungshilfe. Deshalb ist es
134
+ ratsam die jeweiligen Kapitel mit Titeln zu versehen.
135
+
136
+ Wenn nur ein unbenanntes Kapitel angelegt wird, so verhält
137
+ sich Pageflow, als ob keine Kapitelstruktur vorhanden
138
+ ist. (Kapitel und Kapiteltitel werden in diesem Falle nicht
139
+ in der Übersicht bzw. Navigation dargestellt).
140
+
141
+ storylines:
142
+ menu_item: Erzählstränge
143
+ text: "# Erzählstränge\n\nErgänzend zur linearen Erzählung von „oben nach unten“, können auch weitere (non-lineare) Erzählstränge als Exkurse zu vertiefenden Inhalten genutzt werden. \n\nIn diesem [Blogartikel](https://www.pageflow.io/neues-pageflow-update) findest Du ein Beispiel.\n\nMit „Erzählstrang“ ist hier die zusammenhängende Kapitel- und Seitenabfolge gemeint, durch die ein User hindurch scrollt. Zu unterscheiden ist zwischen dem sogenannten Haupterzählstrang, in dem ein User zu Beginn eines Pageflows einsteigt, und weiteren untergeordneten Erzählsträngen. \n\nUm vom Haupterzählstrang einen Abzweig zu erstellen, benutze eine „Verweise“-Seite (Mosaik, Collage oder Hotspot) und lege auf der jeweiligen Seite unter „Verweise“ die entsprechenden Verknüpfungen an. \n\nDabei kann durch das Festlegen einer „übergeordneten Seite“ bestimmt werden, zu welcher Seite der User am Ende des Erzählstrangs gelangt.\n\nOptisch unterstützt werden diese Exkurse in untergeordnete Erzählstränge durch einen horizontalen Seitenübergangseffekt, der beim Eintreten und Verlassen dieser Stränge automatisch eingestellt ist. \n\nErstellt werden diese Erzählstränge in der Gliederung über ein Klick auf die Plus-Schaltfläche neben der Erzählstrang-Auswahl. Dabei öffnet sich automatisch ein neues Kapitel, in dem dann weitere Seiten angelegt werden können.\n\n\n### Übergeordnete Seiten\n\nIn jedem Untererzählstrang muss eine „Übergeordnete Seite“ festgelegt werden, die bestimmt, wohin ein User beim zurück-scrollen gelangt. Mit einem Klick auf das Stift-Symbol neben der Erzählstrang-Auswahl kann diese Zielseite ausgewählt werden. Durch die Auswahl einer übergeordneten Seite erscheint auf allen Seiten eines untergeordneten Erzählstrangs zudem automatisch ein „Zurück“-Button, der zu der übergeordneten Seite führt. \n\n\n### Kapitel-Hierarchie\n\nDurch die Verwendung mehrerer „untergeordneter“ Erzählstränge und der Festlegung von übergeordneten Seiten ergibt sich eine Kapitelhierarchie, wie man sie auch von Buch-Gliederungen kennt:\n\n1. (Hauptstrang), 1.1 (Übergeordneter Unterstrang), 1.1.1 (vertiefende Seite im übergeordneten Unterstrang) und so weiter.\n\nDiese Hierarchie kann nachträglich in der Erzählstrang-Auswahl über ein Klick auf Stift-Symbol geändert werden. Ein untergeordneter Erzählstrang kann an dieser Stelle zudem auch nachträglich zum Haupt-Erzählstrang umsortiert werden.\n\n\n### Scroll-Nachfolger\n\nFalls der User von der letzten Seite eines Unterkapitels (1.1.1) auf eine andere Stelle im Beitrag geleitet werden soll (z.B. 2.1), kann hierzu ebenfalls über das Stiftsymbol in den Erzählstrang-Einstellungen der sogenannte „Scroll-Nachfolger“ festgelegt werden. Um in dem Beispiel zu bleiben wäre der folgende Ablauf denkbar: 1 -> 1.1 -> 1.1.1 -> 2.1\n\nAchtung: Während des Editierens wird immer nur das aktuell ausgewählte Kapitel angezeigt. Um zu den anderen Erzählsträngen zu gelangen klicke auf das Auswahlmenü „Erzählstrang“."
144
+ page_options:
145
+ menu_item: Allgemeine Seitenoptionen
146
+ text: "# Allgemeine Seitenoptionen\n\n### Titel\n\nHier gibst Du den Titel der jeweiligen Seite ein. Dieser\nwird nicht nur als Überschrift des Fliesstextes der Seite\nausgespielt, sondern dient zudem als Titel innerhalb der\nNavigation und der Übersicht. Wird eine einzelne Seite in\nsozialen Netzwerken geteilt, ist dieser Titel zugleich auch\nder Titel des Social Media-Beitrages.\n\n### Titel ausblenden\n\nOptional lässt sich der Titel auch ausblenden. Das heisst:\nEr wird nicht mehr als Überschrift im Fliesstext\nangezeigt. Er bleibt zur Identifikation einer Seite\nallerdings in Navigation, Übersicht und geteilten Beträgen\nerhalten.\n\n### Tagline und Untertitel\n\nHier kann wahlweise eine Tagline und/oder ein Untertitel\neingegeben werden. Falls Du ein Häkchen bei „Titel\nausblenden“ gesetzt hast, sind Tagline und Untertitel über\ndem Fliesstext ebenfalls nicht zu sehen.\n\n### Text\n\nDer Textblock kann mit den Buttons unterhalb des\nEingabefeldes formatiert werden. [ B=Fett / I=kursiv /\nU=unterstrichen „gekippte acht“=Link/URL auf fremde Seite\neinfügen].\n\nAlle Änderungen sind in der linken Frontend-Ansicht\nsichtbar, sobald das entsprechende Texteingabefeld im\nEditierbereich verlassen wurde.\n\n### Textposition\n\nWähle hier, ob der Text auf der linken oder rechten Seite\nangezeigt wird.\n\n### Intensität der Abblendung\n\nDie Intensität des Farbverlaufs dient der Lesbarkeit von\nTexten auf Videos oder Bildern.\n\nDurch den Schieberegler kann der Bildhintergrund so stark\nabgedunkelt bzw. aufgehellt werden, bis der Kontrast\nzwischen Bild und Text ausreichend ist.\n\n### Farben invertieren\n\nBeim Invertieren werden „hell“ und „dunkel“ vertauscht, die\nsonst weiße Schrift ändert sich dabei automatisch in\nschwarz.\n\nGrundsätzlich gilt: Helle Schrift für dunkle Bilder, dunkle\nSchrift für helle Bilder.\n\n### Thumbnail\n\nDas Thumbnail ersetzt das ansonsten automatisch generierte\nVorschaubild in der Navigation und in der Übersicht.\n\n### In Navigationsleiste anzeigen\n\nIst diese Option nicht gesetzt, wird die jeweilige Seite\nnicht in der Navigation repräsentiert, kann also nicht\ndirekt über die Navigation erreicht werden.\n\nDies bietet sich vor allem für Seiten an, die inhaltlich als\n„Unterseiten“ einer anderen Seite anzusehen sind.\n\n### Übergangseffekt\n\nEs gibt verschiedene Effekte, die sichtbar sind, wenn von einer Kapitelseite zur nächsten gescrollt oder geklickt wird. Zur Auswahl stehen Seitenübergänge, wie „Überblendung“, „Schwarzblende“ oder „Harter Schnitt“ die sich vertikal auswirken, zudem kann auch „Horizontal Scrollen“ von rechts oder links ausgewählt werden. \n\nWelcher Effekt verwendet wird, kann unter „Optionen“ individuell für jede Seite festgelegt werden.\n\n### Text verzögert einblenden\n\nBestimme mit dieser Option, ob Text und Abblendung mit zeitlicher Verzögerung angezeigt werden.\nHierbei sehen User zunächst nur den Hintergrund, dann erscheinen Titel, Tagline und Untertitel und mit minimaler Verzögerung schließlich der Fließtext.\n\nInsgesamt stehen drei Verzögerungslängen zur Verfügung: kurz = 1 Sekunde, mittel = 3 Sekunde, lang = 5 Sekunde.\n\nDieses Feature eignet sich zum Beispiel für Intros oder Kapitelanfänge.\n\n### Beschreibung für Übersicht\n\nHier kann der Text eingegeben werden, der angezeigt wird,\nwenn der User in der Übersicht mit der Mouse über die\njeweilige Seite fährt. Außerdem entspricht der hier\neingegebene Text"
147
+ atmo:
148
+ menu_item: Atmo Audio
149
+ text: |-
150
+ # Atmo Audio
151
+
152
+ Mit der „Atmo“ kann jede Seite, unabhängig vom Seitentyp, im Hintergrund Sound abspielen. Dabei kannst Du bestimmen, ob ein Sound nur auf einer Seite zu hören ist oder über mehrere Seiten ohne Unterbrechung läuft. Wähle dazu einfach für die benachbarten Seiten die selbe Audiodatei als Atmo aus.
153
+
154
+ Auf diese Weise lassen sich Kapitel akustisch voneinander absetzen und zusammenhängende Seiten stärker verweben.
155
+
156
+ Beim Seitentyp Video kann zusätzlich ausgwählt werden, ob der Hintergrundsound während der Video-Wiedergabe normal oder leiser weitergespielt oder ganz ausgeblendet werden soll.
157
+
158
+ Die Einstellung der Atmo-Sounds erreichst du bei jeder Seite über den Reiter „Optionen“.
159
+
160
+ Sollte Dich die Atmo während der Bearbeitung Deines Beitrags im Editor einmal stören, kannst Du sie mit der Tastenkombination „Alt + a“ vorübergehend stumm schalten. Um die Atmo wieder zu aktivieren, drücke einfach erneut „Alt + a“.
161
+
162
+ **ACHTUNG:** Atmo-Audios können aufgrund technischer Einschränkungen der Browserhersteller auf mobilen Geräten und mit Safari auf Desktop nicht wiedergegeben werden.
@@ -0,0 +1,153 @@
1
+ en:
2
+ pageflow_paged:
3
+ help_entries:
4
+ overview:
5
+ menu_item: Overview
6
+ text: |-
7
+ # Overview
8
+
9
+ This is Pageflow’s editing platform. The division of the
10
+ screen into two allows you to edit your Pageflow and see a
11
+ preview at the same time. The editor shows modifications and
12
+ newly selected files directly and saves them automatically.
13
+
14
+ The sidebar can be hidden or shown. You can change the size
15
+ of the preview-window by pulling the sidebar to the right or
16
+ the left. If the preview-window is long and narrow like ´ a
17
+ smartphone, you will only be able to see the „overview“ icon
18
+ and not the entire navigation. This is due to lack of space.
19
+
20
+ The navigation is divided into four parts:
21
+
22
+ ## Title and Options
23
+
24
+ Under „Title and Options“ you can set up basic appearance
25
+ parameters as well as the title, language and legal
26
+ notice. You can also decide which content should be
27
+ displayed when sharing the report on social media platforms.
28
+
29
+ For more details see: [Title and Options](#pageflow_paged.help_entries.meta_data)
30
+
31
+ ## Manage Files
32
+
33
+ Under „Manage Files“ you can upload your media files, which
34
+ you want to use in Pageflow. Furthermore you can reuse
35
+ videos, photos and audio-files that have already been
36
+ uploaded.
37
+
38
+ For more details see: [Manage Files](#pageflow.help_entries.files)
39
+
40
+ ## Outline
41
+
42
+ Via the „Outline“ you can add chapters and pages - the
43
+ actual content. Per Drag and Drop you can resort the pages
44
+ and chapters any time.
45
+
46
+ For more details see: [Chapter and Pages](#pageflow_paged.help_entries.outline)
47
+ meta_data:
48
+ menu_item: Title and Options
49
+ text: |
50
+ # Title and Options
51
+
52
+ General settings for the entry. Please select a sub item on the left.
53
+ appearance:
54
+ menu_item: Appearance
55
+ text: |
56
+ # Appearance
57
+
58
+ ## Multimedia tips before the start
59
+
60
+ Decide if tips or advice should be shown at the beginning of
61
+ your Pageflow.
62
+
63
+ ## Highlighting chapter beginnings
64
+
65
+ This option lets the title of the first page of a chapter
66
+ appear in a bigger font.
67
+
68
+ ## Highlighting new pages
69
+
70
+ At the beginning of a Pageflow an info-box shows new pages that were created since the last visit. Since cookies are used for this feature, a cookie notice appears automatically at the bottom of the screen when activated - in accordance with the GDPR.
71
+
72
+ ## Display Home-Button
73
+
74
+ You can have a button in the navigation, which hyperlinks to an external website, for example back to the website from which you hyperlinked to the Pageflow.
75
+
76
+ ## Show overview button
77
+
78
+ The overview button in the navigation bar can be hidden.
79
+
80
+ ## Home button URL
81
+
82
+ Enter the link here to which a click on the Home button should lead. If the target URL is the same for all entries in your account, you can also set a general "redirect URL" via "Settings", which will affect all entries.
83
+
84
+ ## Control gestures
85
+
86
+ With this option the control for mobile devices can be switched to horizontal scrolling.
87
+
88
+ ## Loading view
89
+
90
+ Select the type of loading view of your entry. As an alternative to the classic view, an individual load indicator with its own background image, animated title and subtitle line and scalable blur can be configured here.
91
+
92
+ ## Player Controls
93
+
94
+ Select the appearance of the control elements for audio and video players, 360° panorama and before/after pages.
95
+
96
+ ## Navigation bar
97
+
98
+ Choose between navigation bars. Please note, that due to the lack of space on mobile devices only the icon „Overview“ is shown.
99
+
100
+ ## Cookie notice
101
+
102
+ As soon as Google Analytics or the "Highlight new pages" feature is activated, a privacy notice is automatically displayed the first time the entry is visited. If an entry is embedded in a separate website with its own privacy notice, this notice can be optionally hidden.
103
+
104
+ ## Theme
105
+
106
+ Specify a font template for the entry.
107
+ outline:
108
+ menu_item: Chapters and Pages
109
+ text: |-
110
+ # Chapters and Pages
111
+
112
+ A Pageflow consists of at least one chapter with at least
113
+ one page. You can create as many chapters and pages as you
114
+ want. In order to create content, click:
115
+
116
+ 1. „New Chapter“ to create a new chapter,
117
+ 2. „New Page“ to add a page,
118
+ 3. onto the new page, in order to edit the content.
119
+
120
+ ## Structuring Chapters
121
+
122
+ You can structure the composition of your Pageflow with
123
+ chapters - e.g. thematically or chronologically . The
124
+ chapters are shown in the overview and help the users find
125
+ their way around. It is therefore advisable to give each
126
+ chapter a title.
127
+
128
+ If you create an unnamed chapter, Pageflow acts as if there
129
+ is no structure of chapters. The chapter and the title of
130
+ this chapter are consequently not shown in the
131
+ overview/navigation.
132
+ storylines:
133
+ menu_item: Storylines
134
+ text: "# Storylines\n\nIn addition to linear narrations from top to bottom, further storylines can be used as non linear excursions to enlarge upon parts of an entry.\n\nPlease find a blog article and example [here](https://www.pageflow.io/en/update-storylines)\n\nA „Storyline“ consists of chapters and pages, which users scroll through. Distinguishable is the so called main storyline from further subordinate ones. The user starts off in the main storyline and can then navigate to different excursions.\n\nTo create such an excursion from the main storyline use one of the „Link“ pages (Mosaic, Collage, Hotspot) and create the desired connections via „Links“.\n\nBy choosing a „Parent page“ you can determine to which page users return after scrolling the storyline´s last page.\n\nTransitions to subordinate storylines are visually supported by a horizontal animation as the default setting for entering and leaving. \n\nStorylines are created by clicking onto the plus button next to the storyline menu. Thereby a new chapter opens automatically in which further pages can be added. \n\n\n### Parent pages\n\nIn every subordinate storyline a „Parent page“ must be determined to define where users land when scrolling back.\n\nThis target page can be chosen by clicking on the pen symbol next to the storyline menu. When a „Parent page“ is defined, a back button will be shown automatically in the subordinate storyline that will always lead users back to the „Parent page“.\n\n\n### Chapter hierarchy\n\nThe use of more than one „subordinary“ storylines and the definition of „Parent pages“ leads to a chapter hierarchy as known from books:\n\n1. (Main storyline), 1.1. (Superior sub storyline), 1.1.1. (Subordinate sub storyline) and so on.\n\nThis hierarchy can be edited afterwards by clicking on the pen symbol next to the storyline menu. A subordinate storyline can be turned into the main storyline as well.\n\n\n### Scroll successors\n\nIf you want to lead users from a last page of a subordinate chapter (1.1.1) to another position than\nthe „Parent page“ (e.g. to 2.1) you can define a „Scroll successor“. Therefore click on the blue pen symbol within the storyline settings. As an example the following sequence might be imaginable: 1 -> 1.1 -> 1.1.1 -> 2.1\n\nAttention: While editing only the selected chapter will be shown in the sidebar. To switch to the other chapters click onto the storyline menu."
135
+ page_options:
136
+ menu_item: General Page Options
137
+ text: "# General Page Options\n\n### Title\n\nHere you can add the title of a particular page. This\ntitle is not only the headline of the text on the page, it\nalso functions as the title in the navigation and\noverview. If a single page is shared in social networks,\nthis title is also the title of the social media post.\n\n### Hide the title\n\nOptionally you can hide the title. Thus the title is not shown as the\nheading of the text body. For the identification of the page it\nremains visible in the navigation, overview and on social media posts.\n\n### Tagline and Subtitle\n\nHere you can optionally enter a tagline and/or a\nsubtitle. If you click on „Hide title“ the tagline and\nsubtitle are not shown either.\n\n### Text\n\nThe text-block can be formatted with the buttons underneath\nthe input field. [B= bold / I=italic / U=underlined /\ninfinity symbol= Link/URL to an external website]\n\nAll changes are visible in the left front-end-view as soon\nas you leave the appropriate input field in the editor.\n\n### Textposition\n\nDecide if the text should be shown on the left or right side.\n\n### Opacity of the gradient\n\nThe opacity of the gradient improves the legibility of\nthe text on background-videos or pictures.\n\nYou can use the slider to darken or lighten up the\nbackground until the contrast between text and background is\noptimal.\n\n### Invert colors\n\nIf you invert the colors, „bright“ and „dark“ are\ninterchanged. Thus the normally white font changes into\nblack.\n\nA general rule: Bright font for dark pictures, dark font for\nbright pictures.\n\n### Thumbnail\n\nThe thumbnail replaces the automatically generated\npreview-picture in the navigation and overview.\n\n### Display in navigation\n\nIf this option is not taken, the particular page is not\nrepresented in the navigation and therefore cannot be\nreached through it. You can use this option if a page is\nsupposed to read more like a subpage of another page.\n\n### Transition effect\n\nThere are different scroll effects, which are visible when users enter or leave pages. You can use vertical transitions like „crossfade“ or „cut“ or „Fade to black“. Besides this you also can choose horizontal scrolling from right or left. You can determine which effect should be used for each individual page.\n\n### Fade in text after delay\n\nDefine whether text and gradient of a page should appear with a delay. \nUsers will first see the background image, then title, tagline and subtitle until finally the content text will be displayed.\n\nThere are three different durations of delay: short = 1 second, medium = 3 seconds, long = 5 seconds.\n\nThis feature fits best for intros or beginnings of chapters.\n\n### Description for the overview\n\nYou can enter a text, which appears when the user navigates\nwith the mouse over the particular page. This text matches\nwith the mouse-over-text for the page-type „Page References“\nas well as with the text, which appears when you share the\nPageflow in social networks."
138
+ atmo:
139
+ menu_item: Atmo Audio
140
+ text: |-
141
+ # Atmo Audio
142
+
143
+ This feature lets you add background audio to every page regardless of its page type. You can define if a sound should play only for one page or continue playing for more pages without interruption. Simply select the same atmo audio file for some adjacent pages.
144
+
145
+ That way chapters can be seperated acoustically and pages that belong together can be weaved to a stronger unit.
146
+
147
+ For the page type „Video“ there is a special option to pause background audio or continue at lower volume while the video is playing.
148
+
149
+ You find the atmo settings on the „Options“ tab of each page.
150
+
151
+ Should you ever feel distracted by the atmo audio while working on your story, you can use the hot key „Alt + a“ to temporarily mute it. Simply press „Alt + a“ again to reactivate atmo audio.
152
+
153
+ **CAUTION:** Due to technical restrictions imposed by the browser manufacturers, ambient audio cannot be played on mobile devices and with Safari on the desktop.