Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page - Version 19.8.4

Version Description

  • internal code improvements
    • tested up to 5.8 Wordpress
Download this release

Release Info

Developer artemopinionstage
Plugin Icon 128x128 Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page
Version 19.8.4
Comparing to
See all releases

Code changes from version 19.8.3 to 19.8.4

admin/admin-page-loader.php CHANGED
@@ -1,153 +1,175 @@
1
  <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die();
 
 
 
 
 
4
 
5
  require_once OPINIONSTAGE_PLUGIN_DIR . 'includes/logging.php';
6
 
 
 
 
 
 
 
7
  class OpinionStageAdminPageLoader {
 
 
 
 
 
8
  protected static $instance = false;
 
 
 
 
 
9
  protected $slug = false;
10
- protected $assetsPath = "resources/";
11
- protected $helpersPath = "helpers/";
12
- protected $viewsPath = "views/";
13
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  protected function __construct() {
15
- // Check if page is for OpinionStage plugin and prepare page slug
16
- $this->OSAPL_PrepareSlug();
17
-
18
- // Apply page loader actions if it is OpinionStage plugin page
19
- if($this->slug != false){
20
- include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
21
- $this->OSAPL_Debug('OSAPL: Load Page Loader for Slug - '.$this->slug);
22
-
23
- $this->OSAPL_LoadFile();
24
- add_action( 'admin_enqueue_scripts',array( $this, 'OSAPL_LoadAssets' ) );
25
- add_action( 'admin_head', array( $this, 'OSAPL_LoadHeader' ) );
26
- add_action('admin_footer',array( $this, 'OSAPL_LoadFooter' ));
27
- }else{
28
- // Load content popup javascript
29
- include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
30
  }
31
  }
32
 
33
- public function OSAPL_Debug($string){
34
- opinionstage_error_log( $string );
35
- }
36
-
37
- public function OSAPL_PrepareSlug(){
38
- if(isset($_REQUEST['page'])){
39
- $qryStrCheckOs = sanitize_text_field($_REQUEST['page']);
40
- $qryStrCheckOs = explode("-",$qryStrCheckOs);
41
- if($qryStrCheckOs[0] == 'opinionstage'){
42
- $querystring = str_replace('opinionstage-', '', sanitize_text_field($_REQUEST['page']));
43
-
44
- $this->OSAPL_Debug('OSAPL: Slug applied - '.$querystring);
45
- $this->slug = $querystring;
46
  }
47
  }
48
  }
49
 
50
- public function OSAPL_LoadFile(){
 
 
 
51
 
52
- if(file_exists(plugin_dir_path( __FILE__ ).$this->assetsPath."common.php")){
53
- include_once(plugin_dir_path( __FILE__ ).$this->assetsPath."common.php");
54
- $this->OSAPL_Debug('OSAPL: Loaded Common Assets File');
55
- }else{
56
- $this->OSAPL_Debug('OSAPL: Common Assets File Not Found');
57
  }
58
 
59
- if(file_exists(plugin_dir_path( __FILE__ ).$this->assetsPath.$this->slug.".php")){
60
- include_once(plugin_dir_path( __FILE__ ).$this->assetsPath.$this->slug.".php");
61
- $this->OSAPL_Debug('OSAPL: Loaded '.$this->slug.' Assets File');
62
- }else{
63
- $this->OSAPL_Debug('OSAPL: '.$this->slug.' Assets File Not Found');
64
  }
65
  }
66
 
67
- public function OSAPL_LoadAssets(){
68
- $function_name = str_replace("-", "_", $this->slug);
69
- $function_name = "opinionstage_".$function_name."_load_resources";
70
- if( function_exists($function_name) ){
71
- $this->OSAPL_Debug('OSAPL: Calling resources function - '.$function_name);
72
- call_user_func($function_name);
73
- }else{
74
- $this->OSAPL_Debug('OSAPL: Resources function does not exist: '.$function_name);
75
  }
76
- $function_name_common = "opinionstage_common_load_resources";
77
- if( function_exists($function_name_common) ){
78
- $this->OSAPL_Debug('OSAPL: Calling common resources function - '.$function_name_common);
79
- call_user_func($function_name_common);
80
- }else{
81
- $this->OSAPL_Debug('OSAPL: Resources function does not exist: '.$function_name_common);
82
  }
83
  }
84
 
85
- public function OSAPL_LoadHeader(){
86
- $function_name_header = str_replace("-", "_", $this->slug);
87
- $function_name_header = "opinionstage_".$function_name_header."_load_header";
88
- if( function_exists($function_name_header) ){
89
- $this->OSAPL_Debug('OSAPL: Calling header function - '.$function_name_header);
90
- call_user_func($function_name_header);
91
- }else{
92
- $this->OSAPL_Debug('OSAPL: Header function does not exist: '.$function_name_header);
93
  }
94
 
95
- $function_name_header_common = "opinionstage_common_load_header";
96
- if( function_exists($function_name_header_common) ){
97
- $this->OSAPL_Debug('OSAPL: Calling common header function - '.$function_name_header_common);
98
- call_user_func($function_name_header_common);
99
- }else{
100
- $this->OSAPL_Debug('OSAPL: Header common function does not exist: '.$function_name_header_common);
101
- }
102
  }
103
 
104
- public function OSAPL_LoadFooter(){
105
- $function_name_footer = str_replace("-", "_", $this->slug);
106
- $function_name_footer = "opinionstage_".$function_name_footer."_load_footer";
107
- if( function_exists($function_name_footer) ){
108
- $this->OSAPL_Debug('OSAPL: Calling footer function - '.$function_name_footer);
109
- call_user_func($function_name_footer);
110
- }else{
111
- $this->OSAPL_Debug('OSAPL: Footer function does not exist: '.$function_name_footer);
112
  }
113
- $function_name_footer_common = "opinionstage_common_load_footer";
114
- if( function_exists($function_name_footer_common) ){
115
- $this->OSAPL_Debug('OSAPL: Calling common footer function - '.$function_name_footer_common);
116
- call_user_func($function_name_footer_common);
117
- }else{
118
- $this->OSAPL_Debug('OSAPL: Footer common function does not exist: '.$function_name_footer_common);
119
  }
120
  }
121
 
122
- public function OSAPL_LoadTemplateFile(){
123
- $file_name = str_replace("-", "_", $this->slug);
124
- $file_name = $file_name.".php";
125
- if(file_exists(plugin_dir_path( __FILE__ ).$this->helpersPath."common.php")){
126
- $this->OSAPL_Debug('OSAPL: Loading common file - '.'common.php');
127
- include plugin_dir_path( __FILE__ ).$this->helpersPath."common.php";
128
- }else{
129
- $this->OSAPL_Debug('OSAPL: Common file does not exist: '.'common.php');
 
130
  }
131
- if(file_exists(plugin_dir_path( __FILE__ ).$this->helpersPath.$file_name)){
132
- $this->OSAPL_Debug('OSAPL: Loading helpers file - '.$file_name);
133
- include plugin_dir_path( __FILE__ ).$this->helpersPath.$file_name;
134
- }else{
135
- $this->OSAPL_Debug('OSAPL: Helpers file does not exist: '.$file_name);
136
  }
137
- if(file_exists(plugin_dir_path( __FILE__ ).$this->viewsPath.$file_name)){
138
- $this->OSAPL_Debug('OSAPL: Loading views file - '.$file_name);
139
- include plugin_dir_path( __FILE__ ).$this->viewsPath.$file_name;
140
- }else{
141
- $this->OSAPL_Debug('OSAPL: Views file does not exist: '.$file_name);
142
  }
143
  }
144
 
145
- public static function getInstance(){
146
- if(self::$instance == false){
 
 
 
 
 
147
  self::$instance = new OpinionStageAdminPageLoader();
148
  }
149
  return self::$instance;
150
  }
151
  }
152
 
153
- OpinionStageAdminPageLoader::getInstance();
1
  <?php
2
+ /**
3
+ * Class Opinionstage.
4
+ *
5
+ * @package OpinionStageWordPressPlugin
6
+ */
7
+
8
+ defined( 'ABSPATH' ) || die();
9
 
10
  require_once OPINIONSTAGE_PLUGIN_DIR . 'includes/logging.php';
11
 
12
+ /**
13
+ * Class OpinionStageAdminPageLoader
14
+ *
15
+ * Opinionstage Admin Page Loader is responsible for
16
+ * loading functional files and assets in wp-admin.
17
+ */
18
  class OpinionStageAdminPageLoader {
19
+ /**
20
+ * Instance.
21
+ *
22
+ * @var bool | void
23
+ */
24
  protected static $instance = false;
25
+ /**
26
+ * Page slug.
27
+ *
28
+ * @var bool
29
+ */
30
  protected $slug = false;
31
+ /**
32
+ * Assets path.
33
+ *
34
+ * @var string
35
+ */
36
+ protected $assets_path = 'resources/';
37
+ /**
38
+ * Helpers Path.
39
+ *
40
+ * @var string
41
+ */
42
+ protected $helpers_path = 'helpers/';
43
+ /**
44
+ * Views Path.
45
+ *
46
+ * @var string
47
+ */
48
+ protected $views_path = 'views/';
49
+
50
+ /**
51
+ * OpinionStageAdminPageLoader constructor.
52
+ */
53
  protected function __construct() {
54
+ // Check if page is for OpinionStage plugin and prepare page slug.
55
+ $this->prepare_slug();
56
+
57
+ // Apply page loader actions if it is OpinionStage plugin page.
58
+ if ( false !== $this->slug ) {
59
+ include_once plugin_dir_path( __FILE__ ) . 'content-popup.php';
60
+
61
+ $this->load_file();
62
+ add_action( 'admin_enqueue_scripts', array( $this, 'load_assets' ) );
63
+ add_action( 'admin_head', array( $this, 'maybe_load_header' ) );
64
+ add_action( 'admin_footer', array( $this, 'load_footer_function' ) );
65
+ } else {
66
+ // Load content popup javascript.
67
+ include_once plugin_dir_path( __FILE__ ) . 'content-popup.php';
 
68
  }
69
  }
70
 
71
+ /**
72
+ * Prepare slug.
73
+ */
74
+ public function prepare_slug() {
75
+ if ( isset( $_REQUEST['page'] ) ) {
76
+ $qry_str_check_os = sanitize_text_field( $_REQUEST['page'] );
77
+ $qry_str_check_os = explode( '-', $qry_str_check_os );
78
+ if ( 'opinionstage' === $qry_str_check_os[0] ) {
79
+ $this->slug = str_replace( 'opinionstage-', '', sanitize_text_field( $_REQUEST['page'] ) );
 
 
 
 
80
  }
81
  }
82
  }
83
 
84
+ /**
85
+ * Load dynamic functional file.
86
+ */
87
+ public function load_file() {
88
 
89
+ if ( file_exists( plugin_dir_path( __FILE__ ) . $this->assets_path . 'common.php' ) ) {
90
+ include_once plugin_dir_path( __FILE__ ) . $this->assets_path . 'common.php';
 
 
 
91
  }
92
 
93
+ if ( file_exists( plugin_dir_path( __FILE__ ) . $this->assets_path . $this->slug . '.php' ) ) {
94
+ include_once plugin_dir_path( __FILE__ ) . $this->assets_path . $this->slug . '.php';
 
 
 
95
  }
96
  }
97
 
98
+ /**
99
+ * Load dynamic assets files.
100
+ */
101
+ public function load_assets() {
102
+ $function_name = str_replace( '-', '_', $this->slug );
103
+ $function_name = 'opinionstage_' . $function_name . '_load_resources';
104
+ if ( function_exists( $function_name ) ) {
105
+ call_user_func( $function_name );
106
  }
107
+ $function_name_common = 'opinionstage_common_load_resources';
108
+ if ( function_exists( $function_name_common ) ) {
109
+ call_user_func( $function_name_common );
 
 
 
110
  }
111
  }
112
 
113
+ /**
114
+ * Maybe load function in head.
115
+ */
116
+ public function maybe_load_header() {
117
+ $function_name_header = str_replace( '-', '_', $this->slug );
118
+ $function_name_header = 'opinionstage_' . $function_name_header . '_load_header';
119
+ if ( function_exists( $function_name_header ) ) {
120
+ call_user_func( $function_name_header );
121
  }
122
 
123
+ $function_name_header_common = 'opinionstage_common_load_header';
124
+ if ( function_exists( $function_name_header_common ) ) {
125
+ call_user_func( $function_name_header_common );
126
+ }
 
 
 
127
  }
128
 
129
+ /**
130
+ * Maybe load function in footer.
131
+ */
132
+ public function load_footer_function() {
133
+ $function_name_footer = str_replace( '-', '_', $this->slug );
134
+ $function_name_footer = 'opinionstage_' . $function_name_footer . '_load_footer';
135
+ if ( function_exists( $function_name_footer ) ) {
136
+ call_user_func( $function_name_footer );
137
  }
138
+ $function_name_footer_common = 'opinionstage_common_load_footer';
139
+ if ( function_exists( $function_name_footer_common ) ) {
140
+ call_user_func( $function_name_footer_common );
 
 
 
141
  }
142
  }
143
 
144
+ /**
145
+ * Maybe load template file.
146
+ */
147
+ public function maybe_load_template_file() {
148
+
149
+ $file_name = str_replace( '-', '_', $this->slug );
150
+ $file_name = $file_name . '.php';
151
+ if ( file_exists( plugin_dir_path( __FILE__ ) . $this->helpers_path . 'common.php' ) ) {
152
+ include plugin_dir_path( __FILE__ ) . $this->helpers_path . 'common.php';
153
  }
154
+ if ( file_exists( plugin_dir_path( __FILE__ ) . $this->helpers_path . $file_name ) ) {
155
+ include plugin_dir_path( __FILE__ ) . $this->helpers_path . $file_name;
 
 
 
156
  }
157
+ if ( file_exists( plugin_dir_path( __FILE__ ) . $this->views_path . $file_name ) ) {
158
+ include plugin_dir_path( __FILE__ ) . $this->views_path . $file_name;
 
 
 
159
  }
160
  }
161
 
162
+ /**
163
+ * Get Instance.
164
+ *
165
+ * @return bool|OpinionStageAdminPageLoader|void
166
+ */
167
+ public static function get_instance() {
168
+ if ( false === self::$instance ) {
169
  self::$instance = new OpinionStageAdminPageLoader();
170
  }
171
  return self::$instance;
172
  }
173
  }
174
 
175
+ OpinionStageAdminPageLoader::get_instance();
admin/js/content-popup.js CHANGED
@@ -17,4 +17,4 @@ function i(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}fun
17
  */
