Event Tickets - Version 4.9.4

Version Description

Download this release

Release Info

Developer ModernTribe
Plugin Icon 128x128 Event Tickets
Version 4.9.4
Comparing to
See all releases

Code changes from version 4.9.3 to 4.9.4

Files changed (97) hide show
  1. common/readme.txt +4 -0
  2. common/src/Tribe/Asset/Data.php +13 -3
  3. common/src/Tribe/Main.php +2 -2
  4. common/tribe-common.php +1 -1
  5. event-tickets.php +1 -1
  6. lang/event-tickets-de_DE.mo +0 -0
  7. lang/event-tickets-de_DE.po +2298 -605
  8. lang/event-tickets-it_IT.mo +0 -0
  9. lang/event-tickets-it_IT.po +3 -3
  10. lang/event-tickets.pot +121 -110
  11. readme.txt +36 -7
  12. src/Tribe/Assets.php +16 -1
  13. src/Tribe/Attendee_Registration/Template.php +8 -4
  14. src/Tribe/Editor/Attendee_Registration.php +8 -3
  15. src/Tribe/Editor/Blocks/Rsvp.php +52 -7
  16. src/Tribe/Editor/Blocks/Tickets.php +87 -5
  17. src/Tribe/Editor/Compatibility/Tickets.php +5 -0
  18. src/Tribe/Main.php +2 -1
  19. src/Tribe/Tickets.php +7 -2
  20. src/modules/blocks/rsvp/advanced-options/container.js +0 -2
  21. src/modules/blocks/rsvp/advanced-options/template.js +0 -3
  22. src/modules/blocks/rsvp/container-content/container.js +2 -0
  23. src/modules/blocks/rsvp/container-content/template.js +15 -8
  24. src/modules/blocks/rsvp/container.js +15 -29
  25. src/modules/blocks/rsvp/duration-label/style.pcss +2 -0
  26. src/modules/blocks/rsvp/duration-picker/container.js +9 -2
  27. src/modules/blocks/rsvp/duration-picker/template.js +4 -2
  28. src/modules/blocks/rsvp/header-image/container.js +3 -11
  29. src/modules/blocks/rsvp/header-image/style.pcss +2 -1
  30. src/modules/blocks/rsvp/header-image/template.js +1 -1
  31. src/modules/blocks/rsvp/template.js +1 -6
  32. src/modules/blocks/ticket/container-content/advanced-options/duration/container.js +18 -13
  33. src/modules/blocks/ticket/container-content/advanced-options/duration/template.js +4 -2
  34. src/modules/blocks/ticket/container-content/advanced-options/move-delete/container.js +2 -2
  35. src/modules/blocks/ticket/container-content/advanced-options/sku/container.js +3 -3
  36. src/modules/blocks/ticket/container-content/advanced-options/template.js +5 -5
  37. src/modules/blocks/ticket/container-content/capacity/container.js +9 -9
  38. src/modules/blocks/ticket/container-content/template.js +5 -5
  39. src/modules/blocks/ticket/container-header/description/container.js +3 -3
  40. src/modules/blocks/ticket/container-header/price/container.js +4 -4
  41. src/modules/blocks/ticket/container-header/template.js +6 -6
  42. src/modules/blocks/ticket/container-header/title/container.js +3 -3
  43. src/modules/blocks/ticket/container.js +11 -7
  44. src/modules/blocks/ticket/container/template.js +4 -4
  45. src/modules/blocks/ticket/dashboard/container.js +29 -24
  46. src/modules/blocks/ticket/template.js +8 -6
  47. src/modules/blocks/tickets/capacity-table/style.pcss +3 -3
  48. src/modules/blocks/tickets/container.js +7 -0
  49. src/modules/blocks/tickets/container/container.js +14 -5
  50. src/modules/blocks/tickets/container/template.js +31 -30
  51. src/modules/blocks/tickets/header-image/style.pcss +2 -1
  52. src/modules/blocks/tickets/header-image/template.js +1 -1
  53. src/modules/blocks/tickets/index.js +1 -1
  54. src/modules/blocks/tickets/template.js +14 -2
  55. src/modules/data/blocks/rsvp/__tests__/__snapshots__/actions.test.js.snap +24 -0
  56. src/modules/data/blocks/rsvp/__tests__/__snapshots__/sagas.test.js.snap +57 -0
  57. src/modules/data/blocks/rsvp/__tests__/__snapshots__/types.test.js.snap +6 -0
  58. src/modules/data/blocks/rsvp/__tests__/actions.test.js +12 -0
  59. src/modules/data/blocks/rsvp/__tests__/sagas.test.js +352 -26
  60. src/modules/data/blocks/rsvp/actions.js +18 -0
  61. src/modules/data/blocks/rsvp/sagas.js +151 -2
  62. src/modules/data/blocks/rsvp/thunks.js +0 -92
  63. src/modules/data/blocks/rsvp/types.js +4 -0
  64. src/modules/data/blocks/ticket/__tests__/__snapshots__/actions.test.js.snap +90 -60
  65. src/modules/data/blocks/ticket/__tests__/__snapshots__/reducer.test.js.snap +35 -10
  66. src/modules/data/blocks/ticket/__tests__/__snapshots__/sagas.test.js.snap +227 -11
  67. src/modules/data/blocks/ticket/__tests__/__snapshots__/selectors.test.js.snap +23 -12
  68. src/modules/data/blocks/ticket/__tests__/__snapshots__/types.test.js.snap +6 -0
  69. src/modules/data/blocks/ticket/__tests__/actions.test.js +76 -63
  70. src/modules/data/blocks/ticket/__tests__/reducer.test.js +7 -0
  71. src/modules/data/blocks/ticket/__tests__/sagas.test.js +324 -200
  72. src/modules/data/blocks/ticket/__tests__/selectors.test.js +41 -25
  73. src/modules/data/blocks/ticket/actions.js +123 -108
  74. src/modules/data/blocks/ticket/reducer.js +7 -0
  75. src/modules/data/blocks/ticket/reducers/__tests__/__snapshots__/tickets.test.js.snap +11 -7
  76. src/modules/data/blocks/ticket/reducers/__tests__/tickets.test.js +23 -9
  77. src/modules/data/blocks/ticket/reducers/tickets.js +12 -8
  78. src/modules/data/blocks/ticket/sagas.js +164 -109
  79. src/modules/data/blocks/ticket/selectors.js +69 -39
  80. src/modules/data/blocks/ticket/types.js +3 -0
  81. src/modules/data/shared/move/__tests__/__snapshots__/actions.test.js.snap +1 -1
  82. src/modules/data/shared/move/__tests__/__snapshots__/selectors.test.js.snap +3 -3
  83. src/modules/data/shared/move/actions.js +2 -2
  84. src/modules/data/shared/move/reducers/__tests__/__snapshots__/modal.test.js.snap +4 -4
  85. src/modules/data/shared/move/reducers/modal.js +1 -1
  86. src/modules/data/shared/move/selectors.js +1 -1
  87. src/modules/elements/date-time-range-picker/element.js +21 -30
  88. src/resources/css/app/blocks.css +5 -5
  89. src/resources/css/app/blocks.min.css +5 -5
  90. src/resources/css/app/blocks.min.css.map +1 -1
  91. src/resources/css/app/rsvp/frontend.css +1 -1
  92. src/resources/css/app/rsvp/frontend.min.css +1 -1
  93. src/resources/css/app/rsvp/frontend.min.css.map +1 -1
  94. src/resources/css/tickets-registration-page.css +2 -1
  95. src/resources/css/tickets-registration-page.min.css +1 -1
  96. src/resources/js/app/attendees/frontend.min.js.map +1 -1
  97. src/resources/js/app/blocks.js +2788 -2818
common/readme.txt CHANGED
@@ -3,6 +3,10 @@
3
 
4
  == Changelog ==
5
 
 
 
 
 
6
  = [4.8.3] 2018-12-19 =
7
 
8
  * Tweak - Refreshing the Welcome page for The Events Calendar and Event Tickets [117795]
3
 
4
  == Changelog ==
5
 
6
+ = [4.8.4] 2019-01-15 =
7
+
8
+ * Add - Added new filter `tribe_asset_data_add_object_{$object_name}` to allow integrations to customize the object data and add additional properties [119760]
9
+
10
  = [4.8.3] 2018-12-19 =
11
 
12
  * Tweak - Refreshing the Welcome page for The Events Calendar and Event Tickets [117795]
common/src/Tribe/Asset/Data.php CHANGED
@@ -30,10 +30,20 @@ class Tribe__Asset__Data {
30
  * Adds the provided data to the list of objects that should be available
31
  * to other scripts.
32
  *
33
- * @param string $object_name
34
- * @param mixed $data
35
  */
36
  public function add( $object_name, $data ) {
 
 
 
 
 
 
 
 
 
 
37
  $this->objects[ $object_name ] = $data;
38
  }
39
 
@@ -54,4 +64,4 @@ class Tribe__Asset__Data {
54
 
55
  echo '/* ]]> */ </script>';
56
  }
57
- }
30
  * Adds the provided data to the list of objects that should be available
31
  * to other scripts.
32
  *
33
+ * @param string $object_name Object name.
34
+ * @param array $data Object data.
35
  */
36
  public function add( $object_name, $data ) {
37
+ /**
38
+ * Allow plugins to filter data for a specific object.
39
+ *
40
+ * @since 4.8.4
41
+ *
42
+ * @param array $data Object data.
43
+ * @param string $object_name Object name.
44
+ */
45
+ $data = apply_filters( "tribe_asset_data_add_object_{$object_name}", $data, $object_name );
46
+
47
  $this->objects[ $object_name ] = $data;
48
  }
49
 
64
 
65
  echo '/* ]]> */ </script>';
66
  }
67
+ }
common/src/Tribe/Main.php CHANGED
@@ -17,7 +17,7 @@ class Tribe__Main {
17
  const OPTIONNAME = 'tribe_events_calendar_options';
18
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
19
 
20
- const VERSION = '4.8.3';
21
 
22
  const FEED_URL = 'https://theeventscalendar.com/feed/';
23
 
@@ -579,4 +579,4 @@ class Tribe__Main {
579
  return tribe( 'logger' );
580
  }
581
  // @codingStandardsIgnoreEnd
582
- }
17
  const OPTIONNAME = 'tribe_events_calendar_options';
18
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
19
 
20
+ const VERSION = '4.8.4';
21
 
22
  const FEED_URL = 'https://theeventscalendar.com/feed/';
23
 
579
  return tribe( 'logger' );
580
  }
581
  // @codingStandardsIgnoreEnd
582
+ }
common/tribe-common.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Description: An event settings framework for managing shared options
4
- Version: 4.8.3
5
  Author: Modern Tribe, Inc.
6
  Author URI: http://m.tri.be/1x
7
  Text Domain: tribe-common
1
  <?php
2
  /*
3
  Description: An event settings framework for managing shared options
4
+ Version: 4.8.4
5
  Author: Modern Tribe, Inc.
6
  Author URI: http://m.tri.be/1x
7
  Text Domain: tribe-common
event-tickets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Event Tickets
4
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
5
- Version: 4.9.3
6
  Author: Modern Tribe, Inc.
7
  Author URI: http://m.tri.be/28
8
  License: GPLv2 or later
2
  /*
3
  Plugin Name: Event Tickets
4
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
5
+ Version: 4.9.4
6
  Author: Modern Tribe, Inc.
7
  Author URI: http://m.tri.be/28
8
  License: GPLv2 or later
lang/event-tickets-de_DE.mo CHANGED
Binary file
lang/event-tickets-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Plugins - Event Tickets - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2018-09-02 20:04:21+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -1162,111 +1162,111 @@ msgstr ""
1162
 
1163
  #: src/admin-views/tribe-options-tickets.php:327
1164
  msgid "You have tickets!"
1165
- msgstr "Sie haben Karten!"
1166
 
1167
  #: src/admin-views/tribe-options-tickets.php:296
1168
  msgid "After a successful PayPal order users will be redirected to this page; use the %s shortcode to display the order confirmation to the user in the page content."
1169
- msgstr "Nach einer erfolgreichen PayPal Bestellung werden die Benutzer zu dieser Seite weitergeleitet; verwende den Shortcode %s um die Seite Bestellbestätigung für den Benutzer anzuzeigen."
1170
 
1171
  #: src/admin-views/privacy.php:56
1172
  msgid "If you have extended our plugin(s) to send data to a third-party service such as Eventbrite, Google Maps, or PayPal, user information may be passed to these external services. These services may be located abroad."
1173
- msgstr "Wenn Du unsere Plugins so erweitert hast, dass sie Daten an einen Drittanbieter-Service wie Eventbrite, Google Maps oder PayPal senden, können Benutzerinformationen an diese externen Services weitergegeben werden. Diese Dienste können sich im Ausland befinden."
1174
 
1175
  #: src/admin-views/privacy.php:54
1176
  msgid "Modern Tribe does not send any user data outside of your website by default."
1177
- msgstr "Modern Tribe sendet standardmäßig keine Benutzerdaten außerhalb Ihrer Website."
1178
 
1179
  #: src/admin-views/privacy.php:52
1180
  msgid "Where We Send Your Data"
1181
- msgstr "Wohin wir deine Daten senden"
1182
 
1183
  #: src/admin-views/privacy.php:50
1184
  msgid "Certain data may be exported or removed upon users request via the existing Exporter or Eraser. Please note, however, that several “edge cases” exist in which we are unable to perfect the gathering and export of all data for your end users. We suggest running a search in your local database, as well as within the WordPress Dashboard, in order to identify all data collected and stored for your specific user requests."
1185
- msgstr "Bestimmte Daten können auf Wunsch des Benutzers über den vorhandenen Exporter oder Radierer exportiert oder entfernt werden. Bitte beachte jedoch, dass es mehrere \"Grenzfälle\" gibt, in denen wir das Sammeln und Exportieren aller Daten für Ihre Endnutzer nicht perfektionieren können. Wir empfehlen, in der lokalen Datenbank sowie im WordPress Dashboard eine Suche durchzuführen, um alle gesammelten und gespeicherten Daten für Ihre spezifischen Benutzeranforderungen zu identifizieren."
1186
 
1187
  #: src/admin-views/privacy.php:48
1188
  msgid "All information (data) is retained in the local database indefinitely, unless otherwise deleted."
1189
- msgstr "Alle Informationen (Daten) bleiben auf unbestimmte Zeit in der lokalen Datenbank erhalten, sofern sie nicht anderweitig gelöscht werden."
1190
 
1191
  #: src/admin-views/privacy.php:46
1192
  msgid "How Long You Retain this Data"
1193
- msgstr "Wie lange die Daten aufbewahrt werden"
1194
 
1195
  #: src/admin-views/privacy.php:44
1196
  msgid "These API keys may include the following third party services: Google Maps and PayPal."
1197
- msgstr "Diese API-Schlüssel können die folgenden Dienste von Drittanbietern enthalten: Google Maps und PayPal."
1198
 
1199
  #: src/admin-views/privacy.php:42
1200
  msgid "We make use of certain API keys, in order to provide specific features."
1201
- msgstr "Wir verwenden bestimmte API-Schlüssel, um bestimmte Funktionen bereitzustellen."
1202
 
1203
  #: src/admin-views/privacy.php:38
1204
  msgid "Events Tickets suite offers the use of third-party API keys. The primary functions are to enhance the features we've built in, some of which use Google Maps and PayPal. These API keys are not supplied by Modern Tribe."
1205
- msgstr "Events Tickets Suite bietet die Verwendung von API-Schlüsseln von Drittanbietern. Die Hauptfunktionen bestehen darin, die Funktionen zu verbessern, von denen einige Google Maps und PayPal verwenden. Diese API-Schlüssel werden nicht von Modern Tribe bereitgestellt."
1206
 
1207
  #: src/admin-views/privacy.php:36
1208
  msgid "API Keys"
1209
- msgstr "API Schlüssel"
1210
 
1211
  #: src/admin-views/privacy.php:34
1212
  msgid "Please note: The website owner can collect nearly any Attendee Information requested from ticket buyers by creating a custom registration form."
1213
- msgstr "Bitte beachte: Der Eigentümer der Website kann nahezu alle von Kartenkäufern angeforderten Teilnehmerinformationen sammeln, indem er ein benutzerdefiniertes Registrierungsformular erstellt."
1214
 
1215
  #: src/admin-views/privacy.php:31
1216
  msgid "Ticket purchaser billing address, which is collected through the use of WooCommerce, Easy Digital Downloads, or PayPal"
1217
- msgstr "Die Rechnungsadresse des Kartenkäufers, die durch die Verwendung von WooCommerce, Easy Digital Downloads oder PayPal gesammelt wird"
1218
 
1219
  #: src/admin-views/privacy.php:30
1220
  msgid "Ticket purchaser information: name and email address"
1221
- msgstr "Informationen zum Ticketkäufer: Name und E-Mail-Adresse "
1222
 
1223
  #: src/admin-views/privacy.php:29
1224
  msgid "Ticket information (RSVPs and Tickets): name, email address, and ticket number/SKU (via check-in page)"
1225
- msgstr "Karteninformationen (RSVPs und Tickets): Name, E-Mail-Adresse und Kartennummer / SKU (über die Check-in-Seite)"
1226
 
1227
  #: src/admin-views/privacy.php:28
1228
  msgid "Attendees information (RSVPs and Tickets): name and email address"
1229
- msgstr "Teilnehmerinformationen (RSVPs und Karten): Name und E-Mail-Adresse"
1230
 
1231
  #: src/admin-views/privacy.php:25
1232
  msgid "If you create, submit, import, save, or publish event ticket information, as well as RSVP or purchase tickets to events, such information is retained in the local database:"
1233
- msgstr "Wenn Du Veranstaltungskarten-Informationen erstellst, sendest, importierst, speicherst oder veröffentlichst sowie RSVPs oder Tickets für Ereignisse kaufst, werden diese Informationen in der lokalen Datenbank gespeichert:"
1234
 
1235
  #: src/admin-views/privacy.php:24 src/admin-views/privacy.php:40
1236
  msgid "Suggested text:"
1237
- msgstr "Vorgeschlagener Text:"
1238
 
1239
  #: src/admin-views/privacy.php:23
1240
  msgid "Through the usage of Event Tickets, Event Tickets Plus, and Community Tickets, information may be collected and stored within your website’s database."
1241
- msgstr "Durch die Verwendung von Event Tickets, Event Tickets Plus und Community Tickets können Informationen gesammelt und in der Datenbank Ihrer Website gespeichert werden."
1242
 
1243
  #: src/admin-views/privacy.php:21
1244
  msgid "Event, Attendee, and Ticket Purchaser Information"
1245
- msgstr "Informationen über Veranstaltung, Teilnehmer und Kartenkäufer"
1246
 
1247
  #: src/admin-views/privacy.php:19
1248
  msgid "What personal data we collect and why we collect it"
1249
- msgstr "Welche persönlichen Daten sammeln wir und warum sammeln wir sie?"
1250
 
1251
  #: src/admin-views/privacy.php:17
1252
  msgid "This information is only for guidance and not to be considered as legal advice."
1253
- msgstr "Diese Informationen dienen nur zur Orientierung und sind nicht als Rechtsberatung zu verstehen."
1254
 
1255
  #: src/admin-views/privacy.php:17
1256
  msgid "Disclaimer:"
1257
- msgstr "Haftungsausschluss:"
1258
 
1259
  #: src/admin-views/privacy.php:16
1260
  msgid "You should include the information below in the correct sections of you privacy policy."
1261
- msgstr "Sie sollten die folgenden Informationen in die richtigen Abschnitte Ihrer Datenschutzerklärung aufnehmen."
1262
 
1263
  #: src/admin-views/privacy.php:15
1264
  msgid "This information serves as a guide on what sections need to be modified due to usage of Event Tickets and its Add-ons."
1265
- msgstr "Diese Informationen dienen als Richtlinie, welche Abschnitte aufgrund der Verwendung von Veranstaltungskarten und Add-Ons geändert werden müssen."
1266
 
1267
  #: src/admin-views/privacy.php:14
1268
  msgid "Hello,"
1269
- msgstr "Hallo,"
1270
 
1271
  #: src/Tribe/REST/V1/Messages.php:22
1272
  msgid "The requested attendee check in is not available"
@@ -1274,7 +1274,7 @@ msgstr ""
1274
 
1275
  #: src/Tribe/REST/V1/Messages.php:27
1276
  msgid "The requested ticket is not accessible"
1277
- msgstr "Die angeforderte Karte ist nicht zugänglich"
1278
 
1279
  #: src/Tribe/REST/V1/Messages.php:20
1280
  msgid "The requested post ID does not exist or is not an attendee"
@@ -1286,101 +1286,101 @@ msgstr ""
1286
 
1287
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:160
1288
  msgid "Returns the documentation for Event Tickets REST API in Swagger consumable format."
1289
- msgstr "Gibt die Dokumentation für die REST-API für Veranstaltungstickets im Swagger-Verbrauchsmaterialformat zurück."
1290
 
1291
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:109
1292
  msgid "Event Tickets REST API allows accessing ticket information easily and conveniently."
1293
- msgstr "Event Tickets REST API ermöglicht den einfachen und bequemen Zugriff auf Ticketinformationen."
1294
 
1295
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:108
1296
  msgid "Event Tickets REST API"
1297
- msgstr "Event Tickets REST API"
1298
 
1299
  #: src/Tribe/REST/V1/Endpoints/Base.php:77
1300
  msgid "No description provided"
1301
- msgstr "Keine Beschreibung verfügbar"
1302
 
1303
  #: src/Tribe/REST/V1/Documentation/Ticket_Definition_Provider.php:20
1304
  msgid "The ticket WordPress post ID"
1305
- msgstr "Die Karten WordPress Post ID"
1306
 
1307
  #: src/Tribe/Privacy.php:435
1308
  msgid "Order Title"
1309
- msgstr "Titel Bestellung"
1310
 
1311
  #: src/Tribe/Privacy.php:430
1312
  msgid "Event Tickets TribeCommerce Attendee Data"
1313
- msgstr "Event Tickets TribeCommerce Teilnehmerdaten"
1314
 
1315
  #: src/Tribe/Privacy.php:154
1316
  #: src/modules/blocks/rsvp/container-header/template.js:32
1317
  #: src/resources/js/app/blocks.js:37976
1318
  msgid "RSVP Title"
1319
- msgstr "UAWG Titel"
1320
 
1321
  #: src/Tribe/Privacy.php:149
1322
  msgid "Event Tickets RSVP Attendee Data"
1323
- msgstr "Event Tickets RSVP Teilnehmerdaten"
1324
 
1325
  #: src/Tribe/Privacy.php:76 src/Tribe/Privacy.php:103
1326
  msgid "Event Tickets TribeCommerce Attendee"
1327
- msgstr "Event Tickets TribeCommerce Teilnehmer"
1328
 
1329
  #: src/Tribe/Privacy.php:71 src/Tribe/Privacy.php:98
1330
  msgid "Event Tickets RSVP Attendee"
1331
- msgstr "Event Tickets UAWG Teilnehmer"
1332
 
1333
  #: src/views/tickets/orders.php:25
1334
  msgid "You don't have tickets for this event"
1335
- msgstr "Sie haben keine Karten für diese Veranstaltung"
1336
 
1337
  #: src/admin-views/tribe-options-tickets.php:264
1338
  msgid "For help creating and configuring your account, call PayPal at 1-844-720-4038 (USA)"
1339
- msgstr "Wenn Sie Hilfe beim Erstellen und Konfigurieren Ihres Kontos haben, rufen Sie PayPal unter 1-844-720-4038 (USA) an."
1340
 
1341
  #: common/src/Tribe/Admin/Notice/Php_Version.php:101
1342
  msgid "Starting March 2019, %1$s will no longer work with versions prior to PHP 5.4. Currently your site is using PHP version %2$s. For best results, we recommend using PHP 5.6 or above."
1343
- msgstr "Ab März 2019 wird %1$s nicht mehr mit Versionen vor PHP 5.4 funktionieren. Derzeit ist Ihre Website mit PHP-Version %2$s ausgestattet. Für optimale Ergebnisse empfehlen wir die Verwendung von PHP 5.6 oder höher."
1344
 
1345
  #: common/src/Tribe/Admin/Notice/Php_Version.php:98
1346
  msgid "Starting March 2019, %1$s will no longer support versions prior to PHP 5.6. Your site is currently using PHP version %2$s which will no longer be supported by %1$s. For best results, we recommend using PHP 5.6 or above."
1347
- msgstr "Ab März 2019, %1$s wird nicht mehr Versionen vor PHP 5.6 unterstützen. Ihre Website verwendet derzeit die PHP-Version %2$s, die nicht mehr von %1$s unterstützt wird. Für optimale Ergebnisse empfehlen wir die Verwendung von PHP 5.6 oder höher."
1348
 
1349
  #: src/views/tickets/tpp-return-to-cart.php:6
1350
  msgid "Return to Cart"
1351
- msgstr "Zurück zum Einkaufswagen"
1352
 
1353
  #: src/admin-views/tribe-options-tickets.php:161
1354
  msgid "Tribe Commerce is a light implementation of a commerce gateway using PayPal and simplified stock handling. If you need more advanced features, take a look at %1$s. In addition to integrating with your favorite ecommerce provider, Event Tickets Plus includes options to collect custom information for attendees, check users in via QR codes, and share stock between tickets. %2$s"
1355
- msgstr "Tribe Commerce ist eine Implementierung eines Commerce-Gateways mit PayPal und vereinfachter Lagerabwicklung. Wenn Sie erweiterte Funktionen benötigen, werfen Sie einen Blick auf %1$s. Neben der Integration mit Ihrem bevorzugten eCommerce-Anbieter beinhaltet Event Tickets Plus Optionen zum Sammeln von benutzerdefinierten Informationen für Teilnehmer, zum Überprüfen von Benutzern in über QR-Codes und zum Teilen von Anteilen zwischen Karten. %2$s"
1356
 
1357
  #: src/admin-views/tribe-options-tickets.php:157
1358
  msgid "Check it out!"
1359
- msgstr "Jetzt ausprobieren!"
1360
 
1361
  #: src/admin-views/editor/list-row.php:101
1362
  msgid "Stock management is disabled. Enable it on the related Woocommerce product's inventory settings."
1363
- msgstr "Die Lagerverwaltung ist deaktiviert. Aktivieren Sie diese auf den Inventar Einstellungen des zugehörigen Woocommerce-Produkts."
1364
 
1365
  #: src/admin-views/editor/fieldset/price.php:72
1366
  msgid "Current sale or member price. This can be managed via the product editor."
1367
- msgstr "Aktueller Verkaufs-oder Mitgliedspreis. Dies kann über den Produkt-Editor verwaltet werden."
1368
 
1369
  #: src/admin-views/editor/fieldset/price.php:71
1370
  msgid "Sale/Member Price:"
1371
- msgstr "Verkauf/Mitglieder-Preis:"
1372
 
1373
  #: src/admin-views/attendees.php:125
1374
  msgid "Search attendees"
1375
- msgstr "Teilnehmer durchsuchen"
1376
 
1377
  #: src/Tribe/CSV_Importer/Column_Names.php:37
1378
  msgid "Ticket Show Description"
1379
- msgstr "Karten Zeige Beschreibung"
1380
 
1381
  #: common/src/admin-views/tribe-options-help.php:33
1382
  msgid "Search our support help desk"
1383
- msgstr "Jetzt unser Support-Forum durchsuchen"
1384
 
1385
  #: common/src/Tribe/Plugins_API.php:71
1386
  msgid "Event Tickets Plus allows you to sell tickets to your events using WooCommerce, Easy Digital Downloads, or our built in Tribe Commerce tool. Add tickets to your posts and pages, or add %1$sThe Events Calendar%2$s and sell tickets from your event listings. Create custom registration forms, manage attendees, use custom capacity options, and more. Guest check in is easy with QR codes and our custom scanning app."
@@ -1388,602 +1388,602 @@ msgstr ""
1388
 
1389
  #: src/views/tickets/tpp.php:93
1390
  msgid "%1$s available"
1391
- msgstr "%1$s verfügbar"
1392
 
1393
  #: src/views/tickets/tpp.php:54
1394
  msgid "Please fill in the ticket confirmation name and email fields."
1395
- msgstr "Bitte füllen Sie den Namen und das E-Mail Feld bei der Ticketbestätigung aus. "
1396
 
1397
  #: src/views/tickets/tpp.php:36
1398
  msgctxt "form heading"
1399
  msgid "Tickets"
1400
- msgstr "Karten"
1401
 
1402
  #: src/views/tickets/tpp-success.php:134 src/Tribe/Privacy.php:524
1403
  msgid "Order Total"
1404
- msgstr "Bestellungen total"
1405
 
1406
  #: src/views/tickets/tpp-success.php:80
1407
  msgctxt "Success page tickets table header"
1408
  msgid "Subtotal"
1409
- msgstr "Zwischenmenge"
1410
 
1411
  #: src/views/tickets/tpp-success.php:79
1412
  msgctxt "Success page tickets table header"
1413
  msgid "Quantity"
1414
- msgstr "Menge"
1415
 
1416
  #: src/views/tickets/tpp-success.php:78
1417
  msgctxt "Success page tickets table header"
1418
  msgid "Price"
1419
- msgstr "Preis"
1420
 
1421
  #: src/views/tickets/tpp-success.php:77
1422
  msgctxt "Success page tickets table header"
1423
  msgid "Ticket"
1424
- msgstr "Karte"
1425
 
1426
  #: src/views/tickets/tpp-success.php:65
1427
  msgid "Thank you for your purchase! You will receive your receipt and tickets via email."
1428
- msgstr "Vielen Dank für die Bestellung! Sie erhalten ihre Bestätigung und Karten in Kürze via E-Mail."
1429
 
1430
  #: src/views/tickets/tpp-success.php:56
1431
  msgid "Your order (#%s) is currently processing. Once completed, you'll receive your ticket(s) in an email."
1432
- msgstr "Ihre Bestellung (#%s) wird aktuell bearbeitet. Sobald sie fertiggestellt ist, erhalten Sie die Karte(n) in einem E-Mail."
1433
 
1434
  #: src/views/tickets/tpp-success.php:48
1435
  msgid "Whoops! It looks like there was a problem with your order. Please contact the site owner for assistance."
1436
- msgstr "Hoppla! Schaut so aus als ob es Probleme mit ihrer Bestellung gibt. Bitte den Verantwortlichen dieser Webseite für weitere Hilfe kontaktieren."
1437
 
1438
  #: src/views/tickets/tpp-success.php:42
1439
  msgid "No order confirmation is available because no purchase was made."
1440
- msgstr "Bestellbestätigung nicht verfügbar, da kein Kauf erfolgte."
1441
 
1442
  #: src/views/tickets/orders-pp-tickets.php:71
1443
  msgctxt "order status label"
1444
  msgid "Payment status: "
1445
- msgstr "Zahlungstatus:"
1446
 
1447
  #: src/views/tickets/orders-pp-tickets.php:41
1448
  msgid "Purchased by %1$s (%2$s)"
1449
- msgstr "Gekauft von %1$s (%2$s)"
1450
 
1451
  #: src/views/tickets/orders-pp-tickets.php:32
1452
  msgid "My Tickets for This %s"
1453
- msgstr "Meine Karten für %s"
1454
 
1455
  #: src/views/login-to-purchase.php:16
1456
  #: src/views/blocks/tickets/submit-login.php:19
1457
  msgid "Log in to purchase"
1458
- msgstr "Anmelden, um den Kauf durchzuführen"
1459
 
1460
  #: src/views/login-before-purchase.php:24
1461
  msgctxt "Registration link on Tribe Commerce checkout page, shown as an alternative the login link"
1462
  msgid "create an account"
1463
- msgstr "Erstelle einen Account"
1464
 
1465
  #: src/views/login-before-purchase.php:23
1466
  msgctxt "Login link on Tribe Commerce checkout page, shown as an alternative to the registration link"
1467
  msgid "Log in"
1468
- msgstr "Anmelden"
1469
 
1470
  #: src/views/login-before-purchase.php:21
1471
  msgctxt "Login link on Tribe Commerce checkout page"
1472
  msgid "Log in before purchasing"
1473
- msgstr "Vor dem Kauf anmelden"
1474
 
1475
  #: src/admin-views/tribe-options-tickets.php:358
1476
  msgid "Override the default IPN notify URL with this value. This value must be the same set in PayPal IPN Notifications settings area (%s)."
1477
- msgstr "Überschreiben Sie den Standard IPN Benachrichtigungs-URL mit diesem Wert. Dieser Wert muss derselbe Satz im Bereich \"PayPal IPN Notifications Settings\" (%s) sein."
1478
 
1479
  #: src/admin-views/tribe-options-tickets.php:356
1480
  msgid "IPN Notify URL"
1481
- msgstr "IPN Benachrichtigungs URL"
1482
 
1483
  #: src/admin-views/tribe-options-tickets.php:347
1484
  msgid "You can see and manage your IPN Notifications history from the IPN Notifications settings area (%s)."
1485
- msgstr "Sie können ihre IPN Benachrichtigungshistorie in den IPN Benachrichtigungseinstellungen einsehen und verwalten (%s)."
1486
 
1487
  #: src/admin-views/tribe-options-tickets.php:344
1488
  msgid "See your IPN Notification history"
1489
- msgstr "Sehen Sie ihre IPN Benachrichtigungs Historie"
1490
 
1491
  #: src/admin-views/tribe-options-tickets.php:334
1492
  msgid "Enables PayPal Sandbox mode for testing."
1493
- msgstr "PayPal Sandbox Modus zum Testen freischalten."
1494
 
1495
  #: src/admin-views/tribe-options-tickets.php:333
1496
  msgid "PayPal Sandbox"
1497
- msgstr "PayPal Sandbox"
1498
 
1499
  #: src/admin-views/tribe-options-tickets.php:325
1500
  msgid "Subject of the confirmation email sent to customers when confirming a ticket purchase."
1501
- msgstr "Betreff der Bestätigungs-E-Mail, die an Kunden gesendet wird, wenn ein Ticketkauf bestätigt wird."
1502
 
1503
  #: src/admin-views/tribe-options-tickets.php:324
1504
  msgid "Confirmation email subject"
1505
- msgstr "Betreff für E-Mail Bestätigung"
1506
 
1507
  #: src/admin-views/tribe-options-tickets.php:316
1508
  msgid "Sender name of the confirmation email sent to customers when confirming a ticket purchase."
1509
- msgstr "Absendername der Bestätigungs-E-Mail, die den Kunden bei der Bestätigung eines Ticketkaufs gesendet wird."
1510
 
1511
  #: src/admin-views/tribe-options-tickets.php:315
1512
  msgid "Confirmation email sender name"
1513
- msgstr "Name Versender für E-Mail Bestätigung"
1514
 
1515
  #: src/admin-views/tribe-options-tickets.php:308
1516
  msgid "Email address PayPal tickets customers will receive confirmation from."
1517
- msgstr "E-Mail Adresse von welcher die PayPal Karten Kunden die E-Mail Bestätigung erhalten."
1518
 
1519
  #: src/admin-views/tribe-options-tickets.php:307
1520
  msgid "Confirmation email sender address"
1521
- msgstr "Absender Adresse für Bestätigungs-E-Mails"
1522
 
1523
  #: src/admin-views/tribe-options-tickets.php:293
1524
  msgid "Success page"
1525
- msgstr "Erfolgsseite"
1526
 
1527
  #: src/admin-views/tribe-options-tickets.php:287
1528
  msgid "Only decrease available ticket stock if an order is confirmed as Completed by PayPal."
1529
- msgstr "Reduzieren Sie nur den verfügbaren Ticketbestand, wenn eine Bestellung durch PayPal bestätigt wurde."
1530
 
1531
  #: src/admin-views/tribe-options-tickets.php:286
1532
  msgid "Decrease available ticket stock as soon as a Pending order is created."
1533
- msgstr "Verringert den verfügbaren Ticketbestand, sobald ein ausstehender Auftrag erstellt wird."
1534
 
1535
  #: src/admin-views/tribe-options-tickets.php:282
1536
  msgid "When a customer purchases a ticket, PayPal might flag the order as Pending. The order will be Complete once payment is confirmed by PayPal."
1537
- msgstr "Wenn ein Kunde eine Karte kauft, kann PayPal die Bestellung als ausstehend kennzeichnen. Die Bestellung ist vollständig, sobald die Zahlung durch PayPal bestätigt wird."
1538
 
1539
  #: src/admin-views/tribe-options-tickets.php:281
1540
  msgid "Stock Handling"
1541
- msgstr "Lagerhaltung"
1542
 
1543
  #: src/admin-views/tribe-options-tickets.php:274
1544
  msgid "The currency that will be used for Tribe Commerce transactions."
1545
- msgstr "Die Währung, welche für Tribe Commerce Transaktionen verwendet wird."
1546
 
1547
  #: src/admin-views/tribe-options-tickets.php:273
1548
  msgid "Currency Code"
1549
- msgstr "Währungscode"
1550
 
1551
  #: src/admin-views/tribe-options-tickets.php:261
1552
  msgid "PayPal configuration status:"
1553
- msgstr "PayPal Konfiguration Status:"
1554
 
1555
  #: src/admin-views/tribe-options-tickets.php:238
1556
  #: src/admin-views/tribe-options-tickets.php:250
1557
  msgid "No"
1558
- msgstr "Nein"
1559
 
1560
  #: src/admin-views/tribe-options-tickets.php:235
1561
  msgid "Have you enabled instant payment notifications (IPN) in your PayPal account's Selling Tools?"
1562
- msgstr "Haben Sie sofort Zahlungsbenachrichtigungen (IPN) in den Verkaufswerkzeugen Ihres PayPal-Kontos aktiviert?"
1563
 
1564
  #: src/admin-views/tribe-options-tickets.php:227
1565
  msgid "PayPal email to receive payments:"
1566
- msgstr "PayPal E-Mail um Zahlungen zu erhalten:"
1567
 
1568
  #: src/admin-views/tribe-options-tickets.php:221
1569
  msgid "Configure PayPal:"
1570
- msgstr "PayPal konfigurieren:"
1571
 
1572
  #: src/admin-views/tribe-options-tickets.php:213
1573
  msgid "Your site address is: %s"
1574
- msgstr "Die Seitenadresse lautet: %s"
1575
 
1576
  #: src/admin-views/tribe-options-tickets.php:211
1577
  msgid "Have you entered this site's address in the Notification URL field in IPN Settings?"
1578
- msgstr "Haben Sie die Adresse dieser Website im Feld Benachrichtigungs-URL in IPN Einstellungen eingegeben?"
1579
 
1580
  #: src/admin-views/tribe-options-tickets.php:205
1581
  msgid "In order to use Tribe Commerce to sell tickets, you must configure your PayPal account to communicate with your WordPress site. If you need help getting set up, follow %s"
1582
- msgstr "Um mit Tribe Commerce Tickets zu verkaufen, müssen Sie Ihr PayPal-Konto konfigurieren, damit es mit Ihrer WordPress-Website kommunizieren kann. Wenn Sie Hilfe beim Einrichten benötigen, folgen Sie %s"
1583
 
1584
  #: src/admin-views/tribe-options-tickets.php:203
1585
  msgid "these instructions"
1586
- msgstr "diese Instruktionen"
1587
 
1588
  #: src/admin-views/tribe-options-tickets.php:176
1589
  msgid "Check this box if you wish to turn on Tribe Commerce functionality"
1590
- msgstr "Aktivieren Sie dieses Kontrollkästchen um die Tribe Commerce Funktionalität einzuschalten."
1591
 
1592
  #: src/admin-views/tribe-options-tickets.php:175
1593
  msgid "Enable Tribe Commerce "
1594
- msgstr "Tribe Commerce aktivieren"
1595
 
1596
  #: src/admin-views/tribe-options-tickets.php:140
1597
  msgid "Tribe Commerce"
1598
- msgstr "Tribe Commerce"
1599
 
1600
  #: src/admin-views/tribe-options-tickets.php:44
1601
  msgid "Require users to log in before they purchase tickets"
1602
- msgstr "Benutzer müssen sich anmelden, bevor Sie Karten kaufen können."
1603
 
1604
  #: src/admin-views/tpp-orders.php:114
1605
  msgid "Total Sales: %s %s"
1606
- msgstr "Verkäufe total: %s %s"
1607
 
1608
  #: src/admin-views/tpp-orders.php:93
1609
  msgid "SKU: (%s)"
1610
- msgstr "Einheiten: (%s)"
1611
 
1612
  #: src/admin-views/tpp-orders.php:26
1613
  msgctxt "post type details"
1614
  msgid "%s Details"
1615
- msgstr "%s Details"
1616
 
1617
  #: src/admin-views/tpp-metabox-sku.php:30 src/resources/js/app/blocks.js:42442
1618
  msgid "A unique identifying code for each ticket type you're selling"
1619
- msgstr "Ein eindeutiger Identifizierungscode für jeden Ticket-Typ, den Sie verkaufen"
1620
 
1621
  #: src/admin-views/tpp-metabox-sku.php:20
1622
  msgid "SKU:"
1623
- msgstr "Einheiten:"
1624
 
1625
  #: src/admin-views/editor/panel/list.php:66
1626
  msgid "New ticket"
1627
- msgstr "Neue Karte"
1628
 
1629
  #: src/admin-views/editor/panel/list.php:9
1630
  msgid "No commerce providers available"
1631
- msgstr "Keine Zahlungsdienstleiter verfügbar"
1632
 
1633
  #: src/admin-views/editor/panel/list.php:8
1634
  msgid "Add a new ticket"
1635
- msgstr "Neue Karte hinzufügen"
1636
 
1637
  #: src/admin-views/editor/fieldset/settings-provider.php:33
1638
  msgid "Note: adjusting this setting will only impact new tickets. Existing tickets will not change. We highly recommend that all tickets for one event use the same ecommerce plugin."
1639
- msgstr "Hinweis: das Anpassen dieser Einstellung wirkt sich nur auf neue Karten aus. Bestehende Karten werden nicht geändert. Wir empfehlen dringend, dass alle Karten für eine Veranstaltung das gleiche eCommerce-Plugin verwenden."
1640
 
1641
  #: src/admin-views/editor/fieldset/settings-provider.php:33
1642
  msgid "It looks like you have multiple ecommerce plugins active. We recommend running only one at a time. However, if you need to run multiple, please select which one to use to sell tickets for this event."
1643
- msgstr "Es sieht aus wie Sie mehrere e-Commerce-Plugins aktiv. Es wird empfohlen, nur eine aktiv auszuführen. Allerdings, wenn mehrere laufen müssen, wählen Sie bitte jenes welches sie verwenden möchten, um Karten für dieses Ereignis zu verkaufen."
1644
 
1645
  #: src/admin-views/editor/fieldset/settings-provider.php:32
1646
  msgid "Sell tickets using:"
1647
- msgstr "Verkaufe Karten über:"
1648
 
1649
  #: src/admin-views/editor/fieldset/price.php:68
1650
  msgid "Current sale price. This can be managed via the product editor."
1651
- msgstr "Aktueller Verkaufspreis - er kann über den Produkteditor verwaltet werden."
1652
 
1653
  #: src/admin-views/editor/fieldset/price.php:21
1654
  msgid "Leave blank for free tickets"
1655
- msgstr "Leer lassen für kostenlose Karten"
1656
 
1657
  #: src/admin-views/editor/fieldset/price.php:7
1658
  msgid "Ticket Price must be greater than zero."
1659
- msgstr "Der Kartenpreis muss größer als 0 sein."
1660
 
1661
  #: src/views/registration/summary/tickets-header.php:14
1662
  #: src/admin-views/editor/column-head-price.php:1
1663
  msgid "Price"
1664
- msgstr "Preis"
1665
 
1666
  #: src/admin-views/editor/button-view-orders.php:35
1667
  msgid "View Orders"
1668
- msgstr "Bestellungen ansehen"
1669
 
1670
  #: src/Tribe/Metabox.php:349 src/Tribe/Metabox.php:386
1671
  msgid "The attendee ID is missing from the request parameters."
1672
- msgstr "Die Teilnehmer-ID fehlt in den Anforderungsparametern."
1673
 
1674
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:157
1675
  msgid "denied"
1676
- msgstr "abgelehnt"
1677
 
1678
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:156
1679
  msgid "refunded"
1680
- msgstr "rückerstattet"
1681
 
1682
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:154
1683
  msgid "completed"
1684
- msgstr "abgeschlossen"
1685
 
1686
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:153
1687
  msgid "undefined"
1688
- msgstr "undefiniert"
1689
 
1690
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:149
1691
  msgid "unavailable"
1692
- msgstr "nicht verfügbar"
1693
 
1694
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:118
1695
  msgid "This ticket is no longer active."
1696
- msgstr "Diese Karte ist nicht mehr länger aktiv."
1697
 
1698
  #: src/Tribe/Commerce/PayPal/Stati.php:131
1699
  msgid "Denied <span class=\"count\">(%s)</span>"
1700
  msgid_plural "Denied <span class=\"count\">(%s)</span>"
1701
- msgstr[0] "Verweigert <span class=\"count\">(%s)</span>"
1702
- msgstr[1] "Verweigert <span class=\"count\">(%s)</span>"
1703
 
1704
  #: src/Tribe/Commerce/PayPal/Stati.php:126
1705
  msgctxt "A PayPal order status"
1706
  msgid "Denied"
1707
- msgstr "Abgelehnt"
1708
 
1709
  #: src/Tribe/Commerce/PayPal/Stati.php:122
1710
  msgid "Refunded <span class=\"count\">(%s)</span>"
1711
  msgid_plural "Refunded <span class=\"count\">(%s)</span>"
1712
- msgstr[0] "Zurückerstattet <span class=\"count\">(%s)</span>"
1713
- msgstr[1] "Zurückerstattet <span class=\"count\">(%s)</span>"
1714
 
1715
  #: src/Tribe/Commerce/PayPal/Stati.php:117
1716
  msgctxt "A PayPal order status"
1717
  msgid "Refunded"
1718
- msgstr "Zurückerstattet"
1719
 
1720
  #: src/Tribe/Commerce/PayPal/Stati.php:113
1721
  msgid "Pending <span class=\"count\">(%s)</span>"
1722
  msgid_plural "Pending <span class=\"count\">(%s)</span>"
1723
- msgstr[0] "Ausstehend <span class=\"count\">(%s)</span>"
1724
- msgstr[1] "Ausstehend <span class=\"count\">(%s)</span>"
1725
 
1726
  #: src/Tribe/Commerce/PayPal/Stati.php:108
1727
  msgctxt "A PayPal order status"
1728
  msgid "Pending"
1729
- msgstr "Ausstehend"
1730
 
1731
  #: src/Tribe/Commerce/PayPal/Stati.php:104
1732
  msgid "Not completed <span class=\"count\">(%s)</span>"
1733
  msgid_plural "Not completed <span class=\"count\">(%s)</span>"
1734
- msgstr[0] "Nicht abgeschlossen <span class=\"count\">(%s)</span>"
1735
- msgstr[1] "Nicht abgeschlossen <span class=\"count\">(%s)</span>"
1736
 
1737
  #: src/Tribe/Commerce/PayPal/Stati.php:99
1738
  msgctxt "A PayPal order status"
1739
  msgid "Not completed"
1740
- msgstr "Nicht abgeschlossen"
1741
 
1742
  #: src/Tribe/Commerce/PayPal/Stati.php:95
1743
  msgid "Completed <span class=\"count\">(%s)</span>"
1744
  msgid_plural "Completed <span class=\"count\">(%s)</span>"
1745
- msgstr[0] "Abgeschlossen <span class=\"count\">(%s)</span>"
1746
- msgstr[1] "Abgeschlossen <span class=\"count\">(%s)</span>"
1747
 
1748
  #: src/Tribe/Commerce/PayPal/Stati.php:90
1749
  msgctxt "A PayPal order status"
1750
  msgid "Completed"
1751
- msgstr "Abgeschlossen"
1752
 
1753
  #: src/Tribe/Commerce/PayPal/Oversell/Sell_Available.php:47
1754
  msgid "Sell only available"
1755
- msgstr "Nur verfügbare verkaufen"
1756
 
1757
  #: src/Tribe/Commerce/PayPal/Oversell/Sell_All.php:46
1758
  msgid "Oversell all requested"
1759
- msgstr "Über den vorhandenen Bestand hinaus verkaufen"
1760
 
1761
  #: src/Tribe/Commerce/PayPal/Oversell/No_Oversell.php:46
1762
  msgid "Do not oversell"
1763
- msgstr "Nicht mehr als den vorhandenen Bestand verkaufen"
1764
 
1765
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:242
1766
  msgid "Process order"
1767
- msgstr "Auftrag verabeiten"
1768
 
1769
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:224
1770
  msgid "Delete all attendees for this order and do not email tickets. You may also want to refund the order %1$sin your PayPal account%2$s."
1771
- msgstr "Alle Teilnehmer für diese Bestellung löschen und keine E-Mail-Tickets senden. Sie können den Auftrag %1$sin Ihr PayPal Konto %2$s auch zurückerstatten wünschen."
1772
 
1773
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:217
1774
  msgid "Create attendee records and send emails for all tickets in this order (overselling the event)."
1775
- msgstr "Erstellen Sie Teilnehmer Datensätze und senden Sie E-Mails für alle Karten in dieser Reihenfolge (über Verkauf der Veranstaltung)."
1776
 
1777
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:124
1778
  msgid "%1$s is oversold: there are more tickets sold than the available capacity. This can occur when the PayPal transaction is not completed immediately, delaying the decrease in ticket availability. Order %2$s includes %3$s ticket(s). There are only %4$s ticket(s) left. Ticket emails have not yet been sent for this order. Choose how to process this order from the options below."
1779
- msgstr "%1$s ist überverkauft: Es gibt mehr verkaufte Karten als die verfügbare Kapazität. Dies kann vorkommen, wenn die PayPal-Transaktion nicht sofort abgeschlossen wird, was die Verkürzung der Ticket Verfügbarkeit verzögert. Bestellung %2$s enthält %3$s Karte(n). Es sind nur %4$s-Karte(n) übrig. Für diesen Auftrag wurden noch keine Karten E-Mails gesendet. Wählen Sie aus den unten stehenden Optionen aus, wie diese Bestellung verarbeitet werden soll."
1780
 
1781
  #. Description of the plugin
1782
  msgid "Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event."
1783
- msgstr "Mit Event-Tickets können Sie Karten verkaufen und RSVPs von jedem Beitrag, Seite oder Veranstaltung sammeln."
1784
 
1785
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:122
1786
  msgid "in your PayPal account"
1787
- msgstr "in Ihrem Paypal Account"
1788
 
1789
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:110
1790
  msgid "An event"
1791
- msgstr "Eine Veranstaltung"
1792
 
1793
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:247
1794
  msgid "No matching orders found."
1795
- msgstr "Keine passenden Bestellungen gefunden."
1796
 
1797
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:157
1798
  msgid "Refunded with %s"
1799
- msgstr "Rückerstattet mit %s"
1800
 
1801
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:150
1802
  msgid "%1$s"
1803
- msgstr "%1$s"
1804
 
1805
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:79
1806
  msgid "Total"
1807
- msgstr "Gesamt"
1808
 
1809
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:76
1810
  msgid "Status"
1811
- msgstr "Status"
1812
 
1813
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:75 src/Tribe/Privacy.php:169
1814
  #: src/Tribe/Privacy.php:450 src/Tribe/Privacy.php:546
1815
  msgid "Date"
1816
- msgstr "Datum"
1817
 
1818
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:74
1819
  msgid "Purchased"
1820
- msgstr "Gekauft"
1821
 
1822
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:71
1823
  msgid "Order"
1824
- msgstr "Bestellung"
1825
 
1826
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:42
1827
  msgid "Number of orders per page:"
1828
- msgstr "Anzahl der Bestellungen pro Seite:"
1829
 
1830
  #: src/Tribe/Commerce/PayPal/Orders/Sales.php:261
1831
  msgid "Not completed"
1832
- msgstr "Nicht abgeschlossen"
1833
 
1834
  #: src/Tribe/Commerce/PayPal/Orders/Sales.php:257
1835
  msgid "Completed"
1836
- msgstr "Abgeschlossen"
1837
 
1838
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:271
1839
  msgid "Search Orders"
1840
- msgstr "Bestellungen suchen"
1841
 
1842
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:207
1843
  msgctxt "Browser title"
1844
  msgid "%s - PayPal Orders"
1845
- msgstr "%s - PayPal Bestellungen"
1846
 
1847
  #: src/Tribe/Commerce/PayPal/Orders/Tab.php:33
1848
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:102
1849
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:151
1850
  msgid "PayPal Orders"
1851
- msgstr "PayPal Bestellungen"
1852
 
1853
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:100
1854
  msgid "See PayPal purchases for this %s"
1855
- msgstr "Zeige PayPal Käufe für %s"
1856
 
1857
  #: src/Tribe/Commerce/PayPal/Notices.php:45
1858
  msgid "set it here"
1859
- msgstr "hier eintragen"
1860
 
1861
  #: src/Tribe/Commerce/PayPal/Notices.php:43
1862
  msgid "PayPal is using PDT data but you have not set the PDT identity token"
1863
- msgstr "PayPal verwendet PDT-Daten, aber Sie haben das PDT-Identitätstoken nicht gesetzt."
1864
 
1865
  #: src/Tribe/Commerce/PayPal/Main.php:2184
1866
  msgctxt "a PayPal ticket order status"
1867
  msgid "Not Completed"
1868
- msgstr "Nicht abgeschlossen"
1869
 
1870
  #: src/Tribe/Commerce/PayPal/Main.php:2183
1871
  msgctxt "a PayPal ticket order status"
1872
  msgid "Denied"
1873
- msgstr "Abgelehnt"
1874
 
1875
  #: src/Tribe/Commerce/PayPal/Main.php:2182
1876
  msgctxt "a PayPal ticket order status"
1877
  msgid "Pending"
1878
- msgstr "Ausstehend"
1879
 
1880
  #: src/Tribe/Commerce/PayPal/Main.php:2181
1881
  msgctxt "a PayPal ticket order status"
1882
  msgid "Refunded"
1883
- msgstr "Zurückerstattet"
1884
 
1885
  #: src/Tribe/Commerce/PayPal/Main.php:2180
1886
  msgctxt "a PayPal ticket order status"
1887
  msgid "Completed"
1888
- msgstr "Abgeschlossen"
1889
 
1890
  #: src/Tribe/Commerce/PayPal/Main.php:2179
1891
  msgctxt "a PayPal ticket order status"
1892
  msgid "Undefined"
1893
- msgstr "Undefiniert"
1894
 
1895
  #: src/Tribe/Commerce/PayPal/Main.php:1755
1896
  msgid "Report"
1897
- msgstr "Report"
1898
 
1899
  #: src/Tribe/Commerce/PayPal/Main.php:1729
1900
  msgid "Sales report"
1901
- msgstr "Verkaufsreport"
1902
 
1903
  #: src/Tribe/Commerce/PayPal/Main.php:452
1904
  #: src/modules/blocks/tickets/action-buttons/orders/template.js:25
1905
  #: src/resources/js/app/blocks.js:40151
1906
  msgid "Orders"
1907
- msgstr "Bestellungen"
1908
 
1909
  #: src/Tribe/Commerce/PayPal/Main.php:427
1910
  msgid "Tribe Commerce Ticket"
1911
- msgstr "Tribe Commerce Karte"
1912
 
1913
  #: src/Tribe/Commerce/PayPal/Main.php:426
1914
  msgid "Tribe Commerce Tickets"
1915
- msgstr "Tribe Commerce Karten"
1916
 
1917
  #: src/Tribe/Commerce/PayPal/Main.php:176
1918
  msgctxt "ticket provider"
1919
  msgid "Tribe Commerce"
1920
- msgstr "Tribe Commerce"
1921
 
1922
  #: src/Tribe/Commerce/PayPal/Links.php:56
1923
  msgid "Profile and Settings > My selling tools > Instant Payment Notification > Update"
1924
- msgstr "Profil und Einstellungen > Meine Verkaufstools > Sofortige Zahlungsbenachrichtigung > Aktualisierung"
1925
 
1926
  #: src/Tribe/Commerce/PayPal/Links.php:29
1927
  msgid "Profile and Settings > My selling tools > Instant Payment Notification > IPN History Page"
1928
- msgstr "Profil und Einstellungen > Meine Verkaufstools > Sofortige Zahlungsbenachrichtigung > IPN History-Seite"
1929
 
1930
  #: src/Tribe/Commerce/PayPal/Handler/IPN.php:147
1931
  #: src/Tribe/Commerce/PayPal/Handler/Invalid_PDT.php:74
1932
  #: src/Tribe/Commerce/PayPal/Handler/PDT.php:136
1933
  msgctxt "a PayPal configuration status"
1934
  msgid "incomplete"
1935
- msgstr "unvollständig"
1936
 
1937
  #: src/Tribe/Commerce/PayPal/Handler/IPN.php:143
1938
  msgctxt "a PayPal configuration status"
1939
  msgid "complete"
1940
- msgstr "vollständig"
1941
 
1942
  #: src/Tribe/Commerce/PayPal/Frontend/Tickets_Form.php:69
1943
  msgid "Your PayPal Ticket has been received! Check your email for your PayPal Ticket confirmation."
1944
- msgstr "Ihre PayPal Karte wurde empfangen! Prüfen Sie ihre E-Mail für ihre PayPal Karten Bestätigung."
1945
 
1946
  #: src/Tribe/Commerce/PayPal/Errors.php:34
1947
  msgid "Your order is currently processing. Once completed, you'll receive your ticket(s) in an email."
1948
- msgstr "Ihre Bestellung wird verarbeitet. Sobald diese abgeschlossen ist, erhalten sie ihre Karte(n) in einem E-Mail."
1949
 
1950
  #: src/Tribe/Commerce/PayPal/Errors.php:31
1951
  msgid "You should add at least one ticket."
1952
- msgstr "Sie müssten mindestens eine Karte hinzufügen."
1953
 
1954
  #: src/Tribe/Commerce/PayPal/Errors.php:30
1955
  msgid "You can't add more tickets than the total remaining tickets."
1956
- msgstr "Sie können nicht mehr Karten hinzufügen als die insgesamt verfügbaren Karten."
1957
 
1958
  #: src/Tribe/Commerce/PayPal/Errors.php:29
1959
  msgid "In order to purchase tickets, you must enter your name and a valid email address."
1960
- msgstr "Um Karten kaufen zu können, müssen sie ihren Namen und eine valide E-Mail Adresse eingeben."
1961
 
1962
  #: src/Tribe/Commerce/PayPal/Errors.php:26
1963
  msgid "Ticket quantity is 0"
1964
- msgstr "Kartenanzahl ist 0"
1965
 
1966
  #: src/Tribe/Commerce/PayPal/Errors.php:25
1967
  msgid "Trying to oversell a ticket but the current oversell policy does not allow it"
1968
- msgstr "Es wurde versucht eine Karte über den Lagerbestand zu verkaufen. Jedoch erlaubt der Anbieter einen Überverkauf an verfügbaren Karten nicht."
1969
 
1970
  #: src/Tribe/Commerce/PayPal/Errors.php:24
1971
  msgid "Attendee email and/or full name is missing"
1972
- msgstr "Teilnehmeremail und/oder vollständiger Name fehlt"
1973
 
1974
  #: src/Tribe/Commerce/PayPal/Errors.php:23
1975
  msgid "There was an error"
1976
- msgstr "Es gab einen Fehler"
1977
 
1978
  #: src/Tribe/Commerce/PayPal/Endpoints/Success_Template.php:99
1979
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:155
1980
  msgid "pending"
1981
- msgstr "anstehend"
1982
 
1983
  #: src/Tribe/Commerce/PayPal/Attendance_Totals.php:71
1984
  msgctxt "attendee summary"
1985
  msgid "Complete:"
1986
- msgstr "Abgeschlossen:"
1987
 
1988
  #: src/Tribe/Commerce/PayPal/Attendance_Totals.php:70
1989
  msgctxt "attendee summary"
@@ -1992,111 +1992,111 @@ msgstr ""
1992
 
1993
  #: src/Tribe/Commerce/Currency.php:293
1994
  msgid "U.S. Dollar (USD)"
1995
- msgstr "U.S. Dollar (USD)"
1996
 
1997
  #: src/Tribe/Commerce/Currency.php:287
1998
  msgid "Taiwan New Dollar (TWD)"
1999
- msgstr "Taiwan New Dollar (TWD)"
2000
 
2001
  #: src/Tribe/Commerce/Currency.php:281
2002
  msgid "Thai Baht (THB)"
2003
- msgstr "Thai Baht (THB)"
2004
 
2005
  #: src/Tribe/Commerce/Currency.php:275
2006
  msgid "Singapore Dollar (SGD)"
2007
- msgstr "Singapore Dollar (SGD)"
2008
 
2009
  #: src/Tribe/Commerce/Currency.php:269
2010
  msgid "Swedish Krona (SEK)"
2011
- msgstr "Schwedische Krone (SEK)"
2012
 
2013
  #: src/Tribe/Commerce/Currency.php:263
2014
  msgid "Polish Zloty (PLN)"
2015
- msgstr "Polish Zloty (PLN)"
2016
 
2017
  #: src/Tribe/Commerce/Currency.php:257
2018
  msgid "Philippine Peso (PHP)"
2019
- msgstr "Philippine Peso (PHP)"
2020
 
2021
  #: src/Tribe/Commerce/Currency.php:251
2022
  msgid "New Zealand Dollar (NZD)"
2023
- msgstr "New Zealand Dollar (NZD)"
2024
 
2025
  #: src/Tribe/Commerce/Currency.php:245
2026
  msgid "Norwegian Krone (NOK)"
2027
- msgstr "Norwegische Krone (NOK)"
2028
 
2029
  #: src/Tribe/Commerce/Currency.php:239
2030
  msgid "Mexican Peso (MXN)"
2031
- msgstr "Mexican Peso (MXN)"
2032
 
2033
  #: src/Tribe/Commerce/Currency.php:233
2034
  msgid "Malaysian Ringgit (MYR)"
2035
- msgstr "Malaysian Ringgit (MYR)"
2036
 
2037
  #: src/Tribe/Commerce/Currency.php:227
2038
  msgid "Japanese Yen (JPY)"
2039
- msgstr "Japanese Yen (JPY)"
2040
 
2041
  #: src/Tribe/Commerce/Currency.php:221
2042
  msgid "Israeli New Sheqel (ILS)"
2043
- msgstr "Israeli New Sheqel (ILS)"
2044
 
2045
  #: src/Tribe/Commerce/Currency.php:215
2046
  msgid "Hungarian Forint (HUF)"
2047
- msgstr "Hungarian Forint (HUF)"
2048
 
2049
  #: src/Tribe/Commerce/Currency.php:209
2050
  msgid "Hong Kong Dollar (HKD)"
2051
- msgstr "Hong Kong Dollar (HKD)"
2052
 
2053
  #: src/Tribe/Commerce/Currency.php:203
2054
  msgid "Pound Sterling (GBP)"
2055
- msgstr "Pfund Sterling (GBP)"
2056
 
2057
  #: src/Tribe/Commerce/Currency.php:197
2058
  msgid "Euro (EUR)"
2059
- msgstr "Euro (EUR)"
2060
 
2061
  #: src/Tribe/Commerce/Currency.php:191
2062
  msgid "Danish Krone (DKK)"
2063
- msgstr "Dänische Krone (DKK)"
2064
 
2065
  #: src/Tribe/Commerce/Currency.php:184
2066
  msgid "Czech Koruna (CZK)"
2067
- msgstr "Tschechische Krone (CZK)"
2068
 
2069
  #: src/Tribe/Commerce/Currency.php:178
2070
  msgid "Swiss Franc (CHF)"
2071
- msgstr "Schweizer Franken (CHF)"
2072
 
2073
  #: src/Tribe/Commerce/Currency.php:172
2074
  msgid "Canadian Dollar (CAD)"
2075
- msgstr "Canadian Dollar (CAD)"
2076
 
2077
  #: src/Tribe/Commerce/Currency.php:166
2078
  msgid "Brazilian Real (BRL)"
2079
- msgstr "Brazilian Real (BRL)"
2080
 
2081
  #: src/Tribe/Commerce/Currency.php:160
2082
  msgid "Australian Dollar (AUD)"
2083
- msgstr "Australian Dollar (AUD)"
2084
 
2085
  #: src/Tribe/Attendees_Table.php:776
2086
  msgid "No matching attendees found."
2087
- msgstr "Keine passenden Teilnehmer gefunden."
2088
 
2089
  #: src/Tribe/Attendees_Table.php:44
2090
  msgid "Number of attendees per page:"
2091
- msgstr "Anzahl der Teilnehmer pro Seite:"
2092
 
2093
  #: src/Tribe/Admin/Notices.php:53
2094
  msgid "Event Tickets does not support ticket sales via third party ecommerce plugins. If you want to sell tickets with %1$s, please purchase a license for %2$s."
2095
- msgstr "Event-Tickets unterstützt keine Ticket-Verkäufe über Drittanbieter-eCommerce-Plugins. Wenn Sie Tickets mit %1$s verkaufen möchten, erwerben Sie bitte eine Lizenz für %2$s."
2096
 
2097
  #: common/src/Tribe/Validate.php:184
2098
  msgid "%s must not be empty"
2099
- msgstr "%s darf nicht leer sein"
2100
 
2101
  #: src/template-tags/tickets.php:429
2102
  msgctxt "ticket shared capacity message (remaining stock)"
@@ -2107,23 +2107,23 @@ msgstr ""
2107
  #: src/admin-views/tpp-metabox-capacity.php:25
2108
  #: src/resources/js/app/blocks.js:42093
2109
  msgid "Leave blank for unlimited"
2110
- msgstr "Leer lassen für unlimitiert"
2111
 
2112
  #: src/admin-views/editor/panel/ticket.php:190
2113
  msgid "Save RSVP"
2114
- msgstr "RSVP speichern"
2115
 
2116
  #: src/admin-views/editor/panel/ticket.php:181
2117
  msgid "Save ticket"
2118
- msgstr "Karte speichern"
2119
 
2120
  #: src/admin-views/editor/panel/ticket.php:99
2121
  msgid "Ticket type name shows on the front end and emailed tickets"
2122
- msgstr "Kartentypname wird im Frontend und bei versendeten Karten angezeigt"
2123
 
2124
  #: src/admin-views/editor/panel/ticket.php:97
2125
  msgid "Ticket Type is a required field."
2126
- msgstr "Kartentyp ist ein benötigtes Feld."
2127
 
2128
  #: src/admin-views/editor/panel/ticket.php:88
2129
  msgid "Type:"
@@ -2131,105 +2131,105 @@ msgstr "Typ:"
2131
 
2132
  #: src/admin-views/editor/panel/ticket.php:83
2133
  msgid "Edit RSVP"
2134
- msgstr "Reservierung bearbeiten"
2135
 
2136
  #: src/admin-views/editor/panel/ticket.php:75
2137
  msgid "Add new RSVP"
2138
- msgstr "Neue Reservierung hinzufügen"
2139
 
2140
  #: src/admin-views/editor/panel/settings.php:80
2141
  msgid "Save settings"
2142
- msgstr "Einstellungen speichern"
2143
 
2144
  #: src/admin-views/editor/panel/settings.php:43
2145
  #: src/modules/blocks/rsvp/header-image/template.js:26
2146
  #: src/modules/blocks/tickets/header-image/template.js:26
2147
  #: src/resources/js/app/blocks.js:39347 src/resources/js/app/blocks.js:40609
2148
  msgid "Select an image from your Media Library to display on emailed tickets. For best results, use a .jpg, .png, or .gif at least 1160px wide."
2149
- msgstr "Bitte ein Bild aus der Medienbibliothek auswählen, das auf per e-Mail versendeten Karten angezeigt werden soll. Um optimale Ergebnisse zu erzielen, eine JPG-, PNG-oder GIF-Grafik verwenden, die mindestens 1160px breit ist."
2150
 
2151
  #: src/admin-views/editor/panel/settings.php:41
2152
  msgid "Ticket header image:"
2153
- msgstr "Kartenkopf Bild:"
2154
 
2155
  #: src/admin-views/editor/panel/list.php:74
2156
  msgid "New RSVP"
2157
- msgstr "Neue Reservierung erstellen"
2158
 
2159
  #: src/admin-views/editor/panel/list.php:72
2160
  msgid "Add a new RSVP"
2161
- msgstr "Neue Reservierung hinzufügen"
2162
 
2163
  #: src/admin-views/editor/panel/list.php:43
2164
  msgid "View Attendees"
2165
- msgstr "Teilnehmer anzeigen"
2166
 
2167
  #: src/admin-views/editor/panel/list.php:15
2168
  msgid "You have unsaved changes to your tickets. Discard those changes?"
2169
- msgstr "Es gibt ungespeicherte Änderungen an den Karten. Diese Änderungen verwerfen?"
2170
 
2171
  #: src/admin-views/editor/list-table.php:40
2172
  msgid "Available"
2173
- msgstr "Verfügbar"
2174
 
2175
  #: src/admin-views/editor/list-table.php:39
2176
  #: src/modules/blocks/tickets/capacity-table/template.js:36
2177
  #: src/resources/js/app/blocks.js:40496
2178
  msgid "Capacity"
2179
- msgstr "Kapazität"
2180
 
2181
  #: src/admin-views/editor/list-row.php:112
2182
  msgid "( Ticket ID: %d )"
2183
- msgstr "( Karten ID: %d )"
2184
 
2185
  #: src/admin-views/editor/list-row.php:98
2186
  msgid "The number of Complete ticket sales does not match the number of attendees. Please check the Attendees list and adjust ticket stock in WooCommerce as needed."
2187
- msgstr "Die Anzahl der vollständigen Kartenverkäufe stimmt nicht mit der Anzahl der Teilnehmer überein. Bitte die Teilnehmerliste überprüfen und den Kartenbestand in WooCommerce nach Bedarf anpassen."
2188
 
2189
  #: src/admin-views/editor/list-row.php:96
2190
  msgid "Available:"
2191
- msgstr "Verfügbar:"
2192
 
2193
  #: src/admin-views/rsvp-metabox-capacity.php:10
2194
  #: src/admin-views/editor/list-row.php:91
2195
  #: src/admin-views/tpp-metabox-capacity.php:16
2196
  msgid "Capacity:"
2197
- msgstr "Kapazität:"
2198
 
2199
  #: src/admin-views/editor/fieldset/history.php:30
2200
  msgid "Ti"
2201
- msgstr "Ti"
2202
 
2203
  #: src/admin-views/editor/fieldset/history.php:27
2204
  msgid "History"
2205
- msgstr "Historie"
2206
 
2207
  #: src/admin-views/editor/fieldset/advanced.php:132
2208
  msgid "If you do not set an end sale date, tickets sales will never end."
2209
- msgstr "Wenn kein Enddatum gesetzt wird, läuft der Kartenverkauf ewig."
2210
 
2211
  #: src/admin-views/editor/fieldset/advanced.php:130
2212
  msgid "If you do not set an end sale date, tickets will be available until the event begins."
2213
- msgstr "Wenn kein Enddatum gesetzt wird, läuft der Kartenverkauf bis die Veranstaltung beginnt."
2214
 
2215
  #: src/admin-views/editor/fieldset/advanced.php:124
2216
  msgid "Ticket end date"
2217
- msgstr "Karten Enddatum"
2218
 
2219
  #: src/admin-views/editor/fieldset/advanced.php:98
2220
  #: src/modules/blocks/ticket/container-content/advanced-options/duration/template.js:29
2221
  #: src/resources/js/app/blocks.js:42246
2222
  msgid "If you do not set a start sale date, tickets will be available immediately."
2223
- msgstr "Wenn kein Start Verkaufsdatum festlegt wird, sind die Karten sofort verfügbar."
2224
 
2225
  #: src/admin-views/editor/fieldset/advanced.php:97
2226
  #: src/admin-views/editor/fieldset/advanced.php:126
2227
  msgid "HH:MM"
2228
- msgstr "HH:MM"
2229
 
2230
  #: src/admin-views/editor/fieldset/advanced.php:95
2231
  msgid "Ticket start date"
2232
- msgstr "Karte Startdatum"
2233
 
2234
  #: src/admin-views/editor/fieldset/advanced.php:84
2235
  #: src/admin-views/editor/fieldset/advanced.php:113
@@ -2237,60 +2237,60 @@ msgstr "Karte Startdatum"
2237
  #: common/src/resources/js/app/elements.js:9791
2238
  #: common/src/resources/js/app/utils.js:7339
2239
  msgid "at"
2240
- msgstr "um"
2241
 
2242
  #: src/admin-views/editor/fieldset/advanced.php:83
2243
  #: src/admin-views/editor/fieldset/advanced.php:112
2244
  msgid "YYYY-MM-DD"
2245
- msgstr "YYYY-MM-DD"
2246
 
2247
  #: src/admin-views/editor/fieldset/advanced.php:65
2248
  msgid "Show description on front end ticket form."
2249
- msgstr "Beschreibung im Frontend Kartenformular anzeigen."
2250
 
2251
  #: src/admin-views/editor/fieldset/advanced.php:47
2252
  msgid "Description:"
2253
- msgstr "Beschreibung:"
2254
 
2255
  #: src/admin-views/editor/fieldset/advanced.php:45
2256
  msgid "Advanced Settings"
2257
- msgstr "Erweiterte Einstellungen"
2258
 
2259
  #: src/admin-views/editor/fieldset/advanced.php:42
2260
  msgid "Advanced"
2261
- msgstr "Erweitert"
2262
 
2263
  #: src/admin-views/editor/fieldset/advanced.php:38
2264
  msgid "Start sale date cannot be greater than End Sale date"
2265
- msgstr "Das Startverkaufsdatum darf nicht grösser als das Endverkaufsdatum sein."
2266
 
2267
  #: src/admin-views/editor/fieldset/advanced.php:37
2268
  msgid "Start sale date cannot be empty."
2269
- msgstr "Startverkaufsdatum darf nicht leer sein."
2270
 
2271
  #: src/admin-views/admin-welcome-message.php:25
2272
  msgid "Event Tickets Features"
2273
- msgstr "Event Tickets Funktionen"
2274
 
2275
  #: src/admin-views/admin-welcome-message.php:24
2276
  msgid "Settings Overview"
2277
- msgstr "Einstellungsübersicht"
2278
 
2279
  #: src/admin-views/admin-welcome-message.php:15
2280
  msgid "If you need a little help, hit us up in %s."
2281
- msgstr "Wenn Du ein wenig Hilfe brauchst melde dich doch unter %s."
2282
 
2283
  #: src/admin-views/admin-welcome-message.php:14
2284
  msgid "Giving you the best experience with our plugin is our top goal. Check out the resources below for a step-by-step introduction to your new features or head straight to the Events section in your admin to create your first ticket."
2285
- msgstr "Die beste Erfahrung mit unserem Plugin ist unser oberstes Ziel. In den unten stehenden Ressourcen findet sich eine Schritt-für-Schritt-Anleitung zu den neuen Funktionen. Direkt zum Abschnitt \"Events\" in Deinem Adminbereich gehen, um die erste Karte zu erstellen."
2286
 
2287
  #: src/admin-views/admin-welcome-message.php:13
2288
  msgid "Welcome to Event Tickets!"
2289
- msgstr "Willkommen bei Event Tickets!"
2290
 
2291
  #: src/admin-views/admin-welcome-message.php:5
2292
  msgid "our support forums"
2293
- msgstr "unsere Supportforen"
2294
 
2295
  #: src/views/blocks/rsvp/details/availability.php:27
2296
  #: src/views/blocks/tickets/extra-available-unlimited.php:17
@@ -2301,145 +2301,145 @@ msgstr "unsere Supportforen"
2301
  #: src/resources/js/app/blocks.js:6169 src/resources/js/app/blocks.js:38007
2302
  #: src/resources/js/app/data.js:6147
2303
  msgid "Unlimited"
2304
- msgstr "Unlimitiert"
2305
 
2306
  #: src/Tribe/Tickets.php:1196 src/modules/data/blocks/ticket/options.js:16
2307
  #: src/resources/js/app/blocks.js:6166 src/resources/js/app/data.js:6144
2308
  msgid "Set capacity for this ticket only"
2309
- msgstr "Kapazität nur für diese Karte festlegen"
2310
 
2311
  #: src/Tribe/Tickets.php:1195
2312
  msgid "Shared capacity with other tickets"
2313
- msgstr "Gemeinsame Kapazität mit anderen Karten"
2314
 
2315
  #: src/Tribe/Tickets.php:459
2316
  #: src/modules/blocks/ticket/container-content/advanced-options/move-delete/template.js:17
2317
  #: src/resources/js/app/blocks.js:42524
2318
  msgid "Move Ticket"
2319
- msgstr "Karte verschieben"
2320
 
2321
  #: src/Tribe/Tickets.php:459
2322
  #: src/modules/blocks/rsvp/advanced-options/move-delete/template.js:17
2323
  #: src/resources/js/app/blocks.js:38475
2324
  msgid "Move RSVP"
2325
- msgstr "Reservierung verschieben"
2326
 
2327
  #: src/Tribe/Tickets.php:384
2328
  msgid "Delete Ticket"
2329
- msgstr "Karte löschen"
2330
 
2331
  #: src/Tribe/Tickets.php:384
2332
  msgid "Delete RSVP"
2333
- msgstr "Reservierung löschen"
2334
 
2335
  #: src/Tribe/Metabox.php:311
2336
  msgid "Failed to Delete the Ticket, Refresh the Page to try again."
2337
- msgstr "Fehler beim Löschen der Karte. Bitte Seite aktualisieren, um es erneut zu versuchen."
2338
 
2339
  #: src/Tribe/Metabox.php:271 src/Tribe/Metabox.php:317
2340
  #: src/Tribe/Metabox.php:355 src/Tribe/Metabox.php:392
2341
  #: src/Tribe/Editor/REST/V1/Endpoints/Single_Ticket.php:66
2342
  #: src/Tribe/Editor/REST/V1/Endpoints/Single_Ticket.php:242
2343
  msgid "Commerce Module invalid"
2344
- msgstr "Commerce-Modul ungültig"
2345
 
2346
  #: src/Tribe/Metabox.php:265
2347
  msgid "Failed to Edit the Ticket, Refresh the Page to try again."
2348
- msgstr "Fehler beim Editieren der Karte. Bitte Seite aktualisieren, um es erneut zu versuchen."
2349
 
2350
  #: src/Tribe/Metabox.php:255 src/Tribe/Metabox.php:307
2351
  msgid "Invalid Ticket"
2352
- msgstr "Ungültige Karte"
2353
 
2354
  #: src/Tribe/Metabox.php:220
2355
  msgid "Failed to Add the Ticket"
2356
- msgstr "Fehler beim Hinzufügen der Karte"
2357
 
2358
  #: src/Tribe/Metabox.php:202
2359
  msgid "Commerce Provider invalid"
2360
- msgstr "Commerce-Anbieter ungültig"
2361
 
2362
  #: src/Tribe/Metabox.php:198
2363
  msgid "Failed to Add the Ticket, Refresh the Page to try again."
2364
- msgstr "Fehler beim Hinzufügen der Karte. Bitte Seite aktualisieren, um es erneut zu versuchen."
2365
 
2366
  #: src/Tribe/Metabox.php:188 src/Tribe/Metabox.php:249
2367
  #: src/Tribe/Metabox.php:301
2368
  msgid "Invalid parent Post"
2369
- msgstr "Ungültiger übergeordneter Beitrag"
2370
 
2371
  #: src/Tribe/Metabox.php:109
2372
  msgid "Invalid Post ID"
2373
- msgstr "Ungültig Beitrags ID"
2374
 
2375
  #: src/Tribe/CSV_Importer/Column_Names.php:43
2376
  #: src/resources/js/app/blocks.js:42119
2377
  msgid "Ticket Capacity"
2378
- msgstr "Kartenkapazität"
2379
 
2380
  #: common/src/admin-views/tribe-options-help.php:20
2381
  msgid "Check out our %s for developers."
2382
- msgstr "Unser %s für Entwickler ansehen."
2383
 
2384
  #: common/src/admin-views/tribe-options-help.php:18
2385
  msgid "Want to dive deeper?"
2386
- msgstr "Einen tieferen Einblick erhalten?"
2387
 
2388
  #: common/src/admin-views/tribe-options-display.php:28
2389
  msgid "The following three fields accept the date format options available to the PHP %1$s function. <a href=\"%2$s\" target=\"_blank\">Learn how to make your own date format here</a>."
2390
- msgstr "Die folgenden drei Felder akzeptieren die Datumsformatoptionen, die für die PHP%1$s-Funktion verfügbar sind. <a href=\"%2$s\" target=\"_blank\"> Hier erfahren Sie, wie Sie Ihr eigenes Datumsformat erstellen können </a>."
2391
 
2392
  #: common/src/Tribe/Validate.php:545
2393
  msgid "%s must be an email address."
2394
- msgstr "%s muss eine E-Mail Adresse sein."
2395
 
2396
  #: common/src/Tribe/Main.php:251
2397
  msgid "Clear Selection."
2398
- msgstr "Auswahl löschen."
2399
 
2400
  #: common/src/Tribe/Main.php:250
2401
  msgid "Select all pages"
2402
- msgstr "Alle Seiten auswählen"
2403
 
2404
  #: common/src/Tribe/Main.php:249
2405
  msgid "All items on this page were selected. "
2406
- msgstr "Alle Elemente dieser Seite wurden ausgewählt"
2407
 
2408
  #: common/src/Tribe/Languages/Locations.php:252
2409
  msgid "Sint Maarten"
2410
- msgstr "Sint Maarten"
2411
 
2412
  #: common/src/Tribe/Languages/Locations.php:245
2413
  msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
2414
- msgstr "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
2415
 
2416
  #: common/src/Tribe/Languages/Locations.php:238
2417
  msgid "Saint Helena"
2418
- msgstr "St. Helena"
2419
 
2420
  #: common/src/Tribe/Languages/Locations.php:237
2421
  msgid "Saint Barth&eacute;lemy"
2422
- msgstr "Saint Barth&eacute;lemy"
2423
 
2424
  #: common/src/Tribe/Languages/Locations.php:113
2425
  msgid "Cura&ccedil;ao"
2426
- msgstr "Cura&ccedil;ao"
2427
 
2428
  #: common/src/Tribe/Languages/Locations.php:103
2429
  msgid "Collectivity of Saint Martin"
2430
- msgstr "Kollektivität von Sankt Martin"
2431
 
2432
  #: common/src/Tribe/Languages/Locations.php:57
2433
  msgid "&Aring;land Islands"
2434
- msgstr "&Aring;land Inseln"
2435
 
2436
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:57
2437
  msgid "A list of links to the term own, archive and parent REST URL"
2438
- msgstr "Eine Liste von Links zu der Begriffs, der Archiv- und übergeordneten REST-URL"
2439
 
2440
  #: src/views/tickets/tpp.php:154 src/views/tickets/rsvp.php:230
2441
  msgid "You must have JavaScript activated to purchase tickets. Please enable JavaScript in your browser."
2442
- msgstr "Sie müssen JavaScript aktiviert haben, um Karten zu kaufen. Bitte aktivieren Sie JavaScript in Ihrem Browser."
2443
 
2444
  #: src/template-tags/tickets.php:237
2445
  msgctxt "list view buy now ticket button"
@@ -2449,13 +2449,13 @@ msgstr "Jetzt kaufen!"
2449
  #: src/template-tags/tickets.php:234
2450
  msgctxt "list view rsvp now ticket button"
2451
  msgid "RSVP Now!"
2452
- msgstr "Jetzt anmelden!"
2453
 
2454
  #: src/template-tags/tickets.php:223
2455
  msgid "%s ticket left"
2456
  msgid_plural "%s tickets left"
2457
- msgstr[0] "%s Karte verfügbar"
2458
- msgstr[1] "%s Karten verfügbar"
2459
 
2460
  #: src/template-tags/tickets.php:221
2461
  msgid "%s spot left"
@@ -2466,11 +2466,11 @@ msgstr[1] "%s Plätze verfügbar"
2466
  #: src/template-tags/tickets.php:204
2467
  msgctxt "list view stock sold out"
2468
  msgid "Sold out"
2469
- msgstr "Ausverkauft"
2470
 
2471
  #: common/src/Tribe/Plugins_API.php:129
2472
  msgid "Take your image widgets to the next level with Image Widget Plus! We've taken the simple functionality of our basic Image Widget and amped it up with several popular feature requests - multiple image support, slideshow, lightbox, and random image - all backed by a full year of premium support."
2473
- msgstr "Heben Sie Ihr Image-Widget auf die nächste Ebene mit Image Widget Plus! Wir haben die einfache Funktionalität unseres grundlegenden Image Widgets übernommen und es mit einigen populären Feature-Anfragen ausgestattet - Unterstützung mehrerer Bilder, Slideshow, Lightbox und zufälliges Anzeigen von Bildern - alles mit einem vollen Jahr Premium-Support!"
2474
 
2475
  #: common/src/Tribe/Plugins_API.php:125
2476
  msgid "Image Widget Plus"
@@ -2478,15 +2478,15 @@ msgstr "Image Widget Plus"
2478
 
2479
  #: common/src/Tribe/Plugins_API.php:94
2480
  msgid "Accept user-submitted events on your site! With Community Events, you can accept public submissions or require account sign-on. Settings give you the options to save as a draft or publish automatically, enable categories and tags, and choose whether users can edit/manage their own events or simply submit. Best of all - setup is easy! Just activate, configure the options, and off you go."
2481
- msgstr "Akzeptieren Sie Veranstaltungen von Nutzern auf Ihrer Seite! Mit Community Events können Sie öffentliche oder anonyme Einsendungen akzeptieren. Die Einstellungen geben Ihnen die Option, Sie als Entwürfe zu speichern oder automatisch zu veröffentlichen. Aktivieren Sie Kategorien und Tags und wählen Sie aus, ob Benutzer ihre eigenen Veranstaltungen bearbeiten oder verwalten können. Das Beste von allen - das Setup ist einfach! Einfach aktivieren, die Optionen konfigurieren und los geht's."
2482
 
2483
  #: common/src/Tribe/Plugins_API.php:60
2484
  msgid "Event Tickets provides a simple way for visitors to RSVP to your events. As a standalone plugin, it enables you to add RSVP functionality to posts or pages. When paired with The Events Calendar, you can add that same RSVP functionality directly to your event listings."
2485
- msgstr "Event-Tickets bieten eine einfache Möglichkeit für Besucher zu RSVP zu Ihren Veranstaltungen. Als eigenständiges Plugin ermöglicht es Ihnen, RSVP-Funktionalität zu Beiträgen oder Seiten hinzuzufügen. Wenn Sie mit dem Veranstaltungskalender gepaart sind, können Sie dieselbe RSVP-Funktionalität direkt zu Ihren Eventlisten hinzufügen."
2486
 
2487
  #: common/src/Tribe/Plugins_API.php:28
2488
  msgid "Create an events calendar and manage it with ease. The Events Calendar plugin provides professional-level quality and features backed by a team you can trust."
2489
- msgstr "Einen Veranstaltungskalender erstellen und mit Leichtigkeit verwalten. Das Events-Kalender-Plugin bietet professionelle Qualität und Funktionen, die von einem Team unterstützt werden, dem Sie vertrauen können."
2490
 
2491
  #: src/views/tickets/tpp.php:112
2492
  msgid "Buy now"
@@ -2494,21 +2494,21 @@ msgstr "Jetzt kaufen"
2494
 
2495
  #: common/src/Tribe/PUE/Notices.php:397
2496
  msgid "You can always check the status of your licenses by logging in to %1$syour account on theeventscalendar.com%2$s."
2497
- msgstr "Sie können den Status Ihrer Lizenzen jederzeit überprüfen, indem Sie sich unter %1$s in Ihr Konto bei theeventscalendar.com %2$s anmelden."
2498
 
2499
  #: common/src/Tribe/PUE/Notices.php:282
2500
  msgid "It looks like you're using %1$s, but the license key is invalid. Please download the latest version %2$sfrom your account%3$s."
2501
  msgid_plural "It looks like you're using %1$s, but the license keys are invalid. Please download the latest versions %2$sfrom your account%3$s."
2502
- msgstr[0] "Es sieht so aus, als würden Sie %1$s verwenden, aber der Lizenzschlüssel ist ungültig. Bitte laden Sie die neueste Version %2$saus Ihrem Konto%3$s."
2503
- msgstr[1] "Es sieht so aus, als würden Sie %1$s verwenden, aber die Lizenzschlüssel ist ungültig. Bitte laden Sie die neueste Version %2$saus Ihrem Konto%3$s."
2504
 
2505
  #: common/src/Tribe/PUE/Checker.php:984
2506
  msgid "Please refresh the page and try your request again."
2507
- msgstr "Bitte aktualisiere die Seite und versuche es erneut."
2508
 
2509
  #: common/src/Tribe/Ajax/Dropdown.php:243
2510
  msgid "The \"%s\" source is invalid and cannot be reached on \"%s\" instance."
2511
- msgstr "Die \"%s\" Quelle ist ungültig und kann nicht auf \"%s\" Instanz erreicht werden."
2512
 
2513
  #: common/src/Tribe/Ajax/Dropdown.php:193
2514
  msgid "Empty data set for this dropdown"
@@ -2524,115 +2524,115 @@ msgstr "Kann keine Begriffe ohne Taxonomie abrufen"
2524
 
2525
  #: common/src/Tribe/PUE/Checker.php:1103
2526
  msgid "There is a new version of %1$s available. %2$s"
2527
- msgstr "Es ist eine neue Version von %1$s verfügbar. %2$s"
2528
 
2529
  #: common/src/Tribe/PUE/Checker.php:1092
2530
  msgid "Update now to version %s."
2531
- msgstr "Jetzt auf Version %s aktualisieren."
2532
 
2533
  #: common/src/Tribe/PUE/Checker.php:497
2534
  msgid "%1$sBuy a license%2$s for the Event Aggregator service to access additional import features."
2535
- msgstr "%1$s Kaufen Sie eine Lizenz%2$s für den Event Aggregator Service, um auf zusätzliche Importfunktionen zuzugreifen."
2536
 
2537
  #: common/src/Tribe/Validate.php:248
2538
  msgid "%s must be a whole number."
2539
- msgstr "%s muss eine Ganzzahl sein."
2540
 
2541
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:52
2542
  msgid "The URL to the term archive page"
2543
- msgstr "Die URL zum Begriff Archivseite"
2544
 
2545
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:48
2546
  msgid "The number of posts associated with the term"
2547
- msgstr "Die Anzahl der mit dem Begriff verbundenen Artikel"
2548
 
2549
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:44
2550
  msgid "The term parent term if any"
2551
- msgstr "Der dem Begriff übergeordneten Begriff, wenn überhaupt"
2552
 
2553
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:40
2554
  msgid "The term description"
2555
- msgstr "Die Begriffsbeschreibung"
2556
 
2557
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:36
2558
  msgid "The taxonomy the term belongs to"
2559
- msgstr "Die Taxonomie, zu der der Begriff gehört"
2560
 
2561
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:32
2562
  msgid "The term slug"
2563
- msgstr "Der Begriffsslug"
2564
 
2565
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:28
2566
  msgid "The term name"
2567
- msgstr "Der Begriffsname"
2568
 
2569
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:24
2570
  msgid "The WordPress term ID"
2571
- msgstr "Die WordPress Begriffs-ID"
2572
 
2573
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:37
2574
  msgid "The link to the image in the specified size on the site"
2575
- msgstr "Der Link auf das Bild in der angegebenen Größe auf der Website"
2576
 
2577
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:32
2578
  msgid "The image mime-type"
2579
- msgstr "Das Bild Mime-Typ"
2580
 
2581
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:28
2582
  msgid "The image height in pixels in the specified size"
2583
- msgstr "Die Bildhöhe in Pixel in der angegebenen Größe"
2584
 
2585
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:24
2586
  msgid "The image width in pixels in the specified size"
2587
- msgstr "Die Bildbreite in Pixel in der angegebenen Größe"
2588
 
2589
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:45
2590
  msgid "The details about each size available for the image"
2591
- msgstr "Die Details zu jeder Größe für das Bild"
2592
 
2593
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:41
2594
  msgid "The image natural height in pixels"
2595
- msgstr "Die Bildhöhe in Pixel"
2596
 
2597
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:37
2598
  msgid "The image natural width in pixels"
2599
- msgstr "Die Bildbreite in Pixel"
2600
 
2601
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:33
2602
  msgid "The image file extension"
2603
- msgstr "Die Bild Dateierweiterung"
2604
 
2605
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:29
2606
  msgid "The image WordPress post ID"
2607
- msgstr "Die Bild WordPress Post ID"
2608
 
2609
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:25
2610
  msgid "The URL to the full size version of the image"
2611
- msgstr "Die URL zum Bildes mit der höchsten Auflösung"
2612
 
2613
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:44
2614
  msgid "The date seconds"
2615
- msgstr "Die Datumsekunden"
2616
 
2617
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:40
2618
  msgid "The date minutes"
2619
- msgstr "Die Datumsminuten"
2620
 
2621
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:36
2622
  msgid "The date hour"
2623
- msgstr "Die Datumstunden"
2624
 
2625
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:32
2626
  msgid "The date day"
2627
- msgstr "Der Datumstag"
2628
 
2629
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:28
2630
  msgid "The date month"
2631
- msgstr "Der Datumsmonat"
2632
 
2633
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:24
2634
  msgid "The date year"
2635
- msgstr "Das Datumsjahr"
2636
 
2637
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:34
2638
  msgid "A sorted array of all the numeric values for the cost"
@@ -2640,11 +2640,11 @@ msgstr "Ein sortiertes Array aller numerischen Werte für die Kosten"
2640
 
2641
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:28
2642
  msgid "The position of the currency symbol in the cost string"
2643
- msgstr "Die Position des Währungssymbols im Eintrittspreis String"
2644
 
2645
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:24
2646
  msgid "The cost currency symbol"
2647
- msgstr "Das Eintrittspreis Währungssymbol"
2648
 
2649
  #: src/template-tags/tickets.php:432
2650
  msgctxt "ticket stock message (remaining stock)"
@@ -2653,16 +2653,16 @@ msgstr ""
2653
 
2654
  #: src/template-tags/tickets.php:427
2655
  msgid "%s %d"
2656
- msgstr "%s %d"
2657
 
2658
  #: src/template-tags/tickets.php:421
2659
  msgctxt "separate going and remain RSVPs"
2660
  msgid "RSVP'd Going"
2661
- msgstr "Zusagen"
2662
 
2663
  #: src/admin-views/tribe-options-tickets.php:107
2664
  msgid "Location of Tickets form"
2665
- msgstr "Standort des Kartenformulars"
2666
 
2667
  #: src/admin-views/tribe-options-tickets.php:99
2668
  msgid "Location of RSVP form"
@@ -2687,53 +2687,53 @@ msgstr "Unter den Veranstaltungsdetails (Standard)"
2687
  #: src/admin-views/attendees.php:40
2688
  msgctxt "attendee screen summary"
2689
  msgid "%s Details"
2690
- msgstr "%s Details"
2691
 
2692
  #: src/Tribe/Attendees.php:112
2693
  msgctxt "attendee event actions"
2694
  msgid "View %s"
2695
- msgstr "%s ansehen"
2696
 
2697
  #: src/Tribe/Attendees.php:111
2698
  msgctxt "attendee event actions"
2699
  msgid "Edit %s"
2700
- msgstr "%s bearbeiten"
2701
 
2702
  #: src/Tribe/Attendees_Table.php:426 src/Tribe/Attendees_Table.php:446
2703
  msgid "Undo"
2704
- msgstr "Rückgängig"
2705
 
2706
  #: src/Tribe/Attendees_Table.php:418 src/Tribe/Attendees_Table.php:427
2707
  #: src/Tribe/Attendees_Table.php:438 src/Tribe/Attendees_Table.php:447
2708
  msgid "Check In"
2709
- msgstr "Einchecken"
2710
 
2711
  #: src/Tribe/Attendees_Table.php:72 src/Tribe/Attendees_Table.php:76
2712
  msgctxt "attendee table"
2713
  msgid "Check in"
2714
- msgstr "Einchecken"
2715
 
2716
  #: src/Tribe/Attendees_Table.php:70
2717
  msgctxt "attendee table"
2718
  msgid "Security Code"
2719
- msgstr "Sicherheitscode"
2720
 
2721
  #: src/Tribe/Attendees_Table.php:69
2722
  msgctxt "attendee table"
2723
  msgid "Primary Information"
2724
- msgstr "Primäre Informationen"
2725
 
2726
  #: src/Tribe/Admin/Views/Ticketed.php:59
2727
  msgid "Unticketed"
2728
- msgstr "Kein Ticket erstellt"
2729
 
2730
  #: src/Tribe/Admin/Views/Ticketed.php:47
2731
  msgid "Ticketed"
2732
- msgstr "Ticket erstellt"
2733
 
2734
  #: common/src/Tribe/Settings.php:281 common/src/Tribe/Settings.php:282
2735
  msgid "Events Help"
2736
- msgstr "Veranstaltungshilfe"
2737
 
2738
  #: common/src/Tribe/PUE/Checker.php:1685
2739
  msgid "Expired license. Consult your network administrator."
@@ -2741,7 +2741,7 @@ msgstr "Lizenz abgelaufen. Bitte informieren Sie den Administrator."
2741
 
2742
  #: common/src/Tribe/PUE/Checker.php:1684
2743
  msgid "No license entered. Consult your network administrator."
2744
- msgstr "Keine Lizenz eingegeben. Bitte den Netzwerk Administrator kontaktieren."
2745
 
2746
  #: common/src/Tribe/PUE/Checker.php:1683
2747
  msgid "A valid license has been entered by your network administrator."
@@ -2749,35 +2749,35 @@ msgstr "Eine gültige Lizenz wurde von Ihrem Netzwerk Administrator eingegeben,"
2749
 
2750
  #: common/src/Tribe/PUE/Checker.php:550
2751
  msgid "Site License Key"
2752
- msgstr "Seiten Lizenzschlüssel"
2753
 
2754
  #: common/src/Tribe/PUE/Checker.php:539
2755
  msgid "Check this box if you wish to override the network license key with your own"
2756
- msgstr "Option aktivieren, um den Netzwerk Lizenzschlüssel mit dem eigenen zu überschreiben"
2757
 
2758
  #: common/src/Tribe/PUE/Checker.php:538
2759
  msgid "Override network license key"
2760
- msgstr "Überschreibe Netzwerk Lizenzschlüssel"
2761
 
2762
  #: common/src/Tribe/PUE/Checker.php:529 common/src/Tribe/PUE/Checker.php:563
2763
  msgid "License Key Status:"
2764
- msgstr "Status Lizenzschlüssel:"
2765
 
2766
  #: common/src/Tribe/Main.php:274
2767
  msgid "Done"
2768
- msgstr "Abgeschlossen"
2769
 
2770
  #: common/src/Tribe/Main.php:273 common/src/Tribe/Main.php:275
2771
  msgid "Today"
2772
- msgstr "Heute"
2773
 
2774
  #: common/src/Tribe/Main.php:272
2775
  msgid "Prev"
2776
- msgstr "Zurück"
2777
 
2778
  #: common/src/Tribe/Customizer.php:643
2779
  msgid "Use the following panel of your customizer to change the styling of your Calendar and Event pages."
2780
- msgstr "Verwenden Sie diesen Bereich, um Anpassungen am Aussehen des Kalenders und der Veranstaltungsseiten vorzunehmen."
2781
 
2782
  #: common/src/admin-views/app-shop.php:31
2783
  msgid "Installed"
@@ -2789,11 +2789,11 @@ msgstr "Installierte Add-Ons"
2789
 
2790
  #: common/src/Tribe/Extension.php:368
2791
  msgid "Unable to run Tribe Extensions. Your website host is running PHP 5.2 or older, and has likely disabled or misconfigured debug_backtrace(). You, or your website host, will need to upgrade PHP or properly configure debug_backtrace() for Tribe Extensions to work."
2792
- msgstr "Die Tribe Extensions können nicht ausgeführt werden. Ihre Website nutzt PHP 5.2 oder älter und hat vermutlich debug_backtrace() nicht aktiviert bzw. falsch konfiguriert. Bitte upgraden Sie (oder Ihr Website Host) auf eine neuere PHP Version oder konfigurieren Sie debug_backtrace() korrekt, damit die Tribe Extensions ausgeführt werden können."
2793
 
2794
  #: common/src/Tribe/Extension.php:144
2795
  msgid "Tutorial"
2796
- msgstr "Tutorial"
2797
 
2798
  #: common/src/Tribe/Admin/Notice/Plugin_Download.php:92
2799
  #: common/src/Tribe/Admin/Notice/Php_Version.php:60
@@ -2810,39 +2810,39 @@ msgstr ","
2810
  #: src/views/tickets/rsvp.php:171
2811
  msgctxt "order status label"
2812
  msgid "RSVP"
2813
- msgstr "Reservierung"
2814
 
2815
  #: src/views/tickets/rsvp.php:31
2816
  msgctxt "form heading"
2817
  msgid "RSVP"
2818
- msgstr "Reservierung"
2819
 
2820
  #: src/views/tickets/orders-rsvp.php:68
2821
  msgctxt "order status label"
2822
  msgid "RSVP: "
2823
- msgstr "Reservierung: "
2824
 
2825
  #: src/views/tickets/email-tickets-moved.php:103
2826
  msgid "We wanted to let you know that a ticket you purchased for %2$s has been transferred to %3$s%4$s. Your ticket remains valid and no further action is needed on your part:"
2827
  msgid_plural "We wanted to let you know that the following %1$s tickets for %2$s have been transferred to %3$s%4$s. Your existing tickets remain valid and no further action is needed on your part:"
2828
- msgstr[0] "Wir wollten Dir mitteilen, dass eine Karte, die Du für %2$s gekauft hast auf %3$s%4$s übertragen wurde. Deine existierende Karte bleibt gültig und es sind keine weiteren Maßnahmen von Deiner Seite erforderlich."
2829
- msgstr[1] "Wir wollten Ihnen mitteilen, dass die %1$s Karten, die Du für %2$s gekauft hast auf %3$s%4$s übertragen wurden. Deine existierenden Karten bleiben gültig und es sind keine weiteren Maßnahmen von Deiner Seite erforderlich."
2830
 
2831
  #: src/views/tickets/email-ticket-type-moved.php:115
2832
  #: src/views/tickets/email-tickets-moved.php:117
2833
  msgid " (taking place on %s)"
2834
- msgstr "(Erfolgt auf %s) "
2835
 
2836
  #: src/views/tickets/email-ticket-type-moved.php:101
2837
  msgid "We wanted to let you know that your ticket for %2$s has been transferred to %3$s%4$s. Your ticket remains valid and no further action is needed on your part."
2838
  msgid_plural "We wanted to let you know that your %1$s tickets for %2$s have been transferred to %3$s%4$s. Your existing tickets remain valid and no further action is needed on your part."
2839
- msgstr[0] "Wir wollten Dir mitteilen, dass Deine Karte für %2$s auf %3$s%4$s übertragen wurde. Ihre existierende Karte bleibt gültig und es sind keine weiteren Maßnahmen von Ihrer Deiner erforderlich."
2840
- msgstr[1] "Wir wollten Dir mitteilen, dass Deine %1$s Karten für %2$s auf %3$s%4$s übertragen wurden. Deine existierenden Karten bleiben gültig und es sind keine weiteren Maßnahmen von Deiner Seite erforderlich."
2841
 
2842
  #: src/views/tickets/email-ticket-type-moved.php:97
2843
  #: src/views/tickets/email-tickets-moved.php:99
2844
  msgid "Important changes to your tickets"
2845
- msgstr "Wichtige Änderungen an Ihren Karten"
2846
 
2847
  #: src/admin-views/ticket-type-history.php:15
2848
  msgid "Click to hide history"
@@ -2854,16 +2854,16 @@ msgstr "Klicken um den Verlauf anzuzeigen"
2854
 
2855
  #: src/admin-views/ticket-type-history.php:10
2856
  msgid "Ticket history:"
2857
- msgstr "Kartenverlauf"
2858
 
2859
  #: src/admin-views/move-tickets.php:89
2860
  msgctxt "move tickets dialog"
2861
  msgid "Next &raquo;"
2862
- msgstr "Nächste &raquo;"
2863
 
2864
  #: src/admin-views/move-tickets.php:88 src/resources/js/app/blocks.js:39731
2865
  msgid "Finish!"
2866
- msgstr "Erledigt!"
2867
 
2868
  #: src/admin-views/move-tickets.php:87
2869
  msgctxt "move tickets dialog"
@@ -2873,45 +2873,45 @@ msgstr "&laquo; Zurück"
2873
  #: src/admin-views/move-tickets.php:80
2874
  msgctxt "move tickets dialog"
2875
  msgid "Please be patient while your request is processed&hellip;"
2876
- msgstr "Wir bitten um Geduld, während der Antrag verarbeitet wird&hellip;"
2877
 
2878
  #: src/admin-views/move-tickets.php:72
2879
  msgid "Select the ticket type that the tickets should be transferred to:"
2880
- msgstr "Wähle den Kartentyp zu welchem die Karte transferiert werden soll:"
2881
 
2882
  #: src/admin-views/move-tickets.php:64 src/resources/js/app/blocks.js:39716
2883
  msgid "Select the post you wish to move the ticket type to:"
2884
- msgstr "Wählen Sie den Beitrag aus, zu dem Sie den Kartentyp verschieben möchten:"
2885
 
2886
  #: src/admin-views/move-tickets.php:59
2887
  msgid "You can also enter keywords to help find the target event by title or description:"
2888
- msgstr "Sie können auch Schlüsselbegriffe (Titel oder Beschreibung) eingeben, um die gewünschte Veranstaltung zu finden:"
2889
 
2890
  #: src/admin-views/move-tickets.php:54 src/resources/js/app/blocks.js:39694
2891
  msgid "You can optionally focus on a specific post type:"
2892
- msgstr "Sie können optional auf einen bestimmten Beitragstyp fokussieren:"
2893
 
2894
  #: src/admin-views/move-tickets.php:47
2895
  msgid "Move tickets to a different event"
2896
- msgstr "Karten zu einer anderen Veranstaltung verschieben"
2897
 
2898
  #: src/admin-views/move-tickets.php:43
2899
  msgid "Move to a different ticket type within the same event"
2900
- msgstr "Zu einem anderen Kartentyp innerhalb der gleichen Veranstaltung verschieben"
2901
 
2902
  #: src/admin-views/move-tickets.php:30
2903
  msgid "You have selected %1$s ticket for %2$s. You can move it to a different ticket type within the same event, or to a different event."
2904
  msgid_plural "You have selected %1$s tickets for %2$s. You can move them to a different ticket type within the same event, or to a different event."
2905
- msgstr[0] "Sie haben %1$s Karte für %2$s ausgewählt. Sie können sie zu einem anderen Kartentyp innerhalb derselben Veranstaltung oder zu einer anderen Veranstaltung verschieben."
2906
- msgstr[1] "Sie haben %1$s Karten für %2$s ausgewählt. Sie können sie zu einem anderen Kartentyp innerhalb derselben Veranstaltung oder zu einer anderen Veranstaltung verschieben."
2907
 
2908
  #: src/admin-views/move-tickets.php:25
2909
  msgid "You have specified a range of attendees that are managed by different providers. It is not currently possible to move these together."
2910
- msgstr "Sie haben einen Teilnehmerkreis spezifiziert, der von verschiedenen Anbietern verwaltet wird. Diese können nicht zusammen verschoben werden."
2911
 
2912
  #: src/admin-views/move-tickets.php:19
2913
  msgid "No attendees specified! Please try again."
2914
- msgstr "Keine Teilnehmer ausgewählt! Bitte versuche erneut"
2915
 
2916
  #: src/admin-views/list.php:67
2917
  msgid "Move"
@@ -2919,31 +2919,31 @@ msgstr "Verschieben"
2919
 
2920
  #: src/admin-views/admin-welcome-message.php:38
2921
  msgid "Product Releases, Tutorials and Community Activity"
2922
- msgstr "Produkt Releases, Tutorials und Community Aktivitäten"
2923
 
2924
  #: src/admin-views/admin-welcome-message.php:37
2925
  msgid "News For Events Users"
2926
- msgstr "Neuigkeiten für Veranstaltungsnutzer"
2927
 
2928
  #: src/admin-views/admin-welcome-message.php:35
2929
  msgid "Get the Skinny on the Latest Updates"
2930
- msgstr "Infos über die aktuellsten Updates erhalten"
2931
 
2932
  #: src/admin-views/admin-welcome-message.php:34
2933
  msgid "Release Notes"
2934
- msgstr "Release Notes"
2935
 
2936
  #: src/admin-views/admin-welcome-message.php:28
2937
  msgid "FAQs, Documentation, Tutorials and Forums"
2938
- msgstr "FAQs, Dokumentation, Tutorials und Foren"
2939
 
2940
  #: src/admin-views/admin-welcome-message.php:27
2941
  msgid "Support Resources"
2942
- msgstr "Supportunterlagen"
2943
 
2944
  #: src/admin-views/admin-welcome-message.php:32
2945
  msgid "Addons for creating tickets, custom registration, events and more."
2946
- msgstr "Add-Ons für Community, Karten, Filter, Facebook und mehr."
2947
 
2948
  #: src/admin-views/admin-welcome-message.php:31
2949
  msgid "Looking for More Features?"
@@ -2955,11 +2955,11 @@ msgstr "Schnellstart"
2955
 
2956
  #: src/admin-views/admin-welcome-message.php:64
2957
  msgid "Sign Up"
2958
- msgstr "Registrieren"
2959
 
2960
  #: src/admin-views/admin-welcome-message.php:59
2961
  msgid "News and Announcements"
2962
- msgstr "News und Ankündigungen"
2963
 
2964
  #: src/admin-views/admin-welcome-message.php:55
2965
  msgid "Developer News"
@@ -2967,31 +2967,31 @@ msgstr "Entwicklernachrichten"
2967
 
2968
  #: src/admin-views/admin-welcome-message.php:51
2969
  msgid "Stay in touch with Event Tickets. We send out periodic updates, key developer notices, and even the occasional discount."
2970
- msgstr "Bleiben Sie in Kontakt mit dem Events Tickets Plus Team. Wir senden regelmäßig Updates, wichtige Entwickler Hinweise, und sogar gelegentlich Rabatte."
2971
 
2972
  #: src/admin-views/admin-welcome-message.php:50
2973
  msgid "Newsletter Signup"
2974
- msgstr "Newsletter Anmeldung"
2975
 
2976
  #: src/admin-views/admin-welcome-message.php:47
2977
  msgid "Rate It"
2978
- msgstr "Bewerten"
2979
 
2980
  #: src/admin-views/admin-welcome-message.php:46
2981
  msgid "Rate us today!"
2982
- msgstr "Bewerten Sie uns jetzt!"
2983
 
2984
  #: src/admin-views/admin-welcome-message.php:45
2985
  msgid "Your ratings help us bring Event Tickets to more users. More happy users mean more support, more features, and more of everything you know and love about Event Tickets. We couldn't do this without your support."
2986
- msgstr "Ihre Bewertungen helfen uns, Event-Tickets für mehr Nutzer zugänglich zu machen. Mehr glückliche Nutzer bedeuten mehr Unterstützung, mehr Funktionen und mehr von allem, was Sie über Event-Tickets wissen und lieben. Wir könnten das nicht ohne Ihre Unterstützung tun."
2987
 
2988
  #: src/admin-views/admin-welcome-message.php:44
2989
  msgid "We Need Your Help"
2990
- msgstr "Wir brauchen Ihre Hilfe"
2991
 
2992
  #: src/admin-views/admin-welcome-message.php:10
2993
  msgid "You are running Version %s and deserve a hug :-)"
2994
- msgstr "Sie nutzen Version %s - herzlichen Dank! :-)"
2995
 
2996
  #: src/Tribe/Attendees.php:502
2997
  msgctxt "attendee export"
@@ -3001,35 +3001,35 @@ msgstr "Kunden E-Mail Adresse"
3001
  #: src/Tribe/Attendees.php:501
3002
  msgctxt "attendee export"
3003
  msgid "Customer Name"
3004
- msgstr "Kunden Name"
3005
 
3006
  #: src/Tribe/Attendees.php:500
3007
  msgctxt "attendee export"
3008
  msgid "Ticket #"
3009
- msgstr "Ticket #"
3010
 
3011
  #: src/Tribe/Attendees.php:499
3012
  msgctxt "attendee export"
3013
  msgid "Order Status"
3014
- msgstr "Bestellstatus"
3015
 
3016
  #: src/Tribe/Attendees.php:498
3017
  msgctxt "attendee export"
3018
  msgid "Order ID"
3019
- msgstr "Bestell ID"
3020
 
3021
  #: src/Tribe/Attendees.php:317
3022
  msgid "You must first select one or more tickets before you can move them!"
3023
- msgstr "Sie müssen zuerst ein oder mehrere Karten auswählen, bevor Sie sie verschieben können!"
3024
 
3025
  #: src/Tribe/Attendees.php:82
3026
  msgid "Post type"
3027
- msgstr "Beitragstyp"
3028
 
3029
  #: src/Tribe/Attendees.php:116
3030
  msgctxt "attendee event actions"
3031
  msgid "View"
3032
- msgstr "Anzeigen"
3033
 
3034
  #: src/Tribe/Attendees.php:115
3035
  msgctxt "attendee event actions"
@@ -3038,54 +3038,54 @@ msgstr "Bearbeiten"
3038
 
3039
  #: src/Tribe/RSVP.php:326
3040
  msgid "RSVP Ticket"
3041
- msgstr "reservierte Karte"
3042
 
3043
  #: src/Tribe/RSVP.php:325
3044
  msgid "RSVP Tickets"
3045
- msgstr "reservierte Karten"
3046
 
3047
  #: src/Tribe/RSVP.php:158
3048
  msgctxt "ticket provider"
3049
  msgid "RSVP"
3050
- msgstr "Reservierung"
3051
 
3052
  #: src/Tribe/RSVP/Attendance_Totals.php:39
3053
  msgctxt "attendee summary"
3054
  msgid "Not Going:"
3055
- msgstr "Nehme nicht teil:"
3056
 
3057
  #: src/Tribe/RSVP/Attendance_Totals.php:38
3058
  msgctxt "attendee summary"
3059
  msgid "Going:"
3060
- msgstr "Nehme teil:"
3061
 
3062
  #: src/Tribe/RSVP/Attendance_Totals.php:37
3063
  msgctxt "attendee summary"
3064
  msgid "Total RSVPs:"
3065
- msgstr "Anmeldungen gesamt:"
3066
 
3067
  #: src/Tribe/Assets.php:111
3068
  msgid "Are you sure you want to delete this ticket? This cannot be undone."
3069
- msgstr "Möchtest du diese Karte wirklich löschen? Dies kann nicht rückgängig gemacht werden."
3070
 
3071
  #: src/Tribe/Main.php:788
3072
  msgctxt "button text"
3073
  msgid "RSVP"
3074
- msgstr "RSVP"
3075
 
3076
  #: src/Tribe/Main.php:653
3077
  msgid "Welcome to Event Tickets"
3078
- msgstr "Willkommen bei Event Tickets"
3079
 
3080
  #: src/Tribe/CSV_Importer/Rows.php:49
3081
  msgctxt "post type label"
3082
  msgid "RSVPs"
3083
- msgstr "RSVPs"
3084
 
3085
  #: src/Tribe/CSV_Importer/Rows.php:35
3086
  msgctxt "import type"
3087
  msgid "RSVPs"
3088
- msgstr "RSVPs"
3089
 
3090
  #: src/Tribe/Attendees_Table.php:327
3091
  msgctxt "row action"
@@ -3100,22 +3100,22 @@ msgstr "Verschieben"
3100
  #: src/Tribe/Attendees_Table.php:305
3101
  msgctxt "row action"
3102
  msgid "Check In"
3103
- msgstr "Einchecken"
3104
 
3105
  #: src/Tribe/Attendees_Table.php:306
3106
  msgctxt "row action"
3107
  msgid "Undo Check In"
3108
- msgstr "Einchecken rückgängig machen"
3109
 
3110
  #: src/Tribe/Attendees_Table.php:71
3111
  msgctxt "attendee table"
3112
  msgid "Status"
3113
- msgstr "Status"
3114
 
3115
  #: src/Tribe/Attendees_Table.php:68
3116
  msgctxt "attendee table"
3117
  msgid "Ticket"
3118
- msgstr "Karte"
3119
 
3120
  #: src/Tribe/Attendance_Totals.php:30
3121
  msgctxt "attendee summary"
@@ -3129,7 +3129,7 @@ msgstr "Eingecheckt:"
3129
 
3130
  #: src/Tribe/Admin/Ticket_History.php:65
3131
  msgid "No history available"
3132
- msgstr "Kein Verlauf vorhanden"
3133
 
3134
  #: src/Tribe/Admin/Ticket_History.php:35
3135
  msgctxt "attendee table"
@@ -3139,26 +3139,26 @@ msgstr "Verlauf verbergen"
3139
  #: src/Tribe/Admin/Ticket_History.php:34
3140
  msgctxt "attendee table"
3141
  msgid "View history"
3142
- msgstr "Verlauf anzeigen"
3143
 
3144
  #: src/Tribe/Admin/Move_Tickets.php:760
3145
  msgid "This ticket was moved to %1$s from %2$s"
3146
- msgstr "Diese Karte wurde von %2$s nach %1$s verschoben"
3147
 
3148
  #: src/Tribe/Admin/Move_Tickets.php:580
3149
  msgid "This ticket was moved to %1$s %2$s from %3$s %4$s"
3150
- msgstr "Diese Karte wurde von %3$s %4$s nach %1$s %2$s verschoben"
3151
 
3152
  #: src/Tribe/Admin/Move_Tickets.php:462
3153
  msgid "%1$d attendee for %2$s was successfully %3$s. Please adjust capacity and stock manually as needed. This attendee will receive an email notifying them of the change."
3154
  msgid_plural "%1$d attendees for %2$s were successfully %3$s. Please adjust capacity and stock manually as needed. These attendees will receive an email notifying them of the change."
3155
- msgstr[0] "%1$d Teilnehmer für %2$s wurde erfolgreich %3$s. Bitte den Lagerbestand nach Bedarf manuell anpassen. Dieser Teilnehmer erhält eine E-Mail, in der er über die Änderung informiert wird."
3156
- msgstr[1] "%1$d Teilnehmer für %2$s wurde erfolgreich %3$s. Bitte den Lagerbestand nach Bedarf manuell anpassen. Dieser Teilnehmer erhält eine E-Mail, in der er über die Änderung informiert wird."
3157
 
3158
  #: src/Tribe/Admin/Move_Tickets.php:455
3159
  msgctxt "moved tickets success message fragment"
3160
  msgid "moved to %s and"
3161
- msgstr "nach %s verschoben und"
3162
 
3163
  #: src/Tribe/Admin/Move_Tickets.php:448
3164
  msgctxt "moved tickets success message fragment"
@@ -3167,36 +3167,36 @@ msgstr "%s zugewiesen"
3167
 
3168
  #: src/Tribe/Admin/Move_Tickets.php:440
3169
  msgid "Tickets could not be moved: there was an unexpected failure during reassignment."
3170
- msgstr "Karten konnten nicht verschoben werden: bei der Neuzuordnung trat ein unerwarteter Fehler auf."
3171
 
3172
  #: src/Tribe/Admin/Move_Tickets.php:432
3173
  msgid "Tickets could not be moved: valid ticket IDs or a destination ID were not provided."
3174
- msgstr "Karten konnten nicht verschoben werden: Gültige Karten-IDs oder eine Ziel-ID wurden nicht bereitgestellt."
3175
 
3176
  #: src/Tribe/Admin/Move_Tickets.php:224
3177
  msgctxt "attendee screen bulk actions"
3178
  msgid "Move"
3179
- msgstr "Verschieben"
3180
 
3181
  #: src/Tribe/Admin/Move_Tickets.php:116
3182
  msgid "Loading, please wait&hellip;"
3183
- msgstr "Lade, bitte warten&hellip;"
3184
 
3185
  #: src/Tribe/Admin/Move_Tickets.php:115
3186
  msgid "No ticket types were found for this post."
3187
- msgstr "Es wurden keine Karten für diesen Artikel gefunden."
3188
 
3189
  #: src/Tribe/Admin/Move_Tickets.php:114
3190
  msgid "No results found - you may need to widen your search criteria."
3191
- msgstr "Keine Ergebnisse gefunden - Sie müssen eventuell Ihre Suchkriterien erweitern."
3192
 
3193
  #: src/Tribe/Admin/Move_Tickets.php:113
3194
  msgid "Unable to update the post list. Please refresh the page and try again."
3195
- msgstr "Die Beitragsliste kann nicht aktualisiert werden. Aktualisieren Sie die Seite und versuchen Sie es erneut."
3196
 
3197
  #: src/Tribe/Admin/Move_Tickets.php:112
3198
  msgid "Woops! We could not complete the requested operation due to an unforeseen problem."
3199
- msgstr "Hoppla! Wir konnten die angeforderte Operation aufgrund eines unvorhergesehenen Problems nicht abschließen."
3200
 
3201
  #: src/Tribe/Admin/Move_Tickets.php:77
3202
  msgid "Move Attendees"
@@ -3209,19 +3209,19 @@ msgstr "Änderungen an Ihren Karten ab %s"
3209
 
3210
  #: src/Tribe/Admin/Move_Ticket_Types.php:204
3211
  msgid "Ticket type was moved to <a href=\"%1$s\" target=\"_blank\">%2$s</a> from <a href=\"%3$s\" target=\"_blank\">%4$s</a>"
3212
- msgstr "Der Kartentyp wurde aus <a href=\"%1$s\" target=\"_blank\">%2$s</a> von <a href=\"%3$s\" target=\"_blank\">%4$s verschoben </a>"
3213
 
3214
  #: src/Tribe/Admin/Move_Ticket_Types.php:114
3215
  msgid "Ticket type %1$s for %2$s was successfully moved to %3$s. All previously sold tickets of this type have been transferred to %3$s. Please adjust capacity and stock manually as needed. %1$s ticket holders have received an email notifying them of the change. You may now close this window!"
3216
- msgstr "Kartentyp %1$s für %2$s wurde erfolgreich nach %3$s verschoben. Alle bisher verkauften Karten dieses Typs wurden nach %3$s übertragen. Bitte passe das Lager manuell nach Bedarf an. %1$s Karteninhaber haben eine E-Mail erhalten, die sie über die Änderung informiert. Das Fenster kann jetzt geschlossen werden!"
3217
 
3218
  #: src/Tribe/Admin/Move_Ticket_Types.php:108
3219
  msgid "Ticket type could not be moved: unexpected failure during reassignment."
3220
- msgstr "Kartentyp konnte nicht verschoben werden: Unerwarteter Fehler bei der Neuzuweisung."
3221
 
3222
  #: src/Tribe/Admin/Move_Ticket_Types.php:102
3223
  msgid "Ticket type could not be moved: the ticket type or destination post was invalid."
3224
- msgstr "Kartentyp konnte nicht verschoben werden: Der Kartentyp oder Zielbeitrag war ungültig."
3225
 
3226
  #: src/Tribe/Admin/Move_Ticket_Types.php:72
3227
  #: src/Tribe/Admin/Move_Tickets.php:249
@@ -3231,23 +3231,23 @@ msgstr "Alle unterstützten Typen"
3231
  #: src/Tribe/Admin/Move_Ticket_Types.php:28
3232
  #: src/resources/js/app/blocks.js:39759
3233
  msgid "Move Ticket Types"
3234
- msgstr "Kartentypen verschieben"
3235
 
3236
  #: common/src/admin-views/tribe-options-licenses.php:30
3237
  msgid "Not seeing an update but expecting one? In WordPress, go to %1$sDashboard > Updates%2$s and click \"Check Again\"."
3238
- msgstr "Sie erwarten ein Update, aber es erscheint keines? Gehen Sie in WordPress zu %1$sDashboard > Update%2$s und klicken Sie auf \"Erneut prüfen\"."
3239
 
3240
  #: common/src/admin-views/tribe-options-licenses.php:25
3241
  msgid "If you're seeing a red message telling you that your key isn't valid or is out of installs, visit %1$s to manage your installs or renew / upgrade your license."
3242
- msgstr "Wenn Sie eine rote Meldung erscheint, dass der Schlüssel nicht gültig ist oder nicht installiert ist, bitte %1$s besuchen, um die Installationen zu verwalten oder die Lizenz zu aktualisieren."
3243
 
3244
  #: common/src/admin-views/tribe-options-licenses.php:22
3245
  msgid "Each paid add-on has its own unique license key. Simply paste the key into its appropriate field below, and give it a moment to validate. You know you're set when a green expiration date appears alongside a \"valid\" message."
3246
- msgstr "Jedes bezahlte Add-On hat seinen eigenen Lizenzschlüssel. Bitte einfach den Schlüssel in das entsprechende Feld unten einfügen und einen Moment warten, um ihn prüfen zu lassen, erscheint ein grünes Ablaufdatum neben einer gültigen Meldung."
3247
 
3248
  #: common/src/admin-views/tribe-options-licenses.php:15
3249
  msgid "The license key you received when completing your purchase from %1$s will grant you access to support and updates until it expires. You do not need to enter the key below for the plugins to work, but you will need to enter it to get automatic updates. %3$sFind your license keys at %2$s%4$s."
3250
- msgstr "Der Lizenzschlüssel, den Sie nach Abschluss des Kaufs von %1$s erhalten haben, gewährt Ihnen Zugriff auf Support und Updates, bis er abläuft. Sie müssen den Schlüssel unten nicht eingeben, damit die Plugins funktionieren, aber Sie müssen ihn eingeben, um automatische Updates zu erhalten. %3$sSie finden Ihre Lizenzschlüssel unter %2$s%4$s."
3251
 
3252
  #: common/src/admin-views/tribe-options-licenses.php:11
3253
  #: common/src/admin-views/tribe-options-licenses.php:16
@@ -3260,11 +3260,11 @@ msgstr "Veranstaltungsprotokoll"
3260
 
3261
  #: common/src/admin-views/tribe-options-help.php:42
3262
  msgid "The details of your calendar plugin and settings is often needed for you or our staff to help troubleshoot an issue. Please opt-in below to automatically share your system information with our support team. This will allow us to assist you faster if you post in our help desk."
3263
- msgstr "Die Details Ihres Kalender-Plugins und die Einstellungen werden oft für Sie oder unsere Mitarbeiter benötigt, um ein Problem zu beheben. Bitte melden Sie sich an, um Ihre Systeminformationen automatisch mit unserem Support-Team zu teilen. Dieses erlaubt uns, Sie schneller zu unterstützen, wenn Sie in unseren Foren posten."
3264
 
3265
  #: common/src/admin-views/app-shop.php:26
3266
  msgid "Buy This Add-On"
3267
- msgstr "Dieses Add-On kaufen"
3268
 
3269
  #: common/src/admin-views/app-shop.php:5
3270
  msgid "Browse All Add-Ons"
@@ -3272,19 +3272,19 @@ msgstr "Alle Add-Ons anzeigen"
3272
 
3273
  #: common/src/admin-views/app-shop.php:4
3274
  msgid "Events Add-Ons"
3275
- msgstr "Veranstaltung Add-Ons"
3276
 
3277
  #: common/src/Tribe/Languages/Locations.php:110
3278
  msgid "C&ocirc;te d'Ivoire"
3279
- msgstr "Elfenbeinküste"
3280
 
3281
  #: common/src/Tribe/Support.php:372
3282
  msgid "Unique System Info Key Generated"
3283
- msgstr "Einzigartiger Systeminfoschlüssel generiert"
3284
 
3285
  #: common/src/Tribe/Support.php:358 common/src/Tribe/Support.php:384
3286
  msgid "Permission Error"
3287
- msgstr "Berechtigungsfehler"
3288
 
3289
  #: common/src/Tribe/Support.php:325 common/src/Tribe/Support.php:330
3290
  msgid "Invalid Key"
@@ -3292,36 +3292,36 @@ msgstr "Ungültiger Schlüssel"
3292
 
3293
  #: common/src/Tribe/Support.php:306
3294
  msgid "Your system information will only be used by the Modern Tribe support team. All information is stored securely. We do not share this information with any third parties."
3295
- msgstr "Ihre Systeminformationen werden nur vom Support-Team von Modern Tribe verwendet. Alle Informationen werden sicher gespeichert. Wir geben diese Informationen nicht an Dritte weiter."
3296
 
3297
  #: common/src/Tribe/Support.php:305
3298
  msgid "Yes, automatically share my system information with the Modern Tribe support team"
3299
- msgstr "Ja, teile meine Systeminformationen automatisch mit dem Modern Tribe-Supportteam"
3300
 
3301
  #: common/src/Tribe/PUE/Notices.php:440
3302
  msgctxt "formatted plugin list"
3303
  msgid "%1$s and %2$s"
3304
- msgstr "%1$s und %2$s"
3305
 
3306
  #: common/src/Tribe/PUE/Notices.php:359
3307
  msgid "You have a license key for %1$s but the key is out of installs. %2$sVisit the Events Calendar website%3$s to manage your installs, upgrade your license, or purchase a new one."
3308
  msgid_plural "You have license keys for %1$s but your keys are out of installs. %2$sVisit the Events Calendar website%3$s to manage your installs, upgrade your licenses, or purchase new ones."
3309
- msgstr[0] "Es wurde ein Lizenzschlüssel für %1$s eingegeben, aber der Schlüssel wird schon verwendet. %2$sDie Events Calendar Website besuchen%3$s, um die Installationen zu verwalten, die Lizenz zu aktualisieren oder eine neue zu kaufen."
3310
- msgstr[1] "Es wurde Lizenzschlüssel für %1$s eingegeben, aber die Schlüssel wird schon verwendet. %2$sDie Events Calendar Website besuchen%3$s, um die Installationen zu verwalten, die Lizenz zu aktualisieren oder eine neue zu kaufen."
3311
 
3312
  #: common/src/Tribe/PUE/Notices.php:327
3313
  msgid "There is an update available for %1$s but your license has expired. %2$sVisit the Events Calendar website to renew your license.%3$s"
3314
  msgid_plural "Updates are available for %1$s but your license keys have expired. %2$sVisit the Events Calendar website to renew your licenses.%3$s"
3315
- msgstr[0] "Für %1$s steht ein Update zur Verfügung, aber Ihre Lizenzschlüssel ist abgelaufen. %2$sBesuchen Sie die Events Calendar Website, um Ihre Lizenz zu verlängern.%3$s"
3316
- msgstr[1] "Für %1$s steht ein Update zur Verfügung, aber Ihre Lizenzschlüssel sind abgelaufen. %2$sBesuchen Sie die Events Calendar Website, um Ihre Lizenz zu verlängern.%3$s"
3317
 
3318
  #: common/src/Tribe/PUE/Checker.php:1062
3319
  msgid "There is an update for %s. %sRenew your license%s to get access to bug fixes, security updates, and new features."
3320
- msgstr "Es gibt ein Update für %s. %sDie Lizenz erneuern%s, um Zugriff auf Fehlerkorrekturen, Sicherheitsupdates und neue Funktionen zu erhalten."
3321
 
3322
  #: common/src/Tribe/PUE/Checker.php:1005
3323
  msgid "There is an update for %s. You'll need to %scheck your license%s to have access to updates, downloads, and support."
3324
- msgstr "Es gibt ein Update für %s. Bitte %süberprüfen die Lizenz überprüfen%s, um Zugriff auf Fehlerkorrekturen, Sicherheitsupdates und neue Funktionen zu erhalten."
3325
 
3326
  #: common/src/Tribe/PUE/Notices.php:342 common/src/Tribe/PUE/Checker.php:969
3327
  msgid " (opens in a new window)"
@@ -3329,23 +3329,23 @@ msgstr "(öffnet in einem neuen Fenster)"
3329
 
3330
  #: common/src/Tribe/PUE/Notices.php:340 common/src/Tribe/PUE/Checker.php:967
3331
  msgid "Renew Your License Now"
3332
- msgstr "Jetzt Lizenz erneuern"
3333
 
3334
  #: common/src/Tribe/Main.php:261
3335
  msgid ": Selected 1 row"
3336
- msgstr ": 1 Zeile ausgewählt"
3337
 
3338
  #: common/src/Tribe/Main.php:260
3339
  msgid ": Selected %d rows"
3340
- msgstr ": %d Zeilen ausgewählt"
3341
 
3342
  #: common/src/Tribe/Main.php:255
3343
  msgid "Previous"
3344
- msgstr "Zurück"
3345
 
3346
  #: common/src/Tribe/Main.php:254 common/src/Tribe/Main.php:271
3347
  msgid "Next"
3348
- msgstr "Nächstes"
3349
 
3350
  #: common/src/Tribe/Main.php:253
3351
  msgid "All"
@@ -3353,11 +3353,11 @@ msgstr "Alle"
3353
 
3354
  #: common/src/Tribe/Main.php:248
3355
  msgid "Search:"
3356
- msgstr "Suchen:"
3357
 
3358
  #: common/src/Tribe/Main.php:247
3359
  msgid "No matching records found"
3360
- msgstr "Keine passenden Ergebnisse gefunden"
3361
 
3362
  #: common/src/Tribe/Main.php:246
3363
  msgid "(filtered from _MAX_ total entries)"
@@ -3365,19 +3365,19 @@ msgstr "(gefiltert von _MAX_ Gesamt Einträgen)"
3365
 
3366
  #: common/src/Tribe/Main.php:245
3367
  msgid "Showing 0 to 0 of 0 entries"
3368
- msgstr "Zeige 0 bis 0 von 0 Einträgen"
3369
 
3370
  #: common/src/Tribe/Main.php:244
3371
  msgid "Showing _START_ to _END_ of _TOTAL_ entries"
3372
- msgstr "Zeige __START_ bis _END_ von _TOTAL_ Einträgen"
3373
 
3374
  #: common/src/Tribe/Main.php:243
3375
  msgid "No data available in table"
3376
- msgstr "Kein Daten in Tabelle vorhanden"
3377
 
3378
  #: common/src/Tribe/Main.php:242
3379
  msgid "Show _MENU_ entries"
3380
- msgstr "Zeige _MENU_ Einträge"
3381
 
3382
  #: common/src/Tribe/Main.php:240
3383
  msgid ": activate to sort column descending"
@@ -3385,20 +3385,20 @@ msgstr ": aktivieren, um Spalte absteigend zu sortieren"
3385
 
3386
  #: common/src/Tribe/Main.php:239
3387
  msgid ": activate to sort column ascending"
3388
- msgstr ": aktivieren, um Spalte aufsteigend zu sortieren"
3389
 
3390
  #: common/src/Tribe/Main.php:284
3391
  msgid "Press \"Cmd + C\" to copy"
3392
- msgstr "Drücke \"CTRL + C\" um zu kopieren"
3393
 
3394
  #: common/src/Tribe/Main.php:283
3395
  msgid "System info copied"
3396
- msgstr "Systeminformationen kopiert"
3397
 
3398
  #: common/src/Tribe/Main.php:282
3399
  #: common/src/admin-views/tribe-options-help.php:50
3400
  msgid "Copy to clipboard"
3401
- msgstr "In die Zwischenablage kopieren"
3402
 
3403
  #: common/src/Tribe/Error.php:38
3404
  msgid "An Unknown error occurred"
@@ -3410,7 +3410,7 @@ msgstr "Event Aggregator"
3410
 
3411
  #: common/src/Tribe/Admin/Activation_Page.php:92
3412
  msgid "Return to WordPress Updates"
3413
- msgstr "Zurück zu WordPress Updates"
3414
 
3415
  #: common/src/Tribe/Admin/Activation_Page.php:92
3416
  msgid "Go to WordPress Updates page"
@@ -3418,7 +3418,7 @@ msgstr "Gehe zur WordPress Updates Seite"
3418
 
3419
  #: common/src/Tribe/Admin/Activation_Page.php:84
3420
  msgid "Return to Plugins page"
3421
- msgstr "Zurück zur Pluginseite"
3422
 
3423
  #: common/src/Tribe/Admin/Activation_Page.php:84
3424
  msgid "Go to plugins page"
@@ -3426,15 +3426,15 @@ msgstr "Gehe zur Pluginseite"
3426
 
3427
  #: common/src/Tribe/Admin/Notice/Plugin_Download.php:75
3428
  msgid "To begin using %1$s, please install and activate the latest version of %2$s."
3429
- msgstr "Um %1$s zu nutzen, bitte die aktuelle Version von %2$s installieren und aktivieren. "
3430
 
3431
  #: src/Tribe/Tickets.php:1813
3432
  msgid "Tickets are not available as this %s has passed."
3433
- msgstr "Karten sind nicht verfügbar, da diese %s schon vorbei ist."
3434
 
3435
  #: src/Tribe/Metabox.php:559 src/Tribe/Assets.php:124
3436
  msgid "Please enter in without thousand separators and currency symbols."
3437
- msgstr "Bitte ohne 1000er Trennzeichen und Währungssymbol eingeben."
3438
 
3439
  #: common/src/Tribe/Support.php:171
3440
  msgid "English"
@@ -3442,7 +3442,7 @@ msgstr "Englisch"
3442
 
3443
  #: common/src/Tribe/Plugins_API.php:116
3444
  msgid "The Eventbrite Tickets add-on allows you to create & sell tickets through The Events Calendar using the power of %1$sEventbrite%2$s. Whether you’re creating your ticket on the WordPress dashboard or importing the details of an already-existing event from %1$sEventbrite.com%2$s, this add-on brings the power of the Eventbrite API to your calendar."
3445
- msgstr "Das %1$sEventbrite Ticket Add-On%2$s ermöglicht das Erstellen und Verkaufen von Karten mit The Events Calendar. Egal ob Sie eine Karte im Wordpress Dashboard erstellen oder die Details einer bereits bestehenden Veranstaltung von %1$sEventbrite.com%2$s importieren, die Eventbrite Schnittstelle hilft dabei."
3446
 
3447
  #: common/src/Tribe/Plugins_API.php:105
3448
  msgctxt "Names of required plugins for Community Tickets"
@@ -3451,15 +3451,15 @@ msgstr "Event Tickets Plus und Community Events"
3451
 
3452
  #: common/src/Tribe/Plugins_API.php:104
3453
  msgid "Enable Community Events organizers to offer tickets to their events. You can set flexible payment and fee options. They can even check-in attendees to their events! All of this managed from the front-end of your site without ever needing to grant access to your admin"
3454
- msgstr "Aktivieren Sie Community Events Tickets, um Karten für ihre Veranstaltungen zu verkaufen. Sie können flexible Zahlungs und Gebührenoptionen verwenden. Sie können sogar die Teilnehmer zu ihren Veranstaltungen einchecken! Dies ist alles vom Front-End Ihrer Website möglich, ohne jemandem Admin Zugang zu Ihrer Website zu gewähren."
3455
 
3456
  #: common/src/Tribe/Plugins_API.php:48
3457
  msgid "The Events Calendar PRO is a paid Add-On to our open source WordPress plugin %1$sThe Events Calendar%2$s. PRO offers a whole host of calendar features including recurring events, custom event attributes, saved venues and organizers, venue pages, advanced event admin and lots more."
3458
- msgstr "Der Events Calendar PRO ist ein kostenpflichtiges Add-On für unser Open Source WordPress plugin %1$sThe Events Calendar%2$s. PRO bietet vielfältige Funktionen inklusive Serienterminen, individuelle Felder, abspeichern und Wiederverwenden von Veranstaltern und Veranstaltungsorten, extra Seiten für Veranstaltungsorte, erweiterte Administrationsmöglichkeiten der Events und vieles mehr."
3459
 
3460
  #: common/src/Tribe/Plugins_API.php:84
3461
  msgid "It is awesome that your calendar is <em>THE PLACE</em> to get hooked up with prime choice ways to spend time. You have more events than Jabba the Hutt has rolls. Too bad visitors are hiring a personal assistant to go through all the choices. Ever wish you could just filter the calendar to only show events in walking distance, on a weekend, that are free? BOOM. Now you can. Introducing… the Filter Bar."
3462
- msgstr "Es ist großartig, dass Ihr Kalender <em>DER PLATZ</em> für Premium Verkäufe ist. Sie haben mehr Events als Rihanna? Schade nur, dass Besucher einen persönlichen Assistenten benötigen, um sich durch die ganzen Angebote zu wühlen. Wollen Sie Ihre Veranstaltungen filtern, z.B. nach Entfernung, nur am Wochenende oder kostenlose Events? Dann nutzen Sie The Filter Bar!"
3463
 
3464
  #: common/src/Tribe/Admin/Help_Page.php:227 common/src/Tribe/Plugins_API.php:80
3465
  msgid "Filter Bar"
@@ -3467,24 +3467,24 @@ msgstr "Filter Bar"
3467
 
3468
  #: common/src/Tribe/Credits.php:64
3469
  msgid "Rate %1$sEvent Tickets%2$s %3$s"
3470
- msgstr "Bewerte %1$sEvent Tickets%2$s %3$s"
3471
 
3472
  #: common/src/Tribe/Credits.php:55
3473
  msgid "Rate %1$sThe Events Calendar%2$s %3$s"
3474
- msgstr "Bewerte %1$sThe Events Calendar%2$s %3$s"
3475
 
3476
  #: src/Tribe/RSVP.php:791
3477
  msgid "You confirmed you will not be attending %s"
3478
- msgstr "Sie haben bestätigt, dass du nicht an %s teilnehmen wirst."
3479
 
3480
  #: src/views/tickets/email-non-attendance.php:263
3481
  msgid "Thank you for confirming that you will not be attending the above event."
3482
- msgstr "Danke für die Bestätigung, dass Sie nicht an der obigen Veranstaltung teilnehmen."
3483
 
3484
  #: src/views/tickets/orders-rsvp.php:87
3485
  #: src/views/tickets/orders-pp-tickets.php:76
3486
  msgid "Type: "
3487
- msgstr "Typ:"
3488
 
3489
  #: src/views/tickets/rsvp.php:211
3490
  #: src/views/blocks/rsvp/form/submit-login.php:19
@@ -3493,11 +3493,11 @@ msgstr "Einloggen um teilzunehmen"
3493
 
3494
  #: src/views/tickets/orders.php:72
3495
  msgid "Update %s"
3496
- msgstr "%s aktualisieren"
3497
 
3498
  #: src/views/tickets/orders.php:34
3499
  msgid "View %s"
3500
- msgstr "%s anzeigen"
3501
 
3502
  #: src/views/tickets/orders-rsvp.php:63
3503
  #: src/views/tickets/orders-pp-tickets.php:66
@@ -3511,27 +3511,27 @@ msgstr "auf %s"
3511
 
3512
  #: src/views/tickets/orders-rsvp.php:38
3513
  msgid "Reserved by %1$s (%2$s)"
3514
- msgstr "Reserviert von %1$s (%2$s)"
3515
 
3516
  #: src/views/tickets/orders-rsvp.php:29
3517
  msgid "My RSVPs for This %s"
3518
- msgstr "Meine RSVPs für diese %s"
3519
 
3520
  #: src/views/tickets/orders-link.php:39
3521
  #: src/views/blocks/attendees/order-links.php:64
3522
  msgid "View your %s"
3523
- msgstr "Prüfe deine %s"
3524
 
3525
  #: src/views/tickets/orders-link.php:38
3526
  #: src/views/blocks/attendees/order-links.php:47
3527
  msgid "You have %s for this %s."
3528
- msgstr "Du hast %s für diese %s."
3529
 
3530
  #: src/views/tickets/orders-link.php:34
3531
  msgid "%d Ticket"
3532
  msgid_plural "%d Tickets"
3533
- msgstr[0] "%d Karten"
3534
- msgstr[1] "%d Karten"
3535
 
3536
  #: src/views/tickets/orders-link.php:30
3537
  msgid "%d RSVP"
@@ -3541,7 +3541,7 @@ msgstr[1] "%d RSVPs"
3541
 
3542
  #: src/views/shortcodes/my-attendance-list.php:32
3543
  msgid "You have not indicated your attendance for any upcoming events."
3544
- msgstr "Sie haben Ihre Teilnahme für kommende Veranstaltungen nicht angegeben."
3545
 
3546
  #: src/views/shortcodes/my-attendance-list-logged-out.php:12
3547
  msgid "To see a list of events you're attending, you will need to log in."
@@ -3549,27 +3549,27 @@ msgstr ""
3549
 
3550
  #: src/admin-views/tribe-options-tickets.php:125
3551
  msgid "You can require that users log into your site before they are able to RSVP (or buy tickets). Please review your WordPress Membership option (via the General Settings admin screen) before adjusting this setting."
3552
- msgstr "Sie können verlangen, dass Nutzer sich zuerst anmelden muss, bevor sie RSVP (oder Karten kaufen) nutzen können. Bitte überprüfen Sie Ihre WordPress Mitgliedschaftsoptionen (unter Allgemeine Einstellungen im Adminbereich) bevor Sie die Einstellungen ändern."
3553
 
3554
  #: src/admin-views/tribe-options-tickets.php:120
3555
  msgid "Login Requirements"
3556
- msgstr "Anmelde Voraussetzungen"
3557
 
3558
  #: src/admin-views/tribe-options-tickets.php:43
3559
  msgid "Require users to log in before they RSVP"
3560
- msgstr "Der Nutzer muss sich einloggen vor dem RSVP"
3561
 
3562
  #: src/Tribe/Tickets_View.php:810
3563
  msgid "This RSVP is no longer active."
3564
- msgstr "Diese Karten sind nicht länger aktiv."
3565
 
3566
  #: src/Tribe/Tickets_View.php:743
3567
  msgid "Ticket"
3568
- msgstr "Karte"
3569
 
3570
  #: src/Tribe/Tickets_View.php:630
3571
  msgid "Not Going"
3572
- msgstr "nicht teilnehmen"
3573
 
3574
  #: src/views/blocks/rsvp/status/going.php:21 src/Tribe/Tickets_View.php:629
3575
  #: src/modules/blocks/rsvp/counters/template.js:27
@@ -3579,11 +3579,11 @@ msgstr "Zugesagt"
3579
 
3580
  #: src/Tribe/Tickets.php:1863
3581
  msgid "There are no tickets available at this time."
3582
- msgstr "Zu dieser Zeit sind keine Karten für diese Veranstaltung verfügbar."
3583
 
3584
  #: src/Tribe/Tickets.php:1861
3585
  msgid "Tickets are no longer available."
3586
- msgstr "Es sind keine Karten für diese Veranstaltung mehr verfügbar."
3587
 
3588
  #: src/Tribe/Tickets.php:1858
3589
  msgid "Tickets are not yet available"
@@ -3601,39 +3601,39 @@ msgstr "Kostenlos"
3601
 
3602
  #: src/Tribe/Tickets_View.php:739
3603
  msgid "RSVPs"
3604
- msgstr "RSVPs"
3605
 
3606
  #: src/Tribe/CSV_Importer/RSVP_Importer.php:250
3607
  msgid "Recurring event tickets are not supported, event %s."
3608
- msgstr "Karten für Serientermine werden nicht unterstützt, Veranstaltung %s"
3609
 
3610
  #: src/Tribe/CSV_Importer/Column_Names.php:42
3611
  msgid "Ticket Stock"
3612
- msgstr "Kartenbestand"
3613
 
3614
  #: src/Tribe/CSV_Importer/Column_Names.php:41
3615
  msgid "Ticket End Sale Time"
3616
- msgstr "Karten Verkaufsendzeit"
3617
 
3618
  #: src/Tribe/CSV_Importer/Column_Names.php:40
3619
  msgid "Ticket End Sale Date"
3620
- msgstr "Karten Verkaufsenddatum"
3621
 
3622
  #: src/Tribe/CSV_Importer/Column_Names.php:39
3623
  msgid "Ticket Start Sale Time"
3624
- msgstr "Karten Verkaufsstartzeit"
3625
 
3626
  #: src/Tribe/CSV_Importer/Column_Names.php:38
3627
  msgid "Ticket Start Sale Date"
3628
- msgstr "Karten Verkaufsstartdatum"
3629
 
3630
  #: src/Tribe/CSV_Importer/Column_Names.php:36
3631
  msgid "Ticket Description"
3632
- msgstr "Kartenbeschreibung"
3633
 
3634
  #: src/Tribe/CSV_Importer/Column_Names.php:35
3635
  msgid "Ticket Name"
3636
- msgstr "Kartenname"
3637
 
3638
  #: src/Tribe/CSV_Importer/Column_Names.php:34
3639
  msgid "Event Name or ID or Slug"
@@ -3645,7 +3645,7 @@ msgstr "Protokoll herunterladen"
3645
 
3646
  #: common/src/admin-views/event-log.php:100
3647
  msgid "The selected log file is empty or has not been generated yet."
3648
- msgstr "Die ausgewählte Protokolldatei ist leer oder wurde noch nicht generiert."
3649
 
3650
  #: common/src/admin-views/event-log.php:43
3651
  msgid "Method"
@@ -3657,7 +3657,7 @@ msgstr "Protokoll Level"
3657
 
3658
  #: common/src/Tribe/Validate.php:168
3659
  msgid "%s must contain numbers, letters, dashes and undescores only"
3660
- msgstr "%s darf nur Zahlen, Buchstaben, Bindestriche und Unterstriche enthalten"
3661
 
3662
  #: common/src/Tribe/Log.php:376
3663
  msgid "Full debug (all events)"
@@ -3673,7 +3673,7 @@ msgstr "Nur Fehler"
3673
 
3674
  #: common/src/Tribe/Log.php:373
3675
  msgid "Disabled"
3676
- msgstr "deaktiviert"
3677
 
3678
  #: common/src/Tribe/Log.php:274
3679
  msgid "Cannot set %s as the current logging engine"
@@ -3681,7 +3681,7 @@ msgstr "%s kann nicht als aktuelles Prokollierungssystem verwendet werden"
3681
 
3682
  #: common/src/Tribe/Log/Null_Logger.php:26
3683
  msgid "Null logger (will log nothing)"
3684
- msgstr "Keine Protokollierung"
3685
 
3686
  #: common/src/Tribe/Log/File_Logger.php:128
3687
  msgid "Default (uses temporary files)"
@@ -3690,20 +3690,20 @@ msgstr "Standard (nutzt temporäre Dateien)"
3690
  #: common/src/Tribe/Log/Admin.php:148
3691
  msgctxt "log engines"
3692
  msgid "None currently available"
3693
- msgstr "Keine aktuellen verfügbar"
3694
 
3695
  #: common/src/Tribe/Log/Admin.php:133
3696
  msgctxt "log selector"
3697
  msgid "None currently available"
3698
- msgstr "Keine aktuellen verfügbar"
3699
 
3700
  #: src/views/tickets/rsvp.php:199
3701
  msgid "Don't list me on the public attendee list"
3702
- msgstr "Listen Sie mich nicht auf der öffentlichen Teilnehmerliste"
3703
 
3704
  #: src/views/tickets/rsvp.php:124
3705
  msgid "Send RSVP confirmation to:"
3706
- msgstr "RSVP Bestätigung senden an:"
3707
 
3708
  #: src/views/tickets/rsvp.php:50
3709
  msgid "Please fill in the RSVP quantity, confirmation name, and email fields."
@@ -3721,19 +3721,19 @@ msgstr "Niveau des globalen Bestandes"
3721
 
3722
  #: src/admin-views/meta-box.php:69
3723
  msgid "Enable global stock"
3724
- msgstr "Globalen Bestand freigeben"
3725
 
3726
  #: src/Tribe/Assets.php:117
3727
  msgid "It looks like you have modified your shared capacity setting but have not saved or updated the post."
3728
- msgstr "Es scheint, dass Du Deine globalen Bestandseinstellungen geändert hast, aber den Beitrag nicht gespeichert oder aktualisiert hast."
3729
 
3730
  #: src/Tribe/Attendees_Table.php:406
3731
  msgid "View order"
3732
- msgstr "Bestellung anzeigen"
3733
 
3734
  #: common/src/admin-views/tribe-options-help.php:52
3735
  msgid "Recent Template Changes"
3736
- msgstr "Aktuelle Änderungen an Vorlagen"
3737
 
3738
  #: common/src/Tribe/Support/Template_Checker_Report.php:115
3739
  msgid "Information about recent template changes and potentially impacted template overrides is provided below."
@@ -3741,7 +3741,7 @@ msgstr "Informationen über die jüngsten Änderungen an der Vorlage und potenzi
3741
 
3742
  #: common/src/Tribe/Support/Template_Checker_Report.php:113
3743
  msgid "No notable template changes detected."
3744
- msgstr "Keine nennenswerten Änderungen an der Vorlage erkannt."
3745
 
3746
  #: common/src/Tribe/Support/Template_Checker_Report.php:97
3747
  msgid "based on %s version"
@@ -3749,7 +3749,7 @@ msgstr "basierend auf %s Version"
3749
 
3750
  #: common/src/Tribe/Support/Template_Checker_Report.php:96
3751
  msgid "version data missing from override"
3752
- msgstr "Versionsdaten vom Überschreiben fehlen"
3753
 
3754
  #: common/src/Tribe/Support/Template_Checker_Report.php:92
3755
  msgid "Existing theme overrides that may need revision:"
@@ -3757,11 +3757,11 @@ msgstr "Bestehendes Theme überschreibt Punkte, die möglicherweise eine Überpr
3757
 
3758
  #: common/src/Tribe/Support/Template_Checker_Report.php:82
3759
  msgid "Templates introduced or updated with this release (%s):"
3760
- msgstr "Vorlagen eingeführt oder aktualisiert mit dieser Version (%s):"
3761
 
3762
  #: common/src/Tribe/Support/Template_Checker_Report.php:78
3763
  msgid "No notable changes detected"
3764
- msgstr "Keine nennenswerten Änderungen gefunden"
3765
 
3766
  #. Author URI of the plugin
3767
  msgid "http://m.tri.be/28"
@@ -3773,12 +3773,12 @@ msgstr "Modern Tribe, Inc."
3773
 
3774
  #: src/views/tickets/rsvp.php:221
3775
  msgid "Confirm RSVP"
3776
- msgstr "Teilnahme bestätigen"
3777
 
3778
  #: src/views/tickets/rsvp.php:154 src/views/blocks/rsvp/form/name.php:30
3779
  #: src/Tribe/Privacy.php:159 src/Tribe/Privacy.php:440
3780
  msgid "Full Name"
3781
- msgstr "Vor- und Nachname"
3782
 
3783
  #: src/views/tickets/tpp.php:98 src/views/tickets/rsvp.php:97
3784
  #: src/views/blocks/rsvp/details/availability.php:22
@@ -3795,25 +3795,25 @@ msgstr "%1$s aus %2$s verfügbar"
3795
  #: src/modules/blocks/rsvp/container/template.js:31
3796
  #: src/resources/js/app/blocks.js:38896 src/resources/js/app/blocks.js:40027
3797
  msgid "RSVP"
3798
- msgstr "Teilnahmebestätigungen"
3799
 
3800
  #: src/views/tickets/email.php:406
3801
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:72
3802
  msgid "Purchaser"
3803
- msgstr "Käufer"
3804
 
3805
  #: src/views/tickets/email.php:402
3806
  #: src/modules/blocks/ticket/container-header/title/template.js:29
3807
  #: src/resources/js/app/blocks.js:41324
3808
  msgid "Ticket Type"
3809
- msgstr "Kartentyp"
3810
 
3811
  #: src/views/tickets/email.php:27
3812
  #: src/views/tickets/email-ticket-type-moved.php:25
3813
  #: src/views/tickets/email-non-attendance.php:39
3814
  #: src/views/tickets/email-tickets-moved.php:26
3815
  msgid "Your tickets"
3816
- msgstr "Ihre Karten"
3817
 
3818
  #: src/views/tickets/attendees-email.php:24
3819
  #: src/modules/blocks/attendees/index.js:21
@@ -3823,12 +3823,12 @@ msgstr "Teilnehmerliste"
3823
 
3824
  #: src/admin-views/tribe-options-tickets.php:58
3825
  msgid "Post types that can have tickets"
3826
- msgstr "Beitragsarten, welche Karten haben können"
3827
 
3828
  #: src/admin-views/editor/panel/settings.php:14
3829
  #: src/admin-views/tribe-options-tickets.php:54
3830
  msgid "Ticket Settings"
3831
- msgstr "Karteneinstellungen"
3832
 
3833
  #: src/admin-views/meta-box.php:240 src/admin-views/editor/panel/ticket.php:199
3834
  #: src/admin-views/editor/panel/settings.php:81
@@ -3840,15 +3840,15 @@ msgstr "Abbrechen"
3840
 
3841
  #: src/admin-views/meta-box.php:239
3842
  msgid "Save this ticket"
3843
- msgstr "Ticket abspeichern"
3844
 
3845
  #: src/admin-views/meta-box.php:219
3846
  msgid "If you don't set a start/end date for sales, tickets will be available from now until the event ends."
3847
- msgstr "Wenn kein Start-/ Enddatum zum Verkauf gesetzt wird, werden die Karten von jetzt bis zum Ende der Veranstaltung erwerbbar sein."
3848
 
3849
  #: src/admin-views/meta-box.php:215
3850
  msgid "When will ticket sales occur?"
3851
- msgstr "Wann wird der Kartenverkauf stattfinden?"
3852
 
3853
  #: src/admin-views/meta-box.php:192
3854
  #: src/admin-views/editor/fieldset/advanced.php:102
@@ -3858,52 +3858,52 @@ msgstr "Verkaufsende:"
3858
  #: src/admin-views/meta-box.php:161
3859
  #: src/admin-views/editor/fieldset/advanced.php:70
3860
  msgid "Start sale:"
3861
- msgstr "Verkaufsstart:"
3862
 
3863
  #: src/admin-views/meta-box.php:152
3864
  msgid "Ticket Description:"
3865
- msgstr "Karten Beschreibung:"
3866
 
3867
  #: src/admin-views/meta-box.php:145
3868
  msgid "Ticket Name:"
3869
- msgstr "Karten Name:"
3870
 
3871
  #: src/admin-views/meta-box.php:128 src/admin-views/editor/panel/ticket.php:102
3872
  msgid "Sell using:"
3873
- msgstr "Verkaufen mit:"
3874
 
3875
  #: src/admin-views/meta-box.php:123 src/admin-views/editor/panel/ticket.php:61
3876
  msgid "Edit ticket"
3877
- msgstr "Karte bearbeiten"
3878
 
3879
  #: src/admin-views/meta-box.php:112 src/admin-views/meta-box.php:122
3880
  #: src/admin-views/editor/panel/ticket.php:53
3881
  msgid "Add new ticket"
3882
- msgstr "Neue Karte hinzufügen"
3883
 
3884
  #: src/admin-views/meta-box.php:54 src/admin-views/editor/panel/settings.php:67
3885
  msgid "Remove"
3886
- msgstr "Entfernen"
3887
 
3888
  #: src/admin-views/meta-box.php:46 src/admin-views/editor/panel/settings.php:51
3889
  msgid "Select an Image"
3890
- msgstr "Ein Bild auswählen"
3891
 
3892
  #: src/admin-views/meta-box.php:43
3893
  msgid "The maximum image size in the email will be 580px wide by any height, and then scaled for mobile. If you would like \"retina\" support use an image sized to 1160px wide."
3894
- msgstr "Die maximale Bildgröße in der E-Mail beträgt 580px in Höhe und Breite. Es wird für Mobilgeräte verkleinert. Wenn Sie Retina-Displays unterstützen nutzen wollen, verwenden Sie Bild mit einer Breite von 1160px."
3895
 
3896
  #: src/admin-views/meta-box.php:42
3897
  msgid "Upload image for the ticket header."
3898
- msgstr "Laden Sie ein Bild für den Kartenkopfbereich hoch"
3899
 
3900
  #: src/admin-views/meta-box.php:31
3901
  msgid "This event was created using Community Events. Are you sure you want to sell tickets for it?"
3902
- msgstr "Diese Veranstaltung wurde durch Community Events erstellt. Wollen Sie wirklich Karten dafür veraufen?"
3903
 
3904
  #: src/admin-views/tpp-orders.php:78 src/admin-views/tpp-orders.php:82
3905
  msgid "Sold %d"
3906
- msgstr "%d verkauft"
3907
 
3908
  #: src/admin-views/list.php:52
3909
  msgid "Edit in %s"
@@ -3911,11 +3911,11 @@ msgstr "Bearbeiten in %s"
3911
 
3912
  #: src/admin-views/list.php:47 common/src/admin-views/event-log.php:65
3913
  msgid "View"
3914
- msgstr "Anzeige"
3915
 
3916
  #: src/admin-views/list.php:33
3917
  msgid "Edit"
3918
- msgstr "Anpassen"
3919
 
3920
  #: src/admin-views/price-fields.php:16
3921
  #: src/admin-views/legacy-ticket-fields.php:28
@@ -3926,7 +3926,7 @@ msgstr "(Aktueller Verkaufspreis - kann mit dem Produkt Editor angepasst werden)
3926
  #: src/admin-views/editor/fieldset/price.php:67
3927
  #: src/admin-views/legacy-ticket-fields.php:24
3928
  msgid "Sale Price:"
3929
- msgstr "Abverkaufspreis:"
3930
 
3931
  #: src/admin-views/price-fields.php:7
3932
  #: src/admin-views/legacy-ticket-fields.php:19
@@ -3942,51 +3942,51 @@ msgstr "Preis:"
3942
 
3943
  #: src/admin-views/tpp-orders.php:63
3944
  msgid "Sales by Ticket"
3945
- msgstr "Verkäufe nach Karten"
3946
 
3947
  #: src/admin-views/attendees-email.php:59
3948
  msgid "Send Email"
3949
- msgstr "Sende E-Mail"
3950
 
3951
  #: src/admin-views/attendees-email.php:38
3952
  msgid "Email Address:"
3953
- msgstr "E-Mail-Adresse:"
3954
 
3955
  #: src/admin-views/attendees-email.php:36
3956
  msgid "or"
3957
- msgstr "oder"
3958
 
3959
  #: src/admin-views/attendees-email.php:6
3960
  msgid "Select..."
3961
- msgstr "Auswählen..."
3962
 
3963
  #: src/admin-views/attendees-email.php:33
3964
  msgid "Select a User:"
3965
- msgstr "Nutzer wählen:"
3966
 
3967
  #: src/admin-views/attendees-email.php:27
3968
  msgid "Send the attendee list by email"
3969
- msgstr "Die Teilnehmerliste per E-Mail versenden"
3970
 
3971
  #: src/Tribe/Attendees.php:709
3972
  msgid "Email sent successfully!"
3973
- msgstr "E-Mail erfolgreich versendet!"
3974
 
3975
  #: src/Tribe/Attendees.php:702
3976
  msgid "Error when sending the email"
3977
- msgstr "Fehler beim Senden der Mail"
3978
 
3979
  #: src/Tribe/Attendees.php:701
3980
  msgid "Attendee List for: %s"
3981
- msgstr "Teilnehmer Liste für: %s"
3982
 
3983
  #: src/Tribe/Attendees.php:664 src/Tribe/Attendees.php:680
3984
  msgid "Invalid User ID"
3985
- msgstr "Ungültige Benutzer-ID"
3986
 
3987
  #: src/Tribe/Attendees.php:658
3988
  msgid "Invalid Email"
3989
- msgstr "Falsche Email-Adresse"
3990
 
3991
  #: src/Tribe/Attendees.php:646
3992
  msgid "Empty user and email"
@@ -3994,11 +3994,11 @@ msgstr "Leerer Benutzer oder E-Mail"
3994
 
3995
  #: src/Tribe/Attendees.php:623
3996
  msgid "Invalid Event ID"
3997
- msgstr "Ungültige Veranstaltungs-ID"
3998
 
3999
  #: src/Tribe/Attendees.php:640
4000
  msgid "Cheatin Huh?"
4001
- msgstr "Unerwarteter Zugriff!"
4002
 
4003
  #: src/Tribe/Attendees.php:582
4004
  msgid "attendees"
@@ -4011,7 +4011,7 @@ msgstr "Ja"
4011
 
4012
  #: src/Tribe/Attendees.php:348
4013
  msgid "You can use Screen Options to select which columns you want to see. The selection works in the table below, in the email, for print and for the CSV export."
4014
- msgstr "Verwenden Sie die Bildschirmoptionen, um auszuwählen, welche Spalten angezeigt werden sollen. Die Auswahl kann in der Tabelle unten für eMail, Druck oder CSV-Export genutzt werden."
4015
 
4016
  #: src/Tribe/Attendees.php:348
4017
  msgid "Columns"
@@ -4019,11 +4019,11 @@ msgstr "Spalten"
4019
 
4020
  #: src/Tribe/Attendees.php:313
4021
  msgid "Sending..."
4022
- msgstr "Senden..."
4023
 
4024
  #: src/Tribe/Attendees.php:312
4025
  msgid "You need to select a user or type a valid email address"
4026
- msgstr "Sie müssen einen Nutzer oder eine gültige E-Mail-Adresse wählen"
4027
 
4028
  #: src/Tribe/Tabbed_View/Attendee_Report_Tab.php:22
4029
  #: src/Tribe/Admin/Columns/Tickets.php:57 src/Tribe/Attendees.php:210
@@ -4033,11 +4033,11 @@ msgstr "Sie müssen einen Nutzer oder eine gültige E-Mail-Adresse wählen"
4033
  #: src/modules/blocks/tickets/action-buttons/attendees/template.js:25
4034
  #: src/resources/js/app/blocks.js:38981 src/resources/js/app/blocks.js:40222
4035
  msgid "Attendees"
4036
- msgstr "Teilnehmer"
4037
 
4038
  #: src/Tribe/Attendees.php:208 src/admin-views/list.php:90
4039
  msgid "See who purchased tickets to this event"
4040
- msgstr "Anzeigen wer Karten für die Veranstaltung gekauft hat"
4041
 
4042
  #: src/Tribe/Commerce/PayPal/Main.php:1924 src/Tribe/RSVP.php:1743
4043
  msgid "Post draft updated."
@@ -4045,7 +4045,7 @@ msgstr "Beitragsentwurf aktualisiert."
4045
 
4046
  #: src/Tribe/Commerce/PayPal/Main.php:1923 src/Tribe/RSVP.php:1742
4047
  msgid "Post scheduled."
4048
- msgstr "Beitrag eingeplant."
4049
 
4050
  #: src/Tribe/Commerce/PayPal/Main.php:1922 src/Tribe/RSVP.php:1741
4051
  msgid "Post submitted."
@@ -4053,15 +4053,15 @@ msgstr "Beitrag abgeschickt."
4053
 
4054
  #: src/Tribe/Commerce/PayPal/Main.php:1919 src/Tribe/RSVP.php:1738
4055
  msgid "Post published. %1$s"
4056
- msgstr "Beitrag veröffentlicht. %1$s"
4057
 
4058
  #: src/Tribe/Commerce/PayPal/Main.php:1915 src/Tribe/RSVP.php:1734
4059
  msgid "Post updated. %1$s"
4060
- msgstr "Beitrag aktualisiert. %1$s"
4061
 
4062
  #: src/Tribe/Commerce/PayPal/Main.php:1908 src/Tribe/RSVP.php:1727
4063
  msgid "Return to the %1$sAttendees Report%2$s."
4064
- msgstr "Zurück zum %1$sTeilnehmerbericht%2$s."
4065
 
4066
  #: src/Tribe/Commerce/PayPal/Main.php:2623 src/Tribe/RSVP.php:1399
4067
  msgid "(deleted)"
@@ -4073,15 +4073,15 @@ msgstr "Um sich anmelden zu können, müssen Sie Ihren Namen und eine gültige E
4073
 
4074
  #: src/Tribe/RSVP.php:1091
4075
  msgid "You can't RSVP more than the total remaining tickets."
4076
- msgstr "Sie können nicht mehr auswählen als die gesamt verbliebenen Restkarten."
4077
 
4078
  #: src/views/blocks/rsvp/messages/success.php:20 src/Tribe/RSVP.php:1085
4079
  msgid "Your RSVP has been received! Check your email for your RSVP confirmation."
4080
- msgstr "Ihre Antwort wurde erhalten! Überprüfen Sie Ihre E-Mail auf Ihre RSVP-Bestätigung."
4081
 
4082
  #: src/Tribe/Commerce/PayPal/Main.php:1128 src/Tribe/RSVP.php:703
4083
  msgid "Your tickets from %s"
4084
- msgstr "Ihren Karten von %s"
4085
 
4086
  #: src/Tribe/Commerce/PayPal/Main.php:359 src/Tribe/RSVP.php:287
4087
  msgctxt "Attendee number"
@@ -4090,27 +4090,27 @@ msgstr "Teilnehmer %1$s"
4090
 
4091
  #: src/Tribe/Assets.php:54
4092
  msgid "Set as ticket header"
4093
- msgstr "Als Karten Kopfbild verwenden"
4094
 
4095
  #: src/views/tickets/tpp-success.php:95 src/Tribe/Assets.php:53
4096
  msgid "Ticket header image"
4097
- msgstr "Karten Kopfbild"
4098
 
4099
  #: src/Tribe/Main.php:552
4100
  msgid "If you have a valid license for one of our paid plugins, you can %s in our premium support forums. Our support team monitors the forums and will respond to your thread within 24-48 hours (during the week)."
4101
- msgstr "Wenn Sie eine gültige Lizenz für eines unserer Bezahl-Plugins haben, können Sie in unserem Support Forum %s. Unser Support Team prüft die Foren und wird innerhalb wochentags von 24-48 Stunden auf Ihre Anfrage reagieren."
4102
 
4103
  #: src/Tribe/Main.php:547
4104
  msgid "Already have Events Tickets Plus? You can %s in our premium support forums. Our support team monitors the forums and will respond to your thread within 24-48 hours (during the week)."
4105
- msgstr "Haben Sie schon Events Tickets Plus? Sie können %s in unseren Premium-Support-Foren verwenden. Unser Support-Team überwacht die Foren und antwortet auf Ihren Thread innerhalb von 24-48 Stunden (während der Woche)."
4106
 
4107
  #: src/Tribe/Main.php:546 src/Tribe/Main.php:551
4108
  msgid "post a thread"
4109
- msgstr "Einen Beitrag posten"
4110
 
4111
  #: src/Tribe/Main.php:544
4112
  msgid "Looking for more immediate support? We offer %1$s with the purchase of any of our premium plugins (like %2$s). Pick up a license and you can post there directly and expect a response within 24-48 hours during weekdays."
4113
- msgstr "Suchen Sie nach mehr direkter Unterstützung? Wir bieten%1$s mit dem Kauf eines unserer Premium-Plugins (wie %2$s). Kaufen sie eine Lizenz und schreiben sie direkt im Forum. Sie erhalten eine Antwort innerhalb von 24-48 Stunden an normalen Arbeitstagen."
4114
 
4115
  #: src/Tribe/Main.php:543 src/admin-views/tribe-options-tickets.php:152
4116
  msgid "Events Tickets Plus"
@@ -4118,7 +4118,7 @@ msgstr "Events Tickets Plus"
4118
 
4119
  #: src/Tribe/Main.php:542
4120
  msgid "premium support on our website"
4121
- msgstr "Premium Support auf unserer Website"
4122
 
4123
  #: src/Tribe/Main.php:540
4124
  msgid "If you have tried the above steps and are still having trouble, you can post a new thread to our %s. Our support staff monitors these forums once a week and would be happy to assist you there."
@@ -4126,15 +4126,15 @@ msgstr "Wenn Sie die Schritte oben versucht haben und immer noch Probleme auftre
4126
 
4127
  #: src/Tribe/Main.php:539
4128
  msgid "open-source forum on WordPress.org"
4129
- msgstr "Open Source Forum auf WordPress.org"
4130
 
4131
  #: src/Tribe/Main.php:522
4132
  msgid "We are committed to helping you sell tickets for your event. Check out our handy %s to get started."
4133
- msgstr "Wir wollen Ihnen helfen Karten für Ihre Veranstaltungen zu verkaufen. Prüfen Sie unser handliches %s um zu starten."
4134
 
4135
  #: src/Tribe/Main.php:520 src/admin-views/admin-welcome-message.php:23
4136
  msgid "New User Primer"
4137
- msgstr "Primer für neue Nutzer"
4138
 
4139
  #: src/Tribe/Main.php:503
4140
  msgid "Customizing Event Tickets"
@@ -4142,7 +4142,7 @@ msgstr "Event Tickets anpassen"
4142
 
4143
  #: src/Tribe/Main.php:502
4144
  msgid "Troubleshooting common problems"
4145
- msgstr "Lösung allgemeiner Probleme"
4146
 
4147
  #: src/Tribe/Main.php:501
4148
  msgid "Features overview"
@@ -4150,23 +4150,23 @@ msgstr "Funktionsübersicht"
4150
 
4151
  #: src/Tribe/Main.php:500
4152
  msgid "Settings overview"
4153
- msgstr "Einstellungsübersicht"
4154
 
4155
  #: src/Tribe/Main.php:498
4156
  msgid "Support for Event Tickets"
4157
- msgstr "Unterstützung für Event Tickets"
4158
 
4159
  #: src/Tribe/Main.php:334
4160
  msgid "When The Events Calendar and Event Tickets are both activated, The Events Calendar must be running version %1$s or greater. Please %2$supdate now.%3$s"
4161
- msgstr "Wenn sowohl The Events Calendar und Events Tickets aktiviert sind, muss The Events Calendar in der Version %1$s oder höher genutzt werden. Bitte %2$sjetzt updaten.%3$s"
4162
 
4163
  #: src/Tribe/Attendees_Table.php:548 src/admin-views/list.php:43
4164
  msgid "Delete"
4165
- msgstr "Entfernen"
4166
 
4167
  #: src/Tribe/Attendees_Table.php:521
4168
  msgid "Export"
4169
- msgstr "Exportieren"
4170
 
4171
  #: src/views/tickets/rsvp.php:162 src/views/blocks/rsvp/form/email.php:31
4172
  #: src/Tribe/Attendees_Table.php:520
@@ -4174,6 +4174,1699 @@ msgstr "Exportieren"
4174
  #: src/Tribe/Privacy.php:445 src/Tribe/Privacy.php:541
4175
  #: src/admin-views/admin-welcome-message.php:62
4176
  msgid "Email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4177
  msgstr "Mail"
4178
 
4179
  #: src/Tribe/Attendees_Table.php:519
2
  # This file is distributed under the same license as the Plugins - Event Tickets - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2018-06-25 12:31:42+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
1162
 
1163
  #: src/admin-views/tribe-options-tickets.php:327
1164
  msgid "You have tickets!"
1165
+ msgstr ""
1166
 
1167
  #: src/admin-views/tribe-options-tickets.php:296
1168
  msgid "After a successful PayPal order users will be redirected to this page; use the %s shortcode to display the order confirmation to the user in the page content."
1169
+ msgstr ""
1170
 
1171
  #: src/admin-views/privacy.php:56
1172
  msgid "If you have extended our plugin(s) to send data to a third-party service such as Eventbrite, Google Maps, or PayPal, user information may be passed to these external services. These services may be located abroad."
1173
+ msgstr ""
1174
 
1175
  #: src/admin-views/privacy.php:54
1176
  msgid "Modern Tribe does not send any user data outside of your website by default."
1177
+ msgstr ""
1178
 
1179
  #: src/admin-views/privacy.php:52
1180
  msgid "Where We Send Your Data"
1181
+ msgstr ""
1182
 
1183
  #: src/admin-views/privacy.php:50
1184
  msgid "Certain data may be exported or removed upon users request via the existing Exporter or Eraser. Please note, however, that several “edge cases” exist in which we are unable to perfect the gathering and export of all data for your end users. We suggest running a search in your local database, as well as within the WordPress Dashboard, in order to identify all data collected and stored for your specific user requests."
1185
+ msgstr ""
1186
 
1187
  #: src/admin-views/privacy.php:48
1188
  msgid "All information (data) is retained in the local database indefinitely, unless otherwise deleted."
1189
+ msgstr ""
1190
 
1191
  #: src/admin-views/privacy.php:46
1192
  msgid "How Long You Retain this Data"
1193
+ msgstr ""
1194
 
1195
  #: src/admin-views/privacy.php:44
1196
  msgid "These API keys may include the following third party services: Google Maps and PayPal."
1197
+ msgstr ""
1198
 
1199
  #: src/admin-views/privacy.php:42
1200
  msgid "We make use of certain API keys, in order to provide specific features."
1201
+ msgstr ""
1202
 
1203
  #: src/admin-views/privacy.php:38
1204
  msgid "Events Tickets suite offers the use of third-party API keys. The primary functions are to enhance the features we've built in, some of which use Google Maps and PayPal. These API keys are not supplied by Modern Tribe."
1205
+ msgstr ""
1206
 
1207
  #: src/admin-views/privacy.php:36
1208
  msgid "API Keys"
1209
+ msgstr ""
1210
 
1211
  #: src/admin-views/privacy.php:34
1212
  msgid "Please note: The website owner can collect nearly any Attendee Information requested from ticket buyers by creating a custom registration form."
1213
+ msgstr ""
1214
 
1215
  #: src/admin-views/privacy.php:31
1216
  msgid "Ticket purchaser billing address, which is collected through the use of WooCommerce, Easy Digital Downloads, or PayPal"
1217
+ msgstr ""
1218
 
1219
  #: src/admin-views/privacy.php:30
1220
  msgid "Ticket purchaser information: name and email address"
1221
+ msgstr ""
1222
 
1223
  #: src/admin-views/privacy.php:29
1224
  msgid "Ticket information (RSVPs and Tickets): name, email address, and ticket number/SKU (via check-in page)"
1225
+ msgstr ""
1226
 
1227
  #: src/admin-views/privacy.php:28
1228
  msgid "Attendees information (RSVPs and Tickets): name and email address"
1229
+ msgstr ""
1230
 
1231
  #: src/admin-views/privacy.php:25
1232
  msgid "If you create, submit, import, save, or publish event ticket information, as well as RSVP or purchase tickets to events, such information is retained in the local database:"
1233
+ msgstr ""
1234
 
1235
  #: src/admin-views/privacy.php:24 src/admin-views/privacy.php:40
1236
  msgid "Suggested text:"
1237
+ msgstr ""
1238
 
1239
  #: src/admin-views/privacy.php:23
1240
  msgid "Through the usage of Event Tickets, Event Tickets Plus, and Community Tickets, information may be collected and stored within your website’s database."
1241
+ msgstr ""
1242
 
1243
  #: src/admin-views/privacy.php:21
1244
  msgid "Event, Attendee, and Ticket Purchaser Information"
1245
+ msgstr ""
1246
 
1247
  #: src/admin-views/privacy.php:19
1248
  msgid "What personal data we collect and why we collect it"
1249
+ msgstr ""
1250
 
1251
  #: src/admin-views/privacy.php:17
1252
  msgid "This information is only for guidance and not to be considered as legal advice."
1253
+ msgstr ""
1254
 
1255
  #: src/admin-views/privacy.php:17
1256
  msgid "Disclaimer:"
1257
+ msgstr ""
1258
 
1259
  #: src/admin-views/privacy.php:16
1260
  msgid "You should include the information below in the correct sections of you privacy policy."
1261
+ msgstr ""
1262
 
1263
  #: src/admin-views/privacy.php:15
1264
  msgid "This information serves as a guide on what sections need to be modified due to usage of Event Tickets and its Add-ons."
1265
+ msgstr ""
1266
 
1267
  #: src/admin-views/privacy.php:14
1268
  msgid "Hello,"
1269
+ msgstr ""
1270
 
1271
  #: src/Tribe/REST/V1/Messages.php:22
1272
  msgid "The requested attendee check in is not available"
1274
 
1275
  #: src/Tribe/REST/V1/Messages.php:27
1276
  msgid "The requested ticket is not accessible"
1277
+ msgstr ""
1278
 
1279
  #: src/Tribe/REST/V1/Messages.php:20
1280
  msgid "The requested post ID does not exist or is not an attendee"
1286
 
1287
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:160
1288
  msgid "Returns the documentation for Event Tickets REST API in Swagger consumable format."
1289
+ msgstr ""
1290
 
1291
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:109
1292
  msgid "Event Tickets REST API allows accessing ticket information easily and conveniently."
1293
+ msgstr ""
1294
 
1295
  #: src/Tribe/REST/V1/Endpoints/Swagger_Documentation.php:108
1296
  msgid "Event Tickets REST API"
1297
+ msgstr ""
1298
 
1299
  #: src/Tribe/REST/V1/Endpoints/Base.php:77
1300
  msgid "No description provided"
1301
+ msgstr ""
1302
 
1303
  #: src/Tribe/REST/V1/Documentation/Ticket_Definition_Provider.php:20
1304
  msgid "The ticket WordPress post ID"
1305
+ msgstr ""
1306
 
1307
  #: src/Tribe/Privacy.php:435
1308
  msgid "Order Title"
1309
+ msgstr ""
1310
 
1311
  #: src/Tribe/Privacy.php:430
1312
  msgid "Event Tickets TribeCommerce Attendee Data"
1313
+ msgstr ""
1314
 
1315
  #: src/Tribe/Privacy.php:154
1316
  #: src/modules/blocks/rsvp/container-header/template.js:32
1317
  #: src/resources/js/app/blocks.js:37976
1318
  msgid "RSVP Title"
1319
+ msgstr ""
1320
 
1321
  #: src/Tribe/Privacy.php:149
1322
  msgid "Event Tickets RSVP Attendee Data"
1323
+ msgstr ""
1324
 
1325
  #: src/Tribe/Privacy.php:76 src/Tribe/Privacy.php:103
1326
  msgid "Event Tickets TribeCommerce Attendee"
1327
+ msgstr ""
1328
 
1329
  #: src/Tribe/Privacy.php:71 src/Tribe/Privacy.php:98
1330
  msgid "Event Tickets RSVP Attendee"
1331
+ msgstr ""
1332
 
1333
  #: src/views/tickets/orders.php:25
1334
  msgid "You don't have tickets for this event"
1335
+ msgstr ""
1336
 
1337
  #: src/admin-views/tribe-options-tickets.php:264
1338
  msgid "For help creating and configuring your account, call PayPal at 1-844-720-4038 (USA)"
1339
+ msgstr ""
1340
 
1341
  #: common/src/Tribe/Admin/Notice/Php_Version.php:101
1342
  msgid "Starting March 2019, %1$s will no longer work with versions prior to PHP 5.4. Currently your site is using PHP version %2$s. For best results, we recommend using PHP 5.6 or above."
1343
+ msgstr ""
1344
 
1345
  #: common/src/Tribe/Admin/Notice/Php_Version.php:98
1346
  msgid "Starting March 2019, %1$s will no longer support versions prior to PHP 5.6. Your site is currently using PHP version %2$s which will no longer be supported by %1$s. For best results, we recommend using PHP 5.6 or above."
1347
+ msgstr ""
1348
 
1349
  #: src/views/tickets/tpp-return-to-cart.php:6
1350
  msgid "Return to Cart"
1351
+ msgstr ""
1352
 
1353
  #: src/admin-views/tribe-options-tickets.php:161
1354
  msgid "Tribe Commerce is a light implementation of a commerce gateway using PayPal and simplified stock handling. If you need more advanced features, take a look at %1$s. In addition to integrating with your favorite ecommerce provider, Event Tickets Plus includes options to collect custom information for attendees, check users in via QR codes, and share stock between tickets. %2$s"
1355
+ msgstr ""
1356
 
1357
  #: src/admin-views/tribe-options-tickets.php:157
1358
  msgid "Check it out!"
1359
+ msgstr ""
1360
 
1361
  #: src/admin-views/editor/list-row.php:101
1362
  msgid "Stock management is disabled. Enable it on the related Woocommerce product's inventory settings."
1363
+ msgstr ""
1364
 
1365
  #: src/admin-views/editor/fieldset/price.php:72
1366
  msgid "Current sale or member price. This can be managed via the product editor."
1367
+ msgstr ""
1368
 
1369
  #: src/admin-views/editor/fieldset/price.php:71
1370
  msgid "Sale/Member Price:"
1371
+ msgstr ""
1372
 
1373
  #: src/admin-views/attendees.php:125
1374
  msgid "Search attendees"
1375
+ msgstr ""
1376
 
1377
  #: src/Tribe/CSV_Importer/Column_Names.php:37
1378
  msgid "Ticket Show Description"
1379
+ msgstr ""
1380
 
1381
  #: common/src/admin-views/tribe-options-help.php:33
1382
  msgid "Search our support help desk"
1383
+ msgstr ""
1384
 
1385
  #: common/src/Tribe/Plugins_API.php:71
1386
  msgid "Event Tickets Plus allows you to sell tickets to your events using WooCommerce, Easy Digital Downloads, or our built in Tribe Commerce tool. Add tickets to your posts and pages, or add %1$sThe Events Calendar%2$s and sell tickets from your event listings. Create custom registration forms, manage attendees, use custom capacity options, and more. Guest check in is easy with QR codes and our custom scanning app."
1388
 
1389
  #: src/views/tickets/tpp.php:93
1390
  msgid "%1$s available"
1391
+ msgstr ""
1392
 
1393
  #: src/views/tickets/tpp.php:54
1394
  msgid "Please fill in the ticket confirmation name and email fields."
1395
+ msgstr ""
1396
 
1397
  #: src/views/tickets/tpp.php:36
1398
  msgctxt "form heading"
1399
  msgid "Tickets"
1400
+ msgstr ""
1401
 
1402
  #: src/views/tickets/tpp-success.php:134 src/Tribe/Privacy.php:524
1403
  msgid "Order Total"
1404
+ msgstr ""
1405
 
1406
  #: src/views/tickets/tpp-success.php:80
1407
  msgctxt "Success page tickets table header"
1408
  msgid "Subtotal"
1409
+ msgstr ""
1410
 
1411
  #: src/views/tickets/tpp-success.php:79
1412
  msgctxt "Success page tickets table header"
1413
  msgid "Quantity"
1414
+ msgstr ""
1415
 
1416
  #: src/views/tickets/tpp-success.php:78
1417
  msgctxt "Success page tickets table header"
1418
  msgid "Price"
1419
+ msgstr ""
1420
 
1421
  #: src/views/tickets/tpp-success.php:77
1422
  msgctxt "Success page tickets table header"
1423
  msgid "Ticket"
1424
+ msgstr ""
1425
 
1426
  #: src/views/tickets/tpp-success.php:65
1427
  msgid "Thank you for your purchase! You will receive your receipt and tickets via email."
1428
+ msgstr ""
1429
 
1430
  #: src/views/tickets/tpp-success.php:56
1431
  msgid "Your order (#%s) is currently processing. Once completed, you'll receive your ticket(s) in an email."
1432
+ msgstr ""
1433
 
1434
  #: src/views/tickets/tpp-success.php:48
1435
  msgid "Whoops! It looks like there was a problem with your order. Please contact the site owner for assistance."
1436
+ msgstr ""
1437
 
1438
  #: src/views/tickets/tpp-success.php:42
1439
  msgid "No order confirmation is available because no purchase was made."
1440
+ msgstr ""
1441
 
1442
  #: src/views/tickets/orders-pp-tickets.php:71
1443
  msgctxt "order status label"
1444
  msgid "Payment status: "
1445
+ msgstr ""
1446
 
1447
  #: src/views/tickets/orders-pp-tickets.php:41
1448
  msgid "Purchased by %1$s (%2$s)"
1449
+ msgstr ""
1450
 
1451
  #: src/views/tickets/orders-pp-tickets.php:32
1452
  msgid "My Tickets for This %s"
1453
+ msgstr ""
1454
 
1455
  #: src/views/login-to-purchase.php:16
1456
  #: src/views/blocks/tickets/submit-login.php:19
1457
  msgid "Log in to purchase"
1458
+ msgstr ""
1459
 
1460
  #: src/views/login-before-purchase.php:24
1461
  msgctxt "Registration link on Tribe Commerce checkout page, shown as an alternative the login link"
1462
  msgid "create an account"
1463
+ msgstr ""
1464
 
1465
  #: src/views/login-before-purchase.php:23
1466
  msgctxt "Login link on Tribe Commerce checkout page, shown as an alternative to the registration link"
1467
  msgid "Log in"
1468
+ msgstr ""
1469
 
1470
  #: src/views/login-before-purchase.php:21
1471
  msgctxt "Login link on Tribe Commerce checkout page"
1472
  msgid "Log in before purchasing"
1473
+ msgstr ""
1474
 
1475
  #: src/admin-views/tribe-options-tickets.php:358
1476
  msgid "Override the default IPN notify URL with this value. This value must be the same set in PayPal IPN Notifications settings area (%s)."
1477
+ msgstr ""
1478
 
1479
  #: src/admin-views/tribe-options-tickets.php:356
1480
  msgid "IPN Notify URL"
1481
+ msgstr ""
1482
 
1483
  #: src/admin-views/tribe-options-tickets.php:347
1484
  msgid "You can see and manage your IPN Notifications history from the IPN Notifications settings area (%s)."
1485
+ msgstr ""
1486
 
1487
  #: src/admin-views/tribe-options-tickets.php:344
1488
  msgid "See your IPN Notification history"
1489
+ msgstr ""
1490
 
1491
  #: src/admin-views/tribe-options-tickets.php:334
1492
  msgid "Enables PayPal Sandbox mode for testing."
1493
+ msgstr ""
1494
 
1495
  #: src/admin-views/tribe-options-tickets.php:333
1496
  msgid "PayPal Sandbox"
1497
+ msgstr ""
1498
 
1499
  #: src/admin-views/tribe-options-tickets.php:325
1500
  msgid "Subject of the confirmation email sent to customers when confirming a ticket purchase."
1501
+ msgstr ""
1502
 
1503
  #: src/admin-views/tribe-options-tickets.php:324
1504
  msgid "Confirmation email subject"
1505
+ msgstr ""
1506
 
1507
  #: src/admin-views/tribe-options-tickets.php:316
1508
  msgid "Sender name of the confirmation email sent to customers when confirming a ticket purchase."
1509
+ msgstr ""
1510
 
1511
  #: src/admin-views/tribe-options-tickets.php:315
1512
  msgid "Confirmation email sender name"
1513
+ msgstr ""
1514
 
1515
  #: src/admin-views/tribe-options-tickets.php:308
1516
  msgid "Email address PayPal tickets customers will receive confirmation from."
1517
+ msgstr ""
1518
 
1519
  #: src/admin-views/tribe-options-tickets.php:307
1520
  msgid "Confirmation email sender address"
1521
+ msgstr ""
1522
 
1523
  #: src/admin-views/tribe-options-tickets.php:293
1524
  msgid "Success page"
1525
+ msgstr ""
1526
 
1527
  #: src/admin-views/tribe-options-tickets.php:287
1528
  msgid "Only decrease available ticket stock if an order is confirmed as Completed by PayPal."
1529
+ msgstr ""
1530
 
1531
  #: src/admin-views/tribe-options-tickets.php:286
1532
  msgid "Decrease available ticket stock as soon as a Pending order is created."
1533
+ msgstr ""
1534
 
1535
  #: src/admin-views/tribe-options-tickets.php:282
1536
  msgid "When a customer purchases a ticket, PayPal might flag the order as Pending. The order will be Complete once payment is confirmed by PayPal."
1537
+ msgstr ""
1538
 
1539
  #: src/admin-views/tribe-options-tickets.php:281
1540
  msgid "Stock Handling"
1541
+ msgstr ""
1542
 
1543
  #: src/admin-views/tribe-options-tickets.php:274
1544
  msgid "The currency that will be used for Tribe Commerce transactions."
1545
+ msgstr ""
1546
 
1547
  #: src/admin-views/tribe-options-tickets.php:273
1548
  msgid "Currency Code"
1549
+ msgstr ""
1550
 
1551
  #: src/admin-views/tribe-options-tickets.php:261
1552
  msgid "PayPal configuration status:"
1553
+ msgstr ""
1554
 
1555
  #: src/admin-views/tribe-options-tickets.php:238
1556
  #: src/admin-views/tribe-options-tickets.php:250
1557
  msgid "No"
1558
+ msgstr ""
1559
 
1560
  #: src/admin-views/tribe-options-tickets.php:235
1561
  msgid "Have you enabled instant payment notifications (IPN) in your PayPal account's Selling Tools?"
1562
+ msgstr ""
1563
 
1564
  #: src/admin-views/tribe-options-tickets.php:227
1565
  msgid "PayPal email to receive payments:"
1566
+ msgstr ""
1567
 
1568
  #: src/admin-views/tribe-options-tickets.php:221
1569
  msgid "Configure PayPal:"
1570
+ msgstr ""
1571
 
1572
  #: src/admin-views/tribe-options-tickets.php:213
1573
  msgid "Your site address is: %s"
1574
+ msgstr ""
1575
 
1576
  #: src/admin-views/tribe-options-tickets.php:211
1577
  msgid "Have you entered this site's address in the Notification URL field in IPN Settings?"
1578
+ msgstr ""
1579
 
1580
  #: src/admin-views/tribe-options-tickets.php:205
1581
  msgid "In order to use Tribe Commerce to sell tickets, you must configure your PayPal account to communicate with your WordPress site. If you need help getting set up, follow %s"
1582
+ msgstr ""
1583
 
1584
  #: src/admin-views/tribe-options-tickets.php:203
1585
  msgid "these instructions"
1586
+ msgstr ""
1587
 
1588
  #: src/admin-views/tribe-options-tickets.php:176
1589
  msgid "Check this box if you wish to turn on Tribe Commerce functionality"
1590
+ msgstr ""
1591
 
1592
  #: src/admin-views/tribe-options-tickets.php:175
1593
  msgid "Enable Tribe Commerce "
1594
+ msgstr ""
1595
 
1596
  #: src/admin-views/tribe-options-tickets.php:140
1597
  msgid "Tribe Commerce"
1598
+ msgstr ""
1599
 
1600
  #: src/admin-views/tribe-options-tickets.php:44
1601
  msgid "Require users to log in before they purchase tickets"
1602
+ msgstr ""
1603
 
1604
  #: src/admin-views/tpp-orders.php:114
1605
  msgid "Total Sales: %s %s"
1606
+ msgstr ""
1607
 
1608
  #: src/admin-views/tpp-orders.php:93
1609
  msgid "SKU: (%s)"
1610
+ msgstr ""
1611
 
1612
  #: src/admin-views/tpp-orders.php:26
1613
  msgctxt "post type details"
1614
  msgid "%s Details"
1615
+ msgstr ""
1616
 
1617
  #: src/admin-views/tpp-metabox-sku.php:30 src/resources/js/app/blocks.js:42442
1618
  msgid "A unique identifying code for each ticket type you're selling"
1619
+ msgstr ""
1620
 
1621
  #: src/admin-views/tpp-metabox-sku.php:20
1622
  msgid "SKU:"
1623
+ msgstr ""
1624
 
1625
  #: src/admin-views/editor/panel/list.php:66
1626
  msgid "New ticket"
1627
+ msgstr ""
1628
 
1629
  #: src/admin-views/editor/panel/list.php:9
1630
  msgid "No commerce providers available"
1631
+ msgstr ""
1632
 
1633
  #: src/admin-views/editor/panel/list.php:8
1634
  msgid "Add a new ticket"
1635
+ msgstr ""
1636
 
1637
  #: src/admin-views/editor/fieldset/settings-provider.php:33
1638
  msgid "Note: adjusting this setting will only impact new tickets. Existing tickets will not change. We highly recommend that all tickets for one event use the same ecommerce plugin."
1639
+ msgstr ""
1640
 
1641
  #: src/admin-views/editor/fieldset/settings-provider.php:33
1642
  msgid "It looks like you have multiple ecommerce plugins active. We recommend running only one at a time. However, if you need to run multiple, please select which one to use to sell tickets for this event."
1643
+ msgstr ""
1644
 
1645
  #: src/admin-views/editor/fieldset/settings-provider.php:32
1646
  msgid "Sell tickets using:"
1647
+ msgstr ""
1648
 
1649
  #: src/admin-views/editor/fieldset/price.php:68
1650
  msgid "Current sale price. This can be managed via the product editor."
1651
+ msgstr ""
1652
 
1653
  #: src/admin-views/editor/fieldset/price.php:21
1654
  msgid "Leave blank for free tickets"
1655
+ msgstr ""
1656
 
1657
  #: src/admin-views/editor/fieldset/price.php:7
1658
  msgid "Ticket Price must be greater than zero."
1659
+ msgstr ""
1660
 
1661
  #: src/views/registration/summary/tickets-header.php:14
1662
  #: src/admin-views/editor/column-head-price.php:1
1663
  msgid "Price"
1664
+ msgstr ""
1665
 
1666
  #: src/admin-views/editor/button-view-orders.php:35
1667
  msgid "View Orders"
1668
+ msgstr ""
1669
 
1670
  #: src/Tribe/Metabox.php:349 src/Tribe/Metabox.php:386
1671
  msgid "The attendee ID is missing from the request parameters."
1672
+ msgstr ""
1673
 
1674
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:157
1675
  msgid "denied"
1676
+ msgstr ""
1677
 
1678
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:156
1679
  msgid "refunded"
1680
+ msgstr ""
1681
 
1682
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:154
1683
  msgid "completed"
1684
+ msgstr ""
1685
 
1686
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:153
1687
  msgid "undefined"
1688
+ msgstr ""
1689
 
1690
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:149
1691
  msgid "unavailable"
1692
+ msgstr ""
1693
 
1694
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:118
1695
  msgid "This ticket is no longer active."
1696
+ msgstr ""
1697
 
1698
  #: src/Tribe/Commerce/PayPal/Stati.php:131
1699
  msgid "Denied <span class=\"count\">(%s)</span>"
1700
  msgid_plural "Denied <span class=\"count\">(%s)</span>"
1701
+ msgstr[0] ""
1702
+ msgstr[1] ""
1703
 
1704
  #: src/Tribe/Commerce/PayPal/Stati.php:126
1705
  msgctxt "A PayPal order status"
1706
  msgid "Denied"
1707
+ msgstr ""
1708
 
1709
  #: src/Tribe/Commerce/PayPal/Stati.php:122
1710
  msgid "Refunded <span class=\"count\">(%s)</span>"
1711
  msgid_plural "Refunded <span class=\"count\">(%s)</span>"
1712
+ msgstr[0] ""
1713
+ msgstr[1] ""
1714
 
1715
  #: src/Tribe/Commerce/PayPal/Stati.php:117
1716
  msgctxt "A PayPal order status"
1717
  msgid "Refunded"
1718
+ msgstr ""
1719
 
1720
  #: src/Tribe/Commerce/PayPal/Stati.php:113
1721
  msgid "Pending <span class=\"count\">(%s)</span>"
1722
  msgid_plural "Pending <span class=\"count\">(%s)</span>"
1723
+ msgstr[0] ""
1724
+ msgstr[1] ""
1725
 
1726
  #: src/Tribe/Commerce/PayPal/Stati.php:108
1727
  msgctxt "A PayPal order status"
1728
  msgid "Pending"
1729
+ msgstr ""
1730
 
1731
  #: src/Tribe/Commerce/PayPal/Stati.php:104
1732
  msgid "Not completed <span class=\"count\">(%s)</span>"
1733
  msgid_plural "Not completed <span class=\"count\">(%s)</span>"
1734
+ msgstr[0] ""
1735
+ msgstr[1] ""
1736
 
1737
  #: src/Tribe/Commerce/PayPal/Stati.php:99
1738
  msgctxt "A PayPal order status"
1739
  msgid "Not completed"
1740
+ msgstr ""
1741
 
1742
  #: src/Tribe/Commerce/PayPal/Stati.php:95
1743
  msgid "Completed <span class=\"count\">(%s)</span>"
1744
  msgid_plural "Completed <span class=\"count\">(%s)</span>"
1745
+ msgstr[0] ""
1746
+ msgstr[1] ""
1747
 
1748
  #: src/Tribe/Commerce/PayPal/Stati.php:90
1749
  msgctxt "A PayPal order status"
1750
  msgid "Completed"
1751
+ msgstr ""
1752
 
1753
  #: src/Tribe/Commerce/PayPal/Oversell/Sell_Available.php:47
1754
  msgid "Sell only available"
1755
+ msgstr ""
1756
 
1757
  #: src/Tribe/Commerce/PayPal/Oversell/Sell_All.php:46
1758
  msgid "Oversell all requested"
1759
+ msgstr ""
1760
 
1761
  #: src/Tribe/Commerce/PayPal/Oversell/No_Oversell.php:46
1762
  msgid "Do not oversell"
1763
+ msgstr ""
1764
 
1765
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:242
1766
  msgid "Process order"
1767
+ msgstr ""
1768
 
1769
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:224
1770
  msgid "Delete all attendees for this order and do not email tickets. You may also want to refund the order %1$sin your PayPal account%2$s."
1771
+ msgstr ""
1772
 
1773
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:217
1774
  msgid "Create attendee records and send emails for all tickets in this order (overselling the event)."
1775
+ msgstr ""
1776
 
1777
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:124
1778
  msgid "%1$s is oversold: there are more tickets sold than the available capacity. This can occur when the PayPal transaction is not completed immediately, delaying the decrease in ticket availability. Order %2$s includes %3$s ticket(s). There are only %4$s ticket(s) left. Ticket emails have not yet been sent for this order. Choose how to process this order from the options below."
1779
+ msgstr ""
1780
 
1781
  #. Description of the plugin
1782
  msgid "Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event."
1783
+ msgstr ""
1784
 
1785
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:122
1786
  msgid "in your PayPal account"
1787
+ msgstr ""
1788
 
1789
  #: src/Tribe/Commerce/PayPal/Oversell/Admin_Notice_Decorator.php:110
1790
  msgid "An event"
1791
+ msgstr ""
1792
 
1793
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:247
1794
  msgid "No matching orders found."
1795
+ msgstr ""
1796
 
1797
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:157
1798
  msgid "Refunded with %s"
1799
+ msgstr ""
1800
 
1801
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:150
1802
  msgid "%1$s"
1803
+ msgstr ""
1804
 
1805
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:79
1806
  msgid "Total"
1807
+ msgstr ""
1808
 
1809
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:76
1810
  msgid "Status"
1811
+ msgstr ""
1812
 
1813
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:75 src/Tribe/Privacy.php:169
1814
  #: src/Tribe/Privacy.php:450 src/Tribe/Privacy.php:546
1815
  msgid "Date"
1816
+ msgstr ""
1817
 
1818
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:74
1819
  msgid "Purchased"
1820
+ msgstr ""
1821
 
1822
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:71
1823
  msgid "Order"
1824
+ msgstr ""
1825
 
1826
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:42
1827
  msgid "Number of orders per page:"
1828
+ msgstr ""
1829
 
1830
  #: src/Tribe/Commerce/PayPal/Orders/Sales.php:261
1831
  msgid "Not completed"
1832
+ msgstr ""
1833
 
1834
  #: src/Tribe/Commerce/PayPal/Orders/Sales.php:257
1835
  msgid "Completed"
1836
+ msgstr ""
1837
 
1838
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:271
1839
  msgid "Search Orders"
1840
+ msgstr ""
1841
 
1842
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:207
1843
  msgctxt "Browser title"
1844
  msgid "%s - PayPal Orders"
1845
+ msgstr ""
1846
 
1847
  #: src/Tribe/Commerce/PayPal/Orders/Tab.php:33
1848
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:102
1849
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:151
1850
  msgid "PayPal Orders"
1851
+ msgstr ""
1852
 
1853
  #: src/Tribe/Commerce/PayPal/Orders/Report.php:100
1854
  msgid "See PayPal purchases for this %s"
1855
+ msgstr ""
1856
 
1857
  #: src/Tribe/Commerce/PayPal/Notices.php:45
1858
  msgid "set it here"
1859
+ msgstr ""
1860
 
1861
  #: src/Tribe/Commerce/PayPal/Notices.php:43
1862
  msgid "PayPal is using PDT data but you have not set the PDT identity token"
1863
+ msgstr ""
1864
 
1865
  #: src/Tribe/Commerce/PayPal/Main.php:2184
1866
  msgctxt "a PayPal ticket order status"
1867
  msgid "Not Completed"
1868
+ msgstr ""
1869
 
1870
  #: src/Tribe/Commerce/PayPal/Main.php:2183
1871
  msgctxt "a PayPal ticket order status"
1872
  msgid "Denied"
1873
+ msgstr ""
1874
 
1875
  #: src/Tribe/Commerce/PayPal/Main.php:2182
1876
  msgctxt "a PayPal ticket order status"
1877
  msgid "Pending"
1878
+ msgstr ""
1879
 
1880
  #: src/Tribe/Commerce/PayPal/Main.php:2181
1881
  msgctxt "a PayPal ticket order status"
1882
  msgid "Refunded"
1883
+ msgstr ""
1884
 
1885
  #: src/Tribe/Commerce/PayPal/Main.php:2180
1886
  msgctxt "a PayPal ticket order status"
1887
  msgid "Completed"
1888
+ msgstr ""
1889
 
1890
  #: src/Tribe/Commerce/PayPal/Main.php:2179
1891
  msgctxt "a PayPal ticket order status"
1892
  msgid "Undefined"
1893
+ msgstr ""
1894
 
1895
  #: src/Tribe/Commerce/PayPal/Main.php:1755
1896
  msgid "Report"
1897
+ msgstr ""
1898
 
1899
  #: src/Tribe/Commerce/PayPal/Main.php:1729
1900
  msgid "Sales report"
1901
+ msgstr ""
1902
 
1903
  #: src/Tribe/Commerce/PayPal/Main.php:452
1904
  #: src/modules/blocks/tickets/action-buttons/orders/template.js:25
1905
  #: src/resources/js/app/blocks.js:40151
1906
  msgid "Orders"
1907
+ msgstr ""
1908
 
1909
  #: src/Tribe/Commerce/PayPal/Main.php:427
1910
  msgid "Tribe Commerce Ticket"
1911
+ msgstr ""
1912
 
1913
  #: src/Tribe/Commerce/PayPal/Main.php:426
1914
  msgid "Tribe Commerce Tickets"
1915
+ msgstr ""
1916
 
1917
  #: src/Tribe/Commerce/PayPal/Main.php:176
1918
  msgctxt "ticket provider"
1919
  msgid "Tribe Commerce"
1920
+ msgstr ""
1921
 
1922
  #: src/Tribe/Commerce/PayPal/Links.php:56
1923
  msgid "Profile and Settings > My selling tools > Instant Payment Notification > Update"
1924
+ msgstr ""
1925
 
1926
  #: src/Tribe/Commerce/PayPal/Links.php:29
1927
  msgid "Profile and Settings > My selling tools > Instant Payment Notification > IPN History Page"
1928
+ msgstr ""
1929
 
1930
  #: src/Tribe/Commerce/PayPal/Handler/IPN.php:147
1931
  #: src/Tribe/Commerce/PayPal/Handler/Invalid_PDT.php:74
1932
  #: src/Tribe/Commerce/PayPal/Handler/PDT.php:136
1933
  msgctxt "a PayPal configuration status"
1934
  msgid "incomplete"
1935
+ msgstr ""
1936
 
1937
  #: src/Tribe/Commerce/PayPal/Handler/IPN.php:143
1938
  msgctxt "a PayPal configuration status"
1939
  msgid "complete"
1940
+ msgstr ""
1941
 
1942
  #: src/Tribe/Commerce/PayPal/Frontend/Tickets_Form.php:69
1943
  msgid "Your PayPal Ticket has been received! Check your email for your PayPal Ticket confirmation."
1944
+ msgstr ""
1945
 
1946
  #: src/Tribe/Commerce/PayPal/Errors.php:34
1947
  msgid "Your order is currently processing. Once completed, you'll receive your ticket(s) in an email."
1948
+ msgstr ""
1949
 
1950
  #: src/Tribe/Commerce/PayPal/Errors.php:31
1951
  msgid "You should add at least one ticket."
1952
+ msgstr ""
1953
 
1954
  #: src/Tribe/Commerce/PayPal/Errors.php:30
1955
  msgid "You can't add more tickets than the total remaining tickets."
1956
+ msgstr ""
1957
 
1958
  #: src/Tribe/Commerce/PayPal/Errors.php:29
1959
  msgid "In order to purchase tickets, you must enter your name and a valid email address."
1960
+ msgstr ""
1961
 
1962
  #: src/Tribe/Commerce/PayPal/Errors.php:26
1963
  msgid "Ticket quantity is 0"
1964
+ msgstr ""
1965
 
1966
  #: src/Tribe/Commerce/PayPal/Errors.php:25
1967
  msgid "Trying to oversell a ticket but the current oversell policy does not allow it"
1968
+ msgstr ""
1969
 
1970
  #: src/Tribe/Commerce/PayPal/Errors.php:24
1971
  msgid "Attendee email and/or full name is missing"
1972
+ msgstr ""
1973
 
1974
  #: src/Tribe/Commerce/PayPal/Errors.php:23
1975
  msgid "There was an error"
1976
+ msgstr ""
1977
 
1978
  #: src/Tribe/Commerce/PayPal/Endpoints/Success_Template.php:99
1979
  #: src/Tribe/Commerce/PayPal/Tickets_View.php:155
1980
  msgid "pending"
1981
+ msgstr ""
1982
 
1983
  #: src/Tribe/Commerce/PayPal/Attendance_Totals.php:71
1984
  msgctxt "attendee summary"
1985
  msgid "Complete:"
1986
+ msgstr ""
1987
 
1988
  #: src/Tribe/Commerce/PayPal/Attendance_Totals.php:70
1989
  msgctxt "attendee summary"
1992
 
1993
  #: src/Tribe/Commerce/Currency.php:293
1994
  msgid "U.S. Dollar (USD)"
1995
+ msgstr ""
1996
 
1997
  #: src/Tribe/Commerce/Currency.php:287
1998
  msgid "Taiwan New Dollar (TWD)"
1999
+ msgstr ""
2000
 
2001
  #: src/Tribe/Commerce/Currency.php:281
2002
  msgid "Thai Baht (THB)"
2003
+ msgstr ""
2004
 
2005
  #: src/Tribe/Commerce/Currency.php:275
2006
  msgid "Singapore Dollar (SGD)"
2007
+ msgstr ""
2008
 
2009
  #: src/Tribe/Commerce/Currency.php:269
2010
  msgid "Swedish Krona (SEK)"
2011
+ msgstr ""
2012
 
2013
  #: src/Tribe/Commerce/Currency.php:263
2014
  msgid "Polish Zloty (PLN)"
2015
+ msgstr ""
2016
 
2017
  #: src/Tribe/Commerce/Currency.php:257
2018
  msgid "Philippine Peso (PHP)"
2019
+ msgstr ""
2020
 
2021
  #: src/Tribe/Commerce/Currency.php:251
2022
  msgid "New Zealand Dollar (NZD)"
2023
+ msgstr ""
2024
 
2025
  #: src/Tribe/Commerce/Currency.php:245
2026
  msgid "Norwegian Krone (NOK)"
2027
+ msgstr ""
2028
 
2029
  #: src/Tribe/Commerce/Currency.php:239
2030
  msgid "Mexican Peso (MXN)"
2031
+ msgstr ""
2032
 
2033
  #: src/Tribe/Commerce/Currency.php:233
2034
  msgid "Malaysian Ringgit (MYR)"
2035
+ msgstr ""
2036
 
2037
  #: src/Tribe/Commerce/Currency.php:227
2038
  msgid "Japanese Yen (JPY)"
2039
+ msgstr ""
2040
 
2041
  #: src/Tribe/Commerce/Currency.php:221
2042
  msgid "Israeli New Sheqel (ILS)"
2043
+ msgstr ""
2044
 
2045
  #: src/Tribe/Commerce/Currency.php:215
2046
  msgid "Hungarian Forint (HUF)"
2047
+ msgstr ""
2048
 
2049
  #: src/Tribe/Commerce/Currency.php:209
2050
  msgid "Hong Kong Dollar (HKD)"
2051
+ msgstr ""
2052
 
2053
  #: src/Tribe/Commerce/Currency.php:203
2054
  msgid "Pound Sterling (GBP)"
2055
+ msgstr ""
2056
 
2057
  #: src/Tribe/Commerce/Currency.php:197
2058
  msgid "Euro (EUR)"
2059
+ msgstr ""
2060
 
2061
  #: src/Tribe/Commerce/Currency.php:191
2062
  msgid "Danish Krone (DKK)"
2063
+ msgstr ""
2064
 
2065
  #: src/Tribe/Commerce/Currency.php:184
2066
  msgid "Czech Koruna (CZK)"
2067
+ msgstr ""
2068
 
2069
  #: src/Tribe/Commerce/Currency.php:178
2070
  msgid "Swiss Franc (CHF)"
2071
+ msgstr ""
2072
 
2073
  #: src/Tribe/Commerce/Currency.php:172
2074
  msgid "Canadian Dollar (CAD)"
2075
+ msgstr ""
2076
 
2077
  #: src/Tribe/Commerce/Currency.php:166
2078
  msgid "Brazilian Real (BRL)"
2079
+ msgstr ""
2080
 
2081
  #: src/Tribe/Commerce/Currency.php:160
2082
  msgid "Australian Dollar (AUD)"
2083
+ msgstr ""
2084
 
2085
  #: src/Tribe/Attendees_Table.php:776
2086
  msgid "No matching attendees found."
2087
+ msgstr ""
2088
 
2089
  #: src/Tribe/Attendees_Table.php:44
2090
  msgid "Number of attendees per page:"
2091
+ msgstr ""
2092
 
2093
  #: src/Tribe/Admin/Notices.php:53
2094
  msgid "Event Tickets does not support ticket sales via third party ecommerce plugins. If you want to sell tickets with %1$s, please purchase a license for %2$s."
2095
+ msgstr ""
2096
 
2097
  #: common/src/Tribe/Validate.php:184
2098
  msgid "%s must not be empty"
2099
+ msgstr ""
2100
 
2101
  #: src/template-tags/tickets.php:429
2102
  msgctxt "ticket shared capacity message (remaining stock)"
2107
  #: src/admin-views/tpp-metabox-capacity.php:25
2108
  #: src/resources/js/app/blocks.js:42093
2109
  msgid "Leave blank for unlimited"
2110
+ msgstr ""
2111
 
2112
  #: src/admin-views/editor/panel/ticket.php:190
2113
  msgid "Save RSVP"
2114
+ msgstr ""
2115
 
2116
  #: src/admin-views/editor/panel/ticket.php:181
2117
  msgid "Save ticket"
2118
+ msgstr ""
2119
 
2120
  #: src/admin-views/editor/panel/ticket.php:99
2121
  msgid "Ticket type name shows on the front end and emailed tickets"
2122
+ msgstr ""
2123
 
2124
  #: src/admin-views/editor/panel/ticket.php:97
2125
  msgid "Ticket Type is a required field."
2126
+ msgstr ""
2127
 
2128
  #: src/admin-views/editor/panel/ticket.php:88
2129
  msgid "Type:"
2131
 
2132
  #: src/admin-views/editor/panel/ticket.php:83
2133
  msgid "Edit RSVP"
2134
+ msgstr ""
2135
 
2136
  #: src/admin-views/editor/panel/ticket.php:75
2137
  msgid "Add new RSVP"
2138
+ msgstr ""
2139
 
2140
  #: src/admin-views/editor/panel/settings.php:80
2141
  msgid "Save settings"
2142
+ msgstr ""
2143
 
2144
  #: src/admin-views/editor/panel/settings.php:43
2145
  #: src/modules/blocks/rsvp/header-image/template.js:26
2146
  #: src/modules/blocks/tickets/header-image/template.js:26
2147
  #: src/resources/js/app/blocks.js:39347 src/resources/js/app/blocks.js:40609
2148
  msgid "Select an image from your Media Library to display on emailed tickets. For best results, use a .jpg, .png, or .gif at least 1160px wide."
2149
+ msgstr ""
2150
 
2151
  #: src/admin-views/editor/panel/settings.php:41
2152
  msgid "Ticket header image:"
2153
+ msgstr ""
2154
 
2155
  #: src/admin-views/editor/panel/list.php:74
2156
  msgid "New RSVP"
2157
+ msgstr ""
2158
 
2159
  #: src/admin-views/editor/panel/list.php:72
2160
  msgid "Add a new RSVP"
2161
+ msgstr ""
2162
 
2163
  #: src/admin-views/editor/panel/list.php:43
2164
  msgid "View Attendees"
2165
+ msgstr ""
2166
 
2167
  #: src/admin-views/editor/panel/list.php:15
2168
  msgid "You have unsaved changes to your tickets. Discard those changes?"
2169
+ msgstr ""
2170
 
2171
  #: src/admin-views/editor/list-table.php:40
2172
  msgid "Available"
2173
+ msgstr ""
2174
 
2175
  #: src/admin-views/editor/list-table.php:39
2176
  #: src/modules/blocks/tickets/capacity-table/template.js:36
2177
  #: src/resources/js/app/blocks.js:40496
2178
  msgid "Capacity"
2179
+ msgstr ""
2180
 
2181
  #: src/admin-views/editor/list-row.php:112
2182
  msgid "( Ticket ID: %d )"
2183
+ msgstr ""
2184
 
2185
  #: src/admin-views/editor/list-row.php:98
2186
  msgid "The number of Complete ticket sales does not match the number of attendees. Please check the Attendees list and adjust ticket stock in WooCommerce as needed."
2187
+ msgstr ""
2188
 
2189
  #: src/admin-views/editor/list-row.php:96
2190
  msgid "Available:"
2191
+ msgstr ""
2192
 
2193
  #: src/admin-views/rsvp-metabox-capacity.php:10
2194
  #: src/admin-views/editor/list-row.php:91
2195
  #: src/admin-views/tpp-metabox-capacity.php:16
2196
  msgid "Capacity:"
2197
+ msgstr ""
2198
 
2199
  #: src/admin-views/editor/fieldset/history.php:30
2200
  msgid "Ti"
2201
+ msgstr ""
2202
 
2203
  #: src/admin-views/editor/fieldset/history.php:27
2204
  msgid "History"
2205
+ msgstr ""
2206
 
2207
  #: src/admin-views/editor/fieldset/advanced.php:132
2208
  msgid "If you do not set an end sale date, tickets sales will never end."
2209
+ msgstr ""
2210
 
2211
  #: src/admin-views/editor/fieldset/advanced.php:130
2212
  msgid "If you do not set an end sale date, tickets will be available until the event begins."
2213
+ msgstr ""
2214
 
2215
  #: src/admin-views/editor/fieldset/advanced.php:124
2216
  msgid "Ticket end date"
2217
+ msgstr ""
2218
 
2219
  #: src/admin-views/editor/fieldset/advanced.php:98
2220
  #: src/modules/blocks/ticket/container-content/advanced-options/duration/template.js:29
2221
  #: src/resources/js/app/blocks.js:42246
2222
  msgid "If you do not set a start sale date, tickets will be available immediately."
2223
+ msgstr ""
2224
 
2225
  #: src/admin-views/editor/fieldset/advanced.php:97
2226
  #: src/admin-views/editor/fieldset/advanced.php:126
2227
  msgid "HH:MM"
2228
+ msgstr ""
2229
 
2230
  #: src/admin-views/editor/fieldset/advanced.php:95
2231
  msgid "Ticket start date"
2232
+ msgstr ""
2233
 
2234
  #: src/admin-views/editor/fieldset/advanced.php:84
2235
  #: src/admin-views/editor/fieldset/advanced.php:113
2237
  #: common/src/resources/js/app/elements.js:9791
2238
  #: common/src/resources/js/app/utils.js:7339
2239
  msgid "at"
2240
+ msgstr ""
2241
 
2242
  #: src/admin-views/editor/fieldset/advanced.php:83
2243
  #: src/admin-views/editor/fieldset/advanced.php:112
2244
  msgid "YYYY-MM-DD"
2245
+ msgstr ""
2246
 
2247
  #: src/admin-views/editor/fieldset/advanced.php:65
2248
  msgid "Show description on front end ticket form."
2249
+ msgstr ""
2250
 
2251
  #: src/admin-views/editor/fieldset/advanced.php:47
2252
  msgid "Description:"
2253
+ msgstr ""
2254
 
2255
  #: src/admin-views/editor/fieldset/advanced.php:45
2256
  msgid "Advanced Settings"
2257
+ msgstr ""
2258
 
2259
  #: src/admin-views/editor/fieldset/advanced.php:42
2260
  msgid "Advanced"
2261
+ msgstr ""
2262
 
2263
  #: src/admin-views/editor/fieldset/advanced.php:38
2264
  msgid "Start sale date cannot be greater than End Sale date"
2265
+ msgstr ""
2266
 
2267
  #: src/admin-views/editor/fieldset/advanced.php:37
2268
  msgid "Start sale date cannot be empty."
2269
+ msgstr ""
2270
 
2271
  #: src/admin-views/admin-welcome-message.php:25
2272
  msgid "Event Tickets Features"
2273
+ msgstr ""
2274
 
2275
  #: src/admin-views/admin-welcome-message.php:24
2276
  msgid "Settings Overview"
2277
+ msgstr ""
2278
 
2279
  #: src/admin-views/admin-welcome-message.php:15
2280
  msgid "If you need a little help, hit us up in %s."
2281
+ msgstr ""
2282
 
2283
  #: src/admin-views/admin-welcome-message.php:14
2284
  msgid "Giving you the best experience with our plugin is our top goal. Check out the resources below for a step-by-step introduction to your new features or head straight to the Events section in your admin to create your first ticket."
2285
+ msgstr ""
2286
 
2287
  #: src/admin-views/admin-welcome-message.php:13
2288
  msgid "Welcome to Event Tickets!"
2289
+ msgstr ""
2290
 
2291
  #: src/admin-views/admin-welcome-message.php:5
2292
  msgid "our support forums"
2293
+ msgstr ""
2294
 
2295
  #: src/views/blocks/rsvp/details/availability.php:27
2296
  #: src/views/blocks/tickets/extra-available-unlimited.php:17
2301
  #: src/resources/js/app/blocks.js:6169 src/resources/js/app/blocks.js:38007
2302
  #: src/resources/js/app/data.js:6147
2303
  msgid "Unlimited"
2304
+ msgstr ""
2305
 
2306
  #: src/Tribe/Tickets.php:1196 src/modules/data/blocks/ticket/options.js:16
2307
  #: src/resources/js/app/blocks.js:6166 src/resources/js/app/data.js:6144
2308
  msgid "Set capacity for this ticket only"
2309
+ msgstr ""
2310
 
2311
  #: src/Tribe/Tickets.php:1195
2312
  msgid "Shared capacity with other tickets"
2313
+ msgstr ""
2314
 
2315
  #: src/Tribe/Tickets.php:459
2316
  #: src/modules/blocks/ticket/container-content/advanced-options/move-delete/template.js:17
2317
  #: src/resources/js/app/blocks.js:42524
2318
  msgid "Move Ticket"
2319
+ msgstr ""
2320
 
2321
  #: src/Tribe/Tickets.php:459
2322
  #: src/modules/blocks/rsvp/advanced-options/move-delete/template.js:17
2323
  #: src/resources/js/app/blocks.js:38475
2324
  msgid "Move RSVP"
2325
+ msgstr ""
2326
 
2327
  #: src/Tribe/Tickets.php:384
2328
  msgid "Delete Ticket"
2329
+ msgstr ""
2330
 
2331
  #: src/Tribe/Tickets.php:384
2332
  msgid "Delete RSVP"
2333
+ msgstr ""
2334
 
2335
  #: src/Tribe/Metabox.php:311
2336
  msgid "Failed to Delete the Ticket, Refresh the Page to try again."
2337
+ msgstr ""
2338
 
2339
  #: src/Tribe/Metabox.php:271 src/Tribe/Metabox.php:317
2340
  #: src/Tribe/Metabox.php:355 src/Tribe/Metabox.php:392
2341
  #: src/Tribe/Editor/REST/V1/Endpoints/Single_Ticket.php:66
2342
  #: src/Tribe/Editor/REST/V1/Endpoints/Single_Ticket.php:242
2343
  msgid "Commerce Module invalid"
2344
+ msgstr ""
2345
 
2346
  #: src/Tribe/Metabox.php:265
2347
  msgid "Failed to Edit the Ticket, Refresh the Page to try again."
2348
+ msgstr ""
2349
 
2350
  #: src/Tribe/Metabox.php:255 src/Tribe/Metabox.php:307
2351
  msgid "Invalid Ticket"
2352
+ msgstr ""
2353
 
2354
  #: src/Tribe/Metabox.php:220
2355
  msgid "Failed to Add the Ticket"
2356
+ msgstr ""
2357
 
2358
  #: src/Tribe/Metabox.php:202
2359
  msgid "Commerce Provider invalid"
2360
+ msgstr ""
2361
 
2362
  #: src/Tribe/Metabox.php:198
2363
  msgid "Failed to Add the Ticket, Refresh the Page to try again."
2364
+ msgstr ""
2365
 
2366
  #: src/Tribe/Metabox.php:188 src/Tribe/Metabox.php:249
2367
  #: src/Tribe/Metabox.php:301
2368
  msgid "Invalid parent Post"
2369
+ msgstr ""
2370
 
2371
  #: src/Tribe/Metabox.php:109
2372
  msgid "Invalid Post ID"
2373
+ msgstr ""
2374
 
2375
  #: src/Tribe/CSV_Importer/Column_Names.php:43
2376
  #: src/resources/js/app/blocks.js:42119
2377
  msgid "Ticket Capacity"
2378
+ msgstr ""
2379
 
2380
  #: common/src/admin-views/tribe-options-help.php:20
2381
  msgid "Check out our %s for developers."
2382
+ msgstr ""
2383
 
2384
  #: common/src/admin-views/tribe-options-help.php:18
2385
  msgid "Want to dive deeper?"
2386
+ msgstr ""
2387
 
2388
  #: common/src/admin-views/tribe-options-display.php:28
2389
  msgid "The following three fields accept the date format options available to the PHP %1$s function. <a href=\"%2$s\" target=\"_blank\">Learn how to make your own date format here</a>."
2390
+ msgstr ""
2391
 
2392
  #: common/src/Tribe/Validate.php:545
2393
  msgid "%s must be an email address."
2394
+ msgstr ""
2395
 
2396
  #: common/src/Tribe/Main.php:251
2397
  msgid "Clear Selection."
2398
+ msgstr ""
2399
 
2400
  #: common/src/Tribe/Main.php:250
2401
  msgid "Select all pages"
2402
+ msgstr ""
2403
 
2404
  #: common/src/Tribe/Main.php:249
2405
  msgid "All items on this page were selected. "
2406
+ msgstr ""
2407
 
2408
  #: common/src/Tribe/Languages/Locations.php:252
2409
  msgid "Sint Maarten"
2410
+ msgstr ""
2411
 
2412
  #: common/src/Tribe/Languages/Locations.php:245
2413
  msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
2414
+ msgstr ""
2415
 
2416
  #: common/src/Tribe/Languages/Locations.php:238
2417
  msgid "Saint Helena"
2418
+ msgstr ""
2419
 
2420
  #: common/src/Tribe/Languages/Locations.php:237
2421
  msgid "Saint Barth&eacute;lemy"
2422
+ msgstr ""
2423
 
2424
  #: common/src/Tribe/Languages/Locations.php:113
2425
  msgid "Cura&ccedil;ao"
2426
+ msgstr ""
2427
 
2428
  #: common/src/Tribe/Languages/Locations.php:103
2429
  msgid "Collectivity of Saint Martin"
2430
+ msgstr ""
2431
 
2432
  #: common/src/Tribe/Languages/Locations.php:57
2433
  msgid "&Aring;land Islands"
2434
+ msgstr ""
2435
 
2436
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:57
2437
  msgid "A list of links to the term own, archive and parent REST URL"
2438
+ msgstr ""
2439
 
2440
  #: src/views/tickets/tpp.php:154 src/views/tickets/rsvp.php:230
2441
  msgid "You must have JavaScript activated to purchase tickets. Please enable JavaScript in your browser."
2442
+ msgstr ""
2443
 
2444
  #: src/template-tags/tickets.php:237
2445
  msgctxt "list view buy now ticket button"
2449
  #: src/template-tags/tickets.php:234
2450
  msgctxt "list view rsvp now ticket button"
2451
  msgid "RSVP Now!"
2452
+ msgstr ""
2453
 
2454
  #: src/template-tags/tickets.php:223
2455
  msgid "%s ticket left"
2456
  msgid_plural "%s tickets left"
2457
+ msgstr[0] "%s Karte übrig"
2458
+ msgstr[1] "%s Karten übrig"
2459
 
2460
  #: src/template-tags/tickets.php:221
2461
  msgid "%s spot left"
2466
  #: src/template-tags/tickets.php:204
2467
  msgctxt "list view stock sold out"
2468
  msgid "Sold out"
2469
+ msgstr ""
2470
 
2471
  #: common/src/Tribe/Plugins_API.php:129
2472
  msgid "Take your image widgets to the next level with Image Widget Plus! We've taken the simple functionality of our basic Image Widget and amped it up with several popular feature requests - multiple image support, slideshow, lightbox, and random image - all backed by a full year of premium support."
2473
+ msgstr ""
2474
 
2475
  #: common/src/Tribe/Plugins_API.php:125
2476
  msgid "Image Widget Plus"
2478
 
2479
  #: common/src/Tribe/Plugins_API.php:94
2480
  msgid "Accept user-submitted events on your site! With Community Events, you can accept public submissions or require account sign-on. Settings give you the options to save as a draft or publish automatically, enable categories and tags, and choose whether users can edit/manage their own events or simply submit. Best of all - setup is easy! Just activate, configure the options, and off you go."
2481
+ msgstr "Akzeptieren Sie Veranstaltungen von Nutzern auf Ihrer Seite! Mit Community Events können Sie öffentliche oder anonyme Einsendungen akzeptieren. Die Einstellungen geben Ihnen die Option, sie als Entwürfe zu speichern oder automatisch zu veröffentlichen. Aktivieren Sie Kategorien und Schlagwörter und wähle Sie aus, ob Benutzer ihre eigenen Veranstaltungen bearbeiten oder verwalten können. Das Beste von allen - das Setup ist einfach! Einfach aktivieren, die Optionen konfigurieren und los geht's."
2482
 
2483
  #: common/src/Tribe/Plugins_API.php:60
2484
  msgid "Event Tickets provides a simple way for visitors to RSVP to your events. As a standalone plugin, it enables you to add RSVP functionality to posts or pages. When paired with The Events Calendar, you can add that same RSVP functionality directly to your event listings."
2485
+ msgstr "Event-Tickets bieten eine einfache Möglichkeit für Besucher zu RSVP zu Ihren Veranstaltungen. Als eigenständiges Plugin ermöglicht es, RSVP-Funktionalität zu Beiträgen oder Seiten hinzuzufügen. Wenn Sie mit dem Veranstaltungskalender verbunden sind, können Du dieselbe RSVP-Funktionalität direkt zu Ihren Eventlisten hinzufügen."
2486
 
2487
  #: common/src/Tribe/Plugins_API.php:28
2488
  msgid "Create an events calendar and manage it with ease. The Events Calendar plugin provides professional-level quality and features backed by a team you can trust."
2489
+ msgstr "Erstelle Sie einen Veranstaltungskalender und verwalte Sie ihn mit Leichtigkeit. Das Events Calendar Plugin bietet professionelle Qualität und Funktionen, die von einem Team unterstützt werden, dem Sie vertrauen können."
2490
 
2491
  #: src/views/tickets/tpp.php:112
2492
  msgid "Buy now"
2494
 
2495
  #: common/src/Tribe/PUE/Notices.php:397
2496
  msgid "You can always check the status of your licenses by logging in to %1$syour account on theeventscalendar.com%2$s."
2497
+ msgstr ""
2498
 
2499
  #: common/src/Tribe/PUE/Notices.php:282
2500
  msgid "It looks like you're using %1$s, but the license key is invalid. Please download the latest version %2$sfrom your account%3$s."
2501
  msgid_plural "It looks like you're using %1$s, but the license keys are invalid. Please download the latest versions %2$sfrom your account%3$s."
2502
+ msgstr[0] "Es sieht so aus, als würden Sie %1$s verwenden, aber der Lizenzschlüssel ist ungültig. Bitte laden Sie die neueste Version %2$svon Ihrem Konto%3$s."
2503
+ msgstr[1] "Es sieht so aus, als würden Sie %1$s verwenden, aber der Lizenzschlüssel ist ungültig. Bitte laden Sie die neueste Version %2$svon Ihrem Konto%3$s."
2504
 
2505
  #: common/src/Tribe/PUE/Checker.php:984
2506
  msgid "Please refresh the page and try your request again."
2507
+ msgstr ""
2508
 
2509
  #: common/src/Tribe/Ajax/Dropdown.php:243
2510
  msgid "The \"%s\" source is invalid and cannot be reached on \"%s\" instance."
2511
+ msgstr ""
2512
 
2513
  #: common/src/Tribe/Ajax/Dropdown.php:193
2514
  msgid "Empty data set for this dropdown"
2524
 
2525
  #: common/src/Tribe/PUE/Checker.php:1103
2526
  msgid "There is a new version of %1$s available. %2$s"
2527
+ msgstr ""
2528
 
2529
  #: common/src/Tribe/PUE/Checker.php:1092
2530
  msgid "Update now to version %s."
2531
+ msgstr ""
2532
 
2533
  #: common/src/Tribe/PUE/Checker.php:497
2534
  msgid "%1$sBuy a license%2$s for the Event Aggregator service to access additional import features."
2535
+ msgstr "%1$sKaufe Sie eine Lizenz%2$s für den Event Aggregator Service um weitere Importfunktionen freizuschalten."
2536
 
2537
  #: common/src/Tribe/Validate.php:248
2538
  msgid "%s must be a whole number."
2539
+ msgstr "\t%s muss eine Ganzzahl sein."
2540
 
2541
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:52
2542
  msgid "The URL to the term archive page"
2543
+ msgstr ""
2544
 
2545
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:48
2546
  msgid "The number of posts associated with the term"
2547
+ msgstr ""
2548
 
2549
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:44
2550
  msgid "The term parent term if any"
2551
+ msgstr ""
2552
 
2553
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:40
2554
  msgid "The term description"
2555
+ msgstr ""
2556
 
2557
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:36
2558
  msgid "The taxonomy the term belongs to"
2559
+ msgstr ""
2560
 
2561
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:32
2562
  msgid "The term slug"
2563
+ msgstr ""
2564
 
2565
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:28
2566
  msgid "The term name"
2567
+ msgstr ""
2568
 
2569
  #: common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php:24
2570
  msgid "The WordPress term ID"
2571
+ msgstr ""
2572
 
2573
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:37
2574
  msgid "The link to the image in the specified size on the site"
2575
+ msgstr ""
2576
 
2577
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:32
2578
  msgid "The image mime-type"
2579
+ msgstr ""
2580
 
2581
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:28
2582
  msgid "The image height in pixels in the specified size"
2583
+ msgstr ""
2584
 
2585
  #: common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php:24
2586
  msgid "The image width in pixels in the specified size"
2587
+ msgstr ""
2588
 
2589
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:45
2590
  msgid "The details about each size available for the image"
2591
+ msgstr ""
2592
 
2593
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:41
2594
  msgid "The image natural height in pixels"
2595
+ msgstr ""
2596
 
2597
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:37
2598
  msgid "The image natural width in pixels"
2599
+ msgstr ""
2600
 
2601
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:33
2602
  msgid "The image file extension"
2603
+ msgstr ""
2604
 
2605
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:29
2606
  msgid "The image WordPress post ID"
2607
+ msgstr ""
2608
 
2609
  #: common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php:25
2610
  msgid "The URL to the full size version of the image"
2611
+ msgstr ""
2612
 
2613
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:44
2614
  msgid "The date seconds"
2615
+ msgstr ""
2616
 
2617
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:40
2618
  msgid "The date minutes"
2619
+ msgstr ""
2620
 
2621
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:36
2622
  msgid "The date hour"
2623
+ msgstr ""
2624
 
2625
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:32
2626
  msgid "The date day"
2627
+ msgstr ""
2628
 
2629
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:28
2630
  msgid "The date month"
2631
+ msgstr ""
2632
 
2633
  #: common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php:24
2634
  msgid "The date year"
2635
+ msgstr ""
2636
 
2637
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:34
2638
  msgid "A sorted array of all the numeric values for the cost"
2640
 
2641
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:28
2642
  msgid "The position of the currency symbol in the cost string"
2643
+ msgstr ""
2644
 
2645
  #: common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php:24
2646
  msgid "The cost currency symbol"
2647
+ msgstr ""
2648
 
2649
  #: src/template-tags/tickets.php:432
2650
  msgctxt "ticket stock message (remaining stock)"
2653
 
2654
  #: src/template-tags/tickets.php:427
2655
  msgid "%s %d"
2656
+ msgstr "\t%s %d"
2657
 
2658
  #: src/template-tags/tickets.php:421
2659
  msgctxt "separate going and remain RSVPs"
2660
  msgid "RSVP'd Going"
2661
+ msgstr ""
2662
 
2663
  #: src/admin-views/tribe-options-tickets.php:107
2664
  msgid "Location of Tickets form"
2665
+ msgstr "Standort des Ticketformulars"
2666
 
2667
  #: src/admin-views/tribe-options-tickets.php:99
2668
  msgid "Location of RSVP form"
2687
  #: src/admin-views/attendees.php:40
2688
  msgctxt "attendee screen summary"
2689
  msgid "%s Details"
2690
+ msgstr "Veranstaltungsdetails"
2691
 
2692
  #: src/Tribe/Attendees.php:112
2693
  msgctxt "attendee event actions"
2694
  msgid "View %s"
2695
+ msgstr ""
2696
 
2697
  #: src/Tribe/Attendees.php:111
2698
  msgctxt "attendee event actions"
2699
  msgid "Edit %s"
2700
+ msgstr "Veranstaltung bearbeiten"
2701
 
2702
  #: src/Tribe/Attendees_Table.php:426 src/Tribe/Attendees_Table.php:446
2703
  msgid "Undo"
2704
+ msgstr ""
2705
 
2706
  #: src/Tribe/Attendees_Table.php:418 src/Tribe/Attendees_Table.php:427
2707
  #: src/Tribe/Attendees_Table.php:438 src/Tribe/Attendees_Table.php:447
2708
  msgid "Check In"
2709
+ msgstr "einchecken"
2710
 
2711
  #: src/Tribe/Attendees_Table.php:72 src/Tribe/Attendees_Table.php:76
2712
  msgctxt "attendee table"
2713
  msgid "Check in"
2714
+ msgstr "einchecken"
2715
 
2716
  #: src/Tribe/Attendees_Table.php:70
2717
  msgctxt "attendee table"
2718
  msgid "Security Code"
2719
+ msgstr ""
2720
 
2721
  #: src/Tribe/Attendees_Table.php:69
2722
  msgctxt "attendee table"
2723
  msgid "Primary Information"
2724
+ msgstr ""
2725
 
2726
  #: src/Tribe/Admin/Views/Ticketed.php:59
2727
  msgid "Unticketed"
2728
+ msgstr ""
2729
 
2730
  #: src/Tribe/Admin/Views/Ticketed.php:47
2731
  msgid "Ticketed"
2732
+ msgstr ""
2733
 
2734
  #: common/src/Tribe/Settings.php:281 common/src/Tribe/Settings.php:282
2735
  msgid "Events Help"
2736
+ msgstr "Hilfe zu Veranstaltungen"
2737
 
2738
  #: common/src/Tribe/PUE/Checker.php:1685
2739
  msgid "Expired license. Consult your network administrator."
2741
 
2742
  #: common/src/Tribe/PUE/Checker.php:1684
2743
  msgid "No license entered. Consult your network administrator."
2744
+ msgstr ""
2745
 
2746
  #: common/src/Tribe/PUE/Checker.php:1683
2747
  msgid "A valid license has been entered by your network administrator."
2749
 
2750
  #: common/src/Tribe/PUE/Checker.php:550
2751
  msgid "Site License Key"
2752
+ msgstr ""
2753
 
2754
  #: common/src/Tribe/PUE/Checker.php:539
2755
  msgid "Check this box if you wish to override the network license key with your own"
2756
+ msgstr "Aktivieren Sie diese Option, um den Netzwerk Lizenzschlüssel mit Ihrem eigenen zu überschreiben"
2757
 
2758
  #: common/src/Tribe/PUE/Checker.php:538
2759
  msgid "Override network license key"
2760
+ msgstr ""
2761
 
2762
  #: common/src/Tribe/PUE/Checker.php:529 common/src/Tribe/PUE/Checker.php:563
2763
  msgid "License Key Status:"
2764
+ msgstr "Status des Lizenz - Schlüssels"
2765
 
2766
  #: common/src/Tribe/Main.php:274
2767
  msgid "Done"
2768
+ msgstr "Erledigt"
2769
 
2770
  #: common/src/Tribe/Main.php:273 common/src/Tribe/Main.php:275
2771
  msgid "Today"
2772
+ msgstr ""
2773
 
2774
  #: common/src/Tribe/Main.php:272
2775
  msgid "Prev"
2776
+ msgstr ""
2777
 
2778
  #: common/src/Tribe/Customizer.php:643
2779
  msgid "Use the following panel of your customizer to change the styling of your Calendar and Event pages."
2780
+ msgstr ""
2781
 
2782
  #: common/src/admin-views/app-shop.php:31
2783
  msgid "Installed"
2789
 
2790
  #: common/src/Tribe/Extension.php:368
2791
  msgid "Unable to run Tribe Extensions. Your website host is running PHP 5.2 or older, and has likely disabled or misconfigured debug_backtrace(). You, or your website host, will need to upgrade PHP or properly configure debug_backtrace() for Tribe Extensions to work."
2792
+ msgstr ""
2793
 
2794
  #: common/src/Tribe/Extension.php:144
2795
  msgid "Tutorial"
2796
+ msgstr ""
2797
 
2798
  #: common/src/Tribe/Admin/Notice/Plugin_Download.php:92
2799
  #: common/src/Tribe/Admin/Notice/Php_Version.php:60
2810
  #: src/views/tickets/rsvp.php:171
2811
  msgctxt "order status label"
2812
  msgid "RSVP"
2813
+ msgstr ""
2814
 
2815
  #: src/views/tickets/rsvp.php:31
2816
  msgctxt "form heading"
2817
  msgid "RSVP"
2818
+ msgstr ""
2819
 
2820
  #: src/views/tickets/orders-rsvp.php:68
2821
  msgctxt "order status label"
2822
  msgid "RSVP: "
2823
+ msgstr ""
2824
 
2825
  #: src/views/tickets/email-tickets-moved.php:103
2826
  msgid "We wanted to let you know that a ticket you purchased for %2$s has been transferred to %3$s%4$s. Your ticket remains valid and no further action is needed on your part:"
2827
  msgid_plural "We wanted to let you know that the following %1$s tickets for %2$s have been transferred to %3$s%4$s. Your existing tickets remain valid and no further action is needed on your part:"
2828
+ msgstr[0] ""
2829
+ msgstr[1] ""
2830
 
2831
  #: src/views/tickets/email-ticket-type-moved.php:115
2832
  #: src/views/tickets/email-tickets-moved.php:117
2833
  msgid " (taking place on %s)"
2834
+ msgstr "\t(Erfolgt auf %s)"
2835
 
2836
  #: src/views/tickets/email-ticket-type-moved.php:101
2837
  msgid "We wanted to let you know that your ticket for %2$s has been transferred to %3$s%4$s. Your ticket remains valid and no further action is needed on your part."
2838
  msgid_plural "We wanted to let you know that your %1$s tickets for %2$s have been transferred to %3$s%4$s. Your existing tickets remain valid and no further action is needed on your part."
2839
+ msgstr[0] ""
2840
+ msgstr[1] ""
2841
 
2842
  #: src/views/tickets/email-ticket-type-moved.php:97
2843
  #: src/views/tickets/email-tickets-moved.php:99
2844
  msgid "Important changes to your tickets"
2845
+ msgstr "Wichtige Änderungen an Ihren Tickets"
2846
 
2847
  #: src/admin-views/ticket-type-history.php:15
2848
  msgid "Click to hide history"
2854
 
2855
  #: src/admin-views/ticket-type-history.php:10
2856
  msgid "Ticket history:"
2857
+ msgstr ""
2858
 
2859
  #: src/admin-views/move-tickets.php:89
2860
  msgctxt "move tickets dialog"
2861
  msgid "Next &raquo;"
2862
+ msgstr ""
2863
 
2864
  #: src/admin-views/move-tickets.php:88 src/resources/js/app/blocks.js:39731
2865
  msgid "Finish!"
2866
+ msgstr "Finish!"
2867
 
2868
  #: src/admin-views/move-tickets.php:87
2869
  msgctxt "move tickets dialog"
2873
  #: src/admin-views/move-tickets.php:80
2874
  msgctxt "move tickets dialog"
2875
  msgid "Please be patient while your request is processed&hellip;"
2876
+ msgstr ""
2877
 
2878
  #: src/admin-views/move-tickets.php:72
2879
  msgid "Select the ticket type that the tickets should be transferred to:"
2880
+ msgstr ""
2881
 
2882
  #: src/admin-views/move-tickets.php:64 src/resources/js/app/blocks.js:39716
2883
  msgid "Select the post you wish to move the ticket type to:"
2884
+ msgstr ""
2885
 
2886
  #: src/admin-views/move-tickets.php:59
2887
  msgid "You can also enter keywords to help find the target event by title or description:"
2888
+ msgstr ""
2889
 
2890
  #: src/admin-views/move-tickets.php:54 src/resources/js/app/blocks.js:39694
2891
  msgid "You can optionally focus on a specific post type:"
2892
+ msgstr ""
2893
 
2894
  #: src/admin-views/move-tickets.php:47
2895
  msgid "Move tickets to a different event"
2896
+ msgstr ""
2897
 
2898
  #: src/admin-views/move-tickets.php:43
2899
  msgid "Move to a different ticket type within the same event"
2900
+ msgstr ""
2901
 
2902
  #: src/admin-views/move-tickets.php:30
2903
  msgid "You have selected %1$s ticket for %2$s. You can move it to a different ticket type within the same event, or to a different event."
2904
  msgid_plural "You have selected %1$s tickets for %2$s. You can move them to a different ticket type within the same event, or to a different event."
2905
+ msgstr[0] ""
2906
+ msgstr[1] ""
2907
 
2908
  #: src/admin-views/move-tickets.php:25
2909
  msgid "You have specified a range of attendees that are managed by different providers. It is not currently possible to move these together."
2910
+ msgstr ""
2911
 
2912
  #: src/admin-views/move-tickets.php:19
2913
  msgid "No attendees specified! Please try again."
2914
+ msgstr ""
2915
 
2916
  #: src/admin-views/list.php:67
2917
  msgid "Move"
2919
 
2920
  #: src/admin-views/admin-welcome-message.php:38
2921
  msgid "Product Releases, Tutorials and Community Activity"
2922
+ msgstr ""
2923
 
2924
  #: src/admin-views/admin-welcome-message.php:37
2925
  msgid "News For Events Users"
2926
+ msgstr ""
2927
 
2928
  #: src/admin-views/admin-welcome-message.php:35
2929
  msgid "Get the Skinny on the Latest Updates"
2930
+ msgstr "\tErhalten Sie Infos über die aktuellen Updates"
2931
 
2932
  #: src/admin-views/admin-welcome-message.php:34
2933
  msgid "Release Notes"
2934
+ msgstr ""
2935
 
2936
  #: src/admin-views/admin-welcome-message.php:28
2937
  msgid "FAQs, Documentation, Tutorials and Forums"
2938
+ msgstr "FAQs, Documentation, Tutorials und Forums"
2939
 
2940
  #: src/admin-views/admin-welcome-message.php:27
2941
  msgid "Support Resources"
2942
+ msgstr ""
2943
 
2944
  #: src/admin-views/admin-welcome-message.php:32
2945
  msgid "Addons for creating tickets, custom registration, events and more."
2946
+ msgstr "Add-Ons für Community, Tickets, Filter, Facebook und mehr."
2947
 
2948
  #: src/admin-views/admin-welcome-message.php:31
2949
  msgid "Looking for More Features?"
2955
 
2956
  #: src/admin-views/admin-welcome-message.php:64
2957
  msgid "Sign Up"
2958
+ msgstr ""
2959
 
2960
  #: src/admin-views/admin-welcome-message.php:59
2961
  msgid "News and Announcements"
2962
+ msgstr ""
2963
 
2964
  #: src/admin-views/admin-welcome-message.php:55
2965
  msgid "Developer News"
2967
 
2968
  #: src/admin-views/admin-welcome-message.php:51
2969
  msgid "Stay in touch with Event Tickets. We send out periodic updates, key developer notices, and even the occasional discount."
2970
+ msgstr ""
2971
 
2972
  #: src/admin-views/admin-welcome-message.php:50
2973
  msgid "Newsletter Signup"
2974
+ msgstr ""
2975
 
2976
  #: src/admin-views/admin-welcome-message.php:47
2977
  msgid "Rate It"
2978
+ msgstr ""
2979
 
2980
  #: src/admin-views/admin-welcome-message.php:46
2981
  msgid "Rate us today!"
2982
+ msgstr ""
2983
 
2984
  #: src/admin-views/admin-welcome-message.php:45
2985
  msgid "Your ratings help us bring Event Tickets to more users. More happy users mean more support, more features, and more of everything you know and love about Event Tickets. We couldn't do this without your support."
2986
+ msgstr ""
2987
 
2988
  #: src/admin-views/admin-welcome-message.php:44
2989
  msgid "We Need Your Help"
2990
+ msgstr ""
2991
 
2992
  #: src/admin-views/admin-welcome-message.php:10
2993
  msgid "You are running Version %s and deserve a hug :-)"
2994
+ msgstr ""
2995
 
2996
  #: src/Tribe/Attendees.php:502
2997
  msgctxt "attendee export"
3001
  #: src/Tribe/Attendees.php:501
3002
  msgctxt "attendee export"
3003
  msgid "Customer Name"
3004
+ msgstr "\tKunden Name"
3005
 
3006
  #: src/Tribe/Attendees.php:500
3007
  msgctxt "attendee export"
3008
  msgid "Ticket #"
3009
+ msgstr ""
3010
 
3011
  #: src/Tribe/Attendees.php:499
3012
  msgctxt "attendee export"
3013
  msgid "Order Status"
3014
+ msgstr ""
3015
 
3016
  #: src/Tribe/Attendees.php:498
3017
  msgctxt "attendee export"
3018
  msgid "Order ID"
3019
+ msgstr ""
3020
 
3021
  #: src/Tribe/Attendees.php:317
3022
  msgid "You must first select one or more tickets before you can move them!"
3023
+ msgstr ""
3024
 
3025
  #: src/Tribe/Attendees.php:82
3026
  msgid "Post type"
3027
+ msgstr ""
3028
 
3029
  #: src/Tribe/Attendees.php:116
3030
  msgctxt "attendee event actions"
3031
  msgid "View"
3032
+ msgstr ""
3033
 
3034
  #: src/Tribe/Attendees.php:115
3035
  msgctxt "attendee event actions"
3038
 
3039
  #: src/Tribe/RSVP.php:326
3040
  msgid "RSVP Ticket"
3041
+ msgstr ""
3042
 
3043
  #: src/Tribe/RSVP.php:325
3044
  msgid "RSVP Tickets"
3045
+ msgstr ""
3046
 
3047
  #: src/Tribe/RSVP.php:158
3048
  msgctxt "ticket provider"
3049
  msgid "RSVP"
3050
+ msgstr ""
3051
 
3052
  #: src/Tribe/RSVP/Attendance_Totals.php:39
3053
  msgctxt "attendee summary"
3054
  msgid "Not Going:"
3055
+ msgstr ""
3056
 
3057
  #: src/Tribe/RSVP/Attendance_Totals.php:38
3058
  msgctxt "attendee summary"
3059
  msgid "Going:"
3060
+ msgstr ""
3061
 
3062
  #: src/Tribe/RSVP/Attendance_Totals.php:37
3063
  msgctxt "attendee summary"
3064
  msgid "Total RSVPs:"
3065
+ msgstr ""
3066
 
3067
  #: src/Tribe/Assets.php:111
3068
  msgid "Are you sure you want to delete this ticket? This cannot be undone."
3069
+ msgstr "Möchten Sie diese Karte löschen? Dies kann nicht rückgängig gemacht werden."
3070
 
3071
  #: src/Tribe/Main.php:788
3072
  msgctxt "button text"
3073
  msgid "RSVP"
3074
+ msgstr ""
3075
 
3076
  #: src/Tribe/Main.php:653
3077
  msgid "Welcome to Event Tickets"
3078
+ msgstr ""
3079
 
3080
  #: src/Tribe/CSV_Importer/Rows.php:49
3081
  msgctxt "post type label"
3082
  msgid "RSVPs"
3083
+ msgstr ""
3084
 
3085
  #: src/Tribe/CSV_Importer/Rows.php:35
3086
  msgctxt "import type"
3087
  msgid "RSVPs"
3088
+ msgstr ""
3089
 
3090
  #: src/Tribe/Attendees_Table.php:327
3091
  msgctxt "row action"
3100
  #: src/Tribe/Attendees_Table.php:305
3101
  msgctxt "row action"
3102
  msgid "Check In"
3103
+ msgstr "\tEinchecken"
3104
 
3105
  #: src/Tribe/Attendees_Table.php:306
3106
  msgctxt "row action"
3107
  msgid "Undo Check In"
3108
+ msgstr ""
3109
 
3110
  #: src/Tribe/Attendees_Table.php:71
3111
  msgctxt "attendee table"
3112
  msgid "Status"
3113
+ msgstr ""
3114
 
3115
  #: src/Tribe/Attendees_Table.php:68
3116
  msgctxt "attendee table"
3117
  msgid "Ticket"
3118
+ msgstr ""
3119
 
3120
  #: src/Tribe/Attendance_Totals.php:30
3121
  msgctxt "attendee summary"
3129
 
3130
  #: src/Tribe/Admin/Ticket_History.php:65
3131
  msgid "No history available"
3132
+ msgstr ""
3133
 
3134
  #: src/Tribe/Admin/Ticket_History.php:35
3135
  msgctxt "attendee table"
3139
  #: src/Tribe/Admin/Ticket_History.php:34
3140
  msgctxt "attendee table"
3141
  msgid "View history"
3142
+ msgstr ""
3143
 
3144
  #: src/Tribe/Admin/Move_Tickets.php:760
3145
  msgid "This ticket was moved to %1$s from %2$s"
3146
+ msgstr ""
3147
 
3148
  #: src/Tribe/Admin/Move_Tickets.php:580
3149
  msgid "This ticket was moved to %1$s %2$s from %3$s %4$s"
3150
+ msgstr ""
3151
 
3152
  #: src/Tribe/Admin/Move_Tickets.php:462
3153
  msgid "%1$d attendee for %2$s was successfully %3$s. Please adjust capacity and stock manually as needed. This attendee will receive an email notifying them of the change."
3154
  msgid_plural "%1$d attendees for %2$s were successfully %3$s. Please adjust capacity and stock manually as needed. These attendees will receive an email notifying them of the change."
3155
+ msgstr[0] "%1$d Teilnehmer für %2$s wurde erfolgreich nach %3$s verschoben. Bitte passen Sie den Bestand manuell nach Bedarf an. Die Teilnehmer erhalten eine E-Mail, die sie über die Änderung informiert."
3156
+ msgstr[1] "%1$d Teilnehmer für %2$s wurden erfolgreich nach %3$s verschoben. Bitte passen Sie den Bestand manuell nach Bedarf an. Die Teilnehmer erhalten eine E-Mail, die sie über die Änderung informiert."
3157
 
3158
  #: src/Tribe/Admin/Move_Tickets.php:455
3159
  msgctxt "moved tickets success message fragment"
3160
  msgid "moved to %s and"
3161
+ msgstr ""
3162
 
3163
  #: src/Tribe/Admin/Move_Tickets.php:448
3164
  msgctxt "moved tickets success message fragment"
3167
 
3168
  #: src/Tribe/Admin/Move_Tickets.php:440
3169
  msgid "Tickets could not be moved: there was an unexpected failure during reassignment."
3170
+ msgstr ""
3171
 
3172
  #: src/Tribe/Admin/Move_Tickets.php:432
3173
  msgid "Tickets could not be moved: valid ticket IDs or a destination ID were not provided."
3174
+ msgstr ""
3175
 
3176
  #: src/Tribe/Admin/Move_Tickets.php:224
3177
  msgctxt "attendee screen bulk actions"
3178
  msgid "Move"
3179
+ msgstr "verschieben"
3180
 
3181
  #: src/Tribe/Admin/Move_Tickets.php:116
3182
  msgid "Loading, please wait&hellip;"
3183
+ msgstr "\tLade, bitte warten&hellip;"
3184
 
3185
  #: src/Tribe/Admin/Move_Tickets.php:115
3186
  msgid "No ticket types were found for this post."
3187
+ msgstr ""
3188
 
3189
  #: src/Tribe/Admin/Move_Tickets.php:114
3190
  msgid "No results found - you may need to widen your search criteria."
3191
+ msgstr ""
3192
 
3193
  #: src/Tribe/Admin/Move_Tickets.php:113
3194
  msgid "Unable to update the post list. Please refresh the page and try again."
3195
+ msgstr ""
3196
 
3197
  #: src/Tribe/Admin/Move_Tickets.php:112
3198
  msgid "Woops! We could not complete the requested operation due to an unforeseen problem."
3199
+ msgstr ""
3200
 
3201
  #: src/Tribe/Admin/Move_Tickets.php:77
3202
  msgid "Move Attendees"
3209
 
3210
  #: src/Tribe/Admin/Move_Ticket_Types.php:204
3211
  msgid "Ticket type was moved to <a href=\"%1$s\" target=\"_blank\">%2$s</a> from <a href=\"%3$s\" target=\"_blank\">%4$s</a>"
3212
+ msgstr ""
3213
 
3214
  #: src/Tribe/Admin/Move_Ticket_Types.php:114
3215
  msgid "Ticket type %1$s for %2$s was successfully moved to %3$s. All previously sold tickets of this type have been transferred to %3$s. Please adjust capacity and stock manually as needed. %1$s ticket holders have received an email notifying them of the change. You may now close this window!"
3216
+ msgstr ""
3217
 
3218
  #: src/Tribe/Admin/Move_Ticket_Types.php:108
3219
  msgid "Ticket type could not be moved: unexpected failure during reassignment."
3220
+ msgstr ""
3221
 
3222
  #: src/Tribe/Admin/Move_Ticket_Types.php:102
3223
  msgid "Ticket type could not be moved: the ticket type or destination post was invalid."
3224
+ msgstr ""
3225
 
3226
  #: src/Tribe/Admin/Move_Ticket_Types.php:72
3227
  #: src/Tribe/Admin/Move_Tickets.php:249
3231
  #: src/Tribe/Admin/Move_Ticket_Types.php:28
3232
  #: src/resources/js/app/blocks.js:39759
3233
  msgid "Move Ticket Types"
3234
+ msgstr ""
3235
 
3236
  #: common/src/admin-views/tribe-options-licenses.php:30
3237
  msgid "Not seeing an update but expecting one? In WordPress, go to %1$sDashboard > Updates%2$s and click \"Check Again\"."
3238
+ msgstr ""
3239
 
3240
  #: common/src/admin-views/tribe-options-licenses.php:25
3241
  msgid "If you're seeing a red message telling you that your key isn't valid or is out of installs, visit %1$s to manage your installs or renew / upgrade your license."
3242
+ msgstr "Wenn Sie eine rote Meldung sehen, dass Ihr Schlüssel nicht gültig ist oder nicht installiert ist, besuchen Sie %1$s, um Ihre Installationen zu verwalten oder Ihre Lizenz zu aktualisieren."
3243
 
3244
  #: common/src/admin-views/tribe-options-licenses.php:22
3245
  msgid "Each paid add-on has its own unique license key. Simply paste the key into its appropriate field below, and give it a moment to validate. You know you're set when a green expiration date appears alongside a \"valid\" message."
3246
+ msgstr "Jedes bezahlte Add-On hat seinen eigenen Lizenzschlüssel. Fügen Sie einfach den Schlüssel in das entsprechende Feld unten ein, und geben Sie ihm einen Moment zu validieren. Wenn es funktioniert hat, erscheint ein grünes Ablaufdatum neben einer gültigen Meldung."
3247
 
3248
  #: common/src/admin-views/tribe-options-licenses.php:15
3249
  msgid "The license key you received when completing your purchase from %1$s will grant you access to support and updates until it expires. You do not need to enter the key below for the plugins to work, but you will need to enter it to get automatic updates. %3$sFind your license keys at %2$s%4$s."
3250
+ msgstr ""
3251
 
3252
  #: common/src/admin-views/tribe-options-licenses.php:11
3253
  #: common/src/admin-views/tribe-options-licenses.php:16
3260
 
3261
  #: common/src/admin-views/tribe-options-help.php:42
3262
  msgid "The details of your calendar plugin and settings is often needed for you or our staff to help troubleshoot an issue. Please opt-in below to automatically share your system information with our support team. This will allow us to assist you faster if you post in our help desk."
3263
+ msgstr ""
3264
 
3265
  #: common/src/admin-views/app-shop.php:26
3266
  msgid "Buy This Add-On"
3267
+ msgstr ""
3268
 
3269
  #: common/src/admin-views/app-shop.php:5
3270
  msgid "Browse All Add-Ons"
3272
 
3273
  #: common/src/admin-views/app-shop.php:4
3274
  msgid "Events Add-Ons"
3275
+ msgstr ""
3276
 
3277
  #: common/src/Tribe/Languages/Locations.php:110
3278
  msgid "C&ocirc;te d'Ivoire"
3279
+ msgstr ""
3280
 
3281
  #: common/src/Tribe/Support.php:372
3282
  msgid "Unique System Info Key Generated"
3283
+ msgstr ""
3284
 
3285
  #: common/src/Tribe/Support.php:358 common/src/Tribe/Support.php:384
3286
  msgid "Permission Error"
3287
+ msgstr ""
3288
 
3289
  #: common/src/Tribe/Support.php:325 common/src/Tribe/Support.php:330
3290
  msgid "Invalid Key"
3292
 
3293
  #: common/src/Tribe/Support.php:306
3294
  msgid "Your system information will only be used by the Modern Tribe support team. All information is stored securely. We do not share this information with any third parties."
3295
+ msgstr ""
3296
 
3297
  #: common/src/Tribe/Support.php:305
3298
  msgid "Yes, automatically share my system information with the Modern Tribe support team"
3299
+ msgstr ""
3300
 
3301
  #: common/src/Tribe/PUE/Notices.php:440
3302
  msgctxt "formatted plugin list"
3303
  msgid "%1$s and %2$s"
3304
+ msgstr "\t%1$s und %2$s"
3305
 
3306
  #: common/src/Tribe/PUE/Notices.php:359
3307
  msgid "You have a license key for %1$s but the key is out of installs. %2$sVisit the Events Calendar website%3$s to manage your installs, upgrade your license, or purchase a new one."
3308
  msgid_plural "You have license keys for %1$s but your keys are out of installs. %2$sVisit the Events Calendar website%3$s to manage your installs, upgrade your licenses, or purchase new ones."
3309
+ msgstr[0] ""
3310
+ msgstr[1] ""
3311
 
3312
  #: common/src/Tribe/PUE/Notices.php:327
3313
  msgid "There is an update available for %1$s but your license has expired. %2$sVisit the Events Calendar website to renew your license.%3$s"
3314
  msgid_plural "Updates are available for %1$s but your license keys have expired. %2$sVisit the Events Calendar website to renew your licenses.%3$s"
3315
+ msgstr[0] ""
3316
+ msgstr[1] ""
3317
 
3318
  #: common/src/Tribe/PUE/Checker.php:1062
3319
  msgid "There is an update for %s. %sRenew your license%s to get access to bug fixes, security updates, and new features."
3320
+ msgstr ""
3321
 
3322
  #: common/src/Tribe/PUE/Checker.php:1005
3323
  msgid "There is an update for %s. You'll need to %scheck your license%s to have access to updates, downloads, and support."
3324
+ msgstr ""
3325
 
3326
  #: common/src/Tribe/PUE/Notices.php:342 common/src/Tribe/PUE/Checker.php:969
3327
  msgid " (opens in a new window)"
3329
 
3330
  #: common/src/Tribe/PUE/Notices.php:340 common/src/Tribe/PUE/Checker.php:967
3331
  msgid "Renew Your License Now"
3332
+ msgstr ""
3333
 
3334
  #: common/src/Tribe/Main.php:261
3335
  msgid ": Selected 1 row"
3336
+ msgstr "\t: 1 Zeile ausgewählt"
3337
 
3338
  #: common/src/Tribe/Main.php:260
3339
  msgid ": Selected %d rows"
3340
+ msgstr "\t: %d Zeilen ausgewählt"
3341
 
3342
  #: common/src/Tribe/Main.php:255
3343
  msgid "Previous"
3344
+ msgstr ""
3345
 
3346
  #: common/src/Tribe/Main.php:254 common/src/Tribe/Main.php:271
3347
  msgid "Next"
3348
+ msgstr ""
3349
 
3350
  #: common/src/Tribe/Main.php:253
3351
  msgid "All"
3353
 
3354
  #: common/src/Tribe/Main.php:248
3355
  msgid "Search:"
3356
+ msgstr ""
3357
 
3358
  #: common/src/Tribe/Main.php:247
3359
  msgid "No matching records found"
3360
+ msgstr ""
3361
 
3362
  #: common/src/Tribe/Main.php:246
3363
  msgid "(filtered from _MAX_ total entries)"
3365
 
3366
  #: common/src/Tribe/Main.php:245
3367
  msgid "Showing 0 to 0 of 0 entries"
3368
+ msgstr ""
3369
 
3370
  #: common/src/Tribe/Main.php:244
3371
  msgid "Showing _START_ to _END_ of _TOTAL_ entries"
3372
+ msgstr ""
3373
 
3374
  #: common/src/Tribe/Main.php:243
3375
  msgid "No data available in table"
3376
+ msgstr ""
3377
 
3378
  #: common/src/Tribe/Main.php:242
3379
  msgid "Show _MENU_ entries"
3380
+ msgstr ""
3381
 
3382
  #: common/src/Tribe/Main.php:240
3383
  msgid ": activate to sort column descending"
3385
 
3386
  #: common/src/Tribe/Main.php:239
3387
  msgid ": activate to sort column ascending"
3388
+ msgstr "\t: aktivieren, um Spalte aufsteigend zu sortieren"
3389
 
3390
  #: common/src/Tribe/Main.php:284
3391
  msgid "Press \"Cmd + C\" to copy"
3392
+ msgstr ""
3393
 
3394
  #: common/src/Tribe/Main.php:283
3395
  msgid "System info copied"
3396
+ msgstr ""
3397
 
3398
  #: common/src/Tribe/Main.php:282
3399
  #: common/src/admin-views/tribe-options-help.php:50
3400
  msgid "Copy to clipboard"
3401
+ msgstr "\tIn die Zwischenablage kopieren"
3402
 
3403
  #: common/src/Tribe/Error.php:38
3404
  msgid "An Unknown error occurred"
3410
 
3411
  #: common/src/Tribe/Admin/Activation_Page.php:92
3412
  msgid "Return to WordPress Updates"
3413
+ msgstr ""
3414
 
3415
  #: common/src/Tribe/Admin/Activation_Page.php:92
3416
  msgid "Go to WordPress Updates page"
3418
 
3419
  #: common/src/Tribe/Admin/Activation_Page.php:84
3420
  msgid "Return to Plugins page"
3421
+ msgstr ""
3422
 
3423
  #: common/src/Tribe/Admin/Activation_Page.php:84
3424
  msgid "Go to plugins page"
3426
 
3427
  #: common/src/Tribe/Admin/Notice/Plugin_Download.php:75
3428
  msgid "To begin using %1$s, please install and activate the latest version of %2$s."
3429
+ msgstr "Um die Nutzung von %1$s zu beginnen, installieren & aktivieren Sie bitte die aktuellste(n) Version(en) von %2$s."
3430
 
3431
  #: src/Tribe/Tickets.php:1813
3432
  msgid "Tickets are not available as this %s has passed."
3433
+ msgstr "Es sind keine Tickets verfügbar, da diese %s vorbei ist."
3434
 
3435
  #: src/Tribe/Metabox.php:559 src/Tribe/Assets.php:124
3436
  msgid "Please enter in without thousand separators and currency symbols."
3437
+ msgstr "Bitte ohne Tausendertrennzeichen oder Währungssymbol eingeben."
3438
 
3439
  #: common/src/Tribe/Support.php:171
3440
  msgid "English"
3442
 
3443
  #: common/src/Tribe/Plugins_API.php:116
3444
  msgid "The Eventbrite Tickets add-on allows you to create & sell tickets through The Events Calendar using the power of %1$sEventbrite%2$s. Whether you’re creating your ticket on the WordPress dashboard or importing the details of an already-existing event from %1$sEventbrite.com%2$s, this add-on brings the power of the Eventbrite API to your calendar."
3445
+ msgstr ""
3446
 
3447
  #: common/src/Tribe/Plugins_API.php:105
3448
  msgctxt "Names of required plugins for Community Tickets"
3451
 
3452
  #: common/src/Tribe/Plugins_API.php:104
3453
  msgid "Enable Community Events organizers to offer tickets to their events. You can set flexible payment and fee options. They can even check-in attendees to their events! All of this managed from the front-end of your site without ever needing to grant access to your admin"
3454
+ msgstr "Aktivieren Sie Community Events Tickets, um Karten für Veranstaltungen zu verkaufen. Sie können flexible Zahlungs- und Gebührenoptionen verwenden. Sie können sogar die Teilnehmer zu Ihren Veranstaltungen einchecken! Dies ist alles vom Front-End Ihrer Website möglich, ohne jemandem Admin Zugang zu Ihrer Website zu gewähren."
3455
 
3456
  #: common/src/Tribe/Plugins_API.php:48
3457
  msgid "The Events Calendar PRO is a paid Add-On to our open source WordPress plugin %1$sThe Events Calendar%2$s. PRO offers a whole host of calendar features including recurring events, custom event attributes, saved venues and organizers, venue pages, advanced event admin and lots more."
3458
+ msgstr ""
3459
 
3460
  #: common/src/Tribe/Plugins_API.php:84
3461
  msgid "It is awesome that your calendar is <em>THE PLACE</em> to get hooked up with prime choice ways to spend time. You have more events than Jabba the Hutt has rolls. Too bad visitors are hiring a personal assistant to go through all the choices. Ever wish you could just filter the calendar to only show events in walking distance, on a weekend, that are free? BOOM. Now you can. Introducing… the Filter Bar."
3462
+ msgstr "Es ist großartig, dass Ihr Kalender <em>DER PLATZ</em> für Premium Verkäufe ist. Sie haben mehr Events als Rihanna? Schade nur, dass Besucher einen persönlichen Assistenten benötigen, um sich durch die ganzen Angebote zu wühlen. Wollen Sie Ihre Veranstaltungen filtern, z.B. nach Entfernung, nur am Wochenende oder kostenlose Events? Dann nutzen Sie Filter Bar!"
3463
 
3464
  #: common/src/Tribe/Admin/Help_Page.php:227 common/src/Tribe/Plugins_API.php:80
3465
  msgid "Filter Bar"
3467
 
3468
  #: common/src/Tribe/Credits.php:64
3469
  msgid "Rate %1$sEvent Tickets%2$s %3$s"
3470
+ msgstr "Bewerten Sie %1$sEvent Tickets%2$s %3$s"
3471
 
3472
  #: common/src/Tribe/Credits.php:55
3473
  msgid "Rate %1$sThe Events Calendar%2$s %3$s"
3474
+ msgstr "Bewerten Sie %1$sThe Events Calendar%2$s %3$s"
3475
 
3476
  #: src/Tribe/RSVP.php:791
3477
  msgid "You confirmed you will not be attending %s"
3478
+ msgstr "Sie haben bestätigt, an %s nicht teilzunehmen"
3479
 
3480
  #: src/views/tickets/email-non-attendance.php:263
3481
  msgid "Thank you for confirming that you will not be attending the above event."
3482
+ msgstr "Vielen Dank, dass Sie bestätigt haben, nicht teilzunehmen."
3483
 
3484
  #: src/views/tickets/orders-rsvp.php:87
3485
  #: src/views/tickets/orders-pp-tickets.php:76
3486
  msgid "Type: "
3487
+ msgstr ""
3488
 
3489
  #: src/views/tickets/rsvp.php:211
3490
  #: src/views/blocks/rsvp/form/submit-login.php:19
3493
 
3494
  #: src/views/tickets/orders.php:72
3495
  msgid "Update %s"
3496
+ msgstr ""
3497
 
3498
  #: src/views/tickets/orders.php:34
3499
  msgid "View %s"
3500
+ msgstr ""
3501
 
3502
  #: src/views/tickets/orders-rsvp.php:63
3503
  #: src/views/tickets/orders-pp-tickets.php:66
3511
 
3512
  #: src/views/tickets/orders-rsvp.php:38
3513
  msgid "Reserved by %1$s (%2$s)"
3514
+ msgstr ""
3515
 
3516
  #: src/views/tickets/orders-rsvp.php:29
3517
  msgid "My RSVPs for This %s"
3518
+ msgstr ""
3519
 
3520
  #: src/views/tickets/orders-link.php:39
3521
  #: src/views/blocks/attendees/order-links.php:64
3522
  msgid "View your %s"
3523
+ msgstr "%s ansehen"
3524
 
3525
  #: src/views/tickets/orders-link.php:38
3526
  #: src/views/blocks/attendees/order-links.php:47
3527
  msgid "You have %s for this %s."
3528
+ msgstr "Sie haben %s für diese %s."
3529
 
3530
  #: src/views/tickets/orders-link.php:34
3531
  msgid "%d Ticket"
3532
  msgid_plural "%d Tickets"
3533
+ msgstr[0] "%d Ticket"
3534
+ msgstr[1] "%d Tickets"
3535
 
3536
  #: src/views/tickets/orders-link.php:30
3537
  msgid "%d RSVP"
3541
 
3542
  #: src/views/shortcodes/my-attendance-list.php:32
3543
  msgid "You have not indicated your attendance for any upcoming events."
3544
+ msgstr ""
3545
 
3546
  #: src/views/shortcodes/my-attendance-list-logged-out.php:12
3547
  msgid "To see a list of events you're attending, you will need to log in."
3549
 
3550
  #: src/admin-views/tribe-options-tickets.php:125
3551
  msgid "You can require that users log into your site before they are able to RSVP (or buy tickets). Please review your WordPress Membership option (via the General Settings admin screen) before adjusting this setting."
3552
+ msgstr ""
3553
 
3554
  #: src/admin-views/tribe-options-tickets.php:120
3555
  msgid "Login Requirements"
3556
+ msgstr "Login Voraussetzungen"
3557
 
3558
  #: src/admin-views/tribe-options-tickets.php:43
3559
  msgid "Require users to log in before they RSVP"
3560
+ msgstr ""
3561
 
3562
  #: src/Tribe/Tickets_View.php:810
3563
  msgid "This RSVP is no longer active."
3564
+ msgstr ""
3565
 
3566
  #: src/Tribe/Tickets_View.php:743
3567
  msgid "Ticket"
3568
+ msgstr ""
3569
 
3570
  #: src/Tribe/Tickets_View.php:630
3571
  msgid "Not Going"
3572
+ msgstr ""
3573
 
3574
  #: src/views/blocks/rsvp/status/going.php:21 src/Tribe/Tickets_View.php:629
3575
  #: src/modules/blocks/rsvp/counters/template.js:27
3579
 
3580
  #: src/Tribe/Tickets.php:1863
3581
  msgid "There are no tickets available at this time."
3582
+ msgstr "Momentan sind keine Tickets verfügbar"
3583
 
3584
  #: src/Tribe/Tickets.php:1861
3585
  msgid "Tickets are no longer available."
3586
+ msgstr "Keine Tickets mehr verfügbar"
3587
 
3588
  #: src/Tribe/Tickets.php:1858
3589
  msgid "Tickets are not yet available"
3601
 
3602
  #: src/Tribe/Tickets_View.php:739
3603
  msgid "RSVPs"
3604
+ msgstr ""
3605
 
3606
  #: src/Tribe/CSV_Importer/RSVP_Importer.php:250
3607
  msgid "Recurring event tickets are not supported, event %s."
3608
+ msgstr ""
3609
 
3610
  #: src/Tribe/CSV_Importer/Column_Names.php:42
3611
  msgid "Ticket Stock"
3612
+ msgstr ""
3613
 
3614
  #: src/Tribe/CSV_Importer/Column_Names.php:41
3615
  msgid "Ticket End Sale Time"
3616
+ msgstr "Ende Ticketverkauf (Uhrzeit)"
3617
 
3618
  #: src/Tribe/CSV_Importer/Column_Names.php:40
3619
  msgid "Ticket End Sale Date"
3620
+ msgstr "Ende Ticketverkauf (Datum)"
3621
 
3622
  #: src/Tribe/CSV_Importer/Column_Names.php:39
3623
  msgid "Ticket Start Sale Time"
3624
+ msgstr "Start Ticketverkauf (Zeit)"
3625
 
3626
  #: src/Tribe/CSV_Importer/Column_Names.php:38
3627
  msgid "Ticket Start Sale Date"
3628
+ msgstr "Start Ticketverkauf (Datum)"
3629
 
3630
  #: src/Tribe/CSV_Importer/Column_Names.php:36
3631
  msgid "Ticket Description"
3632
+ msgstr "Ticket Beschreibung"
3633
 
3634
  #: src/Tribe/CSV_Importer/Column_Names.php:35
3635
  msgid "Ticket Name"
3636
+ msgstr ""
3637
 
3638
  #: src/Tribe/CSV_Importer/Column_Names.php:34
3639
  msgid "Event Name or ID or Slug"
3645
 
3646
  #: common/src/admin-views/event-log.php:100
3647
  msgid "The selected log file is empty or has not been generated yet."
3648
+ msgstr "Die ausgewählte Protokolldatei ist leer oder noch nicht erzeugt worden."
3649
 
3650
  #: common/src/admin-views/event-log.php:43
3651
  msgid "Method"
3657
 
3658
  #: common/src/Tribe/Validate.php:168
3659
  msgid "%s must contain numbers, letters, dashes and undescores only"
3660
+ msgstr "%s darf nur Ziffern, Buchstaben, Schrägstriche oder Unterstriche enthalten"
3661
 
3662
  #: common/src/Tribe/Log.php:376
3663
  msgid "Full debug (all events)"
3673
 
3674
  #: common/src/Tribe/Log.php:373
3675
  msgid "Disabled"
3676
+ msgstr "Deaktiviert"
3677
 
3678
  #: common/src/Tribe/Log.php:274
3679
  msgid "Cannot set %s as the current logging engine"
3681
 
3682
  #: common/src/Tribe/Log/Null_Logger.php:26
3683
  msgid "Null logger (will log nothing)"
3684
+ msgstr ""
3685
 
3686
  #: common/src/Tribe/Log/File_Logger.php:128
3687
  msgid "Default (uses temporary files)"
3690
  #: common/src/Tribe/Log/Admin.php:148
3691
  msgctxt "log engines"
3692
  msgid "None currently available"
3693
+ msgstr "Derzeit nicht verfügbar"
3694
 
3695
  #: common/src/Tribe/Log/Admin.php:133
3696
  msgctxt "log selector"
3697
  msgid "None currently available"
3698
+ msgstr "Derzeit nicht verfügbar"
3699
 
3700
  #: src/views/tickets/rsvp.php:199
3701
  msgid "Don't list me on the public attendee list"
3702
+ msgstr "Zeigen Sie mich nicht auf der öffentlichen Teilnehmerliste an"
3703
 
3704
  #: src/views/tickets/rsvp.php:124
3705
  msgid "Send RSVP confirmation to:"
3706
+ msgstr ""
3707
 
3708
  #: src/views/tickets/rsvp.php:50
3709
  msgid "Please fill in the RSVP quantity, confirmation name, and email fields."
3721
 
3722
  #: src/admin-views/meta-box.php:69
3723
  msgid "Enable global stock"
3724
+ msgstr "Globaler Bestand freischalten"
3725
 
3726
  #: src/Tribe/Assets.php:117
3727
  msgid "It looks like you have modified your shared capacity setting but have not saved or updated the post."
3728
+ msgstr "Es scheint, dass Sie Ihre globalen Bestandseinstellungen geändert haben, aber den Beitrag nicht gespeichert oder aktualisiert haben."
3729
 
3730
  #: src/Tribe/Attendees_Table.php:406
3731
  msgid "View order"
3732
+ msgstr "Bestellung ansehen"
3733
 
3734
  #: common/src/admin-views/tribe-options-help.php:52
3735
  msgid "Recent Template Changes"
3736
+ msgstr ""
3737
 
3738
  #: common/src/Tribe/Support/Template_Checker_Report.php:115
3739
  msgid "Information about recent template changes and potentially impacted template overrides is provided below."
3741
 
3742
  #: common/src/Tribe/Support/Template_Checker_Report.php:113
3743
  msgid "No notable template changes detected."
3744
+ msgstr ""
3745
 
3746
  #: common/src/Tribe/Support/Template_Checker_Report.php:97
3747
  msgid "based on %s version"
3749
 
3750
  #: common/src/Tribe/Support/Template_Checker_Report.php:96
3751
  msgid "version data missing from override"
3752
+ msgstr ""
3753
 
3754
  #: common/src/Tribe/Support/Template_Checker_Report.php:92
3755
  msgid "Existing theme overrides that may need revision:"
3757
 
3758
  #: common/src/Tribe/Support/Template_Checker_Report.php:82
3759
  msgid "Templates introduced or updated with this release (%s):"
3760
+ msgstr ""
3761
 
3762
  #: common/src/Tribe/Support/Template_Checker_Report.php:78
3763
  msgid "No notable changes detected"
3764
+ msgstr ""
3765
 
3766
  #. Author URI of the plugin
3767
  msgid "http://m.tri.be/28"
3773
 
3774
  #: src/views/tickets/rsvp.php:221
3775
  msgid "Confirm RSVP"
3776
+ msgstr ""
3777
 
3778
  #: src/views/tickets/rsvp.php:154 src/views/blocks/rsvp/form/name.php:30
3779
  #: src/Tribe/Privacy.php:159 src/Tribe/Privacy.php:440
3780
  msgid "Full Name"
3781
+ msgstr "Vollständiger Name"
3782
 
3783
  #: src/views/tickets/tpp.php:98 src/views/tickets/rsvp.php:97
3784
  #: src/views/blocks/rsvp/details/availability.php:22
3795
  #: src/modules/blocks/rsvp/container/template.js:31
3796
  #: src/resources/js/app/blocks.js:38896 src/resources/js/app/blocks.js:40027
3797
  msgid "RSVP"
3798
+ msgstr ""
3799
 
3800
  #: src/views/tickets/email.php:406
3801
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:72
3802
  msgid "Purchaser"
3803
+ msgstr ""
3804
 
3805
  #: src/views/tickets/email.php:402
3806
  #: src/modules/blocks/ticket/container-header/title/template.js:29
3807
  #: src/resources/js/app/blocks.js:41324
3808
  msgid "Ticket Type"
3809
+ msgstr ""
3810
 
3811
  #: src/views/tickets/email.php:27
3812
  #: src/views/tickets/email-ticket-type-moved.php:25
3813
  #: src/views/tickets/email-non-attendance.php:39
3814
  #: src/views/tickets/email-tickets-moved.php:26
3815
  msgid "Your tickets"
3816
+ msgstr ""
3817
 
3818
  #: src/views/tickets/attendees-email.php:24
3819
  #: src/modules/blocks/attendees/index.js:21
3823
 
3824
  #: src/admin-views/tribe-options-tickets.php:58
3825
  msgid "Post types that can have tickets"
3826
+ msgstr ""
3827
 
3828
  #: src/admin-views/editor/panel/settings.php:14
3829
  #: src/admin-views/tribe-options-tickets.php:54
3830
  msgid "Ticket Settings"
3831
+ msgstr ""
3832
 
3833
  #: src/admin-views/meta-box.php:240 src/admin-views/editor/panel/ticket.php:199
3834
  #: src/admin-views/editor/panel/settings.php:81
3840
 
3841
  #: src/admin-views/meta-box.php:239
3842
  msgid "Save this ticket"
3843
+ msgstr "Dieses Ticket speichern"
3844
 
3845
  #: src/admin-views/meta-box.php:219
3846
  msgid "If you don't set a start/end date for sales, tickets will be available from now until the event ends."
3847
+ msgstr "Wenn kein Start-/ Enddatum zum Verkauf gesetzt wird, werden die Karten von jetzt bis zum Ende der Veranstaltung erwerbbar sein"
3848
 
3849
  #: src/admin-views/meta-box.php:215
3850
  msgid "When will ticket sales occur?"
3851
+ msgstr ""
3852
 
3853
  #: src/admin-views/meta-box.php:192
3854
  #: src/admin-views/editor/fieldset/advanced.php:102
3858
  #: src/admin-views/meta-box.php:161
3859
  #: src/admin-views/editor/fieldset/advanced.php:70
3860
  msgid "Start sale:"
3861
+ msgstr ""
3862
 
3863
  #: src/admin-views/meta-box.php:152
3864
  msgid "Ticket Description:"
3865
+ msgstr "Ticketbeschreibung"
3866
 
3867
  #: src/admin-views/meta-box.php:145
3868
  msgid "Ticket Name:"
3869
+ msgstr "Ticketname:"
3870
 
3871
  #: src/admin-views/meta-box.php:128 src/admin-views/editor/panel/ticket.php:102
3872
  msgid "Sell using:"
3873
+ msgstr "Verkaufen mittels: "
3874
 
3875
  #: src/admin-views/meta-box.php:123 src/admin-views/editor/panel/ticket.php:61
3876
  msgid "Edit ticket"
3877
+ msgstr "Ticket bearbeiten"
3878
 
3879
  #: src/admin-views/meta-box.php:112 src/admin-views/meta-box.php:122
3880
  #: src/admin-views/editor/panel/ticket.php:53
3881
  msgid "Add new ticket"
3882
+ msgstr "Neues Ticket hinzufügen"
3883
 
3884
  #: src/admin-views/meta-box.php:54 src/admin-views/editor/panel/settings.php:67
3885
  msgid "Remove"
3886
+ msgstr "Löschen"
3887
 
3888
  #: src/admin-views/meta-box.php:46 src/admin-views/editor/panel/settings.php:51
3889
  msgid "Select an Image"
3890
+ msgstr ""
3891
 
3892
  #: src/admin-views/meta-box.php:43
3893
  msgid "The maximum image size in the email will be 580px wide by any height, and then scaled for mobile. If you would like \"retina\" support use an image sized to 1160px wide."
3894
+ msgstr ""
3895
 
3896
  #: src/admin-views/meta-box.php:42
3897
  msgid "Upload image for the ticket header."
3898
+ msgstr ""
3899
 
3900
  #: src/admin-views/meta-box.php:31
3901
  msgid "This event was created using Community Events. Are you sure you want to sell tickets for it?"
3902
+ msgstr ""
3903
 
3904
  #: src/admin-views/tpp-orders.php:78 src/admin-views/tpp-orders.php:82
3905
  msgid "Sold %d"
3906
+ msgstr ""
3907
 
3908
  #: src/admin-views/list.php:52
3909
  msgid "Edit in %s"
3911
 
3912
  #: src/admin-views/list.php:47 common/src/admin-views/event-log.php:65
3913
  msgid "View"
3914
+ msgstr "Anzeigen"
3915
 
3916
  #: src/admin-views/list.php:33
3917
  msgid "Edit"
3918
+ msgstr "(Bearbeiten)"
3919
 
3920
  #: src/admin-views/price-fields.php:16
3921
  #: src/admin-views/legacy-ticket-fields.php:28
3926
  #: src/admin-views/editor/fieldset/price.php:67
3927
  #: src/admin-views/legacy-ticket-fields.php:24
3928
  msgid "Sale Price:"
3929
+ msgstr "Angebotspreis:"
3930
 
3931
  #: src/admin-views/price-fields.php:7
3932
  #: src/admin-views/legacy-ticket-fields.php:19
3942
 
3943
  #: src/admin-views/tpp-orders.php:63
3944
  msgid "Sales by Ticket"
3945
+ msgstr "Verkäufe durch Tickets"
3946
 
3947
  #: src/admin-views/attendees-email.php:59
3948
  msgid "Send Email"
3949
+ msgstr "E-Mail senden"
3950
 
3951
  #: src/admin-views/attendees-email.php:38
3952
  msgid "Email Address:"
3953
+ msgstr "E-Mail Adresse:"
3954
 
3955
  #: src/admin-views/attendees-email.php:36
3956
  msgid "or"
3957
+ msgstr ""
3958
 
3959
  #: src/admin-views/attendees-email.php:6
3960
  msgid "Select..."
3961
+ msgstr ""
3962
 
3963
  #: src/admin-views/attendees-email.php:33
3964
  msgid "Select a User:"
3965
+ msgstr ""
3966
 
3967
  #: src/admin-views/attendees-email.php:27
3968
  msgid "Send the attendee list by email"
3969
+ msgstr ""
3970
 
3971
  #: src/Tribe/Attendees.php:709
3972
  msgid "Email sent successfully!"
3973
+ msgstr "\tE-Mail erfolgreich versendet!"
3974
 
3975
  #: src/Tribe/Attendees.php:702
3976
  msgid "Error when sending the email"
3977
+ msgstr "Fehler beim E-Mailversand"
3978
 
3979
  #: src/Tribe/Attendees.php:701
3980
  msgid "Attendee List for: %s"
3981
+ msgstr "Teilnehmerliste für: %s"
3982
 
3983
  #: src/Tribe/Attendees.php:664 src/Tribe/Attendees.php:680
3984
  msgid "Invalid User ID"
3985
+ msgstr "Unvollständige User ID"
3986
 
3987
  #: src/Tribe/Attendees.php:658
3988
  msgid "Invalid Email"
3989
+ msgstr "Ungültige Email"
3990
 
3991
  #: src/Tribe/Attendees.php:646
3992
  msgid "Empty user and email"
3994
 
3995
  #: src/Tribe/Attendees.php:623
3996
  msgid "Invalid Event ID"
3997
+ msgstr "Ungültige Event ID"
3998
 
3999
  #: src/Tribe/Attendees.php:640
4000
  msgid "Cheatin Huh?"
4001
+ msgstr ""
4002
 
4003
  #: src/Tribe/Attendees.php:582
4004
  msgid "attendees"
4011
 
4012
  #: src/Tribe/Attendees.php:348
4013
  msgid "You can use Screen Options to select which columns you want to see. The selection works in the table below, in the email, for print and for the CSV export."
4014
+ msgstr ""
4015
 
4016
  #: src/Tribe/Attendees.php:348
4017
  msgid "Columns"
4019
 
4020
  #: src/Tribe/Attendees.php:313
4021
  msgid "Sending..."
4022
+ msgstr ""
4023
 
4024
  #: src/Tribe/Attendees.php:312
4025
  msgid "You need to select a user or type a valid email address"
4026
+ msgstr ""
4027
 
4028
  #: src/Tribe/Tabbed_View/Attendee_Report_Tab.php:22
4029
  #: src/Tribe/Admin/Columns/Tickets.php:57 src/Tribe/Attendees.php:210
4033
  #: src/modules/blocks/tickets/action-buttons/attendees/template.js:25
4034
  #: src/resources/js/app/blocks.js:38981 src/resources/js/app/blocks.js:40222
4035
  msgid "Attendees"
4036
+ msgstr ""
4037
 
4038
  #: src/Tribe/Attendees.php:208 src/admin-views/list.php:90
4039
  msgid "See who purchased tickets to this event"
4040
+ msgstr ""
4041
 
4042
  #: src/Tribe/Commerce/PayPal/Main.php:1924 src/Tribe/RSVP.php:1743
4043
  msgid "Post draft updated."
4045
 
4046
  #: src/Tribe/Commerce/PayPal/Main.php:1923 src/Tribe/RSVP.php:1742
4047
  msgid "Post scheduled."
4048
+ msgstr ""
4049
 
4050
  #: src/Tribe/Commerce/PayPal/Main.php:1922 src/Tribe/RSVP.php:1741
4051
  msgid "Post submitted."
4053
 
4054
  #: src/Tribe/Commerce/PayPal/Main.php:1919 src/Tribe/RSVP.php:1738
4055
  msgid "Post published. %1$s"
4056
+ msgstr ""
4057
 
4058
  #: src/Tribe/Commerce/PayPal/Main.php:1915 src/Tribe/RSVP.php:1734
4059
  msgid "Post updated. %1$s"
4060
+ msgstr ""
4061
 
4062
  #: src/Tribe/Commerce/PayPal/Main.php:1908 src/Tribe/RSVP.php:1727
4063
  msgid "Return to the %1$sAttendees Report%2$s."
4064
+ msgstr ""
4065
 
4066
  #: src/Tribe/Commerce/PayPal/Main.php:2623 src/Tribe/RSVP.php:1399
4067
  msgid "(deleted)"
4073
 
4074
  #: src/Tribe/RSVP.php:1091
4075
  msgid "You can't RSVP more than the total remaining tickets."
4076
+ msgstr ""
4077
 
4078
  #: src/views/blocks/rsvp/messages/success.php:20 src/Tribe/RSVP.php:1085
4079
  msgid "Your RSVP has been received! Check your email for your RSVP confirmation."
4080
+ msgstr ""
4081
 
4082
  #: src/Tribe/Commerce/PayPal/Main.php:1128 src/Tribe/RSVP.php:703
4083
  msgid "Your tickets from %s"
4084
+ msgstr "Ihre Tickets für %s"
4085
 
4086
  #: src/Tribe/Commerce/PayPal/Main.php:359 src/Tribe/RSVP.php:287
4087
  msgctxt "Attendee number"
4090
 
4091
  #: src/Tribe/Assets.php:54
4092
  msgid "Set as ticket header"
4093
+ msgstr ""
4094
 
4095
  #: src/views/tickets/tpp-success.php:95 src/Tribe/Assets.php:53
4096
  msgid "Ticket header image"
4097
+ msgstr ""
4098
 
4099
  #: src/Tribe/Main.php:552
4100
  msgid "If you have a valid license for one of our paid plugins, you can %s in our premium support forums. Our support team monitors the forums and will respond to your thread within 24-48 hours (during the week)."
4101
+ msgstr "Wenn Sie eine gültige Lizenz für eines unserer Bezahl-Plugins haben, können Sie in unserem Support Forum %s. Unser Support Team prüft die Foren und wird wochentags innerhalb von 24-48 Stunden auf Ihre Anfrage reagieren."
4102
 
4103
  #: src/Tribe/Main.php:547
4104
  msgid "Already have Events Tickets Plus? You can %s in our premium support forums. Our support team monitors the forums and will respond to your thread within 24-48 hours (during the week)."
4105
+ msgstr "Sie haben bereits Events Tickets Plus? Du kannst %s in unseren Premium-Support-Foren. Unser Support-Team überwacht die Foren und wird zu Ihrem Thread innerhalb von 24-48 Stunden (während der Woche) reagieren."
4106
 
4107
  #: src/Tribe/Main.php:546 src/Tribe/Main.php:551
4108
  msgid "post a thread"
4109
+ msgstr ""
4110
 
4111
  #: src/Tribe/Main.php:544
4112
  msgid "Looking for more immediate support? We offer %1$s with the purchase of any of our premium plugins (like %2$s). Pick up a license and you can post there directly and expect a response within 24-48 hours during weekdays."
4113
+ msgstr "Suchen Sie nach mehr sofortiger Unterstützung? Wir bieten%1$s mit dem Kauf eines unserer Premium-Plugins (wie%2$s). Kaufen Sie eine Lizenz und schreiben Sie direkt ins Forum. Sie erhalten eine Antwort innerhalb von 24-48 Stunden an normalen Arbeitstagen."
4114
 
4115
  #: src/Tribe/Main.php:543 src/admin-views/tribe-options-tickets.php:152
4116
  msgid "Events Tickets Plus"
4118
 
4119
  #: src/Tribe/Main.php:542
4120
  msgid "premium support on our website"
4121
+ msgstr ""
4122
 
4123
  #: src/Tribe/Main.php:540
4124
  msgid "If you have tried the above steps and are still having trouble, you can post a new thread to our %s. Our support staff monitors these forums once a week and would be happy to assist you there."
4126
 
4127
  #: src/Tribe/Main.php:539
4128
  msgid "open-source forum on WordPress.org"
4129
+ msgstr ""
4130
 
4131
  #: src/Tribe/Main.php:522
4132
  msgid "We are committed to helping you sell tickets for your event. Check out our handy %s to get started."
4133
+ msgstr ""
4134
 
4135
  #: src/Tribe/Main.php:520 src/admin-views/admin-welcome-message.php:23
4136
  msgid "New User Primer"
4137
+ msgstr ""
4138
 
4139
  #: src/Tribe/Main.php:503
4140
  msgid "Customizing Event Tickets"
4142
 
4143
  #: src/Tribe/Main.php:502
4144
  msgid "Troubleshooting common problems"
4145
+ msgstr ""
4146
 
4147
  #: src/Tribe/Main.php:501
4148
  msgid "Features overview"
4150
 
4151
  #: src/Tribe/Main.php:500
4152
  msgid "Settings overview"
4153
+ msgstr ""
4154
 
4155
  #: src/Tribe/Main.php:498
4156
  msgid "Support for Event Tickets"
4157
+ msgstr ""
4158
 
4159
  #: src/Tribe/Main.php:334
4160
  msgid "When The Events Calendar and Event Tickets are both activated, The Events Calendar must be running version %1$s or greater. Please %2$supdate now.%3$s"
4161
+ msgstr ""
4162
 
4163
  #: src/Tribe/Attendees_Table.php:548 src/admin-views/list.php:43
4164
  msgid "Delete"
4165
+ msgstr "Löschen"
4166
 
4167
  #: src/Tribe/Attendees_Table.php:521
4168
  msgid "Export"
4169
+ msgstr "Daten exportieren"
4170
 
4171
  #: src/views/tickets/rsvp.php:162 src/views/blocks/rsvp/form/email.php:31
4172
  #: src/Tribe/Attendees_Table.php:520
4174
  #: src/Tribe/Privacy.php:445 src/Tribe/Privacy.php:541
4175
  #: src/admin-views/admin-welcome-message.php:62
4176
  msgid "Email"
4177
+ msgstr "E-Mail-Adresse"
4178
+
4179
+ #: src/Tribe/Attendees_Table.php:519
4180
+ msgid "Print"
4181
+ msgstr "Drucken"
4182
+
4183
+ #: src/Tribe/Attendees_Table.php:553
4184
+ msgid "Undo Check in"
4185
+ msgstr "Das Einchecken zurücknehmen"
4186
+
4187
+ #: src/Tribe/Attendees_Table.php:552
4188
+ msgid "Check in"
4189
+ msgstr "Einchecken"
4190
+
4191
+ #: src/views/tickets/email.php:410
4192
+ msgid "Security Code"
4193
+ msgstr ""
4194
+
4195
+ #: src/views/tickets/email.php:398
4196
+ msgid "Ticket #"
4197
+ msgstr ""
4198
+
4199
+ #: src/admin-views/editor/list-row.php:43
4200
+ msgid "Ticket Type:"
4201
+ msgstr "Ticketart:"
4202
+
4203
+ #: src/views/tickets/tpp-success.php:71
4204
+ msgid "Purchaser Email"
4205
+ msgstr "Besteller-E-Mail-Adresse"
4206
+
4207
+ #: src/views/tickets/tpp-success.php:68
4208
+ msgid "Purchaser Name"
4209
+ msgstr "Besteller"
4210
+
4211
+ #: src/Tribe/Metabox.php:53 src/Tribe/Admin/Ticket_Settings.php:22
4212
+ #: src/Tribe/Commerce/PayPal/Main.php:424 src/Tribe/Tickets_View.php:743
4213
+ #: src/admin-views/editor/list-table.php:30
4214
+ #: src/modules/blocks/tickets/index.js:25 src/resources/js/app/blocks.js:41249
4215
+ msgid "Tickets"
4216
+ msgstr ""
4217
+
4218
+ #: common/src/admin-views/tribe-options-network.php:27
4219
+ msgid "Hide the following settings tabs on every site:"
4220
+ msgstr "Blenden Sie die folgenden Reiter auf jeder Seite aus:"
4221
+
4222
+ #: common/src/admin-views/tribe-options-network.php:19
4223
+ msgid "This is where all of the global network settings for Modern Tribe's The Events Calendar can be modified."
4224
+ msgstr ""
4225
+
4226
+ #: common/src/admin-views/tribe-options-network.php:15
4227
+ msgid "Network Settings"
4228
+ msgstr "Netzwerk-Einstellungen"
4229
+
4230
+ #: common/src/admin-views/tribe-options-licenses.php:47
4231
+ msgid "Only license fields for %1$snetwork activated%2$s plugins will be listed on this screen. "
4232
+ msgstr ""
4233
+
4234
+ #: common/src/admin-views/tribe-options-licenses.php:38
4235
+ msgid "%1$s Using our plugins in a multisite network? %2$s Please note that your license key will be applied to the entire network, not just this site."
4236
+ msgstr "%1$s Nutzen Sie unsere Plugins in einem Multisite Network? %2$s Bitte beachten Sie, dass Ihr Lizenzschlüssel für das gesamte Netzwerk verwendet wird, nicht nur für diese Seite."
4237
+
4238
+ #: common/src/admin-views/tribe-options-help.php:80
4239
+ msgid "More..."
4240
+ msgstr "Weiterlesen …"
4241
+
4242
+ #: common/src/admin-views/tribe-options-help.php:74
4243
+ msgid "News and Tutorials"
4244
+ msgstr ""
4245
+
4246
+ #: common/src/admin-views/tribe-options-help.php:41
4247
+ msgid "System Information"
4248
+ msgstr "System Information"
4249
+
4250
+ #: common/src/admin-views/tribe-options-help.php:38
4251
+ msgid "Read more about our support policy"
4252
+ msgstr ""
4253
+
4254
+ #: common/src/admin-views/tribe-options-help.php:37
4255
+ msgid "Please note that all hands-on support is provided via the help desk. You can email or tweet at us… ​but we will probably point you back to the help desk 😄"
4256
+ msgstr ""
4257
+
4258
+ #: common/src/admin-views/tribe-options-help.php:33
4259
+ msgid "%s. There are very few issues we haven’t seen and it’s likely another user has already asked your question and gotten an answer from our support staff. While posting to the help desk is open only to paid customers, they are open for anyone to search and review."
4260
+ msgstr "%s. Es gibt wenige Probleme, welche wir noch nicht gesehen haben und es ist sehr wahrscheinlich, dass Deine Frage schon gestellt und von unserem Supportpersonal beantwortet wurde. Auch wenn neue Fragen nur durch zahlende Kunden gestellt werden können, kann es von jedem durchsucht und angeschaut werden."
4261
+
4262
+ #: common/src/admin-views/tribe-options-help.php:32
4263
+ msgid "Test for a theme or plugin conflict"
4264
+ msgstr ""
4265
+
4266
+ #: common/src/admin-views/tribe-options-help.php:32
4267
+ msgid "%s. Testing for an existing conflict is the best start for in-depth troubleshooting. We will often ask you to follow these steps when opening a new thread, so doing this ahead of time will be super helpful."
4268
+ msgstr "%s. Auf einen bestehenden Konflikt zu überprüfen ist der beste Start für eine gründliche Untersuchung. Wir werden Sie oft bitten, diesen Schritte durchzuführen, wenn Du eine neue Anfrage stellen. Daher ist es sehr hilfreich, wenn Sie dies schon im voraus erledigen."
4269
+
4270
+ #: common/src/admin-views/tribe-options-help.php:31
4271
+ msgid "Check our Knowledgebase"
4272
+ msgstr "Knowledgebase besuchen"
4273
+
4274
+ #: common/src/admin-views/tribe-options-help.php:31
4275
+ msgid "%s. All of the common (and not-so-common) answers to questions we see are here. It’s often the fastest path to finding an answer!"
4276
+ msgstr "%s. Alle allgemeinen (und weniger allgemeinen) Antworten auf Fragen sind hier zu finden. Meist ist es der schnellste Weg um eine Antwort zu finden!"
4277
+
4278
+ #: common/src/admin-views/tribe-options-help.php:27
4279
+ msgid "While the resources above help solve a majority of the issues we see, there are times you might be looking for extra support. If you need assistance using our plugins and would like us to take a look, please follow these steps:"
4280
+ msgstr ""
4281
+
4282
+ #: common/src/admin-views/tribe-options-help.php:26
4283
+ msgid "Getting More Help"
4284
+ msgstr "\tMehr Unterstützung bekommen"
4285
+
4286
+ #: common/src/admin-views/tribe-options-help.php:21
4287
+ msgid "list of available functions"
4288
+ msgstr "Liste der verfügbaren Funktionen"
4289
+
4290
+ #: common/src/admin-views/tribe-options-help.php:15
4291
+ msgid "Knowledgebase"
4292
+ msgstr "Wissens-Datenbank"
4293
+
4294
+ #: common/src/admin-views/tribe-options-help.php:15
4295
+ msgid "Our website’s %s is a great place to find tips and tricks for using and customizing our plugins."
4296
+ msgstr ""
4297
+
4298
+ #: common/src/admin-views/tribe-options-help.php:14
4299
+ msgid "Getting Support"
4300
+ msgstr "Unterstützung erhalten"
4301
+
4302
+ #: common/src/admin-views/tribe-options-help.php:11
4303
+ msgid "Thank you for using %s! All of us at Modern Tribe sincerely appreciate your support and we’re excited to see you using our plugins."
4304
+ msgstr ""
4305
+
4306
+ #: common/src/admin-views/tribe-options-general.php:59
4307
+ msgid "Debug Bar Plugin"
4308
+ msgstr "Debug Bar Plugin"
4309
+
4310
+ #: common/src/admin-views/tribe-options-general.php:59
4311
+ msgid "Enable this option to log debug information. By default this will log to your server PHP error log. If you'd like to see the log messages in your browser, then we recommend that you install the %s and look for the \"Tribe\" tab in the debug output."
4312
+ msgstr "Aktivieren Sie die Option, um Debuginformationen mit zu loggen. Standardmäßig werden die Informationen in Ihrem PHP Server Error Log geschrieben. Wenn Sie die Debuginfos in Ihrem Browser sehen möchtest, empfehlen wir das %s zu installieren. Die Ausgabe der Debuginfos finden Sie im \"Tribe\" Tab."
4313
+
4314
+ #: common/src/admin-views/tribe-options-general.php:53
4315
+ msgid "Debug mode"
4316
+ msgstr "Debug mode"
4317
+
4318
+ #: common/src/admin-views/tribe-options-general.php:35
4319
+ msgid "Show The Events Calendar link"
4320
+ msgstr ""
4321
+
4322
+ #: common/src/admin-views/tribe-options-general.php:30
4323
+ msgid "See an example of the link"
4324
+ msgstr ""
4325
+
4326
+ #: common/src/admin-views/tribe-options-general.php:30
4327
+ msgid "Are you thinking \"Wow, this plugin is amazing! I should say thanks to Modern Tribe for all their hard work.\" The greatest thanks we could ask for is recognition. Add a small text-only link at the bottom of your calendar pointing to The Events Calendar project."
4328
+ msgstr "Sie finden: \"Wow, das Plugin ist fantastisch! Ich sollte Modern Tribe dafür danken!\" Der beste Dank ist ein kleiner Link zu uns am unteren Ende des Veranstaltungskalenders."
4329
+
4330
+ #: common/src/admin-views/tribe-options-general.php:25
4331
+ msgid "We hope our plugin is helping you out."
4332
+ msgstr ""
4333
+
4334
+ #: common/src/admin-views/tribe-options-general.php:20
4335
+ msgid "Check out the available add-ons"
4336
+ msgstr "Schauen Sie sich die verfügbaren Add-Ons an"
4337
+
4338
+ #: common/src/admin-views/tribe-options-general.php:20
4339
+ msgid "Looking for additional functionality including recurring events, custom meta, community events, ticket sales and more?"
4340
+ msgstr "Wünschen Sie erweiterte Funktionalität, einschließlich wiederkehrender Veranstaltungen, benutzerdefinierten Meta-Informationen, Community-Veranstaltungen, Ticketverkäufen und mehr?"
4341
+
4342
+ #: common/src/admin-views/tribe-options-general.php:15
4343
+ msgid "Optimize your site's event listings with %1$sThe Events Calendar%2$s, our free calendar plugin. Looking for additional functionality including recurring events, user-submission, advanced ticket sales and more? Check out our %3$spremium add-ons%4$s."
4344
+ msgstr ""
4345
+
4346
+ #: common/src/admin-views/tribe-options-general.php:10
4347
+ msgid "Thank you for using Event Tickets! All of us at Modern Tribe sincerely appreciate your support and we're excited to see you using our plugins. Check out our handy %1$sNew User Primer%2$s to get started."
4348
+ msgstr ""
4349
+
4350
+ #: common/src/admin-views/tribe-options-display.php:37
4351
+ msgid "Select the date format to use in datepickers"
4352
+ msgstr ""
4353
+
4354
+ #: common/src/admin-views/tribe-options-display.php:36
4355
+ msgid "Datepicker Date Format"
4356
+ msgstr "Datumswahl Format (\"Datepicker\")"
4357
+
4358
+ #: common/src/admin-views/tribe-options-display.php:22
4359
+ msgid "Date Format Settings"
4360
+ msgstr "Einstellungen Datumsformat"
4361
+
4362
+ #: common/src/Tribe/Languages/Locations.php:374
4363
+ msgid "Wyoming"
4364
+ msgstr "Wyoming"
4365
+
4366
+ #: common/src/Tribe/Languages/Locations.php:373
4367
+ msgid "Wisconsin"
4368
+ msgstr "Wisconsin"
4369
+
4370
+ #: common/src/Tribe/Languages/Locations.php:372
4371
+ msgid "West Virginia"
4372
+ msgstr "West Virginia"
4373
+
4374
+ #: common/src/Tribe/Languages/Locations.php:371
4375
+ msgid "Washington"
4376
+ msgstr "Washington"
4377
+
4378
+ #: common/src/Tribe/Languages/Locations.php:370
4379
+ msgid "Virginia"
4380
+ msgstr "Virginia"
4381
+
4382
+ #: common/src/Tribe/Languages/Locations.php:369
4383
+ msgid "Vermont"
4384
+ msgstr "Vermont"
4385
+
4386
+ #: common/src/Tribe/Languages/Locations.php:368
4387
+ msgid "Utah"
4388
+ msgstr "Utah"
4389
+
4390
+ #: common/src/Tribe/Languages/Locations.php:367
4391
+ msgid "Texas"
4392
+ msgstr "Texas"
4393
+
4394
+ #: common/src/Tribe/Languages/Locations.php:366
4395
+ msgid "Tennessee"
4396
+ msgstr "Tennessee"
4397
+
4398
+ #: common/src/Tribe/Languages/Locations.php:365
4399
+ msgid "South Dakota"
4400
+ msgstr "South Dakota"
4401
+
4402
+ #: common/src/Tribe/Languages/Locations.php:364
4403
+ msgid "South Carolina"
4404
+ msgstr "South Carolina"
4405
+
4406
+ #: common/src/Tribe/Languages/Locations.php:363
4407
+ msgid "Rhode Island"
4408
+ msgstr "Rhode Island"
4409
+
4410
+ #: common/src/Tribe/Languages/Locations.php:362
4411
+ msgid "Pennsylvania"
4412
+ msgstr "Pennsylvania"
4413
+
4414
+ #: common/src/Tribe/Languages/Locations.php:361
4415
+ msgid "Oregon"
4416
+ msgstr "Oregon"
4417
+
4418
+ #: common/src/Tribe/Languages/Locations.php:360
4419
+ msgid "Oklahoma"
4420
+ msgstr "Oklahoma"
4421
+
4422
+ #: common/src/Tribe/Languages/Locations.php:359
4423
+ msgid "Ohio"
4424
+ msgstr "Ohio"
4425
+
4426
+ #: common/src/Tribe/Languages/Locations.php:358
4427
+ msgid "North Dakota"
4428
+ msgstr "North Dakota"
4429
+
4430
+ #: common/src/Tribe/Languages/Locations.php:357
4431
+ msgid "North Carolina"
4432
+ msgstr "North Carolina"
4433
+
4434
+ #: common/src/Tribe/Languages/Locations.php:356
4435
+ msgid "New York"
4436
+ msgstr "New York"
4437
+
4438
+ #: common/src/Tribe/Languages/Locations.php:355
4439
+ msgid "New Mexico"
4440
+ msgstr "New Mexico"
4441
+
4442
+ #: common/src/Tribe/Languages/Locations.php:354
4443
+ msgid "New Jersey"
4444
+ msgstr "New Jersey"
4445
+
4446
+ #: common/src/Tribe/Languages/Locations.php:353
4447
+ msgid "New Hampshire"
4448
+ msgstr "New Hampshire"
4449
+
4450
+ #: common/src/Tribe/Languages/Locations.php:352
4451
+ msgid "Nevada"
4452
+ msgstr "Nevada"
4453
+
4454
+ #: common/src/Tribe/Languages/Locations.php:351
4455
+ msgid "Nebraska"
4456
+ msgstr "Nebraska"
4457
+
4458
+ #: common/src/Tribe/Languages/Locations.php:350
4459
+ msgid "Montana"
4460
+ msgstr "Montana"
4461
+
4462
+ #: common/src/Tribe/Languages/Locations.php:349
4463
+ msgid "Missouri"
4464
+ msgstr "Missouri"
4465
+
4466
+ #: common/src/Tribe/Languages/Locations.php:348
4467
+ msgid "Mississippi"
4468
+ msgstr "Mississippi"
4469
+
4470
+ #: common/src/Tribe/Languages/Locations.php:347
4471
+ msgid "Minnesota"
4472
+ msgstr "Minnesota"
4473
+
4474
+ #: common/src/Tribe/Languages/Locations.php:346
4475
+ msgid "Michigan"
4476
+ msgstr "Michigan"
4477
+
4478
+ #: common/src/Tribe/Languages/Locations.php:345
4479
+ msgid "Massachusetts"
4480
+ msgstr "Massachusetts"
4481
+
4482
+ #: common/src/Tribe/Languages/Locations.php:344
4483
+ msgid "Maryland"
4484
+ msgstr "Maryland"
4485
+
4486
+ #: common/src/Tribe/Languages/Locations.php:343
4487
+ msgid "Maine"
4488
+ msgstr "Maine"
4489
+
4490
+ #: common/src/Tribe/Languages/Locations.php:342
4491
+ msgid "Louisiana"
4492
+ msgstr "Louisiana"
4493
+
4494
+ #: common/src/Tribe/Languages/Locations.php:341
4495
+ msgid "Kentucky"
4496
+ msgstr "Kentucky"
4497
+
4498
+ #: common/src/Tribe/Languages/Locations.php:340
4499
+ msgid "Kansas"
4500
+ msgstr "Kansas"
4501
+
4502
+ #: common/src/Tribe/Languages/Locations.php:339
4503
+ msgid "Iowa"
4504
+ msgstr "Iowa"
4505
+
4506
+ #: common/src/Tribe/Languages/Locations.php:338
4507
+ msgid "Indiana"
4508
+ msgstr "Indiana"
4509
+
4510
+ #: common/src/Tribe/Languages/Locations.php:337
4511
+ msgid "Illinois"
4512
+ msgstr "Illinois"
4513
+
4514
+ #: common/src/Tribe/Languages/Locations.php:336
4515
+ msgid "Idaho"
4516
+ msgstr "Idaho"
4517
+
4518
+ #: common/src/Tribe/Languages/Locations.php:335
4519
+ msgid "Hawaii"
4520
+ msgstr "Hawaii"
4521
+
4522
+ #: common/src/Tribe/Languages/Locations.php:333
4523
+ msgid "Florida"
4524
+ msgstr "Florida"
4525
+
4526
+ #: common/src/Tribe/Languages/Locations.php:332
4527
+ msgid "District of Columbia"
4528
+ msgstr "Washington, D.C."
4529
+
4530
+ #: common/src/Tribe/Languages/Locations.php:331
4531
+ msgid "Delaware"
4532
+ msgstr "Delaware"
4533
+
4534
+ #: common/src/Tribe/Languages/Locations.php:330
4535
+ msgid "Connecticut"
4536
+ msgstr "Connecticut"
4537
+
4538
+ #: common/src/Tribe/Languages/Locations.php:329
4539
+ msgid "Colorado"
4540
+ msgstr "Colorado"
4541
+
4542
+ #: common/src/Tribe/Languages/Locations.php:328
4543
+ msgid "California"
4544
+ msgstr "Kalifornien"
4545
+
4546
+ #: common/src/Tribe/Languages/Locations.php:327
4547
+ msgid "Arkansas"
4548
+ msgstr "Arkansas"
4549
+
4550
+ #: common/src/Tribe/Languages/Locations.php:326
4551
+ msgid "Arizona"
4552
+ msgstr "Arizona"
4553
+
4554
+ #: common/src/Tribe/Languages/Locations.php:325
4555
+ msgid "Alaska"
4556
+ msgstr "Alaska"
4557
+
4558
+ #: common/src/Tribe/Languages/Locations.php:324
4559
+ msgid "Alabama"
4560
+ msgstr "Alabama"
4561
+
4562
+ #: common/src/Tribe/Languages/Locations.php:297
4563
+ msgid "Zimbabwe"
4564
+ msgstr "Simbabwe"
4565
+
4566
+ #: common/src/Tribe/Languages/Locations.php:296
4567
+ msgid "Zambia"
4568
+ msgstr "Sambia"
4569
+
4570
+ #: common/src/Tribe/Languages/Locations.php:295
4571
+ msgid "Yemen"
4572
+ msgstr "Jemen"
4573
+
4574
+ #: common/src/Tribe/Languages/Locations.php:294
4575
+ msgid "Western Sahara"
4576
+ msgstr "Westsahara"
4577
+
4578
+ #: common/src/Tribe/Languages/Locations.php:293
4579
+ msgid "Wallis and Futuna Islands"
4580
+ msgstr ""
4581
+
4582
+ #: common/src/Tribe/Languages/Locations.php:292
4583
+ msgid "Virgin Islands (U.S.)"
4584
+ msgstr ""
4585
+
4586
+ #: common/src/Tribe/Languages/Locations.php:291
4587
+ msgid "Virgin Islands (British)"
4588
+ msgstr ""
4589
+
4590
+ #: common/src/Tribe/Languages/Locations.php:290
4591
+ msgid "Viet Nam"
4592
+ msgstr ""
4593
+
4594
+ #: common/src/Tribe/Languages/Locations.php:289
4595
+ msgid "Venezuela"
4596
+ msgstr "Venezuela"
4597
+
4598
+ #: common/src/Tribe/Languages/Locations.php:288
4599
+ msgid "Vanuatu"
4600
+ msgstr "Vanuatu"
4601
+
4602
+ #: common/src/Tribe/Languages/Locations.php:287
4603
+ msgid "Uzbekistan"
4604
+ msgstr "Usbekistan"
4605
+
4606
+ #: common/src/Tribe/Languages/Locations.php:286
4607
+ msgid "Uruguay"
4608
+ msgstr "Uruguay"
4609
+
4610
+ #: common/src/Tribe/Languages/Locations.php:285
4611
+ msgid "United States Minor Outlying Islands"
4612
+ msgstr ""
4613
+
4614
+ #: common/src/Tribe/Languages/Locations.php:284
4615
+ msgid "United Kingdom"
4616
+ msgstr ""
4617
+
4618
+ #: common/src/Tribe/Languages/Locations.php:283
4619
+ msgid "United Arab Emirates"
4620
+ msgstr "Vereinigte Arabische Emirate"
4621
+
4622
+ #: common/src/Tribe/Languages/Locations.php:282
4623
+ msgid "Ukraine"
4624
+ msgstr "Ukraine"
4625
+
4626
+ #: common/src/Tribe/Languages/Locations.php:281
4627
+ msgid "Uganda"
4628
+ msgstr "Uganda"
4629
+
4630
+ #: common/src/Tribe/Languages/Locations.php:280
4631
+ msgid "Tuvalu"
4632
+ msgstr "Tuvalu"
4633
+
4634
+ #: common/src/Tribe/Languages/Locations.php:279
4635
+ msgid "Turks and Caicos Islands"
4636
+ msgstr ""
4637
+
4638
+ #: common/src/Tribe/Languages/Locations.php:278
4639
+ msgid "Turkmenistan"
4640
+ msgstr "Turkmenistan"
4641
+
4642
+ #: common/src/Tribe/Languages/Locations.php:277
4643
+ msgid "Turkey"
4644
+ msgstr "Türkei"
4645
+
4646
+ #: common/src/Tribe/Languages/Locations.php:276
4647
+ msgid "Tunisia"
4648
+ msgstr "Tunesien"
4649
+
4650
+ #: common/src/Tribe/Languages/Locations.php:275
4651
+ msgid "Trinidad and Tobago"
4652
+ msgstr ""
4653
+
4654
+ #: common/src/Tribe/Languages/Locations.php:274
4655
+ msgid "Tonga"
4656
+ msgstr "Tonga"
4657
+
4658
+ #: common/src/Tribe/Languages/Locations.php:273
4659
+ msgid "Tokelau"
4660
+ msgstr "Tokelau"
4661
+
4662
+ #: common/src/Tribe/Languages/Locations.php:272
4663
+ msgid "Togo"
4664
+ msgstr "Togo"
4665
+
4666
+ #: common/src/Tribe/Languages/Locations.php:271
4667
+ msgid "Thailand"
4668
+ msgstr "Thailand"
4669
+
4670
+ #: common/src/Tribe/Languages/Locations.php:270
4671
+ msgid "Tanzania, United Republic of"
4672
+ msgstr ""
4673
+
4674
+ #: common/src/Tribe/Languages/Locations.php:269
4675
+ msgid "Tajikistan"
4676
+ msgstr "Tadschikistan"
4677
+
4678
+ #: common/src/Tribe/Languages/Locations.php:268
4679
+ msgid "Taiwan"
4680
+ msgstr "Taiwan"
4681
+
4682
+ #: common/src/Tribe/Languages/Locations.php:267
4683
+ msgid "Syrian Arab Republic"
4684
+ msgstr ""
4685
+
4686
+ #: common/src/Tribe/Languages/Locations.php:266
4687
+ msgid "Switzerland"
4688
+ msgstr "Schweiz"
4689
+
4690
+ #: common/src/Tribe/Languages/Locations.php:265
4691
+ msgid "Sweden"
4692
+ msgstr "Schweden"
4693
+
4694
+ #: common/src/Tribe/Languages/Locations.php:264
4695
+ msgid "Swaziland"
4696
+ msgstr "Swasiland"
4697
+
4698
+ #: common/src/Tribe/Languages/Locations.php:263
4699
+ msgid "Svalbard and Jan Mayen Islands"
4700
+ msgstr ""
4701
+
4702
+ #: common/src/Tribe/Languages/Locations.php:262
4703
+ msgid "Suriname"
4704
+ msgstr "Suriname"
4705
+
4706
+ #: common/src/Tribe/Languages/Locations.php:261
4707
+ msgid "Sudan"
4708
+ msgstr "Sudan"
4709
+
4710
+ #: common/src/Tribe/Languages/Locations.php:241
4711
+ msgid "Saint Pierre and Miquelon"
4712
+ msgstr ""
4713
+
4714
+ #: common/src/Tribe/Languages/Locations.php:260
4715
+ msgid "Sri Lanka"
4716
+ msgstr "Sri Lanka"
4717
+
4718
+ #: common/src/Tribe/Languages/Locations.php:259
4719
+ msgid "Spain"
4720
+ msgstr "Spanien"
4721
+
4722
+ #: common/src/Tribe/Languages/Locations.php:258
4723
+ msgid "South Georgia, South Sandwich Islands"
4724
+ msgstr ""
4725
+
4726
+ #: common/src/Tribe/Languages/Locations.php:257
4727
+ msgid "South Africa"
4728
+ msgstr "Südafrika"
4729
+
4730
+ #: common/src/Tribe/Languages/Locations.php:256
4731
+ msgid "Somalia"
4732
+ msgstr "Somalia"
4733
+
4734
+ #: common/src/Tribe/Languages/Locations.php:255
4735
+ msgid "Solomon Islands"
4736
+ msgstr "Salomonen"
4737
+
4738
+ #: common/src/Tribe/Languages/Locations.php:254
4739
+ msgid "Slovenia"
4740
+ msgstr "Slowenien"
4741
+
4742
+ #: common/src/Tribe/Languages/Locations.php:253
4743
+ msgid "Slovakia (Slovak Republic)"
4744
+ msgstr ""
4745
+
4746
+ #: common/src/Tribe/Languages/Locations.php:251
4747
+ msgid "Singapore"
4748
+ msgstr "Singapur"
4749
+
4750
+ #: common/src/Tribe/Languages/Locations.php:250
4751
+ msgid "Sierra Leone"
4752
+ msgstr "Sierra Leone"
4753
+
4754
+ #: common/src/Tribe/Languages/Locations.php:249
4755
+ msgid "Seychelles"
4756
+ msgstr "Seychellen"
4757
+
4758
+ #: common/src/Tribe/Languages/Locations.php:248
4759
+ msgid "Serbia"
4760
+ msgstr "Serbien"
4761
+
4762
+ #: common/src/Tribe/Languages/Locations.php:247
4763
+ msgid "Senegal"
4764
+ msgstr "Senegal"
4765
+
4766
+ #: common/src/Tribe/Languages/Locations.php:246
4767
+ msgid "Saudi Arabia"
4768
+ msgstr "Saudi-Arabien"
4769
+
4770
+ #: common/src/Tribe/Languages/Locations.php:244
4771
+ msgid "San Marino"
4772
+ msgstr "San Marino"
4773
+
4774
+ #: common/src/Tribe/Languages/Locations.php:243
4775
+ msgid "Samoa"
4776
+ msgstr "Samoa"
4777
+
4778
+ #: common/src/Tribe/Languages/Locations.php:242
4779
+ msgid "Saint Vincent and The Grenadines"
4780
+ msgstr ""
4781
+
4782
+ #: common/src/Tribe/Languages/Locations.php:240
4783
+ msgid "Saint Lucia"
4784
+ msgstr "St. Lucia"
4785
+
4786
+ #: common/src/Tribe/Languages/Locations.php:239
4787
+ msgid "Saint Kitts and Nevis"
4788
+ msgstr ""
4789
+
4790
+ #: common/src/Tribe/Languages/Locations.php:236
4791
+ msgid "Rwanda"
4792
+ msgstr "Ruanda"
4793
+
4794
+ #: common/src/Tribe/Languages/Locations.php:235
4795
+ msgid "Russian Federation"
4796
+ msgstr ""
4797
+
4798
+ #: common/src/Tribe/Languages/Locations.php:234
4799
+ msgid "Romania"
4800
+ msgstr "Rumänien"
4801
+
4802
+ #: common/src/Tribe/Languages/Locations.php:233
4803
+ msgid "Reunion"
4804
+ msgstr "Réunion"
4805
+
4806
+ #: common/src/Tribe/Languages/Locations.php:232
4807
+ msgid "Qatar"
4808
+ msgstr "Katar"
4809
+
4810
+ #: common/src/Tribe/Languages/Locations.php:231
4811
+ msgid "Puerto Rico"
4812
+ msgstr "Puerto Rico"
4813
+
4814
+ #: common/src/Tribe/Languages/Locations.php:230
4815
+ msgid "Portugal"
4816
+ msgstr "Portugal"
4817
+
4818
+ #: common/src/Tribe/Languages/Locations.php:229
4819
+ msgid "Poland"
4820
+ msgstr "Polen"
4821
+
4822
+ #: common/src/Tribe/Languages/Locations.php:228
4823
+ msgid "Pitcairn"
4824
+ msgstr "Pitcairninseln"
4825
+
4826
+ #: common/src/Tribe/Languages/Locations.php:227
4827
+ msgid "Philippines"
4828
+ msgstr "Philippinen"
4829
+
4830
+ #: common/src/Tribe/Languages/Locations.php:226
4831
+ msgid "Peru"
4832
+ msgstr "Peru"
4833
+
4834
+ #: common/src/Tribe/Languages/Locations.php:225
4835
+ msgid "Paraguay"
4836
+ msgstr "Paraguay"
4837
+
4838
+ #: common/src/Tribe/Languages/Locations.php:224
4839
+ msgid "Papua New Guinea"
4840
+ msgstr "Papua-Neuguinea"
4841
+
4842
+ #: common/src/Tribe/Languages/Locations.php:223
4843
+ msgid "Panama"
4844
+ msgstr "Panama"
4845
+
4846
+ #: common/src/Tribe/Languages/Locations.php:222
4847
+ msgid "Palau"
4848
+ msgstr "Palau"
4849
+
4850
+ #: common/src/Tribe/Languages/Locations.php:221
4851
+ msgid "Pakistan"
4852
+ msgstr "Pakistan"
4853
+
4854
+ #: common/src/Tribe/Languages/Locations.php:220
4855
+ msgid "Oman"
4856
+ msgstr "Oman"
4857
+
4858
+ #: common/src/Tribe/Languages/Locations.php:219
4859
+ msgid "Norway"
4860
+ msgstr "Norwegen"
4861
+
4862
+ #: common/src/Tribe/Languages/Locations.php:218
4863
+ msgid "Northern Mariana Islands"
4864
+ msgstr "Nördliche Marianen"
4865
+
4866
+ #: common/src/Tribe/Languages/Locations.php:217
4867
+ msgid "Norfolk Island"
4868
+ msgstr "Norfolkinsel"
4869
+
4870
+ #: common/src/Tribe/Languages/Locations.php:216
4871
+ msgid "Niue"
4872
+ msgstr "Niue"
4873
+
4874
+ #: common/src/Tribe/Languages/Locations.php:215
4875
+ msgid "Nigeria"
4876
+ msgstr "Nigeria"
4877
+
4878
+ #: common/src/Tribe/Languages/Locations.php:214
4879
+ msgid "Niger"
4880
+ msgstr "Niger"
4881
+
4882
+ #: common/src/Tribe/Languages/Locations.php:213
4883
+ msgid "Nicaragua"
4884
+ msgstr "Nicaragua"
4885
+
4886
+ #: common/src/Tribe/Languages/Locations.php:212
4887
+ msgid "New Zealand"
4888
+ msgstr "Neuseeland"
4889
+
4890
+ #: common/src/Tribe/Languages/Locations.php:211
4891
+ msgid "New Caledonia"
4892
+ msgstr "Neukaledonien"
4893
+
4894
+ #: common/src/Tribe/Languages/Locations.php:210
4895
+ msgid "Netherlands"
4896
+ msgstr "Niederlande"
4897
+
4898
+ #: common/src/Tribe/Languages/Locations.php:209
4899
+ msgid "Nepal"
4900
+ msgstr "Nepal"
4901
+
4902
+ #: common/src/Tribe/Languages/Locations.php:208
4903
+ msgid "Nauru"
4904
+ msgstr "Nauru"
4905
+
4906
+ #: common/src/Tribe/Languages/Locations.php:207
4907
+ msgid "Namibia"
4908
+ msgstr "Namibia"
4909
+
4910
+ #: common/src/Tribe/Languages/Locations.php:206
4911
+ msgid "Myanmar"
4912
+ msgstr "Myanmar"
4913
+
4914
+ #: common/src/Tribe/Languages/Locations.php:205
4915
+ msgid "Mozambique"
4916
+ msgstr "Mosambik"
4917
+
4918
+ #: common/src/Tribe/Languages/Locations.php:204
4919
+ msgid "Morocco"
4920
+ msgstr "Marokko"
4921
+
4922
+ #: common/src/Tribe/Languages/Locations.php:203
4923
+ msgid "Montserrat"
4924
+ msgstr "Montserrat"
4925
+
4926
+ #: common/src/Tribe/Languages/Locations.php:202
4927
+ msgid "Montenegro"
4928
+ msgstr "Montenegro"
4929
+
4930
+ #: common/src/Tribe/Languages/Locations.php:201
4931
+ msgid "Mongolia"
4932
+ msgstr "Mongolei"
4933
+
4934
+ #: common/src/Tribe/Languages/Locations.php:200
4935
+ msgid "Monaco"
4936
+ msgstr "Monaco"
4937
+
4938
+ #: common/src/Tribe/Languages/Locations.php:199
4939
+ msgid "Moldova, Republic of"
4940
+ msgstr ""
4941
+
4942
+ #: common/src/Tribe/Languages/Locations.php:198
4943
+ msgid "Micronesia, Federated States of"
4944
+ msgstr ""
4945
+
4946
+ #: common/src/Tribe/Languages/Locations.php:197
4947
+ msgid "Mexico"
4948
+ msgstr "Mexiko"
4949
+
4950
+ #: common/src/Tribe/Languages/Locations.php:196
4951
+ msgid "Mayotte"
4952
+ msgstr "Mayotte"
4953
+
4954
+ #: common/src/Tribe/Languages/Locations.php:195
4955
+ msgid "Mauritius"
4956
+ msgstr "Mauritius"
4957
+
4958
+ #: common/src/Tribe/Languages/Locations.php:194
4959
+ msgid "Mauritania"
4960
+ msgstr "Mauretanien"
4961
+
4962
+ #: common/src/Tribe/Languages/Locations.php:193
4963
+ msgid "Martinique"
4964
+ msgstr "Martinique"
4965
+
4966
+ #: common/src/Tribe/Languages/Locations.php:192
4967
+ msgid "Marshall Islands"
4968
+ msgstr "Marshallinseln"
4969
+
4970
+ #: common/src/Tribe/Languages/Locations.php:191
4971
+ msgid "Malta"
4972
+ msgstr "Malta"
4973
+
4974
+ #: common/src/Tribe/Languages/Locations.php:190
4975
+ msgid "Mali"
4976
+ msgstr "Mali"
4977
+
4978
+ #: common/src/Tribe/Languages/Locations.php:189
4979
+ msgid "Maldives"
4980
+ msgstr "Malediven"
4981
+
4982
+ #: common/src/Tribe/Languages/Locations.php:188
4983
+ msgid "Malaysia"
4984
+ msgstr "Malaysia"
4985
+
4986
+ #: common/src/Tribe/Languages/Locations.php:187
4987
+ msgid "Malawi"
4988
+ msgstr "Malawi"
4989
+
4990
+ #: common/src/Tribe/Languages/Locations.php:186
4991
+ msgid "Madagascar"
4992
+ msgstr "Madagaskar"
4993
+
4994
+ #: common/src/Tribe/Languages/Locations.php:185
4995
+ msgid "Macedonia"
4996
+ msgstr "Mazedonien"
4997
+
4998
+ #: common/src/Tribe/Languages/Locations.php:184
4999
+ msgid "Macau"
5000
+ msgstr "Macao"
5001
+
5002
+ #: common/src/Tribe/Languages/Locations.php:183
5003
+ msgid "Luxembourg"
5004
+ msgstr "Luxemburg"
5005
+
5006
+ #: common/src/Tribe/Languages/Locations.php:182
5007
+ msgid "Lithuania"
5008
+ msgstr "Litauen"
5009
+
5010
+ #: common/src/Tribe/Languages/Locations.php:181
5011
+ msgid "Liechtenstein"
5012
+ msgstr "Liechtenstein"
5013
+
5014
+ #: common/src/Tribe/Languages/Locations.php:180
5015
+ msgid "Libya"
5016
+ msgstr "Libyen"
5017
+
5018
+ #: common/src/Tribe/Languages/Locations.php:179
5019
+ msgid "Liberia"
5020
+ msgstr "Liberia"
5021
+
5022
+ #: common/src/Tribe/Languages/Locations.php:178
5023
+ msgid "Lesotho"
5024
+ msgstr "Lesotho"
5025
+
5026
+ #: common/src/Tribe/Languages/Locations.php:177
5027
+ msgid "Lebanon"
5028
+ msgstr "Libanon"
5029
+
5030
+ #: common/src/Tribe/Languages/Locations.php:176
5031
+ msgid "Latvia"
5032
+ msgstr "Lettland"
5033
+
5034
+ #: common/src/Tribe/Languages/Locations.php:175
5035
+ msgid "Lao People's Democratic Republic"
5036
+ msgstr ""
5037
+
5038
+ #: common/src/Tribe/Languages/Locations.php:174
5039
+ msgid "Kyrgyzstan"
5040
+ msgstr "Kirgisistan"
5041
+
5042
+ #: common/src/Tribe/Languages/Locations.php:173
5043
+ msgid "Kuwait"
5044
+ msgstr "Kuwait"
5045
+
5046
+ #: common/src/Tribe/Languages/Locations.php:172
5047
+ msgid "Korea, Republic of"
5048
+ msgstr "Korea"
5049
+
5050
+ #: common/src/Tribe/Languages/Locations.php:171
5051
+ msgid "Korea, Democratic People's Republic of"
5052
+ msgstr "Demokratische Republik Korea"
5053
+
5054
+ #: common/src/Tribe/Languages/Locations.php:170
5055
+ msgid "Kiribati"
5056
+ msgstr "Kiribati"
5057
+
5058
+ #: common/src/Tribe/Languages/Locations.php:169
5059
+ msgid "Kenya"
5060
+ msgstr "Kenia"
5061
+
5062
+ #: common/src/Tribe/Languages/Locations.php:168
5063
+ msgid "Kazakhstan"
5064
+ msgstr "Kasachstan"
5065
+
5066
+ #: common/src/Tribe/Languages/Locations.php:167
5067
+ msgid "Jordan"
5068
+ msgstr "Jordanien"
5069
+
5070
+ #: common/src/Tribe/Languages/Locations.php:166
5071
+ msgid "Japan"
5072
+ msgstr "Japan"
5073
+
5074
+ #: common/src/Tribe/Languages/Locations.php:165
5075
+ msgid "Jamaica"
5076
+ msgstr "Jamaika"
5077
+
5078
+ #: common/src/Tribe/Languages/Locations.php:164
5079
+ msgid "Italy"
5080
+ msgstr "Italien"
5081
+
5082
+ #: common/src/Tribe/Languages/Locations.php:163
5083
+ msgid "Israel"
5084
+ msgstr "Israel"
5085
+
5086
+ #: common/src/Tribe/Languages/Locations.php:162
5087
+ msgid "Ireland"
5088
+ msgstr "Irland"
5089
+
5090
+ #: common/src/Tribe/Languages/Locations.php:161
5091
+ msgid "Iraq"
5092
+ msgstr "Irak"
5093
+
5094
+ #: common/src/Tribe/Languages/Locations.php:160
5095
+ msgid "Iran, Islamic Republic of"
5096
+ msgstr "Iran"
5097
+
5098
+ #: common/src/Tribe/Languages/Locations.php:159
5099
+ msgid "Indonesia"
5100
+ msgstr "Indonesien"
5101
+
5102
+ #: common/src/Tribe/Languages/Locations.php:158
5103
+ msgid "India"
5104
+ msgstr "Indien"
5105
+
5106
+ #: common/src/Tribe/Languages/Locations.php:157
5107
+ msgid "Iceland"
5108
+ msgstr "Island"
5109
+
5110
+ #: common/src/Tribe/Languages/Locations.php:156
5111
+ msgid "Hungary"
5112
+ msgstr "Ungarn"
5113
+
5114
+ #: common/src/Tribe/Languages/Locations.php:155
5115
+ msgid "Hong Kong"
5116
+ msgstr "Hongkong"
5117
+
5118
+ #: common/src/Tribe/Languages/Locations.php:154
5119
+ msgid "Honduras"
5120
+ msgstr "Honduras"
5121
+
5122
+ #: common/src/Tribe/Languages/Locations.php:153
5123
+ msgid "Holy See (Vatican City State)"
5124
+ msgstr "Vatikanstadt"
5125
+
5126
+ #: common/src/Tribe/Languages/Locations.php:152
5127
+ msgid "Heard and McDonald Islands"
5128
+ msgstr "Heard und Mc Donald Islands"
5129
+
5130
+ #: common/src/Tribe/Languages/Locations.php:151
5131
+ msgid "Haiti"
5132
+ msgstr "Haiti"
5133
+
5134
+ #: common/src/Tribe/Languages/Locations.php:150
5135
+ msgid "Guyana"
5136
+ msgstr "Guyana"
5137
+
5138
+ #: common/src/Tribe/Languages/Locations.php:149
5139
+ msgid "Guinea-Bissau"
5140
+ msgstr "Guinea-Bissau"
5141
+
5142
+ #: common/src/Tribe/Languages/Locations.php:148
5143
+ msgid "Guinea"
5144
+ msgstr "Guinea"
5145
+
5146
+ #: common/src/Tribe/Languages/Locations.php:147
5147
+ msgid "Guatemala"
5148
+ msgstr "Guatemala"
5149
+
5150
+ #: common/src/Tribe/Languages/Locations.php:146
5151
+ msgid "Guam"
5152
+ msgstr "Guam"
5153
+
5154
+ #: common/src/Tribe/Languages/Locations.php:145
5155
+ msgid "Guadeloupe"
5156
+ msgstr "Guadeloupe"
5157
+
5158
+ #: common/src/Tribe/Languages/Locations.php:144
5159
+ msgid "Grenada"
5160
+ msgstr "Grenada"
5161
+
5162
+ #: common/src/Tribe/Languages/Locations.php:143
5163
+ msgid "Greenland"
5164
+ msgstr "Grönland"
5165
+
5166
+ #: common/src/Tribe/Languages/Locations.php:142
5167
+ msgid "Greece"
5168
+ msgstr "Griechenland"
5169
+
5170
+ #: common/src/Tribe/Languages/Locations.php:141
5171
+ msgid "Gibraltar"
5172
+ msgstr "Gibraltar"
5173
+
5174
+ #: common/src/Tribe/Languages/Locations.php:140
5175
+ msgid "Ghana"
5176
+ msgstr "Ghana"
5177
+
5178
+ #: common/src/Tribe/Languages/Locations.php:139
5179
+ msgid "Germany"
5180
+ msgstr "Deutschland"
5181
+
5182
+ #: common/src/Tribe/Languages/Locations.php:138
5183
+ #: common/src/Tribe/Languages/Locations.php:334
5184
+ msgid "Georgia"
5185
+ msgstr "Georgien"
5186
+
5187
+ #: common/src/Tribe/Languages/Locations.php:137
5188
+ msgid "Gambia"
5189
+ msgstr "Gambia"
5190
+
5191
+ #: common/src/Tribe/Languages/Locations.php:136
5192
+ msgid "Gabon"
5193
+ msgstr "Gabun"
5194
+
5195
+ #: common/src/Tribe/Languages/Locations.php:135
5196
+ msgid "French Southern Territories"
5197
+ msgstr "Französische Süd- und Antarktisgebiete"
5198
+
5199
+ #: common/src/Tribe/Languages/Locations.php:134
5200
+ msgid "French Polynesia"
5201
+ msgstr "Französisch-Polynesien"
5202
+
5203
+ #: common/src/Tribe/Languages/Locations.php:133
5204
+ msgid "French Guiana"
5205
+ msgstr "Französisch-Guayana"
5206
+
5207
+ #: common/src/Tribe/Languages/Locations.php:132
5208
+ msgid "France"
5209
+ msgstr "Frankreich"
5210
+
5211
+ #: common/src/Tribe/Languages/Locations.php:131
5212
+ msgid "Finland"
5213
+ msgstr "Finnland"
5214
+
5215
+ #: common/src/Tribe/Languages/Locations.php:130
5216
+ msgid "Fiji"
5217
+ msgstr "Fidschi"
5218
+
5219
+ #: common/src/Tribe/Languages/Locations.php:129
5220
+ msgid "Faroe Islands"
5221
+ msgstr "Färöer"
5222
+
5223
+ #: common/src/Tribe/Languages/Locations.php:128
5224
+ msgid "Falkland Islands (Malvinas)"
5225
+ msgstr ""
5226
+
5227
+ #: common/src/Tribe/Languages/Locations.php:127
5228
+ msgid "Ethiopia"
5229
+ msgstr "Äthiopien"
5230
+
5231
+ #: common/src/Tribe/Languages/Locations.php:126
5232
+ msgid "Estonia"
5233
+ msgstr "Estland"
5234
+
5235
+ #: common/src/Tribe/Languages/Locations.php:125
5236
+ msgid "Eritrea"
5237
+ msgstr "Eritrea"
5238
+
5239
+ #: common/src/Tribe/Languages/Locations.php:124
5240
+ msgid "Equatorial Guinea"
5241
+ msgstr "Äquatorialguinea"
5242
+
5243
+ #: common/src/Tribe/Languages/Locations.php:123
5244
+ msgid "El Salvador"
5245
+ msgstr "El Salvador"
5246
+
5247
+ #: common/src/Tribe/Languages/Locations.php:122
5248
+ msgid "Egypt"
5249
+ msgstr "Ägypten"
5250
+
5251
+ #: common/src/Tribe/Languages/Locations.php:121
5252
+ msgid "Ecuador"
5253
+ msgstr "Ecuador"
5254
+
5255
+ #: common/src/Tribe/Languages/Locations.php:120
5256
+ msgid "East Timor"
5257
+ msgstr "Osttimor"
5258
+
5259
+ #: common/src/Tribe/Languages/Locations.php:119
5260
+ msgid "Dominican Republic"
5261
+ msgstr "Dominikanische Republik"
5262
+
5263
+ #: common/src/Tribe/Languages/Locations.php:118
5264
+ msgid "Dominica"
5265
+ msgstr "Dominica"
5266
+
5267
+ #: common/src/Tribe/Languages/Locations.php:117
5268
+ msgid "Djibouti"
5269
+ msgstr "Dschibuti"
5270
+
5271
+ #: common/src/Tribe/Languages/Locations.php:116
5272
+ msgid "Denmark"
5273
+ msgstr "Dänemark"
5274
+
5275
+ #: common/src/Tribe/Languages/Locations.php:115
5276
+ msgid "Czech Republic"
5277
+ msgstr "Tschechien"
5278
+
5279
+ #: common/src/Tribe/Languages/Locations.php:114
5280
+ msgid "Cyprus"
5281
+ msgstr "Zypern"
5282
+
5283
+ #: common/src/Tribe/Languages/Locations.php:112
5284
+ msgid "Cuba"
5285
+ msgstr "Kuba"
5286
+
5287
+ #: common/src/Tribe/Languages/Locations.php:111
5288
+ msgid "Croatia (Local Name: Hrvatska)"
5289
+ msgstr "Kroatien"
5290
+
5291
+ #: common/src/Tribe/Languages/Locations.php:109
5292
+ msgid "Costa Rica"
5293
+ msgstr "Costa Rica"
5294
+
5295
+ #: common/src/Tribe/Languages/Locations.php:108
5296
+ msgid "Cook Islands"
5297
+ msgstr "Cookinseln"
5298
+
5299
+ #: common/src/Tribe/Languages/Locations.php:107
5300
+ msgid "Congo, Democratic Republic of the"
5301
+ msgstr ""
5302
+
5303
+ #: common/src/Tribe/Languages/Locations.php:106
5304
+ msgid "Congo"
5305
+ msgstr ""
5306
+
5307
+ #: common/src/Tribe/Languages/Locations.php:105
5308
+ msgid "Comoros"
5309
+ msgstr "Komoren"
5310
+
5311
+ #: common/src/Tribe/Languages/Locations.php:104
5312
+ msgid "Colombia"
5313
+ msgstr "Kolumbien"
5314
+
5315
+ #: common/src/Tribe/Languages/Locations.php:102
5316
+ msgid "Cocos (Keeling) Islands"
5317
+ msgstr "Kokosinseln"
5318
+
5319
+ #: common/src/Tribe/Languages/Locations.php:101
5320
+ msgid "Christmas Island"
5321
+ msgstr "Weihnachtsinsel"
5322
+
5323
+ #: common/src/Tribe/Languages/Locations.php:100
5324
+ msgid "China"
5325
+ msgstr "China"
5326
+
5327
+ #: common/src/Tribe/Languages/Locations.php:99
5328
+ msgid "Chile"
5329
+ msgstr "Chile"
5330
+
5331
+ #: common/src/Tribe/Languages/Locations.php:98
5332
+ msgid "Chad"
5333
+ msgstr "Tschad"
5334
+
5335
+ #: common/src/Tribe/Languages/Locations.php:97
5336
+ msgid "Central African Republic"
5337
+ msgstr "Zentralafrikanische Republik"
5338
+
5339
+ #: common/src/Tribe/Languages/Locations.php:96
5340
+ msgid "Cayman Islands"
5341
+ msgstr "Caymaninseln"
5342
+
5343
+ #: common/src/Tribe/Languages/Locations.php:95
5344
+ msgid "Cape Verde"
5345
+ msgstr "Kap Verde"
5346
+
5347
+ #: common/src/Tribe/Languages/Locations.php:94
5348
+ msgid "Canada"
5349
+ msgstr "Kanada"
5350
+
5351
+ #: common/src/Tribe/Languages/Locations.php:93
5352
+ msgid "Cameroon"
5353
+ msgstr "Kamerun"
5354
+
5355
+ #: common/src/Tribe/Languages/Locations.php:92
5356
+ msgid "Cambodia"
5357
+ msgstr "Kambodscha"
5358
+
5359
+ #: common/src/Tribe/Languages/Locations.php:91
5360
+ msgid "Burundi"
5361
+ msgstr "Burundi"
5362
+
5363
+ #: common/src/Tribe/Languages/Locations.php:90
5364
+ msgid "Burkina Faso"
5365
+ msgstr "Burkina Faso"
5366
+
5367
+ #: common/src/Tribe/Languages/Locations.php:89
5368
+ msgid "Bulgaria"
5369
+ msgstr "Bulgarien"
5370
+
5371
+ #: common/src/Tribe/Languages/Locations.php:88
5372
+ msgid "Brunei Darussalam"
5373
+ msgstr ""
5374
+
5375
+ #: common/src/Tribe/Languages/Locations.php:87
5376
+ msgid "British Indian Ocean Territory"
5377
+ msgstr "Britisches Territorium im Indischen Ozean"
5378
+
5379
+ #: common/src/Tribe/Languages/Locations.php:86
5380
+ msgid "Brazil"
5381
+ msgstr "Brasilien"
5382
+
5383
+ #: common/src/Tribe/Languages/Locations.php:85
5384
+ msgid "Bouvet Island"
5385
+ msgstr "Bouvetinsel"
5386
+
5387
+ #: common/src/Tribe/Languages/Locations.php:84
5388
+ msgid "Botswana"
5389
+ msgstr "Botswana"
5390
+
5391
+ #: common/src/Tribe/Languages/Locations.php:83
5392
+ msgid "Bosnia and Herzegovina"
5393
+ msgstr ""
5394
+
5395
+ #: common/src/Tribe/Languages/Locations.php:82
5396
+ msgid "Bolivia"
5397
+ msgstr "Bolivien"
5398
+
5399
+ #: common/src/Tribe/Languages/Locations.php:81
5400
+ msgid "Bhutan"
5401
+ msgstr "Bhutan"
5402
+
5403
+ #: common/src/Tribe/Languages/Locations.php:80
5404
+ msgid "Bermuda"
5405
+ msgstr "Bermuda"
5406
+
5407
+ #: common/src/Tribe/Languages/Locations.php:79
5408
+ msgid "Benin"
5409
+ msgstr "Benin"
5410
+
5411
+ #: common/src/Tribe/Languages/Locations.php:78
5412
+ msgid "Belize"
5413
+ msgstr "Belize"
5414
+
5415
+ #: common/src/Tribe/Languages/Locations.php:77
5416
+ msgid "Belgium"
5417
+ msgstr "Belgien"
5418
+
5419
+ #: common/src/Tribe/Languages/Locations.php:76
5420
+ msgid "Belarus"
5421
+ msgstr "Weißrussland"
5422
+
5423
+ #: common/src/Tribe/Languages/Locations.php:75
5424
+ msgid "Barbados"
5425
+ msgstr "Barbados"
5426
+
5427
+ #: common/src/Tribe/Languages/Locations.php:74
5428
+ msgid "Bangladesh"
5429
+ msgstr "Bangladesch"
5430
+
5431
+ #: common/src/Tribe/Languages/Locations.php:73
5432
+ msgid "Bahrain"
5433
+ msgstr "Bahrain"
5434
+
5435
+ #: common/src/Tribe/Languages/Locations.php:72
5436
+ msgid "Bahamas"
5437
+ msgstr "Bahamas"
5438
+
5439
+ #: common/src/Tribe/Languages/Locations.php:71
5440
+ msgid "Azerbaijan"
5441
+ msgstr "Aserbaidschan"
5442
+
5443
+ #: common/src/Tribe/Languages/Locations.php:70
5444
+ msgid "Austria"
5445
+ msgstr "Österreich"
5446
+
5447
+ #: common/src/Tribe/Languages/Locations.php:69
5448
+ msgid "Australia"
5449
+ msgstr "Australien"
5450
+
5451
+ #: common/src/Tribe/Languages/Locations.php:68
5452
+ msgid "Aruba"
5453
+ msgstr "Aruba"
5454
+
5455
+ #: common/src/Tribe/Languages/Locations.php:67
5456
+ msgid "Armenia"
5457
+ msgstr "Armenien"
5458
+
5459
+ #: common/src/Tribe/Languages/Locations.php:66
5460
+ msgid "Argentina"
5461
+ msgstr "Argentinien"
5462
+
5463
+ #: common/src/Tribe/Languages/Locations.php:65
5464
+ msgid "Antigua and Barbuda"
5465
+ msgstr "Antigua und Barbuda"
5466
+
5467
+ #: common/src/Tribe/Languages/Locations.php:64
5468
+ msgid "Antarctica"
5469
+ msgstr "Antarktika"
5470
+
5471
+ #: common/src/Tribe/Languages/Locations.php:63
5472
+ msgid "Anguilla"
5473
+ msgstr "Anguilla"
5474
+
5475
+ #: common/src/Tribe/Languages/Locations.php:62
5476
+ msgid "Angola"
5477
+ msgstr "Angola"
5478
+
5479
+ #: common/src/Tribe/Languages/Locations.php:61
5480
+ msgid "Andorra"
5481
+ msgstr "Andorra"
5482
+
5483
+ #: common/src/Tribe/Languages/Locations.php:60
5484
+ msgid "American Samoa"
5485
+ msgstr "Amerikanisch-Samoa"
5486
+
5487
+ #: common/src/Tribe/Languages/Locations.php:59
5488
+ msgid "Algeria"
5489
+ msgstr "Algerien"
5490
+
5491
+ #: common/src/Tribe/Languages/Locations.php:58
5492
+ msgid "Albania"
5493
+ msgstr "Albanien"
5494
+
5495
+ #: common/src/Tribe/Languages/Locations.php:56
5496
+ msgid "Afghanistan"
5497
+ msgstr "Afghanistan"
5498
+
5499
+ #: common/src/Tribe/Languages/Locations.php:55
5500
+ msgid "United States"
5501
+ msgstr ""
5502
+
5503
+ #: common/src/Tribe/View_Helpers.php:51
5504
+ msgid "Select a Country:"
5505
+ msgstr ""
5506
+
5507
+ #: common/src/Tribe/Validate.php:514
5508
+ msgid "Country List must be formatted as one country per line in the following format: <br>US, United States <br> UK, United Kingdom."
5509
+ msgstr ""
5510
+
5511
+ #: common/src/Tribe/Validate.php:498
5512
+ msgid "%s must be a phone number."
5513
+ msgstr "%s muss eine Telefonnummer sein"
5514
+
5515
+ #: common/src/Tribe/Validate.php:484
5516
+ msgid "%s must consist of 5 numbers."
5517
+ msgstr "%s muss aus fünf Ziffern bestehen"
5518
+
5519
+ #: common/src/Tribe/Validate.php:470
5520
+ msgid "%s must consist of letters, spaces, apostrophes, and dashes."
5521
+ msgstr "%s darf aus Buchstaben, Leerzeichen, Apostrophen und Schrägstrichen bestehen"
5522
+
5523
+ #: common/src/Tribe/Validate.php:454
5524
+ msgid "%s must consist of letters, numbers, dashes, apostrophes, and spaces only."
5525
+ msgstr "%s darf nur aus Buchstaben, Ziffern, Leerzeichen, Apostrophen und Schrägstrichen bestehen"
5526
+
5527
+ #: common/src/Tribe/Validate.php:438
5528
+ msgid "%s must be a number between 0 and 21."
5529
+ msgstr "%s muss eine Zahl zwischen 0 und 21 sein."
5530
+
5531
+ #: common/src/Tribe/Validate.php:384
5532
+ msgid "%s must be a number or percentage."
5533
+ msgstr "%s muss eine Zahl oder Prozentsatz sein."
5534
+
5535
+ #: common/src/Tribe/Validate.php:368
5536
+ msgid "%s cannot be a duplicate"
5537
+ msgstr "%s kann nicht vervielfältigt werden"
5538
+
5539
+ #: common/src/Tribe/Validate.php:366
5540
+ msgid "%s cannot be the same as %s."
5541
+ msgstr "%s kann nicht dasselbe sein wie %s."
5542
+
5543
+ #: common/src/Tribe/Validate.php:359
5544
+ msgid "Comparison validation failed because no comparison value was provided, for field %s"
5545
+ msgstr ""
5546
+
5547
+ #: common/src/Tribe/Validate.php:298 common/src/Tribe/Validate.php:310
5548
+ #: common/src/Tribe/Validate.php:323 common/src/Tribe/Validate.php:345
5549
+ msgid "%s must have a value that's part of its options."
5550
+ msgstr ""
5551
+
5552
+ #: common/src/Tribe/Validate.php:282
5553
+ msgid "%s must be a valid absolute URL."
5554
+ msgstr "\t%s muss eine gültige URL sein."
5555
+
5556
+ #: common/src/Tribe/Validate.php:267
5557
+ msgid "%s must be a valid slug (numbers, letters, dashes, and underscores)."
5558
+ msgstr "%s muss eine gültige Ausgangsform haben (Nummern, Buchstaben, Gedankenstriche und Unterstreichungen)."
5559
+
5560
+ #: common/src/Tribe/Validate.php:214
5561
+ msgid "%s must be a positive number or percent."
5562
+ msgstr "%s muss eine positive Zahl oder ein Prozentwert sein."
5563
+
5564
+ #: common/src/Tribe/Validate.php:200 common/src/Tribe/Validate.php:228
5565
+ msgid "%s must be a positive number."
5566
+ msgstr "%s muss eine positive Zahl sein."
5567
+
5568
+ #: common/src/Tribe/Validate.php:152
5569
+ msgid "%s must contain numbers, letters and dots only"
5570
+ msgstr "%s darf nur Zahlen, Buchstaben oder Punkte enthalten"
5571
+
5572
+ #: common/src/Tribe/Validate.php:120 common/src/Tribe/Validate.php:136
5573
+ msgid "%s must contain numbers and letters only"
5574
+ msgstr "%s darf nur Zahlen und Buchstaben enthalten"
5575
+
5576
+ #: common/src/Tribe/Validate.php:105
5577
+ msgctxt "non-existant function name passed for field validation"
5578
+ msgid "with function name:"
5579
+ msgstr ""
5580
+
5581
+ #: common/src/Tribe/Validate.php:104
5582
+ msgid "Non-existant field validation function passed"
5583
+ msgstr ""
5584
+
5585
+ #: common/src/Tribe/Validate.php:73 common/src/Tribe/Validate.php:85
5586
+ #: common/src/Tribe/Validate.php:105
5587
+ msgid "Field ID:"
5588
+ msgstr "Feld ID:"
5589
+
5590
+ #: common/src/Tribe/Validate.php:72 common/src/Tribe/Validate.php:84
5591
+ msgid "Invalid or incomplete field passed"
5592
+ msgstr "Unvollständig oder fehlerhaft."
5593
+
5594
+ #: common/src/Tribe/Support.php:199
5595
+ msgid "Rewrite rules were purged on load of this help page. Chances are there is a rewrite rule flush occurring in a plugin or theme!"
5596
+ msgstr ""
5597
+
5598
+ #: common/src/Tribe/Support.php:188 common/src/Tribe/Support.php:189
5599
+ msgid "Unknown or not set"
5600
+ msgstr ""
5601
+
5602
+ #: common/src/Tribe/Settings_Tab.php:222
5603
+ msgid "There are no fields setup for this tab yet."
5604
+ msgstr ""
5605
+
5606
+ #: common/src/Tribe/Settings_Manager.php:253
5607
+ #: common/src/admin-views/tribe-options-licenses.php:66
5608
+ msgid "Licenses"
5609
+ msgstr "Lizenzen"
5610
+
5611
+ #: common/src/Tribe/Settings_Manager.php:219
5612
+ msgid "Network"
5613
+ msgstr "Netzwerk"
5614
+
5615
+ #: common/src/Tribe/Settings_Manager.php:279
5616
+ msgid "Help"
5617
+ msgstr "Hilfe"
5618
+
5619
+ #: common/src/Tribe/Settings_Manager.php:55
5620
+ msgid "Display"
5621
+ msgstr "Darstellung"
5622
+
5623
+ #: common/src/Tribe/Settings_Manager.php:54
5624
+ msgid "General"
5625
+ msgstr "Allgemein"
5626
+
5627
+ #: common/src/Tribe/Settings.php:643
5628
+ msgid "Settings saved."
5629
+ msgstr "Einstellungen gespeichert."
5630
+
5631
+ #: common/src/Tribe/Settings.php:621
5632
+ msgid "The above setting was not saved. Other settings were successfully saved."
5633
+ msgid_plural "The above settings were not saved. Other settings were successfully saved."
5634
+ msgstr[0] ""
5635
+ msgstr[1] ""
5636
+
5637
+ #: common/src/Tribe/Settings.php:620
5638
+ msgid "None of your settings were saved. Please try again."
5639
+ msgstr ""
5640
+
5641
+ #: common/src/Tribe/Settings.php:610
5642
+ msgid "Your form had the following errors:"
5643
+ msgstr ""
5644
+
5645
+ #: common/src/Tribe/Settings.php:431
5646
+ msgid "The request wasn't sent from this tab."
5647
+ msgstr ""
5648
+
5649
+ #: common/src/Tribe/Settings.php:425
5650
+ msgid "The request was sent insecurely."
5651
+ msgstr ""
5652
+
5653
+ #: common/src/Tribe/Settings.php:419
5654
+ msgid "You don't have permission to do that."
5655
+ msgstr ""
5656
+
5657
+ #: common/src/Tribe/Settings.php:371
5658
+ msgid "Save Changes"
5659
+ msgstr "Änderungen speichern"
5660
+
5661
+ #: common/src/Tribe/Settings.php:363
5662
+ msgid "You've requested a non-existent tab."
5663
+ msgstr ""
5664
+
5665
+ #: common/src/Tribe/Settings.php:349
5666
+ msgid "%s Settings"
5667
+ msgstr "%s Einstellungen"
5668
+
5669
+ #: src/admin-views/editor/panel/list.php:79 common/src/Tribe/Settings.php:254
5670
+ #: src/modules/elements/settings-dashboard/element.js:64
5671
+ #: src/modules/blocks/rsvp/action-buttons/settings-action-button/template.js:26
5672
+ #: src/modules/blocks/tickets/action-buttons/settings/template.js:20
5673
+ #: src/resources/js/app/blocks.js:11937 src/resources/js/app/blocks.js:39061
5674
+ #: src/resources/js/app/blocks.js:40087 src/resources/js/app/elements.js:5536
5675
+ msgid "Settings"
5676
+ msgstr "Einstellungen"
5677
+
5678
+ #: common/src/Tribe/Settings.php:253 common/src/Tribe/Settings.php:273
5679
+ msgid "Events Settings"
5680
+ msgstr "Veranstaltungseinstellungen"
5681
+
5682
+ #: common/src/Tribe/Settings.php:177 common/src/Tribe/Settings.php:241
5683
+ #: common/src/Tribe/Settings.php:242
5684
+ msgid "Events"
5685
+ msgstr "Veranstaltungen"
5686
+
5687
+ #: common/src/Tribe/PUE/Checker.php:896
5688
+ msgid "Hmmm... something's wrong with this validator. Please contact %ssupport%s."
5689
+ msgstr "Hmmm... irgendetwas stimmt mit diesem Validator nicht. Bitte kontaktiere den %sSupport%s."
5690
+
5691
+ #: common/src/Tribe/PUE/Checker.php:940
5692
+ msgid "Thanks for setting up a valid key. It will expire on %s"
5693
+ msgstr ""
5694
+
5695
+ #: common/src/Tribe/PUE/Checker.php:935
5696
+ msgid "Valid Key! Expires on %s"
5697
+ msgstr ""
5698
+
5699
+ #: common/src/Tribe/PUE/Checker.php:915
5700
+ msgid "Sorry, key validation server is not available."
5701
+ msgstr ""
5702
+
5703
+ #: common/src/Tribe/PUE/Checker.php:909
5704
+ msgid "unknown date"
5705
+ msgstr ""
5706
+
5707
+ #: common/src/Tribe/PUE/Checker.php:650
5708
+ msgid "License key(s) updated."
5709
+ msgstr "Lizenz - Schlüssel upgedatet"
5710
+
5711
+ #: common/src/Tribe/PUE/Checker.php:494
5712
+ msgid "A valid license key is required for support and updates"
5713
+ msgstr "Für Support und Updates ist ein gültiger Lizenzschlüssel erforderlich"
5714
+
5715
+ #: common/src/Tribe/PUE/Checker.php:509 common/src/Tribe/PUE/Checker.php:520
5716
+ msgid "License Key"
5717
+ msgstr "Lizenzschlüssel"
5718
+
5719
+ #: common/src/Tribe/Field.php:626
5720
+ msgid "No select options specified"
5721
+ msgstr "Keine Auswahlfeld-Optionen angegeben"
5722
+
5723
+ #: common/src/Tribe/Field.php:568
5724
+ msgid "No checkbox options specified"
5725
+ msgstr "Keine Checkbox-Optionen angegeben"
5726
+
5727
+ #: common/src/Tribe/Field.php:532
5728
+ msgid "No radio options specified"
5729
+ msgstr "Keine Radiobutton-Optionen angegeben"
5730
+
5731
+ #: common/src/Tribe/Field.php:231
5732
+ msgid "Invalid field type specified"
5733
+ msgstr "Ungültigen Feldtyp angegeben"
5734
+
5735
+ #: common/src/Tribe/Credits.php:31
5736
+ msgid "This calendar is powered by The Events Calendar."
5737
+ msgstr ""
5738
+
5739
+ #: common/src/Tribe/App_Shop.php:50 common/src/Tribe/App_Shop.php:51
5740
+ #: common/src/Tribe/App_Shop.php:72
5741
+ msgid "Event Add-Ons"
5742
+ msgstr "Veranstaltung Add-Ons"
5743
+
5744
+ #: common/src/Tribe/Admin/Help_Page.php:860
5745
+ msgid "Visit the Add-on Page"
5746
+ msgstr ""
5747
+
5748
+ #: common/src/Tribe/Admin/Help_Page.php:855
5749
+ msgid "Plugin Inactive"
5750
+ msgstr "Plugin inaktiv"
5751
+
5752
+ #: common/src/Tribe/Admin/Help_Page.php:853
5753
+ msgid "Plugin Active"
5754
+ msgstr "Plugin aktiv"
5755
+
5756
+ #: common/src/Tribe/Admin/Help_Page.php:847
5757
+ msgid "Premium Add-Ons"
5758
+ msgstr ""
5759
+
5760
+ #: common/src/Tribe/Admin/Help_Page.php:828
5761
+ msgid "Rating:"
5762
+ msgstr ""
5763
+
5764
+ #: common/src/Tribe/Admin/Help_Page.php:825
5765
+ msgid "Active Users:"
5766
+ msgstr "Aktive Nutzer:"
5767
+
5768
+ #: common/src/Tribe/Admin/Help_Page.php:823
5769
+ msgid "WordPress "
5770
+ msgstr ""
5771
+
5772
+ #: common/src/Tribe/Admin/Help_Page.php:822
5773
+ #: common/src/admin-views/app-shop.php:77
5774
+ msgid "Requires:"
5775
+ msgstr "Benötigt:"
5776
+
5777
+ #: common/src/Tribe/Admin/Help_Page.php:819
5778
+ msgid "Latest Version:"
5779
+ msgstr "Neueste Version:"
5780
+
5781
+ #: common/src/Tribe/Admin/Help_Page.php:802
5782
+ msgid "Install Plugin"
5783
+ msgstr ""
5784
+
5785
+ #: common/src/Tribe/Admin/Help_Page.php:802
5786
+ msgid "Install %s"
5787
+ msgstr "Installiere %s"
5788
+
5789
+ #: common/src/Tribe/Admin/Help_Page.php:786
5790
+ msgid "Upgrade Plugin"
5791
+ msgstr ""
5792
+
5793
+ #: common/src/Tribe/Admin/Help_Page.php:778
5794
+ msgid "Activate Plugin"
5795
+ msgstr "Aktiviere dieses Plugin"
5796
+
5797
+ #: common/src/Tribe/Admin/Help_Page.php:778
5798
+ msgid "Activate %s"
5799
+ msgstr "Aktiviere %s"
5800
+
5801
+ #: common/src/Tribe/Admin/Help_Page.php:413
5802
+ #: common/src/Tribe/Admin/Help_Page.php:788
5803
+ msgid "You are up to date!"
5804
+ msgstr ""
5805
+
5806
+ #: common/src/Tribe/Admin/Help_Page.php:413
5807
+ msgid "You need to upgrade!"
5808
+ msgstr "Sie müssen upgraden!"
5809
+
5810
+ #: common/src/Tribe/Admin/Help_Page.php:405
5811
+ msgctxt "not available"
5812
+ msgid "n/a"
5813
+ msgstr ""
5814
+
5815
+ #: common/src/Tribe/Admin/Help_Page.php:244
5816
+ #: common/src/Tribe/Plugins_API.php:100
5817
+ msgid "Community Tickets"
5818
+ msgstr "Community Tickets"
5819
+
5820
+ #: common/src/Tribe/Admin/Help_Page.php:235 common/src/Tribe/Plugins_API.php:66
5821
+ msgid "Event Tickets Plus"
5822
+ msgstr ""
5823
+
5824
+ #: common/src/Tribe/Admin/Help_Page.php:211 common/src/Tribe/Plugins_API.php:90
5825
+ msgid "Community Events"
5826
+ msgstr "Veranstaltungen bearbeiten"
5827
+
5828
+ #: common/src/Tribe/Admin/Help_Page.php:203
5829
+ #: common/src/Tribe/Plugins_API.php:111
5830
+ msgid "Eventbrite Tickets"
5831
+ msgstr "Eventbrite Tickets"
5832
+
5833
+ #: common/src/Tribe/Admin/Help_Page.php:194 common/src/Tribe/Plugins_API.php:43
5834
+ msgid "Events Calendar PRO"
5835
+ msgstr "Events Calendar PRO"
5836
+
5837
+ #: src/views/tickets/orders-link.php:38
5838
+ #: src/views/blocks/attendees/order-links.php:47 src/Tribe/Tickets_View.php:751
5839
+ #: common/src/Tribe/Admin/Help_Page.php:170
5840
+ msgid " and "
5841
+ msgstr " und "
5842
+
5843
+ #: common/src/Tribe/Admin/Help_Page.php:95
5844
+ msgid "Turbo charge your posts admin for any custom post type with sortable filters and columns, and auto-registration of metaboxes."
5845
+ msgstr ""
5846
+
5847
+ #: common/src/Tribe/Admin/Help_Page.php:91
5848
+ msgid "Advanced Post Manager"
5849
+ msgstr "Advanced Post Manager"
5850
+
5851
+ #: common/src/Tribe/Admin/Help_Page.php:79
5852
+ msgid "Events Tickets is a carefully crafted, extensible plugin that lets you easily sell tickets for your events."
5853
+ msgstr "Events Tickets ist ein sorgfältig entwickeltes, erweiterbares Plugin, mit welchem Sie einfach Karten zu Ihrer Veranstaltung verkaufen kannst."
5854
+
5855
+ #. Plugin Name of the plugin
5856
+ #: src/Tribe/Privacy.php:32 src/Tribe/Main.php:566
5857
+ #: common/src/Tribe/Admin/Help_Page.php:75 common/src/Tribe/Plugins_API.php:57
5858
+ msgid "Event Tickets"
5859
+ msgstr "Veranstaltungstickets"
5860
+
5861
+ #: common/src/Tribe/Admin/Help_Page.php:63
5862
+ msgid "The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events."
5863
+ msgstr ""
5864
+
5865
+ #: common/src/Tribe/Admin/Help_Page.php:59 common/src/Tribe/Plugins_API.php:25
5866
+ #: common/src/Tribe/Customizer.php:642
5867
+ msgid "The Events Calendar"
5868
+ msgstr "".php:62
5869
+ msgid "Email"
5870
  msgstr "Mail"
5871
 
5872
  #: src/Tribe/Attendees_Table.php:519
lang/event-tickets-it_IT.mo CHANGED
Binary file
lang/event-tickets-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Plugins - Event Tickets - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-11-06 22:50:15+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -2490,7 +2490,7 @@ msgstr ""
2490
 
2491
  #: src/views/tickets/tpp.php:112
2492
  msgid "Buy now"
2493
- msgstr ""
2494
 
2495
  #: common/src/Tribe/PUE/Notices.php:397
2496
  msgid "You can always check the status of your licenses by logging in to %1$syour account on theeventscalendar.com%2$s."
@@ -3345,7 +3345,7 @@ msgstr "Precedente"
3345
 
3346
  #: common/src/Tribe/Main.php:254 common/src/Tribe/Main.php:271
3347
  msgid "Next"
3348
- msgstr "Prossimo"
3349
 
3350
  #: common/src/Tribe/Main.php:253
3351
  msgid "All"
2
  # This file is distributed under the same license as the Plugins - Event Tickets - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2019-01-02 17:16:45+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
2490
 
2491
  #: src/views/tickets/tpp.php:112
2492
  msgid "Buy now"
2493
+ msgstr "Acquista ora"
2494
 
2495
  #: common/src/Tribe/PUE/Notices.php:397
2496
  msgid "You can always check the status of your licenses by logging in to %1$syour account on theeventscalendar.com%2$s."
3345
 
3346
  #: common/src/Tribe/Main.php:254 common/src/Tribe/Main.php:271
3347
  msgid "Next"
3348
+ msgstr "Successivo"
3349
 
3350
  #: common/src/Tribe/Main.php:253
3351
  msgid "All"
lang/event-tickets.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2018 Modern Tribe
2
  # This file is distributed under the same license as the Event Tickets package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Event Tickets 4.9.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/event-tickets\n"
7
- "POT-Creation-Date: 2018-12-18 16:42:46+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2018-12-18 16:42\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
@@ -187,12 +187,17 @@ msgstr ""
187
  msgid "Please enter in without thousand separators and currency symbols."
188
  msgstr ""
189
 
 
 
 
 
 
190
  #: src/Tribe/Attendance_Totals.php:30
191
  msgctxt "attendee summary"
192
  msgid "Deleted Attendees:"
193
  msgstr ""
194
 
195
- #: src/Tribe/Attendee_Registration/Template.php:268
196
  msgid "Attendee Registration"
197
  msgstr ""
198
 
@@ -391,7 +396,7 @@ msgstr ""
391
  #: src/Tribe/Attendees_Table.php:520
392
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:73 src/Tribe/Privacy.php:164
393
  #: src/Tribe/Privacy.php:445 src/Tribe/Privacy.php:541
394
- #: src/admin-views/admin-welcome-message.php:63
395
  #: src/views/blocks/rsvp/form/email.php:31 src/views/tickets/rsvp.php:162
396
  msgid "Email"
397
  msgstr ""
@@ -939,10 +944,22 @@ msgid "denied"
939
  msgstr ""
940
 
941
  #: src/Tribe/Editor/Attendee_Registration.php:90
942
- msgid "Attendee Registration fields saved."
 
 
 
 
 
 
 
 
 
 
 
 
943
  msgstr ""
944
 
945
- #: src/Tribe/Editor/Attendee_Registration.php:139
946
  msgid "Are you sure you want to leave this page?"
947
  msgstr ""
948
 
@@ -994,95 +1011,95 @@ msgid ""
994
  "%3$s."
995
  msgstr ""
996
 
997
- #: src/Tribe/Main.php:506
998
  msgid "Support for Event Tickets"
999
  msgstr ""
1000
 
1001
- #: src/Tribe/Main.php:508
1002
  msgid "Settings overview"
1003
  msgstr ""
1004
 
1005
- #: src/Tribe/Main.php:509
1006
  msgid "Features overview"
1007
  msgstr ""
1008
 
1009
- #: src/Tribe/Main.php:510
1010
  msgid "Troubleshooting common problems"
1011
  msgstr ""
1012
 
1013
- #: src/Tribe/Main.php:511
1014
  msgid "Customizing Event Tickets"
1015
  msgstr ""
1016
 
1017
- #: src/Tribe/Main.php:528 src/admin-views/admin-welcome-message.php:34
1018
  msgid "New User Primer"
1019
  msgstr ""
1020
 
1021
- #: src/Tribe/Main.php:530
1022
  msgid ""
1023
  "We are committed to helping you sell tickets for your event. Check out our "
1024
  "handy %s to get started."
1025
  msgstr ""
1026
 
1027
- #: src/Tribe/Main.php:547
1028
  msgid "open-source forum on WordPress.org"
1029
  msgstr ""
1030
 
1031
- #: src/Tribe/Main.php:548
1032
  msgid ""
1033
  "If you have tried the above steps and are still having trouble, you can post "
1034
  "a new thread to our %s. Our support staff monitors these forums once a week "
1035
  "and would be happy to assist you there."
1036
  msgstr ""
1037
 
1038
- #: src/Tribe/Main.php:550
1039
  msgid "premium support on our website"
1040
  msgstr ""
1041
 
1042
- #: src/Tribe/Main.php:551 src/admin-views/tribe-options-tickets.php:152
1043
  msgid "Events Tickets Plus"
1044
  msgstr ""
1045
 
1046
- #: src/Tribe/Main.php:552
1047
  msgid ""
1048
  "Looking for more immediate support? We offer %1$s with the purchase of any "
1049
  "of our premium plugins (like %2$s). Pick up a license and you can post there "
1050
  "directly and expect a response within 24-48 hours during weekdays."
1051
  msgstr ""
1052
 
1053
- #: src/Tribe/Main.php:554 src/Tribe/Main.php:559
1054
  msgid "post a thread"
1055
  msgstr ""
1056
 
1057
- #: src/Tribe/Main.php:555
1058
  msgid ""
1059
  "Already have Events Tickets Plus? You can %s in our premium support forums. "
1060
  "Our support team monitors the forums and will respond to your thread within "
1061
  "24-48 hours (during the week)."
1062
  msgstr ""
1063
 
1064
- #: src/Tribe/Main.php:560
1065
  msgid ""
1066
  "If you have a valid license for one of our paid plugins, you can %s in our "
1067
  "premium support forums. Our support team monitors the forums and will "
1068
  "respond to your thread within 24-48 hours (during the week)."
1069
  msgstr ""
1070
 
1071
- #. #-#-#-#-# event-tickets.pot (Event Tickets 4.9.3) #-#-#-#-#
1072
  #. Plugin Name of the plugin/theme
1073
- #: src/Tribe/Main.php:574 src/Tribe/Privacy.php:32
1074
  msgid "Event Tickets"
1075
  msgstr ""
1076
 
1077
- #: src/Tribe/Main.php:661
1078
  msgid "Welcome to Event Tickets!"
1079
  msgstr ""
1080
 
1081
- #: src/Tribe/Main.php:796
1082
  msgid "Buy"
1083
  msgstr ""
1084
 
1085
- #: src/Tribe/Main.php:796
1086
  msgctxt "button text"
1087
  msgid "RSVP"
1088
  msgstr ""
@@ -1927,7 +1944,7 @@ msgstr ""
1927
  msgid " at "
1928
  msgstr ""
1929
 
1930
- #: src/Tribe/Tickets.php:1858
1931
  msgid "Tickets are not yet available"
1932
  msgstr ""
1933
 
@@ -1946,7 +1963,7 @@ msgstr ""
1946
  msgid "Unlimited"
1947
  msgstr ""
1948
 
1949
- #: src/Tribe/Tickets_View.php:629 src/views/blocks/rsvp/status/going.php:21
1950
  msgid "Going"
1951
  msgstr ""
1952
 
@@ -1977,130 +1994,109 @@ msgstr ""
1977
  msgid "This RSVP is no longer active."
1978
  msgstr ""
1979
 
1980
- #: src/admin-views/admin-welcome-message.php:7
1981
- msgid "Version"
1982
  msgstr ""
1983
 
1984
- #: src/admin-views/admin-welcome-message.php:15
1985
- msgid ""
1986
- "Check out the resources below for a comprehensive intro to the plugin, or "
1987
- "head to"
1988
  msgstr ""
1989
 
1990
- #: src/admin-views/admin-welcome-message.php:17
1991
- msgid "the"
 
 
 
 
1992
  msgstr ""
1993
 
1994
- #: src/admin-views/admin-welcome-message.php:18
1995
- msgid "Events"
1996
  msgstr ""
1997
 
1998
- #: src/admin-views/admin-welcome-message.php:19
1999
- msgid "section of the admin"
2000
  msgstr ""
2001
 
2002
- #: src/admin-views/admin-welcome-message.php:20
2003
- msgid "to create your very first ticket!"
2004
  msgstr ""
2005
 
2006
- #: src/admin-views/admin-welcome-message.php:29
2007
- msgid "Getting Started"
2008
  msgstr ""
2009
 
2010
- #: src/admin-views/admin-welcome-message.php:30
2011
- msgid "Start strong with these helpful resources."
2012
  msgstr ""
2013
 
2014
- #: src/admin-views/admin-welcome-message.php:32
2015
- msgid "Key Features"
2016
  msgstr ""
2017
 
2018
- #: src/admin-views/admin-welcome-message.php:33
2019
- msgid "Settings Overview"
2020
  msgstr ""
2021
 
2022
- #: src/admin-views/admin-welcome-message.php:39
2023
- msgid "Resources and Support"
2024
  msgstr ""
2025
 
2026
- #: src/admin-views/admin-welcome-message.php:40
2027
- msgid "We’ve got your back every step of the way."
2028
  msgstr ""
2029
 
2030
- #: src/admin-views/admin-welcome-message.php:42
2031
- msgid "Search the Knowledgebase"
2032
  msgstr ""
2033
 
2034
- #: src/admin-views/admin-welcome-message.php:43
2035
- msgid "Available Translations"
2036
  msgstr ""
2037
 
2038
- #: src/admin-views/admin-welcome-message.php:44
2039
- msgid "Submit a Support Thread on WordPress.org"
2040
  msgstr ""
2041
 
2042
- #: src/admin-views/admin-welcome-message.php:45
2043
- msgid "Event Tickets Plus Users:"
2044
  msgstr ""
2045
 
2046
  #: src/admin-views/admin-welcome-message.php:45
2047
- msgid "Submit a Help Desk Request"
 
 
 
2048
  msgstr ""
2049
 
2050
- #: src/admin-views/admin-welcome-message.php:53
2051
- msgid "The Latest and Greatest"
2052
  msgstr ""
2053
 
2054
- #: src/admin-views/admin-welcome-message.php:54
2055
- msgid "Frequent maintenance releases keep your ticket sales running smoothly."
2056
  msgstr ""
2057
 
2058
- #: src/admin-views/admin-welcome-message.php:54
2059
- msgid "View the latest changelog"
2060
  msgstr ""
2061
 
2062
- #: src/admin-views/admin-welcome-message.php:55
2063
- msgid "Gearing up with Gutenberg?"
 
 
2064
  msgstr ""
2065
 
2066
  #: src/admin-views/admin-welcome-message.php:55
2067
- msgid "Get the latest block editor news"
2068
  msgstr ""
2069
 
2070
  #: src/admin-views/admin-welcome-message.php:59
2071
- msgid "Don't Miss Out"
2072
- msgstr ""
2073
-
2074
- #: src/admin-views/admin-welcome-message.php:60
2075
- msgid ""
2076
- "Stay in touch with Event Tickets and our entire family of events management "
2077
- "tools. We share news, occasional discounts, and hilarious gifs."
2078
- msgstr ""
2079
-
2080
- #: src/admin-views/admin-welcome-message.php:67
2081
- msgid "Add me to the list"
2082
- msgstr ""
2083
-
2084
- #: src/admin-views/admin-welcome-message.php:71
2085
- msgid "Subscribe"
2086
- msgstr ""
2087
-
2088
- #: src/admin-views/admin-welcome-message.php:80
2089
- msgid "We Need Your Help"
2090
- msgstr ""
2091
-
2092
- #: src/admin-views/admin-welcome-message.php:81
2093
- msgid ""
2094
- "Your ratings keep us focused on making our plugins as useful as possible so "
2095
- "we can help other WordPress users just like you."
2096
  msgstr ""
2097
 
2098
- #: src/admin-views/admin-welcome-message.php:82
2099
- msgid "Rate us today!"
2100
- msgstr ""
2101
-
2102
- #: src/admin-views/admin-welcome-message.php:83
2103
- msgid "Rate It"
2104
  msgstr ""
2105
 
2106
  #: src/admin-views/attendees-email.php:6
@@ -3055,6 +3051,14 @@ msgstr[1] ""
3055
  msgid "View your %s"
3056
  msgstr ""
3057
 
 
 
 
 
 
 
 
 
3058
  #: src/views/blocks/rsvp/details/availability.php:22
3059
  #: src/views/tickets/rsvp.php:97 src/views/tickets/tpp.php:98
3060
  msgid "Out of stock!"
@@ -3076,19 +3080,22 @@ msgstr ""
3076
  msgid "Submit RSVP"
3077
  msgstr ""
3078
 
3079
- #: src/views/blocks/rsvp/form/submit-login.php:19
3080
- #: src/views/tickets/rsvp.php:211
3081
- msgid "Login to RSVP"
3082
  msgstr ""
3083
 
3084
  #: src/views/blocks/rsvp/status/full.php:17
3085
  msgid "RSVP Full"
3086
  msgstr ""
3087
 
3088
- #: src/views/blocks/rsvp/status/not-going.php:38
3089
  msgid "Not going"
3090
  msgstr ""
3091
 
 
 
 
 
3092
  #: src/views/blocks/tickets/extra-available-quantity.php:21
3093
  msgid "available"
3094
  msgstr ""
@@ -3164,7 +3171,7 @@ msgstr ""
3164
  msgid "Back to cart"
3165
  msgstr ""
3166
 
3167
- #: src/views/registration/button-checkout.php:15
3168
  msgid "Checkout"
3169
  msgstr ""
3170
 
@@ -3348,6 +3355,10 @@ msgstr ""
3348
  msgid "Don't list me on the public attendee list"
3349
  msgstr ""
3350
 
 
 
 
 
3351
  #: src/views/tickets/rsvp.php:221
3352
  msgid "Confirm RSVP"
3353
  msgstr ""
1
+ # Copyright (C) 2019 Modern Tribe
2
  # This file is distributed under the same license as the Event Tickets package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Event Tickets 4.9.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/event-tickets\n"
7
+ "POT-Creation-Date: 2019-01-15 16:43:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2019-01-15 16:43\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
187
  msgid "Please enter in without thousand separators and currency symbols."
188
  msgstr ""
189
 
190
+ #: src/Tribe/Assets.php:192
191
+ msgid ""
192
+ "There is unsaved attendee information. Are you sure you want to continue?"
193
+ msgstr ""
194
+
195
  #: src/Tribe/Attendance_Totals.php:30
196
  msgctxt "attendee summary"
197
  msgid "Deleted Attendees:"
198
  msgstr ""
199
 
200
+ #: src/Tribe/Attendee_Registration/Template.php:272
201
  msgid "Attendee Registration"
202
  msgstr ""
203
 
396
  #: src/Tribe/Attendees_Table.php:520
397
  #: src/Tribe/Commerce/PayPal/Orders/Table.php:73 src/Tribe/Privacy.php:164
398
  #: src/Tribe/Privacy.php:445 src/Tribe/Privacy.php:541
399
+ #: src/admin-views/admin-welcome-message.php:62
400
  #: src/views/blocks/rsvp/form/email.php:31 src/views/tickets/rsvp.php:162
401
  msgid "Email"
402
  msgstr ""
944
  msgstr ""
945
 
946
  #: src/Tribe/Editor/Attendee_Registration.php:90
947
+ msgid "return to the content editor"
948
+ msgstr ""
949
+
950
+ #: src/Tribe/Editor/Attendee_Registration.php:92
951
+ msgid "Attendee Registration fields saved. Make additional changes or %1$s"
952
+ msgstr ""
953
+
954
+ #: src/Tribe/Editor/Attendee_Registration.php:123
955
+ msgid "Back to Editor"
956
+ msgstr ""
957
+
958
+ #: src/Tribe/Editor/Attendee_Registration.php:132
959
+ msgid "Save Changes"
960
  msgstr ""
961
 
962
+ #: src/Tribe/Editor/Attendee_Registration.php:144
963
  msgid "Are you sure you want to leave this page?"
964
  msgstr ""
965
 
1011
  "%3$s."
1012
  msgstr ""
1013
 
1014
+ #: src/Tribe/Main.php:507
1015
  msgid "Support for Event Tickets"
1016
  msgstr ""
1017
 
1018
+ #: src/Tribe/Main.php:509
1019
  msgid "Settings overview"
1020
  msgstr ""
1021
 
1022
+ #: src/Tribe/Main.php:510
1023
  msgid "Features overview"
1024
  msgstr ""
1025
 
1026
+ #: src/Tribe/Main.php:511
1027
  msgid "Troubleshooting common problems"
1028
  msgstr ""
1029
 
1030
+ #: src/Tribe/Main.php:512
1031
  msgid "Customizing Event Tickets"
1032
  msgstr ""
1033
 
1034
+ #: src/Tribe/Main.php:529 src/admin-views/admin-welcome-message.php:23
1035
  msgid "New User Primer"
1036
  msgstr ""
1037
 
1038
+ #: src/Tribe/Main.php:531
1039
  msgid ""
1040
  "We are committed to helping you sell tickets for your event. Check out our "
1041
  "handy %s to get started."
1042
  msgstr ""
1043
 
1044
+ #: src/Tribe/Main.php:548
1045
  msgid "open-source forum on WordPress.org"
1046
  msgstr ""
1047
 
1048
+ #: src/Tribe/Main.php:549
1049
  msgid ""
1050
  "If you have tried the above steps and are still having trouble, you can post "
1051
  "a new thread to our %s. Our support staff monitors these forums once a week "
1052
  "and would be happy to assist you there."
1053
  msgstr ""
1054
 
1055
+ #: src/Tribe/Main.php:551
1056
  msgid "premium support on our website"
1057
  msgstr ""
1058
 
1059
+ #: src/Tribe/Main.php:552 src/admin-views/tribe-options-tickets.php:152
1060
  msgid "Events Tickets Plus"
1061
  msgstr ""
1062
 
1063
+ #: src/Tribe/Main.php:553
1064
  msgid ""
1065
  "Looking for more immediate support? We offer %1$s with the purchase of any "
1066
  "of our premium plugins (like %2$s). Pick up a license and you can post there "
1067
  "directly and expect a response within 24-48 hours during weekdays."
1068
  msgstr ""
1069
 
1070
+ #: src/Tribe/Main.php:555 src/Tribe/Main.php:560
1071
  msgid "post a thread"
1072
  msgstr ""
1073
 
1074
+ #: src/Tribe/Main.php:556
1075
  msgid ""
1076
  "Already have Events Tickets Plus? You can %s in our premium support forums. "
1077
  "Our support team monitors the forums and will respond to your thread within "
1078
  "24-48 hours (during the week)."
1079
  msgstr ""
1080
 
1081
+ #: src/Tribe/Main.php:561
1082
  msgid ""
1083
  "If you have a valid license for one of our paid plugins, you can %s in our "
1084
  "premium support forums. Our support team monitors the forums and will "
1085
  "respond to your thread within 24-48 hours (during the week)."
1086
  msgstr ""
1087
 
1088
+ #. #-#-#-#-# event-tickets.pot (Event Tickets 4.9.4) #-#-#-#-#
1089
  #. Plugin Name of the plugin/theme
1090
+ #: src/Tribe/Main.php:575 src/Tribe/Privacy.php:32
1091
  msgid "Event Tickets"
1092
  msgstr ""
1093
 
1094
+ #: src/Tribe/Main.php:662 src/admin-views/admin-welcome-message.php:13
1095
  msgid "Welcome to Event Tickets!"
1096
  msgstr ""
1097
 
1098
+ #: src/Tribe/Main.php:797
1099
  msgid "Buy"
1100
  msgstr ""
1101
 
1102
+ #: src/Tribe/Main.php:797
1103
  msgctxt "button text"
1104
  msgid "RSVP"
1105
  msgstr ""
1944
  msgid " at "
1945
  msgstr ""
1946
 
1947
+ #: src/Tribe/Tickets.php:1858 src/views/blocks/tickets/content-inactive.php:17
1948
  msgid "Tickets are not yet available"
1949
  msgstr ""
1950
 
1963
  msgid "Unlimited"
1964
  msgstr ""
1965
 
1966
+ #: src/Tribe/Tickets_View.php:629 src/views/blocks/rsvp/status/going.php:25
1967
  msgid "Going"
1968
  msgstr ""
1969
 
1994
  msgid "This RSVP is no longer active."
1995
  msgstr ""
1996
 
1997
+ #: src/admin-views/admin-welcome-message.php:5
1998
+ msgid "our support forums"
1999
  msgstr ""
2000
 
2001
+ #: src/admin-views/admin-welcome-message.php:10
2002
+ msgid "You are running Version %s and deserve a hug :-)"
 
 
2003
  msgstr ""
2004
 
2005
+ #: src/admin-views/admin-welcome-message.php:14
2006
+ msgid ""
2007
+ "Giving you the best experience with our plugin is our top goal. Check out "
2008
+ "the resources below for a step-by-step introduction to your new features or "
2009
+ "head straight to the Events section in your admin to create your first "
2010
+ "ticket."
2011
  msgstr ""
2012
 
2013
+ #: src/admin-views/admin-welcome-message.php:15
2014
+ msgid "If you need a little help, hit us up in %s."
2015
  msgstr ""
2016
 
2017
+ #: src/admin-views/admin-welcome-message.php:22
2018
+ msgid "Getting Started"
2019
  msgstr ""
2020
 
2021
+ #: src/admin-views/admin-welcome-message.php:24
2022
+ msgid "Settings Overview"
2023
  msgstr ""
2024
 
2025
+ #: src/admin-views/admin-welcome-message.php:25
2026
+ msgid "Event Tickets Features"
2027
  msgstr ""
2028
 
2029
+ #: src/admin-views/admin-welcome-message.php:27
2030
+ msgid "Support Resources"
2031
  msgstr ""
2032
 
2033
+ #: src/admin-views/admin-welcome-message.php:28
2034
+ msgid "FAQs, Documentation, Tutorials and Forums"
2035
  msgstr ""
2036
 
2037
+ #: src/admin-views/admin-welcome-message.php:31
2038
+ msgid "Looking for More Features?"
2039
  msgstr ""
2040
 
2041
+ #: src/admin-views/admin-welcome-message.php:32
2042
+ msgid "Addons for creating tickets, custom registration, events and more."
2043
  msgstr ""
2044
 
2045
+ #: src/admin-views/admin-welcome-message.php:34
2046
+ msgid "Release Notes"
2047
  msgstr ""
2048
 
2049
+ #: src/admin-views/admin-welcome-message.php:35
2050
+ msgid "Get the Skinny on the Latest Updates"
2051
  msgstr ""
2052
 
2053
+ #: src/admin-views/admin-welcome-message.php:37
2054
+ msgid "News For Events Users"
2055
  msgstr ""
2056
 
2057
+ #: src/admin-views/admin-welcome-message.php:38
2058
+ msgid "Product Releases, Tutorials and Community Activity"
2059
  msgstr ""
2060
 
2061
+ #: src/admin-views/admin-welcome-message.php:44
2062
+ msgid "We Need Your Help"
2063
  msgstr ""
2064
 
2065
  #: src/admin-views/admin-welcome-message.php:45
2066
+ msgid ""
2067
+ "Your ratings help us bring Event Tickets to more users. More happy users "
2068
+ "mean more support, more features, and more of everything you know and love "
2069
+ "about Event Tickets. We couldn't do this without your support."
2070
  msgstr ""
2071
 
2072
+ #: src/admin-views/admin-welcome-message.php:46
2073
+ msgid "Rate us today!"
2074
  msgstr ""
2075
 
2076
+ #: src/admin-views/admin-welcome-message.php:47
2077
+ msgid "Rate It"
2078
  msgstr ""
2079
 
2080
+ #: src/admin-views/admin-welcome-message.php:50
2081
+ msgid "Newsletter Signup"
2082
  msgstr ""
2083
 
2084
+ #: src/admin-views/admin-welcome-message.php:51
2085
+ msgid ""
2086
+ "Stay in touch with Event Tickets. We send out periodic updates, key "
2087
+ "developer notices, and even the occasional discount."
2088
  msgstr ""
2089
 
2090
  #: src/admin-views/admin-welcome-message.php:55
2091
+ msgid "Developer News"
2092
  msgstr ""
2093
 
2094
  #: src/admin-views/admin-welcome-message.php:59
2095
+ msgid "News and Announcements"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2096
  msgstr ""
2097
 
2098
+ #: src/admin-views/admin-welcome-message.php:64
2099
+ msgid "Sign Up"
 
 
 
 
2100
  msgstr ""
2101
 
2102
  #: src/admin-views/attendees-email.php:6
3051
  msgid "View your %s"
3052
  msgstr ""
3053
 
3054
+ #: src/views/blocks/rsvp/content-inactive.php:17
3055
+ msgid "RSVPs are no longer available"
3056
+ msgstr ""
3057
+
3058
+ #: src/views/blocks/rsvp/content-inactive.php:17
3059
+ msgid "RSVPs are not yet available"
3060
+ msgstr ""
3061
+
3062
  #: src/views/blocks/rsvp/details/availability.php:22
3063
  #: src/views/tickets/rsvp.php:97 src/views/tickets/tpp.php:98
3064
  msgid "Out of stock!"
3080
  msgid "Submit RSVP"
3081
  msgstr ""
3082
 
3083
+ #: src/views/blocks/rsvp/form/submit-login.php:22
3084
+ msgid "Log in to RSVP"
 
3085
  msgstr ""
3086
 
3087
  #: src/views/blocks/rsvp/status/full.php:17
3088
  msgid "RSVP Full"
3089
  msgstr ""
3090
 
3091
+ #: src/views/blocks/rsvp/status/not-going.php:44
3092
  msgid "Not going"
3093
  msgstr ""
3094
 
3095
+ #: src/views/blocks/tickets/content-inactive.php:17
3096
+ msgid "Tickets are no longer available"
3097
+ msgstr ""
3098
+
3099
  #: src/views/blocks/tickets/extra-available-quantity.php:21
3100
  msgid "available"
3101
  msgstr ""
3171
  msgid "Back to cart"
3172
  msgstr ""
3173
 
3174
+ #: src/views/registration/button-checkout.php:20
3175
  msgid "Checkout"
3176
  msgstr ""
3177
 
3355
  msgid "Don't list me on the public attendee list"
3356
  msgstr ""
3357
 
3358
+ #: src/views/tickets/rsvp.php:211
3359
+ msgid "Login to RSVP"
3360
+ msgstr ""
3361
+
3362
  #: src/views/tickets/rsvp.php:221
3363
  msgid "Confirm RSVP"
3364
  msgstr ""
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Event Tickets ===
2
 
3
- Contributors: ModernTribe, borkweb, bordoni, barry.hughes, aguseo, brianjessee, cliffpaulick, courane01, faction23, GeoffBel, geoffgraham, ggwicz, jbrinley, jentheo, leahkoerper, lucatume, mastromktg, MZAWeb, neillmcshea, nicosantos, patriciahillebrandt, peterchester, reid.peifer, roblagatta, ryancurban, shane.pearlman, vicskf, zbtirrell
4
  Tags: RSVP, events, tickets, event management, calendar, ticket sales, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, ticket integration, event ticketing
5
  Requires at least: 4.7
6
- Tested up to: 5.0.2
7
- Stable tag: 4.9.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -122,7 +122,36 @@ Currently, the following add-ons are available for Event Tickets:
122
 
123
  == Changelog ==
124
 
125
- = [4.9.3] 2018-12-19 =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
 
127
  * Fix - Only show "Log in before purchasing" when login is required for Tribe Commerce tickets [118977]
128
  * Fix - Set custom date format for date pickers used on tickets [119356]
@@ -142,8 +171,8 @@ Currently, the following add-ons are available for Event Tickets:
142
  * Feature - Added ecommerce links to Tickets block [117227]
143
  * Feature - Improved Cancel button UX in Tickets and RSVP blocks [119053]
144
  * Feature - Added option to show or hide the Attendee List block header and subtitle [117040 & 117041]
145
- * Tweak - Set the availability date pickers in Tickets and RSVP blocks to obey the Datepicker Display Format setting [117446]
146
- * Fix - Corrected an issue where feature detection of async-process support would fire too many requests [118876]
147
  * Fix - Updated blocks when moving from classic to blocks editor and vice versa [119426]
148
  * Fix - Removed dotted border for the RSVP block when viewed on mobile devices [118952]
149
  * Fix - Made sure all block editor code for Meta saving is PHP 5.2 compatible
1
+ === Event Tickets ===
2
 
3
+ Contributors: ModernTribe, borkweb, bordoni, barry.hughes, aguseo, brianjessee, cliffpaulick, courane01, faction23, GeoffBel, geoffgraham, ggwicz, jbrinley, jentheo, leahkoerper, lucatume, mastromktg, MZAWeb, neillmcshea, nicosantos, patriciahillebrandt, peterchester, reid.peifer, roblagatta, ryancurban, sc0ttkclark, shane.pearlman, vicskf, zbtirrell
4
  Tags: RSVP, events, tickets, event management, calendar, ticket sales, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, ticket integration, event ticketing
5
  Requires at least: 4.7
6
+ Tested up to: 5.0.3
7
+ Stable tag: 4.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
122
 
123
  == Changelog ==
124
 
125
+ = [4.9.4] 2019-01-15 =
126
+
127
+ * Feature - Added prompt in attendee registration when clicking checkout with unsaved attendee info [119760]
128
+ * Feature - Improve the UX for RSVPs with required login [119946]
129
+ * Tweak - Fix header image message for RSVP and Tickets blocks [119759]
130
+ * Tweak - Update attendee registration user experience [119465]
131
+ * Tweak - Adjust behavior of removing Tickets block to be more intuitive [119662]
132
+ * Tweak - Adjust behavior of removing RSVP block to be more intuitive [119663]
133
+ * Tweak - Added actions: `event_tickets_rsvp_after_ticket_row`
134
+ * Tweak - Changed views: `blocks/attendees`, `blocks/attendees/description`, `blocks/attendees/gravatar`, `blocks/attendees/order-links`, `blocks/attendees/title`, `blocks/rsvp`, `blocks/rsvp/content-inactive`, `blocks/rsvp/content`, `blocks/rsvp/details`, `blocks/rsvp/details/availability`, `blocks/rsvp/details/description`, `blocks/rsvp/details/title`, `blocks/rsvp/form`, `blocks/rsvp/form/attendee-meta`, `blocks/rsvp/form/details`, `blocks/rsvp/form/email`, `blocks/rsvp/form/error`, `blocks/rsvp/form/form`, `blocks/rsvp/form/name`, `blocks/rsvp/form/opt-out`, `blocks/rsvp/form/quantity-input`, `blocks/rsvp/form/quantity-minus`, `blocks/rsvp/form/quantity-plus`, `blocks/rsvp/form/quantity`, `blocks/rsvp/form/submit-button`, `blocks/rsvp/form/submit-login`, `blocks/rsvp/form/submit`, `blocks/rsvp/icon-svg`, `blocks/rsvp/icon`, `blocks/rsvp/loader-svg`, `blocks/rsvp/loader`, `blocks/rsvp/messages/success`, `blocks/rsvp/status`, `blocks/rsvp/status/full`, `blocks/rsvp/status/going-icon`, `blocks/rsvp/status/going`, `blocks/rsvp/status/not-going-icon`, `blocks/rsvp/status/not-going`, `blocks/tickets`, `blocks/tickets/commerce/fields-edd`, `blocks/tickets/commerce/fields-tpp`, `blocks/tickets/commerce/fields-woo`, `blocks/tickets/commerce/fields`, `blocks/tickets/content-description`, `blocks/tickets/content-inactive`, `blocks/tickets/content-title`, `blocks/tickets/content`, `blocks/tickets/extra-available-quantity`, `blocks/tickets/extra-available-unlimited`, `blocks/tickets/extra-available`, `blocks/tickets/extra-price`, `blocks/tickets/extra`, `blocks/tickets/icon-svg`, `blocks/tickets/icon`, `blocks/tickets/item-inactive`, `blocks/tickets/item`, `blocks/tickets/quantity-add`, `blocks/tickets/quantity-number`, `blocks/tickets/quantity-remove`, `blocks/tickets/quantity-unavailable`, `blocks/tickets/quantity`, `blocks/tickets/registration/attendee/content`, `blocks/tickets/registration/attendee/fields`, `blocks/tickets/registration/attendee/fields/checkbox`, `blocks/tickets/registration/attendee/fields/radio`, `blocks/tickets/registration/attendee/fields/select`, `blocks/tickets/registration/attendee/fields/text`, `blocks/tickets/registration/content`, `blocks/tickets/registration/summary/content`, `blocks/tickets/registration/summary/description`, `blocks/tickets/registration/summary/ticket-icon`, `blocks/tickets/registration/summary/ticket-price`, `blocks/tickets/registration/summary/ticket-quantity`, `blocks/tickets/registration/summary/ticket-title`, `blocks/tickets/registration/summary/ticket`, `blocks/tickets/registration/summary/tickets`, `blocks/tickets/registration/summary/title`, `blocks/tickets/submit-button`, `blocks/tickets/submit-login`, `blocks/tickets/submit`, `registration/button-checkout`
135
+ * Fix - Make RSVP block duration tooltip hover area larger [120063]
136
+ * Fix - Fix RSVP block FE attendee display option to not be bold [120064]
137
+ * Fix - Set RSVP block submit button hover color [120065]
138
+ * Fix - Don't enqueue wp admin common styles on the front end [119755]
139
+ * Fix - ensure that the RSVP login link redirects the user back to the event page post-login [120365]
140
+ * Fix - Fix datepicker UI and input not showing the same date [119666]
141
+ * Fix - Hide unavailable RSVPs in the FE [119597]
142
+ * Fix - Clear shared capacity from tickets block when removing tickets block [118334]
143
+ * Fix - Fix svg for RSVP "going" button [116206]
144
+ * Fix - Display ticket price as 0 if price is blank in ticket block [119410]
145
+ * Fix - Remove new ticket block if cancel button is clicked [119435]
146
+ * Fix - Move apostrophe position in RSVP block [119409]
147
+ * Fix - Move attendee registration position in RSVP block [119464]
148
+ * Fix - Fix PHP notice on attendee registration page [119680]
149
+ * Fix - Hide unavailable tickets in Tickets block when Tickets block is not selected [119630]
150
+ * Fix - Fix attendee registration for RSVP block FE [119800]
151
+ * Fix - Ensure that the attendee page loads if the theme has no page.php/page templates defined [120034]
152
+ * Language - 8 new strings added, 52 updated, 0 fuzzied, and 26 obsoleted
153
+
154
+ = [4.9.3] 2018-12-18 =
155
 
156
  * Fix - Only show "Log in before purchasing" when login is required for Tribe Commerce tickets [118977]
157
  * Fix - Set custom date format for date pickers used on tickets [119356]
171
  * Feature - Added ecommerce links to Tickets block [117227]
172
  * Feature - Improved Cancel button UX in Tickets and RSVP blocks [119053]
173
  * Feature - Added option to show or hide the Attendee List block header and subtitle [117040 & 117041]
174
+ * Tweak - Set the availability date pickers in Tickets and RSVP blocks to obey the Datepicker Display Format setting [117446]
175
+ * Fix - Corrected an issue where feature detection of async-process support would fire too many requests [118876]
176
  * Fix - Updated blocks when moving from classic to blocks editor and vice versa [119426]
177
  * Fix - Removed dotted border for the RSVP block when viewed on mobile devices [118952]
178
  * Fix - Made sure all block editor code for Meta saving is PHP 5.2 compatible
src/Tribe/Assets.php CHANGED
@@ -79,7 +79,7 @@ class Tribe__Tickets__Assets {
79
  Tribe__Tickets__Main::instance(),
80
  array(
81
  array( 'event-tickets-admin-css', 'tickets.css', array( 'tribe-validation-style', 'tribe-jquery-timepicker-css' ) ),
82
- array( 'event-tickets-admin-refresh-css', 'tickets-refresh.css', array( 'event-tickets-admin-css', 'common' ) ),
83
  array( 'event-tickets-admin-tables-css', 'tickets-tables.css', array( 'event-tickets-admin-css' ) ),
84
  array( 'event-tickets-attendees-list-js', 'attendees-list.js', array( 'jquery' ) ),
85
  array( 'event-tickets-admin-accordion-js', 'accordion.js', array() ),
@@ -178,4 +178,19 @@ class Tribe__Tickets__Assets {
178
  tribe_asset_enqueue( 'tribe-validation' );
179
  }
180
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  }
79
  Tribe__Tickets__Main::instance(),
80
  array(
81
  array( 'event-tickets-admin-css', 'tickets.css', array( 'tribe-validation-style', 'tribe-jquery-timepicker-css' ) ),
82
+ array( 'event-tickets-admin-refresh-css', 'tickets-refresh.css', array( 'event-tickets-admin-css' ) ),
83
  array( 'event-tickets-admin-tables-css', 'tickets-tables.css', array( 'event-tickets-admin-css' ) ),
84
  array( 'event-tickets-attendees-list-js', 'attendees-list.js', array( 'jquery' ) ),
85
  array( 'event-tickets-admin-accordion-js', 'accordion.js', array() ),
178
  tribe_asset_enqueue( 'tribe-validation' );
179
  }
180
  }
181
+
182
+ /**
183
+ * Add data strings to tribe_l10n_datatables object.
184
+ *
185
+ * @param array $data Object data.
186
+ *
187
+ * @return array
188
+ *
189
+ * @since 4.9.4
190
+ */
191
+ public function add_data_strings( $data ) {
192
+ $data['registration_prompt'] = __( 'There is unsaved attendee information. Are you sure you want to continue?', 'event-tickets' );
193
+
194
+ return $data;
195
+ }
196
  }
src/Tribe/Attendee_Registration/Template.php CHANGED
@@ -90,7 +90,13 @@ class Tribe__Tickets__Attendee_Registration__Template extends Tribe__Templates {
90
  }
91
 
92
  // return the page template
93
- return get_page_template();
 
 
 
 
 
 
94
  }
95
 
96
  /**
@@ -101,7 +107,6 @@ class Tribe__Tickets__Attendee_Registration__Template extends Tribe__Templates {
101
  * @return void
102
  */
103
  public function set_body_classes() {
104
-
105
  // Bail if we're not on the attendee info page
106
  if ( ! tribe( 'tickets.attendee_registration' )->is_on_page() ) {
107
  return;
@@ -216,7 +221,6 @@ class Tribe__Tickets__Attendee_Registration__Template extends Tribe__Templates {
216
  * @param WP_Query $query
217
  */
218
  public function set_page_content( $query ) {
219
-
220
  // Bail if we're not on the attendee info page
221
  if ( ! tribe( 'tickets.attendee_registration' )->is_on_page() ) {
222
  return;
@@ -322,4 +326,4 @@ class Tribe__Tickets__Attendee_Registration__Template extends Tribe__Templates {
322
 
323
  return '';
324
  }
325
- }
90
  }
91
 
92
  // return the page template
93
+ $template = get_page_template();
94
+ if ( ! empty( $template ) ) {
95
+ return $template;
96
+ }
97
+
98
+ // Fallback for themes that are missing page.php
99
+ return get_template_directory() . '/index.php';
100
  }
101
 
102
  /**
107
  * @return void
108
  */
109
  public function set_body_classes() {
 
110
  // Bail if we're not on the attendee info page
111
  if ( ! tribe( 'tickets.attendee_registration' )->is_on_page() ) {
112
  return;
221
  * @param WP_Query $query
222
  */
223
  public function set_page_content( $query ) {
 
224
  // Bail if we're not on the attendee info page
225
  if ( ! tribe( 'tickets.attendee_registration' )->is_on_page() ) {
226
  return;
326
 
327
  return '';
328
  }
329
+ }
src/Tribe/Editor/Attendee_Registration.php CHANGED
@@ -87,7 +87,12 @@ class Tribe__Tickets__Editor__Attendee_Registration {
87
  * @return string success message
88
  */
89
  public function success_notice() {
90
- return '<div class="success"><p>' . __( 'Attendee Registration fields saved.', 'event-tickets' ) . '</p></div>';
 
 
 
 
 
91
  }
92
 
93
  /**
@@ -115,7 +120,7 @@ class Tribe__Tickets__Editor__Attendee_Registration {
115
  </style>
116
 
117
  <div id="poststuff"><div class="inside postbox">
118
- <a href="<?php echo get_edit_post_link( $this->post->ID, 'raw' );?>">&laquo; Back to Ticket Editor</a>
119
  <form id="event-tickets-attendee-information" action="<?php echo esc_url( $this->url() ); ?>" method="post">
120
  <input type="hidden" name="ticket_id" value="<?php echo absint( $this->ticket_id );?>" />
121
  <div id="tribetickets" class="event-tickets-plus-fieldset-table tribe-tickets-plus-fieldset-page">
@@ -124,7 +129,7 @@ class Tribe__Tickets__Editor__Attendee_Registration {
124
  $meta->accordion_content( $this->post->ID, $this->ticket_id );
125
  ?>
126
  </div>
127
- <button class="button-primary" type="submit">Save</button>
128
  </form>
129
  </div></div>
130
 
87
  * @return string success message
88
  */
89
  public function success_notice() {
90
+ $link = '<a href="' . esc_url( get_edit_post_link( $this->post->ID, 'raw' ) ) . '">' . esc_html__( 'return to the content editor', 'event-tickets' ) . '</a>';
91
+ $notice = '<div class="success"><p>';
92
+ $notice .= sprintf( esc_html__( 'Attendee Registration fields saved. Make additional changes or %1$s', 'event-tickets' ), $link );
93
+ $notice .= '</p></div>';
94
+
95
+ return $notice;
96
  }
97
 
98
  /**
120
  </style>
121
 
122
  <div id="poststuff"><div class="inside postbox">
123
+ <a href="<?php echo esc_url( get_edit_post_link( $this->post->ID, 'raw' ) );?>">&laquo; <?php esc_html_e( 'Back to Editor', 'event-tickets' ) ?></a>
124
  <form id="event-tickets-attendee-information" action="<?php echo esc_url( $this->url() ); ?>" method="post">
125
  <input type="hidden" name="ticket_id" value="<?php echo absint( $this->ticket_id );?>" />
126
  <div id="tribetickets" class="event-tickets-plus-fieldset-table tribe-tickets-plus-fieldset-page">
129
  $meta->accordion_content( $this->post->ID, $this->ticket_id );
130
  ?>
131
  </div>
132
+ <button class="button-primary" type="submit"><?php esc_html_e( 'Save Changes', 'event-tickets' ) ?></button>
133
  </form>
134
  </div></div>
135
 
src/Tribe/Editor/Blocks/Rsvp.php CHANGED
@@ -54,10 +54,14 @@ extends Tribe__Editor__Blocks__Abstract {
54
  */
55
  public function render( $attributes = array() ) {
56
  /** @var Tribe__Tickets__Editor__Template $template */
57
- $template = tribe( 'tickets.editor.template' );
58
- $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
59
- $args['attributes'] = $this->attributes( $attributes );
60
- $args['rsvp'] = $this->get_tickets( $post_id );
 
 
 
 
61
 
62
  // Add the rendering attributes into global context
63
  $template->add_template_globals( $args );
@@ -70,7 +74,7 @@ extends Tribe__Editor__Blocks__Abstract {
70
  }
71
 
72
  /**
73
- * Method to get the RSVP tickets
74
  *
75
  * @since 4.9
76
  *
@@ -101,15 +105,56 @@ extends Tribe__Editor__Blocks__Abstract {
101
  continue;
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  // continue if it's not in date range
105
  if ( ! $ticket->date_in_range() ) {
106
  continue;
107
  }
108
 
109
- $tickets[] = $ticket;
110
  }
111
 
112
- return $tickets;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
 
115
  /**
54
  */
55
  public function render( $attributes = array() ) {
56
  /** @var Tribe__Tickets__Editor__Template $template */
57
+ $template = tribe( 'tickets.editor.template' );
58
+ $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
59
+ $rsvps = $this->get_tickets( $post_id );
60
+ $args['attributes'] = $this->attributes( $attributes );
61
+ $args['active_rsvps'] = $this->get_active_tickets( $rsvps );
62
+ $args['has_active_rsvps'] = ! empty( $args['active_rsvps'] );
63
+ $args['has_rsvps'] = ! empty( $rsvps );
64
+ $args['all_past'] = $this->get_all_tickets_past( $rsvps );
65
 
66
  // Add the rendering attributes into global context
67
  $template->add_template_globals( $args );
74
  }
75
 
76
  /**
77
+ * Method to get all RSVP tickets
78
  *
79
  * @since 4.9
80
  *
105
  continue;
106
  }
107
 
108
+ $tickets[] = $ticket;
109
+ }
110
+
111
+ return $tickets;
112
+ }
113
+
114
+ /**
115
+ * Method to get the active RSVP tickets
116
+ *
117
+ * @since 4.9
118
+ *
119
+ * @return array
120
+ */
121
+ protected function get_active_tickets( $tickets ) {
122
+ $active_tickets = array();
123
+
124
+ foreach ( $tickets as $ticket ) {
125
  // continue if it's not in date range
126
  if ( ! $ticket->date_in_range() ) {
127
  continue;
128
  }
129
 
130
+ $active_tickets[] = $ticket;
131
  }
132
 
133
+ return $active_tickets;
134
+ }
135
+
136
+ /**
137
+ * Method to get the all RSVPs past flag
138
+ * All RSVPs past flag is true if all RSVPs end date is earlier than current date
139
+ * If there are no RSVPs, false is returned
140
+ *
141
+ * @since 4.9
142
+ *
143
+ * @return bool
144
+ */
145
+ protected function get_all_tickets_past( $tickets ) {
146
+ if ( empty( $tickets ) ) {
147
+ return false;
148
+ }
149
+
150
+ $all_past = true;
151
+ $current = current_time( 'timestamp' );
152
+
153
+ foreach ( $tickets as $ticket ) {
154
+ $all_past = $all_past && $ticket->date_is_later( $current );
155
+ }
156
+
157
+ return $all_past;
158
  }
159
 
160
  /**
src/Tribe/Editor/Blocks/Tickets.php CHANGED
@@ -33,7 +33,6 @@ extends Tribe__Editor__Blocks__Abstract {
33
  public function render( $attributes = array() ) {
34
  /** @var Tribe__Tickets__Editor__Template $template */
35
  $template = tribe( 'tickets.editor.template' );
36
-
37
  $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
38
  $args['attributes'] = $this->attributes( $attributes );
39
 
@@ -43,17 +42,21 @@ extends Tribe__Editor__Blocks__Abstract {
43
  }
44
 
45
  // Fetch the default provider
46
- $provider = Tribe__Tickets__Tickets::get_event_ticket_provider( $post_id );
47
  if ( ! class_exists( $provider ) ) {
48
  return;
49
  }
50
 
51
  $provider = call_user_func( array( $provider, 'get_instance' ) );
52
  $provider_id = $this->get_provider_id( $provider );
 
53
 
54
- $args['provider'] = $provider;
55
- $args['provider_id'] = $provider_id;
56
- $args['cart_url'] = 'tpp' !== $provider_id ? $provider->get_cart_url() : '';
 
 
 
57
 
58
  // Add the rendering attributes into global context
59
  $template->add_template_globals( $args );
@@ -137,6 +140,44 @@ extends Tribe__Editor__Blocks__Abstract {
137
  wp_send_json_success( $response );
138
  }
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  public function get_provider_id( $provider ) {
141
 
142
  switch ( $provider->class_name ) {
@@ -154,4 +195,45 @@ extends Tribe__Editor__Blocks__Abstract {
154
  }
155
 
156
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
33
  public function render( $attributes = array() ) {
34
  /** @var Tribe__Tickets__Editor__Template $template */
35
  $template = tribe( 'tickets.editor.template' );
 
36
  $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
37
  $args['attributes'] = $this->attributes( $attributes );
38
 
42
  }
43
 
44
  // Fetch the default provider
45
+ $provider = Tribe__Tickets__Tickets::get_event_ticket_provider( $post_id );
46
  if ( ! class_exists( $provider ) ) {
47
  return;
48
  }
49
 
50
  $provider = call_user_func( array( $provider, 'get_instance' ) );
51
  $provider_id = $this->get_provider_id( $provider );
52
+ $tickets = $this->get_tickets( $post_id );
53
 
54
+ $args['provider'] = $provider;
55
+ $args['provider_id'] = $provider_id;
56
+ $args['cart_url'] = 'tpp' !== $provider_id ? $provider->get_cart_url() : '';
57
+ $args['tickets_on_sale'] = $this->get_tickets_on_sale( $tickets );
58
+ $args['has_tickets_on_sale'] = ! empty( $args['tickets_on_sale'] );
59
+ $args['is_sale_past'] = $this->get_is_sale_past( $tickets );
60
 
61
  // Add the rendering attributes into global context
62
  $template->add_template_globals( $args );
140
  wp_send_json_success( $response );
141
  }
142
 
143
+ /**
144
+ * Get all tickets for event/post, removing RSVPs
145
+ *
146
+ * @since 4.9
147
+ *
148
+ * @param int $post_id Post ID
149
+ *
150
+ * @return array
151
+ */
152
+ public function get_tickets( $post_id ) {
153
+ $all_tickets = Tribe__Tickets__Tickets::get_all_event_tickets( $post_id );
154
+
155
+ if ( ! $all_tickets ) {
156
+ return array();
157
+ }
158
+
159
+ $tickets = array();
160
+
161
+ foreach ( $all_tickets as $ticket ) {
162
+ if ( 'Tribe__Tickets__RSVP' === $ticket->provider_class ) {
163
+ continue;
164
+ }
165
+
166
+ $tickets[] = $ticket;
167
+ }
168
+
169
+ return $tickets;
170
+ }
171
+
172
+ /**
173
+ * Get provider ID
174
+ *
175
+ * @since 4.9
176
+ *
177
+ * @param Tribe__Tickets__Tickets $provider Provider class instance
178
+ *
179
+ * @return string
180
+ */
181
  public function get_provider_id( $provider ) {
182
 
183
  switch ( $provider->class_name ) {
195
  }
196
 
197
  }
198
+
199
+ /**
200
+ * Get all tickets on sale
201
+ *
202
+ * @since 4.9
203
+ *
204
+ * @param array $tickets Array of all tickets
205
+ *
206
+ * @return array
207
+ */
208
+ public function get_tickets_on_sale( $tickets ) {
209
+ $tickets_on_sale = array();
210
+
211
+ foreach ( $tickets as $ticket ) {
212
+ if ( tribe_events_ticket_is_on_sale( $ticket ) ) {
213
+ $tickets_on_sale[] = $ticket;
214
+ }
215
+ }
216
+
217
+ return $tickets_on_sale;
218
+ }
219
+
220
+ /**
221
+ * Get whether all ticket sales have passed or not
222
+ *
223
+ * @since 4.9
224
+ *
225
+ * @param array $tickets Array of all tickets
226
+ *
227
+ * @return bool
228
+ */
229
+ public function get_is_sale_past( $tickets ) {
230
+ $is_sale_past = ! empty( $tickets );
231
+ $timestamp = current_time( 'timestamp' );
232
+
233
+ foreach ( $tickets as $ticket ) {
234
+ $is_sale_past = ( $is_sale_past && $ticket->date_is_later( $timestamp ) );
235
+ }
236
+
237
+ return $is_sale_past;
238
+ }
239
  }
src/Tribe/Editor/Compatibility/Tickets.php CHANGED
@@ -39,6 +39,11 @@ class Tribe__Tickets__Editor__Compatibility__Tickets {
39
  // Fetch the post
40
  $post = get_post( get_the_ID() );
41
 
 
 
 
 
 
42
  // We don't care about anything other than event for now
43
  if ( class_exists( 'Tribe__Events__Main' ) && Tribe__Events__Main::POSTTYPE !== $post->post_type ) {
44
  return $content;
39
  // Fetch the post
40
  $post = get_post( get_the_ID() );
41
 
42
+ // Return content if post is empty
43
+ if ( empty( $post ) ) {
44
+ return $content;
45
+ }
46
+
47
  // We don't care about anything other than event for now
48
  if ( class_exists( 'Tribe__Events__Main' ) && Tribe__Events__Main::POSTTYPE !== $post->post_type ) {
49
  return $content;
src/Tribe/Main.php CHANGED
@@ -4,7 +4,7 @@ class Tribe__Tickets__Main {
4
  /**
5
  * Current version of this plugin
6
  */
7
- const VERSION = '4.9.3';
8
 
9
  /**
10
  * Min required The Events Calendar version
@@ -490,6 +490,7 @@ class Tribe__Tickets__Main {
490
  add_action( 'tribe_tickets_plugin_loaded', tribe_callback( 'tickets.assets', 'enqueue_scripts' ) );
491
  add_action( 'tribe_tickets_plugin_loaded', tribe_callback( 'tickets.assets', 'admin_enqueue_scripts' ) );
492
  add_action( 'admin_enqueue_scripts', tribe_callback( 'tickets.assets', 'enqueue_editor_scripts' ) );
 
493
 
494
  // Redirections
495
  add_action( 'wp_loaded', tribe_callback( 'tickets.redirections', 'maybe_redirect' ) );
4
  /**
5
  * Current version of this plugin
6
  */
7
+ const VERSION = '4.9.4';
8
 
9
  /**
10
  * Min required The Events Calendar version
490
  add_action( 'tribe_tickets_plugin_loaded', tribe_callback( 'tickets.assets', 'enqueue_scripts' ) );
491
  add_action( 'tribe_tickets_plugin_loaded', tribe_callback( 'tickets.assets', 'admin_enqueue_scripts' ) );
492
  add_action( 'admin_enqueue_scripts', tribe_callback( 'tickets.assets', 'enqueue_editor_scripts' ) );
493
+ add_filter( 'tribe_asset_data_add_object_tribe_l10n_datatables', tribe_callback( 'tickets.assets', 'add_data_strings' ) );
494
 
495
  // Redirections
496
  add_action( 'wp_loaded', tribe_callback( 'tickets.redirections', 'maybe_redirect' ) );
src/Tribe/Tickets.php CHANGED
@@ -2068,10 +2068,15 @@ if ( ! class_exists( 'Tribe__Tickets__Tickets' ) ) {
2068
  /**
2069
  * Provides a URL that can be used to direct users to the login form.
2070
  *
 
 
2071
  * @return string
2072
  */
2073
- public static function get_login_url() {
2074
- $post_id = get_the_ID();
 
 
 
2075
  $login_url = get_site_url( null, 'wp-login.php' );
2076
 
2077
  if ( $post_id ) {
2068
  /**
2069
  * Provides a URL that can be used to direct users to the login form.
2070
  *
2071
+ * @param int $post_id - the ID of the post to redirect to
2072
+ *
2073
  * @return string
2074
  */
2075
+ public static function get_login_url( $post_id = null ) {
2076
+ if ( is_null( $post_id ) ) {
2077
+ $post_id = get_the_ID();
2078
+ }
2079
+
2080
  $login_url = get_site_url( null, 'wp-login.php' );
2081
 
2082
  if ( $post_id ) {
src/modules/blocks/rsvp/advanced-options/container.js CHANGED
@@ -8,7 +8,6 @@ import { compose } from 'redux';
8
  * Internal dependencies
9
  */
10
  import RSVPAdvancedOptions from './template';
11
- import { plugins } from '@moderntribe/common/data';
12
  import { selectors } from '@moderntribe/tickets/data/blocks/rsvp';
13
  import { withStore } from '@moderntribe/common/hoc';
14
 
@@ -18,7 +17,6 @@ const getIsDisabled = ( state ) => (
18
 
19
  const mapStateToProps = ( state ) => ( {
20
  isDisabled: getIsDisabled( state ),
21
- hasTicketsPlus: plugins.selectors.hasPlugin( state )( plugins.constants.TICKETS_PLUS ),
22
  hasBeenCreated: selectors.getRSVPCreated( state ),
23
  } );
24
 
8
  * Internal dependencies
9
  */
10
  import RSVPAdvancedOptions from './template';
 
11
  import { selectors } from '@moderntribe/tickets/data/blocks/rsvp';
12
  import { withStore } from '@moderntribe/common/hoc';
13
 
17
 
18
  const mapStateToProps = ( state ) => ( {
19
  isDisabled: getIsDisabled( state ),
 
20
  hasBeenCreated: selectors.getRSVPCreated( state ),
21
  } );
22
 
src/modules/blocks/rsvp/advanced-options/template.js CHANGED
@@ -15,7 +15,6 @@ import { __ } from '@wordpress/i18n';
15
  * Internal dependencies
16
  */
17
  import RSVPDuration from '../duration/template';
18
- import RSVPAttendeeRegistration from '../attendee-registration/container';
19
  import { Accordion } from '@moderntribe/common/elements';
20
  import MoveDelete from './move-delete/container';
21
  import './style.pcss';
@@ -23,7 +22,6 @@ import './style.pcss';
23
  class RSVPAdvancedOptions extends PureComponent {
24
  static propTypes = {
25
  isDisabled: PropTypes.bool.isRequired,
26
- hasTicketsPlus: PropTypes.bool,
27
  hasBeenCreated: PropTypes.bool,
28
  clientId: PropTypes.string,
29
  };
@@ -36,7 +34,6 @@ class RSVPAdvancedOptions extends PureComponent {
36
  getContent = () => (
37
  <Fragment>
38
  <RSVPDuration />
39
- { this.props.hasTicketsPlus && <RSVPAttendeeRegistration /> }
40
  { this.props.hasBeenCreated && (
41
  <MoveDelete clientId={ this.props.clientId } />
42
  ) }
15
  * Internal dependencies
16
  */
17
  import RSVPDuration from '../duration/template';
 
18
  import { Accordion } from '@moderntribe/common/elements';
19
  import MoveDelete from './move-delete/container';
20
  import './style.pcss';
22
  class RSVPAdvancedOptions extends PureComponent {
23
  static propTypes = {
24
  isDisabled: PropTypes.bool.isRequired,
 
25
  hasBeenCreated: PropTypes.bool,
26
  clientId: PropTypes.string,
27
  };
34
  getContent = () => (
35
  <Fragment>
36
  <RSVPDuration />
 
37
  { this.props.hasBeenCreated && (
38
  <MoveDelete clientId={ this.props.clientId } />
39
  ) }
src/modules/blocks/rsvp/container-content/container.js CHANGED
@@ -9,6 +9,7 @@ import { compose } from 'redux';
9
  */
10
  import RSVPContainerContent from './template';
11
  import { actions, selectors } from '@moderntribe/tickets/data/blocks/rsvp';
 
12
  import { withStore } from '@moderntribe/common/hoc';
13
 
14
  const getIsDisabled = ( state ) => (
@@ -16,6 +17,7 @@ const getIsDisabled = ( state ) => (
16
  );
17
 
18
  const mapStateToProps = ( state ) => ( {
 
19
  isDisabled: getIsDisabled( state ),
20
  tempCapacity: selectors.getRSVPTempCapacity( state ),
21
  tempNotGoingResponses: selectors.getRSVPTempNotGoingResponses( state ),
9
  */
10
  import RSVPContainerContent from './template';
11
  import { actions, selectors } from '@moderntribe/tickets/data/blocks/rsvp';
12
+ import { plugins } from '@moderntribe/common/data';
13
  import { withStore } from '@moderntribe/common/hoc';
14
 
15
  const getIsDisabled = ( state ) => (
17
  );
18
 
19
  const mapStateToProps = ( state ) => ( {
20
+ hasTicketsPlus: plugins.selectors.hasPlugin( state )( plugins.constants.TICKETS_PLUS ),
21
  isDisabled: getIsDisabled( state ),
22
  tempCapacity: selectors.getRSVPTempCapacity( state ),
23
  tempNotGoingResponses: selectors.getRSVPTempNotGoingResponses( state ),
src/modules/blocks/rsvp/container-content/template.js CHANGED
@@ -14,7 +14,8 @@ import { __ } from '@wordpress/i18n';
14
  * Internal dependencies
15
  */
16
  import RSVPAdvancedOptions from '@moderntribe/tickets/blocks/rsvp/advanced-options/container';
17
- import { Checkbox } from '@moderntribe/common/elements';
 
18
  import './style.pcss';
19
 
20
  const RSVPContainerContentLabels = () => (
@@ -38,13 +39,12 @@ const RSVPContainerContentOptions = ( {
38
  tempNotGoingResponses,
39
  } ) => (
40
  <div className="tribe-editor__rsvp-container-content__options">
41
- <input
42
  className="tribe-editor__rsvp-container-content__capacity-input"
43
  disabled={ isDisabled }
44
  id={ capacityId }
45
  min="0"
46
  onChange={ onTempCapacityChange }
47
- type="number"
48
  value={ tempCapacity }
49
  />
50
  <Checkbox
@@ -52,24 +52,30 @@ const RSVPContainerContentOptions = ( {
52
  className="tribe-editor__rsvp-container-content__not-going-responses"
53
  disabled={ isDisabled }
54
  id={ notGoingId }
55
- label={ __( 'Enable "Not Going responses"', 'event-tickets' ) }
56
  onChange={ onTempNotGoingResponsesChange }
57
  />
58
  </div>
59
  );
60
 
61
  RSVPContainerContentOptions.propTypes = {
62
- capacity: PropTypes.string,
63
  capacityId: PropTypes.string.isRequired,
 
64
  notGoingId: PropTypes.string.isRequired,
65
- notGoingResponses: PropTypes.bool,
 
 
 
66
  };
67
 
68
  class RSVPContainerContent extends PureComponent {
69
  static propTypes = {
70
- capacity: PropTypes.string,
71
- notGoingResponses: PropTypes.bool,
72
  clientId: PropTypes.string,
 
 
 
 
 
73
  }
74
 
75
  constructor( props ) {
@@ -102,6 +108,7 @@ class RSVPContainerContent extends PureComponent {
102
  <RSVPContainerContentLabels />
103
  <RSVPContainerContentOptions { ...optionsProps } />
104
  <RSVPAdvancedOptions clientId={ clientId } />
 
105
  </Fragment>
106
  );
107
  }
14
  * Internal dependencies
15
  */
16
  import RSVPAdvancedOptions from '@moderntribe/tickets/blocks/rsvp/advanced-options/container';
17
+ import RSVPAttendeeRegistration from '../attendee-registration/container';
18
+ import { Checkbox, NumberInput } from '@moderntribe/common/elements';
19
  import './style.pcss';
20
 
21
  const RSVPContainerContentLabels = () => (
39
  tempNotGoingResponses,
40
  } ) => (
41
  <div className="tribe-editor__rsvp-container-content__options">
42
+ <NumberInput
43
  className="tribe-editor__rsvp-container-content__capacity-input"
44
  disabled={ isDisabled }
45
  id={ capacityId }
46
  min="0"
47
  onChange={ onTempCapacityChange }
 
48
  value={ tempCapacity }
49
  />
50
  <Checkbox
52
  className="tribe-editor__rsvp-container-content__not-going-responses"
53
  disabled={ isDisabled }
54
  id={ notGoingId }
55
+ label={ __( 'Enable "Not Going" responses', 'event-tickets' ) }
56
  onChange={ onTempNotGoingResponsesChange }
57
  />
58
  </div>
59
  );
60
 
61
  RSVPContainerContentOptions.propTypes = {
 
62
  capacityId: PropTypes.string.isRequired,
63
+ isDisabled: PropTypes.bool.isRequired,
64
  notGoingId: PropTypes.string.isRequired,
65
+ onTempCapacityChange: PropTypes.func.isRequired,
66
+ onTempNotGoingResponsesChange: PropTypes.func.isRequired,
67
+ tempCapacity: PropTypes.string.isRequired,
68
+ tempNotGoingResponses: PropTypes.bool.isRequired,
69
  };
70
 
71
  class RSVPContainerContent extends PureComponent {
72
  static propTypes = {
 
 
73
  clientId: PropTypes.string,
74
+ hasTicketsPlus: PropTypes.bool,
75
+ onTempCapacityChange: PropTypes.func,
76
+ onTempNotGoingResponsesChange: PropTypes.func,
77
+ tempCapacity: PropTypes.string,
78
+ tempNotGoingResponses: PropTypes.bool,
79
  }
80
 
81
  constructor( props ) {
108
  <RSVPContainerContentLabels />
109
  <RSVPContainerContentOptions { ...optionsProps } />
110
  <RSVPAdvancedOptions clientId={ clientId } />
111
+ { this.props.hasTicketsPlus && <RSVPAttendeeRegistration /> }
112
  </Fragment>
113
  );
114
  }
src/modules/blocks/rsvp/container.js CHANGED
@@ -54,7 +54,7 @@ const setInitialState = ( dispatch, ownProps ) => () => {
54
  dispatch( thunks.getRSVP( postId ) );
55
  const { attributes = {} } = ownProps;
56
  if ( parseInt( attributes.headerImageId, 10 ) ) {
57
- dispatch( thunks.getRSVPHeaderImage( attributes.headerImageId ) );
58
  }
59
  if ( attributes.goingCount ) {
60
  dispatch( actions.setRSVPGoingCount( parseInt( attributes.goingCount, 10 ) ) );
@@ -66,40 +66,26 @@ const setInitialState = ( dispatch, ownProps ) => () => {
66
  }
67
  };
68
 
69
- const mapStateToProps = ( state ) => ( {
70
- created: selectors.getRSVPCreated( state ),
71
- rsvpId: selectors.getRSVPId( state ),
72
- isInactive: getIsInactive( state ),
73
- isLoading: selectors.getRSVPIsLoading( state ),
74
- isModalShowing: isModalShowing( state ),
75
- modalTicketId: getModalTicketId( state ),
76
- } );
 
 
 
77
 
78
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
79
- dispatch,
80
- setInitialState: setInitialState( dispatch, ownProps ),
81
  initializeRSVP: () => dispatch( actions.initializeRSVP() ),
 
 
82
  } );
83
 
84
- const mergeProps = ( stateProps, dispatchProps, ownProps ) => {
85
- const { dispatch, ...restDispatchProps } = dispatchProps;
86
-
87
- return {
88
- ...ownProps,
89
- ...stateProps,
90
- ...restDispatchProps,
91
- deleteRSVP: () => {
92
- dispatch( actions.deleteRSVP() );
93
- if ( stateProps.created && stateProps.rsvpId ) {
94
- dispatch( thunks.deleteRSVP( stateProps.rsvpId ) );
95
- }
96
- },
97
- isModalShowing: stateProps.isModalShowing && stateProps.modalTicketId === stateProps.rsvpId,
98
- };
99
- };
100
-
101
  export default compose(
102
  withStore(),
103
- connect( mapStateToProps, mapDispatchToProps, mergeProps ),
104
  withSaveData(),
105
  )( RSVP );
54
  dispatch( thunks.getRSVP( postId ) );
55
  const { attributes = {} } = ownProps;
56
  if ( parseInt( attributes.headerImageId, 10 ) ) {
57
+ dispatch( actions.fetchRSVPHeaderImage( attributes.headerImageId ) );
58
  }
59
  if ( attributes.goingCount ) {
60
  dispatch( actions.setRSVPGoingCount( parseInt( attributes.goingCount, 10 ) ) );
66
  }
67
  };
68
 
69
+ const mapStateToProps = ( state ) => {
70
+ const rsvpId = selectors.getRSVPId( state );
71
+
72
+ return {
73
+ created: selectors.getRSVPCreated( state ),
74
+ isInactive: getIsInactive( state ),
75
+ isLoading: selectors.getRSVPIsLoading( state ),
76
+ isModalShowing: isModalShowing( state ) && getModalTicketId( state ) === rsvpId,
77
+ rsvpId,
78
+ }
79
+ };
80
 
81
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
 
 
82
  initializeRSVP: () => dispatch( actions.initializeRSVP() ),
83
+ onBlockRemoved: () => dispatch( actions.deleteRSVP() ),
84
+ setInitialState: setInitialState( dispatch, ownProps ),
85
  } );
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  export default compose(
88
  withStore(),
89
+ connect( mapStateToProps, mapDispatchToProps ),
90
  withSaveData(),
91
  )( RSVP );
src/modules/blocks/rsvp/duration-label/style.pcss CHANGED
@@ -1,5 +1,7 @@
1
  .tribe-editor__rsvp-duration__duration-label {
2
  flex: none;
 
 
3
  }
4
 
5
  .tribe-editor__labeled-item__label {
1
  .tribe-editor__rsvp-duration__duration-label {
2
  flex: none;
3
+ position: relative;
4
+ z-index: 1;
5
  }
6
 
7
  .tribe-editor__labeled-item__label {
src/modules/blocks/rsvp/duration-picker/container.js CHANGED
@@ -76,13 +76,20 @@ const mapStateToProps = ( state ) => {
76
  const isDisabled = selectors.getRSVPIsLoading( state )
77
  || selectors.getRSVPSettingsOpen( state );
78
 
 
 
 
 
 
79
  return {
80
- fromDate: selectors.getRSVPTempStartDateInput( state ),
 
81
  fromDateDisabled: isDisabled,
82
  fromDateFormat: datePickerFormat,
83
  fromTime: selectors.getRSVPTempStartTimeInput( state ),
84
  fromTimeDisabled: isDisabled,
85
- toDate: selectors.getRSVPTempEndDateInput( state ),
 
86
  toDateDisabled: isDisabled,
87
  toDateFormat: datePickerFormat,
88
  toTime: selectors.getRSVPTempEndTimeInput( state ),
76
  const isDisabled = selectors.getRSVPIsLoading( state )
77
  || selectors.getRSVPSettingsOpen( state );
78
 
79
+ const startDateMoment = selectors.getRSVPTempStartDateMoment( state );
80
+ const endDateMoment = selectors.getRSVPTempEndDateMoment( state );
81
+ const fromDate = startDateMoment && startDateMoment.toDate();
82
+ const toDate = endDateMoment && endDateMoment.toDate();
83
+
84
  return {
85
+ fromDate,
86
+ fromDateInput: selectors.getRSVPTempStartDateInput( state ),
87
  fromDateDisabled: isDisabled,
88
  fromDateFormat: datePickerFormat,
89
  fromTime: selectors.getRSVPTempStartTimeInput( state ),
90
  fromTimeDisabled: isDisabled,
91
+ toDate,
92
+ toDateInput: selectors.getRSVPTempEndDateInput( state ),
93
  toDateDisabled: isDisabled,
94
  toDateFormat: datePickerFormat,
95
  toTime: selectors.getRSVPTempEndTimeInput( state ),
src/modules/blocks/rsvp/duration-picker/template.js CHANGED
@@ -18,7 +18,8 @@ const RSVPDurationPicker = ( props ) => (
18
  );
19
 
20
  RSVPDurationPicker.propTypes = {
21
- fromDate: PropTypes.string,
 
22
  fromDateDisabled: PropTypes.bool,
23
  fromTime: PropTypes.string,
24
  fromTimeDisabled: PropTypes.bool,
@@ -30,7 +31,8 @@ RSVPDurationPicker.propTypes = {
30
  onToTimePickerBlur: PropTypes.func,
31
  onToTimePickerChange: PropTypes.func,
32
  onToTimePickerClick: PropTypes.func,
33
- toDate: PropTypes.string,
 
34
  toDateDisabled: PropTypes.bool,
35
  toTime: PropTypes.string,
36
  toTimeDisabled: PropTypes.bool,
18
  );
19
 
20
  RSVPDurationPicker.propTypes = {
21
+ fromDate: PropTypes.instanceOf( Date ),
22
+ fromDateInput: PropTypes.string,
23
  fromDateDisabled: PropTypes.bool,
24
  fromTime: PropTypes.string,
25
  fromTimeDisabled: PropTypes.bool,
31
  onToTimePickerBlur: PropTypes.func,
32
  onToTimePickerChange: PropTypes.func,
33
  onToTimePickerClick: PropTypes.func,
34
+ toDate: PropTypes.instanceOf( Date ),
35
+ toDateInput: PropTypes.string,
36
  toDateDisabled: PropTypes.bool,
37
  toTime: PropTypes.string,
38
  toTimeDisabled: PropTypes.bool,
src/modules/blocks/rsvp/header-image/container.js CHANGED
@@ -4,16 +4,11 @@
4
  import { connect } from 'react-redux';
5
  import { compose } from 'redux';
6
 
7
- /**
8
- * WordPress dependencies
9
- */
10
- import { select } from '@wordpress/data';
11
-
12
  /**
13
  * Internal dependencies
14
  */
15
  import RSVPHeaderImage from './template';
16
- import { selectors, thunks } from '@moderntribe/tickets/data/blocks/rsvp';
17
  import { withStore } from '@moderntribe/common/hoc';
18
 
19
  /**
@@ -30,16 +25,13 @@ const mapStateToProps = ( state ) => ( {
30
  } );
31
 
32
  const mapDispatchToProps = ( dispatch ) => {
33
- const postId = select( 'core/editor' ).getCurrentPostId();
34
  return {
35
- onRemove: () => dispatch( thunks.deleteRSVPHeaderImage( postId ) ),
36
  /**
37
  * Full payload from gutenberg media upload is not used,
38
  * only id, alt, and medium src are used for this specific case.
39
  */
40
- onSelect: ( image ) => dispatch(
41
- thunks.updateRSVPHeaderImage( postId, image )
42
- ),
43
  };
44
  };
45
 
4
  import { connect } from 'react-redux';
5
  import { compose } from 'redux';
6
 
 
 
 
 
 
7
  /**
8
  * Internal dependencies
9
  */
10
  import RSVPHeaderImage from './template';
11
+ import { selectors, actions } from '@moderntribe/tickets/data/blocks/rsvp';
12
  import { withStore } from '@moderntribe/common/hoc';
13
 
14
  /**
25
  } );
26
 
27
  const mapDispatchToProps = ( dispatch ) => {
 
28
  return {
29
+ onRemove: () => dispatch( actions.deleteRSVPHeaderImage() ),
30
  /**
31
  * Full payload from gutenberg media upload is not used,
32
  * only id, alt, and medium src are used for this specific case.
33
  */
34
+ onSelect: ( image ) => dispatch( actions.updateRSVPHeaderImage( image ) ),
 
 
35
  };
36
  };
37
 
src/modules/blocks/rsvp/header-image/style.pcss CHANGED
@@ -1,6 +1,7 @@
1
  .tribe-editor__image-upload__title {
2
 
3
- .tribe-editor__rsvp__settings-dashboard--loading & {
 
4
  color: #AEB4BB;
5
  }
6
  }
1
  .tribe-editor__image-upload__title {
2
 
3
+ /* extra classes to override gutenberg styles for h3 */
4
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__rsvp__settings-dashboard--loading & {
5
  color: #AEB4BB;
6
  }
7
  }
src/modules/blocks/rsvp/header-image/template.js CHANGED
@@ -25,7 +25,7 @@ const RSVPHeaderImage = ( {
25
  title: __( 'Ticket Header Image', 'event-tickets' ),
26
  description: __(
27
  /* eslint-disable-next-line max-len */
28
- 'Select an image from your Media Library to display on emailed tickets. For best results, use a .jpg, .png, or .gif at least 1160px wide.',
29
  'event-tickets'
30
  ),
31
  className: 'tribe-editor__rsvp__image-upload',
25
  title: __( 'Ticket Header Image', 'event-tickets' ),
26
  description: __(
27
  /* eslint-disable-next-line max-len */
28
+ 'Select an image from your Media Library to display on emailed tickets and RSVPs. For best results, use a .jpg, .png, or .gif at least 1160px wide.',
29
  'event-tickets'
30
  ),
31
  className: 'tribe-editor__rsvp__image-upload',
src/modules/blocks/rsvp/template.js CHANGED
@@ -21,25 +21,20 @@ import './style.pcss';
21
 
22
  class RSVP extends PureComponent {
23
  static propTypes = {
 
24
  created: PropTypes.bool.isRequired,
25
- deleteRSVP: PropTypes.func.isRequired,
26
  initializeRSVP: PropTypes.func.isRequired,
27
  isInactive: PropTypes.bool.isRequired,
28
  isLoading: PropTypes.bool.isRequired,
29
  isModalShowing: PropTypes.bool.isRequired,
30
  isSelected: PropTypes.bool.isRequired,
31
  rsvpId: PropTypes.number.isRequired,
32
- clientId: PropTypes.string.isRequired,
33
  };
34
 
35
  componentDidMount() {
36
  ! this.props.rsvpId && this.props.initializeRSVP();
37
  }
38
 
39
- componentWillUnmount() {
40
- this.props.deleteRSVP();
41
- }
42
-
43
  render() {
44
  const {
45
  created,
21
 
22
  class RSVP extends PureComponent {
23
  static propTypes = {
24
+ clientId: PropTypes.string.isRequired,
25
  created: PropTypes.bool.isRequired,
 
26
  initializeRSVP: PropTypes.func.isRequired,
27
  isInactive: PropTypes.bool.isRequired,
28
  isLoading: PropTypes.bool.isRequired,
29
  isModalShowing: PropTypes.bool.isRequired,
30
  isSelected: PropTypes.bool.isRequired,
31
  rsvpId: PropTypes.number.isRequired,
 
32
  };
33
 
34
  componentDidMount() {
35
  ! this.props.rsvpId && this.props.initializeRSVP();
36
  }
37
 
 
 
 
 
38
  render() {
39
  const {
40
  created,
src/modules/blocks/ticket/container-content/advanced-options/duration/container.js CHANGED
@@ -3,43 +3,41 @@
3
  */
4
  import { connect } from 'react-redux';
5
  import { compose } from 'redux';
6
- import moment from 'moment';
7
 
8
  /**
9
  * Internal dependencies
10
  */
11
  import Template from './template';
12
- import { withStore } from '@moderntribe/common/hoc';
13
  import { selectors, actions } from '@moderntribe/tickets/data/blocks/ticket';
 
14
  import {
15
  globals,
16
  moment as momentUtil,
17
- time as timeUtil,
18
  } from '@moderntribe/common/utils';
19
 
20
  const onFromDateChange = ( dispatch, ownProps ) => ( date, modifiers, dayPickerInput ) => {
21
- dispatch( actions.handleTicketStartDate( ownProps.blockId, date, dayPickerInput ) )
22
  };
23
 
24
  const onFromTimePickerChange = ( dispatch, ownProps ) => ( e ) => {
25
- dispatch( actions.setTicketTempStartTimeInput( ownProps.blockId, e.target.value ) );
26
  };
27
 
28
  const onFromTimePickerClick = ( dispatch, ownProps ) => ( value, onClose ) => {
29
- dispatch( actions.handleTicketStartTime( ownProps.blockId, value ) );
30
  onClose();
31
  };
32
 
33
  const onToDateChange = ( dispatch, ownProps ) => ( date, modifiers, dayPickerInput ) => {
34
- dispatch( actions.handleTicketEndDate( ownProps.blockId, date, dayPickerInput ) )
35
  };
36
 
37
  const onToTimePickerChange = ( dispatch, ownProps ) => ( e ) => {
38
- dispatch( actions.setTicketTempEndTimeInput( ownProps.blockId, e.target.value ) );
39
  };
40
 
41
  const onToTimePickerClick = ( dispatch, ownProps ) => ( value, onClose ) => {
42
- dispatch( actions.handleTicketEndTime( ownProps.blockId, value ) );
43
  onClose();
44
  };
45
 
@@ -50,7 +48,7 @@ const onFromTimePickerBlur = ( state, dispatch, ownProps ) => ( e ) => {
50
  startTimeMoment = momentUtil.toMoment( startTimeInput, momentUtil.TIME_FORMAT, false );
51
  }
52
  const seconds = momentUtil.totalSeconds( startTimeMoment );
53
- dispatch( actions.handleTicketStartTime( ownProps.blockId, seconds ) );
54
  };
55
 
56
  const onToTimePickerBlur = ( state, dispatch, ownProps ) => ( e ) => {
@@ -60,7 +58,7 @@ const onToTimePickerBlur = ( state, dispatch, ownProps ) => ( e ) => {
60
  endTimeMoment = momentUtil.toMoment( endTimeInput, momentUtil.TIME_FORMAT, false );
61
  }
62
  const seconds = momentUtil.totalSeconds( endTimeMoment );
63
- dispatch( actions.handleTicketEndTime( ownProps.blockId, seconds ) );
64
  };
65
 
66
  const mapStateToProps = ( state, ownProps ) => {
@@ -69,13 +67,20 @@ const mapStateToProps = ( state, ownProps ) => {
69
  : 'LL';
70
  const isDisabled = selectors.isTicketDisabled( state, ownProps );
71
 
 
 
 
 
 
72
  return {
73
- fromDate: selectors.getTicketTempStartDateInput( state, ownProps ),
 
74
  fromDateDisabled: isDisabled,
75
  fromDateFormat: datePickerFormat,
76
  fromTime: selectors.getTicketTempStartTimeInput( state, ownProps ),
77
  fromTimeDisabled: isDisabled,
78
- toDate: selectors.getTicketTempEndDateInput( state, ownProps ),
 
79
  toDateDisabled: isDisabled,
80
  toDateFormat: datePickerFormat,
81
  toTime: selectors.getTicketTempEndTimeInput( state, ownProps ),
3
  */
4
  import { connect } from 'react-redux';
5
  import { compose } from 'redux';
 
6
 
7
  /**
8
  * Internal dependencies
9
  */
10
  import Template from './template';
 
11
  import { selectors, actions } from '@moderntribe/tickets/data/blocks/ticket';
12
+ import { withStore } from '@moderntribe/common/hoc';
13
  import {
14
  globals,
15
  moment as momentUtil,
 
16
  } from '@moderntribe/common/utils';
17
 
18
  const onFromDateChange = ( dispatch, ownProps ) => ( date, modifiers, dayPickerInput ) => {
19
+ dispatch( actions.handleTicketStartDate( ownProps.clientId, date, dayPickerInput ) )
20
  };
21
 
22
  const onFromTimePickerChange = ( dispatch, ownProps ) => ( e ) => {
23
+ dispatch( actions.setTicketTempStartTimeInput( ownProps.clientId, e.target.value ) );
24
  };
25
 
26
  const onFromTimePickerClick = ( dispatch, ownProps ) => ( value, onClose ) => {
27
+ dispatch( actions.handleTicketStartTime( ownProps.clientId, value ) );
28
  onClose();
29
  };
30
 
31
  const onToDateChange = ( dispatch, ownProps ) => ( date, modifiers, dayPickerInput ) => {
32
+ dispatch( actions.handleTicketEndDate( ownProps.clientId, date, dayPickerInput ) )
33
  };
34
 
35
  const onToTimePickerChange = ( dispatch, ownProps ) => ( e ) => {
36
+ dispatch( actions.setTicketTempEndTimeInput( ownProps.clientId, e.target.value ) );
37
  };
38
 
39
  const onToTimePickerClick = ( dispatch, ownProps ) => ( value, onClose ) => {
40
+ dispatch( actions.handleTicketEndTime( ownProps.clientId, value ) );
41
  onClose();
42
  };
43
 
48
  startTimeMoment = momentUtil.toMoment( startTimeInput, momentUtil.TIME_FORMAT, false );
49
  }
50
  const seconds = momentUtil.totalSeconds( startTimeMoment );
51
+ dispatch( actions.handleTicketStartTime( ownProps.clientId, seconds ) );
52
  };
53
 
54
  const onToTimePickerBlur = ( state, dispatch, ownProps ) => ( e ) => {
58
  endTimeMoment = momentUtil.toMoment( endTimeInput, momentUtil.TIME_FORMAT, false );
59
  }
60
  const seconds = momentUtil.totalSeconds( endTimeMoment );
61
+ dispatch( actions.handleTicketEndTime( ownProps.clientId, seconds ) );
62
  };
63
 
64
  const mapStateToProps = ( state, ownProps ) => {
67
  : 'LL';
68
  const isDisabled = selectors.isTicketDisabled( state, ownProps );
69
 
70
+ const startDateMoment = selectors.getTicketTempStartDateMoment( state, ownProps );
71
+ const endDateMoment = selectors.getTicketTempEndDateMoment( state, ownProps );
72
+ const fromDate = startDateMoment && startDateMoment.toDate();
73
+ const toDate = endDateMoment && endDateMoment.toDate();
74
+
75
  return {
76
+ fromDate,
77
+ fromDateInput: selectors.getTicketTempStartDateInput( state, ownProps ),
78
  fromDateDisabled: isDisabled,
79
  fromDateFormat: datePickerFormat,
80
  fromTime: selectors.getTicketTempStartTimeInput( state, ownProps ),
81
  fromTimeDisabled: isDisabled,
82
+ toDate,
83
+ toDateInput: selectors.getTicketTempEndDateInput( state, ownProps ),
84
  toDateDisabled: isDisabled,
85
  toDateFormat: datePickerFormat,
86
  toTime: selectors.getTicketTempEndTimeInput( state, ownProps ),
src/modules/blocks/ticket/container-content/advanced-options/duration/template.js CHANGED
@@ -40,7 +40,8 @@ const TicketDuration = ( props ) => (
40
  );
41
 
42
  TicketDuration.propTypes = {
43
- fromDate: PropTypes.string,
 
44
  fromDateDisabled: PropTypes.bool,
45
  fromTime: PropTypes.string,
46
  fromTimeDisabled: PropTypes.bool,
@@ -52,7 +53,8 @@ TicketDuration.propTypes = {
52
  onToTimePickerBlur: PropTypes.func,
53
  onToTimePickerChange: PropTypes.func,
54
  onToTimePickerClick: PropTypes.func,
55
- toDate: PropTypes.string,
 
56
  toDateDisabled: PropTypes.bool,
57
  toTime: PropTypes.string,
58
  toTimeDisabled: PropTypes.bool,
40
  );
41
 
42
  TicketDuration.propTypes = {
43
+ fromDate: PropTypes.instanceOf( Date ),
44
+ fromDateInput: PropTypes.string,
45
  fromDateDisabled: PropTypes.bool,
46
  fromTime: PropTypes.string,
47
  fromTimeDisabled: PropTypes.bool,
53
  onToTimePickerBlur: PropTypes.func,
54
  onToTimePickerChange: PropTypes.func,
55
  onToTimePickerClick: PropTypes.func,
56
+ toDate: PropTypes.instanceOf( Date ),
57
+ toDateInput: PropTypes.string,
58
  toDateDisabled: PropTypes.bool,
59
  toTime: PropTypes.string,
60
  toTimeDisabled: PropTypes.bool,
src/modules/blocks/ticket/container-content/advanced-options/move-delete/container.js CHANGED
@@ -22,9 +22,9 @@ const mapStateToProps = ( state, ownProps ) => ( {
22
 
23
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
24
  removeTicket: () => {
25
- dispatch( actions.deleteTicket( ownProps.blockId ) );
26
  },
27
- moveTicket: ( ticketId ) => dispatch( showModal( ticketId, ownProps.blockId ) ),
28
  } );
29
 
30
  const mergeProps = ( stateProps, dispatchProps, ownProps, ) => ( {
22
 
23
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
24
  removeTicket: () => {
25
+ dispatch( actions.deleteTicket( ownProps.clientId ) );
26
  },
27
+ moveTicket: ( ticketId ) => dispatch( showModal( ticketId, ownProps.clientId ) ),
28
  } );
29
 
30
  const mergeProps = ( stateProps, dispatchProps, ownProps, ) => ( {
src/modules/blocks/ticket/container-content/advanced-options/sku/container.js CHANGED
@@ -18,9 +18,9 @@ const mapStateToProps = ( state, ownProps ) => ( {
18
 
19
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
20
  onChange: ( e ) => {
21
- const { blockId } = ownProps;
22
- dispatch( actions.setTicketTempSku( blockId, e.target.value ) );
23
- dispatch( actions.setTicketHasChanges( blockId, true ) );
24
  },
25
  } );
26
 
18
 
19
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
20
  onChange: ( e ) => {
21
+ const { clientId } = ownProps;
22
+ dispatch( actions.setTicketTempSku( clientId, e.target.value ) );
23
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
24
  },
25
  } );
26
 
src/modules/blocks/ticket/container-content/advanced-options/template.js CHANGED
@@ -23,7 +23,7 @@ import MoveDelete from './move-delete/container';
23
 
24
  class AdvancedOptions extends Component {
25
  static propTypes = {
26
- blockId: PropTypes.string.isRequired,
27
  isDisabled: PropTypes.bool,
28
  hasBeenCreated: PropTypes.bool,
29
  };
@@ -47,11 +47,11 @@ class AdvancedOptions extends Component {
47
 
48
  getContent = () => (
49
  <Fragment>
50
- <Duration blockId={ this.props.blockId } />
51
- <SKU blockId={ this.props.blockId } />
52
- <EcommerceOptions blockId={ this.props.blockId } />
53
  { this.props.hasBeenCreated && (
54
- <MoveDelete blockId={ this.props.blockId } />
55
  ) }
56
  </Fragment>
57
  );
23
 
24
  class AdvancedOptions extends Component {
25
  static propTypes = {
26
+ clientId: PropTypes.string.isRequired,
27
  isDisabled: PropTypes.bool,
28
  hasBeenCreated: PropTypes.bool,
29
  };
47
 
48
  getContent = () => (
49
  <Fragment>
50
+ <Duration clientId={ this.props.clientId } />
51
+ <SKU clientId={ this.props.clientId } />
52
+ <EcommerceOptions clientId={ this.props.clientId } />
53
  { this.props.hasBeenCreated && (
54
+ <MoveDelete clientId={ this.props.clientId } />
55
  ) }
56
  </Fragment>
57
  );
src/modules/blocks/ticket/container-content/capacity/container.js CHANGED
@@ -34,29 +34,29 @@ const mapStateToProps = ( state, ownProps ) => ( {
34
  } );
35
 
36
  const mapDispatchToProps = ( dispatch, ownProps ) => {
37
- const { blockId } = ownProps;
38
 
39
  return {
40
  onTempCapacityChange: ( e ) => {
41
- dispatch( actions.setTicketTempCapacity( blockId, e.target.value ) );
42
- dispatch( actions.setTicketHasChanges( blockId, true ) );
43
  },
44
  onTempCapacityNoPlusChange: ( e ) => {
45
  const capacity = e.target.value;
46
  const capacityType = trim( capacity ) === ''
47
  ? TICKET_TYPES[ UNLIMITED ]
48
  : TICKET_TYPES[ INDEPENDENT ];
49
- dispatch( actions.setTicketTempCapacityType( blockId, capacityType ) );
50
- dispatch( actions.setTicketTempCapacity( blockId, capacity ) );
51
- dispatch( actions.setTicketHasChanges( blockId, true ) );
52
  },
53
  onTempCapacityTypeChange: ( selectedOption ) => {
54
- dispatch( actions.setTicketTempCapacityType( blockId, selectedOption.value ) );
55
- dispatch( actions.setTicketHasChanges( blockId, true ) );
56
  },
57
  onTempSharedCapacityChange: ( e ) => {
58
  dispatch( actions.setTicketsTempSharedCapacity( e.target.value ) );
59
- dispatch( actions.setTicketHasChanges( blockId, true ) );
60
  },
61
  };
62
  };
34
  } );
35
 
36
  const mapDispatchToProps = ( dispatch, ownProps ) => {
37
+ const { clientId } = ownProps;
38
 
39
  return {
40
  onTempCapacityChange: ( e ) => {
41
+ dispatch( actions.setTicketTempCapacity( clientId, e.target.value ) );
42
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
43
  },
44
  onTempCapacityNoPlusChange: ( e ) => {
45
  const capacity = e.target.value;
46
  const capacityType = trim( capacity ) === ''
47
  ? TICKET_TYPES[ UNLIMITED ]
48
  : TICKET_TYPES[ INDEPENDENT ];
49
+ dispatch( actions.setTicketTempCapacityType( clientId, capacityType ) );
50
+ dispatch( actions.setTicketTempCapacity( clientId, capacity ) );
51
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
52
  },
53
  onTempCapacityTypeChange: ( selectedOption ) => {
54
+ dispatch( actions.setTicketTempCapacityType( clientId, selectedOption.value ) );
55
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
56
  },
57
  onTempSharedCapacityChange: ( e ) => {
58
  dispatch( actions.setTicketsTempSharedCapacity( e.target.value ) );
59
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
60
  },
61
  };
62
  };
src/modules/blocks/ticket/container-content/template.js CHANGED
@@ -12,16 +12,16 @@ import AdvancedOptions from './advanced-options/container';
12
  import AttendeesRegistration from './attendees-registration/container';
13
  import './style.pcss';
14
 
15
- const TicketContainerContent = ( { blockId, hasTicketsPlus } ) => (
16
  <Fragment>
17
- <Capacity blockId={ blockId } />
18
- <AdvancedOptions blockId={ blockId } />
19
- { hasTicketsPlus && <AttendeesRegistration blockId={ blockId } /> }
20
  </Fragment>
21
  );
22
 
23
  TicketContainerContent.propTypes = {
24
- blockId: PropTypes.string.isRequired,
25
  hasTicketsPlus: PropTypes.bool,
26
  };
27
 
12
  import AttendeesRegistration from './attendees-registration/container';
13
  import './style.pcss';
14
 
15
+ const TicketContainerContent = ( { clientId, hasTicketsPlus } ) => (
16
  <Fragment>
17
+ <Capacity clientId={ clientId } />
18
+ <AdvancedOptions clientId={ clientId } />
19
+ { hasTicketsPlus && <AttendeesRegistration clientId={ clientId } /> }
20
  </Fragment>
21
  );
22
 
23
  TicketContainerContent.propTypes = {
24
+ clientId: PropTypes.string.isRequired,
25
  hasTicketsPlus: PropTypes.bool,
26
  };
27
 
src/modules/blocks/ticket/container-header/description/container.js CHANGED
@@ -19,9 +19,9 @@ const mapStateToProps = ( state, ownProps ) => ( {
19
 
20
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
21
  onTempDescriptionChange: ( e ) => {
22
- const { blockId } = ownProps;
23
- dispatch( actions.setTicketTempDescription( blockId, e.target.value ) );
24
- dispatch( actions.setTicketHasChanges( blockId, true ) );
25
  },
26
  } );
27
 
19
 
20
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
21
  onTempDescriptionChange: ( e ) => {
22
+ const { clientId } = ownProps;
23
+ dispatch( actions.setTicketTempDescription( clientId, e.target.value ) );
24
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
25
  },
26
  } );
27
 
src/modules/blocks/ticket/container-header/price/container.js CHANGED
@@ -16,14 +16,14 @@ const mapStateToProps = ( state, ownProps ) => ( {
16
  currencyPosition: selectors.getTicketCurrencyPosition( state, ownProps ),
17
  currencySymbol: selectors.getTicketCurrencySymbol( state, ownProps ),
18
  tempPrice: selectors.getTicketTempPrice( state, ownProps ),
19
- price: selectors.getTicketPrice( state, ownProps ),
20
  } );
21
 
22
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
23
  onTempPriceChange: ( e ) => {
24
- const { blockId } = ownProps;
25
- dispatch( actions.setTicketTempPrice( blockId, e.target.value ) );
26
- dispatch( actions.setTicketHasChanges( blockId, true ) );
27
  },
28
  } );
29
 
16
  currencyPosition: selectors.getTicketCurrencyPosition( state, ownProps ),
17
  currencySymbol: selectors.getTicketCurrencySymbol( state, ownProps ),
18
  tempPrice: selectors.getTicketTempPrice( state, ownProps ),
19
+ price: selectors.getTicketPrice( state, ownProps ) || '0',
20
  } );
21
 
22
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
23
  onTempPriceChange: ( e ) => {
24
+ const { clientId } = ownProps;
25
+ dispatch( actions.setTicketTempPrice( clientId, e.target.value ) );
26
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
27
  },
28
  } );
29
 
src/modules/blocks/ticket/container-header/template.js CHANGED
@@ -19,23 +19,23 @@ import TicketContainerHeaderQuantity from './quantity/container';
19
  import './style.pcss';
20
 
21
  const TicketContainerHeader = ( {
22
- blockId,
23
  isSelected,
24
  } ) => {
25
  return (
26
  <Fragment>
27
  <div className="tribe-editor__ticket__container-header-details">
28
- <TicketContainerHeaderTitle blockId={ blockId } isSelected={ isSelected } />
29
- <TicketContainerHeaderDescription blockId={ blockId } isSelected={ isSelected } />
30
  </div>
31
- <TicketContainerHeaderPrice blockId={ blockId } isSelected={ isSelected } />
32
- <TicketContainerHeaderQuantity blockId={ blockId } isSelected={ isSelected } />
33
  </Fragment>
34
  );
35
  };
36
 
37
  TicketContainerHeader.propTypes = {
38
- blockId: PropTypes.string,
39
  isSelected: PropTypes.bool,
40
  };
41
 
19
  import './style.pcss';
20
 
21
  const TicketContainerHeader = ( {
22
+ clientId,
23
  isSelected,
24
  } ) => {
25
  return (
26
  <Fragment>
27
  <div className="tribe-editor__ticket__container-header-details">
28
+ <TicketContainerHeaderTitle clientId={ clientId } isSelected={ isSelected } />
29
+ <TicketContainerHeaderDescription clientId={ clientId } isSelected={ isSelected } />
30
  </div>
31
+ <TicketContainerHeaderPrice clientId={ clientId } isSelected={ isSelected } />
32
+ <TicketContainerHeaderQuantity clientId={ clientId } isSelected={ isSelected } />
33
  </Fragment>
34
  );
35
  };
36
 
37
  TicketContainerHeader.propTypes = {
38
+ clientId: PropTypes.string,
39
  isSelected: PropTypes.bool,
40
  };
41
 
src/modules/blocks/ticket/container-header/title/container.js CHANGED
@@ -19,9 +19,9 @@ const mapStateToProps = ( state, ownProps ) => ( {
19
 
20
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
21
  onTempTitleChange: ( e ) => {
22
- const { blockId } = ownProps;
23
- dispatch( actions.setTicketTempTitle( blockId, e.target.value ) );
24
- dispatch( actions.setTicketHasChanges( blockId, true ) );
25
  },
26
  } );
27
 
19
 
20
  const mapDispatchToProps = ( dispatch, ownProps ) => ( {
21
  onTempTitleChange: ( e ) => {
22
+ const { clientId } = ownProps;
23
+ dispatch( actions.setTicketTempTitle( clientId, e.target.value ) );
24
+ dispatch( actions.setTicketHasChanges( clientId, true ) );
25
  },
26
  } );
27
 
src/modules/blocks/ticket/container.js CHANGED
@@ -16,18 +16,22 @@ import {
16
  getModalTicketId,
17
  } from '@moderntribe/tickets/data/shared/move/selectors';
18
 
19
- const mapStateToProps = ( state, ownProps ) => {
20
- const props = { blockId: ownProps.clientId };
 
 
 
21
 
 
22
  return {
23
- blockId: ownProps.clientId,
24
  hasTicketsPlus: plugins.selectors.hasPlugin( state )( plugins.constants.TICKETS_PLUS ),
25
- hasBeenCreated: selectors.getTicketHasBeenCreated( state, props ),
26
- isDisabled: selectors.isTicketDisabled( state, props ),
27
- isLoading: selectors.getTicketIsLoading( state, props ),
28
- ticketId: selectors.getTicketId( state, props ),
29
  isModalShowing: isModalShowing( state ),
30
  modalTicketId: getModalTicketId( state ),
 
 
31
  };
32
  };
33
 
16
  getModalTicketId,
17
  } from '@moderntribe/tickets/data/shared/move/selectors';
18
 
19
+ const getShowTicket = ( state, ownProps ) => (
20
+ selectors.getTicketsIsSelected( state )
21
+ || selectors.hasATicketSelected( state )
22
+ || selectors.isTicketOnSale( state, ownProps )
23
+ );
24
 
25
+ const mapStateToProps = ( state, ownProps ) => {
26
  return {
 
27
  hasTicketsPlus: plugins.selectors.hasPlugin( state )( plugins.constants.TICKETS_PLUS ),
28
+ hasBeenCreated: selectors.getTicketHasBeenCreated( state, ownProps ),
29
+ isDisabled: selectors.isTicketDisabled( state, ownProps ),
30
+ isLoading: selectors.getTicketIsLoading( state, ownProps ),
 
31
  isModalShowing: isModalShowing( state ),
32
  modalTicketId: getModalTicketId( state ),
33
+ showTicket: getShowTicket( state, ownProps ),
34
+ ticketId: selectors.getTicketId( state, ownProps ),
35
  };
36
  };
37
 
src/modules/blocks/ticket/container/template.js CHANGED
@@ -37,18 +37,18 @@ TicketContainerIcon.propTypes = {
37
  };
38
 
39
 
40
- const TicketContainer = ( { blockId, isDisabled, isFuture, isPast, isSelected } ) => (
41
  <ContainerPanel
42
  className="tribe-editor__ticket__container"
43
  layout={ LAYOUT.ticket }
44
  icon={ <TicketContainerIcon isDisabled={ isDisabled } isFuture={ isFuture } isPast={ isPast } /> }
45
- header={ <TicketContainerHeader blockId={ blockId } isSelected={ isSelected } /> }
46
- content={ <TicketContainerContent blockId={ blockId } /> }
47
  />
48
  );
49
 
50
  TicketContainer.propTypes = {
51
- blockId: PropTypes.string.isRequired,
52
  isDisabled: PropTypes.bool,
53
  isFuture: PropTypes.bool,
54
  isPast: PropTypes.bool,
37
  };
38
 
39
 
40
+ const TicketContainer = ( { clientId, isDisabled, isFuture, isPast, isSelected } ) => (
41
  <ContainerPanel
42
  className="tribe-editor__ticket__container"
43
  layout={ LAYOUT.ticket }
44
  icon={ <TicketContainerIcon isDisabled={ isDisabled } isFuture={ isFuture } isPast={ isPast } /> }
45
+ header={ <TicketContainerHeader clientId={ clientId } isSelected={ isSelected } /> }
46
+ content={ <TicketContainerContent clientId={ clientId } /> }
47
  />
48
  );
49
 
50
  TicketContainer.propTypes = {
51
+ clientId: PropTypes.string.isRequired,
52
  isDisabled: PropTypes.bool,
53
  isFuture: PropTypes.bool,
54
  isPast: PropTypes.bool,
src/modules/blocks/ticket/dashboard/container.js CHANGED
@@ -23,35 +23,40 @@ const getIsConfirmDisabled = ( state, ownProps ) => (
23
  );
24
 
25
  const onCancelClick = ( state, dispatch, ownProps ) => () => {
26
- dispatch( actions.setTicketTempDetails( ownProps.blockId, {
27
- title: selectors.getTicketTitle( state, ownProps ),
28
- description: selectors.getTicketDescription( state, ownProps ),
29
- price: selectors.getTicketPrice( state, ownProps ),
30
- sku: selectors.getTicketSku( state, ownProps ),
31
- startDate: selectors.getTicketStartDate( state, ownProps ),
32
- startDateInput: selectors.getTicketStartDateInput( state, ownProps ),
33
- startDateMoment: selectors.getTicketStartDateMoment( state, ownProps ),
34
- endDate: selectors.getTicketEndDate( state, ownProps ),
35
- endDateInput: selectors.getTicketEndDateInput( state, ownProps ),
36
- endDateMoment: selectors.getTicketEndDateMoment( state, ownProps ),
37
- startTime: selectors.getTicketStartTime( state, ownProps ),
38
- endTime: selectors.getTicketEndTime( state, ownProps ),
39
- startTimeInput: selectors.getTicketStartTimeInput( state, ownProps ),
40
- endTimeInput: selectors.getTicketEndTimeInput( state, ownProps ),
41
- capacityType: selectors.getTicketCapacityType( state, ownProps ),
42
- capacity: selectors.getTicketCapacity( state, ownProps ),
43
- } ) );
44
- dispatch( actions.setTicketsTempSharedCapacity(
45
- selectors.getTicketsSharedCapacity( state ),
46
- ) );
47
- dispatch( actions.setTicketHasChanges( ownProps.blockId, false ) );
 
 
 
 
 
48
  wpDispatch( 'core/editor' ).clearSelectedBlock();
49
  };
50
 
51
  const onConfirmClick = ( state, dispatch, ownProps ) => () => (
52
  selectors.getTicketHasBeenCreated( state, ownProps )
53
- ? dispatch( actions.updateTicket( ownProps.blockId ) )
54
- : dispatch( actions.createNewTicket( ownProps.blockId ) )
55
  );
56
 
57
  const mapStateToProps = ( state, ownProps ) => ( {
23
  );
24
 
25
  const onCancelClick = ( state, dispatch, ownProps ) => () => {
26
+ if ( selectors.getTicketHasBeenCreated( state, ownProps ) ) {
27
+ dispatch( actions.setTicketTempDetails( ownProps.clientId, {
28
+ title: selectors.getTicketTitle( state, ownProps ),
29
+ description: selectors.getTicketDescription( state, ownProps ),
30
+ price: selectors.getTicketPrice( state, ownProps ),
31
+ sku: selectors.getTicketSku( state, ownProps ),
32
+ startDate: selectors.getTicketStartDate( state, ownProps ),
33
+ startDateInput: selectors.getTicketStartDateInput( state, ownProps ),
34
+ startDateMoment: selectors.getTicketStartDateMoment( state, ownProps ),
35
+ endDate: selectors.getTicketEndDate( state, ownProps ),
36
+ endDateInput: selectors.getTicketEndDateInput( state, ownProps ),
37
+ endDateMoment: selectors.getTicketEndDateMoment( state, ownProps ),
38
+ startTime: selectors.getTicketStartTime( state, ownProps ),
39
+ endTime: selectors.getTicketEndTime( state, ownProps ),
40
+ startTimeInput: selectors.getTicketStartTimeInput( state, ownProps ),
41
+ endTimeInput: selectors.getTicketEndTimeInput( state, ownProps ),
42
+ capacityType: selectors.getTicketCapacityType( state, ownProps ),
43
+ capacity: selectors.getTicketCapacity( state, ownProps ),
44
+ } ) );
45
+ dispatch( actions.setTicketsTempSharedCapacity(
46
+ selectors.getTicketsSharedCapacity( state ),
47
+ ) );
48
+ dispatch( actions.setTicketHasChanges( ownProps.clientId, false ) );
49
+ } else {
50
+ dispatch( actions.removeTicketBlock( ownProps.clientId ) )
51
+ wpDispatch( 'core/editor' ).removeBlocks( ownProps.clientId );
52
+ }
53
  wpDispatch( 'core/editor' ).clearSelectedBlock();
54
  };
55
 
56
  const onConfirmClick = ( state, dispatch, ownProps ) => () => (
57
  selectors.getTicketHasBeenCreated( state, ownProps )
58
+ ? dispatch( actions.updateTicket( ownProps.clientId ) )
59
+ : dispatch( actions.createNewTicket( ownProps.clientId ) )
60
  );
61
 
62
  const mapStateToProps = ( state, ownProps ) => ( {
src/modules/blocks/ticket/template.js CHANGED
@@ -20,7 +20,7 @@ import MoveModal from '@moderntribe/tickets/elements/move-modal';
20
 
21
  class Ticket extends PureComponent {
22
  static propTypes = {
23
- blockId: PropTypes.string.isRequired,
24
  hasTicketsPlus: PropTypes.bool,
25
  isDisabled: PropTypes.bool,
26
  isLoading: PropTypes.bool,
@@ -28,6 +28,7 @@ class Ticket extends PureComponent {
28
  isSelected: PropTypes.bool,
29
  onBlockUpdate: PropTypes.func,
30
  removeTicketBlock: PropTypes.func,
 
31
  };
32
 
33
  componentDidMount() {
@@ -42,15 +43,16 @@ class Ticket extends PureComponent {
42
 
43
  render() {
44
  const {
45
- blockId,
46
  hasTicketsPlus,
47
  isDisabled,
48
  isLoading,
49
  isSelected,
50
  isModalShowing,
 
51
  } = this.props;
52
 
53
- return [
54
  (
55
  <article className={ classNames(
56
  'tribe-editor__ticket',
@@ -59,13 +61,13 @@ class Ticket extends PureComponent {
59
  { 'tribe-editor__ticket--has-tickets-plus': hasTicketsPlus },
60
  ) }
61
  >
62
- <TicketContainer blockId={ blockId } isSelected={ isSelected } />
63
- <TicketDashboard blockId={ blockId } isSelected={ isSelected } />
64
  { isLoading && <Spinner /> }
65
  </article>
66
  ),
67
  isModalShowing && <MoveModal />,
68
- ];
69
  }
70
  }
71
 
20
 
21
  class Ticket extends PureComponent {
22
  static propTypes = {
23
+ clientId: PropTypes.string.isRequired,
24
  hasTicketsPlus: PropTypes.bool,
25
  isDisabled: PropTypes.bool,
26
  isLoading: PropTypes.bool,
28
  isSelected: PropTypes.bool,
29
  onBlockUpdate: PropTypes.func,
30
  removeTicketBlock: PropTypes.func,
31
+ showTicket: PropTypes.bool,
32
  };
33
 
34
  componentDidMount() {
43
 
44
  render() {
45
  const {
46
+ clientId,
47
  hasTicketsPlus,
48
  isDisabled,
49
  isLoading,
50
  isSelected,
51
  isModalShowing,
52
+ showTicket,
53
  } = this.props;
54
 
55
+ return showTicket ? [
56
  (
57
  <article className={ classNames(
58
  'tribe-editor__ticket',
61
  { 'tribe-editor__ticket--has-tickets-plus': hasTicketsPlus },
62
  ) }
63
  >
64
+ <TicketContainer clientId={ clientId } isSelected={ isSelected } />
65
+ <TicketDashboard clientId={ clientId } isSelected={ isSelected } />
66
  { isLoading && <Spinner /> }
67
  </article>
68
  ),
69
  isModalShowing && <MoveModal />,
70
+ ] : null;
71
  }
72
  }
73
 
src/modules/blocks/tickets/capacity-table/style.pcss CHANGED
@@ -3,9 +3,9 @@
3
  }
4
 
5
  /* extra classes to override gutenberg styles */
6
- .tribe-editor__tickets .tribe-editor__tickets__capacity-table {
7
 
8
- .tribe-editor__tickets__capacity-table-title {
9
  margin-bottom: 15px;
10
  font-size: 15px;
11
  font-weight: bold;
@@ -13,7 +13,7 @@
13
  color: #000;
14
  }
15
 
16
- .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table-title {
17
  color: #AEB4BB;
18
  }
19
  }
3
  }
4
 
5
  /* extra classes to override gutenberg styles */
6
+ .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title {
7
 
8
+ .tribe-editor__tickets & {
9
  margin-bottom: 15px;
10
  font-size: 15px;
11
  font-weight: bold;
13
  color: #000;
14
  }
15
 
16
+ .tribe-editor__tickets .tribe-editor__tickets__settings-dashboard--loading & {
17
  color: #AEB4BB;
18
  }
19
  }
src/modules/blocks/tickets/container.js CHANGED
@@ -15,6 +15,7 @@ const mapStateToProps = ( state ) => {
15
  const headerImageId = selectors.getTicketsHeaderImageId( state );
16
  return {
17
  header: headerImageId ? `${ headerImageId }` : '',
 
18
  isSettingsOpen: selectors.getTicketsIsSettingsOpen( state ),
19
  provider: selectors.getTicketsProvider( state ),
20
  sharedCapacity: selectors.getTicketsSharedCapacity( state ),
@@ -26,6 +27,12 @@ const mapDispatchToProps = ( dispatch ) => ( {
26
  setInitialState: ( props ) => {
27
  dispatch( actions.setTicketsInitialState( props ) );
28
  },
 
 
 
 
 
 
29
  } );
30
 
31
  export default compose(
15
  const headerImageId = selectors.getTicketsHeaderImageId( state );
16
  return {
17
  header: headerImageId ? `${ headerImageId }` : '',
18
+ hasProviders: selectors.hasTicketProviders(),
19
  isSettingsOpen: selectors.getTicketsIsSettingsOpen( state ),
20
  provider: selectors.getTicketsProvider( state ),
21
  sharedCapacity: selectors.getTicketsSharedCapacity( state ),
27
  setInitialState: ( props ) => {
28
  dispatch( actions.setTicketsInitialState( props ) );
29
  },
30
+ onBlockUpdate: ( isSelected ) => {
31
+ dispatch( actions.setTicketsIsSelected( isSelected ) );
32
+ },
33
+ onBlockRemoved: () => {
34
+ dispatch( actions.resetTicketsBlock() );
35
+ },
36
  } );
37
 
38
  export default compose(
src/modules/blocks/tickets/container/container.js CHANGED
@@ -14,18 +14,27 @@ import { selectors } from '@moderntribe/tickets/data/blocks/ticket';
14
  const getHasOverlay = ( state, ownProps ) => (
15
  selectors.getTicketsIsSettingsOpen( state )
16
  || (
17
- ! selectors.getTicketsIsSettingsOpen( state )
18
- && ! selectors.hasATicketSelected( state )
19
  && ! ownProps.isSelected
20
  )
21
  );
22
 
 
 
 
 
 
 
 
 
 
23
  const mapStateToProps = ( state, ownProps ) => ( {
24
- hasATicketSelected: selectors.hasATicketSelected( state ),
 
25
  hasCreatedTickets: selectors.hasCreatedTickets( state ),
26
  hasOverlay: getHasOverlay( state, ownProps ),
27
- hasTickets: selectors.hasTickets( state ),
28
- canCreateTickets: selectors.canCreateTickets(),
29
  } );
30
 
31
  export default compose(
14
  const getHasOverlay = ( state, ownProps ) => (
15
  selectors.getTicketsIsSettingsOpen( state )
16
  || (
17
+ ! selectors.hasATicketSelected( state )
 
18
  && ! ownProps.isSelected
19
  )
20
  );
21
 
22
+ const getShowInactiveBlock = ( state, ownProps ) => {
23
+ const showIfBlockIsSelected = ownProps.isSelected && ! selectors.hasTickets( state );
24
+ const showIfBlockIsNotSelected = ! ownProps.isSelected
25
+ && ! selectors.hasATicketSelected( state )
26
+ && ( ! selectors.hasCreatedTickets( state ) || ! selectors.hasTicketOnSale( state ) );
27
+
28
+ return showIfBlockIsSelected || showIfBlockIsNotSelected;
29
+ };
30
+
31
  const mapStateToProps = ( state, ownProps ) => ( {
32
+ allTicketsPast: selectors.allTicketsPast( state ),
33
+ canCreateTickets: selectors.canCreateTickets(),
34
  hasCreatedTickets: selectors.hasCreatedTickets( state ),
35
  hasOverlay: getHasOverlay( state, ownProps ),
36
+ showAvailability: ownProps.isSelected && selectors.hasCreatedTickets( state ),
37
+ showInactiveBlock: getShowInactiveBlock( state, ownProps ),
38
  } );
39
 
40
  export default compose(
src/modules/blocks/tickets/container/template.js CHANGED
@@ -23,27 +23,33 @@ import './style.pcss';
23
  const TicketsOverlay = () => <div className="tribe-editor__tickets__overlay" />;
24
 
25
  const TicketsContainer = ( {
26
- hasATicketSelected,
 
27
  hasCreatedTickets,
28
  hasOverlay,
29
- canCreateTickets,
30
- hasTickets,
31
- isSelected,
32
  } ) => {
33
  const messages = {
34
- title: canCreateTickets
35
- ? __( 'There are no tickets yet', 'event-tickets' )
36
- : __( 'There is no ecommerce available', 'event-tickets' ),
37
- description: canCreateTickets
38
- ? __( 'Edit this block to create your first ticket.', 'event-tickets' )
39
- : __( 'To create tickets, you\'ll need to enable an ecommerce solution.', 'event-tickets' ),
40
  };
41
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  const innerBlocksClassName = classNames( {
43
  'tribe-editor__tickets__inner-blocks': true,
44
- 'tribe-editor__tickets__inner-blocks--show': (
45
- hasCreatedTickets || ( isSelected && hasTickets ) || hasATicketSelected
46
- ),
47
  } );
48
 
49
  return (
@@ -55,33 +61,28 @@ const TicketsContainer = ( {
55
  />
56
  </div>
57
  {
58
- (
59
- ( ! isSelected && ! hasATicketSelected && ! hasCreatedTickets )
60
- || ( isSelected && ! hasTickets )
 
 
 
 
61
  )
62
- && (
63
- <InactiveBlock
64
- layout={ LAYOUT.ticket }
65
- title={ messages.title }
66
- description={ messages.description }
67
- icon={ <TicketInactive /> }
68
- />
69
- )
70
  }
71
- { isSelected && hasCreatedTickets && (
72
- <Availability />
73
- ) }
74
  { hasOverlay && <TicketsOverlay /> }
75
  </div>
76
  );
77
  };
78
 
79
  TicketsContainer.propTypes = {
 
 
80
  hasCreatedTickets: PropTypes.bool,
81
  hasOverlay: PropTypes.bool,
82
- canCreateTickets: PropTypes.bool,
83
- hasTickets: PropTypes.bool,
84
- isSelected: PropTypes.bool,
85
  };
86
 
87
  export default TicketsContainer;
23
  const TicketsOverlay = () => <div className="tribe-editor__tickets__overlay" />;
24
 
25
  const TicketsContainer = ( {
26
+ allTicketsPast,
27
+ canCreateTickets,
28
  hasCreatedTickets,
29
  hasOverlay,
30
+ showAvailability,
31
+ showInactiveBlock,
 
32
  } ) => {
33
  const messages = {
34
+ title: '',
35
+ description: '',
 
 
 
 
36
  };
37
 
38
+ if ( ! canCreateTickets ) {
39
+ messages.title = __( 'There is no ecommerce available', 'event-tickets' );
40
+ messages.description = __( 'To create tickets, you\'ll need to enable an ecommerce solution.', 'event-tickets' );
41
+ } else if ( ! hasCreatedTickets ) {
42
+ messages.title = __( 'There are no tickets yet', 'event-tickets' );
43
+ messages.description = __( 'Edit this block to create your first ticket.', 'event-tickets' );
44
+ } else if ( allTicketsPast ) {
45
+ messages.title = __( 'Tickets are no longer available', 'event-tickets' );
46
+ } else {
47
+ messages.title = __( 'Tickets are not yet available', 'event-tickets' );
48
+ }
49
+
50
  const innerBlocksClassName = classNames( {
51
  'tribe-editor__tickets__inner-blocks': true,
52
+ 'tribe-editor__tickets__inner-blocks--show': ! showInactiveBlock,
 
 
53
  } );
54
 
55
  return (
61
  />
62
  </div>
63
  {
64
+ showInactiveBlock && (
65
+ <InactiveBlock
66
+ layout={ LAYOUT.ticket }
67
+ title={ messages.title }
68
+ description={ messages.description }
69
+ icon={ <TicketInactive /> }
70
+ />
71
  )
 
 
 
 
 
 
 
 
72
  }
73
+ { showAvailability && <Availability /> }
 
 
74
  { hasOverlay && <TicketsOverlay /> }
75
  </div>
76
  );
77
  };
78
 
79
  TicketsContainer.propTypes = {
80
+ allTicketsPast: PropTypes.bool,
81
+ canCreateTickets: PropTypes.bool,
82
  hasCreatedTickets: PropTypes.bool,
83
  hasOverlay: PropTypes.bool,
84
+ showAvailability: PropTypes.bool,
85
+ showInactiveBlock: PropTypes.bool,
 
86
  };
87
 
88
  export default TicketsContainer;
src/modules/blocks/tickets/header-image/style.pcss CHANGED
@@ -1,6 +1,7 @@
1
  .tribe-editor__image-upload__title {
2
 
3
- .tribe-editor__tickets__settings-dashboard--loading & {
 
4
  color: #AEB4BB;
5
  }
6
  }
1
  .tribe-editor__image-upload__title {
2
 
3
+ /* extra classes to override gutenberg styles for h3 */
4
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__tickets__settings-dashboard--loading & {
5
  color: #AEB4BB;
6
  }
7
  }
src/modules/blocks/tickets/header-image/template.js CHANGED
@@ -25,7 +25,7 @@ const HeaderImage = ( {
25
  title: __( 'Ticket Header Image', 'event-tickets' ),
26
  description: __(
27
  /* eslint-disable-next-line max-len */
28
- 'Select an image from your Media Library to display on emailed tickets. For best results, use a .jpg, .png, or .gif at least 1160px wide.',
29
  'event-tickets'
30
  ),
31
  className: 'tribe-editor__rsvp__image-upload',
25
  title: __( 'Ticket Header Image', 'event-tickets' ),
26
  description: __(
27
  /* eslint-disable-next-line max-len */
28
+ 'Select an image from your Media Library to display on emailed tickets and RSVPs. For best results, use a .jpg, .png, or .gif at least 1160px wide.',
29
  'event-tickets'
30
  ),
31
  className: 'tribe-editor__rsvp__image-upload',
src/modules/blocks/tickets/index.js CHANGED
@@ -52,7 +52,7 @@ export default {
52
  type: 'array',
53
  source: 'meta',
54
  meta: KEY_TICKETS_LIST,
55
- }
56
  },
57
 
58
  edit: Tickets,
52
  type: 'array',
53
  source: 'meta',
54
  meta: KEY_TICKETS_LIST,
55
+ },
56
  },
57
 
58
  edit: Tickets,
src/modules/blocks/tickets/template.js CHANGED
@@ -15,13 +15,25 @@ import './style.pcss';
15
 
16
  class Tickets extends PureComponent {
17
  static propTypes = {
18
- isSelected: PropTypes.bool,
19
  canCreateTickets: PropTypes.bool,
20
- isSettingsOpen: PropTypes.bool,
21
  clientId: PropTypes.string,
 
22
  header: PropTypes.string,
 
 
 
23
  };
24
 
 
 
 
 
 
 
 
 
 
 
25
  render() {
26
  const {
27
  isSelected,
15
 
16
  class Tickets extends PureComponent {
17
  static propTypes = {
 
18
  canCreateTickets: PropTypes.bool,
 
19
  clientId: PropTypes.string,
20
+ hasProviders: PropTypes.bool,
21
  header: PropTypes.string,
22
+ isSelected: PropTypes.bool,
23
+ isSettingsOpen: PropTypes.bool,
24
+ onBlockUpdate: PropTypes.func,
25
  };
26
 
27
+ componentDidMount() {
28
+ this.props.onBlockUpdate( this.props.isSelected );
29
+ }
30
+
31
+ componentDidUpdate( prevProps ) {
32
+ if ( prevProps.isSelected !== this.props.isSelected ) {
33
+ this.props.onBlockUpdate( this.props.isSelected );
34
+ }
35
+ }
36
+
37
  render() {
38
  const {
39
  isSelected,
src/modules/data/blocks/rsvp/__tests__/__snapshots__/actions.test.js.snap CHANGED
@@ -382,6 +382,30 @@ Object {
382
  }
383
  `;
384
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  exports[`RSVP block actions RSVP thunk & saga actions handle RSVP end date 1`] = `
386
  Object {
387
  "payload": Object {},
382
  }
383
  `;
384
 
385
+ exports[`RSVP block actions RSVP thunk & saga actions fetch RSVP header image 1`] = `
386
+ Object {
387
+ "payload": Object {
388
+ "id": 10,
389
+ },
390
+ "type": "@@MT/TICKETS/FETCH_RSVP_HEADER_IMAGE",
391
+ }
392
+ `;
393
+
394
+ exports[`RSVP block actions RSVP thunk & saga actions fetch RSVP header image 2`] = `
395
+ Object {
396
+ "payload": Object {
397
+ "image": Object {},
398
+ },
399
+ "type": "@@MT/TICKETS/UPDATE_RSVP_HEADER_IMAGE",
400
+ }
401
+ `;
402
+
403
+ exports[`RSVP block actions RSVP thunk & saga actions fetch RSVP header image 3`] = `
404
+ Object {
405
+ "type": "@@MT/TICKETS/DELETE_RSVP_HEADER_IMAGE",
406
+ }
407
+ `;
408
+
409
  exports[`RSVP block actions RSVP thunk & saga actions handle RSVP end date 1`] = `
410
  Object {
411
  "payload": Object {},
src/modules/data/blocks/rsvp/__tests__/__snapshots__/sagas.test.js.snap CHANGED
@@ -1,5 +1,33 @@
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  exports[`RSVP block sagas initializeRSVP should initialize state from datetime block 1`] = `
4
  Object {
5
  "@@redux-saga/IO": true,
@@ -8,6 +36,7 @@ Object {
8
  "date",
9
  ],
10
  "context": Object {
 
11
  "getEditedPostAttribute": [Function],
12
  },
13
  "fn": [Function],
@@ -569,3 +598,31 @@ Object {
569
  ],
570
  }
571
  `;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
3
+ exports[`RSVP block sagas deleteRSVPHeaderImage should delete rsvp header image 1`] = `
4
+ Object {
5
+ "@@redux-saga/IO": true,
6
+ "CALL": Object {
7
+ "args": Array [],
8
+ "context": Object {
9
+ "getCurrentPostId": [Function],
10
+ "getEditedPostAttribute": [Function],
11
+ },
12
+ "fn": [Function],
13
+ },
14
+ }
15
+ `;
16
+
17
+ exports[`RSVP block sagas deleteRSVPHeaderImage should not delete rsvp header image 1`] = `
18
+ Object {
19
+ "@@redux-saga/IO": true,
20
+ "CALL": Object {
21
+ "args": Array [],
22
+ "context": Object {
23
+ "getCurrentPostId": [Function],
24
+ "getEditedPostAttribute": [Function],
25
+ },
26
+ "fn": [Function],
27
+ },
28
+ }
29
+ `;
30
+
31
  exports[`RSVP block sagas initializeRSVP should initialize state from datetime block 1`] = `
32
  Object {
33
  "@@redux-saga/IO": true,
36
  "date",
37
  ],
38
  "context": Object {
39
+ "getCurrentPostId": [Function],
40
  "getEditedPostAttribute": [Function],
41
  },
42
  "fn": [Function],
598
  ],
599
  }
600
  `;
601
+
602
+ exports[`RSVP block sagas updateRSVPHeaderImage should not update rsvp header image 1`] = `
603
+ Object {
604
+ "@@redux-saga/IO": true,
605
+ "CALL": Object {
606
+ "args": Array [],
607
+ "context": Object {
608
+ "getCurrentPostId": [Function],
609
+ "getEditedPostAttribute": [Function],
610
+ },
611
+ "fn": [Function],
612
+ },
613
+ }
614
+ `;
615
+
616
+ exports[`RSVP block sagas updateRSVPHeaderImage should update rsvp header image 1`] = `
617
+ Object {
618
+ "@@redux-saga/IO": true,
619
+ "CALL": Object {
620
+ "args": Array [],
621
+ "context": Object {
622
+ "getCurrentPostId": [Function],
623
+ "getEditedPostAttribute": [Function],
624
+ },
625
+ "fn": [Function],
626
+ },
627
+ }
628
+ `;
src/modules/data/blocks/rsvp/__tests__/__snapshots__/types.test.js.snap CHANGED
@@ -4,6 +4,10 @@ exports[`RSVP block types CREATE_RSVP 1`] = `"@@MT/TICKETS/CREATE_RSVP"`;
4
 
5
  exports[`RSVP block types DELETE_RSVP 1`] = `"@@MT/TICKETS/DELETE_RSVP"`;
6
 
 
 
 
 
7
  exports[`RSVP block types HANDLE_RSVP_END_DATE 1`] = `"@@MT/TICKETS/HANDLE_RSVP_END_DATE"`;
8
 
9
  exports[`RSVP block types HANDLE_RSVP_END_TIME 1`] = `"@@MT/TICKETS/HANDLE_RSVP_END_TIME"`;
@@ -89,3 +93,5 @@ exports[`RSVP block types SET_RSVP_TEMP_START_TIME_INPUT 1`] = `"@@MT/TICKETS/SE
89
  exports[`RSVP block types SET_RSVP_TEMP_TITLE 1`] = `"@@MT/TICKETS/SET_RSVP_TEMP_TITLE"`;
90
 
91
  exports[`RSVP block types SET_RSVP_TITLE 1`] = `"@@MT/TICKETS/SET_RSVP_TITLE"`;
 
 
4
 
5
  exports[`RSVP block types DELETE_RSVP 1`] = `"@@MT/TICKETS/DELETE_RSVP"`;
6
 
7
+ exports[`RSVP block types DELETE_RSVP_HEADER_IMAGE 1`] = `"@@MT/TICKETS/DELETE_RSVP_HEADER_IMAGE"`;
8
+
9
+ exports[`RSVP block types FETCH_RSVP_HEADER_IMAGE 1`] = `"@@MT/TICKETS/FETCH_RSVP_HEADER_IMAGE"`;
10
+
11
  exports[`RSVP block types HANDLE_RSVP_END_DATE 1`] = `"@@MT/TICKETS/HANDLE_RSVP_END_DATE"`;
12
 
13
  exports[`RSVP block types HANDLE_RSVP_END_TIME 1`] = `"@@MT/TICKETS/HANDLE_RSVP_END_TIME"`;
93
  exports[`RSVP block types SET_RSVP_TEMP_TITLE 1`] = `"@@MT/TICKETS/SET_RSVP_TEMP_TITLE"`;
94
 
95
  exports[`RSVP block types SET_RSVP_TITLE 1`] = `"@@MT/TICKETS/SET_RSVP_TITLE"`;
96
+
97
+ exports[`RSVP block types UPDATE_RSVP_HEADER_IMAGE 1`] = `"@@MT/TICKETS/UPDATE_RSVP_HEADER_IMAGE"`;
src/modules/data/blocks/rsvp/__tests__/actions.test.js CHANGED
@@ -229,5 +229,17 @@ describe( 'RSVP block actions', () => {
229
  test( 'handle RSVP end time', () => {
230
  expect( actions.handleRSVPEndTime( 1000 ) ).toMatchSnapshot();
231
  } );
 
 
 
 
 
 
 
 
 
 
 
 
232
  } );
233
  } );
229
  test( 'handle RSVP end time', () => {
230
  expect( actions.handleRSVPEndTime( 1000 ) ).toMatchSnapshot();
231
  } );
232
+
233
+ test( 'fetch RSVP header image', () => {
234
+ expect( actions.fetchRSVPHeaderImage( 10 ) ).toMatchSnapshot();
235
+ } );
236
+
237
+ test( 'fetch RSVP header image', () => {
238
+ expect( actions.updateRSVPHeaderImage( {} ) ).toMatchSnapshot();
239
+ } );
240
+
241
+ test( 'fetch RSVP header image', () => {
242
+ expect( actions.deleteRSVPHeaderImage() ).toMatchSnapshot();
243
+ } );
244
  } );
245
  } );
src/modules/data/blocks/rsvp/__tests__/sagas.test.js CHANGED
@@ -2,7 +2,6 @@
2
  * External dependencies
3
  */
4
  import { takeEvery, put, call, select, all, fork, take } from 'redux-saga/effects';
5
- import { cloneableGenerator, createMockTask } from 'redux-saga/utils';
6
  import { noop } from 'lodash';
7
 
8
  /**
@@ -19,10 +18,22 @@ import {
19
  import * as types from '../types';
20
  import * as actions from '../actions';
21
  import * as selectors from '../selectors';
22
- import { updateRSVP } from '../thunks';
23
  import watchers, * as sagas from '../sagas';
 
 
 
 
 
 
 
 
24
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
25
- import { moment as momentUtil, time as timeUtil, globals } from '@moderntribe/common/utils';
 
 
 
 
 
26
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
27
  import { isTribeEventPostType, createWPEditorSavingChannel, createDates } from '@moderntribe/tickets/data/shared/sagas';
28
 
@@ -36,6 +47,7 @@ function mock() {
36
  return 'January 1, 2018';
37
  }
38
  },
 
39
  };
40
  }
41
  },
@@ -60,6 +72,9 @@ describe( 'RSVP block sagas', () => {
60
  types.HANDLE_RSVP_END_DATE,
61
  types.HANDLE_RSVP_START_TIME,
62
  types.HANDLE_RSVP_END_TIME,
 
 
 
63
  MOVE_TICKET_SUCCESS,
64
  ], sagas.handler )
65
  );
@@ -161,6 +176,33 @@ describe( 'RSVP block sagas', () => {
161
  expect( gen.next().done ).toEqual( true );
162
  } );
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  it( 'should move success ticket', () => {
165
  action.type = MOVE_TICKET_SUCCESS;
166
  const gen = sagas.handler( action );
@@ -724,6 +766,313 @@ describe( 'RSVP block sagas', () => {
724
  } );
725
  } );
726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
727
  describe( 'setNonEventPostTypeEndDate', () => {
728
  it( 'shoud exit on non-events', () => {
729
  const gen = sagas.setNonEventPostTypeEndDate();
@@ -775,27 +1124,4 @@ describe( 'RSVP block sagas', () => {
775
  expect( gen.next().done ).toEqual( true );
776
  } );
777
  } );
778
-
779
- describe( 'handleRSVPMove', () => {
780
- it( 'should handle move', () => {
781
- const gen = sagas.handleRSVPMove();
782
-
783
- expect( gen.next().value ).toEqual(
784
- select( selectors.getRSVPId )
785
- );
786
- expect( gen.next( 1 ).value ).toEqual(
787
- select( moveSelectors.getModalTicketId )
788
- );
789
- expect( gen.next( 1 ).value ).toEqual(
790
- select( moveSelectors.getModalBlockId )
791
- );
792
- expect( gen.next( '111111' ).value ).toEqual(
793
- put( actions.deleteRSVP() )
794
- );
795
- expect( gen.next().value ).toEqual(
796
- call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ '111111' ] )
797
- );
798
- expect( gen.next().done ).toEqual( true );
799
- } );
800
- } );
801
  } );
2
  * External dependencies
3
  */
4
  import { takeEvery, put, call, select, all, fork, take } from 'redux-saga/effects';
 
5
  import { noop } from 'lodash';
6
 
7
  /**
18
  import * as types from '../types';
19
  import * as actions from '../actions';
20
  import * as selectors from '../selectors';
 
21
  import watchers, * as sagas from '../sagas';
22
+ import {
23
+ DEFAULT_STATE as RSVP_HEADER_IMAGE_DEFAULT_STATE
24
+ } from '../reducers/header-image';
25
+ import * as ticketActions from '@moderntribe/tickets/data/blocks/ticket/actions';
26
+ import {
27
+ DEFAULT_STATE as TICKET_HEADER_IMAGE_DEFAULT_STATE
28
+ } from '@moderntribe/tickets/data/blocks/ticket/reducers/header-image';
29
+ import * as utils from '@moderntribe/tickets/data/utils';
30
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
31
+ import {
32
+ api,
33
+ globals,
34
+ moment as momentUtil,
35
+ time as timeUtil,
36
+ } from '@moderntribe/common/utils';
37
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
38
  import { isTribeEventPostType, createWPEditorSavingChannel, createDates } from '@moderntribe/tickets/data/shared/sagas';
39
 
47
  return 'January 1, 2018';
48
  }
49
  },
50
+ getCurrentPostId: () => 10,
51
  };
52
  }
53
  },
72
  types.HANDLE_RSVP_END_DATE,
73
  types.HANDLE_RSVP_START_TIME,
74
  types.HANDLE_RSVP_END_TIME,
75
+ types.FETCH_RSVP_HEADER_IMAGE,
76
+ types.UPDATE_RSVP_HEADER_IMAGE,
77
+ types.DELETE_RSVP_HEADER_IMAGE,
78
  MOVE_TICKET_SUCCESS,
79
  ], sagas.handler )
80
  );
176
  expect( gen.next().done ).toEqual( true );
177
  } );
178
 
179
+ it( 'should fetch rsvp header image', () => {
180
+ action.type = types.FETCH_RSVP_HEADER_IMAGE;
181
+ const gen = sagas.handler( action );
182
+ expect( gen.next().value ).toEqual(
183
+ call( sagas.fetchRSVPHeaderImage, action )
184
+ );
185
+ expect( gen.next().done ).toEqual( true );
186
+ } );
187
+
188
+ it( 'should update rsvp header image', () => {
189
+ action.type = types.UPDATE_RSVP_HEADER_IMAGE;
190
+ const gen = sagas.handler( action );
191
+ expect( gen.next().value ).toEqual(
192
+ call( sagas.updateRSVPHeaderImage, action )
193
+ );
194
+ expect( gen.next().done ).toEqual( true );
195
+ } );
196
+
197
+ it( 'should delete rsvp header image', () => {
198
+ action.type = types.DELETE_RSVP_HEADER_IMAGE;
199
+ const gen = sagas.handler( action );
200
+ expect( gen.next().value ).toEqual(
201
+ call( sagas.deleteRSVPHeaderImage )
202
+ );
203
+ expect( gen.next().done ).toEqual( true );
204
+ } );
205
+
206
  it( 'should move success ticket', () => {
207
  action.type = MOVE_TICKET_SUCCESS;
208
  const gen = sagas.handler( action );
766
  } );
767
  } );
768
 
769
+ describe( 'fetchRSVPHeaderImage', () => {
770
+ it( 'should fetch rsvp header image', () => {
771
+ const id = 10;
772
+ const action = {
773
+ payload: {
774
+ id,
775
+ }
776
+ };
777
+ const gen = sagas.fetchRSVPHeaderImage( action );
778
+ expect( gen.next().value ).toEqual(
779
+ put( actions.setRSVPIsSettingsLoading( true ) )
780
+ );
781
+ expect( gen.next().value ).toEqual(
782
+ call( api.wpREST, { path: `media/${ id }` } )
783
+ );
784
+
785
+ const apiResponse = {
786
+ response: {
787
+ ok: true,
788
+ },
789
+ data: {
790
+ id: 99,
791
+ alt_text: 'tribe',
792
+ media_details: {
793
+ sizes: {
794
+ medium: {
795
+ source_url: '#',
796
+ },
797
+ },
798
+ },
799
+ },
800
+ };
801
+ expect( gen.next( apiResponse ).value ).toEqual(
802
+ put( actions.setRSVPHeaderImage( {
803
+ id: apiResponse.data.id,
804
+ alt: apiResponse.data.alt_text,
805
+ src: apiResponse.data.media_details.sizes.medium.source_url,
806
+ } ) )
807
+ );
808
+ expect( gen.next().value ).toEqual(
809
+ put( actions.setRSVPIsSettingsLoading( false ) )
810
+ );
811
+ expect( gen.next().done ).toEqual( true );
812
+ } );
813
+
814
+ it( 'should not fetch rsvp header image', () => {
815
+ const id = null;
816
+ const action = {
817
+ payload: {
818
+ id,
819
+ }
820
+ };
821
+ const gen = sagas.fetchRSVPHeaderImage( action );
822
+ expect( gen.next().value ).toEqual(
823
+ put( actions.setRSVPIsSettingsLoading( true ) )
824
+ );
825
+ expect( gen.next().value ).toEqual(
826
+ call( api.wpREST, { path: `media/${ id }` } )
827
+ );
828
+
829
+ const apiResponse = {
830
+ response: {
831
+ ok: false,
832
+ },
833
+ data: {},
834
+ };
835
+ expect( gen.next( apiResponse ).value ).toEqual(
836
+ put( actions.setRSVPIsSettingsLoading( false ) )
837
+ );
838
+ expect( gen.next().done ).toEqual( true );
839
+ } );
840
+ } );
841
+
842
+ describe( 'updateRSVPHeaderImage', () => {
843
+ it( 'should update rsvp header image', () => {
844
+ const postId = 10;
845
+ const action = {
846
+ payload: {
847
+ image: {
848
+ id: 99,
849
+ alt: 'tribe',
850
+ sizes: {
851
+ medium: {
852
+ url: '#',
853
+ },
854
+ },
855
+ },
856
+ },
857
+ };
858
+ const gen = sagas.updateRSVPHeaderImage( action );
859
+ expect( gen.next().value ).toMatchSnapshot();
860
+ expect( gen.next( postId ).value ).toEqual(
861
+ put( actions.setRSVPIsSettingsLoading( true ) )
862
+ );
863
+ expect( gen.next().value ).toEqual(
864
+ put( ticketActions.setTicketsIsSettingsLoading( true ) )
865
+ );
866
+ expect( gen.next().value ).toEqual(
867
+ call( api.wpREST, {
868
+ path: `tribe_events/${ postId }`,
869
+ headers: {
870
+ 'Content-Type': 'application/json',
871
+ },
872
+ initParams: {
873
+ method: 'PUT',
874
+ body: JSON.stringify( {
875
+ meta: {
876
+ [ utils.KEY_TICKET_HEADER ]: `${ action.payload.image.id }`,
877
+ },
878
+ } ),
879
+ },
880
+ } )
881
+ );
882
+
883
+ const apiResponse = {
884
+ response: {
885
+ ok: true,
886
+ },
887
+ };
888
+ const headerImage = {
889
+ id: action.payload.image.id,
890
+ alt: action.payload.image.alt,
891
+ src: action.payload.image.sizes.medium.url,
892
+ };
893
+ expect( gen.next( apiResponse ).value ).toEqual(
894
+ put( actions.setRSVPHeaderImage( headerImage ) )
895
+ );
896
+ expect( gen.next().value ).toEqual(
897
+ put( ticketActions.setTicketsHeaderImage( headerImage ) )
898
+ );
899
+ expect( gen.next().value ).toEqual(
900
+ put( actions.setRSVPIsSettingsLoading( false ) )
901
+ );
902
+ expect( gen.next().value ).toEqual(
903
+ put( ticketActions.setTicketsIsSettingsLoading( false ) )
904
+ );
905
+ expect( gen.next().done ).toEqual( true );
906
+ } );
907
+
908
+ it( 'should not update rsvp header image', () => {
909
+ const postId = 10;
910
+ const action = {
911
+ payload: {
912
+ image: {
913
+ id: 99,
914
+ alt: 'tribe',
915
+ sizes: {
916
+ medium: {
917
+ url: '#',
918
+ },
919
+ },
920
+ },
921
+ },
922
+ };
923
+ const gen = sagas.updateRSVPHeaderImage( action );
924
+ expect( gen.next().value ).toMatchSnapshot();
925
+ expect( gen.next( postId ).value ).toEqual(
926
+ put( actions.setRSVPIsSettingsLoading( true ) )
927
+ );
928
+ expect( gen.next().value ).toEqual(
929
+ put( ticketActions.setTicketsIsSettingsLoading( true ) )
930
+ );
931
+ expect( gen.next().value ).toEqual(
932
+ call( api.wpREST, {
933
+ path: `tribe_events/${ postId }`,
934
+ headers: {
935
+ 'Content-Type': 'application/json',
936
+ },
937
+ initParams: {
938
+ method: 'PUT',
939
+ body: JSON.stringify( {
940
+ meta: {
941
+ [ utils.KEY_TICKET_HEADER ]: `${ action.payload.image.id }`,
942
+ },
943
+ } ),
944
+ },
945
+ } )
946
+ );
947
+
948
+ const apiResponse = {
949
+ response: {
950
+ ok: false,
951
+ },
952
+ };
953
+ expect( gen.next( apiResponse ).value ).toEqual(
954
+ put( actions.setRSVPIsSettingsLoading( false ) )
955
+ );
956
+ expect( gen.next().value ).toEqual(
957
+ put( ticketActions.setTicketsIsSettingsLoading( false ) )
958
+ );
959
+ expect( gen.next().done ).toEqual( true );
960
+ } );
961
+ } );
962
+
963
+ describe( 'deleteRSVPHeaderImage', () => {
964
+ it( 'should delete rsvp header image', () => {
965
+ const postId = 10;
966
+ const gen = sagas.deleteRSVPHeaderImage();
967
+ expect( gen.next().value ).toMatchSnapshot();
968
+ expect( gen.next( postId ).value ).toEqual(
969
+ put( actions.setRSVPIsSettingsLoading( true ) )
970
+ );
971
+ expect( gen.next().value ).toEqual(
972
+ put( ticketActions.setTicketsIsSettingsLoading( true ) )
973
+ );
974
+ expect( gen.next().value ).toEqual(
975
+ call( api.wpREST, {
976
+ path: `tribe_events/${ postId }`,
977
+ headers: {
978
+ 'Content-Type': 'application/json',
979
+ },
980
+ initParams: {
981
+ method: 'PUT',
982
+ body: JSON.stringify( {
983
+ meta: {
984
+ [ utils.KEY_TICKET_HEADER ]: null,
985
+ },
986
+ } ),
987
+ },
988
+ } )
989
+ );
990
+
991
+ const apiResponse = {
992
+ response: {
993
+ ok: true,
994
+ },
995
+ };
996
+ expect( gen.next( apiResponse ).value ).toEqual(
997
+ put( actions.setRSVPHeaderImage( RSVP_HEADER_IMAGE_DEFAULT_STATE ) )
998
+ );
999
+ expect( gen.next().value ).toEqual(
1000
+ put( ticketActions.setTicketsHeaderImage( TICKET_HEADER_IMAGE_DEFAULT_STATE ) )
1001
+ );
1002
+ expect( gen.next().value ).toEqual(
1003
+ put( actions.setRSVPIsSettingsLoading( false ) )
1004
+ );
1005
+ expect( gen.next().value ).toEqual(
1006
+ put( ticketActions.setTicketsIsSettingsLoading( false ) )
1007
+ );
1008
+ expect( gen.next().done ).toEqual( true );
1009
+ } );
1010
+
1011
+ it( 'should not delete rsvp header image', () => {
1012
+ const postId = 10;
1013
+ const gen = sagas.deleteRSVPHeaderImage();
1014
+ expect( gen.next().value ).toMatchSnapshot();
1015
+ expect( gen.next( postId ).value ).toEqual(
1016
+ put( actions.setRSVPIsSettingsLoading( true ) )
1017
+ );
1018
+ expect( gen.next().value ).toEqual(
1019
+ put( ticketActions.setTicketsIsSettingsLoading( true ) )
1020
+ );
1021
+ expect( gen.next().value ).toEqual(
1022
+ call( api.wpREST, {
1023
+ path: `tribe_events/${ postId }`,
1024
+ headers: {
1025
+ 'Content-Type': 'application/json',
1026
+ },
1027
+ initParams: {
1028
+ method: 'PUT',
1029
+ body: JSON.stringify( {
1030
+ meta: {
1031
+ [ utils.KEY_TICKET_HEADER ]: null,
1032
+ },
1033
+ } ),
1034
+ },
1035
+ } )
1036
+ );
1037
+
1038
+ const apiResponse = {
1039
+ response: {
1040
+ ok: false,
1041
+ },
1042
+ };
1043
+ expect( gen.next( apiResponse ).value ).toEqual(
1044
+ put( actions.setRSVPIsSettingsLoading( false ) )
1045
+ );
1046
+ expect( gen.next().value ).toEqual(
1047
+ put( ticketActions.setTicketsIsSettingsLoading( false ) )
1048
+ );
1049
+ expect( gen.next().done ).toEqual( true );
1050
+ } );
1051
+ } );
1052
+
1053
+ describe( 'handleRSVPMove', () => {
1054
+ it( 'should handle move', () => {
1055
+ const gen = sagas.handleRSVPMove();
1056
+
1057
+ expect( gen.next().value ).toEqual(
1058
+ select( selectors.getRSVPId )
1059
+ );
1060
+ expect( gen.next( 1 ).value ).toEqual(
1061
+ select( moveSelectors.getModalTicketId )
1062
+ );
1063
+ expect( gen.next( 1 ).value ).toEqual(
1064
+ select( moveSelectors.getModalClientId )
1065
+ );
1066
+ expect( gen.next( '111111' ).value ).toEqual(
1067
+ put( actions.deleteRSVP() )
1068
+ );
1069
+ expect( gen.next().value ).toEqual(
1070
+ call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ '111111' ] )
1071
+ );
1072
+ expect( gen.next().done ).toEqual( true );
1073
+ } );
1074
+ } );
1075
+
1076
  describe( 'setNonEventPostTypeEndDate', () => {
1077
  it( 'shoud exit on non-events', () => {
1078
  const gen = sagas.setNonEventPostTypeEndDate();
1124
  expect( gen.next().done ).toEqual( true );
1125
  } );
1126
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1127
  } );
src/modules/data/blocks/rsvp/actions.js CHANGED
@@ -314,3 +314,21 @@ export const handleRSVPEndTime = ( seconds ) => ( {
314
  seconds,
315
  },
316
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  seconds,
315
  },
316
  } );
317
+
318
+ export const fetchRSVPHeaderImage = ( id ) => ( {
319
+ type: types.FETCH_RSVP_HEADER_IMAGE,
320
+ payload: {
321
+ id,
322
+ },
323
+ } );
324
+
325
+ export const updateRSVPHeaderImage = ( image ) => ( {
326
+ type: types.UPDATE_RSVP_HEADER_IMAGE,
327
+ payload: {
328
+ image,
329
+ },
330
+ } );
331
+
332
+ export const deleteRSVPHeaderImage = () => ( {
333
+ type: types.DELETE_RSVP_HEADER_IMAGE,
334
+ } );
src/modules/data/blocks/rsvp/sagas.js CHANGED
@@ -13,11 +13,20 @@ import * as types from './types';
13
  import * as actions from './actions';
14
  import * as selectors from './selectors';
15
  import { updateRSVP } from './thunks';
 
 
 
 
 
 
 
 
16
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
17
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
18
  import { isTribeEventPostType, createWPEditorSavingChannel, createDates } from '@moderntribe/tickets/data/shared/sagas';
19
 
20
  import {
 
21
  moment as momentUtil,
22
  time as timeUtil,
23
  } from '@moderntribe/common/utils';
@@ -367,9 +376,134 @@ export function* handleRSVPMove() {
367
  const modalTicketId = yield select( moveSelectors.getModalTicketId );
368
 
369
  if ( rsvpId === modalTicketId ) {
370
- const blockId = yield select( moveSelectors.getModalBlockId );
371
  yield put( actions.deleteRSVP() );
372
- yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ blockId ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  }
374
  }
375
 
@@ -413,6 +547,18 @@ export function* handler( action ) {
413
  yield put( actions.setRSVPHasChanges( true ) );
414
  break;
415
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  case MOVE_TICKET_SUCCESS:
417
  yield call( handleRSVPMove );
418
  break;
@@ -464,6 +610,9 @@ export default function* watchers() {
464
  types.HANDLE_RSVP_END_DATE,
465
  types.HANDLE_RSVP_START_TIME,
466
  types.HANDLE_RSVP_END_TIME,
 
 
 
467
  MOVE_TICKET_SUCCESS,
468
  ], handler );
469
 
13
  import * as actions from './actions';
14
  import * as selectors from './selectors';
15
  import { updateRSVP } from './thunks';
16
+ import {
17
+ DEFAULT_STATE as RSVP_HEADER_IMAGE_DEFAULT_STATE
18
+ } from './reducers/header-image';
19
+ import * as ticketActions from '@moderntribe/tickets/data/blocks/ticket/actions';
20
+ import {
21
+ DEFAULT_STATE as TICKET_HEADER_IMAGE_DEFAULT_STATE
22
+ } from '@moderntribe/tickets/data/blocks/ticket/reducers/header-image';
23
+ import * as utils from '@moderntribe/tickets/data/utils';
24
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
25
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
26
  import { isTribeEventPostType, createWPEditorSavingChannel, createDates } from '@moderntribe/tickets/data/shared/sagas';
27
 
28
  import {
29
+ api,
30
  moment as momentUtil,
31
  time as timeUtil,
32
  } from '@moderntribe/common/utils';
376
  const modalTicketId = yield select( moveSelectors.getModalTicketId );
377
 
378
  if ( rsvpId === modalTicketId ) {
379
+ const clientId = yield select( moveSelectors.getModalClientId );
380
  yield put( actions.deleteRSVP() );
381
+ yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ clientId ] );
382
+ }
383
+ }
384
+
385
+ //
386
+ // ─── HEADER IMAGE ───────────────────────────────────────────────────────────────
387
+ //
388
+
389
+ export function* fetchRSVPHeaderImage( action ) {
390
+ const { id } = action.payload;
391
+ yield put( actions.setRSVPIsSettingsLoading( true ) );
392
+
393
+ try {
394
+ const { response, data: media } = yield call( api.wpREST, { path: `media/${ id }` } );
395
+
396
+ if ( response.ok ) {
397
+ const headerImage = {
398
+ id: media.id,
399
+ alt: media.alt_text,
400
+ src: media.media_details.sizes.medium.source_url,
401
+ };
402
+ yield put( actions.setRSVPHeaderImage( headerImage ) );
403
+ }
404
+ } catch ( e ) {
405
+ console.error( e );
406
+ /**
407
+ * @todo: handle error scenario
408
+ */
409
+ } finally {
410
+ yield put( actions.setRSVPIsSettingsLoading( false ) );
411
+ }
412
+ }
413
+
414
+ export function* updateRSVPHeaderImage( action ) {
415
+ const { image } = action.payload;
416
+ const postId = yield call( [ wpSelect( 'core/editor' ), 'getCurrentPostId' ] );
417
+ const body = {
418
+ meta: {
419
+ [ utils.KEY_TICKET_HEADER ]: `${ image.id }`,
420
+ },
421
+ };
422
+
423
+ try {
424
+ /**
425
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
426
+ */
427
+ yield put( actions.setRSVPIsSettingsLoading( true ) );
428
+ yield put( ticketActions.setTicketsIsSettingsLoading( true ) );
429
+ const { response } = yield call( api.wpREST, {
430
+ path: `tribe_events/${ postId }`,
431
+ headers: {
432
+ 'Content-Type': 'application/json',
433
+ },
434
+ initParams: {
435
+ method: 'PUT',
436
+ body: JSON.stringify( body ),
437
+ },
438
+ } );
439
+
440
+ if ( response.ok ) {
441
+ const headerImage = {
442
+ id: image.id,
443
+ alt: image.alt,
444
+ src: image.sizes.medium.url,
445
+ };
446
+ /**
447
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
448
+ */
449
+ yield put( actions.setRSVPHeaderImage( headerImage ) );
450
+ yield put( ticketActions.setTicketsHeaderImage( headerImage ) );
451
+ }
452
+ } catch ( e ) {
453
+ /**
454
+ * @todo: handle error scenario
455
+ */
456
+ } finally {
457
+ /**
458
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
459
+ */
460
+ yield put( actions.setRSVPIsSettingsLoading( false ) );
461
+ yield put( ticketActions.setTicketsIsSettingsLoading( false ) );
462
+ }
463
+ }
464
+
465
+ export function* deleteRSVPHeaderImage() {
466
+ const postId = yield call( [ wpSelect( 'core/editor' ), 'getCurrentPostId' ] );
467
+ const body = {
468
+ meta: {
469
+ [ utils.KEY_TICKET_HEADER ]: null,
470
+ },
471
+ };
472
+
473
+ try {
474
+ /**
475
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
476
+ */
477
+ yield put( actions.setRSVPIsSettingsLoading( true ) );
478
+ yield put( ticketActions.setTicketsIsSettingsLoading( true ) );
479
+ const { response } = yield call( api.wpREST, {
480
+ path: `tribe_events/${ postId }`,
481
+ headers: {
482
+ 'Content-Type': 'application/json',
483
+ },
484
+ initParams: {
485
+ method: 'PUT',
486
+ body: JSON.stringify( body ),
487
+ },
488
+ } );
489
+
490
+ if ( response.ok ) {
491
+ /**
492
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
493
+ */
494
+ yield put( actions.setRSVPHeaderImage( RSVP_HEADER_IMAGE_DEFAULT_STATE ) );
495
+ yield put( ticketActions.setTicketsHeaderImage( TICKET_HEADER_IMAGE_DEFAULT_STATE ) );
496
+ }
497
+ } catch ( e ) {
498
+ /**
499
+ * @todo: handle error scenario
500
+ */
501
+ } finally {
502
+ /**
503
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
504
+ */
505
+ yield put( actions.setRSVPIsSettingsLoading( false ) );
506
+ yield put( ticketActions.setTicketsIsSettingsLoading( false ) );
507
  }
508
  }
509
 
547
  yield put( actions.setRSVPHasChanges( true ) );
548
  break;
549
 
550
+ case types.FETCH_RSVP_HEADER_IMAGE:
551
+ yield call( fetchRSVPHeaderImage, action );
552
+ break;
553
+
554
+ case types.UPDATE_RSVP_HEADER_IMAGE:
555
+ yield call( updateRSVPHeaderImage, action );
556
+ break;
557
+
558
+ case types.DELETE_RSVP_HEADER_IMAGE:
559
+ yield call( deleteRSVPHeaderImage );
560
+ break;
561
+
562
  case MOVE_TICKET_SUCCESS:
563
  yield call( handleRSVPMove );
564
  break;
610
  types.HANDLE_RSVP_END_DATE,
611
  types.HANDLE_RSVP_START_TIME,
612
  types.HANDLE_RSVP_END_TIME,
613
+ types.FETCH_RSVP_HEADER_IMAGE,
614
+ types.UPDATE_RSVP_HEADER_IMAGE,
615
+ types.DELETE_RSVP_HEADER_IMAGE,
616
  MOVE_TICKET_SUCCESS,
617
  ], handler );
618
 
src/modules/data/blocks/rsvp/thunks.js CHANGED
@@ -1,8 +1,3 @@
1
- /**
2
- * External dependencies
3
- */
4
- import moment from 'moment';
5
-
6
  /**
7
  * Internal dependencies
8
  */
@@ -209,90 +204,3 @@ export const getRSVP = ( postId, page = 1 ) => ( dispatch ) => {
209
 
210
  dispatch( wpRequestActions.wpRequest( options ) );
211
  };
212
-
213
- export const updateRSVPHeaderImage = ( postId, image ) => ( dispatch ) => {
214
- const path = `tribe_events/${ postId }`;
215
- const body = {
216
- meta: {
217
- [ utils.KEY_TICKET_HEADER ]: `${ image.id }`,
218
- },
219
- };
220
-
221
- const options = {
222
- path,
223
- params: {
224
- method: METHODS.PUT,
225
- body: JSON.stringify( body ),
226
- },
227
- actions: {
228
- start: () => dispatch( actions.setRSVPIsSettingsLoading( true ) ),
229
- success: () => {
230
- dispatch( actions.setRSVPHeaderImage( {
231
- id: image.id,
232
- alt: image.alt,
233
- src: image.sizes.medium.url,
234
- } ) );
235
- dispatch( actions.setRSVPIsSettingsLoading( false ) );
236
- },
237
- error: () => dispatch( actions.setRSVPIsSettingsLoading( false ) ),
238
- },
239
- };
240
-
241
- dispatch( wpRequestActions.wpRequest( options ) );
242
- };
243
-
244
- export const deleteRSVPHeaderImage = ( postId ) => ( dispatch ) => {
245
- const path = `tribe_events/${ postId }`;
246
- const body = {
247
- meta: {
248
- [ utils.KEY_TICKET_HEADER ]: null,
249
- },
250
- };
251
-
252
- const options = {
253
- path,
254
- params: {
255
- method: METHODS.PUT,
256
- body: JSON.stringify( body ),
257
- },
258
- actions: {
259
- start: () => dispatch( actions.setRSVPIsSettingsLoading( true ) ),
260
- success: () => {
261
- dispatch( actions.setRSVPHeaderImage( {
262
- id: DEFAULT_STATE.id,
263
- alt: DEFAULT_STATE.alt,
264
- src: DEFAULT_STATE.src,
265
- } ) );
266
- dispatch( actions.setRSVPIsSettingsLoading( false ) );
267
- },
268
- error: () => dispatch( actions.setRSVPIsSettingsLoading( false ) ),
269
- },
270
- };
271
-
272
- dispatch( wpRequestActions.wpRequest( options ) );
273
- };
274
-
275
- export const getRSVPHeaderImage = ( id ) => ( dispatch ) => {
276
- const path = `media/${ id }`;
277
-
278
- const options = {
279
- path,
280
- params: {
281
- method: METHODS.GET,
282
- },
283
- actions: {
284
- start: () => dispatch( actions.setRSVPIsSettingsLoading( true ) ),
285
- success: ( { body } ) => {
286
- dispatch( actions.setRSVPHeaderImage( {
287
- id: body.id,
288
- alt: body.alt_text,
289
- src: body.media_details.sizes.medium.source_url,
290
- } ) );
291
- dispatch( actions.setRSVPIsSettingsLoading( false ) );
292
- },
293
- error: () => dispatch( actions.setRSVPIsSettingsLoading( false ) ),
294
- },
295
- };
296
-
297
- dispatch( wpRequestActions.wpRequest( options ) );
298
- };
 
 
 
 
 
1
  /**
2
  * Internal dependencies
3
  */
204
 
205
  dispatch( wpRequestActions.wpRequest( options ) );
206
  };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/modules/data/blocks/rsvp/types.js CHANGED
@@ -69,3 +69,7 @@ export const HANDLE_RSVP_START_DATE = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_STA
69
  export const HANDLE_RSVP_END_DATE = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_END_DATE`;
70
  export const HANDLE_RSVP_START_TIME = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_START_TIME`;
71
  export const HANDLE_RSVP_END_TIME = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_END_TIME`;
 
 
 
 
69
  export const HANDLE_RSVP_END_DATE = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_END_DATE`;
70
  export const HANDLE_RSVP_START_TIME = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_START_TIME`;
71
  export const HANDLE_RSVP_END_TIME = `${ PREFIX_TICKETS_STORE }/HANDLE_RSVP_END_TIME`;
72
+
73
+ export const FETCH_RSVP_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/FETCH_RSVP_HEADER_IMAGE`;
74
+ export const UPDATE_RSVP_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/UPDATE_RSVP_HEADER_IMAGE`;
75
+ export const DELETE_RSVP_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/DELETE_RSVP_HEADER_IMAGE`;
src/modules/data/blocks/ticket/__tests__/__snapshots__/actions.test.js.snap CHANGED
@@ -31,7 +31,7 @@ Object {
31
  exports[`Ticket actions Ticket actions register ticket block 1`] = `
32
  Object {
33
  "payload": Object {
34
- "blockId": "modern-tribe",
35
  },
36
  "type": "@@MT/TICKETS/REGISTER_TICKET_BLOCK",
37
  }
@@ -40,17 +40,23 @@ Object {
40
  exports[`Ticket actions Ticket actions remove ticket block 1`] = `
41
  Object {
42
  "payload": Object {
43
- "blockId": "modern-tribe",
44
  },
45
  "type": "@@MT/TICKETS/REMOVE_TICKET_BLOCK",
46
  }
47
  `;
48
 
 
 
 
 
 
 
49
  exports[`Ticket actions Ticket actions set ticket availability 1`] = `
50
  Object {
51
  "payload": Object {
52
  "available": 99,
53
- "blockId": "modern-tribe",
54
  },
55
  "type": "@@MT/TICKETS/SET_TICKET_AVAILABLE",
56
  }
@@ -59,7 +65,7 @@ Object {
59
  exports[`Ticket actions Ticket actions set ticket currency positioin 1`] = `
60
  Object {
61
  "payload": Object {
62
- "blockId": "modern-tribe",
63
  "currencyPosition": "suffix",
64
  },
65
  "type": "@@MT/TICKETS/SET_TICKET_CURRENCY_POSITION",
@@ -69,7 +75,7 @@ Object {
69
  exports[`Ticket actions Ticket actions set ticket currency symbol 1`] = `
70
  Object {
71
  "payload": Object {
72
- "blockId": "modern-tribe",
73
  "currencySymbol": "$",
74
  },
75
  "type": "@@MT/TICKETS/SET_TICKET_CURRENCY_SYMBOL",
@@ -79,7 +85,7 @@ Object {
79
  exports[`Ticket actions Ticket actions set ticket has been created 1`] = `
80
  Object {
81
  "payload": Object {
82
- "blockId": "modern-tribe",
83
  "hasBeenCreated": true,
84
  },
85
  "type": "@@MT/TICKETS/SET_TICKET_HAS_BEEN_CREATED",
@@ -89,7 +95,7 @@ Object {
89
  exports[`Ticket actions Ticket actions set ticket has been created 2`] = `
90
  Object {
91
  "payload": Object {
92
- "blockId": "modern-tribe",
93
  "hasBeenCreated": false,
94
  },
95
  "type": "@@MT/TICKETS/SET_TICKET_HAS_BEEN_CREATED",
@@ -99,7 +105,7 @@ Object {
99
  exports[`Ticket actions Ticket actions set ticket has changes 1`] = `
100
  Object {
101
  "payload": Object {
102
- "blockId": "modern-tribe",
103
  "hasChanges": true,
104
  },
105
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
@@ -109,7 +115,7 @@ Object {
109
  exports[`Ticket actions Ticket actions set ticket has changes 2`] = `
110
  Object {
111
  "payload": Object {
112
- "blockId": "modern-tribe",
113
  "hasChanges": false,
114
  },
115
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
@@ -119,7 +125,7 @@ Object {
119
  exports[`Ticket actions Ticket actions set ticket id 1`] = `
120
  Object {
121
  "payload": Object {
122
- "blockId": "modern-tribe",
123
  "ticketId": 99,
124
  },
125
  "type": "@@MT/TICKETS/SET_TICKET_ID",
@@ -129,7 +135,7 @@ Object {
129
  exports[`Ticket actions Ticket actions set ticket is loading 1`] = `
130
  Object {
131
  "payload": Object {
132
- "blockId": "modern-tribe",
133
  "isLoading": true,
134
  },
135
  "type": "@@MT/TICKETS/SET_TICKET_IS_LOADING",
@@ -139,7 +145,7 @@ Object {
139
  exports[`Ticket actions Ticket actions set ticket is loading 2`] = `
140
  Object {
141
  "payload": Object {
142
- "blockId": "modern-tribe",
143
  "isLoading": false,
144
  },
145
  "type": "@@MT/TICKETS/SET_TICKET_IS_LOADING",
@@ -149,7 +155,7 @@ Object {
149
  exports[`Ticket actions Ticket actions set ticket is selected 1`] = `
150
  Object {
151
  "payload": Object {
152
- "blockId": "modern-tribe",
153
  "isSelected": true,
154
  },
155
  "type": "@@MT/TICKETS/SET_TICKET_IS_SELECTED",
@@ -159,7 +165,7 @@ Object {
159
  exports[`Ticket actions Ticket actions set ticket is selected 2`] = `
160
  Object {
161
  "payload": Object {
162
- "blockId": "modern-tribe",
163
  "isSelected": false,
164
  },
165
  "type": "@@MT/TICKETS/SET_TICKET_IS_SELECTED",
@@ -169,7 +175,7 @@ Object {
169
  exports[`Ticket actions Ticket actions set ticket provider 1`] = `
170
  Object {
171
  "payload": Object {
172
- "blockId": "modern-tribe",
173
  "provider": "provider",
174
  },
175
  "type": "@@MT/TICKETS/SET_TICKET_PROVIDER",
@@ -179,7 +185,7 @@ Object {
179
  exports[`Ticket actions Ticket actions set ticket sold 1`] = `
180
  Object {
181
  "payload": Object {
182
- "blockId": "modern-tribe",
183
  "sold": 23,
184
  },
185
  "type": "@@MT/TICKETS/SET_TICKET_SOLD",
@@ -189,8 +195,8 @@ Object {
189
  exports[`Ticket actions Ticket details actions set ticket capacity 1`] = `
190
  Object {
191
  "payload": Object {
192
- "blockId": "modern-tribe",
193
  "capacity": "10",
 
194
  },
195
  "type": "@@MT/TICKETS/SET_TICKET_CAPACITY",
196
  }
@@ -199,8 +205,8 @@ Object {
199
  exports[`Ticket actions Ticket details actions set ticket capacity type 1`] = `
200
  Object {
201
  "payload": Object {
202
- "blockId": "modern-tribe",
203
  "capacityType": "unlimited",
 
204
  },
205
  "type": "@@MT/TICKETS/SET_TICKET_CAPACITY_TYPE",
206
  }
@@ -209,7 +215,7 @@ Object {
209
  exports[`Ticket actions Ticket details actions set ticket description 1`] = `
210
  Object {
211
  "payload": Object {
212
- "blockId": "modern-tribe",
213
  "description": "The Next Generation of Digital Agency",
214
  },
215
  "type": "@@MT/TICKETS/SET_TICKET_DESCRIPTION",
@@ -219,7 +225,7 @@ Object {
219
  exports[`Ticket actions Ticket details actions set ticket end date 1`] = `
220
  Object {
221
  "payload": Object {
222
- "blockId": "modern-tribe",
223
  "endDate": "2018-01-10",
224
  },
225
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE",
@@ -229,7 +235,7 @@ Object {
229
  exports[`Ticket actions Ticket details actions set ticket end date input 1`] = `
230
  Object {
231
  "payload": Object {
232
- "blockId": "modern-tribe",
233
  "endDateInput": "January 10, 2018",
234
  },
235
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_INPUT",
@@ -239,7 +245,7 @@ Object {
239
  exports[`Ticket actions Ticket details actions set ticket end moment 1`] = `
240
  Object {
241
  "payload": Object {
242
- "blockId": "modern-tribe",
243
  "endDateMoment": Object {
244
  "type": "moment",
245
  },
@@ -251,7 +257,7 @@ Object {
251
  exports[`Ticket actions Ticket details actions set ticket end moment 2`] = `
252
  Object {
253
  "payload": Object {
254
- "blockId": "modern-tribe",
255
  "endDateMoment": null,
256
  },
257
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_MOMENT",
@@ -261,7 +267,7 @@ Object {
261
  exports[`Ticket actions Ticket details actions set ticket end time 1`] = `
262
  Object {
263
  "payload": Object {
264
- "blockId": "modern-tribe",
265
  "endTime": "12:34",
266
  },
267
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME",
@@ -271,7 +277,7 @@ Object {
271
  exports[`Ticket actions Ticket details actions set ticket end time input 1`] = `
272
  Object {
273
  "payload": Object {
274
- "blockId": "modern-tribe",
275
  "endTimeInput": "12:34",
276
  },
277
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME_INPUT",
@@ -281,7 +287,7 @@ Object {
281
  exports[`Ticket actions Ticket details actions set ticket price 1`] = `
282
  Object {
283
  "payload": Object {
284
- "blockId": "modern-tribe",
285
  "price": 99,
286
  },
287
  "type": "@@MT/TICKETS/SET_TICKET_PRICE",
@@ -291,7 +297,7 @@ Object {
291
  exports[`Ticket actions Ticket details actions set ticket sku 1`] = `
292
  Object {
293
  "payload": Object {
294
- "blockId": "modern-tribe",
295
  "sku": "my-sku",
296
  },
297
  "type": "@@MT/TICKETS/SET_TICKET_SKU",
@@ -301,7 +307,7 @@ Object {
301
  exports[`Ticket actions Ticket details actions set ticket start date 1`] = `
302
  Object {
303
  "payload": Object {
304
- "blockId": "modern-tribe",
305
  "startDate": "2018-01-01",
306
  },
307
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE",
@@ -311,7 +317,7 @@ Object {
311
  exports[`Ticket actions Ticket details actions set ticket start date input 1`] = `
312
  Object {
313
  "payload": Object {
314
- "blockId": "modern-tribe",
315
  "startDateInput": "January 1, 2018",
316
  },
317
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE_INPUT",
@@ -321,7 +327,7 @@ Object {
321
  exports[`Ticket actions Ticket details actions set ticket start moment 1`] = `
322
  Object {
323
  "payload": Object {
324
- "blockId": "modern-tribe",
325
  "startDateMoment": Object {
326
  "type": "moment",
327
  },
@@ -333,7 +339,7 @@ Object {
333
  exports[`Ticket actions Ticket details actions set ticket start moment 2`] = `
334
  Object {
335
  "payload": Object {
336
- "blockId": "modern-tribe",
337
  "startDateMoment": null,
338
  },
339
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE_MOMENT",
@@ -343,7 +349,7 @@ Object {
343
  exports[`Ticket actions Ticket details actions set ticket start time 1`] = `
344
  Object {
345
  "payload": Object {
346
- "blockId": "modern-tribe",
347
  "startTime": "10:00",
348
  },
349
  "type": "@@MT/TICKETS/SET_TICKET_START_TIME",
@@ -353,7 +359,7 @@ Object {
353
  exports[`Ticket actions Ticket details actions set ticket start time input 1`] = `
354
  Object {
355
  "payload": Object {
356
- "blockId": "modern-tribe",
357
  "startTimeInput": "10:00",
358
  },
359
  "type": "@@MT/TICKETS/SET_TICKET_START_TIME_INPUT",
@@ -363,7 +369,7 @@ Object {
363
  exports[`Ticket actions Ticket saga actions create new ticket 1`] = `
364
  Object {
365
  "payload": Object {
366
- "blockId": "modern-tribe",
367
  },
368
  "type": "@@MT/TICKETS/CREATE_NEW_TICKET",
369
  }
@@ -372,7 +378,7 @@ Object {
372
  exports[`Ticket actions Ticket saga actions delete ticket 1`] = `
373
  Object {
374
  "payload": Object {
375
- "blockId": "modern-tribe",
376
  },
377
  "type": "@@MT/TICKETS/DELETE_TICKET",
378
  }
@@ -381,7 +387,7 @@ Object {
381
  exports[`Ticket actions Ticket saga actions fetch ticket 1`] = `
382
  Object {
383
  "payload": Object {
384
- "blockId": "modern-tribe",
385
  "ticketId": 99,
386
  },
387
  "type": "@@MT/TICKETS/FETCH_TICKET",
@@ -391,7 +397,7 @@ Object {
391
  exports[`Ticket actions Ticket saga actions handle ticket start date 1`] = `
392
  Object {
393
  "payload": Object {
394
- "blockId": "modern-tribe",
395
  "date": Object {},
396
  "dayPickerInput": Object {},
397
  },
@@ -402,7 +408,7 @@ Object {
402
  exports[`Ticket actions Ticket saga actions handle ticket start date 2`] = `
403
  Object {
404
  "payload": Object {
405
- "blockId": "modern-tribe",
406
  "date": Object {},
407
  "dayPickerInput": Object {},
408
  },
@@ -413,7 +419,7 @@ Object {
413
  exports[`Ticket actions Ticket saga actions handle ticket start date 3`] = `
414
  Object {
415
  "payload": Object {
416
- "blockId": "modern-tribe",
417
  "seconds": 1000,
418
  },
419
  "type": "@@MT/TICKETS/HANDLE_TICKET_START_TIME",
@@ -423,7 +429,7 @@ Object {
423
  exports[`Ticket actions Ticket saga actions handle ticket start date 4`] = `
424
  Object {
425
  "payload": Object {
426
- "blockId": "modern-tribe",
427
  "seconds": 1000,
428
  },
429
  "type": "@@MT/TICKETS/HANDLE_TICKET_END_TIME",
@@ -433,7 +439,7 @@ Object {
433
  exports[`Ticket actions Ticket saga actions set ticket details 1`] = `
434
  Object {
435
  "payload": Object {
436
- "blockId": "modern-tribe",
437
  "details": Object {},
438
  },
439
  "type": "@@MT/TICKETS/SET_TICKET_DETAILS",
@@ -455,7 +461,7 @@ Object {
455
  exports[`Ticket actions Ticket saga actions set ticket temp details 1`] = `
456
  Object {
457
  "payload": Object {
458
- "blockId": "modern-tribe",
459
  "tempDetails": Object {},
460
  },
461
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_DETAILS",
@@ -465,7 +471,7 @@ Object {
465
  exports[`Ticket actions Ticket saga actions update ticket 1`] = `
466
  Object {
467
  "payload": Object {
468
- "blockId": "modern-tribe",
469
  },
470
  "type": "@@MT/TICKETS/UPDATE_TICKET",
471
  }
@@ -474,8 +480,8 @@ Object {
474
  exports[`Ticket actions Ticket temp details actions set ticket temp capacity 1`] = `
475
  Object {
476
  "payload": Object {
477
- "blockId": "modern-tribe",
478
  "capacity": "10",
 
479
  },
480
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_CAPACITY",
481
  }
@@ -484,8 +490,8 @@ Object {
484
  exports[`Ticket actions Ticket temp details actions set ticket temp capacity type 1`] = `
485
  Object {
486
  "payload": Object {
487
- "blockId": "modern-tribe",
488
  "capacityType": "unlimited",
 
489
  },
490
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_CAPACITY_TYPE",
491
  }
@@ -494,7 +500,7 @@ Object {
494
  exports[`Ticket actions Ticket temp details actions set ticket temp description 1`] = `
495
  Object {
496
  "payload": Object {
497
- "blockId": "modern-tribe",
498
  "description": "The Next Generation of Digital Agency",
499
  },
500
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_DESCRIPTION",
@@ -504,7 +510,7 @@ Object {
504
  exports[`Ticket actions Ticket temp details actions set ticket temp end date 1`] = `
505
  Object {
506
  "payload": Object {
507
- "blockId": "modern-tribe",
508
  "endDate": "2018-01-10",
509
  },
510
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE",
@@ -514,7 +520,7 @@ Object {
514
  exports[`Ticket actions Ticket temp details actions set ticket temp end date input 1`] = `
515
  Object {
516
  "payload": Object {
517
- "blockId": "modern-tribe",
518
  "endDateInput": "January 10, 2018",
519
  },
520
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_INPUT",
@@ -524,7 +530,7 @@ Object {
524
  exports[`Ticket actions Ticket temp details actions set ticket temp end moment 1`] = `
525
  Object {
526
  "payload": Object {
527
- "blockId": "modern-tribe",
528
  "endDateMoment": Object {
529
  "type": "moment",
530
  },
@@ -536,7 +542,7 @@ Object {
536
  exports[`Ticket actions Ticket temp details actions set ticket temp end moment 2`] = `
537
  Object {
538
  "payload": Object {
539
- "blockId": "modern-tribe",
540
  "endDateMoment": null,
541
  },
542
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_MOMENT",
@@ -546,7 +552,7 @@ Object {
546
  exports[`Ticket actions Ticket temp details actions set ticket temp end time 1`] = `
547
  Object {
548
  "payload": Object {
549
- "blockId": "modern-tribe",
550
  "endTime": "12:34",
551
  },
552
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME",
@@ -556,7 +562,7 @@ Object {
556
  exports[`Ticket actions Ticket temp details actions set ticket temp end time input 1`] = `
557
  Object {
558
  "payload": Object {
559
- "blockId": "modern-tribe",
560
  "endTimeInput": "12:34",
561
  },
562
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME_INPUT",
@@ -566,7 +572,7 @@ Object {
566
  exports[`Ticket actions Ticket temp details actions set ticket temp price 1`] = `
567
  Object {
568
  "payload": Object {
569
- "blockId": "modern-tribe",
570
  "price": 99,
571
  },
572
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_PRICE",
@@ -576,7 +582,7 @@ Object {
576
  exports[`Ticket actions Ticket temp details actions set ticket temp sku 1`] = `
577
  Object {
578
  "payload": Object {
579
- "blockId": "modern-tribe",
580
  "sku": "my-sku",
581
  },
582
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_SKU",
@@ -586,7 +592,7 @@ Object {
586
  exports[`Ticket actions Ticket temp details actions set ticket temp start date 1`] = `
587
  Object {
588
  "payload": Object {
589
- "blockId": "modern-tribe",
590
  "startDate": "2018-01-01",
591
  },
592
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE",
@@ -596,7 +602,7 @@ Object {
596
  exports[`Ticket actions Ticket temp details actions set ticket temp start date input 1`] = `
597
  Object {
598
  "payload": Object {
599
- "blockId": "modern-tribe",
600
  "startDateInput": "January 1, 2018",
601
  },
602
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE_INPUT",
@@ -606,7 +612,7 @@ Object {
606
  exports[`Ticket actions Ticket temp details actions set ticket temp start moment 1`] = `
607
  Object {
608
  "payload": Object {
609
- "blockId": "modern-tribe",
610
  "startDateMoment": Object {
611
  "type": "moment",
612
  },
@@ -618,7 +624,7 @@ Object {
618
  exports[`Ticket actions Ticket temp details actions set ticket temp start moment 2`] = `
619
  Object {
620
  "payload": Object {
621
- "blockId": "modern-tribe",
622
  "startDateMoment": null,
623
  },
624
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE_MOMENT",
@@ -628,7 +634,7 @@ Object {
628
  exports[`Ticket actions Ticket temp details actions set ticket temp start time 1`] = `
629
  Object {
630
  "payload": Object {
631
- "blockId": "modern-tribe",
632
  "startTime": "10:00",
633
  },
634
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_TIME",
@@ -638,7 +644,7 @@ Object {
638
  exports[`Ticket actions Ticket temp details actions set ticket temp start time input 1`] = `
639
  Object {
640
  "payload": Object {
641
- "blockId": "modern-tribe",
642
  "startTimeInput": "10:00",
643
  },
644
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_TIME_INPUT",
@@ -663,6 +669,12 @@ Object {
663
  }
664
  `;
665
 
 
 
 
 
 
 
666
  exports[`Ticket actions Tickets actions set tickets header image 1`] = `
667
  Object {
668
  "payload": Object {
@@ -685,6 +697,24 @@ Object {
685
  }
686
  `;
687
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
688
  exports[`Ticket actions Tickets actions set tickets is settings loading 1`] = `
689
  Object {
690
  "payload": Object {
31
  exports[`Ticket actions Ticket actions register ticket block 1`] = `
32
  Object {
33
  "payload": Object {
34
+ "clientId": "modern-tribe",
35
  },
36
  "type": "@@MT/TICKETS/REGISTER_TICKET_BLOCK",
37
  }
40
  exports[`Ticket actions Ticket actions remove ticket block 1`] = `
41
  Object {
42
  "payload": Object {
43
+ "clientId": "modern-tribe",
44
  },
45
  "type": "@@MT/TICKETS/REMOVE_TICKET_BLOCK",
46
  }
47
  `;
48
 
49
+ exports[`Ticket actions Ticket actions remove ticket blocks 1`] = `
50
+ Object {
51
+ "type": "@@MT/TICKETS/REMOVE_TICKET_BLOCKS",
52
+ }
53
+ `;
54
+
55
  exports[`Ticket actions Ticket actions set ticket availability 1`] = `
56
  Object {
57
  "payload": Object {
58
  "available": 99,
59
+ "clientId": "modern-tribe",
60
  },
61
  "type": "@@MT/TICKETS/SET_TICKET_AVAILABLE",
62
  }
65
  exports[`Ticket actions Ticket actions set ticket currency positioin 1`] = `
66
  Object {
67
  "payload": Object {
68
+ "clientId": "modern-tribe",
69
  "currencyPosition": "suffix",
70
  },
71
  "type": "@@MT/TICKETS/SET_TICKET_CURRENCY_POSITION",
75
  exports[`Ticket actions Ticket actions set ticket currency symbol 1`] = `
76
  Object {
77
  "payload": Object {
78
+ "clientId": "modern-tribe",
79
  "currencySymbol": "$",
80
  },
81
  "type": "@@MT/TICKETS/SET_TICKET_CURRENCY_SYMBOL",
85
  exports[`Ticket actions Ticket actions set ticket has been created 1`] = `
86
  Object {
87
  "payload": Object {
88
+ "clientId": "modern-tribe",
89
  "hasBeenCreated": true,
90
  },
91
  "type": "@@MT/TICKETS/SET_TICKET_HAS_BEEN_CREATED",
95
  exports[`Ticket actions Ticket actions set ticket has been created 2`] = `
96
  Object {
97
  "payload": Object {
98
+ "clientId": "modern-tribe",
99
  "hasBeenCreated": false,
100
  },
101
  "type": "@@MT/TICKETS/SET_TICKET_HAS_BEEN_CREATED",
105
  exports[`Ticket actions Ticket actions set ticket has changes 1`] = `
106
  Object {
107
  "payload": Object {
108
+ "clientId": "modern-tribe",
109
  "hasChanges": true,
110
  },
111
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
115
  exports[`Ticket actions Ticket actions set ticket has changes 2`] = `
116
  Object {
117
  "payload": Object {
118
+ "clientId": "modern-tribe",
119
  "hasChanges": false,
120
  },
121
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
125
  exports[`Ticket actions Ticket actions set ticket id 1`] = `
126
  Object {
127
  "payload": Object {
128
+ "clientId": "modern-tribe",
129
  "ticketId": 99,
130
  },
131
  "type": "@@MT/TICKETS/SET_TICKET_ID",
135
  exports[`Ticket actions Ticket actions set ticket is loading 1`] = `
136
  Object {
137
  "payload": Object {
138
+ "clientId": "modern-tribe",
139
  "isLoading": true,
140
  },
141
  "type": "@@MT/TICKETS/SET_TICKET_IS_LOADING",
145
  exports[`Ticket actions Ticket actions set ticket is loading 2`] = `
146
  Object {
147
  "payload": Object {
148
+ "clientId": "modern-tribe",
149
  "isLoading": false,
150
  },
151
  "type": "@@MT/TICKETS/SET_TICKET_IS_LOADING",
155
  exports[`Ticket actions Ticket actions set ticket is selected 1`] = `
156
  Object {
157
  "payload": Object {
158
+ "clientId": "modern-tribe",
159
  "isSelected": true,
160
  },
161
  "type": "@@MT/TICKETS/SET_TICKET_IS_SELECTED",
165
  exports[`Ticket actions Ticket actions set ticket is selected 2`] = `
166
  Object {
167
  "payload": Object {
168
+ "clientId": "modern-tribe",
169
  "isSelected": false,
170
  },
171
  "type": "@@MT/TICKETS/SET_TICKET_IS_SELECTED",
175
  exports[`Ticket actions Ticket actions set ticket provider 1`] = `
176
  Object {
177
  "payload": Object {
178
+ "clientId": "modern-tribe",
179
  "provider": "provider",
180
  },
181
  "type": "@@MT/TICKETS/SET_TICKET_PROVIDER",
185
  exports[`Ticket actions Ticket actions set ticket sold 1`] = `
186
  Object {
187
  "payload": Object {
188
+ "clientId": "modern-tribe",
189
  "sold": 23,
190
  },
191
  "type": "@@MT/TICKETS/SET_TICKET_SOLD",
195
  exports[`Ticket actions Ticket details actions set ticket capacity 1`] = `
196
  Object {
197
  "payload": Object {
 
198
  "capacity": "10",
199
+ "clientId": "modern-tribe",
200
  },
201
  "type": "@@MT/TICKETS/SET_TICKET_CAPACITY",
202
  }
205
  exports[`Ticket actions Ticket details actions set ticket capacity type 1`] = `
206
  Object {
207
  "payload": Object {
 
208
  "capacityType": "unlimited",
209
+ "clientId": "modern-tribe",
210
  },
211
  "type": "@@MT/TICKETS/SET_TICKET_CAPACITY_TYPE",
212
  }
215
  exports[`Ticket actions Ticket details actions set ticket description 1`] = `
216
  Object {
217
  "payload": Object {
218
+ "clientId": "modern-tribe",
219
  "description": "The Next Generation of Digital Agency",
220
  },
221
  "type": "@@MT/TICKETS/SET_TICKET_DESCRIPTION",
225
  exports[`Ticket actions Ticket details actions set ticket end date 1`] = `
226
  Object {
227
  "payload": Object {
228
+ "clientId": "modern-tribe",
229
  "endDate": "2018-01-10",
230
  },
231
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE",
235
  exports[`Ticket actions Ticket details actions set ticket end date input 1`] = `
236
  Object {
237
  "payload": Object {
238
+ "clientId": "modern-tribe",
239
  "endDateInput": "January 10, 2018",
240
  },
241
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_INPUT",
245
  exports[`Ticket actions Ticket details actions set ticket end moment 1`] = `
246
  Object {
247
  "payload": Object {
248
+ "clientId": "modern-tribe",
249
  "endDateMoment": Object {
250
  "type": "moment",
251
  },
257
  exports[`Ticket actions Ticket details actions set ticket end moment 2`] = `
258
  Object {
259
  "payload": Object {
260
+ "clientId": "modern-tribe",
261
  "endDateMoment": null,
262
  },
263
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_MOMENT",
267
  exports[`Ticket actions Ticket details actions set ticket end time 1`] = `
268
  Object {
269
  "payload": Object {
270
+ "clientId": "modern-tribe",
271
  "endTime": "12:34",
272
  },
273
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME",
277
  exports[`Ticket actions Ticket details actions set ticket end time input 1`] = `
278
  Object {
279
  "payload": Object {
280
+ "clientId": "modern-tribe",
281
  "endTimeInput": "12:34",
282
  },
283
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME_INPUT",
287
  exports[`Ticket actions Ticket details actions set ticket price 1`] = `
288
  Object {
289
  "payload": Object {
290
+ "clientId": "modern-tribe",
291
  "price": 99,
292
  },
293
  "type": "@@MT/TICKETS/SET_TICKET_PRICE",
297
  exports[`Ticket actions Ticket details actions set ticket sku 1`] = `
298
  Object {
299
  "payload": Object {
300
+ "clientId": "modern-tribe",
301
  "sku": "my-sku",
302
  },
303
  "type": "@@MT/TICKETS/SET_TICKET_SKU",
307
  exports[`Ticket actions Ticket details actions set ticket start date 1`] = `
308
  Object {
309
  "payload": Object {
310
+ "clientId": "modern-tribe",
311
  "startDate": "2018-01-01",
312
  },
313
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE",
317
  exports[`Ticket actions Ticket details actions set ticket start date input 1`] = `
318
  Object {
319
  "payload": Object {
320
+ "clientId": "modern-tribe",
321
  "startDateInput": "January 1, 2018",
322
  },
323
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE_INPUT",
327
  exports[`Ticket actions Ticket details actions set ticket start moment 1`] = `
328
  Object {
329
  "payload": Object {
330
+ "clientId": "modern-tribe",
331
  "startDateMoment": Object {
332
  "type": "moment",
333
  },
339
  exports[`Ticket actions Ticket details actions set ticket start moment 2`] = `
340
  Object {
341
  "payload": Object {
342
+ "clientId": "modern-tribe",
343
  "startDateMoment": null,
344
  },
345
  "type": "@@MT/TICKETS/SET_TICKET_START_DATE_MOMENT",
349
  exports[`Ticket actions Ticket details actions set ticket start time 1`] = `
350
  Object {
351
  "payload": Object {
352
+ "clientId": "modern-tribe",
353
  "startTime": "10:00",
354
  },
355
  "type": "@@MT/TICKETS/SET_TICKET_START_TIME",
359
  exports[`Ticket actions Ticket details actions set ticket start time input 1`] = `
360
  Object {
361
  "payload": Object {
362
+ "clientId": "modern-tribe",
363
  "startTimeInput": "10:00",
364
  },
365
  "type": "@@MT/TICKETS/SET_TICKET_START_TIME_INPUT",
369
  exports[`Ticket actions Ticket saga actions create new ticket 1`] = `
370
  Object {
371
  "payload": Object {
372
+ "clientId": "modern-tribe",
373
  },
374
  "type": "@@MT/TICKETS/CREATE_NEW_TICKET",
375
  }
378
  exports[`Ticket actions Ticket saga actions delete ticket 1`] = `
379
  Object {
380
  "payload": Object {
381
+ "clientId": "modern-tribe",
382
  },
383
  "type": "@@MT/TICKETS/DELETE_TICKET",
384
  }
387
  exports[`Ticket actions Ticket saga actions fetch ticket 1`] = `
388
  Object {
389
  "payload": Object {
390
+ "clientId": "modern-tribe",
391
  "ticketId": 99,
392
  },
393
  "type": "@@MT/TICKETS/FETCH_TICKET",
397
  exports[`Ticket actions Ticket saga actions handle ticket start date 1`] = `
398
  Object {
399
  "payload": Object {
400
+ "clientId": "modern-tribe",
401
  "date": Object {},
402
  "dayPickerInput": Object {},
403
  },
408
  exports[`Ticket actions Ticket saga actions handle ticket start date 2`] = `
409
  Object {
410
  "payload": Object {
411
+ "clientId": "modern-tribe",
412
  "date": Object {},
413
  "dayPickerInput": Object {},
414
  },
419
  exports[`Ticket actions Ticket saga actions handle ticket start date 3`] = `
420
  Object {
421
  "payload": Object {
422
+ "clientId": "modern-tribe",
423
  "seconds": 1000,
424
  },
425
  "type": "@@MT/TICKETS/HANDLE_TICKET_START_TIME",
429
  exports[`Ticket actions Ticket saga actions handle ticket start date 4`] = `
430
  Object {
431
  "payload": Object {
432
+ "clientId": "modern-tribe",
433
  "seconds": 1000,
434
  },
435
  "type": "@@MT/TICKETS/HANDLE_TICKET_END_TIME",
439
  exports[`Ticket actions Ticket saga actions set ticket details 1`] = `
440
  Object {
441
  "payload": Object {
442
+ "clientId": "modern-tribe",
443
  "details": Object {},
444
  },
445
  "type": "@@MT/TICKETS/SET_TICKET_DETAILS",
461
  exports[`Ticket actions Ticket saga actions set ticket temp details 1`] = `
462
  Object {
463
  "payload": Object {
464
+ "clientId": "modern-tribe",
465
  "tempDetails": Object {},
466
  },
467
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_DETAILS",
471
  exports[`Ticket actions Ticket saga actions update ticket 1`] = `
472
  Object {
473
  "payload": Object {
474
+ "clientId": "modern-tribe",
475
  },
476
  "type": "@@MT/TICKETS/UPDATE_TICKET",
477
  }
480
  exports[`Ticket actions Ticket temp details actions set ticket temp capacity 1`] = `
481
  Object {
482
  "payload": Object {
 
483
  "capacity": "10",
484
+ "clientId": "modern-tribe",
485
  },
486
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_CAPACITY",
487
  }
490
  exports[`Ticket actions Ticket temp details actions set ticket temp capacity type 1`] = `
491
  Object {
492
  "payload": Object {
 
493
  "capacityType": "unlimited",
494
+ "clientId": "modern-tribe",
495
  },
496
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_CAPACITY_TYPE",
497
  }
500
  exports[`Ticket actions Ticket temp details actions set ticket temp description 1`] = `
501
  Object {
502
  "payload": Object {
503
+ "clientId": "modern-tribe",
504
  "description": "The Next Generation of Digital Agency",
505
  },
506
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_DESCRIPTION",
510
  exports[`Ticket actions Ticket temp details actions set ticket temp end date 1`] = `
511
  Object {
512
  "payload": Object {
513
+ "clientId": "modern-tribe",
514
  "endDate": "2018-01-10",
515
  },
516
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE",
520
  exports[`Ticket actions Ticket temp details actions set ticket temp end date input 1`] = `
521
  Object {
522
  "payload": Object {
523
+ "clientId": "modern-tribe",
524
  "endDateInput": "January 10, 2018",
525
  },
526
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_INPUT",
530
  exports[`Ticket actions Ticket temp details actions set ticket temp end moment 1`] = `
531
  Object {
532
  "payload": Object {
533
+ "clientId": "modern-tribe",
534
  "endDateMoment": Object {
535
  "type": "moment",
536
  },
542
  exports[`Ticket actions Ticket temp details actions set ticket temp end moment 2`] = `
543
  Object {
544
  "payload": Object {
545
+ "clientId": "modern-tribe",
546
  "endDateMoment": null,
547
  },
548
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_MOMENT",
552
  exports[`Ticket actions Ticket temp details actions set ticket temp end time 1`] = `
553
  Object {
554
  "payload": Object {
555
+ "clientId": "modern-tribe",
556
  "endTime": "12:34",
557
  },
558
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME",
562
  exports[`Ticket actions Ticket temp details actions set ticket temp end time input 1`] = `
563
  Object {
564
  "payload": Object {
565
+ "clientId": "modern-tribe",
566
  "endTimeInput": "12:34",
567
  },
568
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME_INPUT",
572
  exports[`Ticket actions Ticket temp details actions set ticket temp price 1`] = `
573
  Object {
574
  "payload": Object {
575
+ "clientId": "modern-tribe",
576
  "price": 99,
577
  },
578
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_PRICE",
582
  exports[`Ticket actions Ticket temp details actions set ticket temp sku 1`] = `
583
  Object {
584
  "payload": Object {
585
+ "clientId": "modern-tribe",
586
  "sku": "my-sku",
587
  },
588
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_SKU",
592
  exports[`Ticket actions Ticket temp details actions set ticket temp start date 1`] = `
593
  Object {
594
  "payload": Object {
595
+ "clientId": "modern-tribe",
596
  "startDate": "2018-01-01",
597
  },
598
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE",
602
  exports[`Ticket actions Ticket temp details actions set ticket temp start date input 1`] = `
603
  Object {
604
  "payload": Object {
605
+ "clientId": "modern-tribe",
606
  "startDateInput": "January 1, 2018",
607
  },
608
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE_INPUT",
612
  exports[`Ticket actions Ticket temp details actions set ticket temp start moment 1`] = `
613
  Object {
614
  "payload": Object {
615
+ "clientId": "modern-tribe",
616
  "startDateMoment": Object {
617
  "type": "moment",
618
  },
624
  exports[`Ticket actions Ticket temp details actions set ticket temp start moment 2`] = `
625
  Object {
626
  "payload": Object {
627
+ "clientId": "modern-tribe",
628
  "startDateMoment": null,
629
  },
630
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_DATE_MOMENT",
634
  exports[`Ticket actions Ticket temp details actions set ticket temp start time 1`] = `
635
  Object {
636
  "payload": Object {
637
+ "clientId": "modern-tribe",
638
  "startTime": "10:00",
639
  },
640
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_TIME",
644
  exports[`Ticket actions Ticket temp details actions set ticket temp start time input 1`] = `
645
  Object {
646
  "payload": Object {
647
+ "clientId": "modern-tribe",
648
  "startTimeInput": "10:00",
649
  },
650
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_START_TIME_INPUT",
669
  }
670
  `;
671
 
672
+ exports[`Ticket actions Tickets actions reset tickets block 1`] = `
673
+ Object {
674
+ "type": "@@MT/TICKETS/RESET_TICKETS_BLOCK",
675
+ }
676
+ `;
677
+
678
  exports[`Ticket actions Tickets actions set tickets header image 1`] = `
679
  Object {
680
  "payload": Object {
697
  }
698
  `;
699
 
700
+ exports[`Ticket actions Tickets actions set tickets is selected 1`] = `
701
+ Object {
702
+ "payload": Object {
703
+ "isSelected": true,
704
+ },
705
+ "type": "@@MT/TICKETS/SET_TICKETS_IS_SELECTED",
706
+ }
707
+ `;
708
+
709
+ exports[`Ticket actions Tickets actions set tickets is selected 2`] = `
710
+ Object {
711
+ "payload": Object {
712
+ "isSelected": false,
713
+ },
714
+ "type": "@@MT/TICKETS/SET_TICKETS_IS_SELECTED",
715
+ }
716
+ `;
717
+
718
  exports[`Ticket actions Tickets actions set tickets is settings loading 1`] = `
719
  Object {
720
  "payload": Object {
src/modules/data/blocks/ticket/__tests__/__snapshots__/reducer.test.js.snap CHANGED
@@ -1,5 +1,25 @@
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  exports[`Reducer should set the is settings loading 1`] = `
4
  Object {
5
  "headerImage": Object {
@@ -7,14 +27,15 @@ Object {
7
  "id": 0,
8
  "src": "",
9
  },
 
10
  "isSettingsLoading": true,
11
  "isSettingsOpen": false,
12
  "provider": "",
13
  "sharedCapacity": "",
14
  "tempSharedCapacity": "",
15
  "tickets": Object {
16
- "allIds": Array [],
17
- "byId": Object {},
18
  },
19
  }
20
  `;
@@ -26,14 +47,15 @@ Object {
26
  "id": 0,
27
  "src": "",
28
  },
 
29
  "isSettingsLoading": false,
30
  "isSettingsOpen": true,
31
  "provider": "",
32
  "sharedCapacity": "",
33
  "tempSharedCapacity": "",
34
  "tickets": Object {
35
- "allIds": Array [],
36
- "byId": Object {},
37
  },
38
  }
39
  `;
@@ -45,14 +67,15 @@ Object {
45
  "id": 0,
46
  "src": "",
47
  },
 
48
  "isSettingsLoading": false,
49
  "isSettingsOpen": false,
50
  "provider": "provider",
51
  "sharedCapacity": "",
52
  "tempSharedCapacity": "",
53
  "tickets": Object {
54
- "allIds": Array [],
55
- "byId": Object {},
56
  },
57
  }
58
  `;
@@ -64,14 +87,15 @@ Object {
64
  "id": 0,
65
  "src": "",
66
  },
 
67
  "isSettingsLoading": false,
68
  "isSettingsOpen": false,
69
  "provider": "",
70
  "sharedCapacity": 99,
71
  "tempSharedCapacity": "",
72
  "tickets": Object {
73
- "allIds": Array [],
74
- "byId": Object {},
75
  },
76
  }
77
  `;
@@ -83,14 +107,15 @@ Object {
83
  "id": 0,
84
  "src": "",
85
  },
 
86
  "isSettingsLoading": false,
87
  "isSettingsOpen": false,
88
  "provider": "",
89
  "sharedCapacity": "",
90
  "tempSharedCapacity": 99,
91
  "tickets": Object {
92
- "allIds": Array [],
93
- "byId": Object {},
94
  },
95
  }
96
  `;
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
3
+ exports[`Reducer should set the is selected 1`] = `
4
+ Object {
5
+ "headerImage": Object {
6
+ "alt": "",
7
+ "id": 0,
8
+ "src": "",
9
+ },
10
+ "isSelected": true,
11
+ "isSettingsLoading": false,
12
+ "isSettingsOpen": false,
13
+ "provider": "",
14
+ "sharedCapacity": "",
15
+ "tempSharedCapacity": "",
16
+ "tickets": Object {
17
+ "allClientIds": Array [],
18
+ "byClientId": Object {},
19
+ },
20
+ }
21
+ `;
22
+
23
  exports[`Reducer should set the is settings loading 1`] = `
24
  Object {
25
  "headerImage": Object {
27
  "id": 0,
28
  "src": "",
29
  },
30
+ "isSelected": false,
31
  "isSettingsLoading": true,
32
  "isSettingsOpen": false,
33
  "provider": "",
34
  "sharedCapacity": "",
35
  "tempSharedCapacity": "",
36
  "tickets": Object {
37
+ "allClientIds": Array [],
38
+ "byClientId": Object {},
39
  },
40
  }
41
  `;
47
  "id": 0,
48
  "src": "",
49
  },
50
+ "isSelected": false,
51
  "isSettingsLoading": false,
52
  "isSettingsOpen": true,
53
  "provider": "",
54
  "sharedCapacity": "",
55
  "tempSharedCapacity": "",
56
  "tickets": Object {
57
+ "allClientIds": Array [],
58
+ "byClientId": Object {},
59
  },
60
  }
61
  `;
67
  "id": 0,
68
  "src": "",
69
  },
70
+ "isSelected": false,
71
  "isSettingsLoading": false,
72
  "isSettingsOpen": false,
73
  "provider": "provider",
74
  "sharedCapacity": "",
75
  "tempSharedCapacity": "",
76
  "tickets": Object {
77
+ "allClientIds": Array [],
78
+ "byClientId": Object {},
79
  },
80
  }
81
  `;
87
  "id": 0,
88
  "src": "",
89
  },
90
+ "isSelected": false,
91
  "isSettingsLoading": false,
92
  "isSettingsOpen": false,
93
  "provider": "",
94
  "sharedCapacity": 99,
95
  "tempSharedCapacity": "",
96
  "tickets": Object {
97
+ "allClientIds": Array [],
98
+ "byClientId": Object {},
99
  },
100
  }
101
  `;
107
  "id": 0,
108
  "src": "",
109
  },
110
+ "isSelected": false,
111
  "isSettingsLoading": false,
112
  "isSettingsOpen": false,
113
  "provider": "",
114
  "sharedCapacity": "",
115
  "tempSharedCapacity": 99,
116
  "tickets": Object {
117
+ "allClientIds": Array [],
118
+ "byClientId": Object {},
119
  },
120
  }
121
  `;
src/modules/data/blocks/ticket/__tests__/__snapshots__/sagas.test.js.snap CHANGED
@@ -1,5 +1,90 @@
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  exports[`Ticket Block sagas handleEventStartDateChanges should handle start time changes 1`] = `
4
  Object {
5
  "@@redux-saga/IO": true,
@@ -13,6 +98,103 @@ Object {
13
  }
14
  `;
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  exports[`Ticket Block sagas syncTicketSaleEndWithEventStart should not sync 1`] = `
17
  Object {
18
  "@@redux-saga/IO": true,
@@ -198,7 +380,7 @@ Object {
198
  "PUT": Object {
199
  "action": Object {
200
  "payload": Object {
201
- "blockId": "blockId",
202
  "endDate": "2018-02-02",
203
  },
204
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE",
@@ -211,7 +393,7 @@ Object {
211
  "PUT": Object {
212
  "action": Object {
213
  "payload": Object {
214
- "blockId": "blockId",
215
  "endDateInput": "2018-02-02",
216
  },
217
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_INPUT",
@@ -224,7 +406,7 @@ Object {
224
  "PUT": Object {
225
  "action": Object {
226
  "payload": Object {
227
- "blockId": "blockId",
228
  "endDateMoment": "2018-02-02",
229
  },
230
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_MOMENT",
@@ -237,7 +419,7 @@ Object {
237
  "PUT": Object {
238
  "action": Object {
239
  "payload": Object {
240
- "blockId": "blockId",
241
  "endTime": "02:00:00",
242
  },
243
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME",
@@ -250,7 +432,7 @@ Object {
250
  "PUT": Object {
251
  "action": Object {
252
  "payload": Object {
253
- "blockId": "blockId",
254
  "endTimeInput": "02:00:00",
255
  },
256
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME_INPUT",
@@ -263,7 +445,7 @@ Object {
263
  "PUT": Object {
264
  "action": Object {
265
  "payload": Object {
266
- "blockId": "blockId",
267
  "endDate": "2018-02-02",
268
  },
269
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE",
@@ -276,7 +458,7 @@ Object {
276
  "PUT": Object {
277
  "action": Object {
278
  "payload": Object {
279
- "blockId": "blockId",
280
  "endDateInput": "2018-02-02",
281
  },
282
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_INPUT",
@@ -289,7 +471,7 @@ Object {
289
  "PUT": Object {
290
  "action": Object {
291
  "payload": Object {
292
- "blockId": "blockId",
293
  "endDateMoment": "2018-02-02",
294
  },
295
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_MOMENT",
@@ -302,7 +484,7 @@ Object {
302
  "PUT": Object {
303
  "action": Object {
304
  "payload": Object {
305
- "blockId": "blockId",
306
  "endTime": "02:00:00",
307
  },
308
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME",
@@ -315,7 +497,7 @@ Object {
315
  "PUT": Object {
316
  "action": Object {
317
  "payload": Object {
318
- "blockId": "blockId",
319
  "endTimeInput": "02:00:00",
320
  },
321
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME_INPUT",
@@ -328,7 +510,7 @@ Object {
328
  "PUT": Object {
329
  "action": Object {
330
  "payload": Object {
331
- "blockId": "blockId",
332
  "hasChanges": true,
333
  },
334
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
@@ -339,3 +521,37 @@ Object {
339
  ],
340
  }
341
  `;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
3
+ exports[`Ticket Block sagas createMissingTicketBlocks should create missing ticket blocks 1`] = `
4
+ Object {
5
+ "@@redux-saga/IO": true,
6
+ "CALL": Object {
7
+ "args": Array [
8
+ [Function],
9
+ ],
10
+ "context": Array [],
11
+ "fn": [Function],
12
+ },
13
+ }
14
+ `;
15
+
16
+ exports[`Ticket Block sagas deleteTicket should delete ticket 1`] = `
17
+ Object {
18
+ "@@redux-saga/IO": true,
19
+ "CALL": Object {
20
+ "args": Array [
21
+ Array [
22
+ "modern-tribe",
23
+ ],
24
+ ],
25
+ "context": Object {
26
+ "editPost": [Function],
27
+ "insertBlocks": [Function],
28
+ "removeBlocks": [Function],
29
+ },
30
+ "fn": [Function],
31
+ },
32
+ }
33
+ `;
34
+
35
+ exports[`Ticket Block sagas deleteTicket should delete ticket 2`] = `
36
+ Object {
37
+ "@@redux-saga/IO": true,
38
+ "CALL": Object {
39
+ "args": Array [
40
+ Array [
41
+ "modern-tribe",
42
+ ],
43
+ ],
44
+ "context": Object {
45
+ "editPost": [Function],
46
+ "insertBlocks": [Function],
47
+ "removeBlocks": [Function],
48
+ },
49
+ "fn": [Function],
50
+ },
51
+ }
52
+ `;
53
+
54
+ exports[`Ticket Block sagas deleteTicketsHeaderImage should delete tickets header image 1`] = `
55
+ Object {
56
+ "@@redux-saga/IO": true,
57
+ "CALL": Object {
58
+ "args": Array [],
59
+ "context": Object {
60
+ "getBlockCount": [Function],
61
+ "getBlocks": [Function],
62
+ "getCurrentPostAttribute": [Function],
63
+ "getCurrentPostId": [Function],
64
+ "getEditedPostAttribute": [Function],
65
+ },
66
+ "fn": [Function],
67
+ },
68
+ }
69
+ `;
70
+
71
+ exports[`Ticket Block sagas deleteTicketsHeaderImage should not delete tickets header image 1`] = `
72
+ Object {
73
+ "@@redux-saga/IO": true,
74
+ "CALL": Object {
75
+ "args": Array [],
76
+ "context": Object {
77
+ "getBlockCount": [Function],
78
+ "getBlocks": [Function],
79
+ "getCurrentPostAttribute": [Function],
80
+ "getCurrentPostId": [Function],
81
+ "getEditedPostAttribute": [Function],
82
+ },
83
+ "fn": [Function],
84
+ },
85
+ }
86
+ `;
87
+
88
  exports[`Ticket Block sagas handleEventStartDateChanges should handle start time changes 1`] = `
89
  Object {
90
  "@@redux-saga/IO": true,
98
  }
99
  `;
100
 
101
+ exports[`Ticket Block sagas handleTicketMove should handle ticket move 1`] = `
102
+ Object {
103
+ "@@redux-saga/IO": true,
104
+ "CALL": Object {
105
+ "args": Array [
106
+ Array [
107
+ 42,
108
+ ],
109
+ ],
110
+ "context": Object {
111
+ "editPost": [Function],
112
+ "insertBlocks": [Function],
113
+ "removeBlocks": [Function],
114
+ },
115
+ "fn": [Function],
116
+ },
117
+ }
118
+ `;
119
+
120
+ exports[`Ticket Block sagas resetTicketsBlock should reset tickets block 1`] = `
121
+ Object {
122
+ "@@redux-saga/IO": true,
123
+ "CALL": Object {
124
+ "args": Array [
125
+ "meta",
126
+ ],
127
+ "context": Object {
128
+ "getBlockCount": [Function],
129
+ "getBlocks": [Function],
130
+ "getCurrentPostAttribute": [Function],
131
+ "getCurrentPostId": [Function],
132
+ "getEditedPostAttribute": [Function],
133
+ },
134
+ "fn": [Function],
135
+ },
136
+ }
137
+ `;
138
+
139
+ exports[`Ticket Block sagas resetTicketsBlock should reset tickets block 2`] = `
140
+ Object {
141
+ "@@redux-saga/IO": true,
142
+ "CALL": Object {
143
+ "args": Array [
144
+ Object {
145
+ "meta": Object {
146
+ "_tribe_ticket_capacity": "",
147
+ },
148
+ },
149
+ ],
150
+ "context": Object {
151
+ "editPost": [Function],
152
+ "insertBlocks": [Function],
153
+ "removeBlocks": [Function],
154
+ },
155
+ "fn": [Function],
156
+ },
157
+ }
158
+ `;
159
+
160
+ exports[`Ticket Block sagas setTicketInitialState should set ticket initial state 1`] = `
161
+ Object {
162
+ "@@redux-saga/IO": true,
163
+ "CALL": Object {
164
+ "args": Array [
165
+ "date",
166
+ ],
167
+ "context": Object {
168
+ "getBlockCount": [Function],
169
+ "getBlocks": [Function],
170
+ "getCurrentPostAttribute": [Function],
171
+ "getCurrentPostId": [Function],
172
+ "getEditedPostAttribute": [Function],
173
+ },
174
+ "fn": [Function],
175
+ },
176
+ }
177
+ `;
178
+
179
+ exports[`Ticket Block sagas setTicketInitialState should set tickets initial state for new ticket 1`] = `
180
+ Object {
181
+ "@@redux-saga/IO": true,
182
+ "CALL": Object {
183
+ "args": Array [
184
+ "date",
185
+ ],
186
+ "context": Object {
187
+ "getBlockCount": [Function],
188
+ "getBlocks": [Function],
189
+ "getCurrentPostAttribute": [Function],
190
+ "getCurrentPostId": [Function],
191
+ "getEditedPostAttribute": [Function],
192
+ },
193
+ "fn": [Function],
194
+ },
195
+ }
196
+ `;
197
+
198
  exports[`Ticket Block sagas syncTicketSaleEndWithEventStart should not sync 1`] = `
199
  Object {
200
  "@@redux-saga/IO": true,
380
  "PUT": Object {
381
  "action": Object {
382
  "payload": Object {
383
+ "clientId": "blockId",
384
  "endDate": "2018-02-02",
385
  },
386
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE",
393
  "PUT": Object {
394
  "action": Object {
395
  "payload": Object {
396
+ "clientId": "blockId",
397
  "endDateInput": "2018-02-02",
398
  },
399
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_INPUT",
406
  "PUT": Object {
407
  "action": Object {
408
  "payload": Object {
409
+ "clientId": "blockId",
410
  "endDateMoment": "2018-02-02",
411
  },
412
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_DATE_MOMENT",
419
  "PUT": Object {
420
  "action": Object {
421
  "payload": Object {
422
+ "clientId": "blockId",
423
  "endTime": "02:00:00",
424
  },
425
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME",
432
  "PUT": Object {
433
  "action": Object {
434
  "payload": Object {
435
+ "clientId": "blockId",
436
  "endTimeInput": "02:00:00",
437
  },
438
  "type": "@@MT/TICKETS/SET_TICKET_TEMP_END_TIME_INPUT",
445
  "PUT": Object {
446
  "action": Object {
447
  "payload": Object {
448
+ "clientId": "blockId",
449
  "endDate": "2018-02-02",
450
  },
451
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE",
458
  "PUT": Object {
459
  "action": Object {
460
  "payload": Object {
461
+ "clientId": "blockId",
462
  "endDateInput": "2018-02-02",
463
  },
464
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_INPUT",
471
  "PUT": Object {
472
  "action": Object {
473
  "payload": Object {
474
+ "clientId": "blockId",
475
  "endDateMoment": "2018-02-02",
476
  },
477
  "type": "@@MT/TICKETS/SET_TICKET_END_DATE_MOMENT",
484
  "PUT": Object {
485
  "action": Object {
486
  "payload": Object {
487
+ "clientId": "blockId",
488
  "endTime": "02:00:00",
489
  },
490
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME",
497
  "PUT": Object {
498
  "action": Object {
499
  "payload": Object {
500
+ "clientId": "blockId",
501
  "endTimeInput": "02:00:00",
502
  },
503
  "type": "@@MT/TICKETS/SET_TICKET_END_TIME_INPUT",
510
  "PUT": Object {
511
  "action": Object {
512
  "payload": Object {
513
+ "clientId": "blockId",
514
  "hasChanges": true,
515
  },
516
  "type": "@@MT/TICKETS/SET_TICKETS_HAS_CHANGES",
521
  ],
522
  }
523
  `;
524
+
525
+ exports[`Ticket Block sagas updateTicketsHeaderImage should not update tickets header image 1`] = `
526
+ Object {
527
+ "@@redux-saga/IO": true,
528
+ "CALL": Object {
529
+ "args": Array [],
530
+ "context": Object {
531
+ "getBlockCount": [Function],
532
+ "getBlocks": [Function],
533
+ "getCurrentPostAttribute": [Function],
534
+ "getCurrentPostId": [Function],
535
+ "getEditedPostAttribute": [Function],
536
+ },
537
+ "fn": [Function],
538
+ },
539
+ }
540
+ `;
541
+
542
+ exports[`Ticket Block sagas updateTicketsHeaderImage should update tickets header image 1`] = `
543
+ Object {
544
+ "@@redux-saga/IO": true,
545
+ "CALL": Object {
546
+ "args": Array [],
547
+ "context": Object {
548
+ "getBlockCount": [Function],
549
+ "getBlocks": [Function],
550
+ "getCurrentPostAttribute": [Function],
551
+ "getCurrentPostId": [Function],
552
+ "getEditedPostAttribute": [Function],
553
+ },
554
+ "fn": [Function],
555
+ },
556
+ }
557
+ `;
src/modules/data/blocks/ticket/__tests__/__snapshots__/selectors.test.js.snap CHANGED
@@ -35,16 +35,17 @@ Object {
35
  "id": 0,
36
  "src": "",
37
  },
 
38
  "isSettingsLoading": false,
39
  "isSettingsOpen": false,
40
  "provider": "",
41
  "sharedCapacity": "",
42
  "tempSharedCapacity": "",
43
  "tickets": Object {
44
- "allIds": Array [
45
  "modern-tribe",
46
  ],
47
- "byId": Object {
48
  "modern-tribe": Object {
49
  "available": 0,
50
  "currencyPosition": "prefix",
@@ -98,6 +99,8 @@ Object {
98
  }
99
  `;
100
 
 
 
101
  exports[`Ticket block selectors Block selectors getTicketsIsSettingsLoading 1`] = `false`;
102
 
103
  exports[`Ticket block selectors Block selectors getTicketsIsSettingsOpen 1`] = `false`;
@@ -138,6 +141,10 @@ exports[`Ticket block selectors Misc selectors hasTicketProviders 1`] = `false`;
138
 
139
  exports[`Ticket block selectors Misc selectors hasValidTicketProvider 1`] = `false`;
140
 
 
 
 
 
141
  exports[`Ticket block selectors Ticket details selectors getTicketCapacity 1`] = `""`;
142
 
143
  exports[`Ticket block selectors Ticket details selectors getTicketCapacityInt 1`] = `0`;
@@ -197,12 +204,16 @@ exports[`Ticket block selectors Ticket details selectors getTicketStartTimeNoSec
197
 
198
  exports[`Ticket block selectors Ticket details selectors getTicketTitle 1`] = `""`;
199
 
 
 
200
  exports[`Ticket block selectors Ticket details selectors isIndependentTicket 1`] = `false`;
201
 
202
  exports[`Ticket block selectors Ticket details selectors isSharedTicket 1`] = `true`;
203
 
204
  exports[`Ticket block selectors Ticket details selectors isTicketFuture 1`] = `false`;
205
 
 
 
206
  exports[`Ticket block selectors Ticket details selectors isTicketPast 1`] = `false`;
207
 
208
  exports[`Ticket block selectors Ticket details selectors isUnlimitedTicket 1`] = `false`;
@@ -260,7 +271,7 @@ Object {
260
 
261
  exports[`Ticket block selectors Ticket selectors getTicketAvailable 1`] = `0`;
262
 
263
- exports[`Ticket block selectors Ticket selectors getTicketBlockId 1`] = `"modern-tribe"`;
264
 
265
  exports[`Ticket block selectors Ticket selectors getTicketCurrencyPosition 1`] = `"prefix"`;
266
 
@@ -341,12 +352,6 @@ exports[`Ticket block selectors Ticket temp details selectors getTicketTempStart
341
 
342
  exports[`Ticket block selectors Ticket temp details selectors getTicketTempTitle 1`] = `""`;
343
 
344
- exports[`Ticket block selectors Tickets selectors getAllTicketIds 1`] = `
345
- Array [
346
- "modern-tribe",
347
- ]
348
- `;
349
-
350
  exports[`Ticket block selectors Tickets selectors getIndependentTickets 1`] = `Array []`;
351
 
352
  exports[`Ticket block selectors Tickets selectors getSharedTickets 1`] = `
@@ -406,10 +411,10 @@ exports[`Ticket block selectors Tickets selectors getSharedTicketsCount 1`] = `1
406
 
407
  exports[`Ticket block selectors Tickets selectors getTickets 1`] = `
408
  Object {
409
- "allIds": Array [
410
  "modern-tribe",
411
  ],
412
- "byId": Object {
413
  "modern-tribe": Object {
414
  "available": 0,
415
  "currencyPosition": "prefix",
@@ -462,6 +467,12 @@ Object {
462
  }
463
  `;
464
 
 
 
 
 
 
 
465
  exports[`Ticket block selectors Tickets selectors getTicketsArray 1`] = `
466
  Array [
467
  Object {
@@ -515,7 +526,7 @@ Array [
515
  ]
516
  `;
517
 
518
- exports[`Ticket block selectors Tickets selectors getTicketsById 1`] = `
519
  Object {
520
  "modern-tribe": Object {
521
  "available": 0,
35
  "id": 0,
36
  "src": "",
37
  },
38
+ "isSelected": false,
39
  "isSettingsLoading": false,
40
  "isSettingsOpen": false,
41
  "provider": "",
42
  "sharedCapacity": "",
43
  "tempSharedCapacity": "",
44
  "tickets": Object {
45
+ "allClientIds": Array [
46
  "modern-tribe",
47
  ],
48
+ "byClientId": Object {
49
  "modern-tribe": Object {
50
  "available": 0,
51
  "currencyPosition": "prefix",
99
  }
100
  `;
101
 
102
+ exports[`Ticket block selectors Block selectors getTicketsIsSelected 1`] = `false`;
103
+
104
  exports[`Ticket block selectors Block selectors getTicketsIsSettingsLoading 1`] = `false`;
105
 
106
  exports[`Ticket block selectors Block selectors getTicketsIsSettingsOpen 1`] = `false`;
141
 
142
  exports[`Ticket block selectors Misc selectors hasValidTicketProvider 1`] = `false`;
143
 
144
+ exports[`Ticket block selectors Ticket details selectors allTicketsFuture 1`] = `true`;
145
+
146
+ exports[`Ticket block selectors Ticket details selectors allTicketsPast 1`] = `true`;
147
+
148
  exports[`Ticket block selectors Ticket details selectors getTicketCapacity 1`] = `""`;
149
 
150
  exports[`Ticket block selectors Ticket details selectors getTicketCapacityInt 1`] = `0`;
204
 
205
  exports[`Ticket block selectors Ticket details selectors getTicketTitle 1`] = `""`;
206
 
207
+ exports[`Ticket block selectors Ticket details selectors hasTicketOnSale 1`] = `false`;
208
+
209
  exports[`Ticket block selectors Ticket details selectors isIndependentTicket 1`] = `false`;
210
 
211
  exports[`Ticket block selectors Ticket details selectors isSharedTicket 1`] = `true`;
212
 
213
  exports[`Ticket block selectors Ticket details selectors isTicketFuture 1`] = `false`;
214
 
215
+ exports[`Ticket block selectors Ticket details selectors isTicketOnSale 1`] = `false`;
216
+
217
  exports[`Ticket block selectors Ticket details selectors isTicketPast 1`] = `false`;
218
 
219
  exports[`Ticket block selectors Ticket details selectors isUnlimitedTicket 1`] = `false`;
271
 
272
  exports[`Ticket block selectors Ticket selectors getTicketAvailable 1`] = `0`;
273
 
274
+ exports[`Ticket block selectors Ticket selectors getTicketClientId 1`] = `"modern-tribe"`;
275
 
276
  exports[`Ticket block selectors Ticket selectors getTicketCurrencyPosition 1`] = `"prefix"`;
277
 
352
 
353
  exports[`Ticket block selectors Ticket temp details selectors getTicketTempTitle 1`] = `""`;
354
 
 
 
 
 
 
 
355
  exports[`Ticket block selectors Tickets selectors getIndependentTickets 1`] = `Array []`;
356
 
357
  exports[`Ticket block selectors Tickets selectors getSharedTickets 1`] = `
411
 
412
  exports[`Ticket block selectors Tickets selectors getTickets 1`] = `
413
  Object {
414
+ "allClientIds": Array [
415
  "modern-tribe",
416
  ],
417
+ "byClientId": Object {
418
  "modern-tribe": Object {
419
  "available": 0,
420
  "currencyPosition": "prefix",
467
  }
468
  `;
469
 
470
+ exports[`Ticket block selectors Tickets selectors getTicketsAllClientIds 1`] = `
471
+ Array [
472
+ "modern-tribe",
473
+ ]
474
+ `;
475
+
476
  exports[`Ticket block selectors Tickets selectors getTicketsArray 1`] = `
477
  Array [
478
  Object {
526
  ]
527
  `;
528
 
529
+ exports[`Ticket block selectors Tickets selectors getTicketsByClientId 1`] = `
530
  Object {
531
  "modern-tribe": Object {
532
  "available": 0,
src/modules/data/blocks/ticket/__tests__/__snapshots__/types.test.js.snap CHANGED
@@ -22,6 +22,10 @@ exports[`Tickets block types REGISTER_TICKET_BLOCK 1`] = `"@@MT/TICKETS/REGISTER
22
 
23
  exports[`Tickets block types REMOVE_TICKET_BLOCK 1`] = `"@@MT/TICKETS/REMOVE_TICKET_BLOCK"`;
24
 
 
 
 
 
25
  exports[`Tickets block types SET_TICKET_AVAILABLE 1`] = `"@@MT/TICKETS/SET_TICKET_AVAILABLE"`;
26
 
27
  exports[`Tickets block types SET_TICKET_CAPACITY 1`] = `"@@MT/TICKETS/SET_TICKET_CAPACITY"`;
@@ -116,6 +120,8 @@ exports[`Tickets block types SET_TICKETS_HEADER_IMAGE 1`] = `"@@MT/TICKETS/SET_T
116
 
117
  exports[`Tickets block types SET_TICKETS_INITIAL_STATE 1`] = `"@@MT/TICKETS/SET_TICKETS_INITIAL_STATE"`;
118
 
 
 
119
  exports[`Tickets block types SET_TICKETS_IS_SETTINGS_LOADING 1`] = `"@@MT/TICKETS/SET_TICKETS_IS_SETTINGS_LOADING"`;
120
 
121
  exports[`Tickets block types SET_TICKETS_IS_SETTINGS_OPEN 1`] = `"@@MT/TICKETS/SET_TICKETS_IS_SETTINGS_OPEN"`;
22
 
23
  exports[`Tickets block types REMOVE_TICKET_BLOCK 1`] = `"@@MT/TICKETS/REMOVE_TICKET_BLOCK"`;
24
 
25
+ exports[`Tickets block types REMOVE_TICKET_BLOCKS 1`] = `"@@MT/TICKETS/REMOVE_TICKET_BLOCKS"`;
26
+
27
+ exports[`Tickets block types RESET_TICKETS_BLOCK 1`] = `"@@MT/TICKETS/RESET_TICKETS_BLOCK"`;
28
+
29
  exports[`Tickets block types SET_TICKET_AVAILABLE 1`] = `"@@MT/TICKETS/SET_TICKET_AVAILABLE"`;
30
 
31
  exports[`Tickets block types SET_TICKET_CAPACITY 1`] = `"@@MT/TICKETS/SET_TICKET_CAPACITY"`;
120
 
121
  exports[`Tickets block types SET_TICKETS_INITIAL_STATE 1`] = `"@@MT/TICKETS/SET_TICKETS_INITIAL_STATE"`;
122
 
123
+ exports[`Tickets block types SET_TICKETS_IS_SELECTED 1`] = `"@@MT/TICKETS/SET_TICKETS_IS_SELECTED"`;
124
+
125
  exports[`Tickets block types SET_TICKETS_IS_SETTINGS_LOADING 1`] = `"@@MT/TICKETS/SET_TICKETS_IS_SETTINGS_LOADING"`;
126
 
127
  exports[`Tickets block types SET_TICKETS_IS_SETTINGS_OPEN 1`] = `"@@MT/TICKETS/SET_TICKETS_IS_SETTINGS_OPEN"`;
src/modules/data/blocks/ticket/__tests__/actions.test.js CHANGED
@@ -4,7 +4,7 @@
4
  import * as actions from '../actions';
5
 
6
  describe( 'Ticket actions', () => {
7
- const blockId = 'modern-tribe';
8
 
9
  describe( 'Tickets actions', () => {
10
  test( 'set tickets initial state', () => {
@@ -18,10 +18,19 @@ describe( 'Ticket actions', () => {
18
  expect( actions.setTicketsInitialState( props ) ).toMatchSnapshot();
19
  } );
20
 
 
 
 
 
21
  test( 'set tickets header image', () => {
22
  expect( actions.setTicketsHeaderImage( { image: 10 } ) ).toMatchSnapshot();
23
  } );
24
 
 
 
 
 
 
25
  test( 'set tickets is settings open', () => {
26
  expect( actions.setTicketsIsSettingsOpen( true ) ).toMatchSnapshot();
27
  expect( actions.setTicketsIsSettingsOpen( false ) ).toMatchSnapshot();
@@ -69,235 +78,239 @@ describe( 'Ticket actions', () => {
69
 
70
  describe( 'Ticket details actions', () => {
71
  test( 'set ticket title', () => {
72
- expect( actions.setTicketTitle( blockId, 'Modern Tribe' ) );
73
  } );
74
 
75
  test( 'set ticket description', () => {
76
- expect( actions.setTicketDescription( blockId, 'The Next Generation of Digital Agency' ) )
77
  .toMatchSnapshot();
78
  } );
79
 
80
  test( 'set ticket price', () => {
81
- expect( actions.setTicketPrice( blockId, 99 ) ).toMatchSnapshot();
82
  } );
83
 
84
  test( 'set ticket sku', () => {
85
- expect( actions.setTicketSku( blockId, 'my-sku' ) ).toMatchSnapshot();
86
  } );
87
 
88
  test( 'set ticket start date', () => {
89
- expect( actions.setTicketStartDate( blockId, '2018-01-01' ) ).toMatchSnapshot();
90
  } );
91
 
92
  test( 'set ticket start date input', () => {
93
- expect( actions.setTicketStartDateInput( blockId, 'January 1, 2018' ) ).toMatchSnapshot();
94
  } );
95
 
96
  test( 'set ticket start moment', () => {
97
- expect( actions.setTicketStartDateMoment( blockId, { type: 'moment' } ) ).toMatchSnapshot();
98
- expect( actions.setTicketStartDateMoment( blockId, null ) ).toMatchSnapshot();
99
  } );
100
 
101
  test( 'set ticket end date', () => {
102
- expect( actions.setTicketEndDate( blockId, '2018-01-10' ) ).toMatchSnapshot();
103
  } );
104
 
105
  test( 'set ticket end date input', () => {
106
- expect( actions.setTicketEndDateInput( blockId, 'January 10, 2018' ) ).toMatchSnapshot();
107
  } );
108
 
109
  test( 'set ticket end moment', () => {
110
- expect( actions.setTicketEndDateMoment( blockId, { type: 'moment' } ) ).toMatchSnapshot();
111
- expect( actions.setTicketEndDateMoment( blockId, null ) ).toMatchSnapshot();
112
  } );
113
 
114
  test( 'set ticket start time', () => {
115
- expect( actions.setTicketStartTime( blockId, '10:00' ) ).toMatchSnapshot();
116
  } );
117
 
118
  test( 'set ticket end time', () => {
119
- expect( actions.setTicketEndTime( blockId, '12:34' ) ).toMatchSnapshot();
120
  } );
121
 
122
  test( 'set ticket start time input', () => {
123
- expect( actions.setTicketStartTimeInput( blockId, '10:00' ) ).toMatchSnapshot();
124
  } );
125
 
126
  test( 'set ticket end time input', () => {
127
- expect( actions.setTicketEndTimeInput( blockId, '12:34' ) ).toMatchSnapshot();
128
  } );
129
 
130
  test( 'set ticket capacity type', () => {
131
- expect( actions.setTicketCapacityType( blockId, 'unlimited' ) ).toMatchSnapshot();
132
  } );
133
 
134
  test( 'set ticket capacity', () => {
135
- expect( actions.setTicketCapacity( blockId, '10' ) ).toMatchSnapshot();
136
  } );
137
  } );
138
 
139
  describe( 'Ticket temp details actions', () => {
140
  test( 'set ticket temp title', () => {
141
- expect( actions.setTicketTempTitle( blockId, 'Modern Tribe' ) );
142
  } );
143
 
144
  test( 'set ticket temp description', () => {
145
- expect( actions.setTicketTempDescription( blockId, 'The Next Generation of Digital Agency' ) )
146
  .toMatchSnapshot();
147
  } );
148
 
149
  test( 'set ticket temp price', () => {
150
- expect( actions.setTicketTempPrice( blockId, 99 ) ).toMatchSnapshot();
151
  } );
152
 
153
  test( 'set ticket temp sku', () => {
154
- expect( actions.setTicketTempSku( blockId, 'my-sku' ) ).toMatchSnapshot();
155
  } );
156
 
157
  test( 'set ticket temp start date', () => {
158
- expect( actions.setTicketTempStartDate( blockId, '2018-01-01' ) ).toMatchSnapshot();
159
  } );
160
 
161
  test( 'set ticket temp start date input', () => {
162
- expect( actions.setTicketTempStartDateInput( blockId, 'January 1, 2018' ) ).toMatchSnapshot();
163
  } );
164
 
165
  test( 'set ticket temp start moment', () => {
166
- expect( actions.setTicketTempStartDateMoment( blockId, { type: 'moment' } ) ).toMatchSnapshot();
167
- expect( actions.setTicketTempStartDateMoment( blockId, null ) ).toMatchSnapshot();
168
  } );
169
 
170
  test( 'set ticket temp end date', () => {
171
- expect( actions.setTicketTempEndDate( blockId, '2018-01-10' ) ).toMatchSnapshot();
172
  } );
173
 
174
  test( 'set ticket temp end date input', () => {
175
- expect( actions.setTicketTempEndDateInput( blockId, 'January 10, 2018' ) ).toMatchSnapshot();
176
  } );
177
 
178
  test( 'set ticket temp end moment', () => {
179
- expect( actions.setTicketTempEndDateMoment( blockId, { type: 'moment' } ) ).toMatchSnapshot();
180
- expect( actions.setTicketTempEndDateMoment( blockId, null ) ).toMatchSnapshot();
181
  } );
182
 
183
  test( 'set ticket temp start time', () => {
184
- expect( actions.setTicketTempStartTime( blockId, '10:00' ) ).toMatchSnapshot();
185
  } );
186
 
187
  test( 'set ticket temp end time', () => {
188
- expect( actions.setTicketTempEndTime( blockId, '12:34' ) ).toMatchSnapshot();
189
  } );
190
 
191
  test( 'set ticket temp start time input', () => {
192
- expect( actions.setTicketTempStartTimeInput( blockId, '10:00' ) ).toMatchSnapshot();
193
  } );
194
 
195
  test( 'set ticket temp end time input', () => {
196
- expect( actions.setTicketTempEndTimeInput( blockId, '12:34' ) ).toMatchSnapshot();
197
  } );
198
 
199
  test( 'set ticket temp capacity type', () => {
200
- expect( actions.setTicketTempCapacityType( blockId, 'unlimited' ) ).toMatchSnapshot();
201
  } );
202
 
203
  test( 'set ticket temp capacity', () => {
204
- expect( actions.setTicketTempCapacity( blockId, '10' ) ).toMatchSnapshot();
205
  } );
206
  } );
207
 
208
  describe( 'Ticket actions', () => {
209
  test( 'register ticket block', () => {
210
- expect( actions.registerTicketBlock( blockId ) ).toMatchSnapshot();
211
  } );
212
 
213
  test( 'remove ticket block', () => {
214
- expect( actions.removeTicketBlock( blockId ) ).toMatchSnapshot();
 
 
 
 
215
  } );
216
 
217
  test( 'set ticket sold', () => {
218
- expect( actions.setTicketSold( blockId, 23 ) ).toMatchSnapshot();
219
  } );
220
 
221
  test( 'set ticket availability', () => {
222
- expect( actions.setTicketAvailable( blockId, 99 ) ).toMatchSnapshot();
223
  } );
224
 
225
  test( 'set ticket id', () => {
226
- expect( actions.setTicketId( blockId, 99 ) ).toMatchSnapshot();
227
  } );
228
 
229
  test( 'set ticket currency symbol', () => {
230
- expect( actions.setTicketCurrencySymbol( blockId, '$' ) ).toMatchSnapshot();
231
  } );
232
 
233
  test( 'set ticket currency positioin', () => {
234
- expect( actions.setTicketCurrencyPosition( blockId, 'suffix' ) ).toMatchSnapshot();
235
  } );
236
 
237
  test( 'set ticket provider', () => {
238
- expect( actions.setTicketProvider( blockId, 'provider' ) ).toMatchSnapshot();
239
  } );
240
 
241
  test( 'set ticket is loading', () => {
242
- expect( actions.setTicketIsLoading( blockId, true ) ).toMatchSnapshot();
243
- expect( actions.setTicketIsLoading( blockId, false ) ).toMatchSnapshot();
244
  } );
245
 
246
  test( 'set ticket has been created', () => {
247
- expect( actions.setTicketHasBeenCreated( blockId, true ) ).toMatchSnapshot();
248
- expect( actions.setTicketHasBeenCreated( blockId, false ) ).toMatchSnapshot();
249
  } );
250
 
251
  test( 'set ticket has changes', () => {
252
- expect( actions.setTicketHasChanges( blockId, true ) ).toMatchSnapshot();
253
- expect( actions.setTicketHasChanges( blockId, false ) ).toMatchSnapshot();
254
  } );
255
 
256
  test( 'set ticket is selected', () => {
257
- expect( actions.setTicketIsSelected( blockId, true ) ).toMatchSnapshot();
258
- expect( actions.setTicketIsSelected( blockId, false ) ).toMatchSnapshot();
259
  } );
260
  } );
261
 
262
  describe( 'Ticket saga actions', () => {
263
  test( 'set ticket details', () => {
264
- expect( actions.setTicketDetails( blockId, {} ) ).toMatchSnapshot();
265
  } );
266
 
267
  test( 'set ticket temp details', () => {
268
- expect( actions.setTicketTempDetails( blockId, {} ) ).toMatchSnapshot();
269
  } );
270
 
271
  test( 'handle ticket start date', () => {
272
- expect( actions.handleTicketStartDate( blockId, {}, {} ) ).toMatchSnapshot();
273
  } );
274
 
275
  test( 'handle ticket start date', () => {
276
- expect( actions.handleTicketEndDate( blockId, {}, {} ) ).toMatchSnapshot();
277
  } );
278
 
279
  test( 'handle ticket start date', () => {
280
- expect( actions.handleTicketStartTime( blockId, 1000 ) ).toMatchSnapshot();
281
  } );
282
 
283
  test( 'handle ticket start date', () => {
284
- expect( actions.handleTicketEndTime( blockId, 1000 ) ).toMatchSnapshot();
285
  } );
286
 
287
  test( 'fetch ticket', () => {
288
- expect( actions.fetchTicket( blockId, 99 ) ).toMatchSnapshot();
289
  } );
290
 
291
  test( 'create new ticket', () => {
292
- expect( actions.createNewTicket( blockId ) ).toMatchSnapshot();
293
  } );
294
 
295
  test( 'update ticket', () => {
296
- expect( actions.updateTicket( blockId ) ).toMatchSnapshot();
297
  } );
298
 
299
  test( 'delete ticket', () => {
300
- expect( actions.deleteTicket( blockId ) ).toMatchSnapshot();
301
  } );
302
 
303
  test( 'set ticket initial state', () => {
4
  import * as actions from '../actions';
5
 
6
  describe( 'Ticket actions', () => {
7
+ const clientId = 'modern-tribe';
8
 
9
  describe( 'Tickets actions', () => {
10
  test( 'set tickets initial state', () => {
18
  expect( actions.setTicketsInitialState( props ) ).toMatchSnapshot();
19
  } );
20
 
21
+ test( 'reset tickets block', () => {
22
+ expect( actions.resetTicketsBlock() ).toMatchSnapshot();
23
+ } );
24
+
25
  test( 'set tickets header image', () => {
26
  expect( actions.setTicketsHeaderImage( { image: 10 } ) ).toMatchSnapshot();
27
  } );
28
 
29
+ test( 'set tickets is selected', () => {
30
+ expect( actions.setTicketsIsSelected( true ) ).toMatchSnapshot();
31
+ expect( actions.setTicketsIsSelected( false ) ).toMatchSnapshot();
32
+ } );
33
+
34
  test( 'set tickets is settings open', () => {
35
  expect( actions.setTicketsIsSettingsOpen( true ) ).toMatchSnapshot();
36
  expect( actions.setTicketsIsSettingsOpen( false ) ).toMatchSnapshot();
78
 
79
  describe( 'Ticket details actions', () => {
80
  test( 'set ticket title', () => {
81
+ expect( actions.setTicketTitle( clientId, 'Modern Tribe' ) );
82
  } );
83
 
84
  test( 'set ticket description', () => {
85
+ expect( actions.setTicketDescription( clientId, 'The Next Generation of Digital Agency' ) )
86
  .toMatchSnapshot();
87
  } );
88
 
89
  test( 'set ticket price', () => {
90
+ expect( actions.setTicketPrice( clientId, 99 ) ).toMatchSnapshot();
91
  } );
92
 
93
  test( 'set ticket sku', () => {
94
+ expect( actions.setTicketSku( clientId, 'my-sku' ) ).toMatchSnapshot();
95
  } );
96
 
97
  test( 'set ticket start date', () => {
98
+ expect( actions.setTicketStartDate( clientId, '2018-01-01' ) ).toMatchSnapshot();
99
  } );
100
 
101
  test( 'set ticket start date input', () => {
102
+ expect( actions.setTicketStartDateInput( clientId, 'January 1, 2018' ) ).toMatchSnapshot();
103
  } );
104
 
105
  test( 'set ticket start moment', () => {
106
+ expect( actions.setTicketStartDateMoment( clientId, { type: 'moment' } ) ).toMatchSnapshot();
107
+ expect( actions.setTicketStartDateMoment( clientId, null ) ).toMatchSnapshot();
108
  } );
109
 
110
  test( 'set ticket end date', () => {
111
+ expect( actions.setTicketEndDate( clientId, '2018-01-10' ) ).toMatchSnapshot();
112
  } );
113
 
114
  test( 'set ticket end date input', () => {
115
+ expect( actions.setTicketEndDateInput( clientId, 'January 10, 2018' ) ).toMatchSnapshot();
116
  } );
117
 
118
  test( 'set ticket end moment', () => {
119
+ expect( actions.setTicketEndDateMoment( clientId, { type: 'moment' } ) ).toMatchSnapshot();
120
+ expect( actions.setTicketEndDateMoment( clientId, null ) ).toMatchSnapshot();
121
  } );
122
 
123
  test( 'set ticket start time', () => {
124
+ expect( actions.setTicketStartTime( clientId, '10:00' ) ).toMatchSnapshot();
125
  } );
126
 
127
  test( 'set ticket end time', () => {
128
+ expect( actions.setTicketEndTime( clientId, '12:34' ) ).toMatchSnapshot();
129
  } );
130
 
131
  test( 'set ticket start time input', () => {
132
+ expect( actions.setTicketStartTimeInput( clientId, '10:00' ) ).toMatchSnapshot();
133
  } );
134
 
135
  test( 'set ticket end time input', () => {
136
+ expect( actions.setTicketEndTimeInput( clientId, '12:34' ) ).toMatchSnapshot();
137
  } );
138
 
139
  test( 'set ticket capacity type', () => {
140
+ expect( actions.setTicketCapacityType( clientId, 'unlimited' ) ).toMatchSnapshot();
141
  } );
142
 
143
  test( 'set ticket capacity', () => {
144
+ expect( actions.setTicketCapacity( clientId, '10' ) ).toMatchSnapshot();
145
  } );
146
  } );
147
 
148
  describe( 'Ticket temp details actions', () => {
149
  test( 'set ticket temp title', () => {
150
+ expect( actions.setTicketTempTitle( clientId, 'Modern Tribe' ) );
151
  } );
152
 
153
  test( 'set ticket temp description', () => {
154
+ expect( actions.setTicketTempDescription( clientId, 'The Next Generation of Digital Agency' ) )
155
  .toMatchSnapshot();
156
  } );
157
 
158
  test( 'set ticket temp price', () => {
159
+ expect( actions.setTicketTempPrice( clientId, 99 ) ).toMatchSnapshot();
160
  } );
161
 
162
  test( 'set ticket temp sku', () => {
163
+ expect( actions.setTicketTempSku( clientId, 'my-sku' ) ).toMatchSnapshot();
164
  } );
165
 
166
  test( 'set ticket temp start date', () => {
167
+ expect( actions.setTicketTempStartDate( clientId, '2018-01-01' ) ).toMatchSnapshot();
168
  } );
169
 
170
  test( 'set ticket temp start date input', () => {
171
+ expect( actions.setTicketTempStartDateInput( clientId, 'January 1, 2018' ) ).toMatchSnapshot();
172
  } );
173
 
174
  test( 'set ticket temp start moment', () => {
175
+ expect( actions.setTicketTempStartDateMoment( clientId, { type: 'moment' } ) ).toMatchSnapshot();
176
+ expect( actions.setTicketTempStartDateMoment( clientId, null ) ).toMatchSnapshot();
177
  } );
178
 
179
  test( 'set ticket temp end date', () => {
180
+ expect( actions.setTicketTempEndDate( clientId, '2018-01-10' ) ).toMatchSnapshot();
181
  } );
182
 
183
  test( 'set ticket temp end date input', () => {
184
+ expect( actions.setTicketTempEndDateInput( clientId, 'January 10, 2018' ) ).toMatchSnapshot();
185
  } );
186
 
187
  test( 'set ticket temp end moment', () => {
188
+ expect( actions.setTicketTempEndDateMoment( clientId, { type: 'moment' } ) ).toMatchSnapshot();
189
+ expect( actions.setTicketTempEndDateMoment( clientId, null ) ).toMatchSnapshot();
190
  } );
191
 
192
  test( 'set ticket temp start time', () => {
193
+ expect( actions.setTicketTempStartTime( clientId, '10:00' ) ).toMatchSnapshot();
194
  } );
195
 
196
  test( 'set ticket temp end time', () => {
197
+ expect( actions.setTicketTempEndTime( clientId, '12:34' ) ).toMatchSnapshot();
198
  } );
199
 
200
  test( 'set ticket temp start time input', () => {
201
+ expect( actions.setTicketTempStartTimeInput( clientId, '10:00' ) ).toMatchSnapshot();
202
  } );
203
 
204
  test( 'set ticket temp end time input', () => {
205
+ expect( actions.setTicketTempEndTimeInput( clientId, '12:34' ) ).toMatchSnapshot();
206
  } );
207
 
208
  test( 'set ticket temp capacity type', () => {
209
+ expect( actions.setTicketTempCapacityType( clientId, 'unlimited' ) ).toMatchSnapshot();
210
  } );
211
 
212
  test( 'set ticket temp capacity', () => {
213
+ expect( actions.setTicketTempCapacity( clientId, '10' ) ).toMatchSnapshot();
214
  } );
215
  } );
216
 
217
  describe( 'Ticket actions', () => {
218
  test( 'register ticket block', () => {
219
+ expect( actions.registerTicketBlock( clientId ) ).toMatchSnapshot();
220
  } );
221
 
222
  test( 'remove ticket block', () => {
223
+ expect( actions.removeTicketBlock( clientId ) ).toMatchSnapshot();
224
+ } );
225
+
226
+ test( 'remove ticket blocks', () => {
227
+ expect( actions.removeTicketBlocks() ).toMatchSnapshot();
228
  } );
229
 
230
  test( 'set ticket sold', () => {
231
+ expect( actions.setTicketSold( clientId, 23 ) ).toMatchSnapshot();
232
  } );
233
 
234
  test( 'set ticket availability', () => {
235
+ expect( actions.setTicketAvailable( clientId, 99 ) ).toMatchSnapshot();
236
  } );
237
 
238
  test( 'set ticket id', () => {
239
+ expect( actions.setTicketId( clientId, 99 ) ).toMatchSnapshot();
240
  } );
241
 
242
  test( 'set ticket currency symbol', () => {
243
+ expect( actions.setTicketCurrencySymbol( clientId, '$' ) ).toMatchSnapshot();
244
  } );
245
 
246
  test( 'set ticket currency positioin', () => {
247
+ expect( actions.setTicketCurrencyPosition( clientId, 'suffix' ) ).toMatchSnapshot();
248
  } );
249
 
250
  test( 'set ticket provider', () => {
251
+ expect( actions.setTicketProvider( clientId, 'provider' ) ).toMatchSnapshot();
252
  } );
253
 
254
  test( 'set ticket is loading', () => {
255
+ expect( actions.setTicketIsLoading( clientId, true ) ).toMatchSnapshot();
256
+ expect( actions.setTicketIsLoading( clientId, false ) ).toMatchSnapshot();
257
  } );
258
 
259
  test( 'set ticket has been created', () => {
260
+ expect( actions.setTicketHasBeenCreated( clientId, true ) ).toMatchSnapshot();
261
+ expect( actions.setTicketHasBeenCreated( clientId, false ) ).toMatchSnapshot();
262
  } );
263
 
264
  test( 'set ticket has changes', () => {
265
+ expect( actions.setTicketHasChanges( clientId, true ) ).toMatchSnapshot();
266
+ expect( actions.setTicketHasChanges( clientId, false ) ).toMatchSnapshot();
267
  } );
268
 
269
  test( 'set ticket is selected', () => {
270
+ expect( actions.setTicketIsSelected( clientId, true ) ).toMatchSnapshot();
271
+ expect( actions.setTicketIsSelected( clientId, false ) ).toMatchSnapshot();
272
  } );
273
  } );
274
 
275
  describe( 'Ticket saga actions', () => {
276
  test( 'set ticket details', () => {
277
+ expect( actions.setTicketDetails( clientId, {} ) ).toMatchSnapshot();
278
  } );
279
 
280
  test( 'set ticket temp details', () => {
281
+ expect( actions.setTicketTempDetails( clientId, {} ) ).toMatchSnapshot();
282
  } );
283
 
284
  test( 'handle ticket start date', () => {
285
+ expect( actions.handleTicketStartDate( clientId, {}, {} ) ).toMatchSnapshot();
286
  } );
287
 
288
  test( 'handle ticket start date', () => {
289
+ expect( actions.handleTicketEndDate( clientId, {}, {} ) ).toMatchSnapshot();
290
  } );
291
 
292
  test( 'handle ticket start date', () => {
293
+ expect( actions.handleTicketStartTime( clientId, 1000 ) ).toMatchSnapshot();
294
  } );
295
 
296
  test( 'handle ticket start date', () => {
297
+ expect( actions.handleTicketEndTime( clientId, 1000 ) ).toMatchSnapshot();
298
  } );
299
 
300
  test( 'fetch ticket', () => {
301
+ expect( actions.fetchTicket( clientId, 99 ) ).toMatchSnapshot();
302
  } );
303
 
304
  test( 'create new ticket', () => {
305
+ expect( actions.createNewTicket( clientId ) ).toMatchSnapshot();
306
  } );
307
 
308
  test( 'update ticket', () => {
309
+ expect( actions.updateTicket( clientId ) ).toMatchSnapshot();
310
  } );
311
 
312
  test( 'delete ticket', () => {
313
+ expect( actions.deleteTicket( clientId ) ).toMatchSnapshot();
314
  } );
315
 
316
  test( 'set ticket initial state', () => {
src/modules/data/blocks/ticket/__tests__/reducer.test.js CHANGED
@@ -9,6 +9,13 @@ describe( 'Reducer', () => {
9
  expect( reducer( undefined, {} ) ).toEqual( DEFAULT_STATE );
10
  } );
11
 
 
 
 
 
 
 
 
12
  it( 'should set the is settings open', () => {
13
  expect( reducer(
14
  DEFAULT_STATE,
9
  expect( reducer( undefined, {} ) ).toEqual( DEFAULT_STATE );
10
  } );
11
 
12
+ it( 'should set the is selected', () => {
13
+ expect( reducer(
14
+ DEFAULT_STATE,
15
+ actions.setTicketsIsSelected( true ),
16
+ ) ).toMatchSnapshot();
17
+ } );
18
+
19
  it( 'should set the is settings open', () => {
20
  expect( reducer(
21
  DEFAULT_STATE,
src/modules/data/blocks/ticket/__tests__/sagas.test.js CHANGED
@@ -18,8 +18,12 @@ import * as actions from '../actions';
18
  import watchers, * as sagas from '../sagas';
19
  import * as selectors from '../selectors';
20
  import {
21
- DEFAULT_STATE as HEADER_IMAGE_DEFAULT_STATE
22
  } from '../reducers/header-image';
 
 
 
 
23
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
24
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
25
  import * as utils from '@moderntribe/tickets/data/utils';
@@ -46,6 +50,7 @@ jest.mock( '@wordpress/data', () => {
46
  getBlockCount: () => {},
47
  getBlocks: () => {},
48
  getCurrentPostId: () => 10,
 
49
  getEditedPostAttribute: ( attr ) => {
50
  if ( attr === 'date' ) {
51
  return '2018-11-09T19:48:42';
@@ -55,6 +60,7 @@ jest.mock( '@wordpress/data', () => {
55
  }
56
  },
57
  dispatch: () => ( {
 
58
  insertBlocks: () => {},
59
  removeBlocks: () => {},
60
  } ),
@@ -68,6 +74,7 @@ describe( 'Ticket Block sagas', () => {
68
  expect( gen.next().value ).toEqual(
69
  takeEvery( [
70
  types.SET_TICKETS_INITIAL_STATE,
 
71
  types.SET_TICKET_INITIAL_STATE,
72
  types.FETCH_TICKET,
73
  types.CREATE_NEW_TICKET,
@@ -108,6 +115,15 @@ describe( 'Ticket Block sagas', () => {
108
  expect( gen.next().done ).toEqual( true );
109
  } );
110
 
 
 
 
 
 
 
 
 
 
111
  it( 'should set ticket initial state', () => {
112
  action.type = types.SET_TICKET_INITIAL_STATE;
113
  const gen = sagas.handler( action );
@@ -200,33 +216,33 @@ describe( 'Ticket Block sagas', () => {
200
 
201
  it( 'should handle ticket start date', () => {
202
  action.type = types.HANDLE_TICKET_START_DATE;
203
- action.payload = { blockId: 'tribe' };
204
  const gen = sagas.handler( action );
205
  expect( gen.next().value ).toEqual(
206
  call( sagas.handleTicketStartDate, action )
207
  );
208
  expect( gen.next().value ).toEqual(
209
- put( actions.setTicketHasChanges( action.payload.blockId, true ) )
210
  );
211
  expect( gen.next().done ).toEqual( true );
212
  } );
213
 
214
  it( 'should handle ticket end date', () => {
215
  action.type = types.HANDLE_TICKET_END_DATE;
216
- action.payload = { blockId: 'tribe' };
217
  const gen = sagas.handler( action );
218
  expect( gen.next().value ).toEqual(
219
  call( sagas.handleTicketEndDate, action )
220
  );
221
  expect( gen.next().value ).toEqual(
222
- put( actions.setTicketHasChanges( action.payload.blockId, true ) )
223
  );
224
  expect( gen.next().done ).toEqual( true );
225
  } );
226
 
227
  it( 'should handle ticket start time', () => {
228
  action.type = types.HANDLE_TICKET_START_TIME;
229
- action.payload = { blockId: 'tribe' };
230
  const gen = sagas.handler( action );
231
  expect( gen.next().value ).toEqual(
232
  call( sagas.handleTicketStartTime, action )
@@ -235,14 +251,14 @@ describe( 'Ticket Block sagas', () => {
235
  call( sagas.handleTicketStartTimeInput, action )
236
  );
237
  expect( gen.next().value ).toEqual(
238
- put( actions.setTicketHasChanges( action.payload.blockId, true ) )
239
  );
240
  expect( gen.next().done ).toEqual( true );
241
  } );
242
 
243
  it( 'should handle ticket end time', () => {
244
  action.type = types.HANDLE_TICKET_END_TIME;
245
- action.payload = { blockId: 'tribe' };
246
  const gen = sagas.handler( action );
247
  expect( gen.next().value ).toEqual(
248
  call( sagas.handleTicketEndTime, action )
@@ -251,7 +267,7 @@ describe( 'Ticket Block sagas', () => {
251
  call( sagas.handleTicketEndTimeInput, action )
252
  );
253
  expect( gen.next().value ).toEqual(
254
- put( actions.setTicketHasChanges( action.payload.blockId, true ) )
255
  );
256
  expect( gen.next().done ).toEqual( true );
257
  } );
@@ -283,11 +299,7 @@ describe( 'Ticket Block sagas', () => {
283
  expect( gen.next( wpDispatchCoreEditor ).value ).toEqual(
284
  call( wpSelect, 'core/editor' )
285
  );
286
- expect( JSON.stringify( gen.next( wpSelectCoreEditor ).value ) ).toEqual(
287
- JSON.stringify(
288
- call( [ wpSelectCoreEditor.getBlocks(), 'filter' ], ( block ) => block.name === 'tribe/tickets' )
289
- )
290
- );
291
  expect( gen.next( [] ).done ).toEqual( true );
292
  } );
293
  } );
@@ -406,6 +418,44 @@ describe( 'Ticket Block sagas', () => {
406
  } );
407
  } );
408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  describe( 'setTicketInitialState', () => {
410
  let publishDate,
411
  startMoment,
@@ -466,11 +516,7 @@ describe( 'Ticket Block sagas', () => {
466
  };
467
 
468
  const gen = cloneableGenerator( sagas.setTicketInitialState )( action );
469
- expect( JSON.stringify( gen.next().value ) ).toEqual(
470
- JSON.stringify(
471
- call( [ wpSelect( 'core/editor' ), 'getEditedPostAttribute' ], 'date' )
472
- ),
473
- )
474
  expect( gen.next( publishDate ).value ).toEqual(
475
  call( momentUtil.toMoment, publishDate )
476
  );
@@ -585,11 +631,7 @@ describe( 'Ticket Block sagas', () => {
585
  global.tribe.events.data.blocks.datetime.selectors.getStart = jest.fn();
586
 
587
  const gen = cloneableGenerator( sagas.setTicketInitialState )( action );
588
- expect( JSON.stringify( gen.next().value ) ).toEqual(
589
- JSON.stringify(
590
- call( [ wpSelect( 'core/editor' ), 'getEditedPostAttribute' ], 'date' )
591
- )
592
- )
593
  expect( gen.next( publishDate ).value ).toEqual(
594
  call( momentUtil.toMoment, publishDate )
595
  );
@@ -676,9 +718,9 @@ describe( 'Ticket Block sagas', () => {
676
 
677
  describe( 'setBodyDetails', () => {
678
  it( 'should set body details', () => {
679
- const blockId = 'modern-tribe';
680
- const props = { blockId };
681
- const gen = cloneableGenerator( sagas.setBodyDetails )( blockId );
682
 
683
  expect( gen.next().value ).toEqual(
684
  select( selectors.getTicketProvider, props )
@@ -738,17 +780,17 @@ describe( 'Ticket Block sagas', () => {
738
  describe( 'fetchTicket', () => {
739
  it( 'should fetch ticket', () => {
740
  const TICKET_ID = 13;
741
- const BLOCK_ID = 'modern-tribe';
742
  const action = {
743
  payload: {
744
  ticketId: TICKET_ID,
745
- blockId: BLOCK_ID,
746
  },
747
  };
748
 
749
  const gen = cloneableGenerator( sagas.fetchTicket )( action );
750
  expect( gen.next().value ).toEqual(
751
- put( actions.setTicketIsLoading( BLOCK_ID, true ) )
752
  );
753
  expect( gen.next().value ).toEqual(
754
  call( wpREST, {
@@ -766,7 +808,7 @@ describe( 'Ticket Block sagas', () => {
766
  };
767
 
768
  expect( clone1.next( apiResponse1 ).value ).toEqual(
769
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
770
  );
771
  expect( clone1.next().done ).toEqual( true );
772
 
@@ -844,18 +886,18 @@ describe( 'Ticket Block sagas', () => {
844
 
845
  expect( clone2.next( endMoment2 ).value ).toEqual(
846
  all( [
847
- put( actions.setTicketDetails( BLOCK_ID, details2 ) ),
848
- put( actions.setTicketTempDetails( BLOCK_ID, details2 ) ),
849
- put( actions.setTicketSold( BLOCK_ID, apiResponse2.data.totals.sold ) ),
850
- put( actions.setTicketAvailable( BLOCK_ID, apiResponse2.data.totals.stock ) ),
851
- put( actions.setTicketCurrencySymbol( BLOCK_ID, apiResponse2.data.cost_details.currency_symbol ) ),
852
- put( actions.setTicketCurrencyPosition( BLOCK_ID, apiResponse2.data.cost_details.currency_position ) ),
853
- put( actions.setTicketProvider( BLOCK_ID, apiResponse2.data.provider ) ),
854
- put( actions.setTicketHasBeenCreated( BLOCK_ID, true ) ),
855
  ] )
856
  );
857
  expect( clone2.next().value ).toEqual(
858
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
859
  );
860
  expect( clone2.next().done ).toEqual( true );
861
 
@@ -949,29 +991,29 @@ describe( 'Ticket Block sagas', () => {
949
 
950
  expect( clone3.next( startTimeInput3 ).value ).toEqual(
951
  all( [
952
- put( actions.setTicketDetails( BLOCK_ID, details3 ) ),
953
- put( actions.setTicketTempDetails( BLOCK_ID, details3 ) ),
954
- put( actions.setTicketSold( BLOCK_ID, apiResponse3.data.totals.sold ) ),
955
- put( actions.setTicketAvailable( BLOCK_ID, apiResponse3.data.totals.stock ) ),
956
- put( actions.setTicketCurrencySymbol( BLOCK_ID, apiResponse3.data.cost_details.currency_symbol ) ),
957
- put( actions.setTicketCurrencyPosition( BLOCK_ID, apiResponse3.data.cost_details.currency_position ) ),
958
- put( actions.setTicketProvider( BLOCK_ID, apiResponse3.data.provider ) ),
959
- put( actions.setTicketHasBeenCreated( BLOCK_ID, true ) ),
960
  ] )
961
  );
962
  expect( clone3.next().value ).toEqual(
963
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
964
  );
965
  expect( clone3.next().done ).toEqual( true );
966
  } );
967
 
968
  it( 'should not fetch ticket if new ticket', () => {
969
  const TICKET_ID = 0;
970
- const BLOCK_ID = 'modern-tribe';
971
  const action = {
972
  payload: {
973
  ticketId: TICKET_ID,
974
- blockId: BLOCK_ID,
975
  },
976
  };
977
 
@@ -999,23 +1041,23 @@ describe( 'Ticket Block sagas', () => {
999
  const capacityType = 'own';
1000
  const capacity = 100;
1001
 
1002
- const BLOCK_ID = 'modern-tribe';
1003
- const props = { blockId: BLOCK_ID };
1004
  const action = {
1005
  payload: {
1006
- blockId: BLOCK_ID,
1007
  },
1008
  };
1009
 
1010
  const gen = cloneableGenerator( sagas.createNewTicket )( action );
1011
  expect( gen.next().value ).toEqual(
1012
- call( sagas.setBodyDetails, BLOCK_ID )
1013
  );
1014
 
1015
  const body = new FormData();
1016
 
1017
  expect( gen.next( body ).value ).toEqual(
1018
- put( actions.setTicketIsLoading( BLOCK_ID, true ) )
1019
  );
1020
  expect( gen.next().value ).toEqual(
1021
  call( wpREST, {
@@ -1094,7 +1136,7 @@ describe( 'Ticket Block sagas', () => {
1094
  capacity,
1095
  ] ).value ).toEqual(
1096
  all( [
1097
- put( actions.setTicketDetails( BLOCK_ID, {
1098
  title,
1099
  description,
1100
  price,
@@ -1112,18 +1154,18 @@ describe( 'Ticket Block sagas', () => {
1112
  capacityType,
1113
  capacity,
1114
  } ) ),
1115
- put( actions.setTicketId( BLOCK_ID, apiResponse1.data.ID ) ),
1116
- put( actions.setTicketHasBeenCreated( BLOCK_ID, true ) ),
1117
- put( actions.setTicketAvailable( BLOCK_ID, apiResponse1.data.capacity ) ),
1118
  put( actions.setTicketProvider(
1119
- BLOCK_ID,
1120
  PROVIDER_CLASS_TO_PROVIDER_MAPPING[ apiResponse1.data.provider_class ],
1121
  ) ),
1122
- put( actions.setTicketHasChanges( BLOCK_ID, false ) ),
1123
  ] )
1124
  );
1125
  expect( clone11.next().value ).toEqual(
1126
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
1127
  );
1128
  expect( clone11.next().done ).toEqual( true );
1129
 
@@ -1174,7 +1216,7 @@ describe( 'Ticket Block sagas', () => {
1174
  capacity,
1175
  ] ).value ).toEqual(
1176
  all( [
1177
- put( actions.setTicketDetails( BLOCK_ID, {
1178
  title,
1179
  description,
1180
  price,
@@ -1192,18 +1234,18 @@ describe( 'Ticket Block sagas', () => {
1192
  capacityType,
1193
  capacity,
1194
  } ) ),
1195
- put( actions.setTicketId( BLOCK_ID, apiResponse1.data.ID ) ),
1196
- put( actions.setTicketHasBeenCreated( BLOCK_ID, true ) ),
1197
- put( actions.setTicketAvailable( BLOCK_ID, apiResponse1.data.capacity ) ),
1198
  put( actions.setTicketProvider(
1199
- BLOCK_ID,
1200
  PROVIDER_CLASS_TO_PROVIDER_MAPPING[ apiResponse1.data.provider_class ],
1201
  ) ),
1202
- put( actions.setTicketHasChanges( BLOCK_ID, false ) ),
1203
  ] )
1204
  );
1205
  expect( clone12.next().value ).toEqual(
1206
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
1207
  );
1208
  expect( clone12.next().done ).toEqual( true );
1209
 
@@ -1215,7 +1257,7 @@ describe( 'Ticket Block sagas', () => {
1215
  };
1216
 
1217
  expect( clone2.next( apiResponse2 ).value ).toEqual(
1218
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
1219
  );
1220
  expect( clone2.next().done ).toEqual( true );
1221
  } );
@@ -1241,17 +1283,17 @@ describe( 'Ticket Block sagas', () => {
1241
  const capacity = 100;
1242
 
1243
  const TICKET_ID = 13;
1244
- const BLOCK_ID = 'modern-tribe';
1245
- const props = { blockId: BLOCK_ID };
1246
  const action = {
1247
  payload: {
1248
- blockId: BLOCK_ID,
1249
  },
1250
  };
1251
 
1252
  const gen = cloneableGenerator( sagas.updateTicket )( action );
1253
  expect( gen.next().value ).toEqual(
1254
- call( sagas.setBodyDetails, BLOCK_ID )
1255
  );
1256
 
1257
  const body = new FormData();
@@ -1260,7 +1302,7 @@ describe( 'Ticket Block sagas', () => {
1260
  select( selectors.getTicketId, props )
1261
  );
1262
  expect( gen.next( TICKET_ID ).value ).toEqual(
1263
- put( actions.setTicketIsLoading( BLOCK_ID, true ) )
1264
  );
1265
 
1266
  const data = [];
@@ -1290,7 +1332,7 @@ describe( 'Ticket Block sagas', () => {
1290
  };
1291
 
1292
  expect( clone1.next( apiResponse1 ).value ).toEqual(
1293
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
1294
  );
1295
  expect( clone1.next().done ).toEqual( true );
1296
 
@@ -1340,7 +1382,7 @@ describe( 'Ticket Block sagas', () => {
1340
  capacity,
1341
  ] ).value ).toEqual(
1342
  all( [
1343
- put( actions.setTicketDetails( BLOCK_ID, {
1344
  title,
1345
  description,
1346
  price,
@@ -1358,11 +1400,11 @@ describe( 'Ticket Block sagas', () => {
1358
  capacityType,
1359
  capacity,
1360
  } ) ),
1361
- put( actions.setTicketHasChanges( BLOCK_ID, false ) ),
1362
  ] )
1363
  );
1364
  expect( clone2.next( apiResponse1 ).value ).toEqual(
1365
- put( actions.setTicketIsLoading( BLOCK_ID, false ) )
1366
  );
1367
  expect( clone2.next().done ).toEqual( true );
1368
  } );
@@ -1371,11 +1413,11 @@ describe( 'Ticket Block sagas', () => {
1371
  describe( 'deleteTicket', () => {
1372
  it( 'should delete ticket', () => {
1373
  const TICKET_ID = 13;
1374
- const BLOCK_ID = 'modern-tribe';
1375
- const props = { blockId: BLOCK_ID };
1376
  const action = {
1377
  payload: {
1378
- blockId: BLOCK_ID,
1379
  },
1380
  };
1381
 
@@ -1397,16 +1439,12 @@ describe( 'Ticket Block sagas', () => {
1397
 
1398
 
1399
  expect( clone1.next( hasBeenCreated1 ).value ).toEqual(
1400
- put( actions.setTicketIsSelected( BLOCK_ID, false ) )
1401
  );
1402
  expect( clone1.next().value ).toEqual(
1403
- put( actions.removeTicketBlock( BLOCK_ID ) )
1404
- );
1405
- expect( JSON.stringify( clone1.next().value ) ).toEqual(
1406
- JSON.stringify(
1407
- call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ BLOCK_ID ] )
1408
- )
1409
  );
 
1410
  expect( clone1.next().done ).toEqual( true );
1411
 
1412
  const clone2 = gen.clone();
@@ -1417,16 +1455,12 @@ describe( 'Ticket Block sagas', () => {
1417
  ];
1418
 
1419
  expect( clone2.next( hasBeenCreated2 ).value ).toEqual(
1420
- put( actions.setTicketIsSelected( BLOCK_ID, false ) )
1421
  );
1422
  expect( clone2.next().value ).toEqual(
1423
- put( actions.removeTicketBlock( BLOCK_ID ) )
1424
- );
1425
- expect( JSON.stringify( clone2.next().value ) ).toEqual(
1426
- JSON.stringify(
1427
- call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ BLOCK_ID ] )
1428
- )
1429
  );
 
1430
  expect( clone2.next().value ).toEqual(
1431
  call( wpREST, {
1432
  path: `tickets/${ TICKET_ID }`,
@@ -1507,6 +1541,7 @@ describe( 'Ticket Block sagas', () => {
1507
 
1508
  describe( 'updateTicketsHeaderImage', () => {
1509
  it( 'should update tickets header image', () => {
 
1510
  const action = {
1511
  payload: {
1512
  image: {
@@ -1520,14 +1555,18 @@ describe( 'Ticket Block sagas', () => {
1520
  },
1521
  },
1522
  };
1523
- const gen = cloneableGenerator( sagas.updateTicketsHeaderImage )( action );
1524
 
1525
- expect( gen.next().value ).toEqual(
 
1526
  put( actions.setTicketsIsSettingsLoading( true ) )
1527
  );
 
 
 
1528
  expect( gen.next().value ).toEqual(
1529
  call( wpREST, {
1530
- path: `tribe_events/${ 10 }`,
1531
  headers: {
1532
  'Content-Type': 'application/json',
1533
  },
@@ -1542,48 +1581,102 @@ describe( 'Ticket Block sagas', () => {
1542
  } )
1543
  );
1544
 
1545
- const clone1 = gen.clone();
1546
- const apiResponseBad = {
1547
  response: {
1548
- ok: false,
1549
  },
1550
  };
1551
-
1552
- expect( clone1.next( apiResponseBad ).value ).toEqual(
 
 
 
 
 
 
 
 
 
 
1553
  put( actions.setTicketsIsSettingsLoading( false ) )
1554
  );
1555
- expect( clone1.next().done ).toEqual( true );
 
 
 
 
1556
 
1557
- const clone2 = gen.clone();
1558
- const apiResponseGood = {
1559
- response: {
1560
- ok: true,
 
 
 
 
 
 
 
 
 
1561
  },
1562
  };
 
1563
 
1564
- expect( clone2.next( apiResponseGood ).value ).toEqual(
1565
- put( actions.setTicketsHeaderImage( {
1566
- id: action.payload.image.id,
1567
- alt: action.payload.image.alt,
1568
- src: action.payload.image.sizes.medium.url,
1569
- } ) )
1570
  );
1571
- expect( clone2.next().value ).toEqual(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1572
  put( actions.setTicketsIsSettingsLoading( false ) )
1573
  );
1574
- expect( clone2.next().done ).toEqual( true );
 
 
 
1575
  } );
1576
  } );
1577
 
1578
  describe( 'deleteTicketsHeaderImage', () => {
1579
  it( 'should delete tickets header image', () => {
1580
- const gen = cloneableGenerator( sagas.deleteTicketsHeaderImage )();
1581
- expect( gen.next().value ).toEqual(
 
 
 
1582
  put( actions.setTicketsIsSettingsLoading( true ) )
1583
  );
 
 
 
1584
  expect( gen.next().value ).toEqual(
1585
  call( wpREST, {
1586
- path: `tribe_events/${ 10 }`,
1587
  headers: {
1588
  'Content-Type': 'application/json',
1589
  },
@@ -1598,32 +1691,67 @@ describe( 'Ticket Block sagas', () => {
1598
  } )
1599
  );
1600
 
1601
- const clone1 = gen.clone();
1602
- const apiResponseBad = {
1603
  response: {
1604
- ok: false,
1605
  },
1606
  };
1607
 
1608
- expect( clone1.next( apiResponseBad ).value ).toEqual(
 
 
 
 
 
 
1609
  put( actions.setTicketsIsSettingsLoading( false ) )
1610
  );
1611
- expect( clone1.next().done ).toEqual( true );
 
 
 
 
1612
 
1613
- const clone2 = gen.clone();
1614
- const apiResponseGood = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1615
  response: {
1616
- ok: true,
1617
  },
1618
  };
1619
-
1620
- expect( clone2.next( apiResponseGood ).value ).toEqual(
1621
- put( actions.setTicketsHeaderImage( HEADER_IMAGE_DEFAULT_STATE ) )
1622
- );
1623
- expect( clone2.next().value ).toEqual(
1624
  put( actions.setTicketsIsSettingsLoading( false ) )
1625
  );
1626
- expect( clone2.next().done ).toEqual( true );
 
 
 
1627
  } );
1628
  } );
1629
 
@@ -1646,10 +1774,10 @@ describe( 'Ticket Block sagas', () => {
1646
  const capacityType = 'own';
1647
  const capacity = 100;
1648
 
1649
- const BLOCK_ID = 'modern-tribe';
1650
  const action = {
1651
  payload: {
1652
- blockId: BLOCK_ID,
1653
  details: {
1654
  title,
1655
  description,
@@ -1674,22 +1802,22 @@ describe( 'Ticket Block sagas', () => {
1674
  const gen = sagas.setTicketDetails( action );
1675
  expect( gen.next().value ).toEqual(
1676
  all( [
1677
- put( actions.setTicketTitle( BLOCK_ID, title ) ),
1678
- put( actions.setTicketDescription( BLOCK_ID, description ) ),
1679
- put( actions.setTicketPrice( BLOCK_ID, price ) ),
1680
- put( actions.setTicketSku( BLOCK_ID, sku ) ),
1681
- put( actions.setTicketStartDate( BLOCK_ID, startDate ) ),
1682
- put( actions.setTicketStartDateInput( BLOCK_ID, startDateInput ) ),
1683
- put( actions.setTicketStartDateMoment( BLOCK_ID, startDateMoment ) ),
1684
- put( actions.setTicketEndDate( BLOCK_ID, endDate ) ),
1685
- put( actions.setTicketEndDateInput( BLOCK_ID, endDateInput ) ),
1686
- put( actions.setTicketEndDateMoment( BLOCK_ID, endDateMoment ) ),
1687
- put( actions.setTicketStartTime( BLOCK_ID, startTime ) ),
1688
- put( actions.setTicketEndTime( BLOCK_ID, endTime ) ),
1689
- put( actions.setTicketStartTimeInput( BLOCK_ID, startTimeInput ) ),
1690
- put( actions.setTicketEndTimeInput( BLOCK_ID, endTimeInput ) ),
1691
- put( actions.setTicketCapacityType( BLOCK_ID, capacityType ) ),
1692
- put( actions.setTicketCapacity( BLOCK_ID, capacity ) ),
1693
  ] )
1694
  );
1695
  expect( gen.next().done ).toEqual( true );
@@ -1715,10 +1843,10 @@ describe( 'Ticket Block sagas', () => {
1715
  const capacityType = 'own';
1716
  const capacity = 100;
1717
 
1718
- const BLOCK_ID = 'modern-tribe';
1719
  const action = {
1720
  payload: {
1721
- blockId: BLOCK_ID,
1722
  tempDetails: {
1723
  title,
1724
  description,
@@ -1743,22 +1871,22 @@ describe( 'Ticket Block sagas', () => {
1743
  const gen = sagas.setTicketTempDetails( action );
1744
  expect( gen.next().value ).toEqual(
1745
  all( [
1746
- put( actions.setTicketTempTitle( BLOCK_ID, title ) ),
1747
- put( actions.setTicketTempDescription( BLOCK_ID, description ) ),
1748
- put( actions.setTicketTempPrice( BLOCK_ID, price ) ),
1749
- put( actions.setTicketTempSku( BLOCK_ID, sku ) ),
1750
- put( actions.setTicketTempStartDate( BLOCK_ID, startDate ) ),
1751
- put( actions.setTicketTempStartDateInput( BLOCK_ID, startDateInput ) ),
1752
- put( actions.setTicketTempStartDateMoment( BLOCK_ID, startDateMoment ) ),
1753
- put( actions.setTicketTempEndDate( BLOCK_ID, endDate ) ),
1754
- put( actions.setTicketTempEndDateInput( BLOCK_ID, endDateInput ) ),
1755
- put( actions.setTicketTempEndDateMoment( BLOCK_ID, endDateMoment ) ),
1756
- put( actions.setTicketTempStartTime( BLOCK_ID, startTime ) ),
1757
- put( actions.setTicketTempEndTime( BLOCK_ID, endTime ) ),
1758
- put( actions.setTicketTempStartTimeInput( BLOCK_ID, startTimeInput ) ),
1759
- put( actions.setTicketTempEndTimeInput( BLOCK_ID, endTimeInput ) ),
1760
- put( actions.setTicketTempCapacityType( BLOCK_ID, capacityType ) ),
1761
- put( actions.setTicketTempCapacity( BLOCK_ID, capacity ) ),
1762
  ] )
1763
  );
1764
  expect( gen.next().done ).toEqual( true );
@@ -1771,7 +1899,7 @@ describe( 'Ticket Block sagas', () => {
1771
  beforeEach( () => {
1772
  action = {
1773
  payload: {
1774
- blockId: 'tribe',
1775
  date: undefined,
1776
  dayPickerInput: {
1777
  state: {
@@ -1787,13 +1915,13 @@ describe( 'Ticket Block sagas', () => {
1787
  expect( gen.next().value ).toEqual( undefined );
1788
  expect( gen.next( undefined ).value ).toEqual( '' );
1789
  expect( gen.next( '' ).value ).toEqual(
1790
- put( actions.setTicketTempStartDate( action.payload.blockId, '' ) )
1791
  );
1792
  expect( gen.next().value ).toEqual(
1793
- put( actions.setTicketTempStartDateInput( action.payload.blockId, action.payload.dayPickerInput.state.value ) )
1794
  );
1795
  expect( gen.next().value ).toEqual(
1796
- put( actions.setTicketTempStartDateMoment( action.payload.blockId, undefined ) )
1797
  );
1798
  expect( gen.next().done ).toEqual( true );
1799
  } );
@@ -1809,13 +1937,13 @@ describe( 'Ticket Block sagas', () => {
1809
  call( momentUtil.toDatabaseDate, action.payload.date )
1810
  );
1811
  expect( gen.next( action.payload.date ).value ).toEqual(
1812
- put( actions.setTicketTempStartDate( action.payload.blockId, action.payload.date ) )
1813
  );
1814
  expect( gen.next().value ).toEqual(
1815
- put( actions.setTicketTempStartDateInput( action.payload.blockId, action.payload.dayPickerInput.state.value ) )
1816
  );
1817
  expect( gen.next().value ).toEqual(
1818
- put( actions.setTicketTempStartDateMoment( action.payload.blockId, action.payload.date ) )
1819
  );
1820
  expect( gen.next().done ).toEqual( true );
1821
  } );
@@ -1827,7 +1955,7 @@ describe( 'Ticket Block sagas', () => {
1827
  beforeEach( () => {
1828
  action = {
1829
  payload: {
1830
- blockId: 'tribe',
1831
  date: undefined,
1832
  dayPickerInput: {
1833
  state: {
@@ -1843,13 +1971,13 @@ describe( 'Ticket Block sagas', () => {
1843
  expect( gen.next().value ).toEqual( undefined );
1844
  expect( gen.next( undefined ).value ).toEqual( '' );
1845
  expect( gen.next( '' ).value ).toEqual(
1846
- put( actions.setTicketTempEndDate( action.payload.blockId, '' ) )
1847
  );
1848
  expect( gen.next().value ).toEqual(
1849
- put( actions.setTicketTempEndDateInput( action.payload.blockId, action.payload.dayPickerInput.state.value ) )
1850
  );
1851
  expect( gen.next().value ).toEqual(
1852
- put( actions.setTicketTempEndDateMoment( action.payload.blockId, undefined ) )
1853
  );
1854
  expect( gen.next().done ).toEqual( true );
1855
  } );
@@ -1865,13 +1993,13 @@ describe( 'Ticket Block sagas', () => {
1865
  call( momentUtil.toDatabaseDate, action.payload.date )
1866
  );
1867
  expect( gen.next( action.payload.date ).value ).toEqual(
1868
- put( actions.setTicketTempEndDate( action.payload.blockId, action.payload.date ) )
1869
  );
1870
  expect( gen.next().value ).toEqual(
1871
- put( actions.setTicketTempEndDateInput( action.payload.blockId, action.payload.dayPickerInput.state.value ) )
1872
  );
1873
  expect( gen.next().value ).toEqual(
1874
- put( actions.setTicketTempEndDateMoment( action.payload.blockId, action.payload.date ) )
1875
  );
1876
  expect( gen.next().done ).toEqual( true );
1877
  } );
@@ -1881,7 +2009,7 @@ describe( 'Ticket Block sagas', () => {
1881
  it( 'should handle ticket start time', () => {
1882
  const action = {
1883
  payload: {
1884
- blockId: 'tribe',
1885
  seconds: 3600,
1886
  },
1887
  };
@@ -1891,7 +2019,7 @@ describe( 'Ticket Block sagas', () => {
1891
  call( timeUtil.fromSeconds, action.payload.seconds, timeUtil.TIME_FORMAT_HH_MM )
1892
  );
1893
  expect( gen.next( startTime ).value ).toEqual(
1894
- put( actions.setTicketTempStartTime( action.payload.blockId, `${ startTime }:00` ) )
1895
  );
1896
  expect( gen.next().done ).toEqual( true );
1897
  } );
@@ -1902,7 +2030,7 @@ describe( 'Ticket Block sagas', () => {
1902
  const startTimeInput = '01:00';
1903
  const action = {
1904
  payload: {
1905
- blockId: 'tribe',
1906
  seconds: 3600,
1907
  },
1908
  };
@@ -1917,7 +2045,7 @@ describe( 'Ticket Block sagas', () => {
1917
  call( momentUtil.toTime, startTimeInput )
1918
  );
1919
  expect( gen.next( startTimeInput ).value ).toEqual(
1920
- put( actions.setTicketTempStartTimeInput( action.payload.blockId, startTimeInput ) )
1921
  );
1922
  expect( gen.next().done ).toEqual( true );
1923
  } );
@@ -1927,7 +2055,7 @@ describe( 'Ticket Block sagas', () => {
1927
  it( 'should handle ticket end time', () => {
1928
  const action = {
1929
  payload: {
1930
- blockId: 'tribe',
1931
  seconds: 3600,
1932
  },
1933
  };
@@ -1937,7 +2065,7 @@ describe( 'Ticket Block sagas', () => {
1937
  call( timeUtil.fromSeconds, action.payload.seconds, timeUtil.TIME_FORMAT_HH_MM )
1938
  );
1939
  expect( gen.next( endTime ).value ).toEqual(
1940
- put( actions.setTicketTempEndTime( action.payload.blockId, `${ endTime }:00` ) )
1941
  );
1942
  expect( gen.next().done ).toEqual( true );
1943
  } );
@@ -1948,7 +2076,7 @@ describe( 'Ticket Block sagas', () => {
1948
  const startTimeInput = '01:00';
1949
  const action = {
1950
  payload: {
1951
- blockId: 'tribe',
1952
  seconds: 3600,
1953
  },
1954
  };
@@ -1963,7 +2091,7 @@ describe( 'Ticket Block sagas', () => {
1963
  call( momentUtil.toTime, startTimeInput )
1964
  );
1965
  expect( gen.next( startTimeInput ).value ).toEqual(
1966
- put( actions.setTicketTempStartTimeInput( action.payload.blockId, startTimeInput ) )
1967
  );
1968
  expect( gen.next().done ).toEqual( true );
1969
  } );
@@ -1974,10 +2102,10 @@ describe( 'Ticket Block sagas', () => {
1974
  const ticketIds = [ 42 ];
1975
  const gen = cloneableGenerator( sagas.handleTicketMove )();
1976
  expect( gen.next().value ).toEqual(
1977
- select( selectors.getAllTicketIds )
1978
  );
1979
  expect( gen.next( ticketIds ).value ).toEqual(
1980
- select( moveSelectors.getModalBlockId )
1981
  );
1982
 
1983
  const clone1 = gen.clone();
@@ -1990,11 +2118,7 @@ describe( 'Ticket Block sagas', () => {
1990
  expect( clone2.next().value ).toEqual(
1991
  put( actions.removeTicketBlock( 42 ) )
1992
  );
1993
- expect( JSON.stringify( clone2.next().value ) ).toEqual(
1994
- JSON.stringify(
1995
- call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ 42 ] )
1996
- )
1997
- );
1998
  expect( clone2.next().done ).toEqual( true );
1999
  } );
2000
  } );
18
  import watchers, * as sagas from '../sagas';
19
  import * as selectors from '../selectors';
20
  import {
21
+ DEFAULT_STATE as TICKET_HEADER_IMAGE_DEFAULT_STATE
22
  } from '../reducers/header-image';
23
+ import * as rsvpActions from '@moderntribe/tickets/data/blocks/rsvp/actions';
24
+ import {
25
+ DEFAULT_STATE as RSVP_HEADER_IMAGE_DEFAULT_STATE
26
+ } from '@moderntribe/tickets/data/blocks/rsvp/reducers/header-image';
27
  import { MOVE_TICKET_SUCCESS } from '@moderntribe/tickets/data/shared/move/types';
28
  import * as moveSelectors from '@moderntribe/tickets/data/shared/move/selectors';
29
  import * as utils from '@moderntribe/tickets/data/utils';
50
  getBlockCount: () => {},
51
  getBlocks: () => {},
52
  getCurrentPostId: () => 10,
53
+ getCurrentPostAttribute: () => {},
54
  getEditedPostAttribute: ( attr ) => {
55
  if ( attr === 'date' ) {
56
  return '2018-11-09T19:48:42';
60
  }
61
  },
62
  dispatch: () => ( {
63
+ editPost: () => {},
64
  insertBlocks: () => {},
65
  removeBlocks: () => {},
66
  } ),
74
  expect( gen.next().value ).toEqual(
75
  takeEvery( [
76
  types.SET_TICKETS_INITIAL_STATE,
77
+ types.RESET_TICKETS_BLOCK,
78
  types.SET_TICKET_INITIAL_STATE,
79
  types.FETCH_TICKET,
80
  types.CREATE_NEW_TICKET,
115
  expect( gen.next().done ).toEqual( true );
116
  } );
117
 
118
+ it( 'should reset tickets block', () => {
119
+ action.type = types.RESET_TICKETS_BLOCK;
120
+ const gen = sagas.handler( action );
121
+ expect( gen.next().value ).toEqual(
122
+ call( sagas.resetTicketsBlock )
123
+ );
124
+ expect( gen.next().done ).toEqual( true );
125
+ } );
126
+
127
  it( 'should set ticket initial state', () => {
128
  action.type = types.SET_TICKET_INITIAL_STATE;
129
  const gen = sagas.handler( action );
216
 
217
  it( 'should handle ticket start date', () => {
218
  action.type = types.HANDLE_TICKET_START_DATE;
219
+ action.payload = { clientId: 'tribe' };
220
  const gen = sagas.handler( action );
221
  expect( gen.next().value ).toEqual(
222
  call( sagas.handleTicketStartDate, action )
223
  );
224
  expect( gen.next().value ).toEqual(
225
+ put( actions.setTicketHasChanges( action.payload.clientId, true ) )
226
  );
227
  expect( gen.next().done ).toEqual( true );
228
  } );
229
 
230
  it( 'should handle ticket end date', () => {
231
  action.type = types.HANDLE_TICKET_END_DATE;
232
+ action.payload = { clientId: 'tribe' };
233
  const gen = sagas.handler( action );
234
  expect( gen.next().value ).toEqual(
235
  call( sagas.handleTicketEndDate, action )
236
  );
237
  expect( gen.next().value ).toEqual(
238
+ put( actions.setTicketHasChanges( action.payload.clientId, true ) )
239
  );
240
  expect( gen.next().done ).toEqual( true );
241
  } );
242
 
243
  it( 'should handle ticket start time', () => {
244
  action.type = types.HANDLE_TICKET_START_TIME;
245
+ action.payload = { clientId: 'tribe' };
246
  const gen = sagas.handler( action );
247
  expect( gen.next().value ).toEqual(
248
  call( sagas.handleTicketStartTime, action )
251
  call( sagas.handleTicketStartTimeInput, action )
252
  );
253
  expect( gen.next().value ).toEqual(
254
+ put( actions.setTicketHasChanges( action.payload.clientId, true ) )
255
  );
256
  expect( gen.next().done ).toEqual( true );
257
  } );
258
 
259
  it( 'should handle ticket end time', () => {
260
  action.type = types.HANDLE_TICKET_END_TIME;
261
+ action.payload = { clientId: 'tribe' };
262
  const gen = sagas.handler( action );
263
  expect( gen.next().value ).toEqual(
264
  call( sagas.handleTicketEndTime, action )
267
  call( sagas.handleTicketEndTimeInput, action )
268
  );
269
  expect( gen.next().value ).toEqual(
270
+ put( actions.setTicketHasChanges( action.payload.clientId, true ) )
271
  );
272
  expect( gen.next().done ).toEqual( true );
273
  } );
299
  expect( gen.next( wpDispatchCoreEditor ).value ).toEqual(
300
  call( wpSelect, 'core/editor' )
301
  );
302
+ expect( gen.next( wpSelectCoreEditor ).value ).toMatchSnapshot();
 
 
 
 
303
  expect( gen.next( [] ).done ).toEqual( true );
304
  } );
305
  } );
418
  } );
419
  } );
420
 
421
+ describe( 'resetTicketsBlock', () => {
422
+ it( 'should reset tickets block', () => {
423
+ const gen = sagas.resetTicketsBlock();
424
+ expect( gen.next().value ).toEqual(
425
+ select( selectors.hasCreatedTickets )
426
+ );
427
+ expect( gen.next( false ).value ).toEqual(
428
+ all( [
429
+ put( actions.removeTicketBlocks() ),
430
+ put( actions.setTicketsIsSettingsOpen( false ) ),
431
+ ] )
432
+ );
433
+ expect( gen.next().value ).toMatchSnapshot();
434
+ expect( gen.next( {} ).value ).toMatchSnapshot();
435
+ expect( gen.next().value ).toEqual(
436
+ all( [
437
+ put( actions.setTicketsSharedCapacity( '' ) ),
438
+ put( actions.setTicketsTempSharedCapacity( '' ) ),
439
+ ] )
440
+ );
441
+ expect( gen.next().done ).toEqual( true );
442
+ } );
443
+
444
+ it( 'should not reset tickets block', () => {
445
+ const gen = sagas.resetTicketsBlock();
446
+ expect( gen.next().value ).toEqual(
447
+ select( selectors.hasCreatedTickets )
448
+ );
449
+ expect( gen.next( true ).value ).toEqual(
450
+ all( [
451
+ put( actions.removeTicketBlocks() ),
452
+ put( actions.setTicketsIsSettingsOpen( false ) ),
453
+ ] )
454
+ );
455
+ expect( gen.next().done ).toEqual( true );
456
+ } );
457
+ } );
458
+
459
  describe( 'setTicketInitialState', () => {
460
  let publishDate,
461
  startMoment,
516
  };
517
 
518
  const gen = cloneableGenerator( sagas.setTicketInitialState )( action );
519
+ expect( gen.next().value ).toMatchSnapshot();
 
 
 
 
520
  expect( gen.next( publishDate ).value ).toEqual(
521
  call( momentUtil.toMoment, publishDate )
522
  );
631
  global.tribe.events.data.blocks.datetime.selectors.getStart = jest.fn();
632
 
633
  const gen = cloneableGenerator( sagas.setTicketInitialState )( action );
634
+ expect( gen.next().value ).toMatchSnapshot();
 
 
 
 
635
  expect( gen.next( publishDate ).value ).toEqual(
636
  call( momentUtil.toMoment, publishDate )
637
  );
718
 
719
  describe( 'setBodyDetails', () => {
720
  it( 'should set body details', () => {
721
+ const clientId = 'modern-tribe';
722
+ const props = { clientId };
723
+ const gen = cloneableGenerator( sagas.setBodyDetails )( clientId );
724
 
725
  expect( gen.next().value ).toEqual(
726
  select( selectors.getTicketProvider, props )
780
  describe( 'fetchTicket', () => {
781
  it( 'should fetch ticket', () => {
782
  const TICKET_ID = 13;
783
+ const CLIENT_ID = 'modern-tribe';
784
  const action = {
785
  payload: {
786
  ticketId: TICKET_ID,
787
+ clientId: CLIENT_ID,
788
  },
789
  };
790
 
791
  const gen = cloneableGenerator( sagas.fetchTicket )( action );
792
  expect( gen.next().value ).toEqual(
793
+ put( actions.setTicketIsLoading( CLIENT_ID, true ) )
794
  );
795
  expect( gen.next().value ).toEqual(
796
  call( wpREST, {
808
  };
809
 
810
  expect( clone1.next( apiResponse1 ).value ).toEqual(
811
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
812
  );
813
  expect( clone1.next().done ).toEqual( true );
814
 
886
 
887
  expect( clone2.next( endMoment2 ).value ).toEqual(
888
  all( [
889
+ put( actions.setTicketDetails( CLIENT_ID, details2 ) ),
890
+ put( actions.setTicketTempDetails( CLIENT_ID, details2 ) ),
891
+ put( actions.setTicketSold( CLIENT_ID, apiResponse2.data.totals.sold ) ),
892
+ put( actions.setTicketAvailable( CLIENT_ID, apiResponse2.data.totals.stock ) ),
893
+ put( actions.setTicketCurrencySymbol( CLIENT_ID, apiResponse2.data.cost_details.currency_symbol ) ),
894
+ put( actions.setTicketCurrencyPosition( CLIENT_ID, apiResponse2.data.cost_details.currency_position ) ),
895
+ put( actions.setTicketProvider( CLIENT_ID, apiResponse2.data.provider ) ),
896
+ put( actions.setTicketHasBeenCreated( CLIENT_ID, true ) ),
897
  ] )
898
  );
899
  expect( clone2.next().value ).toEqual(
900
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
901
  );
902
  expect( clone2.next().done ).toEqual( true );
903
 
991
 
992
  expect( clone3.next( startTimeInput3 ).value ).toEqual(
993
  all( [
994
+ put( actions.setTicketDetails( CLIENT_ID, details3 ) ),
995
+ put( actions.setTicketTempDetails( CLIENT_ID, details3 ) ),
996
+ put( actions.setTicketSold( CLIENT_ID, apiResponse3.data.totals.sold ) ),
997
+ put( actions.setTicketAvailable( CLIENT_ID, apiResponse3.data.totals.stock ) ),
998
+ put( actions.setTicketCurrencySymbol( CLIENT_ID, apiResponse3.data.cost_details.currency_symbol ) ),
999
+ put( actions.setTicketCurrencyPosition( CLIENT_ID, apiResponse3.data.cost_details.currency_position ) ),
1000
+ put( actions.setTicketProvider( CLIENT_ID, apiResponse3.data.provider ) ),
1001
+ put( actions.setTicketHasBeenCreated( CLIENT_ID, true ) ),
1002
  ] )
1003
  );
1004
  expect( clone3.next().value ).toEqual(
1005
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1006
  );
1007
  expect( clone3.next().done ).toEqual( true );
1008
  } );
1009
 
1010
  it( 'should not fetch ticket if new ticket', () => {
1011
  const TICKET_ID = 0;
1012
+ const CLIENT_ID = 'modern-tribe';
1013
  const action = {
1014
  payload: {
1015
  ticketId: TICKET_ID,
1016
+ clientId: CLIENT_ID,
1017
  },
1018
  };
1019
 
1041
  const capacityType = 'own';
1042
  const capacity = 100;
1043
 
1044
+ const CLIENT_ID = 'modern-tribe';
1045
+ const props = { clientId: CLIENT_ID };
1046
  const action = {
1047
  payload: {
1048
+ clientId: CLIENT_ID,
1049
  },
1050
  };
1051
 
1052
  const gen = cloneableGenerator( sagas.createNewTicket )( action );
1053
  expect( gen.next().value ).toEqual(
1054
+ call( sagas.setBodyDetails, CLIENT_ID )
1055
  );
1056
 
1057
  const body = new FormData();
1058
 
1059
  expect( gen.next( body ).value ).toEqual(
1060
+ put( actions.setTicketIsLoading( CLIENT_ID, true ) )
1061
  );
1062
  expect( gen.next().value ).toEqual(
1063
  call( wpREST, {
1136
  capacity,
1137
  ] ).value ).toEqual(
1138
  all( [
1139
+ put( actions.setTicketDetails( CLIENT_ID, {
1140
  title,
1141
  description,
1142
  price,
1154
  capacityType,
1155
  capacity,
1156
  } ) ),
1157
+ put( actions.setTicketId( CLIENT_ID, apiResponse1.data.ID ) ),
1158
+ put( actions.setTicketHasBeenCreated( CLIENT_ID, true ) ),
1159
+ put( actions.setTicketAvailable( CLIENT_ID, apiResponse1.data.capacity ) ),
1160
  put( actions.setTicketProvider(
1161
+ CLIENT_ID,
1162
  PROVIDER_CLASS_TO_PROVIDER_MAPPING[ apiResponse1.data.provider_class ],
1163
  ) ),
1164
+ put( actions.setTicketHasChanges( CLIENT_ID, false ) ),
1165
  ] )
1166
  );
1167
  expect( clone11.next().value ).toEqual(
1168
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1169
  );
1170
  expect( clone11.next().done ).toEqual( true );
1171
 
1216
  capacity,
1217
  ] ).value ).toEqual(
1218
  all( [
1219
+ put( actions.setTicketDetails( CLIENT_ID, {
1220
  title,
1221
  description,
1222
  price,
1234
  capacityType,
1235
  capacity,
1236
  } ) ),
1237
+ put( actions.setTicketId( CLIENT_ID, apiResponse1.data.ID ) ),
1238
+ put( actions.setTicketHasBeenCreated( CLIENT_ID, true ) ),
1239
+ put( actions.setTicketAvailable( CLIENT_ID, apiResponse1.data.capacity ) ),
1240
  put( actions.setTicketProvider(
1241
+ CLIENT_ID,
1242
  PROVIDER_CLASS_TO_PROVIDER_MAPPING[ apiResponse1.data.provider_class ],
1243
  ) ),
1244
+ put( actions.setTicketHasChanges( CLIENT_ID, false ) ),
1245
  ] )
1246
  );
1247
  expect( clone12.next().value ).toEqual(
1248
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1249
  );
1250
  expect( clone12.next().done ).toEqual( true );
1251
 
1257
  };
1258
 
1259
  expect( clone2.next( apiResponse2 ).value ).toEqual(
1260
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1261
  );
1262
  expect( clone2.next().done ).toEqual( true );
1263
  } );
1283
  const capacity = 100;
1284
 
1285
  const TICKET_ID = 13;
1286
+ const CLIENT_ID = 'modern-tribe';
1287
+ const props = { clientId: CLIENT_ID };
1288
  const action = {
1289
  payload: {
1290
+ clientId: CLIENT_ID,
1291
  },
1292
  };
1293
 
1294
  const gen = cloneableGenerator( sagas.updateTicket )( action );
1295
  expect( gen.next().value ).toEqual(
1296
+ call( sagas.setBodyDetails, CLIENT_ID )
1297
  );
1298
 
1299
  const body = new FormData();
1302
  select( selectors.getTicketId, props )
1303
  );
1304
  expect( gen.next( TICKET_ID ).value ).toEqual(
1305
+ put( actions.setTicketIsLoading( CLIENT_ID, true ) )
1306
  );
1307
 
1308
  const data = [];
1332
  };
1333
 
1334
  expect( clone1.next( apiResponse1 ).value ).toEqual(
1335
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1336
  );
1337
  expect( clone1.next().done ).toEqual( true );
1338
 
1382
  capacity,
1383
  ] ).value ).toEqual(
1384
  all( [
1385
+ put( actions.setTicketDetails( CLIENT_ID, {
1386
  title,
1387
  description,
1388
  price,
1400
  capacityType,
1401
  capacity,
1402
  } ) ),
1403
+ put( actions.setTicketHasChanges( CLIENT_ID, false ) ),
1404
  ] )
1405
  );
1406
  expect( clone2.next( apiResponse1 ).value ).toEqual(
1407
+ put( actions.setTicketIsLoading( CLIENT_ID, false ) )
1408
  );
1409
  expect( clone2.next().done ).toEqual( true );
1410
  } );
1413
  describe( 'deleteTicket', () => {
1414
  it( 'should delete ticket', () => {
1415
  const TICKET_ID = 13;
1416
+ const CLIENT_ID = 'modern-tribe';
1417
+ const props = { clientId: CLIENT_ID };
1418
  const action = {
1419
  payload: {
1420
+ clientId: CLIENT_ID,
1421
  },
1422
  };
1423
 
1439
 
1440
 
1441
  expect( clone1.next( hasBeenCreated1 ).value ).toEqual(
1442
+ put( actions.setTicketIsSelected( CLIENT_ID, false ) )
1443
  );
1444
  expect( clone1.next().value ).toEqual(
1445
+ put( actions.removeTicketBlock( CLIENT_ID ) )
 
 
 
 
 
1446
  );
1447
+ expect( clone1.next().value ).toMatchSnapshot();
1448
  expect( clone1.next().done ).toEqual( true );
1449
 
1450
  const clone2 = gen.clone();
1455
  ];
1456
 
1457
  expect( clone2.next( hasBeenCreated2 ).value ).toEqual(
1458
+ put( actions.setTicketIsSelected( CLIENT_ID, false ) )
1459
  );
1460
  expect( clone2.next().value ).toEqual(
1461
+ put( actions.removeTicketBlock( CLIENT_ID ) )
 
 
 
 
 
1462
  );
1463
+ expect( clone2.next().value ).toMatchSnapshot();
1464
  expect( clone2.next().value ).toEqual(
1465
  call( wpREST, {
1466
  path: `tickets/${ TICKET_ID }`,
1541
 
1542
  describe( 'updateTicketsHeaderImage', () => {
1543
  it( 'should update tickets header image', () => {
1544
+ const postId = 10;
1545
  const action = {
1546
  payload: {
1547
  image: {
1555
  },
1556
  },
1557
  };
1558
+ const gen = sagas.updateTicketsHeaderImage( action );
1559
 
1560
+ expect( gen.next().value ).toMatchSnapshot();
1561
+ expect( gen.next( postId ).value ).toEqual(
1562
  put( actions.setTicketsIsSettingsLoading( true ) )
1563
  );
1564
+ expect( gen.next().value ).toEqual(
1565
+ put( rsvpActions.setRSVPIsSettingsLoading( true ) )
1566
+ );
1567
  expect( gen.next().value ).toEqual(
1568
  call( wpREST, {
1569
+ path: `tribe_events/${ postId }`,
1570
  headers: {
1571
  'Content-Type': 'application/json',
1572
  },
1581
  } )
1582
  );
1583
 
1584
+ const apiResponse = {
 
1585
  response: {
1586
+ ok: true,
1587
  },
1588
  };
1589
+ const headerImage = {
1590
+ id: action.payload.image.id,
1591
+ alt: action.payload.image.alt,
1592
+ src: action.payload.image.sizes.medium.url,
1593
+ };
1594
+ expect( gen.next( apiResponse ).value ).toEqual(
1595
+ put( actions.setTicketsHeaderImage( headerImage ) )
1596
+ );
1597
+ expect( gen.next().value ).toEqual(
1598
+ put( rsvpActions.setRSVPHeaderImage( headerImage ) )
1599
+ );
1600
+ expect( gen.next().value ).toEqual(
1601
  put( actions.setTicketsIsSettingsLoading( false ) )
1602
  );
1603
+ expect( gen.next().value ).toEqual(
1604
+ put( rsvpActions.setRSVPIsSettingsLoading( false ) )
1605
+ );
1606
+ expect( gen.next().done ).toEqual( true );
1607
+ } );
1608
 
1609
+ it( 'should not update tickets header image', () => {
1610
+ const postId = 10;
1611
+ const action = {
1612
+ payload: {
1613
+ image: {
1614
+ id: 99,
1615
+ alt: 'tribe',
1616
+ sizes: {
1617
+ medium: {
1618
+ url: '#',
1619
+ },
1620
+ },
1621
+ },
1622
  },
1623
  };
1624
+ const gen = sagas.updateTicketsHeaderImage( action );
1625
 
1626
+ expect( gen.next().value ).toMatchSnapshot();
1627
+ expect( gen.next( postId ).value ).toEqual(
1628
+ put( actions.setTicketsIsSettingsLoading( true ) )
 
 
 
1629
  );
1630
+ expect( gen.next().value ).toEqual(
1631
+ put( rsvpActions.setRSVPIsSettingsLoading( true ) )
1632
+ );
1633
+ expect( gen.next().value ).toEqual(
1634
+ call( wpREST, {
1635
+ path: `tribe_events/${ postId }`,
1636
+ headers: {
1637
+ 'Content-Type': 'application/json',
1638
+ },
1639
+ initParams: {
1640
+ method: 'PUT',
1641
+ body: JSON.stringify( {
1642
+ meta: {
1643
+ [ utils.KEY_TICKET_HEADER ]: `${ action.payload.image.id }`,
1644
+ },
1645
+ } ),
1646
+ },
1647
+ } )
1648
+ );
1649
+
1650
+ const apiResponse = {
1651
+ response: {
1652
+ ok: false,
1653
+ },
1654
+ };
1655
+ expect( gen.next( apiResponse ).value ).toEqual(
1656
  put( actions.setTicketsIsSettingsLoading( false ) )
1657
  );
1658
+ expect( gen.next().value ).toEqual(
1659
+ put( rsvpActions.setRSVPIsSettingsLoading( false ) )
1660
+ );
1661
+ expect( gen.next().done ).toEqual( true );
1662
  } );
1663
  } );
1664
 
1665
  describe( 'deleteTicketsHeaderImage', () => {
1666
  it( 'should delete tickets header image', () => {
1667
+ const postId = 10;
1668
+
1669
+ const gen = sagas.deleteTicketsHeaderImage();
1670
+ expect( gen.next().value ).toMatchSnapshot();
1671
+ expect( gen.next( postId ).value ).toEqual(
1672
  put( actions.setTicketsIsSettingsLoading( true ) )
1673
  );
1674
+ expect( gen.next().value ).toEqual(
1675
+ put( rsvpActions.setRSVPIsSettingsLoading( true ) )
1676
+ );
1677
  expect( gen.next().value ).toEqual(
1678
  call( wpREST, {
1679
+ path: `tribe_events/${ postId }`,
1680
  headers: {
1681
  'Content-Type': 'application/json',
1682
  },
1691
  } )
1692
  );
1693
 
1694
+ const apiResponse = {
 
1695
  response: {
1696
+ ok: true,
1697
  },
1698
  };
1699
 
1700
+ expect( gen.next( apiResponse ).value ).toEqual(
1701
+ put( actions.setTicketsHeaderImage( TICKET_HEADER_IMAGE_DEFAULT_STATE ) )
1702
+ );
1703
+ expect( gen.next().value ).toEqual(
1704
+ put( rsvpActions.setRSVPHeaderImage( RSVP_HEADER_IMAGE_DEFAULT_STATE ) )
1705
+ );
1706
+ expect( gen.next().value ).toEqual(
1707
  put( actions.setTicketsIsSettingsLoading( false ) )
1708
  );
1709
+ expect( gen.next().value ).toEqual(
1710
+ put( rsvpActions.setRSVPIsSettingsLoading( false ) )
1711
+ );
1712
+ expect( gen.next().done ).toEqual( true );
1713
+ } );
1714
 
1715
+ it( 'should not delete tickets header image', () => {
1716
+ const postId = 10;
1717
+
1718
+ const gen = sagas.deleteTicketsHeaderImage();
1719
+ expect( gen.next().value ).toMatchSnapshot();
1720
+ expect( gen.next( postId ).value ).toEqual(
1721
+ put( actions.setTicketsIsSettingsLoading( true ) )
1722
+ );
1723
+ expect( gen.next().value ).toEqual(
1724
+ put( rsvpActions.setRSVPIsSettingsLoading( true ) )
1725
+ );
1726
+ expect( gen.next().value ).toEqual(
1727
+ call( wpREST, {
1728
+ path: `tribe_events/${ postId }`,
1729
+ headers: {
1730
+ 'Content-Type': 'application/json',
1731
+ },
1732
+ initParams: {
1733
+ method: 'PUT',
1734
+ body: JSON.stringify( {
1735
+ meta: {
1736
+ [ utils.KEY_TICKET_HEADER ]: null,
1737
+ },
1738
+ } ),
1739
+ },
1740
+ } )
1741
+ );
1742
+
1743
+ const apiResponse = {
1744
  response: {
1745
+ ok: false,
1746
  },
1747
  };
1748
+ expect( gen.next( apiResponse ).value ).toEqual(
 
 
 
 
1749
  put( actions.setTicketsIsSettingsLoading( false ) )
1750
  );
1751
+ expect( gen.next().value ).toEqual(
1752
+ put( rsvpActions.setRSVPIsSettingsLoading( false ) )
1753
+ );
1754
+ expect( gen.next().done ).toEqual( true );
1755
  } );
1756
  } );
1757
 
1774
  const capacityType = 'own';
1775
  const capacity = 100;
1776
 
1777
+ const CLIENT_ID = 'modern-tribe';
1778
  const action = {
1779
  payload: {
1780
+ clientId: CLIENT_ID,
1781
  details: {
1782
  title,
1783
  description,
1802
  const gen = sagas.setTicketDetails( action );
1803
  expect( gen.next().value ).toEqual(
1804
  all( [
1805
+ put( actions.setTicketTitle( CLIENT_ID, title ) ),
1806
+ put( actions.setTicketDescription( CLIENT_ID, description ) ),
1807
+ put( actions.setTicketPrice( CLIENT_ID, price ) ),
1808
+ put( actions.setTicketSku( CLIENT_ID, sku ) ),
1809
+ put( actions.setTicketStartDate( CLIENT_ID, startDate ) ),
1810
+ put( actions.setTicketStartDateInput( CLIENT_ID, startDateInput ) ),
1811
+ put( actions.setTicketStartDateMoment( CLIENT_ID, startDateMoment ) ),
1812
+ put( actions.setTicketEndDate( CLIENT_ID, endDate ) ),
1813
+ put( actions.setTicketEndDateInput( CLIENT_ID, endDateInput ) ),
1814
+ put( actions.setTicketEndDateMoment( CLIENT_ID, endDateMoment ) ),
1815
+ put( actions.setTicketStartTime( CLIENT_ID, startTime ) ),
1816
+ put( actions.setTicketEndTime( CLIENT_ID, endTime ) ),
1817
+ put( actions.setTicketStartTimeInput( CLIENT_ID, startTimeInput ) ),
1818
+ put( actions.setTicketEndTimeInput( CLIENT_ID, endTimeInput ) ),
1819
+ put( actions.setTicketCapacityType( CLIENT_ID, capacityType ) ),
1820
+ put( actions.setTicketCapacity( CLIENT_ID, capacity ) ),
1821
  ] )
1822
  );
1823
  expect( gen.next().done ).toEqual( true );
1843
  const capacityType = 'own';
1844
  const capacity = 100;
1845
 
1846
+ const CLIENT_ID = 'modern-tribe';
1847
  const action = {
1848
  payload: {
1849
+ clientId: CLIENT_ID,
1850
  tempDetails: {
1851
  title,
1852
  description,
1871
  const gen = sagas.setTicketTempDetails( action );
1872
  expect( gen.next().value ).toEqual(
1873
  all( [
1874
+ put( actions.setTicketTempTitle( CLIENT_ID, title ) ),
1875
+ put( actions.setTicketTempDescription( CLIENT_ID, description ) ),
1876
+ put( actions.setTicketTempPrice( CLIENT_ID, price ) ),
1877
+ put( actions.setTicketTempSku( CLIENT_ID, sku ) ),
1878
+ put( actions.setTicketTempStartDate( CLIENT_ID, startDate ) ),
1879
+ put( actions.setTicketTempStartDateInput( CLIENT_ID, startDateInput ) ),
1880
+ put( actions.setTicketTempStartDateMoment( CLIENT_ID, startDateMoment ) ),
1881
+ put( actions.setTicketTempEndDate( CLIENT_ID, endDate ) ),
1882
+ put( actions.setTicketTempEndDateInput( CLIENT_ID, endDateInput ) ),
1883
+ put( actions.setTicketTempEndDateMoment( CLIENT_ID, endDateMoment ) ),
1884
+ put( actions.setTicketTempStartTime( CLIENT_ID, startTime ) ),
1885
+ put( actions.setTicketTempEndTime( CLIENT_ID, endTime ) ),
1886
+ put( actions.setTicketTempStartTimeInput( CLIENT_ID, startTimeInput ) ),
1887
+ put( actions.setTicketTempEndTimeInput( CLIENT_ID, endTimeInput ) ),
1888
+ put( actions.setTicketTempCapacityType( CLIENT_ID, capacityType ) ),
1889
+ put( actions.setTicketTempCapacity( CLIENT_ID, capacity ) ),
1890
  ] )
1891
  );
1892
  expect( gen.next().done ).toEqual( true );
1899
  beforeEach( () => {
1900
  action = {
1901
  payload: {
1902
+ clientId: 'tribe',
1903
  date: undefined,
1904
  dayPickerInput: {
1905
  state: {
1915
  expect( gen.next().value ).toEqual( undefined );
1916
  expect( gen.next( undefined ).value ).toEqual( '' );
1917
  expect( gen.next( '' ).value ).toEqual(
1918
+ put( actions.setTicketTempStartDate( action.payload.clientId, '' ) )
1919
  );
1920
  expect( gen.next().value ).toEqual(
1921
+ put( actions.setTicketTempStartDateInput( action.payload.clientId, action.payload.dayPickerInput.state.value ) )
1922
  );
1923
  expect( gen.next().value ).toEqual(
1924
+ put( actions.setTicketTempStartDateMoment( action.payload.clientId, undefined ) )
1925
  );
1926
  expect( gen.next().done ).toEqual( true );
1927
  } );
1937
  call( momentUtil.toDatabaseDate, action.payload.date )
1938
  );
1939
  expect( gen.next( action.payload.date ).value ).toEqual(
1940
+ put( actions.setTicketTempStartDate( action.payload.clientId, action.payload.date ) )
1941
  );
1942
  expect( gen.next().value ).toEqual(
1943
+ put( actions.setTicketTempStartDateInput( action.payload.clientId, action.payload.dayPickerInput.state.value ) )
1944
  );
1945
  expect( gen.next().value ).toEqual(
1946
+ put( actions.setTicketTempStartDateMoment( action.payload.clientId, action.payload.date ) )
1947
  );
1948
  expect( gen.next().done ).toEqual( true );
1949
  } );
1955
  beforeEach( () => {
1956
  action = {
1957
  payload: {
1958
+ clientId: 'tribe',
1959
  date: undefined,
1960
  dayPickerInput: {
1961
  state: {
1971
  expect( gen.next().value ).toEqual( undefined );
1972
  expect( gen.next( undefined ).value ).toEqual( '' );
1973
  expect( gen.next( '' ).value ).toEqual(
1974
+ put( actions.setTicketTempEndDate( action.payload.clientId, '' ) )
1975
  );
1976
  expect( gen.next().value ).toEqual(
1977
+ put( actions.setTicketTempEndDateInput( action.payload.clientId, action.payload.dayPickerInput.state.value ) )
1978
  );
1979
  expect( gen.next().value ).toEqual(
1980
+ put( actions.setTicketTempEndDateMoment( action.payload.clientId, undefined ) )
1981
  );
1982
  expect( gen.next().done ).toEqual( true );
1983
  } );
1993
  call( momentUtil.toDatabaseDate, action.payload.date )
1994
  );
1995
  expect( gen.next( action.payload.date ).value ).toEqual(
1996
+ put( actions.setTicketTempEndDate( action.payload.clientId, action.payload.date ) )
1997
  );
1998
  expect( gen.next().value ).toEqual(
1999
+ put( actions.setTicketTempEndDateInput( action.payload.clientId, action.payload.dayPickerInput.state.value ) )
2000
  );
2001
  expect( gen.next().value ).toEqual(
2002
+ put( actions.setTicketTempEndDateMoment( action.payload.clientId, action.payload.date ) )
2003
  );
2004
  expect( gen.next().done ).toEqual( true );
2005
  } );
2009
  it( 'should handle ticket start time', () => {
2010
  const action = {
2011
  payload: {
2012
+ clientId: 'tribe',
2013
  seconds: 3600,
2014
  },
2015
  };
2019
  call( timeUtil.fromSeconds, action.payload.seconds, timeUtil.TIME_FORMAT_HH_MM )
2020
  );
2021
  expect( gen.next( startTime ).value ).toEqual(
2022
+ put( actions.setTicketTempStartTime( action.payload.clientId, `${ startTime }:00` ) )
2023
  );
2024
  expect( gen.next().done ).toEqual( true );
2025
  } );
2030
  const startTimeInput = '01:00';
2031
  const action = {
2032
  payload: {
2033
+ clientId: 'tribe',
2034
  seconds: 3600,
2035
  },
2036
  };
2045
  call( momentUtil.toTime, startTimeInput )
2046
  );
2047
  expect( gen.next( startTimeInput ).value ).toEqual(
2048
+ put( actions.setTicketTempStartTimeInput( action.payload.clientId, startTimeInput ) )
2049
  );
2050
  expect( gen.next().done ).toEqual( true );
2051
  } );
2055
  it( 'should handle ticket end time', () => {
2056
  const action = {
2057
  payload: {
2058
+ clientId: 'tribe',
2059
  seconds: 3600,
2060
  },
2061
  };
2065
  call( timeUtil.fromSeconds, action.payload.seconds, timeUtil.TIME_FORMAT_HH_MM )
2066
  );
2067
  expect( gen.next( endTime ).value ).toEqual(
2068
+ put( actions.setTicketTempEndTime( action.payload.clientId, `${ endTime }:00` ) )
2069
  );
2070
  expect( gen.next().done ).toEqual( true );
2071
  } );
2076
  const startTimeInput = '01:00';
2077
  const action = {
2078
  payload: {
2079
+ clientId: 'tribe',
2080
  seconds: 3600,
2081
  },
2082
  };
2091
  call( momentUtil.toTime, startTimeInput )
2092
  );
2093
  expect( gen.next( startTimeInput ).value ).toEqual(
2094
+ put( actions.setTicketTempStartTimeInput( action.payload.clientId, startTimeInput ) )
2095
  );
2096
  expect( gen.next().done ).toEqual( true );
2097
  } );
2102
  const ticketIds = [ 42 ];
2103
  const gen = cloneableGenerator( sagas.handleTicketMove )();
2104
  expect( gen.next().value ).toEqual(
2105
+ select( selectors.getTicketsAllClientIds )
2106
  );
2107
  expect( gen.next( ticketIds ).value ).toEqual(
2108
+ select( moveSelectors.getModalClientId )
2109
  );
2110
 
2111
  const clone1 = gen.clone();
2118
  expect( clone2.next().value ).toEqual(
2119
  put( actions.removeTicketBlock( 42 ) )
2120
  );
2121
+ expect( clone2.next().value ).toMatchSnapshot();
 
 
 
 
2122
  expect( clone2.next().done ).toEqual( true );
2123
  } );
2124
  } );
src/modules/data/blocks/ticket/__tests__/selectors.test.js CHANGED
@@ -33,8 +33,8 @@ describe( 'Ticket block selectors', () => {
33
  ...DEFAULT_STATE,
34
  headerImage: { ...HEADER_IMAGE_DEFAULT_STATE },
35
  tickets: {
36
- allIds: [ 'modern-tribe' ],
37
- byId: {
38
  'modern-tribe': {
39
  ...TICKET_DEFAULT_STATE,
40
  details: { ...DETAILS_DEFAULT_STATE },
@@ -46,10 +46,7 @@ describe( 'Ticket block selectors', () => {
46
  },
47
  },
48
  };
49
- // state.tickets.blocks.ticket.header = image;
50
- // state.tickets.blocks.ticket.tickets.allIds = [ 'modern-tribe' ];
51
- // state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ] = { ...TICKET_DEFAULT_STATE };
52
- ownProps = { blockId: 'modern-tribe' };
53
  } );
54
 
55
  describe( 'Block selectors', () => {
@@ -57,6 +54,10 @@ describe( 'Ticket block selectors', () => {
57
  expect( selectors.getBlock( state ) ).toMatchSnapshot();
58
  } );
59
 
 
 
 
 
60
  test( 'getTicketsIsSettingsOpen', () => {
61
  expect( selectors.getTicketsIsSettingsOpen( state ) ).toMatchSnapshot();
62
  } );
@@ -109,12 +110,12 @@ describe( 'Ticket block selectors', () => {
109
  expect( selectors.getTickets( state ) ).toMatchSnapshot();
110
  } );
111
 
112
- test( 'getAllTicketIds', () => {
113
- expect( selectors.getAllTicketIds( state ) ).toMatchSnapshot();
114
  } );
115
 
116
- test( 'getTicketsById', () => {
117
- expect( selectors.getTicketsById( state ) ).toMatchSnapshot();
118
  } );
119
 
120
  test( 'getTicketsArray', () => {
@@ -159,8 +160,8 @@ describe( 'Ticket block selectors', () => {
159
  } );
160
 
161
  describe( 'Ticket selectors', () => {
162
- test( 'getTicketBlockId', () => {
163
- expect( selectors.getTicketBlockId( state, ownProps ) ).toMatchSnapshot();
164
  } );
165
 
166
  test( 'getTicket', () => {
@@ -312,8 +313,23 @@ describe( 'Ticket block selectors', () => {
312
  test( 'isTicketFuture', () => {
313
  expect( selectors.isTicketFuture( state, ownProps ) ).toMatchSnapshot();
314
  } );
315
- } );
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
  describe( 'Ticket temp details selectors', () => {
319
  test( 'getTicketTempDetails', () => {
@@ -399,7 +415,7 @@ describe( 'Ticket block selectors', () => {
399
 
400
  describe( 'isTempTitleValid', () => {
401
  it( 'should be valid', () => {
402
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.title = 'bob';
403
  expect( selectors.isTempTitleValid( state, ownProps ) ).toBe( true );
404
  } );
405
 
@@ -410,7 +426,7 @@ describe( 'Ticket block selectors', () => {
410
 
411
  describe( 'isTempCapacityValid', () => {
412
  it( 'should be valid', () => {
413
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacity = '1';
414
  expect( selectors.isTempCapacityValid( state, ownProps ) ).toBe( true );
415
  } );
416
 
@@ -421,28 +437,28 @@ describe( 'Ticket block selectors', () => {
421
 
422
  describe( 'isTicketValid', () => {
423
  it( 'should be valid when unlimited', () => {
424
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
425
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacityType = 'unlimited';
426
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( true );
427
  } );
428
 
429
  it( 'should be valid when shared', () => {
430
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
431
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacityType = 'capped';
432
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( true );
433
  } );
434
 
435
  it( 'should be invalid when independent', () => {
436
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacityType = 'own';
437
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
438
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacity = '';
439
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( false );
440
  } );
441
 
442
  it( 'should be invalid when independent with no title', () => {
443
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacityType = 'own';
444
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.title = '';
445
- state.tickets.blocks.ticket.tickets.byId[ 'modern-tribe' ].tempDetails.capacity = 1;
446
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( false );
447
  } );
448
  } );
33
  ...DEFAULT_STATE,
34
  headerImage: { ...HEADER_IMAGE_DEFAULT_STATE },
35
  tickets: {
36
+ allClientIds: [ 'modern-tribe' ],
37
+ byClientId: {
38
  'modern-tribe': {
39
  ...TICKET_DEFAULT_STATE,
40
  details: { ...DETAILS_DEFAULT_STATE },
46
  },
47
  },
48
  };
49
+ ownProps = { clientId: 'modern-tribe' };
 
 
 
50
  } );
51
 
52
  describe( 'Block selectors', () => {
54
  expect( selectors.getBlock( state ) ).toMatchSnapshot();
55
  } );
56
 
57
+ test( 'getTicketsIsSelected', () => {
58
+ expect( selectors.getTicketsIsSelected( state ) ).toMatchSnapshot();
59
+ } );
60
+
61
  test( 'getTicketsIsSettingsOpen', () => {
62
  expect( selectors.getTicketsIsSettingsOpen( state ) ).toMatchSnapshot();
63
  } );
110
  expect( selectors.getTickets( state ) ).toMatchSnapshot();
111
  } );
112
 
113
+ test( 'getTicketsAllClientIds', () => {
114
+ expect( selectors.getTicketsAllClientIds( state ) ).toMatchSnapshot();
115
  } );
116
 
117
+ test( 'getTicketsByClientId', () => {
118
+ expect( selectors.getTicketsByClientId( state ) ).toMatchSnapshot();
119
  } );
120
 
121
  test( 'getTicketsArray', () => {
160
  } );
161
 
162
  describe( 'Ticket selectors', () => {
163
+ test( 'getTicketClientId', () => {
164
+ expect( selectors.getTicketClientId( state, ownProps ) ).toMatchSnapshot();
165
  } );
166
 
167
  test( 'getTicket', () => {
313
  test( 'isTicketFuture', () => {
314
  expect( selectors.isTicketFuture( state, ownProps ) ).toMatchSnapshot();
315
  } );
 
316
 
317
+ test( 'isTicketOnSale', () => {
318
+ expect( selectors.isTicketOnSale( state, ownProps ) ).toMatchSnapshot();
319
+ } );
320
+
321
+ test( 'hasTicketOnSale', () => {
322
+ expect( selectors.hasTicketOnSale( state ) ).toMatchSnapshot();
323
+ } );
324
+
325
+ test( 'allTicketsPast', () => {
326
+ expect( selectors.allTicketsPast( state ) ).toMatchSnapshot();
327
+ } );
328
+
329
+ test( 'allTicketsFuture', () => {
330
+ expect( selectors.allTicketsFuture( state ) ).toMatchSnapshot();
331
+ } );
332
+ } );
333
 
334
  describe( 'Ticket temp details selectors', () => {
335
  test( 'getTicketTempDetails', () => {
415
 
416
  describe( 'isTempTitleValid', () => {
417
  it( 'should be valid', () => {
418
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.title = 'bob';
419
  expect( selectors.isTempTitleValid( state, ownProps ) ).toBe( true );
420
  } );
421
 
426
 
427
  describe( 'isTempCapacityValid', () => {
428
  it( 'should be valid', () => {
429
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacity = '1';
430
  expect( selectors.isTempCapacityValid( state, ownProps ) ).toBe( true );
431
  } );
432
 
437
 
438
  describe( 'isTicketValid', () => {
439
  it( 'should be valid when unlimited', () => {
440
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
441
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacityType = 'unlimited';
442
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( true );
443
  } );
444
 
445
  it( 'should be valid when shared', () => {
446
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
447
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacityType = 'capped';
448
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( true );
449
  } );
450
 
451
  it( 'should be invalid when independent', () => {
452
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacityType = 'own';
453
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.title = 'Modern Tribe';
454
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacity = '';
455
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( false );
456
  } );
457
 
458
  it( 'should be invalid when independent with no title', () => {
459
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacityType = 'own';
460
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.title = '';
461
+ state.tickets.blocks.ticket.tickets.byClientId[ 'modern-tribe' ].tempDetails.capacity = 1;
462
  expect( selectors.isTicketValid( state, ownProps ) ).toBe( false );
463
  } );
464
  } );
src/modules/data/blocks/ticket/actions.js CHANGED
@@ -12,11 +12,22 @@ export const setTicketsInitialState = ( props ) => ( {
12
  payload: props,
13
  } );
14
 
 
 
 
 
15
  export const setTicketsHeaderImage = ( payload ) => ( {
16
  type: types.SET_TICKETS_HEADER_IMAGE,
17
  payload,
18
  } );
19
 
 
 
 
 
 
 
 
20
  export const setTicketsIsSettingsOpen = ( isSettingsOpen ) => ( {
21
  type: types.SET_TICKETS_IS_SETTINGS_OPEN,
22
  payload: {
@@ -81,130 +92,130 @@ export const deleteTicketsHeaderImage = () => ( {
81
  // ─── TICKET DETAILS ACTIONS ─────────────────────────────────────────────────────
82
  //
83
 
84
- export const setTicketTitle = ( blockId, title ) => ( {
85
  type: types.SET_TICKET_TITLE,
86
  payload: {
87
- blockId,
88
  title,
89
  },
90
  } );
91
 
92
- export const setTicketDescription = ( blockId, description ) => ( {
93
  type: types.SET_TICKET_DESCRIPTION,
94
  payload: {
95
- blockId,
96
  description,
97
  },
98
  } );
99
 
100
- export const setTicketPrice = ( blockId, price ) => ( {
101
  type: types.SET_TICKET_PRICE,
102
  payload: {
103
- blockId,
104
  price,
105
  },
106
  } );
107
 
108
- export const setTicketSku = ( blockId, sku ) => ( {
109
  type: types.SET_TICKET_SKU,
110
  payload: {
111
- blockId,
112
  sku,
113
  },
114
  } );
115
 
116
- export const setTicketStartDate = ( blockId, startDate ) => ( {
117
  type: types.SET_TICKET_START_DATE,
118
  payload: {
119
- blockId,
120
  startDate,
121
  },
122
  } );
123
 
124
- export const setTicketStartDateInput = ( blockId, startDateInput ) => ( {
125
  type: types.SET_TICKET_START_DATE_INPUT,
126
  payload: {
127
- blockId,
128
  startDateInput,
129
  },
130
  } );
131
 
132
- export const setTicketStartDateMoment = ( blockId, startDateMoment ) => ( {
133
  type: types.SET_TICKET_START_DATE_MOMENT,
134
  payload: {
135
- blockId,
136
  startDateMoment,
137
  },
138
  } );
139
 
140
- export const setTicketEndDate = ( blockId, endDate ) => ( {
141
  type: types.SET_TICKET_END_DATE,
142
  payload: {
143
- blockId,
144
  endDate,
145
  },
146
  } );
147
 
148
- export const setTicketEndDateInput = ( blockId, endDateInput ) => ( {
149
  type: types.SET_TICKET_END_DATE_INPUT,
150
  payload: {
151
- blockId,
152
  endDateInput,
153
  },
154
  } );
155
 
156
- export const setTicketEndDateMoment = ( blockId, endDateMoment ) => ( {
157
  type: types.SET_TICKET_END_DATE_MOMENT,
158
  payload: {
159
- blockId,
160
  endDateMoment,
161
  },
162
  } );
163
 
164
- export const setTicketStartTime = ( blockId, startTime ) => ( {
165
  type: types.SET_TICKET_START_TIME,
166
  payload: {
167
- blockId,
168
  startTime,
169
  },
170
  } );
171
 
172
- export const setTicketEndTime = ( blockId, endTime ) => ( {
173
  type: types.SET_TICKET_END_TIME,
174
  payload: {
175
- blockId,
176
  endTime,
177
  },
178
  } );
179
 
180
- export const setTicketStartTimeInput = ( blockId, startTimeInput ) => ( {
181
  type: types.SET_TICKET_START_TIME_INPUT,
182
  payload: {
183
- blockId,
184
  startTimeInput,
185
  },
186
  } );
187
 
188
- export const setTicketEndTimeInput = ( blockId, endTimeInput ) => ( {
189
  type: types.SET_TICKET_END_TIME_INPUT,
190
  payload: {
191
- blockId,
192
  endTimeInput,
193
  },
194
  } );
195
 
196
- export const setTicketCapacityType = ( blockId, capacityType ) => ( {
197
  type: types.SET_TICKET_CAPACITY_TYPE,
198
  payload: {
199
- blockId,
200
  capacityType,
201
  },
202
  } );
203
 
204
- export const setTicketCapacity = ( blockId, capacity ) => ( {
205
  type: types.SET_TICKET_CAPACITY,
206
  payload: {
207
- blockId,
208
  capacity,
209
  },
210
  } );
@@ -213,130 +224,130 @@ export const setTicketCapacity = ( blockId, capacity ) => ( {
213
  // ─── TICKET TEMP DETAILS ACTIONS ────────────────────────────────────────────────
214
  //
215
 
216
- export const setTicketTempTitle = ( blockId, title ) => ( {
217
  type: types.SET_TICKET_TEMP_TITLE,
218
  payload: {
219
- blockId,
220
  title,
221
  },
222
  } );
223
 
224
- export const setTicketTempDescription = ( blockId, description ) => ( {
225
  type: types.SET_TICKET_TEMP_DESCRIPTION,
226
  payload: {
227
- blockId,
228
  description,
229
  },
230
  } );
231
 
232
- export const setTicketTempPrice = ( blockId, price ) => ( {
233
  type: types.SET_TICKET_TEMP_PRICE,
234
  payload: {
235
- blockId,
236
  price,
237
  },
238
  } );
239
 
240
- export const setTicketTempSku = ( blockId, sku ) => ( {
241
  type: types.SET_TICKET_TEMP_SKU,
242
  payload: {
243
- blockId,
244
  sku,
245
  },
246
  } );
247
 
248
- export const setTicketTempStartDate = ( blockId, startDate ) => ( {
249
  type: types.SET_TICKET_TEMP_START_DATE,
250
  payload: {
251
- blockId,
252
  startDate,
253
  },
254
  } );
255
 
256
- export const setTicketTempStartDateInput = ( blockId, startDateInput ) => ( {
257
  type: types.SET_TICKET_TEMP_START_DATE_INPUT,
258
  payload: {
259
- blockId,
260
  startDateInput,
261
  },
262
  } );
263
 
264
- export const setTicketTempStartDateMoment = ( blockId, startDateMoment ) => ( {
265
  type: types.SET_TICKET_TEMP_START_DATE_MOMENT,
266
  payload: {
267
- blockId,
268
  startDateMoment,
269
  },
270
  } );
271
 
272
- export const setTicketTempEndDate = ( blockId, endDate ) => ( {
273
  type: types.SET_TICKET_TEMP_END_DATE,
274
  payload: {
275
- blockId,
276
  endDate,
277
  },
278
  } );
279
 
280
- export const setTicketTempEndDateInput = ( blockId, endDateInput ) => ( {
281
  type: types.SET_TICKET_TEMP_END_DATE_INPUT,
282
  payload: {
283
- blockId,
284
  endDateInput,
285
  },
286
  } );
287
 
288
- export const setTicketTempEndDateMoment = ( blockId, endDateMoment ) => ( {
289
  type: types.SET_TICKET_TEMP_END_DATE_MOMENT,
290
  payload: {
291
- blockId,
292
  endDateMoment,
293
  },
294
  } );
295
 
296
- export const setTicketTempStartTime = ( blockId, startTime ) => ( {
297
  type: types.SET_TICKET_TEMP_START_TIME,
298
  payload: {
299
- blockId,
300
  startTime,
301
  },
302
  } );
303
 
304
- export const setTicketTempEndTime = ( blockId, endTime ) => ( {
305
  type: types.SET_TICKET_TEMP_END_TIME,
306
  payload: {
307
- blockId,
308
  endTime,
309
  },
310
  } );
311
 
312
- export const setTicketTempStartTimeInput = ( blockId, startTimeInput ) => ( {
313
  type: types.SET_TICKET_TEMP_START_TIME_INPUT,
314
  payload: {
315
- blockId,
316
  startTimeInput,
317
  },
318
  } );
319
 
320
- export const setTicketTempEndTimeInput = ( blockId, endTimeInput ) => ( {
321
  type: types.SET_TICKET_TEMP_END_TIME_INPUT,
322
  payload: {
323
- blockId,
324
  endTimeInput,
325
  },
326
  } );
327
 
328
- export const setTicketTempCapacityType = ( blockId, capacityType ) => ( {
329
  type: types.SET_TICKET_TEMP_CAPACITY_TYPE,
330
  payload: {
331
- blockId,
332
  capacityType,
333
  },
334
  } );
335
 
336
- export const setTicketTempCapacity = ( blockId, capacity ) => ( {
337
  type: types.SET_TICKET_TEMP_CAPACITY,
338
  payload: {
339
- blockId,
340
  capacity,
341
  },
342
  } );
@@ -345,96 +356,100 @@ export const setTicketTempCapacity = ( blockId, capacity ) => ( {
345
  // ─── TICKET ACTIONS ─────────────────────────────────────────────────────────────
346
  //
347
 
348
- export const registerTicketBlock = ( blockId ) => ( {
349
  type: types.REGISTER_TICKET_BLOCK,
350
  payload: {
351
- blockId,
352
  },
353
  } );
354
 
355
- export const removeTicketBlock = ( blockId ) => ( {
356
  type: types.REMOVE_TICKET_BLOCK,
357
  payload: {
358
- blockId,
359
  },
360
  } );
361
 
362
- export const setTicketSold = ( blockId, sold ) => ( {
 
 
 
 
363
  type: types.SET_TICKET_SOLD,
364
  payload: {
365
- blockId,
366
  sold,
367
  },
368
  } );
369
 
370
- export const setTicketAvailable = ( blockId, available ) => ( {
371
  type: types.SET_TICKET_AVAILABLE,
372
  payload: {
373
- blockId,
374
  available,
375
  },
376
  } );
377
 
378
- export const setTicketId = ( blockId, ticketId ) => ( {
379
  type: types.SET_TICKET_ID,
380
  payload: {
381
- blockId,
382
  ticketId,
383
  },
384
  } );
385
 
386
- export const setTicketCurrencySymbol = ( blockId, currencySymbol ) => ( {
387
  type: types.SET_TICKET_CURRENCY_SYMBOL,
388
  payload: {
389
- blockId,
390
  currencySymbol,
391
  },
392
  } );
393
 
394
- export const setTicketCurrencyPosition = ( blockId, currencyPosition ) => ( {
395
  type: types.SET_TICKET_CURRENCY_POSITION,
396
  payload: {
397
- blockId,
398
  currencyPosition,
399
  },
400
  } );
401
 
402
- export const setTicketProvider = ( blockId, provider ) => ( {
403
  type: types.SET_TICKET_PROVIDER,
404
  payload: {
405
- blockId,
406
  provider,
407
  },
408
  } );
409
 
410
- export const setTicketIsLoading = ( blockId, isLoading ) => ( {
411
  type: types.SET_TICKET_IS_LOADING,
412
  payload: {
413
- blockId,
414
  isLoading,
415
  },
416
  } );
417
 
418
- export const setTicketHasBeenCreated = ( blockId, hasBeenCreated ) => ( {
419
  type: types.SET_TICKET_HAS_BEEN_CREATED,
420
  payload: {
421
- blockId,
422
  hasBeenCreated,
423
  },
424
  } );
425
 
426
- export const setTicketHasChanges = ( blockId, hasChanges ) => ( {
427
  type: types.SET_TICKET_HAS_CHANGES,
428
  payload: {
429
- blockId,
430
  hasChanges,
431
  },
432
  } );
433
 
434
- export const setTicketIsSelected = ( blockId, isSelected ) => ( {
435
  type: types.SET_TICKET_IS_SELECTED,
436
  payload: {
437
- blockId,
438
  isSelected,
439
  },
440
  } );
@@ -443,83 +458,83 @@ export const setTicketIsSelected = ( blockId, isSelected ) => ( {
443
  // ─── TICKET SAGA ACTIONS ────────────────────────────────────────────────────────
444
  //
445
 
446
- export const setTicketDetails = ( blockId, details ) => ( {
447
  type: types.SET_TICKET_DETAILS,
448
  payload: {
449
- blockId,
450
  details,
451
  },
452
  } );
453
 
454
- export const setTicketTempDetails = ( blockId, tempDetails ) => ( {
455
  type: types.SET_TICKET_TEMP_DETAILS,
456
  payload: {
457
- blockId,
458
  tempDetails,
459
  },
460
  } );
461
 
462
- export const handleTicketStartDate = ( blockId, date, dayPickerInput ) => ( {
463
  type: types.HANDLE_TICKET_START_DATE,
464
  payload: {
465
- blockId,
466
  date,
467
  dayPickerInput,
468
  },
469
  } );
470
 
471
- export const handleTicketEndDate = ( blockId, date, dayPickerInput ) => ( {
472
  type: types.HANDLE_TICKET_END_DATE,
473
  payload: {
474
- blockId,
475
  date,
476
  dayPickerInput,
477
  },
478
  } );
479
 
480
- export const handleTicketStartTime = ( blockId, seconds ) => ( {
481
  type: types.HANDLE_TICKET_START_TIME,
482
  payload: {
483
- blockId,
484
  seconds,
485
  },
486
  } );
487
 
488
- export const handleTicketEndTime = ( blockId, seconds ) => ( {
489
  type: types.HANDLE_TICKET_END_TIME,
490
  payload: {
491
- blockId,
492
  seconds,
493
  },
494
  } );
495
 
496
 
497
- export const fetchTicket = ( blockId, ticketId ) => ( {
498
  type: types.FETCH_TICKET,
499
  payload: {
500
- blockId,
501
  ticketId,
502
  },
503
  } );
504
 
505
- export const createNewTicket = ( blockId ) => ( {
506
  type: types.CREATE_NEW_TICKET,
507
  payload: {
508
- blockId,
509
  },
510
  } );
511
 
512
- export const updateTicket = ( blockId ) => ( {
513
  type: types.UPDATE_TICKET,
514
  payload: {
515
- blockId,
516
  },
517
  } );
518
 
519
- export const deleteTicket = ( blockId ) => ( {
520
  type: types.DELETE_TICKET,
521
  payload: {
522
- blockId,
523
  }
524
  } );
525
 
12
  payload: props,
13
  } );
14
 
15
+ export const resetTicketsBlock = () => ( {
16
+ type: types.RESET_TICKETS_BLOCK,
17
+ } );
18
+
19
  export const setTicketsHeaderImage = ( payload ) => ( {
20
  type: types.SET_TICKETS_HEADER_IMAGE,
21
  payload,
22
  } );
23
 
24
+ export const setTicketsIsSelected = ( isSelected ) => ( {
25
+ type: types.SET_TICKETS_IS_SELECTED,
26
+ payload: {
27
+ isSelected,
28
+ },
29
+ } );
30
+
31
  export const setTicketsIsSettingsOpen = ( isSettingsOpen ) => ( {
32
  type: types.SET_TICKETS_IS_SETTINGS_OPEN,
33
  payload: {
92
  // ─── TICKET DETAILS ACTIONS ─────────────────────────────────────────────────────
93
  //
94
 
95
+ export const setTicketTitle = ( clientId, title ) => ( {
96
  type: types.SET_TICKET_TITLE,
97
  payload: {
98
+ clientId,
99
  title,
100
  },
101
  } );
102
 
103
+ export const setTicketDescription = ( clientId, description ) => ( {
104
  type: types.SET_TICKET_DESCRIPTION,
105
  payload: {
106
+ clientId,
107
  description,
108
  },
109
  } );
110
 
111
+ export const setTicketPrice = ( clientId, price ) => ( {
112
  type: types.SET_TICKET_PRICE,
113
  payload: {
114
+ clientId,
115
  price,
116
  },
117
  } );
118
 
119
+ export const setTicketSku = ( clientId, sku ) => ( {
120
  type: types.SET_TICKET_SKU,
121
  payload: {
122
+ clientId,
123
  sku,
124
  },
125
  } );
126
 
127
+ export const setTicketStartDate = ( clientId, startDate ) => ( {
128
  type: types.SET_TICKET_START_DATE,
129
  payload: {
130
+ clientId,
131
  startDate,
132
  },
133
  } );
134
 
135
+ export const setTicketStartDateInput = ( clientId, startDateInput ) => ( {
136
  type: types.SET_TICKET_START_DATE_INPUT,
137
  payload: {
138
+ clientId,
139
  startDateInput,
140
  },
141
  } );
142
 
143
+ export const setTicketStartDateMoment = ( clientId, startDateMoment ) => ( {
144
  type: types.SET_TICKET_START_DATE_MOMENT,
145
  payload: {
146
+ clientId,
147
  startDateMoment,
148
  },
149
  } );
150
 
151
+ export const setTicketEndDate = ( clientId, endDate ) => ( {
152
  type: types.SET_TICKET_END_DATE,
153
  payload: {
154
+ clientId,
155
  endDate,
156
  },
157
  } );
158
 
159
+ export const setTicketEndDateInput = ( clientId, endDateInput ) => ( {
160
  type: types.SET_TICKET_END_DATE_INPUT,
161
  payload: {
162
+ clientId,
163
  endDateInput,
164
  },
165
  } );
166
 
167
+ export const setTicketEndDateMoment = ( clientId, endDateMoment ) => ( {
168
  type: types.SET_TICKET_END_DATE_MOMENT,
169
  payload: {
170
+ clientId,
171
  endDateMoment,
172
  },
173
  } );
174
 
175
+ export const setTicketStartTime = ( clientId, startTime ) => ( {
176
  type: types.SET_TICKET_START_TIME,
177
  payload: {
178
+ clientId,
179
  startTime,
180
  },
181
  } );
182
 
183
+ export const setTicketEndTime = ( clientId, endTime ) => ( {
184
  type: types.SET_TICKET_END_TIME,
185
  payload: {
186
+ clientId,
187
  endTime,
188
  },
189
  } );
190
 
191
+ export const setTicketStartTimeInput = ( clientId, startTimeInput ) => ( {
192
  type: types.SET_TICKET_START_TIME_INPUT,
193
  payload: {
194
+ clientId,
195
  startTimeInput,
196
  },
197
  } );
198
 
199
+ export const setTicketEndTimeInput = ( clientId, endTimeInput ) => ( {
200
  type: types.SET_TICKET_END_TIME_INPUT,
201
  payload: {
202
+ clientId,
203
  endTimeInput,
204
  },
205
  } );
206
 
207
+ export const setTicketCapacityType = ( clientId, capacityType ) => ( {
208
  type: types.SET_TICKET_CAPACITY_TYPE,
209
  payload: {
210
+ clientId,
211
  capacityType,
212
  },
213
  } );
214
 
215
+ export const setTicketCapacity = ( clientId, capacity ) => ( {
216
  type: types.SET_TICKET_CAPACITY,
217
  payload: {
218
+ clientId,
219
  capacity,
220
  },
221
  } );
224
  // ─── TICKET TEMP DETAILS ACTIONS ────────────────────────────────────────────────
225
  //
226
 
227
+ export const setTicketTempTitle = ( clientId, title ) => ( {
228
  type: types.SET_TICKET_TEMP_TITLE,
229
  payload: {
230
+ clientId,
231
  title,
232
  },
233
  } );
234
 
235
+ export const setTicketTempDescription = ( clientId, description ) => ( {
236
  type: types.SET_TICKET_TEMP_DESCRIPTION,
237
  payload: {
238
+ clientId,
239
  description,
240
  },
241
  } );
242
 
243
+ export const setTicketTempPrice = ( clientId, price ) => ( {
244
  type: types.SET_TICKET_TEMP_PRICE,
245
  payload: {
246
+ clientId,
247
  price,
248
  },
249
  } );
250
 
251
+ export const setTicketTempSku = ( clientId, sku ) => ( {
252
  type: types.SET_TICKET_TEMP_SKU,
253
  payload: {
254
+ clientId,
255
  sku,
256
  },
257
  } );
258
 
259
+ export const setTicketTempStartDate = ( clientId, startDate ) => ( {
260
  type: types.SET_TICKET_TEMP_START_DATE,
261
  payload: {
262
+ clientId,
263
  startDate,
264
  },
265
  } );
266
 
267
+ export const setTicketTempStartDateInput = ( clientId, startDateInput ) => ( {
268
  type: types.SET_TICKET_TEMP_START_DATE_INPUT,
269
  payload: {
270
+ clientId,
271
  startDateInput,
272
  },
273
  } );
274
 
275
+ export const setTicketTempStartDateMoment = ( clientId, startDateMoment ) => ( {
276
  type: types.SET_TICKET_TEMP_START_DATE_MOMENT,
277
  payload: {
278
+ clientId,
279
  startDateMoment,
280
  },
281
  } );
282
 
283
+ export const setTicketTempEndDate = ( clientId, endDate ) => ( {
284
  type: types.SET_TICKET_TEMP_END_DATE,
285
  payload: {
286
+ clientId,
287
  endDate,
288
  },
289
  } );
290
 
291
+ export const setTicketTempEndDateInput = ( clientId, endDateInput ) => ( {
292
  type: types.SET_TICKET_TEMP_END_DATE_INPUT,
293
  payload: {
294
+ clientId,
295
  endDateInput,
296
  },
297
  } );
298
 
299
+ export const setTicketTempEndDateMoment = ( clientId, endDateMoment ) => ( {
300
  type: types.SET_TICKET_TEMP_END_DATE_MOMENT,
301
  payload: {
302
+ clientId,
303
  endDateMoment,
304
  },
305
  } );
306
 
307
+ export const setTicketTempStartTime = ( clientId, startTime ) => ( {
308
  type: types.SET_TICKET_TEMP_START_TIME,
309
  payload: {
310
+ clientId,
311
  startTime,
312
  },
313
  } );
314
 
315
+ export const setTicketTempEndTime = ( clientId, endTime ) => ( {
316
  type: types.SET_TICKET_TEMP_END_TIME,
317
  payload: {
318
+ clientId,
319
  endTime,
320
  },
321
  } );
322
 
323
+ export const setTicketTempStartTimeInput = ( clientId, startTimeInput ) => ( {
324
  type: types.SET_TICKET_TEMP_START_TIME_INPUT,
325
  payload: {
326
+ clientId,
327
  startTimeInput,
328
  },
329
  } );
330
 
331
+ export const setTicketTempEndTimeInput = ( clientId, endTimeInput ) => ( {
332
  type: types.SET_TICKET_TEMP_END_TIME_INPUT,
333
  payload: {
334
+ clientId,
335
  endTimeInput,
336
  },
337
  } );
338
 
339
+ export const setTicketTempCapacityType = ( clientId, capacityType ) => ( {
340
  type: types.SET_TICKET_TEMP_CAPACITY_TYPE,
341
  payload: {
342
+ clientId,
343
  capacityType,
344
  },
345
  } );
346
 
347
+ export const setTicketTempCapacity = ( clientId, capacity ) => ( {
348
  type: types.SET_TICKET_TEMP_CAPACITY,
349
  payload: {
350
+ clientId,
351
  capacity,
352
  },
353
  } );
356
  // ─── TICKET ACTIONS ─────────────────────────────────────────────────────────────
357
  //
358
 
359
+ export const registerTicketBlock = ( clientId ) => ( {
360
  type: types.REGISTER_TICKET_BLOCK,
361
  payload: {
362
+ clientId,
363
  },
364
  } );
365
 
366
+ export const removeTicketBlock = ( clientId ) => ( {
367
  type: types.REMOVE_TICKET_BLOCK,
368
  payload: {
369
+ clientId,
370
  },
371
  } );
372
 
373
+ export const removeTicketBlocks = () => ( {
374
+ type: types.REMOVE_TICKET_BLOCKS,
375
+ } );
376
+
377
+ export const setTicketSold = ( clientId, sold ) => ( {
378
  type: types.SET_TICKET_SOLD,
379
  payload: {
380
+ clientId,
381
  sold,
382
  },
383
  } );
384
 
385
+ export const setTicketAvailable = ( clientId, available ) => ( {
386
  type: types.SET_TICKET_AVAILABLE,
387
  payload: {
388
+ clientId,
389
  available,
390
  },
391
  } );
392
 
393
+ export const setTicketId = ( clientId, ticketId ) => ( {
394
  type: types.SET_TICKET_ID,
395
  payload: {
396
+ clientId,
397
  ticketId,
398
  },
399
  } );
400
 
401
+ export const setTicketCurrencySymbol = ( clientId, currencySymbol ) => ( {
402
  type: types.SET_TICKET_CURRENCY_SYMBOL,
403
  payload: {
404
+ clientId,
405
  currencySymbol,
406
  },
407
  } );
408
 
409
+ export const setTicketCurrencyPosition = ( clientId, currencyPosition ) => ( {
410
  type: types.SET_TICKET_CURRENCY_POSITION,
411
  payload: {
412
+ clientId,
413
  currencyPosition,
414
  },
415
  } );
416
 
417
+ export const setTicketProvider = ( clientId, provider ) => ( {
418
  type: types.SET_TICKET_PROVIDER,
419
  payload: {
420
+ clientId,
421
  provider,
422
  },
423
  } );
424
 
425
+ export const setTicketIsLoading = ( clientId, isLoading ) => ( {
426
  type: types.SET_TICKET_IS_LOADING,
427
  payload: {
428
+ clientId,
429
  isLoading,
430
  },
431
  } );
432
 
433
+ export const setTicketHasBeenCreated = ( clientId, hasBeenCreated ) => ( {
434
  type: types.SET_TICKET_HAS_BEEN_CREATED,
435
  payload: {
436
+ clientId,
437
  hasBeenCreated,
438
  },
439
  } );
440
 
441
+ export const setTicketHasChanges = ( clientId, hasChanges ) => ( {
442
  type: types.SET_TICKET_HAS_CHANGES,
443
  payload: {
444
+ clientId,
445
  hasChanges,
446
  },
447
  } );
448
 
449
+ export const setTicketIsSelected = ( clientId, isSelected ) => ( {
450
  type: types.SET_TICKET_IS_SELECTED,
451
  payload: {
452
+ clientId,
453
  isSelected,
454
  },
455
  } );
458
  // ─── TICKET SAGA ACTIONS ────────────────────────────────────────────────────────
459
  //
460
 
461
+ export const setTicketDetails = ( clientId, details ) => ( {
462
  type: types.SET_TICKET_DETAILS,
463
  payload: {
464
+ clientId,
465
  details,
466
  },
467
  } );
468
 
469
+ export const setTicketTempDetails = ( clientId, tempDetails ) => ( {
470
  type: types.SET_TICKET_TEMP_DETAILS,
471
  payload: {
472
+ clientId,
473
  tempDetails,
474
  },
475
  } );
476
 
477
+ export const handleTicketStartDate = ( clientId, date, dayPickerInput ) => ( {
478
  type: types.HANDLE_TICKET_START_DATE,
479
  payload: {
480
+ clientId,
481
  date,
482
  dayPickerInput,
483
  },
484
  } );
485
 
486
+ export const handleTicketEndDate = ( clientId, date, dayPickerInput ) => ( {
487
  type: types.HANDLE_TICKET_END_DATE,
488
  payload: {
489
+ clientId,
490
  date,
491
  dayPickerInput,
492
  },
493
  } );
494
 
495
+ export const handleTicketStartTime = ( clientId, seconds ) => ( {
496
  type: types.HANDLE_TICKET_START_TIME,
497
  payload: {
498
+ clientId,
499
  seconds,
500
  },
501
  } );
502
 
503
+ export const handleTicketEndTime = ( clientId, seconds ) => ( {
504
  type: types.HANDLE_TICKET_END_TIME,
505
  payload: {
506
+ clientId,
507
  seconds,
508
  },
509
  } );
510
 
511
 
512
+ export const fetchTicket = ( clientId, ticketId ) => ( {
513
  type: types.FETCH_TICKET,
514
  payload: {
515
+ clientId,
516
  ticketId,
517
  },
518
  } );
519
 
520
+ export const createNewTicket = ( clientId ) => ( {
521
  type: types.CREATE_NEW_TICKET,
522
  payload: {
523
+ clientId,
524
  },
525
  } );
526
 
527
+ export const updateTicket = ( clientId ) => ( {
528
  type: types.UPDATE_TICKET,
529
  payload: {
530
+ clientId,
531
  },
532
  } );
533
 
534
+ export const deleteTicket = ( clientId ) => ( {
535
  type: types.DELETE_TICKET,
536
  payload: {
537
+ clientId,
538
  }
539
  } );
540
 
src/modules/data/blocks/ticket/reducer.js CHANGED
@@ -7,6 +7,7 @@ import * as types from './types';
7
 
8
  export const DEFAULT_STATE = {
9
  headerImage: HEADER_IMAGE_DEFAULT_STATE,
 
10
  isSettingsOpen: false,
11
  isSettingsLoading: false,
12
  provider: '',
@@ -22,6 +23,11 @@ export default ( state = DEFAULT_STATE, action ) => {
22
  ...state,
23
  headerImage: headerImage( state.headerImage, action ),
24
  };
 
 
 
 
 
25
  case types.SET_TICKETS_IS_SETTINGS_OPEN:
26
  return {
27
  ...state,
@@ -91,6 +97,7 @@ export default ( state = DEFAULT_STATE, action ) => {
91
  case types.SET_TICKET_IS_SELECTED:
92
  case types.REGISTER_TICKET_BLOCK:
93
  case types.REMOVE_TICKET_BLOCK:
 
94
  return {
95
  ...state,
96
  tickets: tickets( state.tickets, action ),
7
 
8
  export const DEFAULT_STATE = {
9
  headerImage: HEADER_IMAGE_DEFAULT_STATE,
10
+ isSelected: false,
11
  isSettingsOpen: false,
12
  isSettingsLoading: false,
13
  provider: '',
23
  ...state,
24
  headerImage: headerImage( state.headerImage, action ),
25
  };
26
+ case types.SET_TICKETS_IS_SELECTED:
27
+ return {
28
+ ...state,
29
+ isSelected: action.payload.isSelected,
30
+ };
31
  case types.SET_TICKETS_IS_SETTINGS_OPEN:
32
  return {
33
  ...state,
97
  case types.SET_TICKET_IS_SELECTED:
98
  case types.REGISTER_TICKET_BLOCK:
99
  case types.REMOVE_TICKET_BLOCK:
100
+ case types.REMOVE_TICKET_BLOCKS:
101
  return {
102
  ...state,
103
  tickets: tickets( state.tickets, action ),
src/modules/data/blocks/ticket/reducers/__tests__/__snapshots__/tickets.test.js.snap CHANGED
@@ -1,20 +1,22 @@
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
3
- exports[`Tickets reducer allIds should register ticket block 1`] = `
4
  Array [
5
  "tribe",
6
  ]
7
  `;
8
 
9
- exports[`Tickets reducer allIds should remove ticket block 1`] = `
10
  Array [
11
  "two",
12
  ]
13
  `;
14
 
15
- exports[`Tickets reducer allIds should set the default state 1`] = `Array []`;
16
 
17
- exports[`Tickets reducer byId should register ticket block 1`] = `
 
 
18
  Object {
19
  "tribe": Object {
20
  "available": 0,
@@ -67,15 +69,17 @@ Object {
67
  }
68
  `;
69
 
70
- exports[`Tickets reducer byId should remove ticket block 1`] = `
71
  Object {
72
  "two": Object {},
73
  }
74
  `;
75
 
 
 
76
  exports[`Tickets reducer tickets should set the default state 1`] = `
77
  Object {
78
- "allIds": Array [],
79
- "byId": Object {},
80
  }
81
  `;
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
 
3
+ exports[`Tickets reducer allClientIds should register ticket block 1`] = `
4
  Array [
5
  "tribe",
6
  ]
7
  `;
8
 
9
+ exports[`Tickets reducer allClientIds should remove ticket block 1`] = `
10
  Array [
11
  "two",
12
  ]
13
  `;
14
 
15
+ exports[`Tickets reducer allClientIds should remove ticket blocks 1`] = `Array []`;
16
 
17
+ exports[`Tickets reducer allClientIds should set the default state 1`] = `Array []`;
18
+
19
+ exports[`Tickets reducer byClientId should register ticket block 1`] = `
20
  Object {
21
  "tribe": Object {
22
  "available": 0,
69
  }
70
  `;
71
 
72
+ exports[`Tickets reducer byClientId should remove ticket block 1`] = `
73
  Object {
74
  "two": Object {},
75
  }
76
  `;
77
 
78
+ exports[`Tickets reducer byClientId should remove ticket blocks 1`] = `Object {}`;
79
+
80
  exports[`Tickets reducer tickets should set the default state 1`] = `
81
  Object {
82
+ "allClientIds": Array [],
83
+ "byClientId": Object {},
84
  }
85
  `;
src/modules/data/blocks/ticket/reducers/__tests__/tickets.test.js CHANGED
@@ -1,7 +1,7 @@
1
  /**
2
  * Internal dependencies
3
  */
4
- import tickets, { byId, allIds } from '../tickets';
5
  import { actions } from '@moderntribe/tickets/data/blocks/ticket';
6
 
7
  jest.mock( 'moment', () => () => {
@@ -10,44 +10,58 @@ jest.mock( 'moment', () => () => {
10
  } );
11
 
12
  describe( 'Tickets reducer', () => {
13
- describe( 'byId', () => {
14
  it( 'should set the default state', () => {
15
- expect( byId( undefined, {} ) ).toEqual( {} );
16
  } );
17
 
18
  it( 'should register ticket block', () => {
19
- expect( byId(
20
  {},
21
  actions.registerTicketBlock( 'tribe' ),
22
  ) ).toMatchSnapshot();
23
  } );
24
 
25
  it( 'should remove ticket block', () => {
26
- expect( byId(
27
  { one: {}, two: {} },
28
  actions.removeTicketBlock( 'one' ),
29
  ) ).toMatchSnapshot();
30
  } );
 
 
 
 
 
 
 
31
  } );
32
 
33
- describe( 'allIds', () => {
34
  it( 'should set the default state', () => {
35
- expect( allIds( undefined, {} ) ).toMatchSnapshot();
36
  } );
37
 
38
  it( 'should register ticket block', () => {
39
- expect( allIds(
40
  [],
41
  actions.registerTicketBlock( 'tribe' ),
42
  ) ).toMatchSnapshot();
43
  } );
44
 
45
  it( 'should remove ticket block', () => {
46
- expect( allIds(
47
  [ 'one', 'two' ],
48
  actions.removeTicketBlock( 'one' ),
49
  ) ).toMatchSnapshot();
50
  } );
 
 
 
 
 
 
 
51
  } );
52
 
53
  describe( 'tickets', () => {
1
  /**
2
  * Internal dependencies
3
  */
4
+ import tickets, { byClientId, allClientIds } from '../tickets';
5
  import { actions } from '@moderntribe/tickets/data/blocks/ticket';
6
 
7
  jest.mock( 'moment', () => () => {
10
  } );
11
 
12
  describe( 'Tickets reducer', () => {
13
+ describe( 'byClientId', () => {
14
  it( 'should set the default state', () => {
15
+ expect( byClientId( undefined, {} ) ).toEqual( {} );
16
  } );
17
 
18
  it( 'should register ticket block', () => {
19
+ expect( byClientId(
20
  {},
21
  actions.registerTicketBlock( 'tribe' ),
22
  ) ).toMatchSnapshot();
23
  } );
24
 
25
  it( 'should remove ticket block', () => {
26
+ expect( byClientId(
27
  { one: {}, two: {} },
28
  actions.removeTicketBlock( 'one' ),
29
  ) ).toMatchSnapshot();
30
  } );
31
+
32
+ it( 'should remove ticket blocks', () => {
33
+ expect( byClientId(
34
+ { one: {}, two: {} },
35
+ actions.removeTicketBlocks(),
36
+ ) ).toMatchSnapshot();
37
+ } );
38
  } );
39
 
40
+ describe( 'allClientIds', () => {
41
  it( 'should set the default state', () => {
42
+ expect( allClientIds( undefined, {} ) ).toMatchSnapshot();
43
  } );
44
 
45
  it( 'should register ticket block', () => {
46
+ expect( allClientIds(
47
  [],
48
  actions.registerTicketBlock( 'tribe' ),
49
  ) ).toMatchSnapshot();
50
  } );
51
 
52
  it( 'should remove ticket block', () => {
53
+ expect( allClientIds(
54
  [ 'one', 'two' ],
55
  actions.removeTicketBlock( 'one' ),
56
  ) ).toMatchSnapshot();
57
  } );
58
+
59
+ it( 'should remove ticket blocks', () => {
60
+ expect( allClientIds(
61
+ [ 'one', 'two' ],
62
+ actions.removeTicketBlocks(),
63
+ ) ).toMatchSnapshot();
64
+ } );
65
  } );
66
 
67
  describe( 'tickets', () => {
src/modules/data/blocks/ticket/reducers/tickets.js CHANGED
@@ -10,7 +10,7 @@ import omit from 'lodash/omit';
10
  import * as types from '@moderntribe/tickets/data/blocks/ticket/types';
11
  import ticket from './tickets/ticket';
12
 
13
- export const byId = ( state = {}, action ) => {
14
  switch ( action.type ) {
15
  case types.SET_TICKET_TITLE:
16
  case types.SET_TICKET_DESCRIPTION:
@@ -57,27 +57,31 @@ export const byId = ( state = {}, action ) => {
57
  case types.REGISTER_TICKET_BLOCK:
58
  return {
59
  ...state,
60
- [ action.payload.blockId ]: ticket( state[ action.payload.blockId ], action ),
61
  };
62
  case types.REMOVE_TICKET_BLOCK:
63
- return omit( state, [ action.payload.blockId ] );
 
 
64
  default:
65
  return state;
66
  }
67
  };
68
 
69
- export const allIds = ( state = [], action ) => {
70
  switch ( action.type ) {
71
  case types.REGISTER_TICKET_BLOCK:
72
- return [ ...state, action.payload.blockId ];
73
  case types.REMOVE_TICKET_BLOCK:
74
- return state.filter( ( id ) => action.payload.blockId !== id );
 
 
75
  default:
76
  return state;
77
  }
78
  };
79
 
80
  export default combineReducers( {
81
- byId,
82
- allIds,
83
  } );
10
  import * as types from '@moderntribe/tickets/data/blocks/ticket/types';
11
  import ticket from './tickets/ticket';
12
 
13
+ export const byClientId = ( state = {}, action ) => {
14
  switch ( action.type ) {
15
  case types.SET_TICKET_TITLE:
16
  case types.SET_TICKET_DESCRIPTION:
57
  case types.REGISTER_TICKET_BLOCK:
58
  return {
59
  ...state,
60
+ [ action.payload.clientId ]: ticket( state[ action.payload.clientId ], action ),
61
  };
62
  case types.REMOVE_TICKET_BLOCK:
63
+ return omit( state, [ action.payload.clientId ] );
64
+ case types.REMOVE_TICKET_BLOCKS:
65
+ return {};
66
  default:
67
  return state;
68
  }
69
  };
70
 
71
+ export const allClientIds = ( state = [], action ) => {
72
  switch ( action.type ) {
73
  case types.REGISTER_TICKET_BLOCK:
74
+ return [ ...state, action.payload.clientId ];
75
  case types.REMOVE_TICKET_BLOCK:
76
+ return state.filter( ( clientId ) => action.payload.clientId !== clientId );
77
+ case types.REMOVE_TICKET_BLOCKS:
78
+ return [];
79
  default:
80
  return state;
81
  }
82
  };
83
 
84
  export default combineReducers( {
85
+ byClientId,
86
+ allClientIds,
87
  } );
src/modules/data/blocks/ticket/sagas.js CHANGED
@@ -20,11 +20,15 @@ import * as actions from './actions';
20
  import * as selectors from './selectors';
21
  import { DEFAULT_STATE } from './reducer';
22
  import {
23
- DEFAULT_STATE as HEADER_IMAGE_DEFAULT_STATE
24
  } from './reducers/header-image';
25
  import {
26
  DEFAULT_STATE as TICKET_DEFAULT_STATE,
27
  } from './reducers/tickets/ticket';
 
 
 
 
28
  import * as utils from '@moderntribe/tickets/data/utils';
29
  import {
30
  api,
@@ -63,7 +67,7 @@ export function* createMissingTicketBlocks( tickets ) {
63
  };
64
  const nextChildPosition = getBlockCount( clientId );
65
  const block = createBlock( 'tribe/tickets-item', attributes );
66
- insertBlock( block, nextChildPosition, clientId );
67
  } );
68
  } );
69
  }
@@ -71,7 +75,7 @@ export function* createMissingTicketBlocks( tickets ) {
71
  export function* setTicketsInitialState( action ) {
72
  const { get } = action.payload;
73
 
74
- const header = parseInt( get( 'header', HEADER_IMAGE_DEFAULT_STATE.id ), 10 );
75
  const sharedCapacity = get( 'sharedCapacity' );
76
  const ticketsList = get( 'tickets', [] );
77
  const ticketsInBlock = yield select( selectors.getTicketsIdsInBlocks );
@@ -102,6 +106,27 @@ export function* setTicketsInitialState( action ) {
102
  yield put( actions.setTicketsProvider( provider ) );
103
  }
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  export function* setTicketInitialState( action ) {
106
  const { clientId, get } = action.payload;
107
  const ticketId = get( 'ticketId', TICKET_DEFAULT_STATE.ticketId );
@@ -175,9 +200,9 @@ export function* setTicketInitialState( action ) {
175
  }
176
  }
177
 
178
- export function* setBodyDetails( blockId ) {
179
  const body = new FormData();
180
- const props = { blockId };
181
  const ticketProvider = yield select( selectors.getTicketProvider, props );
182
  const ticketsProvider = yield select( selectors.getTicketsProvider );
183
 
@@ -206,23 +231,23 @@ export function* setBodyDetails( blockId ) {
206
  return body;
207
  }
208
 
209
- export function* removeTicketBlock( blockId ) {
210
  const { removeBlock } = wpDispatch( 'core/editor' );
211
 
212
  yield all( [
213
- put( actions.removeTicketBlock( blockId ) ),
214
- call( removeBlock, blockId ),
215
  ] );
216
  }
217
 
218
  export function* fetchTicket( action ) {
219
- const { ticketId, blockId } = action.payload;
220
 
221
  if ( ticketId === 0 ) {
222
  return;
223
  }
224
 
225
- yield put( actions.setTicketIsLoading( blockId, true ) );
226
 
227
  try {
228
  const { response, data: ticket } = yield call( wpREST, {
@@ -233,7 +258,7 @@ export function* fetchTicket( action ) {
233
  const { status = '', provider } = ticket;
234
 
235
  if ( response.status === 404 || status === 'trash' || provider === constants.RSVP ) {
236
- yield call( removeTicketBlock, blockId );
237
  return;
238
  }
239
 
@@ -296,14 +321,14 @@ export function* fetchTicket( action ) {
296
  };
297
 
298
  yield all( [
299
- put( actions.setTicketDetails( blockId, details ) ),
300
- put( actions.setTicketTempDetails( blockId, details ) ),
301
- put( actions.setTicketSold( blockId, totals.sold ) ),
302
- put( actions.setTicketAvailable( blockId, totals.stock ) ),
303
- put( actions.setTicketCurrencySymbol( blockId, cost_details.currency_symbol ) ),
304
- put( actions.setTicketCurrencyPosition( blockId, cost_details.currency_position ) ),
305
- put( actions.setTicketProvider( blockId, provider ) ),
306
- put( actions.setTicketHasBeenCreated( blockId, true ) ),
307
  ] );
308
  }
309
  } catch ( e ) {
@@ -313,19 +338,19 @@ export function* fetchTicket( action ) {
313
  */
314
  }
315
 
316
- yield put( actions.setTicketIsLoading( blockId, false ) );
317
  }
318
 
319
  export function* createNewTicket( action ) {
320
- const { blockId } = action.payload;
321
- const props = { blockId };
322
 
323
  const { add_ticket_nonce = '' } = restNonce();
324
- const body = yield call( setBodyDetails, blockId );
325
  body.append( 'add_ticket_nonce', add_ticket_nonce );
326
 
327
  try {
328
- yield put( actions.setTicketIsLoading( blockId, true ) );
329
  const { response, data: ticket } = yield call( wpREST, {
330
  path: 'tickets/',
331
  namespace: 'tribe/tickets/v1',
@@ -382,7 +407,7 @@ export function* createNewTicket( action ) {
382
  ] );
383
 
384
  yield all( [
385
- put( actions.setTicketDetails( blockId, {
386
  title,
387
  description,
388
  price,
@@ -400,11 +425,11 @@ export function* createNewTicket( action ) {
400
  capacityType,
401
  capacity,
402
  } ) ),
403
- put( actions.setTicketId( blockId, ticket.ID ) ),
404
- put( actions.setTicketHasBeenCreated( blockId, true ) ),
405
- put( actions.setTicketAvailable( blockId, ticket.capacity ) ),
406
- put( actions.setTicketProvider( blockId, PROVIDER_CLASS_TO_PROVIDER_MAPPING[ ticket.provider_class ] ) ),
407
- put( actions.setTicketHasChanges( blockId, false ) ),
408
  ] );
409
  }
410
  } catch ( e ) {
@@ -413,16 +438,16 @@ export function* createNewTicket( action ) {
413
  * @todo: handle error scenario
414
  */
415
  } finally {
416
- yield put( actions.setTicketIsLoading( blockId, false ) );
417
  }
418
  }
419
 
420
  export function* updateTicket( action ) {
421
- const { blockId } = action.payload;
422
- const props = { blockId };
423
 
424
  const { edit_ticket_nonce = '' } = restNonce();
425
- const body = yield call( setBodyDetails, blockId );
426
  body.append( 'edit_ticket_nonce', edit_ticket_nonce );
427
 
428
  const ticketId = yield select( selectors.getTicketId, props );
@@ -433,7 +458,7 @@ export function* updateTicket( action ) {
433
  data.push( `${ encodeURIComponent( key ) }=${ encodeURIComponent( value ) }` );
434
  }
435
 
436
- yield put( actions.setTicketIsLoading( blockId, true ) );
437
  const { response } = yield call( wpREST, {
438
  path: `tickets/${ ticketId }`,
439
  namespace: 'tribe/tickets/v1',
@@ -484,7 +509,7 @@ export function* updateTicket( action ) {
484
  ] );
485
 
486
  yield all( [
487
- put( actions.setTicketDetails( blockId, {
488
  title,
489
  description,
490
  price,
@@ -502,7 +527,7 @@ export function* updateTicket( action ) {
502
  capacityType,
503
  capacity,
504
  } ) ),
505
- put( actions.setTicketHasChanges( blockId, false ) ),
506
  ] );
507
  }
508
  } catch ( e ) {
@@ -511,13 +536,13 @@ export function* updateTicket( action ) {
511
  * @todo: handle error scenario
512
  */
513
  } finally {
514
- yield put( actions.setTicketIsLoading( blockId, false ) );
515
  }
516
  }
517
 
518
  export function* deleteTicket( action ) {
519
- const { blockId } = action.payload;
520
- const props = { blockId };
521
 
522
  const shouldDelete = yield call( [ window, 'confirm' ], __( 'Are you sure you want to delete this ticket? It cannot be undone.' ) );
523
 
@@ -525,9 +550,9 @@ export function* deleteTicket( action ) {
525
  const ticketId = yield select( selectors.getTicketId, props );
526
  const hasBeenCreated = yield select( selectors.getTicketHasBeenCreated, props );
527
 
528
- yield put( actions.setTicketIsSelected( blockId, false ) );
529
- yield put( actions.removeTicketBlock( blockId ) );
530
- yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ blockId ] );
531
 
532
  if ( hasBeenCreated ) {
533
  const { remove_ticket_nonce = '' } = restNonce();
@@ -590,7 +615,7 @@ export function* fetchTicketsHeaderImage( action ) {
590
 
591
  export function* updateTicketsHeaderImage( action ) {
592
  const { image } = action.payload;
593
- const postId = wpSelect( 'core/editor' ).getCurrentPostId();
594
  const body = {
595
  meta: {
596
  [ utils.KEY_TICKET_HEADER ]: `${ image.id }`,
@@ -598,7 +623,11 @@ export function* updateTicketsHeaderImage( action ) {
598
  };
599
 
600
  try {
 
 
 
601
  yield put( actions.setTicketsIsSettingsLoading( true ) );
 
602
  const { response } = yield call( wpREST, {
603
  path: `tribe_events/${ postId }`,
604
  headers: {
@@ -611,23 +640,32 @@ export function* updateTicketsHeaderImage( action ) {
611
  } );
612
 
613
  if ( response.ok ) {
614
- yield put( actions.setTicketsHeaderImage( {
615
  id: image.id,
616
  alt: image.alt,
617
  src: image.sizes.medium.url,
618
- } ) );
 
 
 
 
 
619
  }
620
  } catch ( e ) {
621
  /**
622
  * @todo: handle error scenario
623
  */
624
  } finally {
 
 
 
625
  yield put( actions.setTicketsIsSettingsLoading( false ) );
 
626
  }
627
  }
628
 
629
  export function* deleteTicketsHeaderImage() {
630
- const postId = wpSelect( 'core/editor' ).getCurrentPostId();
631
  const body = {
632
  meta: {
633
  [ utils.KEY_TICKET_HEADER ]: null,
@@ -635,7 +673,11 @@ export function* deleteTicketsHeaderImage() {
635
  };
636
 
637
  try {
 
 
 
638
  yield put( actions.setTicketsIsSettingsLoading( true ) );
 
639
  const { response } = yield call( wpREST, {
640
  path: `tribe_events/${ postId }`,
641
  headers: {
@@ -648,19 +690,27 @@ export function* deleteTicketsHeaderImage() {
648
  } );
649
 
650
  if ( response.ok ) {
651
- yield put( actions.setTicketsHeaderImage( HEADER_IMAGE_DEFAULT_STATE ) );
 
 
 
 
652
  }
653
  } catch ( e ) {
654
  /**
655
  * @todo: handle error scenario
656
  */
657
  } finally {
 
 
 
658
  yield put( actions.setTicketsIsSettingsLoading( false ) );
 
659
  }
660
  }
661
 
662
  export function* setTicketDetails( action ) {
663
- const { blockId, details } = action.payload;
664
  const {
665
  title,
666
  description,
@@ -681,27 +731,27 @@ export function* setTicketDetails( action ) {
681
  } = details;
682
 
683
  yield all( [
684
- put( actions.setTicketTitle( blockId, title ) ),
685
- put( actions.setTicketDescription( blockId, description ) ),
686
- put( actions.setTicketPrice( blockId, price ) ),
687
- put( actions.setTicketSku( blockId, sku ) ),
688
- put( actions.setTicketStartDate( blockId, startDate ) ),
689
- put( actions.setTicketStartDateInput( blockId, startDateInput ) ),
690
- put( actions.setTicketStartDateMoment( blockId, startDateMoment ) ),
691
- put( actions.setTicketEndDate( blockId, endDate ) ),
692
- put( actions.setTicketEndDateInput( blockId, endDateInput ) ),
693
- put( actions.setTicketEndDateMoment( blockId, endDateMoment ) ),
694
- put( actions.setTicketStartTime( blockId, startTime ) ),
695
- put( actions.setTicketEndTime( blockId, endTime ) ),
696
- put( actions.setTicketStartTimeInput( blockId, startTimeInput ) ),
697
- put( actions.setTicketEndTimeInput( blockId, endTimeInput ) ),
698
- put( actions.setTicketCapacityType( blockId, capacityType ) ),
699
- put( actions.setTicketCapacity( blockId, capacity ) ),
700
  ] );
701
  }
702
 
703
  export function* setTicketTempDetails( action ) {
704
- const { blockId, tempDetails } = action.payload;
705
  const {
706
  title,
707
  description,
@@ -722,22 +772,22 @@ export function* setTicketTempDetails( action ) {
722
  } = tempDetails;
723
 
724
  yield all( [
725
- put( actions.setTicketTempTitle( blockId, title ) ),
726
- put( actions.setTicketTempDescription( blockId, description ) ),
727
- put( actions.setTicketTempPrice( blockId, price ) ),
728
- put( actions.setTicketTempSku( blockId, sku ) ),
729
- put( actions.setTicketTempStartDate( blockId, startDate ) ),
730
- put( actions.setTicketTempStartDateInput( blockId, startDateInput ) ),
731
- put( actions.setTicketTempStartDateMoment( blockId, startDateMoment ) ),
732
- put( actions.setTicketTempEndDate( blockId, endDate ) ),
733
- put( actions.setTicketTempEndDateInput( blockId, endDateInput ) ),
734
- put( actions.setTicketTempEndDateMoment( blockId, endDateMoment ) ),
735
- put( actions.setTicketTempStartTime( blockId, startTime ) ),
736
- put( actions.setTicketTempEndTime( blockId, endTime ) ),
737
- put( actions.setTicketTempStartTimeInput( blockId, startTimeInput ) ),
738
- put( actions.setTicketTempEndTimeInput( blockId, endTimeInput ) ),
739
- put( actions.setTicketTempCapacityType( blockId, capacityType ) ),
740
- put( actions.setTicketTempCapacity( blockId, capacity ) ),
741
  ] );
742
  }
743
 
@@ -777,7 +827,7 @@ export function* saveTicketWithPostSave( blockId ) {
777
  * @export
778
  */
779
  export function* syncTicketsSaleEndWithEventStart( prevStartDate ) {
780
- const ticketIds = yield select( selectors.getAllTicketIds );
781
  for (let index = 0; index < ticketIds.length; index++) {
782
  const blockId = ticketIds[index];
783
  yield call( syncTicketSaleEndWithEventStart, prevStartDate, blockId );
@@ -882,59 +932,59 @@ export function* handleEventStartDateChanges() {
882
  }
883
 
884
  export function* handleTicketStartDate( action ) {
885
- const { blockId, date, dayPickerInput } = action.payload;
886
  const startDateMoment = yield date ? call( momentUtil.toMoment, date ) : undefined;
887
  const startDate = yield date ? call( momentUtil.toDatabaseDate, startDateMoment ) : '';
888
- yield put( actions.setTicketTempStartDate( blockId, startDate ) );
889
- yield put( actions.setTicketTempStartDateInput( blockId, dayPickerInput.state.value ) );
890
- yield put( actions.setTicketTempStartDateMoment( blockId, startDateMoment ) );
891
  }
892
 
893
  export function* handleTicketEndDate( action ) {
894
- const { blockId, date, dayPickerInput } = action.payload;
895
  const endDateMoment = yield date ? call( momentUtil.toMoment, date ) : undefined;
896
  const endDate = yield date ? call( momentUtil.toDatabaseDate, endDateMoment ) : '';
897
- yield put( actions.setTicketTempEndDate( blockId, endDate ) );
898
- yield put( actions.setTicketTempEndDateInput( blockId, dayPickerInput.state.value ) );
899
- yield put( actions.setTicketTempEndDateMoment( blockId, endDateMoment ) );
900
  }
901
 
902
  export function* handleTicketStartTime( action ) {
903
- const { blockId, seconds } = action.payload;
904
  const startTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
905
- yield put( actions.setTicketTempStartTime( blockId, `${ startTime }:00` ) );
906
  }
907
 
908
  export function* handleTicketStartTimeInput( action ) {
909
- const { blockId, seconds } = action.payload;
910
  const startTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
911
  const startTimeMoment = yield call( momentUtil.toMoment, startTime, momentUtil.TIME_FORMAT, false );
912
  const startTimeInput = yield call( momentUtil.toTime, startTimeMoment );
913
- yield put( actions.setTicketTempStartTimeInput( blockId, startTimeInput ) );
914
  }
915
 
916
  export function* handleTicketEndTime( action ) {
917
- const { blockId, seconds } = action.payload;
918
  const endTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
919
- yield put( actions.setTicketTempEndTime( blockId, `${ endTime }:00` ) );
920
  }
921
 
922
  export function* handleTicketEndTimeInput( action ) {
923
- const { blockId, seconds } = action.payload;
924
  const endTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
925
  const endTimeMoment = yield call( momentUtil.toMoment, endTime, momentUtil.TIME_FORMAT, false );
926
  const endTimeInput = yield call( momentUtil.toTime, endTimeMoment );
927
- yield put( actions.setTicketTempEndTimeInput( blockId, endTimeInput ) );
928
  }
929
 
930
  export function* handleTicketMove() {
931
- const ticketBlockIds = yield select( selectors.getAllTicketIds );
932
- const modalBlockId = yield select( moveSelectors.getModalBlockId );
933
 
934
- if ( ticketBlockIds.includes( modalBlockId ) ) {
935
- yield put( actions.setTicketIsSelected( modalBlockId, false ) );
936
- yield put( actions.removeTicketBlock( modalBlockId ) );
937
- yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ modalBlockId ] );
938
  }
939
  }
940
 
@@ -944,6 +994,10 @@ export function* handler( action ) {
944
  yield call( setTicketsInitialState, action );
945
  break;
946
 
 
 
 
 
947
  case types.SET_TICKET_INITIAL_STATE:
948
  yield call( setTicketInitialState, action );
949
  break;
@@ -986,24 +1040,24 @@ export function* handler( action ) {
986
 
987
  case types.HANDLE_TICKET_START_DATE:
988
  yield call( handleTicketStartDate, action );
989
- yield put( actions.setTicketHasChanges( action.payload.blockId, true ) );
990
  break;
991
 
992
  case types.HANDLE_TICKET_END_DATE:
993
  yield call( handleTicketEndDate, action );
994
- yield put( actions.setTicketHasChanges( action.payload.blockId, true ) );
995
  break;
996
 
997
  case types.HANDLE_TICKET_START_TIME:
998
  yield call( handleTicketStartTime, action );
999
  yield call( handleTicketStartTimeInput, action );
1000
- yield put( actions.setTicketHasChanges( action.payload.blockId, true ) );
1001
  break;
1002
 
1003
  case types.HANDLE_TICKET_END_TIME:
1004
  yield call( handleTicketEndTime, action );
1005
  yield call( handleTicketEndTimeInput, action );
1006
- yield put( actions.setTicketHasChanges( action.payload.blockId, true ) );
1007
  break;
1008
 
1009
  case MOVE_TICKET_SUCCESS:
@@ -1018,6 +1072,7 @@ export function* handler( action ) {
1018
  export default function* watchers() {
1019
  yield takeEvery( [
1020
  types.SET_TICKETS_INITIAL_STATE,
 
1021
  types.SET_TICKET_INITIAL_STATE,
1022
  types.FETCH_TICKET,
1023
  types.CREATE_NEW_TICKET,
20
  import * as selectors from './selectors';
21
  import { DEFAULT_STATE } from './reducer';
22
  import {
23
+ DEFAULT_STATE as TICKET_HEADER_IMAGE_DEFAULT_STATE
24
  } from './reducers/header-image';
25
  import {
26
  DEFAULT_STATE as TICKET_DEFAULT_STATE,
27
  } from './reducers/tickets/ticket';
28
+ import * as rsvpActions from '@moderntribe/tickets/data/blocks/rsvp/actions';
29
+ import {
30
+ DEFAULT_STATE as RSVP_HEADER_IMAGE_DEFAULT_STATE
31
+ } from '@moderntribe/tickets/data/blocks/rsvp/reducers/header-image';
32
  import * as utils from '@moderntribe/tickets/data/utils';
33
  import {
34
  api,
67
  };
68
  const nextChildPosition = getBlockCount( clientId );
69
  const block = createBlock( 'tribe/tickets-item', attributes );
70
+ insertBlock( block, nextChildPosition, clientId, false );
71
  } );
72
  } );
73
  }
75
  export function* setTicketsInitialState( action ) {
76
  const { get } = action.payload;
77
 
78
+ const header = parseInt( get( 'header', TICKET_HEADER_IMAGE_DEFAULT_STATE.id ), 10 );
79
  const sharedCapacity = get( 'sharedCapacity' );
80
  const ticketsList = get( 'tickets', [] );
81
  const ticketsInBlock = yield select( selectors.getTicketsIdsInBlocks );
106
  yield put( actions.setTicketsProvider( provider ) );
107
  }
108
 
109
+ export function* resetTicketsBlock() {
110
+ const hasCreatedTickets = yield select( selectors.hasCreatedTickets );
111
+ yield all( [
112
+ put( actions.removeTicketBlocks() ),
113
+ put( actions.setTicketsIsSettingsOpen( false ) ),
114
+ ] );
115
+
116
+ if ( ! hasCreatedTickets ) {
117
+ const currentMeta = yield call( [ wpSelect( 'core/editor' ), 'getCurrentPostAttribute' ], 'meta' );
118
+ const newMeta = {
119
+ ...currentMeta,
120
+ [ utils.KEY_TICKET_CAPACITY ]: '',
121
+ };
122
+ yield call( [ wpDispatch( 'core/editor' ), 'editPost' ], { meta: newMeta } );
123
+ yield all( [
124
+ put( actions.setTicketsSharedCapacity( '' ) ),
125
+ put( actions.setTicketsTempSharedCapacity( '' ) ),
126
+ ] );
127
+ }
128
+ }
129
+
130
  export function* setTicketInitialState( action ) {
131
  const { clientId, get } = action.payload;
132
  const ticketId = get( 'ticketId', TICKET_DEFAULT_STATE.ticketId );
200
  }
201
  }
202
 
203
+ export function* setBodyDetails( clientId ) {
204
  const body = new FormData();
205
+ const props = { clientId };
206
  const ticketProvider = yield select( selectors.getTicketProvider, props );
207
  const ticketsProvider = yield select( selectors.getTicketsProvider );
208
 
231
  return body;
232
  }
233
 
234
+ export function* removeTicketBlock( clientId ) {
235
  const { removeBlock } = wpDispatch( 'core/editor' );
236
 
237
  yield all( [
238
+ put( actions.removeTicketBlock( clientId ) ),
239
+ call( removeBlock, clientId ),
240
  ] );
241
  }
242
 
243
  export function* fetchTicket( action ) {
244
+ const { ticketId, clientId } = action.payload;
245
 
246
  if ( ticketId === 0 ) {
247
  return;
248
  }
249
 
250
+ yield put( actions.setTicketIsLoading( clientId, true ) );
251
 
252
  try {
253
  const { response, data: ticket } = yield call( wpREST, {
258
  const { status = '', provider } = ticket;
259
 
260
  if ( response.status === 404 || status === 'trash' || provider === constants.RSVP ) {
261
+ yield call( removeTicketBlock, clientId );
262
  return;
263
  }
264
 
321
  };
322
 
323
  yield all( [
324
+ put( actions.setTicketDetails( clientId, details ) ),
325
+ put( actions.setTicketTempDetails( clientId, details ) ),
326
+ put( actions.setTicketSold( clientId, totals.sold ) ),
327
+ put( actions.setTicketAvailable( clientId, totals.stock ) ),
328
+ put( actions.setTicketCurrencySymbol( clientId, cost_details.currency_symbol ) ),
329
+ put( actions.setTicketCurrencyPosition( clientId, cost_details.currency_position ) ),
330
+ put( actions.setTicketProvider( clientId, provider ) ),
331
+ put( actions.setTicketHasBeenCreated( clientId, true ) ),
332
  ] );
333
  }
334
  } catch ( e ) {
338
  */
339
  }
340
 
341
+ yield put( actions.setTicketIsLoading( clientId, false ) );
342
  }
343
 
344
  export function* createNewTicket( action ) {
345
+ const { clientId } = action.payload;
346
+ const props = { clientId };
347
 
348
  const { add_ticket_nonce = '' } = restNonce();
349
+ const body = yield call( setBodyDetails, clientId );
350
  body.append( 'add_ticket_nonce', add_ticket_nonce );
351
 
352
  try {
353
+ yield put( actions.setTicketIsLoading( clientId, true ) );
354
  const { response, data: ticket } = yield call( wpREST, {
355
  path: 'tickets/',
356
  namespace: 'tribe/tickets/v1',
407
  ] );
408
 
409
  yield all( [
410
+ put( actions.setTicketDetails( clientId, {
411
  title,
412
  description,
413
  price,
425
  capacityType,
426
  capacity,
427
  } ) ),
428
+ put( actions.setTicketId( clientId, ticket.ID ) ),
429
+ put( actions.setTicketHasBeenCreated( clientId, true ) ),
430
+ put( actions.setTicketAvailable( clientId, ticket.capacity ) ),
431
+ put( actions.setTicketProvider( clientId, PROVIDER_CLASS_TO_PROVIDER_MAPPING[ ticket.provider_class ] ) ),
432
+ put( actions.setTicketHasChanges( clientId, false ) ),
433
  ] );
434
  }
435
  } catch ( e ) {
438
  * @todo: handle error scenario
439
  */
440
  } finally {
441
+ yield put( actions.setTicketIsLoading( clientId, false ) );
442
  }
443
  }
444
 
445
  export function* updateTicket( action ) {
446
+ const { clientId } = action.payload;
447
+ const props = { clientId };
448
 
449
  const { edit_ticket_nonce = '' } = restNonce();
450
+ const body = yield call( setBodyDetails, clientId );
451
  body.append( 'edit_ticket_nonce', edit_ticket_nonce );
452
 
453
  const ticketId = yield select( selectors.getTicketId, props );
458
  data.push( `${ encodeURIComponent( key ) }=${ encodeURIComponent( value ) }` );
459
  }
460
 
461
+ yield put( actions.setTicketIsLoading( clientId, true ) );
462
  const { response } = yield call( wpREST, {
463
  path: `tickets/${ ticketId }`,
464
  namespace: 'tribe/tickets/v1',
509
  ] );
510
 
511
  yield all( [
512
+ put( actions.setTicketDetails( clientId, {
513
  title,
514
  description,
515
  price,
527
  capacityType,
528
  capacity,
529
  } ) ),
530
+ put( actions.setTicketHasChanges( clientId, false ) ),
531
  ] );
532
  }
533
  } catch ( e ) {
536
  * @todo: handle error scenario
537
  */
538
  } finally {
539
+ yield put( actions.setTicketIsLoading( clientId, false ) );
540
  }
541
  }
542
 
543
  export function* deleteTicket( action ) {
544
+ const { clientId } = action.payload;
545
+ const props = { clientId };
546
 
547
  const shouldDelete = yield call( [ window, 'confirm' ], __( 'Are you sure you want to delete this ticket? It cannot be undone.' ) );
548
 
550
  const ticketId = yield select( selectors.getTicketId, props );
551
  const hasBeenCreated = yield select( selectors.getTicketHasBeenCreated, props );
552
 
553
+ yield put( actions.setTicketIsSelected( clientId, false ) );
554
+ yield put( actions.removeTicketBlock( clientId ) );
555
+ yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ clientId ] );
556
 
557
  if ( hasBeenCreated ) {
558
  const { remove_ticket_nonce = '' } = restNonce();
615
 
616
  export function* updateTicketsHeaderImage( action ) {
617
  const { image } = action.payload;
618
+ const postId = yield call( [ wpSelect( 'core/editor' ), 'getCurrentPostId' ] );
619
  const body = {
620
  meta: {
621
  [ utils.KEY_TICKET_HEADER ]: `${ image.id }`,
623
  };
624
 
625
  try {
626
+ /**
627
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
628
+ */
629
  yield put( actions.setTicketsIsSettingsLoading( true ) );
630
+ yield put( rsvpActions.setRSVPIsSettingsLoading( true ) );
631
  const { response } = yield call( wpREST, {
632
  path: `tribe_events/${ postId }`,
633
  headers: {
640
  } );
641
 
642
  if ( response.ok ) {
643
+ const headerImage = {
644
  id: image.id,
645
  alt: image.alt,
646
  src: image.sizes.medium.url,
647
+ };
648
+ /**
649
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
650
+ */
651
+ yield put( actions.setTicketsHeaderImage( headerImage ) );
652
+ yield put( rsvpActions.setRSVPHeaderImage( headerImage ) );
653
  }
654
  } catch ( e ) {
655
  /**
656
  * @todo: handle error scenario
657
  */
658
  } finally {
659
+ /**
660
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
661
+ */
662
  yield put( actions.setTicketsIsSettingsLoading( false ) );
663
+ yield put( rsvpActions.setRSVPIsSettingsLoading( false ) );
664
  }
665
  }
666
 
667
  export function* deleteTicketsHeaderImage() {
668
+ const postId = yield call( [ wpSelect( 'core/editor' ), 'getCurrentPostId' ] );
669
  const body = {
670
  meta: {
671
  [ utils.KEY_TICKET_HEADER ]: null,
673
  };
674
 
675
  try {
676
+ /**
677
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
678
+ */
679
  yield put( actions.setTicketsIsSettingsLoading( true ) );
680
+ yield put( rsvpActions.setRSVPIsSettingsLoading( true ) );
681
  const { response } = yield call( wpREST, {
682
  path: `tribe_events/${ postId }`,
683
  headers: {
690
  } );
691
 
692
  if ( response.ok ) {
693
+ /**
694
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
695
+ */
696
+ yield put( actions.setTicketsHeaderImage( TICKET_HEADER_IMAGE_DEFAULT_STATE ) );
697
+ yield put( rsvpActions.setRSVPHeaderImage( RSVP_HEADER_IMAGE_DEFAULT_STATE ) );
698
  }
699
  } catch ( e ) {
700
  /**
701
  * @todo: handle error scenario
702
  */
703
  } finally {
704
+ /**
705
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
706
+ */
707
  yield put( actions.setTicketsIsSettingsLoading( false ) );
708
+ yield put( rsvpActions.setRSVPIsSettingsLoading( false ) );
709
  }
710
  }
711
 
712
  export function* setTicketDetails( action ) {
713
+ const { clientId, details } = action.payload;
714
  const {
715
  title,
716
  description,
731
  } = details;
732
 
733
  yield all( [
734
+ put( actions.setTicketTitle( clientId, title ) ),
735
+ put( actions.setTicketDescription( clientId, description ) ),
736
+ put( actions.setTicketPrice( clientId, price ) ),
737
+ put( actions.setTicketSku( clientId, sku ) ),
738
+ put( actions.setTicketStartDate( clientId, startDate ) ),
739
+ put( actions.setTicketStartDateInput( clientId, startDateInput ) ),
740
+ put( actions.setTicketStartDateMoment( clientId, startDateMoment ) ),
741
+ put( actions.setTicketEndDate( clientId, endDate ) ),
742
+ put( actions.setTicketEndDateInput( clientId, endDateInput ) ),
743
+ put( actions.setTicketEndDateMoment( clientId, endDateMoment ) ),
744
+ put( actions.setTicketStartTime( clientId, startTime ) ),
745
+ put( actions.setTicketEndTime( clientId, endTime ) ),
746
+ put( actions.setTicketStartTimeInput( clientId, startTimeInput ) ),
747
+ put( actions.setTicketEndTimeInput( clientId, endTimeInput ) ),
748
+ put( actions.setTicketCapacityType( clientId, capacityType ) ),
749
+ put( actions.setTicketCapacity( clientId, capacity ) ),
750
  ] );
751
  }
752
 
753
  export function* setTicketTempDetails( action ) {
754
+ const { clientId, tempDetails } = action.payload;
755
  const {
756
  title,
757
  description,
772
  } = tempDetails;
773
 
774
  yield all( [
775
+ put( actions.setTicketTempTitle( clientId, title ) ),
776
+ put( actions.setTicketTempDescription( clientId, description ) ),
777
+ put( actions.setTicketTempPrice( clientId, price ) ),
778
+ put( actions.setTicketTempSku( clientId, sku ) ),
779
+ put( actions.setTicketTempStartDate( clientId, startDate ) ),
780
+ put( actions.setTicketTempStartDateInput( clientId, startDateInput ) ),
781
+ put( actions.setTicketTempStartDateMoment( clientId, startDateMoment ) ),
782
+ put( actions.setTicketTempEndDate( clientId, endDate ) ),
783
+ put( actions.setTicketTempEndDateInput( clientId, endDateInput ) ),
784
+ put( actions.setTicketTempEndDateMoment( clientId, endDateMoment ) ),
785
+ put( actions.setTicketTempStartTime( clientId, startTime ) ),
786
+ put( actions.setTicketTempEndTime( clientId, endTime ) ),
787
+ put( actions.setTicketTempStartTimeInput( clientId, startTimeInput ) ),
788
+ put( actions.setTicketTempEndTimeInput( clientId, endTimeInput ) ),
789
+ put( actions.setTicketTempCapacityType( clientId, capacityType ) ),
790
+ put( actions.setTicketTempCapacity( clientId, capacity ) ),
791
  ] );
792
  }
793
 
827
  * @export
828
  */
829
  export function* syncTicketsSaleEndWithEventStart( prevStartDate ) {
830
+ const ticketIds = yield select( selectors.getTicketsAllClientIds );
831
  for (let index = 0; index < ticketIds.length; index++) {
832
  const blockId = ticketIds[index];
833
  yield call( syncTicketSaleEndWithEventStart, prevStartDate, blockId );
932
  }
933
 
934
  export function* handleTicketStartDate( action ) {
935
+ const { clientId, date, dayPickerInput } = action.payload;
936
  const startDateMoment = yield date ? call( momentUtil.toMoment, date ) : undefined;
937
  const startDate = yield date ? call( momentUtil.toDatabaseDate, startDateMoment ) : '';
938
+ yield put( actions.setTicketTempStartDate( clientId, startDate ) );
939
+ yield put( actions.setTicketTempStartDateInput( clientId, dayPickerInput.state.value ) );
940
+ yield put( actions.setTicketTempStartDateMoment( clientId, startDateMoment ) );
941
  }
942
 
943
  export function* handleTicketEndDate( action ) {
944
+ const { clientId, date, dayPickerInput } = action.payload;
945
  const endDateMoment = yield date ? call( momentUtil.toMoment, date ) : undefined;
946
  const endDate = yield date ? call( momentUtil.toDatabaseDate, endDateMoment ) : '';
947
+ yield put( actions.setTicketTempEndDate( clientId, endDate ) );
948
+ yield put( actions.setTicketTempEndDateInput( clientId, dayPickerInput.state.value ) );
949
+ yield put( actions.setTicketTempEndDateMoment( clientId, endDateMoment ) );
950
  }
951
 
952
  export function* handleTicketStartTime( action ) {
953
+ const { clientId, seconds } = action.payload;
954
  const startTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
955
+ yield put( actions.setTicketTempStartTime( clientId, `${ startTime }:00` ) );
956
  }
957
 
958
  export function* handleTicketStartTimeInput( action ) {
959
+ const { clientId, seconds } = action.payload;
960
  const startTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
961
  const startTimeMoment = yield call( momentUtil.toMoment, startTime, momentUtil.TIME_FORMAT, false );
962
  const startTimeInput = yield call( momentUtil.toTime, startTimeMoment );
963
+ yield put( actions.setTicketTempStartTimeInput( clientId, startTimeInput ) );
964
  }
965
 
966
  export function* handleTicketEndTime( action ) {
967
+ const { clientId, seconds } = action.payload;
968
  const endTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
969
+ yield put( actions.setTicketTempEndTime( clientId, `${ endTime }:00` ) );
970
  }
971
 
972
  export function* handleTicketEndTimeInput( action ) {
973
+ const { clientId, seconds } = action.payload;
974
  const endTime = yield call( timeUtil.fromSeconds, seconds, timeUtil.TIME_FORMAT_HH_MM );
975
  const endTimeMoment = yield call( momentUtil.toMoment, endTime, momentUtil.TIME_FORMAT, false );
976
  const endTimeInput = yield call( momentUtil.toTime, endTimeMoment );
977
+ yield put( actions.setTicketTempEndTimeInput( clientId, endTimeInput ) );
978
  }
979
 
980
  export function* handleTicketMove() {
981
+ const ticketClientIds = yield select( selectors.getTicketsAllClientIds );
982
+ const modalClientId = yield select( moveSelectors.getModalClientId );
983
 
984
+ if ( ticketClientIds.includes( modalClientId ) ) {
985
+ yield put( actions.setTicketIsSelected( modalClientId, false ) );
986
+ yield put( actions.removeTicketBlock( modalClientId ) );
987
+ yield call( [ wpDispatch( 'core/editor' ), 'removeBlocks' ], [ modalClientId ] );
988
  }
989
  }
990
 
994
  yield call( setTicketsInitialState, action );
995
  break;
996
 
997
+ case types.RESET_TICKETS_BLOCK:
998
+ yield call( resetTicketsBlock );
999
+ break;
1000
+
1001
  case types.SET_TICKET_INITIAL_STATE:
1002
  yield call( setTicketInitialState, action );
1003
  break;
1040
 
1041
  case types.HANDLE_TICKET_START_DATE:
1042
  yield call( handleTicketStartDate, action );
1043
+ yield put( actions.setTicketHasChanges( action.payload.clientId, true ) );
1044
  break;
1045
 
1046
  case types.HANDLE_TICKET_END_DATE:
1047
  yield call( handleTicketEndDate, action );
1048
+ yield put( actions.setTicketHasChanges( action.payload.clientId, true ) );
1049
  break;
1050
 
1051
  case types.HANDLE_TICKET_START_TIME:
1052
  yield call( handleTicketStartTime, action );
1053
  yield call( handleTicketStartTimeInput, action );
1054
+ yield put( actions.setTicketHasChanges( action.payload.clientId, true ) );
1055
  break;
1056
 
1057
  case types.HANDLE_TICKET_END_TIME:
1058
  yield call( handleTicketEndTime, action );
1059
  yield call( handleTicketEndTimeInput, action );
1060
+ yield put( actions.setTicketHasChanges( action.payload.clientId, true ) );
1061
  break;
1062
 
1063
  case MOVE_TICKET_SUCCESS:
1072
  export default function* watchers() {
1073
  yield takeEvery( [
1074
  types.SET_TICKETS_INITIAL_STATE,
1075
+ types.RESET_TICKETS_BLOCK,
1076
  types.SET_TICKET_INITIAL_STATE,
1077
  types.FETCH_TICKET,
1078
  types.CREATE_NEW_TICKET,
src/modules/data/blocks/ticket/selectors.js CHANGED
@@ -3,6 +3,7 @@
3
  */
4
  import { createSelector } from 'reselect';
5
  import { find, trim } from 'lodash';
 
6
 
7
  /**
8
  * Internal dependencies
@@ -19,12 +20,18 @@ const {
19
  } = constants;
20
  const { tickets: ticketsConfig } = globals;
21
 
 
22
  export const getBlock = ( state ) => state.tickets.blocks.ticket;
23
 
24
  //
25
  // ─── BLOCK SELECTORS ────────────────────────────────────────────────────────────
26
  //
27
 
 
 
 
 
 
28
  export const getTicketsIsSettingsOpen = createSelector(
29
  [ getBlock ],
30
  ( block ) => block.isSettingsOpen,
@@ -93,24 +100,24 @@ export const getTickets = createSelector(
93
  ( block ) => block.tickets,
94
  );
95
 
96
- export const getAllTicketIds = createSelector(
97
  [ getTickets ],
98
- ( tickets ) => tickets.allIds,
99
  );
100
 
101
- export const getTicketsById = createSelector(
102
  [ getTickets ],
103
- ( tickets ) => tickets.byId,
104
  );
105
 
106
  export const getTicketsArray = createSelector(
107
- [ getAllTicketIds, getTicketsById ],
108
  ( ids, tickets ) => ids.map( ( id ) => tickets[ id ] ),
109
  );
110
 
111
  export const getTicketsCount = createSelector(
112
- [ getAllTicketIds ],
113
- ( allIds ) => allIds.length,
114
  );
115
 
116
  export const hasTickets = createSelector(
@@ -172,11 +179,11 @@ export const getTicketsIdsInBlocks = createSelector(
172
  // ─── TICKET SELECTORS ───────────────────────────────────────────────────────────
173
  //
174
 
175
- export const getTicketBlockId = ( state, ownProps ) => ownProps.blockId;
176
 
177
  export const getTicket = createSelector(
178
- [ getTicketsById, getTicketBlockId ],
179
- ( tickets, blockId ) => tickets[ blockId ] || {},
180
  );
181
 
182
  export const getTicketSold = createSelector(
@@ -347,17 +354,65 @@ export const getTicketCapacityInt = createSelector(
347
 
348
  export const isUnlimitedTicket = createSelector(
349
  [ getTicketDetails ],
350
- ( block ) => block.capacityType === TICKET_TYPES[ UNLIMITED ],
351
  );
352
 
353
  export const isSharedTicket = createSelector(
354
  [ getTicketDetails ],
355
- ( block ) => block.capacityType === TICKET_TYPES[ SHARED ],
356
  );
357
 
358
  export const isIndependentTicket = createSelector(
359
  [ getTicketDetails ],
360
- ( block ) => block.capacityType === TICKET_TYPES[ INDEPENDENT ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
361
  );
362
 
363
  //
@@ -492,31 +547,6 @@ export const isTicketValid = createSelector(
492
  },
493
  );
494
 
495
- export const isTicketPast = createSelector(
496
- [ getTicketEndDateMoment, getTicketIsLoading, getTicketHasBeenCreated ],
497
- ( endDate, isLoading, isCreated ) => {
498
-
499
- if ( isLoading || ! isCreated ) {
500
- return false;
501
- }
502
-
503
- return moment.isMoment( endDate ) ? moment().isAfter( endDate ) : false;
504
- }
505
- );
506
-
507
- export const isTicketFuture = createSelector(
508
- [ getTicketStartDateMoment, getTicketIsLoading, getTicketHasBeenCreated ],
509
- ( startDate, isLoading, isCreated ) => {
510
-
511
- if ( isLoading || ! isCreated ) {
512
- return false;
513
- }
514
-
515
- return moment.isMoment( startDate ) ? startDate.isAfter( moment() ) : false;
516
- }
517
- );
518
-
519
-
520
  //
521
  // ─── AMOUNT REDUCERS ────────────────────────────────────────────────────────────
522
  //
@@ -601,4 +631,4 @@ export const hasTicketProviders = createSelector(
601
  export const canCreateTickets = createSelector(
602
  [ hasTicketProviders, hasValidTicketProvider ],
603
  ( providers, validDefaultProvider ) => providers && validDefaultProvider
604
- );
3
  */
4
  import { createSelector } from 'reselect';
5
  import { find, trim } from 'lodash';
6
+ import moment from 'moment';
7
 
8
  /**
9
  * Internal dependencies
20
  } = constants;
21
  const { tickets: ticketsConfig } = globals;
22
 
23
+ export const getState = ( state ) => state;
24
  export const getBlock = ( state ) => state.tickets.blocks.ticket;
25
 
26
  //
27
  // ─── BLOCK SELECTORS ────────────────────────────────────────────────────────────
28
  //
29
 
30
+ export const getTicketsIsSelected = createSelector(
31
+ [ getBlock ],
32
+ ( block ) => block.isSelected,
33
+ );
34
+
35
  export const getTicketsIsSettingsOpen = createSelector(
36
  [ getBlock ],
37
  ( block ) => block.isSettingsOpen,
100
  ( block ) => block.tickets,
101
  );
102
 
103
+ export const getTicketsAllClientIds = createSelector(
104
  [ getTickets ],
105
+ ( tickets ) => tickets.allClientIds,
106
  );
107
 
108
+ export const getTicketsByClientId = createSelector(
109
  [ getTickets ],
110
+ ( tickets ) => tickets.byClientId,
111
  );
112
 
113
  export const getTicketsArray = createSelector(
114
+ [ getTicketsAllClientIds, getTicketsByClientId ],
115
  ( ids, tickets ) => ids.map( ( id ) => tickets[ id ] ),
116
  );
117
 
118
  export const getTicketsCount = createSelector(
119
+ [ getTicketsAllClientIds ],
120
+ ( allClientIds ) => allClientIds.length,
121
  );
122
 
123
  export const hasTickets = createSelector(
179
  // ─── TICKET SELECTORS ───────────────────────────────────────────────────────────
180
  //
181
 
182
+ export const getTicketClientId = ( state, ownProps ) => ownProps.clientId;
183
 
184
  export const getTicket = createSelector(
185
+ [ getTicketsByClientId, getTicketClientId ],
186
+ ( tickets, clientId ) => tickets[ clientId ] || {},
187
  );
188
 
189
  export const getTicketSold = createSelector(
354
 
355
  export const isUnlimitedTicket = createSelector(
356
  [ getTicketDetails ],
357
+ ( details ) => details.capacityType === TICKET_TYPES[ UNLIMITED ],
358
  );
359
 
360
  export const isSharedTicket = createSelector(
361
  [ getTicketDetails ],
362
+ ( details ) => details.capacityType === TICKET_TYPES[ SHARED ],
363
  );
364
 
365
  export const isIndependentTicket = createSelector(
366
  [ getTicketDetails ],
367
+ ( details ) => details.capacityType === TICKET_TYPES[ INDEPENDENT ],
368
+ );
369
+
370
+ export const isTicketPast = createSelector(
371
+ [ getTicketEndDateMoment ],
372
+ ( endDate ) => moment().isAfter( endDate ),
373
+ );
374
+
375
+ export const isTicketFuture = createSelector(
376
+ [ getTicketStartDateMoment ],
377
+ ( startDate ) => moment().isBefore( startDate ),
378
+ );
379
+
380
+ export const isTicketOnSale = createSelector(
381
+ [ getTicketHasBeenCreated, isTicketPast, isTicketFuture ],
382
+ ( hasBeenCreated, isPast, isFuture ) => (
383
+ hasBeenCreated && ! isPast && ! isFuture
384
+ ),
385
+ );
386
+
387
+ export const hasTicketOnSale = createSelector(
388
+ [ getTicketsAllClientIds, getState ],
389
+ ( allClientIds, state ) => allClientIds.reduce( ( onSale, clientId ) => (
390
+ onSale || isTicketOnSale( state, { clientId } )
391
+ ), false ),
392
+ );
393
+
394
+ export const allTicketsPast = createSelector(
395
+ [ getTicketsAllClientIds, getState ],
396
+ ( allClientIds, state ) => allClientIds.reduce( ( isPast, clientId ) => {
397
+ const props = { clientId };
398
+ return (
399
+ getTicketHasBeenCreated( state, props )
400
+ ? isPast && isTicketPast( state, props )
401
+ : isPast
402
+ );
403
+ }, true ),
404
+ );
405
+
406
+ export const allTicketsFuture = createSelector(
407
+ [ getTicketsAllClientIds, getState ],
408
+ ( allClientIds, state ) => allClientIds.reduce( ( isFuture, clientId ) => {
409
+ const props = { clientId };
410
+ return (
411
+ getTicketHasBeenCreated( state, props )
412
+ ? isFuture && isTicketFuture( state, props )
413
+ : isFuture
414
+ );
415
+ }, true ),
416
  );
417
 
418
  //
547
  },
548
  );
549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
550
  //
551
  // ─── AMOUNT REDUCERS ────────────────────────────────────────────────────────────
552
  //
631
  export const canCreateTickets = createSelector(
632
  [ hasTicketProviders, hasValidTicketProvider ],
633
  ( providers, validDefaultProvider ) => providers && validDefaultProvider
634
+ );
src/modules/data/blocks/ticket/types.js CHANGED
@@ -8,8 +8,10 @@ import { PREFIX_TICKETS_STORE } from '@moderntribe/tickets/data/utils';
8
  //
9
 
10
  export const SET_TICKETS_INITIAL_STATE = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_INITIAL_STATE`;
 
11
 
12
  export const SET_TICKETS_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_HEADER_IMAGE`;
 
13
  export const SET_TICKETS_IS_SETTINGS_OPEN = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_IS_SETTINGS_OPEN`;
14
  export const SET_TICKETS_IS_SETTINGS_LOADING = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_IS_SETTINGS_LOADING`;
15
  export const SET_TICKETS_PROVIDER = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_PROVIDER`;
@@ -30,6 +32,7 @@ export const DELETE_TICKETS_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/DELETE_TIC
30
 
31
  export const REGISTER_TICKET_BLOCK = `${ PREFIX_TICKETS_STORE }/REGISTER_TICKET_BLOCK`;
32
  export const REMOVE_TICKET_BLOCK = `${ PREFIX_TICKETS_STORE }/REMOVE_TICKET_BLOCK`;
 
33
 
34
  export const SET_TICKET_TITLE = `${ PREFIX_TICKETS_STORE }/SET_TICKET_TITLE`;
35
  export const SET_TICKET_DESCRIPTION = `${ PREFIX_TICKETS_STORE }/SET_TICKET_DESCRIPTION`;
8
  //
9
 
10
  export const SET_TICKETS_INITIAL_STATE = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_INITIAL_STATE`;
11
+ export const RESET_TICKETS_BLOCK = `${ PREFIX_TICKETS_STORE }/RESET_TICKETS_BLOCK`;
12
 
13
  export const SET_TICKETS_HEADER_IMAGE = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_HEADER_IMAGE`;
14
+ export const SET_TICKETS_IS_SELECTED = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_IS_SELECTED`;
15
  export const SET_TICKETS_IS_SETTINGS_OPEN = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_IS_SETTINGS_OPEN`;
16
  export const SET_TICKETS_IS_SETTINGS_LOADING = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_IS_SETTINGS_LOADING`;
17
  export const SET_TICKETS_PROVIDER = `${ PREFIX_TICKETS_STORE }/SET_TICKETS_PROVIDER`;
32
 
33
  export const REGISTER_TICKET_BLOCK = `${ PREFIX_TICKETS_STORE }/REGISTER_TICKET_BLOCK`;
34
  export const REMOVE_TICKET_BLOCK = `${ PREFIX_TICKETS_STORE }/REMOVE_TICKET_BLOCK`;
35
+ export const REMOVE_TICKET_BLOCKS = `${ PREFIX_TICKETS_STORE }/REMOVE_TICKET_BLOCKS`;
36
 
37
  export const SET_TICKET_TITLE = `${ PREFIX_TICKETS_STORE }/SET_TICKET_TITLE`;
38
  export const SET_TICKET_DESCRIPTION = `${ PREFIX_TICKETS_STORE }/SET_TICKET_DESCRIPTION`;
src/modules/data/shared/move/__tests__/__snapshots__/actions.test.js.snap CHANGED
@@ -16,7 +16,7 @@ Object {
16
  exports[`Move Actons showModal 1`] = `
17
  Object {
18
  "payload": Object {
19
- "blockId": 1,
20
  "ticketId": Object {},
21
  },
22
  "type": "@@MT/TICKETS/SHOW_MODAL",
16
  exports[`Move Actons showModal 1`] = `
17
  Object {
18
  "payload": Object {
19
+ "clientId": 1,
20
  "ticketId": Object {},
21
  },
22
  "type": "@@MT/TICKETS/SHOW_MODAL",
src/modules/data/shared/move/__tests__/__snapshots__/selectors.test.js.snap CHANGED
@@ -2,7 +2,7 @@
2
 
3
  exports[`Move Selectors Default - _getModal 1`] = `
4
  Object {
5
- "blockId": null,
6
  "isSubmitting": false,
7
  "post_type": "all",
8
  "search_terms": "",
@@ -31,7 +31,7 @@ Object {
31
  }
32
  `;
33
 
34
- exports[`Move Selectors Default - getModalBlockId 1`] = `null`;
35
 
36
  exports[`Move Selectors Default - getModalPostType 1`] = `"all"`;
37
 
@@ -44,7 +44,7 @@ exports[`Move Selectors Default - getModalTicketId 1`] = `null`;
44
  exports[`Move Selectors Default - getMove 1`] = `
45
  Object {
46
  "modal": Object {
47
- "blockId": null,
48
  "isSubmitting": false,
49
  "post_type": "all",
50
  "search_terms": "",
2
 
3
  exports[`Move Selectors Default - _getModal 1`] = `
4
  Object {
5
+ "clientId": null,
6
  "isSubmitting": false,
7
  "post_type": "all",
8
  "search_terms": "",
31
  }
32
  `;
33
 
34
+ exports[`Move Selectors Default - getModalClientId 1`] = `null`;
35
 
36
  exports[`Move Selectors Default - getModalPostType 1`] = `"all"`;
37
 
44
  exports[`Move Selectors Default - getMove 1`] = `
45
  Object {
46
  "modal": Object {
47
+ "clientId": null,
48
  "isSubmitting": false,
49
  "post_type": "all",
50
  "search_terms": "",
src/modules/data/shared/move/actions.js CHANGED
@@ -4,9 +4,9 @@
4
  */
5
  import * as types from './types';
6
 
7
- export const showModal = ( ticketId, blockId, ) => ( {
8
  type: types.SHOW_MODAL,
9
- payload: { ticketId, blockId },
10
  } );
11
 
12
  export const hideModal = () => ( {
4
  */
5
  import * as types from './types';
6
 
7
+ export const showModal = ( ticketId, clientId, ) => ( {
8
  type: types.SHOW_MODAL,
9
+ payload: { ticketId, clientId },
10
  } );
11
 
12
  export const hideModal = () => ( {
src/modules/data/shared/move/reducers/__tests__/__snapshots__/modal.test.js.snap CHANGED
@@ -2,7 +2,7 @@
2
 
3
  exports[`Move modal reducer should move ticket 1`] = `
4
  Object {
5
- "blockId": null,
6
  "isSubmitting": true,
7
  "post_type": "all",
8
  "search_terms": "",
@@ -13,7 +13,7 @@ Object {
13
 
14
  exports[`Move modal reducer should move ticket with error 1`] = `
15
  Object {
16
- "blockId": null,
17
  "isSubmitting": false,
18
  "post_type": "all",
19
  "search_terms": "",
@@ -24,7 +24,7 @@ Object {
24
 
25
  exports[`Move modal reducer should move ticket with success 1`] = `
26
  Object {
27
- "blockId": null,
28
  "isSubmitting": false,
29
  "post_type": "all",
30
  "search_terms": "",
@@ -35,7 +35,7 @@ Object {
35
 
36
  exports[`Move modal reducer should set data 1`] = `
37
  Object {
38
- "blockId": null,
39
  "isSubmitting": false,
40
  "post_type": "some",
41
  "search_terms": "",
2
 
3
  exports[`Move modal reducer should move ticket 1`] = `
4
  Object {
5
+ "clientId": null,
6
  "isSubmitting": true,
7
  "post_type": "all",
8
  "search_terms": "",
13
 
14
  exports[`Move modal reducer should move ticket with error 1`] = `
15
  Object {
16
+ "clientId": null,
17
  "isSubmitting": false,
18
  "post_type": "all",
19
  "search_terms": "",
24
 
25
  exports[`Move modal reducer should move ticket with success 1`] = `
26
  Object {
27
+ "clientId": null,
28
  "isSubmitting": false,
29
  "post_type": "all",
30
  "search_terms": "",
35
 
36
  exports[`Move modal reducer should set data 1`] = `
37
  Object {
38
+ "clientId": null,
39
  "isSubmitting": false,
40
  "post_type": "some",
41
  "search_terms": "",
src/modules/data/shared/move/reducers/modal.js CHANGED
@@ -9,7 +9,7 @@ export const DEFAULT_STATE = {
9
  search_terms: '',
10
  target_post_id: null,
11
  ticketId: null,
12
- blockId: null,
13
  isSubmitting: false,
14
  };
15
 
9
  search_terms: '',
10
  target_post_id: null,
11
  ticketId: null,
12
+ clientId: null,
13
  isSubmitting: false,
14
  };
15
 
src/modules/data/shared/move/selectors.js CHANGED
@@ -34,7 +34,7 @@ export const getModalPostType = createSelector( _getModal, modal => modal.post_t
34
  export const getModalSearch = createSelector( _getModal, modal => modal.search_terms );
35
  export const getModalTarget = createSelector( _getModal, modal => modal.target_post_id );
36
  export const getModalTicketId = createSelector( _getModal, modal => modal.ticketId );
37
- export const getModalBlockId = createSelector( _getModal, modal => modal.blockId );
38
  export const isModalSubmitting = createSelector( _getModal, modal => modal.isSubmitting );
39
 
40
  export const getPostTypeOptionValue = createSelector(
34
  export const getModalSearch = createSelector( _getModal, modal => modal.search_terms );
35
  export const getModalTarget = createSelector( _getModal, modal => modal.target_post_id );
36
  export const getModalTicketId = createSelector( _getModal, modal => modal.ticketId );
37
+ export const getModalClientId = createSelector( _getModal, modal => modal.clientId );
38
  export const isModalSubmitting = createSelector( _getModal, modal => modal.isSubmitting );
39
 
40
  export const getPostTypeOptionValue = createSelector(
src/modules/elements/date-time-range-picker/element.js CHANGED
@@ -18,14 +18,7 @@ import {
18
  } from '@moderntribe/common/utils';
19
  import './style.pcss';
20
 
21
- /**
22
- * @todo rename onClick property for something more meaningful like, onSelectedTime
23
- */
24
-
25
  class DateTimeRangePicker extends Component {
26
- /**
27
- * @todo remove the need to specify the: fromDate, fromTime, toDate, toTime
28
- */
29
  static defaultProps = {
30
  fromDateFormat: 'LL',
31
  onFromDateChange: noop,
@@ -37,7 +30,8 @@ class DateTimeRangePicker extends Component {
37
 
38
  static propTypes = {
39
  className: PropTypes.string,
40
- fromDate: PropTypes.string,
 
41
  fromDateDisabled: PropTypes.bool,
42
  fromDateFormat: PropTypes.string,
43
  fromTime: TribePropTypes.timeFormat.isRequired,
@@ -55,7 +49,8 @@ class DateTimeRangePicker extends Component {
55
  separatorDateTime: PropTypes.string,
56
  separatorTimeRange: PropTypes.string,
57
  shiftFocus: PropTypes.bool,
58
- toDate: PropTypes.string,
 
59
  toDateDisabled: PropTypes.bool,
60
  toDateFormat: PropTypes.string,
61
  toTime: TribePropTypes.timeFormat.isRequired,
@@ -70,6 +65,7 @@ class DateTimeRangePicker extends Component {
70
  getFromDayPickerInputProps = () => {
71
  const {
72
  fromDate,
 
73
  fromDateDisabled,
74
  fromDateFormat,
75
  onFromDateChange,
@@ -77,27 +73,24 @@ class DateTimeRangePicker extends Component {
77
  toDate,
78
  } = this.props;
79
 
80
- const from = new Date( fromDate );
81
- const to = new Date( toDate );
82
-
83
  const props = {
84
- value: fromDate,
85
  format: fromDateFormat,
86
  formatDate: formatDate,
87
  parseDate: parseDate,
88
  dayPickerProps: {
89
- selectedDays: [ from, { from, to } ],
90
- disabledDays: { after: to },
91
  modifiers: {
92
- start: from,
93
- end: to,
94
  },
95
- toMonth: to,
96
  },
97
  onDayChange: onFromDateChange,
98
  inputProps: {
99
  disabled: fromDateDisabled,
100
- }
101
  };
102
 
103
  /**
@@ -119,32 +112,30 @@ class DateTimeRangePicker extends Component {
119
  onToDateChange,
120
  shiftFocus,
121
  toDate,
 
122
  toDateDisabled,
123
  toDateFormat,
124
  } = this.props;
125
 
126
- const from = new Date( fromDate );
127
- const to = new Date( toDate );
128
-
129
  const props = {
130
- value: toDate,
131
  format: toDateFormat,
132
  formatDate: formatDate,
133
  parseDate: parseDate,
134
  dayPickerProps: {
135
- selectedDays: [ from, { from, to } ],
136
- disabledDays: { before: from },
137
  modifiers: {
138
- start: from,
139
- end: to,
140
  },
141
- month: from,
142
- fromMonth: from,
143
  },
144
  onDayChange: onToDateChange,
145
  inputProps: {
146
  disabled: toDateDisabled,
147
- }
148
  };
149
 
150
  /**
18
  } from '@moderntribe/common/utils';
19
  import './style.pcss';
20
 
 
 
 
 
21
  class DateTimeRangePicker extends Component {
 
 
 
22
  static defaultProps = {
23
  fromDateFormat: 'LL',
24
  onFromDateChange: noop,
30
 
31
  static propTypes = {
32
  className: PropTypes.string,
33
+ fromDate: PropTypes.instanceOf( Date ),
34
+ fromDateInput: PropTypes.string,
35
  fromDateDisabled: PropTypes.bool,
36
  fromDateFormat: PropTypes.string,
37
  fromTime: TribePropTypes.timeFormat.isRequired,
49
  separatorDateTime: PropTypes.string,
50
  separatorTimeRange: PropTypes.string,
51
  shiftFocus: PropTypes.bool,
52
+ toDate: PropTypes.instanceOf( Date ),
53
+ toDateInput: PropTypes.string,
54
  toDateDisabled: PropTypes.bool,
55
  toDateFormat: PropTypes.string,
56
  toTime: TribePropTypes.timeFormat.isRequired,
65
  getFromDayPickerInputProps = () => {
66
  const {
67
  fromDate,
68
+ fromDateInput,
69
  fromDateDisabled,
70
  fromDateFormat,
71
  onFromDateChange,
73
  toDate,
74
  } = this.props;
75
 
 
 
 
76
  const props = {
77
+ value: fromDateInput,
78
  format: fromDateFormat,
79
  formatDate: formatDate,
80
  parseDate: parseDate,
81
  dayPickerProps: {
82
+ selectedDays: [ fromDate, { from: fromDate, to: toDate } ],
83
+ disabledDays: { after: toDate },
84
  modifiers: {
85
+ start: fromDate,
86
+ end: toDate,
87
  },
88
+ toMonth: toDate,
89
  },
90
  onDayChange: onFromDateChange,
91
  inputProps: {
92
  disabled: fromDateDisabled,
93
+ },
94
  };
95
 
96
  /**
112
  onToDateChange,
113
  shiftFocus,
114
  toDate,
115
+ toDateInput,
116
  toDateDisabled,
117
  toDateFormat,
118
  } = this.props;
119
 
 
 
 
120
  const props = {
121
+ value: toDateInput,
122
  format: toDateFormat,
123
  formatDate: formatDate,
124
  parseDate: parseDate,
125
  dayPickerProps: {
126
+ selectedDays: [ fromDate, { from: fromDate, to: toDate } ],
127
+ disabledDays: { before: fromDate },
128
  modifiers: {
129
+ start: fromDate,
130
+ end: toDate,
131
  },
132
+ month: fromDate,
133
+ fromMonth: fromDate,
134
  },
135
  onDayChange: onToDateChange,
136
  inputProps: {
137
  disabled: toDateDisabled,
138
+ },
139
  };
140
 
141
  /**
src/resources/css/app/blocks.css CHANGED
@@ -9,23 +9,23 @@
9
  .tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{
10
  /* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{
11
  /* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}
12
- .tribe-editor__rsvp-duration__duration-label{flex:none}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}
13
  .tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}
14
  .tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}
15
- .tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}
16
  .tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:"|";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}
17
  .tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:"";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}
 
18
  .tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}
19
  .tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}
20
  .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}
21
- .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
22
  .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
23
  .tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}
24
  .tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}
25
  .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}
26
  .tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}
27
- .tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}
28
- .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
29
  .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
30
  .tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:"|";padding-left:15px;padding-right:15px}
31
  .tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}
9
  .tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{
10
  /* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{
11
  /* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}
12
+ .tribe-editor__rsvp-duration__duration-label{flex:none;position:relative;z-index:1}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}
13
  .tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}
14
  .tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}
 
15
  .tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:"|";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}
16
  .tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:"";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}
17
+ .tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}
18
  .tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}
19
  .tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}
20
  .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}
21
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
22
  .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
23
  .tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}
24
  .tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}
25
  .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}
26
  .tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}
27
+ .tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}
28
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
29
  .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
30
  .tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:"|";padding-left:15px;padding-right:15px}
31
  .tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}
src/resources/css/app/blocks.min.css CHANGED
@@ -9,23 +9,23 @@
9
  .tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{
10
  /* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{
11
  /* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}
12
- .tribe-editor__rsvp-duration__duration-label{flex:none}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}
13
  .tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}
14
  .tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}
15
- .tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}
16
  .tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:"|";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}
17
  .tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:"";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}
 
18
  .tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}
19
  .tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}
20
  .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}
21
- .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
22
  .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
23
  .tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}
24
  .tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}
25
  .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}
26
  .tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}
27
- .tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}
28
- .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
29
  .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
30
  .tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:"|";padding-left:15px;padding-right:15px}
31
  .tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}
9
  .tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{
10
  /* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{
11
  /* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,"sans-serif";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}
12
+ .tribe-editor__rsvp-duration__duration-label{flex:none;position:relative;z-index:1}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}
13
  .tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}
14
  .tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}
 
15
  .tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:"|";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}
16
  .tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:"";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}
17
+ .tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}
18
  .tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}
19
  .tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}
20
  .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}
21
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
22
  .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
23
  .tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}
24
  .tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}
25
  .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}
26
  .tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}
27
+ .tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}
28
+ .edit-post-visual-editor .editor-block-list__block .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}
29
  .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}
30
  .tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:"|";padding-left:15px;padding-right:15px}
31
  .tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}
src/resources/css/app/blocks.min.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://tribe.tickets.[name]/./src/modules/elements/action-button/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/container-panel/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/date-time-range-picker/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/label-with-tooltip/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/inactive-block/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/counters/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container-header/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration-label/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration-picker/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/attendee-registration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/advanced-options/move-delete/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/advanced-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container-content/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/header-image/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/move-modal/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/capacity-table/row/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/capacity-table/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/header-image/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/availability/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/container/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/controls/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/title/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/description/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/price/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/quantity/quantity-bar/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/quantity/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/capacity/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/duration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/ecommerce-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/move-delete/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/attendees-registration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/attendees/style.pcss"],"names":[],"mappings":"AAAA,+EAA+E,aAAa,mBAAmB,iCAAiC,eAAe,iBAAiB,qBAAqB,cAAc,qBAAqB,gBAAgB,uFAAuF,WAAW,aAAa,iGAAiG,aAAa,sLAAsL,cAAc,gaAAga,aAAa,iUAAiU,cAAc,gtBAAgtB,aAAa,qcAAqc,gBAAgB,6CAA6C,gBAAgB,QAAQ,4CAA4C,iB;ACAxrF,gCAAgC,yBAAyB,aAAa,eAAe,kBAAkB,aAAa,4CAA4C,aAAa,mBAAmB,OAAO,6CAA6C,aAAa,mBAAmB,UAAU,iBAAiB,gDAAgD,UAAU,kBAAkB,2DAA2D,eAAe,+JAA+J,UAAU,mCAAmC,+EAA+E,6BAA6B,eAAe,iBAAiB,UAAU,kBAAkB,0BAA0B,0FAA0F,eAAe,0KAA0K,cAAc,uRAAuR,cAAc,yBAAyB,gCAAgC,mB;ACAl9C,+BAA+B,aAAa,qCAAqC,yBAAyB,uCAAuC,eAAe,qCAAqC,UAAU,0EAA0E,YAAY,uBAAuB,4EAA4E,WAAW,iBAAiB,yBAAyB,uDAAuD,UAAU,yBAAyB,+BAA+B,4EAA4E,aAAa,8EAA8E,UAAU,wBAAwB,kBAAkB,6EAA6E,cAAc,eAAe,+EAA+E,UAAU,WAAW,yBAAyB,uBAAuB,8B;ACA/gC,sCAAsC,aAAa,eAAe,wFAAwF,UAAU,aAAa,mBAAmB,WAAW,6CAA6C,UAAU,wBAAwB,iBAAiB,mBAAmB,sDAAsD,OAAO,4DAA4D,yBAAyB,cAAc,eAAe,iBAAiB,oBAAoB,kBAAkB,WAAW,qEAAqE,cAAc,uFAAuF,cAAc,UAAU,eAAe,iBAAiB,oBAAoB,kGAAkG,cAAc,mGAAmG,oBAAoB,WAAW,gEAAgE,UAAU,8DAA8D,aAAa,WAAW,iDAAiD,WAAW,uDAAuD,SAAS,2KAA2K,cAAc,mCAAmC,gBAAgB,6DAA6D,eAAe,mBAAmB,kBAAkB,yDAAyD,iBAAiB,qDAAqD,kBAAkB,2DAA2D,cAAc,sBAAsB,4DAA4D,cAAc,+DAA+D,oBAAoB,WAAW,4FAA4F,gBAAgB,yBAAyB,WAAW,kGAAkG,yBAAyB,WAAW,iEAAiE,OAAO,MAAM,iEAAiE,QAAQ,MAAM,oMAAoM,sBAAsB,gJAAgJ,yBAAyB,cAAc,sJAAsJ,c;ACAtgG,kCAAkC,aAAa,mBAAmB,mCAAmC,gBAAgB,qEAAqE,UAAU,iDAAiD,UAAU,6BAA6B,YAAY,UAAU,gBAAgB,oBAAoB,mBAAmB,mDAAmD,U;ACA5Z,8BAA8B,aAAa,mBAAmB,yBAAyB,oCAAoC,UAAU,wEAAwE,YAAY,uBAAuB,0EAA0E,WAAW,yBAAyB,uCAAuC,UAAU,2EAA2E,aAAa,6EAA6E,4BAA4B,0GAA0G,cAAc,iCAAiC,eAAe,gBAAgB,iBAAiB,qBAAqB,UAAU,gBAAgB,0EAA0E,cAAc,iCAAiC,eAAe,iBAAiB,qBAAqB,S;ACAt/B,kCAAkC,yBAAyB,kBAAkB,eAAe,aAAa,0CAA0C,aAAa,8BAA8B,mBAAmB,kBAAkB,YAAY,iIAAiI,UAAU,aAAa,mBAAmB,eAAe,iBAAiB,qBAAqB,mDAAmD,aAAa,iBAAiB,wDAAwD,aAAa,oDAAoD,WAAW,oDAAoD,aAAa,iBAAiB,yDAAyD,aAAa,oHAAoH,aAAa,iBAAiB,8HAA8H,aAAa,qZAAqZ,aAAa,qDAAqD,cAAc,sNAAsN,cAAc,sVAAsV,cAAc,2CAA2C,kBAAkB,yBAAyB,0CAA0C,kBAAkB,2CAA2C,mB;ACAn0E,+CAA+C,UAAU,aAAa,4GAA4G,UAAU,oDAAoD,kBAAkB,+DAA+D,e;ACAjU,2DAA2D,aAAa,mBAAmB,qDAAqD,UAAU,8FAA8F,WAAW,SAAS,gBAAgB,gBAAgB,eAAe,iBAAiB,qBAAqB,sIAAsI,cAAc;AACrf,+FAA+F,SAAS,gBAAgB,wEAAwE,UAAU,4EAA4E,6BAA6B,WAAW,SAAS,UAAU,YAAY,mCAAmC,gBAAgB,eAAe,iBAAiB,qBAAqB,oKAAoK,sBAAsB,2QAA2Q,6BAA6B,cAAc,kDAAkD,cAAc,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,0FAA0F,cAAc;AAChrC,+FAA+F,gBAAgB,8EAA8E,UAAU,kFAAkF,6BAA6B,cAAc,SAAS,UAAU,YAAY,mCAAmC,eAAe,iBAAiB,qBAAqB,gLAAgL,sBAAsB,6RAA6R,6BAA6B,cAAc,qDAAqD,aAAa,cAAc,iBAAiB,iBAAiB,6FAA6F,cAAc,yFAAyF,UAAU,gBAAgB,eAAe,qBAAqB,yFAAyF,UAAU,gBAAgB,eAAe,qBAAqB,gBAAgB,8DAA8D,cAAc,eAAe,iBAAiB,qBAAqB,cAAc,iBAAiB,sGAAsG,c;ACF1uD,6CAA6C,UAAU,gFAAgF,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,wHAAwH,cAAc,8FAA8F,gBAAgB,wDAAwD,WAAW,YAAY,aAAa,gGAAgG,a;ACA1oB,8CAA8C,OAAO,kBAAkB,+HAA+H,c;ACAtM,6BAA6B,aAAa,uBAAuB,iBAAiB,uEAAuE,iBAAiB,qBAAqB,gGAAgG,iBAAiB,oBAAoB,e;ACApU,2CAA2C,gBAAgB,sIAAsI,cAAc,uDAAuD,cAAc,cAAc,eAAe,iBAAiB,gBAAgB,+FAA+F,c;ACAjb,8CAA8C,iBAAiB,qDAAqD,yBAAyB,qBAAqB,iBAAiB,UAAU,iEAAiE,cAAc,uEAAuE,cAAc,YAAY,cAAc,gEAAgE,U;ACA3b,oEAAoE,kBAAkB,kFAAkF,WAAW,WAAW,wBAAwB,yBAAyB,kBAAkB,SAAS,OAAO,+GAA+G,iBAAiB,6CAA6C,YAAY,yBAAyB,aAAa,mBAAmB,UAAU,kBAAkB,qDAAqD,aAAa,iBAAiB,iBAAiB,0FAA0F,kDAAkD,0CAA0C,6FAA6F,aAAa,kDAAkD,WAAW,eAAe,gBAAgB,iBAAiB,mBAAmB,0FAA0F,c;ACA7nC,4DAA4D,aAAa,6BAA6B,sEAAsE,cAAc,8CAA8C,aAAa,qBAAqB,mBAAmB,sDAAsD,UAAU,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,8FAA8F,cAAc,2DAA2D,UAAU,cAAc,eAAe,iBAAiB,iBAAiB,mGAAmG,cAAc,+CAA+C,aAAa,eAAe,mBAAmB,mBAAmB,wGAAwG,UAAU,WAAW,eAAe,iBAAiB,yBAAyB,mCAAmC,iBAAiB,kBAAkB,WAAW,YAAY,iHAAiH,cAAc,2DAA2D,UAAU,0FAA0F,WAAW,eAAe,iBAAiB,kIAAkI,c;ACAhmD,mEAAmE,aAAa,sBAAsB,mBAAmB,uEAAuE,UAAU,0CAA0C,cAAc,UAAU,iCAAiC,gBAAgB,eAAe,iBAAiB,qBAAqB,kFAAkF,c;ACApc,gEAAgE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,6FAA6F,cAAc,8EAA8E,gBAAgB,8CAA8C,WAAW,YAAY,aAAa,2EAA2E,a;ACAzf,oNAAoN,cAAc,oFAAoF,W;ACAtT,6MAA6M,aAAa,qGAAqG,c;ACA/T,yCAAyC,cAAc,eAAe,mBAAmB,uDAAuD,cAAc,WAAW,cAAc,0CAA0C,gB;ACAjO,oBAAoB,iCAAiC,kBAAkB,oCAAoC,aAAa,sBAAsB,mBAAmB,wCAAwC,UAAU,+CAA+C,cAAc,UAAU,gBAAgB,eAAe,iBAAiB,qBAAqB,wCAAwC,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACApgB,mEAAmE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,mGAAmG,cAAc,iFAAiF,gBAAgB,iDAAiD,WAAW,YAAY,aAAa,iFAAiF,a;ACA9gB,qCAAqC,6BAA6B,aAAa,8BAA8B,mBAAmB,0CAA0C,OAAO,aAAa,eAAe,2CAA2C,UAAU,WAAW,mBAAmB,iBAAiB,WAAW,+FAA+F,cAAc,8DAA8D,WAAW,mBAAmB,iBAAiB,2CAA2C,UAAU,eAAe,iBAAiB,WAAW,+FAA+F,cAAc,2CAA2C,UAAU,iBAAiB,eAAe,iBAAiB,cAAc,+FAA+F,c;ACAt7B,uCAAuC,mBAAmB,2GAA2G,mBAAmB,eAAe,gBAAgB,iBAAiB,WAAW,+JAA+J,c;ACAlZ,0NAA0N,cAAc,uFAAuF,W;ACA/T,mNAAmN,aAAa,wGAAwG,c;ACAxU,qCAAqC,aAAa,yBAAyB,cAAc,eAAe,iBAAiB,cAAc,2EAA2E,cAAc,2CAA2C,UAAU,+EAA+E,gBAAgB,4DAA4D,YAAY,kBAAkB,mB;ACA9c,kCAAkC,kBAAkB,gCAAgC,kBAAkB,OAAO,QAAQ,MAAM,SAAS,aAAa,WAAW,qCAAqC,kBAAkB,SAAS,2CAA2C,mBAAmB,YAAY,4GAA4G,aAAa,gBAAgB,+OAA+O,a;ACA9pB,gDAAgD,gBAAgB,mBAAmB,U;ACAnF,uBAAuB,iCAAiC,4CAA4C,aAAa,gCAAgC,aAAa,mBAAmB,uBAAuB,aAAa,2CAA2C,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACA7X,sBAAsB,eAAe,yBAAyB,kBAAkB,iCAAiC,gCAAgC,yBAAyB,0CAA0C,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACAjV,8CAA8C,aAAa,kDAAkD,UAAU,oBAAoB,UAAU,4BAA4B,8FAA8F,UAAU,kFAAkF,aAAa,2GAA2G,UAAU,4BAA4B,WAAW,SAAS,gBAAgB,gBAAgB,eAAe,iBAAiB,qBAAqB,2IAA2I,cAAc;AAC3wB,+FAA+F,SAAS,gBAAgB,4EAA4E,UAAU,gFAAgF,6BAA6B,WAAW,SAAS,UAAU,YAAY,gBAAgB,eAAe,iBAAiB,qBAAqB,yFAAyF,c;ACDngB,oDAAoD,cAAc,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,oFAAoF,cAAc;AACvP,+FAA+F,gBAAgB,kFAAkF,UAAU,sFAAsF,6BAA6B,cAAc,SAAS,UAAU,YAAY,eAAe,iBAAiB,qBAAqB,+FAA+F,c;ACD/f,8CAA8C,UAAU,eAAe,WAAW,qBAAqB,mBAAmB,gBAAgB,eAAe,iBAAiB,qBAAqB,kBAAkB,8EAA8E,mBAAmB,8EAA8E,cAAc,uEAAuE,6BAA6B,WAAW,SAAS,UAAU,YAAY,oBAAoB,gBAAgB,eAAe,iBAAiB,qBAAqB,gFAAgF,c;ACArsB,4BAA4B,yBAAyB,kBAAkB,YAAY,aAAa,gIAAgI,kBAAkB,OAAO,MAAM,SAAS,2CAA2C,UAAU,iDAAiD,UAAU,WAAW,YAAY,kBAAkB,yBAAyB,QAAQ,SAAS,uCAAuC,yBAAyB,UAAU,8CAA8C,yBAAyB,UAAU,uCAAuC,kBAAkB,QAAQ,aAAa,kCAAkC,0BAA0B,eAAe,cAAc,c;ACA7wB,iDAAiD,kBAAkB,gBAAgB,uDAAuD,cAAc,WAAW,eAAe,iBAAiB,mBAAmB,kBAAkB,uFAAuF,cAAc,2DAA2D,cAAc,cAAc,eAAe,iBAAiB,cAAc,kB;ACAld,6DAA6D,aAAa,mBAAmB,gDAAgD,U;ACA7I,6CAA6C,oBAAoB,mDAAmD,iBAAiB,qCAAqC,UAAU,aAAa,yBAAyB,eAAe,6EAA6E,cAAc,+EAA+E,aAAa,yBAAyB,mBAAmB,kBAAkB,iBAAiB,gBAAgB,kHAAkH,UAAU,kBAAkB,eAAe,gBAAgB,iBAAiB,iBAAiB,WAAW,4GAA4G,UAAU,WAAW,sFAAsF,WAAW,OAAO,WAAW,kBAAkB,yBAAyB,qFAAqF,WAAW,UAAU,yBAAyB,kBAAkB,SAAS,OAAO,YAAY,gGAAgG,MAAM,uBAAuB,6GAA6G,SAAS,uBAAuB,2EAA2E,UAAU,WAAW,uFAAuF,UAAU,WAAW,eAAe,iBAAiB,cAAc,iBAAiB,gB;ACA9rD,sEAAsE,kBAAkB,oFAAoF,WAAW,WAAW,wBAAwB,yBAAyB,kBAAkB,SAAS,OAAO,iHAAiH,iBAAiB,+CAA+C,YAAY,yBAAyB,aAAa,mBAAmB,UAAU,kBAAkB,uDAAuD,aAAa,iBAAiB,iBAAiB,4FAA4F,kDAAkD,0CAA0C,uFAAuF,aAAa,oDAAoD,WAAW,eAAe,gBAAgB,iBAAiB,mBAAmB,oFAAoF,c;ACA/nC,6CAA6C,eAAe,mDAAmD,iBAAiB,uCAAuC,OAAO,kBAAkB,uHAAuH,c;ACAvT,yCAAyC,iBAAiB,4EAA4E,UAAU,UAAU,+CAA+C,aAAa,iBAAiB,sDAAsD,UAAU,4DAA4D,YAAY,cAAc,aAAa,4FAA4F,cAAc,uEAAuE,WAAW,8CAA8C,eAAe,qBAAqB,8EAA8E,c;ACAtuB,gDAAgD,iBAAiB,uDAAuD,yBAAyB,qBAAqB,iBAAiB,UAAU,mEAAmE,cAAc,yEAAyE,cAAc,YAAY,cAAc,kEAAkE,U;ACArc,6CAA6C,gBAAgB,gIAAgI,cAAc,yDAAyD,cAAc,cAAc,eAAe,iBAAiB,gBAAgB,yFAAyF,c;ACAza,8DAA8D,aAAa,wEAAwE,cAAc,mCAAmC,aAAa,uBAAuB,wCAAwC,mBAAmB,sDAAsD,qBAAqB,8JAA8J,UAAU,YAAY,sEAAsE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,sGAAsG,cAAc,oFAAoF,gBAAgB,2EAA2E,WAAW,YAAY,aAAa,2GAA2G,a;ACA7mC,gEAAgE,aAAa,cAAc,SAAS,SAAS,gGAAgG,a;ACA7M,sCAAsC,mBAAmB,aAAa,mCAAmC,uBAAuB,eAAe,gDAAgD,YAAY,mDAAmD,WAAW,YAAY,6BAA6B,SAAS,cAAc,oBAAoB,gBAAgB,gBAAgB,gBAAgB,cAAc,2CAA2C,SAAS,UAAU,SAAS,WAAW,6BAA6B,OAAO,oBAAoB,gBAAgB,mBAAmB,WAAW,gFAAgF,oBAAoB,gBAAgB,sBAAsB,SAAS,WAAW,mCAAmC,gBAAgB,gBAAgB,cAAc,4BAA4B,gBAAgB,sFAAsF,UAAU,gBAAgB,wDAAwD,sBAAsB,cAAc,mFAAmF,cAAc,6JAA6J,cAAc,qEAAqE,cAAc,gPAAgP,uBAAuB,0CAA0C,oBAAoB,8CAA8C,WAAW,YAAY,mBAAmB,iB","file":"src/resources/css/app/blocks.min.css","sourcesContent":[".tribe-editor__action-button,.tribe-editor__action-button.tribe-editor__button{display:flex;align-items:center;font-family:Helvetica,sans-serif;font-size:15px;line-height:18px;letter-spacing:.38px;color:#545d66;text-decoration:none;transition:none}.tribe-editor__action-button.tribe-editor__button>svg,.tribe-editor__action-button>svg{width:20px;fill:#545d66}.tribe-editor__action-button.tribe-editor__button>svg path,.tribe-editor__action-button>svg path{fill:#545d66}.tribe-editor__action-button.tribe-editor__button:focus,.tribe-editor__action-button.tribe-editor__button:hover,.tribe-editor__action-button:focus,.tribe-editor__action-button:hover{color:#009fd4}.tribe-editor__action-button.tribe-editor__button:focus>svg,.tribe-editor__action-button.tribe-editor__button:focus>svg path,.tribe-editor__action-button.tribe-editor__button:hover>svg,.tribe-editor__action-button.tribe-editor__button:hover>svg path,.tribe-editor__action-button:focus>svg,.tribe-editor__action-button:focus>svg path,.tribe-editor__action-button:hover>svg,.tribe-editor__action-button:hover>svg path{fill:#009fd4}.tribe-editor__action-button.tribe-editor__button[disabled],.tribe-editor__action-button.tribe-editor__button[disabled]:focus,.tribe-editor__action-button.tribe-editor__button[disabled]:hover,.tribe-editor__action-button[disabled],.tribe-editor__action-button[disabled]:focus,.tribe-editor__action-button[disabled]:hover{color:#8d949b}.tribe-editor__action-button.tribe-editor__button[disabled]:focus>svg,.tribe-editor__action-button.tribe-editor__button[disabled]:focus>svg path,.tribe-editor__action-button.tribe-editor__button[disabled]:hover>svg,.tribe-editor__action-button.tribe-editor__button[disabled]:hover>svg path,.tribe-editor__action-button.tribe-editor__button[disabled]>svg,.tribe-editor__action-button.tribe-editor__button[disabled]>svg path,.tribe-editor__action-button[disabled]:focus>svg,.tribe-editor__action-button[disabled]:focus>svg path,.tribe-editor__action-button[disabled]:hover>svg,.tribe-editor__action-button[disabled]:hover>svg path,.tribe-editor__action-button[disabled]>svg,.tribe-editor__action-button[disabled]>svg path{fill:#8d949b}.tribe-editor__action-dashboard .tribe-editor__action-button,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button:focus,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button:hover,.tribe-editor__action-dashboard .tribe-editor__action-button:focus,.tribe-editor__action-dashboard .tribe-editor__action-button:hover{box-shadow:none}.tribe-editor__action-button--icon-right>svg{margin-left:6px;order:2}.tribe-editor__action-button--icon-left>svg{margin-right:6px}",".tribe-editor__action-dashboard{background-color:#f8f9fb;display:flex;margin:0 -14px;position:relative;bottom:-14px}.tribe-editor__action-dashboard__group-left{display:flex;align-items:center;flex:1}.tribe-editor__action-dashboard__group-right{display:flex;align-items:center;flex:none;margin-left:auto}.tribe-editor__action-dashboard__action-wrapper{flex:none;margin-right:25px}.tribe-editor__action-dashboard__action-wrapper:last-child{margin-right:0}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__confirm-button{flex:none;font-family:Helvetica,\"sans-serif\"}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button{background-color:transparent;font-size:15px;line-height:18px;padding:0;margin-right:20px;transition:color .2s ease}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:last-child{margin-right:0}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:focus,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:hover{color:#009fd4}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled],.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled]:focus,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled]:hover{color:#8d949b}@media (min-width:600px){.tribe-editor__action-dashboard{padding:15px 28px}}",".tribe-editor__container-panel{display:flex}.tribe-editor__container-panel--rsvp{border:1px solid #e1e3e6}.tribe-editor__container-panel--ticket{flex-wrap:wrap}.tribe-editor__container-panel__icon{flex:none}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__icon{width:100px;padding:25px 20px 20px}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__icon{width:68px;padding:25px 4px;background-color:#f8f9f9}.tribe-editor__container-panel__header-content-wrapper{flex:auto;background-color:#f7f8f9;border-left:1px dashed #b5bcc2}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__header{padding:25px}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__header{flex:none;width:calc(100% - 68px);padding:30px 25px}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__content{margin:0 25px;padding:30px 0}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__content{flex:none;width:100%;background-color:#f8f9f9;padding:30px 20px 25px;border-top:1px dashed #b5bcc2}",".tribe-editor__date-time-range-picker{display:flex;flex-wrap:wrap}.tribe-editor__date-time-range-picker__end,.tribe-editor__date-time-range-picker__start{flex:none;display:flex;align-items:center;width:100%}.tribe-editor__date-time-range-picker__start{flex:none;width:calc(100% - 55px);margin-left:55px;margin-bottom:15px}.tribe-editor__date-time-range-picker .DayPickerInput{flex:1}.tribe-editor__date-time-range-picker .DayPickerInput input{border:1px solid #e1e3e6;color:#545d66;font-size:16px;line-height:19px;letter-spacing:.4px;padding:10px 15px;width:100%}.tribe-editor__date-time-range-picker .DayPickerInput input:disabled{color:#aeb4bb}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#8d949b;flex:none;font-size:16px;line-height:19px;letter-spacing:.4px}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator--date-time{margin:0 15px}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator--time-range{margin:0 7px 0 28px;width:20px}.tribe-editor__date-time-range-picker .tribe-editor__timepicker{flex:none}.tribe-editor__date-time-range-picker .DayPickerInput-Overlay{padding:20px;z-index:10}.tribe-editor__date-time-range-picker .DayPicker{width:100%}.tribe-editor__date-time-range-picker .DayPicker-Month{margin:0}.tribe-editor__date-time-range-picker .DayPicker-Caption>div,.tribe-editor__date-time-range-picker .DayPicker-Day,.tribe-editor__date-time-range-picker .DayPicker-Weekday{color:#545d66;font-family:Helvetica,\"sans-serif\";font-weight:400}.tribe-editor__date-time-range-picker .DayPicker-Caption>div{font-size:1rem;margin-bottom:12px;text-align:center}.tribe-editor__date-time-range-picker .DayPicker-Weekday{font-size:.75rem}.tribe-editor__date-time-range-picker .DayPicker-Day{font-size:.875rem}.tribe-editor__date-time-range-picker .DayPicker-Day:hover{color:#007bb4;background-color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--today{color:#545d66}.tribe-editor__date-time-range-picker .DayPicker-Day--disabled{pointer-events:none;color:#ccc}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--outside){border-radius:0;background-color:#009fd4;color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--outside):hover{background-color:#007bb4;color:#fff}.tribe-editor__date-time-range-picker .DayPicker-NavButton--prev{left:0;top:0}.tribe-editor__date-time-range-picker .DayPicker-NavButton--next{right:0;top:0}.tribe-editor__date-time-range-picker .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover{background-color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside){background-color:#e7f5fa;color:#545d66}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside):hover{color:#007bb4}",".tribe-editor__label-with-tooltip{display:flex;align-items:center}.tribe-editor__labeled-item__label{font-weight:700}.tribe-editor__label-with-tooltip .tribe-editor__labeled-item__label{flex:none}.tribe-editor__label-with-tooltip__tooltip-label{flex:none;background-color:transparent;border:none;padding:0;margin-top:-2px;display:inline-flex;align-items:center}.tribe-editor__label-with-tooltip__tooltip-label>*{flex:none}",".tribe-editor__inactive-block{display:flex;align-items:center;background-color:#f7f8f9}.tribe-editor__inactive-block__icon{flex:none}.tribe-editor__inactive-block--rsvp .tribe-editor__inactive-block__icon{width:100px;padding:25px 20px 20px}.tribe-editor__inactive-block--ticket .tribe-editor__inactive-block__icon{width:68px;padding:25px 0 25px 12px}.tribe-editor__inactive-block__content{flex:auto}.tribe-editor__inactive-block--rsvp .tribe-editor__inactive-block__content{padding:25px}.tribe-editor__inactive-block--ticket .tribe-editor__inactive-block__content{padding:30px 25px 30px 20px}.tribe-editor__inactive-block .tribe-editor__inactive-block__content .tribe-editor__inactive-block__title{color:#545d66;font-family:Helvetica,sans-serif;font-size:21px;font-weight:700;line-height:25px;letter-spacing:.16px;padding:0;margin:0 0 12px}.tribe-editor__inactive-block p.tribe-editor__inactive-block__description{color:#545d66;font-family:Helvetica,sans-serif;font-size:14px;line-height:18px;letter-spacing:.04px;margin:0}",".tribe-editor__settings-dashboard{background-color:#f8f9fb;position:relative;margin:0 -14px;bottom:-14px}.tribe-editor__settings-dashboard__header{display:flex;justify-content:space-between;align-items:center;padding:15px 14px;height:68px}.tribe-editor__settings-dashboard .tribe-editor__settings-dashboard__close-button,.tribe-editor__settings-dashboard__header-left{flex:none;display:flex;align-items:center;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__settings-dashboard__header-left>svg{fill:#009fd4;margin-right:6px}.tribe-editor__settings-dashboard__header-left>svg path{fill:#009fd4}.tribe-editor__settings-dashboard__header-left-text{color:#000}.tribe-editor__settings-dashboard__close-button>svg{fill:#a2aab2;margin-right:6px}.tribe-editor__settings-dashboard__close-button>svg path{fill:#a2aab2}.tribe-editor__settings-dashboard__close-button:focus>svg,.tribe-editor__settings-dashboard__close-button:hover>svg{fill:#009fd4;margin-right:6px}.tribe-editor__settings-dashboard__close-button:focus>svg path,.tribe-editor__settings-dashboard__close-button:hover>svg path{fill:#009fd4}.tribe-editor__settings-dashboard__close-button:disabled:focus>svg,.tribe-editor__settings-dashboard__close-button:disabled:focus>svg path,.tribe-editor__settings-dashboard__close-button:disabled:hover>svg,.tribe-editor__settings-dashboard__close-button:disabled:hover>svg path,.tribe-editor__settings-dashboard__close-button:disabled>svg,.tribe-editor__settings-dashboard__close-button:disabled>svg path{fill:#aeb4bb}.tribe-editor__settings-dashboard__close-button-text{color:#8d949b}.tribe-editor__settings-dashboard__close-button:focus .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:hover .tribe-editor__settings-dashboard__close-button-text{color:#009fd4}.tribe-editor__settings-dashboard__close-button:disabled .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:disabled:focus .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:disabled:hover .tribe-editor__settings-dashboard__close-button-text{color:#aeb4bb}.tribe-editor__settings-dashboard__content{padding:25px 14px}@media (min-width:600px){.tribe-editor__settings-dashboard__header{padding:15px 28px}.tribe-editor__settings-dashboard__content{padding:25px 28px}}",".tribe-editor__rsvp-container-header__counters{flex:none;display:flex}.tribe-editor__rsvp-container-header__going-counter,.tribe-editor__rsvp-container-header__not-going-counter{flex:none}.tribe-editor__rsvp-container-header__going-counter{margin-right:25px}.tribe-editor__rsvp-container-header__going-counter:last-child{margin-right:0}",".tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,\"sans-serif\";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,\"sans-serif\";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}",".tribe-editor__rsvp-duration__duration-label{flex:none}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}",".tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}",".tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}",".tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}",".tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:\"|\";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}",".tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:\"\";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}",".tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}",".tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}",".tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}",".tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}",".tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}",".tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}",".tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}",".tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}",".tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}",".tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}",".tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}",".tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:\"|\";padding-left:15px;padding-right:15px}",".tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}",".tribe-editor__tickets-controls-provider legend{font-weight:700;margin-bottom:10px;padding:0}",".tribe-editor__tickets{font-family:Helvetica,sans-serif}.tribe-editor__tickets .block-list-appender{display:none}.tribe-editor__tickets--loading{display:flex;align-items:center;justify-content:center;padding:20px}.tribe-editor__tickets .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__ticket{margin:-19px 0;border:1px solid #e1e3e6;position:relative;font-family:Helvetica,sans-serif}.tribe-editor__ticket--selected{border:1px solid #b1b5b8}.tribe-editor__ticket .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__ticket__container-header-title{display:flex}.tribe-editor__ticket__container-header-title svg{flex:none;margin:6px 0 0 10px;opacity:0;transition:opacity .2s ease}.is-hovered[data-type=\"tribe/tickets-item\"] .tribe-editor__ticket__container-header-title svg{opacity:1}.tribe-editor__ticket--selected .tribe-editor__ticket__container-header-title svg{display:none}.tribe-editor__ticket .tribe-editor__ticket__container .tribe-editor__ticket__container-header-title-label{flex:none;max-width:calc(100% - 28px);color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket .tribe-editor__ticket__container .tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-title-label{color:#aeb4bb}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>*{flex:none}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>input:disabled{color:#aeb4bb}",".tribe-editor__ticket__container-header-description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-description{color:#aeb4bb}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>*{flex:none}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>input:disabled{color:#aeb4bb}",".tribe-editor__ticket__container-header-price{flex:none;min-width:65px;color:#000;margin:0 20px 0 15px;padding-bottom:5px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px;text-align:center}.tribe-editor__ticket--selected .tribe-editor__ticket__container-header-price{margin-right:118px}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-price{color:#aeb4bb}.tribe-editor__ticket__container-header-price-input>input[type=number]{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:inherit;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket__container-header-price-input>input[type=number]:disabled{color:#aeb4bb}",".tribe-editor__quantity-bar{border:1px solid #e1e3e6;position:relative;height:10px;margin:5px 0}.tribe-editor__quantity-bar__bar--capacity,.tribe-editor__quantity-bar__bar--shared-sold,.tribe-editor__quantity-bar__bar--sold{position:absolute;left:0;top:0;bottom:0}.tribe-editor__quantity-bar__bar--capacity{z-index:3}.tribe-editor__quantity-bar__bar--capacity:after{width:1px;content:\"\";height:20px;position:absolute;background-color:#009fd4;right:0;top:-5px}.tribe-editor__quantity-bar__bar--sold{background-color:#009fd4;z-index:2}.tribe-editor__quantity-bar__bar--shared-sold{background-color:#c9ebf7;z-index:1}.tribe-editor__quantity-bar__bar-label{position:absolute;right:0;bottom:-20px;-webkit-transform:translateX(50%);transform:translateX(50%);font-size:12px;line-height:1;color:#545d66}",".tribe-editor__ticket__container-header-quantity{margin-right:13px;min-width:105px}.tribe-editor__ticket__container-header-quantity-label{display:block;color:#000;font-size:15px;line-height:18px;margin-bottom:12px;text-align:center}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-quantity-label{color:#aeb4bb}.tribe-editor__ticket__container-header-quantity-unlimited{display:block;color:#aeb4bb;font-size:12px;line-height:14px;padding:2px 0;text-align:center}",".tribe-editor__ticket .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__ticket__container-header-details{flex:auto}",".tribe-editor__ticket__content-row--capacity{padding-bottom:40px}.tribe-editor__ticket__capacity-label-with-tooltip{padding-top:13px}.tribe-editor__ticket__capacity-form{flex:auto;display:flex;justify-content:flex-end;flex-wrap:wrap}.tribe-editor__ticket--has-tickets-plus .tribe-editor__ticket__capacity-form{display:block}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row{display:flex;justify-content:flex-end;align-items:center;position:relative;padding-top:12px;margin-left:8px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row .tribe-editor__labeled-item__label{flex:none;margin-right:20px;font-size:15px;font-weight:400;line-height:18px;letter-spacing:0;color:#000}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row .tribe-editor__input--number{flex:none;width:85px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:before{content:\"\";flex:1;height:1px;margin-right:10px;background-color:#e1e3e6}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:after{content:\"\";width:1px;background-color:#e1e3e6;position:absolute;top:10px;left:0;height:100%}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:last-child:after{top:0;height:calc(50% + 6px)}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:nth-child(2):last-child:after{top:10px;height:calc(50% - 4px)}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input{flex:none;width:85px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-helper-text{flex:none;width:100%;font-size:12px;line-height:14px;color:#8d949b;text-align:right;margin-top:10px}",".tribe-editor__ticket__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__ticket__advanced-options .tribe-editor__accordion__row.active:before{content:\"\";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__ticket__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__ticket__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__ticket__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__ticket__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__ticket--disabled svg.tribe-editor__ticket__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__ticket__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__ticket--disabled .tribe-editor__ticket__advanced-options-header-text{color:#aeb4bb}",".tribe-editor__ticket__content-row--duration{padding:30px 0}.tribe-editor__ticket__duration-label-with-tooltip{padding-top:12px}.tribe-editor__ticket__duration-picker{flex:1;margin-left:-55px}.tribe-editor__ticket--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}",".tribe-editor__ticket__ecommerce-options{padding-top:30px}.tribe-editor__ticket__ecommerce-options .tribe-editor__labeled-item__label{flex:none;width:31%}.tribe-editor__ticket__ecommerce-options-links{display:flex;line-height:18px}.tribe-editor__ticket__ecommerce-options-link-wrapper{flex:none}.tribe-editor__ticket__ecommerce-options-link-wrapper:after{content:\"|\";color:#545d66;margin:0 6px}.tribe-editor__ticket--disabled .tribe-editor__ticket__ecommerce-options-link-wrapper:after{color:#aeb4bb}.tribe-editor__ticket__ecommerce-options-link-wrapper:last-child:after{content:\"\"}.tribe-editor__ticket__ecommerce-options-link{font-size:15px;text-decoration:none}.tribe-editor__ticket--disabled .tribe-editor__ticket__ecommerce-options-link{color:#aeb4bb}",".tribe-editor__ticket__content-row--move-delete{padding:30px 0 0}.tribe-editor__ticket__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__ticket__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__ticket__content-row--move-delete>button:first-child:after{color:#8d949b;content:\"|\";margin:0 10px}.tribe-editor__ticket__content-row--move-delete>button:last-child{color:red}",".tribe-editor__ticket__attendee-registration{margin-top:30px}.tribe-editor__ticket--disabled .tribe-editor__ticket__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__ticket__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__ticket--disabled .tribe-editor__ticket__attendee-registration-helper-text{color:#aeb4bb}",".tribe-editor__ticket .tribe-editor__container-panel__content{display:none}.tribe-editor__ticket--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__ticket__content-row{display:flex;align-items:flex-start}.tribe-editor__ticket__content-row--sku{align-items:center}.tribe-editor__ticket__content-row--ecommerce-options{align-items:baseline}.tribe-editor__ticket__content-row--ecommerce-options .tribe-editor__labeled-item__label,.tribe-editor__ticket__content-row .tribe-editor__label-with-tooltip{flex:none;width:160px}.tribe-editor__ticket__content-row .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__ticket--disabled .tribe-editor__ticket__content-row .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__ticket__content-row .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}.tribe-editor__ticket__content-row svg.tribe-editor__ticket__tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__ticket--disabled .tribe-editor__ticket__content-row svg.tribe-editor__ticket__tooltip-label{fill:#aeb4bb}",".tribe-editor__action-dashboard.tribe-editor__ticket__dashboard{display:none;padding-top:0;margin:0;bottom:0}.tribe-editor__ticket--selected .tribe-editor__action-dashboard.tribe-editor__ticket__dashboard{display:flex}",".tribe-editor__event-attendees__title{align-items:center;display:flex;font-family:Helvetica,\"sans-serif\";justify-content:center;max-width:100%}.tribe-editor__event-attendees__title--selected{border:none}.tribe-editor__event-attendees__title--placeholder{color:#333;cursor:text;background-color:transparent;border:0;display:block;font-size:1.3125rem;font-weight:700;min-height:50px;min-width:200px;padding:5px 0}.tribe-editor__event-attendees__title-text{border:0;padding:0;margin:0;color:#fff;background-color:transparent;flex:1;font-size:1.3125rem;font-weight:400;table-layout:fixed;width:100%}.tribe-editor__event-attendees .tribe-editor__event-attendees__title-text input{font-size:1.3125rem;min-height:50px;background-color:#fff;border:0;color:#333;font-family:Helvetica,\"sans-serif\";font-weight:700;overflow:hidden;padding:5px 0;max-width:calc(100% - 20px);min-width:200px}.tribe-editor__event-attendees .tribe-editor__event-attendees__title-text input:focus{outline:0;box-shadow:none}.tribe-editor__event-attendees__title-text--empty input{background-color:#fff;color:#8d949b}.tribe-editor__event-attendees__title-text--empty input::-webkit-input-placeholder{color:#8d949b}.tribe-editor__event-attendees__title-text--empty input:-ms-input-placeholder,.tribe-editor__event-attendees__title-text--empty input::-ms-input-placeholder{color:#8d949b}.tribe-editor__event-attendees__title-text--empty input::placeholder{color:#8d949b}.tribe-editor__event-attendees__title .tribe-editor__event-attendees__title-text:focus [data-mce-selected=inline-boundary],.tribe-editor__event-attendees__title .tribe-editor__event-attendees__title-text [data-mce-selected=inline-boundary]{background:transparent}.tribe-editor__event-attendees__gravatars{padding-bottom:20px}.tribe-editor__event-attendees__gravatars svg{width:60px;height:60px;border-radius:100%;margin-right:8px}"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://tribe.tickets.[name]/./src/modules/elements/action-button/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/container-panel/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/date-time-range-picker/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/label-with-tooltip/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/inactive-block/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/counters/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container-header/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration-label/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration-picker/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/duration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/advanced-options/move-delete/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/advanced-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/attendee-registration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container-content/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/container/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/header-image/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/elements/move-modal/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/rsvp/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/action-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/capacity-table/row/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/capacity-table/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/header-image/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/settings-dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/availability/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/container/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/controls/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/tickets/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/title/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/description/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/price/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/quantity/quantity-bar/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/quantity/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-header/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/capacity/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/duration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/ecommerce-options/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/advanced-options/move-delete/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/attendees-registration/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/container-content/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/ticket/dashboard/style.pcss","webpack://tribe.tickets.[name]/./src/modules/blocks/attendees/style.pcss"],"names":[],"mappings":"AAAA,+EAA+E,aAAa,mBAAmB,iCAAiC,eAAe,iBAAiB,qBAAqB,cAAc,qBAAqB,gBAAgB,uFAAuF,WAAW,aAAa,iGAAiG,aAAa,sLAAsL,cAAc,gaAAga,aAAa,iUAAiU,cAAc,gtBAAgtB,aAAa,qcAAqc,gBAAgB,6CAA6C,gBAAgB,QAAQ,4CAA4C,iB;ACAxrF,gCAAgC,yBAAyB,aAAa,eAAe,kBAAkB,aAAa,4CAA4C,aAAa,mBAAmB,OAAO,6CAA6C,aAAa,mBAAmB,UAAU,iBAAiB,gDAAgD,UAAU,kBAAkB,2DAA2D,eAAe,+JAA+J,UAAU,mCAAmC,+EAA+E,6BAA6B,eAAe,iBAAiB,UAAU,kBAAkB,0BAA0B,0FAA0F,eAAe,0KAA0K,cAAc,uRAAuR,cAAc,yBAAyB,gCAAgC,mB;ACAl9C,+BAA+B,aAAa,qCAAqC,yBAAyB,uCAAuC,eAAe,qCAAqC,UAAU,0EAA0E,YAAY,uBAAuB,4EAA4E,WAAW,iBAAiB,yBAAyB,uDAAuD,UAAU,yBAAyB,+BAA+B,4EAA4E,aAAa,8EAA8E,UAAU,wBAAwB,kBAAkB,6EAA6E,cAAc,eAAe,+EAA+E,UAAU,WAAW,yBAAyB,uBAAuB,8B;ACA/gC,sCAAsC,aAAa,eAAe,wFAAwF,UAAU,aAAa,mBAAmB,WAAW,6CAA6C,UAAU,wBAAwB,iBAAiB,mBAAmB,sDAAsD,OAAO,4DAA4D,yBAAyB,cAAc,eAAe,iBAAiB,oBAAoB,kBAAkB,WAAW,qEAAqE,cAAc,uFAAuF,cAAc,UAAU,eAAe,iBAAiB,oBAAoB,kGAAkG,cAAc,mGAAmG,oBAAoB,WAAW,gEAAgE,UAAU,8DAA8D,aAAa,WAAW,iDAAiD,WAAW,uDAAuD,SAAS,2KAA2K,cAAc,mCAAmC,gBAAgB,6DAA6D,eAAe,mBAAmB,kBAAkB,yDAAyD,iBAAiB,qDAAqD,kBAAkB,2DAA2D,cAAc,sBAAsB,4DAA4D,cAAc,+DAA+D,oBAAoB,WAAW,4FAA4F,gBAAgB,yBAAyB,WAAW,kGAAkG,yBAAyB,WAAW,iEAAiE,OAAO,MAAM,iEAAiE,QAAQ,MAAM,oMAAoM,sBAAsB,gJAAgJ,yBAAyB,cAAc,sJAAsJ,c;ACAtgG,kCAAkC,aAAa,mBAAmB,mCAAmC,gBAAgB,qEAAqE,UAAU,iDAAiD,UAAU,6BAA6B,YAAY,UAAU,gBAAgB,oBAAoB,mBAAmB,mDAAmD,U;ACA5Z,8BAA8B,aAAa,mBAAmB,yBAAyB,oCAAoC,UAAU,wEAAwE,YAAY,uBAAuB,0EAA0E,WAAW,yBAAyB,uCAAuC,UAAU,2EAA2E,aAAa,6EAA6E,4BAA4B,0GAA0G,cAAc,iCAAiC,eAAe,gBAAgB,iBAAiB,qBAAqB,UAAU,gBAAgB,0EAA0E,cAAc,iCAAiC,eAAe,iBAAiB,qBAAqB,S;ACAt/B,kCAAkC,yBAAyB,kBAAkB,eAAe,aAAa,0CAA0C,aAAa,8BAA8B,mBAAmB,kBAAkB,YAAY,iIAAiI,UAAU,aAAa,mBAAmB,eAAe,iBAAiB,qBAAqB,mDAAmD,aAAa,iBAAiB,wDAAwD,aAAa,oDAAoD,WAAW,oDAAoD,aAAa,iBAAiB,yDAAyD,aAAa,oHAAoH,aAAa,iBAAiB,8HAA8H,aAAa,qZAAqZ,aAAa,qDAAqD,cAAc,sNAAsN,cAAc,sVAAsV,cAAc,2CAA2C,kBAAkB,yBAAyB,0CAA0C,kBAAkB,2CAA2C,mB;ACAn0E,+CAA+C,UAAU,aAAa,4GAA4G,UAAU,oDAAoD,kBAAkB,+DAA+D,e;ACAjU,2DAA2D,aAAa,mBAAmB,qDAAqD,UAAU,8FAA8F,WAAW,SAAS,gBAAgB,gBAAgB,eAAe,iBAAiB,qBAAqB,sIAAsI,cAAc;AACrf,+FAA+F,SAAS,gBAAgB,wEAAwE,UAAU,4EAA4E,6BAA6B,WAAW,SAAS,UAAU,YAAY,mCAAmC,gBAAgB,eAAe,iBAAiB,qBAAqB,oKAAoK,sBAAsB,2QAA2Q,6BAA6B,cAAc,kDAAkD,cAAc,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,0FAA0F,cAAc;AAChrC,+FAA+F,gBAAgB,8EAA8E,UAAU,kFAAkF,6BAA6B,cAAc,SAAS,UAAU,YAAY,mCAAmC,eAAe,iBAAiB,qBAAqB,gLAAgL,sBAAsB,6RAA6R,6BAA6B,cAAc,qDAAqD,aAAa,cAAc,iBAAiB,iBAAiB,6FAA6F,cAAc,yFAAyF,UAAU,gBAAgB,eAAe,qBAAqB,yFAAyF,UAAU,gBAAgB,eAAe,qBAAqB,gBAAgB,8DAA8D,cAAc,eAAe,iBAAiB,qBAAqB,cAAc,iBAAiB,sGAAsG,c;ACF1uD,6CAA6C,UAAU,kBAAkB,UAAU,gFAAgF,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,wHAAwH,cAAc,8FAA8F,gBAAgB,wDAAwD,WAAW,YAAY,aAAa,gGAAgG,a;ACAtqB,8CAA8C,OAAO,kBAAkB,+HAA+H,c;ACAtM,6BAA6B,aAAa,uBAAuB,iBAAiB,uEAAuE,iBAAiB,qBAAqB,gGAAgG,iBAAiB,oBAAoB,e;ACApU,8CAA8C,iBAAiB,qDAAqD,yBAAyB,qBAAqB,iBAAiB,UAAU,iEAAiE,cAAc,uEAAuE,cAAc,YAAY,cAAc,gEAAgE,U;ACA3b,oEAAoE,kBAAkB,kFAAkF,WAAW,WAAW,wBAAwB,yBAAyB,kBAAkB,SAAS,OAAO,+GAA+G,iBAAiB,6CAA6C,YAAY,yBAAyB,aAAa,mBAAmB,UAAU,kBAAkB,qDAAqD,aAAa,iBAAiB,iBAAiB,0FAA0F,kDAAkD,0CAA0C,6FAA6F,aAAa,kDAAkD,WAAW,eAAe,gBAAgB,iBAAiB,mBAAmB,0FAA0F,c;ACA7nC,2CAA2C,gBAAgB,sIAAsI,cAAc,uDAAuD,cAAc,cAAc,eAAe,iBAAiB,gBAAgB,+FAA+F,c;ACAjb,4DAA4D,aAAa,6BAA6B,sEAAsE,cAAc,8CAA8C,aAAa,qBAAqB,mBAAmB,sDAAsD,UAAU,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,8FAA8F,cAAc,2DAA2D,UAAU,cAAc,eAAe,iBAAiB,iBAAiB,mGAAmG,cAAc,+CAA+C,aAAa,eAAe,mBAAmB,mBAAmB,wGAAwG,UAAU,WAAW,eAAe,iBAAiB,yBAAyB,mCAAmC,iBAAiB,kBAAkB,WAAW,YAAY,iHAAiH,cAAc,2DAA2D,UAAU,0FAA0F,WAAW,eAAe,iBAAiB,kIAAkI,c;ACAhmD,mEAAmE,aAAa,sBAAsB,mBAAmB,uEAAuE,UAAU,0CAA0C,cAAc,UAAU,iCAAiC,gBAAgB,eAAe,iBAAiB,qBAAqB,kFAAkF,c;ACApc,gEAAgE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,6FAA6F,cAAc,8EAA8E,gBAAgB,8CAA8C,WAAW,YAAY,aAAa,2EAA2E,a;ACAzf,uQAAuQ,cAAc,oFAAoF,W;ACAzW,6MAA6M,aAAa,qGAAqG,c;ACA/T,yCAAyC,cAAc,eAAe,mBAAmB,uDAAuD,cAAc,WAAW,cAAc,0CAA0C,gB;ACAjO,oBAAoB,iCAAiC,kBAAkB,oCAAoC,aAAa,sBAAsB,mBAAmB,wCAAwC,UAAU,+CAA+C,cAAc,UAAU,gBAAgB,eAAe,iBAAiB,qBAAqB,wCAAwC,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACApgB,mEAAmE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,mGAAmG,cAAc,iFAAiF,gBAAgB,iDAAiD,WAAW,YAAY,aAAa,iFAAiF,a;ACA9gB,qCAAqC,6BAA6B,aAAa,8BAA8B,mBAAmB,0CAA0C,OAAO,aAAa,eAAe,2CAA2C,UAAU,WAAW,mBAAmB,iBAAiB,WAAW,+FAA+F,cAAc,8DAA8D,WAAW,mBAAmB,iBAAiB,2CAA2C,UAAU,eAAe,iBAAiB,WAAW,+FAA+F,cAAc,2CAA2C,UAAU,iBAAiB,eAAe,iBAAiB,cAAc,+FAA+F,c;ACAt7B,uCAAuC,mBAAmB,2GAA2G,mBAAmB,eAAe,gBAAgB,iBAAiB,WAAW,+JAA+J,c;ACAlZ,6QAA6Q,cAAc,uFAAuF,W;ACAlX,mNAAmN,aAAa,wGAAwG,c;ACAxU,qCAAqC,aAAa,yBAAyB,cAAc,eAAe,iBAAiB,cAAc,2EAA2E,cAAc,2CAA2C,UAAU,+EAA+E,gBAAgB,4DAA4D,YAAY,kBAAkB,mB;ACA9c,kCAAkC,kBAAkB,gCAAgC,kBAAkB,OAAO,QAAQ,MAAM,SAAS,aAAa,WAAW,qCAAqC,kBAAkB,SAAS,2CAA2C,mBAAmB,YAAY,4GAA4G,aAAa,gBAAgB,+OAA+O,a;ACA9pB,gDAAgD,gBAAgB,mBAAmB,U;ACAnF,uBAAuB,iCAAiC,4CAA4C,aAAa,gCAAgC,aAAa,mBAAmB,uBAAuB,aAAa,2CAA2C,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACA7X,sBAAsB,eAAe,yBAAyB,kBAAkB,iCAAiC,gCAAgC,yBAAyB,0CAA0C,kBAAkB,QAAQ,SAAS,uCAAuC,+BAA+B,WAAW,SAAS,W;ACAjV,8CAA8C,aAAa,kDAAkD,UAAU,oBAAoB,UAAU,4BAA4B,8FAA8F,UAAU,kFAAkF,aAAa,2GAA2G,UAAU,4BAA4B,WAAW,SAAS,gBAAgB,gBAAgB,eAAe,iBAAiB,qBAAqB,2IAA2I,cAAc;AAC3wB,+FAA+F,SAAS,gBAAgB,4EAA4E,UAAU,gFAAgF,6BAA6B,WAAW,SAAS,UAAU,YAAY,gBAAgB,eAAe,iBAAiB,qBAAqB,yFAAyF,c;ACDngB,oDAAoD,cAAc,cAAc,gBAAgB,eAAe,iBAAiB,qBAAqB,oFAAoF,cAAc;AACvP,+FAA+F,gBAAgB,kFAAkF,UAAU,sFAAsF,6BAA6B,cAAc,SAAS,UAAU,YAAY,eAAe,iBAAiB,qBAAqB,+FAA+F,c;ACD/f,8CAA8C,UAAU,eAAe,WAAW,qBAAqB,mBAAmB,gBAAgB,eAAe,iBAAiB,qBAAqB,kBAAkB,8EAA8E,mBAAmB,8EAA8E,cAAc,uEAAuE,6BAA6B,WAAW,SAAS,UAAU,YAAY,oBAAoB,gBAAgB,eAAe,iBAAiB,qBAAqB,gFAAgF,c;ACArsB,4BAA4B,yBAAyB,kBAAkB,YAAY,aAAa,gIAAgI,kBAAkB,OAAO,MAAM,SAAS,2CAA2C,UAAU,iDAAiD,UAAU,WAAW,YAAY,kBAAkB,yBAAyB,QAAQ,SAAS,uCAAuC,yBAAyB,UAAU,8CAA8C,yBAAyB,UAAU,uCAAuC,kBAAkB,QAAQ,aAAa,kCAAkC,0BAA0B,eAAe,cAAc,c;ACA7wB,iDAAiD,kBAAkB,gBAAgB,uDAAuD,cAAc,WAAW,eAAe,iBAAiB,mBAAmB,kBAAkB,uFAAuF,cAAc,2DAA2D,cAAc,cAAc,eAAe,iBAAiB,cAAc,kB;ACAld,6DAA6D,aAAa,mBAAmB,gDAAgD,U;ACA7I,6CAA6C,oBAAoB,mDAAmD,iBAAiB,qCAAqC,UAAU,aAAa,yBAAyB,eAAe,6EAA6E,cAAc,+EAA+E,aAAa,yBAAyB,mBAAmB,kBAAkB,iBAAiB,gBAAgB,kHAAkH,UAAU,kBAAkB,eAAe,gBAAgB,iBAAiB,iBAAiB,WAAW,4GAA4G,UAAU,WAAW,sFAAsF,WAAW,OAAO,WAAW,kBAAkB,yBAAyB,qFAAqF,WAAW,UAAU,yBAAyB,kBAAkB,SAAS,OAAO,YAAY,gGAAgG,MAAM,uBAAuB,6GAA6G,SAAS,uBAAuB,2EAA2E,UAAU,WAAW,uFAAuF,UAAU,WAAW,eAAe,iBAAiB,cAAc,iBAAiB,gB;ACA9rD,sEAAsE,kBAAkB,oFAAoF,WAAW,WAAW,wBAAwB,yBAAyB,kBAAkB,SAAS,OAAO,iHAAiH,iBAAiB,+CAA+C,YAAY,yBAAyB,aAAa,mBAAmB,UAAU,kBAAkB,uDAAuD,aAAa,iBAAiB,iBAAiB,4FAA4F,kDAAkD,0CAA0C,uFAAuF,aAAa,oDAAoD,WAAW,eAAe,gBAAgB,iBAAiB,mBAAmB,oFAAoF,c;ACA/nC,6CAA6C,eAAe,mDAAmD,iBAAiB,uCAAuC,OAAO,kBAAkB,uHAAuH,c;ACAvT,yCAAyC,iBAAiB,4EAA4E,UAAU,UAAU,+CAA+C,aAAa,iBAAiB,sDAAsD,UAAU,4DAA4D,YAAY,cAAc,aAAa,4FAA4F,cAAc,uEAAuE,WAAW,8CAA8C,eAAe,qBAAqB,8EAA8E,c;ACAtuB,gDAAgD,iBAAiB,uDAAuD,yBAAyB,qBAAqB,iBAAiB,UAAU,mEAAmE,cAAc,yEAAyE,cAAc,YAAY,cAAc,kEAAkE,U;ACArc,6CAA6C,gBAAgB,gIAAgI,cAAc,yDAAyD,cAAc,cAAc,eAAe,iBAAiB,gBAAgB,yFAAyF,c;ACAza,8DAA8D,aAAa,wEAAwE,cAAc,mCAAmC,aAAa,uBAAuB,wCAAwC,mBAAmB,sDAAsD,qBAAqB,8JAA8J,UAAU,YAAY,sEAAsE,cAAc,eAAe,gBAAgB,qBAAqB,iBAAiB,sGAAsG,cAAc,oFAAoF,gBAAgB,2EAA2E,WAAW,YAAY,aAAa,2GAA2G,a;ACA7mC,gEAAgE,aAAa,cAAc,SAAS,SAAS,gGAAgG,a;ACA7M,sCAAsC,mBAAmB,aAAa,mCAAmC,uBAAuB,eAAe,gDAAgD,YAAY,mDAAmD,WAAW,YAAY,6BAA6B,SAAS,cAAc,oBAAoB,gBAAgB,gBAAgB,gBAAgB,cAAc,2CAA2C,SAAS,UAAU,SAAS,WAAW,6BAA6B,OAAO,oBAAoB,gBAAgB,mBAAmB,WAAW,gFAAgF,oBAAoB,gBAAgB,sBAAsB,SAAS,WAAW,mCAAmC,gBAAgB,gBAAgB,cAAc,4BAA4B,gBAAgB,sFAAsF,UAAU,gBAAgB,wDAAwD,sBAAsB,cAAc,mFAAmF,cAAc,6JAA6J,cAAc,qEAAqE,cAAc,gPAAgP,uBAAuB,0CAA0C,oBAAoB,8CAA8C,WAAW,YAAY,mBAAmB,iB","file":"src/resources/css/app/blocks.min.css","sourcesContent":[".tribe-editor__action-button,.tribe-editor__action-button.tribe-editor__button{display:flex;align-items:center;font-family:Helvetica,sans-serif;font-size:15px;line-height:18px;letter-spacing:.38px;color:#545d66;text-decoration:none;transition:none}.tribe-editor__action-button.tribe-editor__button>svg,.tribe-editor__action-button>svg{width:20px;fill:#545d66}.tribe-editor__action-button.tribe-editor__button>svg path,.tribe-editor__action-button>svg path{fill:#545d66}.tribe-editor__action-button.tribe-editor__button:focus,.tribe-editor__action-button.tribe-editor__button:hover,.tribe-editor__action-button:focus,.tribe-editor__action-button:hover{color:#009fd4}.tribe-editor__action-button.tribe-editor__button:focus>svg,.tribe-editor__action-button.tribe-editor__button:focus>svg path,.tribe-editor__action-button.tribe-editor__button:hover>svg,.tribe-editor__action-button.tribe-editor__button:hover>svg path,.tribe-editor__action-button:focus>svg,.tribe-editor__action-button:focus>svg path,.tribe-editor__action-button:hover>svg,.tribe-editor__action-button:hover>svg path{fill:#009fd4}.tribe-editor__action-button.tribe-editor__button[disabled],.tribe-editor__action-button.tribe-editor__button[disabled]:focus,.tribe-editor__action-button.tribe-editor__button[disabled]:hover,.tribe-editor__action-button[disabled],.tribe-editor__action-button[disabled]:focus,.tribe-editor__action-button[disabled]:hover{color:#8d949b}.tribe-editor__action-button.tribe-editor__button[disabled]:focus>svg,.tribe-editor__action-button.tribe-editor__button[disabled]:focus>svg path,.tribe-editor__action-button.tribe-editor__button[disabled]:hover>svg,.tribe-editor__action-button.tribe-editor__button[disabled]:hover>svg path,.tribe-editor__action-button.tribe-editor__button[disabled]>svg,.tribe-editor__action-button.tribe-editor__button[disabled]>svg path,.tribe-editor__action-button[disabled]:focus>svg,.tribe-editor__action-button[disabled]:focus>svg path,.tribe-editor__action-button[disabled]:hover>svg,.tribe-editor__action-button[disabled]:hover>svg path,.tribe-editor__action-button[disabled]>svg,.tribe-editor__action-button[disabled]>svg path{fill:#8d949b}.tribe-editor__action-dashboard .tribe-editor__action-button,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button:focus,.tribe-editor__action-dashboard .tribe-editor__action-button.tribe-editor__button:hover,.tribe-editor__action-dashboard .tribe-editor__action-button:focus,.tribe-editor__action-dashboard .tribe-editor__action-button:hover{box-shadow:none}.tribe-editor__action-button--icon-right>svg{margin-left:6px;order:2}.tribe-editor__action-button--icon-left>svg{margin-right:6px}",".tribe-editor__action-dashboard{background-color:#f8f9fb;display:flex;margin:0 -14px;position:relative;bottom:-14px}.tribe-editor__action-dashboard__group-left{display:flex;align-items:center;flex:1}.tribe-editor__action-dashboard__group-right{display:flex;align-items:center;flex:none;margin-left:auto}.tribe-editor__action-dashboard__action-wrapper{flex:none;margin-right:25px}.tribe-editor__action-dashboard__action-wrapper:last-child{margin-right:0}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__confirm-button{flex:none;font-family:Helvetica,\"sans-serif\"}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button{background-color:transparent;font-size:15px;line-height:18px;padding:0;margin-right:20px;transition:color .2s ease}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:last-child{margin-right:0}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:focus,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button:hover{color:#009fd4}.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled],.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled]:focus,.tribe-editor__action-dashboard .tribe-editor__action-dashboard__cancel-button[disabled]:hover{color:#8d949b}@media (min-width:600px){.tribe-editor__action-dashboard{padding:15px 28px}}",".tribe-editor__container-panel{display:flex}.tribe-editor__container-panel--rsvp{border:1px solid #e1e3e6}.tribe-editor__container-panel--ticket{flex-wrap:wrap}.tribe-editor__container-panel__icon{flex:none}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__icon{width:100px;padding:25px 20px 20px}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__icon{width:68px;padding:25px 4px;background-color:#f8f9f9}.tribe-editor__container-panel__header-content-wrapper{flex:auto;background-color:#f7f8f9;border-left:1px dashed #b5bcc2}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__header{padding:25px}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__header{flex:none;width:calc(100% - 68px);padding:30px 25px}.tribe-editor__container-panel--rsvp .tribe-editor__container-panel__content{margin:0 25px;padding:30px 0}.tribe-editor__container-panel--ticket .tribe-editor__container-panel__content{flex:none;width:100%;background-color:#f8f9f9;padding:30px 20px 25px;border-top:1px dashed #b5bcc2}",".tribe-editor__date-time-range-picker{display:flex;flex-wrap:wrap}.tribe-editor__date-time-range-picker__end,.tribe-editor__date-time-range-picker__start{flex:none;display:flex;align-items:center;width:100%}.tribe-editor__date-time-range-picker__start{flex:none;width:calc(100% - 55px);margin-left:55px;margin-bottom:15px}.tribe-editor__date-time-range-picker .DayPickerInput{flex:1}.tribe-editor__date-time-range-picker .DayPickerInput input{border:1px solid #e1e3e6;color:#545d66;font-size:16px;line-height:19px;letter-spacing:.4px;padding:10px 15px;width:100%}.tribe-editor__date-time-range-picker .DayPickerInput input:disabled{color:#aeb4bb}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#8d949b;flex:none;font-size:16px;line-height:19px;letter-spacing:.4px}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator--date-time{margin:0 15px}.tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator--time-range{margin:0 7px 0 28px;width:20px}.tribe-editor__date-time-range-picker .tribe-editor__timepicker{flex:none}.tribe-editor__date-time-range-picker .DayPickerInput-Overlay{padding:20px;z-index:10}.tribe-editor__date-time-range-picker .DayPicker{width:100%}.tribe-editor__date-time-range-picker .DayPicker-Month{margin:0}.tribe-editor__date-time-range-picker .DayPicker-Caption>div,.tribe-editor__date-time-range-picker .DayPicker-Day,.tribe-editor__date-time-range-picker .DayPicker-Weekday{color:#545d66;font-family:Helvetica,\"sans-serif\";font-weight:400}.tribe-editor__date-time-range-picker .DayPicker-Caption>div{font-size:1rem;margin-bottom:12px;text-align:center}.tribe-editor__date-time-range-picker .DayPicker-Weekday{font-size:.75rem}.tribe-editor__date-time-range-picker .DayPicker-Day{font-size:.875rem}.tribe-editor__date-time-range-picker .DayPicker-Day:hover{color:#007bb4;background-color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--today{color:#545d66}.tribe-editor__date-time-range-picker .DayPicker-Day--disabled{pointer-events:none;color:#ccc}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--outside){border-radius:0;background-color:#009fd4;color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--outside):hover{background-color:#007bb4;color:#fff}.tribe-editor__date-time-range-picker .DayPicker-NavButton--prev{left:0;top:0}.tribe-editor__date-time-range-picker .DayPicker-NavButton--next{right:0;top:0}.tribe-editor__date-time-range-picker .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover{background-color:#fff}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside){background-color:#e7f5fa;color:#545d66}.tribe-editor__date-time-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside):hover{color:#007bb4}",".tribe-editor__label-with-tooltip{display:flex;align-items:center}.tribe-editor__labeled-item__label{font-weight:700}.tribe-editor__label-with-tooltip .tribe-editor__labeled-item__label{flex:none}.tribe-editor__label-with-tooltip__tooltip-label{flex:none;background-color:transparent;border:none;padding:0;margin-top:-2px;display:inline-flex;align-items:center}.tribe-editor__label-with-tooltip__tooltip-label>*{flex:none}",".tribe-editor__inactive-block{display:flex;align-items:center;background-color:#f7f8f9}.tribe-editor__inactive-block__icon{flex:none}.tribe-editor__inactive-block--rsvp .tribe-editor__inactive-block__icon{width:100px;padding:25px 20px 20px}.tribe-editor__inactive-block--ticket .tribe-editor__inactive-block__icon{width:68px;padding:25px 0 25px 12px}.tribe-editor__inactive-block__content{flex:auto}.tribe-editor__inactive-block--rsvp .tribe-editor__inactive-block__content{padding:25px}.tribe-editor__inactive-block--ticket .tribe-editor__inactive-block__content{padding:30px 25px 30px 20px}.tribe-editor__inactive-block .tribe-editor__inactive-block__content .tribe-editor__inactive-block__title{color:#545d66;font-family:Helvetica,sans-serif;font-size:21px;font-weight:700;line-height:25px;letter-spacing:.16px;padding:0;margin:0 0 12px}.tribe-editor__inactive-block p.tribe-editor__inactive-block__description{color:#545d66;font-family:Helvetica,sans-serif;font-size:14px;line-height:18px;letter-spacing:.04px;margin:0}",".tribe-editor__settings-dashboard{background-color:#f8f9fb;position:relative;margin:0 -14px;bottom:-14px}.tribe-editor__settings-dashboard__header{display:flex;justify-content:space-between;align-items:center;padding:15px 14px;height:68px}.tribe-editor__settings-dashboard .tribe-editor__settings-dashboard__close-button,.tribe-editor__settings-dashboard__header-left{flex:none;display:flex;align-items:center;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__settings-dashboard__header-left>svg{fill:#009fd4;margin-right:6px}.tribe-editor__settings-dashboard__header-left>svg path{fill:#009fd4}.tribe-editor__settings-dashboard__header-left-text{color:#000}.tribe-editor__settings-dashboard__close-button>svg{fill:#a2aab2;margin-right:6px}.tribe-editor__settings-dashboard__close-button>svg path{fill:#a2aab2}.tribe-editor__settings-dashboard__close-button:focus>svg,.tribe-editor__settings-dashboard__close-button:hover>svg{fill:#009fd4;margin-right:6px}.tribe-editor__settings-dashboard__close-button:focus>svg path,.tribe-editor__settings-dashboard__close-button:hover>svg path{fill:#009fd4}.tribe-editor__settings-dashboard__close-button:disabled:focus>svg,.tribe-editor__settings-dashboard__close-button:disabled:focus>svg path,.tribe-editor__settings-dashboard__close-button:disabled:hover>svg,.tribe-editor__settings-dashboard__close-button:disabled:hover>svg path,.tribe-editor__settings-dashboard__close-button:disabled>svg,.tribe-editor__settings-dashboard__close-button:disabled>svg path{fill:#aeb4bb}.tribe-editor__settings-dashboard__close-button-text{color:#8d949b}.tribe-editor__settings-dashboard__close-button:focus .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:hover .tribe-editor__settings-dashboard__close-button-text{color:#009fd4}.tribe-editor__settings-dashboard__close-button:disabled .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:disabled:focus .tribe-editor__settings-dashboard__close-button-text,.tribe-editor__settings-dashboard__close-button:disabled:hover .tribe-editor__settings-dashboard__close-button-text{color:#aeb4bb}.tribe-editor__settings-dashboard__content{padding:25px 14px}@media (min-width:600px){.tribe-editor__settings-dashboard__header{padding:15px 28px}.tribe-editor__settings-dashboard__content{padding:25px 28px}}",".tribe-editor__rsvp-container-header__counters{flex:none;display:flex}.tribe-editor__rsvp-container-header__going-counter,.tribe-editor__rsvp-container-header__not-going-counter{flex:none}.tribe-editor__rsvp-container-header__going-counter{margin-right:25px}.tribe-editor__rsvp-container-header__going-counter:last-child{margin-right:0}",".tribe-editor__rsvp .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__rsvp-container-header__header-details{flex:auto}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-header__title{color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__title{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:Helvetica,\"sans-serif\";font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__title-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__description{color:#aeb4bb}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>*{flex:none}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-family:Helvetica,\"sans-serif\";font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:hover{background-color:#fff}.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:focus,.tribe-editor__rsvp .tribe-editor__rsvp-container-header__description-input>input:disabled:hover{background-color:transparent;color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label{display:flex;color:#545d66;padding-top:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--count{flex:none;font-weight:700;font-size:18px;letter-spacing:.05px}.tribe-editor__rsvp-container-header__capacity-label .tribe-editor__numeric-label--after{flex:none;margin-left:2px;font-size:12px;letter-spacing:.04px;white-space:pre}.tribe-editor__rsvp-container-header__capacity-label-fallback{display:block;font-size:12px;line-height:18px;letter-spacing:.04px;color:#545d66;padding-top:15px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-header__capacity-label-fallback{color:#aeb4bb}",".tribe-editor__rsvp-duration__duration-label{flex:none;position:relative;z-index:1}.tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-duration__duration-label .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp-duration__duration-label .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp-duration__duration-tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp-duration__duration-tooltip-label{fill:#aeb4bb}",".tribe-editor__rsvp-duration__duration-picker{flex:1;margin-left:-42px}.tribe-editor__rsvp-container--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}",".tribe-editor__rsvp-duration{display:flex;align-items:flex-start;padding-top:30px}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container{border-width:1px;border-color:#e1e3e6}.tribe-editor__rsvp-duration .tribe-editor__timepicker-label-container .tribe-editor__btn-input{padding-top:11px;padding-bottom:10px;font-size:14px}",".tribe-editor__rsvp__content-row--move-delete{padding:30px 0 0}.tribe-editor__rsvp__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__rsvp__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__rsvp__content-row--move-delete>button:first-child:after{color:#8d949b;content:\"|\";margin:0 10px}.tribe-editor__rsvp__content-row--move-delete>button:last-child{color:red}",".tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.active:before{content:\"\";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__rsvp__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__rsvp__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__rsvp__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__rsvp-container--disabled svg.tribe-editor__rsvp__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__rsvp__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__advanced-options-header-text{color:#aeb4bb}",".tribe-editor__rsvp__attendee-registration{margin-top:30px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp__attendee-registration-helper-text{color:#aeb4bb}",".tribe-editor__rsvp .tribe-editor__container-panel__content{display:none;border-top:1px solid #e1e3e6}.tribe-editor__rsvp--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__rsvp-container-content__labels{display:flex;align-items:baseline;margin-bottom:15px}.tribe-editor__rsvp-container-content__capacity-label{flex:none;color:#545d66;font-weight:700;font-size:15px;line-height:18px;letter-spacing:.38px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label{color:#aeb4bb}.tribe-editor__rsvp-container-content__capacity-label-help{flex:none;color:#8d949b;font-size:12px;line-height:14px;margin-left:10px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__capacity-label-help{color:#aeb4bb}.tribe-editor__rsvp-container-content__options{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:35px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input{flex:none;color:#000;font-size:16px;line-height:20px;border:1px solid #e1e3e6;box-shadow:inset 0 1px 0 0 #f1f1f1;padding:9px 15px;margin-right:20px;width:88px;height:40px}.tribe-editor__rsvp .tribe-editor__rsvp-container .tribe-editor__rsvp-container-content__capacity-input:disabled{color:#aeb4bb}.tribe-editor__rsvp-container-content__not-going-responses{flex:none}.tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#000;font-size:15px;line-height:18px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container-content__not-going-responses .tribe-editor__checkbox__label{color:#aeb4bb}",".tribe-editor__rsvp-container .tribe-editor__container-panel__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__rsvp-container .tribe-editor__container-panel__icon>svg{flex:none}.tribe-editor__rsvp-container__icon-label{color:#434343;flex:none;font-family:Helvetica,sans-serif;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp-container--disabled .tribe-editor__rsvp-container__icon-label{color:#aeb4bb}",".tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__rsvp--loading .tribe-editor__rsvp__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__rsvp__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__rsvp__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__rsvp--loading svg.tribe-editor__rsvp__warning-tooltip-label{fill:#aeb4bb}",".edit-post-visual-editor .editor-block-list__block .tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}",".tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__rsvp__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}",".tribe-editor__tickets__move-modal label{display:block;font-size:15px;margin:30px 0 10px}.tribe-editor__tickets__move-modal .components-spinner{display:block;float:none;margin:10px 0}.tribe-editor__tickets__move-modal footer{margin-top:15px}",".tribe-editor__rsvp{font-family:Helvetica,sans-serif;position:relative}.tribe-editor__inactive-block__icon{display:flex;flex-direction:column;align-items:center}.tribe-editor__inactive-block__icon>svg{flex:none}.tribe-editor__rsvp__inactive-block-icon-label{color:#aeb4bb;flex:none;font-weight:700;font-size:16px;line-height:19px;letter-spacing:.05px}.tribe-editor__rsvp .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#e7563b;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__tickets--loading .tribe-editor__tickets__warning .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__tickets__warning .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}svg.tribe-editor__tickets__warning-tooltip-label{width:17px;height:17px;fill:#e7563b}.tribe-editor__tickets--loading svg.tribe-editor__tickets__warning-tooltip-label{fill:#aeb4bb}",".tribe-editor__tickets__capacity-row{border-top:1px solid #e1e3e6;display:flex;justify-content:space-between;align-items:center}.tribe-editor__tickets__capacity-row-left{flex:1;display:flex;padding:18px 0}.tribe-editor__tickets__capacity-row-right{flex:none;width:85px;padding-right:15px;text-align:right;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-right{color:#aeb4bb}.tribe-editor__tickets__capacity-row-right input[type=number]{width:85px;margin-right:-15px;text-align:right}.tribe-editor__tickets__capacity-row-label{flex:none;font-size:15px;line-height:18px;color:#000}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-label{color:#aeb4bb}.tribe-editor__tickets__capacity-row-items{flex:none;padding-left:7px;font-size:14px;line-height:18px;color:#545d66}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-row-items{color:#aeb4bb}",".tribe-editor__tickets__capacity-table{margin-bottom:40px}.tribe-editor__tickets .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{margin-bottom:15px;font-size:15px;font-weight:700;line-height:18px;color:#000}.tribe-editor__tickets .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__tickets__capacity-table .tribe-editor__tickets__capacity-table-title{color:#aeb4bb}",".edit-post-visual-editor .editor-block-list__block .tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__title,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__content p.tribe-editor__image-upload__description{color:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__image-upload__image{opacity:.5}",".tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg,.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left>svg path{fill:#aeb4bb}.tribe-editor__tickets__settings-dashboard--loading .tribe-editor__settings-dashboard__header-left-text{color:#aeb4bb}",".tribe-editor__tickets__availability{display:flex;justify-content:flex-end;padding:2px 0;font-size:15px;line-height:18px;color:#545d66}.tribe-editor__tickets--settings-open .tribe-editor__tickets__availability{color:#aeb4bb}.tribe-editor__tickets__availability-label{flex:none}.tribe-editor__tickets__availability-label .tribe-editor__numeric-label--count{font-weight:700}.tribe-editor__tickets__availability-label--available:after{content:\"|\";padding-left:15px;padding-right:15px}",".tribe-editor__tickets__container{position:relative}.tribe-editor__tickets__overlay{position:absolute;left:0;right:0;top:0;bottom:0;margin:-14px;z-index:10}.tribe-editor__tickets__inner-blocks{visibility:hidden;height:0}.tribe-editor__tickets__inner-blocks--show{visibility:visible;height:auto}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block>.editor-block-list__block-edit:before{outline:none;transition:none}.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-hovered>.editor-block-list__block-edit:before,.tribe-editor__tickets .editor-inner-blocks .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:none}",".tribe-editor__tickets-controls-provider legend{font-weight:700;margin-bottom:10px;padding:0}",".tribe-editor__tickets{font-family:Helvetica,sans-serif}.tribe-editor__tickets .block-list-appender{display:none}.tribe-editor__tickets--loading{display:flex;align-items:center;justify-content:center;padding:20px}.tribe-editor__tickets .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__ticket{margin:-19px 0;border:1px solid #e1e3e6;position:relative;font-family:Helvetica,sans-serif}.tribe-editor__ticket--selected{border:1px solid #b1b5b8}.tribe-editor__ticket .components-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);float:none;margin:0;opacity:.8}",".tribe-editor__ticket__container-header-title{display:flex}.tribe-editor__ticket__container-header-title svg{flex:none;margin:6px 0 0 10px;opacity:0;transition:opacity .2s ease}.is-hovered[data-type=\"tribe/tickets-item\"] .tribe-editor__ticket__container-header-title svg{opacity:1}.tribe-editor__ticket--selected .tribe-editor__ticket__container-header-title svg{display:none}.tribe-editor__ticket .tribe-editor__ticket__container .tribe-editor__ticket__container-header-title-label{flex:none;max-width:calc(100% - 28px);color:#000;margin:0;padding-top:3px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket .tribe-editor__ticket__container .tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-title-label{color:#aeb4bb}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;margin:0;padding-top:3px}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>*{flex:none}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>input{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket .tribe-editor__ticket__container-header-title-input>input:disabled{color:#aeb4bb}",".tribe-editor__ticket__container-header-description{display:block;color:#545d66;padding-top:7px;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-description{color:#aeb4bb}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input{\n\t\t/* !important required to override styles from react-input-autosize */display:flex!important;padding-top:7px}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>*{flex:none}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>input{background-color:transparent;color:#545d66;margin:0;padding:0;border:none;font-size:12px;line-height:18px;letter-spacing:.04px}.tribe-editor__ticket .tribe-editor__ticket__container-header-description-input>input:disabled{color:#aeb4bb}",".tribe-editor__ticket__container-header-price{flex:none;min-width:65px;color:#000;margin:0 20px 0 15px;padding-bottom:5px;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px;text-align:center}.tribe-editor__ticket--selected .tribe-editor__ticket__container-header-price{margin-right:118px}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-price{color:#aeb4bb}.tribe-editor__ticket__container-header-price-input>input[type=number]{background-color:transparent;color:#000;margin:0;padding:0;border:none;font-family:inherit;font-weight:700;font-size:21px;line-height:25px;letter-spacing:.16px}.tribe-editor__ticket__container-header-price-input>input[type=number]:disabled{color:#aeb4bb}",".tribe-editor__quantity-bar{border:1px solid #e1e3e6;position:relative;height:10px;margin:5px 0}.tribe-editor__quantity-bar__bar--capacity,.tribe-editor__quantity-bar__bar--shared-sold,.tribe-editor__quantity-bar__bar--sold{position:absolute;left:0;top:0;bottom:0}.tribe-editor__quantity-bar__bar--capacity{z-index:3}.tribe-editor__quantity-bar__bar--capacity:after{width:1px;content:\"\";height:20px;position:absolute;background-color:#009fd4;right:0;top:-5px}.tribe-editor__quantity-bar__bar--sold{background-color:#009fd4;z-index:2}.tribe-editor__quantity-bar__bar--shared-sold{background-color:#c9ebf7;z-index:1}.tribe-editor__quantity-bar__bar-label{position:absolute;right:0;bottom:-20px;-webkit-transform:translateX(50%);transform:translateX(50%);font-size:12px;line-height:1;color:#545d66}",".tribe-editor__ticket__container-header-quantity{margin-right:13px;min-width:105px}.tribe-editor__ticket__container-header-quantity-label{display:block;color:#000;font-size:15px;line-height:18px;margin-bottom:12px;text-align:center}.tribe-editor__ticket--disabled .tribe-editor__ticket__container-header-quantity-label{color:#aeb4bb}.tribe-editor__ticket__container-header-quantity-unlimited{display:block;color:#aeb4bb;font-size:12px;line-height:14px;padding:2px 0;text-align:center}",".tribe-editor__ticket .tribe-editor__container-panel__header{display:flex;align-items:center}.tribe-editor__ticket__container-header-details{flex:auto}",".tribe-editor__ticket__content-row--capacity{padding-bottom:40px}.tribe-editor__ticket__capacity-label-with-tooltip{padding-top:13px}.tribe-editor__ticket__capacity-form{flex:auto;display:flex;justify-content:flex-end;flex-wrap:wrap}.tribe-editor__ticket--has-tickets-plus .tribe-editor__ticket__capacity-form{display:block}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row{display:flex;justify-content:flex-end;align-items:center;position:relative;padding-top:12px;margin-left:8px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row .tribe-editor__labeled-item__label{flex:none;margin-right:20px;font-size:15px;font-weight:400;line-height:18px;letter-spacing:0;color:#000}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row .tribe-editor__input--number{flex:none;width:85px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:before{content:\"\";flex:1;height:1px;margin-right:10px;background-color:#e1e3e6}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:after{content:\"\";width:1px;background-color:#e1e3e6;position:absolute;top:10px;left:0;height:100%}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:last-child:after{top:0;height:calc(50% + 6px)}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-row:nth-child(2):last-child:after{top:10px;height:calc(50% - 4px)}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input{flex:none;width:85px}.tribe-editor__ticket__capacity-form .tribe-editor__ticket__capacity-input-helper-text{flex:none;width:100%;font-size:12px;line-height:14px;color:#8d949b;text-align:right;margin-top:10px}",".tribe-editor__ticket__advanced-options .tribe-editor__accordion__row{position:relative}.tribe-editor__ticket__advanced-options .tribe-editor__accordion__row.active:before{content:\"\";height:1px;width:calc(100% + 12px);background-color:#e1e3e6;position:absolute;top:10px;left:0}.tribe-editor__ticket__advanced-options .tribe-editor__accordion__row.open .tribe-editor__accordion__row-content{overflow:visible}.tribe-editor__ticket__advanced-options-header{border:none;background-color:#f8f9f9;display:flex;align-items:center;padding:0;position:relative}svg.tribe-editor__ticket__advanced-options-header-icon{fill:#8d949b;margin-left:-5px;margin-right:3px}.tribe-editor__accordion__row.active svg.tribe-editor__ticket__advanced-options-header-icon{-webkit-transform:rotate(180deg) translateX(-2px);transform:rotate(180deg) translateX(-2px)}.tribe-editor__ticket--disabled svg.tribe-editor__ticket__advanced-options-header-icon{fill:#aeb4bb}.tribe-editor__ticket__advanced-options-header-text{color:#000;font-size:15px;font-weight:700;line-height:18px;padding-right:10px}.tribe-editor__ticket--disabled .tribe-editor__ticket__advanced-options-header-text{color:#aeb4bb}",".tribe-editor__ticket__content-row--duration{padding:30px 0}.tribe-editor__ticket__duration-label-with-tooltip{padding-top:12px}.tribe-editor__ticket__duration-picker{flex:1;margin-left:-55px}.tribe-editor__ticket--disabled .tribe-editor__date-time-range-picker .tribe-editor__date-time-range-picker__separator{color:#aeb4bb}",".tribe-editor__ticket__ecommerce-options{padding-top:30px}.tribe-editor__ticket__ecommerce-options .tribe-editor__labeled-item__label{flex:none;width:31%}.tribe-editor__ticket__ecommerce-options-links{display:flex;line-height:18px}.tribe-editor__ticket__ecommerce-options-link-wrapper{flex:none}.tribe-editor__ticket__ecommerce-options-link-wrapper:after{content:\"|\";color:#545d66;margin:0 6px}.tribe-editor__ticket--disabled .tribe-editor__ticket__ecommerce-options-link-wrapper:after{color:#aeb4bb}.tribe-editor__ticket__ecommerce-options-link-wrapper:last-child:after{content:\"\"}.tribe-editor__ticket__ecommerce-options-link{font-size:15px;text-decoration:none}.tribe-editor__ticket--disabled .tribe-editor__ticket__ecommerce-options-link{color:#aeb4bb}",".tribe-editor__ticket__content-row--move-delete{padding:30px 0 0}.tribe-editor__ticket__content-row--move-delete>button{font-size:15px!important;letter-spacing:.38px;line-height:18px;padding:0}.tribe-editor__ticket__content-row--move-delete>button:first-child{color:#009fd4}.tribe-editor__ticket__content-row--move-delete>button:first-child:after{color:#8d949b;content:\"|\";margin:0 10px}.tribe-editor__ticket__content-row--move-delete>button:last-child{color:red}",".tribe-editor__ticket__attendee-registration{margin-top:30px}.tribe-editor__ticket--disabled .tribe-editor__ticket__attendee-registration-label-with-link .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__ticket__attendee-registration-helper-text{display:block;color:#8d949b;font-size:12px;line-height:14px;margin-top:10px}.tribe-editor__ticket--disabled .tribe-editor__ticket__attendee-registration-helper-text{color:#aeb4bb}",".tribe-editor__ticket .tribe-editor__container-panel__content{display:none}.tribe-editor__ticket--selected .tribe-editor__container-panel__content{display:block}.tribe-editor__ticket__content-row{display:flex;align-items:flex-start}.tribe-editor__ticket__content-row--sku{align-items:center}.tribe-editor__ticket__content-row--ecommerce-options{align-items:baseline}.tribe-editor__ticket__content-row--ecommerce-options .tribe-editor__labeled-item__label,.tribe-editor__ticket__content-row .tribe-editor__label-with-tooltip{flex:none;width:160px}.tribe-editor__ticket__content-row .tribe-editor__labeled-item__label{color:#545d66;font-size:15px;font-weight:700;letter-spacing:.38px;line-height:18px}.tribe-editor__ticket--disabled .tribe-editor__ticket__content-row .tribe-editor__labeled-item__label{color:#aeb4bb}.tribe-editor__ticket__content-row .tribe-editor__label-with-tooltip__tooltip-label{margin-left:5px}.tribe-editor__ticket__content-row svg.tribe-editor__ticket__tooltip-label{width:17px;height:17px;fill:#a2aab2}.tribe-editor__ticket--disabled .tribe-editor__ticket__content-row svg.tribe-editor__ticket__tooltip-label{fill:#aeb4bb}",".tribe-editor__action-dashboard.tribe-editor__ticket__dashboard{display:none;padding-top:0;margin:0;bottom:0}.tribe-editor__ticket--selected .tribe-editor__action-dashboard.tribe-editor__ticket__dashboard{display:flex}",".tribe-editor__event-attendees__title{align-items:center;display:flex;font-family:Helvetica,\"sans-serif\";justify-content:center;max-width:100%}.tribe-editor__event-attendees__title--selected{border:none}.tribe-editor__event-attendees__title--placeholder{color:#333;cursor:text;background-color:transparent;border:0;display:block;font-size:1.3125rem;font-weight:700;min-height:50px;min-width:200px;padding:5px 0}.tribe-editor__event-attendees__title-text{border:0;padding:0;margin:0;color:#fff;background-color:transparent;flex:1;font-size:1.3125rem;font-weight:400;table-layout:fixed;width:100%}.tribe-editor__event-attendees .tribe-editor__event-attendees__title-text input{font-size:1.3125rem;min-height:50px;background-color:#fff;border:0;color:#333;font-family:Helvetica,\"sans-serif\";font-weight:700;overflow:hidden;padding:5px 0;max-width:calc(100% - 20px);min-width:200px}.tribe-editor__event-attendees .tribe-editor__event-attendees__title-text input:focus{outline:0;box-shadow:none}.tribe-editor__event-attendees__title-text--empty input{background-color:#fff;color:#8d949b}.tribe-editor__event-attendees__title-text--empty input::-webkit-input-placeholder{color:#8d949b}.tribe-editor__event-attendees__title-text--empty input:-ms-input-placeholder,.tribe-editor__event-attendees__title-text--empty input::-ms-input-placeholder{color:#8d949b}.tribe-editor__event-attendees__title-text--empty input::placeholder{color:#8d949b}.tribe-editor__event-attendees__title .tribe-editor__event-attendees__title-text:focus [data-mce-selected=inline-boundary],.tribe-editor__event-attendees__title .tribe-editor__event-attendees__title-text [data-mce-selected=inline-boundary]{background:transparent}.tribe-editor__event-attendees__gravatars{padding-bottom:20px}.tribe-editor__event-attendees__gravatars svg{width:60px;height:60px;border-radius:100%;margin-right:8px}"],"sourceRoot":""}
src/resources/css/app/rsvp/frontend.css CHANGED
@@ -1 +1 @@
1
- #rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:hover{background:#009fd4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:"";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}
1
+ #rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form label{font-weight:400}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:focus,.tribe-block__rsvp__submit-button:hover{background:#007bb4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:"";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:focus,.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}.tribe-block__rsvp__form__attendee-meta{margin:0}.tribe-block__rsvp__form__attendee-meta td,.tribe-block__rsvp__form__attendee-meta th{padding:0;border:none;word-break:normal}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}
src/resources/css/app/rsvp/frontend.min.css CHANGED
@@ -1,3 +1,3 @@
1
- #rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:hover{background:#009fd4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:"";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}
2
 
3
  /*# sourceMappingURL=frontend.min.css.map*/
1
+ #rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form label{font-weight:400}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:focus,.tribe-block__rsvp__submit-button:hover{background:#007bb4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:"";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:focus,.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}.tribe-block__rsvp__form__attendee-meta{margin:0}.tribe-block__rsvp__form__attendee-meta td,.tribe-block__rsvp__form__attendee-meta th{padding:0;border:none;word-break:normal}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}
2
 
3
  /*# sourceMappingURL=frontend.min.css.map*/
src/resources/css/app/rsvp/frontend.min.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/styles/rsvp/frontend.pcss"],"names":[],"mappings":"AAAA,UAAU,aAAa,2BAA2B,mBAAmB,yBAAyB,sBAAsB,aAAa,eAAe,kBAAkB,6BAA6B,WAAW,sCAAsC,wBAAwB,yBAAyB,gBAAgB,SAAS,cAAc,eAAe,kBAAkB,kBAAkB,0DAA0D,WAAW,4BAA4B,aAAa,gBAAgB,sBAAsB,6BAA6B,oCAAoC,aAAa,mBAAmB,YAAY,eAAe,4BAA4B,gBAAgB,kBAAkB,0BAA0B,eAAe,gBAAgB,mBAAmB,gCAAgC,cAAc,eAAe,iCAAiC,cAAc,eAAe,sCAAsC,eAAe,4BAA4B,8BAA8B,aAAa,YAAY,kBAAkB,kBAAkB,WAAW,WAAW,gCAAgC,eAAe,kBAAkB,QAAQ,uCAAuC,UAAU,2BAA2B,cAAc,aAAa,eAAe,eAAe,uBAAuB,kBAAkB,kBAAkB,gCAAgC,aAAa,kCAAkC,uBAAuB,cAAc,eAAe,gBAAgB,UAAU,4EAA4E,mBAAmB,gBAAgB,uCAAuC,cAAc,gFAAgF,uBAAuB,WAAW,kGAAkG,UAAU,qDAAqD,eAAe,uFAAuF,WAAW,gBAAgB,gGAAgG,aAAa,2FAA2F,WAAW,gBAAgB,oGAAoG,SAAS,yBAAyB,YAAY,aAAa,8BAA8B,6BAA6B,aAAa,mBAAmB,eAAe,eAAe,oCAAoC,mBAAmB,aAAa,gBAAgB,gBAAgB,gJAAgJ,qBAAqB,cAAc,gLAAgL,cAAc,iOAAiO,cAAc,iDAAiD,6BAA6B,0BAA0B,qBAAqB,wJAAwJ,wBAAwB,qBAAqB,gBAAgB,+DAA+D,oBAAoB,kFAAkF,eAAe,uBAAuB,WAAW,gBAAgB,YAAY,iBAAiB,YAAY,gBAAgB,kBAAkB,qCAAqC,eAAe,sCAAsC,SAAS,4DAA4D,mBAAmB,gBAAgB,kCAAkC,mBAAmB,cAAc,gBAAgB,SAAS,kBAAkB,wCAAwC,mBAAmB,WAAW,wCAAwC,mBAAmB,6BAA6B,YAAY,eAAe,aAAa,uBAAuB,YAAY,SAAS,kBAAkB,WAAW,wBAAwB,6FAA6F,qBAAqB,kBAAkB,WAAW,YAAY,WAAW,yBAAyB,uCAAuC,+BAA+B,8CAA8C,gBAAgB,sFAAsF,gBAAgB,yLAAyL,QAAQ,+BAA+B,uBAAuB,qFAAqF,eAAe,2FAA2F,qDAAqD,6CAA6C,uLAAuL,SAAS,qCAAqC,mBAAmB,yBAAyB,aAAa,mCAAmC,mBAAmB,sBAAsB,aAAa,aAAa,yCAAyC,yBAAyB,iC","file":"src/resources/css/app/rsvp/frontend.min.css","sourcesContent":["#rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:hover{background:#009fd4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:\"\";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/styles/rsvp/frontend.pcss"],"names":[],"mappings":"AAAA,UAAU,aAAa,2BAA2B,mBAAmB,yBAAyB,sBAAsB,aAAa,eAAe,kBAAkB,6BAA6B,WAAW,sCAAsC,wBAAwB,yBAAyB,gBAAgB,SAAS,cAAc,eAAe,kBAAkB,kBAAkB,0DAA0D,WAAW,4BAA4B,aAAa,gBAAgB,sBAAsB,6BAA6B,oCAAoC,aAAa,mBAAmB,YAAY,eAAe,4BAA4B,gBAAgB,kBAAkB,0BAA0B,eAAe,gBAAgB,mBAAmB,gCAAgC,cAAc,eAAe,iCAAiC,cAAc,eAAe,sCAAsC,eAAe,4BAA4B,8BAA8B,aAAa,YAAY,kBAAkB,kBAAkB,WAAW,WAAW,gCAAgC,eAAe,kBAAkB,QAAQ,uCAAuC,UAAU,2BAA2B,cAAc,aAAa,eAAe,eAAe,uBAAuB,kBAAkB,kBAAkB,gCAAgC,aAAa,kCAAkC,uBAAuB,cAAc,eAAe,gBAAgB,UAAU,4EAA4E,mBAAmB,gBAAgB,uCAAuC,cAAc,gFAAgF,uBAAuB,WAAW,kGAAkG,UAAU,qDAAqD,eAAe,uFAAuF,WAAW,gBAAgB,gGAAgG,aAAa,2FAA2F,WAAW,gBAAgB,oGAAoG,SAAS,yBAAyB,YAAY,aAAa,8BAA8B,6BAA6B,aAAa,mBAAmB,eAAe,eAAe,oCAAoC,gBAAgB,oCAAoC,mBAAmB,aAAa,gBAAgB,gBAAgB,gJAAgJ,qBAAqB,cAAc,gLAAgL,cAAc,iOAAiO,cAAc,iDAAiD,6BAA6B,0BAA0B,qBAAqB,wJAAwJ,wBAAwB,qBAAqB,gBAAgB,+DAA+D,oBAAoB,kFAAkF,eAAe,uBAAuB,WAAW,gBAAgB,YAAY,iBAAiB,YAAY,gBAAgB,kBAAkB,qCAAqC,eAAe,sCAAsC,SAAS,4DAA4D,mBAAmB,gBAAgB,kCAAkC,mBAAmB,cAAc,gBAAgB,SAAS,kBAAkB,gFAAgF,mBAAmB,WAAW,wCAAwC,mBAAmB,6BAA6B,YAAY,eAAe,aAAa,uBAAuB,YAAY,SAAS,kBAAkB,WAAW,wBAAwB,6FAA6F,qBAAqB,kBAAkB,WAAW,YAAY,WAAW,yBAAyB,uCAAuC,+BAA+B,4FAA4F,gBAAgB,sFAAsF,gBAAgB,yLAAyL,QAAQ,+BAA+B,uBAAuB,qFAAqF,eAAe,2FAA2F,qDAAqD,6CAA6C,uLAAuL,SAAS,qCAAqC,mBAAmB,yBAAyB,aAAa,mCAAmC,mBAAmB,sBAAsB,aAAa,aAAa,wCAAwC,SAAS,sFAAsF,UAAU,YAAY,kBAAkB,yCAAyC,yBAAyB,iC","file":"src/resources/css/app/rsvp/frontend.min.css","sourcesContent":["#rsvp-now{display:none}.tribe-block__rsvp__ticket{background:#f8faf9;border:2px solid #dfdfdf;border-bottom-width:0;display:flex;flex-wrap:wrap;position:relative;transition:flex .3s ease-out;width:100%}.tribe-block__rsvp__ticket:last-child{border-bottom-width:2px}.tribe-block__rsvp__icon{background:#fff;border:0;color:#575757;flex:1 1 100px;padding:30px 15px;text-align:center}.tribe-block__rsvp__icon img,.tribe-block__rsvp__icon svg{width:60px}.tribe-block__rsvp__content{display:flex;flex:10 5 400px;flex-direction:column;transition:flex .3s ease-out}.tribe-block__rsvp__details__status{display:flex;flex-direction:row;flex:1 100%;flex-wrap:wrap}.tribe-block__rsvp__details{flex:10 5 400px;padding:30px 20px}.tribe-block__rsvp__title{font-size:20px;font-weight:600;margin-bottom:10px}.tribe-block__rsvp__description{color:#545e66;font-size:13px}.tribe-block__rsvp__availability{color:#545e66;font-size:14px}.tribe-block__rsvp__availability span{font-size:16px}.tribe-block__rsvp__loading{background:hsla(0,0%,100%,.7);display:none;height:100%;position:absolute;text-align:center;width:100%;z-index:99}.tribe-block__rsvp__loading svg{max-width:70px;position:absolute;top:35%}.tribe-block__rsvp__loading svg circle{fill:#888}.tribe-block__rsvp__status{color:#aeb4bb;display:flex;flex:1 1 170px;flex-wrap:wrap;justify-content:center;padding:30px 15px;text-align:center}.tribe-block__rsvp__status>span{flex:2 2 50%}.tribe-block__rsvp__status-button{background:transparent;color:#aeb4bb;font-size:13px;font-weight:400;padding:0}.tribe-block__rsvp__status-button img,.tribe-block__rsvp__status-button svg{margin-bottom:15px;min-height:25px}.tribe-block__rsvp__status-button span{display:block}.tribe-block__rsvp__status-button:focus,.tribe-block__rsvp__status-button:hover{background:transparent;color:#888}.tribe-block__rsvp__status-button:focus svg path,.tribe-block__rsvp__status-button:hover svg path{fill:#888}.tribe-block__rsvp__status-button[disabled=disabled]{cursor:default}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--going.tribe-active svg path{fill:#18d900}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active{color:#555;font-weight:600}.tribe-block__rsvp__status-button.tribe-block__rsvp__status-button--not-going.tribe-active svg path{fill:red}.tribe-block__rsvp__form{flex:1 100%;padding:20px}.tribe-block__rsvp__form form{border-top:1px solid #e2e3e7;display:flex;flex-direction:row;flex-wrap:wrap;padding:30px 0}.tribe-block__rsvp__form form label{font-weight:400}.tribe-block__rsvp__form form input{margin-bottom:15px;padding:10px;max-width:375px;font-weight:500}.tribe-block__rsvp__form form input[type=email],.tribe-block__rsvp__form form input[type=number],.tribe-block__rsvp__form form input[type=text]{border-color:#e2e3e7;color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder{color:#8d959b}.tribe-block__rsvp__form form input::-moz-placeholder,.tribe-block__rsvp__form form input::-ms-input-placeholder,.tribe-block__rsvp__form form input::-webkit-input-placeholder,.tribe-block__rsvp__form form input::placeholder{color:#8d959b}.tribe-block__rsvp__form form input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.tribe-block__rsvp__form form input[type=number]::-webkit-inner-spin-button,.tribe-block__rsvp__form form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input{display:inline-flex}.tribe-block__rsvp__form form .tribe-block__rsvp__number-input input[type=number]{max-width:3rem;background:transparent;color:#444;padding:.5rem 0;border:none;font-size:1.8rem;height:3rem;font-weight:700;text-align:center}.tribe-block__rsvp__form .tribe-left{flex:0 2 120px}.tribe-block__rsvp__form .tribe-right{flex:1 1}.tribe-block__rsvp__form .tribe-block__rsvp__message__error{margin-bottom:20px;max-width:375px}.tribe-block__rsvp__submit-button{background:#eeeff1;color:#8b959f;font-weight:600;margin:0;padding:12px 15px}.tribe-block__rsvp__submit-button:focus,.tribe-block__rsvp__submit-button:hover{background:#007bb4;color:#fff}.tribe-block__rsvp__number-input-button{align-items:center;background-color:transparent;border:none;cursor:pointer;outline:none;justify-content:center;height:3rem;margin:0;position:relative;width:3rem;-webkit-appearance:none}.tribe-block__rsvp__number-input-button:after,.tribe-block__rsvp__number-input-button:before{display:inline-block;position:absolute;content:\"\";width:.8rem;height:2px;background-color:#b9bdc7;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tribe-block__rsvp__number-input-button:focus,.tribe-block__rsvp__number-input-button:hover{background:none}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus{padding-right:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--minus:before{right:0;-webkit-transform:translate(0);transform:translate(0)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus{padding-left:0}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:after,.tribe-block__rsvp__number-input-button.tribe-block__rsvp__number-input-button--plus:before{left:7px}.tribe-block__rsvp__message__success{background:#ecfae5;border:1px solid #1bd800;padding:10px}.tribe-block__rsvp__message__error{background:#ffebe8;border:1px solid #c00;display:none;padding:10px}.tribe-block__rsvp__form__attendee-meta{margin:0}.tribe-block__rsvp__form__attendee-meta td,.tribe-block__rsvp__form__attendee-meta th{padding:0;border:none;word-break:normal}@media only screen and (min-width:576px){.tribe-block__rsvp__icon{border-right:2px dashed #dfdfdf}}"],"sourceRoot":""}
src/resources/css/tickets-registration-page.css CHANGED
@@ -19,6 +19,7 @@
19
 
20
  body.page-tribe-attendee-registration header.entry-header,
21
  body.page-tribe-attendee-registration header.entry-meta,
 
22
  body.page-tribe-attendee-registration footer.entry-header {
23
  display: none;
24
  }
@@ -311,4 +312,4 @@ body.tribe-theme-twentyseventeen .tribe-block__tickets__registration__back__to__
311
  .tribe-block__tickets__registration__tickets__header__price {
312
  flex: 20%;
313
  text-align: right;
314
- }
19
 
20
  body.page-tribe-attendee-registration header.entry-header,
21
  body.page-tribe-attendee-registration header.entry-meta,
22
+ body.page-tribe-attendee-registration header.page-header,
23
  body.page-tribe-attendee-registration footer.entry-header {
24
  display: none;
25
  }
312
  .tribe-block__tickets__registration__tickets__header__price {
313
  flex: 20%;
314
  text-align: right;
315
+ }
src/resources/css/tickets-registration-page.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-events-single{max-width:1000px;margin:0 auto}body.page-tribe-attendee-registration footer.entry-header,body.page-tribe-attendee-registration header.entry-header,body.page-tribe-attendee-registration header.entry-meta,body.page-tribe-attendee-registration span.edit-link{display:none}body.page-tribe-attendee-registration .entry-content,body.page-tribe-attendee-registration .entry-header{width:98%}body.page-tribe-attendee-registration .tribe-tickets-meta-required .tribe-options label:first-child:after{content:""}.tribe-block__tickets__registration__status,.tribe-block__tickets__registration__toggle__handler{position:absolute;right:40px;top:40px;width:30px;height:30px;border-radius:100%;color:#fff;text-align:center;line-height:40px}.tribe-block__tickets__registration__status i,.tribe-block__tickets__registration__toggle__handler i{line-height:30px}.tribe-block__tickets__registration__toggle__handler{cursor:pointer;background:#c9c9c9}.tribe-block__tickets__registration__toggle__handler.open{transform:rotate(180deg)}.tribe-block__tickets__registration__toggle__handler i{font-size:14px}.tribe-block__tickets__registration__status{right:75px;background:#222}.tribe-block__tickets__registration__status.incomplete{background:transparent;color:#333}.tribe-block__tickets__item__attendee__fields{background:#f9f9f9;padding:60px}.tribe-block__tickets__item__attendee__fields .tribe-ticket{border-bottom:1px solid #e1e3e6;clear:both;margin-bottom:40px;padding-bottom:40px}.tribe-block__tickets__item__attendee__fields .tribe-ticket:last-of-type{margin-bottom:0;border-bottom:0}.tribe-block__tickets__item__attendee__fields .tribe-field{margin-bottom:40px;clear:both}.tribe-block__tickets__item__attendee__fields .tribe-field:last-child{margin-bottom:0}.tribe-block__tickets__item__attendee__fields label{color:#545d66;display:block;font-weight:500;margin-bottom:.8em}.tribe-block__tickets__item__attendee__fields label.tribe-tickets-meta-field-header{cursor:pointer;display:inline-block;float:left;font-size:15px;margin-right:20px}.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label{display:block;margin-bottom:.8em}.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label,.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label h3{font-size:16px;font-weight:500;color:#545d66;float:left}.tribe-block__tickets__item__attendee__fields input[type=color],.tribe-block__tickets__item__attendee__fields input[type=date],.tribe-block__tickets__item__attendee__fields input[type=datetime-local],.tribe-block__tickets__item__attendee__fields input[type=datetime],.tribe-block__tickets__item__attendee__fields input[type=email],.tribe-block__tickets__item__attendee__fields input[type=month],.tribe-block__tickets__item__attendee__fields input[type=number],.tribe-block__tickets__item__attendee__fields input[type=password],.tribe-block__tickets__item__attendee__fields input[type=range],.tribe-block__tickets__item__attendee__fields input[type=search],.tribe-block__tickets__item__attendee__fields input[type=tel],.tribe-block__tickets__item__attendee__fields input[type=text],.tribe-block__tickets__item__attendee__fields input[type=time],.tribe-block__tickets__item__attendee__fields input[type=url],.tribe-block__tickets__item__attendee__fields input[type=week],.tribe-block__tickets__item__attendee__fields select,.tribe-block__tickets__item__attendee__fields textarea{border:1px solid #e1e3e6;max-width:400px;padding:.7em}.tribe-block__tickets__item__attendee__fields input[type=color]:focus,.tribe-block__tickets__item__attendee__fields input[type=date]:focus,.tribe-block__tickets__item__attendee__fields input[type=datetime-local]:focus,.tribe-block__tickets__item__attendee__fields input[type=datetime]:focus,.tribe-block__tickets__item__attendee__fields input[type=email]:focus,.tribe-block__tickets__item__attendee__fields input[type=month]:focus,.tribe-block__tickets__item__attendee__fields input[type=number]:focus,.tribe-block__tickets__item__attendee__fields input[type=password]:focus,.tribe-block__tickets__item__attendee__fields input[type=range]:focus,.tribe-block__tickets__item__attendee__fields input[type=search]:focus,.tribe-block__tickets__item__attendee__fields input[type=tel]:focus,.tribe-block__tickets__item__attendee__fields input[type=text]:focus,.tribe-block__tickets__item__attendee__fields input[type=time]:focus,.tribe-block__tickets__item__attendee__fields input[type=url]:focus,.tribe-block__tickets__item__attendee__fields input[type=week]:focus,.tribe-block__tickets__item__attendee__fields select:focus,.tribe-block__tickets__item__attendee__fields textarea:focus{border:1px solid #e1e3e6}.tribe-block__tickets__item__attendee__fields select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;height:auto;min-width:400px;padding:.7em;background-image:url(../images/select.png);background-repeat:no-repeat;background-position:100%;background-size:33px 33px}.tribe-block__tickets__item__attendee__fields .tribe-options{overflow:hidden;width:100%}.tribe-block__tickets__item__attendee__fields__error{color:red;display:none;padding:0 0 30px}.tribe-block__tickets__button--next{align-items:center;border:1px solid #e1e3e6;background-color:#009fd4;color:#fff;display:inline-flex;font-size:1.125rem;justify-content:center;min-height:54px;padding:0 20px;max-width:100%}.tribe-block__tickets__button--next:hover{color:#fff}.tribe-block__tickets__registration__event{border:1px solid #d4d4d5;margin-bottom:30px;position:relative}.tribe-block__tickets__registration__summary{padding:40px}.tribe-block__tickets__registration__title h2{font-size:22px;font-weight:500;padding-right:80px}.tribe-block__tickets__registration__description{margin-top:10px}.tribe-block__tickets__registration__tickets{padding:20px 0}.tribe-block__tickets__registration__tickets__item{border-bottom:1px solid #e1e3e6;display:flex;flex-wrap:wrap;font-size:18px;align-items:center;justify-content:center}.tribe-block__tickets__registration__tickets__item:last-child{border:none}.tribe-block__tickets__registration__tickets__item__icon{flex:0 1 50px;padding:15px 10px}.tribe-block__tickets__registration__tickets__item__icon svg{max-width:45px}.tribe-block__tickets__registration__tickets__item__quantity{flex:0 1 20px;padding:20px}.tribe-block__tickets__registration__tickets__item__title{flex:10 5 230px;padding:20px 10px}.tribe-block__tickets__registration__tickets__item__price{flex:0 1 40px;padding:20px 0 20px 10px}.tribe-block__tickets__registration__actions{padding:0 40px 40px}.tribe-block__tickets__registration__back__to__cart{color:#888;box-shadow:none;border:0}.tribe-block__tickets__registration__back__to__cart:before{font-family:dashicons;margin-right:5px;content:"\f341";vertical-align:middle}body.tribe-theme-twentyseventeen .tribe-block__tickets__registration__back__to__cart{box-shadow:none}.tribe-block__tickets__registration__tickets__header{color:#545b65;display:flex;font-size:13px;padding:15px 0}.tribe-block__tickets__registration__tickets__header__summary{flex:80%}.tribe-block__tickets__registration__tickets__header__price{flex:20%;text-align:right}
1
+ .tribe-events-single{max-width:1000px;margin:0 auto}body.page-tribe-attendee-registration footer.entry-header,body.page-tribe-attendee-registration header.entry-header,body.page-tribe-attendee-registration header.entry-meta,body.page-tribe-attendee-registration header.page-header,body.page-tribe-attendee-registration span.edit-link{display:none}body.page-tribe-attendee-registration .entry-content,body.page-tribe-attendee-registration .entry-header{width:98%}body.page-tribe-attendee-registration .tribe-tickets-meta-required .tribe-options label:first-child:after{content:""}.tribe-block__tickets__registration__status,.tribe-block__tickets__registration__toggle__handler{position:absolute;right:40px;top:40px;width:30px;height:30px;border-radius:100%;color:#fff;text-align:center;line-height:40px}.tribe-block__tickets__registration__status i,.tribe-block__tickets__registration__toggle__handler i{line-height:30px}.tribe-block__tickets__registration__toggle__handler{cursor:pointer;background:#c9c9c9}.tribe-block__tickets__registration__toggle__handler.open{transform:rotate(180deg)}.tribe-block__tickets__registration__toggle__handler i{font-size:14px}.tribe-block__tickets__registration__status{right:75px;background:#222}.tribe-block__tickets__registration__status.incomplete{background:transparent;color:#333}.tribe-block__tickets__item__attendee__fields{background:#f9f9f9;padding:60px}.tribe-block__tickets__item__attendee__fields .tribe-ticket{border-bottom:1px solid #e1e3e6;clear:both;margin-bottom:40px;padding-bottom:40px}.tribe-block__tickets__item__attendee__fields .tribe-ticket:last-of-type{margin-bottom:0;border-bottom:0}.tribe-block__tickets__item__attendee__fields .tribe-field{margin-bottom:40px;clear:both}.tribe-block__tickets__item__attendee__fields .tribe-field:last-child{margin-bottom:0}.tribe-block__tickets__item__attendee__fields label{color:#545d66;display:block;font-weight:500;margin-bottom:.8em}.tribe-block__tickets__item__attendee__fields label.tribe-tickets-meta-field-header{cursor:pointer;display:inline-block;float:left;font-size:15px;margin-right:20px}.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label{display:block;margin-bottom:.8em}.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label,.tribe-block__tickets__item__attendee__fields .tribe-tickets-meta-label h3{font-size:16px;font-weight:500;color:#545d66;float:left}.tribe-block__tickets__item__attendee__fields input[type=color],.tribe-block__tickets__item__attendee__fields input[type=date],.tribe-block__tickets__item__attendee__fields input[type=datetime-local],.tribe-block__tickets__item__attendee__fields input[type=datetime],.tribe-block__tickets__item__attendee__fields input[type=email],.tribe-block__tickets__item__attendee__fields input[type=month],.tribe-block__tickets__item__attendee__fields input[type=number],.tribe-block__tickets__item__attendee__fields input[type=password],.tribe-block__tickets__item__attendee__fields input[type=range],.tribe-block__tickets__item__attendee__fields input[type=search],.tribe-block__tickets__item__attendee__fields input[type=tel],.tribe-block__tickets__item__attendee__fields input[type=text],.tribe-block__tickets__item__attendee__fields input[type=time],.tribe-block__tickets__item__attendee__fields input[type=url],.tribe-block__tickets__item__attendee__fields input[type=week],.tribe-block__tickets__item__attendee__fields select,.tribe-block__tickets__item__attendee__fields textarea{border:1px solid #e1e3e6;max-width:400px;padding:.7em}.tribe-block__tickets__item__attendee__fields input[type=color]:focus,.tribe-block__tickets__item__attendee__fields input[type=date]:focus,.tribe-block__tickets__item__attendee__fields input[type=datetime-local]:focus,.tribe-block__tickets__item__attendee__fields input[type=datetime]:focus,.tribe-block__tickets__item__attendee__fields input[type=email]:focus,.tribe-block__tickets__item__attendee__fields input[type=month]:focus,.tribe-block__tickets__item__attendee__fields input[type=number]:focus,.tribe-block__tickets__item__attendee__fields input[type=password]:focus,.tribe-block__tickets__item__attendee__fields input[type=range]:focus,.tribe-block__tickets__item__attendee__fields input[type=search]:focus,.tribe-block__tickets__item__attendee__fields input[type=tel]:focus,.tribe-block__tickets__item__attendee__fields input[type=text]:focus,.tribe-block__tickets__item__attendee__fields input[type=time]:focus,.tribe-block__tickets__item__attendee__fields input[type=url]:focus,.tribe-block__tickets__item__attendee__fields input[type=week]:focus,.tribe-block__tickets__item__attendee__fields select:focus,.tribe-block__tickets__item__attendee__fields textarea:focus{border:1px solid #e1e3e6}.tribe-block__tickets__item__attendee__fields select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;height:auto;min-width:400px;padding:.7em;background-image:url(../images/select.png);background-repeat:no-repeat;background-position:100%;background-size:33px 33px}.tribe-block__tickets__item__attendee__fields .tribe-options{overflow:hidden;width:100%}.tribe-block__tickets__item__attendee__fields__error{color:red;display:none;padding:0 0 30px}.tribe-block__tickets__button--next{align-items:center;border:1px solid #e1e3e6;background-color:#009fd4;color:#fff;display:inline-flex;font-size:1.125rem;justify-content:center;min-height:54px;padding:0 20px;max-width:100%}.tribe-block__tickets__button--next:hover{color:#fff}.tribe-block__tickets__registration__event{border:1px solid #d4d4d5;margin-bottom:30px;position:relative}.tribe-block__tickets__registration__summary{padding:40px}.tribe-block__tickets__registration__title h2{font-size:22px;font-weight:500;padding-right:80px}.tribe-block__tickets__registration__description{margin-top:10px}.tribe-block__tickets__registration__tickets{padding:20px 0}.tribe-block__tickets__registration__tickets__item{border-bottom:1px solid #e1e3e6;display:flex;flex-wrap:wrap;font-size:18px;align-items:center;justify-content:center}.tribe-block__tickets__registration__tickets__item:last-child{border:none}.tribe-block__tickets__registration__tickets__item__icon{flex:0 1 50px;padding:15px 10px}.tribe-block__tickets__registration__tickets__item__icon svg{max-width:45px}.tribe-block__tickets__registration__tickets__item__quantity{flex:0 1 20px;padding:20px}.tribe-block__tickets__registration__tickets__item__title{flex:10 5 230px;padding:20px 10px}.tribe-block__tickets__registration__tickets__item__price{flex:0 1 40px;padding:20px 0 20px 10px}.tribe-block__tickets__registration__actions{padding:0 40px 40px}.tribe-block__tickets__registration__back__to__cart{color:#888;box-shadow:none;border:0}.tribe-block__tickets__registration__back__to__cart:before{font-family:dashicons;margin-right:5px;content:"\f341";vertical-align:middle}body.tribe-theme-twentyseventeen .tribe-block__tickets__registration__back__to__cart{box-shadow:none}.tribe-block__tickets__registration__tickets__header{color:#545b65;display:flex;font-size:13px;padding:15px 0}.tribe-block__tickets__registration__tickets__header__summary{flex:80%}.tribe-block__tickets__registration__tickets__header__price{flex:20%;text-align:right}
src/resources/js/app/attendees/frontend.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/styles/attendees/frontend.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,aAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OAAAC,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAArB,EAAAU,EAAAe,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAzB,EAAA6B,EAAA,SAAA1B,GACA,IAAAS,EAAAT,KAAAqB,WACA,WAA2B,OAAArB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAiB,EAAAC,GAAsD,OAAAjB,OAAAkB,UAAAC,eAAA1B,KAAAuB,EAAAC,IAGtD/B,EAAAkC,EAAA,GAIAlC,IAAAmC,EAAA,kCClFAnC,EAAAkB,EAAAkB,GAAApC,EAAA","file":"./src/resources/js/app/attendees/frontend.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import './frontend.pcss';\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/styles/attendees/frontend.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OAAAC,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAArB,EAAAU,EAAAe,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAzB,EAAA6B,EAAA,SAAA1B,GACA,IAAAS,EAAAT,KAAAqB,WACA,WAA2B,OAAArB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAiB,EAAAC,GAAsD,OAAAjB,OAAAkB,UAAAC,eAAA1B,KAAAuB,EAAAC,IAGtD/B,EAAAkC,EAAA,GAIAlC,IAAAmC,EAAA,kCClFAnC,EAAAkB,EAAAkB,GAAApC,EAAA","file":"./src/resources/js/app/attendees/frontend.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import './frontend.pcss';\n"],"sourceRoot":""}
src/resources/js/app/blocks.js CHANGED
@@ -82,7 +82,7 @@ var tribe = typeof tribe === "object" ? tribe : {}; tribe["tickets"] = tribe["ti
82
  /******/
83
  /******/
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 527);
86
  /******/ })
87
  /************************************************************************/
88
  /******/ ([
@@ -92,10 +92,10 @@ var tribe = typeof tribe === "object" ? tribe : {}; tribe["tickets"] = tribe["ti
92
  "use strict";
93
 
94
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/internal/io.js
95
- var io = __webpack_require__(13);
96
 
97
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/internal/sagaHelpers/index.js + 4 modules
98
- var sagaHelpers = __webpack_require__(55);
99
 
100
  // CONCATENATED MODULE: ./node_modules/redux-saga/es/internal/io-helpers.js
101
 
@@ -164,12 +164,187 @@ function throttle(ms, pattern, worker) {
164
  if (false) { var throwOnDirectAccess, isValidElement, REACT_ELEMENT_TYPE; } else {
165
  // By explicitly using `prop-types` you are opting into new production behavior.
166
  // http://fb.me/prop-types-in-prod
167
- module.exports = __webpack_require__(453)();
168
  }
169
 
170
 
171
  /***/ }),
172
  /* 2 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  /***/ (function(module, exports, __webpack_require__) {
174
 
175
  /* WEBPACK VAR INJECTION */(function(module) {var require;//! moment.js
@@ -2015,7 +2190,7 @@ function loadLocale(name) {
2015
  try {
2016
  oldLocale = globalLocale._abbr;
2017
  var aliasedRequire = require;
2018
- __webpack_require__(263)("./" + name);
2019
  getSetGlobalLocale(oldLocale);
2020
  } catch (e) {}
2021
  }
@@ -4687,16 +4862,16 @@ return hooks;
4687
 
4688
  })));
4689
 
4690
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(72)(module)))
4691
 
4692
  /***/ }),
4693
- /* 3 */
4694
  /***/ (function(module, exports) {
4695
 
4696
  module.exports = tribe.common.utils;
4697
 
4698
  /***/ }),
4699
- /* 4 */
4700
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4701
 
4702
  "use strict";
@@ -5016,7 +5191,7 @@ var cloneableGenerator = function cloneableGenerator(generatorFunc) {
5016
  };
5017
 
5018
  /***/ }),
5019
- /* 5 */
5020
  /***/ (function(module, exports, __webpack_require__) {
5021
 
5022
  "use strict";
@@ -5146,166 +5321,19 @@ function createStructuredSelector(selectors) {
5146
  });
5147
  }
5148
 
5149
- /***/ }),
5150
- /* 6 */
5151
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5152
-
5153
- "use strict";
5154
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return PREFIX_TICKETS_STORE; });
5155
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return RSVP_POST_TYPE; });
5156
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return KEY_RSVP_FOR_EVENT; });
5157
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return KEY_TICKET_SHOW_DESCRIPTION; });
5158
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return KEY_PRICE; });
5159
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return KEY_TICKET_CAPACITY; });
5160
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return KEY_TICKET_START_DATE; });
5161
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return KEY_TICKET_END_DATE; });
5162
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return KEY_TICKET_SHOW_NOT_GOING; });
5163
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return KEY_TICKET_HEADER; });
5164
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return KEY_TICKET_DEFAULT_PROVIDER; });
5165
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return KEY_TICKETS_LIST; });
5166
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return KEY_TICKET_GOING_COUNT; });
5167
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return KEY_TICKET_NOT_GOING_COUNT; });
5168
- var PREFIX_TICKETS_STORE = '@@MT/TICKETS';
5169
-
5170
- var RSVP_POST_TYPE = 'tribe_rsvp_tickets';
5171
-
5172
- /**
5173
- * @todo: these are expected to change based on BE changes
5174
- */
5175
- var KEY_RSVP_FOR_EVENT = '_tribe_rsvp_for_event';
5176
- var KEY_TICKET_SHOW_DESCRIPTION = '_tribe_ticket_show_description';
5177
- var KEY_PRICE = '_price';
5178
- var KEY_TICKET_CAPACITY = '_tribe_ticket_capacity';
5179
- var KEY_TICKET_START_DATE = '_ticket_start_date';
5180
- var KEY_TICKET_END_DATE = '_ticket_end_date';
5181
- var KEY_TICKET_SHOW_NOT_GOING = '_tribe_ticket_show_not_going';
5182
- var KEY_TICKET_HEADER = '_tribe_ticket_header';
5183
- var KEY_TICKET_DEFAULT_PROVIDER = '_tribe_default_ticket_provider';
5184
- var KEY_TICKETS_LIST = '_tribe_tickets_list';
5185
-
5186
- var KEY_TICKET_GOING_COUNT = '_tribe_ticket_going_count';
5187
- var KEY_TICKET_NOT_GOING_COUNT = '_tribe_ticket_not_going_count';
5188
-
5189
  /***/ }),
5190
  /* 7 */
5191
- /***/ (function(module, exports, __webpack_require__) {
5192
-
5193
- "use strict";
5194
-
5195
-
5196
- exports.__esModule = true;
5197
-
5198
- var _assign = __webpack_require__(264);
5199
-
5200
- var _assign2 = _interopRequireDefault(_assign);
5201
-
5202
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5203
-
5204
- exports.default = _assign2.default || function (target) {
5205
- for (var i = 1; i < arguments.length; i++) {
5206
- var source = arguments[i];
5207
-
5208
- for (var key in source) {
5209
- if (Object.prototype.hasOwnProperty.call(source, key)) {
5210
- target[key] = source[key];
5211
- }
5212
- }
5213
- }
5214
-
5215
- return target;
5216
- };
5217
-
5218
- /***/ }),
5219
- /* 8 */
5220
- /***/ (function(module, exports, __webpack_require__) {
5221
-
5222
- module.exports = __webpack_require__(321);
5223
-
5224
-
5225
- /***/ }),
5226
- /* 9 */
5227
- /***/ (function(module, exports) {
5228
-
5229
- module.exports = React;
5230
-
5231
- /***/ }),
5232
- /* 10 */
5233
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5234
 
5235
  "use strict";
5236
- var types_namespaceObject = {};
5237
- __webpack_require__.r(types_namespaceObject);
5238
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_INITIAL_STATE", function() { return SET_TICKETS_INITIAL_STATE; });
5239
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_HEADER_IMAGE", function() { return SET_TICKETS_HEADER_IMAGE; });
5240
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_IS_SETTINGS_OPEN", function() { return SET_TICKETS_IS_SETTINGS_OPEN; });
5241
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_IS_SETTINGS_LOADING", function() { return SET_TICKETS_IS_SETTINGS_LOADING; });
5242
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_PROVIDER", function() { return SET_TICKETS_PROVIDER; });
5243
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_SHARED_CAPACITY", function() { return SET_TICKETS_SHARED_CAPACITY; });
5244
- __webpack_require__.d(types_namespaceObject, "SET_TICKETS_TEMP_SHARED_CAPACITY", function() { return SET_TICKETS_TEMP_SHARED_CAPACITY; });
5245
- __webpack_require__.d(types_namespaceObject, "FETCH_TICKETS_HEADER_IMAGE", function() { return FETCH_TICKETS_HEADER_IMAGE; });
5246
- __webpack_require__.d(types_namespaceObject, "UPDATE_TICKETS_HEADER_IMAGE", function() { return UPDATE_TICKETS_HEADER_IMAGE; });
5247
- __webpack_require__.d(types_namespaceObject, "DELETE_TICKETS_HEADER_IMAGE", function() { return DELETE_TICKETS_HEADER_IMAGE; });
5248
- __webpack_require__.d(types_namespaceObject, "REGISTER_TICKET_BLOCK", function() { return REGISTER_TICKET_BLOCK; });
5249
- __webpack_require__.d(types_namespaceObject, "REMOVE_TICKET_BLOCK", function() { return REMOVE_TICKET_BLOCK; });
5250
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TITLE", function() { return SET_TICKET_TITLE; });
5251
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_DESCRIPTION", function() { return SET_TICKET_DESCRIPTION; });
5252
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_PRICE", function() { return SET_TICKET_PRICE; });
5253
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_SKU", function() { return SET_TICKET_SKU; });
5254
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_START_DATE", function() { return SET_TICKET_START_DATE; });
5255
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_START_DATE_INPUT", function() { return SET_TICKET_START_DATE_INPUT; });
5256
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_START_DATE_MOMENT", function() { return SET_TICKET_START_DATE_MOMENT; });
5257
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_END_DATE", function() { return SET_TICKET_END_DATE; });
5258
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_END_DATE_INPUT", function() { return SET_TICKET_END_DATE_INPUT; });
5259
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_END_DATE_MOMENT", function() { return SET_TICKET_END_DATE_MOMENT; });
5260
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_START_TIME", function() { return SET_TICKET_START_TIME; });
5261
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_END_TIME", function() { return SET_TICKET_END_TIME; });
5262
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_START_TIME_INPUT", function() { return SET_TICKET_START_TIME_INPUT; });
5263
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_END_TIME_INPUT", function() { return SET_TICKET_END_TIME_INPUT; });
5264
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_CAPACITY_TYPE", function() { return SET_TICKET_CAPACITY_TYPE; });
5265
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_CAPACITY", function() { return SET_TICKET_CAPACITY; });
5266
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_TITLE", function() { return SET_TICKET_TEMP_TITLE; });
5267
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_DESCRIPTION", function() { return SET_TICKET_TEMP_DESCRIPTION; });
5268
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_PRICE", function() { return SET_TICKET_TEMP_PRICE; });
5269
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_SKU", function() { return SET_TICKET_TEMP_SKU; });
5270
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_START_DATE", function() { return SET_TICKET_TEMP_START_DATE; });
5271
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_START_DATE_INPUT", function() { return SET_TICKET_TEMP_START_DATE_INPUT; });
5272
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_START_DATE_MOMENT", function() { return SET_TICKET_TEMP_START_DATE_MOMENT; });
5273
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_END_DATE", function() { return SET_TICKET_TEMP_END_DATE; });
5274
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_END_DATE_INPUT", function() { return SET_TICKET_TEMP_END_DATE_INPUT; });
5275
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_END_DATE_MOMENT", function() { return SET_TICKET_TEMP_END_DATE_MOMENT; });
5276
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_START_TIME", function() { return SET_TICKET_TEMP_START_TIME; });
5277
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_END_TIME", function() { return SET_TICKET_TEMP_END_TIME; });
5278
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_START_TIME_INPUT", function() { return SET_TICKET_TEMP_START_TIME_INPUT; });
5279
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_END_TIME_INPUT", function() { return SET_TICKET_TEMP_END_TIME_INPUT; });
5280
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_CAPACITY_TYPE", function() { return SET_TICKET_TEMP_CAPACITY_TYPE; });
5281
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_CAPACITY", function() { return SET_TICKET_TEMP_CAPACITY; });
5282
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_SOLD", function() { return SET_TICKET_SOLD; });
5283
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_AVAILABLE", function() { return SET_TICKET_AVAILABLE; });
5284
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_ID", function() { return SET_TICKET_ID; });
5285
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_CURRENCY_SYMBOL", function() { return SET_TICKET_CURRENCY_SYMBOL; });
5286
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_CURRENCY_POSITION", function() { return SET_TICKET_CURRENCY_POSITION; });
5287
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_PROVIDER", function() { return SET_TICKET_PROVIDER; });
5288
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_IS_LOADING", function() { return SET_TICKET_IS_LOADING; });
5289
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_HAS_BEEN_CREATED", function() { return SET_TICKET_HAS_BEEN_CREATED; });
5290
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_HAS_CHANGES", function() { return SET_TICKET_HAS_CHANGES; });
5291
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_IS_SELECTED", function() { return SET_TICKET_IS_SELECTED; });
5292
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_DETAILS", function() { return SET_TICKET_DETAILS; });
5293
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_TEMP_DETAILS", function() { return SET_TICKET_TEMP_DETAILS; });
5294
- __webpack_require__.d(types_namespaceObject, "HANDLE_TICKET_START_DATE", function() { return HANDLE_TICKET_START_DATE; });
5295
- __webpack_require__.d(types_namespaceObject, "HANDLE_TICKET_END_DATE", function() { return HANDLE_TICKET_END_DATE; });
5296
- __webpack_require__.d(types_namespaceObject, "HANDLE_TICKET_START_TIME", function() { return HANDLE_TICKET_START_TIME; });
5297
- __webpack_require__.d(types_namespaceObject, "HANDLE_TICKET_END_TIME", function() { return HANDLE_TICKET_END_TIME; });
5298
- __webpack_require__.d(types_namespaceObject, "FETCH_TICKET", function() { return FETCH_TICKET; });
5299
- __webpack_require__.d(types_namespaceObject, "CREATE_NEW_TICKET", function() { return CREATE_NEW_TICKET; });
5300
- __webpack_require__.d(types_namespaceObject, "UPDATE_TICKET", function() { return UPDATE_TICKET; });
5301
- __webpack_require__.d(types_namespaceObject, "DELETE_TICKET", function() { return DELETE_TICKET; });
5302
- __webpack_require__.d(types_namespaceObject, "SET_TICKET_INITIAL_STATE", function() { return SET_TICKET_INITIAL_STATE; });
5303
  var options_namespaceObject = {};
5304
  __webpack_require__.r(options_namespaceObject);
5305
  __webpack_require__.d(options_namespaceObject, "CAPACITY_TYPE_OPTIONS", function() { return CAPACITY_TYPE_OPTIONS; });
5306
  var selectors_namespaceObject = {};
5307
  __webpack_require__.r(selectors_namespaceObject);
 
5308
  __webpack_require__.d(selectors_namespaceObject, "getBlock", function() { return getBlock; });
 
5309
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIsSettingsOpen", function() { return getTicketsIsSettingsOpen; });
5310
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIsSettingsLoading", function() { return getTicketsIsSettingsLoading; });
5311
  __webpack_require__.d(selectors_namespaceObject, "getTicketsProvider", function() { return getTicketsProvider; });
@@ -5318,19 +5346,19 @@ __webpack_require__.d(selectors_namespaceObject, "getTicketsHeaderImageId", func
5318
  __webpack_require__.d(selectors_namespaceObject, "getTicketsHeaderImageSrc", function() { return getTicketsHeaderImageSrc; });
5319
  __webpack_require__.d(selectors_namespaceObject, "getTicketsHeaderImageAlt", function() { return getTicketsHeaderImageAlt; });
5320
  __webpack_require__.d(selectors_namespaceObject, "getTickets", function() { return getTickets; });
5321
- __webpack_require__.d(selectors_namespaceObject, "getAllTicketIds", function() { return getAllTicketIds; });
5322
- __webpack_require__.d(selectors_namespaceObject, "getTicketsById", function() { return getTicketsById; });
5323
  __webpack_require__.d(selectors_namespaceObject, "getTicketsArray", function() { return getTicketsArray; });
5324
  __webpack_require__.d(selectors_namespaceObject, "getTicketsCount", function() { return getTicketsCount; });
5325
  __webpack_require__.d(selectors_namespaceObject, "hasTickets", function() { return hasTickets; });
5326
- __webpack_require__.d(selectors_namespaceObject, "hasCreatedTickets", function() { return hasCreatedTickets; });
5327
  __webpack_require__.d(selectors_namespaceObject, "getIndependentTickets", function() { return getIndependentTickets; });
5328
  __webpack_require__.d(selectors_namespaceObject, "getSharedTickets", function() { return getSharedTickets; });
5329
  __webpack_require__.d(selectors_namespaceObject, "getSharedTicketsCount", function() { return getSharedTicketsCount; });
5330
  __webpack_require__.d(selectors_namespaceObject, "getUnlimitedTickets", function() { return getUnlimitedTickets; });
5331
  __webpack_require__.d(selectors_namespaceObject, "hasATicketSelected", function() { return hasATicketSelected; });
5332
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIdsInBlocks", function() { return getTicketsIdsInBlocks; });
5333
- __webpack_require__.d(selectors_namespaceObject, "getTicketBlockId", function() { return getTicketBlockId; });
5334
  __webpack_require__.d(selectors_namespaceObject, "getTicket", function() { return getTicket; });
5335
  __webpack_require__.d(selectors_namespaceObject, "getTicketSold", function() { return getTicketSold; });
5336
  __webpack_require__.d(selectors_namespaceObject, "getTicketAvailable", function() { return getTicketAvailable; });
@@ -5366,6 +5394,12 @@ __webpack_require__.d(selectors_namespaceObject, "getTicketCapacityInt", functio
5366
  __webpack_require__.d(selectors_namespaceObject, "isUnlimitedTicket", function() { return isUnlimitedTicket; });
5367
  __webpack_require__.d(selectors_namespaceObject, "isSharedTicket", function() { return isSharedTicket; });
5368
  __webpack_require__.d(selectors_namespaceObject, "isIndependentTicket", function() { return isIndependentTicket; });
 
 
 
 
 
 
5369
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempDetails", function() { return getTicketTempDetails; });
5370
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempTitle", function() { return getTicketTempTitle; });
5371
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempDescription", function() { return getTicketTempDescription; });
@@ -5390,8 +5424,6 @@ __webpack_require__.d(selectors_namespaceObject, "getTicketTempCapacityTypeOptio
5390
  __webpack_require__.d(selectors_namespaceObject, "isTempTitleValid", function() { return isTempTitleValid; });
5391
  __webpack_require__.d(selectors_namespaceObject, "isTempCapacityValid", function() { return isTempCapacityValid; });
5392
  __webpack_require__.d(selectors_namespaceObject, "isTicketValid", function() { return isTicketValid; });
5393
- __webpack_require__.d(selectors_namespaceObject, "isTicketPast", function() { return isTicketPast; });
5394
- __webpack_require__.d(selectors_namespaceObject, "isTicketFuture", function() { return isTicketFuture; });
5395
  __webpack_require__.d(selectors_namespaceObject, "_getTotalCapacity", function() { return _getTotalCapacity; });
5396
  __webpack_require__.d(selectors_namespaceObject, "_getTotalTempCapacity", function() { return _getTotalTempCapacity; });
5397
  __webpack_require__.d(selectors_namespaceObject, "_getTotalSold", function() { return _getTotalSold; });
@@ -5412,218 +5444,56 @@ __webpack_require__.d(selectors_namespaceObject, "hasValidTicketProvider", funct
5412
  __webpack_require__.d(selectors_namespaceObject, "hasMultipleTicketProviders", function() { return hasMultipleTicketProviders; });
5413
  __webpack_require__.d(selectors_namespaceObject, "hasTicketProviders", function() { return hasTicketProviders; });
5414
  __webpack_require__.d(selectors_namespaceObject, "canCreateTickets", function() { return canCreateTickets; });
5415
- var actions_namespaceObject = {};
5416
- __webpack_require__.r(actions_namespaceObject);
5417
- __webpack_require__.d(actions_namespaceObject, "setTicketsInitialState", function() { return actions_setTicketsInitialState; });
5418
- __webpack_require__.d(actions_namespaceObject, "setTicketsHeaderImage", function() { return actions_setTicketsHeaderImage; });
5419
- __webpack_require__.d(actions_namespaceObject, "setTicketsIsSettingsOpen", function() { return actions_setTicketsIsSettingsOpen; });
5420
- __webpack_require__.d(actions_namespaceObject, "setTicketsIsSettingsLoading", function() { return actions_setTicketsIsSettingsLoading; });
5421
- __webpack_require__.d(actions_namespaceObject, "openSettings", function() { return openSettings; });
5422
- __webpack_require__.d(actions_namespaceObject, "closeSettings", function() { return closeSettings; });
5423
- __webpack_require__.d(actions_namespaceObject, "setTicketsProvider", function() { return actions_setTicketsProvider; });
5424
- __webpack_require__.d(actions_namespaceObject, "setTicketsSharedCapacity", function() { return actions_setTicketsSharedCapacity; });
5425
- __webpack_require__.d(actions_namespaceObject, "setTicketsTempSharedCapacity", function() { return actions_setTicketsTempSharedCapacity; });
5426
- __webpack_require__.d(actions_namespaceObject, "fetchTicketsHeaderImage", function() { return actions_fetchTicketsHeaderImage; });
5427
- __webpack_require__.d(actions_namespaceObject, "updateTicketsHeaderImage", function() { return actions_updateTicketsHeaderImage; });
5428
- __webpack_require__.d(actions_namespaceObject, "deleteTicketsHeaderImage", function() { return actions_deleteTicketsHeaderImage; });
5429
- __webpack_require__.d(actions_namespaceObject, "setTicketTitle", function() { return actions_setTicketTitle; });
5430
- __webpack_require__.d(actions_namespaceObject, "setTicketDescription", function() { return actions_setTicketDescription; });
5431
- __webpack_require__.d(actions_namespaceObject, "setTicketPrice", function() { return actions_setTicketPrice; });
5432
- __webpack_require__.d(actions_namespaceObject, "setTicketSku", function() { return actions_setTicketSku; });
5433
- __webpack_require__.d(actions_namespaceObject, "setTicketStartDate", function() { return actions_setTicketStartDate; });
5434
- __webpack_require__.d(actions_namespaceObject, "setTicketStartDateInput", function() { return actions_setTicketStartDateInput; });
5435
- __webpack_require__.d(actions_namespaceObject, "setTicketStartDateMoment", function() { return actions_setTicketStartDateMoment; });
5436
- __webpack_require__.d(actions_namespaceObject, "setTicketEndDate", function() { return actions_setTicketEndDate; });
5437
- __webpack_require__.d(actions_namespaceObject, "setTicketEndDateInput", function() { return actions_setTicketEndDateInput; });
5438
- __webpack_require__.d(actions_namespaceObject, "setTicketEndDateMoment", function() { return actions_setTicketEndDateMoment; });
5439
- __webpack_require__.d(actions_namespaceObject, "setTicketStartTime", function() { return actions_setTicketStartTime; });
5440
- __webpack_require__.d(actions_namespaceObject, "setTicketEndTime", function() { return actions_setTicketEndTime; });
5441
- __webpack_require__.d(actions_namespaceObject, "setTicketStartTimeInput", function() { return actions_setTicketStartTimeInput; });
5442
- __webpack_require__.d(actions_namespaceObject, "setTicketEndTimeInput", function() { return actions_setTicketEndTimeInput; });
5443
- __webpack_require__.d(actions_namespaceObject, "setTicketCapacityType", function() { return actions_setTicketCapacityType; });
5444
- __webpack_require__.d(actions_namespaceObject, "setTicketCapacity", function() { return actions_setTicketCapacity; });
5445
- __webpack_require__.d(actions_namespaceObject, "setTicketTempTitle", function() { return actions_setTicketTempTitle; });
5446
- __webpack_require__.d(actions_namespaceObject, "setTicketTempDescription", function() { return actions_setTicketTempDescription; });
5447
- __webpack_require__.d(actions_namespaceObject, "setTicketTempPrice", function() { return actions_setTicketTempPrice; });
5448
- __webpack_require__.d(actions_namespaceObject, "setTicketTempSku", function() { return actions_setTicketTempSku; });
5449
- __webpack_require__.d(actions_namespaceObject, "setTicketTempStartDate", function() { return actions_setTicketTempStartDate; });
5450
- __webpack_require__.d(actions_namespaceObject, "setTicketTempStartDateInput", function() { return actions_setTicketTempStartDateInput; });
5451
- __webpack_require__.d(actions_namespaceObject, "setTicketTempStartDateMoment", function() { return actions_setTicketTempStartDateMoment; });
5452
- __webpack_require__.d(actions_namespaceObject, "setTicketTempEndDate", function() { return actions_setTicketTempEndDate; });
5453
- __webpack_require__.d(actions_namespaceObject, "setTicketTempEndDateInput", function() { return actions_setTicketTempEndDateInput; });
5454
- __webpack_require__.d(actions_namespaceObject, "setTicketTempEndDateMoment", function() { return actions_setTicketTempEndDateMoment; });
5455
- __webpack_require__.d(actions_namespaceObject, "setTicketTempStartTime", function() { return actions_setTicketTempStartTime; });
5456
- __webpack_require__.d(actions_namespaceObject, "setTicketTempEndTime", function() { return actions_setTicketTempEndTime; });
5457
- __webpack_require__.d(actions_namespaceObject, "setTicketTempStartTimeInput", function() { return actions_setTicketTempStartTimeInput; });
5458
- __webpack_require__.d(actions_namespaceObject, "setTicketTempEndTimeInput", function() { return actions_setTicketTempEndTimeInput; });
5459
- __webpack_require__.d(actions_namespaceObject, "setTicketTempCapacityType", function() { return actions_setTicketTempCapacityType; });
5460
- __webpack_require__.d(actions_namespaceObject, "setTicketTempCapacity", function() { return actions_setTicketTempCapacity; });
5461
- __webpack_require__.d(actions_namespaceObject, "registerTicketBlock", function() { return actions_registerTicketBlock; });
5462
- __webpack_require__.d(actions_namespaceObject, "removeTicketBlock", function() { return actions_removeTicketBlock; });
5463
- __webpack_require__.d(actions_namespaceObject, "setTicketSold", function() { return actions_setTicketSold; });
5464
- __webpack_require__.d(actions_namespaceObject, "setTicketAvailable", function() { return actions_setTicketAvailable; });
5465
- __webpack_require__.d(actions_namespaceObject, "setTicketId", function() { return actions_setTicketId; });
5466
- __webpack_require__.d(actions_namespaceObject, "setTicketCurrencySymbol", function() { return actions_setTicketCurrencySymbol; });
5467
- __webpack_require__.d(actions_namespaceObject, "setTicketCurrencyPosition", function() { return actions_setTicketCurrencyPosition; });
5468
- __webpack_require__.d(actions_namespaceObject, "setTicketProvider", function() { return actions_setTicketProvider; });
5469
- __webpack_require__.d(actions_namespaceObject, "setTicketIsLoading", function() { return actions_setTicketIsLoading; });
5470
- __webpack_require__.d(actions_namespaceObject, "setTicketHasBeenCreated", function() { return actions_setTicketHasBeenCreated; });
5471
- __webpack_require__.d(actions_namespaceObject, "setTicketHasChanges", function() { return actions_setTicketHasChanges; });
5472
- __webpack_require__.d(actions_namespaceObject, "setTicketIsSelected", function() { return actions_setTicketIsSelected; });
5473
- __webpack_require__.d(actions_namespaceObject, "setTicketDetails", function() { return actions_setTicketDetails; });
5474
- __webpack_require__.d(actions_namespaceObject, "setTicketTempDetails", function() { return actions_setTicketTempDetails; });
5475
- __webpack_require__.d(actions_namespaceObject, "handleTicketStartDate", function() { return actions_handleTicketStartDate; });
5476
- __webpack_require__.d(actions_namespaceObject, "handleTicketEndDate", function() { return actions_handleTicketEndDate; });
5477
- __webpack_require__.d(actions_namespaceObject, "handleTicketStartTime", function() { return actions_handleTicketStartTime; });
5478
- __webpack_require__.d(actions_namespaceObject, "handleTicketEndTime", function() { return actions_handleTicketEndTime; });
5479
- __webpack_require__.d(actions_namespaceObject, "fetchTicket", function() { return actions_fetchTicket; });
5480
- __webpack_require__.d(actions_namespaceObject, "createNewTicket", function() { return actions_createNewTicket; });
5481
- __webpack_require__.d(actions_namespaceObject, "updateTicket", function() { return actions_updateTicket; });
5482
- __webpack_require__.d(actions_namespaceObject, "deleteTicket", function() { return actions_deleteTicket; });
5483
- __webpack_require__.d(actions_namespaceObject, "setTicketInitialState", function() { return actions_setTicketInitialState; });
5484
 
5485
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js
5486
- var helpers_extends = __webpack_require__(7);
5487
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
5488
 
5489
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/toConsumableArray.js
5490
- var toConsumableArray = __webpack_require__(316);
5491
  var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
5492
 
5493
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js
5494
- var defineProperty = __webpack_require__(22);
5495
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
5496
 
5497
  // EXTERNAL MODULE: ./node_modules/redux/es/redux.js
5498
- var redux = __webpack_require__(14);
5499
 
5500
  // EXTERNAL MODULE: ./node_modules/lodash/omit.js
5501
- var omit = __webpack_require__(317);
5502
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit);
5503
 
5504
- // EXTERNAL MODULE: ./src/modules/data/utils.js
5505
- var utils = __webpack_require__(6);
5506
-
5507
- // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/types.js
5508
- /**
5509
- * Internal dependencies
5510
- */
5511
-
5512
-
5513
- //
5514
- // ─── TICKETS TYPES ──────────────────────────────────────────────────────────────
5515
- //
5516
-
5517
- var SET_TICKETS_INITIAL_STATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_INITIAL_STATE';
5518
-
5519
- var SET_TICKETS_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_HEADER_IMAGE';
5520
- var SET_TICKETS_IS_SETTINGS_OPEN = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_IS_SETTINGS_OPEN';
5521
- var SET_TICKETS_IS_SETTINGS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_IS_SETTINGS_LOADING';
5522
- var SET_TICKETS_PROVIDER = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_PROVIDER';
5523
- var SET_TICKETS_SHARED_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_SHARED_CAPACITY';
5524
- var SET_TICKETS_TEMP_SHARED_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_TEMP_SHARED_CAPACITY';
5525
-
5526
- //
5527
- // ─── HEADER IMAGE SAGA TYPES ────────────────────────────────────────────────────
5528
- //
5529
-
5530
- var FETCH_TICKETS_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/FETCH_TICKETS_HEADER_IMAGE';
5531
- var UPDATE_TICKETS_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/UPDATE_TICKETS_HEADER_IMAGE';
5532
- var DELETE_TICKETS_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/DELETE_TICKETS_HEADER_IMAGE';
5533
 
5534
- //
5535
- // ─── CHILD TICKET TYPES ─────────────────────────────────────────────────────────
5536
- //
5537
-
5538
- var REGISTER_TICKET_BLOCK = utils["m" /* PREFIX_TICKETS_STORE */] + '/REGISTER_TICKET_BLOCK';
5539
- var REMOVE_TICKET_BLOCK = utils["m" /* PREFIX_TICKETS_STORE */] + '/REMOVE_TICKET_BLOCK';
5540
-
5541
- var SET_TICKET_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TITLE';
5542
- var SET_TICKET_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_DESCRIPTION';
5543
- var SET_TICKET_PRICE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_PRICE';
5544
- var SET_TICKET_SKU = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_SKU';
5545
- var SET_TICKET_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_START_DATE';
5546
- var SET_TICKET_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_START_DATE_INPUT';
5547
- var SET_TICKET_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_START_DATE_MOMENT';
5548
- var SET_TICKET_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_END_DATE';
5549
- var SET_TICKET_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_END_DATE_INPUT';
5550
- var SET_TICKET_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_END_DATE_MOMENT';
5551
- var SET_TICKET_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_START_TIME';
5552
- var SET_TICKET_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_END_TIME';
5553
- var SET_TICKET_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_START_TIME_INPUT';
5554
- var SET_TICKET_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_END_TIME_INPUT';
5555
- var SET_TICKET_CAPACITY_TYPE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_CAPACITY_TYPE';
5556
- var SET_TICKET_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_CAPACITY';
5557
-
5558
- var SET_TICKET_TEMP_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_TITLE';
5559
- var SET_TICKET_TEMP_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_DESCRIPTION';
5560
- var SET_TICKET_TEMP_PRICE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_PRICE';
5561
- var SET_TICKET_TEMP_SKU = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_SKU';
5562
- var SET_TICKET_TEMP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_START_DATE';
5563
- var SET_TICKET_TEMP_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_START_DATE_INPUT';
5564
- var SET_TICKET_TEMP_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_START_DATE_MOMENT';
5565
- var SET_TICKET_TEMP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_END_DATE';
5566
- var SET_TICKET_TEMP_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_END_DATE_INPUT';
5567
- var SET_TICKET_TEMP_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_END_DATE_MOMENT';
5568
- var SET_TICKET_TEMP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_START_TIME';
5569
- var SET_TICKET_TEMP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_END_TIME';
5570
- var SET_TICKET_TEMP_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_START_TIME_INPUT';
5571
- var SET_TICKET_TEMP_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_END_TIME_INPUT';
5572
- var SET_TICKET_TEMP_CAPACITY_TYPE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_CAPACITY_TYPE';
5573
- var SET_TICKET_TEMP_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_CAPACITY';
5574
-
5575
- var SET_TICKET_SOLD = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_SOLD';
5576
- var SET_TICKET_AVAILABLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_AVAILABLE';
5577
- var SET_TICKET_ID = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_ID';
5578
- var SET_TICKET_CURRENCY_SYMBOL = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_CURRENCY_SYMBOL';
5579
- var SET_TICKET_CURRENCY_POSITION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_CURRENCY_POSITION';
5580
- var SET_TICKET_PROVIDER = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_PROVIDER';
5581
- var SET_TICKET_IS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_IS_LOADING';
5582
- var SET_TICKET_HAS_BEEN_CREATED = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_HAS_BEEN_CREATED';
5583
- var SET_TICKET_HAS_CHANGES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKETS_HAS_CHANGES';
5584
- var SET_TICKET_IS_SELECTED = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_IS_SELECTED';
5585
-
5586
- //
5587
- // ─── CHILD TICKET SAGA TYPES ────────────────────────────────────────────────────
5588
- //
5589
-
5590
- var SET_TICKET_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_DETAILS';
5591
- var SET_TICKET_TEMP_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_TEMP_DETAILS';
5592
-
5593
- var HANDLE_TICKET_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_TICKET_START_DATE';
5594
- var HANDLE_TICKET_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_TICKET_END_DATE';
5595
- var HANDLE_TICKET_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_TICKET_START_TIME';
5596
- var HANDLE_TICKET_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_TICKET_END_TIME';
5597
-
5598
- var FETCH_TICKET = utils["m" /* PREFIX_TICKETS_STORE */] + '/FETCH_TICKET';
5599
- var CREATE_NEW_TICKET = utils["m" /* PREFIX_TICKETS_STORE */] + '/CREATE_NEW_TICKET';
5600
- var UPDATE_TICKET = utils["m" /* PREFIX_TICKETS_STORE */] + '/UPDATE_TICKET';
5601
- var DELETE_TICKET = utils["m" /* PREFIX_TICKETS_STORE */] + '/DELETE_TICKET';
5602
-
5603
- var SET_TICKET_INITIAL_STATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_TICKET_INITIAL_STATE';
5604
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/slicedToArray.js
5605
- var slicedToArray = __webpack_require__(40);
5606
  var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
5607
 
5608
  // EXTERNAL MODULE: external "tribe.common.utils"
5609
- var external_tribe_common_utils_ = __webpack_require__(3);
5610
 
5611
  // EXTERNAL MODULE: ./node_modules/lodash/trim.js
5612
- var trim = __webpack_require__(107);
5613
  var trim_default = /*#__PURE__*/__webpack_require__.n(trim);
5614
 
5615
  // EXTERNAL MODULE: ./node_modules/lodash/find.js
5616
- var find = __webpack_require__(79);
5617
  var find_default = /*#__PURE__*/__webpack_require__.n(find);
5618
 
5619
  // EXTERNAL MODULE: ./node_modules/reselect/lib/index.js
5620
- var lib = __webpack_require__(5);
 
 
 
 
5621
 
5622
  // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/constants.js
5623
- var constants = __webpack_require__(20);
5624
 
5625
  // EXTERNAL MODULE: external {"var":"wp.i18n","root":["wp","i18n"]}
5626
- var external_var_wp_i18n_root_wp_i18n_ = __webpack_require__(11);
5627
 
5628
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/options.js
5629
  /**
@@ -5655,6 +5525,7 @@ var CAPACITY_TYPE_OPTIONS = [{
5655
 
5656
 
5657
 
 
5658
  /**
5659
  * Internal dependencies
5660
  */
@@ -5669,6 +5540,9 @@ var UNLIMITED = constants["UNLIMITED"],
5669
  var ticketsConfig = external_tribe_common_utils_["globals"].tickets;
5670
 
5671
 
 
 
 
5672
  var getBlock = function getBlock(state) {
5673
  return state.tickets.blocks.ticket;
5674
  };
@@ -5677,6 +5551,10 @@ var getBlock = function getBlock(state) {
5677
  // ─── BLOCK SELECTORS ────────────────────────────────────────────────────────────
5678
  //
5679
 
 
 
 
 
5680
  var getTicketsIsSettingsOpen = Object(lib["createSelector"])([getBlock], function (block) {
5681
  return block.isSettingsOpen;
5682
  });
@@ -5733,29 +5611,29 @@ var getTickets = Object(lib["createSelector"])([getBlock], function (block) {
5733
  return block.tickets;
5734
  });
5735
 
5736
- var getAllTicketIds = Object(lib["createSelector"])([getTickets], function (tickets) {
5737
- return tickets.allIds;
5738
  });
5739
 
5740
- var getTicketsById = Object(lib["createSelector"])([getTickets], function (tickets) {
5741
- return tickets.byId;
5742
  });
5743
 
5744
- var getTicketsArray = Object(lib["createSelector"])([getAllTicketIds, getTicketsById], function (ids, tickets) {
5745
  return ids.map(function (id) {
5746
  return tickets[id];
5747
  });
5748
  });
5749
 
5750
- var getTicketsCount = Object(lib["createSelector"])([getAllTicketIds], function (allIds) {
5751
- return allIds.length;
5752
  });
5753
 
5754
  var hasTickets = Object(lib["createSelector"])([getTicketsCount], function (count) {
5755
  return count > 0;
5756
  });
5757
 
5758
- var hasCreatedTickets = Object(lib["createSelector"])([getTicketsArray], function (tickets) {
5759
  return tickets.reduce(function (hasCreated, ticket) {
5760
  return hasCreated || ticket.hasBeenCreated;
5761
  }, false);
@@ -5802,12 +5680,12 @@ var getTicketsIdsInBlocks = Object(lib["createSelector"])([getTicketsArray], fun
5802
  // ─── TICKET SELECTORS ───────────────────────────────────────────────────────────
5803
  //
5804
 
5805
- var getTicketBlockId = function getTicketBlockId(state, ownProps) {
5806
- return ownProps.blockId;
5807
  };
5808
 
5809
- var getTicket = Object(lib["createSelector"])([getTicketsById, getTicketBlockId], function (tickets, blockId) {
5810
- return tickets[blockId] || {};
5811
  });
5812
 
5813
  var getTicketSold = Object(lib["createSelector"])([getTicket], function (ticket) {
@@ -5938,16 +5816,48 @@ var getTicketCapacityInt = Object(lib["createSelector"])([getTicketCapacity], fu
5938
  return parseInt(capacity, 10) || 0;
5939
  });
5940
 
5941
- var isUnlimitedTicket = Object(lib["createSelector"])([getTicketDetails], function (block) {
5942
- return block.capacityType === TICKET_TYPES[UNLIMITED];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5943
  });
5944
 
5945
- var isSharedTicket = Object(lib["createSelector"])([getTicketDetails], function (block) {
5946
- return block.capacityType === TICKET_TYPES[SHARED];
 
 
 
5947
  });
5948
 
5949
- var isIndependentTicket = Object(lib["createSelector"])([getTicketDetails], function (block) {
5950
- return block.capacityType === TICKET_TYPES[INDEPENDENT];
 
 
 
5951
  });
5952
 
5953
  //
@@ -6053,24 +5963,6 @@ var isTicketValid = Object(lib["createSelector"])([getTicketTempCapacityType, is
6053
  return titleValid && capacityValid;
6054
  });
6055
 
6056
- var isTicketPast = Object(lib["createSelector"])([getTicketEndDateMoment, getTicketIsLoading, getTicketHasBeenCreated], function (endDate, isLoading, isCreated) {
6057
-
6058
- if (isLoading || !isCreated) {
6059
- return false;
6060
- }
6061
-
6062
- return moment.isMoment(endDate) ? moment().isAfter(endDate) : false;
6063
- });
6064
-
6065
- var isTicketFuture = Object(lib["createSelector"])([getTicketStartDateMoment, getTicketIsLoading, getTicketHasBeenCreated], function (startDate, isLoading, isCreated) {
6066
-
6067
- if (isLoading || !isCreated) {
6068
- return false;
6069
- }
6070
-
6071
- return moment.isMoment(startDate) ? startDate.isAfter(moment()) : false;
6072
- });
6073
-
6074
  //
6075
  // ─── AMOUNT REDUCERS ────────────────────────────────────────────────────────────
6076
  //
@@ -6208,10 +6100,6 @@ var utils_getDefaultCurrencyPosition = function getDefaultCurrencyPosition() {
6208
 
6209
  return priceSettings() && priceSettings().defaultCurrencyPosition ? priceSettings().defaultCurrencyPosition : position;
6210
  };
6211
- // EXTERNAL MODULE: ./node_modules/moment/moment.js
6212
- var moment_moment = __webpack_require__(2);
6213
- var moment_default = /*#__PURE__*/__webpack_require__.n(moment_moment);
6214
-
6215
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/reducers/tickets/ticket/details.js
6216
 
6217
  /**
@@ -6257,67 +6145,67 @@ var DEFAULT_STATE = {
6257
  var action = arguments[1];
6258
 
6259
  switch (action.type) {
6260
- case SET_TICKET_TITLE:
6261
  return extends_default()({}, state, {
6262
  title: action.payload.title
6263
  });
6264
- case SET_TICKET_DESCRIPTION:
6265
  return extends_default()({}, state, {
6266
  description: action.payload.description
6267
  });
6268
- case SET_TICKET_PRICE:
6269
  return extends_default()({}, state, {
6270
  price: action.payload.price
6271
  });
6272
- case SET_TICKET_SKU:
6273
  return extends_default()({}, state, {
6274
  sku: action.payload.sku
6275
  });
6276
- case SET_TICKET_START_DATE:
6277
  return extends_default()({}, state, {
6278
  startDate: action.payload.startDate
6279
  });
6280
- case SET_TICKET_START_DATE_INPUT:
6281
  return extends_default()({}, state, {
6282
  startDateInput: action.payload.startDateInput
6283
  });
6284
- case SET_TICKET_START_DATE_MOMENT:
6285
  return extends_default()({}, state, {
6286
  startDateMoment: action.payload.startDateMoment
6287
  });
6288
- case SET_TICKET_END_DATE:
6289
  return extends_default()({}, state, {
6290
  endDate: action.payload.endDate
6291
  });
6292
- case SET_TICKET_END_DATE_INPUT:
6293
  return extends_default()({}, state, {
6294
  endDateInput: action.payload.endDateInput
6295
  });
6296
- case SET_TICKET_END_DATE_MOMENT:
6297
  return extends_default()({}, state, {
6298
  endDateMoment: action.payload.endDateMoment
6299
  });
6300
- case SET_TICKET_START_TIME:
6301
  return extends_default()({}, state, {
6302
  startTime: action.payload.startTime
6303
  });
6304
- case SET_TICKET_END_TIME:
6305
  return extends_default()({}, state, {
6306
  endTime: action.payload.endTime
6307
  });
6308
- case SET_TICKET_START_TIME_INPUT:
6309
  return extends_default()({}, state, {
6310
  startTimeInput: action.payload.startTimeInput
6311
  });
6312
- case SET_TICKET_END_TIME_INPUT:
6313
  return extends_default()({}, state, {
6314
  endTimeInput: action.payload.endTimeInput
6315
  });
6316
- case SET_TICKET_CAPACITY_TYPE:
6317
  return extends_default()({}, state, {
6318
  capacityType: action.payload.capacityType
6319
  });
6320
- case SET_TICKET_CAPACITY:
6321
  return extends_default()({}, state, {
6322
  capacity: action.payload.capacity
6323
  });
@@ -6370,67 +6258,67 @@ var temp_details_DEFAULT_STATE = {
6370
  var action = arguments[1];
6371
 
6372
  switch (action.type) {
6373
- case SET_TICKET_TEMP_TITLE:
6374
  return extends_default()({}, state, {
6375
  title: action.payload.title
6376
  });
6377
- case SET_TICKET_TEMP_DESCRIPTION:
6378
  return extends_default()({}, state, {
6379
  description: action.payload.description
6380
  });
6381
- case SET_TICKET_TEMP_PRICE:
6382
  return extends_default()({}, state, {
6383
  price: action.payload.price
6384
  });
6385
- case SET_TICKET_TEMP_SKU:
6386
  return extends_default()({}, state, {
6387
  sku: action.payload.sku
6388
  });
6389
- case SET_TICKET_TEMP_START_DATE:
6390
  return extends_default()({}, state, {
6391
  startDate: action.payload.startDate
6392
  });
6393
- case SET_TICKET_TEMP_START_DATE_INPUT:
6394
  return extends_default()({}, state, {
6395
  startDateInput: action.payload.startDateInput
6396
  });
6397
- case SET_TICKET_TEMP_START_DATE_MOMENT:
6398
  return extends_default()({}, state, {
6399
  startDateMoment: action.payload.startDateMoment
6400
  });
6401
- case SET_TICKET_TEMP_END_DATE:
6402
  return extends_default()({}, state, {
6403
  endDate: action.payload.endDate
6404
  });
6405
- case SET_TICKET_TEMP_END_DATE_INPUT:
6406
  return extends_default()({}, state, {
6407
  endDateInput: action.payload.endDateInput
6408
  });
6409
- case SET_TICKET_TEMP_END_DATE_MOMENT:
6410
  return extends_default()({}, state, {
6411
  endDateMoment: action.payload.endDateMoment
6412
  });
6413
- case SET_TICKET_TEMP_START_TIME:
6414
  return extends_default()({}, state, {
6415
  startTime: action.payload.startTime
6416
  });
6417
- case SET_TICKET_TEMP_END_TIME:
6418
  return extends_default()({}, state, {
6419
  endTime: action.payload.endTime
6420
  });
6421
- case SET_TICKET_TEMP_START_TIME_INPUT:
6422
  return extends_default()({}, state, {
6423
  startTimeInput: action.payload.startTimeInput
6424
  });
6425
- case SET_TICKET_TEMP_END_TIME_INPUT:
6426
  return extends_default()({}, state, {
6427
  endTimeInput: action.payload.endTimeInput
6428
  });
6429
- case SET_TICKET_TEMP_CAPACITY_TYPE:
6430
  return extends_default()({}, state, {
6431
  capacityType: action.payload.capacityType
6432
  });
6433
- case SET_TICKET_TEMP_CAPACITY:
6434
  return extends_default()({}, state, {
6435
  capacity: action.payload.capacity
6436
  });
@@ -6468,81 +6356,81 @@ var ticket_DEFAULT_STATE = {
6468
  var action = arguments[1];
6469
 
6470
  switch (action.type) {
6471
- case SET_TICKET_TITLE:
6472
- case SET_TICKET_DESCRIPTION:
6473
- case SET_TICKET_PRICE:
6474
- case SET_TICKET_SKU:
6475
- case SET_TICKET_START_DATE:
6476
- case SET_TICKET_START_DATE_INPUT:
6477
- case SET_TICKET_START_DATE_MOMENT:
6478
- case SET_TICKET_END_DATE:
6479
- case SET_TICKET_END_DATE_INPUT:
6480
- case SET_TICKET_END_DATE_MOMENT:
6481
- case SET_TICKET_START_TIME:
6482
- case SET_TICKET_END_TIME:
6483
- case SET_TICKET_START_TIME_INPUT:
6484
- case SET_TICKET_END_TIME_INPUT:
6485
- case SET_TICKET_CAPACITY_TYPE:
6486
- case SET_TICKET_CAPACITY:
6487
  return extends_default()({}, state, {
6488
  details: ticket_details(state.details, action)
6489
  });
6490
- case SET_TICKET_TEMP_TITLE:
6491
- case SET_TICKET_TEMP_DESCRIPTION:
6492
- case SET_TICKET_TEMP_PRICE:
6493
- case SET_TICKET_TEMP_SKU:
6494
- case SET_TICKET_TEMP_START_DATE:
6495
- case SET_TICKET_TEMP_START_DATE_INPUT:
6496
- case SET_TICKET_TEMP_START_DATE_MOMENT:
6497
- case SET_TICKET_TEMP_END_DATE:
6498
- case SET_TICKET_TEMP_END_DATE_INPUT:
6499
- case SET_TICKET_TEMP_END_DATE_MOMENT:
6500
- case SET_TICKET_TEMP_START_TIME:
6501
- case SET_TICKET_TEMP_END_TIME:
6502
- case SET_TICKET_TEMP_START_TIME_INPUT:
6503
- case SET_TICKET_TEMP_END_TIME_INPUT:
6504
- case SET_TICKET_TEMP_CAPACITY_TYPE:
6505
- case SET_TICKET_TEMP_CAPACITY:
6506
  return extends_default()({}, state, {
6507
  tempDetails: temp_details(state.tempDetails, action)
6508
  });
6509
- case SET_TICKET_SOLD:
6510
  return extends_default()({}, state, {
6511
  sold: action.payload.sold
6512
  });
6513
- case SET_TICKET_AVAILABLE:
6514
  return extends_default()({}, state, {
6515
  available: action.payload.available
6516
  });
6517
- case SET_TICKET_ID:
6518
  return extends_default()({}, state, {
6519
  ticketId: action.payload.ticketId
6520
  });
6521
- case SET_TICKET_CURRENCY_SYMBOL:
6522
  return extends_default()({}, state, {
6523
  currencySymbol: action.payload.currencySymbol
6524
  });
6525
- case SET_TICKET_CURRENCY_POSITION:
6526
  return extends_default()({}, state, {
6527
  currencyPosition: action.payload.currencyPosition
6528
  });
6529
- case SET_TICKET_PROVIDER:
6530
  return extends_default()({}, state, {
6531
  provider: action.payload.provider
6532
  });
6533
- case SET_TICKET_IS_LOADING:
6534
  return extends_default()({}, state, {
6535
  isLoading: action.payload.isLoading
6536
  });
6537
- case SET_TICKET_HAS_BEEN_CREATED:
6538
  return extends_default()({}, state, {
6539
  hasBeenCreated: action.payload.hasBeenCreated
6540
  });
6541
- case SET_TICKET_HAS_CHANGES:
6542
  return extends_default()({}, state, {
6543
  hasChanges: action.payload.hasChanges
6544
  });
6545
- case SET_TICKET_IS_SELECTED:
6546
  return extends_default()({}, state, {
6547
  isSelected: action.payload.isSelected
6548
  });
@@ -6566,113 +6454,89 @@ var ticket_DEFAULT_STATE = {
6566
 
6567
 
6568
 
6569
- var tickets_byId = function byId() {
6570
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
6571
  var action = arguments[1];
6572
 
6573
  switch (action.type) {
6574
- case SET_TICKET_TITLE:
6575
- case SET_TICKET_DESCRIPTION:
6576
- case SET_TICKET_PRICE:
6577
- case SET_TICKET_SKU:
6578
- case SET_TICKET_START_DATE:
6579
- case SET_TICKET_START_DATE_INPUT:
6580
- case SET_TICKET_START_DATE_MOMENT:
6581
- case SET_TICKET_END_DATE:
6582
- case SET_TICKET_END_DATE_INPUT:
6583
- case SET_TICKET_END_DATE_MOMENT:
6584
- case SET_TICKET_START_TIME:
6585
- case SET_TICKET_END_TIME:
6586
- case SET_TICKET_START_TIME_INPUT:
6587
- case SET_TICKET_END_TIME_INPUT:
6588
- case SET_TICKET_CAPACITY_TYPE:
6589
- case SET_TICKET_CAPACITY:
6590
- case SET_TICKET_TEMP_TITLE:
6591
- case SET_TICKET_TEMP_DESCRIPTION:
6592
- case SET_TICKET_TEMP_PRICE:
6593
- case SET_TICKET_TEMP_SKU:
6594
- case SET_TICKET_TEMP_START_DATE:
6595
- case SET_TICKET_TEMP_START_DATE_INPUT:
6596
- case SET_TICKET_TEMP_START_DATE_MOMENT:
6597
- case SET_TICKET_TEMP_END_DATE:
6598
- case SET_TICKET_TEMP_END_DATE_INPUT:
6599
- case SET_TICKET_TEMP_END_DATE_MOMENT:
6600
- case SET_TICKET_TEMP_START_TIME:
6601
- case SET_TICKET_TEMP_END_TIME:
6602
- case SET_TICKET_TEMP_START_TIME_INPUT:
6603
- case SET_TICKET_TEMP_END_TIME_INPUT:
6604
- case SET_TICKET_TEMP_CAPACITY_TYPE:
6605
- case SET_TICKET_TEMP_CAPACITY:
6606
- case SET_TICKET_SOLD:
6607
- case SET_TICKET_AVAILABLE:
6608
- case SET_TICKET_ID:
6609
- case SET_TICKET_CURRENCY_SYMBOL:
6610
- case SET_TICKET_CURRENCY_POSITION:
6611
- case SET_TICKET_PROVIDER:
6612
- case SET_TICKET_IS_LOADING:
6613
- case SET_TICKET_HAS_BEEN_CREATED:
6614
- case SET_TICKET_HAS_CHANGES:
6615
- case SET_TICKET_IS_SELECTED:
6616
- case REGISTER_TICKET_BLOCK:
6617
- return extends_default()({}, state, defineProperty_default()({}, action.payload.blockId, tickets_ticket(state[action.payload.blockId], action)));
6618
- case REMOVE_TICKET_BLOCK:
6619
- return omit_default()(state, [action.payload.blockId]);
 
 
6620
  default:
6621
  return state;
6622
  }
6623
  };
6624
 
6625
- var tickets_allIds = function allIds() {
6626
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
6627
  var action = arguments[1];
6628
 
6629
  switch (action.type) {
6630
- case REGISTER_TICKET_BLOCK:
6631
- return [].concat(toConsumableArray_default()(state), [action.payload.blockId]);
6632
- case REMOVE_TICKET_BLOCK:
6633
- return state.filter(function (id) {
6634
- return action.payload.blockId !== id;
6635
  });
 
 
6636
  default:
6637
  return state;
6638
  }
6639
  };
6640
 
6641
  /* harmony default export */ var reducers_tickets = (Object(redux["b" /* combineReducers */])({
6642
- byId: tickets_byId,
6643
- allIds: tickets_allIds
6644
  }));
6645
- // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/reducers/header-image.js
6646
- /**
6647
- * Internal dependencies
6648
- */
6649
-
6650
-
6651
- /**
6652
- * Full payload from gutenberg media upload is not used,
6653
- * only id, alt, and src are used for this specific case.
6654
- */
6655
- var header_image_DEFAULT_STATE = {
6656
- id: 0,
6657
- src: '',
6658
- alt: ''
6659
- };
6660
 
6661
- /* harmony default export */ var header_image = (function () {
6662
- var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : header_image_DEFAULT_STATE;
6663
- var action = arguments[1];
6664
-
6665
- switch (action.type) {
6666
- case SET_TICKETS_HEADER_IMAGE:
6667
- return {
6668
- id: action.payload.id,
6669
- src: action.payload.src,
6670
- alt: action.payload.alt
6671
- };
6672
- default:
6673
- return state;
6674
- }
6675
- });
6676
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/reducer.js
6677
 
6678
  /**
@@ -6683,7 +6547,8 @@ var header_image_DEFAULT_STATE = {
6683
 
6684
 
6685
  var reducer_DEFAULT_STATE = {
6686
- headerImage: header_image_DEFAULT_STATE,
 
6687
  isSettingsOpen: false,
6688
  isSettingsLoading: false,
6689
  provider: '',
@@ -6697,74 +6562,79 @@ var reducer_DEFAULT_STATE = {
6697
  var action = arguments[1];
6698
 
6699
  switch (action.type) {
6700
- case SET_TICKETS_HEADER_IMAGE:
6701
  return extends_default()({}, state, {
6702
- headerImage: header_image(state.headerImage, action)
6703
  });
6704
- case SET_TICKETS_IS_SETTINGS_OPEN:
 
 
 
 
6705
  return extends_default()({}, state, {
6706
  isSettingsOpen: action.payload.isSettingsOpen
6707
  });
6708
- case SET_TICKETS_IS_SETTINGS_LOADING:
6709
  return extends_default()({}, state, {
6710
  isSettingsLoading: action.payload.isSettingsLoading
6711
  });
6712
- case SET_TICKETS_PROVIDER:
6713
  return extends_default()({}, state, {
6714
  provider: action.payload.provider
6715
  });
6716
- case SET_TICKETS_SHARED_CAPACITY:
6717
  return extends_default()({}, state, {
6718
  sharedCapacity: action.payload.sharedCapacity
6719
  });
6720
- case SET_TICKETS_TEMP_SHARED_CAPACITY:
6721
  return extends_default()({}, state, {
6722
  tempSharedCapacity: action.payload.tempSharedCapacity
6723
  });
6724
- case SET_TICKET_TITLE:
6725
- case SET_TICKET_DESCRIPTION:
6726
- case SET_TICKET_PRICE:
6727
- case SET_TICKET_SKU:
6728
- case SET_TICKET_START_DATE:
6729
- case SET_TICKET_START_DATE_INPUT:
6730
- case SET_TICKET_START_DATE_MOMENT:
6731
- case SET_TICKET_END_DATE:
6732
- case SET_TICKET_END_DATE_INPUT:
6733
- case SET_TICKET_END_DATE_MOMENT:
6734
- case SET_TICKET_START_TIME:
6735
- case SET_TICKET_END_TIME:
6736
- case SET_TICKET_START_TIME_INPUT:
6737
- case SET_TICKET_END_TIME_INPUT:
6738
- case SET_TICKET_CAPACITY_TYPE:
6739
- case SET_TICKET_CAPACITY:
6740
- case SET_TICKET_TEMP_TITLE:
6741
- case SET_TICKET_TEMP_DESCRIPTION:
6742
- case SET_TICKET_TEMP_PRICE:
6743
- case SET_TICKET_TEMP_SKU:
6744
- case SET_TICKET_TEMP_START_DATE:
6745
- case SET_TICKET_TEMP_START_DATE_INPUT:
6746
- case SET_TICKET_TEMP_START_DATE_MOMENT:
6747
- case SET_TICKET_TEMP_END_DATE:
6748
- case SET_TICKET_TEMP_END_DATE_INPUT:
6749
- case SET_TICKET_TEMP_END_DATE_MOMENT:
6750
- case SET_TICKET_TEMP_START_TIME:
6751
- case SET_TICKET_TEMP_END_TIME:
6752
- case SET_TICKET_TEMP_START_TIME_INPUT:
6753
- case SET_TICKET_TEMP_END_TIME_INPUT:
6754
- case SET_TICKET_TEMP_CAPACITY_TYPE:
6755
- case SET_TICKET_TEMP_CAPACITY:
6756
- case SET_TICKET_SOLD:
6757
- case SET_TICKET_AVAILABLE:
6758
- case SET_TICKET_ID:
6759
- case SET_TICKET_CURRENCY_SYMBOL:
6760
- case SET_TICKET_CURRENCY_POSITION:
6761
- case SET_TICKET_PROVIDER:
6762
- case SET_TICKET_IS_LOADING:
6763
- case SET_TICKET_HAS_BEEN_CREATED:
6764
- case SET_TICKET_HAS_CHANGES:
6765
- case SET_TICKET_IS_SELECTED:
6766
- case REGISTER_TICKET_BLOCK:
6767
- case REMOVE_TICKET_BLOCK:
 
6768
  return extends_default()({}, state, {
6769
  tickets: reducers_tickets(state.tickets, action)
6770
  });
@@ -6772,783 +6642,136 @@ var reducer_DEFAULT_STATE = {
6772
  return state;
6773
  }
6774
  });
6775
- // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/actions.js
6776
- /**
6777
- * Internal dependencies
6778
- */
6779
 
 
 
 
6780
 
6781
- //
6782
- // ─── TICKETS ACTIONS ────────────────────────────────────────────────────────────
6783
- //
6784
 
6785
- var actions_setTicketsInitialState = function setTicketsInitialState(props) {
6786
- return {
6787
- type: types_namespaceObject.SET_TICKETS_INITIAL_STATE,
6788
- payload: props
6789
- };
6790
- };
6791
 
6792
- var actions_setTicketsHeaderImage = function setTicketsHeaderImage(payload) {
6793
- return {
6794
- type: types_namespaceObject.SET_TICKETS_HEADER_IMAGE,
6795
- payload: payload
6796
- };
6797
- };
6798
 
6799
- var actions_setTicketsIsSettingsOpen = function setTicketsIsSettingsOpen(isSettingsOpen) {
6800
- return {
6801
- type: types_namespaceObject.SET_TICKETS_IS_SETTINGS_OPEN,
6802
- payload: {
6803
- isSettingsOpen: isSettingsOpen
6804
- }
6805
- };
6806
- };
6807
 
6808
- var actions_setTicketsIsSettingsLoading = function setTicketsIsSettingsLoading(isSettingsLoading) {
6809
- return {
6810
- type: types_namespaceObject.SET_TICKETS_IS_SETTINGS_LOADING,
6811
- payload: {
6812
- isSettingsLoading: isSettingsLoading
6813
- }
6814
- };
6815
- };
6816
 
6817
- var openSettings = function openSettings() {
6818
- return actions_setTicketsIsSettingsOpen(true);
6819
- };
6820
- var closeSettings = function closeSettings() {
6821
- return actions_setTicketsIsSettingsOpen(false);
6822
- };
6823
 
6824
- var actions_setTicketsProvider = function setTicketsProvider(provider) {
6825
- return {
6826
- type: types_namespaceObject.SET_TICKETS_PROVIDER,
6827
- payload: {
6828
- provider: provider
6829
- }
6830
- };
6831
- };
6832
 
6833
- var actions_setTicketsSharedCapacity = function setTicketsSharedCapacity(sharedCapacity) {
6834
- return {
6835
- type: types_namespaceObject.SET_TICKETS_SHARED_CAPACITY,
6836
- payload: {
6837
- sharedCapacity: sharedCapacity
6838
- }
6839
- };
6840
- };
6841
 
6842
- var actions_setTicketsTempSharedCapacity = function setTicketsTempSharedCapacity(tempSharedCapacity) {
6843
- return {
6844
- type: types_namespaceObject.SET_TICKETS_TEMP_SHARED_CAPACITY,
6845
- payload: {
6846
- tempSharedCapacity: tempSharedCapacity
6847
- }
6848
- };
6849
- };
6850
 
6851
- //
6852
- // ─── HEADER IMAGE SAGA ACTIONS ──────────────────────────────────────────────────
6853
- //
6854
 
6855
- var actions_fetchTicketsHeaderImage = function fetchTicketsHeaderImage(id) {
6856
- return {
6857
- type: types_namespaceObject.FETCH_TICKETS_HEADER_IMAGE,
6858
- payload: {
6859
- id: id
6860
- }
6861
- };
6862
- };
6863
 
6864
- var actions_updateTicketsHeaderImage = function updateTicketsHeaderImage(image) {
6865
- return {
6866
- type: types_namespaceObject.UPDATE_TICKETS_HEADER_IMAGE,
6867
- payload: {
6868
- image: image
6869
- }
6870
- };
6871
- };
6872
 
6873
- var actions_deleteTicketsHeaderImage = function deleteTicketsHeaderImage() {
6874
- return {
6875
- type: types_namespaceObject.DELETE_TICKETS_HEADER_IMAGE
6876
- };
6877
- };
6878
 
6879
- //
6880
- // ─── TICKET DETAILS ACTIONS ─────────────────────────────────────────────────────
6881
- //
6882
 
6883
- var actions_setTicketTitle = function setTicketTitle(blockId, title) {
6884
- return {
6885
- type: types_namespaceObject.SET_TICKET_TITLE,
6886
- payload: {
6887
- blockId: blockId,
6888
- title: title
6889
- }
6890
- };
6891
- };
6892
 
6893
- var actions_setTicketDescription = function setTicketDescription(blockId, description) {
6894
- return {
6895
- type: types_namespaceObject.SET_TICKET_DESCRIPTION,
6896
- payload: {
6897
- blockId: blockId,
6898
- description: description
6899
- }
6900
- };
6901
- };
6902
 
6903
- var actions_setTicketPrice = function setTicketPrice(blockId, price) {
6904
- return {
6905
- type: types_namespaceObject.SET_TICKET_PRICE,
6906
- payload: {
6907
- blockId: blockId,
6908
- price: price
6909
- }
6910
- };
6911
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6912
 
6913
- var actions_setTicketSku = function setTicketSku(blockId, sku) {
6914
- return {
6915
- type: types_namespaceObject.SET_TICKET_SKU,
6916
- payload: {
6917
- blockId: blockId,
6918
- sku: sku
6919
- }
6920
- };
6921
- };
6922
 
6923
- var actions_setTicketStartDate = function setTicketStartDate(blockId, startDate) {
6924
- return {
6925
- type: types_namespaceObject.SET_TICKET_START_DATE,
6926
- payload: {
6927
- blockId: blockId,
6928
- startDate: startDate
6929
- }
6930
- };
6931
- };
6932
 
6933
- var actions_setTicketStartDateInput = function setTicketStartDateInput(blockId, startDateInput) {
6934
- return {
6935
- type: types_namespaceObject.SET_TICKET_START_DATE_INPUT,
6936
- payload: {
6937
- blockId: blockId,
6938
- startDateInput: startDateInput
6939
- }
6940
- };
6941
- };
6942
 
6943
- var actions_setTicketStartDateMoment = function setTicketStartDateMoment(blockId, startDateMoment) {
6944
- return {
6945
- type: types_namespaceObject.SET_TICKET_START_DATE_MOMENT,
6946
- payload: {
6947
- blockId: blockId,
6948
- startDateMoment: startDateMoment
6949
- }
6950
- };
6951
- };
6952
 
6953
- var actions_setTicketEndDate = function setTicketEndDate(blockId, endDate) {
6954
- return {
6955
- type: types_namespaceObject.SET_TICKET_END_DATE,
6956
- payload: {
6957
- blockId: blockId,
6958
- endDate: endDate
6959
- }
6960
- };
6961
- };
6962
 
6963
- var actions_setTicketEndDateInput = function setTicketEndDateInput(blockId, endDateInput) {
6964
- return {
6965
- type: types_namespaceObject.SET_TICKET_END_DATE_INPUT,
6966
- payload: {
6967
- blockId: blockId,
6968
- endDateInput: endDateInput
6969
- }
6970
- };
6971
- };
6972
 
6973
- var actions_setTicketEndDateMoment = function setTicketEndDateMoment(blockId, endDateMoment) {
6974
- return {
6975
- type: types_namespaceObject.SET_TICKET_END_DATE_MOMENT,
6976
- payload: {
6977
- blockId: blockId,
6978
- endDateMoment: endDateMoment
6979
- }
6980
- };
6981
- };
6982
 
6983
- var actions_setTicketStartTime = function setTicketStartTime(blockId, startTime) {
6984
- return {
6985
- type: types_namespaceObject.SET_TICKET_START_TIME,
6986
- payload: {
6987
- blockId: blockId,
6988
- startTime: startTime
6989
- }
6990
- };
6991
- };
6992
 
6993
- var actions_setTicketEndTime = function setTicketEndTime(blockId, endTime) {
6994
- return {
6995
- type: types_namespaceObject.SET_TICKET_END_TIME,
6996
- payload: {
6997
- blockId: blockId,
6998
- endTime: endTime
6999
- }
7000
- };
7001
- };
7002
 
7003
- var actions_setTicketStartTimeInput = function setTicketStartTimeInput(blockId, startTimeInput) {
7004
- return {
7005
- type: types_namespaceObject.SET_TICKET_START_TIME_INPUT,
7006
- payload: {
7007
- blockId: blockId,
7008
- startTimeInput: startTimeInput
7009
- }
7010
- };
7011
- };
7012
 
7013
- var actions_setTicketEndTimeInput = function setTicketEndTimeInput(blockId, endTimeInput) {
7014
- return {
7015
- type: types_namespaceObject.SET_TICKET_END_TIME_INPUT,
7016
- payload: {
7017
- blockId: blockId,
7018
- endTimeInput: endTimeInput
7019
- }
7020
- };
7021
- };
7022
 
7023
- var actions_setTicketCapacityType = function setTicketCapacityType(blockId, capacityType) {
7024
- return {
7025
- type: types_namespaceObject.SET_TICKET_CAPACITY_TYPE,
7026
- payload: {
7027
- blockId: blockId,
7028
- capacityType: capacityType
7029
- }
7030
- };
7031
- };
7032
 
7033
- var actions_setTicketCapacity = function setTicketCapacity(blockId, capacity) {
7034
- return {
7035
- type: types_namespaceObject.SET_TICKET_CAPACITY,
7036
- payload: {
7037
- blockId: blockId,
7038
- capacity: capacity
7039
- }
7040
- };
7041
- };
7042
 
7043
- //
7044
- // ─── TICKET TEMP DETAILS ACTIONS ────────────────────────────────────────────────
7045
- //
7046
 
7047
- var actions_setTicketTempTitle = function setTicketTempTitle(blockId, title) {
7048
- return {
7049
- type: types_namespaceObject.SET_TICKET_TEMP_TITLE,
7050
- payload: {
7051
- blockId: blockId,
7052
- title: title
7053
- }
7054
- };
7055
- };
7056
 
7057
- var actions_setTicketTempDescription = function setTicketTempDescription(blockId, description) {
7058
- return {
7059
- type: types_namespaceObject.SET_TICKET_TEMP_DESCRIPTION,
7060
- payload: {
7061
- blockId: blockId,
7062
- description: description
7063
- }
7064
- };
7065
- };
7066
 
7067
- var actions_setTicketTempPrice = function setTicketTempPrice(blockId, price) {
7068
- return {
7069
- type: types_namespaceObject.SET_TICKET_TEMP_PRICE,
7070
- payload: {
7071
- blockId: blockId,
7072
- price: price
7073
- }
7074
- };
7075
- };
7076
 
7077
- var actions_setTicketTempSku = function setTicketTempSku(blockId, sku) {
7078
- return {
7079
- type: types_namespaceObject.SET_TICKET_TEMP_SKU,
7080
- payload: {
7081
- blockId: blockId,
7082
- sku: sku
7083
- }
7084
- };
7085
- };
7086
 
7087
- var actions_setTicketTempStartDate = function setTicketTempStartDate(blockId, startDate) {
7088
- return {
7089
- type: types_namespaceObject.SET_TICKET_TEMP_START_DATE,
7090
- payload: {
7091
- blockId: blockId,
7092
- startDate: startDate
7093
- }
7094
- };
7095
- };
7096
 
7097
- var actions_setTicketTempStartDateInput = function setTicketTempStartDateInput(blockId, startDateInput) {
7098
- return {
7099
- type: types_namespaceObject.SET_TICKET_TEMP_START_DATE_INPUT,
7100
- payload: {
7101
- blockId: blockId,
7102
- startDateInput: startDateInput
7103
- }
7104
- };
7105
- };
7106
 
7107
- var actions_setTicketTempStartDateMoment = function setTicketTempStartDateMoment(blockId, startDateMoment) {
7108
- return {
7109
- type: types_namespaceObject.SET_TICKET_TEMP_START_DATE_MOMENT,
7110
- payload: {
7111
- blockId: blockId,
7112
- startDateMoment: startDateMoment
7113
- }
7114
- };
7115
- };
7116
 
7117
- var actions_setTicketTempEndDate = function setTicketTempEndDate(blockId, endDate) {
7118
- return {
7119
- type: types_namespaceObject.SET_TICKET_TEMP_END_DATE,
7120
- payload: {
7121
- blockId: blockId,
7122
- endDate: endDate
7123
- }
7124
- };
7125
- };
7126
 
7127
- var actions_setTicketTempEndDateInput = function setTicketTempEndDateInput(blockId, endDateInput) {
7128
- return {
7129
- type: types_namespaceObject.SET_TICKET_TEMP_END_DATE_INPUT,
7130
- payload: {
7131
- blockId: blockId,
7132
- endDateInput: endDateInput
7133
- }
7134
- };
7135
- };
7136
 
7137
- var actions_setTicketTempEndDateMoment = function setTicketTempEndDateMoment(blockId, endDateMoment) {
7138
- return {
7139
- type: types_namespaceObject.SET_TICKET_TEMP_END_DATE_MOMENT,
7140
- payload: {
7141
- blockId: blockId,
7142
- endDateMoment: endDateMoment
7143
- }
7144
- };
7145
- };
7146
 
7147
- var actions_setTicketTempStartTime = function setTicketTempStartTime(blockId, startTime) {
7148
- return {
7149
- type: types_namespaceObject.SET_TICKET_TEMP_START_TIME,
7150
- payload: {
7151
- blockId: blockId,
7152
- startTime: startTime
7153
- }
7154
- };
7155
- };
7156
 
7157
- var actions_setTicketTempEndTime = function setTicketTempEndTime(blockId, endTime) {
7158
- return {
7159
- type: types_namespaceObject.SET_TICKET_TEMP_END_TIME,
7160
- payload: {
7161
- blockId: blockId,
7162
- endTime: endTime
7163
- }
7164
- };
7165
- };
7166
 
7167
- var actions_setTicketTempStartTimeInput = function setTicketTempStartTimeInput(blockId, startTimeInput) {
7168
- return {
7169
- type: types_namespaceObject.SET_TICKET_TEMP_START_TIME_INPUT,
7170
- payload: {
7171
- blockId: blockId,
7172
- startTimeInput: startTimeInput
7173
- }
7174
- };
7175
- };
7176
-
7177
- var actions_setTicketTempEndTimeInput = function setTicketTempEndTimeInput(blockId, endTimeInput) {
7178
- return {
7179
- type: types_namespaceObject.SET_TICKET_TEMP_END_TIME_INPUT,
7180
- payload: {
7181
- blockId: blockId,
7182
- endTimeInput: endTimeInput
7183
- }
7184
- };
7185
- };
7186
-
7187
- var actions_setTicketTempCapacityType = function setTicketTempCapacityType(blockId, capacityType) {
7188
- return {
7189
- type: types_namespaceObject.SET_TICKET_TEMP_CAPACITY_TYPE,
7190
- payload: {
7191
- blockId: blockId,
7192
- capacityType: capacityType
7193
- }
7194
- };
7195
- };
7196
-
7197
- var actions_setTicketTempCapacity = function setTicketTempCapacity(blockId, capacity) {
7198
- return {
7199
- type: types_namespaceObject.SET_TICKET_TEMP_CAPACITY,
7200
- payload: {
7201
- blockId: blockId,
7202
- capacity: capacity
7203
- }
7204
- };
7205
- };
7206
-
7207
- //
7208
- // ─── TICKET ACTIONS ─────────────────────────────────────────────────────────────
7209
- //
7210
-
7211
- var actions_registerTicketBlock = function registerTicketBlock(blockId) {
7212
- return {
7213
- type: types_namespaceObject.REGISTER_TICKET_BLOCK,
7214
- payload: {
7215
- blockId: blockId
7216
- }
7217
- };
7218
- };
7219
-
7220
- var actions_removeTicketBlock = function removeTicketBlock(blockId) {
7221
- return {
7222
- type: types_namespaceObject.REMOVE_TICKET_BLOCK,
7223
- payload: {
7224
- blockId: blockId
7225
- }
7226
- };
7227
- };
7228
-
7229
- var actions_setTicketSold = function setTicketSold(blockId, sold) {
7230
- return {
7231
- type: types_namespaceObject.SET_TICKET_SOLD,
7232
- payload: {
7233
- blockId: blockId,
7234
- sold: sold
7235
- }
7236
- };
7237
- };
7238
-
7239
- var actions_setTicketAvailable = function setTicketAvailable(blockId, available) {
7240
- return {
7241
- type: types_namespaceObject.SET_TICKET_AVAILABLE,
7242
- payload: {
7243
- blockId: blockId,
7244
- available: available
7245
- }
7246
- };
7247
- };
7248
-
7249
- var actions_setTicketId = function setTicketId(blockId, ticketId) {
7250
- return {
7251
- type: types_namespaceObject.SET_TICKET_ID,
7252
- payload: {
7253
- blockId: blockId,
7254
- ticketId: ticketId
7255
- }
7256
- };
7257
- };
7258
-
7259
- var actions_setTicketCurrencySymbol = function setTicketCurrencySymbol(blockId, currencySymbol) {
7260
- return {
7261
- type: types_namespaceObject.SET_TICKET_CURRENCY_SYMBOL,
7262
- payload: {
7263
- blockId: blockId,
7264
- currencySymbol: currencySymbol
7265
- }
7266
- };
7267
- };
7268
-
7269
- var actions_setTicketCurrencyPosition = function setTicketCurrencyPosition(blockId, currencyPosition) {
7270
- return {
7271
- type: types_namespaceObject.SET_TICKET_CURRENCY_POSITION,
7272
- payload: {
7273
- blockId: blockId,
7274
- currencyPosition: currencyPosition
7275
- }
7276
- };
7277
- };
7278
-
7279
- var actions_setTicketProvider = function setTicketProvider(blockId, provider) {
7280
- return {
7281
- type: types_namespaceObject.SET_TICKET_PROVIDER,
7282
- payload: {
7283
- blockId: blockId,
7284
- provider: provider
7285
- }
7286
- };
7287
- };
7288
-
7289
- var actions_setTicketIsLoading = function setTicketIsLoading(blockId, isLoading) {
7290
- return {
7291
- type: types_namespaceObject.SET_TICKET_IS_LOADING,
7292
- payload: {
7293
- blockId: blockId,
7294
- isLoading: isLoading
7295
- }
7296
- };
7297
- };
7298
-
7299
- var actions_setTicketHasBeenCreated = function setTicketHasBeenCreated(blockId, hasBeenCreated) {
7300
- return {
7301
- type: types_namespaceObject.SET_TICKET_HAS_BEEN_CREATED,
7302
- payload: {
7303
- blockId: blockId,
7304
- hasBeenCreated: hasBeenCreated
7305
- }
7306
- };
7307
- };
7308
-
7309
- var actions_setTicketHasChanges = function setTicketHasChanges(blockId, hasChanges) {
7310
- return {
7311
- type: types_namespaceObject.SET_TICKET_HAS_CHANGES,
7312
- payload: {
7313
- blockId: blockId,
7314
- hasChanges: hasChanges
7315
- }
7316
- };
7317
- };
7318
-
7319
- var actions_setTicketIsSelected = function setTicketIsSelected(blockId, isSelected) {
7320
- return {
7321
- type: types_namespaceObject.SET_TICKET_IS_SELECTED,
7322
- payload: {
7323
- blockId: blockId,
7324
- isSelected: isSelected
7325
- }
7326
- };
7327
- };
7328
-
7329
- //
7330
- // ─── TICKET SAGA ACTIONS ────────────────────────────────────────────────────────
7331
- //
7332
-
7333
- var actions_setTicketDetails = function setTicketDetails(blockId, details) {
7334
- return {
7335
- type: types_namespaceObject.SET_TICKET_DETAILS,
7336
- payload: {
7337
- blockId: blockId,
7338
- details: details
7339
- }
7340
- };
7341
- };
7342
-
7343
- var actions_setTicketTempDetails = function setTicketTempDetails(blockId, tempDetails) {
7344
- return {
7345
- type: types_namespaceObject.SET_TICKET_TEMP_DETAILS,
7346
- payload: {
7347
- blockId: blockId,
7348
- tempDetails: tempDetails
7349
- }
7350
- };
7351
- };
7352
-
7353
- var actions_handleTicketStartDate = function handleTicketStartDate(blockId, date, dayPickerInput) {
7354
- return {
7355
- type: types_namespaceObject.HANDLE_TICKET_START_DATE,
7356
- payload: {
7357
- blockId: blockId,
7358
- date: date,
7359
- dayPickerInput: dayPickerInput
7360
- }
7361
- };
7362
- };
7363
-
7364
- var actions_handleTicketEndDate = function handleTicketEndDate(blockId, date, dayPickerInput) {
7365
- return {
7366
- type: types_namespaceObject.HANDLE_TICKET_END_DATE,
7367
- payload: {
7368
- blockId: blockId,
7369
- date: date,
7370
- dayPickerInput: dayPickerInput
7371
- }
7372
- };
7373
- };
7374
-
7375
- var actions_handleTicketStartTime = function handleTicketStartTime(blockId, seconds) {
7376
- return {
7377
- type: types_namespaceObject.HANDLE_TICKET_START_TIME,
7378
- payload: {
7379
- blockId: blockId,
7380
- seconds: seconds
7381
- }
7382
- };
7383
- };
7384
-
7385
- var actions_handleTicketEndTime = function handleTicketEndTime(blockId, seconds) {
7386
- return {
7387
- type: types_namespaceObject.HANDLE_TICKET_END_TIME,
7388
- payload: {
7389
- blockId: blockId,
7390
- seconds: seconds
7391
- }
7392
- };
7393
- };
7394
-
7395
- var actions_fetchTicket = function fetchTicket(blockId, ticketId) {
7396
- return {
7397
- type: types_namespaceObject.FETCH_TICKET,
7398
- payload: {
7399
- blockId: blockId,
7400
- ticketId: ticketId
7401
- }
7402
- };
7403
- };
7404
-
7405
- var actions_createNewTicket = function createNewTicket(blockId) {
7406
- return {
7407
- type: types_namespaceObject.CREATE_NEW_TICKET,
7408
- payload: {
7409
- blockId: blockId
7410
- }
7411
- };
7412
- };
7413
-
7414
- var actions_updateTicket = function updateTicket(blockId) {
7415
- return {
7416
- type: types_namespaceObject.UPDATE_TICKET,
7417
- payload: {
7418
- blockId: blockId
7419
- }
7420
- };
7421
- };
7422
-
7423
- var actions_deleteTicket = function deleteTicket(blockId) {
7424
- return {
7425
- type: types_namespaceObject.DELETE_TICKET,
7426
- payload: {
7427
- blockId: blockId
7428
- }
7429
- };
7430
- };
7431
-
7432
- var actions_setTicketInitialState = function setTicketInitialState(props) {
7433
- return {
7434
- type: types_namespaceObject.SET_TICKET_INITIAL_STATE,
7435
- payload: props
7436
- };
7437
- };
7438
- // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js
7439
- var regenerator = __webpack_require__(8);
7440
- var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
7441
-
7442
- // EXTERNAL MODULE: ./node_modules/lodash/includes.js
7443
- var includes = __webpack_require__(106);
7444
- var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
7445
-
7446
- // EXTERNAL MODULE: ./node_modules/redux-saga/es/effects.js + 1 modules
7447
- var effects = __webpack_require__(0);
7448
-
7449
- // EXTERNAL MODULE: external {"var":"wp.data","root":["wp","data"]}
7450
- var external_var_wp_data_root_wp_data_ = __webpack_require__(18);
7451
-
7452
- // EXTERNAL MODULE: external {"var":"wp.blocks","root":["wp","blocks"]}
7453
- var external_var_wp_blocks_root_wp_blocks_ = __webpack_require__(105);
7454
-
7455
- // EXTERNAL MODULE: ./src/modules/data/shared/move/types.js
7456
- var types = __webpack_require__(15);
7457
-
7458
- // EXTERNAL MODULE: ./src/modules/data/shared/move/selectors.js
7459
- var selectors = __webpack_require__(25);
7460
-
7461
- // EXTERNAL MODULE: ./src/modules/data/shared/sagas.js
7462
- var sagas = __webpack_require__(28);
7463
-
7464
- // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/sagas.js
7465
-
7466
-
7467
-
7468
-
7469
-
7470
- var _marked = /*#__PURE__*/regenerator_default.a.mark(createMissingTicketBlocks),
7471
- _marked2 = /*#__PURE__*/regenerator_default.a.mark(sagas_setTicketsInitialState),
7472
- _marked3 = /*#__PURE__*/regenerator_default.a.mark(sagas_setTicketInitialState),
7473
- _marked4 = /*#__PURE__*/regenerator_default.a.mark(setBodyDetails),
7474
- _marked5 = /*#__PURE__*/regenerator_default.a.mark(sagas_removeTicketBlock),
7475
- _marked6 = /*#__PURE__*/regenerator_default.a.mark(sagas_fetchTicket),
7476
- _marked7 = /*#__PURE__*/regenerator_default.a.mark(sagas_createNewTicket),
7477
- _marked8 = /*#__PURE__*/regenerator_default.a.mark(sagas_updateTicket),
7478
- _marked9 = /*#__PURE__*/regenerator_default.a.mark(sagas_deleteTicket),
7479
- _marked10 = /*#__PURE__*/regenerator_default.a.mark(sagas_fetchTicketsHeaderImage),
7480
- _marked11 = /*#__PURE__*/regenerator_default.a.mark(sagas_updateTicketsHeaderImage),
7481
- _marked12 = /*#__PURE__*/regenerator_default.a.mark(sagas_deleteTicketsHeaderImage),
7482
- _marked13 = /*#__PURE__*/regenerator_default.a.mark(sagas_setTicketDetails),
7483
- _marked14 = /*#__PURE__*/regenerator_default.a.mark(sagas_setTicketTempDetails),
7484
- _marked15 = /*#__PURE__*/regenerator_default.a.mark(saveTicketWithPostSave),
7485
- _marked16 = /*#__PURE__*/regenerator_default.a.mark(syncTicketsSaleEndWithEventStart),
7486
- _marked17 = /*#__PURE__*/regenerator_default.a.mark(syncTicketSaleEndWithEventStart),
7487
- _marked18 = /*#__PURE__*/regenerator_default.a.mark(handleEventStartDateChanges),
7488
- _marked19 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleTicketStartDate),
7489
- _marked20 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleTicketEndDate),
7490
- _marked21 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleTicketStartTime),
7491
- _marked22 = /*#__PURE__*/regenerator_default.a.mark(handleTicketStartTimeInput),
7492
- _marked23 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleTicketEndTime),
7493
- _marked24 = /*#__PURE__*/regenerator_default.a.mark(handleTicketEndTimeInput),
7494
- _marked25 = /*#__PURE__*/regenerator_default.a.mark(handleTicketMove),
7495
- _marked26 = /*#__PURE__*/regenerator_default.a.mark(handler),
7496
- _marked27 = /*#__PURE__*/regenerator_default.a.mark(watchers);
7497
-
7498
- /**
7499
- * External Dependencies
7500
- */
7501
-
7502
-
7503
-
7504
- /**
7505
- * Wordpress dependencies
7506
- */
7507
-
7508
-
7509
-
7510
-
7511
- /**
7512
- * Internal dependencies
7513
- */
7514
-
7515
-
7516
-
7517
-
7518
-
7519
-
7520
-
7521
-
7522
-
7523
-
7524
-
7525
-
7526
-
7527
- var sagas_UNLIMITED = constants["UNLIMITED"],
7528
- sagas_SHARED = constants["SHARED"],
7529
- sagas_TICKET_TYPES = constants["TICKET_TYPES"],
7530
- PROVIDER_CLASS_TO_PROVIDER_MAPPING = constants["PROVIDER_CLASS_TO_PROVIDER_MAPPING"];
7531
- var sagas_ticketsConfig = external_tribe_common_utils_["globals"].tickets,
7532
- restNonce = external_tribe_common_utils_["globals"].restNonce,
7533
- tecDateSettings = external_tribe_common_utils_["globals"].tecDateSettings;
7534
- var wpREST = external_tribe_common_utils_["api"].wpREST;
7535
-
7536
-
7537
- function createMissingTicketBlocks(tickets) {
7538
- var _ref, insertBlock, _ref2, getBlockCount, getBlocks, ticketsBlocks;
7539
-
7540
- return regenerator_default.a.wrap(function createMissingTicketBlocks$(_context) {
7541
- while (1) {
7542
- switch (_context.prev = _context.next) {
7543
- case 0:
7544
- _context.next = 2;
7545
- return Object(effects["b" /* call */])(external_var_wp_data_root_wp_data_["dispatch"], 'core/editor');
7546
-
7547
- case 2:
7548
- _ref = _context.sent;
7549
- insertBlock = _ref.insertBlock;
7550
- _context.next = 6;
7551
- return Object(effects["b" /* call */])(external_var_wp_data_root_wp_data_["select"], 'core/editor');
7552
 
7553
  case 6:
7554
  _ref2 = _context.sent;
@@ -7573,7 +6796,7 @@ function createMissingTicketBlocks(tickets) {
7573
  };
7574
  var nextChildPosition = getBlockCount(clientId);
7575
  var block = Object(external_var_wp_blocks_root_wp_blocks_["createBlock"])('tribe/tickets-item', attributes);
7576
- insertBlock(block, nextChildPosition, clientId);
7577
  });
7578
  });
7579
 
@@ -7585,14 +6808,14 @@ function createMissingTicketBlocks(tickets) {
7585
  }, _marked, this);
7586
  }
7587
 
7588
- function sagas_setTicketsInitialState(action) {
7589
  var get, header, sharedCapacity, ticketsList, ticketsInBlock, ticketsDiff, provider, defaultProvider;
7590
  return regenerator_default.a.wrap(function setTicketsInitialState$(_context2) {
7591
  while (1) {
7592
  switch (_context2.prev = _context2.next) {
7593
  case 0:
7594
  get = action.payload.get;
7595
- header = parseInt(get('header', header_image_DEFAULT_STATE.id), 10);
7596
  sharedCapacity = get('sharedCapacity');
7597
  ticketsList = get('tickets', []);
7598
  _context2.next = 6;
@@ -7621,7 +6844,7 @@ function sagas_setTicketsInitialState(action) {
7621
  }
7622
 
7623
  _context2.next = 14;
7624
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketsSharedCapacity(sharedCapacity)), Object(effects["e" /* put */])(actions_setTicketsTempSharedCapacity(sharedCapacity))]);
7625
 
7626
  case 14:
7627
  if (!(!isNaN(header) && header !== 0)) {
@@ -7630,7 +6853,7 @@ function sagas_setTicketsInitialState(action) {
7630
  }
7631
 
7632
  _context2.next = 17;
7633
- return Object(effects["e" /* put */])(actions_fetchTicketsHeaderImage(header));
7634
 
7635
  case 17:
7636
  provider = get('provider', reducer_DEFAULT_STATE.provider);
@@ -7650,7 +6873,7 @@ function sagas_setTicketsInitialState(action) {
7650
 
7651
  case 23:
7652
  _context2.next = 25;
7653
- return Object(effects["e" /* put */])(actions_setTicketsProvider(provider));
7654
 
7655
  case 25:
7656
  case 'end':
@@ -7660,399 +6883,440 @@ function sagas_setTicketsInitialState(action) {
7660
  }, _marked2, this);
7661
  }
7662
 
7663
- function sagas_setTicketInitialState(action) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7664
  var _action$payload, clientId, get, ticketId, hasBeenCreated, datePickerFormat, publishDate, startMoment, startDate, startDateInput, startTime, startTimeInput, eventStart, endMoment, endDate, endDateInput, endTime, endTimeInput, sharedCapacity;
7665
 
7666
- return regenerator_default.a.wrap(function setTicketInitialState$(_context3) {
7667
  while (1) {
7668
- switch (_context3.prev = _context3.next) {
7669
  case 0:
7670
  _action$payload = action.payload, clientId = _action$payload.clientId, get = _action$payload.get;
7671
  ticketId = get('ticketId', ticket_DEFAULT_STATE.ticketId);
7672
  hasBeenCreated = get('hasBeenCreated', ticket_DEFAULT_STATE.hasBeenCreated);
7673
  datePickerFormat = tecDateSettings().datepickerFormat;
7674
- _context3.next = 6;
7675
  return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getEditedPostAttribute'], 'date');
7676
 
7677
  case 6:
7678
- publishDate = _context3.sent;
7679
- _context3.next = 9;
7680
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, publishDate);
7681
 
7682
  case 9:
7683
- startMoment = _context3.sent;
7684
- _context3.next = 12;
7685
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startMoment);
7686
 
7687
  case 12:
7688
- startDate = _context3.sent;
7689
- _context3.next = 15;
7690
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment);
7691
 
7692
  case 15:
7693
- startDateInput = _context3.sent;
7694
- _context3.next = 18;
7695
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, startMoment);
7696
 
7697
  case 18:
7698
- startTime = _context3.sent;
7699
- _context3.next = 21;
7700
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startMoment);
7701
 
7702
  case 21:
7703
- startTimeInput = _context3.sent;
7704
- _context3.next = 24;
7705
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketStartDate(clientId, startDate)), Object(effects["e" /* put */])(actions_setTicketStartDateInput(clientId, startDateInput)), Object(effects["e" /* put */])(actions_setTicketStartDateMoment(clientId, startMoment)), Object(effects["e" /* put */])(actions_setTicketStartTime(clientId, startTime)), Object(effects["e" /* put */])(actions_setTicketStartTimeInput(clientId, startTimeInput)), Object(effects["e" /* put */])(actions_setTicketTempStartDate(clientId, startDate)), Object(effects["e" /* put */])(actions_setTicketTempStartDateInput(clientId, startDateInput)), Object(effects["e" /* put */])(actions_setTicketTempStartDateMoment(clientId, startMoment)), Object(effects["e" /* put */])(actions_setTicketTempStartTime(clientId, startTime)), Object(effects["e" /* put */])(actions_setTicketTempStartTimeInput(clientId, startTimeInput)), Object(effects["e" /* put */])(actions_setTicketHasBeenCreated(clientId, hasBeenCreated))]);
7706
 
7707
  case 24:
7708
- _context3.prev = 24;
7709
- _context3.next = 27;
7710
  return Object(effects["f" /* select */])(tribe.events.data.blocks.datetime.selectors.getStart);
7711
 
7712
  case 27:
7713
- eventStart = _context3.sent;
7714
- _context3.next = 30;
7715
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, eventStart);
7716
 
7717
  case 30:
7718
- endMoment = _context3.sent;
7719
- _context3.next = 33;
7720
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endMoment);
7721
 
7722
  case 33:
7723
- endDate = _context3.sent;
7724
- _context3.next = 36;
7725
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment);
7726
 
7727
  case 36:
7728
- endDateInput = _context3.sent;
7729
- _context3.next = 39;
7730
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, endMoment);
7731
 
7732
  case 39:
7733
- endTime = _context3.sent;
7734
- _context3.next = 42;
7735
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endMoment);
7736
 
7737
  case 42:
7738
- endTimeInput = _context3.sent;
7739
- _context3.next = 45;
7740
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketEndDate(clientId, endDate)), Object(effects["e" /* put */])(actions_setTicketEndDateInput(clientId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketEndDateMoment(clientId, endMoment)), Object(effects["e" /* put */])(actions_setTicketEndTime(clientId, endTime)), Object(effects["e" /* put */])(actions_setTicketEndTimeInput(clientId, endTimeInput)), Object(effects["e" /* put */])(actions_setTicketTempEndDate(clientId, endDate)), Object(effects["e" /* put */])(actions_setTicketTempEndDateInput(clientId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketTempEndDateMoment(clientId, endMoment)), Object(effects["e" /* put */])(actions_setTicketTempEndTime(clientId, endTime)), Object(effects["e" /* put */])(actions_setTicketTempEndTimeInput(clientId, endTimeInput))]);
7741
 
7742
  case 45:
7743
- _context3.next = 50;
7744
  break;
7745
 
7746
  case 47:
7747
- _context3.prev = 47;
7748
- _context3.t0 = _context3['catch'](24);
7749
 
7750
- console.error(_context3.t0);
7751
  // ¯\_(ツ)_/¯
7752
 
7753
  case 50:
7754
- _context3.next = 52;
7755
  return Object(effects["f" /* select */])(getTicketsSharedCapacity);
7756
 
7757
  case 52:
7758
- sharedCapacity = _context3.sent;
7759
 
7760
  if (!sharedCapacity) {
7761
- _context3.next = 56;
7762
  break;
7763
  }
7764
 
7765
- _context3.next = 56;
7766
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketCapacity(clientId, sharedCapacity)), Object(effects["e" /* put */])(actions_setTicketTempCapacity(clientId, sharedCapacity))]);
7767
 
7768
  case 56:
7769
  if (!(ticketId !== 0)) {
7770
- _context3.next = 59;
7771
  break;
7772
  }
7773
 
7774
- _context3.next = 59;
7775
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketId(clientId, ticketId)), Object(effects["e" /* put */])(actions_fetchTicket(clientId, ticketId))]);
7776
 
7777
  case 59:
7778
  case 'end':
7779
- return _context3.stop();
7780
  }
7781
  }
7782
- }, _marked3, this, [[24, 47]]);
7783
  }
7784
 
7785
- function setBodyDetails(blockId) {
7786
  var body, props, ticketProvider, ticketsProvider, capacityType, capacity, isUnlimited;
7787
- return regenerator_default.a.wrap(function setBodyDetails$(_context4) {
7788
  while (1) {
7789
- switch (_context4.prev = _context4.next) {
7790
  case 0:
7791
  body = new FormData();
7792
- props = { blockId: blockId };
7793
- _context4.next = 4;
7794
  return Object(effects["f" /* select */])(getTicketProvider, props);
7795
 
7796
  case 4:
7797
- ticketProvider = _context4.sent;
7798
- _context4.next = 7;
7799
  return Object(effects["f" /* select */])(getTicketsProvider);
7800
 
7801
  case 7:
7802
- ticketsProvider = _context4.sent;
7803
 
7804
 
7805
  body.append('post_id', Object(external_var_wp_data_root_wp_data_["select"])('core/editor').getCurrentPostId());
7806
  body.append('provider', ticketProvider || ticketsProvider);
7807
- _context4.t0 = body;
7808
- _context4.next = 13;
7809
  return Object(effects["f" /* select */])(getTicketTempTitle, props);
7810
 
7811
  case 13:
7812
- _context4.t1 = _context4.sent;
7813
 
7814
- _context4.t0.append.call(_context4.t0, 'name', _context4.t1);
7815
 
7816
- _context4.t2 = body;
7817
- _context4.next = 18;
7818
  return Object(effects["f" /* select */])(getTicketTempDescription, props);
7819
 
7820
  case 18:
7821
- _context4.t3 = _context4.sent;
7822
 
7823
- _context4.t2.append.call(_context4.t2, 'description', _context4.t3);
7824
 
7825
- _context4.t4 = body;
7826
- _context4.next = 23;
7827
  return Object(effects["f" /* select */])(getTicketTempPrice, props);
7828
 
7829
  case 23:
7830
- _context4.t5 = _context4.sent;
7831
 
7832
- _context4.t4.append.call(_context4.t4, 'price', _context4.t5);
7833
 
7834
- _context4.t6 = body;
7835
- _context4.next = 28;
7836
  return Object(effects["f" /* select */])(getTicketTempStartDate, props);
7837
 
7838
  case 28:
7839
- _context4.t7 = _context4.sent;
7840
 
7841
- _context4.t6.append.call(_context4.t6, 'start_date', _context4.t7);
7842
 
7843
- _context4.t8 = body;
7844
- _context4.next = 33;
7845
  return Object(effects["f" /* select */])(getTicketTempStartTime, props);
7846
 
7847
  case 33:
7848
- _context4.t9 = _context4.sent;
7849
 
7850
- _context4.t8.append.call(_context4.t8, 'start_time', _context4.t9);
7851
 
7852
- _context4.t10 = body;
7853
- _context4.next = 38;
7854
  return Object(effects["f" /* select */])(getTicketTempEndDate, props);
7855
 
7856
  case 38:
7857
- _context4.t11 = _context4.sent;
7858
 
7859
- _context4.t10.append.call(_context4.t10, 'end_date', _context4.t11);
7860
 
7861
- _context4.t12 = body;
7862
- _context4.next = 43;
7863
  return Object(effects["f" /* select */])(getTicketTempEndTime, props);
7864
 
7865
  case 43:
7866
- _context4.t13 = _context4.sent;
7867
 
7868
- _context4.t12.append.call(_context4.t12, 'end_time', _context4.t13);
7869
 
7870
- _context4.t14 = body;
7871
- _context4.next = 48;
7872
  return Object(effects["f" /* select */])(getTicketTempSku, props);
7873
 
7874
  case 48:
7875
- _context4.t15 = _context4.sent;
7876
 
7877
- _context4.t14.append.call(_context4.t14, 'sku', _context4.t15);
7878
 
7879
- _context4.next = 52;
7880
  return Object(effects["f" /* select */])(getTicketTempCapacityType, props);
7881
 
7882
  case 52:
7883
- capacityType = _context4.sent;
7884
- _context4.next = 55;
7885
  return Object(effects["f" /* select */])(getTicketTempCapacity, props);
7886
 
7887
  case 55:
7888
- capacity = _context4.sent;
7889
  isUnlimited = capacityType === sagas_TICKET_TYPES[sagas_UNLIMITED];
7890
 
7891
  body.append('ticket[mode]', isUnlimited ? '' : capacityType);
7892
  body.append('ticket[capacity]', isUnlimited ? '' : capacity);
7893
 
7894
  if (!(capacityType === sagas_TICKET_TYPES[sagas_SHARED])) {
7895
- _context4.next = 65;
7896
  break;
7897
  }
7898
 
7899
- _context4.t16 = body;
7900
- _context4.next = 63;
7901
  return Object(effects["f" /* select */])(getTicketsTempSharedCapacity);
7902
 
7903
  case 63:
7904
- _context4.t17 = _context4.sent;
7905
 
7906
- _context4.t16.append.call(_context4.t16, 'ticket[event_capacity]', _context4.t17);
7907
 
7908
  case 65:
7909
- return _context4.abrupt('return', body);
7910
 
7911
  case 66:
7912
  case 'end':
7913
- return _context4.stop();
7914
  }
7915
  }
7916
- }, _marked4, this);
7917
  }
7918
 
7919
- function sagas_removeTicketBlock(blockId) {
7920
  var _wpDispatch, removeBlock;
7921
 
7922
- return regenerator_default.a.wrap(function removeTicketBlock$(_context5) {
7923
  while (1) {
7924
- switch (_context5.prev = _context5.next) {
7925
  case 0:
7926
  _wpDispatch = Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), removeBlock = _wpDispatch.removeBlock;
7927
- _context5.next = 3;
7928
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_removeTicketBlock(blockId)), Object(effects["b" /* call */])(removeBlock, blockId)]);
7929
 
7930
  case 3:
7931
  case 'end':
7932
- return _context5.stop();
7933
  }
7934
  }
7935
- }, _marked5, this);
7936
  }
7937
 
7938
- function sagas_fetchTicket(action) {
7939
- var _action$payload2, ticketId, blockId, _ref4, response, ticket, _ticket$status, status, provider, _ticket$totals, totals, available_from, available_until, cost_details, title, description, sku, capacity_type, capacity, datePickerFormat, startMoment, startDate, startDateInput, startTime, startTimeInput, endMoment, endDate, endDateInput, endTime, endTimeInput, details;
7940
 
7941
- return regenerator_default.a.wrap(function fetchTicket$(_context6) {
7942
  while (1) {
7943
- switch (_context6.prev = _context6.next) {
7944
  case 0:
7945
- _action$payload2 = action.payload, ticketId = _action$payload2.ticketId, blockId = _action$payload2.blockId;
7946
 
7947
  if (!(ticketId === 0)) {
7948
- _context6.next = 3;
7949
  break;
7950
  }
7951
 
7952
- return _context6.abrupt('return');
7953
 
7954
  case 3:
7955
- _context6.next = 5;
7956
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, true));
7957
 
7958
  case 5:
7959
- _context6.prev = 5;
7960
- _context6.next = 8;
7961
  return Object(effects["b" /* call */])(wpREST, {
7962
  path: 'tickets/' + ticketId,
7963
  namespace: 'tribe/tickets/v1'
7964
  });
7965
 
7966
  case 8:
7967
- _ref4 = _context6.sent;
7968
  response = _ref4.response;
7969
  ticket = _ref4.data;
7970
  _ticket$status = ticket.status, status = _ticket$status === undefined ? '' : _ticket$status, provider = ticket.provider;
7971
 
7972
  if (!(response.status === 404 || status === 'trash' || provider === constants["RSVP"])) {
7973
- _context6.next = 16;
7974
  break;
7975
  }
7976
 
7977
- _context6.next = 15;
7978
- return Object(effects["b" /* call */])(sagas_removeTicketBlock, blockId);
7979
 
7980
  case 15:
7981
- return _context6.abrupt('return');
7982
 
7983
  case 16:
7984
  if (!response.ok) {
7985
- _context6.next = 60;
7986
  break;
7987
  }
7988
 
7989
  _ticket$totals = ticket.totals, totals = _ticket$totals === undefined ? {} : _ticket$totals, available_from = ticket.available_from, available_until = ticket.available_until, cost_details = ticket.cost_details, title = ticket.title, description = ticket.description, sku = ticket.sku, capacity_type = ticket.capacity_type, capacity = ticket.capacity;
7990
  datePickerFormat = tecDateSettings().datepickerFormat;
7991
- _context6.next = 21;
7992
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, available_from);
7993
 
7994
  case 21:
7995
- startMoment = _context6.sent;
7996
- _context6.next = 24;
7997
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startMoment);
7998
 
7999
  case 24:
8000
- startDate = _context6.sent;
8001
- _context6.next = 27;
8002
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment);
8003
 
8004
  case 27:
8005
- startDateInput = _context6.sent;
8006
- _context6.next = 30;
8007
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, startMoment);
8008
 
8009
  case 30:
8010
- startTime = _context6.sent;
8011
- _context6.next = 33;
8012
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startMoment);
8013
 
8014
  case 33:
8015
- startTimeInput = _context6.sent;
8016
- _context6.next = 36;
8017
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, '');
8018
 
8019
  case 36:
8020
- endMoment = _context6.sent;
8021
  endDate = '';
8022
  endDateInput = '';
8023
  endTime = '';
8024
  endTimeInput = '';
8025
 
8026
  if (!available_until) {
8027
- _context6.next = 57;
8028
  break;
8029
  }
8030
 
8031
- _context6.next = 44;
8032
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, available_until);
8033
 
8034
  case 44:
8035
- endMoment = _context6.sent;
8036
- _context6.next = 47;
8037
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endMoment);
8038
 
8039
  case 47:
8040
- endDate = _context6.sent;
8041
- _context6.next = 50;
8042
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment);
8043
 
8044
  case 50:
8045
- endDateInput = _context6.sent;
8046
- _context6.next = 53;
8047
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, endMoment);
8048
 
8049
  case 53:
8050
- endTime = _context6.sent;
8051
- _context6.next = 56;
8052
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endMoment);
8053
 
8054
  case 56:
8055
- endTimeInput = _context6.sent;
8056
 
8057
  case 57:
8058
  details = {
@@ -8073,58 +7337,58 @@ function sagas_fetchTicket(action) {
8073
  capacityType: capacity_type,
8074
  capacity: capacity
8075
  };
8076
- _context6.next = 60;
8077
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketDetails(blockId, details)), Object(effects["e" /* put */])(actions_setTicketTempDetails(blockId, details)), Object(effects["e" /* put */])(actions_setTicketSold(blockId, totals.sold)), Object(effects["e" /* put */])(actions_setTicketAvailable(blockId, totals.stock)), Object(effects["e" /* put */])(actions_setTicketCurrencySymbol(blockId, cost_details.currency_symbol)), Object(effects["e" /* put */])(actions_setTicketCurrencyPosition(blockId, cost_details.currency_position)), Object(effects["e" /* put */])(actions_setTicketProvider(blockId, provider)), Object(effects["e" /* put */])(actions_setTicketHasBeenCreated(blockId, true))]);
8078
 
8079
  case 60:
8080
- _context6.next = 65;
8081
  break;
8082
 
8083
  case 62:
8084
- _context6.prev = 62;
8085
- _context6.t0 = _context6['catch'](5);
8086
 
8087
- console.error(_context6.t0);
8088
  /**
8089
  * @todo handle error scenario
8090
  */
8091
 
8092
  case 65:
8093
- _context6.next = 67;
8094
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, false));
8095
 
8096
  case 67:
8097
  case 'end':
8098
- return _context6.stop();
8099
  }
8100
  }
8101
- }, _marked6, this, [[5, 62]]);
8102
  }
8103
 
8104
- function sagas_createNewTicket(action) {
8105
- var blockId, props, _restNonce, _restNonce$add_ticket, add_ticket_nonce, body, _ref5, response, ticket, sharedCapacity, tempSharedCapacity, _ref6, _ref7, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
8106
 
8107
- return regenerator_default.a.wrap(function createNewTicket$(_context7) {
8108
  while (1) {
8109
- switch (_context7.prev = _context7.next) {
8110
  case 0:
8111
- blockId = action.payload.blockId;
8112
- props = { blockId: blockId };
8113
  _restNonce = restNonce(), _restNonce$add_ticket = _restNonce.add_ticket_nonce, add_ticket_nonce = _restNonce$add_ticket === undefined ? '' : _restNonce$add_ticket;
8114
- _context7.next = 5;
8115
- return Object(effects["b" /* call */])(setBodyDetails, blockId);
8116
 
8117
  case 5:
8118
- body = _context7.sent;
8119
 
8120
  body.append('add_ticket_nonce', add_ticket_nonce);
8121
 
8122
- _context7.prev = 7;
8123
- _context7.next = 10;
8124
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, true));
8125
 
8126
  case 10:
8127
- _context7.next = 12;
8128
  return Object(effects["b" /* call */])(wpREST, {
8129
  path: 'tickets/',
8130
  namespace: 'tribe/tickets/v1',
@@ -8135,40 +7399,40 @@ function sagas_createNewTicket(action) {
8135
  });
8136
 
8137
  case 12:
8138
- _ref5 = _context7.sent;
8139
  response = _ref5.response;
8140
  ticket = _ref5.data;
8141
 
8142
  if (!response.ok) {
8143
- _context7.next = 47;
8144
  break;
8145
  }
8146
 
8147
- _context7.next = 18;
8148
  return Object(effects["f" /* select */])(getTicketsSharedCapacity);
8149
 
8150
  case 18:
8151
- sharedCapacity = _context7.sent;
8152
- _context7.next = 21;
8153
  return Object(effects["f" /* select */])(getTicketsTempSharedCapacity);
8154
 
8155
  case 21:
8156
- tempSharedCapacity = _context7.sent;
8157
 
8158
  if (!(sharedCapacity === '' && !isNaN(tempSharedCapacity) && tempSharedCapacity > 0)) {
8159
- _context7.next = 25;
8160
  break;
8161
  }
8162
 
8163
- _context7.next = 25;
8164
- return Object(effects["e" /* put */])(actions_setTicketsSharedCapacity(tempSharedCapacity));
8165
 
8166
  case 25:
8167
- _context7.next = 27;
8168
  return Object(effects["a" /* all */])([Object(effects["f" /* select */])(getTicketTempTitle, props), Object(effects["f" /* select */])(getTicketTempDescription, props), Object(effects["f" /* select */])(getTicketTempPrice, props), Object(effects["f" /* select */])(getTicketTempSku, props), Object(effects["f" /* select */])(getTicketTempStartDate, props), Object(effects["f" /* select */])(getTicketTempStartDateInput, props), Object(effects["f" /* select */])(getTicketTempStartDateMoment, props), Object(effects["f" /* select */])(getTicketTempEndDate, props), Object(effects["f" /* select */])(getTicketTempEndDateInput, props), Object(effects["f" /* select */])(getTicketTempEndDateMoment, props), Object(effects["f" /* select */])(getTicketTempStartTime, props), Object(effects["f" /* select */])(getTicketTempEndTime, props), Object(effects["f" /* select */])(getTicketTempStartTimeInput, props), Object(effects["f" /* select */])(getTicketTempEndTimeInput, props), Object(effects["f" /* select */])(getTicketTempCapacityType, props), Object(effects["f" /* select */])(getTicketTempCapacity, props)]);
8169
 
8170
  case 27:
8171
- _ref6 = _context7.sent;
8172
  _ref7 = slicedToArray_default()(_ref6, 16);
8173
  title = _ref7[0];
8174
  description = _ref7[1];
@@ -8186,8 +7450,8 @@ function sagas_createNewTicket(action) {
8186
  endTimeInput = _ref7[13];
8187
  capacityType = _ref7[14];
8188
  capacity = _ref7[15];
8189
- _context7.next = 47;
8190
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketDetails(blockId, {
8191
  title: title,
8192
  description: description,
8193
  price: price,
@@ -8204,66 +7468,66 @@ function sagas_createNewTicket(action) {
8204
  endTimeInput: endTimeInput,
8205
  capacityType: capacityType,
8206
  capacity: capacity
8207
- })), Object(effects["e" /* put */])(actions_setTicketId(blockId, ticket.ID)), Object(effects["e" /* put */])(actions_setTicketHasBeenCreated(blockId, true)), Object(effects["e" /* put */])(actions_setTicketAvailable(blockId, ticket.capacity)), Object(effects["e" /* put */])(actions_setTicketProvider(blockId, PROVIDER_CLASS_TO_PROVIDER_MAPPING[ticket.provider_class])), Object(effects["e" /* put */])(actions_setTicketHasChanges(blockId, false))]);
8208
 
8209
  case 47:
8210
- _context7.next = 52;
8211
  break;
8212
 
8213
  case 49:
8214
- _context7.prev = 49;
8215
- _context7.t0 = _context7['catch'](7);
8216
 
8217
- console.error(_context7.t0);
8218
  /**
8219
  * @todo: handle error scenario
8220
  */
8221
 
8222
  case 52:
8223
- _context7.prev = 52;
8224
- _context7.next = 55;
8225
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, false));
8226
 
8227
  case 55:
8228
- return _context7.finish(52);
8229
 
8230
  case 56:
8231
  case 'end':
8232
- return _context7.stop();
8233
  }
8234
  }
8235
- }, _marked7, this, [[7, 49, 52, 56]]);
8236
  }
8237
 
8238
- function sagas_updateTicket(action) {
8239
- var blockId, props, _restNonce2, _restNonce2$edit_tick, edit_ticket_nonce, body, ticketId, data, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, _ref8, _ref9, key, value, _ref10, response, _ref11, _ref12, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
8240
 
8241
- return regenerator_default.a.wrap(function updateTicket$(_context8) {
8242
  while (1) {
8243
- switch (_context8.prev = _context8.next) {
8244
  case 0:
8245
- blockId = action.payload.blockId;
8246
- props = { blockId: blockId };
8247
  _restNonce2 = restNonce(), _restNonce2$edit_tick = _restNonce2.edit_ticket_nonce, edit_ticket_nonce = _restNonce2$edit_tick === undefined ? '' : _restNonce2$edit_tick;
8248
- _context8.next = 5;
8249
- return Object(effects["b" /* call */])(setBodyDetails, blockId);
8250
 
8251
  case 5:
8252
- body = _context8.sent;
8253
 
8254
  body.append('edit_ticket_nonce', edit_ticket_nonce);
8255
 
8256
- _context8.next = 9;
8257
  return Object(effects["f" /* select */])(getTicketId, props);
8258
 
8259
  case 9:
8260
- ticketId = _context8.sent;
8261
- _context8.prev = 10;
8262
  data = [];
8263
  _iteratorNormalCompletion = true;
8264
  _didIteratorError = false;
8265
  _iteratorError = undefined;
8266
- _context8.prev = 15;
8267
 
8268
  for (_iterator = body.entries()[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
8269
  _ref8 = _step.value;
@@ -8274,45 +7538,45 @@ function sagas_updateTicket(action) {
8274
  data.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));
8275
  }
8276
 
8277
- _context8.next = 23;
8278
  break;
8279
 
8280
  case 19:
8281
- _context8.prev = 19;
8282
- _context8.t0 = _context8['catch'](15);
8283
  _didIteratorError = true;
8284
- _iteratorError = _context8.t0;
8285
 
8286
  case 23:
8287
- _context8.prev = 23;
8288
- _context8.prev = 24;
8289
 
8290
  if (!_iteratorNormalCompletion && _iterator.return) {
8291
  _iterator.return();
8292
  }
8293
 
8294
  case 26:
8295
- _context8.prev = 26;
8296
 
8297
  if (!_didIteratorError) {
8298
- _context8.next = 29;
8299
  break;
8300
  }
8301
 
8302
  throw _iteratorError;
8303
 
8304
  case 29:
8305
- return _context8.finish(26);
8306
 
8307
  case 30:
8308
- return _context8.finish(23);
8309
 
8310
  case 31:
8311
- _context8.next = 33;
8312
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, true));
8313
 
8314
  case 33:
8315
- _context8.next = 35;
8316
  return Object(effects["b" /* call */])(wpREST, {
8317
  path: 'tickets/' + ticketId,
8318
  namespace: 'tribe/tickets/v1',
@@ -8326,19 +7590,19 @@ function sagas_updateTicket(action) {
8326
  });
8327
 
8328
  case 35:
8329
- _ref10 = _context8.sent;
8330
  response = _ref10.response;
8331
 
8332
  if (!response.ok) {
8333
- _context8.next = 60;
8334
  break;
8335
  }
8336
 
8337
- _context8.next = 40;
8338
  return Object(effects["a" /* all */])([Object(effects["f" /* select */])(getTicketTempTitle, props), Object(effects["f" /* select */])(getTicketTempDescription, props), Object(effects["f" /* select */])(getTicketTempPrice, props), Object(effects["f" /* select */])(getTicketTempSku, props), Object(effects["f" /* select */])(getTicketTempStartDate, props), Object(effects["f" /* select */])(getTicketTempStartDateInput, props), Object(effects["f" /* select */])(getTicketTempStartDateMoment, props), Object(effects["f" /* select */])(getTicketTempEndDate, props), Object(effects["f" /* select */])(getTicketTempEndDateInput, props), Object(effects["f" /* select */])(getTicketTempEndDateMoment, props), Object(effects["f" /* select */])(getTicketTempStartTime, props), Object(effects["f" /* select */])(getTicketTempEndTime, props), Object(effects["f" /* select */])(getTicketTempStartTimeInput, props), Object(effects["f" /* select */])(getTicketTempEndTimeInput, props), Object(effects["f" /* select */])(getTicketTempCapacityType, props), Object(effects["f" /* select */])(getTicketTempCapacity, props)]);
8339
 
8340
  case 40:
8341
- _ref11 = _context8.sent;
8342
  _ref12 = slicedToArray_default()(_ref11, 16);
8343
  title = _ref12[0];
8344
  description = _ref12[1];
@@ -8356,8 +7620,8 @@ function sagas_updateTicket(action) {
8356
  endTimeInput = _ref12[13];
8357
  capacityType = _ref12[14];
8358
  capacity = _ref12[15];
8359
- _context8.next = 60;
8360
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketDetails(blockId, {
8361
  title: title,
8362
  description: description,
8363
  price: price,
@@ -8374,81 +7638,81 @@ function sagas_updateTicket(action) {
8374
  endTimeInput: endTimeInput,
8375
  capacityType: capacityType,
8376
  capacity: capacity
8377
- })), Object(effects["e" /* put */])(actions_setTicketHasChanges(blockId, false))]);
8378
 
8379
  case 60:
8380
- _context8.next = 65;
8381
  break;
8382
 
8383
  case 62:
8384
- _context8.prev = 62;
8385
- _context8.t1 = _context8['catch'](10);
8386
 
8387
- console.error(_context8.t1);
8388
  /**
8389
  * @todo: handle error scenario
8390
  */
8391
 
8392
  case 65:
8393
- _context8.prev = 65;
8394
- _context8.next = 68;
8395
- return Object(effects["e" /* put */])(actions_setTicketIsLoading(blockId, false));
8396
 
8397
  case 68:
8398
- return _context8.finish(65);
8399
 
8400
  case 69:
8401
  case 'end':
8402
- return _context8.stop();
8403
  }
8404
  }
8405
- }, _marked8, this, [[10, 62, 65, 69], [15, 19, 23, 31], [24,, 26, 30]]);
8406
  }
8407
 
8408
- function sagas_deleteTicket(action) {
8409
- var blockId, props, shouldDelete, ticketId, hasBeenCreated, _restNonce3, _restNonce3$remove_ti, remove_ticket_nonce, postId, body;
8410
 
8411
- return regenerator_default.a.wrap(function deleteTicket$(_context9) {
8412
  while (1) {
8413
- switch (_context9.prev = _context9.next) {
8414
  case 0:
8415
- blockId = action.payload.blockId;
8416
- props = { blockId: blockId };
8417
- _context9.next = 4;
8418
  return Object(effects["b" /* call */])([window, 'confirm'], Object(external_var_wp_i18n_root_wp_i18n_["__"])('Are you sure you want to delete this ticket? It cannot be undone.'));
8419
 
8420
  case 4:
8421
- shouldDelete = _context9.sent;
8422
 
8423
  if (!shouldDelete) {
8424
- _context9.next = 29;
8425
  break;
8426
  }
8427
 
8428
- _context9.next = 8;
8429
  return Object(effects["f" /* select */])(getTicketId, props);
8430
 
8431
  case 8:
8432
- ticketId = _context9.sent;
8433
- _context9.next = 11;
8434
  return Object(effects["f" /* select */])(getTicketHasBeenCreated, props);
8435
 
8436
  case 11:
8437
- hasBeenCreated = _context9.sent;
8438
- _context9.next = 14;
8439
- return Object(effects["e" /* put */])(actions_setTicketIsSelected(blockId, false));
8440
 
8441
  case 14:
8442
- _context9.next = 16;
8443
- return Object(effects["e" /* put */])(actions_removeTicketBlock(blockId));
8444
 
8445
  case 16:
8446
- _context9.next = 18;
8447
- return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [blockId]);
8448
 
8449
  case 18:
8450
  if (!hasBeenCreated) {
8451
- _context9.next = 29;
8452
  break;
8453
  }
8454
 
@@ -8461,8 +7725,8 @@ function sagas_deleteTicket(action) {
8461
  */
8462
 
8463
  body = [encodeURIComponent('post_id') + '=' + encodeURIComponent(postId), encodeURIComponent('remove_ticket_nonce') + '=' + encodeURIComponent(remove_ticket_nonce)];
8464
- _context9.prev = 22;
8465
- _context9.next = 25;
8466
  return Object(effects["b" /* call */])(wpREST, {
8467
  path: 'tickets/' + ticketId,
8468
  namespace: 'tribe/tickets/v1',
@@ -8476,44 +7740,44 @@ function sagas_deleteTicket(action) {
8476
  });
8477
 
8478
  case 25:
8479
- _context9.next = 29;
8480
  break;
8481
 
8482
  case 27:
8483
- _context9.prev = 27;
8484
- _context9.t0 = _context9['catch'](22);
8485
 
8486
  case 29:
8487
  case 'end':
8488
- return _context9.stop();
8489
  }
8490
  }
8491
- }, _marked9, this, [[22, 27]]);
8492
  }
8493
 
8494
- function sagas_fetchTicketsHeaderImage(action) {
8495
  var id, _ref13, response, media, headerImage;
8496
 
8497
- return regenerator_default.a.wrap(function fetchTicketsHeaderImage$(_context10) {
8498
  while (1) {
8499
- switch (_context10.prev = _context10.next) {
8500
  case 0:
8501
  id = action.payload.id;
8502
- _context10.next = 3;
8503
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(true));
8504
 
8505
  case 3:
8506
- _context10.prev = 3;
8507
- _context10.next = 6;
8508
  return Object(effects["b" /* call */])(wpREST, { path: 'media/' + id });
8509
 
8510
  case 6:
8511
- _ref13 = _context10.sent;
8512
  response = _ref13.response;
8513
  media = _ref13.data;
8514
 
8515
  if (!response.ok) {
8516
- _context10.next = 13;
8517
  break;
8518
  }
8519
 
@@ -8522,56 +7786,64 @@ function sagas_fetchTicketsHeaderImage(action) {
8522
  alt: media.alt_text,
8523
  src: media.media_details.sizes.medium.source_url
8524
  };
8525
- _context10.next = 13;
8526
- return Object(effects["e" /* put */])(actions_setTicketsHeaderImage(headerImage));
8527
 
8528
  case 13:
8529
- _context10.next = 18;
8530
  break;
8531
 
8532
  case 15:
8533
- _context10.prev = 15;
8534
- _context10.t0 = _context10['catch'](3);
8535
 
8536
- console.error(_context10.t0);
8537
  /**
8538
  * @todo: handle error scenario
8539
  */
8540
 
8541
  case 18:
8542
- _context10.prev = 18;
8543
- _context10.next = 21;
8544
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(false));
8545
 
8546
  case 21:
8547
- return _context10.finish(18);
8548
 
8549
  case 22:
8550
  case 'end':
8551
- return _context10.stop();
8552
  }
8553
  }
8554
- }, _marked10, this, [[3, 15, 18, 22]]);
8555
  }
8556
 
8557
- function sagas_updateTicketsHeaderImage(action) {
8558
- var image, postId, body, _ref14, response;
8559
 
8560
- return regenerator_default.a.wrap(function updateTicketsHeaderImage$(_context11) {
8561
  while (1) {
8562
- switch (_context11.prev = _context11.next) {
8563
  case 0:
8564
  image = action.payload.image;
8565
- postId = Object(external_var_wp_data_root_wp_data_["select"])('core/editor').getCurrentPostId();
 
 
 
 
8566
  body = {
8567
  meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], '' + image.id)
8568
  };
8569
- _context11.prev = 3;
8570
- _context11.next = 6;
8571
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(true));
8572
 
8573
- case 6:
8574
- _context11.next = 8;
 
 
 
 
8575
  return Object(effects["b" /* call */])(wpREST, {
8576
  path: 'tribe_events/' + postId,
8577
  headers: {
@@ -8583,63 +7855,84 @@ function sagas_updateTicketsHeaderImage(action) {
8583
  }
8584
  });
8585
 
8586
- case 8:
8587
- _ref14 = _context11.sent;
8588
  response = _ref14.response;
8589
 
8590
  if (!response.ok) {
8591
- _context11.next = 13;
8592
  break;
8593
  }
8594
 
8595
- _context11.next = 13;
8596
- return Object(effects["e" /* put */])(actions_setTicketsHeaderImage({
8597
  id: image.id,
8598
  alt: image.alt,
8599
  src: image.sizes.medium.url
8600
- }));
 
 
 
8601
 
8602
- case 13:
8603
- _context11.next = 17;
 
 
 
 
 
 
 
8604
  break;
8605
 
8606
- case 15:
8607
- _context11.prev = 15;
8608
- _context11.t0 = _context11['catch'](3);
8609
 
8610
- case 17:
8611
- _context11.prev = 17;
8612
- _context11.next = 20;
8613
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(false));
8614
 
8615
- case 20:
8616
- return _context11.finish(17);
 
8617
 
8618
- case 21:
 
 
 
8619
  case 'end':
8620
- return _context11.stop();
8621
  }
8622
  }
8623
- }, _marked11, this, [[3, 15, 17, 21]]);
8624
  }
8625
 
8626
- function sagas_deleteTicketsHeaderImage() {
8627
  var postId, body, _ref15, response;
8628
 
8629
- return regenerator_default.a.wrap(function deleteTicketsHeaderImage$(_context12) {
8630
  while (1) {
8631
- switch (_context12.prev = _context12.next) {
8632
  case 0:
8633
- postId = Object(external_var_wp_data_root_wp_data_["select"])('core/editor').getCurrentPostId();
 
 
 
 
8634
  body = {
8635
  meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], null)
8636
  };
8637
- _context12.prev = 2;
8638
- _context12.next = 5;
8639
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(true));
8640
 
8641
- case 5:
8642
- _context12.next = 7;
 
 
 
 
8643
  return Object(effects["b" /* call */])(wpREST, {
8644
  path: 'tribe_events/' + postId,
8645
  headers: {
@@ -8651,80 +7944,88 @@ function sagas_deleteTicketsHeaderImage() {
8651
  }
8652
  });
8653
 
8654
- case 7:
8655
- _ref15 = _context12.sent;
8656
  response = _ref15.response;
8657
 
8658
  if (!response.ok) {
8659
- _context12.next = 12;
8660
  break;
8661
  }
8662
 
8663
- _context12.next = 12;
8664
- return Object(effects["e" /* put */])(actions_setTicketsHeaderImage(header_image_DEFAULT_STATE));
8665
 
8666
- case 12:
8667
- _context12.next = 16;
 
 
 
 
8668
  break;
8669
 
8670
- case 14:
8671
- _context12.prev = 14;
8672
- _context12.t0 = _context12['catch'](2);
8673
 
8674
- case 16:
8675
- _context12.prev = 16;
8676
- _context12.next = 19;
8677
- return Object(effects["e" /* put */])(actions_setTicketsIsSettingsLoading(false));
8678
 
8679
- case 19:
8680
- return _context12.finish(16);
 
8681
 
8682
- case 20:
 
 
 
8683
  case 'end':
8684
- return _context12.stop();
8685
  }
8686
  }
8687
- }, _marked12, this, [[2, 14, 16, 20]]);
8688
  }
8689
 
8690
- function sagas_setTicketDetails(action) {
8691
- var _action$payload3, blockId, details, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
8692
 
8693
- return regenerator_default.a.wrap(function setTicketDetails$(_context13) {
8694
  while (1) {
8695
- switch (_context13.prev = _context13.next) {
8696
  case 0:
8697
- _action$payload3 = action.payload, blockId = _action$payload3.blockId, details = _action$payload3.details;
8698
  title = details.title, description = details.description, price = details.price, sku = details.sku, startDate = details.startDate, startDateInput = details.startDateInput, startDateMoment = details.startDateMoment, endDate = details.endDate, endDateInput = details.endDateInput, endDateMoment = details.endDateMoment, startTime = details.startTime, endTime = details.endTime, startTimeInput = details.startTimeInput, endTimeInput = details.endTimeInput, capacityType = details.capacityType, capacity = details.capacity;
8699
- _context13.next = 4;
8700
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketTitle(blockId, title)), Object(effects["e" /* put */])(actions_setTicketDescription(blockId, description)), Object(effects["e" /* put */])(actions_setTicketPrice(blockId, price)), Object(effects["e" /* put */])(actions_setTicketSku(blockId, sku)), Object(effects["e" /* put */])(actions_setTicketStartDate(blockId, startDate)), Object(effects["e" /* put */])(actions_setTicketStartDateInput(blockId, startDateInput)), Object(effects["e" /* put */])(actions_setTicketStartDateMoment(blockId, startDateMoment)), Object(effects["e" /* put */])(actions_setTicketEndDate(blockId, endDate)), Object(effects["e" /* put */])(actions_setTicketEndDateInput(blockId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketEndDateMoment(blockId, endDateMoment)), Object(effects["e" /* put */])(actions_setTicketStartTime(blockId, startTime)), Object(effects["e" /* put */])(actions_setTicketEndTime(blockId, endTime)), Object(effects["e" /* put */])(actions_setTicketStartTimeInput(blockId, startTimeInput)), Object(effects["e" /* put */])(actions_setTicketEndTimeInput(blockId, endTimeInput)), Object(effects["e" /* put */])(actions_setTicketCapacityType(blockId, capacityType)), Object(effects["e" /* put */])(actions_setTicketCapacity(blockId, capacity))]);
8701
 
8702
  case 4:
8703
  case 'end':
8704
- return _context13.stop();
8705
  }
8706
  }
8707
- }, _marked13, this);
8708
  }
8709
 
8710
- function sagas_setTicketTempDetails(action) {
8711
- var _action$payload4, blockId, tempDetails, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
8712
 
8713
- return regenerator_default.a.wrap(function setTicketTempDetails$(_context14) {
8714
  while (1) {
8715
- switch (_context14.prev = _context14.next) {
8716
  case 0:
8717
- _action$payload4 = action.payload, blockId = _action$payload4.blockId, tempDetails = _action$payload4.tempDetails;
8718
  title = tempDetails.title, description = tempDetails.description, price = tempDetails.price, sku = tempDetails.sku, startDate = tempDetails.startDate, startDateInput = tempDetails.startDateInput, startDateMoment = tempDetails.startDateMoment, endDate = tempDetails.endDate, endDateInput = tempDetails.endDateInput, endDateMoment = tempDetails.endDateMoment, startTime = tempDetails.startTime, endTime = tempDetails.endTime, startTimeInput = tempDetails.startTimeInput, endTimeInput = tempDetails.endTimeInput, capacityType = tempDetails.capacityType, capacity = tempDetails.capacity;
8719
- _context14.next = 4;
8720
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketTempTitle(blockId, title)), Object(effects["e" /* put */])(actions_setTicketTempDescription(blockId, description)), Object(effects["e" /* put */])(actions_setTicketTempPrice(blockId, price)), Object(effects["e" /* put */])(actions_setTicketTempSku(blockId, sku)), Object(effects["e" /* put */])(actions_setTicketTempStartDate(blockId, startDate)), Object(effects["e" /* put */])(actions_setTicketTempStartDateInput(blockId, startDateInput)), Object(effects["e" /* put */])(actions_setTicketTempStartDateMoment(blockId, startDateMoment)), Object(effects["e" /* put */])(actions_setTicketTempEndDate(blockId, endDate)), Object(effects["e" /* put */])(actions_setTicketTempEndDateInput(blockId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketTempEndDateMoment(blockId, endDateMoment)), Object(effects["e" /* put */])(actions_setTicketTempStartTime(blockId, startTime)), Object(effects["e" /* put */])(actions_setTicketTempEndTime(blockId, endTime)), Object(effects["e" /* put */])(actions_setTicketTempStartTimeInput(blockId, startTimeInput)), Object(effects["e" /* put */])(actions_setTicketTempEndTimeInput(blockId, endTimeInput)), Object(effects["e" /* put */])(actions_setTicketTempCapacityType(blockId, capacityType)), Object(effects["e" /* put */])(actions_setTicketTempCapacity(blockId, capacity))]);
8721
 
8722
  case 4:
8723
  case 'end':
8724
- return _context14.stop();
8725
  }
8726
  }
8727
- }, _marked14, this);
8728
  }
8729
 
8730
  /**
@@ -8735,63 +8036,63 @@ function sagas_setTicketTempDetails(action) {
8735
  */
8736
  function saveTicketWithPostSave(blockId) {
8737
  var saveChannel;
8738
- return regenerator_default.a.wrap(function saveTicketWithPostSave$(_context15) {
8739
  while (1) {
8740
- switch (_context15.prev = _context15.next) {
8741
  case 0:
8742
  saveChannel = void 0;
8743
- _context15.prev = 1;
8744
- _context15.next = 4;
8745
  return Object(effects["f" /* select */])(getTicketHasBeenCreated, { blockId: blockId });
8746
 
8747
  case 4:
8748
- if (!_context15.sent) {
8749
- _context15.next = 12;
8750
  break;
8751
  }
8752
 
8753
- _context15.next = 7;
8754
  return Object(effects["b" /* call */])(sagas["b" /* createWPEditorSavingChannel */]);
8755
 
8756
  case 7:
8757
- saveChannel = _context15.sent;
8758
- _context15.next = 10;
8759
  return Object(effects["g" /* take */])(saveChannel);
8760
 
8761
  case 10:
8762
- _context15.next = 12;
8763
- return Object(effects["b" /* call */])(sagas_updateTicket, { payload: { blockId: blockId } });
8764
 
8765
  case 12:
8766
- _context15.next = 17;
8767
  break;
8768
 
8769
  case 14:
8770
- _context15.prev = 14;
8771
- _context15.t0 = _context15['catch'](1);
8772
 
8773
- console.error(_context15.t0);
8774
 
8775
  case 17:
8776
- _context15.prev = 17;
8777
 
8778
  if (!saveChannel) {
8779
- _context15.next = 21;
8780
  break;
8781
  }
8782
 
8783
- _context15.next = 21;
8784
  return Object(effects["b" /* call */])([saveChannel, 'close']);
8785
 
8786
  case 21:
8787
- return _context15.finish(17);
8788
 
8789
  case 22:
8790
  case 'end':
8791
- return _context15.stop();
8792
  }
8793
  }
8794
- }, _marked15, this, [[1, 14, 17, 22]]);
8795
  }
8796
 
8797
  /**
@@ -8801,38 +8102,38 @@ function saveTicketWithPostSave(blockId) {
8801
  */
8802
  function syncTicketsSaleEndWithEventStart(prevStartDate) {
8803
  var ticketIds, index, blockId;
8804
- return regenerator_default.a.wrap(function syncTicketsSaleEndWithEventStart$(_context16) {
8805
  while (1) {
8806
- switch (_context16.prev = _context16.next) {
8807
  case 0:
8808
- _context16.next = 2;
8809
- return Object(effects["f" /* select */])(getAllTicketIds);
8810
 
8811
  case 2:
8812
- ticketIds = _context16.sent;
8813
  index = 0;
8814
 
8815
  case 4:
8816
  if (!(index < ticketIds.length)) {
8817
- _context16.next = 11;
8818
  break;
8819
  }
8820
 
8821
  blockId = ticketIds[index];
8822
- _context16.next = 8;
8823
  return Object(effects["b" /* call */])(syncTicketSaleEndWithEventStart, prevStartDate, blockId);
8824
 
8825
  case 8:
8826
  index++;
8827
- _context16.next = 4;
8828
  break;
8829
 
8830
  case 11:
8831
  case 'end':
8832
- return _context16.stop();
8833
  }
8834
  }
8835
- }, _marked16, this);
8836
  }
8837
 
8838
  /**
@@ -8844,92 +8145,92 @@ function syncTicketsSaleEndWithEventStart(prevStartDate) {
8844
  function syncTicketSaleEndWithEventStart(prevStartDate, blockId) {
8845
  var tempEndMoment, endMoment, _ref16, prevEventStartMoment, isNotManuallyEdited, isSyncedToEventStart, eventStart, _ref17, endDateMoment, endDate, endDateInput, endTime, endTimeInput;
8846
 
8847
- return regenerator_default.a.wrap(function syncTicketSaleEndWithEventStart$(_context17) {
8848
  while (1) {
8849
- switch (_context17.prev = _context17.next) {
8850
  case 0:
8851
- _context17.prev = 0;
8852
- _context17.next = 3;
8853
  return Object(effects["f" /* select */])(getTicketTempEndDateMoment, { blockId: blockId });
8854
 
8855
  case 3:
8856
- tempEndMoment = _context17.sent;
8857
- _context17.next = 6;
8858
  return Object(effects["f" /* select */])(getTicketEndDateMoment, { blockId: blockId });
8859
 
8860
  case 6:
8861
- endMoment = _context17.sent;
8862
- _context17.next = 9;
8863
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], prevStartDate);
8864
 
8865
  case 9:
8866
- _ref16 = _context17.sent;
8867
  prevEventStartMoment = _ref16.moment;
8868
- _context17.next = 13;
8869
  return Object(effects["a" /* all */])([Object(effects["b" /* call */])([tempEndMoment, 'local']), Object(effects["b" /* call */])([endMoment, 'local']), Object(effects["b" /* call */])([prevEventStartMoment, 'local'])]);
8870
 
8871
  case 13:
8872
- _context17.next = 15;
8873
  return Object(effects["b" /* call */])([tempEndMoment, 'isSame'], endMoment, 'minute');
8874
 
8875
  case 15:
8876
- isNotManuallyEdited = _context17.sent;
8877
- _context17.next = 18;
8878
  return Object(effects["b" /* call */])([tempEndMoment, 'isSame'], prevEventStartMoment, 'minute');
8879
 
8880
  case 18:
8881
- isSyncedToEventStart = _context17.sent;
8882
 
8883
  if (!(isNotManuallyEdited && isSyncedToEventStart)) {
8884
- _context17.next = 35;
8885
  break;
8886
  }
8887
 
8888
- _context17.next = 22;
8889
  return Object(effects["f" /* select */])(window.tribe.events.data.blocks.datetime.selectors.getStart);
8890
 
8891
  case 22:
8892
- eventStart = _context17.sent;
8893
- _context17.next = 25;
8894
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], eventStart);
8895
 
8896
  case 25:
8897
- _ref17 = _context17.sent;
8898
  endDateMoment = _ref17.moment;
8899
  endDate = _ref17.date;
8900
  endDateInput = _ref17.dateInput;
8901
  endTime = _ref17.time;
8902
  endTimeInput = _ref17.timeInput;
8903
- _context17.next = 33;
8904
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setTicketTempEndDate(blockId, endDate)), Object(effects["e" /* put */])(actions_setTicketTempEndDateInput(blockId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketTempEndDateMoment(blockId, endDateMoment)), Object(effects["e" /* put */])(actions_setTicketTempEndTime(blockId, endTime)), Object(effects["e" /* put */])(actions_setTicketTempEndTimeInput(blockId, endTimeInput)),
8905
 
8906
  // Sync Ticket end items as well so as not to make state 'manually edited'
8907
- Object(effects["e" /* put */])(actions_setTicketEndDate(blockId, endDate)), Object(effects["e" /* put */])(actions_setTicketEndDateInput(blockId, endDateInput)), Object(effects["e" /* put */])(actions_setTicketEndDateMoment(blockId, endDateMoment)), Object(effects["e" /* put */])(actions_setTicketEndTime(blockId, endTime)), Object(effects["e" /* put */])(actions_setTicketEndTimeInput(blockId, endTimeInput)),
8908
 
8909
  // Trigger UI button
8910
- Object(effects["e" /* put */])(actions_setTicketHasChanges(blockId, true))]);
8911
 
8912
  case 33:
8913
- _context17.next = 35;
8914
  return Object(effects["d" /* fork */])(saveTicketWithPostSave, blockId);
8915
 
8916
  case 35:
8917
- _context17.next = 40;
8918
  break;
8919
 
8920
  case 37:
8921
- _context17.prev = 37;
8922
- _context17.t0 = _context17['catch'](0);
8923
 
8924
  // ¯\_(ツ)_/¯
8925
- console.error(_context17.t0);
8926
 
8927
  case 40:
8928
  case 'end':
8929
- return _context17.stop();
8930
  }
8931
  }
8932
- }, _marked17, this, [[0, 37]]);
8933
  }
8934
 
8935
  /**
@@ -8940,32 +8241,32 @@ function syncTicketSaleEndWithEventStart(prevStartDate, blockId) {
8940
  function handleEventStartDateChanges() {
8941
  var postTypeChannel, isEvent, _window$tribe$events$, SET_START_DATE_TIME, SET_START_TIME, syncTask, eventStart;
8942
 
8943
- return regenerator_default.a.wrap(function handleEventStartDateChanges$(_context18) {
8944
  while (1) {
8945
- switch (_context18.prev = _context18.next) {
8946
  case 0:
8947
- _context18.prev = 0;
8948
- _context18.next = 3;
8949
  return Object(effects["b" /* call */])(sagas["c" /* hasPostTypeChannel */]);
8950
 
8951
  case 3:
8952
- postTypeChannel = _context18.sent;
8953
- _context18.next = 6;
8954
  return Object(effects["g" /* take */])(postTypeChannel);
8955
 
8956
  case 6:
8957
- _context18.next = 8;
8958
  return Object(effects["b" /* call */])([postTypeChannel, 'close']);
8959
 
8960
  case 8:
8961
- _context18.next = 10;
8962
  return Object(effects["b" /* call */])(sagas["d" /* isTribeEventPostType */]);
8963
 
8964
  case 10:
8965
- isEvent = _context18.sent;
8966
 
8967
  if (!(isEvent && window.tribe.events)) {
8968
- _context18.next = 28;
8969
  break;
8970
  }
8971
 
@@ -8975,463 +8276,470 @@ function handleEventStartDateChanges() {
8975
  case 14:
8976
  if (false) {}
8977
 
8978
- _context18.next = 17;
8979
  return Object(effects["f" /* select */])(window.tribe.events.data.blocks.datetime.selectors.getStart);
8980
 
8981
  case 17:
8982
- eventStart = _context18.sent;
8983
- _context18.next = 20;
8984
  return Object(effects["g" /* take */])([SET_START_DATE_TIME, SET_START_TIME]);
8985
 
8986
  case 20:
8987
  if (!syncTask) {
8988
- _context18.next = 23;
8989
  break;
8990
  }
8991
 
8992
- _context18.next = 23;
8993
  return Object(effects["c" /* cancel */])(syncTask);
8994
 
8995
  case 23:
8996
- _context18.next = 25;
8997
  return Object(effects["d" /* fork */])(syncTicketsSaleEndWithEventStart, eventStart);
8998
 
8999
  case 25:
9000
- syncTask = _context18.sent;
9001
- _context18.next = 14;
9002
  break;
9003
 
9004
  case 28:
9005
- _context18.next = 33;
9006
  break;
9007
 
9008
  case 30:
9009
- _context18.prev = 30;
9010
- _context18.t0 = _context18['catch'](0);
9011
 
9012
  // ¯\_(ツ)_/¯
9013
- console.error(_context18.t0);
9014
 
9015
  case 33:
9016
  case 'end':
9017
- return _context18.stop();
9018
  }
9019
  }
9020
- }, _marked18, this, [[0, 30]]);
9021
  }
9022
 
9023
- function sagas_handleTicketStartDate(action) {
9024
- var _action$payload5, blockId, date, dayPickerInput, startDateMoment, startDate;
9025
 
9026
- return regenerator_default.a.wrap(function handleTicketStartDate$(_context19) {
9027
  while (1) {
9028
- switch (_context19.prev = _context19.next) {
9029
  case 0:
9030
- _action$payload5 = action.payload, blockId = _action$payload5.blockId, date = _action$payload5.date, dayPickerInput = _action$payload5.dayPickerInput;
9031
- _context19.next = 3;
9032
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, date) : undefined;
9033
 
9034
  case 3:
9035
- startDateMoment = _context19.sent;
9036
- _context19.next = 6;
9037
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startDateMoment) : '';
9038
 
9039
  case 6:
9040
- startDate = _context19.sent;
9041
- _context19.next = 9;
9042
- return Object(effects["e" /* put */])(actions_setTicketTempStartDate(blockId, startDate));
9043
 
9044
  case 9:
9045
- _context19.next = 11;
9046
- return Object(effects["e" /* put */])(actions_setTicketTempStartDateInput(blockId, dayPickerInput.state.value));
9047
 
9048
  case 11:
9049
- _context19.next = 13;
9050
- return Object(effects["e" /* put */])(actions_setTicketTempStartDateMoment(blockId, startDateMoment));
9051
 
9052
  case 13:
9053
  case 'end':
9054
- return _context19.stop();
9055
  }
9056
  }
9057
- }, _marked19, this);
9058
  }
9059
 
9060
- function sagas_handleTicketEndDate(action) {
9061
- var _action$payload6, blockId, date, dayPickerInput, endDateMoment, endDate;
9062
 
9063
- return regenerator_default.a.wrap(function handleTicketEndDate$(_context20) {
9064
  while (1) {
9065
- switch (_context20.prev = _context20.next) {
9066
  case 0:
9067
- _action$payload6 = action.payload, blockId = _action$payload6.blockId, date = _action$payload6.date, dayPickerInput = _action$payload6.dayPickerInput;
9068
- _context20.next = 3;
9069
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, date) : undefined;
9070
 
9071
  case 3:
9072
- endDateMoment = _context20.sent;
9073
- _context20.next = 6;
9074
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endDateMoment) : '';
9075
 
9076
  case 6:
9077
- endDate = _context20.sent;
9078
- _context20.next = 9;
9079
- return Object(effects["e" /* put */])(actions_setTicketTempEndDate(blockId, endDate));
9080
 
9081
  case 9:
9082
- _context20.next = 11;
9083
- return Object(effects["e" /* put */])(actions_setTicketTempEndDateInput(blockId, dayPickerInput.state.value));
9084
 
9085
  case 11:
9086
- _context20.next = 13;
9087
- return Object(effects["e" /* put */])(actions_setTicketTempEndDateMoment(blockId, endDateMoment));
9088
 
9089
  case 13:
9090
  case 'end':
9091
- return _context20.stop();
9092
  }
9093
  }
9094
- }, _marked20, this);
9095
  }
9096
 
9097
- function sagas_handleTicketStartTime(action) {
9098
- var _action$payload7, blockId, seconds, startTime;
9099
 
9100
- return regenerator_default.a.wrap(function handleTicketStartTime$(_context21) {
9101
  while (1) {
9102
- switch (_context21.prev = _context21.next) {
9103
  case 0:
9104
- _action$payload7 = action.payload, blockId = _action$payload7.blockId, seconds = _action$payload7.seconds;
9105
- _context21.next = 3;
9106
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
9107
 
9108
  case 3:
9109
- startTime = _context21.sent;
9110
- _context21.next = 6;
9111
- return Object(effects["e" /* put */])(actions_setTicketTempStartTime(blockId, startTime + ':00'));
9112
 
9113
  case 6:
9114
  case 'end':
9115
- return _context21.stop();
9116
  }
9117
  }
9118
- }, _marked21, this);
9119
  }
9120
 
9121
  function handleTicketStartTimeInput(action) {
9122
- var _action$payload8, blockId, seconds, startTime, startTimeMoment, startTimeInput;
9123
 
9124
- return regenerator_default.a.wrap(function handleTicketStartTimeInput$(_context22) {
9125
  while (1) {
9126
- switch (_context22.prev = _context22.next) {
9127
  case 0:
9128
- _action$payload8 = action.payload, blockId = _action$payload8.blockId, seconds = _action$payload8.seconds;
9129
- _context22.next = 3;
9130
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
9131
 
9132
  case 3:
9133
- startTime = _context22.sent;
9134
- _context22.next = 6;
9135
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, startTime, external_tribe_common_utils_["moment"].TIME_FORMAT, false);
9136
 
9137
  case 6:
9138
- startTimeMoment = _context22.sent;
9139
- _context22.next = 9;
9140
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startTimeMoment);
9141
 
9142
  case 9:
9143
- startTimeInput = _context22.sent;
9144
- _context22.next = 12;
9145
- return Object(effects["e" /* put */])(actions_setTicketTempStartTimeInput(blockId, startTimeInput));
9146
 
9147
  case 12:
9148
  case 'end':
9149
- return _context22.stop();
9150
  }
9151
  }
9152
- }, _marked22, this);
9153
  }
9154
 
9155
- function sagas_handleTicketEndTime(action) {
9156
- var _action$payload9, blockId, seconds, endTime;
9157
 
9158
- return regenerator_default.a.wrap(function handleTicketEndTime$(_context23) {
9159
  while (1) {
9160
- switch (_context23.prev = _context23.next) {
9161
  case 0:
9162
- _action$payload9 = action.payload, blockId = _action$payload9.blockId, seconds = _action$payload9.seconds;
9163
- _context23.next = 3;
9164
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
9165
 
9166
  case 3:
9167
- endTime = _context23.sent;
9168
- _context23.next = 6;
9169
- return Object(effects["e" /* put */])(actions_setTicketTempEndTime(blockId, endTime + ':00'));
9170
 
9171
  case 6:
9172
  case 'end':
9173
- return _context23.stop();
9174
  }
9175
  }
9176
- }, _marked23, this);
9177
  }
9178
 
9179
  function handleTicketEndTimeInput(action) {
9180
- var _action$payload10, blockId, seconds, endTime, endTimeMoment, endTimeInput;
9181
 
9182
- return regenerator_default.a.wrap(function handleTicketEndTimeInput$(_context24) {
9183
  while (1) {
9184
- switch (_context24.prev = _context24.next) {
9185
  case 0:
9186
- _action$payload10 = action.payload, blockId = _action$payload10.blockId, seconds = _action$payload10.seconds;
9187
- _context24.next = 3;
9188
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
9189
 
9190
  case 3:
9191
- endTime = _context24.sent;
9192
- _context24.next = 6;
9193
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, endTime, external_tribe_common_utils_["moment"].TIME_FORMAT, false);
9194
 
9195
  case 6:
9196
- endTimeMoment = _context24.sent;
9197
- _context24.next = 9;
9198
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endTimeMoment);
9199
 
9200
  case 9:
9201
- endTimeInput = _context24.sent;
9202
- _context24.next = 12;
9203
- return Object(effects["e" /* put */])(actions_setTicketTempEndTimeInput(blockId, endTimeInput));
9204
 
9205
  case 12:
9206
  case 'end':
9207
- return _context24.stop();
9208
  }
9209
  }
9210
- }, _marked24, this);
9211
  }
9212
 
9213
  function handleTicketMove() {
9214
- var ticketBlockIds, modalBlockId;
9215
- return regenerator_default.a.wrap(function handleTicketMove$(_context25) {
9216
  while (1) {
9217
- switch (_context25.prev = _context25.next) {
9218
  case 0:
9219
- _context25.next = 2;
9220
- return Object(effects["f" /* select */])(getAllTicketIds);
9221
 
9222
  case 2:
9223
- ticketBlockIds = _context25.sent;
9224
- _context25.next = 5;
9225
- return Object(effects["f" /* select */])(selectors["a" /* getModalBlockId */]);
9226
 
9227
  case 5:
9228
- modalBlockId = _context25.sent;
9229
 
9230
- if (!ticketBlockIds.includes(modalBlockId)) {
9231
- _context25.next = 13;
9232
  break;
9233
  }
9234
 
9235
- _context25.next = 9;
9236
- return Object(effects["e" /* put */])(actions_setTicketIsSelected(modalBlockId, false));
9237
 
9238
  case 9:
9239
- _context25.next = 11;
9240
- return Object(effects["e" /* put */])(actions_removeTicketBlock(modalBlockId));
9241
 
9242
  case 11:
9243
- _context25.next = 13;
9244
- return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [modalBlockId]);
9245
 
9246
  case 13:
9247
  case 'end':
9248
- return _context25.stop();
9249
  }
9250
  }
9251
- }, _marked25, this);
9252
  }
9253
 
9254
  function handler(action) {
9255
- return regenerator_default.a.wrap(function handler$(_context26) {
9256
  while (1) {
9257
- switch (_context26.prev = _context26.next) {
9258
  case 0:
9259
- _context26.t0 = action.type;
9260
- _context26.next = _context26.t0 === SET_TICKETS_INITIAL_STATE ? 3 : _context26.t0 === SET_TICKET_INITIAL_STATE ? 6 : _context26.t0 === FETCH_TICKET ? 9 : _context26.t0 === CREATE_NEW_TICKET ? 12 : _context26.t0 === UPDATE_TICKET ? 15 : _context26.t0 === DELETE_TICKET ? 18 : _context26.t0 === FETCH_TICKETS_HEADER_IMAGE ? 21 : _context26.t0 === UPDATE_TICKETS_HEADER_IMAGE ? 24 : _context26.t0 === DELETE_TICKETS_HEADER_IMAGE ? 27 : _context26.t0 === SET_TICKET_DETAILS ? 30 : _context26.t0 === SET_TICKET_TEMP_DETAILS ? 33 : _context26.t0 === HANDLE_TICKET_START_DATE ? 36 : _context26.t0 === HANDLE_TICKET_END_DATE ? 41 : _context26.t0 === HANDLE_TICKET_START_TIME ? 46 : _context26.t0 === HANDLE_TICKET_END_TIME ? 53 : _context26.t0 === types["k" /* MOVE_TICKET_SUCCESS */] ? 60 : 63;
9261
  break;
9262
 
9263
  case 3:
9264
- _context26.next = 5;
9265
- return Object(effects["b" /* call */])(sagas_setTicketsInitialState, action);
9266
 
9267
  case 5:
9268
- return _context26.abrupt('break', 64);
9269
 
9270
  case 6:
9271
- _context26.next = 8;
9272
- return Object(effects["b" /* call */])(sagas_setTicketInitialState, action);
9273
 
9274
  case 8:
9275
- return _context26.abrupt('break', 64);
9276
 
9277
  case 9:
9278
- _context26.next = 11;
9279
- return Object(effects["b" /* call */])(sagas_fetchTicket, action);
9280
 
9281
  case 11:
9282
- return _context26.abrupt('break', 64);
9283
 
9284
  case 12:
9285
- _context26.next = 14;
9286
- return Object(effects["b" /* call */])(sagas_createNewTicket, action);
9287
 
9288
  case 14:
9289
- return _context26.abrupt('break', 64);
9290
 
9291
  case 15:
9292
- _context26.next = 17;
9293
- return Object(effects["b" /* call */])(sagas_updateTicket, action);
9294
 
9295
  case 17:
9296
- return _context26.abrupt('break', 64);
9297
 
9298
  case 18:
9299
- _context26.next = 20;
9300
- return Object(effects["b" /* call */])(sagas_deleteTicket, action);
9301
 
9302
  case 20:
9303
- return _context26.abrupt('break', 64);
9304
 
9305
  case 21:
9306
- _context26.next = 23;
9307
- return Object(effects["b" /* call */])(sagas_fetchTicketsHeaderImage, action);
9308
 
9309
  case 23:
9310
- return _context26.abrupt('break', 64);
9311
 
9312
  case 24:
9313
- _context26.next = 26;
9314
- return Object(effects["b" /* call */])(sagas_updateTicketsHeaderImage, action);
9315
 
9316
  case 26:
9317
- return _context26.abrupt('break', 64);
9318
 
9319
  case 27:
9320
- _context26.next = 29;
9321
- return Object(effects["b" /* call */])(sagas_deleteTicketsHeaderImage);
9322
 
9323
  case 29:
9324
- return _context26.abrupt('break', 64);
9325
 
9326
  case 30:
9327
- _context26.next = 32;
9328
- return Object(effects["b" /* call */])(sagas_setTicketDetails, action);
9329
 
9330
  case 32:
9331
- return _context26.abrupt('break', 64);
9332
 
9333
  case 33:
9334
- _context26.next = 35;
9335
- return Object(effects["b" /* call */])(sagas_setTicketTempDetails, action);
9336
 
9337
  case 35:
9338
- return _context26.abrupt('break', 64);
9339
 
9340
  case 36:
9341
- _context26.next = 38;
9342
- return Object(effects["b" /* call */])(sagas_handleTicketStartDate, action);
9343
 
9344
  case 38:
9345
- _context26.next = 40;
9346
- return Object(effects["e" /* put */])(actions_setTicketHasChanges(action.payload.blockId, true));
9347
 
9348
- case 40:
9349
- return _context26.abrupt('break', 64);
 
9350
 
9351
  case 41:
9352
- _context26.next = 43;
9353
- return Object(effects["b" /* call */])(sagas_handleTicketEndDate, action);
9354
 
9355
  case 43:
9356
- _context26.next = 45;
9357
- return Object(effects["e" /* put */])(actions_setTicketHasChanges(action.payload.blockId, true));
9358
 
9359
- case 45:
9360
- return _context26.abrupt('break', 64);
 
9361
 
9362
  case 46:
9363
- _context26.next = 48;
9364
- return Object(effects["b" /* call */])(sagas_handleTicketStartTime, action);
9365
 
9366
  case 48:
9367
- _context26.next = 50;
9368
- return Object(effects["b" /* call */])(handleTicketStartTimeInput, action);
9369
 
9370
- case 50:
9371
- _context26.next = 52;
9372
- return Object(effects["e" /* put */])(actions_setTicketHasChanges(action.payload.blockId, true));
9373
 
9374
- case 52:
9375
- return _context26.abrupt('break', 64);
 
9376
 
9377
  case 53:
9378
- _context26.next = 55;
9379
- return Object(effects["b" /* call */])(sagas_handleTicketEndTime, action);
9380
 
9381
  case 55:
9382
- _context26.next = 57;
9383
- return Object(effects["b" /* call */])(handleTicketEndTimeInput, action);
9384
 
9385
- case 57:
9386
- _context26.next = 59;
9387
- return Object(effects["e" /* put */])(actions_setTicketHasChanges(action.payload.blockId, true));
9388
 
9389
- case 59:
9390
- return _context26.abrupt('break', 64);
 
9391
 
9392
  case 60:
9393
- _context26.next = 62;
9394
- return Object(effects["b" /* call */])(handleTicketMove);
9395
 
9396
  case 62:
9397
- return _context26.abrupt('break', 64);
9398
 
9399
  case 63:
9400
- return _context26.abrupt('break', 64);
 
 
 
 
 
 
 
9401
 
9402
- case 64:
9403
  case 'end':
9404
- return _context26.stop();
9405
  }
9406
  }
9407
- }, _marked26, this);
9408
  }
9409
 
9410
  function watchers() {
9411
- return regenerator_default.a.wrap(function watchers$(_context27) {
9412
  while (1) {
9413
- switch (_context27.prev = _context27.next) {
9414
  case 0:
9415
- _context27.next = 2;
9416
- return Object(effects["h" /* takeEvery */])([SET_TICKETS_INITIAL_STATE, SET_TICKET_INITIAL_STATE, FETCH_TICKET, CREATE_NEW_TICKET, UPDATE_TICKET, DELETE_TICKET, FETCH_TICKETS_HEADER_IMAGE, UPDATE_TICKETS_HEADER_IMAGE, DELETE_TICKETS_HEADER_IMAGE, SET_TICKET_DETAILS, SET_TICKET_TEMP_DETAILS, HANDLE_TICKET_START_DATE, HANDLE_TICKET_END_DATE, HANDLE_TICKET_START_TIME, HANDLE_TICKET_END_TIME, types["k" /* MOVE_TICKET_SUCCESS */]], handler);
9417
 
9418
  case 2:
9419
- _context27.next = 4;
9420
  return Object(effects["d" /* fork */])(handleEventStartDateChanges);
9421
 
9422
  case 4:
9423
  case 'end':
9424
- return _context27.stop();
9425
  }
9426
  }
9427
- }, _marked27, this);
9428
  }
9429
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/index.js
9430
  /* concated harmony reexport constants */__webpack_require__.d(__webpack_exports__, "b", function() { return constants; });
9431
  /* concated harmony reexport options */__webpack_require__.d(__webpack_exports__, "d", function() { return options_namespaceObject; });
9432
  /* unused concated harmony import utils */
9433
- /* concated harmony reexport types */__webpack_require__.d(__webpack_exports__, "g", function() { return types_namespaceObject; });
9434
- /* concated harmony reexport actions */__webpack_require__.d(__webpack_exports__, "a", function() { return actions_namespaceObject; });
9435
  /* concated harmony reexport selectors */__webpack_require__.d(__webpack_exports__, "f", function() { return selectors_namespaceObject; });
9436
  /* concated harmony reexport sagas */__webpack_require__.d(__webpack_exports__, "e", function() { return watchers; });
9437
  /**
@@ -9452,756 +8760,1140 @@ function watchers() {
9452
 
9453
 
9454
  /***/ }),
9455
- /* 11 */
9456
- /***/ (function(module, exports) {
9457
-
9458
- module.exports = wp.i18n;
9459
-
9460
- /***/ }),
9461
- /* 12 */
9462
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9463
 
9464
  "use strict";
9465
- var types_namespaceObject = {};
9466
- __webpack_require__.r(types_namespaceObject);
9467
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_ID", function() { return SET_RSVP_ID; });
9468
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_SETTINGS_OPEN", function() { return SET_RSVP_SETTINGS_OPEN; });
9469
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_HAS_CHANGES", function() { return SET_RSVP_HAS_CHANGES; });
9470
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_IS_LOADING", function() { return SET_RSVP_IS_LOADING; });
9471
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_IS_SETTINGS_LOADING", function() { return SET_RSVP_IS_SETTINGS_LOADING; });
9472
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_GOING_COUNT", function() { return SET_RSVP_GOING_COUNT; });
9473
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_NOT_GOING_COUNT", function() { return SET_RSVP_NOT_GOING_COUNT; });
9474
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_DETAILS", function() { return SET_RSVP_DETAILS; });
9475
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_DETAILS", function() { return SET_RSVP_TEMP_DETAILS; });
9476
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_HEADER_IMAGE", function() { return SET_RSVP_HEADER_IMAGE; });
9477
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TITLE", function() { return SET_RSVP_TITLE; });
9478
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_DESCRIPTION", function() { return SET_RSVP_DESCRIPTION; });
9479
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_CAPACITY", function() { return SET_RSVP_CAPACITY; });
9480
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_NOT_GOING_RESPONSES", function() { return SET_RSVP_NOT_GOING_RESPONSES; });
9481
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE", function() { return SET_RSVP_START_DATE; });
9482
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE_INPUT", function() { return SET_RSVP_START_DATE_INPUT; });
9483
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE_MOMENT", function() { return SET_RSVP_START_DATE_MOMENT; });
9484
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE", function() { return SET_RSVP_END_DATE; });
9485
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE_INPUT", function() { return SET_RSVP_END_DATE_INPUT; });
9486
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE_MOMENT", function() { return SET_RSVP_END_DATE_MOMENT; });
9487
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_TIME", function() { return SET_RSVP_START_TIME; });
9488
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_TIME", function() { return SET_RSVP_END_TIME; });
9489
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_TIME_INPUT", function() { return SET_RSVP_START_TIME_INPUT; });
9490
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_TIME_INPUT", function() { return SET_RSVP_END_TIME_INPUT; });
9491
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_TITLE", function() { return SET_RSVP_TEMP_TITLE; });
9492
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_DESCRIPTION", function() { return SET_RSVP_TEMP_DESCRIPTION; });
9493
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_CAPACITY", function() { return SET_RSVP_TEMP_CAPACITY; });
9494
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_NOT_GOING_RESPONSES", function() { return SET_RSVP_TEMP_NOT_GOING_RESPONSES; });
9495
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE", function() { return SET_RSVP_TEMP_START_DATE; });
9496
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE_INPUT", function() { return SET_RSVP_TEMP_START_DATE_INPUT; });
9497
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE_MOMENT", function() { return SET_RSVP_TEMP_START_DATE_MOMENT; });
9498
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE", function() { return SET_RSVP_TEMP_END_DATE; });
9499
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE_INPUT", function() { return SET_RSVP_TEMP_END_DATE_INPUT; });
9500
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE_MOMENT", function() { return SET_RSVP_TEMP_END_DATE_MOMENT; });
9501
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_TIME", function() { return SET_RSVP_TEMP_START_TIME; });
9502
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_TIME", function() { return SET_RSVP_TEMP_END_TIME; });
9503
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_TIME_INPUT", function() { return SET_RSVP_TEMP_START_TIME_INPUT; });
9504
- __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_TIME_INPUT", function() { return SET_RSVP_TEMP_END_TIME_INPUT; });
9505
- __webpack_require__.d(types_namespaceObject, "CREATE_RSVP", function() { return CREATE_RSVP; });
9506
- __webpack_require__.d(types_namespaceObject, "INITIALIZE_RSVP", function() { return INITIALIZE_RSVP; });
9507
- __webpack_require__.d(types_namespaceObject, "DELETE_RSVP", function() { return DELETE_RSVP; });
9508
- __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_START_DATE", function() { return HANDLE_RSVP_START_DATE; });
9509
- __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_END_DATE", function() { return HANDLE_RSVP_END_DATE; });
9510
- __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_START_TIME", function() { return HANDLE_RSVP_START_TIME; });
9511
- __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_END_TIME", function() { return HANDLE_RSVP_END_TIME; });
9512
- var actions_namespaceObject = {};
9513
- __webpack_require__.r(actions_namespaceObject);
9514
- __webpack_require__.d(actions_namespaceObject, "setRSVPId", function() { return actions_setRSVPId; });
9515
- __webpack_require__.d(actions_namespaceObject, "setRSVPSettingsOpen", function() { return actions_setRSVPSettingsOpen; });
9516
- __webpack_require__.d(actions_namespaceObject, "setRSVPHasChanges", function() { return actions_setRSVPHasChanges; });
9517
- __webpack_require__.d(actions_namespaceObject, "setRSVPIsLoading", function() { return actions_setRSVPIsLoading; });
9518
- __webpack_require__.d(actions_namespaceObject, "setRSVPIsSettingsLoading", function() { return actions_setRSVPIsSettingsLoading; });
9519
- __webpack_require__.d(actions_namespaceObject, "setRSVPGoingCount", function() { return actions_setRSVPGoingCount; });
9520
- __webpack_require__.d(actions_namespaceObject, "setRSVPNotGoingCount", function() { return actions_setRSVPNotGoingCount; });
9521
- __webpack_require__.d(actions_namespaceObject, "setRSVPDetails", function() { return actions_setRSVPDetails; });
9522
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempDetails", function() { return actions_setRSVPTempDetails; });
9523
- __webpack_require__.d(actions_namespaceObject, "setRSVPHeaderImage", function() { return actions_setRSVPHeaderImage; });
9524
- __webpack_require__.d(actions_namespaceObject, "setRSVPTitle", function() { return actions_setRSVPTitle; });
9525
- __webpack_require__.d(actions_namespaceObject, "setRSVPDescription", function() { return actions_setRSVPDescription; });
9526
- __webpack_require__.d(actions_namespaceObject, "setRSVPCapacity", function() { return actions_setRSVPCapacity; });
9527
- __webpack_require__.d(actions_namespaceObject, "setRSVPNotGoingResponses", function() { return actions_setRSVPNotGoingResponses; });
9528
- __webpack_require__.d(actions_namespaceObject, "setRSVPStartDate", function() { return actions_setRSVPStartDate; });
9529
- __webpack_require__.d(actions_namespaceObject, "setRSVPStartDateInput", function() { return actions_setRSVPStartDateInput; });
9530
- __webpack_require__.d(actions_namespaceObject, "setRSVPStartDateMoment", function() { return actions_setRSVPStartDateMoment; });
9531
- __webpack_require__.d(actions_namespaceObject, "setRSVPEndDate", function() { return actions_setRSVPEndDate; });
9532
- __webpack_require__.d(actions_namespaceObject, "setRSVPEndDateInput", function() { return actions_setRSVPEndDateInput; });
9533
- __webpack_require__.d(actions_namespaceObject, "setRSVPEndDateMoment", function() { return actions_setRSVPEndDateMoment; });
9534
- __webpack_require__.d(actions_namespaceObject, "setRSVPStartTime", function() { return actions_setRSVPStartTime; });
9535
- __webpack_require__.d(actions_namespaceObject, "setRSVPEndTime", function() { return actions_setRSVPEndTime; });
9536
- __webpack_require__.d(actions_namespaceObject, "setRSVPStartTimeInput", function() { return actions_setRSVPStartTimeInput; });
9537
- __webpack_require__.d(actions_namespaceObject, "setRSVPEndTimeInput", function() { return actions_setRSVPEndTimeInput; });
9538
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempTitle", function() { return actions_setRSVPTempTitle; });
9539
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempDescription", function() { return actions_setRSVPTempDescription; });
9540
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempCapacity", function() { return actions_setRSVPTempCapacity; });
9541
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempNotGoingResponses", function() { return actions_setRSVPTempNotGoingResponses; });
9542
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempStartDate", function() { return actions_setRSVPTempStartDate; });
9543
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempStartDateInput", function() { return actions_setRSVPTempStartDateInput; });
9544
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempStartDateMoment", function() { return actions_setRSVPTempStartDateMoment; });
9545
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempEndDate", function() { return actions_setRSVPTempEndDate; });
9546
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempEndDateInput", function() { return actions_setRSVPTempEndDateInput; });
9547
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempEndDateMoment", function() { return actions_setRSVPTempEndDateMoment; });
9548
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempStartTime", function() { return actions_setRSVPTempStartTime; });
9549
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempEndTime", function() { return actions_setRSVPTempEndTime; });
9550
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempStartTimeInput", function() { return actions_setRSVPTempStartTimeInput; });
9551
- __webpack_require__.d(actions_namespaceObject, "setRSVPTempEndTimeInput", function() { return actions_setRSVPTempEndTimeInput; });
9552
- __webpack_require__.d(actions_namespaceObject, "createRSVP", function() { return actions_createRSVP; });
9553
- __webpack_require__.d(actions_namespaceObject, "initializeRSVP", function() { return actions_initializeRSVP; });
9554
- __webpack_require__.d(actions_namespaceObject, "deleteRSVP", function() { return actions_deleteRSVP; });
9555
- __webpack_require__.d(actions_namespaceObject, "handleRSVPStartDate", function() { return actions_handleRSVPStartDate; });
9556
- __webpack_require__.d(actions_namespaceObject, "handleRSVPEndDate", function() { return actions_handleRSVPEndDate; });
9557
- __webpack_require__.d(actions_namespaceObject, "handleRSVPStartTime", function() { return actions_handleRSVPStartTime; });
9558
- __webpack_require__.d(actions_namespaceObject, "handleRSVPEndTime", function() { return actions_handleRSVPEndTime; });
9559
- var selectors_namespaceObject = {};
9560
- __webpack_require__.r(selectors_namespaceObject);
9561
- __webpack_require__.d(selectors_namespaceObject, "getRSVPBlock", function() { return getRSVPBlock; });
9562
- __webpack_require__.d(selectors_namespaceObject, "getRSVPId", function() { return getRSVPId; });
9563
- __webpack_require__.d(selectors_namespaceObject, "getRSVPCreated", function() { return getRSVPCreated; });
9564
- __webpack_require__.d(selectors_namespaceObject, "getRSVPSettingsOpen", function() { return getRSVPSettingsOpen; });
9565
- __webpack_require__.d(selectors_namespaceObject, "getRSVPHasChanges", function() { return getRSVPHasChanges; });
9566
- __webpack_require__.d(selectors_namespaceObject, "getRSVPIsLoading", function() { return getRSVPIsLoading; });
9567
- __webpack_require__.d(selectors_namespaceObject, "getRSVPIsSettingsLoading", function() { return getRSVPIsSettingsLoading; });
9568
- __webpack_require__.d(selectors_namespaceObject, "getRSVPGoingCount", function() { return getRSVPGoingCount; });
9569
- __webpack_require__.d(selectors_namespaceObject, "getRSVPNotGoingCount", function() { return getRSVPNotGoingCount; });
9570
- __webpack_require__.d(selectors_namespaceObject, "getRSVPDetails", function() { return getRSVPDetails; });
9571
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTitle", function() { return getRSVPTitle; });
9572
- __webpack_require__.d(selectors_namespaceObject, "getRSVPDescription", function() { return getRSVPDescription; });
9573
- __webpack_require__.d(selectors_namespaceObject, "getRSVPCapacity", function() { return getRSVPCapacity; });
9574
- __webpack_require__.d(selectors_namespaceObject, "getRSVPAvailable", function() { return getRSVPAvailable; });
9575
- __webpack_require__.d(selectors_namespaceObject, "getRSVPNotGoingResponses", function() { return getRSVPNotGoingResponses; });
9576
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDate", function() { return getRSVPStartDate; });
9577
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDateInput", function() { return getRSVPStartDateInput; });
9578
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDateMoment", function() { return getRSVPStartDateMoment; });
9579
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTime", function() { return getRSVPStartTime; });
9580
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTimeNoSeconds", function() { return getRSVPStartTimeNoSeconds; });
9581
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDate", function() { return getRSVPEndDate; });
9582
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDateInput", function() { return getRSVPEndDateInput; });
9583
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDateMoment", function() { return getRSVPEndDateMoment; });
9584
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTime", function() { return getRSVPEndTime; });
9585
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTimeNoSeconds", function() { return getRSVPEndTimeNoSeconds; });
9586
- __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTimeInput", function() { return getRSVPStartTimeInput; });
9587
- __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTimeInput", function() { return getRSVPEndTimeInput; });
9588
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempDetails", function() { return getRSVPTempDetails; });
9589
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempTitle", function() { return getRSVPTempTitle; });
9590
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempDescription", function() { return getRSVPTempDescription; });
9591
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempCapacity", function() { return getRSVPTempCapacity; });
9592
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempNotGoingResponses", function() { return getRSVPTempNotGoingResponses; });
9593
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDate", function() { return getRSVPTempStartDate; });
9594
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDateInput", function() { return getRSVPTempStartDateInput; });
9595
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDateMoment", function() { return getRSVPTempStartDateMoment; });
9596
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTime", function() { return getRSVPTempStartTime; });
9597
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTimeNoSeconds", function() { return getRSVPTempStartTimeNoSeconds; });
9598
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDate", function() { return getRSVPTempEndDate; });
9599
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDateInput", function() { return getRSVPTempEndDateInput; });
9600
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDateMoment", function() { return getRSVPTempEndDateMoment; });
9601
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTime", function() { return getRSVPTempEndTime; });
9602
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTimeNoSeconds", function() { return getRSVPTempEndTimeNoSeconds; });
9603
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTimeInput", function() { return getRSVPTempStartTimeInput; });
9604
- __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTimeInput", function() { return getRSVPTempEndTimeInput; });
9605
- __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImage", function() { return selectors_getRSVPHeaderImage; });
9606
- __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageId", function() { return getRSVPHeaderImageId; });
9607
- __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageSrc", function() { return getRSVPHeaderImageSrc; });
9608
- __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageAlt", function() { return getRSVPHeaderImageAlt; });
9609
- var thunks_namespaceObject = {};
9610
- __webpack_require__.r(thunks_namespaceObject);
9611
- __webpack_require__.d(thunks_namespaceObject, "createRSVP", function() { return thunks_createRSVP; });
9612
- __webpack_require__.d(thunks_namespaceObject, "updateRSVP", function() { return updateRSVP; });
9613
- __webpack_require__.d(thunks_namespaceObject, "deleteRSVP", function() { return thunks_deleteRSVP; });
9614
- __webpack_require__.d(thunks_namespaceObject, "getRSVP", function() { return thunks_getRSVP; });
9615
- __webpack_require__.d(thunks_namespaceObject, "updateRSVPHeaderImage", function() { return thunks_updateRSVPHeaderImage; });
9616
- __webpack_require__.d(thunks_namespaceObject, "deleteRSVPHeaderImage", function() { return thunks_deleteRSVPHeaderImage; });
9617
- __webpack_require__.d(thunks_namespaceObject, "getRSVPHeaderImage", function() { return thunks_getRSVPHeaderImage; });
9618
 
9619
- // EXTERNAL MODULE: ./src/modules/data/utils.js
9620
- var utils = __webpack_require__(6);
9621
 
9622
- // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/types.js
9623
  /**
9624
- * Internal dependencies
9625
  */
 
 
 
 
 
 
 
 
 
 
9626
 
 
 
9627
 
9628
- //
9629
- // ─── RSVP TYPES ─────────────────────────────────────────────────────────────────
9630
- //
9631
 
9632
- var SET_RSVP_ID = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_ID';
9633
- var SET_RSVP_SETTINGS_OPEN = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_SETTINGS_OPEN';
9634
- var SET_RSVP_HAS_CHANGES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_HAS_CHANGES';
9635
- var SET_RSVP_IS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_IS_LOADING';
9636
- var SET_RSVP_IS_SETTINGS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_IS_SETTINGS_LOADING';
9637
- var SET_RSVP_GOING_COUNT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_GOING_COUNT';
9638
- var SET_RSVP_NOT_GOING_COUNT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_NOT_GOING_COUNT';
9639
 
9640
- var SET_RSVP_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_DETAILS';
9641
- var SET_RSVP_TEMP_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_DETAILS';
9642
- var SET_RSVP_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_HEADER_IMAGE';
9643
 
9644
- //
9645
- // ─── RSVP DETAILS TYPES ─────────────────────────────────────────────────────────
9646
- //
9647
 
9648
- var SET_RSVP_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TITLE';
9649
- var SET_RSVP_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_DESCRIPTION';
9650
- var SET_RSVP_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_CAPACITY';
9651
- var SET_RSVP_NOT_GOING_RESPONSES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_NOT_GOING_RESPONSES';
9652
- var SET_RSVP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE';
9653
- var SET_RSVP_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE_INPUT';
9654
- var SET_RSVP_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE_MOMENT';
9655
- var SET_RSVP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE';
9656
- var SET_RSVP_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE_INPUT';
9657
- var SET_RSVP_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE_MOMENT';
9658
- var SET_RSVP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_TIME';
9659
- var SET_RSVP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_TIME';
9660
- var SET_RSVP_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_TIME_INPUT';
9661
- var SET_RSVP_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_TIME_INPUT';
9662
 
9663
- //
9664
- // ─── RSVP TEMP DETAILS TYPES ────────────────────────────────────────────────────
9665
- //
9666
 
9667
- var SET_RSVP_TEMP_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_TITLE';
9668
- var SET_RSVP_TEMP_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_DESCRIPTION';
9669
- var SET_RSVP_TEMP_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_CAPACITY';
9670
- var SET_RSVP_TEMP_NOT_GOING_RESPONSES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_NOT_GOING_RESPONSES';
9671
- var SET_RSVP_TEMP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE';
9672
- var SET_RSVP_TEMP_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE_INPUT';
9673
- var SET_RSVP_TEMP_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE_MOMENT';
9674
- var SET_RSVP_TEMP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE';
9675
- var SET_RSVP_TEMP_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE_INPUT';
9676
- var SET_RSVP_TEMP_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE_MOMENT';
9677
- var SET_RSVP_TEMP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_TIME';
9678
- var SET_RSVP_TEMP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_TIME';
9679
- var SET_RSVP_TEMP_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_TIME_INPUT';
9680
- var SET_RSVP_TEMP_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_TIME_INPUT';
9681
 
9682
- //
9683
- // ─── RSVP THUNK & SAGA TYPES ────────────────────────────────────────────────────
9684
- //
9685
 
9686
- var CREATE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/CREATE_RSVP';
9687
- var INITIALIZE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/INITIALIZE_RSVP';
9688
- var DELETE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/DELETE_RSVP';
 
 
 
9689
 
9690
- var HANDLE_RSVP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_START_DATE';
9691
- var HANDLE_RSVP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_END_DATE';
9692
- var HANDLE_RSVP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_START_TIME';
9693
- var HANDLE_RSVP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_END_TIME';
9694
- // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/actions.js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9695
  /**
9696
  * Internal dependencies
9697
  */
9698
 
9699
 
9700
  //
9701
- // ─── RSVP ACTIONS ───────────────────────────────────────────────────────────────
9702
  //
9703
 
9704
- var actions_setRSVPId = function setRSVPId(id) {
9705
  return {
9706
- type: types_namespaceObject.SET_RSVP_ID,
9707
- payload: {
9708
- id: id
9709
- }
 
 
 
 
 
 
 
 
 
 
 
9710
  };
9711
  };
9712
 
9713
- var actions_setRSVPSettingsOpen = function setRSVPSettingsOpen(settingsOpen) {
9714
  return {
9715
- type: types_namespaceObject.SET_RSVP_SETTINGS_OPEN,
9716
  payload: {
9717
- settingsOpen: settingsOpen
9718
  }
9719
  };
9720
  };
9721
 
9722
- var actions_setRSVPHasChanges = function setRSVPHasChanges(hasChanges) {
9723
  return {
9724
- type: types_namespaceObject.SET_RSVP_HAS_CHANGES,
9725
  payload: {
9726
- hasChanges: hasChanges
9727
  }
9728
  };
9729
  };
9730
 
9731
- var actions_setRSVPIsLoading = function setRSVPIsLoading(isLoading) {
9732
  return {
9733
- type: types_namespaceObject.SET_RSVP_IS_LOADING,
9734
  payload: {
9735
- isLoading: isLoading
9736
  }
9737
  };
9738
  };
9739
 
9740
- var actions_setRSVPIsSettingsLoading = function setRSVPIsSettingsLoading(isSettingsLoading) {
 
 
 
 
 
 
 
9741
  return {
9742
- type: types_namespaceObject.SET_RSVP_IS_SETTINGS_LOADING,
9743
  payload: {
9744
- isSettingsLoading: isSettingsLoading
9745
  }
9746
  };
9747
  };
9748
 
9749
- var actions_setRSVPGoingCount = function setRSVPGoingCount(goingCount) {
9750
  return {
9751
- type: types_namespaceObject.SET_RSVP_GOING_COUNT,
9752
  payload: {
9753
- goingCount: goingCount
9754
  }
9755
  };
9756
  };
9757
 
9758
- var actions_setRSVPNotGoingCount = function setRSVPNotGoingCount(notGoingCount) {
9759
  return {
9760
- type: types_namespaceObject.SET_RSVP_NOT_GOING_COUNT,
9761
  payload: {
9762
- notGoingCount: notGoingCount
9763
  }
9764
  };
9765
  };
9766
 
9767
- var actions_setRSVPDetails = function setRSVPDetails(payload) {
 
 
 
 
9768
  return {
9769
- type: types_namespaceObject.SET_RSVP_DETAILS,
9770
- payload: payload
 
 
9771
  };
9772
  };
9773
 
9774
- var actions_setRSVPTempDetails = function setRSVPTempDetails(payload) {
9775
  return {
9776
- type: types_namespaceObject.SET_RSVP_TEMP_DETAILS,
9777
- payload: payload
 
 
9778
  };
9779
  };
9780
 
9781
- var actions_setRSVPHeaderImage = function setRSVPHeaderImage(payload) {
9782
  return {
9783
- type: types_namespaceObject.SET_RSVP_HEADER_IMAGE,
9784
- payload: payload
9785
  };
9786
  };
9787
 
9788
  //
9789
- // ─── RSVP DETAILS ACTIONS ───────────────────────────────────────────────────────
9790
  //
9791
 
9792
- var actions_setRSVPTitle = function setRSVPTitle(title) {
9793
  return {
9794
- type: types_namespaceObject.SET_RSVP_TITLE,
9795
  payload: {
 
9796
  title: title
9797
  }
9798
  };
9799
  };
9800
 
9801
- var actions_setRSVPDescription = function setRSVPDescription(description) {
9802
  return {
9803
- type: types_namespaceObject.SET_RSVP_DESCRIPTION,
9804
  payload: {
 
9805
  description: description
9806
  }
9807
  };
9808
  };
9809
 
9810
- var actions_setRSVPCapacity = function setRSVPCapacity(capacity) {
9811
  return {
9812
- type: types_namespaceObject.SET_RSVP_CAPACITY,
9813
  payload: {
9814
- capacity: capacity
 
9815
  }
9816
  };
9817
  };
9818
 
9819
- var actions_setRSVPNotGoingResponses = function setRSVPNotGoingResponses(notGoingResponses) {
9820
  return {
9821
- type: types_namespaceObject.SET_RSVP_NOT_GOING_RESPONSES,
9822
  payload: {
9823
- notGoingResponses: notGoingResponses
 
9824
  }
9825
  };
9826
  };
9827
 
9828
- var actions_setRSVPStartDate = function setRSVPStartDate(startDate) {
9829
  return {
9830
- type: types_namespaceObject.SET_RSVP_START_DATE,
9831
  payload: {
 
9832
  startDate: startDate
9833
  }
9834
  };
9835
  };
9836
 
9837
- var actions_setRSVPStartDateInput = function setRSVPStartDateInput(startDateInput) {
9838
  return {
9839
- type: types_namespaceObject.SET_RSVP_START_DATE_INPUT,
9840
  payload: {
 
9841
  startDateInput: startDateInput
9842
  }
9843
  };
9844
  };
9845
 
9846
- var actions_setRSVPStartDateMoment = function setRSVPStartDateMoment(startDateMoment) {
9847
  return {
9848
- type: types_namespaceObject.SET_RSVP_START_DATE_MOMENT,
9849
  payload: {
 
9850
  startDateMoment: startDateMoment
9851
  }
9852
  };
9853
  };
9854
 
9855
- var actions_setRSVPEndDate = function setRSVPEndDate(endDate) {
9856
  return {
9857
- type: types_namespaceObject.SET_RSVP_END_DATE,
9858
  payload: {
 
9859
  endDate: endDate
9860
  }
9861
  };
9862
  };
9863
 
9864
- var actions_setRSVPEndDateInput = function setRSVPEndDateInput(endDateInput) {
9865
  return {
9866
- type: types_namespaceObject.SET_RSVP_END_DATE_INPUT,
9867
  payload: {
 
9868
  endDateInput: endDateInput
9869
  }
9870
  };
9871
  };
9872
 
9873
- var actions_setRSVPEndDateMoment = function setRSVPEndDateMoment(endDateMoment) {
9874
  return {
9875
- type: types_namespaceObject.SET_RSVP_END_DATE_MOMENT,
9876
  payload: {
 
9877
  endDateMoment: endDateMoment
9878
  }
9879
  };
9880
  };
9881
 
9882
- var actions_setRSVPStartTime = function setRSVPStartTime(startTime) {
9883
  return {
9884
- type: types_namespaceObject.SET_RSVP_START_TIME,
9885
  payload: {
 
9886
  startTime: startTime
9887
  }
9888
  };
9889
  };
9890
 
9891
- var actions_setRSVPEndTime = function setRSVPEndTime(endTime) {
9892
  return {
9893
- type: types_namespaceObject.SET_RSVP_END_TIME,
9894
  payload: {
 
9895
  endTime: endTime
9896
  }
9897
  };
9898
  };
9899
 
9900
- var actions_setRSVPStartTimeInput = function setRSVPStartTimeInput(startTimeInput) {
9901
  return {
9902
- type: types_namespaceObject.SET_RSVP_START_TIME_INPUT,
9903
  payload: {
 
9904
  startTimeInput: startTimeInput
9905
  }
9906
  };
9907
  };
9908
 
9909
- var actions_setRSVPEndTimeInput = function setRSVPEndTimeInput(endTimeInput) {
9910
  return {
9911
- type: types_namespaceObject.SET_RSVP_END_TIME_INPUT,
9912
  payload: {
 
9913
  endTimeInput: endTimeInput
9914
  }
9915
  };
9916
  };
9917
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9918
  //
9919
- // ─── RSVP TEMP DETAILS ACTIONS ──────────────────────────────────────────────────
9920
  //
9921
 
9922
- var actions_setRSVPTempTitle = function setRSVPTempTitle(title) {
9923
  return {
9924
- type: types_namespaceObject.SET_RSVP_TEMP_TITLE,
9925
  payload: {
 
9926
  title: title
9927
  }
9928
  };
9929
  };
9930
 
9931
- var actions_setRSVPTempDescription = function setRSVPTempDescription(description) {
9932
  return {
9933
- type: types_namespaceObject.SET_RSVP_TEMP_DESCRIPTION,
9934
  payload: {
 
9935
  description: description
9936
  }
9937
  };
9938
  };
9939
 
9940
- var actions_setRSVPTempCapacity = function setRSVPTempCapacity(capacity) {
9941
  return {
9942
- type: types_namespaceObject.SET_RSVP_TEMP_CAPACITY,
9943
  payload: {
9944
- capacity: capacity
 
9945
  }
9946
  };
9947
  };
9948
 
9949
- var actions_setRSVPTempNotGoingResponses = function setRSVPTempNotGoingResponses(notGoingResponses) {
9950
  return {
9951
- type: types_namespaceObject.SET_RSVP_TEMP_NOT_GOING_RESPONSES,
9952
  payload: {
9953
- notGoingResponses: notGoingResponses
 
9954
  }
9955
  };
9956
  };
9957
 
9958
- var actions_setRSVPTempStartDate = function setRSVPTempStartDate(startDate) {
9959
  return {
9960
- type: types_namespaceObject.SET_RSVP_TEMP_START_DATE,
9961
  payload: {
 
9962
  startDate: startDate
9963
  }
9964
  };
9965
  };
9966
 
9967
- var actions_setRSVPTempStartDateInput = function setRSVPTempStartDateInput(startDateInput) {
9968
  return {
9969
- type: types_namespaceObject.SET_RSVP_TEMP_START_DATE_INPUT,
9970
  payload: {
 
9971
  startDateInput: startDateInput
9972
  }
9973
  };
9974
  };
9975
 
9976
- var actions_setRSVPTempStartDateMoment = function setRSVPTempStartDateMoment(startDateMoment) {
9977
  return {
9978
- type: types_namespaceObject.SET_RSVP_TEMP_START_DATE_MOMENT,
9979
  payload: {
 
9980
  startDateMoment: startDateMoment
9981
  }
9982
  };
9983
  };
9984
 
9985
- var actions_setRSVPTempEndDate = function setRSVPTempEndDate(endDate) {
9986
  return {
9987
- type: types_namespaceObject.SET_RSVP_TEMP_END_DATE,
9988
  payload: {
 
9989
  endDate: endDate
9990
  }
9991
  };
9992
  };
9993
 
9994
- var actions_setRSVPTempEndDateInput = function setRSVPTempEndDateInput(endDateInput) {
9995
  return {
9996
- type: types_namespaceObject.SET_RSVP_TEMP_END_DATE_INPUT,
9997
  payload: {
 
9998
  endDateInput: endDateInput
9999
  }
10000
  };
10001
  };
10002
 
10003
- var actions_setRSVPTempEndDateMoment = function setRSVPTempEndDateMoment(endDateMoment) {
10004
  return {
10005
- type: types_namespaceObject.SET_RSVP_TEMP_END_DATE_MOMENT,
10006
  payload: {
 
10007
  endDateMoment: endDateMoment
10008
  }
10009
  };
10010
  };
10011
 
10012
- var actions_setRSVPTempStartTime = function setRSVPTempStartTime(startTime) {
10013
  return {
10014
- type: types_namespaceObject.SET_RSVP_TEMP_START_TIME,
10015
  payload: {
 
10016
  startTime: startTime
10017
  }
10018
  };
10019
  };
10020
 
10021
- var actions_setRSVPTempEndTime = function setRSVPTempEndTime(endTime) {
10022
  return {
10023
- type: types_namespaceObject.SET_RSVP_TEMP_END_TIME,
10024
  payload: {
 
10025
  endTime: endTime
10026
  }
10027
  };
10028
  };
10029
 
10030
- var actions_setRSVPTempStartTimeInput = function setRSVPTempStartTimeInput(startTimeInput) {
10031
  return {
10032
- type: types_namespaceObject.SET_RSVP_TEMP_START_TIME_INPUT,
10033
  payload: {
 
10034
  startTimeInput: startTimeInput
10035
  }
10036
  };
10037
  };
10038
 
10039
- var actions_setRSVPTempEndTimeInput = function setRSVPTempEndTimeInput(endTimeInput) {
10040
  return {
10041
- type: types_namespaceObject.SET_RSVP_TEMP_END_TIME_INPUT,
10042
  payload: {
 
10043
  endTimeInput: endTimeInput
10044
  }
10045
  };
10046
  };
10047
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10048
  //
10049
- // ─── RSVP THUNK & SAGA ACTIONS ──────────────────────────────────────────────────
10050
  //
10051
 
10052
- var actions_createRSVP = function createRSVP() {
10053
  return {
10054
- type: types_namespaceObject.CREATE_RSVP
 
 
 
10055
  };
10056
  };
10057
 
10058
- var actions_initializeRSVP = function initializeRSVP() {
10059
  return {
10060
- type: types_namespaceObject.INITIALIZE_RSVP
 
 
 
10061
  };
10062
  };
10063
 
10064
- var actions_deleteRSVP = function deleteRSVP() {
10065
  return {
10066
- type: types_namespaceObject.DELETE_RSVP
10067
  };
10068
  };
10069
 
10070
- var actions_handleRSVPStartDate = function handleRSVPStartDate(payload) {
10071
  return {
10072
- type: types_namespaceObject.HANDLE_RSVP_START_DATE,
10073
- payload: payload
 
 
 
10074
  };
10075
  };
10076
 
10077
- var actions_handleRSVPEndDate = function handleRSVPEndDate(payload) {
10078
  return {
10079
- type: types_namespaceObject.HANDLE_RSVP_END_DATE,
10080
- payload: payload
 
 
 
10081
  };
10082
  };
10083
 
10084
- var actions_handleRSVPStartTime = function handleRSVPStartTime(seconds) {
10085
  return {
10086
- type: types_namespaceObject.HANDLE_RSVP_START_TIME,
10087
  payload: {
10088
- seconds: seconds
 
10089
  }
10090
  };
10091
  };
10092
 
10093
- var actions_handleRSVPEndTime = function handleRSVPEndTime(seconds) {
10094
  return {
10095
- type: types_namespaceObject.HANDLE_RSVP_END_TIME,
10096
  payload: {
10097
- seconds: seconds
 
10098
  }
10099
  };
10100
  };
10101
- // EXTERNAL MODULE: ./node_modules/reselect/lib/index.js
10102
- var lib = __webpack_require__(5);
10103
 
10104
- // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/selectors.js
10105
- /**
10106
- * External dependencies
10107
- */
 
 
 
 
 
10108
 
 
 
 
 
 
 
 
 
 
10109
 
10110
- /**
10111
- * ------------------------------------------------------------
10112
- * RSVP State
10113
- * ------------------------------------------------------------
10114
- */
 
 
 
 
10115
 
10116
- var getRSVPBlock = function getRSVPBlock(state) {
10117
- return state.tickets.blocks.rsvp;
 
 
 
 
 
 
10118
  };
10119
 
10120
- var getRSVPId = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10121
- return rsvp.id;
10122
- });
 
 
 
 
 
 
10123
 
10124
- var getRSVPCreated = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10125
- return rsvp.created;
10126
- });
 
 
 
 
 
 
10127
 
10128
- var getRSVPSettingsOpen = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10129
- return rsvp.settingsOpen;
10130
- });
10131
 
10132
- var getRSVPHasChanges = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10133
- return rsvp.hasChanges;
10134
- });
 
 
 
 
 
 
10135
 
10136
- var getRSVPIsLoading = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10137
- return rsvp.isLoading;
10138
- });
 
 
 
 
 
 
10139
 
10140
- var getRSVPIsSettingsLoading = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10141
- return rsvp.isSettingsLoading;
10142
- });
 
 
 
 
 
 
 
10143
 
10144
- var getRSVPGoingCount = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10145
- return rsvp.goingCount;
10146
- });
 
 
 
 
 
 
 
10147
 
10148
- var getRSVPNotGoingCount = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10149
- return rsvp.notGoingCount;
10150
- });
 
 
 
 
 
 
10151
 
10152
- /**
10153
- * ------------------------------------------------------------
10154
- * RSVP Details
10155
- * ------------------------------------------------------------
10156
- */
10157
- var getRSVPDetails = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10158
- return rsvp.details;
10159
- });
 
10160
 
10161
- var getRSVPTitle = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10162
- return details.title;
10163
- });
 
 
 
 
 
 
10164
 
10165
- var getRSVPDescription = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10166
- return details.description;
10167
- });
 
 
 
 
 
10168
 
10169
- var getRSVPCapacity = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10170
- return details.capacity;
10171
- });
 
 
 
 
 
10172
 
10173
- var getRSVPAvailable = Object(lib["createSelector"])([getRSVPCapacity, getRSVPGoingCount], function (capacity, goingCount) {
10174
- if (capacity === '') {
10175
- return -1;
10176
- }
 
 
 
 
10177
 
10178
- var total = parseInt(capacity, 10) || 0;
10179
- var going = parseInt(goingCount, 10) || 0;
10180
- /**
10181
- * Prevent to have negative values when subtracting the going amount from total amount, so it takes the max value
10182
- * of the substraction operation or zero if the operation is lower than zero it will return zero insted.
10183
- */
10184
- return Math.max(total - going, 0);
10185
- });
10186
 
10187
- var getRSVPNotGoingResponses = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10188
- return details.notGoingResponses;
10189
- });
10190
 
10191
- var getRSVPStartDate = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10192
- return details.startDate;
10193
- });
10194
 
10195
- var getRSVPStartDateInput = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10196
- return details.startDateInput;
10197
- });
10198
 
10199
- var getRSVPStartDateMoment = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10200
- return details.startDateMoment;
10201
- });
10202
 
10203
- var getRSVPStartTime = Object(lib["createSelector"])([getRSVPDetails], function (details) {
10204
- return details.startTime;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10205
  });
10206
 
10207
  var getRSVPStartTimeNoSeconds = Object(lib["createSelector"])([getRSVPStartTime], function (startTime) {
@@ -10314,73 +10006,36 @@ var getRSVPTempEndTimeInput = Object(lib["createSelector"])([getRSVPTempDetails]
10314
  * RSVP Header Image
10315
  * ------------------------------------------------------------
10316
  */
10317
- var selectors_getRSVPHeaderImage = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10318
  return rsvp.headerImage;
10319
  });
10320
 
10321
- var getRSVPHeaderImageId = Object(lib["createSelector"])([selectors_getRSVPHeaderImage], function (headerImage) {
10322
  return headerImage.id;
10323
  });
10324
 
10325
- var getRSVPHeaderImageSrc = Object(lib["createSelector"])([selectors_getRSVPHeaderImage], function (headerImage) {
10326
  return headerImage.src;
10327
  });
10328
 
10329
- var getRSVPHeaderImageAlt = Object(lib["createSelector"])([selectors_getRSVPHeaderImage], function (headerImage) {
10330
  return headerImage.alt;
10331
  });
10332
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js
10333
- var defineProperty = __webpack_require__(22);
10334
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
10335
 
10336
- // EXTERNAL MODULE: ./node_modules/moment/moment.js
10337
- var moment_moment = __webpack_require__(2);
10338
- var moment_default = /*#__PURE__*/__webpack_require__.n(moment_moment);
10339
-
10340
- // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/reducers/header-image.js
10341
- /**
10342
- * Internal dependencies
10343
- */
10344
 
10345
-
10346
- /**
10347
- * Full payload from gutenberg media upload is not used,
10348
- * only id, alt, and src are used for this specific case.
10349
- */
10350
- var DEFAULT_STATE = {
10351
- id: 0,
10352
- src: '',
10353
- alt: ''
10354
- };
10355
-
10356
- /* harmony default export */ var header_image = (function () {
10357
- var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;
10358
- var action = arguments[1];
10359
-
10360
- switch (action.type) {
10361
- case types_namespaceObject.SET_RSVP_HEADER_IMAGE:
10362
- return {
10363
- id: action.payload.id,
10364
- src: action.payload.src,
10365
- alt: action.payload.alt
10366
- };
10367
- default:
10368
- return state;
10369
- }
10370
- });
10371
  // EXTERNAL MODULE: external "tribe.common.store"
10372
- var external_tribe_common_store_ = __webpack_require__(56);
10373
 
10374
  // EXTERNAL MODULE: external "tribe.common.utils"
10375
- var external_tribe_common_utils_ = __webpack_require__(3);
10376
 
10377
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/thunks.js
10378
 
10379
- /**
10380
- * External dependencies
10381
- */
10382
-
10383
-
10384
  /**
10385
  * Internal dependencies
10386
  */
@@ -10448,21 +10103,21 @@ var thunks_createOrUpdateRSVP = function createOrUpdateRSVP(method) {
10448
  },
10449
  actions: {
10450
  start: function start() {
10451
- return dispatch(actions_setRSVPIsLoading(true));
10452
  },
10453
  success: function success(_ref) {
10454
  var body = _ref.body;
10455
 
10456
  if (method === METHODS.POST) {
10457
- dispatch(actions_createRSVP());
10458
- dispatch(actions_setRSVPId(body.id));
10459
  }
10460
- dispatch(actions_setRSVPDetails(payload));
10461
- dispatch(actions_setRSVPHasChanges(false));
10462
- dispatch(actions_setRSVPIsLoading(false));
10463
  },
10464
  error: function error() {
10465
- return dispatch(actions_setRSVPIsLoading(false));
10466
  }
10467
  }
10468
  };
@@ -10472,7 +10127,7 @@ var thunks_createOrUpdateRSVP = function createOrUpdateRSVP(method) {
10472
  };
10473
  };
10474
 
10475
- var thunks_createRSVP = thunks_createOrUpdateRSVP(METHODS.POST);
10476
 
10477
  var updateRSVP = thunks_createOrUpdateRSVP(METHODS.PUT);
10478
 
@@ -10502,7 +10157,7 @@ var thunks_getRSVP = function getRSVP(postId) {
10502
  },
10503
  actions: {
10504
  start: function start() {
10505
- return dispatch(actions_setRSVPIsLoading(true));
10506
  },
10507
  success: function success(_ref2) {
10508
  var body = _ref2.body,
@@ -10534,11 +10189,11 @@ var thunks_getRSVP = function getRSVP(postId) {
10534
  var capacity = meta[utils["d" /* KEY_TICKET_CAPACITY */]] >= 0 ? meta[utils["d" /* KEY_TICKET_CAPACITY */]] : '';
10535
  var notGoingResponses = meta[utils["k" /* KEY_TICKET_SHOW_NOT_GOING */]];
10536
 
10537
- dispatch(actions_createRSVP());
10538
- dispatch(actions_setRSVPId(rsvp.id));
10539
- dispatch(actions_setRSVPGoingCount(parseInt(meta[utils["g" /* KEY_TICKET_GOING_COUNT */]], 10) || 0));
10540
- dispatch(actions_setRSVPNotGoingCount(parseInt(meta[utils["i" /* KEY_TICKET_NOT_GOING_COUNT */]], 10) || 0));
10541
- dispatch(actions_setRSVPDetails({
10542
  title: rsvp.title.rendered,
10543
  description: rsvp.excerpt.raw,
10544
  capacity: capacity,
@@ -10554,7 +10209,7 @@ var thunks_getRSVP = function getRSVP(postId) {
10554
  startTimeInput: external_tribe_common_utils_["moment"].toTime(startMoment),
10555
  endTimeInput: external_tribe_common_utils_["moment"].toTime(endMoment)
10556
  }));
10557
- dispatch(actions_setRSVPTempDetails({
10558
  tempTitle: rsvp.title.rendered,
10559
  tempDescription: rsvp.excerpt.raw,
10560
  tempCapacity: capacity,
@@ -10570,120 +10225,17 @@ var thunks_getRSVP = function getRSVP(postId) {
10570
  tempStartTimeInput: external_tribe_common_utils_["moment"].toTime(startMoment),
10571
  tempEndTimeInput: external_tribe_common_utils_["moment"].toTime(endMoment)
10572
  }));
10573
- dispatch(actions_setRSVPIsLoading(false));
10574
  } else if (page < totalPages) {
10575
  /* If there are more pages */
10576
  dispatch(getRSVP(postId, page + 1));
10577
  } else {
10578
  /* Did not find RSVP */
10579
- dispatch(actions_setRSVPIsLoading(false));
10580
  }
10581
  },
10582
  error: function error() {
10583
- return dispatch(actions_setRSVPIsLoading(false));
10584
- }
10585
- }
10586
- };
10587
-
10588
- dispatch(wpRequestActions.wpRequest(options));
10589
- };
10590
- };
10591
-
10592
- var thunks_updateRSVPHeaderImage = function updateRSVPHeaderImage(postId, image) {
10593
- return function (dispatch) {
10594
- var path = 'tribe_events/' + postId;
10595
- var body = {
10596
- meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], '' + image.id)
10597
- };
10598
-
10599
- var options = {
10600
- path: path,
10601
- params: {
10602
- method: METHODS.PUT,
10603
- body: JSON.stringify(body)
10604
- },
10605
- actions: {
10606
- start: function start() {
10607
- return dispatch(actions_setRSVPIsSettingsLoading(true));
10608
- },
10609
- success: function success() {
10610
- dispatch(actions_setRSVPHeaderImage({
10611
- id: image.id,
10612
- alt: image.alt,
10613
- src: image.sizes.medium.url
10614
- }));
10615
- dispatch(actions_setRSVPIsSettingsLoading(false));
10616
- },
10617
- error: function error() {
10618
- return dispatch(actions_setRSVPIsSettingsLoading(false));
10619
- }
10620
- }
10621
- };
10622
-
10623
- dispatch(wpRequestActions.wpRequest(options));
10624
- };
10625
- };
10626
-
10627
- var thunks_deleteRSVPHeaderImage = function deleteRSVPHeaderImage(postId) {
10628
- return function (dispatch) {
10629
- var path = 'tribe_events/' + postId;
10630
- var body = {
10631
- meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], null)
10632
- };
10633
-
10634
- var options = {
10635
- path: path,
10636
- params: {
10637
- method: METHODS.PUT,
10638
- body: JSON.stringify(body)
10639
- },
10640
- actions: {
10641
- start: function start() {
10642
- return dispatch(actions_setRSVPIsSettingsLoading(true));
10643
- },
10644
- success: function success() {
10645
- dispatch(actions_setRSVPHeaderImage({
10646
- id: DEFAULT_STATE.id,
10647
- alt: DEFAULT_STATE.alt,
10648
- src: DEFAULT_STATE.src
10649
- }));
10650
- dispatch(actions_setRSVPIsSettingsLoading(false));
10651
- },
10652
- error: function error() {
10653
- return dispatch(actions_setRSVPIsSettingsLoading(false));
10654
- }
10655
- }
10656
- };
10657
-
10658
- dispatch(wpRequestActions.wpRequest(options));
10659
- };
10660
- };
10661
-
10662
- var thunks_getRSVPHeaderImage = function getRSVPHeaderImage(id) {
10663
- return function (dispatch) {
10664
- var path = 'media/' + id;
10665
-
10666
- var options = {
10667
- path: path,
10668
- params: {
10669
- method: METHODS.GET
10670
- },
10671
- actions: {
10672
- start: function start() {
10673
- return dispatch(actions_setRSVPIsSettingsLoading(true));
10674
- },
10675
- success: function success(_ref3) {
10676
- var body = _ref3.body;
10677
-
10678
- dispatch(actions_setRSVPHeaderImage({
10679
- id: body.id,
10680
- alt: body.alt_text,
10681
- src: body.media_details.sizes.medium.source_url
10682
- }));
10683
- dispatch(actions_setRSVPIsSettingsLoading(false));
10684
- },
10685
- error: function error() {
10686
- return dispatch(actions_setRSVPIsSettingsLoading(false));
10687
  }
10688
  }
10689
  };
@@ -10692,9 +10244,13 @@ var thunks_getRSVPHeaderImage = function getRSVPHeaderImage(id) {
10692
  };
10693
  };
10694
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js
10695
- var helpers_extends = __webpack_require__(7);
10696
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
10697
 
 
 
 
 
10698
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/reducers/details.js
10699
 
10700
  /**
@@ -10715,7 +10271,7 @@ var details_endMoment = currentMoment.clone();
10715
  var details_startDateInput = details_datePickerFormat ? currentMoment.format(external_tribe_common_utils_["moment"].toFormat(details_datePickerFormat)) : external_tribe_common_utils_["moment"].toDate(currentMoment);
10716
  var details_endDateInput = details_datePickerFormat ? details_endMoment.format(external_tribe_common_utils_["moment"].toFormat(details_datePickerFormat)) : external_tribe_common_utils_["moment"].toDate(details_endMoment);
10717
 
10718
- var details_DEFAULT_STATE = {
10719
  title: '',
10720
  description: '',
10721
  capacity: '',
@@ -10733,7 +10289,7 @@ var details_DEFAULT_STATE = {
10733
  };
10734
 
10735
  /* harmony default export */ var details = (function () {
10736
- var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : details_DEFAULT_STATE;
10737
  var action = arguments[1];
10738
 
10739
  switch (action.type) {
@@ -10806,7 +10362,7 @@ var details_DEFAULT_STATE = {
10806
 
10807
 
10808
  /* harmony default export */ var temp_details = (function () {
10809
- var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : details_DEFAULT_STATE;
10810
  var action = arguments[1];
10811
 
10812
  switch (action.type) {
@@ -10889,9 +10445,9 @@ var reducer_DEFAULT_STATE = {
10889
  isSettingsLoading: false,
10890
  goingCount: 0,
10891
  notGoingCount: 0,
10892
- details: details_DEFAULT_STATE,
10893
- tempDetails: details_DEFAULT_STATE,
10894
- headerImage: DEFAULT_STATE
10895
  };
10896
 
10897
  /* harmony default export */ var reducer = (function () {
@@ -10969,50 +10525,60 @@ var reducer_DEFAULT_STATE = {
10969
  });
10970
  case types_namespaceObject.SET_RSVP_HEADER_IMAGE:
10971
  return extends_default()({}, state, {
10972
- headerImage: header_image(state.headerImage, action)
10973
  });
10974
  default:
10975
  return state;
10976
  }
10977
  });
10978
  // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js
10979
- var regenerator = __webpack_require__(8);
10980
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
10981
 
10982
  // EXTERNAL MODULE: external {"var":"wp.data","root":["wp","data"]}
10983
- var external_var_wp_data_root_wp_data_ = __webpack_require__(18);
10984
 
10985
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/effects.js + 1 modules
10986
  var effects = __webpack_require__(0);
10987
 
 
 
 
 
 
 
10988
  // EXTERNAL MODULE: ./src/modules/data/shared/move/types.js
10989
- var types = __webpack_require__(15);
10990
 
10991
  // EXTERNAL MODULE: ./src/modules/data/shared/move/selectors.js
10992
- var selectors = __webpack_require__(25);
10993
 
10994
  // EXTERNAL MODULE: ./src/modules/data/shared/sagas.js
10995
- var sagas = __webpack_require__(28);
10996
 
10997
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/sagas.js
10998
 
10999
 
11000
- var _marked = /*#__PURE__*/regenerator_default.a.mark(sagas_setRSVPDetails),
11001
- _marked2 = /*#__PURE__*/regenerator_default.a.mark(sagas_setRSVPTempDetails),
11002
- _marked3 = /*#__PURE__*/regenerator_default.a.mark(sagas_initializeRSVP),
 
11003
  _marked4 = /*#__PURE__*/regenerator_default.a.mark(syncRSVPSaleEndWithEventStart),
11004
  _marked5 = /*#__PURE__*/regenerator_default.a.mark(saveRSVPWithPostSave),
11005
  _marked6 = /*#__PURE__*/regenerator_default.a.mark(handleEventStartDateChanges),
11006
- _marked7 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleRSVPStartDate),
11007
- _marked8 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleRSVPEndDate),
11008
- _marked9 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleRSVPStartTime),
11009
  _marked10 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPStartTimeInput),
11010
- _marked11 = /*#__PURE__*/regenerator_default.a.mark(sagas_handleRSVPEndTime),
11011
  _marked12 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPEndTimeInput),
11012
  _marked13 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPMove),
11013
- _marked14 = /*#__PURE__*/regenerator_default.a.mark(handler),
11014
- _marked15 = /*#__PURE__*/regenerator_default.a.mark(setNonEventPostTypeEndDate),
11015
- _marked16 = /*#__PURE__*/regenerator_default.a.mark(watchers);
 
 
 
11016
 
11017
  /* eslint-disable max-len */
11018
 
@@ -11035,6 +10601,10 @@ var _marked = /*#__PURE__*/regenerator_default.a.mark(sagas_setRSVPDetails),
11035
 
11036
 
11037
 
 
 
 
 
11038
  //
11039
  // ─── RSVP DETAILS ───────────────────────────────────────────────────────────────
11040
  //
@@ -11045,7 +10615,7 @@ var _marked = /*#__PURE__*/regenerator_default.a.mark(sagas_setRSVPDetails),
11045
  * @export
11046
  * @param {Object} action redux action
11047
  */
11048
- function sagas_setRSVPDetails(action) {
11049
  var _action$payload, title, description, capacity, notGoingResponses, startDate, startDateInput, startDateMoment, startTime, endDate, endDateInput, endDateMoment, endTime, startTimeInput, endTimeInput;
11050
 
11051
  return regenerator_default.a.wrap(function setRSVPDetails$(_context) {
@@ -11054,7 +10624,7 @@ function sagas_setRSVPDetails(action) {
11054
  case 0:
11055
  _action$payload = action.payload, title = _action$payload.title, description = _action$payload.description, capacity = _action$payload.capacity, notGoingResponses = _action$payload.notGoingResponses, startDate = _action$payload.startDate, startDateInput = _action$payload.startDateInput, startDateMoment = _action$payload.startDateMoment, startTime = _action$payload.startTime, endDate = _action$payload.endDate, endDateInput = _action$payload.endDateInput, endDateMoment = _action$payload.endDateMoment, endTime = _action$payload.endTime, startTimeInput = _action$payload.startTimeInput, endTimeInput = _action$payload.endTimeInput;
11056
  _context.next = 3;
11057
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPTitle(title)), Object(effects["e" /* put */])(actions_setRSVPDescription(description)), Object(effects["e" /* put */])(actions_setRSVPCapacity(capacity)), Object(effects["e" /* put */])(actions_setRSVPNotGoingResponses(notGoingResponses)), Object(effects["e" /* put */])(actions_setRSVPStartDate(startDate)), Object(effects["e" /* put */])(actions_setRSVPStartDateInput(startDateInput)), Object(effects["e" /* put */])(actions_setRSVPStartDateMoment(startDateMoment)), Object(effects["e" /* put */])(actions_setRSVPStartTime(startTime)), Object(effects["e" /* put */])(actions_setRSVPEndDate(endDate)), Object(effects["e" /* put */])(actions_setRSVPEndDateInput(endDateInput)), Object(effects["e" /* put */])(actions_setRSVPEndDateMoment(endDateMoment)), Object(effects["e" /* put */])(actions_setRSVPEndTime(endTime)), Object(effects["e" /* put */])(actions_setRSVPStartTimeInput(startTimeInput)), Object(effects["e" /* put */])(actions_setRSVPEndTimeInput(endTimeInput))]);
11058
 
11059
  case 3:
11060
  case 'end':
@@ -11070,7 +10640,7 @@ function sagas_setRSVPDetails(action) {
11070
  * @export
11071
  * @param {Object} action redux action
11072
  */
11073
- function sagas_setRSVPTempDetails(action) {
11074
  var _action$payload2, tempTitle, tempDescription, tempCapacity, tempNotGoingResponses, tempStartDate, tempStartDateInput, tempStartDateMoment, tempStartTime, tempEndDate, tempEndDateInput, tempEndDateMoment, tempEndTime, tempStartTimeInput, tempEndTimeInput;
11075
 
11076
  return regenerator_default.a.wrap(function setRSVPTempDetails$(_context2) {
@@ -11079,7 +10649,7 @@ function sagas_setRSVPTempDetails(action) {
11079
  case 0:
11080
  _action$payload2 = action.payload, tempTitle = _action$payload2.tempTitle, tempDescription = _action$payload2.tempDescription, tempCapacity = _action$payload2.tempCapacity, tempNotGoingResponses = _action$payload2.tempNotGoingResponses, tempStartDate = _action$payload2.tempStartDate, tempStartDateInput = _action$payload2.tempStartDateInput, tempStartDateMoment = _action$payload2.tempStartDateMoment, tempStartTime = _action$payload2.tempStartTime, tempEndDate = _action$payload2.tempEndDate, tempEndDateInput = _action$payload2.tempEndDateInput, tempEndDateMoment = _action$payload2.tempEndDateMoment, tempEndTime = _action$payload2.tempEndTime, tempStartTimeInput = _action$payload2.tempStartTimeInput, tempEndTimeInput = _action$payload2.tempEndTimeInput;
11081
  _context2.next = 3;
11082
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPTempTitle(tempTitle)), Object(effects["e" /* put */])(actions_setRSVPTempDescription(tempDescription)), Object(effects["e" /* put */])(actions_setRSVPTempCapacity(tempCapacity)), Object(effects["e" /* put */])(actions_setRSVPTempNotGoingResponses(tempNotGoingResponses)), Object(effects["e" /* put */])(actions_setRSVPTempStartDate(tempStartDate)), Object(effects["e" /* put */])(actions_setRSVPTempStartDateInput(tempStartDateInput)), Object(effects["e" /* put */])(actions_setRSVPTempStartDateMoment(tempStartDateMoment)), Object(effects["e" /* put */])(actions_setRSVPTempStartTime(tempStartTime)), Object(effects["e" /* put */])(actions_setRSVPTempEndDate(tempEndDate)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateInput(tempEndDateInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateMoment(tempEndDateMoment)), Object(effects["e" /* put */])(actions_setRSVPTempEndTime(tempEndTime)), Object(effects["e" /* put */])(actions_setRSVPTempStartTimeInput(tempStartTimeInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndTimeInput(tempEndTimeInput))]);
11083
 
11084
  case 3:
11085
  case 'end':
@@ -11097,7 +10667,7 @@ function sagas_setRSVPTempDetails(action) {
11097
  * @borrows TEC - Optional functionality requires TEC to be enabled and post type to be event
11098
  * @export
11099
  */
11100
- function sagas_initializeRSVP() {
11101
  var publishDate, _ref, startMoment, startDate, startDateInput, startTime, startTimeInput, eventStart, _ref2, endMoment, endDate, endDateInput, endTime, endTimeInput;
11102
 
11103
  return regenerator_default.a.wrap(function initializeRSVP$(_context3) {
@@ -11120,7 +10690,7 @@ function sagas_initializeRSVP() {
11120
  startTime = _ref.time;
11121
  startTimeInput = _ref.timeInput;
11122
  _context3.next = 13;
11123
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPStartDate(startDate)), Object(effects["e" /* put */])(actions_setRSVPStartDateInput(startDateInput)), Object(effects["e" /* put */])(actions_setRSVPStartDateMoment(startMoment)), Object(effects["e" /* put */])(actions_setRSVPStartTime(startTime)), Object(effects["e" /* put */])(actions_setRSVPStartTimeInput(startTimeInput)), Object(effects["e" /* put */])(actions_setRSVPTempStartDate(startDate)), Object(effects["e" /* put */])(actions_setRSVPTempStartDateInput(startDateInput)), Object(effects["e" /* put */])(actions_setRSVPTempStartDateMoment(startMoment)), Object(effects["e" /* put */])(actions_setRSVPTempStartTime(startTime)), Object(effects["e" /* put */])(actions_setRSVPTempStartTimeInput(startTimeInput))]);
11124
 
11125
  case 13:
11126
  _context3.prev = 13;
@@ -11149,7 +10719,7 @@ function sagas_initializeRSVP() {
11149
  endTime = _ref2.time;
11150
  endTimeInput = _ref2.timeInput;
11151
  _context3.next = 30;
11152
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPEndDate(endDate)), Object(effects["e" /* put */])(actions_setRSVPEndDateInput(endDateInput)), Object(effects["e" /* put */])(actions_setRSVPEndDateMoment(endMoment)), Object(effects["e" /* put */])(actions_setRSVPEndTime(endTime)), Object(effects["e" /* put */])(actions_setRSVPEndTimeInput(endTimeInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndDate(endDate)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateInput(endDateInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateMoment(endMoment)), Object(effects["e" /* put */])(actions_setRSVPTempEndTime(endTime)), Object(effects["e" /* put */])(actions_setRSVPTempEndTimeInput(endTimeInput))]);
11153
 
11154
  case 30:
11155
  _context3.next = 35;
@@ -11236,13 +10806,13 @@ function syncRSVPSaleEndWithEventStart(prevStartDate) {
11236
  endTime = _ref4.time;
11237
  endTimeInput = _ref4.timeInput;
11238
  _context4.next = 33;
11239
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPTempEndDate(endDate)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateInput(endDateInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateMoment(endDateMoment)), Object(effects["e" /* put */])(actions_setRSVPTempEndTime(endTime)), Object(effects["e" /* put */])(actions_setRSVPTempEndTimeInput(endTimeInput)),
11240
 
11241
  // Sync RSVP end items as well so as not to make state 'manually edited'
11242
- Object(effects["e" /* put */])(actions_setRSVPEndDate(endDate)), Object(effects["e" /* put */])(actions_setRSVPEndDateInput(endDateInput)), Object(effects["e" /* put */])(actions_setRSVPEndDateMoment(endDateMoment)), Object(effects["e" /* put */])(actions_setRSVPEndTime(endTime)), Object(effects["e" /* put */])(actions_setRSVPEndTimeInput(endTimeInput)),
11243
 
11244
  // Trigger UI button
11245
- Object(effects["e" /* put */])(actions_setRSVPHasChanges(true))]);
11246
 
11247
  case 33:
11248
  _context4.next = 35;
@@ -11436,7 +11006,7 @@ function handleEventStartDateChanges() {
11436
  // ─── DATE & TIME ────────────────────────────────────────────────────────────────
11437
  //
11438
 
11439
- function sagas_handleRSVPStartDate(action) {
11440
  var _action$payload3, date, dayPickerInput, startDateMoment, startDate;
11441
 
11442
  return regenerator_default.a.wrap(function handleRSVPStartDate$(_context7) {
@@ -11455,15 +11025,15 @@ function sagas_handleRSVPStartDate(action) {
11455
  case 6:
11456
  startDate = _context7.sent;
11457
  _context7.next = 9;
11458
- return Object(effects["e" /* put */])(actions_setRSVPTempStartDate(startDate));
11459
 
11460
  case 9:
11461
  _context7.next = 11;
11462
- return Object(effects["e" /* put */])(actions_setRSVPTempStartDateInput(dayPickerInput.state.value));
11463
 
11464
  case 11:
11465
  _context7.next = 13;
11466
- return Object(effects["e" /* put */])(actions_setRSVPTempStartDateMoment(startDateMoment));
11467
 
11468
  case 13:
11469
  case 'end':
@@ -11473,7 +11043,7 @@ function sagas_handleRSVPStartDate(action) {
11473
  }, _marked7, this);
11474
  }
11475
 
11476
- function sagas_handleRSVPEndDate(action) {
11477
  var _action$payload4, date, dayPickerInput, endDateMoment, endDate;
11478
 
11479
  return regenerator_default.a.wrap(function handleRSVPEndDate$(_context8) {
@@ -11492,15 +11062,15 @@ function sagas_handleRSVPEndDate(action) {
11492
  case 6:
11493
  endDate = _context8.sent;
11494
  _context8.next = 9;
11495
- return Object(effects["e" /* put */])(actions_setRSVPTempEndDate(endDate));
11496
 
11497
  case 9:
11498
  _context8.next = 11;
11499
- return Object(effects["e" /* put */])(actions_setRSVPTempEndDateInput(dayPickerInput.state.value));
11500
 
11501
  case 11:
11502
  _context8.next = 13;
11503
- return Object(effects["e" /* put */])(actions_setRSVPTempEndDateMoment(endDateMoment));
11504
 
11505
  case 13:
11506
  case 'end':
@@ -11510,7 +11080,7 @@ function sagas_handleRSVPEndDate(action) {
11510
  }, _marked8, this);
11511
  }
11512
 
11513
- function sagas_handleRSVPStartTime(action) {
11514
  var startTime;
11515
  return regenerator_default.a.wrap(function handleRSVPStartTime$(_context9) {
11516
  while (1) {
@@ -11522,7 +11092,7 @@ function sagas_handleRSVPStartTime(action) {
11522
  case 2:
11523
  startTime = _context9.sent;
11524
  _context9.next = 5;
11525
- return Object(effects["e" /* put */])(actions_setRSVPTempStartTime(startTime + ':00'));
11526
 
11527
  case 5:
11528
  case 'end':
@@ -11554,7 +11124,7 @@ function handleRSVPStartTimeInput(action) {
11554
  case 8:
11555
  startTimeInput = _context10.sent;
11556
  _context10.next = 11;
11557
- return Object(effects["e" /* put */])(actions_setRSVPTempStartTimeInput(startTimeInput));
11558
 
11559
  case 11:
11560
  case 'end':
@@ -11564,7 +11134,7 @@ function handleRSVPStartTimeInput(action) {
11564
  }, _marked10, this);
11565
  }
11566
 
11567
- function sagas_handleRSVPEndTime(action) {
11568
  var endTime;
11569
  return regenerator_default.a.wrap(function handleRSVPEndTime$(_context11) {
11570
  while (1) {
@@ -11576,7 +11146,7 @@ function sagas_handleRSVPEndTime(action) {
11576
  case 2:
11577
  endTime = _context11.sent;
11578
  _context11.next = 5;
11579
- return Object(effects["e" /* put */])(actions_setRSVPTempEndTime(endTime + ':00'));
11580
 
11581
  case 5:
11582
  case 'end':
@@ -11608,7 +11178,7 @@ function handleRSVPEndTimeInput(action) {
11608
  case 8:
11609
  endTimeInput = _context12.sent;
11610
  _context12.next = 11;
11611
- return Object(effects["e" /* put */])(actions_setRSVPTempEndTimeInput(endTimeInput));
11612
 
11613
  case 11:
11614
  case 'end':
@@ -11624,7 +11194,7 @@ function handleRSVPEndTimeInput(action) {
11624
  * @export
11625
  */
11626
  function handleRSVPMove() {
11627
- var rsvpId, modalTicketId, blockId;
11628
  return regenerator_default.a.wrap(function handleRSVPMove$(_context13) {
11629
  while (1) {
11630
  switch (_context13.prev = _context13.next) {
@@ -11646,16 +11216,16 @@ function handleRSVPMove() {
11646
  }
11647
 
11648
  _context13.next = 9;
11649
- return Object(effects["f" /* select */])(selectors["a" /* getModalBlockId */]);
11650
 
11651
  case 9:
11652
- blockId = _context13.sent;
11653
  _context13.next = 12;
11654
- return Object(effects["e" /* put */])(actions_deleteRSVP());
11655
 
11656
  case 12:
11657
  _context13.next = 14;
11658
- return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [blockId]);
11659
 
11660
  case 14:
11661
  case 'end':
@@ -11665,108 +11235,366 @@ function handleRSVPMove() {
11665
  }, _marked13, this);
11666
  }
11667
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11668
  //
11669
  // ─── HANDLERS ───────────────────────────────────────────────────────────────────
11670
  //
11671
 
11672
  function handler(action) {
11673
- return regenerator_default.a.wrap(function handler$(_context14) {
11674
  while (1) {
11675
- switch (_context14.prev = _context14.next) {
11676
  case 0:
11677
- _context14.t0 = action.type;
11678
- _context14.next = _context14.t0 === SET_RSVP_DETAILS ? 3 : _context14.t0 === SET_RSVP_TEMP_DETAILS ? 6 : _context14.t0 === INITIALIZE_RSVP ? 9 : _context14.t0 === HANDLE_RSVP_START_DATE ? 12 : _context14.t0 === HANDLE_RSVP_END_DATE ? 17 : _context14.t0 === HANDLE_RSVP_START_TIME ? 22 : _context14.t0 === HANDLE_RSVP_END_TIME ? 29 : _context14.t0 === types["k" /* MOVE_TICKET_SUCCESS */] ? 36 : 39;
11679
  break;
11680
 
11681
  case 3:
11682
- _context14.next = 5;
11683
- return Object(effects["b" /* call */])(sagas_setRSVPDetails, action);
11684
 
11685
  case 5:
11686
- return _context14.abrupt('break', 40);
11687
 
11688
  case 6:
11689
- _context14.next = 8;
11690
- return Object(effects["b" /* call */])(sagas_setRSVPTempDetails, action);
11691
 
11692
  case 8:
11693
- return _context14.abrupt('break', 40);
11694
 
11695
  case 9:
11696
- _context14.next = 11;
11697
- return Object(effects["b" /* call */])(sagas_initializeRSVP);
11698
 
11699
  case 11:
11700
- return _context14.abrupt('break', 40);
11701
 
11702
  case 12:
11703
- _context14.next = 14;
11704
- return Object(effects["b" /* call */])(sagas_handleRSVPStartDate, action);
11705
 
11706
  case 14:
11707
- _context14.next = 16;
11708
- return Object(effects["e" /* put */])(actions_setRSVPHasChanges(true));
11709
 
11710
  case 16:
11711
- return _context14.abrupt('break', 40);
11712
 
11713
  case 17:
11714
- _context14.next = 19;
11715
- return Object(effects["b" /* call */])(sagas_handleRSVPEndDate, action);
11716
 
11717
  case 19:
11718
- _context14.next = 21;
11719
- return Object(effects["e" /* put */])(actions_setRSVPHasChanges(true));
11720
 
11721
  case 21:
11722
- return _context14.abrupt('break', 40);
11723
 
11724
  case 22:
11725
- _context14.next = 24;
11726
- return Object(effects["b" /* call */])(sagas_handleRSVPStartTime, action);
11727
 
11728
  case 24:
11729
- _context14.next = 26;
11730
  return Object(effects["b" /* call */])(handleRSVPStartTimeInput, action);
11731
 
11732
  case 26:
11733
- _context14.next = 28;
11734
- return Object(effects["e" /* put */])(actions_setRSVPHasChanges(true));
11735
 
11736
  case 28:
11737
- return _context14.abrupt('break', 40);
11738
 
11739
  case 29:
11740
- _context14.next = 31;
11741
- return Object(effects["b" /* call */])(sagas_handleRSVPEndTime, action);
11742
 
11743
  case 31:
11744
- _context14.next = 33;
11745
  return Object(effects["b" /* call */])(handleRSVPEndTimeInput, action);
11746
 
11747
  case 33:
11748
- _context14.next = 35;
11749
- return Object(effects["e" /* put */])(actions_setRSVPHasChanges(true));
11750
 
11751
  case 35:
11752
- return _context14.abrupt('break', 40);
11753
 
11754
  case 36:
11755
- _context14.next = 38;
11756
- return Object(effects["b" /* call */])(handleRSVPMove);
11757
 
11758
  case 38:
11759
- return _context14.abrupt('break', 40);
11760
 
11761
  case 39:
11762
- return _context14.abrupt('break', 40);
 
11763
 
11764
- case 40:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11765
  case 'end':
11766
- return _context14.stop();
11767
  }
11768
  }
11769
- }, _marked14, this);
11770
  }
11771
 
11772
  /**
@@ -11775,60 +11603,60 @@ function handler(action) {
11775
  * @export
11776
  */
11777
  function setNonEventPostTypeEndDate() {
11778
- var tempEndMoment, endMoment, _ref5, date, dateInput, moment, time;
11779
 
11780
- return regenerator_default.a.wrap(function setNonEventPostTypeEndDate$(_context15) {
11781
  while (1) {
11782
- switch (_context15.prev = _context15.next) {
11783
  case 0:
11784
- _context15.next = 2;
11785
  return Object(effects["g" /* take */])([INITIALIZE_RSVP]);
11786
 
11787
  case 2:
11788
- _context15.next = 4;
11789
  return Object(effects["b" /* call */])(sagas["d" /* isTribeEventPostType */]);
11790
 
11791
  case 4:
11792
- if (!_context15.sent) {
11793
- _context15.next = 6;
11794
  break;
11795
  }
11796
 
11797
- return _context15.abrupt('return');
11798
 
11799
  case 6:
11800
- _context15.next = 8;
11801
  return Object(effects["f" /* select */])(getRSVPTempEndDateMoment);
11802
 
11803
  case 8:
11804
- tempEndMoment = _context15.sent;
11805
- _context15.next = 11;
11806
  return Object(effects["b" /* call */])([tempEndMoment, 'clone']);
11807
 
11808
  case 11:
11809
- endMoment = _context15.sent;
11810
- _context15.next = 14;
11811
  return Object(effects["b" /* call */])([endMoment, 'add'], 100, 'years');
11812
 
11813
  case 14:
11814
- _context15.next = 16;
11815
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], endMoment.toDate());
11816
 
11817
  case 16:
11818
- _ref5 = _context15.sent;
11819
- date = _ref5.date;
11820
- dateInput = _ref5.dateInput;
11821
- moment = _ref5.moment;
11822
- time = _ref5.time;
11823
- _context15.next = 23;
11824
- return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions_setRSVPTempEndDate(date)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateInput(dateInput)), Object(effects["e" /* put */])(actions_setRSVPTempEndDateMoment(moment)), Object(effects["e" /* put */])(actions_setRSVPTempEndTime(time)), Object(effects["e" /* put */])(actions_setRSVPEndDate(date)), Object(effects["e" /* put */])(actions_setRSVPEndDateInput(dateInput)), Object(effects["e" /* put */])(actions_setRSVPEndDateMoment(moment)), Object(effects["e" /* put */])(actions_setRSVPEndTime(time))]);
11825
 
11826
  case 23:
11827
  case 'end':
11828
- return _context15.stop();
11829
  }
11830
  }
11831
- }, _marked15, this);
11832
  }
11833
 
11834
  //
@@ -11836,31 +11664,31 @@ function setNonEventPostTypeEndDate() {
11836
  //
11837
 
11838
  function watchers() {
11839
- return regenerator_default.a.wrap(function watchers$(_context16) {
11840
  while (1) {
11841
- switch (_context16.prev = _context16.next) {
11842
  case 0:
11843
- _context16.next = 2;
11844
- return Object(effects["h" /* takeEvery */])([SET_RSVP_DETAILS, SET_RSVP_TEMP_DETAILS, INITIALIZE_RSVP, HANDLE_RSVP_START_DATE, HANDLE_RSVP_END_DATE, HANDLE_RSVP_START_TIME, HANDLE_RSVP_END_TIME, types["k" /* MOVE_TICKET_SUCCESS */]], handler);
11845
 
11846
  case 2:
11847
- _context16.next = 4;
11848
  return Object(effects["d" /* fork */])(handleEventStartDateChanges);
11849
 
11850
  case 4:
11851
- _context16.next = 6;
11852
  return Object(effects["d" /* fork */])(setNonEventPostTypeEndDate);
11853
 
11854
  case 6:
11855
  case 'end':
11856
- return _context16.stop();
11857
  }
11858
  }
11859
- }, _marked16, this);
11860
  }
11861
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/index.js
11862
  /* concated harmony reexport types */__webpack_require__.d(__webpack_exports__, "f", function() { return types_namespaceObject; });
11863
- /* concated harmony reexport actions */__webpack_require__.d(__webpack_exports__, "a", function() { return actions_namespaceObject; });
11864
  /* concated harmony reexport sagas */__webpack_require__.d(__webpack_exports__, "c", function() { return watchers; });
11865
  /* concated harmony reexport selectors */__webpack_require__.d(__webpack_exports__, "d", function() { return selectors_namespaceObject; });
11866
  /* concated harmony reexport thunks */__webpack_require__.d(__webpack_exports__, "e", function() { return thunks_namespaceObject; });
@@ -11879,189 +11707,687 @@ function watchers() {
11879
 
11880
  /***/ }),
11881
  /* 13 */
 
 
 
 
 
 
11882
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11883
 
11884
  "use strict";
11885
- /* unused harmony export detach */
11886
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return take; });
11887
- /* unused harmony export takem */
11888
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return put; });
11889
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return all; });
11890
- /* unused harmony export race */
11891
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return call; });
11892
- /* unused harmony export apply */
11893
- /* unused harmony export cps */
11894
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return fork; });
11895
- /* unused harmony export spawn */
11896
- /* unused harmony export join */
11897
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return cancel; });
11898
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return select; });
11899
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return actionChannel; });
11900
- /* unused harmony export cancelled */
11901
- /* unused harmony export flush */
11902
- /* unused harmony export getContext */
11903
- /* unused harmony export setContext */
11904
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return asEffect; });
11905
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11906
 
11907
 
11908
- var IO = /*#__PURE__*/Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* sym */ "u"])('IO');
11909
- var TAKE = 'TAKE';
11910
- var PUT = 'PUT';
11911
- var ALL = 'ALL';
11912
- var RACE = 'RACE';
11913
- var CALL = 'CALL';
11914
- var CPS = 'CPS';
11915
- var FORK = 'FORK';
11916
- var JOIN = 'JOIN';
11917
- var CANCEL = 'CANCEL';
11918
- var SELECT = 'SELECT';
11919
- var ACTION_CHANNEL = 'ACTION_CHANNEL';
11920
- var CANCELLED = 'CANCELLED';
11921
- var FLUSH = 'FLUSH';
11922
- var GET_CONTEXT = 'GET_CONTEXT';
11923
- var SET_CONTEXT = 'SET_CONTEXT';
11924
 
11925
- var TEST_HINT = '\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)';
 
 
 
 
 
 
 
11926
 
11927
- var effect = function effect(type, payload) {
11928
- var _ref;
 
 
 
 
 
 
11929
 
11930
- return _ref = {}, _ref[IO] = true, _ref[type] = payload, _ref;
 
 
 
 
 
 
11931
  };
11932
 
11933
- var detach = function detach(eff) {
11934
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(asEffect.fork(eff), _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].object, 'detach(eff): argument must be a fork effect');
11935
- eff[FORK].detached = true;
11936
- return eff;
 
 
 
11937
  };
11938
 
11939
- function take() {
11940
- var patternOrChannel = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '*';
 
 
 
 
 
 
11941
 
11942
- if (arguments.length) {
11943
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(arguments[0], _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, 'take(patternOrChannel): patternOrChannel is undefined');
11944
- }
11945
- if (_utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].pattern(patternOrChannel)) {
11946
- return effect(TAKE, { pattern: patternOrChannel });
11947
- }
11948
- if (_utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].channel(patternOrChannel)) {
11949
- return effect(TAKE, { channel: patternOrChannel });
11950
- }
11951
- throw new Error('take(patternOrChannel): argument ' + String(patternOrChannel) + ' is not valid channel or a valid pattern');
11952
- }
11953
 
11954
- take.maybe = function () {
11955
- var eff = take.apply(undefined, arguments);
11956
- eff[TAKE].maybe = true;
11957
- return eff;
 
 
 
11958
  };
11959
 
11960
- var takem = /*#__PURE__*/Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* deprecate */ "k"])(take.maybe, /*#__PURE__*/Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* updateIncentive */ "w"])('takem', 'take.maybe'));
 
 
 
 
 
11961
 
11962
- function put(channel, action) {
11963
- if (arguments.length > 1) {
11964
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(channel, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, 'put(channel, action): argument channel is undefined');
11965
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(channel, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].channel, 'put(channel, action): argument ' + channel + ' is not a valid channel');
11966
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(action, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, 'put(channel, action): argument action is undefined');
11967
- } else {
11968
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(channel, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, 'put(action): argument action is undefined');
11969
- action = channel;
11970
- channel = null;
11971
- }
11972
- return effect(PUT, { channel: channel, action: action });
11973
- }
11974
 
11975
- put.resolve = function () {
11976
- var eff = put.apply(undefined, arguments);
11977
- eff[PUT].resolve = true;
11978
- return eff;
 
11979
  };
11980
 
11981
- put.sync = /*#__PURE__*/Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* deprecate */ "k"])(put.resolve, /*#__PURE__*/Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* updateIncentive */ "w"])('put.sync', 'put.resolve'));
 
 
11982
 
11983
- function all(effects) {
11984
- return effect(ALL, effects);
11985
- }
 
 
 
 
 
11986
 
11987
- function race(effects) {
11988
- return effect(RACE, effects);
11989
- }
 
 
 
 
 
11990
 
11991
- function getFnCallDesc(meth, fn, args) {
11992
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(fn, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, meth + ': argument fn is undefined');
 
 
 
 
 
 
11993
 
11994
- var context = null;
11995
- if (_utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].array(fn)) {
11996
- var _fn = fn;
11997
- context = _fn[0];
11998
- fn = _fn[1];
11999
- } else if (fn.fn) {
12000
- var _fn2 = fn;
12001
- context = _fn2.context;
12002
- fn = _fn2.fn;
12003
- }
12004
- if (context && _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].string(fn) && _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].func(context[fn])) {
12005
- fn = context[fn];
12006
- }
12007
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(fn, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].func, meth + ': argument ' + fn + ' is not a function');
12008
 
12009
- return { context: context, fn: fn, args: args };
12010
- }
 
 
 
 
 
 
12011
 
12012
- function call(fn) {
12013
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
12014
- args[_key - 1] = arguments[_key];
12015
- }
 
 
 
 
12016
 
12017
- return effect(CALL, getFnCallDesc('call', fn, args));
12018
- }
 
 
 
 
 
 
12019
 
12020
- function apply(context, fn) {
12021
- var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
 
 
 
 
 
 
12022
 
12023
- return effect(CALL, getFnCallDesc('apply', { context: context, fn: fn }, args));
12024
- }
 
 
 
 
 
 
12025
 
12026
- function cps(fn) {
12027
- for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
12028
- args[_key2 - 1] = arguments[_key2];
12029
- }
 
 
 
 
12030
 
12031
- return effect(CPS, getFnCallDesc('cps', fn, args));
12032
- }
 
 
 
 
 
 
12033
 
12034
- function fork(fn) {
12035
- for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
12036
- args[_key3 - 1] = arguments[_key3];
12037
- }
 
 
 
 
12038
 
12039
- return effect(FORK, getFnCallDesc('fork', fn, args));
12040
- }
 
 
 
 
 
 
12041
 
12042
- function spawn(fn) {
12043
- for (var _len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
12044
- args[_key4 - 1] = arguments[_key4];
12045
- }
 
 
 
 
12046
 
12047
- return detach(fork.apply(undefined, [fn].concat(args)));
12048
- }
 
12049
 
12050
- function join() {
12051
- for (var _len5 = arguments.length, tasks = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
12052
- tasks[_key5] = arguments[_key5];
12053
- }
 
 
 
 
12054
 
12055
- if (tasks.length > 1) {
12056
- return all(tasks.map(function (t) {
12057
- return join(t);
12058
- }));
12059
- }
12060
- var task = tasks[0];
12061
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(task, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].notUndef, 'join(task): argument task is undefined');
12062
- Object(_utils__WEBPACK_IMPORTED_MODULE_0__[/* check */ "g"])(task, _utils__WEBPACK_IMPORTED_MODULE_0__[/* is */ "n"].task, 'join(task): argument ' + task + ' is not a valid Task object ' + TEST_HINT);
12063
- return effect(JOIN, task);
12064
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  /******/
83
  /******/
84
  /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = 532);
86
  /******/ })
87
  /************************************************************************/
88
  /******/ ([
92
  "use strict";
93
 
94
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/internal/io.js
95
+ var io = __webpack_require__(16);
96
 
97
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/internal/sagaHelpers/index.js + 4 modules
98
+ var sagaHelpers = __webpack_require__(58);
99
 
100
  // CONCATENATED MODULE: ./node_modules/redux-saga/es/internal/io-helpers.js
101
 
164
  if (false) { var throwOnDirectAccess, isValidElement, REACT_ELEMENT_TYPE; } else {
165
  // By explicitly using `prop-types` you are opting into new production behavior.
166
  // http://fb.me/prop-types-in-prod
167
+ module.exports = __webpack_require__(458)();
168
  }
169
 
170
 
171
  /***/ }),
172
  /* 2 */
173
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
174
+
175
+ "use strict";
176
+ __webpack_require__.r(__webpack_exports__);
177
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_INITIAL_STATE", function() { return SET_TICKETS_INITIAL_STATE; });
178
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RESET_TICKETS_BLOCK", function() { return RESET_TICKETS_BLOCK; });
179
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_HEADER_IMAGE", function() { return SET_TICKETS_HEADER_IMAGE; });
180
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_IS_SELECTED", function() { return SET_TICKETS_IS_SELECTED; });
181
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_IS_SETTINGS_OPEN", function() { return SET_TICKETS_IS_SETTINGS_OPEN; });
182
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_IS_SETTINGS_LOADING", function() { return SET_TICKETS_IS_SETTINGS_LOADING; });
183
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_PROVIDER", function() { return SET_TICKETS_PROVIDER; });
184
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_SHARED_CAPACITY", function() { return SET_TICKETS_SHARED_CAPACITY; });
185
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKETS_TEMP_SHARED_CAPACITY", function() { return SET_TICKETS_TEMP_SHARED_CAPACITY; });
186
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FETCH_TICKETS_HEADER_IMAGE", function() { return FETCH_TICKETS_HEADER_IMAGE; });
187
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UPDATE_TICKETS_HEADER_IMAGE", function() { return UPDATE_TICKETS_HEADER_IMAGE; });
188
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DELETE_TICKETS_HEADER_IMAGE", function() { return DELETE_TICKETS_HEADER_IMAGE; });
189
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "REGISTER_TICKET_BLOCK", function() { return REGISTER_TICKET_BLOCK; });
190
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "REMOVE_TICKET_BLOCK", function() { return REMOVE_TICKET_BLOCK; });
191
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "REMOVE_TICKET_BLOCKS", function() { return REMOVE_TICKET_BLOCKS; });
192
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TITLE", function() { return SET_TICKET_TITLE; });
193
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_DESCRIPTION", function() { return SET_TICKET_DESCRIPTION; });
194
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_PRICE", function() { return SET_TICKET_PRICE; });
195
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_SKU", function() { return SET_TICKET_SKU; });
196
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_START_DATE", function() { return SET_TICKET_START_DATE; });
197
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_START_DATE_INPUT", function() { return SET_TICKET_START_DATE_INPUT; });
198
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_START_DATE_MOMENT", function() { return SET_TICKET_START_DATE_MOMENT; });
199
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_END_DATE", function() { return SET_TICKET_END_DATE; });
200
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_END_DATE_INPUT", function() { return SET_TICKET_END_DATE_INPUT; });
201
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_END_DATE_MOMENT", function() { return SET_TICKET_END_DATE_MOMENT; });
202
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_START_TIME", function() { return SET_TICKET_START_TIME; });
203
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_END_TIME", function() { return SET_TICKET_END_TIME; });
204
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_START_TIME_INPUT", function() { return SET_TICKET_START_TIME_INPUT; });
205
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_END_TIME_INPUT", function() { return SET_TICKET_END_TIME_INPUT; });
206
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_CAPACITY_TYPE", function() { return SET_TICKET_CAPACITY_TYPE; });
207
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_CAPACITY", function() { return SET_TICKET_CAPACITY; });
208
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_TITLE", function() { return SET_TICKET_TEMP_TITLE; });
209
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_DESCRIPTION", function() { return SET_TICKET_TEMP_DESCRIPTION; });
210
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_PRICE", function() { return SET_TICKET_TEMP_PRICE; });
211
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_SKU", function() { return SET_TICKET_TEMP_SKU; });
212
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_START_DATE", function() { return SET_TICKET_TEMP_START_DATE; });
213
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_START_DATE_INPUT", function() { return SET_TICKET_TEMP_START_DATE_INPUT; });
214
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_START_DATE_MOMENT", function() { return SET_TICKET_TEMP_START_DATE_MOMENT; });
215
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_END_DATE", function() { return SET_TICKET_TEMP_END_DATE; });
216
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_END_DATE_INPUT", function() { return SET_TICKET_TEMP_END_DATE_INPUT; });
217
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_END_DATE_MOMENT", function() { return SET_TICKET_TEMP_END_DATE_MOMENT; });
218
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_START_TIME", function() { return SET_TICKET_TEMP_START_TIME; });
219
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_END_TIME", function() { return SET_TICKET_TEMP_END_TIME; });
220
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_START_TIME_INPUT", function() { return SET_TICKET_TEMP_START_TIME_INPUT; });
221
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_END_TIME_INPUT", function() { return SET_TICKET_TEMP_END_TIME_INPUT; });
222
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_CAPACITY_TYPE", function() { return SET_TICKET_TEMP_CAPACITY_TYPE; });
223
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_CAPACITY", function() { return SET_TICKET_TEMP_CAPACITY; });
224
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_SOLD", function() { return SET_TICKET_SOLD; });
225
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_AVAILABLE", function() { return SET_TICKET_AVAILABLE; });
226
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_ID", function() { return SET_TICKET_ID; });
227
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_CURRENCY_SYMBOL", function() { return SET_TICKET_CURRENCY_SYMBOL; });
228
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_CURRENCY_POSITION", function() { return SET_TICKET_CURRENCY_POSITION; });
229
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_PROVIDER", function() { return SET_TICKET_PROVIDER; });
230
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_IS_LOADING", function() { return SET_TICKET_IS_LOADING; });
231
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_HAS_BEEN_CREATED", function() { return SET_TICKET_HAS_BEEN_CREATED; });
232
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_HAS_CHANGES", function() { return SET_TICKET_HAS_CHANGES; });
233
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_IS_SELECTED", function() { return SET_TICKET_IS_SELECTED; });
234
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_DETAILS", function() { return SET_TICKET_DETAILS; });
235
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_TEMP_DETAILS", function() { return SET_TICKET_TEMP_DETAILS; });
236
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HANDLE_TICKET_START_DATE", function() { return HANDLE_TICKET_START_DATE; });
237
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HANDLE_TICKET_END_DATE", function() { return HANDLE_TICKET_END_DATE; });
238
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HANDLE_TICKET_START_TIME", function() { return HANDLE_TICKET_START_TIME; });
239
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HANDLE_TICKET_END_TIME", function() { return HANDLE_TICKET_END_TIME; });
240
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FETCH_TICKET", function() { return FETCH_TICKET; });
241
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CREATE_NEW_TICKET", function() { return CREATE_NEW_TICKET; });
242
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UPDATE_TICKET", function() { return UPDATE_TICKET; });
243
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DELETE_TICKET", function() { return DELETE_TICKET; });
244
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_TICKET_INITIAL_STATE", function() { return SET_TICKET_INITIAL_STATE; });
245
+ /* harmony import */ var _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
246
+ /**
247
+ * Internal dependencies
248
+ */
249
+
250
+
251
+ //
252
+ // ─── TICKETS TYPES ──────────────────────────────────────────────────────────────
253
+ //
254
+
255
+ var SET_TICKETS_INITIAL_STATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_INITIAL_STATE';
256
+ var RESET_TICKETS_BLOCK = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/RESET_TICKETS_BLOCK';
257
+
258
+ var SET_TICKETS_HEADER_IMAGE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_HEADER_IMAGE';
259
+ var SET_TICKETS_IS_SELECTED = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_IS_SELECTED';
260
+ var SET_TICKETS_IS_SETTINGS_OPEN = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_IS_SETTINGS_OPEN';
261
+ var SET_TICKETS_IS_SETTINGS_LOADING = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_IS_SETTINGS_LOADING';
262
+ var SET_TICKETS_PROVIDER = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_PROVIDER';
263
+ var SET_TICKETS_SHARED_CAPACITY = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_SHARED_CAPACITY';
264
+ var SET_TICKETS_TEMP_SHARED_CAPACITY = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_TEMP_SHARED_CAPACITY';
265
+
266
+ //
267
+ // ─── HEADER IMAGE SAGA TYPES ────────────────────────────────────────────────────
268
+ //
269
+
270
+ var FETCH_TICKETS_HEADER_IMAGE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/FETCH_TICKETS_HEADER_IMAGE';
271
+ var UPDATE_TICKETS_HEADER_IMAGE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/UPDATE_TICKETS_HEADER_IMAGE';
272
+ var DELETE_TICKETS_HEADER_IMAGE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/DELETE_TICKETS_HEADER_IMAGE';
273
+
274
+ //
275
+ // ─── CHILD TICKET TYPES ─────────────────────────────────────────────────────────
276
+ //
277
+
278
+ var REGISTER_TICKET_BLOCK = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/REGISTER_TICKET_BLOCK';
279
+ var REMOVE_TICKET_BLOCK = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/REMOVE_TICKET_BLOCK';
280
+ var REMOVE_TICKET_BLOCKS = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/REMOVE_TICKET_BLOCKS';
281
+
282
+ var SET_TICKET_TITLE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TITLE';
283
+ var SET_TICKET_DESCRIPTION = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_DESCRIPTION';
284
+ var SET_TICKET_PRICE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_PRICE';
285
+ var SET_TICKET_SKU = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_SKU';
286
+ var SET_TICKET_START_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_START_DATE';
287
+ var SET_TICKET_START_DATE_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_START_DATE_INPUT';
288
+ var SET_TICKET_START_DATE_MOMENT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_START_DATE_MOMENT';
289
+ var SET_TICKET_END_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_END_DATE';
290
+ var SET_TICKET_END_DATE_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_END_DATE_INPUT';
291
+ var SET_TICKET_END_DATE_MOMENT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_END_DATE_MOMENT';
292
+ var SET_TICKET_START_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_START_TIME';
293
+ var SET_TICKET_END_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_END_TIME';
294
+ var SET_TICKET_START_TIME_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_START_TIME_INPUT';
295
+ var SET_TICKET_END_TIME_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_END_TIME_INPUT';
296
+ var SET_TICKET_CAPACITY_TYPE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_CAPACITY_TYPE';
297
+ var SET_TICKET_CAPACITY = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_CAPACITY';
298
+
299
+ var SET_TICKET_TEMP_TITLE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_TITLE';
300
+ var SET_TICKET_TEMP_DESCRIPTION = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_DESCRIPTION';
301
+ var SET_TICKET_TEMP_PRICE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_PRICE';
302
+ var SET_TICKET_TEMP_SKU = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_SKU';
303
+ var SET_TICKET_TEMP_START_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_START_DATE';
304
+ var SET_TICKET_TEMP_START_DATE_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_START_DATE_INPUT';
305
+ var SET_TICKET_TEMP_START_DATE_MOMENT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_START_DATE_MOMENT';
306
+ var SET_TICKET_TEMP_END_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_END_DATE';
307
+ var SET_TICKET_TEMP_END_DATE_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_END_DATE_INPUT';
308
+ var SET_TICKET_TEMP_END_DATE_MOMENT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_END_DATE_MOMENT';
309
+ var SET_TICKET_TEMP_START_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_START_TIME';
310
+ var SET_TICKET_TEMP_END_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_END_TIME';
311
+ var SET_TICKET_TEMP_START_TIME_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_START_TIME_INPUT';
312
+ var SET_TICKET_TEMP_END_TIME_INPUT = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_END_TIME_INPUT';
313
+ var SET_TICKET_TEMP_CAPACITY_TYPE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_CAPACITY_TYPE';
314
+ var SET_TICKET_TEMP_CAPACITY = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_CAPACITY';
315
+
316
+ var SET_TICKET_SOLD = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_SOLD';
317
+ var SET_TICKET_AVAILABLE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_AVAILABLE';
318
+ var SET_TICKET_ID = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_ID';
319
+ var SET_TICKET_CURRENCY_SYMBOL = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_CURRENCY_SYMBOL';
320
+ var SET_TICKET_CURRENCY_POSITION = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_CURRENCY_POSITION';
321
+ var SET_TICKET_PROVIDER = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_PROVIDER';
322
+ var SET_TICKET_IS_LOADING = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_IS_LOADING';
323
+ var SET_TICKET_HAS_BEEN_CREATED = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_HAS_BEEN_CREATED';
324
+ var SET_TICKET_HAS_CHANGES = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKETS_HAS_CHANGES';
325
+ var SET_TICKET_IS_SELECTED = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_IS_SELECTED';
326
+
327
+ //
328
+ // ─── CHILD TICKET SAGA TYPES ────────────────────────────────────────────────────
329
+ //
330
+
331
+ var SET_TICKET_DETAILS = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_DETAILS';
332
+ var SET_TICKET_TEMP_DETAILS = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_TEMP_DETAILS';
333
+
334
+ var HANDLE_TICKET_START_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/HANDLE_TICKET_START_DATE';
335
+ var HANDLE_TICKET_END_DATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/HANDLE_TICKET_END_DATE';
336
+ var HANDLE_TICKET_START_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/HANDLE_TICKET_START_TIME';
337
+ var HANDLE_TICKET_END_TIME = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/HANDLE_TICKET_END_TIME';
338
+
339
+ var FETCH_TICKET = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/FETCH_TICKET';
340
+ var CREATE_NEW_TICKET = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/CREATE_NEW_TICKET';
341
+ var UPDATE_TICKET = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/UPDATE_TICKET';
342
+ var DELETE_TICKET = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/DELETE_TICKET';
343
+
344
+ var SET_TICKET_INITIAL_STATE = _moderntribe_tickets_data_utils__WEBPACK_IMPORTED_MODULE_0__[/* PREFIX_TICKETS_STORE */ "m"] + '/SET_TICKET_INITIAL_STATE';
345
+
346
+ /***/ }),
347
+ /* 3 */
348
  /***/ (function(module, exports, __webpack_require__) {
349
 
350
  /* WEBPACK VAR INJECTION */(function(module) {var require;//! moment.js
2190
  try {
2191
  oldLocale = globalLocale._abbr;
2192
  var aliasedRequire = require;
2193
+ __webpack_require__(274)("./" + name);
2194
  getSetGlobalLocale(oldLocale);
2195
  } catch (e) {}
2196
  }
4862
 
4863
  })));
4864
 
4865
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(81)(module)))
4866
 
4867
  /***/ }),
4868
+ /* 4 */
4869
  /***/ (function(module, exports) {
4870
 
4871
  module.exports = tribe.common.utils;
4872
 
4873
  /***/ }),
4874
+ /* 5 */
4875
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4876
 
4877
  "use strict";
5191
  };
5192
 
5193
  /***/ }),
5194
+ /* 6 */
5195
  /***/ (function(module, exports, __webpack_require__) {
5196
 
5197
  "use strict";
5321
  });
5322
  }
5323
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5324
  /***/ }),
5325
  /* 7 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5326
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5327
 
5328
  "use strict";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5329
  var options_namespaceObject = {};
5330
  __webpack_require__.r(options_namespaceObject);
5331
  __webpack_require__.d(options_namespaceObject, "CAPACITY_TYPE_OPTIONS", function() { return CAPACITY_TYPE_OPTIONS; });
5332
  var selectors_namespaceObject = {};
5333
  __webpack_require__.r(selectors_namespaceObject);
5334
+ __webpack_require__.d(selectors_namespaceObject, "getState", function() { return getState; });
5335
  __webpack_require__.d(selectors_namespaceObject, "getBlock", function() { return getBlock; });
5336
+ __webpack_require__.d(selectors_namespaceObject, "getTicketsIsSelected", function() { return getTicketsIsSelected; });
5337
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIsSettingsOpen", function() { return getTicketsIsSettingsOpen; });
5338
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIsSettingsLoading", function() { return getTicketsIsSettingsLoading; });
5339
  __webpack_require__.d(selectors_namespaceObject, "getTicketsProvider", function() { return getTicketsProvider; });
5346
  __webpack_require__.d(selectors_namespaceObject, "getTicketsHeaderImageSrc", function() { return getTicketsHeaderImageSrc; });
5347
  __webpack_require__.d(selectors_namespaceObject, "getTicketsHeaderImageAlt", function() { return getTicketsHeaderImageAlt; });
5348
  __webpack_require__.d(selectors_namespaceObject, "getTickets", function() { return getTickets; });
5349
+ __webpack_require__.d(selectors_namespaceObject, "getTicketsAllClientIds", function() { return getTicketsAllClientIds; });
5350
+ __webpack_require__.d(selectors_namespaceObject, "getTicketsByClientId", function() { return getTicketsByClientId; });
5351
  __webpack_require__.d(selectors_namespaceObject, "getTicketsArray", function() { return getTicketsArray; });
5352
  __webpack_require__.d(selectors_namespaceObject, "getTicketsCount", function() { return getTicketsCount; });
5353
  __webpack_require__.d(selectors_namespaceObject, "hasTickets", function() { return hasTickets; });
5354
+ __webpack_require__.d(selectors_namespaceObject, "hasCreatedTickets", function() { return selectors_hasCreatedTickets; });
5355
  __webpack_require__.d(selectors_namespaceObject, "getIndependentTickets", function() { return getIndependentTickets; });
5356
  __webpack_require__.d(selectors_namespaceObject, "getSharedTickets", function() { return getSharedTickets; });
5357
  __webpack_require__.d(selectors_namespaceObject, "getSharedTicketsCount", function() { return getSharedTicketsCount; });
5358
  __webpack_require__.d(selectors_namespaceObject, "getUnlimitedTickets", function() { return getUnlimitedTickets; });
5359
  __webpack_require__.d(selectors_namespaceObject, "hasATicketSelected", function() { return hasATicketSelected; });
5360
  __webpack_require__.d(selectors_namespaceObject, "getTicketsIdsInBlocks", function() { return getTicketsIdsInBlocks; });
5361
+ __webpack_require__.d(selectors_namespaceObject, "getTicketClientId", function() { return getTicketClientId; });
5362
  __webpack_require__.d(selectors_namespaceObject, "getTicket", function() { return getTicket; });
5363
  __webpack_require__.d(selectors_namespaceObject, "getTicketSold", function() { return getTicketSold; });
5364
  __webpack_require__.d(selectors_namespaceObject, "getTicketAvailable", function() { return getTicketAvailable; });
5394
  __webpack_require__.d(selectors_namespaceObject, "isUnlimitedTicket", function() { return isUnlimitedTicket; });
5395
  __webpack_require__.d(selectors_namespaceObject, "isSharedTicket", function() { return isSharedTicket; });
5396
  __webpack_require__.d(selectors_namespaceObject, "isIndependentTicket", function() { return isIndependentTicket; });
5397
+ __webpack_require__.d(selectors_namespaceObject, "isTicketPast", function() { return isTicketPast; });
5398
+ __webpack_require__.d(selectors_namespaceObject, "isTicketFuture", function() { return isTicketFuture; });
5399
+ __webpack_require__.d(selectors_namespaceObject, "isTicketOnSale", function() { return isTicketOnSale; });
5400
+ __webpack_require__.d(selectors_namespaceObject, "hasTicketOnSale", function() { return hasTicketOnSale; });
5401
+ __webpack_require__.d(selectors_namespaceObject, "allTicketsPast", function() { return allTicketsPast; });
5402
+ __webpack_require__.d(selectors_namespaceObject, "allTicketsFuture", function() { return allTicketsFuture; });
5403
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempDetails", function() { return getTicketTempDetails; });
5404
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempTitle", function() { return getTicketTempTitle; });
5405
  __webpack_require__.d(selectors_namespaceObject, "getTicketTempDescription", function() { return getTicketTempDescription; });
5424
  __webpack_require__.d(selectors_namespaceObject, "isTempTitleValid", function() { return isTempTitleValid; });
5425
  __webpack_require__.d(selectors_namespaceObject, "isTempCapacityValid", function() { return isTempCapacityValid; });
5426
  __webpack_require__.d(selectors_namespaceObject, "isTicketValid", function() { return isTicketValid; });
 
 
5427
  __webpack_require__.d(selectors_namespaceObject, "_getTotalCapacity", function() { return _getTotalCapacity; });
5428
  __webpack_require__.d(selectors_namespaceObject, "_getTotalTempCapacity", function() { return _getTotalTempCapacity; });
5429
  __webpack_require__.d(selectors_namespaceObject, "_getTotalSold", function() { return _getTotalSold; });
5444
  __webpack_require__.d(selectors_namespaceObject, "hasMultipleTicketProviders", function() { return hasMultipleTicketProviders; });
5445
  __webpack_require__.d(selectors_namespaceObject, "hasTicketProviders", function() { return hasTicketProviders; });
5446
  __webpack_require__.d(selectors_namespaceObject, "canCreateTickets", function() { return canCreateTickets; });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5447
 
5448
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js
5449
+ var helpers_extends = __webpack_require__(9);
5450
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
5451
 
5452
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/toConsumableArray.js
5453
+ var toConsumableArray = __webpack_require__(321);
5454
  var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
5455
 
5456
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js
5457
+ var defineProperty = __webpack_require__(24);
5458
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
5459
 
5460
  // EXTERNAL MODULE: ./node_modules/redux/es/redux.js
5461
+ var redux = __webpack_require__(17);
5462
 
5463
  // EXTERNAL MODULE: ./node_modules/lodash/omit.js
5464
+ var omit = __webpack_require__(322);
5465
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit);
5466
 
5467
+ // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/types.js
5468
+ var types = __webpack_require__(2);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5470
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/slicedToArray.js
5471
+ var slicedToArray = __webpack_require__(42);
5472
  var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
5473
 
5474
  // EXTERNAL MODULE: external "tribe.common.utils"
5475
+ var external_tribe_common_utils_ = __webpack_require__(4);
5476
 
5477
  // EXTERNAL MODULE: ./node_modules/lodash/trim.js
5478
+ var trim = __webpack_require__(112);
5479
  var trim_default = /*#__PURE__*/__webpack_require__.n(trim);
5480
 
5481
  // EXTERNAL MODULE: ./node_modules/lodash/find.js
5482
+ var find = __webpack_require__(84);
5483
  var find_default = /*#__PURE__*/__webpack_require__.n(find);
5484
 
5485
  // EXTERNAL MODULE: ./node_modules/reselect/lib/index.js
5486
+ var lib = __webpack_require__(6);
5487
+
5488
+ // EXTERNAL MODULE: ./node_modules/moment/moment.js
5489
+ var moment = __webpack_require__(3);
5490
+ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
5491
 
5492
  // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/constants.js
5493
+ var constants = __webpack_require__(23);
5494
 
5495
  // EXTERNAL MODULE: external {"var":"wp.i18n","root":["wp","i18n"]}
5496
+ var external_var_wp_i18n_root_wp_i18n_ = __webpack_require__(15);
5497
 
5498
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/options.js
5499
  /**
5525
 
5526
 
5527
 
5528
+
5529
  /**
5530
  * Internal dependencies
5531
  */
5540
  var ticketsConfig = external_tribe_common_utils_["globals"].tickets;
5541
 
5542
 
5543
+ var getState = function getState(state) {
5544
+ return state;
5545
+ };
5546
  var getBlock = function getBlock(state) {
5547
  return state.tickets.blocks.ticket;
5548
  };
5551
  // ─── BLOCK SELECTORS ────────────────────────────────────────────────────────────
5552
  //
5553
 
5554
+ var getTicketsIsSelected = Object(lib["createSelector"])([getBlock], function (block) {
5555
+ return block.isSelected;
5556
+ });
5557
+
5558
  var getTicketsIsSettingsOpen = Object(lib["createSelector"])([getBlock], function (block) {
5559
  return block.isSettingsOpen;
5560
  });
5611
  return block.tickets;
5612
  });
5613
 
5614
+ var getTicketsAllClientIds = Object(lib["createSelector"])([getTickets], function (tickets) {
5615
+ return tickets.allClientIds;
5616
  });
5617
 
5618
+ var getTicketsByClientId = Object(lib["createSelector"])([getTickets], function (tickets) {
5619
+ return tickets.byClientId;
5620
  });
5621
 
5622
+ var getTicketsArray = Object(lib["createSelector"])([getTicketsAllClientIds, getTicketsByClientId], function (ids, tickets) {
5623
  return ids.map(function (id) {
5624
  return tickets[id];
5625
  });
5626
  });
5627
 
5628
+ var getTicketsCount = Object(lib["createSelector"])([getTicketsAllClientIds], function (allClientIds) {
5629
+ return allClientIds.length;
5630
  });
5631
 
5632
  var hasTickets = Object(lib["createSelector"])([getTicketsCount], function (count) {
5633
  return count > 0;
5634
  });
5635
 
5636
+ var selectors_hasCreatedTickets = Object(lib["createSelector"])([getTicketsArray], function (tickets) {
5637
  return tickets.reduce(function (hasCreated, ticket) {
5638
  return hasCreated || ticket.hasBeenCreated;
5639
  }, false);
5680
  // ─── TICKET SELECTORS ───────────────────────────────────────────────────────────
5681
  //
5682
 
5683
+ var getTicketClientId = function getTicketClientId(state, ownProps) {
5684
+ return ownProps.clientId;
5685
  };
5686
 
5687
+ var getTicket = Object(lib["createSelector"])([getTicketsByClientId, getTicketClientId], function (tickets, clientId) {
5688
+ return tickets[clientId] || {};
5689
  });
5690
 
5691
  var getTicketSold = Object(lib["createSelector"])([getTicket], function (ticket) {
5816
  return parseInt(capacity, 10) || 0;
5817
  });
5818
 
5819
+ var isUnlimitedTicket = Object(lib["createSelector"])([getTicketDetails], function (details) {
5820
+ return details.capacityType === TICKET_TYPES[UNLIMITED];
5821
+ });
5822
+
5823
+ var isSharedTicket = Object(lib["createSelector"])([getTicketDetails], function (details) {
5824
+ return details.capacityType === TICKET_TYPES[SHARED];
5825
+ });
5826
+
5827
+ var isIndependentTicket = Object(lib["createSelector"])([getTicketDetails], function (details) {
5828
+ return details.capacityType === TICKET_TYPES[INDEPENDENT];
5829
+ });
5830
+
5831
+ var isTicketPast = Object(lib["createSelector"])([getTicketEndDateMoment], function (endDate) {
5832
+ return moment_default()().isAfter(endDate);
5833
+ });
5834
+
5835
+ var isTicketFuture = Object(lib["createSelector"])([getTicketStartDateMoment], function (startDate) {
5836
+ return moment_default()().isBefore(startDate);
5837
+ });
5838
+
5839
+ var isTicketOnSale = Object(lib["createSelector"])([getTicketHasBeenCreated, isTicketPast, isTicketFuture], function (hasBeenCreated, isPast, isFuture) {
5840
+ return hasBeenCreated && !isPast && !isFuture;
5841
+ });
5842
+
5843
+ var hasTicketOnSale = Object(lib["createSelector"])([getTicketsAllClientIds, getState], function (allClientIds, state) {
5844
+ return allClientIds.reduce(function (onSale, clientId) {
5845
+ return onSale || isTicketOnSale(state, { clientId: clientId });
5846
+ }, false);
5847
  });
5848
 
5849
+ var allTicketsPast = Object(lib["createSelector"])([getTicketsAllClientIds, getState], function (allClientIds, state) {
5850
+ return allClientIds.reduce(function (isPast, clientId) {
5851
+ var props = { clientId: clientId };
5852
+ return getTicketHasBeenCreated(state, props) ? isPast && isTicketPast(state, props) : isPast;
5853
+ }, true);
5854
  });
5855
 
5856
+ var allTicketsFuture = Object(lib["createSelector"])([getTicketsAllClientIds, getState], function (allClientIds, state) {
5857
+ return allClientIds.reduce(function (isFuture, clientId) {
5858
+ var props = { clientId: clientId };
5859
+ return getTicketHasBeenCreated(state, props) ? isFuture && isTicketFuture(state, props) : isFuture;
5860
+ }, true);
5861
  });
5862
 
5863
  //
5963
  return titleValid && capacityValid;
5964
  });
5965
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5966
  //
5967
  // ─── AMOUNT REDUCERS ────────────────────────────────────────────────────────────
5968
  //
6100
 
6101
  return priceSettings() && priceSettings().defaultCurrencyPosition ? priceSettings().defaultCurrencyPosition : position;
6102
  };
 
 
 
 
6103
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/reducers/tickets/ticket/details.js
6104
 
6105
  /**
6145
  var action = arguments[1];
6146
 
6147
  switch (action.type) {
6148
+ case types["SET_TICKET_TITLE"]:
6149
  return extends_default()({}, state, {
6150
  title: action.payload.title
6151
  });
6152
+ case types["SET_TICKET_DESCRIPTION"]:
6153
  return extends_default()({}, state, {
6154
  description: action.payload.description
6155
  });
6156
+ case types["SET_TICKET_PRICE"]:
6157
  return extends_default()({}, state, {
6158
  price: action.payload.price
6159
  });
6160
+ case types["SET_TICKET_SKU"]:
6161
  return extends_default()({}, state, {
6162
  sku: action.payload.sku
6163
  });
6164
+ case types["SET_TICKET_START_DATE"]:
6165
  return extends_default()({}, state, {
6166
  startDate: action.payload.startDate
6167
  });
6168
+ case types["SET_TICKET_START_DATE_INPUT"]:
6169
  return extends_default()({}, state, {
6170
  startDateInput: action.payload.startDateInput
6171
  });
6172
+ case types["SET_TICKET_START_DATE_MOMENT"]:
6173
  return extends_default()({}, state, {
6174
  startDateMoment: action.payload.startDateMoment
6175
  });
6176
+ case types["SET_TICKET_END_DATE"]:
6177
  return extends_default()({}, state, {
6178
  endDate: action.payload.endDate
6179
  });
6180
+ case types["SET_TICKET_END_DATE_INPUT"]:
6181
  return extends_default()({}, state, {
6182
  endDateInput: action.payload.endDateInput
6183
  });
6184
+ case types["SET_TICKET_END_DATE_MOMENT"]:
6185
  return extends_default()({}, state, {
6186
  endDateMoment: action.payload.endDateMoment
6187
  });
6188
+ case types["SET_TICKET_START_TIME"]:
6189
  return extends_default()({}, state, {
6190
  startTime: action.payload.startTime
6191
  });
6192
+ case types["SET_TICKET_END_TIME"]:
6193
  return extends_default()({}, state, {
6194
  endTime: action.payload.endTime
6195
  });
6196
+ case types["SET_TICKET_START_TIME_INPUT"]:
6197
  return extends_default()({}, state, {
6198
  startTimeInput: action.payload.startTimeInput
6199
  });
6200
+ case types["SET_TICKET_END_TIME_INPUT"]:
6201
  return extends_default()({}, state, {
6202
  endTimeInput: action.payload.endTimeInput
6203
  });
6204
+ case types["SET_TICKET_CAPACITY_TYPE"]:
6205
  return extends_default()({}, state, {
6206
  capacityType: action.payload.capacityType
6207
  });
6208
+ case types["SET_TICKET_CAPACITY"]:
6209
  return extends_default()({}, state, {
6210
  capacity: action.payload.capacity
6211
  });
6258
  var action = arguments[1];
6259
 
6260
  switch (action.type) {
6261
+ case types["SET_TICKET_TEMP_TITLE"]:
6262
  return extends_default()({}, state, {
6263
  title: action.payload.title
6264
  });
6265
+ case types["SET_TICKET_TEMP_DESCRIPTION"]:
6266
  return extends_default()({}, state, {
6267
  description: action.payload.description
6268
  });
6269
+ case types["SET_TICKET_TEMP_PRICE"]:
6270
  return extends_default()({}, state, {
6271
  price: action.payload.price
6272
  });
6273
+ case types["SET_TICKET_TEMP_SKU"]:
6274
  return extends_default()({}, state, {
6275
  sku: action.payload.sku
6276
  });
6277
+ case types["SET_TICKET_TEMP_START_DATE"]:
6278
  return extends_default()({}, state, {
6279
  startDate: action.payload.startDate
6280
  });
6281
+ case types["SET_TICKET_TEMP_START_DATE_INPUT"]:
6282
  return extends_default()({}, state, {
6283
  startDateInput: action.payload.startDateInput
6284
  });
6285
+ case types["SET_TICKET_TEMP_START_DATE_MOMENT"]:
6286
  return extends_default()({}, state, {
6287
  startDateMoment: action.payload.startDateMoment
6288
  });
6289
+ case types["SET_TICKET_TEMP_END_DATE"]:
6290
  return extends_default()({}, state, {
6291
  endDate: action.payload.endDate
6292
  });
6293
+ case types["SET_TICKET_TEMP_END_DATE_INPUT"]:
6294
  return extends_default()({}, state, {
6295
  endDateInput: action.payload.endDateInput
6296
  });
6297
+ case types["SET_TICKET_TEMP_END_DATE_MOMENT"]:
6298
  return extends_default()({}, state, {
6299
  endDateMoment: action.payload.endDateMoment
6300
  });
6301
+ case types["SET_TICKET_TEMP_START_TIME"]:
6302
  return extends_default()({}, state, {
6303
  startTime: action.payload.startTime
6304
  });
6305
+ case types["SET_TICKET_TEMP_END_TIME"]:
6306
  return extends_default()({}, state, {
6307
  endTime: action.payload.endTime
6308
  });
6309
+ case types["SET_TICKET_TEMP_START_TIME_INPUT"]:
6310
  return extends_default()({}, state, {
6311
  startTimeInput: action.payload.startTimeInput
6312
  });
6313
+ case types["SET_TICKET_TEMP_END_TIME_INPUT"]:
6314
  return extends_default()({}, state, {
6315
  endTimeInput: action.payload.endTimeInput
6316
  });
6317
+ case types["SET_TICKET_TEMP_CAPACITY_TYPE"]:
6318
  return extends_default()({}, state, {
6319
  capacityType: action.payload.capacityType
6320
  });
6321
+ case types["SET_TICKET_TEMP_CAPACITY"]:
6322
  return extends_default()({}, state, {
6323
  capacity: action.payload.capacity
6324
  });
6356
  var action = arguments[1];
6357
 
6358
  switch (action.type) {
6359
+ case types["SET_TICKET_TITLE"]:
6360
+ case types["SET_TICKET_DESCRIPTION"]:
6361
+ case types["SET_TICKET_PRICE"]:
6362
+ case types["SET_TICKET_SKU"]:
6363
+ case types["SET_TICKET_START_DATE"]:
6364
+ case types["SET_TICKET_START_DATE_INPUT"]:
6365
+ case types["SET_TICKET_START_DATE_MOMENT"]:
6366
+ case types["SET_TICKET_END_DATE"]:
6367
+ case types["SET_TICKET_END_DATE_INPUT"]:
6368
+ case types["SET_TICKET_END_DATE_MOMENT"]:
6369
+ case types["SET_TICKET_START_TIME"]:
6370
+ case types["SET_TICKET_END_TIME"]:
6371
+ case types["SET_TICKET_START_TIME_INPUT"]:
6372
+ case types["SET_TICKET_END_TIME_INPUT"]:
6373
+ case types["SET_TICKET_CAPACITY_TYPE"]:
6374
+ case types["SET_TICKET_CAPACITY"]:
6375
  return extends_default()({}, state, {
6376
  details: ticket_details(state.details, action)
6377
  });
6378
+ case types["SET_TICKET_TEMP_TITLE"]:
6379
+ case types["SET_TICKET_TEMP_DESCRIPTION"]:
6380
+ case types["SET_TICKET_TEMP_PRICE"]:
6381
+ case types["SET_TICKET_TEMP_SKU"]:
6382
+ case types["SET_TICKET_TEMP_START_DATE"]:
6383
+ case types["SET_TICKET_TEMP_START_DATE_INPUT"]:
6384
+ case types["SET_TICKET_TEMP_START_DATE_MOMENT"]:
6385
+ case types["SET_TICKET_TEMP_END_DATE"]:
6386
+ case types["SET_TICKET_TEMP_END_DATE_INPUT"]:
6387
+ case types["SET_TICKET_TEMP_END_DATE_MOMENT"]:
6388
+ case types["SET_TICKET_TEMP_START_TIME"]:
6389
+ case types["SET_TICKET_TEMP_END_TIME"]:
6390
+ case types["SET_TICKET_TEMP_START_TIME_INPUT"]:
6391
+ case types["SET_TICKET_TEMP_END_TIME_INPUT"]:
6392
+ case types["SET_TICKET_TEMP_CAPACITY_TYPE"]:
6393
+ case types["SET_TICKET_TEMP_CAPACITY"]:
6394
  return extends_default()({}, state, {
6395
  tempDetails: temp_details(state.tempDetails, action)
6396
  });
6397
+ case types["SET_TICKET_SOLD"]:
6398
  return extends_default()({}, state, {
6399
  sold: action.payload.sold
6400
  });
6401
+ case types["SET_TICKET_AVAILABLE"]:
6402
  return extends_default()({}, state, {
6403
  available: action.payload.available
6404
  });
6405
+ case types["SET_TICKET_ID"]:
6406
  return extends_default()({}, state, {
6407
  ticketId: action.payload.ticketId
6408
  });
6409
+ case types["SET_TICKET_CURRENCY_SYMBOL"]:
6410
  return extends_default()({}, state, {
6411
  currencySymbol: action.payload.currencySymbol
6412
  });
6413
+ case types["SET_TICKET_CURRENCY_POSITION"]:
6414
  return extends_default()({}, state, {
6415
  currencyPosition: action.payload.currencyPosition
6416
  });
6417
+ case types["SET_TICKET_PROVIDER"]:
6418
  return extends_default()({}, state, {
6419
  provider: action.payload.provider
6420
  });
6421
+ case types["SET_TICKET_IS_LOADING"]:
6422
  return extends_default()({}, state, {
6423
  isLoading: action.payload.isLoading
6424
  });
6425
+ case types["SET_TICKET_HAS_BEEN_CREATED"]:
6426
  return extends_default()({}, state, {
6427
  hasBeenCreated: action.payload.hasBeenCreated
6428
  });
6429
+ case types["SET_TICKET_HAS_CHANGES"]:
6430
  return extends_default()({}, state, {
6431
  hasChanges: action.payload.hasChanges
6432
  });
6433
+ case types["SET_TICKET_IS_SELECTED"]:
6434
  return extends_default()({}, state, {
6435
  isSelected: action.payload.isSelected
6436
  });
6454
 
6455
 
6456
 
6457
+ var tickets_byClientId = function byClientId() {
6458
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
6459
  var action = arguments[1];
6460
 
6461
  switch (action.type) {
6462
+ case types["SET_TICKET_TITLE"]:
6463
+ case types["SET_TICKET_DESCRIPTION"]:
6464
+ case types["SET_TICKET_PRICE"]:
6465
+ case types["SET_TICKET_SKU"]:
6466
+ case types["SET_TICKET_START_DATE"]:
6467
+ case types["SET_TICKET_START_DATE_INPUT"]:
6468
+ case types["SET_TICKET_START_DATE_MOMENT"]:
6469
+ case types["SET_TICKET_END_DATE"]:
6470
+ case types["SET_TICKET_END_DATE_INPUT"]:
6471
+ case types["SET_TICKET_END_DATE_MOMENT"]:
6472
+ case types["SET_TICKET_START_TIME"]:
6473
+ case types["SET_TICKET_END_TIME"]:
6474
+ case types["SET_TICKET_START_TIME_INPUT"]:
6475
+ case types["SET_TICKET_END_TIME_INPUT"]:
6476
+ case types["SET_TICKET_CAPACITY_TYPE"]:
6477
+ case types["SET_TICKET_CAPACITY"]:
6478
+ case types["SET_TICKET_TEMP_TITLE"]:
6479
+ case types["SET_TICKET_TEMP_DESCRIPTION"]:
6480
+ case types["SET_TICKET_TEMP_PRICE"]:
6481
+ case types["SET_TICKET_TEMP_SKU"]:
6482
+ case types["SET_TICKET_TEMP_START_DATE"]:
6483
+ case types["SET_TICKET_TEMP_START_DATE_INPUT"]:
6484
+ case types["SET_TICKET_TEMP_START_DATE_MOMENT"]:
6485
+ case types["SET_TICKET_TEMP_END_DATE"]:
6486
+ case types["SET_TICKET_TEMP_END_DATE_INPUT"]:
6487
+ case types["SET_TICKET_TEMP_END_DATE_MOMENT"]:
6488
+ case types["SET_TICKET_TEMP_START_TIME"]:
6489
+ case types["SET_TICKET_TEMP_END_TIME"]:
6490
+ case types["SET_TICKET_TEMP_START_TIME_INPUT"]:
6491
+ case types["SET_TICKET_TEMP_END_TIME_INPUT"]:
6492
+ case types["SET_TICKET_TEMP_CAPACITY_TYPE"]:
6493
+ case types["SET_TICKET_TEMP_CAPACITY"]:
6494
+ case types["SET_TICKET_SOLD"]:
6495
+ case types["SET_TICKET_AVAILABLE"]:
6496
+ case types["SET_TICKET_ID"]:
6497
+ case types["SET_TICKET_CURRENCY_SYMBOL"]:
6498
+ case types["SET_TICKET_CURRENCY_POSITION"]:
6499
+ case types["SET_TICKET_PROVIDER"]:
6500
+ case types["SET_TICKET_IS_LOADING"]:
6501
+ case types["SET_TICKET_HAS_BEEN_CREATED"]:
6502
+ case types["SET_TICKET_HAS_CHANGES"]:
6503
+ case types["SET_TICKET_IS_SELECTED"]:
6504
+ case types["REGISTER_TICKET_BLOCK"]:
6505
+ return extends_default()({}, state, defineProperty_default()({}, action.payload.clientId, tickets_ticket(state[action.payload.clientId], action)));
6506
+ case types["REMOVE_TICKET_BLOCK"]:
6507
+ return omit_default()(state, [action.payload.clientId]);
6508
+ case types["REMOVE_TICKET_BLOCKS"]:
6509
+ return {};
6510
  default:
6511
  return state;
6512
  }
6513
  };
6514
 
6515
+ var tickets_allClientIds = function allClientIds() {
6516
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
6517
  var action = arguments[1];
6518
 
6519
  switch (action.type) {
6520
+ case types["REGISTER_TICKET_BLOCK"]:
6521
+ return [].concat(toConsumableArray_default()(state), [action.payload.clientId]);
6522
+ case types["REMOVE_TICKET_BLOCK"]:
6523
+ return state.filter(function (clientId) {
6524
+ return action.payload.clientId !== clientId;
6525
  });
6526
+ case types["REMOVE_TICKET_BLOCKS"]:
6527
+ return [];
6528
  default:
6529
  return state;
6530
  }
6531
  };
6532
 
6533
  /* harmony default export */ var reducers_tickets = (Object(redux["b" /* combineReducers */])({
6534
+ byClientId: tickets_byClientId,
6535
+ allClientIds: tickets_allClientIds
6536
  }));
6537
+ // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/reducers/header-image.js
6538
+ var header_image = __webpack_require__(61);
 
 
 
 
 
 
 
 
 
 
 
 
 
6539
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6540
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/reducer.js
6541
 
6542
  /**
6547
 
6548
 
6549
  var reducer_DEFAULT_STATE = {
6550
+ headerImage: header_image["a" /* DEFAULT_STATE */],
6551
+ isSelected: false,
6552
  isSettingsOpen: false,
6553
  isSettingsLoading: false,
6554
  provider: '',
6562
  var action = arguments[1];
6563
 
6564
  switch (action.type) {
6565
+ case types["SET_TICKETS_HEADER_IMAGE"]:
6566
  return extends_default()({}, state, {
6567
+ headerImage: Object(header_image["b" /* default */])(state.headerImage, action)
6568
  });
6569
+ case types["SET_TICKETS_IS_SELECTED"]:
6570
+ return extends_default()({}, state, {
6571
+ isSelected: action.payload.isSelected
6572
+ });
6573
+ case types["SET_TICKETS_IS_SETTINGS_OPEN"]:
6574
  return extends_default()({}, state, {
6575
  isSettingsOpen: action.payload.isSettingsOpen
6576
  });
6577
+ case types["SET_TICKETS_IS_SETTINGS_LOADING"]:
6578
  return extends_default()({}, state, {
6579
  isSettingsLoading: action.payload.isSettingsLoading
6580
  });
6581
+ case types["SET_TICKETS_PROVIDER"]:
6582
  return extends_default()({}, state, {
6583
  provider: action.payload.provider
6584
  });
6585
+ case types["SET_TICKETS_SHARED_CAPACITY"]:
6586
  return extends_default()({}, state, {
6587
  sharedCapacity: action.payload.sharedCapacity
6588
  });
6589
+ case types["SET_TICKETS_TEMP_SHARED_CAPACITY"]:
6590
  return extends_default()({}, state, {
6591
  tempSharedCapacity: action.payload.tempSharedCapacity
6592
  });
6593
+ case types["SET_TICKET_TITLE"]:
6594
+ case types["SET_TICKET_DESCRIPTION"]:
6595
+ case types["SET_TICKET_PRICE"]:
6596
+ case types["SET_TICKET_SKU"]:
6597
+ case types["SET_TICKET_START_DATE"]:
6598
+ case types["SET_TICKET_START_DATE_INPUT"]:
6599
+ case types["SET_TICKET_START_DATE_MOMENT"]:
6600
+ case types["SET_TICKET_END_DATE"]:
6601
+ case types["SET_TICKET_END_DATE_INPUT"]:
6602
+ case types["SET_TICKET_END_DATE_MOMENT"]:
6603
+ case types["SET_TICKET_START_TIME"]:
6604
+ case types["SET_TICKET_END_TIME"]:
6605
+ case types["SET_TICKET_START_TIME_INPUT"]:
6606
+ case types["SET_TICKET_END_TIME_INPUT"]:
6607
+ case types["SET_TICKET_CAPACITY_TYPE"]:
6608
+ case types["SET_TICKET_CAPACITY"]:
6609
+ case types["SET_TICKET_TEMP_TITLE"]:
6610
+ case types["SET_TICKET_TEMP_DESCRIPTION"]:
6611
+ case types["SET_TICKET_TEMP_PRICE"]:
6612
+ case types["SET_TICKET_TEMP_SKU"]:
6613
+ case types["SET_TICKET_TEMP_START_DATE"]:
6614
+ case types["SET_TICKET_TEMP_START_DATE_INPUT"]:
6615
+ case types["SET_TICKET_TEMP_START_DATE_MOMENT"]:
6616
+ case types["SET_TICKET_TEMP_END_DATE"]:
6617
+ case types["SET_TICKET_TEMP_END_DATE_INPUT"]:
6618
+ case types["SET_TICKET_TEMP_END_DATE_MOMENT"]:
6619
+ case types["SET_TICKET_TEMP_START_TIME"]:
6620
+ case types["SET_TICKET_TEMP_END_TIME"]:
6621
+ case types["SET_TICKET_TEMP_START_TIME_INPUT"]:
6622
+ case types["SET_TICKET_TEMP_END_TIME_INPUT"]:
6623
+ case types["SET_TICKET_TEMP_CAPACITY_TYPE"]:
6624
+ case types["SET_TICKET_TEMP_CAPACITY"]:
6625
+ case types["SET_TICKET_SOLD"]:
6626
+ case types["SET_TICKET_AVAILABLE"]:
6627
+ case types["SET_TICKET_ID"]:
6628
+ case types["SET_TICKET_CURRENCY_SYMBOL"]:
6629
+ case types["SET_TICKET_CURRENCY_POSITION"]:
6630
+ case types["SET_TICKET_PROVIDER"]:
6631
+ case types["SET_TICKET_IS_LOADING"]:
6632
+ case types["SET_TICKET_HAS_BEEN_CREATED"]:
6633
+ case types["SET_TICKET_HAS_CHANGES"]:
6634
+ case types["SET_TICKET_IS_SELECTED"]:
6635
+ case types["REGISTER_TICKET_BLOCK"]:
6636
+ case types["REMOVE_TICKET_BLOCK"]:
6637
+ case types["REMOVE_TICKET_BLOCKS"]:
6638
  return extends_default()({}, state, {
6639
  tickets: reducers_tickets(state.tickets, action)
6640
  });
6642
  return state;
6643
  }
6644
  });
6645
+ // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/actions.js
6646
+ var actions = __webpack_require__(10);
 
 
6647
 
6648
+ // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js
6649
+ var regenerator = __webpack_require__(11);
6650
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
6651
 
6652
+ // EXTERNAL MODULE: ./node_modules/lodash/includes.js
6653
+ var includes = __webpack_require__(111);
6654
+ var includes_default = /*#__PURE__*/__webpack_require__.n(includes);
6655
 
6656
+ // EXTERNAL MODULE: ./node_modules/redux-saga/es/effects.js + 1 modules
6657
+ var effects = __webpack_require__(0);
 
 
 
 
6658
 
6659
+ // EXTERNAL MODULE: external {"var":"wp.data","root":["wp","data"]}
6660
+ var external_var_wp_data_root_wp_data_ = __webpack_require__(20);
 
 
 
 
6661
 
6662
+ // EXTERNAL MODULE: external {"var":"wp.blocks","root":["wp","blocks"]}
6663
+ var external_var_wp_blocks_root_wp_blocks_ = __webpack_require__(110);
 
 
 
 
 
 
6664
 
6665
+ // EXTERNAL MODULE: ./src/modules/data/blocks/rsvp/actions.js
6666
+ var rsvp_actions = __webpack_require__(14);
 
 
 
 
 
 
6667
 
6668
+ // EXTERNAL MODULE: ./src/modules/data/blocks/rsvp/reducers/header-image.js
6669
+ var reducers_header_image = __webpack_require__(59);
 
 
 
 
6670
 
6671
+ // EXTERNAL MODULE: ./src/modules/data/utils.js
6672
+ var utils = __webpack_require__(8);
 
 
 
 
 
 
6673
 
6674
+ // EXTERNAL MODULE: ./src/modules/data/shared/move/types.js
6675
+ var move_types = __webpack_require__(18);
 
 
 
 
 
 
6676
 
6677
+ // EXTERNAL MODULE: ./src/modules/data/shared/move/selectors.js
6678
+ var selectors = __webpack_require__(28);
 
 
 
 
 
 
6679
 
6680
+ // EXTERNAL MODULE: ./src/modules/data/shared/sagas.js
6681
+ var sagas = __webpack_require__(31);
 
6682
 
6683
+ // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/sagas.js
 
 
 
 
 
 
 
6684
 
 
 
 
 
 
 
 
 
6685
 
 
 
 
 
 
6686
 
 
 
 
6687
 
 
 
 
 
 
 
 
 
 
6688
 
 
 
 
 
 
 
 
 
 
6689
 
6690
+ var _marked = /*#__PURE__*/regenerator_default.a.mark(createMissingTicketBlocks),
6691
+ _marked2 = /*#__PURE__*/regenerator_default.a.mark(setTicketsInitialState),
6692
+ _marked3 = /*#__PURE__*/regenerator_default.a.mark(resetTicketsBlock),
6693
+ _marked4 = /*#__PURE__*/regenerator_default.a.mark(setTicketInitialState),
6694
+ _marked5 = /*#__PURE__*/regenerator_default.a.mark(setBodyDetails),
6695
+ _marked6 = /*#__PURE__*/regenerator_default.a.mark(removeTicketBlock),
6696
+ _marked7 = /*#__PURE__*/regenerator_default.a.mark(fetchTicket),
6697
+ _marked8 = /*#__PURE__*/regenerator_default.a.mark(createNewTicket),
6698
+ _marked9 = /*#__PURE__*/regenerator_default.a.mark(updateTicket),
6699
+ _marked10 = /*#__PURE__*/regenerator_default.a.mark(deleteTicket),
6700
+ _marked11 = /*#__PURE__*/regenerator_default.a.mark(fetchTicketsHeaderImage),
6701
+ _marked12 = /*#__PURE__*/regenerator_default.a.mark(updateTicketsHeaderImage),
6702
+ _marked13 = /*#__PURE__*/regenerator_default.a.mark(deleteTicketsHeaderImage),
6703
+ _marked14 = /*#__PURE__*/regenerator_default.a.mark(setTicketDetails),
6704
+ _marked15 = /*#__PURE__*/regenerator_default.a.mark(setTicketTempDetails),
6705
+ _marked16 = /*#__PURE__*/regenerator_default.a.mark(saveTicketWithPostSave),
6706
+ _marked17 = /*#__PURE__*/regenerator_default.a.mark(syncTicketsSaleEndWithEventStart),
6707
+ _marked18 = /*#__PURE__*/regenerator_default.a.mark(syncTicketSaleEndWithEventStart),
6708
+ _marked19 = /*#__PURE__*/regenerator_default.a.mark(handleEventStartDateChanges),
6709
+ _marked20 = /*#__PURE__*/regenerator_default.a.mark(handleTicketStartDate),
6710
+ _marked21 = /*#__PURE__*/regenerator_default.a.mark(handleTicketEndDate),
6711
+ _marked22 = /*#__PURE__*/regenerator_default.a.mark(handleTicketStartTime),
6712
+ _marked23 = /*#__PURE__*/regenerator_default.a.mark(handleTicketStartTimeInput),
6713
+ _marked24 = /*#__PURE__*/regenerator_default.a.mark(handleTicketEndTime),
6714
+ _marked25 = /*#__PURE__*/regenerator_default.a.mark(handleTicketEndTimeInput),
6715
+ _marked26 = /*#__PURE__*/regenerator_default.a.mark(handleTicketMove),
6716
+ _marked27 = /*#__PURE__*/regenerator_default.a.mark(handler),
6717
+ _marked28 = /*#__PURE__*/regenerator_default.a.mark(watchers);
6718
 
6719
+ /**
6720
+ * External Dependencies
6721
+ */
 
 
 
 
 
 
6722
 
 
 
 
 
 
 
 
 
 
6723
 
 
 
 
 
 
 
 
 
 
6724
 
6725
+ /**
6726
+ * Wordpress dependencies
6727
+ */
 
 
 
 
 
 
6728
 
 
 
 
 
 
 
 
 
 
6729
 
 
 
 
 
 
 
 
 
 
6730
 
 
 
 
 
 
 
 
 
 
6731
 
6732
+ /**
6733
+ * Internal dependencies
6734
+ */
 
 
 
 
 
 
6735
 
 
 
 
 
 
 
 
 
 
6736
 
 
 
 
 
 
 
 
 
 
6737
 
 
 
 
 
 
 
 
 
 
6738
 
 
 
 
 
 
 
 
 
 
6739
 
 
 
 
 
 
 
 
 
 
6740
 
 
 
 
6741
 
 
 
 
 
 
 
 
 
 
6742
 
 
 
 
 
 
 
 
 
 
6743
 
 
 
 
 
 
 
 
 
 
6744
 
 
 
 
 
 
 
 
 
 
6745
 
 
 
 
 
 
 
 
 
 
6746
 
 
 
 
 
 
 
 
 
 
6747
 
 
 
 
 
 
 
 
 
 
6748
 
 
 
 
 
 
 
 
 
 
6749
 
6750
+ var sagas_UNLIMITED = constants["UNLIMITED"],
6751
+ sagas_SHARED = constants["SHARED"],
6752
+ sagas_TICKET_TYPES = constants["TICKET_TYPES"],
6753
+ PROVIDER_CLASS_TO_PROVIDER_MAPPING = constants["PROVIDER_CLASS_TO_PROVIDER_MAPPING"];
6754
+ var sagas_ticketsConfig = external_tribe_common_utils_["globals"].tickets,
6755
+ restNonce = external_tribe_common_utils_["globals"].restNonce,
6756
+ tecDateSettings = external_tribe_common_utils_["globals"].tecDateSettings;
6757
+ var wpREST = external_tribe_common_utils_["api"].wpREST;
 
6758
 
 
 
 
 
 
 
 
 
 
6759
 
6760
+ function createMissingTicketBlocks(tickets) {
6761
+ var _ref, insertBlock, _ref2, getBlockCount, getBlocks, ticketsBlocks;
 
 
 
 
 
 
 
6762
 
6763
+ return regenerator_default.a.wrap(function createMissingTicketBlocks$(_context) {
6764
+ while (1) {
6765
+ switch (_context.prev = _context.next) {
6766
+ case 0:
6767
+ _context.next = 2;
6768
+ return Object(effects["b" /* call */])(external_var_wp_data_root_wp_data_["dispatch"], 'core/editor');
 
 
 
6769
 
6770
+ case 2:
6771
+ _ref = _context.sent;
6772
+ insertBlock = _ref.insertBlock;
6773
+ _context.next = 6;
6774
+ return Object(effects["b" /* call */])(external_var_wp_data_root_wp_data_["select"], 'core/editor');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6775
 
6776
  case 6:
6777
  _ref2 = _context.sent;
6796
  };
6797
  var nextChildPosition = getBlockCount(clientId);
6798
  var block = Object(external_var_wp_blocks_root_wp_blocks_["createBlock"])('tribe/tickets-item', attributes);
6799
+ insertBlock(block, nextChildPosition, clientId, false);
6800
  });
6801
  });
6802
 
6808
  }, _marked, this);
6809
  }
6810
 
6811
+ function setTicketsInitialState(action) {
6812
  var get, header, sharedCapacity, ticketsList, ticketsInBlock, ticketsDiff, provider, defaultProvider;
6813
  return regenerator_default.a.wrap(function setTicketsInitialState$(_context2) {
6814
  while (1) {
6815
  switch (_context2.prev = _context2.next) {
6816
  case 0:
6817
  get = action.payload.get;
6818
+ header = parseInt(get('header', header_image["a" /* DEFAULT_STATE */].id), 10);
6819
  sharedCapacity = get('sharedCapacity');
6820
  ticketsList = get('tickets', []);
6821
  _context2.next = 6;
6844
  }
6845
 
6846
  _context2.next = 14;
6847
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketsSharedCapacity"](sharedCapacity)), Object(effects["e" /* put */])(actions["setTicketsTempSharedCapacity"](sharedCapacity))]);
6848
 
6849
  case 14:
6850
  if (!(!isNaN(header) && header !== 0)) {
6853
  }
6854
 
6855
  _context2.next = 17;
6856
+ return Object(effects["e" /* put */])(actions["fetchTicketsHeaderImage"](header));
6857
 
6858
  case 17:
6859
  provider = get('provider', reducer_DEFAULT_STATE.provider);
6873
 
6874
  case 23:
6875
  _context2.next = 25;
6876
+ return Object(effects["e" /* put */])(actions["setTicketsProvider"](provider));
6877
 
6878
  case 25:
6879
  case 'end':
6883
  }, _marked2, this);
6884
  }
6885
 
6886
+ function resetTicketsBlock() {
6887
+ var hasCreatedTickets, currentMeta, newMeta;
6888
+ return regenerator_default.a.wrap(function resetTicketsBlock$(_context3) {
6889
+ while (1) {
6890
+ switch (_context3.prev = _context3.next) {
6891
+ case 0:
6892
+ _context3.next = 2;
6893
+ return Object(effects["f" /* select */])(selectors_hasCreatedTickets);
6894
+
6895
+ case 2:
6896
+ hasCreatedTickets = _context3.sent;
6897
+ _context3.next = 5;
6898
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["removeTicketBlocks"]()), Object(effects["e" /* put */])(actions["setTicketsIsSettingsOpen"](false))]);
6899
+
6900
+ case 5:
6901
+ if (hasCreatedTickets) {
6902
+ _context3.next = 14;
6903
+ break;
6904
+ }
6905
+
6906
+ _context3.next = 8;
6907
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getCurrentPostAttribute'], 'meta');
6908
+
6909
+ case 8:
6910
+ currentMeta = _context3.sent;
6911
+ newMeta = extends_default()({}, currentMeta, defineProperty_default()({}, utils["d" /* KEY_TICKET_CAPACITY */], ''));
6912
+ _context3.next = 12;
6913
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'editPost'], { meta: newMeta });
6914
+
6915
+ case 12:
6916
+ _context3.next = 14;
6917
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketsSharedCapacity"]('')), Object(effects["e" /* put */])(actions["setTicketsTempSharedCapacity"](''))]);
6918
+
6919
+ case 14:
6920
+ case 'end':
6921
+ return _context3.stop();
6922
+ }
6923
+ }
6924
+ }, _marked3, this);
6925
+ }
6926
+
6927
+ function setTicketInitialState(action) {
6928
  var _action$payload, clientId, get, ticketId, hasBeenCreated, datePickerFormat, publishDate, startMoment, startDate, startDateInput, startTime, startTimeInput, eventStart, endMoment, endDate, endDateInput, endTime, endTimeInput, sharedCapacity;
6929
 
6930
+ return regenerator_default.a.wrap(function setTicketInitialState$(_context4) {
6931
  while (1) {
6932
+ switch (_context4.prev = _context4.next) {
6933
  case 0:
6934
  _action$payload = action.payload, clientId = _action$payload.clientId, get = _action$payload.get;
6935
  ticketId = get('ticketId', ticket_DEFAULT_STATE.ticketId);
6936
  hasBeenCreated = get('hasBeenCreated', ticket_DEFAULT_STATE.hasBeenCreated);
6937
  datePickerFormat = tecDateSettings().datepickerFormat;
6938
+ _context4.next = 6;
6939
  return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getEditedPostAttribute'], 'date');
6940
 
6941
  case 6:
6942
+ publishDate = _context4.sent;
6943
+ _context4.next = 9;
6944
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, publishDate);
6945
 
6946
  case 9:
6947
+ startMoment = _context4.sent;
6948
+ _context4.next = 12;
6949
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startMoment);
6950
 
6951
  case 12:
6952
+ startDate = _context4.sent;
6953
+ _context4.next = 15;
6954
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment);
6955
 
6956
  case 15:
6957
+ startDateInput = _context4.sent;
6958
+ _context4.next = 18;
6959
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, startMoment);
6960
 
6961
  case 18:
6962
+ startTime = _context4.sent;
6963
+ _context4.next = 21;
6964
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startMoment);
6965
 
6966
  case 21:
6967
+ startTimeInput = _context4.sent;
6968
+ _context4.next = 24;
6969
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketStartDate"](clientId, startDate)), Object(effects["e" /* put */])(actions["setTicketStartDateInput"](clientId, startDateInput)), Object(effects["e" /* put */])(actions["setTicketStartDateMoment"](clientId, startMoment)), Object(effects["e" /* put */])(actions["setTicketStartTime"](clientId, startTime)), Object(effects["e" /* put */])(actions["setTicketStartTimeInput"](clientId, startTimeInput)), Object(effects["e" /* put */])(actions["setTicketTempStartDate"](clientId, startDate)), Object(effects["e" /* put */])(actions["setTicketTempStartDateInput"](clientId, startDateInput)), Object(effects["e" /* put */])(actions["setTicketTempStartDateMoment"](clientId, startMoment)), Object(effects["e" /* put */])(actions["setTicketTempStartTime"](clientId, startTime)), Object(effects["e" /* put */])(actions["setTicketTempStartTimeInput"](clientId, startTimeInput)), Object(effects["e" /* put */])(actions["setTicketHasBeenCreated"](clientId, hasBeenCreated))]);
6970
 
6971
  case 24:
6972
+ _context4.prev = 24;
6973
+ _context4.next = 27;
6974
  return Object(effects["f" /* select */])(tribe.events.data.blocks.datetime.selectors.getStart);
6975
 
6976
  case 27:
6977
+ eventStart = _context4.sent;
6978
+ _context4.next = 30;
6979
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, eventStart);
6980
 
6981
  case 30:
6982
+ endMoment = _context4.sent;
6983
+ _context4.next = 33;
6984
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endMoment);
6985
 
6986
  case 33:
6987
+ endDate = _context4.sent;
6988
+ _context4.next = 36;
6989
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment);
6990
 
6991
  case 36:
6992
+ endDateInput = _context4.sent;
6993
+ _context4.next = 39;
6994
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, endMoment);
6995
 
6996
  case 39:
6997
+ endTime = _context4.sent;
6998
+ _context4.next = 42;
6999
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endMoment);
7000
 
7001
  case 42:
7002
+ endTimeInput = _context4.sent;
7003
+ _context4.next = 45;
7004
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketEndDate"](clientId, endDate)), Object(effects["e" /* put */])(actions["setTicketEndDateInput"](clientId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketEndDateMoment"](clientId, endMoment)), Object(effects["e" /* put */])(actions["setTicketEndTime"](clientId, endTime)), Object(effects["e" /* put */])(actions["setTicketEndTimeInput"](clientId, endTimeInput)), Object(effects["e" /* put */])(actions["setTicketTempEndDate"](clientId, endDate)), Object(effects["e" /* put */])(actions["setTicketTempEndDateInput"](clientId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketTempEndDateMoment"](clientId, endMoment)), Object(effects["e" /* put */])(actions["setTicketTempEndTime"](clientId, endTime)), Object(effects["e" /* put */])(actions["setTicketTempEndTimeInput"](clientId, endTimeInput))]);
7005
 
7006
  case 45:
7007
+ _context4.next = 50;
7008
  break;
7009
 
7010
  case 47:
7011
+ _context4.prev = 47;
7012
+ _context4.t0 = _context4['catch'](24);
7013
 
7014
+ console.error(_context4.t0);
7015
  // ¯\_(ツ)_/¯
7016
 
7017
  case 50:
7018
+ _context4.next = 52;
7019
  return Object(effects["f" /* select */])(getTicketsSharedCapacity);
7020
 
7021
  case 52:
7022
+ sharedCapacity = _context4.sent;
7023
 
7024
  if (!sharedCapacity) {
7025
+ _context4.next = 56;
7026
  break;
7027
  }
7028
 
7029
+ _context4.next = 56;
7030
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketCapacity"](clientId, sharedCapacity)), Object(effects["e" /* put */])(actions["setTicketTempCapacity"](clientId, sharedCapacity))]);
7031
 
7032
  case 56:
7033
  if (!(ticketId !== 0)) {
7034
+ _context4.next = 59;
7035
  break;
7036
  }
7037
 
7038
+ _context4.next = 59;
7039
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketId"](clientId, ticketId)), Object(effects["e" /* put */])(actions["fetchTicket"](clientId, ticketId))]);
7040
 
7041
  case 59:
7042
  case 'end':
7043
+ return _context4.stop();
7044
  }
7045
  }
7046
+ }, _marked4, this, [[24, 47]]);
7047
  }
7048
 
7049
+ function setBodyDetails(clientId) {
7050
  var body, props, ticketProvider, ticketsProvider, capacityType, capacity, isUnlimited;
7051
+ return regenerator_default.a.wrap(function setBodyDetails$(_context5) {
7052
  while (1) {
7053
+ switch (_context5.prev = _context5.next) {
7054
  case 0:
7055
  body = new FormData();
7056
+ props = { clientId: clientId };
7057
+ _context5.next = 4;
7058
  return Object(effects["f" /* select */])(getTicketProvider, props);
7059
 
7060
  case 4:
7061
+ ticketProvider = _context5.sent;
7062
+ _context5.next = 7;
7063
  return Object(effects["f" /* select */])(getTicketsProvider);
7064
 
7065
  case 7:
7066
+ ticketsProvider = _context5.sent;
7067
 
7068
 
7069
  body.append('post_id', Object(external_var_wp_data_root_wp_data_["select"])('core/editor').getCurrentPostId());
7070
  body.append('provider', ticketProvider || ticketsProvider);
7071
+ _context5.t0 = body;
7072
+ _context5.next = 13;
7073
  return Object(effects["f" /* select */])(getTicketTempTitle, props);
7074
 
7075
  case 13:
7076
+ _context5.t1 = _context5.sent;
7077
 
7078
+ _context5.t0.append.call(_context5.t0, 'name', _context5.t1);
7079
 
7080
+ _context5.t2 = body;
7081
+ _context5.next = 18;
7082
  return Object(effects["f" /* select */])(getTicketTempDescription, props);
7083
 
7084
  case 18:
7085
+ _context5.t3 = _context5.sent;
7086
 
7087
+ _context5.t2.append.call(_context5.t2, 'description', _context5.t3);
7088
 
7089
+ _context5.t4 = body;
7090
+ _context5.next = 23;
7091
  return Object(effects["f" /* select */])(getTicketTempPrice, props);
7092
 
7093
  case 23:
7094
+ _context5.t5 = _context5.sent;
7095
 
7096
+ _context5.t4.append.call(_context5.t4, 'price', _context5.t5);
7097
 
7098
+ _context5.t6 = body;
7099
+ _context5.next = 28;
7100
  return Object(effects["f" /* select */])(getTicketTempStartDate, props);
7101
 
7102
  case 28:
7103
+ _context5.t7 = _context5.sent;
7104
 
7105
+ _context5.t6.append.call(_context5.t6, 'start_date', _context5.t7);
7106
 
7107
+ _context5.t8 = body;
7108
+ _context5.next = 33;
7109
  return Object(effects["f" /* select */])(getTicketTempStartTime, props);
7110
 
7111
  case 33:
7112
+ _context5.t9 = _context5.sent;
7113
 
7114
+ _context5.t8.append.call(_context5.t8, 'start_time', _context5.t9);
7115
 
7116
+ _context5.t10 = body;
7117
+ _context5.next = 38;
7118
  return Object(effects["f" /* select */])(getTicketTempEndDate, props);
7119
 
7120
  case 38:
7121
+ _context5.t11 = _context5.sent;
7122
 
7123
+ _context5.t10.append.call(_context5.t10, 'end_date', _context5.t11);
7124
 
7125
+ _context5.t12 = body;
7126
+ _context5.next = 43;
7127
  return Object(effects["f" /* select */])(getTicketTempEndTime, props);
7128
 
7129
  case 43:
7130
+ _context5.t13 = _context5.sent;
7131
 
7132
+ _context5.t12.append.call(_context5.t12, 'end_time', _context5.t13);
7133
 
7134
+ _context5.t14 = body;
7135
+ _context5.next = 48;
7136
  return Object(effects["f" /* select */])(getTicketTempSku, props);
7137
 
7138
  case 48:
7139
+ _context5.t15 = _context5.sent;
7140
 
7141
+ _context5.t14.append.call(_context5.t14, 'sku', _context5.t15);
7142
 
7143
+ _context5.next = 52;
7144
  return Object(effects["f" /* select */])(getTicketTempCapacityType, props);
7145
 
7146
  case 52:
7147
+ capacityType = _context5.sent;
7148
+ _context5.next = 55;
7149
  return Object(effects["f" /* select */])(getTicketTempCapacity, props);
7150
 
7151
  case 55:
7152
+ capacity = _context5.sent;
7153
  isUnlimited = capacityType === sagas_TICKET_TYPES[sagas_UNLIMITED];
7154
 
7155
  body.append('ticket[mode]', isUnlimited ? '' : capacityType);
7156
  body.append('ticket[capacity]', isUnlimited ? '' : capacity);
7157
 
7158
  if (!(capacityType === sagas_TICKET_TYPES[sagas_SHARED])) {
7159
+ _context5.next = 65;
7160
  break;
7161
  }
7162
 
7163
+ _context5.t16 = body;
7164
+ _context5.next = 63;
7165
  return Object(effects["f" /* select */])(getTicketsTempSharedCapacity);
7166
 
7167
  case 63:
7168
+ _context5.t17 = _context5.sent;
7169
 
7170
+ _context5.t16.append.call(_context5.t16, 'ticket[event_capacity]', _context5.t17);
7171
 
7172
  case 65:
7173
+ return _context5.abrupt('return', body);
7174
 
7175
  case 66:
7176
  case 'end':
7177
+ return _context5.stop();
7178
  }
7179
  }
7180
+ }, _marked5, this);
7181
  }
7182
 
7183
+ function removeTicketBlock(clientId) {
7184
  var _wpDispatch, removeBlock;
7185
 
7186
+ return regenerator_default.a.wrap(function removeTicketBlock$(_context6) {
7187
  while (1) {
7188
+ switch (_context6.prev = _context6.next) {
7189
  case 0:
7190
  _wpDispatch = Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), removeBlock = _wpDispatch.removeBlock;
7191
+ _context6.next = 3;
7192
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["removeTicketBlock"](clientId)), Object(effects["b" /* call */])(removeBlock, clientId)]);
7193
 
7194
  case 3:
7195
  case 'end':
7196
+ return _context6.stop();
7197
  }
7198
  }
7199
+ }, _marked6, this);
7200
  }
7201
 
7202
+ function fetchTicket(action) {
7203
+ var _action$payload2, ticketId, clientId, _ref4, response, ticket, _ticket$status, status, provider, _ticket$totals, totals, available_from, available_until, cost_details, title, description, sku, capacity_type, capacity, datePickerFormat, startMoment, startDate, startDateInput, startTime, startTimeInput, endMoment, endDate, endDateInput, endTime, endTimeInput, details;
7204
 
7205
+ return regenerator_default.a.wrap(function fetchTicket$(_context7) {
7206
  while (1) {
7207
+ switch (_context7.prev = _context7.next) {
7208
  case 0:
7209
+ _action$payload2 = action.payload, ticketId = _action$payload2.ticketId, clientId = _action$payload2.clientId;
7210
 
7211
  if (!(ticketId === 0)) {
7212
+ _context7.next = 3;
7213
  break;
7214
  }
7215
 
7216
+ return _context7.abrupt('return');
7217
 
7218
  case 3:
7219
+ _context7.next = 5;
7220
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, true));
7221
 
7222
  case 5:
7223
+ _context7.prev = 5;
7224
+ _context7.next = 8;
7225
  return Object(effects["b" /* call */])(wpREST, {
7226
  path: 'tickets/' + ticketId,
7227
  namespace: 'tribe/tickets/v1'
7228
  });
7229
 
7230
  case 8:
7231
+ _ref4 = _context7.sent;
7232
  response = _ref4.response;
7233
  ticket = _ref4.data;
7234
  _ticket$status = ticket.status, status = _ticket$status === undefined ? '' : _ticket$status, provider = ticket.provider;
7235
 
7236
  if (!(response.status === 404 || status === 'trash' || provider === constants["RSVP"])) {
7237
+ _context7.next = 16;
7238
  break;
7239
  }
7240
 
7241
+ _context7.next = 15;
7242
+ return Object(effects["b" /* call */])(removeTicketBlock, clientId);
7243
 
7244
  case 15:
7245
+ return _context7.abrupt('return');
7246
 
7247
  case 16:
7248
  if (!response.ok) {
7249
+ _context7.next = 60;
7250
  break;
7251
  }
7252
 
7253
  _ticket$totals = ticket.totals, totals = _ticket$totals === undefined ? {} : _ticket$totals, available_from = ticket.available_from, available_until = ticket.available_until, cost_details = ticket.cost_details, title = ticket.title, description = ticket.description, sku = ticket.sku, capacity_type = ticket.capacity_type, capacity = ticket.capacity;
7254
  datePickerFormat = tecDateSettings().datepickerFormat;
7255
+ _context7.next = 21;
7256
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, available_from);
7257
 
7258
  case 21:
7259
+ startMoment = _context7.sent;
7260
+ _context7.next = 24;
7261
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startMoment);
7262
 
7263
  case 24:
7264
+ startDate = _context7.sent;
7265
+ _context7.next = 27;
7266
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, startMoment);
7267
 
7268
  case 27:
7269
+ startDateInput = _context7.sent;
7270
+ _context7.next = 30;
7271
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, startMoment);
7272
 
7273
  case 30:
7274
+ startTime = _context7.sent;
7275
+ _context7.next = 33;
7276
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startMoment);
7277
 
7278
  case 33:
7279
+ startTimeInput = _context7.sent;
7280
+ _context7.next = 36;
7281
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, '');
7282
 
7283
  case 36:
7284
+ endMoment = _context7.sent;
7285
  endDate = '';
7286
  endDateInput = '';
7287
  endTime = '';
7288
  endTimeInput = '';
7289
 
7290
  if (!available_until) {
7291
+ _context7.next = 57;
7292
  break;
7293
  }
7294
 
7295
+ _context7.next = 44;
7296
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, available_until);
7297
 
7298
  case 44:
7299
+ endMoment = _context7.sent;
7300
+ _context7.next = 47;
7301
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endMoment);
7302
 
7303
  case 47:
7304
+ endDate = _context7.sent;
7305
+ _context7.next = 50;
7306
  return datePickerFormat ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment, datePickerFormat) : Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDate, endMoment);
7307
 
7308
  case 50:
7309
+ endDateInput = _context7.sent;
7310
+ _context7.next = 53;
7311
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseTime, endMoment);
7312
 
7313
  case 53:
7314
+ endTime = _context7.sent;
7315
+ _context7.next = 56;
7316
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endMoment);
7317
 
7318
  case 56:
7319
+ endTimeInput = _context7.sent;
7320
 
7321
  case 57:
7322
  details = {
7337
  capacityType: capacity_type,
7338
  capacity: capacity
7339
  };
7340
+ _context7.next = 60;
7341
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketDetails"](clientId, details)), Object(effects["e" /* put */])(actions["setTicketTempDetails"](clientId, details)), Object(effects["e" /* put */])(actions["setTicketSold"](clientId, totals.sold)), Object(effects["e" /* put */])(actions["setTicketAvailable"](clientId, totals.stock)), Object(effects["e" /* put */])(actions["setTicketCurrencySymbol"](clientId, cost_details.currency_symbol)), Object(effects["e" /* put */])(actions["setTicketCurrencyPosition"](clientId, cost_details.currency_position)), Object(effects["e" /* put */])(actions["setTicketProvider"](clientId, provider)), Object(effects["e" /* put */])(actions["setTicketHasBeenCreated"](clientId, true))]);
7342
 
7343
  case 60:
7344
+ _context7.next = 65;
7345
  break;
7346
 
7347
  case 62:
7348
+ _context7.prev = 62;
7349
+ _context7.t0 = _context7['catch'](5);
7350
 
7351
+ console.error(_context7.t0);
7352
  /**
7353
  * @todo handle error scenario
7354
  */
7355
 
7356
  case 65:
7357
+ _context7.next = 67;
7358
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, false));
7359
 
7360
  case 67:
7361
  case 'end':
7362
+ return _context7.stop();
7363
  }
7364
  }
7365
+ }, _marked7, this, [[5, 62]]);
7366
  }
7367
 
7368
+ function createNewTicket(action) {
7369
+ var clientId, props, _restNonce, _restNonce$add_ticket, add_ticket_nonce, body, _ref5, response, ticket, sharedCapacity, tempSharedCapacity, _ref6, _ref7, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
7370
 
7371
+ return regenerator_default.a.wrap(function createNewTicket$(_context8) {
7372
  while (1) {
7373
+ switch (_context8.prev = _context8.next) {
7374
  case 0:
7375
+ clientId = action.payload.clientId;
7376
+ props = { clientId: clientId };
7377
  _restNonce = restNonce(), _restNonce$add_ticket = _restNonce.add_ticket_nonce, add_ticket_nonce = _restNonce$add_ticket === undefined ? '' : _restNonce$add_ticket;
7378
+ _context8.next = 5;
7379
+ return Object(effects["b" /* call */])(setBodyDetails, clientId);
7380
 
7381
  case 5:
7382
+ body = _context8.sent;
7383
 
7384
  body.append('add_ticket_nonce', add_ticket_nonce);
7385
 
7386
+ _context8.prev = 7;
7387
+ _context8.next = 10;
7388
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, true));
7389
 
7390
  case 10:
7391
+ _context8.next = 12;
7392
  return Object(effects["b" /* call */])(wpREST, {
7393
  path: 'tickets/',
7394
  namespace: 'tribe/tickets/v1',
7399
  });
7400
 
7401
  case 12:
7402
+ _ref5 = _context8.sent;
7403
  response = _ref5.response;
7404
  ticket = _ref5.data;
7405
 
7406
  if (!response.ok) {
7407
+ _context8.next = 47;
7408
  break;
7409
  }
7410
 
7411
+ _context8.next = 18;
7412
  return Object(effects["f" /* select */])(getTicketsSharedCapacity);
7413
 
7414
  case 18:
7415
+ sharedCapacity = _context8.sent;
7416
+ _context8.next = 21;
7417
  return Object(effects["f" /* select */])(getTicketsTempSharedCapacity);
7418
 
7419
  case 21:
7420
+ tempSharedCapacity = _context8.sent;
7421
 
7422
  if (!(sharedCapacity === '' && !isNaN(tempSharedCapacity) && tempSharedCapacity > 0)) {
7423
+ _context8.next = 25;
7424
  break;
7425
  }
7426
 
7427
+ _context8.next = 25;
7428
+ return Object(effects["e" /* put */])(actions["setTicketsSharedCapacity"](tempSharedCapacity));
7429
 
7430
  case 25:
7431
+ _context8.next = 27;
7432
  return Object(effects["a" /* all */])([Object(effects["f" /* select */])(getTicketTempTitle, props), Object(effects["f" /* select */])(getTicketTempDescription, props), Object(effects["f" /* select */])(getTicketTempPrice, props), Object(effects["f" /* select */])(getTicketTempSku, props), Object(effects["f" /* select */])(getTicketTempStartDate, props), Object(effects["f" /* select */])(getTicketTempStartDateInput, props), Object(effects["f" /* select */])(getTicketTempStartDateMoment, props), Object(effects["f" /* select */])(getTicketTempEndDate, props), Object(effects["f" /* select */])(getTicketTempEndDateInput, props), Object(effects["f" /* select */])(getTicketTempEndDateMoment, props), Object(effects["f" /* select */])(getTicketTempStartTime, props), Object(effects["f" /* select */])(getTicketTempEndTime, props), Object(effects["f" /* select */])(getTicketTempStartTimeInput, props), Object(effects["f" /* select */])(getTicketTempEndTimeInput, props), Object(effects["f" /* select */])(getTicketTempCapacityType, props), Object(effects["f" /* select */])(getTicketTempCapacity, props)]);
7433
 
7434
  case 27:
7435
+ _ref6 = _context8.sent;
7436
  _ref7 = slicedToArray_default()(_ref6, 16);
7437
  title = _ref7[0];
7438
  description = _ref7[1];
7450
  endTimeInput = _ref7[13];
7451
  capacityType = _ref7[14];
7452
  capacity = _ref7[15];
7453
+ _context8.next = 47;
7454
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketDetails"](clientId, {
7455
  title: title,
7456
  description: description,
7457
  price: price,
7468
  endTimeInput: endTimeInput,
7469
  capacityType: capacityType,
7470
  capacity: capacity
7471
+ })), Object(effects["e" /* put */])(actions["setTicketId"](clientId, ticket.ID)), Object(effects["e" /* put */])(actions["setTicketHasBeenCreated"](clientId, true)), Object(effects["e" /* put */])(actions["setTicketAvailable"](clientId, ticket.capacity)), Object(effects["e" /* put */])(actions["setTicketProvider"](clientId, PROVIDER_CLASS_TO_PROVIDER_MAPPING[ticket.provider_class])), Object(effects["e" /* put */])(actions["setTicketHasChanges"](clientId, false))]);
7472
 
7473
  case 47:
7474
+ _context8.next = 52;
7475
  break;
7476
 
7477
  case 49:
7478
+ _context8.prev = 49;
7479
+ _context8.t0 = _context8['catch'](7);
7480
 
7481
+ console.error(_context8.t0);
7482
  /**
7483
  * @todo: handle error scenario
7484
  */
7485
 
7486
  case 52:
7487
+ _context8.prev = 52;
7488
+ _context8.next = 55;
7489
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, false));
7490
 
7491
  case 55:
7492
+ return _context8.finish(52);
7493
 
7494
  case 56:
7495
  case 'end':
7496
+ return _context8.stop();
7497
  }
7498
  }
7499
+ }, _marked8, this, [[7, 49, 52, 56]]);
7500
  }
7501
 
7502
+ function updateTicket(action) {
7503
+ var clientId, props, _restNonce2, _restNonce2$edit_tick, edit_ticket_nonce, body, ticketId, data, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, _ref8, _ref9, key, value, _ref10, response, _ref11, _ref12, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
7504
 
7505
+ return regenerator_default.a.wrap(function updateTicket$(_context9) {
7506
  while (1) {
7507
+ switch (_context9.prev = _context9.next) {
7508
  case 0:
7509
+ clientId = action.payload.clientId;
7510
+ props = { clientId: clientId };
7511
  _restNonce2 = restNonce(), _restNonce2$edit_tick = _restNonce2.edit_ticket_nonce, edit_ticket_nonce = _restNonce2$edit_tick === undefined ? '' : _restNonce2$edit_tick;
7512
+ _context9.next = 5;
7513
+ return Object(effects["b" /* call */])(setBodyDetails, clientId);
7514
 
7515
  case 5:
7516
+ body = _context9.sent;
7517
 
7518
  body.append('edit_ticket_nonce', edit_ticket_nonce);
7519
 
7520
+ _context9.next = 9;
7521
  return Object(effects["f" /* select */])(getTicketId, props);
7522
 
7523
  case 9:
7524
+ ticketId = _context9.sent;
7525
+ _context9.prev = 10;
7526
  data = [];
7527
  _iteratorNormalCompletion = true;
7528
  _didIteratorError = false;
7529
  _iteratorError = undefined;
7530
+ _context9.prev = 15;
7531
 
7532
  for (_iterator = body.entries()[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
7533
  _ref8 = _step.value;
7538
  data.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));
7539
  }
7540
 
7541
+ _context9.next = 23;
7542
  break;
7543
 
7544
  case 19:
7545
+ _context9.prev = 19;
7546
+ _context9.t0 = _context9['catch'](15);
7547
  _didIteratorError = true;
7548
+ _iteratorError = _context9.t0;
7549
 
7550
  case 23:
7551
+ _context9.prev = 23;
7552
+ _context9.prev = 24;
7553
 
7554
  if (!_iteratorNormalCompletion && _iterator.return) {
7555
  _iterator.return();
7556
  }
7557
 
7558
  case 26:
7559
+ _context9.prev = 26;
7560
 
7561
  if (!_didIteratorError) {
7562
+ _context9.next = 29;
7563
  break;
7564
  }
7565
 
7566
  throw _iteratorError;
7567
 
7568
  case 29:
7569
+ return _context9.finish(26);
7570
 
7571
  case 30:
7572
+ return _context9.finish(23);
7573
 
7574
  case 31:
7575
+ _context9.next = 33;
7576
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, true));
7577
 
7578
  case 33:
7579
+ _context9.next = 35;
7580
  return Object(effects["b" /* call */])(wpREST, {
7581
  path: 'tickets/' + ticketId,
7582
  namespace: 'tribe/tickets/v1',
7590
  });
7591
 
7592
  case 35:
7593
+ _ref10 = _context9.sent;
7594
  response = _ref10.response;
7595
 
7596
  if (!response.ok) {
7597
+ _context9.next = 60;
7598
  break;
7599
  }
7600
 
7601
+ _context9.next = 40;
7602
  return Object(effects["a" /* all */])([Object(effects["f" /* select */])(getTicketTempTitle, props), Object(effects["f" /* select */])(getTicketTempDescription, props), Object(effects["f" /* select */])(getTicketTempPrice, props), Object(effects["f" /* select */])(getTicketTempSku, props), Object(effects["f" /* select */])(getTicketTempStartDate, props), Object(effects["f" /* select */])(getTicketTempStartDateInput, props), Object(effects["f" /* select */])(getTicketTempStartDateMoment, props), Object(effects["f" /* select */])(getTicketTempEndDate, props), Object(effects["f" /* select */])(getTicketTempEndDateInput, props), Object(effects["f" /* select */])(getTicketTempEndDateMoment, props), Object(effects["f" /* select */])(getTicketTempStartTime, props), Object(effects["f" /* select */])(getTicketTempEndTime, props), Object(effects["f" /* select */])(getTicketTempStartTimeInput, props), Object(effects["f" /* select */])(getTicketTempEndTimeInput, props), Object(effects["f" /* select */])(getTicketTempCapacityType, props), Object(effects["f" /* select */])(getTicketTempCapacity, props)]);
7603
 
7604
  case 40:
7605
+ _ref11 = _context9.sent;
7606
  _ref12 = slicedToArray_default()(_ref11, 16);
7607
  title = _ref12[0];
7608
  description = _ref12[1];
7620
  endTimeInput = _ref12[13];
7621
  capacityType = _ref12[14];
7622
  capacity = _ref12[15];
7623
+ _context9.next = 60;
7624
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketDetails"](clientId, {
7625
  title: title,
7626
  description: description,
7627
  price: price,
7638
  endTimeInput: endTimeInput,
7639
  capacityType: capacityType,
7640
  capacity: capacity
7641
+ })), Object(effects["e" /* put */])(actions["setTicketHasChanges"](clientId, false))]);
7642
 
7643
  case 60:
7644
+ _context9.next = 65;
7645
  break;
7646
 
7647
  case 62:
7648
+ _context9.prev = 62;
7649
+ _context9.t1 = _context9['catch'](10);
7650
 
7651
+ console.error(_context9.t1);
7652
  /**
7653
  * @todo: handle error scenario
7654
  */
7655
 
7656
  case 65:
7657
+ _context9.prev = 65;
7658
+ _context9.next = 68;
7659
+ return Object(effects["e" /* put */])(actions["setTicketIsLoading"](clientId, false));
7660
 
7661
  case 68:
7662
+ return _context9.finish(65);
7663
 
7664
  case 69:
7665
  case 'end':
7666
+ return _context9.stop();
7667
  }
7668
  }
7669
+ }, _marked9, this, [[10, 62, 65, 69], [15, 19, 23, 31], [24,, 26, 30]]);
7670
  }
7671
 
7672
+ function deleteTicket(action) {
7673
+ var clientId, props, shouldDelete, ticketId, hasBeenCreated, _restNonce3, _restNonce3$remove_ti, remove_ticket_nonce, postId, body;
7674
 
7675
+ return regenerator_default.a.wrap(function deleteTicket$(_context10) {
7676
  while (1) {
7677
+ switch (_context10.prev = _context10.next) {
7678
  case 0:
7679
+ clientId = action.payload.clientId;
7680
+ props = { clientId: clientId };
7681
+ _context10.next = 4;
7682
  return Object(effects["b" /* call */])([window, 'confirm'], Object(external_var_wp_i18n_root_wp_i18n_["__"])('Are you sure you want to delete this ticket? It cannot be undone.'));
7683
 
7684
  case 4:
7685
+ shouldDelete = _context10.sent;
7686
 
7687
  if (!shouldDelete) {
7688
+ _context10.next = 29;
7689
  break;
7690
  }
7691
 
7692
+ _context10.next = 8;
7693
  return Object(effects["f" /* select */])(getTicketId, props);
7694
 
7695
  case 8:
7696
+ ticketId = _context10.sent;
7697
+ _context10.next = 11;
7698
  return Object(effects["f" /* select */])(getTicketHasBeenCreated, props);
7699
 
7700
  case 11:
7701
+ hasBeenCreated = _context10.sent;
7702
+ _context10.next = 14;
7703
+ return Object(effects["e" /* put */])(actions["setTicketIsSelected"](clientId, false));
7704
 
7705
  case 14:
7706
+ _context10.next = 16;
7707
+ return Object(effects["e" /* put */])(actions["removeTicketBlock"](clientId));
7708
 
7709
  case 16:
7710
+ _context10.next = 18;
7711
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [clientId]);
7712
 
7713
  case 18:
7714
  if (!hasBeenCreated) {
7715
+ _context10.next = 29;
7716
  break;
7717
  }
7718
 
7725
  */
7726
 
7727
  body = [encodeURIComponent('post_id') + '=' + encodeURIComponent(postId), encodeURIComponent('remove_ticket_nonce') + '=' + encodeURIComponent(remove_ticket_nonce)];
7728
+ _context10.prev = 22;
7729
+ _context10.next = 25;
7730
  return Object(effects["b" /* call */])(wpREST, {
7731
  path: 'tickets/' + ticketId,
7732
  namespace: 'tribe/tickets/v1',
7740
  });
7741
 
7742
  case 25:
7743
+ _context10.next = 29;
7744
  break;
7745
 
7746
  case 27:
7747
+ _context10.prev = 27;
7748
+ _context10.t0 = _context10['catch'](22);
7749
 
7750
  case 29:
7751
  case 'end':
7752
+ return _context10.stop();
7753
  }
7754
  }
7755
+ }, _marked10, this, [[22, 27]]);
7756
  }
7757
 
7758
+ function fetchTicketsHeaderImage(action) {
7759
  var id, _ref13, response, media, headerImage;
7760
 
7761
+ return regenerator_default.a.wrap(function fetchTicketsHeaderImage$(_context11) {
7762
  while (1) {
7763
+ switch (_context11.prev = _context11.next) {
7764
  case 0:
7765
  id = action.payload.id;
7766
+ _context11.next = 3;
7767
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](true));
7768
 
7769
  case 3:
7770
+ _context11.prev = 3;
7771
+ _context11.next = 6;
7772
  return Object(effects["b" /* call */])(wpREST, { path: 'media/' + id });
7773
 
7774
  case 6:
7775
+ _ref13 = _context11.sent;
7776
  response = _ref13.response;
7777
  media = _ref13.data;
7778
 
7779
  if (!response.ok) {
7780
+ _context11.next = 13;
7781
  break;
7782
  }
7783
 
7786
  alt: media.alt_text,
7787
  src: media.media_details.sizes.medium.source_url
7788
  };
7789
+ _context11.next = 13;
7790
+ return Object(effects["e" /* put */])(actions["setTicketsHeaderImage"](headerImage));
7791
 
7792
  case 13:
7793
+ _context11.next = 18;
7794
  break;
7795
 
7796
  case 15:
7797
+ _context11.prev = 15;
7798
+ _context11.t0 = _context11['catch'](3);
7799
 
7800
+ console.error(_context11.t0);
7801
  /**
7802
  * @todo: handle error scenario
7803
  */
7804
 
7805
  case 18:
7806
+ _context11.prev = 18;
7807
+ _context11.next = 21;
7808
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](false));
7809
 
7810
  case 21:
7811
+ return _context11.finish(18);
7812
 
7813
  case 22:
7814
  case 'end':
7815
+ return _context11.stop();
7816
  }
7817
  }
7818
+ }, _marked11, this, [[3, 15, 18, 22]]);
7819
  }
7820
 
7821
+ function updateTicketsHeaderImage(action) {
7822
+ var image, postId, body, _ref14, response, headerImage;
7823
 
7824
+ return regenerator_default.a.wrap(function updateTicketsHeaderImage$(_context12) {
7825
  while (1) {
7826
+ switch (_context12.prev = _context12.next) {
7827
  case 0:
7828
  image = action.payload.image;
7829
+ _context12.next = 3;
7830
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getCurrentPostId']);
7831
+
7832
+ case 3:
7833
+ postId = _context12.sent;
7834
  body = {
7835
  meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], '' + image.id)
7836
  };
7837
+ _context12.prev = 5;
7838
+ _context12.next = 8;
7839
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](true));
7840
 
7841
+ case 8:
7842
+ _context12.next = 10;
7843
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPIsSettingsLoading"](true));
7844
+
7845
+ case 10:
7846
+ _context12.next = 12;
7847
  return Object(effects["b" /* call */])(wpREST, {
7848
  path: 'tribe_events/' + postId,
7849
  headers: {
7855
  }
7856
  });
7857
 
7858
+ case 12:
7859
+ _ref14 = _context12.sent;
7860
  response = _ref14.response;
7861
 
7862
  if (!response.ok) {
7863
+ _context12.next = 20;
7864
  break;
7865
  }
7866
 
7867
+ headerImage = {
 
7868
  id: image.id,
7869
  alt: image.alt,
7870
  src: image.sizes.medium.url
7871
+ };
7872
+ /**
7873
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
7874
+ */
7875
 
7876
+ _context12.next = 18;
7877
+ return Object(effects["e" /* put */])(actions["setTicketsHeaderImage"](headerImage));
7878
+
7879
+ case 18:
7880
+ _context12.next = 20;
7881
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPHeaderImage"](headerImage));
7882
+
7883
+ case 20:
7884
+ _context12.next = 24;
7885
  break;
7886
 
7887
+ case 22:
7888
+ _context12.prev = 22;
7889
+ _context12.t0 = _context12['catch'](5);
7890
 
7891
+ case 24:
7892
+ _context12.prev = 24;
7893
+ _context12.next = 27;
7894
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](false));
7895
 
7896
+ case 27:
7897
+ _context12.next = 29;
7898
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPIsSettingsLoading"](false));
7899
 
7900
+ case 29:
7901
+ return _context12.finish(24);
7902
+
7903
+ case 30:
7904
  case 'end':
7905
+ return _context12.stop();
7906
  }
7907
  }
7908
+ }, _marked12, this, [[5, 22, 24, 30]]);
7909
  }
7910
 
7911
+ function deleteTicketsHeaderImage() {
7912
  var postId, body, _ref15, response;
7913
 
7914
+ return regenerator_default.a.wrap(function deleteTicketsHeaderImage$(_context13) {
7915
  while (1) {
7916
+ switch (_context13.prev = _context13.next) {
7917
  case 0:
7918
+ _context13.next = 2;
7919
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getCurrentPostId']);
7920
+
7921
+ case 2:
7922
+ postId = _context13.sent;
7923
  body = {
7924
  meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], null)
7925
  };
7926
+ _context13.prev = 4;
7927
+ _context13.next = 7;
7928
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](true));
7929
 
7930
+ case 7:
7931
+ _context13.next = 9;
7932
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPIsSettingsLoading"](true));
7933
+
7934
+ case 9:
7935
+ _context13.next = 11;
7936
  return Object(effects["b" /* call */])(wpREST, {
7937
  path: 'tribe_events/' + postId,
7938
  headers: {
7944
  }
7945
  });
7946
 
7947
+ case 11:
7948
+ _ref15 = _context13.sent;
7949
  response = _ref15.response;
7950
 
7951
  if (!response.ok) {
7952
+ _context13.next = 18;
7953
  break;
7954
  }
7955
 
7956
+ _context13.next = 16;
7957
+ return Object(effects["e" /* put */])(actions["setTicketsHeaderImage"](header_image["a" /* DEFAULT_STATE */]));
7958
 
7959
+ case 16:
7960
+ _context13.next = 18;
7961
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPHeaderImage"](reducers_header_image["a" /* DEFAULT_STATE */]));
7962
+
7963
+ case 18:
7964
+ _context13.next = 22;
7965
  break;
7966
 
7967
+ case 20:
7968
+ _context13.prev = 20;
7969
+ _context13.t0 = _context13['catch'](4);
7970
 
7971
+ case 22:
7972
+ _context13.prev = 22;
7973
+ _context13.next = 25;
7974
+ return Object(effects["e" /* put */])(actions["setTicketsIsSettingsLoading"](false));
7975
 
7976
+ case 25:
7977
+ _context13.next = 27;
7978
+ return Object(effects["e" /* put */])(rsvp_actions["setRSVPIsSettingsLoading"](false));
7979
 
7980
+ case 27:
7981
+ return _context13.finish(22);
7982
+
7983
+ case 28:
7984
  case 'end':
7985
+ return _context13.stop();
7986
  }
7987
  }
7988
+ }, _marked13, this, [[4, 20, 22, 28]]);
7989
  }
7990
 
7991
+ function setTicketDetails(action) {
7992
+ var _action$payload3, clientId, details, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
7993
 
7994
+ return regenerator_default.a.wrap(function setTicketDetails$(_context14) {
7995
  while (1) {
7996
+ switch (_context14.prev = _context14.next) {
7997
  case 0:
7998
+ _action$payload3 = action.payload, clientId = _action$payload3.clientId, details = _action$payload3.details;
7999
  title = details.title, description = details.description, price = details.price, sku = details.sku, startDate = details.startDate, startDateInput = details.startDateInput, startDateMoment = details.startDateMoment, endDate = details.endDate, endDateInput = details.endDateInput, endDateMoment = details.endDateMoment, startTime = details.startTime, endTime = details.endTime, startTimeInput = details.startTimeInput, endTimeInput = details.endTimeInput, capacityType = details.capacityType, capacity = details.capacity;
8000
+ _context14.next = 4;
8001
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketTitle"](clientId, title)), Object(effects["e" /* put */])(actions["setTicketDescription"](clientId, description)), Object(effects["e" /* put */])(actions["setTicketPrice"](clientId, price)), Object(effects["e" /* put */])(actions["setTicketSku"](clientId, sku)), Object(effects["e" /* put */])(actions["setTicketStartDate"](clientId, startDate)), Object(effects["e" /* put */])(actions["setTicketStartDateInput"](clientId, startDateInput)), Object(effects["e" /* put */])(actions["setTicketStartDateMoment"](clientId, startDateMoment)), Object(effects["e" /* put */])(actions["setTicketEndDate"](clientId, endDate)), Object(effects["e" /* put */])(actions["setTicketEndDateInput"](clientId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketEndDateMoment"](clientId, endDateMoment)), Object(effects["e" /* put */])(actions["setTicketStartTime"](clientId, startTime)), Object(effects["e" /* put */])(actions["setTicketEndTime"](clientId, endTime)), Object(effects["e" /* put */])(actions["setTicketStartTimeInput"](clientId, startTimeInput)), Object(effects["e" /* put */])(actions["setTicketEndTimeInput"](clientId, endTimeInput)), Object(effects["e" /* put */])(actions["setTicketCapacityType"](clientId, capacityType)), Object(effects["e" /* put */])(actions["setTicketCapacity"](clientId, capacity))]);
8002
 
8003
  case 4:
8004
  case 'end':
8005
+ return _context14.stop();
8006
  }
8007
  }
8008
+ }, _marked14, this);
8009
  }
8010
 
8011
+ function setTicketTempDetails(action) {
8012
+ var _action$payload4, clientId, tempDetails, title, description, price, sku, startDate, startDateInput, startDateMoment, endDate, endDateInput, endDateMoment, startTime, endTime, startTimeInput, endTimeInput, capacityType, capacity;
8013
 
8014
+ return regenerator_default.a.wrap(function setTicketTempDetails$(_context15) {
8015
  while (1) {
8016
+ switch (_context15.prev = _context15.next) {
8017
  case 0:
8018
+ _action$payload4 = action.payload, clientId = _action$payload4.clientId, tempDetails = _action$payload4.tempDetails;
8019
  title = tempDetails.title, description = tempDetails.description, price = tempDetails.price, sku = tempDetails.sku, startDate = tempDetails.startDate, startDateInput = tempDetails.startDateInput, startDateMoment = tempDetails.startDateMoment, endDate = tempDetails.endDate, endDateInput = tempDetails.endDateInput, endDateMoment = tempDetails.endDateMoment, startTime = tempDetails.startTime, endTime = tempDetails.endTime, startTimeInput = tempDetails.startTimeInput, endTimeInput = tempDetails.endTimeInput, capacityType = tempDetails.capacityType, capacity = tempDetails.capacity;
8020
+ _context15.next = 4;
8021
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketTempTitle"](clientId, title)), Object(effects["e" /* put */])(actions["setTicketTempDescription"](clientId, description)), Object(effects["e" /* put */])(actions["setTicketTempPrice"](clientId, price)), Object(effects["e" /* put */])(actions["setTicketTempSku"](clientId, sku)), Object(effects["e" /* put */])(actions["setTicketTempStartDate"](clientId, startDate)), Object(effects["e" /* put */])(actions["setTicketTempStartDateInput"](clientId, startDateInput)), Object(effects["e" /* put */])(actions["setTicketTempStartDateMoment"](clientId, startDateMoment)), Object(effects["e" /* put */])(actions["setTicketTempEndDate"](clientId, endDate)), Object(effects["e" /* put */])(actions["setTicketTempEndDateInput"](clientId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketTempEndDateMoment"](clientId, endDateMoment)), Object(effects["e" /* put */])(actions["setTicketTempStartTime"](clientId, startTime)), Object(effects["e" /* put */])(actions["setTicketTempEndTime"](clientId, endTime)), Object(effects["e" /* put */])(actions["setTicketTempStartTimeInput"](clientId, startTimeInput)), Object(effects["e" /* put */])(actions["setTicketTempEndTimeInput"](clientId, endTimeInput)), Object(effects["e" /* put */])(actions["setTicketTempCapacityType"](clientId, capacityType)), Object(effects["e" /* put */])(actions["setTicketTempCapacity"](clientId, capacity))]);
8022
 
8023
  case 4:
8024
  case 'end':
8025
+ return _context15.stop();
8026
  }
8027
  }
8028
+ }, _marked15, this);
8029
  }
8030
 
8031
  /**
8036
  */
8037
  function saveTicketWithPostSave(blockId) {
8038
  var saveChannel;
8039
+ return regenerator_default.a.wrap(function saveTicketWithPostSave$(_context16) {
8040
  while (1) {
8041
+ switch (_context16.prev = _context16.next) {
8042
  case 0:
8043
  saveChannel = void 0;
8044
+ _context16.prev = 1;
8045
+ _context16.next = 4;
8046
  return Object(effects["f" /* select */])(getTicketHasBeenCreated, { blockId: blockId });
8047
 
8048
  case 4:
8049
+ if (!_context16.sent) {
8050
+ _context16.next = 12;
8051
  break;
8052
  }
8053
 
8054
+ _context16.next = 7;
8055
  return Object(effects["b" /* call */])(sagas["b" /* createWPEditorSavingChannel */]);
8056
 
8057
  case 7:
8058
+ saveChannel = _context16.sent;
8059
+ _context16.next = 10;
8060
  return Object(effects["g" /* take */])(saveChannel);
8061
 
8062
  case 10:
8063
+ _context16.next = 12;
8064
+ return Object(effects["b" /* call */])(updateTicket, { payload: { blockId: blockId } });
8065
 
8066
  case 12:
8067
+ _context16.next = 17;
8068
  break;
8069
 
8070
  case 14:
8071
+ _context16.prev = 14;
8072
+ _context16.t0 = _context16['catch'](1);
8073
 
8074
+ console.error(_context16.t0);
8075
 
8076
  case 17:
8077
+ _context16.prev = 17;
8078
 
8079
  if (!saveChannel) {
8080
+ _context16.next = 21;
8081
  break;
8082
  }
8083
 
8084
+ _context16.next = 21;
8085
  return Object(effects["b" /* call */])([saveChannel, 'close']);
8086
 
8087
  case 21:
8088
+ return _context16.finish(17);
8089
 
8090
  case 22:
8091
  case 'end':
8092
+ return _context16.stop();
8093
  }
8094
  }
8095
+ }, _marked16, this, [[1, 14, 17, 22]]);
8096
  }
8097
 
8098
  /**
8102
  */
8103
  function syncTicketsSaleEndWithEventStart(prevStartDate) {
8104
  var ticketIds, index, blockId;
8105
+ return regenerator_default.a.wrap(function syncTicketsSaleEndWithEventStart$(_context17) {
8106
  while (1) {
8107
+ switch (_context17.prev = _context17.next) {
8108
  case 0:
8109
+ _context17.next = 2;
8110
+ return Object(effects["f" /* select */])(getTicketsAllClientIds);
8111
 
8112
  case 2:
8113
+ ticketIds = _context17.sent;
8114
  index = 0;
8115
 
8116
  case 4:
8117
  if (!(index < ticketIds.length)) {
8118
+ _context17.next = 11;
8119
  break;
8120
  }
8121
 
8122
  blockId = ticketIds[index];
8123
+ _context17.next = 8;
8124
  return Object(effects["b" /* call */])(syncTicketSaleEndWithEventStart, prevStartDate, blockId);
8125
 
8126
  case 8:
8127
  index++;
8128
+ _context17.next = 4;
8129
  break;
8130
 
8131
  case 11:
8132
  case 'end':
8133
+ return _context17.stop();
8134
  }
8135
  }
8136
+ }, _marked17, this);
8137
  }
8138
 
8139
  /**
8145
  function syncTicketSaleEndWithEventStart(prevStartDate, blockId) {
8146
  var tempEndMoment, endMoment, _ref16, prevEventStartMoment, isNotManuallyEdited, isSyncedToEventStart, eventStart, _ref17, endDateMoment, endDate, endDateInput, endTime, endTimeInput;
8147
 
8148
+ return regenerator_default.a.wrap(function syncTicketSaleEndWithEventStart$(_context18) {
8149
  while (1) {
8150
+ switch (_context18.prev = _context18.next) {
8151
  case 0:
8152
+ _context18.prev = 0;
8153
+ _context18.next = 3;
8154
  return Object(effects["f" /* select */])(getTicketTempEndDateMoment, { blockId: blockId });
8155
 
8156
  case 3:
8157
+ tempEndMoment = _context18.sent;
8158
+ _context18.next = 6;
8159
  return Object(effects["f" /* select */])(getTicketEndDateMoment, { blockId: blockId });
8160
 
8161
  case 6:
8162
+ endMoment = _context18.sent;
8163
+ _context18.next = 9;
8164
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], prevStartDate);
8165
 
8166
  case 9:
8167
+ _ref16 = _context18.sent;
8168
  prevEventStartMoment = _ref16.moment;
8169
+ _context18.next = 13;
8170
  return Object(effects["a" /* all */])([Object(effects["b" /* call */])([tempEndMoment, 'local']), Object(effects["b" /* call */])([endMoment, 'local']), Object(effects["b" /* call */])([prevEventStartMoment, 'local'])]);
8171
 
8172
  case 13:
8173
+ _context18.next = 15;
8174
  return Object(effects["b" /* call */])([tempEndMoment, 'isSame'], endMoment, 'minute');
8175
 
8176
  case 15:
8177
+ isNotManuallyEdited = _context18.sent;
8178
+ _context18.next = 18;
8179
  return Object(effects["b" /* call */])([tempEndMoment, 'isSame'], prevEventStartMoment, 'minute');
8180
 
8181
  case 18:
8182
+ isSyncedToEventStart = _context18.sent;
8183
 
8184
  if (!(isNotManuallyEdited && isSyncedToEventStart)) {
8185
+ _context18.next = 35;
8186
  break;
8187
  }
8188
 
8189
+ _context18.next = 22;
8190
  return Object(effects["f" /* select */])(window.tribe.events.data.blocks.datetime.selectors.getStart);
8191
 
8192
  case 22:
8193
+ eventStart = _context18.sent;
8194
+ _context18.next = 25;
8195
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], eventStart);
8196
 
8197
  case 25:
8198
+ _ref17 = _context18.sent;
8199
  endDateMoment = _ref17.moment;
8200
  endDate = _ref17.date;
8201
  endDateInput = _ref17.dateInput;
8202
  endTime = _ref17.time;
8203
  endTimeInput = _ref17.timeInput;
8204
+ _context18.next = 33;
8205
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setTicketTempEndDate"](blockId, endDate)), Object(effects["e" /* put */])(actions["setTicketTempEndDateInput"](blockId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketTempEndDateMoment"](blockId, endDateMoment)), Object(effects["e" /* put */])(actions["setTicketTempEndTime"](blockId, endTime)), Object(effects["e" /* put */])(actions["setTicketTempEndTimeInput"](blockId, endTimeInput)),
8206
 
8207
  // Sync Ticket end items as well so as not to make state 'manually edited'
8208
+ Object(effects["e" /* put */])(actions["setTicketEndDate"](blockId, endDate)), Object(effects["e" /* put */])(actions["setTicketEndDateInput"](blockId, endDateInput)), Object(effects["e" /* put */])(actions["setTicketEndDateMoment"](blockId, endDateMoment)), Object(effects["e" /* put */])(actions["setTicketEndTime"](blockId, endTime)), Object(effects["e" /* put */])(actions["setTicketEndTimeInput"](blockId, endTimeInput)),
8209
 
8210
  // Trigger UI button
8211
+ Object(effects["e" /* put */])(actions["setTicketHasChanges"](blockId, true))]);
8212
 
8213
  case 33:
8214
+ _context18.next = 35;
8215
  return Object(effects["d" /* fork */])(saveTicketWithPostSave, blockId);
8216
 
8217
  case 35:
8218
+ _context18.next = 40;
8219
  break;
8220
 
8221
  case 37:
8222
+ _context18.prev = 37;
8223
+ _context18.t0 = _context18['catch'](0);
8224
 
8225
  // ¯\_(ツ)_/¯
8226
+ console.error(_context18.t0);
8227
 
8228
  case 40:
8229
  case 'end':
8230
+ return _context18.stop();
8231
  }
8232
  }
8233
+ }, _marked18, this, [[0, 37]]);
8234
  }
8235
 
8236
  /**
8241
  function handleEventStartDateChanges() {
8242
  var postTypeChannel, isEvent, _window$tribe$events$, SET_START_DATE_TIME, SET_START_TIME, syncTask, eventStart;
8243
 
8244
+ return regenerator_default.a.wrap(function handleEventStartDateChanges$(_context19) {
8245
  while (1) {
8246
+ switch (_context19.prev = _context19.next) {
8247
  case 0:
8248
+ _context19.prev = 0;
8249
+ _context19.next = 3;
8250
  return Object(effects["b" /* call */])(sagas["c" /* hasPostTypeChannel */]);
8251
 
8252
  case 3:
8253
+ postTypeChannel = _context19.sent;
8254
+ _context19.next = 6;
8255
  return Object(effects["g" /* take */])(postTypeChannel);
8256
 
8257
  case 6:
8258
+ _context19.next = 8;
8259
  return Object(effects["b" /* call */])([postTypeChannel, 'close']);
8260
 
8261
  case 8:
8262
+ _context19.next = 10;
8263
  return Object(effects["b" /* call */])(sagas["d" /* isTribeEventPostType */]);
8264
 
8265
  case 10:
8266
+ isEvent = _context19.sent;
8267
 
8268
  if (!(isEvent && window.tribe.events)) {
8269
+ _context19.next = 28;
8270
  break;
8271
  }
8272
 
8276
  case 14:
8277
  if (false) {}
8278
 
8279
+ _context19.next = 17;
8280
  return Object(effects["f" /* select */])(window.tribe.events.data.blocks.datetime.selectors.getStart);
8281
 
8282
  case 17:
8283
+ eventStart = _context19.sent;
8284
+ _context19.next = 20;
8285
  return Object(effects["g" /* take */])([SET_START_DATE_TIME, SET_START_TIME]);
8286
 
8287
  case 20:
8288
  if (!syncTask) {
8289
+ _context19.next = 23;
8290
  break;
8291
  }
8292
 
8293
+ _context19.next = 23;
8294
  return Object(effects["c" /* cancel */])(syncTask);
8295
 
8296
  case 23:
8297
+ _context19.next = 25;
8298
  return Object(effects["d" /* fork */])(syncTicketsSaleEndWithEventStart, eventStart);
8299
 
8300
  case 25:
8301
+ syncTask = _context19.sent;
8302
+ _context19.next = 14;
8303
  break;
8304
 
8305
  case 28:
8306
+ _context19.next = 33;
8307
  break;
8308
 
8309
  case 30:
8310
+ _context19.prev = 30;
8311
+ _context19.t0 = _context19['catch'](0);
8312
 
8313
  // ¯\_(ツ)_/¯
8314
+ console.error(_context19.t0);
8315
 
8316
  case 33:
8317
  case 'end':
8318
+ return _context19.stop();
8319
  }
8320
  }
8321
+ }, _marked19, this, [[0, 30]]);
8322
  }
8323
 
8324
+ function handleTicketStartDate(action) {
8325
+ var _action$payload5, clientId, date, dayPickerInput, startDateMoment, startDate;
8326
 
8327
+ return regenerator_default.a.wrap(function handleTicketStartDate$(_context20) {
8328
  while (1) {
8329
+ switch (_context20.prev = _context20.next) {
8330
  case 0:
8331
+ _action$payload5 = action.payload, clientId = _action$payload5.clientId, date = _action$payload5.date, dayPickerInput = _action$payload5.dayPickerInput;
8332
+ _context20.next = 3;
8333
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, date) : undefined;
8334
 
8335
  case 3:
8336
+ startDateMoment = _context20.sent;
8337
+ _context20.next = 6;
8338
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, startDateMoment) : '';
8339
 
8340
  case 6:
8341
+ startDate = _context20.sent;
8342
+ _context20.next = 9;
8343
+ return Object(effects["e" /* put */])(actions["setTicketTempStartDate"](clientId, startDate));
8344
 
8345
  case 9:
8346
+ _context20.next = 11;
8347
+ return Object(effects["e" /* put */])(actions["setTicketTempStartDateInput"](clientId, dayPickerInput.state.value));
8348
 
8349
  case 11:
8350
+ _context20.next = 13;
8351
+ return Object(effects["e" /* put */])(actions["setTicketTempStartDateMoment"](clientId, startDateMoment));
8352
 
8353
  case 13:
8354
  case 'end':
8355
+ return _context20.stop();
8356
  }
8357
  }
8358
+ }, _marked20, this);
8359
  }
8360
 
8361
+ function handleTicketEndDate(action) {
8362
+ var _action$payload6, clientId, date, dayPickerInput, endDateMoment, endDate;
8363
 
8364
+ return regenerator_default.a.wrap(function handleTicketEndDate$(_context21) {
8365
  while (1) {
8366
+ switch (_context21.prev = _context21.next) {
8367
  case 0:
8368
+ _action$payload6 = action.payload, clientId = _action$payload6.clientId, date = _action$payload6.date, dayPickerInput = _action$payload6.dayPickerInput;
8369
+ _context21.next = 3;
8370
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, date) : undefined;
8371
 
8372
  case 3:
8373
+ endDateMoment = _context21.sent;
8374
+ _context21.next = 6;
8375
  return date ? Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toDatabaseDate, endDateMoment) : '';
8376
 
8377
  case 6:
8378
+ endDate = _context21.sent;
8379
+ _context21.next = 9;
8380
+ return Object(effects["e" /* put */])(actions["setTicketTempEndDate"](clientId, endDate));
8381
 
8382
  case 9:
8383
+ _context21.next = 11;
8384
+ return Object(effects["e" /* put */])(actions["setTicketTempEndDateInput"](clientId, dayPickerInput.state.value));
8385
 
8386
  case 11:
8387
+ _context21.next = 13;
8388
+ return Object(effects["e" /* put */])(actions["setTicketTempEndDateMoment"](clientId, endDateMoment));
8389
 
8390
  case 13:
8391
  case 'end':
8392
+ return _context21.stop();
8393
  }
8394
  }
8395
+ }, _marked21, this);
8396
  }
8397
 
8398
+ function handleTicketStartTime(action) {
8399
+ var _action$payload7, clientId, seconds, startTime;
8400
 
8401
+ return regenerator_default.a.wrap(function handleTicketStartTime$(_context22) {
8402
  while (1) {
8403
+ switch (_context22.prev = _context22.next) {
8404
  case 0:
8405
+ _action$payload7 = action.payload, clientId = _action$payload7.clientId, seconds = _action$payload7.seconds;
8406
+ _context22.next = 3;
8407
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
8408
 
8409
  case 3:
8410
+ startTime = _context22.sent;
8411
+ _context22.next = 6;
8412
+ return Object(effects["e" /* put */])(actions["setTicketTempStartTime"](clientId, startTime + ':00'));
8413
 
8414
  case 6:
8415
  case 'end':
8416
+ return _context22.stop();
8417
  }
8418
  }
8419
+ }, _marked22, this);
8420
  }
8421
 
8422
  function handleTicketStartTimeInput(action) {
8423
+ var _action$payload8, clientId, seconds, startTime, startTimeMoment, startTimeInput;
8424
 
8425
+ return regenerator_default.a.wrap(function handleTicketStartTimeInput$(_context23) {
8426
  while (1) {
8427
+ switch (_context23.prev = _context23.next) {
8428
  case 0:
8429
+ _action$payload8 = action.payload, clientId = _action$payload8.clientId, seconds = _action$payload8.seconds;
8430
+ _context23.next = 3;
8431
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
8432
 
8433
  case 3:
8434
+ startTime = _context23.sent;
8435
+ _context23.next = 6;
8436
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, startTime, external_tribe_common_utils_["moment"].TIME_FORMAT, false);
8437
 
8438
  case 6:
8439
+ startTimeMoment = _context23.sent;
8440
+ _context23.next = 9;
8441
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, startTimeMoment);
8442
 
8443
  case 9:
8444
+ startTimeInput = _context23.sent;
8445
+ _context23.next = 12;
8446
+ return Object(effects["e" /* put */])(actions["setTicketTempStartTimeInput"](clientId, startTimeInput));
8447
 
8448
  case 12:
8449
  case 'end':
8450
+ return _context23.stop();
8451
  }
8452
  }
8453
+ }, _marked23, this);
8454
  }
8455
 
8456
+ function handleTicketEndTime(action) {
8457
+ var _action$payload9, clientId, seconds, endTime;
8458
 
8459
+ return regenerator_default.a.wrap(function handleTicketEndTime$(_context24) {
8460
  while (1) {
8461
+ switch (_context24.prev = _context24.next) {
8462
  case 0:
8463
+ _action$payload9 = action.payload, clientId = _action$payload9.clientId, seconds = _action$payload9.seconds;
8464
+ _context24.next = 3;
8465
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
8466
 
8467
  case 3:
8468
+ endTime = _context24.sent;
8469
+ _context24.next = 6;
8470
+ return Object(effects["e" /* put */])(actions["setTicketTempEndTime"](clientId, endTime + ':00'));
8471
 
8472
  case 6:
8473
  case 'end':
8474
+ return _context24.stop();
8475
  }
8476
  }
8477
+ }, _marked24, this);
8478
  }
8479
 
8480
  function handleTicketEndTimeInput(action) {
8481
+ var _action$payload10, clientId, seconds, endTime, endTimeMoment, endTimeInput;
8482
 
8483
+ return regenerator_default.a.wrap(function handleTicketEndTimeInput$(_context25) {
8484
  while (1) {
8485
+ switch (_context25.prev = _context25.next) {
8486
  case 0:
8487
+ _action$payload10 = action.payload, clientId = _action$payload10.clientId, seconds = _action$payload10.seconds;
8488
+ _context25.next = 3;
8489
  return Object(effects["b" /* call */])(external_tribe_common_utils_["time"].fromSeconds, seconds, external_tribe_common_utils_["time"].TIME_FORMAT_HH_MM);
8490
 
8491
  case 3:
8492
+ endTime = _context25.sent;
8493
+ _context25.next = 6;
8494
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toMoment, endTime, external_tribe_common_utils_["moment"].TIME_FORMAT, false);
8495
 
8496
  case 6:
8497
+ endTimeMoment = _context25.sent;
8498
+ _context25.next = 9;
8499
  return Object(effects["b" /* call */])(external_tribe_common_utils_["moment"].toTime, endTimeMoment);
8500
 
8501
  case 9:
8502
+ endTimeInput = _context25.sent;
8503
+ _context25.next = 12;
8504
+ return Object(effects["e" /* put */])(actions["setTicketTempEndTimeInput"](clientId, endTimeInput));
8505
 
8506
  case 12:
8507
  case 'end':
8508
+ return _context25.stop();
8509
  }
8510
  }
8511
+ }, _marked25, this);
8512
  }
8513
 
8514
  function handleTicketMove() {
8515
+ var ticketClientIds, modalClientId;
8516
+ return regenerator_default.a.wrap(function handleTicketMove$(_context26) {
8517
  while (1) {
8518
+ switch (_context26.prev = _context26.next) {
8519
  case 0:
8520
+ _context26.next = 2;
8521
+ return Object(effects["f" /* select */])(getTicketsAllClientIds);
8522
 
8523
  case 2:
8524
+ ticketClientIds = _context26.sent;
8525
+ _context26.next = 5;
8526
+ return Object(effects["f" /* select */])(selectors["a" /* getModalClientId */]);
8527
 
8528
  case 5:
8529
+ modalClientId = _context26.sent;
8530
 
8531
+ if (!ticketClientIds.includes(modalClientId)) {
8532
+ _context26.next = 13;
8533
  break;
8534
  }
8535
 
8536
+ _context26.next = 9;
8537
+ return Object(effects["e" /* put */])(actions["setTicketIsSelected"](modalClientId, false));
8538
 
8539
  case 9:
8540
+ _context26.next = 11;
8541
+ return Object(effects["e" /* put */])(actions["removeTicketBlock"](modalClientId));
8542
 
8543
  case 11:
8544
+ _context26.next = 13;
8545
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [modalClientId]);
8546
 
8547
  case 13:
8548
  case 'end':
8549
+ return _context26.stop();
8550
  }
8551
  }
8552
+ }, _marked26, this);
8553
  }
8554
 
8555
  function handler(action) {
8556
+ return regenerator_default.a.wrap(function handler$(_context27) {
8557
  while (1) {
8558
+ switch (_context27.prev = _context27.next) {
8559
  case 0:
8560
+ _context27.t0 = action.type;
8561
+ _context27.next = _context27.t0 === types["SET_TICKETS_INITIAL_STATE"] ? 3 : _context27.t0 === types["RESET_TICKETS_BLOCK"] ? 6 : _context27.t0 === types["SET_TICKET_INITIAL_STATE"] ? 9 : _context27.t0 === types["FETCH_TICKET"] ? 12 : _context27.t0 === types["CREATE_NEW_TICKET"] ? 15 : _context27.t0 === types["UPDATE_TICKET"] ? 18 : _context27.t0 === types["DELETE_TICKET"] ? 21 : _context27.t0 === types["FETCH_TICKETS_HEADER_IMAGE"] ? 24 : _context27.t0 === types["UPDATE_TICKETS_HEADER_IMAGE"] ? 27 : _context27.t0 === types["DELETE_TICKETS_HEADER_IMAGE"] ? 30 : _context27.t0 === types["SET_TICKET_DETAILS"] ? 33 : _context27.t0 === types["SET_TICKET_TEMP_DETAILS"] ? 36 : _context27.t0 === types["HANDLE_TICKET_START_DATE"] ? 39 : _context27.t0 === types["HANDLE_TICKET_END_DATE"] ? 44 : _context27.t0 === types["HANDLE_TICKET_START_TIME"] ? 49 : _context27.t0 === types["HANDLE_TICKET_END_TIME"] ? 56 : _context27.t0 === move_types["k" /* MOVE_TICKET_SUCCESS */] ? 63 : 66;
8562
  break;
8563
 
8564
  case 3:
8565
+ _context27.next = 5;
8566
+ return Object(effects["b" /* call */])(setTicketsInitialState, action);
8567
 
8568
  case 5:
8569
+ return _context27.abrupt('break', 67);
8570
 
8571
  case 6:
8572
+ _context27.next = 8;
8573
+ return Object(effects["b" /* call */])(resetTicketsBlock);
8574
 
8575
  case 8:
8576
+ return _context27.abrupt('break', 67);
8577
 
8578
  case 9:
8579
+ _context27.next = 11;
8580
+ return Object(effects["b" /* call */])(setTicketInitialState, action);
8581
 
8582
  case 11:
8583
+ return _context27.abrupt('break', 67);
8584
 
8585
  case 12:
8586
+ _context27.next = 14;
8587
+ return Object(effects["b" /* call */])(fetchTicket, action);
8588
 
8589
  case 14:
8590
+ return _context27.abrupt('break', 67);
8591
 
8592
  case 15:
8593
+ _context27.next = 17;
8594
+ return Object(effects["b" /* call */])(createNewTicket, action);
8595
 
8596
  case 17:
8597
+ return _context27.abrupt('break', 67);
8598
 
8599
  case 18:
8600
+ _context27.next = 20;
8601
+ return Object(effects["b" /* call */])(updateTicket, action);
8602
 
8603
  case 20:
8604
+ return _context27.abrupt('break', 67);
8605
 
8606
  case 21:
8607
+ _context27.next = 23;
8608
+ return Object(effects["b" /* call */])(deleteTicket, action);
8609
 
8610
  case 23:
8611
+ return _context27.abrupt('break', 67);
8612
 
8613
  case 24:
8614
+ _context27.next = 26;
8615
+ return Object(effects["b" /* call */])(fetchTicketsHeaderImage, action);
8616
 
8617
  case 26:
8618
+ return _context27.abrupt('break', 67);
8619
 
8620
  case 27:
8621
+ _context27.next = 29;
8622
+ return Object(effects["b" /* call */])(updateTicketsHeaderImage, action);
8623
 
8624
  case 29:
8625
+ return _context27.abrupt('break', 67);
8626
 
8627
  case 30:
8628
+ _context27.next = 32;
8629
+ return Object(effects["b" /* call */])(deleteTicketsHeaderImage);
8630
 
8631
  case 32:
8632
+ return _context27.abrupt('break', 67);
8633
 
8634
  case 33:
8635
+ _context27.next = 35;
8636
+ return Object(effects["b" /* call */])(setTicketDetails, action);
8637
 
8638
  case 35:
8639
+ return _context27.abrupt('break', 67);
8640
 
8641
  case 36:
8642
+ _context27.next = 38;
8643
+ return Object(effects["b" /* call */])(setTicketTempDetails, action);
8644
 
8645
  case 38:
8646
+ return _context27.abrupt('break', 67);
 
8647
 
8648
+ case 39:
8649
+ _context27.next = 41;
8650
+ return Object(effects["b" /* call */])(handleTicketStartDate, action);
8651
 
8652
  case 41:
8653
+ _context27.next = 43;
8654
+ return Object(effects["e" /* put */])(actions["setTicketHasChanges"](action.payload.clientId, true));
8655
 
8656
  case 43:
8657
+ return _context27.abrupt('break', 67);
 
8658
 
8659
+ case 44:
8660
+ _context27.next = 46;
8661
+ return Object(effects["b" /* call */])(handleTicketEndDate, action);
8662
 
8663
  case 46:
8664
+ _context27.next = 48;
8665
+ return Object(effects["e" /* put */])(actions["setTicketHasChanges"](action.payload.clientId, true));
8666
 
8667
  case 48:
8668
+ return _context27.abrupt('break', 67);
 
8669
 
8670
+ case 49:
8671
+ _context27.next = 51;
8672
+ return Object(effects["b" /* call */])(handleTicketStartTime, action);
8673
 
8674
+ case 51:
8675
+ _context27.next = 53;
8676
+ return Object(effects["b" /* call */])(handleTicketStartTimeInput, action);
8677
 
8678
  case 53:
8679
+ _context27.next = 55;
8680
+ return Object(effects["e" /* put */])(actions["setTicketHasChanges"](action.payload.clientId, true));
8681
 
8682
  case 55:
8683
+ return _context27.abrupt('break', 67);
 
8684
 
8685
+ case 56:
8686
+ _context27.next = 58;
8687
+ return Object(effects["b" /* call */])(handleTicketEndTime, action);
8688
 
8689
+ case 58:
8690
+ _context27.next = 60;
8691
+ return Object(effects["b" /* call */])(handleTicketEndTimeInput, action);
8692
 
8693
  case 60:
8694
+ _context27.next = 62;
8695
+ return Object(effects["e" /* put */])(actions["setTicketHasChanges"](action.payload.clientId, true));
8696
 
8697
  case 62:
8698
+ return _context27.abrupt('break', 67);
8699
 
8700
  case 63:
8701
+ _context27.next = 65;
8702
+ return Object(effects["b" /* call */])(handleTicketMove);
8703
+
8704
+ case 65:
8705
+ return _context27.abrupt('break', 67);
8706
+
8707
+ case 66:
8708
+ return _context27.abrupt('break', 67);
8709
 
8710
+ case 67:
8711
  case 'end':
8712
+ return _context27.stop();
8713
  }
8714
  }
8715
+ }, _marked27, this);
8716
  }
8717
 
8718
  function watchers() {
8719
+ return regenerator_default.a.wrap(function watchers$(_context28) {
8720
  while (1) {
8721
+ switch (_context28.prev = _context28.next) {
8722
  case 0:
8723
+ _context28.next = 2;
8724
+ return Object(effects["h" /* takeEvery */])([types["SET_TICKETS_INITIAL_STATE"], types["RESET_TICKETS_BLOCK"], types["SET_TICKET_INITIAL_STATE"], types["FETCH_TICKET"], types["CREATE_NEW_TICKET"], types["UPDATE_TICKET"], types["DELETE_TICKET"], types["FETCH_TICKETS_HEADER_IMAGE"], types["UPDATE_TICKETS_HEADER_IMAGE"], types["DELETE_TICKETS_HEADER_IMAGE"], types["SET_TICKET_DETAILS"], types["SET_TICKET_TEMP_DETAILS"], types["HANDLE_TICKET_START_DATE"], types["HANDLE_TICKET_END_DATE"], types["HANDLE_TICKET_START_TIME"], types["HANDLE_TICKET_END_TIME"], move_types["k" /* MOVE_TICKET_SUCCESS */]], handler);
8725
 
8726
  case 2:
8727
+ _context28.next = 4;
8728
  return Object(effects["d" /* fork */])(handleEventStartDateChanges);
8729
 
8730
  case 4:
8731
  case 'end':
8732
+ return _context28.stop();
8733
  }
8734
  }
8735
+ }, _marked28, this);
8736
  }
8737
  // CONCATENATED MODULE: ./src/modules/data/blocks/ticket/index.js
8738
  /* concated harmony reexport constants */__webpack_require__.d(__webpack_exports__, "b", function() { return constants; });
8739
  /* concated harmony reexport options */__webpack_require__.d(__webpack_exports__, "d", function() { return options_namespaceObject; });
8740
  /* unused concated harmony import utils */
8741
+ /* concated harmony reexport types */__webpack_require__.d(__webpack_exports__, "g", function() { return types; });
8742
+ /* concated harmony reexport actions */__webpack_require__.d(__webpack_exports__, "a", function() { return actions; });
8743
  /* concated harmony reexport selectors */__webpack_require__.d(__webpack_exports__, "f", function() { return selectors_namespaceObject; });
8744
  /* concated harmony reexport sagas */__webpack_require__.d(__webpack_exports__, "e", function() { return watchers; });
8745
  /**
8760
 
8761
 
8762
  /***/ }),
8763
+ /* 8 */
 
 
 
 
 
 
8764
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8765
 
8766
  "use strict";
8767
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return PREFIX_TICKETS_STORE; });
8768
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return RSVP_POST_TYPE; });
8769
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return KEY_RSVP_FOR_EVENT; });
8770
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return KEY_TICKET_SHOW_DESCRIPTION; });
8771
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return KEY_PRICE; });
8772
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return KEY_TICKET_CAPACITY; });
8773
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return KEY_TICKET_START_DATE; });
8774
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return KEY_TICKET_END_DATE; });
8775
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return KEY_TICKET_SHOW_NOT_GOING; });
8776
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return KEY_TICKET_HEADER; });
8777
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return KEY_TICKET_DEFAULT_PROVIDER; });
8778
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return KEY_TICKETS_LIST; });
8779
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return KEY_TICKET_GOING_COUNT; });
8780
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return KEY_TICKET_NOT_GOING_COUNT; });
8781
+ var PREFIX_TICKETS_STORE = '@@MT/TICKETS';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8782
 
8783
+ var RSVP_POST_TYPE = 'tribe_rsvp_tickets';
 
8784
 
 
8785
  /**
8786
+ * @todo: these are expected to change based on BE changes
8787
  */
8788
+ var KEY_RSVP_FOR_EVENT = '_tribe_rsvp_for_event';
8789
+ var KEY_TICKET_SHOW_DESCRIPTION = '_tribe_ticket_show_description';
8790
+ var KEY_PRICE = '_price';
8791
+ var KEY_TICKET_CAPACITY = '_tribe_ticket_capacity';
8792
+ var KEY_TICKET_START_DATE = '_ticket_start_date';
8793
+ var KEY_TICKET_END_DATE = '_ticket_end_date';
8794
+ var KEY_TICKET_SHOW_NOT_GOING = '_tribe_ticket_show_not_going';
8795
+ var KEY_TICKET_HEADER = '_tribe_ticket_header';
8796
+ var KEY_TICKET_DEFAULT_PROVIDER = '_tribe_default_ticket_provider';
8797
+ var KEY_TICKETS_LIST = '_tribe_tickets_list';
8798
 
8799
+ var KEY_TICKET_GOING_COUNT = '_tribe_ticket_going_count';
8800
+ var KEY_TICKET_NOT_GOING_COUNT = '_tribe_ticket_not_going_count';
8801
 
8802
+ /***/ }),
8803
+ /* 9 */
8804
+ /***/ (function(module, exports, __webpack_require__) {
8805
 
8806
+ "use strict";
 
 
 
 
 
 
8807
 
 
 
 
8808
 
8809
+ exports.__esModule = true;
 
 
8810
 
8811
+ var _assign = __webpack_require__(268);
 
 
 
 
 
 
 
 
 
 
 
 
 
8812
 
8813
+ var _assign2 = _interopRequireDefault(_assign);
 
 
8814
 
8815
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 
 
 
 
 
 
 
 
 
 
 
 
 
8816
 
8817
+ exports.default = _assign2.default || function (target) {
8818
+ for (var i = 1; i < arguments.length; i++) {
8819
+ var source = arguments[i];
8820
 
8821
+ for (var key in source) {
8822
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
8823
+ target[key] = source[key];
8824
+ }
8825
+ }
8826
+ }
8827
 
8828
+ return target;
8829
+ };
8830
+
8831
+ /***/ }),
8832
+ /* 10 */
8833
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8834
+
8835
+ "use strict";
8836
+ __webpack_require__.r(__webpack_exports__);
8837
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsInitialState", function() { return setTicketsInitialState; });
8838
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "resetTicketsBlock", function() { return resetTicketsBlock; });
8839
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsHeaderImage", function() { return setTicketsHeaderImage; });
8840
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsIsSelected", function() { return setTicketsIsSelected; });
8841
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsIsSettingsOpen", function() { return setTicketsIsSettingsOpen; });
8842
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsIsSettingsLoading", function() { return setTicketsIsSettingsLoading; });
8843
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "openSettings", function() { return openSettings; });
8844
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "closeSettings", function() { return closeSettings; });
8845
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsProvider", function() { return setTicketsProvider; });
8846
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsSharedCapacity", function() { return setTicketsSharedCapacity; });
8847
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketsTempSharedCapacity", function() { return setTicketsTempSharedCapacity; });
8848
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fetchTicketsHeaderImage", function() { return fetchTicketsHeaderImage; });
8849
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateTicketsHeaderImage", function() { return updateTicketsHeaderImage; });
8850
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deleteTicketsHeaderImage", function() { return deleteTicketsHeaderImage; });
8851
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTitle", function() { return setTicketTitle; });
8852
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketDescription", function() { return setTicketDescription; });
8853
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketPrice", function() { return setTicketPrice; });
8854
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketSku", function() { return setTicketSku; });
8855
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketStartDate", function() { return setTicketStartDate; });
8856
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketStartDateInput", function() { return setTicketStartDateInput; });
8857
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketStartDateMoment", function() { return setTicketStartDateMoment; });
8858
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketEndDate", function() { return setTicketEndDate; });
8859
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketEndDateInput", function() { return setTicketEndDateInput; });
8860
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketEndDateMoment", function() { return setTicketEndDateMoment; });
8861
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketStartTime", function() { return setTicketStartTime; });
8862
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketEndTime", function() { return setTicketEndTime; });
8863
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketStartTimeInput", function() { return setTicketStartTimeInput; });
8864
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketEndTimeInput", function() { return setTicketEndTimeInput; });
8865
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketCapacityType", function() { return setTicketCapacityType; });
8866
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketCapacity", function() { return setTicketCapacity; });
8867
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempTitle", function() { return setTicketTempTitle; });
8868
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempDescription", function() { return setTicketTempDescription; });
8869
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempPrice", function() { return setTicketTempPrice; });
8870
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempSku", function() { return setTicketTempSku; });
8871
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempStartDate", function() { return setTicketTempStartDate; });
8872
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempStartDateInput", function() { return setTicketTempStartDateInput; });
8873
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempStartDateMoment", function() { return setTicketTempStartDateMoment; });
8874
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempEndDate", function() { return setTicketTempEndDate; });
8875
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempEndDateInput", function() { return setTicketTempEndDateInput; });
8876
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempEndDateMoment", function() { return setTicketTempEndDateMoment; });
8877
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempStartTime", function() { return setTicketTempStartTime; });
8878
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempEndTime", function() { return setTicketTempEndTime; });
8879
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempStartTimeInput", function() { return setTicketTempStartTimeInput; });
8880
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempEndTimeInput", function() { return setTicketTempEndTimeInput; });
8881
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempCapacityType", function() { return setTicketTempCapacityType; });
8882
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempCapacity", function() { return setTicketTempCapacity; });
8883
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerTicketBlock", function() { return registerTicketBlock; });
8884
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeTicketBlock", function() { return removeTicketBlock; });
8885
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeTicketBlocks", function() { return removeTicketBlocks; });
8886
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketSold", function() { return setTicketSold; });
8887
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketAvailable", function() { return setTicketAvailable; });
8888
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketId", function() { return setTicketId; });
8889
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketCurrencySymbol", function() { return setTicketCurrencySymbol; });
8890
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketCurrencyPosition", function() { return setTicketCurrencyPosition; });
8891
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketProvider", function() { return setTicketProvider; });
8892
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketIsLoading", function() { return setTicketIsLoading; });
8893
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketHasBeenCreated", function() { return setTicketHasBeenCreated; });
8894
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketHasChanges", function() { return setTicketHasChanges; });
8895
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketIsSelected", function() { return setTicketIsSelected; });
8896
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketDetails", function() { return setTicketDetails; });
8897
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketTempDetails", function() { return setTicketTempDetails; });
8898
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleTicketStartDate", function() { return handleTicketStartDate; });
8899
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleTicketEndDate", function() { return handleTicketEndDate; });
8900
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleTicketStartTime", function() { return handleTicketStartTime; });
8901
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleTicketEndTime", function() { return handleTicketEndTime; });
8902
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fetchTicket", function() { return fetchTicket; });
8903
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createNewTicket", function() { return createNewTicket; });
8904
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateTicket", function() { return updateTicket; });
8905
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deleteTicket", function() { return deleteTicket; });
8906
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setTicketInitialState", function() { return setTicketInitialState; });
8907
+ /* harmony import */ var _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
8908
  /**
8909
  * Internal dependencies
8910
  */
8911
 
8912
 
8913
  //
8914
+ // ─── TICKETS ACTIONS ────────────────────────────────────────────────────────────
8915
  //
8916
 
8917
+ var setTicketsInitialState = function setTicketsInitialState(props) {
8918
  return {
8919
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_INITIAL_STATE,
8920
+ payload: props
8921
+ };
8922
+ };
8923
+
8924
+ var resetTicketsBlock = function resetTicketsBlock() {
8925
+ return {
8926
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].RESET_TICKETS_BLOCK
8927
+ };
8928
+ };
8929
+
8930
+ var setTicketsHeaderImage = function setTicketsHeaderImage(payload) {
8931
+ return {
8932
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_HEADER_IMAGE,
8933
+ payload: payload
8934
  };
8935
  };
8936
 
8937
+ var setTicketsIsSelected = function setTicketsIsSelected(isSelected) {
8938
  return {
8939
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_IS_SELECTED,
8940
  payload: {
8941
+ isSelected: isSelected
8942
  }
8943
  };
8944
  };
8945
 
8946
+ var setTicketsIsSettingsOpen = function setTicketsIsSettingsOpen(isSettingsOpen) {
8947
  return {
8948
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_IS_SETTINGS_OPEN,
8949
  payload: {
8950
+ isSettingsOpen: isSettingsOpen
8951
  }
8952
  };
8953
  };
8954
 
8955
+ var setTicketsIsSettingsLoading = function setTicketsIsSettingsLoading(isSettingsLoading) {
8956
  return {
8957
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_IS_SETTINGS_LOADING,
8958
  payload: {
8959
+ isSettingsLoading: isSettingsLoading
8960
  }
8961
  };
8962
  };
8963
 
8964
+ var openSettings = function openSettings() {
8965
+ return setTicketsIsSettingsOpen(true);
8966
+ };
8967
+ var closeSettings = function closeSettings() {
8968
+ return setTicketsIsSettingsOpen(false);
8969
+ };
8970
+
8971
+ var setTicketsProvider = function setTicketsProvider(provider) {
8972
  return {
8973
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_PROVIDER,
8974
  payload: {
8975
+ provider: provider
8976
  }
8977
  };
8978
  };
8979
 
8980
+ var setTicketsSharedCapacity = function setTicketsSharedCapacity(sharedCapacity) {
8981
  return {
8982
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_SHARED_CAPACITY,
8983
  payload: {
8984
+ sharedCapacity: sharedCapacity
8985
  }
8986
  };
8987
  };
8988
 
8989
+ var setTicketsTempSharedCapacity = function setTicketsTempSharedCapacity(tempSharedCapacity) {
8990
  return {
8991
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKETS_TEMP_SHARED_CAPACITY,
8992
  payload: {
8993
+ tempSharedCapacity: tempSharedCapacity
8994
  }
8995
  };
8996
  };
8997
 
8998
+ //
8999
+ // ─── HEADER IMAGE SAGA ACTIONS ──────────────────────────────────────────────────
9000
+ //
9001
+
9002
+ var fetchTicketsHeaderImage = function fetchTicketsHeaderImage(id) {
9003
  return {
9004
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].FETCH_TICKETS_HEADER_IMAGE,
9005
+ payload: {
9006
+ id: id
9007
+ }
9008
  };
9009
  };
9010
 
9011
+ var updateTicketsHeaderImage = function updateTicketsHeaderImage(image) {
9012
  return {
9013
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].UPDATE_TICKETS_HEADER_IMAGE,
9014
+ payload: {
9015
+ image: image
9016
+ }
9017
  };
9018
  };
9019
 
9020
+ var deleteTicketsHeaderImage = function deleteTicketsHeaderImage() {
9021
  return {
9022
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].DELETE_TICKETS_HEADER_IMAGE
 
9023
  };
9024
  };
9025
 
9026
  //
9027
+ // ─── TICKET DETAILS ACTIONS ─────────────────────────────────────────────────────
9028
  //
9029
 
9030
+ var setTicketTitle = function setTicketTitle(clientId, title) {
9031
  return {
9032
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TITLE,
9033
  payload: {
9034
+ clientId: clientId,
9035
  title: title
9036
  }
9037
  };
9038
  };
9039
 
9040
+ var setTicketDescription = function setTicketDescription(clientId, description) {
9041
  return {
9042
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_DESCRIPTION,
9043
  payload: {
9044
+ clientId: clientId,
9045
  description: description
9046
  }
9047
  };
9048
  };
9049
 
9050
+ var setTicketPrice = function setTicketPrice(clientId, price) {
9051
  return {
9052
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_PRICE,
9053
  payload: {
9054
+ clientId: clientId,
9055
+ price: price
9056
  }
9057
  };
9058
  };
9059
 
9060
+ var setTicketSku = function setTicketSku(clientId, sku) {
9061
  return {
9062
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_SKU,
9063
  payload: {
9064
+ clientId: clientId,
9065
+ sku: sku
9066
  }
9067
  };
9068
  };
9069
 
9070
+ var setTicketStartDate = function setTicketStartDate(clientId, startDate) {
9071
  return {
9072
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_START_DATE,
9073
  payload: {
9074
+ clientId: clientId,
9075
  startDate: startDate
9076
  }
9077
  };
9078
  };
9079
 
9080
+ var setTicketStartDateInput = function setTicketStartDateInput(clientId, startDateInput) {
9081
  return {
9082
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_START_DATE_INPUT,
9083
  payload: {
9084
+ clientId: clientId,
9085
  startDateInput: startDateInput
9086
  }
9087
  };
9088
  };
9089
 
9090
+ var setTicketStartDateMoment = function setTicketStartDateMoment(clientId, startDateMoment) {
9091
  return {
9092
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_START_DATE_MOMENT,
9093
  payload: {
9094
+ clientId: clientId,
9095
  startDateMoment: startDateMoment
9096
  }
9097
  };
9098
  };
9099
 
9100
+ var setTicketEndDate = function setTicketEndDate(clientId, endDate) {
9101
  return {
9102
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_END_DATE,
9103
  payload: {
9104
+ clientId: clientId,
9105
  endDate: endDate
9106
  }
9107
  };
9108
  };
9109
 
9110
+ var setTicketEndDateInput = function setTicketEndDateInput(clientId, endDateInput) {
9111
  return {
9112
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_END_DATE_INPUT,
9113
  payload: {
9114
+ clientId: clientId,
9115
  endDateInput: endDateInput
9116
  }
9117
  };
9118
  };
9119
 
9120
+ var setTicketEndDateMoment = function setTicketEndDateMoment(clientId, endDateMoment) {
9121
  return {
9122
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_END_DATE_MOMENT,
9123
  payload: {
9124
+ clientId: clientId,
9125
  endDateMoment: endDateMoment
9126
  }
9127
  };
9128
  };
9129
 
9130
+ var setTicketStartTime = function setTicketStartTime(clientId, startTime) {
9131
  return {
9132
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_START_TIME,
9133
  payload: {
9134
+ clientId: clientId,
9135
  startTime: startTime
9136
  }
9137
  };
9138
  };
9139
 
9140
+ var setTicketEndTime = function setTicketEndTime(clientId, endTime) {
9141
  return {
9142
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_END_TIME,
9143
  payload: {
9144
+ clientId: clientId,
9145
  endTime: endTime
9146
  }
9147
  };
9148
  };
9149
 
9150
+ var setTicketStartTimeInput = function setTicketStartTimeInput(clientId, startTimeInput) {
9151
  return {
9152
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_START_TIME_INPUT,
9153
  payload: {
9154
+ clientId: clientId,
9155
  startTimeInput: startTimeInput
9156
  }
9157
  };
9158
  };
9159
 
9160
+ var setTicketEndTimeInput = function setTicketEndTimeInput(clientId, endTimeInput) {
9161
  return {
9162
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_END_TIME_INPUT,
9163
  payload: {
9164
+ clientId: clientId,
9165
  endTimeInput: endTimeInput
9166
  }
9167
  };
9168
  };
9169
 
9170
+ var setTicketCapacityType = function setTicketCapacityType(clientId, capacityType) {
9171
+ return {
9172
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_CAPACITY_TYPE,
9173
+ payload: {
9174
+ clientId: clientId,
9175
+ capacityType: capacityType
9176
+ }
9177
+ };
9178
+ };
9179
+
9180
+ var setTicketCapacity = function setTicketCapacity(clientId, capacity) {
9181
+ return {
9182
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_CAPACITY,
9183
+ payload: {
9184
+ clientId: clientId,
9185
+ capacity: capacity
9186
+ }
9187
+ };
9188
+ };
9189
+
9190
  //
9191
+ // ─── TICKET TEMP DETAILS ACTIONS ────────────────────────────────────────────────
9192
  //
9193
 
9194
+ var setTicketTempTitle = function setTicketTempTitle(clientId, title) {
9195
  return {
9196
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_TITLE,
9197
  payload: {
9198
+ clientId: clientId,
9199
  title: title
9200
  }
9201
  };
9202
  };
9203
 
9204
+ var setTicketTempDescription = function setTicketTempDescription(clientId, description) {
9205
  return {
9206
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_DESCRIPTION,
9207
  payload: {
9208
+ clientId: clientId,
9209
  description: description
9210
  }
9211
  };
9212
  };
9213
 
9214
+ var setTicketTempPrice = function setTicketTempPrice(clientId, price) {
9215
  return {
9216
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_PRICE,
9217
  payload: {
9218
+ clientId: clientId,
9219
+ price: price
9220
  }
9221
  };
9222
  };
9223
 
9224
+ var setTicketTempSku = function setTicketTempSku(clientId, sku) {
9225
  return {
9226
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_SKU,
9227
  payload: {
9228
+ clientId: clientId,
9229
+ sku: sku
9230
  }
9231
  };
9232
  };
9233
 
9234
+ var setTicketTempStartDate = function setTicketTempStartDate(clientId, startDate) {
9235
  return {
9236
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_START_DATE,
9237
  payload: {
9238
+ clientId: clientId,
9239
  startDate: startDate
9240
  }
9241
  };
9242
  };
9243
 
9244
+ var setTicketTempStartDateInput = function setTicketTempStartDateInput(clientId, startDateInput) {
9245
  return {
9246
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_START_DATE_INPUT,
9247
  payload: {
9248
+ clientId: clientId,
9249
  startDateInput: startDateInput
9250
  }
9251
  };
9252
  };
9253
 
9254
+ var setTicketTempStartDateMoment = function setTicketTempStartDateMoment(clientId, startDateMoment) {
9255
  return {
9256
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_START_DATE_MOMENT,
9257
  payload: {
9258
+ clientId: clientId,
9259
  startDateMoment: startDateMoment
9260
  }
9261
  };
9262
  };
9263
 
9264
+ var setTicketTempEndDate = function setTicketTempEndDate(clientId, endDate) {
9265
  return {
9266
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_END_DATE,
9267
  payload: {
9268
+ clientId: clientId,
9269
  endDate: endDate
9270
  }
9271
  };
9272
  };
9273
 
9274
+ var setTicketTempEndDateInput = function setTicketTempEndDateInput(clientId, endDateInput) {
9275
  return {
9276
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_END_DATE_INPUT,
9277
  payload: {
9278
+ clientId: clientId,
9279
  endDateInput: endDateInput
9280
  }
9281
  };
9282
  };
9283
 
9284
+ var setTicketTempEndDateMoment = function setTicketTempEndDateMoment(clientId, endDateMoment) {
9285
  return {
9286
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_END_DATE_MOMENT,
9287
  payload: {
9288
+ clientId: clientId,
9289
  endDateMoment: endDateMoment
9290
  }
9291
  };
9292
  };
9293
 
9294
+ var setTicketTempStartTime = function setTicketTempStartTime(clientId, startTime) {
9295
  return {
9296
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_START_TIME,
9297
  payload: {
9298
+ clientId: clientId,
9299
  startTime: startTime
9300
  }
9301
  };
9302
  };
9303
 
9304
+ var setTicketTempEndTime = function setTicketTempEndTime(clientId, endTime) {
9305
  return {
9306
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_END_TIME,
9307
  payload: {
9308
+ clientId: clientId,
9309
  endTime: endTime
9310
  }
9311
  };
9312
  };
9313
 
9314
+ var setTicketTempStartTimeInput = function setTicketTempStartTimeInput(clientId, startTimeInput) {
9315
  return {
9316
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_START_TIME_INPUT,
9317
  payload: {
9318
+ clientId: clientId,
9319
  startTimeInput: startTimeInput
9320
  }
9321
  };
9322
  };
9323
 
9324
+ var setTicketTempEndTimeInput = function setTicketTempEndTimeInput(clientId, endTimeInput) {
9325
  return {
9326
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_END_TIME_INPUT,
9327
  payload: {
9328
+ clientId: clientId,
9329
  endTimeInput: endTimeInput
9330
  }
9331
  };
9332
  };
9333
 
9334
+ var setTicketTempCapacityType = function setTicketTempCapacityType(clientId, capacityType) {
9335
+ return {
9336
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_CAPACITY_TYPE,
9337
+ payload: {
9338
+ clientId: clientId,
9339
+ capacityType: capacityType
9340
+ }
9341
+ };
9342
+ };
9343
+
9344
+ var setTicketTempCapacity = function setTicketTempCapacity(clientId, capacity) {
9345
+ return {
9346
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_CAPACITY,
9347
+ payload: {
9348
+ clientId: clientId,
9349
+ capacity: capacity
9350
+ }
9351
+ };
9352
+ };
9353
+
9354
  //
9355
+ // ─── TICKET ACTIONS ─────────────────────────────────────────────────────────────
9356
  //
9357
 
9358
+ var registerTicketBlock = function registerTicketBlock(clientId) {
9359
  return {
9360
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].REGISTER_TICKET_BLOCK,
9361
+ payload: {
9362
+ clientId: clientId
9363
+ }
9364
  };
9365
  };
9366
 
9367
+ var removeTicketBlock = function removeTicketBlock(clientId) {
9368
  return {
9369
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].REMOVE_TICKET_BLOCK,
9370
+ payload: {
9371
+ clientId: clientId
9372
+ }
9373
  };
9374
  };
9375
 
9376
+ var removeTicketBlocks = function removeTicketBlocks() {
9377
  return {
9378
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].REMOVE_TICKET_BLOCKS
9379
  };
9380
  };
9381
 
9382
+ var setTicketSold = function setTicketSold(clientId, sold) {
9383
  return {
9384
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_SOLD,
9385
+ payload: {
9386
+ clientId: clientId,
9387
+ sold: sold
9388
+ }
9389
  };
9390
  };
9391
 
9392
+ var setTicketAvailable = function setTicketAvailable(clientId, available) {
9393
  return {
9394
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_AVAILABLE,
9395
+ payload: {
9396
+ clientId: clientId,
9397
+ available: available
9398
+ }
9399
  };
9400
  };
9401
 
9402
+ var setTicketId = function setTicketId(clientId, ticketId) {
9403
  return {
9404
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_ID,
9405
  payload: {
9406
+ clientId: clientId,
9407
+ ticketId: ticketId
9408
  }
9409
  };
9410
  };
9411
 
9412
+ var setTicketCurrencySymbol = function setTicketCurrencySymbol(clientId, currencySymbol) {
9413
  return {
9414
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_CURRENCY_SYMBOL,
9415
  payload: {
9416
+ clientId: clientId,
9417
+ currencySymbol: currencySymbol
9418
  }
9419
  };
9420
  };
 
 
9421
 
9422
+ var setTicketCurrencyPosition = function setTicketCurrencyPosition(clientId, currencyPosition) {
9423
+ return {
9424
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_CURRENCY_POSITION,
9425
+ payload: {
9426
+ clientId: clientId,
9427
+ currencyPosition: currencyPosition
9428
+ }
9429
+ };
9430
+ };
9431
 
9432
+ var setTicketProvider = function setTicketProvider(clientId, provider) {
9433
+ return {
9434
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_PROVIDER,
9435
+ payload: {
9436
+ clientId: clientId,
9437
+ provider: provider
9438
+ }
9439
+ };
9440
+ };
9441
 
9442
+ var setTicketIsLoading = function setTicketIsLoading(clientId, isLoading) {
9443
+ return {
9444
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_IS_LOADING,
9445
+ payload: {
9446
+ clientId: clientId,
9447
+ isLoading: isLoading
9448
+ }
9449
+ };
9450
+ };
9451
 
9452
+ var setTicketHasBeenCreated = function setTicketHasBeenCreated(clientId, hasBeenCreated) {
9453
+ return {
9454
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_HAS_BEEN_CREATED,
9455
+ payload: {
9456
+ clientId: clientId,
9457
+ hasBeenCreated: hasBeenCreated
9458
+ }
9459
+ };
9460
  };
9461
 
9462
+ var setTicketHasChanges = function setTicketHasChanges(clientId, hasChanges) {
9463
+ return {
9464
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_HAS_CHANGES,
9465
+ payload: {
9466
+ clientId: clientId,
9467
+ hasChanges: hasChanges
9468
+ }
9469
+ };
9470
+ };
9471
 
9472
+ var setTicketIsSelected = function setTicketIsSelected(clientId, isSelected) {
9473
+ return {
9474
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_IS_SELECTED,
9475
+ payload: {
9476
+ clientId: clientId,
9477
+ isSelected: isSelected
9478
+ }
9479
+ };
9480
+ };
9481
 
9482
+ //
9483
+ // ─── TICKET SAGA ACTIONS ────────────────────────────────────────────────────────
9484
+ //
9485
 
9486
+ var setTicketDetails = function setTicketDetails(clientId, details) {
9487
+ return {
9488
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_DETAILS,
9489
+ payload: {
9490
+ clientId: clientId,
9491
+ details: details
9492
+ }
9493
+ };
9494
+ };
9495
 
9496
+ var setTicketTempDetails = function setTicketTempDetails(clientId, tempDetails) {
9497
+ return {
9498
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_TEMP_DETAILS,
9499
+ payload: {
9500
+ clientId: clientId,
9501
+ tempDetails: tempDetails
9502
+ }
9503
+ };
9504
+ };
9505
 
9506
+ var handleTicketStartDate = function handleTicketStartDate(clientId, date, dayPickerInput) {
9507
+ return {
9508
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].HANDLE_TICKET_START_DATE,
9509
+ payload: {
9510
+ clientId: clientId,
9511
+ date: date,
9512
+ dayPickerInput: dayPickerInput
9513
+ }
9514
+ };
9515
+ };
9516
 
9517
+ var handleTicketEndDate = function handleTicketEndDate(clientId, date, dayPickerInput) {
9518
+ return {
9519
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].HANDLE_TICKET_END_DATE,
9520
+ payload: {
9521
+ clientId: clientId,
9522
+ date: date,
9523
+ dayPickerInput: dayPickerInput
9524
+ }
9525
+ };
9526
+ };
9527
 
9528
+ var handleTicketStartTime = function handleTicketStartTime(clientId, seconds) {
9529
+ return {
9530
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].HANDLE_TICKET_START_TIME,
9531
+ payload: {
9532
+ clientId: clientId,
9533
+ seconds: seconds
9534
+ }
9535
+ };
9536
+ };
9537
 
9538
+ var handleTicketEndTime = function handleTicketEndTime(clientId, seconds) {
9539
+ return {
9540
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].HANDLE_TICKET_END_TIME,
9541
+ payload: {
9542
+ clientId: clientId,
9543
+ seconds: seconds
9544
+ }
9545
+ };
9546
+ };
9547
 
9548
+ var fetchTicket = function fetchTicket(clientId, ticketId) {
9549
+ return {
9550
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].FETCH_TICKET,
9551
+ payload: {
9552
+ clientId: clientId,
9553
+ ticketId: ticketId
9554
+ }
9555
+ };
9556
+ };
9557
 
9558
+ var createNewTicket = function createNewTicket(clientId) {
9559
+ return {
9560
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].CREATE_NEW_TICKET,
9561
+ payload: {
9562
+ clientId: clientId
9563
+ }
9564
+ };
9565
+ };
9566
 
9567
+ var updateTicket = function updateTicket(clientId) {
9568
+ return {
9569
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].UPDATE_TICKET,
9570
+ payload: {
9571
+ clientId: clientId
9572
+ }
9573
+ };
9574
+ };
9575
 
9576
+ var deleteTicket = function deleteTicket(clientId) {
9577
+ return {
9578
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].DELETE_TICKET,
9579
+ payload: {
9580
+ clientId: clientId
9581
+ }
9582
+ };
9583
+ };
9584
 
9585
+ var setTicketInitialState = function setTicketInitialState(props) {
9586
+ return {
9587
+ type: _moderntribe_tickets_data_blocks_ticket__WEBPACK_IMPORTED_MODULE_0__[/* types */ "g"].SET_TICKET_INITIAL_STATE,
9588
+ payload: props
9589
+ };
9590
+ };
 
 
9591
 
9592
+ /***/ }),
9593
+ /* 11 */
9594
+ /***/ (function(module, exports, __webpack_require__) {
9595
 
9596
+ module.exports = __webpack_require__(326);
 
 
9597
 
 
 
 
9598
 
9599
+ /***/ }),
9600
+ /* 12 */
9601
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9602
 
9603
+ "use strict";
9604
+ var types_namespaceObject = {};
9605
+ __webpack_require__.r(types_namespaceObject);
9606
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_ID", function() { return SET_RSVP_ID; });
9607
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_SETTINGS_OPEN", function() { return SET_RSVP_SETTINGS_OPEN; });
9608
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_HAS_CHANGES", function() { return SET_RSVP_HAS_CHANGES; });
9609
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_IS_LOADING", function() { return SET_RSVP_IS_LOADING; });
9610
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_IS_SETTINGS_LOADING", function() { return SET_RSVP_IS_SETTINGS_LOADING; });
9611
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_GOING_COUNT", function() { return SET_RSVP_GOING_COUNT; });
9612
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_NOT_GOING_COUNT", function() { return SET_RSVP_NOT_GOING_COUNT; });
9613
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_DETAILS", function() { return SET_RSVP_DETAILS; });
9614
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_DETAILS", function() { return SET_RSVP_TEMP_DETAILS; });
9615
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_HEADER_IMAGE", function() { return SET_RSVP_HEADER_IMAGE; });
9616
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TITLE", function() { return SET_RSVP_TITLE; });
9617
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_DESCRIPTION", function() { return SET_RSVP_DESCRIPTION; });
9618
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_CAPACITY", function() { return SET_RSVP_CAPACITY; });
9619
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_NOT_GOING_RESPONSES", function() { return SET_RSVP_NOT_GOING_RESPONSES; });
9620
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE", function() { return SET_RSVP_START_DATE; });
9621
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE_INPUT", function() { return SET_RSVP_START_DATE_INPUT; });
9622
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_DATE_MOMENT", function() { return SET_RSVP_START_DATE_MOMENT; });
9623
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE", function() { return SET_RSVP_END_DATE; });
9624
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE_INPUT", function() { return SET_RSVP_END_DATE_INPUT; });
9625
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_DATE_MOMENT", function() { return SET_RSVP_END_DATE_MOMENT; });
9626
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_TIME", function() { return SET_RSVP_START_TIME; });
9627
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_TIME", function() { return SET_RSVP_END_TIME; });
9628
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_START_TIME_INPUT", function() { return SET_RSVP_START_TIME_INPUT; });
9629
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_END_TIME_INPUT", function() { return SET_RSVP_END_TIME_INPUT; });
9630
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_TITLE", function() { return SET_RSVP_TEMP_TITLE; });
9631
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_DESCRIPTION", function() { return SET_RSVP_TEMP_DESCRIPTION; });
9632
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_CAPACITY", function() { return SET_RSVP_TEMP_CAPACITY; });
9633
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_NOT_GOING_RESPONSES", function() { return SET_RSVP_TEMP_NOT_GOING_RESPONSES; });
9634
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE", function() { return SET_RSVP_TEMP_START_DATE; });
9635
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE_INPUT", function() { return SET_RSVP_TEMP_START_DATE_INPUT; });
9636
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_DATE_MOMENT", function() { return SET_RSVP_TEMP_START_DATE_MOMENT; });
9637
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE", function() { return SET_RSVP_TEMP_END_DATE; });
9638
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE_INPUT", function() { return SET_RSVP_TEMP_END_DATE_INPUT; });
9639
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_DATE_MOMENT", function() { return SET_RSVP_TEMP_END_DATE_MOMENT; });
9640
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_TIME", function() { return SET_RSVP_TEMP_START_TIME; });
9641
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_TIME", function() { return SET_RSVP_TEMP_END_TIME; });
9642
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_START_TIME_INPUT", function() { return SET_RSVP_TEMP_START_TIME_INPUT; });
9643
+ __webpack_require__.d(types_namespaceObject, "SET_RSVP_TEMP_END_TIME_INPUT", function() { return SET_RSVP_TEMP_END_TIME_INPUT; });
9644
+ __webpack_require__.d(types_namespaceObject, "CREATE_RSVP", function() { return CREATE_RSVP; });
9645
+ __webpack_require__.d(types_namespaceObject, "INITIALIZE_RSVP", function() { return INITIALIZE_RSVP; });
9646
+ __webpack_require__.d(types_namespaceObject, "DELETE_RSVP", function() { return DELETE_RSVP; });
9647
+ __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_START_DATE", function() { return HANDLE_RSVP_START_DATE; });
9648
+ __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_END_DATE", function() { return HANDLE_RSVP_END_DATE; });
9649
+ __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_START_TIME", function() { return HANDLE_RSVP_START_TIME; });
9650
+ __webpack_require__.d(types_namespaceObject, "HANDLE_RSVP_END_TIME", function() { return HANDLE_RSVP_END_TIME; });
9651
+ __webpack_require__.d(types_namespaceObject, "FETCH_RSVP_HEADER_IMAGE", function() { return FETCH_RSVP_HEADER_IMAGE; });
9652
+ __webpack_require__.d(types_namespaceObject, "UPDATE_RSVP_HEADER_IMAGE", function() { return UPDATE_RSVP_HEADER_IMAGE; });
9653
+ __webpack_require__.d(types_namespaceObject, "DELETE_RSVP_HEADER_IMAGE", function() { return DELETE_RSVP_HEADER_IMAGE; });
9654
+ var selectors_namespaceObject = {};
9655
+ __webpack_require__.r(selectors_namespaceObject);
9656
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPBlock", function() { return getRSVPBlock; });
9657
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPId", function() { return getRSVPId; });
9658
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPCreated", function() { return getRSVPCreated; });
9659
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPSettingsOpen", function() { return getRSVPSettingsOpen; });
9660
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPHasChanges", function() { return getRSVPHasChanges; });
9661
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPIsLoading", function() { return getRSVPIsLoading; });
9662
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPIsSettingsLoading", function() { return getRSVPIsSettingsLoading; });
9663
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPGoingCount", function() { return getRSVPGoingCount; });
9664
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPNotGoingCount", function() { return getRSVPNotGoingCount; });
9665
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPDetails", function() { return getRSVPDetails; });
9666
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTitle", function() { return getRSVPTitle; });
9667
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPDescription", function() { return getRSVPDescription; });
9668
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPCapacity", function() { return getRSVPCapacity; });
9669
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPAvailable", function() { return getRSVPAvailable; });
9670
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPNotGoingResponses", function() { return getRSVPNotGoingResponses; });
9671
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDate", function() { return getRSVPStartDate; });
9672
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDateInput", function() { return getRSVPStartDateInput; });
9673
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartDateMoment", function() { return getRSVPStartDateMoment; });
9674
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTime", function() { return getRSVPStartTime; });
9675
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTimeNoSeconds", function() { return getRSVPStartTimeNoSeconds; });
9676
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDate", function() { return getRSVPEndDate; });
9677
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDateInput", function() { return getRSVPEndDateInput; });
9678
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndDateMoment", function() { return getRSVPEndDateMoment; });
9679
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTime", function() { return getRSVPEndTime; });
9680
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTimeNoSeconds", function() { return getRSVPEndTimeNoSeconds; });
9681
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPStartTimeInput", function() { return getRSVPStartTimeInput; });
9682
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPEndTimeInput", function() { return getRSVPEndTimeInput; });
9683
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempDetails", function() { return getRSVPTempDetails; });
9684
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempTitle", function() { return getRSVPTempTitle; });
9685
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempDescription", function() { return getRSVPTempDescription; });
9686
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempCapacity", function() { return getRSVPTempCapacity; });
9687
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempNotGoingResponses", function() { return getRSVPTempNotGoingResponses; });
9688
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDate", function() { return getRSVPTempStartDate; });
9689
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDateInput", function() { return getRSVPTempStartDateInput; });
9690
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartDateMoment", function() { return getRSVPTempStartDateMoment; });
9691
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTime", function() { return getRSVPTempStartTime; });
9692
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTimeNoSeconds", function() { return getRSVPTempStartTimeNoSeconds; });
9693
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDate", function() { return getRSVPTempEndDate; });
9694
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDateInput", function() { return getRSVPTempEndDateInput; });
9695
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndDateMoment", function() { return getRSVPTempEndDateMoment; });
9696
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTime", function() { return getRSVPTempEndTime; });
9697
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTimeNoSeconds", function() { return getRSVPTempEndTimeNoSeconds; });
9698
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempStartTimeInput", function() { return getRSVPTempStartTimeInput; });
9699
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPTempEndTimeInput", function() { return getRSVPTempEndTimeInput; });
9700
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImage", function() { return getRSVPHeaderImage; });
9701
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageId", function() { return getRSVPHeaderImageId; });
9702
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageSrc", function() { return getRSVPHeaderImageSrc; });
9703
+ __webpack_require__.d(selectors_namespaceObject, "getRSVPHeaderImageAlt", function() { return getRSVPHeaderImageAlt; });
9704
+ var thunks_namespaceObject = {};
9705
+ __webpack_require__.r(thunks_namespaceObject);
9706
+ __webpack_require__.d(thunks_namespaceObject, "createRSVP", function() { return createRSVP; });
9707
+ __webpack_require__.d(thunks_namespaceObject, "updateRSVP", function() { return updateRSVP; });
9708
+ __webpack_require__.d(thunks_namespaceObject, "deleteRSVP", function() { return thunks_deleteRSVP; });
9709
+ __webpack_require__.d(thunks_namespaceObject, "getRSVP", function() { return thunks_getRSVP; });
9710
+
9711
+ // EXTERNAL MODULE: ./src/modules/data/utils.js
9712
+ var utils = __webpack_require__(8);
9713
+
9714
+ // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/types.js
9715
+ /**
9716
+ * Internal dependencies
9717
+ */
9718
+
9719
+
9720
+ //
9721
+ // ─── RSVP TYPES ─────────────────────────────────────────────────────────────────
9722
+ //
9723
+
9724
+ var SET_RSVP_ID = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_ID';
9725
+ var SET_RSVP_SETTINGS_OPEN = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_SETTINGS_OPEN';
9726
+ var SET_RSVP_HAS_CHANGES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_HAS_CHANGES';
9727
+ var SET_RSVP_IS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_IS_LOADING';
9728
+ var SET_RSVP_IS_SETTINGS_LOADING = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_IS_SETTINGS_LOADING';
9729
+ var SET_RSVP_GOING_COUNT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_GOING_COUNT';
9730
+ var SET_RSVP_NOT_GOING_COUNT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_NOT_GOING_COUNT';
9731
+
9732
+ var SET_RSVP_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_DETAILS';
9733
+ var SET_RSVP_TEMP_DETAILS = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_DETAILS';
9734
+ var SET_RSVP_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_HEADER_IMAGE';
9735
+
9736
+ //
9737
+ // ─── RSVP DETAILS TYPES ─────────────────────────────────────────────────────────
9738
+ //
9739
+
9740
+ var SET_RSVP_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TITLE';
9741
+ var SET_RSVP_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_DESCRIPTION';
9742
+ var SET_RSVP_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_CAPACITY';
9743
+ var SET_RSVP_NOT_GOING_RESPONSES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_NOT_GOING_RESPONSES';
9744
+ var SET_RSVP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE';
9745
+ var SET_RSVP_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE_INPUT';
9746
+ var SET_RSVP_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_DATE_MOMENT';
9747
+ var SET_RSVP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE';
9748
+ var SET_RSVP_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE_INPUT';
9749
+ var SET_RSVP_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_DATE_MOMENT';
9750
+ var SET_RSVP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_TIME';
9751
+ var SET_RSVP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_TIME';
9752
+ var SET_RSVP_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_START_TIME_INPUT';
9753
+ var SET_RSVP_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_END_TIME_INPUT';
9754
+
9755
+ //
9756
+ // ─── RSVP TEMP DETAILS TYPES ────────────────────────────────────────────────────
9757
+ //
9758
+
9759
+ var SET_RSVP_TEMP_TITLE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_TITLE';
9760
+ var SET_RSVP_TEMP_DESCRIPTION = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_DESCRIPTION';
9761
+ var SET_RSVP_TEMP_CAPACITY = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_CAPACITY';
9762
+ var SET_RSVP_TEMP_NOT_GOING_RESPONSES = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_NOT_GOING_RESPONSES';
9763
+ var SET_RSVP_TEMP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE';
9764
+ var SET_RSVP_TEMP_START_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE_INPUT';
9765
+ var SET_RSVP_TEMP_START_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_DATE_MOMENT';
9766
+ var SET_RSVP_TEMP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE';
9767
+ var SET_RSVP_TEMP_END_DATE_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE_INPUT';
9768
+ var SET_RSVP_TEMP_END_DATE_MOMENT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_DATE_MOMENT';
9769
+ var SET_RSVP_TEMP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_TIME';
9770
+ var SET_RSVP_TEMP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_TIME';
9771
+ var SET_RSVP_TEMP_START_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_START_TIME_INPUT';
9772
+ var SET_RSVP_TEMP_END_TIME_INPUT = utils["m" /* PREFIX_TICKETS_STORE */] + '/SET_RSVP_TEMP_END_TIME_INPUT';
9773
+
9774
+ //
9775
+ // ─── RSVP THUNK & SAGA TYPES ────────────────────────────────────────────────────
9776
+ //
9777
+
9778
+ var CREATE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/CREATE_RSVP';
9779
+ var INITIALIZE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/INITIALIZE_RSVP';
9780
+ var DELETE_RSVP = utils["m" /* PREFIX_TICKETS_STORE */] + '/DELETE_RSVP';
9781
+
9782
+ var HANDLE_RSVP_START_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_START_DATE';
9783
+ var HANDLE_RSVP_END_DATE = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_END_DATE';
9784
+ var HANDLE_RSVP_START_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_START_TIME';
9785
+ var HANDLE_RSVP_END_TIME = utils["m" /* PREFIX_TICKETS_STORE */] + '/HANDLE_RSVP_END_TIME';
9786
+
9787
+ var FETCH_RSVP_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/FETCH_RSVP_HEADER_IMAGE';
9788
+ var UPDATE_RSVP_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/UPDATE_RSVP_HEADER_IMAGE';
9789
+ var DELETE_RSVP_HEADER_IMAGE = utils["m" /* PREFIX_TICKETS_STORE */] + '/DELETE_RSVP_HEADER_IMAGE';
9790
+ // EXTERNAL MODULE: ./src/modules/data/blocks/rsvp/actions.js
9791
+ var actions = __webpack_require__(14);
9792
+
9793
+ // EXTERNAL MODULE: ./node_modules/reselect/lib/index.js
9794
+ var lib = __webpack_require__(6);
9795
+
9796
+ // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/selectors.js
9797
+ /**
9798
+ * External dependencies
9799
+ */
9800
+
9801
+
9802
+ /**
9803
+ * ------------------------------------------------------------
9804
+ * RSVP State
9805
+ * ------------------------------------------------------------
9806
+ */
9807
+
9808
+ var getRSVPBlock = function getRSVPBlock(state) {
9809
+ return state.tickets.blocks.rsvp;
9810
+ };
9811
+
9812
+ var getRSVPId = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9813
+ return rsvp.id;
9814
+ });
9815
+
9816
+ var getRSVPCreated = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9817
+ return rsvp.created;
9818
+ });
9819
+
9820
+ var getRSVPSettingsOpen = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9821
+ return rsvp.settingsOpen;
9822
+ });
9823
+
9824
+ var getRSVPHasChanges = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9825
+ return rsvp.hasChanges;
9826
+ });
9827
+
9828
+ var getRSVPIsLoading = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9829
+ return rsvp.isLoading;
9830
+ });
9831
+
9832
+ var getRSVPIsSettingsLoading = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9833
+ return rsvp.isSettingsLoading;
9834
+ });
9835
+
9836
+ var getRSVPGoingCount = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9837
+ return rsvp.goingCount;
9838
+ });
9839
+
9840
+ var getRSVPNotGoingCount = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9841
+ return rsvp.notGoingCount;
9842
+ });
9843
+
9844
+ /**
9845
+ * ------------------------------------------------------------
9846
+ * RSVP Details
9847
+ * ------------------------------------------------------------
9848
+ */
9849
+ var getRSVPDetails = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
9850
+ return rsvp.details;
9851
+ });
9852
+
9853
+ var getRSVPTitle = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9854
+ return details.title;
9855
+ });
9856
+
9857
+ var getRSVPDescription = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9858
+ return details.description;
9859
+ });
9860
+
9861
+ var getRSVPCapacity = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9862
+ return details.capacity;
9863
+ });
9864
+
9865
+ var getRSVPAvailable = Object(lib["createSelector"])([getRSVPCapacity, getRSVPGoingCount], function (capacity, goingCount) {
9866
+ if (capacity === '') {
9867
+ return -1;
9868
+ }
9869
+
9870
+ var total = parseInt(capacity, 10) || 0;
9871
+ var going = parseInt(goingCount, 10) || 0;
9872
+ /**
9873
+ * Prevent to have negative values when subtracting the going amount from total amount, so it takes the max value
9874
+ * of the substraction operation or zero if the operation is lower than zero it will return zero insted.
9875
+ */
9876
+ return Math.max(total - going, 0);
9877
+ });
9878
+
9879
+ var getRSVPNotGoingResponses = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9880
+ return details.notGoingResponses;
9881
+ });
9882
+
9883
+ var getRSVPStartDate = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9884
+ return details.startDate;
9885
+ });
9886
+
9887
+ var getRSVPStartDateInput = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9888
+ return details.startDateInput;
9889
+ });
9890
+
9891
+ var getRSVPStartDateMoment = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9892
+ return details.startDateMoment;
9893
+ });
9894
+
9895
+ var getRSVPStartTime = Object(lib["createSelector"])([getRSVPDetails], function (details) {
9896
+ return details.startTime;
9897
  });
9898
 
9899
  var getRSVPStartTimeNoSeconds = Object(lib["createSelector"])([getRSVPStartTime], function (startTime) {
10006
  * RSVP Header Image
10007
  * ------------------------------------------------------------
10008
  */
10009
+ var getRSVPHeaderImage = Object(lib["createSelector"])([getRSVPBlock], function (rsvp) {
10010
  return rsvp.headerImage;
10011
  });
10012
 
10013
+ var getRSVPHeaderImageId = Object(lib["createSelector"])([getRSVPHeaderImage], function (headerImage) {
10014
  return headerImage.id;
10015
  });
10016
 
10017
+ var getRSVPHeaderImageSrc = Object(lib["createSelector"])([getRSVPHeaderImage], function (headerImage) {
10018
  return headerImage.src;
10019
  });
10020
 
10021
+ var getRSVPHeaderImageAlt = Object(lib["createSelector"])([getRSVPHeaderImage], function (headerImage) {
10022
  return headerImage.alt;
10023
  });
10024
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js
10025
+ var defineProperty = __webpack_require__(24);
10026
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
10027
 
10028
+ // EXTERNAL MODULE: ./src/modules/data/blocks/rsvp/reducers/header-image.js
10029
+ var header_image = __webpack_require__(59);
 
 
 
 
 
 
10030
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10031
  // EXTERNAL MODULE: external "tribe.common.store"
10032
+ var external_tribe_common_store_ = __webpack_require__(60);
10033
 
10034
  // EXTERNAL MODULE: external "tribe.common.utils"
10035
+ var external_tribe_common_utils_ = __webpack_require__(4);
10036
 
10037
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/thunks.js
10038
 
 
 
 
 
 
10039
  /**
10040
  * Internal dependencies
10041
  */
10103
  },
10104
  actions: {
10105
  start: function start() {
10106
+ return dispatch(actions["setRSVPIsLoading"](true));
10107
  },
10108
  success: function success(_ref) {
10109
  var body = _ref.body;
10110
 
10111
  if (method === METHODS.POST) {
10112
+ dispatch(actions["createRSVP"]());
10113
+ dispatch(actions["setRSVPId"](body.id));
10114
  }
10115
+ dispatch(actions["setRSVPDetails"](payload));
10116
+ dispatch(actions["setRSVPHasChanges"](false));
10117
+ dispatch(actions["setRSVPIsLoading"](false));
10118
  },
10119
  error: function error() {
10120
+ return dispatch(actions["setRSVPIsLoading"](false));
10121
  }
10122
  }
10123
  };
10127
  };
10128
  };
10129
 
10130
+ var createRSVP = thunks_createOrUpdateRSVP(METHODS.POST);
10131
 
10132
  var updateRSVP = thunks_createOrUpdateRSVP(METHODS.PUT);
10133
 
10157
  },
10158
  actions: {
10159
  start: function start() {
10160
+ return dispatch(actions["setRSVPIsLoading"](true));
10161
  },
10162
  success: function success(_ref2) {
10163
  var body = _ref2.body,
10189
  var capacity = meta[utils["d" /* KEY_TICKET_CAPACITY */]] >= 0 ? meta[utils["d" /* KEY_TICKET_CAPACITY */]] : '';
10190
  var notGoingResponses = meta[utils["k" /* KEY_TICKET_SHOW_NOT_GOING */]];
10191
 
10192
+ dispatch(actions["createRSVP"]());
10193
+ dispatch(actions["setRSVPId"](rsvp.id));
10194
+ dispatch(actions["setRSVPGoingCount"](parseInt(meta[utils["g" /* KEY_TICKET_GOING_COUNT */]], 10) || 0));
10195
+ dispatch(actions["setRSVPNotGoingCount"](parseInt(meta[utils["i" /* KEY_TICKET_NOT_GOING_COUNT */]], 10) || 0));
10196
+ dispatch(actions["setRSVPDetails"]({
10197
  title: rsvp.title.rendered,
10198
  description: rsvp.excerpt.raw,
10199
  capacity: capacity,
10209
  startTimeInput: external_tribe_common_utils_["moment"].toTime(startMoment),
10210
  endTimeInput: external_tribe_common_utils_["moment"].toTime(endMoment)
10211
  }));
10212
+ dispatch(actions["setRSVPTempDetails"]({
10213
  tempTitle: rsvp.title.rendered,
10214
  tempDescription: rsvp.excerpt.raw,
10215
  tempCapacity: capacity,
10225
  tempStartTimeInput: external_tribe_common_utils_["moment"].toTime(startMoment),
10226
  tempEndTimeInput: external_tribe_common_utils_["moment"].toTime(endMoment)
10227
  }));
10228
+ dispatch(actions["setRSVPIsLoading"](false));
10229
  } else if (page < totalPages) {
10230
  /* If there are more pages */
10231
  dispatch(getRSVP(postId, page + 1));
10232
  } else {
10233
  /* Did not find RSVP */
10234
+ dispatch(actions["setRSVPIsLoading"](false));
10235
  }
10236
  },
10237
  error: function error() {
10238
+ return dispatch(actions["setRSVPIsLoading"](false));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10239
  }
10240
  }
10241
  };
10244
  };
10245
  };
10246
  // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js
10247
+ var helpers_extends = __webpack_require__(9);
10248
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
10249
 
10250
+ // EXTERNAL MODULE: ./node_modules/moment/moment.js
10251
+ var moment_moment = __webpack_require__(3);
10252
+ var moment_default = /*#__PURE__*/__webpack_require__.n(moment_moment);
10253
+
10254
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/reducers/details.js
10255
 
10256
  /**
10271
  var details_startDateInput = details_datePickerFormat ? currentMoment.format(external_tribe_common_utils_["moment"].toFormat(details_datePickerFormat)) : external_tribe_common_utils_["moment"].toDate(currentMoment);
10272
  var details_endDateInput = details_datePickerFormat ? details_endMoment.format(external_tribe_common_utils_["moment"].toFormat(details_datePickerFormat)) : external_tribe_common_utils_["moment"].toDate(details_endMoment);
10273
 
10274
+ var DEFAULT_STATE = {
10275
  title: '',
10276
  description: '',
10277
  capacity: '',
10289
  };
10290
 
10291
  /* harmony default export */ var details = (function () {
10292
+ var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;
10293
  var action = arguments[1];
10294
 
10295
  switch (action.type) {
10362
 
10363
 
10364
  /* harmony default export */ var temp_details = (function () {
10365
+ var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;
10366
  var action = arguments[1];
10367
 
10368
  switch (action.type) {
10445
  isSettingsLoading: false,
10446
  goingCount: 0,
10447
  notGoingCount: 0,
10448
+ details: DEFAULT_STATE,
10449
+ tempDetails: DEFAULT_STATE,
10450
+ headerImage: header_image["a" /* DEFAULT_STATE */]
10451
  };
10452
 
10453
  /* harmony default export */ var reducer = (function () {
10525
  });
10526
  case types_namespaceObject.SET_RSVP_HEADER_IMAGE:
10527
  return extends_default()({}, state, {
10528
+ headerImage: Object(header_image["b" /* default */])(state.headerImage, action)
10529
  });
10530
  default:
10531
  return state;
10532
  }
10533
  });
10534
  // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js
10535
+ var regenerator = __webpack_require__(11);
10536
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
10537
 
10538
  // EXTERNAL MODULE: external {"var":"wp.data","root":["wp","data"]}
10539
+ var external_var_wp_data_root_wp_data_ = __webpack_require__(20);
10540
 
10541
  // EXTERNAL MODULE: ./node_modules/redux-saga/es/effects.js + 1 modules
10542
  var effects = __webpack_require__(0);
10543
 
10544
+ // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/actions.js
10545
+ var ticket_actions = __webpack_require__(10);
10546
+
10547
+ // EXTERNAL MODULE: ./src/modules/data/blocks/ticket/reducers/header-image.js
10548
+ var reducers_header_image = __webpack_require__(61);
10549
+
10550
  // EXTERNAL MODULE: ./src/modules/data/shared/move/types.js
10551
+ var types = __webpack_require__(18);
10552
 
10553
  // EXTERNAL MODULE: ./src/modules/data/shared/move/selectors.js
10554
+ var selectors = __webpack_require__(28);
10555
 
10556
  // EXTERNAL MODULE: ./src/modules/data/shared/sagas.js
10557
+ var sagas = __webpack_require__(31);
10558
 
10559
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/sagas.js
10560
 
10561
 
10562
+
10563
+ var _marked = /*#__PURE__*/regenerator_default.a.mark(setRSVPDetails),
10564
+ _marked2 = /*#__PURE__*/regenerator_default.a.mark(setRSVPTempDetails),
10565
+ _marked3 = /*#__PURE__*/regenerator_default.a.mark(initializeRSVP),
10566
  _marked4 = /*#__PURE__*/regenerator_default.a.mark(syncRSVPSaleEndWithEventStart),
10567
  _marked5 = /*#__PURE__*/regenerator_default.a.mark(saveRSVPWithPostSave),
10568
  _marked6 = /*#__PURE__*/regenerator_default.a.mark(handleEventStartDateChanges),
10569
+ _marked7 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPStartDate),
10570
+ _marked8 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPEndDate),
10571
+ _marked9 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPStartTime),
10572
  _marked10 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPStartTimeInput),
10573
+ _marked11 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPEndTime),
10574
  _marked12 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPEndTimeInput),
10575
  _marked13 = /*#__PURE__*/regenerator_default.a.mark(handleRSVPMove),
10576
+ _marked14 = /*#__PURE__*/regenerator_default.a.mark(fetchRSVPHeaderImage),
10577
+ _marked15 = /*#__PURE__*/regenerator_default.a.mark(updateRSVPHeaderImage),
10578
+ _marked16 = /*#__PURE__*/regenerator_default.a.mark(deleteRSVPHeaderImage),
10579
+ _marked17 = /*#__PURE__*/regenerator_default.a.mark(handler),
10580
+ _marked18 = /*#__PURE__*/regenerator_default.a.mark(setNonEventPostTypeEndDate),
10581
+ _marked19 = /*#__PURE__*/regenerator_default.a.mark(watchers);
10582
 
10583
  /* eslint-disable max-len */
10584
 
10601
 
10602
 
10603
 
10604
+
10605
+
10606
+
10607
+
10608
  //
10609
  // ─── RSVP DETAILS ───────────────────────────────────────────────────────────────
10610
  //
10615
  * @export
10616
  * @param {Object} action redux action
10617
  */
10618
+ function setRSVPDetails(action) {
10619
  var _action$payload, title, description, capacity, notGoingResponses, startDate, startDateInput, startDateMoment, startTime, endDate, endDateInput, endDateMoment, endTime, startTimeInput, endTimeInput;
10620
 
10621
  return regenerator_default.a.wrap(function setRSVPDetails$(_context) {
10624
  case 0:
10625
  _action$payload = action.payload, title = _action$payload.title, description = _action$payload.description, capacity = _action$payload.capacity, notGoingResponses = _action$payload.notGoingResponses, startDate = _action$payload.startDate, startDateInput = _action$payload.startDateInput, startDateMoment = _action$payload.startDateMoment, startTime = _action$payload.startTime, endDate = _action$payload.endDate, endDateInput = _action$payload.endDateInput, endDateMoment = _action$payload.endDateMoment, endTime = _action$payload.endTime, startTimeInput = _action$payload.startTimeInput, endTimeInput = _action$payload.endTimeInput;
10626
  _context.next = 3;
10627
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPTitle"](title)), Object(effects["e" /* put */])(actions["setRSVPDescription"](description)), Object(effects["e" /* put */])(actions["setRSVPCapacity"](capacity)), Object(effects["e" /* put */])(actions["setRSVPNotGoingResponses"](notGoingResponses)), Object(effects["e" /* put */])(actions["setRSVPStartDate"](startDate)), Object(effects["e" /* put */])(actions["setRSVPStartDateInput"](startDateInput)), Object(effects["e" /* put */])(actions["setRSVPStartDateMoment"](startDateMoment)), Object(effects["e" /* put */])(actions["setRSVPStartTime"](startTime)), Object(effects["e" /* put */])(actions["setRSVPEndDate"](endDate)), Object(effects["e" /* put */])(actions["setRSVPEndDateInput"](endDateInput)), Object(effects["e" /* put */])(actions["setRSVPEndDateMoment"](endDateMoment)), Object(effects["e" /* put */])(actions["setRSVPEndTime"](endTime)), Object(effects["e" /* put */])(actions["setRSVPStartTimeInput"](startTimeInput)), Object(effects["e" /* put */])(actions["setRSVPEndTimeInput"](endTimeInput))]);
10628
 
10629
  case 3:
10630
  case 'end':
10640
  * @export
10641
  * @param {Object} action redux action
10642
  */
10643
+ function setRSVPTempDetails(action) {
10644
  var _action$payload2, tempTitle, tempDescription, tempCapacity, tempNotGoingResponses, tempStartDate, tempStartDateInput, tempStartDateMoment, tempStartTime, tempEndDate, tempEndDateInput, tempEndDateMoment, tempEndTime, tempStartTimeInput, tempEndTimeInput;
10645
 
10646
  return regenerator_default.a.wrap(function setRSVPTempDetails$(_context2) {
10649
  case 0:
10650
  _action$payload2 = action.payload, tempTitle = _action$payload2.tempTitle, tempDescription = _action$payload2.tempDescription, tempCapacity = _action$payload2.tempCapacity, tempNotGoingResponses = _action$payload2.tempNotGoingResponses, tempStartDate = _action$payload2.tempStartDate, tempStartDateInput = _action$payload2.tempStartDateInput, tempStartDateMoment = _action$payload2.tempStartDateMoment, tempStartTime = _action$payload2.tempStartTime, tempEndDate = _action$payload2.tempEndDate, tempEndDateInput = _action$payload2.tempEndDateInput, tempEndDateMoment = _action$payload2.tempEndDateMoment, tempEndTime = _action$payload2.tempEndTime, tempStartTimeInput = _action$payload2.tempStartTimeInput, tempEndTimeInput = _action$payload2.tempEndTimeInput;
10651
  _context2.next = 3;
10652
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPTempTitle"](tempTitle)), Object(effects["e" /* put */])(actions["setRSVPTempDescription"](tempDescription)), Object(effects["e" /* put */])(actions["setRSVPTempCapacity"](tempCapacity)), Object(effects["e" /* put */])(actions["setRSVPTempNotGoingResponses"](tempNotGoingResponses)), Object(effects["e" /* put */])(actions["setRSVPTempStartDate"](tempStartDate)), Object(effects["e" /* put */])(actions["setRSVPTempStartDateInput"](tempStartDateInput)), Object(effects["e" /* put */])(actions["setRSVPTempStartDateMoment"](tempStartDateMoment)), Object(effects["e" /* put */])(actions["setRSVPTempStartTime"](tempStartTime)), Object(effects["e" /* put */])(actions["setRSVPTempEndDate"](tempEndDate)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateInput"](tempEndDateInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateMoment"](tempEndDateMoment)), Object(effects["e" /* put */])(actions["setRSVPTempEndTime"](tempEndTime)), Object(effects["e" /* put */])(actions["setRSVPTempStartTimeInput"](tempStartTimeInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndTimeInput"](tempEndTimeInput))]);
10653
 
10654
  case 3:
10655
  case 'end':
10667
  * @borrows TEC - Optional functionality requires TEC to be enabled and post type to be event
10668
  * @export
10669
  */
10670
+ function initializeRSVP() {
10671
  var publishDate, _ref, startMoment, startDate, startDateInput, startTime, startTimeInput, eventStart, _ref2, endMoment, endDate, endDateInput, endTime, endTimeInput;
10672
 
10673
  return regenerator_default.a.wrap(function initializeRSVP$(_context3) {
10690
  startTime = _ref.time;
10691
  startTimeInput = _ref.timeInput;
10692
  _context3.next = 13;
10693
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPStartDate"](startDate)), Object(effects["e" /* put */])(actions["setRSVPStartDateInput"](startDateInput)), Object(effects["e" /* put */])(actions["setRSVPStartDateMoment"](startMoment)), Object(effects["e" /* put */])(actions["setRSVPStartTime"](startTime)), Object(effects["e" /* put */])(actions["setRSVPStartTimeInput"](startTimeInput)), Object(effects["e" /* put */])(actions["setRSVPTempStartDate"](startDate)), Object(effects["e" /* put */])(actions["setRSVPTempStartDateInput"](startDateInput)), Object(effects["e" /* put */])(actions["setRSVPTempStartDateMoment"](startMoment)), Object(effects["e" /* put */])(actions["setRSVPTempStartTime"](startTime)), Object(effects["e" /* put */])(actions["setRSVPTempStartTimeInput"](startTimeInput))]);
10694
 
10695
  case 13:
10696
  _context3.prev = 13;
10719
  endTime = _ref2.time;
10720
  endTimeInput = _ref2.timeInput;
10721
  _context3.next = 30;
10722
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPEndDate"](endDate)), Object(effects["e" /* put */])(actions["setRSVPEndDateInput"](endDateInput)), Object(effects["e" /* put */])(actions["setRSVPEndDateMoment"](endMoment)), Object(effects["e" /* put */])(actions["setRSVPEndTime"](endTime)), Object(effects["e" /* put */])(actions["setRSVPEndTimeInput"](endTimeInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndDate"](endDate)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateInput"](endDateInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateMoment"](endMoment)), Object(effects["e" /* put */])(actions["setRSVPTempEndTime"](endTime)), Object(effects["e" /* put */])(actions["setRSVPTempEndTimeInput"](endTimeInput))]);
10723
 
10724
  case 30:
10725
  _context3.next = 35;
10806
  endTime = _ref4.time;
10807
  endTimeInput = _ref4.timeInput;
10808
  _context4.next = 33;
10809
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPTempEndDate"](endDate)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateInput"](endDateInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateMoment"](endDateMoment)), Object(effects["e" /* put */])(actions["setRSVPTempEndTime"](endTime)), Object(effects["e" /* put */])(actions["setRSVPTempEndTimeInput"](endTimeInput)),
10810
 
10811
  // Sync RSVP end items as well so as not to make state 'manually edited'
10812
+ Object(effects["e" /* put */])(actions["setRSVPEndDate"](endDate)), Object(effects["e" /* put */])(actions["setRSVPEndDateInput"](endDateInput)), Object(effects["e" /* put */])(actions["setRSVPEndDateMoment"](endDateMoment)), Object(effects["e" /* put */])(actions["setRSVPEndTime"](endTime)), Object(effects["e" /* put */])(actions["setRSVPEndTimeInput"](endTimeInput)),
10813
 
10814
  // Trigger UI button
10815
+ Object(effects["e" /* put */])(actions["setRSVPHasChanges"](true))]);
10816
 
10817
  case 33:
10818
  _context4.next = 35;
11006
  // ─── DATE & TIME ────────────────────────────────────────────────────────────────
11007
  //
11008
 
11009
+ function handleRSVPStartDate(action) {
11010
  var _action$payload3, date, dayPickerInput, startDateMoment, startDate;
11011
 
11012
  return regenerator_default.a.wrap(function handleRSVPStartDate$(_context7) {
11025
  case 6:
11026
  startDate = _context7.sent;
11027
  _context7.next = 9;
11028
+ return Object(effects["e" /* put */])(actions["setRSVPTempStartDate"](startDate));
11029
 
11030
  case 9:
11031
  _context7.next = 11;
11032
+ return Object(effects["e" /* put */])(actions["setRSVPTempStartDateInput"](dayPickerInput.state.value));
11033
 
11034
  case 11:
11035
  _context7.next = 13;
11036
+ return Object(effects["e" /* put */])(actions["setRSVPTempStartDateMoment"](startDateMoment));
11037
 
11038
  case 13:
11039
  case 'end':
11043
  }, _marked7, this);
11044
  }
11045
 
11046
+ function handleRSVPEndDate(action) {
11047
  var _action$payload4, date, dayPickerInput, endDateMoment, endDate;
11048
 
11049
  return regenerator_default.a.wrap(function handleRSVPEndDate$(_context8) {
11062
  case 6:
11063
  endDate = _context8.sent;
11064
  _context8.next = 9;
11065
+ return Object(effects["e" /* put */])(actions["setRSVPTempEndDate"](endDate));
11066
 
11067
  case 9:
11068
  _context8.next = 11;
11069
+ return Object(effects["e" /* put */])(actions["setRSVPTempEndDateInput"](dayPickerInput.state.value));
11070
 
11071
  case 11:
11072
  _context8.next = 13;
11073
+ return Object(effects["e" /* put */])(actions["setRSVPTempEndDateMoment"](endDateMoment));
11074
 
11075
  case 13:
11076
  case 'end':
11080
  }, _marked8, this);
11081
  }
11082
 
11083
+ function handleRSVPStartTime(action) {
11084
  var startTime;
11085
  return regenerator_default.a.wrap(function handleRSVPStartTime$(_context9) {
11086
  while (1) {
11092
  case 2:
11093
  startTime = _context9.sent;
11094
  _context9.next = 5;
11095
+ return Object(effects["e" /* put */])(actions["setRSVPTempStartTime"](startTime + ':00'));
11096
 
11097
  case 5:
11098
  case 'end':
11124
  case 8:
11125
  startTimeInput = _context10.sent;
11126
  _context10.next = 11;
11127
+ return Object(effects["e" /* put */])(actions["setRSVPTempStartTimeInput"](startTimeInput));
11128
 
11129
  case 11:
11130
  case 'end':
11134
  }, _marked10, this);
11135
  }
11136
 
11137
+ function handleRSVPEndTime(action) {
11138
  var endTime;
11139
  return regenerator_default.a.wrap(function handleRSVPEndTime$(_context11) {
11140
  while (1) {
11146
  case 2:
11147
  endTime = _context11.sent;
11148
  _context11.next = 5;
11149
+ return Object(effects["e" /* put */])(actions["setRSVPTempEndTime"](endTime + ':00'));
11150
 
11151
  case 5:
11152
  case 'end':
11178
  case 8:
11179
  endTimeInput = _context12.sent;
11180
  _context12.next = 11;
11181
+ return Object(effects["e" /* put */])(actions["setRSVPTempEndTimeInput"](endTimeInput));
11182
 
11183
  case 11:
11184
  case 'end':
11194
  * @export
11195
  */
11196
  function handleRSVPMove() {
11197
+ var rsvpId, modalTicketId, clientId;
11198
  return regenerator_default.a.wrap(function handleRSVPMove$(_context13) {
11199
  while (1) {
11200
  switch (_context13.prev = _context13.next) {
11216
  }
11217
 
11218
  _context13.next = 9;
11219
+ return Object(effects["f" /* select */])(selectors["a" /* getModalClientId */]);
11220
 
11221
  case 9:
11222
+ clientId = _context13.sent;
11223
  _context13.next = 12;
11224
+ return Object(effects["e" /* put */])(actions["deleteRSVP"]());
11225
 
11226
  case 12:
11227
  _context13.next = 14;
11228
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["dispatch"])('core/editor'), 'removeBlocks'], [clientId]);
11229
 
11230
  case 14:
11231
  case 'end':
11235
  }, _marked13, this);
11236
  }
11237
 
11238
+ //
11239
+ // ─── HEADER IMAGE ───────────────────────────────────────────────────────────────
11240
+ //
11241
+
11242
+ function fetchRSVPHeaderImage(action) {
11243
+ var id, _ref5, response, media, headerImage;
11244
+
11245
+ return regenerator_default.a.wrap(function fetchRSVPHeaderImage$(_context14) {
11246
+ while (1) {
11247
+ switch (_context14.prev = _context14.next) {
11248
+ case 0:
11249
+ id = action.payload.id;
11250
+ _context14.next = 3;
11251
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](true));
11252
+
11253
+ case 3:
11254
+ _context14.prev = 3;
11255
+ _context14.next = 6;
11256
+ return Object(effects["b" /* call */])(external_tribe_common_utils_["api"].wpREST, { path: 'media/' + id });
11257
+
11258
+ case 6:
11259
+ _ref5 = _context14.sent;
11260
+ response = _ref5.response;
11261
+ media = _ref5.data;
11262
+
11263
+ if (!response.ok) {
11264
+ _context14.next = 13;
11265
+ break;
11266
+ }
11267
+
11268
+ headerImage = {
11269
+ id: media.id,
11270
+ alt: media.alt_text,
11271
+ src: media.media_details.sizes.medium.source_url
11272
+ };
11273
+ _context14.next = 13;
11274
+ return Object(effects["e" /* put */])(actions["setRSVPHeaderImage"](headerImage));
11275
+
11276
+ case 13:
11277
+ _context14.next = 18;
11278
+ break;
11279
+
11280
+ case 15:
11281
+ _context14.prev = 15;
11282
+ _context14.t0 = _context14['catch'](3);
11283
+
11284
+ console.error(_context14.t0);
11285
+ /**
11286
+ * @todo: handle error scenario
11287
+ */
11288
+
11289
+ case 18:
11290
+ _context14.prev = 18;
11291
+ _context14.next = 21;
11292
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](false));
11293
+
11294
+ case 21:
11295
+ return _context14.finish(18);
11296
+
11297
+ case 22:
11298
+ case 'end':
11299
+ return _context14.stop();
11300
+ }
11301
+ }
11302
+ }, _marked14, this, [[3, 15, 18, 22]]);
11303
+ }
11304
+
11305
+ function updateRSVPHeaderImage(action) {
11306
+ var image, postId, body, _ref6, response, headerImage;
11307
+
11308
+ return regenerator_default.a.wrap(function updateRSVPHeaderImage$(_context15) {
11309
+ while (1) {
11310
+ switch (_context15.prev = _context15.next) {
11311
+ case 0:
11312
+ image = action.payload.image;
11313
+ _context15.next = 3;
11314
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getCurrentPostId']);
11315
+
11316
+ case 3:
11317
+ postId = _context15.sent;
11318
+ body = {
11319
+ meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], '' + image.id)
11320
+ };
11321
+ _context15.prev = 5;
11322
+ _context15.next = 8;
11323
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](true));
11324
+
11325
+ case 8:
11326
+ _context15.next = 10;
11327
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsIsSettingsLoading"](true));
11328
+
11329
+ case 10:
11330
+ _context15.next = 12;
11331
+ return Object(effects["b" /* call */])(external_tribe_common_utils_["api"].wpREST, {
11332
+ path: 'tribe_events/' + postId,
11333
+ headers: {
11334
+ 'Content-Type': 'application/json'
11335
+ },
11336
+ initParams: {
11337
+ method: 'PUT',
11338
+ body: JSON.stringify(body)
11339
+ }
11340
+ });
11341
+
11342
+ case 12:
11343
+ _ref6 = _context15.sent;
11344
+ response = _ref6.response;
11345
+
11346
+ if (!response.ok) {
11347
+ _context15.next = 20;
11348
+ break;
11349
+ }
11350
+
11351
+ headerImage = {
11352
+ id: image.id,
11353
+ alt: image.alt,
11354
+ src: image.sizes.medium.url
11355
+ };
11356
+ /**
11357
+ * @todo: until rsvp and tickets header image can be separated, they need to be linked
11358
+ */
11359
+
11360
+ _context15.next = 18;
11361
+ return Object(effects["e" /* put */])(actions["setRSVPHeaderImage"](headerImage));
11362
+
11363
+ case 18:
11364
+ _context15.next = 20;
11365
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsHeaderImage"](headerImage));
11366
+
11367
+ case 20:
11368
+ _context15.next = 24;
11369
+ break;
11370
+
11371
+ case 22:
11372
+ _context15.prev = 22;
11373
+ _context15.t0 = _context15['catch'](5);
11374
+
11375
+ case 24:
11376
+ _context15.prev = 24;
11377
+ _context15.next = 27;
11378
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](false));
11379
+
11380
+ case 27:
11381
+ _context15.next = 29;
11382
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsIsSettingsLoading"](false));
11383
+
11384
+ case 29:
11385
+ return _context15.finish(24);
11386
+
11387
+ case 30:
11388
+ case 'end':
11389
+ return _context15.stop();
11390
+ }
11391
+ }
11392
+ }, _marked15, this, [[5, 22, 24, 30]]);
11393
+ }
11394
+
11395
+ function deleteRSVPHeaderImage() {
11396
+ var postId, body, _ref7, response;
11397
+
11398
+ return regenerator_default.a.wrap(function deleteRSVPHeaderImage$(_context16) {
11399
+ while (1) {
11400
+ switch (_context16.prev = _context16.next) {
11401
+ case 0:
11402
+ _context16.next = 2;
11403
+ return Object(effects["b" /* call */])([Object(external_var_wp_data_root_wp_data_["select"])('core/editor'), 'getCurrentPostId']);
11404
+
11405
+ case 2:
11406
+ postId = _context16.sent;
11407
+ body = {
11408
+ meta: defineProperty_default()({}, utils["h" /* KEY_TICKET_HEADER */], null)
11409
+ };
11410
+ _context16.prev = 4;
11411
+ _context16.next = 7;
11412
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](true));
11413
+
11414
+ case 7:
11415
+ _context16.next = 9;
11416
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsIsSettingsLoading"](true));
11417
+
11418
+ case 9:
11419
+ _context16.next = 11;
11420
+ return Object(effects["b" /* call */])(external_tribe_common_utils_["api"].wpREST, {
11421
+ path: 'tribe_events/' + postId,
11422
+ headers: {
11423
+ 'Content-Type': 'application/json'
11424
+ },
11425
+ initParams: {
11426
+ method: 'PUT',
11427
+ body: JSON.stringify(body)
11428
+ }
11429
+ });
11430
+
11431
+ case 11:
11432
+ _ref7 = _context16.sent;
11433
+ response = _ref7.response;
11434
+
11435
+ if (!response.ok) {
11436
+ _context16.next = 18;
11437
+ break;
11438
+ }
11439
+
11440
+ _context16.next = 16;
11441
+ return Object(effects["e" /* put */])(actions["setRSVPHeaderImage"](header_image["a" /* DEFAULT_STATE */]));
11442
+
11443
+ case 16:
11444
+ _context16.next = 18;
11445
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsHeaderImage"](reducers_header_image["a" /* DEFAULT_STATE */]));
11446
+
11447
+ case 18:
11448
+ _context16.next = 22;
11449
+ break;
11450
+
11451
+ case 20:
11452
+ _context16.prev = 20;
11453
+ _context16.t0 = _context16['catch'](4);
11454
+
11455
+ case 22:
11456
+ _context16.prev = 22;
11457
+ _context16.next = 25;
11458
+ return Object(effects["e" /* put */])(actions["setRSVPIsSettingsLoading"](false));
11459
+
11460
+ case 25:
11461
+ _context16.next = 27;
11462
+ return Object(effects["e" /* put */])(ticket_actions["setTicketsIsSettingsLoading"](false));
11463
+
11464
+ case 27:
11465
+ return _context16.finish(22);
11466
+
11467
+ case 28:
11468
+ case 'end':
11469
+ return _context16.stop();
11470
+ }
11471
+ }
11472
+ }, _marked16, this, [[4, 20, 22, 28]]);
11473
+ }
11474
+
11475
  //
11476
  // ─── HANDLERS ───────────────────────────────────────────────────────────────────
11477
  //
11478
 
11479
  function handler(action) {
11480
+ return regenerator_default.a.wrap(function handler$(_context17) {
11481
  while (1) {
11482
+ switch (_context17.prev = _context17.next) {
11483
  case 0:
11484
+ _context17.t0 = action.type;
11485
+ _context17.next = _context17.t0 === SET_RSVP_DETAILS ? 3 : _context17.t0 === SET_RSVP_TEMP_DETAILS ? 6 : _context17.t0 === INITIALIZE_RSVP ? 9 : _context17.t0 === HANDLE_RSVP_START_DATE ? 12 : _context17.t0 === HANDLE_RSVP_END_DATE ? 17 : _context17.t0 === HANDLE_RSVP_START_TIME ? 22 : _context17.t0 === HANDLE_RSVP_END_TIME ? 29 : _context17.t0 === FETCH_RSVP_HEADER_IMAGE ? 36 : _context17.t0 === UPDATE_RSVP_HEADER_IMAGE ? 39 : _context17.t0 === DELETE_RSVP_HEADER_IMAGE ? 42 : _context17.t0 === types["k" /* MOVE_TICKET_SUCCESS */] ? 45 : 48;
11486
  break;
11487
 
11488
  case 3:
11489
+ _context17.next = 5;
11490
+ return Object(effects["b" /* call */])(setRSVPDetails, action);
11491
 
11492
  case 5:
11493
+ return _context17.abrupt('break', 49);
11494
 
11495
  case 6:
11496
+ _context17.next = 8;
11497
+ return Object(effects["b" /* call */])(setRSVPTempDetails, action);
11498
 
11499
  case 8:
11500
+ return _context17.abrupt('break', 49);
11501
 
11502
  case 9:
11503
+ _context17.next = 11;
11504
+ return Object(effects["b" /* call */])(initializeRSVP);
11505
 
11506
  case 11:
11507
+ return _context17.abrupt('break', 49);
11508
 
11509
  case 12:
11510
+ _context17.next = 14;
11511
+ return Object(effects["b" /* call */])(handleRSVPStartDate, action);
11512
 
11513
  case 14:
11514
+ _context17.next = 16;
11515
+ return Object(effects["e" /* put */])(actions["setRSVPHasChanges"](true));
11516
 
11517
  case 16:
11518
+ return _context17.abrupt('break', 49);
11519
 
11520
  case 17:
11521
+ _context17.next = 19;
11522
+ return Object(effects["b" /* call */])(handleRSVPEndDate, action);
11523
 
11524
  case 19:
11525
+ _context17.next = 21;
11526
+ return Object(effects["e" /* put */])(actions["setRSVPHasChanges"](true));
11527
 
11528
  case 21:
11529
+ return _context17.abrupt('break', 49);
11530
 
11531
  case 22:
11532
+ _context17.next = 24;
11533
+ return Object(effects["b" /* call */])(handleRSVPStartTime, action);
11534
 
11535
  case 24:
11536
+ _context17.next = 26;
11537
  return Object(effects["b" /* call */])(handleRSVPStartTimeInput, action);
11538
 
11539
  case 26:
11540
+ _context17.next = 28;
11541
+ return Object(effects["e" /* put */])(actions["setRSVPHasChanges"](true));
11542
 
11543
  case 28:
11544
+ return _context17.abrupt('break', 49);
11545
 
11546
  case 29:
11547
+ _context17.next = 31;
11548
+ return Object(effects["b" /* call */])(handleRSVPEndTime, action);
11549
 
11550
  case 31:
11551
+ _context17.next = 33;
11552
  return Object(effects["b" /* call */])(handleRSVPEndTimeInput, action);
11553
 
11554
  case 33:
11555
+ _context17.next = 35;
11556
+ return Object(effects["e" /* put */])(actions["setRSVPHasChanges"](true));
11557
 
11558
  case 35:
11559
+ return _context17.abrupt('break', 49);
11560
 
11561
  case 36:
11562
+ _context17.next = 38;
11563
+ return Object(effects["b" /* call */])(fetchRSVPHeaderImage, action);
11564
 
11565
  case 38:
11566
+ return _context17.abrupt('break', 49);
11567
 
11568
  case 39:
11569
+ _context17.next = 41;
11570
+ return Object(effects["b" /* call */])(updateRSVPHeaderImage, action);
11571
 
11572
+ case 41:
11573
+ return _context17.abrupt('break', 49);
11574
+
11575
+ case 42:
11576
+ _context17.next = 44;
11577
+ return Object(effects["b" /* call */])(deleteRSVPHeaderImage);
11578
+
11579
+ case 44:
11580
+ return _context17.abrupt('break', 49);
11581
+
11582
+ case 45:
11583
+ _context17.next = 47;
11584
+ return Object(effects["b" /* call */])(handleRSVPMove);
11585
+
11586
+ case 47:
11587
+ return _context17.abrupt('break', 49);
11588
+
11589
+ case 48:
11590
+ return _context17.abrupt('break', 49);
11591
+
11592
+ case 49:
11593
  case 'end':
11594
+ return _context17.stop();
11595
  }
11596
  }
11597
+ }, _marked17, this);
11598
  }
11599
 
11600
  /**
11603
  * @export
11604
  */
11605
  function setNonEventPostTypeEndDate() {
11606
+ var tempEndMoment, endMoment, _ref8, date, dateInput, moment, time;
11607
 
11608
+ return regenerator_default.a.wrap(function setNonEventPostTypeEndDate$(_context18) {
11609
  while (1) {
11610
+ switch (_context18.prev = _context18.next) {
11611
  case 0:
11612
+ _context18.next = 2;
11613
  return Object(effects["g" /* take */])([INITIALIZE_RSVP]);
11614
 
11615
  case 2:
11616
+ _context18.next = 4;
11617
  return Object(effects["b" /* call */])(sagas["d" /* isTribeEventPostType */]);
11618
 
11619
  case 4:
11620
+ if (!_context18.sent) {
11621
+ _context18.next = 6;
11622
  break;
11623
  }
11624
 
11625
+ return _context18.abrupt('return');
11626
 
11627
  case 6:
11628
+ _context18.next = 8;
11629
  return Object(effects["f" /* select */])(getRSVPTempEndDateMoment);
11630
 
11631
  case 8:
11632
+ tempEndMoment = _context18.sent;
11633
+ _context18.next = 11;
11634
  return Object(effects["b" /* call */])([tempEndMoment, 'clone']);
11635
 
11636
  case 11:
11637
+ endMoment = _context18.sent;
11638
+ _context18.next = 14;
11639
  return Object(effects["b" /* call */])([endMoment, 'add'], 100, 'years');
11640
 
11641
  case 14:
11642
+ _context18.next = 16;
11643
  return Object(effects["b" /* call */])(sagas["a" /* createDates */], endMoment.toDate());
11644
 
11645
  case 16:
11646
+ _ref8 = _context18.sent;
11647
+ date = _ref8.date;
11648
+ dateInput = _ref8.dateInput;
11649
+ moment = _ref8.moment;
11650
+ time = _ref8.time;
11651
+ _context18.next = 23;
11652
+ return Object(effects["a" /* all */])([Object(effects["e" /* put */])(actions["setRSVPTempEndDate"](date)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateInput"](dateInput)), Object(effects["e" /* put */])(actions["setRSVPTempEndDateMoment"](moment)), Object(effects["e" /* put */])(actions["setRSVPTempEndTime"](time)), Object(effects["e" /* put */])(actions["setRSVPEndDate"](date)), Object(effects["e" /* put */])(actions["setRSVPEndDateInput"](dateInput)), Object(effects["e" /* put */])(actions["setRSVPEndDateMoment"](moment)), Object(effects["e" /* put */])(actions["setRSVPEndTime"](time))]);
11653
 
11654
  case 23:
11655
  case 'end':
11656
+ return _context18.stop();
11657
  }
11658
  }
11659
+ }, _marked18, this);
11660
  }
11661
 
11662
  //
11664
  //
11665
 
11666
  function watchers() {
11667
+ return regenerator_default.a.wrap(function watchers$(_context19) {
11668
  while (1) {
11669
+ switch (_context19.prev = _context19.next) {
11670
  case 0:
11671
+ _context19.next = 2;
11672
+ return Object(effects["h" /* takeEvery */])([SET_RSVP_DETAILS, SET_RSVP_TEMP_DETAILS, INITIALIZE_RSVP, HANDLE_RSVP_START_DATE, HANDLE_RSVP_END_DATE, HANDLE_RSVP_START_TIME, HANDLE_RSVP_END_TIME, FETCH_RSVP_HEADER_IMAGE, UPDATE_RSVP_HEADER_IMAGE, DELETE_RSVP_HEADER_IMAGE, types["k" /* MOVE_TICKET_SUCCESS */]], handler);
11673
 
11674
  case 2:
11675
+ _context19.next = 4;
11676
  return Object(effects["d" /* fork */])(handleEventStartDateChanges);
11677
 
11678
  case 4:
11679
+ _context19.next = 6;
11680
  return Object(effects["d" /* fork */])(setNonEventPostTypeEndDate);
11681
 
11682
  case 6:
11683
  case 'end':
11684
+ return _context19.stop();
11685
  }
11686
  }
11687
+ }, _marked19, this);
11688
  }
11689
  // CONCATENATED MODULE: ./src/modules/data/blocks/rsvp/index.js
11690
  /* concated harmony reexport types */__webpack_require__.d(__webpack_exports__, "f", function() { return types_namespaceObject; });
11691
+ /* concated harmony reexport actions */__webpack_require__.d(__webpack_exports__, "a", function() { return actions; });
11692
  /* concated harmony reexport sagas */__webpack_require__.d(__webpack_exports__, "c", function() { return watchers; });
11693
  /* concated harmony reexport selectors */__webpack_require__.d(__webpack_exports__, "d", function() { return selectors_namespaceObject; });
11694
  /* concated harmony reexport thunks */__webpack_require__.d(__webpack_exports__, "e", function() { return thunks_namespaceObject; });
11707
 
11708
  /***/ }),
11709
  /* 13 */
11710
+ /***/ (function(module, exports) {
11711
+
11712
+ module.exports = React;
11713
+
11714
+ /***/ }),
11715
+ /* 14 */
11716
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11717
 
11718
  "use strict";
11719
+ __webpack_require__.r(__webpack_exports__);
11720
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPId", function() { return setRSVPId; });
11721
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPSettingsOpen", function() { return setRSVPSettingsOpen; });
11722
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPHasChanges", function() { return setRSVPHasChanges; });
11723
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPIsLoading", function() { return setRSVPIsLoading; });
11724
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPIsSettingsLoading", function() { return setRSVPIsSettingsLoading; });
11725
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPGoingCount", function() { return setRSVPGoingCount; });
11726
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPNotGoingCount", function() { return setRSVPNotGoingCount; });
11727
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPDetails", function() { return setRSVPDetails; });
11728
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempDetails", function() { return setRSVPTempDetails; });
11729
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPHeaderImage", function() { return setRSVPHeaderImage; });
11730
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTitle", function() { return setRSVPTitle; });
11731
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPDescription", function() { return setRSVPDescription; });
11732
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPCapacity", function() { return setRSVPCapacity; });
11733
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPNotGoingResponses", function() { return setRSVPNotGoingResponses; });
11734
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPStartDate", function() { return setRSVPStartDate; });
11735
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPStartDateInput", function() { return setRSVPStartDateInput; });
11736
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPStartDateMoment", function() { return setRSVPStartDateMoment; });
11737
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPEndDate", function() { return setRSVPEndDate; });
11738
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPEndDateInput", function() { return setRSVPEndDateInput; });
11739
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPEndDateMoment", function() { return setRSVPEndDateMoment; });
11740
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPStartTime", function() { return setRSVPStartTime; });
11741
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPEndTime", function() { return setRSVPEndTime; });
11742
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPStartTimeInput", function() { return setRSVPStartTimeInput; });
11743
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPEndTimeInput", function() { return setRSVPEndTimeInput; });
11744
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempTitle", function() { return setRSVPTempTitle; });
11745
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempDescription", function() { return setRSVPTempDescription; });
11746
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempCapacity", function() { return setRSVPTempCapacity; });
11747
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempNotGoingResponses", function() { return setRSVPTempNotGoingResponses; });
11748
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempStartDate", function() { return setRSVPTempStartDate; });
11749
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempStartDateInput", function() { return setRSVPTempStartDateInput; });
11750
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempStartDateMoment", function() { return setRSVPTempStartDateMoment; });
11751
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempEndDate", function() { return setRSVPTempEndDate; });
11752
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempEndDateInput", function() { return setRSVPTempEndDateInput; });
11753
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempEndDateMoment", function() { return setRSVPTempEndDateMoment; });
11754
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempStartTime", function() { return setRSVPTempStartTime; });
11755
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempEndTime", function() { return setRSVPTempEndTime; });
11756
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempStartTimeInput", function() { return setRSVPTempStartTimeInput; });
11757
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setRSVPTempEndTimeInput", function() { return setRSVPTempEndTimeInput; });
11758
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createRSVP", function() { return createRSVP; });
11759
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "initializeRSVP", function() { return initializeRSVP; });
11760
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deleteRSVP", function() { return deleteRSVP; });
11761
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleRSVPStartDate", function() { return handleRSVPStartDate; });
11762
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleRSVPEndDate", function() { return handleRSVPEndDate; });
11763
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleRSVPStartTime", function() { return handleRSVPStartTime; });
11764
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleRSVPEndTime", function() { return handleRSVPEndTime; });
11765
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fetchRSVPHeaderImage", function() { return fetchRSVPHeaderImage; });
11766
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateRSVPHeaderImage", function() { return updateRSVPHeaderImage; });
11767
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deleteRSVPHeaderImage", function() { return deleteRSVPHeaderImage; });
11768
+ /* harmony import */ var _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
11769
+ /**
11770
+ * Internal dependencies
11771
+ */
11772
 
11773
 
11774
+ //
11775
+ // ─── RSVP ACTIONS ───────────────────────────────────────────────────────────────
11776
+ //
 
 
 
 
 
 
 
 
 
 
 
 
 
11777
 
11778
+ var setRSVPId = function setRSVPId(id) {
11779
+ return {
11780
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_ID,
11781
+ payload: {
11782
+ id: id
11783
+ }
11784
+ };
11785
+ };
11786
 
11787
+ var setRSVPSettingsOpen = function setRSVPSettingsOpen(settingsOpen) {
11788
+ return {
11789
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_SETTINGS_OPEN,
11790
+ payload: {
11791
+ settingsOpen: settingsOpen
11792
+ }
11793
+ };
11794
+ };
11795
 
11796
+ var setRSVPHasChanges = function setRSVPHasChanges(hasChanges) {
11797
+ return {
11798
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_HAS_CHANGES,
11799
+ payload: {
11800
+ hasChanges: hasChanges
11801
+ }
11802
+ };
11803
  };
11804
 
11805
+ var setRSVPIsLoading = function setRSVPIsLoading(isLoading) {
11806
+ return {
11807
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_IS_LOADING,
11808
+ payload: {
11809
+ isLoading: isLoading
11810
+ }
11811
+ };
11812
  };
11813
 
11814
+ var setRSVPIsSettingsLoading = function setRSVPIsSettingsLoading(isSettingsLoading) {
11815
+ return {
11816
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_IS_SETTINGS_LOADING,
11817
+ payload: {
11818
+ isSettingsLoading: isSettingsLoading
11819
+ }
11820
+ };
11821
+ };
11822
 
11823
+ var setRSVPGoingCount = function setRSVPGoingCount(goingCount) {
11824
+ return {
11825
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_GOING_COUNT,
11826
+ payload: {
11827
+ goingCount: goingCount
11828
+ }
11829
+ };
11830
+ };
 
 
 
11831
 
11832
+ var setRSVPNotGoingCount = function setRSVPNotGoingCount(notGoingCount) {
11833
+ return {
11834
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_NOT_GOING_COUNT,
11835
+ payload: {
11836
+ notGoingCount: notGoingCount
11837
+ }
11838
+ };
11839
  };
11840
 
11841
+ var setRSVPDetails = function setRSVPDetails(payload) {
11842
+ return {
11843
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_DETAILS,
11844
+ payload: payload
11845
+ };
11846
+ };
11847
 
11848
+ var setRSVPTempDetails = function setRSVPTempDetails(payload) {
11849
+ return {
11850
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TEMP_DETAILS,
11851
+ payload: payload
11852
+ };
11853
+ };
 
 
 
 
 
 
11854
 
11855
+ var setRSVPHeaderImage = function setRSVPHeaderImage(payload) {
11856
+ return {
11857
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_HEADER_IMAGE,
11858
+ payload: payload
11859
+ };
11860
  };
11861
 
11862
+ //
11863
+ // ─── RSVP DETAILS ACTIONS ───────────────────────────────────────────────────────
11864
+ //
11865
 
11866
+ var setRSVPTitle = function setRSVPTitle(title) {
11867
+ return {
11868
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TITLE,
11869
+ payload: {
11870
+ title: title
11871
+ }
11872
+ };
11873
+ };
11874
 
11875
+ var setRSVPDescription = function setRSVPDescription(description) {
11876
+ return {
11877
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_DESCRIPTION,
11878
+ payload: {
11879
+ description: description
11880
+ }
11881
+ };
11882
+ };
11883
 
11884
+ var setRSVPCapacity = function setRSVPCapacity(capacity) {
11885
+ return {
11886
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_CAPACITY,
11887
+ payload: {
11888
+ capacity: capacity
11889
+ }
11890
+ };
11891
+ };
11892
 
11893
+ var setRSVPNotGoingResponses = function setRSVPNotGoingResponses(notGoingResponses) {
11894
+ return {
11895
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_NOT_GOING_RESPONSES,
11896
+ payload: {
11897
+ notGoingResponses: notGoingResponses
11898
+ }
11899
+ };
11900
+ };
 
 
 
 
 
 
11901
 
11902
+ var setRSVPStartDate = function setRSVPStartDate(startDate) {
11903
+ return {
11904
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_START_DATE,
11905
+ payload: {
11906
+ startDate: startDate
11907
+ }
11908
+ };
11909
+ };
11910
 
11911
+ var setRSVPStartDateInput = function setRSVPStartDateInput(startDateInput) {
11912
+ return {
11913
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_START_DATE_INPUT,
11914
+ payload: {
11915
+ startDateInput: startDateInput
11916
+ }
11917
+ };
11918
+ };
11919
 
11920
+ var setRSVPStartDateMoment = function setRSVPStartDateMoment(startDateMoment) {
11921
+ return {
11922
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_START_DATE_MOMENT,
11923
+ payload: {
11924
+ startDateMoment: startDateMoment
11925
+ }
11926
+ };
11927
+ };
11928
 
11929
+ var setRSVPEndDate = function setRSVPEndDate(endDate) {
11930
+ return {
11931
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_END_DATE,
11932
+ payload: {
11933
+ endDate: endDate
11934
+ }
11935
+ };
11936
+ };
11937
 
11938
+ var setRSVPEndDateInput = function setRSVPEndDateInput(endDateInput) {
11939
+ return {
11940
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_END_DATE_INPUT,
11941
+ payload: {
11942
+ endDateInput: endDateInput
11943
+ }
11944
+ };
11945
+ };
11946
 
11947
+ var setRSVPEndDateMoment = function setRSVPEndDateMoment(endDateMoment) {
11948
+ return {
11949
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_END_DATE_MOMENT,
11950
+ payload: {
11951
+ endDateMoment: endDateMoment
11952
+ }
11953
+ };
11954
+ };
11955
 
11956
+ var setRSVPStartTime = function setRSVPStartTime(startTime) {
11957
+ return {
11958
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_START_TIME,
11959
+ payload: {
11960
+ startTime: startTime
11961
+ }
11962
+ };
11963
+ };
11964
 
11965
+ var setRSVPEndTime = function setRSVPEndTime(endTime) {
11966
+ return {
11967
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_END_TIME,
11968
+ payload: {
11969
+ endTime: endTime
11970
+ }
11971
+ };
11972
+ };
11973
 
11974
+ var setRSVPStartTimeInput = function setRSVPStartTimeInput(startTimeInput) {
11975
+ return {
11976
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_START_TIME_INPUT,
11977
+ payload: {
11978
+ startTimeInput: startTimeInput
11979
+ }
11980
+ };
11981
+ };
11982
 
11983
+ var setRSVPEndTimeInput = function setRSVPEndTimeInput(endTimeInput) {
11984
+ return {
11985
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_END_TIME_INPUT,
11986
+ payload: {
11987
+ endTimeInput: endTimeInput
11988
+ }
11989
+ };
11990
+ };
11991
 
11992
+ //
11993
+ // ─── RSVP TEMP DETAILS ACTIONS ──────────────────────────────────────────────────
11994
+ //
11995
 
11996
+ var setRSVPTempTitle = function setRSVPTempTitle(title) {
11997
+ return {
11998
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TEMP_TITLE,
11999
+ payload: {
12000
+ title: title
12001
+ }
12002
+ };
12003
+ };
12004
 
12005
+ var setRSVPTempDescription = function setRSVPTempDescription(description) {
12006
+ return {
12007
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TEMP_DESCRIPTION,
12008
+ payload: {
12009
+ description: description
12010
+ }
12011
+ };
12012
+ };
12013
+
12014
+ var setRSVPTempCapacity = function setRSVPTempCapacity(capacity) {
12015
+ return {
12016
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TEMP_CAPACITY,
12017
+ payload: {
12018
+ capacity: capacity
12019
+ }
12020
+ };
12021
+ };
12022
+
12023
+ var setRSVPTempNotGoingResponses = function setRSVPTempNotGoingResponses(notGoingResponses) {
12024
+ return {
12025
+ type: _moderntribe_tickets_data_blocks_rsvp__WEBPACK_IMPORTED_MODULE_0__[/* types */ "f"].SET_RSVP_TEMP_NOT_GOING_RESPONSES,
12026
+ payload: {
12027
+ notGoingResponses: notGoingResponses
12028
+ }
12029
+ };
12030
+ };
12031
+
12032
+ var setRSVPTempStartDate = function setRSVPTempStartDate(startDate) {
12033
+ return {
12034
+ type: _moderntrib