18
  var S=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},O="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,T=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},M={namespaced:{configurable:!0}};M.namespaced.get=function(){return!!this._rawModule.namespaced},T.prototype.addChild=function(t,e){this._children[t]=e},T.prototype.removeChild=function(t){delete this._children[t]},T.prototype.getChild=function(t){return this._children[t]},T.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},T.prototype.forEachChild=function(t){o(this._children,t)},T.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},T.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},T.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(T.prototype,M);var C=function(t){this.register([],t,!1)};C.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},C.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},C.prototype.update=function(t){s([],this.root,t)},C.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new T(e,n);if(0===t.length)this.root=i;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],i)}e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},C.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var D,$=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!=typeof window&&window.Vue&&b(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new C(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=o,f(this,i,[],this._modules.root),l(this,i),n.forEach(function(t){return t(e)}),D.config.devtools&&r(this)},A={state:{configurable:!0}};A.state.get=function(){return this._vm._data.$$state},A.state.set=function(t){},$.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},$.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},$.prototype.subscribe=function(t){return c(t,this._subscribers)},$.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},$.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},$.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},$.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},$.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));D.delete(n,t[t.length-1])}),u(this)},$.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},$.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties($.prototype,A);var E=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),j=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=k(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=k(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),I=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:j.bind(null,t),mapActions:P.bind(null,t)}},Y={Store:$,install:b,version:"2.5.0",mapState:E,mapMutations:j,mapGetters:L,mapActions:P,createNamespacedHelpers:I};e.default=Y},function(t,e,n){(function(e){function n(t){return t.split("")}function r(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function o(t,e,n){if(e!==e)return r(t,i,n);for(var o=n-1,a=t.length;++o<a;)if(t[o]===e)return o;return-1}function i(t){return t!==t}function a(t,e){for(var n=-1,r=t.length;++n<r&&o(e,t[n],0)>-1;);return n}function s(t,e){for(var n=t.length;n--&&o(e,t[n],0)>-1;);return n}function c(t){return $.test(t)}function u(t){return c(t)?l(t):n(t)}function l(t){return t.match(D)||[]}function f(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}function d(t){if("string"==typeof t)return t;if(m(t))return N?N.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function p(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:f(t,e,n)}function h(t){return!!t&&"object"==typeof t}function m(t){return"symbol"==typeof t||h(t)&&P.call(t)==_}function v(t){return null==t?"":d(t)}function g(t,e,n){if((t=v(t))&&(n||void 0===e))return t.replace(b,"");if(!t||!(e=d(e)))return t;var r=u(t),o=u(e);return p(r,a(r,o),s(r,o)+1).join("")}var y=1/0,_="[object Symbol]",b=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",T="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,S].join("|")+")[\\ufe0e\\ufe0f]?"+O+")*",M="[\\ufe0e\\ufe0f]?"+O+T,C="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,S,"[\\ud800-\\udfff]"].join("|")+")",D=RegExp(x+"(?="+x+")|"+C+M,"g"),$=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),A="object"==typeof e&&e&&e.Object===Object&&e,E="object"==typeof self&&self&&self.Object===Object&&self,j=A||E||Function("return this")(),L=Object.prototype,P=L.toString,I=j.Symbol,Y=I?I.prototype:void 0,N=Y?Y.toString:void 0;t.exports=g}).call(e,n(0))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){this.$emit("widgets-search-update",{widgetType:this.selectedWidgetType,widgetTitle:this.widgetTitleSearch})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(26),c=r(s),u=n(2);a.default.use(n(27));var l={};l[u.WIDGET_ALL]="All ITEMS",l[u.WIDGET_POLL]="poll",l[u.WIDGET_SET]="multi poll set",l[u.WIDGET_SURVEY]="survey",l[u.WIDGET_SLIDESHOW]="slideshow",l[u.WIDGET_TRIVIA_QUIZ]="trivia quiz",l[u.WIDGET_PERSONALITY_QUIZ]="personality quiz",l[u.WIDGET_LIST]="list",l[u.WIDGET_FORM]="standard form",l[u.WIDGET_STORY]="story article",e.default=a.default.component("widget-list",{template:"#opinionstage-widget-list",props:["widgets","preSelectedWidgetType","dataLoading","noMoreData","showSearch"],data:function(){return{selectedWidgetType:null,widgetTitleSearch:"",showMoreBtn:!0,hasData:!0,selectedDraftWidget:{}}},computed:{selectedWidgetTitle:function(){return l[this.selectedWidgetType||this.preSelectedWidgetType]}},watch:{widgetTitleSearch:(0,c.default)(function(){o.call(this)},500),widgets:function(){this.hasData=this.dataLoading||this.widgets.length>0}},methods:{select:function(t){t.isDraft?this.selectedDraftWidget=t:this.$emit("widget-selected",t)},selectWidgetType:function(t){this.selectedWidgetType=t,this.widgetTitleSearch="",o.call(this)},showMore:function(){this.$emit("load-more-widgets")}}})},function(t,e,n){(function(e){function n(t,e,n){function o(e){var n=m,r=v;return m=v=void 0,S=e,y=t.apply(r,n)}function i(t){return S=t,_=setTimeout(l,e),O?o(t):y}function c(t){var n=t-k,r=t-S,o=e-n;return T?w(o,g-r):o}function u(t){var n=t-k,r=t-S;return void 0===k||n>=e||n<0||T&&r>=g}function l(){var t=x();if(u(t))return f(t);_=setTimeout(l,c(t))}function f(t){return _=void 0,M&&m?o(t):(m=v=void 0,y)}function d(){void 0!==_&&clearTimeout(_),S=0,m=k=v=_=void 0}function p(){return void 0===_?y:f(x())}function h(){var t=x(),n=u(t);if(m=arguments,v=this,k=t,n){if(void 0===_)return i(k);if(T)return _=setTimeout(l,e),o(k)}return void 0===_&&(_=setTimeout(l,e)),y}var m,v,g,y,_,k,S=0,O=!1,T=!1,M=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,r(n)&&(O=!!n.leading,T="maxWait"in n,g=T?b(a(n.maxWait)||0,e):g,M="trailing"in n?!!n.trailing:M),h.cancel=d,h.flush=p,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||o(t)&&_.call(t)==u}function a(t){if("number"==typeof t)return t;if(i(t))return c;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=d.test(t);return n||p.test(t)?h(t.slice(2),n?2:8):f.test(t)?c:+t}var s="Expected a function",c=NaN,u="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){(function(t){!function(t,n){n(e)}(0,function(e){"use strict";function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){var r="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};
19
  //! moment.js
20
- !function(n,o){"object"===r(e)?t.exports=o():n.moment=o()}(o,function(){function e(){return jr.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function s(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return Me(t,e,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=h()),t._pf}function v(t){if(null==t._isValid){var e=m(t),n=Lr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=p(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}function y(t,e){var n,r,o;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=m(e)),s(e._locale)||(t._locale=e._locale),Pr.length>0)for(n=0;n<Pr.length;n++)r=Pr[n],o=e[r],s(o)||(t[r]=o);return t}function _(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ir&&(Ir=!0,e.updateOffset(this),Ir=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function k(t,e,n){var r,o=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&x(t[r])!==x(e[r]))&&a++;return a+i}function S(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,n){var o=!0;return d(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),o){for(var i,a=[],s=0;s<arguments.length;s++){if(i="","object"===r(arguments[s])){i+="\n["+s+"] ";for(var c in arguments[0])i+=c+": "+arguments[0][c]+", ";i=i.slice(0,-2)}else i=arguments[s];a.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Yr[t]||(S(n),Yr[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)e=t[n],M(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(t,e){var n,r=d({},t);for(n in e)f(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)f(t,n)&&!f(e,n)&&i(t[n])&&(r[n]=d({},r[n]));return r}function $(t){null!=t&&this.set(t)}function A(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return M(r)?r.call(e,n):r}function E(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function j(){return this._invalidDate}function L(t){return this._ordinal.replace("%d",t)}function P(t,e,n,r){var o=this._relativeTime[n];return M(o)?o(t,e,n,r):o.replace(/%d/i,t)}function I(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function Y(t,e){var n=t.toLowerCase();Hr[n]=Hr[n+"s"]=Hr[e]=t}function N(t){return"string"==typeof t?Hr[t]||Hr[t.toLowerCase()]:void 0}function R(t){var e,n,r={};for(n in t)f(t,n)&&(e=N(n))&&(r[e]=t[n]);return r}function W(t,e){Gr[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Gr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,e,n){var r=""+Math.abs(t),o=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function H(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(Zr[t]=o),e&&(Zr[e[0]]=function(){return U(o.apply(this,arguments),e[1],e[2])}),n&&(Zr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(Vr);for(e=0,n=r.length;e<n;e++)Zr[r[e]]?r[e]=Zr[r[e]]:r[e]=G(r[e]);return function(e){var o,i="";for(o=0;o<n;o++)i+=M(r[o])?r[o].call(e,t):r[o];return i}}function B(t,e){return t.isValid()?(e=z(e,t.localeData()),zr[e]=zr[e]||V(e),zr[e](t)):t.localeData().invalidDate()}function z(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(t);)t=t.replace(Br,n),Br.lastIndex=0,r-=1;return t}function Z(t,e,n){po[t]=M(e)?e:function(t,r){return t&&n?n:e}}function q(t,e){return f(po,t)?po[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return K(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,o){return e||n||r||o}))}function K(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),c(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n<t.length;n++)ho[t[n]]=r}function X(t,e){Q(t,function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)})}function tt(t,e,n){null!=e&&f(ho,t)&&ho[t](e,n._a,n,t)}function et(t){return nt(t)?366:365}function nt(t){return t%4==0&&t%100!=0||t%400==0}function rt(){return nt(this.year())}function ot(t,n){return function(r){return null!=r?(at(this,t,r),e.updateOffset(this,n),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function at(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function st(t){return t=N(t),M(this[t])?this[t]():this}function ct(t,e){if("object"===(void 0===t?"undefined":r(t))){t=R(t);for(var n=F(t),o=0;o<n.length;o++)this[n[o].unit](t[n[o].unit])}else if(t=N(t),M(this[t]))return this[t](e);return this}function ut(t,e){return(t%e+e)%e}function lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ut(e,12);return t+=(e-n)/12,1===n?nt(t)?29:28:31-n%7%2}function ft(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||To).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function dt(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[To.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?(o=So.call(this._shortMonthsParse,a),-1!==o?o:null):(o=So.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===e?-1!==(o=So.call(this._shortMonthsParse,a))?o:(o=So.call(this._longMonthsParse,a),-1!==o?o:null):-1!==(o=So.call(this._longMonthsParse,a))?o:(o=So.call(this._shortMonthsParse,a),-1!==o?o:null)}function ht(t,e,n){var r,o,i;if(this._monthsParseExact)return pt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function mt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(e=t.localeData().monthsParse(e),!c(e))return t;return n=Math.min(t.date(),lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function vt(t){return null!=t?(mt(this,t),e.updateOffset(this,!0),this):it(this,"Month")}function gt(){return lt(this.year(),this.month())}function yt(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Do),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function _t(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=$o),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function bt(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],i=[];for(e=0;e<12;e++)n=p([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),i.sort(t),e=0;e<12;e++)r[e]=K(r[e]),o[e]=K(o[e]);for(e=0;e<24;e++)i[e]=K(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function wt(t,e,n,r,o,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,o,i,a),s}function xt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function kt(t,e,n){var r=7+e-n;return-(7+xt(t,0,r).getUTCDay()-e)%7+r-1}function St(t,e,n,r,o){var i,a,s=(7+n-r)%7,c=kt(t,r,o),u=1+7*(e-1)+s+c;return u<=0?(i=t-1,a=et(i)+u):u>et(t)?(i=t+1,a=u-et(t)):(i=t,a=u),{year:i,dayOfYear:a}}function Ot(t,e,n){var r,o,i=kt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?(o=t.year()-1,r=a+Tt(o,e,n)):a>Tt(t.year(),e,n)?(r=a-Tt(t.year(),e,n),o=t.year()+1):(o=t.year(),r=a),{week:r,year:o}}function Tt(t,e,n){var r=kt(t,e,n),o=kt(t+1,e,n);return(et(t)-r+o)/7}function Mt(t){return Ot(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function Dt(){return this._week.doy}function $t(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function At(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function jt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Lt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Pt(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Lt(n,this._week.dow):t?n[t.day()]:n}function It(t){return!0===t?Lt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return!0===t?Lt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?(o=So.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===e?(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===e?-1!==(o=So.call(this._weekdaysParse,a))?o:-1!==(o=So.call(this._shortWeekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"ddd"===e?-1!==(o=So.call(this._shortWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):-1!==(o=So.call(this._minWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null)}function Rt(t,e,n){var r,o,i;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Wt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ut(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=jt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Po),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Io),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yo),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function t(t,e){return e.length-t.length}var e,n,r,o,i,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),u.push(r),u.push(o),u.push(i);for(a.sort(t),s.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)s[e]=K(s[e]),c[e]=K(c[e]),u[e]=K(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function qt(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}function Kt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t){return t?t.toLowerCase().replace("_","-"):t}function te(t){for(var e,n,r,o,i=0;i<t.length;){for(o=Xt(t[i]).split("-"),e=o.length,n=Xt(t[i+1]),n=n?n.split("-"):null;e>0;){if(r=ee(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(o,n,!0)>=e-1)break;e--}i++}return No}function ee(e){var r=null;if(!Uo[e]&&t&&t.exports)try{r=No._abbr;n("./locale/"+e),ne(r)}catch(t){}return Uo[e]}function ne(t,e){var n;return t&&(n=s(e)?ie(t):re(t,e),n?No=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),No._abbr}function re(t,e){if(null!==e){var n,r=Fo;if(e.abbr=t,null!=Uo[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Uo[t]._config;else if(null!=e.parentLocale)if(null!=Uo[e.parentLocale])r=Uo[e.parentLocale]._config;else{if(null==(n=ee(e.parentLocale)))return Ho[e.parentLocale]||(Ho[e.parentLocale]=[]),Ho[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Uo[t]=new $(D(r,e)),Ho[t]&&Ho[t].forEach(function(t){re(t.name,t.config)}),ne(t),Uo[t]}return delete Uo[t],null}function oe(t,e){if(null!=e){var n,r,o=Fo;r=ee(t),null!=r&&(o=r._config),e=D(o,e),n=new $(e),n.parentLocale=Uo[t],Uo[t]=n,ne(t)}else null!=Uo[t]&&(null!=Uo[t].parentLocale?Uo[t]=Uo[t].parentLocale:null!=Uo[t]&&delete Uo[t]);return Uo[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return No;if(!o(t)){if(e=ee(t))return e;t=[t]}return te(t)}function ae(){return Nr(Uo)}function se(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[vo]<0||n[vo]>11?vo:n[go]<1||n[go]>lt(n[mo],n[vo])?go:n[yo]<0||n[yo]>24||24===n[yo]&&(0!==n[_o]||0!==n[bo]||0!==n[wo])?yo:n[_o]<0||n[_o]>59?_o:n[bo]<0||n[bo]>59?bo:n[wo]<0||n[wo]>999?wo:-1,m(t)._overflowDayOfYear&&(e<mo||e>go)&&(e=go),m(t)._overflowWeeks&&-1===e&&(e=xo),m(t)._overflowWeekday&&-1===e&&(e=ko),m(t).overflow=e),t}function ce(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,r,o,i,a=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[go]&&null==t._a[vo]&&fe(t),null!=t._dayOfYear&&(i=ce(t._a[mo],r[mo]),(t._dayOfYear>et(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xt(i,0,t._dayOfYear),t._a[vo]=n.getUTCMonth(),t._a[go]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yo]&&0===t._a[_o]&&0===t._a[bo]&&0===t._a[wo]&&(t._nextDay=!0,t._a[yo]=0),t._d=(t._useUTC?xt:wt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yo]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(m(t).weekdayMismatch=!0)}}function fe(t){var e,n,r,o,i,a,s,c;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)i=1,a=4,n=ce(e.GG,t._a[mo],Ot(Ce(),1,4).year),r=ce(e.W,1),((o=ce(e.E,1))<1||o>7)&&(c=!0);else{i=t._locale._week.dow,a=t._locale._week.doy;var u=Ot(Ce(),i,a);n=ce(e.gg,t._a[mo],u.year),r=ce(e.w,u.week),null!=e.d?((o=e.d)<0||o>6)&&(c=!0):null!=e.e?(o=e.e+i,(e.e<0||e.e>6)&&(c=!0)):o=i}r<1||r>Tt(n,i,a)?m(t)._overflowWeeks=!0:null!=c?m(t)._overflowWeekday=!0:(s=St(n,r,o,i,a),t._a[mo]=s.year,t._dayOfYear=s.dayOfYear)}function de(t){var e,n,r,o,i,a,s=t._i,c=Go.exec(s)||Vo.exec(s);if(c){for(m(t).iso=!0,e=0,n=zo.length;e<n;e++)if(zo[e][1].exec(c[1])){o=zo[e][0],r=!1!==zo[e][2];break}if(null==o)return void(t._isValid=!1);if(c[3]){for(e=0,n=Zo.length;e<n;e++)if(Zo[e][1].exec(c[3])){i=(c[2]||" ")+Zo[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Bo.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=o+(i||"")+(a||""),be(t)}else t._isValid=!1}function pe(t,e,n,r,o,i){var a=[he(t),Co.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function me(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ve(t,e,n){if(t){if(jo.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ge(t,e,n){if(t)return Ko[t];if(e)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function ye(t){var e=Jo.exec(me(t._i));if(e){var n=pe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!ve(e[1],n,t))return;t._a=n,t._tzm=ge(e[8],e[9],e[10]),t._d=xt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function _e(t){var n=qo.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));de(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function be(t){if(t._f===e.ISO_8601)return void de(t);if(t._f===e.RFC_2822)return void ye(t);t._a=[],m(t).empty=!0;var n,r,o,i,a,s=""+t._i,c=s.length,u=0;for(o=z(t._f,t._locale).match(Vr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(q(i,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Zr[i]?(r?m(t).empty=!1:m(t).unusedTokens.push(i),tt(i,r,t)):t._strict&&!r&&m(t).unusedTokens.push(i);m(t).charsLeftOver=c-u,s.length>0&&m(t).unusedInput.push(s),t._a[yo]<=12&&!0===m(t).bigHour&&t._a[yo]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[yo]=we(t._locale,t._a[yo],t._meridiem),le(t),se(t)}function we(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function xe(t){var e,n,r,o,i;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)i=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],be(e),v(e)&&(i+=m(e).charsLeftOver,i+=10*m(e).unusedTokens.length,m(e).score=i,(null==r||i<r)&&(r=i,n=e));d(t,n||e)}function ke(t){if(!t._d){var e=R(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function Se(t){var e=new _(se(Oe(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(se(e)):(u(e)?t._d=e:o(n)?xe(t):n?be(t):Te(t),v(t)||(t._d=null),t))}function Te(t){var n=t._i;s(n)?t._d=new Date(e.now()):u(n)?t._d=new Date(n.valueOf()):"string"==typeof n?_e(t):o(n)?(t._a=l(n.slice(0),function(t){return parseInt(t,10)}),le(t)):i(n)?ke(t):c(n)?t._d=new Date(n):e.createFromInputFallback(t)}function Me(t,e,n,r,s){var c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(t)&&a(t)||o(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=n,c._i=t,c._f=e,c._strict=r,Se(c)}function Ce(t,e,n,r){return Me(t,e,n,r,!1)}function De(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function $e(){return De("isBefore",[].slice.call(arguments,0))}function Ae(){return De("isAfter",[].slice.call(arguments,0))}function Ee(t){for(var e in t)if(-1===So.call(ei,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<ei.length;++r)if(t[ei[r]]){if(n)return!1;parseFloat(t[ei[r]])!==x(t[ei[r]])&&(n=!0)}return!0}function je(){return this._isValid}function Le(){return Xe(NaN)}function Pe(t){var e=R(t),n=e.year||0,r=e.quarter||0,o=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=Ee(e),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=ie(),this._bubble()}function Ie(t){return t instanceof Pe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){H(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+U(~~(t/60),2)+e+U(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(ni)||["-",0,0],i=60*o[1]+x(o[2]);return 0===i?0:"+"===o[0]?i:-i}function We(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(b(t)||u(t)?t.valueOf():Ce(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),e.updateOffset(r,!1),r):Ce(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(t,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(uo,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==t&&(!n||this._changeInProgress?on(this,Xe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Fe(this)}function He(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ge(t){return this.utcOffset(0,t)}function Ve(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function Be(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(co,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function ze(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=Oe(t),t._a){var e=t._isUTC?p(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Je(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,o,i,a=t,s=null;return Ie(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=ri.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[go])*n,h:x(s[yo])*n,m:x(s[_o])*n,s:x(s[bo])*n,ms:x(Ye(1e3*s[wo]))*n}):(s=oi.exec(t))?(n="-"===s[1]?-1:1,a={y:tn(s[2],n),M:tn(s[3],n),w:tn(s[4],n),d:tn(s[5],n),h:tn(s[6],n),m:tn(s[7],n),s:tn(s[8],n)}):null==a?a={}:"object"===(void 0===a?"undefined":r(a))&&("from"in a||"to"in a)&&(i=nn(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),o=new Pe(a),Ie(t)&&f(t,"_locale")&&(o._locale=t._locale),o}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=We(e,t),t.isBefore(e)?n=en(t,e):(n=en(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,r){var o,i;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Xe(n,r),on(this,o,t),this}}function on(t,n,r,o){var i=n._milliseconds,a=Ye(n._days),s=Ye(n._months);t.isValid()&&(o=null==o||o,s&&mt(t,it(t,"Month")+s*r),a&&at(t,"Date",it(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),o&&e.updateOffset(t,a||s))}function an(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sn(t,n){var r=t||Ce(),o=We(r,this).startOf("day"),i=e.calendarFormat(this,o)||"sameElse",a=n&&(M(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,Ce(r)))}function cn(){return new _(this)}function un(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function ln(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function fn(t,e,n,r){var o=b(t)?t:Ce(t),i=b(e)?e:Ce(e);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))}function dn(t,e){var n,r=b(t)?t:Ce(t);return!(!this.isValid()||!r.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function pn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function mn(t,e,n){var r,o,i;if(!this.isValid())return NaN;if(r=We(t,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),e=N(e)){case"year":i=vn(this,r)/12;break;case"month":i=vn(this,r);break;case"quarter":i=vn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)}function vn(t,e){var n,r,o=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(o,"months");return e-i<0?(n=t.clone().add(o-1,"months"),r=(e-i)/(i-n)):(n=t.clone().add(o+1,"months"),r=(e-i)/(n-i)),-(o+r)||0}function gn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _n(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)}function bn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=B(this,t);return this.localeData().postformat(n)}function wn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.from(Ce(),t)}function kn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Sn(t){return this.to(Ce(),t)}function On(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function Tn(){return this._locale}function Mn(t,e){return(t%e+e)%e}function Cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function $n(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Mn(n+(this._isUTC?0:this.utcOffset()*ui),li);break;case"minute":n=this._d.valueOf(),n-=Mn(n,ui);break;case"second":n=this._d.valueOf(),n-=Mn(n,ci)}return this._d.setTime(n),e.updateOffset(this,!0),this}function An(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=li-Mn(n+(this._isUTC?0:this.utcOffset()*ui),li)-1;break;case"minute":n=this._d.valueOf(),n+=ui-Mn(n,ui)-1;break;case"second":n=this._d.valueOf(),n+=ci-Mn(n,ci)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function En(){return this._d.valueOf()-6e4*(this._offset||0)}function jn(){return Math.floor(this.valueOf()/1e3)}function Ln(){return new Date(this.valueOf())}function Pn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function In(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Yn(){return this.isValid()?this.toISOString():null}function Nn(){return v(this)}function Rn(){return d({},m(this))}function Wn(){return m(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Un(t,e){H(0,[t,t.length],0,e)}function Hn(t){return zn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(t){return zn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return Tt(this.year(),1,4)}function Bn(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function zn(t,e,n,r,o){var i;return null==t?Ot(this,r,o).year:(i=Tt(t,r,o),e>i&&(e=i),Zn.call(this,t,e,n,r,o))}function Zn(t,e,n,r,o){var i=St(t,e,n,r,o),a=xt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Jn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Kn(t,e){e[wo]=x(1e3*("0."+t))}function Qn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function tr(t){return Ce(1e3*t)}function er(){return Ce.apply(null,arguments).parseZone()}function nr(t){return t}function rr(t,e,n,r){var o=ie(),i=p().set(r,e);return o[n](i,t)}function or(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return rr(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=rr(t,r,n,"month");return o}function ir(t,e,n,r){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var o=ie(),i=t?o._week.dow:0;if(null!=n)return rr(e,(n+i)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=rr(e,(a+i)%7,r,"day");return s}function ar(t,e){return or(t,e,"months")}function sr(t,e){return or(t,e,"monthsShort")}function cr(t,e,n){return ir(t,e,n,"weekdays")}function ur(t,e,n){return ir(t,e,n,"weekdaysShort")}function lr(t,e,n){return ir(t,e,n,"weekdaysMin")}function fr(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function dr(t,e,n,r){var o=Xe(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function pr(t,e){return dr(this,t,e,1)}function hr(t,e){return dr(this,t,e,-1)}function mr(t){return t<0?Math.floor(t):Math.ceil(t)}function vr(){var t,e,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*mr(yr(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=w(i/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,a+=w(n/24),o=w(gr(a)),s+=o,a-=mr(yr(o)),r=w(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function gr(t){return 4800*t/146097}function yr(t){return 146097*t/4800}function _r(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=N(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+gr(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(yr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function br(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function wr(t){return function(){return this.as(t)}}function xr(){return Xe(this)}function kr(t){return t=N(t),this.isValid()?this[t+"s"]():NaN}function Sr(t){return function(){return this.isValid()?this._data[t]:NaN}}function Or(){return w(this.days()/7)}function Tr(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}function Mr(t,e,n){var r=Xe(t).abs(),o=Ii(r.as("s")),i=Ii(r.as("m")),a=Ii(r.as("h")),s=Ii(r.as("d")),c=Ii(r.as("M")),u=Ii(r.as("y")),l=o<=Yi.ss&&["s",o]||o<Yi.s&&["ss",o]||i<=1&&["m"]||i<Yi.m&&["mm",i]||a<=1&&["h"]||a<Yi.h&&["hh",a]||s<=1&&["d"]||s<Yi.d&&["dd",s]||c<=1&&["M"]||c<Yi.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=e,l[3]=+t>0,l[4]=n,Tr.apply(null,l)}function Cr(t){return void 0===t?Ii:"function"==typeof t&&(Ii=t,!0)}function Dr(t,e){return void 0!==Yi[t]&&(void 0===e?Yi[t]:(Yi[t]=e,"s"===t&&(Yi.ss=e-1),!0))}function $r(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Mr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ar(t){return(t>0)-(t<0)||+t}function Er(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=Ni(this._milliseconds)/1e3,o=Ni(this._days),i=Ni(this._months);t=w(r/60),e=w(t/60),r%=60,t%=60,n=w(i/12),i%=12;var a=n,s=i,c=o,u=e,l=t,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",h=Ar(this._months)!==Ar(d)?"-":"",m=Ar(this._days)!==Ar(d)?"-":"",v=Ar(this._milliseconds)!==Ar(d)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(c?m+c+"D":"")+(u||l||f?"T":"")+(u?v+u+"H":"")+(l?v+l+"M":"")+(f?v+f+"S":"")}var jr,Lr;Lr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Pr=e.momentProperties=[],Ir=!1,Yr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Nr;Nr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var Rr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Wr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hr={},Gr={},Vr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,zr={},Zr={},qr=/\d/,Jr=/\d\d/,Kr=/\d{3}/,Qr=/\d{4}/,Xr=/[+-]?\d{6}/,to=/\d\d?/,eo=/\d\d\d\d?/,no=/\d\d\d\d\d\d?/,ro=/\d{1,3}/,oo=/\d{1,4}/,io=/[+-]?\d{1,6}/,ao=/\d+/,so=/[+-]?\d+/,co=/Z|[+-]\d\d:?\d\d/gi,uo=/Z|[+-]\d\d(?::?\d\d)?/gi,lo=/[+-]?\d+(\.\d{1,3})?/,fo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,po={},ho={},mo=0,vo=1,go=2,yo=3,_o=4,bo=5,wo=6,xo=7,ko=8;H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),W("year",1),Z("Y",so),Z("YY",to,Jr),Z("YYYY",oo,Qr),Z("YYYYY",io,Xr),Z("YYYYYY",io,Xr),Q(["YYYYY","YYYYYY"],mo),Q("YYYY",function(t,n){n[mo]=2===t.length?e.parseTwoDigitYear(t):x(t)}),Q("YY",function(t,n){n[mo]=e.parseTwoDigitYear(t)}),Q("Y",function(t,e){e[mo]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var So,Oo=ot("FullYear",!0);So=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),W("month",8),Z("M",to),Z("MM",to,Jr),Z("MMM",function(t,e){return e.monthsShortRegex(t)}),Z("MMMM",function(t,e){return e.monthsRegex(t)}),Q(["M","MM"],function(t,e){e[vo]=x(t)-1}),Q(["MMM","MMMM"],function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[vo]=o:m(n).invalidMonth=t});var To=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Co="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Do=fo,$o=fo;H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),W("week",5),W("isoWeek",5),Z("w",to),Z("ww",to,Jr),Z("W",to),Z("WW",to,Jr),X(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var Ao={dow:0,doy:6};H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),Z("d",to),Z("e",to),Z("E",to),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("dddd",function(t,e){return e.weekdaysRegex(t)}),X(["dd","ddd","dddd"],function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:m(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var Eo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Po=fo,Io=fo,Yo=fo;H("H",["HH",2],0,"hour"),H("h",["hh",2],0,zt),H("k",["kk",2],0,Zt),H("hmm",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)}),H("hmmss",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),qt("a",!0),qt("A",!1),Y("hour","h"),W("hour",13),Z("a",Jt),Z("A",Jt),Z("H",to),Z("h",to),Z("k",to),Z("HH",to,Jr),Z("hh",to,Jr),Z("kk",to,Jr),Z("hmm",eo),Z("hmmss",no),Z("Hmm",eo),Z("Hmmss",no),Q(["H","HH"],yo),Q(["k","kk"],function(t,e,n){var r=x(t);e[yo]=24===r?0:r}),Q(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Q(["h","hh"],function(t,e,n){e[yo]=x(t),m(n).bigHour=!0}),Q("hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r)),m(n).bigHour=!0}),Q("hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o)),m(n).bigHour=!0}),Q("Hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r))}),Q("Hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o))});var No,Ro=/[ap]\.?m?\.?/i,Wo=ot("Hours",!0),Fo={calendar:Rr,longDateFormat:Wr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Mo,monthsShort:Co,week:Ao,weekdays:Eo,weekdaysMin:Lo,weekdaysShort:jo,meridiemParse:Ro},Uo={},Ho={},Go=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,zo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Zo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qo=/^\/?Date\((\-?\d+)/i,Jo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ko={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Qo=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Xo=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),ti=function(){return Date.now?Date.now():+new Date},ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ne("Z",":"),Ne("ZZ",""),Z("Z",uo),Z("ZZ",uo),Q(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(uo,t)});var ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var ri=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Pe.prototype,Xe.invalid=Le;var ii=rn(1,"add"),ai=rn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ci=1e3,ui=60*ci,li=60*ui,fi=3506328*li;H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Un("gggg","weekYear"),Un("ggggg","weekYear"),Un("GGGG","isoWeekYear"),Un("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),Z("G",so),Z("g",so),Z("GG",to,Jr),Z("gg",to,Jr),Z("GGGG",oo,Qr),Z("gggg",oo,Qr),Z("GGGGG",io,Xr),Z("ggggg",io,Xr),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=x(t)}),X(["gg","GG"],function(t,n,r,o){n[o]=e.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),Y("quarter","Q"),W("quarter",7),Z("Q",qr),Q("Q",function(t,e){e[vo]=3*(x(t)-1)}),H("D",["DD",2],"Do","date"),Y("date","D"),W("date",9),Z("D",to),Z("DD",to,Jr),Z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Q(["D","DD"],go),Q("Do",function(t,e){e[go]=x(t.match(to)[0])});var di=ot("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),W("dayOfYear",4),Z("DDD",ro),Z("DDDD",Kr),Q(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),H("m",["mm",2],0,"minute"),Y("minute","m"),W("minute",14),Z("m",to),Z("mm",to,Jr),Q(["m","mm"],_o);var pi=ot("Minutes",!1);H("s",["ss",2],0,"second"),Y("second","s"),W("second",15),Z("s",to),Z("ss",to,Jr),Q(["s","ss"],bo);var hi=ot("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),W("millisecond",16),Z("S",ro,qr),Z("SS",ro,Jr),Z("SSS",ro,Kr);var mi;for(mi="SSSS";mi.length<=9;mi+="S")Z(mi,ao);for(mi="S";mi.length<=9;mi+="S")Q(mi,Kn);var vi=ot("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var gi=_.prototype;gi.add=ii,gi.calendar=sn,gi.clone=cn,gi.diff=mn,gi.endOf=An,gi.format=bn,gi.from=wn,gi.fromNow=xn,gi.to=kn,gi.toNow=Sn,gi.get=st,gi.invalidAt=Wn,gi.isAfter=un,gi.isBefore=ln,gi.isBetween=fn,gi.isSame=dn,gi.isSameOrAfter=pn,gi.isSameOrBefore=hn,gi.isValid=Nn,gi.lang=si,gi.locale=On,gi.localeData=Tn,gi.max=Xo,gi.min=Qo,gi.parsingFlags=Rn,gi.set=ct,gi.startOf=$n,gi.subtract=ai,gi.toArray=Pn,gi.toObject=In,gi.toDate=Ln,gi.toISOString=yn,gi.inspect=_n,gi.toJSON=Yn,gi.toString=gn,gi.unix=jn,gi.valueOf=En,gi.creationData=Fn,gi.year=Oo,gi.isLeapYear=rt,gi.weekYear=Hn,gi.isoWeekYear=Gn,gi.quarter=gi.quarters=qn,gi.month=vt,gi.daysInMonth=gt,gi.week=gi.weeks=$t,gi.isoWeek=gi.isoWeeks=At,gi.weeksInYear=Bn,gi.isoWeeksInYear=Vn,gi.date=di,gi.day=gi.days=Wt,gi.weekday=Ft,gi.isoWeekday=Ut,gi.dayOfYear=Jn,gi.hour=gi.hours=Wo,gi.minute=gi.minutes=pi,gi.second=gi.seconds=hi,gi.millisecond=gi.milliseconds=vi,gi.utcOffset=Ue,gi.utc=Ge,gi.local=Ve,gi.parseZone=Be,gi.hasAlignedHourOffset=ze,gi.isDST=Ze,gi.isLocal=Je,gi.isUtcOffset=Ke,gi.isUtc=Qe,gi.isUTC=Qe,gi.zoneAbbr=Qn,gi.zoneName=Xn,gi.dates=O("dates accessor is deprecated. Use date instead.",di),gi.months=O("months accessor is deprecated. Use month instead",vt),gi.years=O("years accessor is deprecated. Use year instead",Oo),gi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",He),gi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var yi=$.prototype;yi.calendar=A,yi.longDateFormat=E,yi.invalidDate=j,yi.ordinal=L,yi.preparse=nr,yi.postformat=nr,yi.relativeTime=P,yi.pastFuture=I,yi.set=C,yi.months=ft,yi.monthsShort=dt,yi.monthsParse=ht,yi.monthsRegex=_t,yi.monthsShortRegex=yt,yi.week=Mt,yi.firstDayOfYear=Dt,yi.firstDayOfWeek=Ct,yi.weekdays=Pt,yi.weekdaysMin=Yt,yi.weekdaysShort=It,yi.weekdaysParse=Rt,yi.weekdaysRegex=Ht,yi.weekdaysShortRegex=Gt,yi.weekdaysMinRegex=Vt,yi.isPM=Kt,yi.meridiem=Qt,ne("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=O("moment.lang is deprecated. Use moment.locale instead.",ne),e.langData=O("moment.langData is deprecated. Use moment.localeData instead.",ie);var _i=Math.abs,bi=wr("ms"),wi=wr("s"),xi=wr("m"),ki=wr("h"),Si=wr("d"),Oi=wr("w"),Ti=wr("M"),Mi=wr("Q"),Ci=wr("y"),Di=Sr("milliseconds"),$i=Sr("seconds"),Ai=Sr("minutes"),Ei=Sr("hours"),ji=Sr("days"),Li=Sr("months"),Pi=Sr("years"),Ii=Math.round,Yi={ss:44,s:45,m:45,h:22,d:26,M:11},Ni=Math.abs,Ri=Pe.prototype;return Ri.isValid=je,Ri.abs=fr,Ri.add=pr,Ri.subtract=hr,Ri.as=_r,Ri.asMilliseconds=bi,Ri.asSeconds=wi,Ri.asMinutes=xi,Ri.asHours=ki,Ri.asDays=Si,Ri.asWeeks=Oi,Ri.asMonths=Ti,Ri.asQuarters=Mi,Ri.asYears=Ci,Ri.valueOf=br,Ri._bubble=vr,Ri.clone=xr,Ri.get=kr,Ri.milliseconds=Di,Ri.seconds=$i,Ri.minutes=Ai,Ri.hours=Ei,Ri.days=ji,Ri.weeks=Or,Ri.months=Li,Ri.years=Pi,Ri.humanize=$r,Ri.toISOString=Er,Ri.toString=Er,Ri.toJSON=Er,Ri.locale=On,Ri.localeData=Tn,Ri.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Er),Ri.lang=si,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Z("x",so),Z("X",lo),Q("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Q("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.24.0",function(t){jr=t}(Ce),e.fn=gi,e.min=$e,e.max=Ae,e.now=ti,e.utc=p,e.unix=tr,e.months=ar,e.isDate=u,e.locale=ne,e.invalid=g,e.duration=Xe,e.isMoment=b,e.weekdays=cr,e.parseZone=er,e.localeData=ie,e.isDuration=Ie,e.monthsShort=sr,e.weekdaysMin=lr,e.defineLocale=re,e.updateLocale=oe,e.locales=ae,e.weekdaysShort=ur,e.normalizeUnits=N,e.relativeTimeRounding=Cr,e.relativeTimeThreshold=Dr,e.calendarFormat=an,e.prototype=gi,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})}),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={install:function(t,e){var n=e&&e.moment?e.moment:i;Object.defineProperties(t.prototype,{$moment:{get:function(){return n}}}),t.moment=n,t.filter("moment",function(){function t(){for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift();switch(s){case"add":for(var u=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),l={},f=0;f<u.length;f++){var d=u[f].split(" ");l[d[1]]=d[0]}c.add(l);break;case"subtract":for(var p=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),h={},m=0;m<p.length;m++){var v=p[m].split(" ");h[v[1]]=v[0]}c.subtract(h);break;case"from":var g="now",y=!1;"now"===o[0]&&o.shift(),n(o[0]).isValid()&&(g=n(o.shift())),!0===o[0]&&(o.shift(),y=!0),c="now"!==g?c.from(g,y):c.fromNow(y);break;case"diff":var _=n(),b="",w=!1;n(o[0]).isValid()?_=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),o[0]&&(b=o.shift()),!0===o[0]&&(w=o.shift()),c=c.diff(_,b,w);break;case"calendar":var x=n(),k={};n(o[0]).isValid()?x=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),"object"===a(o[0])&&(k=o.shift()),c=c.calendar(x,k);break;case"utc":c.utc();break;case"timezone":c.tz(o.shift());break;default:var S=s;c=c.format(S)}o.length&&t.apply(t,o)}for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift(),c=void 0;return c=Array.isArray(s)&&"string"==typeof s[0]?n(s[0],s[1],!0):"number"==typeof s&&s.toString().length<12?n.unix(s):n(s),s&&c.isValid()?(t.apply(t,o),c):(console.warn("Could not build a valid `moment` object from input."),s)}),t.filter("duration",function(){function t(t){Array.isArray(t)||(t=[t]);var e=n.duration.apply(n,r(t));return e.isValid()||console.warn("Could not build a valid `duration` object from input."),e}for(var e=arguments,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=e[a];i=Array.prototype.slice.call(i);var s=i.shift(),c=i.shift(),u=t(s);if("add"===c||"subtract"===c){var l=t(i);u[c](l)}else if(u&&u[c]){var f;u=(f=u)[c].apply(f,r(i))}return u})}},c=s.install;e.default=s,e.install=c,Object.defineProperty(e,"__esModule",{value:!0})})}).call(e,n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default.component("notification",{template:"#opinionstage-notification",methods:{initiateUpdate:function(){this.$emit("update-btn-click")}}})},function(t,e,n){var r=n(30);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(4)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(!1),e.push([t.i,'.opinionstage-content-popup-contents{min-width:960px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""]{max-width:680px;min-width:680px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .main-title{font-size:20px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content{margin:0 auto;padding:40px 30px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content #os-start-login{margin-top:30px}.opinionstage-content-popup-contents *{margin:0;padding:0;color:#222120;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Open Sans,Helvetica,sans-serif}.opinionstage-content-popup-contents .header{background-color:#222120;width:100%}.opinionstage-content-popup-contents .header__container{color:#fff;margin:auto;padding:0 10px}.opinionstage-content-popup-contents .header__logo{display:inline-block}.opinionstage-content-popup-contents .header__logo a:active,.opinionstage-content-popup-contents .header__logo a:focus,.opinionstage-content-popup-contents .header__logo a:hover,.opinionstage-content-popup-contents .header__logo a:visited{border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.opinionstage-content-popup-contents .header__logo img{margin:15px 10px;width:150px}.opinionstage-content-popup-contents .header__nav{display:inline-block;font-size:0;vertical-align:bottom}.opinionstage-content-popup-contents .header__action{display:block;float:right;font-size:0;margin-top:10px}.opinionstage-content-popup-contents .page-content{margin:0 auto;padding:25px 15px 15px}.opinionstage-content-popup-contents .main-title{font-size:30px;font-weight:400;line-height:normal}.opinionstage-content-popup-contents .conect-form{text-align:center;margin-top:20px}.opinionstage-content-popup-contents .content-actions{height:40px;margin-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.opinionstage-content-popup-contents .content-actions__left,.opinionstage-content-popup-contents .content-actions__right{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.opinionstage-content-popup-contents .content-actions__left{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.opinionstage-content-popup-contents .content-actions__right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.opinionstage-content-popup-contents .content-actions__sep{border-right:1px solid #e5e5e5;margin:0 20px}.opinionstage-content-popup-contents .content-actions:after{content:"";clear:both;display:block}.opinionstage-content-popup-contents .filter__itm{display:inline-block;cursor:pointer;font-size:12px;margin-right:0;line-height:25px;text-transform:uppercase;width:100%}.opinionstage-content-popup-contents .filter__itm:first-child{border-top:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm:last-child{border-bottom:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm.active{color:#fff;background:#5299fb;font-weight:400;pointer-events:none}.opinionstage-content-popup-contents .filter{display:inline-block;margin:0;width:auto}.opinionstage-content-popup-contents .content__list{height:calc(92vh - 160px);overflow-y:scroll}.opinionstage-content-popup-contents .content__loading{text-align:center}.opinionstage-content-popup-contents .content__itm{margin:0;padding-bottom:6px;padding-top:10px;position:relative;width:100%;border-bottom:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:first-child{border-top:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:hover .content__links{display:inline-block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.opinionstage-content-popup-contents .content__image{display:inline-block;height:90px;position:relative;width:15%}.opinionstage-content-popup-contents .content__image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.opinionstage-content-popup-contents .content__info{display:inline-block;position:relative;background:transparent;font-size:16px;height:85px;width:50%;line-height:normal;margin:0;overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.opinionstage-content-popup-contents .content__info a{color:inherit;text-decoration:none}.opinionstage-content-popup-contents .content__info-title{font-weight:600}.opinionstage-content-popup-contents .content__info .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}.opinionstage-content-popup-contents .content__info .icon-os-status-open{color:#3aaebd}.opinionstage-content-popup-contents .content__info .icon-os-status-closed{color:#f46368}.opinionstage-content-popup-contents .opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-content-popup-contents .content__info-details{position:absolute;bottom:0;font-size:13px;color:#b1b1b1}.opinionstage-content-popup-contents .content__info-details span{color:#b1b1b1}.opinionstage-content-popup-contents .content__links{background:none;display:inline-block;float:right;text-align:right;height:100%;padding:20px 10px;left:0;position:relative;top:0;width:30%}@media only screen and (max-width:767px){.opinionstage-content-popup-contents .content__links{padding-left:0;padding-right:0}}.opinionstage-content-popup-contents .content__links-itm{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:5px auto;padding:14px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:200px}.opinionstage-content-popup-contents .content__links-itm:hover{background-color:hsla(0,0%,100%,.1)}.opinionstage-content-popup-contents .popup-content-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:inline;font-size:15px;font-weight:600;padding:13px 14px;text-align:center;text-decoration:none;width:auto}.opinionstage-content-popup-contents .content__label{background-color:#222120;bottom:auto;color:#fff;font-size:12px;top:0;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;z-index:2}.opinionstage-content-popup-contents .std-btn{background-color:rgba(123,91,167,.4);border-radius:5px 5px 0 0;cursor:pointer;color:#fff;display:inline-block;font:16px/50px Open Sans,Helvetica,sans-serif;margin:0;text-align:center;text-transform:uppercase;vertical-align:bottom;width:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.opinionstage-content-popup-contents .std-btn.active{background-color:#fff;color:#222120}.opinionstage-content-popup-contents .create-new-menu-box{display:inline-block;position:relative}.opinionstage-content-popup-contents .create-new-menu-box:hover .create-new-menu{display:block}.opinionstage-content-popup-contents .create-new-menu{display:none;position:absolute;width:100%;top:39px;left:0;border:1px solid #3aaebd;background-color:#fff;z-index:3}.opinionstage-content-popup-contents .create-menu__itm{display:block;color:#3aaebd;border-bottom:1px solid #3aaebd;padding:8px 12px;background-color:#fff;font-size:14px;text-decoration:none;text-transform:uppercase}.opinionstage-content-popup-contents .create-menu__itm:hover{text-decoration:none;color:#fff;background-color:#44a9d2}.opinionstage-content-popup-contents .btn-close{border-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:27px/48px Open Sans,Helvetica,sans-serif;margin-left:20px;text-align:center;width:42px}.opinionstage-content-popup-contents .btn-close:hover{opacity:.8}.opinionstage-content-popup-contents .btn-blue{display:inline-block;background-color:#38aebd;border:medium none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;line-height:36px;outline:medium none;text-transform:uppercase;text-decoration:none;width:140px}.opinionstage-content-popup-contents .btn-blue:hover{background-color:#55a6cc}.opinionstage-content-popup-contents .btn-show-more{padding:15px 0;border:none;background-color:#e6e6e6;width:100%}.opinionstage-content-popup-contents .std-inp{background-color:#fff;border:1px solid #c1c1c1;border-radius:5px;height:36px;outline:medium none;padding:0 15px;width:450px}.opinionstage-content-popup-contents .os-search{width:180px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:0 0;box-shadow:0 0}.opinionstage-content-popup-contents .os-search__input{color:#797979;padding-left:10px;width:100%;border:none;border-radius:0;outline:none}.opinionstage-content-popup-contents .os-search__input:focus{border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;outline:none}.opinionstage-content-popup-contents .os-search__icon{color:#3aaebd;line-height:normal;font-size:18px;padding:10px 9px;margin:0}.opinionstage-content-popup-contents .hidden{visibility:hidden}.opinionstage-content-popup-contents .opinionstage-blue-btn{cursor:pointer;text-align:center;color:#fff;text-decoration:none;display:inline-block;padding:11px 10px;font-weight:400;background-color:#38aebd;border-radius:3px;border-style:hidden;width:95px;margin-right:15px}.opinionstage-content-popup-contents .opinionstage-blue-btn:hover{opacity:.9}.opinionstage-content-popup-contents .opinionstage-section-notification{background-color:rgba(0,0,0,.7);width:100%;padding:20px 25px;z-index:3;text-align:center;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.6);box-shadow:0 2px 5px rgba(0,0,0,.6)}.opinionstage-content-popup-contents .opinionstage-section-notification__title{color:#fff;font-size:15px;margin-bottom:15px}.opinionstage-content-popup-contents .opinionstage-section-notification__controls{position:relative;font-size:0}.opinionstage-content-popup-contents .notification-container~div>.page-content .content__list{max-height:calc(92vh - 270px)}.opinionstage-content-popup-contents .bordered-container{border:1px solid #e5e5e5;text-align:center;padding:40px}.opinionstage-content-popup-contents .opinionstage-introduction-video{text-align:center;padding:20px}.opinionstage-content-popup-contents .opinionstage-connect-form{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.opinionstage-content-popup-contents .opinionstage-connect-form .opinionstage-conect-input{border:1px solid #e5e5e5;height:40px;padding:0 15px;width:420px;border-radius:3px;margin-right:10px;-webkit-box-shadow:none!important;box-shadow:none!important;outline:none!important}.opinionstage-content-popup-contents .dropbtn{background-color:#fff;border:1px solid #e4e4e4;border-right:0!important;-webkit-box-shadow:0 0 0!important;box-shadow:0 0 0!important;cursor:pointer;display:inline-block;font:12px/38px Open Sans,Helvetica,sans-serif;outline:none!important;padding-left:10px;position:relative;text-align:left;text-decoration:none;width:140px;margin-right:50px}.opinionstage-content-popup-contents .dropbtn span{color:#555454;font-size:12px;font-weight:700;text-transform:uppercase}.opinionstage-content-popup-contents .dropbtn:before{color:#000;content:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;font-size:9px;position:absolute;right:-25px;top:0;z-index:3;font-weight:700}.opinionstage-content-popup-contents .dropbtn:after{border:1px solid #e4e4e4;border-left:0!important;content:"";position:absolute;right:-40px;top:-1px;width:40px;height:38px}.opinionstage-content-popup-contents .dropdown{display:inline-block;position:relative}.opinionstage-content-popup-contents .dropdown:hover .popup-action-dropdown.dropdown-content{width:130px}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn{background-color:#32adbc}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn:before{color:#fff}.opinionstage-content-popup-contents .dropdown-popup-action{height:45px}.opinionstage-content-popup-contents .dropdown-content{background-color:#f9f9f9;-webkit-box-shadow:0 8px 16px 0 rgba(0,0,0,.2);box-shadow:0 8px 16px 0 rgba(0,0,0,.2);display:none;left:1px;position:absolute;top:40px;z-index:9}.opinionstage-content-popup-contents .dropdown-content div{background-color:#fff;border:1px solid #3487fa;border-bottom:0;border-top:0;color:#555454;display:block;padding:5px 10px 5px 20px;text-decoration:none}.opinionstage-content-popup-contents .dropdown-content div:hover{background-color:#3487fa;color:#fff!important}.opinionstage-content-popup-contents .dropdown_items .dropdown-content{width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropdown-content{display:block!important;width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropbtn{background-color:#fff}.opinionstage-content-popup-contents .popup-action:before{color:#32adbc;padding:0;position:absolute;right:18px;content:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;font-size:9px;top:15px;z-index:3;font-weight:700}.opinionstage-content-popup-contents .popup-action.popup-content-btn{margin-left:10px;padding:12px 25px;position:relative}.opinionstage-content-popup-contents .popup-action-dropdown{background:#fff;border:1px solid #32adbc;border-radius:3px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm{border:none;border-bottom:1px solid #32adbc;border-radius:0;color:#32adbc;font-size:14px;font-weight:400;margin:0;padding:10px;width:auto;text-align:left!important;letter-spacing:1px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:hover{background-color:#32adbc!important;color:#fff}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:last-child{border:none}.opinionstage-content-popup-contents .popup-action-dropdown.dropdown-content{left:auto;right:0;top:20px;z-index:10}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm{padding:0}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm:hover a{color:#fff}.opinionstage-content-popup-contents .opinionstage-anchors-list a{padding:5px 10px 5px 20px;display:block;text-decoration:none;width:100%}.opinionstage-content-popup-contents .selected-draft__container{position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,.8);z-index:9999}.opinionstage-content-popup-contents .selected-draft__container>div{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:6px;overflow:hidden;background-color:#fff;padding:25px 35px}.opinionstage-content-popup-contents .selected-draft__message{background-color:#f5f5f5;width:650px;padding:25px 35px;margin-top:20px}.opinionstage-content-popup-contents .selected-draft__message p{font-size:16px}.opinionstage-content-popup-contents .selected-draft__message a{color:#32adbc}.opinionstage-content-popup-contents .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}.opinionstage-content-popup-contents .opinionstage-close:after,.opinionstage-content-popup-contents .opinionstage-close:before{position:absolute;left:15px;content:" ";height:17px;width:2px;background-color:#b1b1b1}.opinionstage-content-popup-contents .opinionstage-close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.opinionstage-content-popup-contents .opinionstage-close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}',""])}]);
17
  */
18
  var S=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},O="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,T=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},M={namespaced:{configurable:!0}};M.namespaced.get=function(){return!!this._rawModule.namespaced},T.prototype.addChild=function(t,e){this._children[t]=e},T.prototype.removeChild=function(t){delete this._children[t]},T.prototype.getChild=function(t){return this._children[t]},T.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},T.prototype.forEachChild=function(t){o(this._children,t)},T.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},T.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},T.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(T.prototype,M);var C=function(t){this.register([],t,!1)};C.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},C.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},C.prototype.update=function(t){s([],this.root,t)},C.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new T(e,n);if(0===t.length)this.root=i;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],i)}e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},C.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var D,$=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!=typeof window&&window.Vue&&b(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new C(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=o,f(this,i,[],this._modules.root),l(this,i),n.forEach(function(t){return t(e)}),D.config.devtools&&r(this)},A={state:{configurable:!0}};A.state.get=function(){return this._vm._data.$$state},A.state.set=function(t){},$.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},$.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},$.prototype.subscribe=function(t){return c(t,this._subscribers)},$.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},$.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},$.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},$.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},$.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));D.delete(n,t[t.length-1])}),u(this)},$.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},$.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties($.prototype,A);var E=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),j=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=k(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=k(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),I=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:j.bind(null,t),mapActions:P.bind(null,t)}},Y={Store:$,install:b,version:"2.5.0",mapState:E,mapMutations:j,mapGetters:L,mapActions:P,createNamespacedHelpers:I};e.default=Y},function(t,e,n){(function(e){function n(t){return t.split("")}function r(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function o(t,e,n){if(e!==e)return r(t,i,n);for(var o=n-1,a=t.length;++o<a;)if(t[o]===e)return o;return-1}function i(t){return t!==t}function a(t,e){for(var n=-1,r=t.length;++n<r&&o(e,t[n],0)>-1;);return n}function s(t,e){for(var n=t.length;n--&&o(e,t[n],0)>-1;);return n}function c(t){return $.test(t)}function u(t){return c(t)?l(t):n(t)}function l(t){return t.match(D)||[]}function f(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}function d(t){if("string"==typeof t)return t;if(m(t))return N?N.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function p(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:f(t,e,n)}function h(t){return!!t&&"object"==typeof t}function m(t){return"symbol"==typeof t||h(t)&&P.call(t)==_}function v(t){return null==t?"":d(t)}function g(t,e,n){if((t=v(t))&&(n||void 0===e))return t.replace(b,"");if(!t||!(e=d(e)))return t;var r=u(t),o=u(e);return p(r,a(r,o),s(r,o)+1).join("")}var y=1/0,_="[object Symbol]",b=/^\s+|\s+$/g,w="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",x="\\ud83c[\\udffb-\\udfff]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",T="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",k,S].join("|")+")[\\ufe0e\\ufe0f]?"+O+")*",M="[\\ufe0e\\ufe0f]?"+O+T,C="(?:"+["[^\\ud800-\\udfff]"+w+"?",w,k,S,"[\\ud800-\\udfff]"].join("|")+")",D=RegExp(x+"(?="+x+")|"+C+M,"g"),$=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),A="object"==typeof e&&e&&e.Object===Object&&e,E="object"==typeof self&&self&&self.Object===Object&&self,j=A||E||Function("return this")(),L=Object.prototype,P=L.toString,I=j.Symbol,Y=I?I.prototype:void 0,N=Y?Y.toString:void 0;t.exports=g}).call(e,n(0))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){this.$emit("widgets-search-update",{widgetType:this.selectedWidgetType,widgetTitle:this.widgetTitleSearch})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(26),c=r(s),u=n(2);a.default.use(n(27));var l={};l[u.WIDGET_ALL]="All ITEMS",l[u.WIDGET_POLL]="poll",l[u.WIDGET_SET]="multi poll set",l[u.WIDGET_SURVEY]="survey",l[u.WIDGET_SLIDESHOW]="slideshow",l[u.WIDGET_TRIVIA_QUIZ]="trivia quiz",l[u.WIDGET_PERSONALITY_QUIZ]="personality quiz",l[u.WIDGET_LIST]="list",l[u.WIDGET_FORM]="standard form",l[u.WIDGET_STORY]="story article",e.default=a.default.component("widget-list",{template:"#opinionstage-widget-list",props:["widgets","preSelectedWidgetType","dataLoading","noMoreData","showSearch"],data:function(){return{selectedWidgetType:null,widgetTitleSearch:"",showMoreBtn:!0,hasData:!0,selectedDraftWidget:{}}},computed:{selectedWidgetTitle:function(){return l[this.selectedWidgetType||this.preSelectedWidgetType]}},watch:{widgetTitleSearch:(0,c.default)(function(){o.call(this)},500),widgets:function(){this.hasData=this.dataLoading||this.widgets.length>0}},methods:{select:function(t){t.isDraft?this.selectedDraftWidget=t:this.$emit("widget-selected",t)},selectWidgetType:function(t){this.selectedWidgetType=t,this.widgetTitleSearch="",o.call(this)},showMore:function(){this.$emit("load-more-widgets")}}})},function(t,e,n){(function(e){function n(t,e,n){function o(e){var n=m,r=v;return m=v=void 0,S=e,y=t.apply(r,n)}function i(t){return S=t,_=setTimeout(l,e),O?o(t):y}function c(t){var n=t-k,r=t-S,o=e-n;return T?w(o,g-r):o}function u(t){var n=t-k,r=t-S;return void 0===k||n>=e||n<0||T&&r>=g}function l(){var t=x();if(u(t))return f(t);_=setTimeout(l,c(t))}function f(t){return _=void 0,M&&m?o(t):(m=v=void 0,y)}function d(){void 0!==_&&clearTimeout(_),S=0,m=k=v=_=void 0}function p(){return void 0===_?y:f(x())}function h(){var t=x(),n=u(t);if(m=arguments,v=this,k=t,n){if(void 0===_)return i(k);if(T)return _=setTimeout(l,e),o(k)}return void 0===_&&(_=setTimeout(l,e)),y}var m,v,g,y,_,k,S=0,O=!1,T=!1,M=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,r(n)&&(O=!!n.leading,T="maxWait"in n,g=T?b(a(n.maxWait)||0,e):g,M="trailing"in n?!!n.trailing:M),h.cancel=d,h.flush=p,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||o(t)&&_.call(t)==u}function a(t){if("number"==typeof t)return t;if(i(t))return c;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=d.test(t);return n||p.test(t)?h(t.slice(2),n?2:8):f.test(t)?c:+t}var s="Expected a function",c=NaN,u="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return g.Date.now()};t.exports=n}).call(e,n(0))},function(t,e,n){(function(t){!function(t,n){n(e)}(0,function(e){"use strict";function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){var r="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};
19
  //! moment.js
20
+ !function(n,o){"object"===r(e)?t.exports=o():n.moment=o()}(o,function(){function e(){return jr.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function s(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return Me(t,e,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=h()),t._pf}function v(t){if(null==t._isValid){var e=m(t),n=Lr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=p(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}function y(t,e){var n,r,o;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=m(e)),s(e._locale)||(t._locale=e._locale),Pr.length>0)for(n=0;n<Pr.length;n++)r=Pr[n],o=e[r],s(o)||(t[r]=o);return t}function _(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ir&&(Ir=!0,e.updateOffset(this),Ir=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function w(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function k(t,e,n){var r,o=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&x(t[r])!==x(e[r]))&&a++;return a+i}function S(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,n){var o=!0;return d(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),o){for(var i,a=[],s=0;s<arguments.length;s++){if(i="","object"===r(arguments[s])){i+="\n["+s+"] ";for(var c in arguments[0])i+=c+": "+arguments[0][c]+", ";i=i.slice(0,-2)}else i=arguments[s];a.push(i)}S(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),o=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Yr[t]||(S(n),Yr[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)e=t[n],M(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(t,e){var n,r=d({},t);for(n in e)f(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)f(t,n)&&!f(e,n)&&i(t[n])&&(r[n]=d({},r[n]));return r}function $(t){null!=t&&this.set(t)}function A(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return M(r)?r.call(e,n):r}function E(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function j(){return this._invalidDate}function L(t){return this._ordinal.replace("%d",t)}function P(t,e,n,r){var o=this._relativeTime[n];return M(o)?o(t,e,n,r):o.replace(/%d/i,t)}function I(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function Y(t,e){var n=t.toLowerCase();Hr[n]=Hr[n+"s"]=Hr[e]=t}function N(t){return"string"==typeof t?Hr[t]||Hr[t.toLowerCase()]:void 0}function R(t){var e,n,r={};for(n in t)f(t,n)&&(e=N(n))&&(r[e]=t[n]);return r}function W(t,e){Gr[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Gr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,e,n){var r=""+Math.abs(t),o=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function H(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(Zr[t]=o),e&&(Zr[e[0]]=function(){return U(o.apply(this,arguments),e[1],e[2])}),n&&(Zr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(Vr);for(e=0,n=r.length;e<n;e++)Zr[r[e]]?r[e]=Zr[r[e]]:r[e]=G(r[e]);return function(e){var o,i="";for(o=0;o<n;o++)i+=M(r[o])?r[o].call(e,t):r[o];return i}}function B(t,e){return t.isValid()?(e=z(e,t.localeData()),zr[e]=zr[e]||V(e),zr[e](t)):t.localeData().invalidDate()}function z(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(t);)t=t.replace(Br,n),Br.lastIndex=0,r-=1;return t}function Z(t,e,n){po[t]=M(e)?e:function(t,r){return t&&n?n:e}}function q(t,e){return f(po,t)?po[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return K(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,o){return e||n||r||o}))}function K(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),c(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n<t.length;n++)ho[t[n]]=r}function X(t,e){Q(t,function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)})}function tt(t,e,n){null!=e&&f(ho,t)&&ho[t](e,n._a,n,t)}function et(t){return nt(t)?366:365}function nt(t){return t%4==0&&t%100!=0||t%400==0}function rt(){return nt(this.year())}function ot(t,n){return function(r){return null!=r?(at(this,t,r),e.updateOffset(this,n),this):it(this,t)}}function it(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function at(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function st(t){return t=N(t),M(this[t])?this[t]():this}function ct(t,e){if("object"===(void 0===t?"undefined":r(t))){t=R(t);for(var n=F(t),o=0;o<n.length;o++)this[n[o].unit](t[n[o].unit])}else if(t=N(t),M(this[t]))return this[t](e);return this}function ut(t,e){return(t%e+e)%e}function lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ut(e,12);return t+=(e-n)/12,1===n?nt(t)?29:28:31-n%7%2}function ft(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||To).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function dt(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[To.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?(o=So.call(this._shortMonthsParse,a),-1!==o?o:null):(o=So.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===e?-1!==(o=So.call(this._shortMonthsParse,a))?o:(o=So.call(this._longMonthsParse,a),-1!==o?o:null):-1!==(o=So.call(this._longMonthsParse,a))?o:(o=So.call(this._shortMonthsParse,a),-1!==o?o:null)}function ht(t,e,n){var r,o,i;if(this._monthsParseExact)return pt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function mt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(e=t.localeData().monthsParse(e),!c(e))return t;return n=Math.min(t.date(),lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function vt(t){return null!=t?(mt(this,t),e.updateOffset(this,!0),this):it(this,"Month")}function gt(){return lt(this.year(),this.month())}function yt(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Do),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function _t(t){return this._monthsParseExact?(f(this,"_monthsRegex")||bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=$o),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function bt(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],i=[];for(e=0;e<12;e++)n=p([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),i.sort(t),e=0;e<12;e++)r[e]=K(r[e]),o[e]=K(o[e]);for(e=0;e<24;e++)i[e]=K(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function wt(t,e,n,r,o,i,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,o,i,a),s}function xt(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function kt(t,e,n){var r=7+e-n;return-(7+xt(t,0,r).getUTCDay()-e)%7+r-1}function St(t,e,n,r,o){var i,a,s=(7+n-r)%7,c=kt(t,r,o),u=1+7*(e-1)+s+c;return u<=0?(i=t-1,a=et(i)+u):u>et(t)?(i=t+1,a=u-et(t)):(i=t,a=u),{year:i,dayOfYear:a}}function Ot(t,e,n){var r,o,i=kt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?(o=t.year()-1,r=a+Tt(o,e,n)):a>Tt(t.year(),e,n)?(r=a-Tt(t.year(),e,n),o=t.year()+1):(o=t.year(),r=a),{week:r,year:o}}function Tt(t,e,n){var r=kt(t,e,n),o=kt(t+1,e,n);return(et(t)-r+o)/7}function Mt(t){return Ot(t,this._week.dow,this._week.doy).week}function Ct(){return this._week.dow}function Dt(){return this._week.doy}function $t(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function At(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function jt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Lt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Pt(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Lt(n,this._week.dow):t?n[t.day()]:n}function It(t){return!0===t?Lt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return!0===t?Lt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?(o=So.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===e?(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===e?-1!==(o=So.call(this._weekdaysParse,a))?o:-1!==(o=So.call(this._shortWeekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):"ddd"===e?-1!==(o=So.call(this._shortWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._minWeekdaysParse,a),-1!==o?o:null):-1!==(o=So.call(this._minWeekdaysParse,a))?o:-1!==(o=So.call(this._weekdaysParse,a))?o:(o=So.call(this._shortWeekdaysParse,a),-1!==o?o:null)}function Rt(t,e,n){var r,o,i;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Wt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ut(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=jt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Po),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Io),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vt(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yo),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function t(t,e){return e.length-t.length}var e,n,r,o,i,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),u.push(r),u.push(o),u.push(i);for(a.sort(t),s.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)s[e]=K(s[e]),c[e]=K(c[e]),u[e]=K(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function qt(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}function Kt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t){return t?t.toLowerCase().replace("_","-"):t}function te(t){for(var e,n,r,o,i=0;i<t.length;){for(o=Xt(t[i]).split("-"),e=o.length,n=Xt(t[i+1]),n=n?n.split("-"):null;e>0;){if(r=ee(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(o,n,!0)>=e-1)break;e--}i++}return No}function ee(e){var r=null;if(!Uo[e]&&t&&t.exports)try{r=No._abbr;n("./locale/"+e),ne(r)}catch(t){}return Uo[e]}function ne(t,e){var n;return t&&(n=s(e)?ie(t):re(t,e),n?No=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),No._abbr}function re(t,e){if(null!==e){var n,r=Fo;if(e.abbr=t,null!=Uo[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Uo[t]._config;else if(null!=e.parentLocale)if(null!=Uo[e.parentLocale])r=Uo[e.parentLocale]._config;else{if(null==(n=ee(e.parentLocale)))return Ho[e.parentLocale]||(Ho[e.parentLocale]=[]),Ho[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Uo[t]=new $(D(r,e)),Ho[t]&&Ho[t].forEach(function(t){re(t.name,t.config)}),ne(t),Uo[t]}return delete Uo[t],null}function oe(t,e){if(null!=e){var n,r,o=Fo;r=ee(t),null!=r&&(o=r._config),e=D(o,e),n=new $(e),n.parentLocale=Uo[t],Uo[t]=n,ne(t)}else null!=Uo[t]&&(null!=Uo[t].parentLocale?Uo[t]=Uo[t].parentLocale:null!=Uo[t]&&delete Uo[t]);return Uo[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return No;if(!o(t)){if(e=ee(t))return e;t=[t]}return te(t)}function ae(){return Nr(Uo)}function se(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[vo]<0||n[vo]>11?vo:n[go]<1||n[go]>lt(n[mo],n[vo])?go:n[yo]<0||n[yo]>24||24===n[yo]&&(0!==n[_o]||0!==n[bo]||0!==n[wo])?yo:n[_o]<0||n[_o]>59?_o:n[bo]<0||n[bo]>59?bo:n[wo]<0||n[wo]>999?wo:-1,m(t)._overflowDayOfYear&&(e<mo||e>go)&&(e=go),m(t)._overflowWeeks&&-1===e&&(e=xo),m(t)._overflowWeekday&&-1===e&&(e=ko),m(t).overflow=e),t}function ce(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,r,o,i,a=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[go]&&null==t._a[vo]&&fe(t),null!=t._dayOfYear&&(i=ce(t._a[mo],r[mo]),(t._dayOfYear>et(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xt(i,0,t._dayOfYear),t._a[vo]=n.getUTCMonth(),t._a[go]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yo]&&0===t._a[_o]&&0===t._a[bo]&&0===t._a[wo]&&(t._nextDay=!0,t._a[yo]=0),t._d=(t._useUTC?xt:wt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yo]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(m(t).weekdayMismatch=!0)}}function fe(t){var e,n,r,o,i,a,s,c;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)i=1,a=4,n=ce(e.GG,t._a[mo],Ot(Ce(),1,4).year),r=ce(e.W,1),((o=ce(e.E,1))<1||o>7)&&(c=!0);else{i=t._locale._week.dow,a=t._locale._week.doy;var u=Ot(Ce(),i,a);n=ce(e.gg,t._a[mo],u.year),r=ce(e.w,u.week),null!=e.d?((o=e.d)<0||o>6)&&(c=!0):null!=e.e?(o=e.e+i,(e.e<0||e.e>6)&&(c=!0)):o=i}r<1||r>Tt(n,i,a)?m(t)._overflowWeeks=!0:null!=c?m(t)._overflowWeekday=!0:(s=St(n,r,o,i,a),t._a[mo]=s.year,t._dayOfYear=s.dayOfYear)}function de(t){var e,n,r,o,i,a,s=t._i,c=Go.exec(s)||Vo.exec(s);if(c){for(m(t).iso=!0,e=0,n=zo.length;e<n;e++)if(zo[e][1].exec(c[1])){o=zo[e][0],r=!1!==zo[e][2];break}if(null==o)return void(t._isValid=!1);if(c[3]){for(e=0,n=Zo.length;e<n;e++)if(Zo[e][1].exec(c[3])){i=(c[2]||" ")+Zo[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Bo.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=o+(i||"")+(a||""),be(t)}else t._isValid=!1}function pe(t,e,n,r,o,i){var a=[he(t),Co.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function he(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function me(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ve(t,e,n){if(t){if(jo.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ge(t,e,n){if(t)return Ko[t];if(e)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function ye(t){var e=Jo.exec(me(t._i));if(e){var n=pe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!ve(e[1],n,t))return;t._a=n,t._tzm=ge(e[8],e[9],e[10]),t._d=xt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function _e(t){var n=qo.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));de(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function be(t){if(t._f===e.ISO_8601)return void de(t);if(t._f===e.RFC_2822)return void ye(t);t._a=[],m(t).empty=!0;var n,r,o,i,a,s=""+t._i,c=s.length,u=0;for(o=z(t._f,t._locale).match(Vr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(q(i,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Zr[i]?(r?m(t).empty=!1:m(t).unusedTokens.push(i),tt(i,r,t)):t._strict&&!r&&m(t).unusedTokens.push(i);m(t).charsLeftOver=c-u,s.length>0&&m(t).unusedInput.push(s),t._a[yo]<=12&&!0===m(t).bigHour&&t._a[yo]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[yo]=we(t._locale,t._a[yo],t._meridiem),le(t),se(t)}function we(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function xe(t){var e,n,r,o,i;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)i=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],be(e),v(e)&&(i+=m(e).charsLeftOver,i+=10*m(e).unusedTokens.length,m(e).score=i,(null==r||i<r)&&(r=i,n=e));d(t,n||e)}function ke(t){if(!t._d){var e=R(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function Se(t){var e=new _(se(Oe(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Oe(t){var e=t._i,n=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(se(e)):(u(e)?t._d=e:o(n)?xe(t):n?be(t):Te(t),v(t)||(t._d=null),t))}function Te(t){var n=t._i;s(n)?t._d=new Date(e.now()):u(n)?t._d=new Date(n.valueOf()):"string"==typeof n?_e(t):o(n)?(t._a=l(n.slice(0),function(t){return parseInt(t,10)}),le(t)):i(n)?ke(t):c(n)?t._d=new Date(n):e.createFromInputFallback(t)}function Me(t,e,n,r,s){var c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(t)&&a(t)||o(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=n,c._i=t,c._f=e,c._strict=r,Se(c)}function Ce(t,e,n,r){return Me(t,e,n,r,!1)}function De(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function $e(){return De("isBefore",[].slice.call(arguments,0))}function Ae(){return De("isAfter",[].slice.call(arguments,0))}function Ee(t){for(var e in t)if(-1===So.call(ei,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<ei.length;++r)if(t[ei[r]]){if(n)return!1;parseFloat(t[ei[r]])!==x(t[ei[r]])&&(n=!0)}return!0}function je(){return this._isValid}function Le(){return Xe(NaN)}function Pe(t){var e=R(t),n=e.year||0,r=e.quarter||0,o=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=Ee(e),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=ie(),this._bubble()}function Ie(t){return t instanceof Pe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){H(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+U(~~(t/60),2)+e+U(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(ni)||["-",0,0],i=60*o[1]+x(o[2]);return 0===i?0:"+"===o[0]?i:-i}function We(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(b(t)||u(t)?t.valueOf():Ce(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),e.updateOffset(r,!1),r):Ce(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(t,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(uo,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==t&&(!n||this._changeInProgress?on(this,Xe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Fe(this)}function He(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ge(t){return this.utcOffset(0,t)}function Ve(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function Be(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(co,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function ze(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=Oe(t),t._a){var e=t._isUTC?p(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Je(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,o,i,a=t,s=null;return Ie(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=ri.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[go])*n,h:x(s[yo])*n,m:x(s[_o])*n,s:x(s[bo])*n,ms:x(Ye(1e3*s[wo]))*n}):(s=oi.exec(t))?(n="-"===s[1]?-1:1,a={y:tn(s[2],n),M:tn(s[3],n),w:tn(s[4],n),d:tn(s[5],n),h:tn(s[6],n),m:tn(s[7],n),s:tn(s[8],n)}):null==a?a={}:"object"===(void 0===a?"undefined":r(a))&&("from"in a||"to"in a)&&(i=nn(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),o=new Pe(a),Ie(t)&&f(t,"_locale")&&(o._locale=t._locale),o}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=We(e,t),t.isBefore(e)?n=en(t,e):(n=en(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,r){var o,i;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Xe(n,r),on(this,o,t),this}}function on(t,n,r,o){var i=n._milliseconds,a=Ye(n._days),s=Ye(n._months);t.isValid()&&(o=null==o||o,s&&mt(t,it(t,"Month")+s*r),a&&at(t,"Date",it(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),o&&e.updateOffset(t,a||s))}function an(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sn(t,n){var r=t||Ce(),o=We(r,this).startOf("day"),i=e.calendarFormat(this,o)||"sameElse",a=n&&(M(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,Ce(r)))}function cn(){return new _(this)}function un(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function ln(t,e){var n=b(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function fn(t,e,n,r){var o=b(t)?t:Ce(t),i=b(e)?e:Ce(e);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))}function dn(t,e){var n,r=b(t)?t:Ce(t);return!(!this.isValid()||!r.isValid())&&(e=N(e)||"millisecond","millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function pn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function hn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function mn(t,e,n){var r,o,i;if(!this.isValid())return NaN;if(r=We(t,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),e=N(e)){case"year":i=vn(this,r)/12;break;case"month":i=vn(this,r);break;case"quarter":i=vn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:w(i)}function vn(t,e){var n,r,o=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(o,"months");return e-i<0?(n=t.clone().add(o-1,"months"),r=(e-i)/(i-n)):(n=t.clone().add(o+1,"months"),r=(e-i)/(n-i)),-(o+r)||0}function gn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _n(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)}function bn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=B(this,t);return this.localeData().postformat(n)}function wn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.from(Ce(),t)}function kn(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ce(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Sn(t){return this.to(Ce(),t)}function On(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function Tn(){return this._locale}function Mn(t,e){return(t%e+e)%e}function Cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fi:new Date(t,e,n).valueOf()}function Dn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fi:Date.UTC(t,e,n)}function $n(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Mn(n+(this._isUTC?0:this.utcOffset()*ui),li);break;case"minute":n=this._d.valueOf(),n-=Mn(n,ui);break;case"second":n=this._d.valueOf(),n-=Mn(n,ci)}return this._d.setTime(n),e.updateOffset(this,!0),this}function An(t){var n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;var r=this._isUTC?Dn:Cn;switch(t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=li-Mn(n+(this._isUTC?0:this.utcOffset()*ui),li)-1;break;case"minute":n=this._d.valueOf(),n+=ui-Mn(n,ui)-1;break;case"second":n=this._d.valueOf(),n+=ci-Mn(n,ci)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function En(){return this._d.valueOf()-6e4*(this._offset||0)}function jn(){return Math.floor(this.valueOf()/1e3)}function Ln(){return new Date(this.valueOf())}function Pn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function In(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Yn(){return this.isValid()?this.toISOString():null}function Nn(){return v(this)}function Rn(){return d({},m(this))}function Wn(){return m(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Un(t,e){H(0,[t,t.length],0,e)}function Hn(t){return zn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(t){return zn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return Tt(this.year(),1,4)}function Bn(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function zn(t,e,n,r,o){var i;return null==t?Ot(this,r,o).year:(i=Tt(t,r,o),e>i&&(e=i),Zn.call(this,t,e,n,r,o))}function Zn(t,e,n,r,o){var i=St(t,e,n,r,o),a=xt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function qn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Jn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Kn(t,e){e[wo]=x(1e3*("0."+t))}function Qn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function tr(t){return Ce(1e3*t)}function er(){return Ce.apply(null,arguments).parseZone()}function nr(t){return t}function rr(t,e,n,r){var o=ie(),i=p().set(r,e);return o[n](i,t)}function or(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return rr(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=rr(t,r,n,"month");return o}function ir(t,e,n,r){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var o=ie(),i=t?o._week.dow:0;if(null!=n)return rr(e,(n+i)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=rr(e,(a+i)%7,r,"day");return s}function ar(t,e){return or(t,e,"months")}function sr(t,e){return or(t,e,"monthsShort")}function cr(t,e,n){return ir(t,e,n,"weekdays")}function ur(t,e,n){return ir(t,e,n,"weekdaysShort")}function lr(t,e,n){return ir(t,e,n,"weekdaysMin")}function fr(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function dr(t,e,n,r){var o=Xe(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function pr(t,e){return dr(this,t,e,1)}function hr(t,e){return dr(this,t,e,-1)}function mr(t){return t<0?Math.floor(t):Math.ceil(t)}function vr(){var t,e,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*mr(yr(s)+a),a=0,s=0),c.milliseconds=i%1e3,t=w(i/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,a+=w(n/24),o=w(gr(a)),s+=o,a-=mr(yr(o)),r=w(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function gr(t){return 4800*t/146097}function yr(t){return 146097*t/4800}function _r(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=N(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+gr(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(yr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function br(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function wr(t){return function(){return this.as(t)}}function xr(){return Xe(this)}function kr(t){return t=N(t),this.isValid()?this[t+"s"]():NaN}function Sr(t){return function(){return this.isValid()?this._data[t]:NaN}}function Or(){return w(this.days()/7)}function Tr(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}function Mr(t,e,n){var r=Xe(t).abs(),o=Ii(r.as("s")),i=Ii(r.as("m")),a=Ii(r.as("h")),s=Ii(r.as("d")),c=Ii(r.as("M")),u=Ii(r.as("y")),l=o<=Yi.ss&&["s",o]||o<Yi.s&&["ss",o]||i<=1&&["m"]||i<Yi.m&&["mm",i]||a<=1&&["h"]||a<Yi.h&&["hh",a]||s<=1&&["d"]||s<Yi.d&&["dd",s]||c<=1&&["M"]||c<Yi.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=e,l[3]=+t>0,l[4]=n,Tr.apply(null,l)}function Cr(t){return void 0===t?Ii:"function"==typeof t&&(Ii=t,!0)}function Dr(t,e){return void 0!==Yi[t]&&(void 0===e?Yi[t]:(Yi[t]=e,"s"===t&&(Yi.ss=e-1),!0))}function $r(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Mr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ar(t){return(t>0)-(t<0)||+t}function Er(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=Ni(this._milliseconds)/1e3,o=Ni(this._days),i=Ni(this._months);t=w(r/60),e=w(t/60),r%=60,t%=60,n=w(i/12),i%=12;var a=n,s=i,c=o,u=e,l=t,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",h=Ar(this._months)!==Ar(d)?"-":"",m=Ar(this._days)!==Ar(d)?"-":"",v=Ar(this._milliseconds)!==Ar(d)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(c?m+c+"D":"")+(u||l||f?"T":"")+(u?v+u+"H":"")+(l?v+l+"M":"")+(f?v+f+"S":"")}var jr,Lr;Lr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Pr=e.momentProperties=[],Ir=!1,Yr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Nr;Nr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var Rr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Wr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hr={},Gr={},Vr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,zr={},Zr={},qr=/\d/,Jr=/\d\d/,Kr=/\d{3}/,Qr=/\d{4}/,Xr=/[+-]?\d{6}/,to=/\d\d?/,eo=/\d\d\d\d?/,no=/\d\d\d\d\d\d?/,ro=/\d{1,3}/,oo=/\d{1,4}/,io=/[+-]?\d{1,6}/,ao=/\d+/,so=/[+-]?\d+/,co=/Z|[+-]\d\d:?\d\d/gi,uo=/Z|[+-]\d\d(?::?\d\d)?/gi,lo=/[+-]?\d+(\.\d{1,3})?/,fo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,po={},ho={},mo=0,vo=1,go=2,yo=3,_o=4,bo=5,wo=6,xo=7,ko=8;H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),W("year",1),Z("Y",so),Z("YY",to,Jr),Z("YYYY",oo,Qr),Z("YYYYY",io,Xr),Z("YYYYYY",io,Xr),Q(["YYYYY","YYYYYY"],mo),Q("YYYY",function(t,n){n[mo]=2===t.length?e.parseTwoDigitYear(t):x(t)}),Q("YY",function(t,n){n[mo]=e.parseTwoDigitYear(t)}),Q("Y",function(t,e){e[mo]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return x(t)+(x(t)>68?1900:2e3)};var So,Oo=ot("FullYear",!0);So=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Y("month","M"),W("month",8),Z("M",to),Z("MM",to,Jr),Z("MMM",function(t,e){return e.monthsShortRegex(t)}),Z("MMMM",function(t,e){return e.monthsRegex(t)}),Q(["M","MM"],function(t,e){e[vo]=x(t)-1}),Q(["MMM","MMMM"],function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[vo]=o:m(n).invalidMonth=t});var To=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Co="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Do=fo,$o=fo;H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),W("week",5),W("isoWeek",5),Z("w",to),Z("ww",to,Jr),Z("W",to),Z("WW",to,Jr),X(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var Ao={dow:0,doy:6};H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),Z("d",to),Z("e",to),Z("E",to),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("dddd",function(t,e){return e.weekdaysRegex(t)}),X(["dd","ddd","dddd"],function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:m(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var Eo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Po=fo,Io=fo,Yo=fo;H("H",["HH",2],0,"hour"),H("h",["hh",2],0,zt),H("k",["kk",2],0,Zt),H("hmm",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)}),H("hmmss",0,0,function(){return""+zt.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),qt("a",!0),qt("A",!1),Y("hour","h"),W("hour",13),Z("a",Jt),Z("A",Jt),Z("H",to),Z("h",to),Z("k",to),Z("HH",to,Jr),Z("hh",to,Jr),Z("kk",to,Jr),Z("hmm",eo),Z("hmmss",no),Z("Hmm",eo),Z("Hmmss",no),Q(["H","HH"],yo),Q(["k","kk"],function(t,e,n){var r=x(t);e[yo]=24===r?0:r}),Q(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Q(["h","hh"],function(t,e,n){e[yo]=x(t),m(n).bigHour=!0}),Q("hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r)),m(n).bigHour=!0}),Q("hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o)),m(n).bigHour=!0}),Q("Hmm",function(t,e,n){var r=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r))}),Q("Hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[yo]=x(t.substr(0,r)),e[_o]=x(t.substr(r,2)),e[bo]=x(t.substr(o))});var No,Ro=/[ap]\.?m?\.?/i,Wo=ot("Hours",!0),Fo={calendar:Rr,longDateFormat:Wr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Mo,monthsShort:Co,week:Ao,weekdays:Eo,weekdaysMin:Lo,weekdaysShort:jo,meridiemParse:Ro},Uo={},Ho={},Go=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,zo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Zo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qo=/^\/?Date\((\-?\d+)/i,Jo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ko={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Qo=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Xo=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),ti=function(){return Date.now?Date.now():+new Date},ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ne("Z",":"),Ne("ZZ",""),Z("Z",uo),Z("ZZ",uo),Q(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(uo,t)});var ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var ri=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Pe.prototype,Xe.invalid=Le;var ii=rn(1,"add"),ai=rn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),ci=1e3,ui=60*ci,li=60*ui,fi=3506328*li;H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Un("gggg","weekYear"),Un("ggggg","weekYear"),Un("GGGG","isoWeekYear"),Un("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),Z("G",so),Z("g",so),Z("GG",to,Jr),Z("gg",to,Jr),Z("GGGG",oo,Qr),Z("gggg",oo,Qr),Z("GGGGG",io,Xr),Z("ggggg",io,Xr),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=x(t)}),X(["gg","GG"],function(t,n,r,o){n[o]=e.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),Y("quarter","Q"),W("quarter",7),Z("Q",qr),Q("Q",function(t,e){e[vo]=3*(x(t)-1)}),H("D",["DD",2],"Do","date"),Y("date","D"),W("date",9),Z("D",to),Z("DD",to,Jr),Z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Q(["D","DD"],go),Q("Do",function(t,e){e[go]=x(t.match(to)[0])});var di=ot("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),W("dayOfYear",4),Z("DDD",ro),Z("DDDD",Kr),Q(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),H("m",["mm",2],0,"minute"),Y("minute","m"),W("minute",14),Z("m",to),Z("mm",to,Jr),Q(["m","mm"],_o);var pi=ot("Minutes",!1);H("s",["ss",2],0,"second"),Y("second","s"),W("second",15),Z("s",to),Z("ss",to,Jr),Q(["s","ss"],bo);var hi=ot("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),W("millisecond",16),Z("S",ro,qr),Z("SS",ro,Jr),Z("SSS",ro,Kr);var mi;for(mi="SSSS";mi.length<=9;mi+="S")Z(mi,ao);for(mi="S";mi.length<=9;mi+="S")Q(mi,Kn);var vi=ot("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var gi=_.prototype;gi.add=ii,gi.calendar=sn,gi.clone=cn,gi.diff=mn,gi.endOf=An,gi.format=bn,gi.from=wn,gi.fromNow=xn,gi.to=kn,gi.toNow=Sn,gi.get=st,gi.invalidAt=Wn,gi.isAfter=un,gi.isBefore=ln,gi.isBetween=fn,gi.isSame=dn,gi.isSameOrAfter=pn,gi.isSameOrBefore=hn,gi.isValid=Nn,gi.lang=si,gi.locale=On,gi.localeData=Tn,gi.max=Xo,gi.min=Qo,gi.parsingFlags=Rn,gi.set=ct,gi.startOf=$n,gi.subtract=ai,gi.toArray=Pn,gi.toObject=In,gi.toDate=Ln,gi.toISOString=yn,gi.inspect=_n,gi.toJSON=Yn,gi.toString=gn,gi.unix=jn,gi.valueOf=En,gi.creationData=Fn,gi.year=Oo,gi.isLeapYear=rt,gi.weekYear=Hn,gi.isoWeekYear=Gn,gi.quarter=gi.quarters=qn,gi.month=vt,gi.daysInMonth=gt,gi.week=gi.weeks=$t,gi.isoWeek=gi.isoWeeks=At,gi.weeksInYear=Bn,gi.isoWeeksInYear=Vn,gi.date=di,gi.day=gi.days=Wt,gi.weekday=Ft,gi.isoWeekday=Ut,gi.dayOfYear=Jn,gi.hour=gi.hours=Wo,gi.minute=gi.minutes=pi,gi.second=gi.seconds=hi,gi.millisecond=gi.milliseconds=vi,gi.utcOffset=Ue,gi.utc=Ge,gi.local=Ve,gi.parseZone=Be,gi.hasAlignedHourOffset=ze,gi.isDST=Ze,gi.isLocal=Je,gi.isUtcOffset=Ke,gi.isUtc=Qe,gi.isUTC=Qe,gi.zoneAbbr=Qn,gi.zoneName=Xn,gi.dates=O("dates accessor is deprecated. Use date instead.",di),gi.months=O("months accessor is deprecated. Use month instead",vt),gi.years=O("years accessor is deprecated. Use year instead",Oo),gi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",He),gi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var yi=$.prototype;yi.calendar=A,yi.longDateFormat=E,yi.invalidDate=j,yi.ordinal=L,yi.preparse=nr,yi.postformat=nr,yi.relativeTime=P,yi.pastFuture=I,yi.set=C,yi.months=ft,yi.monthsShort=dt,yi.monthsParse=ht,yi.monthsRegex=_t,yi.monthsShortRegex=yt,yi.week=Mt,yi.firstDayOfYear=Dt,yi.firstDayOfWeek=Ct,yi.weekdays=Pt,yi.weekdaysMin=Yt,yi.weekdaysShort=It,yi.weekdaysParse=Rt,yi.weekdaysRegex=Ht,yi.weekdaysShortRegex=Gt,yi.weekdaysMinRegex=Vt,yi.isPM=Kt,yi.meridiem=Qt,ne("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=O("moment.lang is deprecated. Use moment.locale instead.",ne),e.langData=O("moment.langData is deprecated. Use moment.localeData instead.",ie);var _i=Math.abs,bi=wr("ms"),wi=wr("s"),xi=wr("m"),ki=wr("h"),Si=wr("d"),Oi=wr("w"),Ti=wr("M"),Mi=wr("Q"),Ci=wr("y"),Di=Sr("milliseconds"),$i=Sr("seconds"),Ai=Sr("minutes"),Ei=Sr("hours"),ji=Sr("days"),Li=Sr("months"),Pi=Sr("years"),Ii=Math.round,Yi={ss:44,s:45,m:45,h:22,d:26,M:11},Ni=Math.abs,Ri=Pe.prototype;return Ri.isValid=je,Ri.abs=fr,Ri.add=pr,Ri.subtract=hr,Ri.as=_r,Ri.asMilliseconds=bi,Ri.asSeconds=wi,Ri.asMinutes=xi,Ri.asHours=ki,Ri.asDays=Si,Ri.asWeeks=Oi,Ri.asMonths=Ti,Ri.asQuarters=Mi,Ri.asYears=Ci,Ri.valueOf=br,Ri._bubble=vr,Ri.clone=xr,Ri.get=kr,Ri.milliseconds=Di,Ri.seconds=$i,Ri.minutes=Ai,Ri.hours=Ei,Ri.days=ji,Ri.weeks=Or,Ri.months=Li,Ri.years=Pi,Ri.humanize=$r,Ri.toISOString=Er,Ri.toString=Er,Ri.toJSON=Er,Ri.locale=On,Ri.localeData=Tn,Ri.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Er),Ri.lang=si,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Z("x",so),Z("X",lo),Q("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Q("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.24.0",function(t){jr=t}(Ce),e.fn=gi,e.min=$e,e.max=Ae,e.now=ti,e.utc=p,e.unix=tr,e.months=ar,e.isDate=u,e.locale=ne,e.invalid=g,e.duration=Xe,e.isMoment=b,e.weekdays=cr,e.parseZone=er,e.localeData=ie,e.isDuration=Ie,e.monthsShort=sr,e.weekdaysMin=lr,e.defineLocale=re,e.updateLocale=oe,e.locales=ae,e.weekdaysShort=ur,e.normalizeUnits=N,e.relativeTimeRounding=Cr,e.relativeTimeThreshold=Dr,e.calendarFormat=an,e.prototype=gi,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})}),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={install:function(t,e){var n=e&&e.moment?e.moment:i;Object.defineProperties(t.prototype,{$moment:{get:function(){return n}}}),t.moment=n,t.filter("moment",function(){function t(){for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift();switch(s){case"add":for(var u=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),l={},f=0;f<u.length;f++){var d=u[f].split(" ");l[d[1]]=d[0]}c.add(l);break;case"subtract":for(var p=o.shift().split(",").map(Function.prototype.call,String.prototype.trim),h={},m=0;m<p.length;m++){var v=p[m].split(" ");h[v[1]]=v[0]}c.subtract(h);break;case"from":var g="now",y=!1;"now"===o[0]&&o.shift(),n(o[0]).isValid()&&(g=n(o.shift())),!0===o[0]&&(o.shift(),y=!0),c="now"!==g?c.from(g,y):c.fromNow(y);break;case"diff":var _=n(),b="",w=!1;n(o[0]).isValid()?_=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),o[0]&&(b=o.shift()),!0===o[0]&&(w=o.shift()),c=c.diff(_,b,w);break;case"calendar":var x=n(),k={};n(o[0]).isValid()?x=n(o.shift()):null!==o[0]&&"now"!==o[0]||o.shift(),"object"===a(o[0])&&(k=o.shift()),c=c.calendar(x,k);break;case"utc":c.utc();break;case"timezone":c.tz(o.shift());break;default:var S=s;c=c.format(S)}o.length&&t.apply(t,o)}for(var e=arguments,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=e[i];o=Array.prototype.slice.call(o);var s=o.shift(),c=void 0;return c=Array.isArray(s)&&"string"==typeof s[0]?n(s[0],s[1],!0):"number"==typeof s&&s.toString().length<12?n.unix(s):n(s),s&&c.isValid()?(t.apply(t,o),c):(console.warn("Could not build a valid `moment` object from input."),s)}),t.filter("duration",function(){function t(t){Array.isArray(t)||(t=[t]);var e=n.duration.apply(n,r(t));return e.isValid()||console.warn("Could not build a valid `duration` object from input."),e}for(var e=arguments,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=e[a];i=Array.prototype.slice.call(i);var s=i.shift(),c=i.shift(),u=t(s);if("add"===c||"subtract"===c){var l=t(i);u[c](l)}else if(u&&u[c]){var f;u=(f=u)[c].apply(f,r(i))}return u})}},c=s.install;e.default=s,e.install=c,Object.defineProperty(e,"__esModule",{value:!0})})}).call(e,n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default.component("notification",{template:"#opinionstage-notification",methods:{initiateUpdate:function(){this.$emit("update-btn-click")}}})},function(t,e,n){var r=n(30);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(4)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(!1),e.push([t.i,'.opinionstage-content-popup-contents{min-width:960px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""]{max-width:680px;min-width:680px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .main-title{font-size:20px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content{margin:0 auto;padding:40px 30px}.opinionstage-content-popup-contents[data-opinionstage-client-logged-in=""] .page-content #os-start-login{margin-top:30px}.opinionstage-content-popup-contents *{margin:0;padding:0;color:#222120;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Open Sans,Helvetica,sans-serif}.opinionstage-content-popup-contents .header{background-color:#222120;width:100%}.opinionstage-content-popup-contents .header__container{color:#fff;width:100%;margin:auto;padding:0 10px}.opinionstage-content-popup-contents .header__logo{display:inline-block}.opinionstage-content-popup-contents .header__logo a:active,.opinionstage-content-popup-contents .header__logo a:focus,.opinionstage-content-popup-contents .header__logo a:hover,.opinionstage-content-popup-contents .header__logo a:visited{border:none;background:none;-webkit-box-shadow:none;box-shadow:none}.opinionstage-content-popup-contents .header__logo img{margin:15px 10px;width:150px}.opinionstage-content-popup-contents .header__nav{display:inline-block;font-size:0;vertical-align:bottom}.opinionstage-content-popup-contents .header__action{display:block;float:right;font-size:0;margin-top:10px}.opinionstage-content-popup-contents .page-content{margin:0 auto;padding:25px 15px 15px}.opinionstage-content-popup-contents .main-title{font-size:30px;font-weight:400;line-height:normal}.opinionstage-content-popup-contents .conect-form{text-align:center;margin-top:20px}.opinionstage-content-popup-contents .content-actions{height:40px;margin-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.opinionstage-content-popup-contents .content-actions__left,.opinionstage-content-popup-contents .content-actions__right{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.opinionstage-content-popup-contents .content-actions__left{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.opinionstage-content-popup-contents .content-actions__right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.opinionstage-content-popup-contents .content-actions__sep{border-right:1px solid #e5e5e5;margin:0 20px}.opinionstage-content-popup-contents .content-actions:after{content:"";clear:both;display:block}.opinionstage-content-popup-contents .filter__itm{display:inline-block;cursor:pointer;font-size:12px;margin-right:0;line-height:25px;text-transform:uppercase;width:100%}.opinionstage-content-popup-contents .filter__itm:first-child{border-top:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm:last-child{border-bottom:1px solid #3487fa}.opinionstage-content-popup-contents .filter__itm.active{color:#fff;background:#5299fb;font-weight:400;pointer-events:none}.opinionstage-content-popup-contents .filter{display:inline-block;margin:0;width:auto}.opinionstage-content-popup-contents .content__list{height:calc(92vh - 160px);overflow-y:scroll}.opinionstage-content-popup-contents .content__loading{text-align:center}.opinionstage-content-popup-contents .content__itm{margin:0;padding-bottom:6px;padding-top:10px;position:relative;width:100%;border-bottom:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:first-child{border-top:1px solid #e5e5e5}.opinionstage-content-popup-contents .content__itm:hover .content__links{display:inline-block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.opinionstage-content-popup-contents .content__image{display:inline-block;height:90px;position:relative;width:15%}.opinionstage-content-popup-contents .content__image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.opinionstage-content-popup-contents .content__info{display:inline-block;position:relative;background:transparent;font-size:16px;height:85px;width:50%;line-height:normal;margin:0;overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.opinionstage-content-popup-contents .content__info a{color:inherit;text-decoration:none}.opinionstage-content-popup-contents .content__info-title{font-weight:600}.opinionstage-content-popup-contents .content__info .opinionstage-draft{color:#f46368;text-transform:capitalize;font-size:80%}.opinionstage-content-popup-contents .content__info .icon-os-status-open{color:#3aaebd}.opinionstage-content-popup-contents .content__info .icon-os-status-closed{color:#f46368}.opinionstage-content-popup-contents .opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-content-popup-contents .content__info-details{position:absolute;bottom:0;font-size:13px;color:#b1b1b1}.opinionstage-content-popup-contents .content__info-details span{color:#b1b1b1}.opinionstage-content-popup-contents .content__links{background:none;display:inline-block;float:right;text-align:right;padding:20px 10px;left:0;position:relative;top:0;width:30%}@media only screen and (max-width:767px){.opinionstage-content-popup-contents .content__links{padding-left:0;padding-right:0}}.opinionstage-content-popup-contents .content__links-itm{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:5px auto;padding:14px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:200px}.opinionstage-content-popup-contents .content__links-itm:hover{background-color:hsla(0,0%,100%,.1)}.opinionstage-content-popup-contents .popup-content-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:inline;font-size:15px;font-weight:600;padding:13px 14px;text-align:center;text-decoration:none;width:auto}.opinionstage-content-popup-contents .content__label{background-color:#222120;bottom:auto;color:#fff;font-size:12px;top:0;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;z-index:2}.opinionstage-content-popup-contents .std-btn{background-color:rgba(123,91,167,.4);border-radius:5px 5px 0 0;cursor:pointer;color:#fff;display:inline-block;font:16px/50px Open Sans,Helvetica,sans-serif;margin:0;text-align:center;text-transform:uppercase;vertical-align:bottom;width:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.opinionstage-content-popup-contents .std-btn.active{background-color:#fff;color:#222120}.opinionstage-content-popup-contents .create-new-menu-box{display:inline-block;position:relative}.opinionstage-content-popup-contents .create-new-menu-box:hover .create-new-menu{display:block}.opinionstage-content-popup-contents .create-new-menu{display:none;position:absolute;width:100%;top:39px;left:0;border:1px solid #3aaebd;background-color:#fff;z-index:3}.opinionstage-content-popup-contents .create-menu__itm{display:block;color:#3aaebd;border-bottom:1px solid #3aaebd;padding:8px 12px;background-color:#fff;font-size:14px;text-decoration:none;text-transform:uppercase}.opinionstage-content-popup-contents .create-menu__itm:hover{text-decoration:none;color:#fff;background-color:#44a9d2}.opinionstage-content-popup-contents .btn-close{border-radius:5px;color:#fff;cursor:pointer;display:inline-block;font:27px/48px Open Sans,Helvetica,sans-serif;margin-left:20px;text-align:center;width:42px}.opinionstage-content-popup-contents .btn-close:hover{opacity:.8}.opinionstage-content-popup-contents .btn-blue{display:inline-block;background-color:#38aebd;border:medium none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;line-height:36px;outline:medium none;text-transform:uppercase;text-decoration:none;width:140px}.opinionstage-content-popup-contents .btn-blue:hover{background-color:#55a6cc}.opinionstage-content-popup-contents .btn-show-more{padding:15px 0;border:none;background-color:#e6e6e6;width:100%}.opinionstage-content-popup-contents .std-inp{background-color:#fff;border:1px solid #c1c1c1;border-radius:5px;height:36px;outline:medium none;padding:0 15px;width:450px}.opinionstage-content-popup-contents .os-search{width:180px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:0 0;box-shadow:0 0}.opinionstage-content-popup-contents .os-search__input{color:#797979;padding-left:10px;width:100%;border:none;border-radius:0;outline:none}.opinionstage-content-popup-contents .os-search__input:focus{border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;outline:none}.opinionstage-content-popup-contents .os-search__icon{color:#3aaebd;line-height:normal;font-size:18px;padding:10px 9px;margin:0}.opinionstage-content-popup-contents .hidden{visibility:hidden}.opinionstage-content-popup-contents .opinionstage-blue-btn{cursor:pointer;text-align:center;color:#fff;text-decoration:none;display:inline-block;padding:11px 10px;font-weight:400;background-color:#38aebd;border-radius:3px;border-style:hidden;width:95px;margin-right:15px}.opinionstage-content-popup-contents .opinionstage-blue-btn:hover{opacity:.9}.opinionstage-content-popup-contents .opinionstage-section-notification{background-color:rgba(0,0,0,.7);width:100%;padding:20px 25px;z-index:3;text-align:center;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.6);box-shadow:0 2px 5px rgba(0,0,0,.6)}.opinionstage-content-popup-contents .opinionstage-section-notification__title{color:#fff;font-size:15px;margin-bottom:15px}.opinionstage-content-popup-contents .opinionstage-section-notification__controls{position:relative;font-size:0}.opinionstage-content-popup-contents .notification-container~div>.page-content .content__list{max-height:calc(92vh - 270px)}.opinionstage-content-popup-contents .bordered-container{border:1px solid #e5e5e5;text-align:center;padding:40px}.opinionstage-content-popup-contents .opinionstage-introduction-video{text-align:center;padding:20px}.opinionstage-content-popup-contents .opinionstage-connect-form{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.opinionstage-content-popup-contents .opinionstage-connect-form .opinionstage-conect-input{border:1px solid #e5e5e5;height:40px;padding:0 15px;width:420px;border-radius:3px;margin-right:10px;-webkit-box-shadow:none!important;box-shadow:none!important;outline:none!important}.opinionstage-content-popup-contents .dropbtn{background-color:#fff;border:1px solid #e4e4e4;border-right:0!important;-webkit-box-shadow:0 0 0!important;box-shadow:0 0 0!important;cursor:pointer;display:inline-block;font:12px/38px Open Sans,Helvetica,sans-serif;outline:none!important;padding-left:10px;position:relative;text-align:left;text-decoration:none;width:140px;margin-right:50px}.opinionstage-content-popup-contents .dropbtn span{color:#555454;font-size:12px;font-weight:700;text-transform:uppercase}.opinionstage-content-popup-contents .dropbtn:before{color:#000;content:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;font-size:9px;position:absolute;right:-25px;top:0;z-index:3;font-weight:700}.opinionstage-content-popup-contents .dropbtn:after{border:1px solid #e4e4e4;border-left:0!important;content:"";position:absolute;right:-40px;top:-1px;width:40px;height:38px}.opinionstage-content-popup-contents .dropdown{display:inline-block;position:relative}.opinionstage-content-popup-contents .dropdown:hover .popup-action-dropdown.dropdown-content{width:130px}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn{background-color:#32adbc}.opinionstage-content-popup-contents .dropdown:hover .popup-action.popup-content-btn:before{color:#fff}.opinionstage-content-popup-contents .dropdown-popup-action{height:45px}.opinionstage-content-popup-contents .dropdown-content{background-color:#f9f9f9;-webkit-box-shadow:0 8px 16px 0 rgba(0,0,0,.2);box-shadow:0 8px 16px 0 rgba(0,0,0,.2);display:none;left:1px;position:absolute;top:40px;z-index:9}.opinionstage-content-popup-contents .dropdown-content div{background-color:#fff;border:1px solid #3487fa;border-bottom:0;border-top:0;color:#555454;display:block;padding:5px 10px 5px 20px;text-decoration:none}.opinionstage-content-popup-contents .dropdown-content div:hover{background-color:#3487fa;color:#fff!important}.opinionstage-content-popup-contents .dropdown_items .dropdown-content{width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropdown-content{display:block!important;width:180px}.opinionstage-content-popup-contents .dropdown:hover .dropbtn{background-color:#fff}.opinionstage-content-popup-contents .popup-action:before{color:#32adbc;padding:0;position:absolute;right:18px;content:"\\E958";-webkit-transform:rotate(-90deg);transform:rotate(-90deg);display:block;font-family:os-icon-plugin-plugin-font;font-size:9px;top:15px;z-index:3;font-weight:700}.opinionstage-content-popup-contents .popup-action.popup-content-btn{margin-left:10px;padding:12px 25px;position:relative}.opinionstage-content-popup-contents .popup-action-dropdown{background:#fff;border:1px solid #32adbc;border-radius:3px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm{border:none;border-bottom:1px solid #32adbc;border-radius:0;color:#32adbc;font-size:14px;font-weight:400;margin:0;padding:10px;width:auto;text-align:left!important;letter-spacing:1px}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:hover{background-color:#32adbc!important;color:#fff}.opinionstage-content-popup-contents .popup-action-dropdown .content__links-itm:last-child{border:none}.opinionstage-content-popup-contents .popup-action-dropdown.dropdown-content{left:auto;right:0;top:20px;z-index:10}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm{padding:0}.opinionstage-content-popup-contents .opinionstage-anchors-list .filter__itm:hover a{color:#fff}.opinionstage-content-popup-contents .opinionstage-anchors-list a{padding:5px 10px 5px 20px;display:block;text-decoration:none;width:100%}.opinionstage-content-popup-contents .selected-draft__container{position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,.8);z-index:9999}.opinionstage-content-popup-contents .selected-draft__container>div{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:6px;overflow:hidden;background-color:#fff;padding:25px 35px}.opinionstage-content-popup-contents .selected-draft__message{background-color:#f5f5f5;width:650px;padding:25px 35px;margin-top:20px}.opinionstage-content-popup-contents .selected-draft__message p{font-size:16px}.opinionstage-content-popup-contents .selected-draft__message a{color:#32adbc}.opinionstage-content-popup-contents .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}.opinionstage-content-popup-contents .opinionstage-close:after,.opinionstage-content-popup-contents .opinionstage-close:before{position:absolute;left:15px;content:" ";height:17px;width:2px;background-color:#b1b1b1}.opinionstage-content-popup-contents .opinionstage-close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.opinionstage-content-popup-contents .opinionstage-close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}',""])}]);
admin/menu-page.php CHANGED
@@ -47,6 +47,6 @@ function opinionstage_register_menu_page() {
47
  * Loads admin pages
48
  */
49
  function opinionstage_load_template() {
50
- $OSAPL = OpinionStageAdminPageLoader::getInstance();
51
- $OSAPL->OSAPL_LoadTemplateFile();
52
  }
47
  * Loads admin pages
48
  */
49
  function opinionstage_load_template() {
50
+ $OSAPL = OpinionStageAdminPageLoader::get_instance();
51
+ $OSAPL->maybe_load_template_file();
52
  }
assets/content-popup/styles/content-popup.scss CHANGED
@@ -41,6 +41,7 @@ $inputs-border-color: #cccccc;
41
  }
42
  .header__container {
43
  color: #ffffff;
 
44
  margin: auto;
45
  padding: 0 10px;
46
  }
@@ -236,7 +237,6 @@ $inputs-border-color: #cccccc;
236
  display: inline-block;
237
  float: right;
238
  text-align: right;
239
- height: 100%;
240
  padding: 20px 10px;
241
  left: 0;
242
  position: relative;
41
  }
42
  .header__container {
43
  color: #ffffff;
44
+ width: 100%;
45
  margin: auto;
46
  padding: 0 10px;
47
  }
237
  display: inline-block;
238
  float: right;
239
  text-align: right;
 
240
  padding: 20px 10px;
241
  left: 0;
242
  position: relative;
assets/gutenberg/build/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'acab2f5ed65d6d93d01739ec51517a40');
1
+ <?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '291995cae46d6697f72712de8f6e9022');
assets/gutenberg/build/index.css CHANGED
@@ -1,2 +1,2 @@
1
- .os-widget-wrapper .is-large,.os-widget-wrapper .is-block{height:30px;line-height:25px;padding:0 12px 2px;width:100%;max-width:50%;display:block}.os-widget-wrapper .is-block{margin-top:10px}.components-base-control.components-select-control__input{width:100%;float:left;max-width:80%;margin-right:10px}.os-widget-wrapper .components-preview__block{width:100%;max-width:100%;padding:10px;background:#fdfdfd;box-shadow:0 1px 2px 0 #3fb2c145;transition:0.2s}.components-preview__leftBlockImage{width:100%;float:left}.block-editor__container .components-preview__leftBlockImage img{width:100%}.components-preview__rightBlockContent{width:100%;float:left}.components-preview__rightBlockContent .components-placeholder__label{font-size:18px;font-weight:bold;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;line-height:20px;margin:0 auto;margin-top:20px;margin-bottom:10px}.components-preview__leftBlockImage{position:relative}.components-preview__leftBlockImage:hover .overlay{opacity:0.8}.components-preview__leftBlockImage .image{display:block;width:100%;height:auto}.components-preview__leftBlockImage .overlay{position:absolute;top:0;bottom:0;left:0;right:0;height:100%;width:100%;opacity:0;transition:.5s ease;background-color:#222120}.components-preview__leftBlockImage .text{color:white;font-size:20px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center}.components-preview__leftBlockImage .text a{border-radius:5px;border:1px solid #fff;color:#fff;background:transparent;cursor:pointer;display:block;line-height:1;margin:10px auto;padding:10px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:140px}.components-preview__leftBlockImage .text a:hover,.components-preview__block input.left-align:hover{color:#000 !important;background:#fff !important}.components-preview__block .left-align{color:#fff;text-transform:uppercase;border:1px solid #FFF;box-shadow:0 0;text-align:center;font-size:19px;border-radius:5px;padding:0 32px;height:40px;width:100%;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:transparent}.components-preview__block .left-align:hover{background:transparent !important;color:#fff !important;border-color:#fff !important;box-shadow:0 0 !important}p.components-heading{font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;font-weight:600;text-align:center}.os-widget-wrapper.components-placeholder{transition:1s}.os-widget-wrapper .wp-block-opinion-stage-block-os-poll .components-placeholder__fieldset{visibility:hidden;opacity:0}.os-widget-wrapper .components-placeholder__fieldset{visibility:hidden;opacity:0;height:0}.components-button.is-default.is-block.is-primary{background:#32adbc;border-color:#32adbc;box-shadow:none;font-size:14px;font-weight:600;height:auto;line-height:normal;max-width:276px;padding:10px 0;text-shadow:none;text-transform:uppercase;text-align:center}.components-button.is-default.is-block.is-primary:hover{opacity:0.9}.components-button.is-default.is-block.is-primary.is-bordered{background-color:#fff;border:1px solid;color:#32adbc;transition:.2s ease}.components-button.is-default.is-block.is-primary.is-bordered:hover{background-color:rgba(49,174,190,0.1)}input.components-button.is-button.is-default.is-block.is-primary{margin-bottom:9px}.components-placeholder{padding:35px !important;align-items:center !important}.components-placeholder .components-heading{font-size:18px;font-weight:normal;line-height:1.11;margin-bottom:20px;width:400px}.components-preview__block{margin-top:10px}
2
 
1
+ .os-widget-wrapper .is-large,.os-widget-wrapper .is-block{height:30px;line-height:25px;padding:0 12px 2px;width:100%;max-width:50%;display:block}.os-widget-wrapper .is-block{margin-top:10px}.components-base-control.components-select-control__input{width:100%;float:left;max-width:80%;margin-right:10px}.os-widget-wrapper .components-preview__block{width:100%;max-width:100%;padding:10px;background:#fdfdfd;box-shadow:0 1px 2px 0 #3fb2c145;transition:0.2s}.components-preview__leftBlockImage{width:100%;float:left}.block-editor__container .components-preview__leftBlockImage img{width:100%}.components-preview__rightBlockContent{width:100%;float:left}.components-preview__rightBlockContent .components-placeholder__label{font-size:18px;font-weight:bold;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;line-height:20px;margin:0 auto;margin-top:20px;margin-bottom:10px}.components-preview__leftBlockImage{position:relative}.components-preview__leftBlockImage:hover .overlay{opacity:0.8}.components-preview__leftBlockImage .image{display:block;width:100%;height:auto}.components-preview__leftBlockImage .overlay{position:absolute;top:0;bottom:0;left:0;right:0;height:100%;width:100%;opacity:0;transition:.5s ease;background-color:#222120}.components-preview__leftBlockImage .text{color:white;font-size:20px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center}.components-preview__leftBlockImage .text a{border-radius:5px;border:1px solid #fff;color:#fff !important;background:transparent;cursor:pointer;display:block;line-height:1;margin:10px auto;padding:10px 8px;text-align:center;text-decoration:none;text-transform:uppercase;width:140px}.components-preview__leftBlockImage .text a:hover,.components-preview__block input.left-align:hover{color:#000 !important;background:#fff !important}.components-preview__block .left-align{color:#fff;text-transform:uppercase;border:1px solid #FFF;box-shadow:0 0;text-align:center;font-size:19px;border-radius:5px;padding:0 32px;height:40px;width:100%;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:transparent}.components-preview__block .left-align:hover{background:transparent !important;color:#fff !important;border-color:#fff !important;box-shadow:0 0 !important}p.components-heading{font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;font-weight:600;text-align:center}.os-widget-wrapper.components-placeholder{transition:1s}.os-widget-wrapper .wp-block-opinion-stage-block-os-poll .components-placeholder__fieldset{visibility:hidden;opacity:0}.os-widget-wrapper .components-placeholder__fieldset{visibility:hidden;opacity:0;height:0}.components-button.is-default.is-block.is-primary{background:#32adbc;border-color:#32adbc;color:#fff;box-shadow:none;font-size:14px;font-weight:600;height:auto;line-height:normal;max-width:276px;padding:10px 0;text-shadow:none;text-transform:uppercase;text-align:center}.components-button.is-default.is-block.is-primary:hover{opacity:0.9}.components-button.is-default.is-block.is-primary.is-bordered{background-color:#fff;border:1px solid;color:#32adbc;transition:.2s ease}.components-button.is-default.is-block.is-primary.is-bordered:hover{background-color:rgba(49,174,190,0.1)}input.components-button.is-button.is-default.is-block.is-primary{margin-bottom:9px}.components-placeholder{padding:35px !important;align-items:center !important}.components-placeholder .components-heading{font-size:18px;font-weight:normal;line-height:1.11;margin-bottom:20px;width:400px}.components-preview__block{margin-top:10px}
2
 
assets/gutenberg/src/editor.scss CHANGED
@@ -96,7 +96,7 @@ $blue: #32adbc;
96
  a {
97
  border-radius: 5px;
98
  border: 1px solid #fff;
99
- color: #fff;
100
  background: transparent;
101
  cursor: pointer;
102
  display: block;
@@ -162,14 +162,13 @@ p.components-heading {
162
  opacity: 0;
163
  height: 0;
164
  }
165
-
166
  }
167
 
168
-
169
  .components-button {
170
  &.is-default.is-block.is-primary {
171
  background: $blue;
172
  border-color: $blue;
 
173
  box-shadow: none;
174
  font-size: 14px;
175
  font-weight: 600;
@@ -196,7 +195,6 @@ p.components-heading {
196
  }
197
  }
198
  }
199
-
200
  }
201
 
202
  input.components-button.is-button.is-default.is-block.is-primary {
96
  a {
97
  border-radius: 5px;
98
  border: 1px solid #fff;
99
+ color: #fff !important;
100
  background: transparent;
101
  cursor: pointer;
102
  display: block;
162
  opacity: 0;
163
  height: 0;
164
  }
 
165
  }
166
 
 
167
  .components-button {
168
  &.is-default.is-block.is-primary {
169
  background: $blue;
170
  border-color: $blue;
171
+ color: #fff;
172
  box-shadow: none;
173
  font-size: 14px;
174
  font-weight: 600;
195
  }
196
  }
197
  }
 
198
  }
199
 
200
  input.components-button.is-button.is-default.is-block.is-primary {
opinionstage-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
- Version: 19.8.3
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
+ Version: 19.8.4
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
plugin.php CHANGED
@@ -34,7 +34,7 @@ if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
34
  }
35
  }
36
 
37
- define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.3' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
34
  }
35
  }
36
 
37
+ define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.4' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: opinionstage, yoffegil, kucaahbe
3
  Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
- Tested up to: 5.7.1
7
- Stable tag: 19.8.3
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
@@ -139,6 +139,9 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
139
  N/A
140
 
141
  == Changelog ==
 
 
 
142
  = 19.8.3 =
143
  * new getting started experience
144
  * content popup shows widget status and update date
3
  Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
+ Tested up to: 5.8
7
+ Stable tag: 19.8.4
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
139
  N/A
140
 
141
  == Changelog ==
142
+ = 19.8.4 =
143
+ * internal code improvements
144
+ * tested up to 5.8 Wordpress
145
  = 19.8.3 =
146
  * new getting started experience
147
  * content popup shows widget status and update date