The Events Calendar - Version 4.9.9

Version Description

Download this release

Release Info

Developer bordoni
Plugin Icon The Events Calendar
Version 4.9.9
Comparing to
See all releases

Code changes from version 4.9.8 to 4.9.9

Files changed (174) hide show
  1. common/lang/tribe-common-af.mo +0 -0
  2. common/lang/tribe-common-bg_BG.mo +0 -0
  3. common/lang/tribe-common-ca.mo +0 -0
  4. common/lang/tribe-common-cs_CZ.mo +0 -0
  5. common/lang/tribe-common-da_DK.mo +0 -0
  6. common/lang/tribe-common-de_DE.mo +0 -0
  7. common/lang/tribe-common-el.mo +0 -0
  8. common/lang/tribe-common-en_GB.mo +0 -0
  9. common/lang/tribe-common-es_ES.mo +0 -0
  10. common/lang/tribe-common-et.mo +0 -0
  11. common/lang/tribe-common-fi.mo +0 -0
  12. common/lang/tribe-common-fr_CA.mo +0 -0
  13. common/lang/tribe-common-fr_FR.mo +0 -0
  14. common/lang/tribe-common-hu_HU.mo +0 -0
  15. common/lang/tribe-common-id_ID.mo +0 -0
  16. common/lang/tribe-common-is_IS.mo +0 -0
  17. common/lang/tribe-common-it_IT.mo +0 -0
  18. common/lang/tribe-common-ja.mo +0 -0
  19. common/lang/tribe-common-lt_LT.mo +0 -0
  20. common/lang/tribe-common-lv.mo +0 -0
  21. common/lang/tribe-common-nb_NO.mo +0 -0
  22. common/lang/tribe-common-nl_NL.mo +0 -0
  23. common/lang/tribe-common-pl_PL.mo +0 -0
  24. common/lang/tribe-common-pt_BR.mo +0 -0
  25. common/lang/tribe-common-pt_PT.mo +0 -0
  26. common/lang/tribe-common-ro_RO.mo +0 -0
  27. common/lang/tribe-common-ru_RU.mo +0 -0
  28. common/lang/tribe-common-sk_SK.mo +0 -0
  29. common/lang/tribe-common-sl_SI.mo +0 -0
  30. common/lang/tribe-common-sr_RS.mo +0 -0
  31. common/lang/tribe-common-sv_SE.mo +0 -0
  32. common/lang/tribe-common-tr_TR.mo +0 -0
  33. common/lang/tribe-common-zh_CN.mo +0 -0
  34. common/lang/tribe-common-zh_TW.mo +0 -0
  35. common/lang/tribe-common.pot +56 -57
  36. common/src/Tribe/Abstract_Plugin_Register.php +30 -8
  37. common/src/Tribe/Admin/Notice/Plugin_Download.php +25 -7
  38. common/src/Tribe/Assets.php +33 -31
  39. common/src/Tribe/Context.php +40 -0
  40. common/src/Tribe/Context/locations.php +7 -0
  41. common/src/Tribe/Dependency.php +11 -28
  42. common/src/Tribe/Languages/Locations.php +1 -1
  43. common/src/Tribe/Main.php +1 -1
  44. common/src/Tribe/Models/Post_Types/Base.php +201 -0
  45. common/src/Tribe/Models/Post_Types/Nothing.php +44 -0
  46. common/src/Tribe/PUE/Checker.php +84 -82
  47. common/src/Tribe/Plugins.php +36 -36
  48. common/src/Tribe/Repository.php +9 -1
  49. common/src/Tribe/Rewrite.php +16 -4
  50. common/src/Tribe/Settings.php +44 -38
  51. common/src/Tribe/Settings_Manager.php +3 -0
  52. common/src/Tribe/Support.php +3 -3
  53. common/src/Tribe/Validate.php +6 -58
  54. common/src/admin-views/tribe-options-general.php +33 -30
  55. common/src/functions/template-tags/general.php +27 -21
  56. common/src/functions/utils.php +46 -8
  57. common/src/resources/css/common.css +109 -1
  58. common/src/resources/css/common.min.css +1 -1
  59. common/src/resources/css/tribe-common-admin.css +42 -44
  60. common/src/resources/css/tribe-common-admin.min.css +1 -1
  61. common/src/resources/postcss/base/_buttons.pcss +21 -0
  62. common/src/resources/postcss/base/typography/_body.pcss +20 -0
  63. common/src/resources/postcss/base/typography/_ctas.pcss +6 -1
  64. common/src/resources/postcss/components/buttons/_border.pcss +20 -0
  65. common/src/resources/postcss/components/buttons/_icon.pcss +20 -0
  66. common/src/resources/postcss/components/buttons/_solid.pcss +22 -0
  67. common/src/resources/postcss/tribe-common-admin.pcss +146 -76
  68. common/src/resources/postcss/utilities/README.md +55 -28
  69. common/src/resources/postcss/utilities/mixins/_typography.pcss +17 -0
  70. common/src/resources/postcss/utilities/variables/_colors.pcss +2 -0
  71. common/src/resources/postcss/utilities/variables/_svgs.pcss +21 -0
  72. common/src/resources/postcss/utilities/variables/_z-index.pcss +1 -0
  73. common/vendor/autoload.php +1 -1
  74. common/vendor/autoload_52.php +1 -1
  75. common/vendor/composer/autoload_classmap.php +2 -0
  76. common/vendor/composer/autoload_real.php +4 -4
  77. common/vendor/composer/autoload_real_52.php +3 -3
  78. common/vendor/composer/autoload_static.php +7 -5
  79. lang/the-events-calendar-cs_CZ.mo +0 -0
  80. lang/the-events-calendar-de_DE.mo +0 -0
  81. lang/the-events-calendar-el.mo +0 -0
  82. lang/the-events-calendar-he_IL.mo +0 -0
  83. lang/the-events-calendar-ja.mo +0 -0
  84. lang/the-events-calendar-nl_NL.mo +0 -0
  85. lang/the-events-calendar-sq.mo +0 -0
  86. lang/the-events-calendar.pot +24 -30
  87. readme.txt +8 -1
  88. src/Tribe/Integrations/Freemius.php +1 -1
  89. src/Tribe/Main.php +1 -1
  90. src/Tribe/Models/Post_Types/Event.php +184 -0
  91. src/Tribe/Models/Post_Types/Venue.php +59 -0
  92. src/Tribe/Query.php +9 -5
  93. src/Tribe/Venue.php +3 -1
  94. src/Tribe/Views/V2/Assets.php +3 -3
  95. src/Tribe/Views/V2/Query/Abstract_Query_Controller.php +1 -1
  96. src/Tribe/Views/V2/Template_Bootstrap.php +10 -0
  97. src/Tribe/Views/V2/Url.php +38 -18
  98. src/Tribe/Views/V2/Utils/Stack.php +56 -73
  99. src/Tribe/Views/V2/View.php +71 -1
  100. src/Tribe/Views/V2/Views/By_Day_View.php +68 -1
  101. src/Tribe/Views/V2/Views/Month_View.php +93 -177
  102. src/Tribe/iCal.php +2 -2
  103. src/functions/template-tags/event.php +6 -149
  104. src/functions/template-tags/general.php +14 -13
  105. src/functions/template-tags/venue.php +77 -4
  106. src/resources/css/{views/tribe-events-v2.css → views-full.css} +221 -64
  107. src/resources/css/views-full.min.css +1 -0
  108. src/resources/js/app/blocks.js +1 -7
  109. src/resources/js/app/blocks.min.js +1 -1
  110. src/resources/js/app/elements.js +1 -7
  111. src/resources/js/app/elements.min.js +1 -1
  112. src/resources/js/views/datepicker.js +1 -1
  113. src/resources/js/views/month-grid.js +0 -13
  114. src/resources/js/views/month-mobile-events.js +1 -1
  115. src/resources/js/views/multiday-events.js +40 -7
  116. src/resources/js/views/tooltip.js +29 -2
  117. src/resources/postcss/components/_datepicker.pcss +14 -0
  118. src/resources/postcss/components/_small-cta.pcss +14 -4
  119. src/resources/postcss/utilities/README.md +55 -28
  120. src/resources/postcss/utilities/mixins/_typography.pcss +17 -0
  121. src/resources/postcss/utilities/variables/_colors.pcss +2 -0
  122. src/resources/postcss/utilities/variables/_svgs.pcss +21 -0
  123. src/resources/postcss/utilities/variables/_z-index.pcss +1 -0
  124. src/resources/postcss/{views/tribe-events-v2.pcss → views-full.pcss} +4 -4
  125. src/resources/postcss/views/day/_event.pcss +60 -10
  126. src/resources/postcss/views/list/_event.pcss +33 -13
  127. src/resources/postcss/views/month/_calendar-event.pcss +48 -7
  128. src/resources/postcss/views/month/_day.pcss +27 -0
  129. src/resources/postcss/views/month/_mobile-events.pcss +19 -11
  130. src/views/v2/day.php +2 -2
  131. src/views/v2/day/event.php +9 -7
  132. src/views/v2/day/event/cost.php +27 -0
  133. src/views/v2/day/event/date.php +16 -9
  134. src/views/v2/day/event/date/meta.php +18 -0
  135. src/views/v2/day/event/description.php +5 -3
  136. src/views/v2/day/event/featured-image.php +10 -8
  137. src/views/v2/day/event/title.php +8 -6
  138. src/views/v2/day/event/venue.php +6 -4
  139. src/views/v2/day/time-separator.php +1 -2
  140. src/views/v2/list.php +2 -2
  141. src/views/v2/list/event.php +11 -8
  142. src/views/v2/list/event/cost.php +27 -0
  143. src/views/v2/list/event/date-tag.php +8 -5
  144. src/views/v2/list/event/date.php +14 -10
  145. src/views/v2/list/event/date/meta.php +18 -0
  146. src/views/v2/list/event/description.php +5 -3
  147. src/views/v2/list/event/featured-image.php +10 -8
  148. src/views/v2/list/event/title.php +8 -6
  149. src/views/v2/list/event/venue.php +6 -4
  150. src/views/v2/list/month-separator.php +3 -5
  151. src/views/v2/month/calendar-body/day.php +4 -4
  152. src/views/v2/month/calendar-body/day/calendar-events/calendar-event.php +3 -3
  153. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php +2 -11
  154. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date/meta.php +13 -0
  155. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/featured-image.php +2 -4
  156. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/title.php +1 -1
  157. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip.php +2 -2
  158. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/{cta.php → cost.php} +5 -13
  159. src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image.php +5 -5
  160. src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php +1 -1
  161. src/views/v2/month/mobile-events.php +2 -2
  162. src/views/v2/month/mobile-events/mobile-day.php +3 -1
  163. src/views/v2/month/mobile-events/mobile-day/mobile-event.php +7 -4
  164. src/views/v2/month/mobile-events/mobile-day/mobile-event/{cta.php → cost.php} +8 -7
  165. src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php +21 -19
  166. src/views/v2/month/mobile-events/mobile-day/mobile-event/date/meta.php +17 -0
  167. src/views/v2/month/mobile-events/mobile-day/mobile-event/featured-image.php +6 -5
  168. src/views/v2/month/mobile-events/mobile-day/mobile-event/title.php +4 -10
  169. src/views/v2/month/nav.php +5 -5
  170. the-events-calendar.php +1 -1
  171. vendor/autoload.php +1 -1
  172. vendor/composer/autoload_classmap.php +28 -24
  173. vendor/composer/autoload_real.php +4 -4
  174. vendor/composer/autoload_static.php +32 -28
common/lang/tribe-common-af.mo CHANGED
Binary file
common/lang/tribe-common-bg_BG.mo CHANGED
Binary file
common/lang/tribe-common-ca.mo CHANGED
Binary file
common/lang/tribe-common-cs_CZ.mo CHANGED
Binary file
common/lang/tribe-common-da_DK.mo CHANGED
Binary file
common/lang/tribe-common-de_DE.mo CHANGED
Binary file
common/lang/tribe-common-el.mo CHANGED
Binary file
common/lang/tribe-common-en_GB.mo CHANGED
Binary file
common/lang/tribe-common-es_ES.mo CHANGED
Binary file
common/lang/tribe-common-et.mo CHANGED
Binary file
common/lang/tribe-common-fi.mo CHANGED
Binary file
common/lang/tribe-common-fr_CA.mo CHANGED
Binary file
common/lang/tribe-common-fr_FR.mo CHANGED
Binary file
common/lang/tribe-common-hu_HU.mo CHANGED
Binary file
common/lang/tribe-common-id_ID.mo CHANGED
Binary file
common/lang/tribe-common-is_IS.mo CHANGED
Binary file
common/lang/tribe-common-it_IT.mo CHANGED
Binary file
common/lang/tribe-common-ja.mo CHANGED
Binary file
common/lang/tribe-common-lt_LT.mo CHANGED
Binary file
common/lang/tribe-common-lv.mo CHANGED
Binary file
common/lang/tribe-common-nb_NO.mo CHANGED
Binary file
common/lang/tribe-common-nl_NL.mo CHANGED
Binary file
common/lang/tribe-common-pl_PL.mo CHANGED
Binary file
common/lang/tribe-common-pt_BR.mo CHANGED
Binary file
common/lang/tribe-common-pt_PT.mo CHANGED
Binary file
common/lang/tribe-common-ro_RO.mo CHANGED
Binary file
common/lang/tribe-common-ru_RU.mo CHANGED
Binary file
common/lang/tribe-common-sk_SK.mo CHANGED
Binary file
common/lang/tribe-common-sl_SI.mo CHANGED
Binary file
common/lang/tribe-common-sr_RS.mo CHANGED
Binary file
common/lang/tribe-common-sv_SE.mo CHANGED
Binary file
common/lang/tribe-common-tr_TR.mo CHANGED
Binary file
common/lang/tribe-common-zh_CN.mo CHANGED
Binary file
common/lang/tribe-common-zh_TW.mo CHANGED
Binary file
common/lang/tribe-common.pot CHANGED
@@ -2,13 +2,13 @@
2
  # This file is distributed under the same license as the Tribe Common package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Tribe Common 4.9.15.1\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
- "POT-Creation-Date: 2019-08-30 19:44:26+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-08-30 19:44\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
@@ -173,13 +173,13 @@ msgid "Visit the Add-on Page"
173
  msgstr ""
174
 
175
  #: src/Tribe/Admin/Notice/Php_Version.php:59
176
- #: src/Tribe/Admin/Notice/Plugin_Download.php:137
177
  msgctxt "separator used in a list of items"
178
  msgid ", "
179
  msgstr ""
180
 
181
  #: src/Tribe/Admin/Notice/Php_Version.php:60
182
- #: src/Tribe/Admin/Notice/Plugin_Download.php:138
183
  msgctxt "the final separator in a list of two or more items"
184
  msgid " and "
185
  msgstr ""
@@ -198,16 +198,15 @@ msgid ""
198
  "recommend using PHP 5.6 or above."
199
  msgstr ""
200
 
201
- #: src/Tribe/Admin/Notice/Plugin_Download.php:112
202
- msgid ""
203
- "To begin using %2$s, please install and activate the latest version of %3$s."
204
  msgstr ""
205
 
206
- #: src/Tribe/Admin/Notice/Plugin_Download.php:114
207
  msgid "Read more."
208
  msgstr ""
209
 
210
- #: src/Tribe/Admin/Notice/Plugin_Download.php:115
211
  msgid ""
212
  "There’s a new version of %1$s available, but your license is expired. You’ll "
213
  "need to renew your license to get access to the latest version. If you plan "
@@ -1831,39 +1830,39 @@ msgstr ""
1831
  msgid " (opens in a new window)"
1832
  msgstr ""
1833
 
1834
- #: src/Tribe/PUE/Checker.php:987
1835
  msgid "Please refresh the page and try your request again."
1836
  msgstr ""
1837
 
1838
- #: src/Tribe/PUE/Checker.php:1008
1839
  msgid ""
1840
  "There is an update for %s. You'll need to %scheck your license%s to have "
1841
  "access to updates, downloads, and support."
1842
  msgstr ""
1843
 
1844
- #: src/Tribe/PUE/Checker.php:1065
1845
  msgid ""
1846
  "There is an update for %s. %sRenew your license%s to get access to bug "
1847
  "fixes, security updates, and new features."
1848
  msgstr ""
1849
 
1850
- #: src/Tribe/PUE/Checker.php:1095
1851
  msgid "Update now to version %s."
1852
  msgstr ""
1853
 
1854
- #: src/Tribe/PUE/Checker.php:1106
1855
  msgid "There is a new version of %1$s available. %2$s"
1856
  msgstr ""
1857
 
1858
- #: src/Tribe/PUE/Checker.php:1686
1859
  msgid "A valid license has been entered by your network administrator."
1860
  msgstr ""
1861
 
1862
- #: src/Tribe/PUE/Checker.php:1687
1863
  msgid "No license entered. Consult your network administrator."
1864
  msgstr ""
1865
 
1866
- #: src/Tribe/PUE/Checker.php:1688
1867
  msgid "Expired license. Consult your network administrator."
1868
  msgstr ""
1869
 
@@ -2052,39 +2051,39 @@ msgstr ""
2052
  msgid "Events Help"
2053
  msgstr ""
2054
 
2055
- #: src/Tribe/Settings.php:349
2056
  msgid "%s Settings"
2057
  msgstr ""
2058
 
2059
- #: src/Tribe/Settings.php:363
2060
  msgid "You've requested a non-existent tab."
2061
  msgstr ""
2062
 
2063
- #: src/Tribe/Settings.php:371
2064
  msgid "Save Changes"
2065
  msgstr ""
2066
 
2067
- #: src/Tribe/Settings.php:419
2068
  msgid "You don't have permission to do that."
2069
  msgstr ""
2070
 
2071
- #: src/Tribe/Settings.php:425
2072
  msgid "The request was sent insecurely."
2073
  msgstr ""
2074
 
2075
- #: src/Tribe/Settings.php:431
2076
  msgid "The request wasn't sent from this tab."
2077
  msgstr ""
2078
 
2079
- #: src/Tribe/Settings.php:608
2080
  msgid "Your form had the following errors:"
2081
  msgstr ""
2082
 
2083
- #: src/Tribe/Settings.php:618
2084
  msgid "None of your settings were saved. Please try again."
2085
  msgstr ""
2086
 
2087
- #: src/Tribe/Settings.php:619
2088
  msgid ""
2089
  "The above setting was not saved. Other settings were successfully saved."
2090
  msgid_plural ""
@@ -2092,28 +2091,28 @@ msgid_plural ""
2092
  msgstr[0] ""
2093
  msgstr[1] ""
2094
 
2095
- #: src/Tribe/Settings.php:641
2096
  msgid "Settings saved."
2097
  msgstr ""
2098
 
2099
- #: src/Tribe/Settings_Manager.php:54
2100
  msgid "General"
2101
  msgstr ""
2102
 
2103
- #: src/Tribe/Settings_Manager.php:55
2104
  msgid "Display"
2105
  msgstr ""
2106
 
2107
- #: src/Tribe/Settings_Manager.php:219
2108
  msgid "Network"
2109
  msgstr ""
2110
 
2111
- #: src/Tribe/Settings_Manager.php:253
2112
  #: src/admin-views/tribe-options-licenses.php:57
2113
  msgid "Licenses"
2114
  msgstr ""
2115
 
2116
- #: src/Tribe/Settings_Manager.php:283
2117
  msgid "Help"
2118
  msgstr ""
2119
 
@@ -2208,93 +2207,93 @@ msgctxt "non-existant function name passed for field validation"
2208
  msgid "with function name:"
2209
  msgstr ""
2210
 
2211
- #: src/Tribe/Validate.php:120 src/Tribe/Validate.php:136
2212
  msgid "%s must contain numbers and letters only"
2213
  msgstr ""
2214
 
2215
- #: src/Tribe/Validate.php:152
2216
  msgid "%s must contain numbers, letters and dots only"
2217
  msgstr ""
2218
 
2219
- #: src/Tribe/Validate.php:168
2220
  msgid "%s must contain numbers, letters, dashes and undescores only"
2221
  msgstr ""
2222
 
2223
- #: src/Tribe/Validate.php:184
2224
  msgid "%s must not be empty"
2225
  msgstr ""
2226
 
2227
- #: src/Tribe/Validate.php:200 src/Tribe/Validate.php:228
2228
  msgid "%s must be a positive number."
2229
  msgstr ""
2230
 
2231
- #: src/Tribe/Validate.php:214
2232
  msgid "%s must be a positive number or percent."
2233
  msgstr ""
2234
 
2235
- #: src/Tribe/Validate.php:248
2236
  msgid "%s must be a whole number."
2237
  msgstr ""
2238
 
2239
- #: src/Tribe/Validate.php:267
2240
  msgid "%s must be a valid slug (numbers, letters, dashes, and underscores)."
2241
  msgstr ""
2242
 
2243
- #: src/Tribe/Validate.php:282
2244
- msgid "%s must be a valid absolute URL."
2245
  msgstr ""
2246
 
2247
- #: src/Tribe/Validate.php:298 src/Tribe/Validate.php:310
2248
- #: src/Tribe/Validate.php:323 src/Tribe/Validate.php:345
2249
  msgid "%s must have a value that's part of its options."
2250
  msgstr ""
2251
 
2252
- #: src/Tribe/Validate.php:359
2253
  msgid ""
2254
  "Comparison validation failed because no comparison value was provided, for "
2255
  "field %s"
2256
  msgstr ""
2257
 
2258
- #: src/Tribe/Validate.php:366
2259
  msgid "%s cannot be the same as %s."
2260
  msgstr ""
2261
 
2262
- #: src/Tribe/Validate.php:368
2263
  msgid "%s cannot be a duplicate"
2264
  msgstr ""
2265
 
2266
- #: src/Tribe/Validate.php:384
2267
  msgid "%s must be a number or percentage."
2268
  msgstr ""
2269
 
2270
- #: src/Tribe/Validate.php:438
2271
  msgid "%s must be a number between 0 and 21."
2272
  msgstr ""
2273
 
2274
- #: src/Tribe/Validate.php:454
2275
  msgid ""
2276
  "%s must consist of letters, numbers, dashes, apostrophes, and spaces only."
2277
  msgstr ""
2278
 
2279
- #: src/Tribe/Validate.php:470
2280
  msgid "%s must consist of letters, spaces, apostrophes, and dashes."
2281
  msgstr ""
2282
 
2283
- #: src/Tribe/Validate.php:484
2284
  msgid "%s must consist of 5 numbers."
2285
  msgstr ""
2286
 
2287
- #: src/Tribe/Validate.php:498
2288
  msgid "%s must be a phone number."
2289
  msgstr ""
2290
 
2291
- #: src/Tribe/Validate.php:514
2292
  msgid ""
2293
  "Country List must be formatted as one country per line in the following "
2294
  "format: <br>US, United States <br> UK, United Kingdom."
2295
  msgstr ""
2296
 
2297
- #: src/Tribe/Validate.php:545
2298
  msgid "%s must be an email address."
2299
  msgstr ""
2300
 
@@ -2410,7 +2409,7 @@ msgstr ""
2410
  msgid "Debug mode"
2411
  msgstr ""
2412
 
2413
- #: src/admin-views/tribe-options-general.php:59
2414
  msgid ""
2415
  "Enable this option to log debug information. By default this will log to "
2416
  "your server PHP error log. If you'd like to see the log messages in your "
2
  # This file is distributed under the same license as the Tribe Common package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Tribe Common 4.9.17\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
+ "POT-Creation-Date: 2019-09-08 14:53:37+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-09-08 14:53\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
173
  msgstr ""
174
 
175
  #: src/Tribe/Admin/Notice/Php_Version.php:59
176
+ #: src/Tribe/Admin/Notice/Plugin_Download.php:149
177
  msgctxt "separator used in a list of items"
178
  msgid ", "
179
  msgstr ""
180
 
181
  #: src/Tribe/Admin/Notice/Php_Version.php:60
182
+ #: src/Tribe/Admin/Notice/Plugin_Download.php:150
183
  msgctxt "the final separator in a list of two or more items"
184
  msgid " and "
185
  msgstr ""
198
  "recommend using PHP 5.6 or above."
199
  msgstr ""
200
 
201
+ #: src/Tribe/Admin/Notice/Plugin_Download.php:122
202
+ msgid "To begin using %2$s, please install and activate %3$s."
 
203
  msgstr ""
204
 
205
+ #: src/Tribe/Admin/Notice/Plugin_Download.php:124
206
  msgid "Read more."
207
  msgstr ""
208
 
209
+ #: src/Tribe/Admin/Notice/Plugin_Download.php:125
210
  msgid ""
211
  "There’s a new version of %1$s available, but your license is expired. You’ll "
212
  "need to renew your license to get access to the latest version. If you plan "
1830
  msgid " (opens in a new window)"
1831
  msgstr ""
1832
 
1833
+ #: src/Tribe/PUE/Checker.php:989
1834
  msgid "Please refresh the page and try your request again."
1835
  msgstr ""
1836
 
1837
+ #: src/Tribe/PUE/Checker.php:1009
1838
  msgid ""
1839
  "There is an update for %s. You'll need to %scheck your license%s to have "
1840
  "access to updates, downloads, and support."
1841
  msgstr ""
1842
 
1843
+ #: src/Tribe/PUE/Checker.php:1066
1844
  msgid ""
1845
  "There is an update for %s. %sRenew your license%s to get access to bug "
1846
  "fixes, security updates, and new features."
1847
  msgstr ""
1848
 
1849
+ #: src/Tribe/PUE/Checker.php:1096
1850
  msgid "Update now to version %s."
1851
  msgstr ""
1852
 
1853
+ #: src/Tribe/PUE/Checker.php:1107
1854
  msgid "There is a new version of %1$s available. %2$s"
1855
  msgstr ""
1856
 
1857
+ #: src/Tribe/PUE/Checker.php:1688
1858
  msgid "A valid license has been entered by your network administrator."
1859
  msgstr ""
1860
 
1861
+ #: src/Tribe/PUE/Checker.php:1689
1862
  msgid "No license entered. Consult your network administrator."
1863
  msgstr ""
1864
 
1865
+ #: src/Tribe/PUE/Checker.php:1690
1866
  msgid "Expired license. Consult your network administrator."
1867
  msgstr ""
1868
 
2051
  msgid "Events Help"
2052
  msgstr ""
2053
 
2054
+ #: src/Tribe/Settings.php:355
2055
  msgid "%s Settings"
2056
  msgstr ""
2057
 
2058
+ #: src/Tribe/Settings.php:369
2059
  msgid "You've requested a non-existent tab."
2060
  msgstr ""
2061
 
2062
+ #: src/Tribe/Settings.php:377
2063
  msgid "Save Changes"
2064
  msgstr ""
2065
 
2066
+ #: src/Tribe/Settings.php:425
2067
  msgid "You don't have permission to do that."
2068
  msgstr ""
2069
 
2070
+ #: src/Tribe/Settings.php:431
2071
  msgid "The request was sent insecurely."
2072
  msgstr ""
2073
 
2074
+ #: src/Tribe/Settings.php:437
2075
  msgid "The request wasn't sent from this tab."
2076
  msgstr ""
2077
 
2078
+ #: src/Tribe/Settings.php:614
2079
  msgid "Your form had the following errors:"
2080
  msgstr ""
2081
 
2082
+ #: src/Tribe/Settings.php:624
2083
  msgid "None of your settings were saved. Please try again."
2084
  msgstr ""
2085
 
2086
+ #: src/Tribe/Settings.php:625
2087
  msgid ""
2088
  "The above setting was not saved. Other settings were successfully saved."
2089
  msgid_plural ""
2091
  msgstr[0] ""
2092
  msgstr[1] ""
2093
 
2094
+ #: src/Tribe/Settings.php:647
2095
  msgid "Settings saved."
2096
  msgstr ""
2097
 
2098
+ #: src/Tribe/Settings_Manager.php:57
2099
  msgid "General"
2100
  msgstr ""
2101
 
2102
+ #: src/Tribe/Settings_Manager.php:58
2103
  msgid "Display"
2104
  msgstr ""
2105
 
2106
+ #: src/Tribe/Settings_Manager.php:222
2107
  msgid "Network"
2108
  msgstr ""
2109
 
2110
+ #: src/Tribe/Settings_Manager.php:256
2111
  #: src/admin-views/tribe-options-licenses.php:57
2112
  msgid "Licenses"
2113
  msgstr ""
2114
 
2115
+ #: src/Tribe/Settings_Manager.php:286
2116
  msgid "Help"
2117
  msgstr ""
2118
 
2207
  msgid "with function name:"
2208
  msgstr ""
2209
 
2210
+ #: src/Tribe/Validate.php:118 src/Tribe/Validate.php:132
2211
  msgid "%s must contain numbers and letters only"
2212
  msgstr ""
2213
 
2214
+ #: src/Tribe/Validate.php:146
2215
  msgid "%s must contain numbers, letters and dots only"
2216
  msgstr ""
2217
 
2218
+ #: src/Tribe/Validate.php:160
2219
  msgid "%s must contain numbers, letters, dashes and undescores only"
2220
  msgstr ""
2221
 
2222
+ #: src/Tribe/Validate.php:174
2223
  msgid "%s must not be empty"
2224
  msgstr ""
2225
 
2226
+ #: src/Tribe/Validate.php:188 src/Tribe/Validate.php:212
2227
  msgid "%s must be a positive number."
2228
  msgstr ""
2229
 
2230
+ #: src/Tribe/Validate.php:200
2231
  msgid "%s must be a positive number or percent."
2232
  msgstr ""
2233
 
2234
+ #: src/Tribe/Validate.php:230
2235
  msgid "%s must be a whole number."
2236
  msgstr ""
2237
 
2238
+ #: src/Tribe/Validate.php:247
2239
  msgid "%s must be a valid slug (numbers, letters, dashes, and underscores)."
2240
  msgstr ""
2241
 
2242
+ #: src/Tribe/Validate.php:260
2243
+ msgid "%s must be a valid URL."
2244
  msgstr ""
2245
 
2246
+ #: src/Tribe/Validate.php:274 src/Tribe/Validate.php:286
2247
+ #: src/Tribe/Validate.php:299 src/Tribe/Validate.php:319
2248
  msgid "%s must have a value that's part of its options."
2249
  msgstr ""
2250
 
2251
+ #: src/Tribe/Validate.php:331
2252
  msgid ""
2253
  "Comparison validation failed because no comparison value was provided, for "
2254
  "field %s"
2255
  msgstr ""
2256
 
2257
+ #: src/Tribe/Validate.php:338
2258
  msgid "%s cannot be the same as %s."
2259
  msgstr ""
2260
 
2261
+ #: src/Tribe/Validate.php:340
2262
  msgid "%s cannot be a duplicate"
2263
  msgstr ""
2264
 
2265
+ #: src/Tribe/Validate.php:354
2266
  msgid "%s must be a number or percentage."
2267
  msgstr ""
2268
 
2269
+ #: src/Tribe/Validate.php:398
2270
  msgid "%s must be a number between 0 and 21."
2271
  msgstr ""
2272
 
2273
+ #: src/Tribe/Validate.php:412
2274
  msgid ""
2275
  "%s must consist of letters, numbers, dashes, apostrophes, and spaces only."
2276
  msgstr ""
2277
 
2278
+ #: src/Tribe/Validate.php:426
2279
  msgid "%s must consist of letters, spaces, apostrophes, and dashes."
2280
  msgstr ""
2281
 
2282
+ #: src/Tribe/Validate.php:438
2283
  msgid "%s must consist of 5 numbers."
2284
  msgstr ""
2285
 
2286
+ #: src/Tribe/Validate.php:450
2287
  msgid "%s must be a phone number."
2288
  msgstr ""
2289
 
2290
+ #: src/Tribe/Validate.php:464
2291
  msgid ""
2292
  "Country List must be formatted as one country per line in the following "
2293
  "format: <br>US, United States <br> UK, United Kingdom."
2294
  msgstr ""
2295
 
2296
+ #: src/Tribe/Validate.php:493
2297
  msgid "%s must be an email address."
2298
  msgstr ""
2299
 
2409
  msgid "Debug mode"
2410
  msgstr ""
2411
 
2412
+ #: src/admin-views/tribe-options-general.php:55
2413
  msgid ""
2414
  "Enable this option to log debug information. By default this will log to "
2415
  "your server PHP error log. If you'd like to see the log messages in your "
common/src/Tribe/Abstract_Plugin_Register.php CHANGED
@@ -17,23 +17,42 @@ abstract class Tribe__Abstract_Plugin_Register {
17
  * @var string
18
  */
19
  protected $base_dir;
 
 
 
 
20
  protected $main_class;
 
 
 
 
21
  protected $version;
22
- protected $dependencies = array(
23
- 'parent-dependencies' => array(),
24
- 'co-dependencies' => array(),
25
- 'addon-dependencies' => array(),
26
- );
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  /**
29
  * Registers a plugin with dependencies
30
  */
31
  public function register_plugin() {
32
- return tribe_register_plugin(
33
  $this->base_dir,
34
  $this->main_class,
35
  $this->version,
36
- array(),
37
  $this->dependencies
38
  );
39
  }
@@ -43,8 +62,11 @@ abstract class Tribe__Abstract_Plugin_Register {
43
  *
44
  * This is basically an aliased function - register_plugins, upon
45
  * second calling, returns whether or not a plugin should load.
 
 
 
46
  */
47
  public function has_valid_dependencies() {
48
- return $this->register_plugin();
49
  }
50
  }
17
  * @var string
18
  */
19
  protected $base_dir;
20
+
21
+ /**
22
+ * @var string
23
+ */
24
  protected $main_class;
25
+
26
+ /**
27
+ * @var string
28
+ */
29
  protected $version;
30
+
31
+ /**
32
+ * @since 4.9.17
33
+ *
34
+ * @var array
35
+ */
36
+ protected $classes_req = [];
37
+
38
+ /**
39
+ * @var array
40
+ */
41
+ protected $dependencies = [
42
+ 'parent-dependencies' => [],
43
+ 'co-dependencies' => [],
44
+ 'addon-dependencies' => [],
45
+ ];
46
 
47
  /**
48
  * Registers a plugin with dependencies
49
  */
50
  public function register_plugin() {
51
+ tribe_register_plugin(
52
  $this->base_dir,
53
  $this->main_class,
54
  $this->version,
55
+ $this->classes_req,
56
  $this->dependencies
57
  );
58
  }
62
  *
63
  * This is basically an aliased function - register_plugins, upon
64
  * second calling, returns whether or not a plugin should load.
65
+ *
66
+ * @deprecated since 4.9.17 It is unused by any Tribe plugins and returned void.
67
+ * @todo remove in 4.11
68
  */
69
  public function has_valid_dependencies() {
70
+ _deprecated_function( __METHOD__, '4.9.17' );
71
  }
72
  }
common/src/Tribe/Admin/Notice/Plugin_Download.php CHANGED
@@ -27,6 +27,7 @@ class Tribe__Admin__Notice__Plugin_Download {
27
  * @since 4.8.3 Method introduced.
28
  * @since 4.9 Added $version and $addon parameters.
29
  * @since 4.9.12 Add $has_pue_notice param
 
30
  *
31
  * @param string $name Name of the required plugin
32
  * @param null $thickbox_url Download or purchase URL for plugin from within /wp-admin/ thickbox
@@ -36,18 +37,22 @@ class Tribe__Admin__Notice__Plugin_Download {
36
  * @param bool $has_pue_notice Indicates that we need to change the messaging due to expired key.
37
  */
38
  public function add_required_plugin( $name, $thickbox_url = null, $is_active = null, $version = null, $addon = false, $has_pue_notice = false ) {
39
- $this->plugins_required[ $name ] = array(
40
  'name' => $name,
41
  'thickbox_url' => $thickbox_url,
42
  'is_active' => $is_active,
43
- 'version' => $version,
44
  'addon' => $addon,
45
  'has_pue_notice' => $has_pue_notice,
46
- );
47
  }
48
 
49
  /**
50
  * Echoes the admin notice, attach to admin_notices
 
 
 
 
51
  */
52
  public function show_inactive_plugins_alert() {
53
  if ( ! current_user_can( 'activate_plugins' ) ) {
@@ -61,6 +66,11 @@ class Tribe__Admin__Notice__Plugin_Download {
61
  return;
62
  }
63
 
 
 
 
 
 
64
  $has_pue_notices = false;
65
 
66
  foreach ( $this->plugins_required as $req_plugin ) {
@@ -109,7 +119,7 @@ class Tribe__Admin__Notice__Plugin_Download {
109
  $plugin_names_clean_text = wp_kses( $this->implode_with_grammar( $plugin_name ), $allowed_html );
110
  $req_plugin_names_clean_text = wp_kses( $this->implode_with_grammar( $req_plugins ), $allowed_html );
111
 
112
- $notice_html_content = '<p>' . esc_html__( 'To begin using %2$s, please install and activate the latest version of %3$s.', 'tribe-common' ) . '</p>';
113
 
114
  $read_more_link = '<a href="http://m.tri.be/1aev" target="_blank">' . esc_html__( 'Read more.', 'tribe-common' ) . '</a>';
115
  $pue_notice_text = esc_html__( 'There’s a new version of %1$s available, but your license is expired. You’ll need to renew your license to get access to the latest version. If you plan to continue using your current version of the plugin(s), be sure to use a compatible version of The Events Calendar. %2$s', 'tribe-common' );
@@ -127,7 +137,9 @@ class Tribe__Admin__Notice__Plugin_Download {
127
  }
128
 
129
  /**
130
- * Implodes a list items using 'and' as the final separator and a comma everywhere else
 
 
131
  *
132
  * @param array $items List of items to implode
133
  *
@@ -139,10 +151,16 @@ class Tribe__Admin__Notice__Plugin_Download {
139
  $output = $last_item = array_pop( $items );
140
 
141
  if ( $items ) {
142
- $output = implode( $separator, $items ) . $conjunction . $last_item;
 
 
 
 
 
 
143
  }
144
 
145
  return $output;
146
  }
147
 
148
- }
27
  * @since 4.8.3 Method introduced.
28
  * @since 4.9 Added $version and $addon parameters.
29
  * @since 4.9.12 Add $has_pue_notice param
30
+ * @since 4.9.17 Appended "+" to all version numbers to indicate "or any later version".
31
  *
32
  * @param string $name Name of the required plugin
33
  * @param null $thickbox_url Download or purchase URL for plugin from within /wp-admin/ thickbox
37
  * @param bool $has_pue_notice Indicates that we need to change the messaging due to expired key.
38
  */
39
  public function add_required_plugin( $name, $thickbox_url = null, $is_active = null, $version = null, $addon = false, $has_pue_notice = false ) {
40
+ $this->plugins_required[ $name ] = [
41
  'name' => $name,
42
  'thickbox_url' => $thickbox_url,
43
  'is_active' => $is_active,
44
+ 'version' => $version ? $version . '+' : null,
45
  'addon' => $addon,
46
  'has_pue_notice' => $has_pue_notice,
47
+ ];
48
  }
49
 
50
  /**
51
  * Echoes the admin notice, attach to admin_notices
52
+ *
53
+ * @see \Tribe__Admin__Notice__Plugin_Download::add_required_plugin()
54
+ *
55
+ * @since 4.9.17 Altered the notice to remove "latest version" verbiage since "+" is now added to the version numbers.
56
  */
57
  public function show_inactive_plugins_alert() {
58
  if ( ! current_user_can( 'activate_plugins' ) ) {
66
  return;
67
  }
68
 
69
+ // Make sure Thickbox is available and consistent appearance regardless of which admin page we're on
70
+ wp_enqueue_style( 'plugin-install' );
71
+ wp_enqueue_script( 'plugin-install' );
72
+ add_thickbox();
73
+
74
  $has_pue_notices = false;
75
 
76
  foreach ( $this->plugins_required as $req_plugin ) {
119
  $plugin_names_clean_text = wp_kses( $this->implode_with_grammar( $plugin_name ), $allowed_html );
120
  $req_plugin_names_clean_text = wp_kses( $this->implode_with_grammar( $req_plugins ), $allowed_html );
121
 
122
+ $notice_html_content = '<p>' . esc_html__( 'To begin using %2$s, please install and activate %3$s.', 'tribe-common' ) . '</p>';
123
 
124
  $read_more_link = '<a href="http://m.tri.be/1aev" target="_blank">' . esc_html__( 'Read more.', 'tribe-common' ) . '</a>';
125
  $pue_notice_text = esc_html__( 'There’s a new version of %1$s available, but your license is expired. You’ll need to renew your license to get access to the latest version. If you plan to continue using your current version of the plugin(s), be sure to use a compatible version of The Events Calendar. %2$s', 'tribe-common' );
137
  }
138
 
139
  /**
140
+ * Implodes a list of items with proper grammar.
141
+ *
142
+ * If only 1 item, no grammar. If 2 items, just conjunction. If 3+ items, commas with conjunction.
143
  *
144
  * @param array $items List of items to implode
145
  *
151
  $output = $last_item = array_pop( $items );
152
 
153
  if ( $items ) {
154
+ $output = implode( $separator, $items );
155
+
156
+ if ( 1 < count( $items ) ) {
157
+ $output .= $separator;
158
+ }
159
+
160
+ $output .= $conjunction . $last_item;
161
  }
162
 
163
  return $output;
164
  }
165
 
166
+ }
common/src/Tribe/Assets.php CHANGED
@@ -106,13 +106,11 @@ class Tribe__Assets {
106
  /**
107
  * Enqueues registered assets based on their groups.
108
  *
109
- * @since 4.7
110
  *
111
- * @uses self::enqueue
112
  *
113
- * @param string|array $groups Which groups will be enqueued.
114
- *
115
- * @return void
116
  */
117
  public function enqueue_group( $groups ) {
118
  $assets = $this->get();
@@ -123,9 +121,9 @@ class Tribe__Assets {
123
  continue;
124
  }
125
 
126
- $instersect = array_intersect( (array) $groups, $asset->groups );
127
 
128
- if ( empty( $instersect ) ) {
129
  continue;
130
  }
131
 
@@ -177,7 +175,7 @@ class Tribe__Assets {
177
  $enqueue = empty( $asset->conditionals );
178
 
179
  if ( ! $enqueue ) {
180
- // Reset Enqeue
181
  $enqueue = [];
182
 
183
  // Which is the operator?
@@ -338,30 +336,33 @@ class Tribe__Assets {
338
  *
339
  * @since 4.3
340
  *
341
- * @param object $origin The main Object for the plugin you are enqueueing the script/style for.
342
- * @param string $slug Slug to save the asset.
343
- * @param string $file Which file will be loaded, either CSS or JS.
344
- * @param array $deps Dependencies.
345
- * @param string|null $action (Optional) A WordPress Action, if set needs to happen after: `wp_enqueue_scripts`, `admin_enqueue_scripts`, or `login_enqueue_scripts`.
346
- * @param string|array $arguments {
 
347
  * Optional. Array or string of parameters for this asset.
348
  *
349
- * @type string|null $action Which WordPress action this asset will be loaded on.
350
- * @type int $priority Priority in which this asset will be loaded on the WordPress action.
351
- * @type string $file The relative path to the File that will be enqueued, uses the $origin to get the full path.
352
- * @type string $type Asset Type, `js` or `css`.
353
- * @type array $deps An array of other asset as dependencies.
354
- * @type string $version Version number, used for cache expiring.
355
- * @type string $media Used only for CSS, when to load the file.
356
- * @type bool $in_footer A boolean determining if the javascript should be loaded on the footer.
357
- * @type array|object $localize Variables needed on the JavaScript side {
358
- * @type string $name Name of the JS variable.
359
- * @type string|array $data Contents of the JS variable.
 
 
360
  * }
361
  * @type callable[] $conditionals An callable method or an array of them, that will determine if the asset is loaded or not.
362
  * }
363
  *
364
- * @return string
365
  */
366
  public function register( $origin, $slug, $file, $deps = [], $action = null, $arguments = [] ) {
367
  // Prevent weird stuff here.
@@ -443,7 +444,7 @@ class Tribe__Assets {
443
  }
444
 
445
  // If asset type is wrong don't register.
446
- if ( ! in_array( $asset->type, [ 'js', 'css' ] ) ) {
447
  return false;
448
  }
449
 
@@ -578,9 +579,10 @@ class Tribe__Assets {
578
  *
579
  * @since 4.3
580
  *
581
- * @param string $slug Slug of the Asset.
582
  *
583
- * @return bool
 
584
  */
585
  public function get( $slug = null ) {
586
  uasort( $this->assets, [ $this, 'order_by_priority' ] );
@@ -604,8 +606,8 @@ class Tribe__Assets {
604
  *
605
  * @since 4.7
606
  *
607
- * @param object $a First Subject to compare.
608
- * @param object $b Second subject to compare.
609
  *
610
  * @return boolean
611
  */
106
  /**
107
  * Enqueues registered assets based on their groups.
108
  *
109
+ * @since 4.7
110
  *
111
+ * @uses Tribe__Assets::enqueue()
112
  *
113
+ * @param string|array $groups Which groups will be enqueued.
 
 
114
  */
115
  public function enqueue_group( $groups ) {
116
  $assets = $this->get();
121
  continue;
122
  }
123
 
124
+ $intersect = array_intersect( (array) $groups, $asset->groups );
125
 
126
+ if ( empty( $intersect ) ) {
127
  continue;
128
  }
129
 
175
  $enqueue = empty( $asset->conditionals );
176
 
177
  if ( ! $enqueue ) {
178
+ // Reset Enqueue.
179
  $enqueue = [];
180
 
181
  // Which is the operator?
336
  *
337
  * @since 4.3
338
  *
339
+ * @param object $origin The main object for the plugin you are enqueueing the asset for.
340
+ * @param string $slug Slug to save the asset - passes through `sanitize_title_with_dashes()`.
341
+ * @param string $file The asset file to load (CSS or JS), including non-minified file extension.
342
+ * @param array $deps The list of dependencies.
343
+ * @param string|array|null $action The WordPress action(s) to enqueue on, such as `wp_enqueue_scripts`,
344
+ * `admin_enqueue_scripts`, or `login_enqueue_scripts`.
345
+ * @param string|array $arguments {
346
  * Optional. Array or string of parameters for this asset.
347
  *
348
+ * @type array|string|null $action The WordPress action(s) this asset will be enqueued on.
349
+ * @type int $priority Priority in which this asset will be loaded on the WordPress action.
350
+ * @type string $file The relative path to the File that will be enqueued, uses the $origin to get the full path.
351
+ * @type string $type Asset Type, `js` or `css`.
352
+ * @type array $deps An array of other asset as dependencies.
353
+ * @type string $version Version number, used for cache expiring.
354
+ * @type string $media Used only for CSS, when to load the file.
355
+ * @type bool $in_footer A boolean determining if the javascript should be loaded on the footer.
356
+ * @type array|object $localize {
357
+ * Variables needed on the JavaScript side.
358
+ *
359
+ * @type string $name Name of the JS variable.
360
+ * @type string|array $data Contents of the JS variable.
361
  * }
362
  * @type callable[] $conditionals An callable method or an array of them, that will determine if the asset is loaded or not.
363
  * }
364
  *
365
+ * @return object|false The registered object or false on error.
366
  */
367
  public function register( $origin, $slug, $file, $deps = [], $action = null, $arguments = [] ) {
368
  // Prevent weird stuff here.
444
  }
445
 
446
  // If asset type is wrong don't register.
447
+ if ( ! in_array( $asset->type, [ 'js', 'css' ], true ) ) {
448
  return false;
449
  }
450
 
579
  *
580
  * @since 4.3
581
  *
582
+ * @param string $slug Slug of the Asset.
583
  *
584
+ * @return array|object|null Array of asset objects, single asset object, or null if looking for a single asset but
585
+ * it was not in the array of objects.
586
  */
587
  public function get( $slug = null ) {
588
  uasort( $this->assets, [ $this, 'order_by_priority' ] );
606
  *
607
  * @since 4.7
608
  *
609
+ * @param object $a First Subject to compare.
610
+ * @param object $b Second subject to compare.
611
  *
612
  * @return boolean
613
  */
common/src/Tribe/Context.php CHANGED
@@ -129,6 +129,13 @@ class Tribe__Context {
129
  */
130
  const WP_MATCHED_QUERY = 'wp_matched_query';
131
 
 
 
 
 
 
 
 
132
  /*
133
  *
134
  * An array defining the properties the context will be able to read and (dangerously) write.
@@ -155,6 +162,7 @@ class Tribe__Context {
155
  * method - get the value calling a method on a tribe() container binding.
156
  * func - get the value from a function or a closure.
157
  * filter - get the value by applying a filter.
 
158
  *
159
  * For each location additional arguments can be specified:
160
  * orm_arg - if `false` then the location will never produce an ORM argument, if provided the ORM arg produced bye the
@@ -1450,4 +1458,36 @@ class Tribe__Context {
1450
 
1451
  return $filled;
1452
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1453
  }
129
  */
130
  const WP_MATCHED_QUERY = 'wp_matched_query';
131
 
132
+ /**
133
+ * The key to indicate a location should be read by applying a callback to the value of another context location.
134
+ *
135
+ * @since 4.9.18
136
+ */
137
+ const LOCATION_FUNC = 'location_func';
138
+
139
  /*
140
  *
141
  * An array defining the properties the context will be able to read and (dangerously) write.
162
  * method - get the value calling a method on a tribe() container binding.
163
  * func - get the value from a function or a closure.
164
  * filter - get the value by applying a filter.
165
+ * location_func - get the value by applying a callback to the value of a location.
166
  *
167
  * For each location additional arguments can be specified:
168
  * orm_arg - if `false` then the location will never produce an ORM argument, if provided the ORM arg produced bye the
1458
 
1459
  return $filled;
1460
  }
1461
+
1462
+ /**
1463
+ * Convenience method to get and check if a location has a truthy value or not.
1464
+ *
1465
+ * @since 4.9.18
1466
+ *
1467
+ * @param string $flag_key The location to check.
1468
+ * @param bool $default The default value to return if the location is not set.
1469
+ *
1470
+ * @return bool Whether the location has a truthy value or not.
1471
+ */
1472
+ public function is( $flag_key, $default = false ) {
1473
+ $val = $this->get( $flag_key, $default );
1474
+
1475
+ return ! empty( $val ) || tribe_is_truthy( $val );
1476
+ }
1477
+
1478
+ /**
1479
+ * Reads the value from one callback, passing it the value of another Context location.
1480
+ *
1481
+ * @since 4.9.18
1482
+ *
1483
+ * @param array $location_and_callback An array of two elements: the location key and the callback to call on the
1484
+ * location value. The callback will receive the location value as argument.
1485
+ *
1486
+ * @return mixed The return value of the callback, called on the location value.
1487
+ */
1488
+ public function location_func( array $location_and_callback ) {
1489
+ list( $location, $callback ) = $location_and_callback;
1490
+
1491
+ return $callback( $this->get( $location ) );
1492
+ }
1493
  }
common/src/Tribe/Context/locations.php CHANGED
@@ -67,4 +67,11 @@ return [
67
  Tribe__Context::QUERY_VAR => [ 'name', 'post_name' ],
68
  ],
69
  ],
 
 
 
 
 
 
 
70
  ];
67
  Tribe__Context::QUERY_VAR => [ 'name', 'post_name' ],
68
  ],
69
  ],
70
+ 'post_type' => [
71
+ 'read' => [
72
+ Tribe__Context::QUERY_PROP => 'post_type',
73
+ Tribe__Context::QUERY_VAR => 'post_type',
74
+ Tribe__Context::REQUEST_VAR => 'post_type',
75
+ ],
76
+ ],
77
  ];
common/src/Tribe/Dependency.php CHANGED
@@ -4,7 +4,7 @@ defined( 'WPINC' ) or die;
4
 
5
  if ( ! class_exists( 'Tribe__Dependency' ) ) {
6
  /**
7
- * Tracks which tribe plugins are currently activated
8
  */
9
  class Tribe__Dependency {
10
 
@@ -44,13 +44,12 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
44
  *
45
  * @since 4.9
46
  *
47
- * @param string $main_class Main/base class for this plugin
48
- * @param null|string $version Version number of plugin
49
- * @param null|string $path Path to the main plugin/bootstrap file
50
- * @param array $dependencies An array of dependencies for a plugin
51
  */
52
  public function add_registered_plugin( $main_class, $version = null, $path = null, $dependencies = array() ) {
53
-
54
  $plugin = array(
55
  'class' => $main_class,
56
  'version' => $version,
@@ -63,7 +62,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
63
  if ( $path ) {
64
  $this->admin_messages[ $main_class ] = new Tribe__Admin__Notice__Plugin_Download( $path );
65
  }
66
-
67
  }
68
 
69
  /**
@@ -85,7 +83,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
85
  * @param string $path Path to the main plugin/bootstrap file
86
  */
87
  public function add_active_plugin( $main_class, $version = null, $path = null ) {
88
-
89
  $plugin = array(
90
  'class' => $main_class,
91
  'version' => $version,
@@ -231,7 +228,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
231
  * @return bool
232
  */
233
  public function is_plugin_version( $main_class, $version, $compare = '>=' ) {
234
-
235
  //active plugin check to see if the correct version is active
236
  if ( ! $this->is_plugin_active( $main_class ) ) {
237
  return false;
@@ -254,7 +250,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
254
  * @return bool
255
  */
256
  public function is_plugin_version_registered( $main_class, $version, $compare = '>=' ) {
257
-
258
  //registered plugin check if addon as it tests if it might load
259
  if ( ! $this->is_plugin_registered( $main_class ) ) {
260
  return false;
@@ -273,7 +268,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
273
  * @return bool
274
  */
275
  public function has_requisite_plugins( $plugins_required = array() ) {
276
-
277
  foreach ( $plugins_required as $class => $version ) {
278
  // Return false if the plugin is not set or is a lesser version
279
  if ( ! $this->is_plugin_active( $class ) ) {
@@ -302,9 +296,8 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
302
  }
303
 
304
  /**
305
- * Gets all dependencies or single class requirements
306
- * if parent, co, add does not exist use array as is
307
- * if they do exist check each one in turn
308
  *
309
  * @since 4.9
310
  *
@@ -315,18 +308,18 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
315
  * @return bool returns false if any dependency is invalid
316
  */
317
  public function has_valid_dependencies( $plugin, $dependencies = array(), $addon = false ) {
318
-
319
  if ( empty( $dependencies ) ) {
320
  return true;
321
  }
322
 
323
  $failed_dependency = 0;
324
- $tribe_plugins = new Tribe__Plugins();
 
325
 
326
  foreach ( $dependencies as $class => $version ) {
327
 
328
  // if no class for add-on
329
- $checked_plugin = $this->get_registered_plugin( $class );
330
  if ( $addon && empty( $checked_plugin ) ) {
331
  continue;
332
  }
@@ -336,15 +329,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
336
  continue;
337
  }
338
 
339
- if ( $class === $checked_plugin['class'] ) {
340
- /*
341
- * If the required plugin class is the same we're checking we clear the version to keep the message
342
- * clear and redirect users to the latest version download link in place of providing a wrong
343
- * version number.
344
- */
345
- $version = '';
346
- }
347
-
348
  $dependent_plugin = $tribe_plugins->get_plugin_by_class( $class );
349
 
350
  $pue = $this->get_pue_from_class( $dependent_plugin['class'] );
@@ -529,7 +513,6 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
529
  }
530
 
531
  return false;
532
-
533
  }
534
 
535
  /**
@@ -559,7 +542,7 @@ if ( ! class_exists( 'Tribe__Dependency' ) ) {
559
  /**
560
  * Static Singleton Factory Method
561
  *
562
- * @deprecated 4.9.12 We shouldn't be handlign singletons internally.
563
  *
564
  * @return self
565
  */
4
 
5
  if ( ! class_exists( 'Tribe__Dependency' ) ) {
6
  /**
7
+ * Tracks which Tribe (or related) plugins are registered, activated, or requirements satisfied.
8
  */
9
  class Tribe__Dependency {
10
 
44
  *
45
  * @since 4.9
46
  *
47
+ * @param string $main_class Main/base class for this plugin
48
+ * @param null|string $version Version number of plugin
49
+ * @param null|string $path Path to the main plugin/bootstrap file
50
+ * @param array $dependencies An array of dependencies for a plugin
51
  */
52
  public function add_registered_plugin( $main_class, $version = null, $path = null, $dependencies = array() ) {
 
53
  $plugin = array(
54
  'class' => $main_class,
55
  'version' => $version,
62
  if ( $path ) {
63
  $this->admin_messages[ $main_class ] = new Tribe__Admin__Notice__Plugin_Download( $path );
64
  }
 
65
  }
66
 
67
  /**
83
  * @param string $path Path to the main plugin/bootstrap file
84
  */
85
  public function add_active_plugin( $main_class, $version = null, $path = null ) {
 
86
  $plugin = array(
87
  'class' => $main_class,
88
  'version' => $version,
228
  * @return bool
229
  */
230
  public function is_plugin_version( $main_class, $version, $compare = '>=' ) {
 
231
  //active plugin check to see if the correct version is active
232
  if ( ! $this->is_plugin_active( $main_class ) ) {
233
  return false;
250
  * @return bool
251
  */
252
  public function is_plugin_version_registered( $main_class, $version, $compare = '>=' ) {
 
253
  //registered plugin check if addon as it tests if it might load
254
  if ( ! $this->is_plugin_registered( $main_class ) ) {
255
  return false;
268
  * @return bool
269
  */
270
  public function has_requisite_plugins( $plugins_required = array() ) {
 
271
  foreach ( $plugins_required as $class => $version ) {
272
  // Return false if the plugin is not set or is a lesser version
273
  if ( ! $this->is_plugin_active( $class ) ) {
296
  }
297
 
298
  /**
299
+ * Gets all dependencies or single class requirements if parent, co, add does not exist use array as is if they
300
+ * do exist check each one in turn.
 
301
  *
302
  * @since 4.9
303
  *
308
  * @return bool returns false if any dependency is invalid
309
  */
310
  public function has_valid_dependencies( $plugin, $dependencies = array(), $addon = false ) {
 
311
  if ( empty( $dependencies ) ) {
312
  return true;
313
  }
314
 
315
  $failed_dependency = 0;
316
+
317
+ $tribe_plugins = new Tribe__Plugins();
318
 
319
  foreach ( $dependencies as $class => $version ) {
320
 
321
  // if no class for add-on
322
+ $checked_plugin = $this->get_registered_plugin( $class );
323
  if ( $addon && empty( $checked_plugin ) ) {
324
  continue;
325
  }
329
  continue;
330
  }
331
 
 
 
 
 
 
 
 
 
 
332
  $dependent_plugin = $tribe_plugins->get_plugin_by_class( $class );
333
 
334
  $pue = $this->get_pue_from_class( $dependent_plugin['class'] );
513
  }
514
 
515
  return false;
 
516
  }
517
 
518
  /**
542
  /**
543
  * Static Singleton Factory Method
544
  *
545
+ * @deprecated 4.9.12 We shouldn't be handling singletons internally.
546
  *
547
  * @return self
548
  */
common/src/Tribe/Languages/Locations.php CHANGED
@@ -182,7 +182,6 @@ class Tribe__Languages__Locations {
182
  'LT' => esc_html__( 'Lithuania', 'tribe-common' ),
183
  'LU' => esc_html__( 'Luxembourg', 'tribe-common' ),
184
  'MO' => esc_html__( 'Macau', 'tribe-common' ),
185
- 'MK' => esc_html__( 'Macedonia', 'tribe-common' ),
186
  'MG' => esc_html__( 'Madagascar', 'tribe-common' ),
187
  'MW' => esc_html__( 'Malawi', 'tribe-common' ),
188
  'MY' => esc_html__( 'Malaysia', 'tribe-common' ),
@@ -215,6 +214,7 @@ class Tribe__Languages__Locations {
215
  'NG' => esc_html__( 'Nigeria', 'tribe-common' ),
216
  'NU' => esc_html__( 'Niue', 'tribe-common' ),
217
  'NF' => esc_html__( 'Norfolk Island', 'tribe-common' ),
 
218
  'MP' => esc_html__( 'Northern Mariana Islands', 'tribe-common' ),
219
  'NO' => esc_html__( 'Norway', 'tribe-common' ),
220
  'OM' => esc_html__( 'Oman', 'tribe-common' ),
182
  'LT' => esc_html__( 'Lithuania', 'tribe-common' ),
183
  'LU' => esc_html__( 'Luxembourg', 'tribe-common' ),
184
  'MO' => esc_html__( 'Macau', 'tribe-common' ),
 
185
  'MG' => esc_html__( 'Madagascar', 'tribe-common' ),
186
  'MW' => esc_html__( 'Malawi', 'tribe-common' ),
187
  'MY' => esc_html__( 'Malaysia', 'tribe-common' ),
214
  'NG' => esc_html__( 'Nigeria', 'tribe-common' ),
215
  'NU' => esc_html__( 'Niue', 'tribe-common' ),
216
  'NF' => esc_html__( 'Norfolk Island', 'tribe-common' ),
217
+ 'MK' => esc_html__( 'North Macedonia', 'tribe-common' ),
218
  'MP' => esc_html__( 'Northern Mariana Islands', 'tribe-common' ),
219
  'NO' => esc_html__( 'Norway', 'tribe-common' ),
220
  'OM' => esc_html__( 'Oman', 'tribe-common' ),
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.9.16';
21
 
22
  const FEED_URL = 'https://theeventscalendar.com/feed/';
23
 
17
  const OPTIONNAME = 'tribe_events_calendar_options';
18
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
19
 
20
+ const VERSION = '4.9.18';
21
 
22
  const FEED_URL = 'https://theeventscalendar.com/feed/';
23
 
common/src/Tribe/Models/Post_Types/Base.php ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The base, abstract, class modeling a post.
4
+ *
5
+ * @since 4.9.18
6
+ *
7
+ * @package Tribe\Models\Post_Types
8
+ */
9
+
10
+
11
+ namespace Tribe\Models\Post_Types;
12
+
13
+ use Tribe__Cache as Cache;
14
+ use Tribe__Cache_Listener as Cache_Listener;
15
+
16
+ /**
17
+ * Class Base
18
+ *
19
+ * @since 4.9.18
20
+ *
21
+ * @package Tribe\Models\Post_Types
22
+ */
23
+ abstract class Base {
24
+ /**
25
+ * The post object base for this post type instance.
26
+ *
27
+ * @since 4.9.18
28
+ *
29
+ * @var \WP_Post
30
+ */
31
+ protected $post;
32
+
33
+ /**
34
+ * Builds, and returns, a post type model from a given post.
35
+ *
36
+ * @since 4.9.18
37
+ *
38
+ * @param \WP_Post|int $post The post ID or post object.
39
+ *
40
+ * @return Base|Nothing Either the built Post Type model, or a Nothing model if the post does not exist.
41
+ */
42
+ public static function from_post( $post ) {
43
+ $post = get_post( $post );
44
+
45
+ if ( ! $post instanceof \WP_Post ) {
46
+ return new Nothing();
47
+ }
48
+
49
+ $instance = new static;
50
+ $instance->post = $post;
51
+
52
+ return $instance;
53
+ }
54
+
55
+ /**
56
+ * Returns the slug that will be prefixed to the cache key for the model.
57
+ *
58
+ * @since 4.9.18
59
+ *
60
+ * @return string The slug that will be prefixed to the cache key for the model.
61
+ */
62
+ abstract protected function get_cache_slug();
63
+
64
+ /**
65
+ * Returns the cached model properties for the specified filter, if any.
66
+ *
67
+ * @since 4.9.18
68
+ *
69
+ * @param string $filter Type of filter to apply, used here as the stored post values might change.
70
+ *
71
+ * @return array|false An array of model properties, or `false` if not found.
72
+ */
73
+ protected function get_cached_properties( $filter ) {
74
+ $cache_slug = $this->get_cache_slug();
75
+
76
+ if ( empty( $cache_slug ) ) {
77
+ return false;
78
+ }
79
+
80
+ // Cache by post ID and filter.
81
+ $cache_key = $cache_slug . '_' . $this->post->ID . '_' . $filter;
82
+
83
+ return ( new Cache() )->get( $cache_key, Cache_Listener::TRIGGER_SAVE_POST );
84
+ }
85
+
86
+ /**
87
+ * Builds and returns the properties for the model.
88
+ *
89
+ * In this method child classes should also implement any caching trigger mechanism, if any.
90
+ *
91
+ * @since 4.9.18
92
+ *
93
+ * @param string $filter The type of filter to build the properties for.
94
+ *
95
+ * @return array An array of built properties.
96
+ */
97
+ abstract protected function build_properties( $filter );
98
+
99
+ /**
100
+ * Returns an array of the model properties.
101
+ *
102
+ * @since 4.9.18
103
+ *
104
+ * @param string $filter The type of filter to get the properties for.
105
+ *
106
+ * @return array The model properties. This value might be cached.
107
+ */
108
+ protected function get_properties( $filter ) {
109
+ $cached = $this->get_cached_properties( $filter);
110
+
111
+ if ( false !== $cached ) {
112
+ return $cached;
113
+ }
114
+
115
+ $props = $this->build_properties( $filter );
116
+
117
+ $cache_slug = $this->get_cache_slug();
118
+
119
+ /**
120
+ * Filters the array of properties that will be used to decorate the post object handled by the class.
121
+ *
122
+ * @since 4.9.18
123
+ *
124
+ * @param array $props An associative array of all the properties that will be set on the "decorated" post
125
+ * object.
126
+ * @param \WP_Post $post The post object handled by the class.
127
+ */
128
+ $props = apply_filters( "tribe_post_type_{$cache_slug}_properties", $props, $this->post );
129
+
130
+ return $props;
131
+ }
132
+
133
+ /**
134
+ * Returns the WP_Post version of this model.
135
+ *
136
+ * @since 4.9.18
137
+ *
138
+ * @param string $output The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to a WP_Post
139
+ * object,an associative array, or a numeric array, respectively.
140
+ * @param string $filter Type of filter to apply. Accepts 'raw', 'edit', 'db', or 'display' and other formats
141
+ * supported by the specific type implementation.
142
+ *
143
+ * @return \WP_Post|array|null The post object version of this post type model or `null` if the post is not valid.
144
+ */
145
+ public function to_post( $output = OBJECT, $filter = 'raw' ) {
146
+ $properties = $this->get_properties( $filter );
147
+
148
+ // Clone the post to avoid side effects.
149
+ $post = clone $this->post;
150
+
151
+ // And decorate the clone with the properties.
152
+ foreach ( $properties as $key => $value ) {
153
+ $post->{$key} = $value;
154
+ }
155
+
156
+ switch ( $output ) {
157
+ case ARRAY_A:
158
+ return (array) $post;
159
+ case ARRAY_N:
160
+ return array_values( (array) $post );
161
+ case OBJECT:
162
+ default;
163
+ return $post;
164
+ }
165
+ }
166
+
167
+ /**
168
+ * Returns the closure that should be used to cache the post type model when, and if, caching it is required.
169
+ *
170
+ * @since 4.9.18
171
+ *
172
+ * @param string $filter The kind of filter applied to the model.
173
+ *
174
+ * @return callable The closure, or callable, that should be used to cache this model when, and if, required.
175
+ */
176
+ protected function get_caching_callback( $filter ) {
177
+ $cache_slug = $this->get_cache_slug();
178
+
179
+ if ( empty( $cache_slug ) ) {
180
+ return '__return_true';
181
+ }
182
+
183
+ // Cache by post ID and filter.
184
+ $cache_key = $cache_slug . '_' . $this->post->ID . '_' . $filter;
185
+ $cache = new Cache();
186
+
187
+ // Define a function to cache this event when, and if, one of the lazy properties is loaded.
188
+ $callback = function () use ( $cache, $cache_key, $filter )
189
+ {
190
+ $properties = $this->get_properties( $filter );
191
+
192
+ /*
193
+ * Cache without expiration, but only until a post of the types managed by The Events Calendar is
194
+ * updated or created.
195
+ */
196
+ $cache->set( $cache_key, $properties, 0, Cache_Listener::TRIGGER_SAVE_POST );
197
+ };
198
+
199
+ return $callback;
200
+ }
201
+ }
common/src/Tribe/Models/Post_Types/Nothing.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Models a non existing post.
4
+ *
5
+ * The reason for this class existence is to allow method chaining to happen without errors and to return a consistent
6
+ * model type from methods.
7
+ *
8
+ * @since 4.9.18
9
+ *
10
+ * @package Tribe\Models\Post_Types
11
+ */
12
+
13
+ namespace Tribe\Models\Post_Types;
14
+
15
+ /**
16
+ * Class Nothing
17
+ *
18
+ * @since 4.9.18
19
+ *
20
+ * @package Tribe\Models\Post_Types
21
+ */
22
+ class Nothing extends Base {
23
+
24
+ /**
25
+ * {@inheritDoc}
26
+ */
27
+ protected function get_cache_slug() {
28
+ return '';
29
+ }
30
+
31
+ /**
32
+ * {@inheritDoc}
33
+ */
34
+ protected function build_properties( $filter ) {
35
+ return [];
36
+ }
37
+
38
+ /**
39
+ * {@inheritDoc}
40
+ */
41
+ public function to_post( $output = OBJECT, $filter = 'raw' ) {
42
+ return null;
43
+ }
44
+ }
common/src/Tribe/PUE/Checker.php CHANGED
@@ -61,7 +61,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
61
  *
62
  * @var array
63
  */
64
- private $download_query = array();
65
 
66
  /**
67
  * The context in which this license key is used. May be 'component'
@@ -138,14 +138,14 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
138
  *
139
  * @var array
140
  */
141
- private static $stats = array();
142
 
143
  /**
144
  * Full Stats
145
  *
146
  * @var array
147
  */
148
- private static $stats_full = array();
149
 
150
  /**
151
  * Class constructor.
@@ -166,7 +166,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
166
  * }
167
  * @param string $plugin_file fully qualified path to the main plugin file.
168
  */
169
- public function __construct( $pue_update_url, $slug = '', $options = array(), $plugin_file = '' ) {
170
  $this->set_slug( $slug );
171
  $this->set_plugin_file( $plugin_file );
172
  $this->set_options( $options );
@@ -180,30 +180,30 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
180
  */
181
  public function hooks() {
182
  // Override requests for plugin information
183
- add_filter( 'plugins_api', array( $this, 'inject_info' ), 10, 3 );
184
 
185
  // Check for updates when the WP updates are checked and inject our update if needed.
186
  // Only add filter if the TRIBE_DISABLE_PUE constant is not set as true and where
187
  // the context is not 'service'
188
  if ( ( ! defined( 'TRIBE_DISABLE_PUE' ) || true !== TRIBE_DISABLE_PUE ) && 'service' !== $this->context ) {
189
- add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_for_updates' ) );
190
  }
191
 
192
- add_filter( 'tribe_licensable_addons', array( $this, 'build_addon_list' ) );
193
- add_action( 'tribe_license_fields', array( $this, 'do_license_key_fields' ) );
194
- add_action( 'tribe_settings_after_content_tab_licenses', array( $this, 'do_license_key_javascript' ) );
195
- add_action( 'tribe_settings_success_message', array( $this, 'do_license_key_success_message' ), 10, 2 );
196
- add_action( 'load-plugins.php', array( $this, 'remove_default_inline_update_msg' ), 50 );
197
 
198
  // Key validation
199
- add_filter( 'tribe_settings_save_field_value', array( $this, 'check_for_api_key_error' ), 10, 3 );
200
- add_action( 'wp_ajax_pue-validate-key_' . $this->get_slug(), array( $this, 'ajax_validate_key' ) );
201
- add_filter( 'tribe-pue-install-keys', array( $this, 'return_install_key' ) );
202
- add_action( 'admin_enqueue_scripts', array( $this, 'maybe_display_json_error_on_plugins_page' ), 1 );
203
- add_action( 'admin_init', array( $this, 'general_notifications' ) );
204
 
205
  // Package name
206
- add_filter( 'upgrader_pre_download', array( Tribe__PUE__Package_Handler::instance(), 'filter_upgrader_pre_download' ), 5, 3 );
207
  }
208
 
209
  /********************** Getter / Setter Functions **********************/
@@ -319,16 +319,16 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
319
  *
320
  * @param array $options
321
  */
322
- private function set_options( $options = array() ) {
323
 
324
  $options = wp_parse_args(
325
- $options, array(
326
  'pue_option_name' => 'external_updates-' . $this->get_slug(),
327
  'apikey' => '',
328
  'check_period' => 12,
329
  'context' => 'component',
330
  'plugin_name' => '',
331
- )
332
  );
333
 
334
  $this->pue_option_name = $options['pue_option_name'];
@@ -343,7 +343,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
343
  *
344
  * @param array $download_query
345
  */
346
- private function set_download_query( $download_query = array() ) {
347
 
348
  if ( ! empty( $download_query ) ) {
349
  $this->download_query = $download_query;
@@ -392,7 +392,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
392
  *
393
  * @param array $validate_query
394
  */
395
- private function set_validate_query( $validate_query = array() ) {
396
 
397
  if ( ! empty( $validate_query ) ) {
398
  $this->validate_query = $validate_query;
@@ -472,7 +472,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
472
  *
473
  * @return array list of addons
474
  */
475
- public function build_addon_list( $addons = array() ) {
476
  $addons[] = $this->get_plugin_name();
477
 
478
  return $addons;
@@ -487,12 +487,12 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
487
  */
488
  public function do_license_key_fields( $fields ) {
489
  // common fields whether licenses should be hidden or not
490
- $to_insert = array(
491
- $this->pue_install_key . '-heading' => array(
492
  'type' => 'heading',
493
  'label' => $this->get_plugin_name(),
494
- ),
495
- );
496
 
497
  $no_license_tooltip = esc_html__( 'A valid license key is required for support and updates', 'tribe-common' );
498
  if ( 'event-aggregator' === $this->get_slug() ) {
@@ -505,7 +505,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
505
 
506
  // we want to inject the following license settings at the end of the licenses tab
507
  if ( $this->should_show_network_editable_license() ) {
508
- $to_insert[ $this->pue_install_key ] = array(
509
  'type' => 'license_key',
510
  'size' => 'large',
511
  'validation_type' => 'license_key',
@@ -514,9 +514,9 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
514
  'tooltip' => $no_license_tooltip,
515
  'parent_option' => false,
516
  'network_option' => true,
517
- );
518
  } elseif ( $this->should_show_subsite_editable_license() ) {
519
- $to_insert[ $this->pue_install_key ] = array(
520
  'type' => 'license_key',
521
  'size' => 'large',
522
  'validation_type' => 'license_key',
@@ -525,28 +525,28 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
525
  'tooltip' => $no_license_tooltip,
526
  'parent_option' => false,
527
  'network_option' => false,
528
- );
529
  } elseif ( $this->should_show_overrideable_license() ) {
530
- $to_insert[ $this->pue_install_key . '-state' ] = array(
531
  'type' => 'html',
532
  'label' => sprintf( esc_attr__( 'License Key Status:', 'tribe-common' ) ),
533
- 'label_attributes' => array( 'style' => 'width:auto;' ),
534
  'html' => sprintf( '<p>%s</p>', $this->get_network_license_state_string() ),
535
- );
536
 
537
  $override_id = $this->pue_install_key . '-override';
538
 
539
- $to_insert[ $override_id ] = array(
540
  'type' => 'checkbox_bool',
541
  'label' => esc_html__( 'Override network license key', 'tribe-common' ),
542
  'tooltip' => esc_html__( 'Check this box if you wish to override the network license key with your own', 'tribe-common' ),
543
  'default' => false,
544
  'validation_type' => 'boolean',
545
  'parent_option' => false,
546
- 'attributes' => array( 'id' => $override_id . '-field' ),
547
- );
548
 
549
- $to_insert[ $this->pue_install_key ] = array(
550
  'type' => 'license_key',
551
  'size' => 'large',
552
  'validation_type' => 'license_key',
@@ -555,18 +555,18 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
555
  'parent_option' => false,
556
  'network_option' => false,
557
  'class' => 'tribe-dependent',
558
- 'fieldset_attributes' => array(
559
  'data-depends' => '#' . $override_id . '-field',
560
  'data-condition-checked' => true,
561
- ),
562
- );
563
  } else {
564
- $to_insert[ $this->pue_install_key . '-state' ] = array(
565
  'type' => 'html',
566
  'label' => sprintf( esc_attr__( 'License Key Status:', 'tribe-common' ) ),
567
- 'label_attributes' => array( 'style' => 'width:auto;' ),
568
  'html' => sprintf( '<p>%s</p>', $this->get_network_license_state_string() ),
569
- );
570
  }
571
 
572
  $fields = self::array_insert_after_key( 'tribe-form-content-start', $fields, $to_insert );
@@ -663,16 +663,16 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
663
 
664
  global $wpdb;
665
 
666
- $stats = array(
667
- 'versions' => array(
668
  'wp' => sanitize_text_field( $GLOBALS['wp_version'] ),
669
- ),
670
- 'network' => array(
671
  'multisite' => 0,
672
  'network_activated' => 0,
673
  'active_sites' => 1,
674
- ),
675
- );
676
 
677
  if ( is_multisite() ) {
678
  $sql_count = "
@@ -728,18 +728,18 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
728
  }
729
  }
730
 
731
- $stats['versions'] = array(
732
  'wp' => sanitize_text_field( $GLOBALS['wp_version'] ),
733
  'php' => sanitize_text_field( phpversion() ),
734
  'mysql' => sanitize_text_field( $wpdb->db_version() ),
735
- );
736
 
737
- $stats['theme'] = array(
738
  'name' => sanitize_text_field( $theme->get( 'Name' ) ),
739
  'version' => sanitize_text_field( $theme->get( 'Version' ) ),
740
  'stylesheet' => sanitize_text_field( $theme->get_stylesheet() ),
741
  'template' => sanitize_text_field( $theme->get_template() ),
742
- );
743
 
744
  $stats['site_language'] = sanitize_text_field( get_locale() );
745
  $stats['user_language'] = sanitize_text_field( get_user_locale() );
@@ -747,13 +747,13 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
747
  $stats['wp_debug'] = (int) ( defined( 'WP_DEBUG' ) && WP_DEBUG );
748
  $stats['site_timezone'] = sanitize_text_field( $timezone );
749
 
750
- $stats['totals'] = array(
751
  'all_post_types' => (int) $wpdb->get_var( "SELECT COUNT(*) FROM `{$wpdb->posts}`" ),
752
  'events' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_events' ) ),
753
  'venues' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_venue' ) ),
754
  'organizers' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_organizer' ) ),
755
  'event_categories' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->term_taxonomy}` WHERE taxonomy = %s", 'tribe_events_cat' ) ),
756
- );
757
 
758
  self::$stats_full = $stats;
759
 
@@ -892,7 +892,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
892
  * @return array An associative array containing the license status response.
893
  */
894
  public function validate_key( $key, $network = false ) {
895
- $response = array();
896
  $response['status'] = 0;
897
 
898
  if ( ! $key ) {
@@ -977,22 +977,23 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
977
  * Echo JSON results for key validation
978
  */
979
  public function ajax_validate_key() {
980
-
981
  $key = isset( $_POST['key'] ) ? wp_unslash( $_POST['key'] ) : null;
982
  $nonce = isset( $_POST['_wpnonce'] ) ? wp_unslash( $_POST['_wpnonce'] ) : null;
983
 
984
- if ( empty( $nonce ) || false === wp_verify_nonce( $nonce, 'pue-validate-key_' . $this->get_slug() ) ) {
985
- $response = array(
 
 
 
986
  'status' => 0,
987
  'message' => __( 'Please refresh the page and try your request again.', 'tribe-common' ),
988
- );
989
  } else {
990
  $response = $this->validate_key( $key );
991
  }
992
 
993
  echo json_encode( $response );
994
  exit;
995
-
996
  }
997
 
998
  /**
@@ -1082,7 +1083,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1082
  }
1083
 
1084
  $state = $this->get_state();
1085
- $messages = array();
1086
  $plugin_updates = get_plugin_updates();
1087
  $update_available = isset( $plugin_updates[ $this->plugin_file ] );
1088
 
@@ -1132,12 +1133,12 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1132
  $message_row_html
1133
  );
1134
 
1135
- $this->plugin_notice = array(
1136
  'slug' => $this->plugin_file,
1137
  'message_row_html' => $message_row_html,
1138
- );
1139
 
1140
- add_filter( 'tribe_plugin_notices', array( $this, 'add_notice_to_plugin_notices' ) );
1141
 
1142
  }
1143
 
@@ -1234,7 +1235,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1234
  *
1235
  * @return string $plugin_info
1236
  */
1237
- public function request_info( $query_args = array() ) {
1238
  $query_args = apply_filters( 'tribe_puc_request_info_query_args-' . $this->get_slug(), $query_args );
1239
 
1240
  // Cache the API call so it only needs to be made once per plugin per page load.
@@ -1256,13 +1257,13 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1256
  }
1257
 
1258
  //Various options for the wp_remote_get() call. Plugins can filter these, too.
1259
- $options = array(
1260
  'body' => $query_args,
1261
  'timeout' => 15, //seconds
1262
- 'headers' => array(
1263
  'Accept' => 'application/json',
1264
- ),
1265
- );
1266
  $options = apply_filters( 'tribe_puc_request_info_options-' . $this->get_slug(), $options );
1267
 
1268
  $url = sprintf( '%s/api/plugins/v2/license/validate', $this->get_pue_update_url() );
@@ -1326,6 +1327,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1326
  if ( isset( $plugin_info->api_invalid ) ) {
1327
  $plugin_info = Tribe__PUE__Utility::from_plugin_info( $plugin_info );
1328
  $plugin_info->license_error = $this->get_api_message( $plugin_info );
 
1329
  return $plugin_info;
1330
  }
1331
 
@@ -1333,7 +1335,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1333
  $this->update_key( $plugin_info->new_install_key );
1334
  }
1335
 
1336
- //need to correct the download url so it contains the custom user data (i.e. api and any other paramaters)
1337
  $download_query = $this->get_download_query();
1338
 
1339
  if ( ! empty( $download_query ) ) {
@@ -1414,7 +1416,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1414
  *
1415
  * @return array
1416
  */
1417
- public function check_for_updates( $updates = array(), $force_recheck = false ) {
1418
  $state = $this->get_state( $force_recheck );
1419
 
1420
  $state->lastCheck = time();
@@ -1425,12 +1427,12 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1425
 
1426
  $state->update = $this->request_update();
1427
 
1428
- // If a null update was returned, skip the end of the function.
1429
  if ( null !== $state->update ) {
1430
- //Is there an update to insert?
1431
  if ( version_compare( $state->update->version, $this->get_installed_version(), '>' ) ) {
1432
  if ( empty( $updates ) ) {
1433
- $updates = (object) array( 'response' => array() );
1434
  }
1435
 
1436
  $updates->response[ $this->get_plugin_file() ] = $state->update->to_wp_format();
@@ -1464,7 +1466,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1464
  }
1465
 
1466
  if ( 'service' !== $this->context ) {
1467
- $this->check_for_updates( array(), true );
1468
  }
1469
 
1470
  $network_option = false;
@@ -1604,7 +1606,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1604
  * @return array $keys
1605
  *
1606
  */
1607
- public function return_install_key( $keys = array() ) {
1608
  $key = $this->get_key();
1609
 
1610
  if ( ! empty( $key ) ) {
@@ -1655,9 +1657,9 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1655
  return false;
1656
  }
1657
 
1658
- $map = array(
1659
  'event-aggregator/event-aggregator.php' => 'the-events-calendar/the-events-calendar.php',
1660
- );
1661
 
1662
  $plugin_file = $this->get_plugin_file();
1663
 
@@ -1682,11 +1684,11 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
1682
  * @return string The localized state string.
1683
  */
1684
  protected function get_network_license_state_string() {
1685
- $states = array(
1686
  'licensed' => esc_html__( 'A valid license has been entered by your network administrator.', 'tribe-common' ),
1687
  'not-licensed' => esc_html__( 'No license entered. Consult your network administrator.', 'tribe-common' ),
1688
  'expired' => esc_html__( 'Expired license. Consult your network administrator.', 'tribe-common' ),
1689
- );
1690
 
1691
  $response = $this->validate_key( $this->get_key( 'network' ), true );
1692
 
61
  *
62
  * @var array
63
  */
64
+ private $download_query = [];
65
 
66
  /**
67
  * The context in which this license key is used. May be 'component'
138
  *
139
  * @var array
140
  */
141
+ private static $stats = [];
142
 
143
  /**
144
  * Full Stats
145
  *
146
  * @var array
147
  */
148
+ private static $stats_full = [];
149
 
150
  /**
151
  * Class constructor.
166
  * }
167
  * @param string $plugin_file fully qualified path to the main plugin file.
168
  */
169
+ public function __construct( $pue_update_url, $slug = '', $options = [], $plugin_file = '' ) {
170
  $this->set_slug( $slug );
171
  $this->set_plugin_file( $plugin_file );
172
  $this->set_options( $options );
180
  */
181
  public function hooks() {
182
  // Override requests for plugin information
183
+ add_filter( 'plugins_api', [ $this, 'inject_info' ], 10, 3 );
184
 
185
  // Check for updates when the WP updates are checked and inject our update if needed.
186
  // Only add filter if the TRIBE_DISABLE_PUE constant is not set as true and where
187
  // the context is not 'service'
188
  if ( ( ! defined( 'TRIBE_DISABLE_PUE' ) || true !== TRIBE_DISABLE_PUE ) && 'service' !== $this->context ) {
189
+ add_filter( 'pre_set_site_transient_update_plugins', [ $this, 'check_for_updates' ] );
190
  }
191
 
192
+ add_filter( 'tribe_licensable_addons', [ $this, 'build_addon_list' ] );
193
+ add_action( 'tribe_license_fields', [ $this, 'do_license_key_fields' ] );
194
+ add_action( 'tribe_settings_after_content_tab_licenses', [ $this, 'do_license_key_javascript' ] );
195
+ add_action( 'tribe_settings_success_message', [ $this, 'do_license_key_success_message' ], 10, 2 );
196
+ add_action( 'load-plugins.php', [ $this, 'remove_default_inline_update_msg' ], 50 );
197
 
198
  // Key validation
199
+ add_filter( 'tribe_settings_save_field_value', [ $this, 'check_for_api_key_error' ], 10, 3 );
200
+ add_action( 'wp_ajax_pue-validate-key_' . $this->get_slug(), [ $this, 'ajax_validate_key' ] );
201
+ add_filter( 'tribe-pue-install-keys', [ $this, 'return_install_key' ] );
202
+ add_action( 'admin_enqueue_scripts', [ $this, 'maybe_display_json_error_on_plugins_page' ], 1 );
203
+ add_action( 'admin_init', [ $this, 'general_notifications' ] );
204
 
205
  // Package name
206
+ add_filter( 'upgrader_pre_download', [ Tribe__PUE__Package_Handler::instance(), 'filter_upgrader_pre_download' ], 5, 3 );
207
  }
208
 
209
  /********************** Getter / Setter Functions **********************/
319
  *
320
  * @param array $options
321
  */
322
+ private function set_options( $options = [] ) {
323
 
324
  $options = wp_parse_args(
325
+ $options, [
326
  'pue_option_name' => 'external_updates-' . $this->get_slug(),
327
  'apikey' => '',
328
  'check_period' => 12,
329
  'context' => 'component',
330
  'plugin_name' => '',
331
+ ]
332
  );
333
 
334
  $this->pue_option_name = $options['pue_option_name'];
343
  *
344
  * @param array $download_query
345
  */
346
+ private function set_download_query( $download_query = [] ) {
347
 
348
  if ( ! empty( $download_query ) ) {
349
  $this->download_query = $download_query;
392
  *
393
  * @param array $validate_query
394
  */
395
+ private function set_validate_query( $validate_query = [] ) {
396
 
397
  if ( ! empty( $validate_query ) ) {
398
  $this->validate_query = $validate_query;
472
  *
473
  * @return array list of addons
474
  */
475
+ public function build_addon_list( $addons = [] ) {
476
  $addons[] = $this->get_plugin_name();
477
 
478
  return $addons;
487
  */
488
  public function do_license_key_fields( $fields ) {
489
  // common fields whether licenses should be hidden or not
490
+ $to_insert = [
491
+ $this->pue_install_key . '-heading' => [
492
  'type' => 'heading',
493
  'label' => $this->get_plugin_name(),
494
+ ],
495
+ ];
496
 
497
  $no_license_tooltip = esc_html__( 'A valid license key is required for support and updates', 'tribe-common' );
498
  if ( 'event-aggregator' === $this->get_slug() ) {
505
 
506
  // we want to inject the following license settings at the end of the licenses tab
507
  if ( $this->should_show_network_editable_license() ) {
508
+ $to_insert[ $this->pue_install_key ] = [
509
  'type' => 'license_key',
510
  'size' => 'large',
511
  'validation_type' => 'license_key',
514
  'tooltip' => $no_license_tooltip,
515
  'parent_option' => false,
516
  'network_option' => true,
517
+ ];
518
  } elseif ( $this->should_show_subsite_editable_license() ) {
519
+ $to_insert[ $this->pue_install_key ] = [
520
  'type' => 'license_key',
521
  'size' => 'large',
522
  'validation_type' => 'license_key',
525
  'tooltip' => $no_license_tooltip,
526
  'parent_option' => false,
527
  'network_option' => false,
528
+ ];
529
  } elseif ( $this->should_show_overrideable_license() ) {
530
+ $to_insert[ $this->pue_install_key . '-state' ] = [
531
  'type' => 'html',
532
  'label' => sprintf( esc_attr__( 'License Key Status:', 'tribe-common' ) ),
533
+ 'label_attributes' => [ 'style' => 'width:auto;' ],
534
  'html' => sprintf( '<p>%s</p>', $this->get_network_license_state_string() ),
535
+ ];
536
 
537
  $override_id = $this->pue_install_key . '-override';
538
 
539
+ $to_insert[ $override_id ] = [
540
  'type' => 'checkbox_bool',
541
  'label' => esc_html__( 'Override network license key', 'tribe-common' ),
542
  'tooltip' => esc_html__( 'Check this box if you wish to override the network license key with your own', 'tribe-common' ),
543
  'default' => false,
544
  'validation_type' => 'boolean',
545
  'parent_option' => false,
546
+ 'attributes' => [ 'id' => $override_id . '-field' ],
547
+ ];
548
 
549
+ $to_insert[ $this->pue_install_key ] = [
550
  'type' => 'license_key',
551
  'size' => 'large',
552
  'validation_type' => 'license_key',
555
  'parent_option' => false,
556
  'network_option' => false,
557
  'class' => 'tribe-dependent',
558
+ 'fieldset_attributes' => [
559
  'data-depends' => '#' . $override_id . '-field',
560
  'data-condition-checked' => true,
561
+ ],
562
+ ];
563
  } else {
564
+ $to_insert[ $this->pue_install_key . '-state' ] = [
565
  'type' => 'html',
566
  'label' => sprintf( esc_attr__( 'License Key Status:', 'tribe-common' ) ),
567
+ 'label_attributes' => [ 'style' => 'width:auto;' ],
568
  'html' => sprintf( '<p>%s</p>', $this->get_network_license_state_string() ),
569
+ ];
570
  }
571
 
572
  $fields = self::array_insert_after_key( 'tribe-form-content-start', $fields, $to_insert );
663
 
664
  global $wpdb;
665
 
666
+ $stats = [
667
+ 'versions' => [
668
  'wp' => sanitize_text_field( $GLOBALS['wp_version'] ),
669
+ ],
670
+ 'network' => [
671
  'multisite' => 0,
672
  'network_activated' => 0,
673
  'active_sites' => 1,
674
+ ],
675
+ ];
676
 
677
  if ( is_multisite() ) {
678
  $sql_count = "
728
  }
729
  }
730
 
731
+ $stats['versions'] = [
732
  'wp' => sanitize_text_field( $GLOBALS['wp_version'] ),
733
  'php' => sanitize_text_field( phpversion() ),
734
  'mysql' => sanitize_text_field( $wpdb->db_version() ),
735
+ ];
736
 
737
+ $stats['theme'] = [
738
  'name' => sanitize_text_field( $theme->get( 'Name' ) ),
739
  'version' => sanitize_text_field( $theme->get( 'Version' ) ),
740
  'stylesheet' => sanitize_text_field( $theme->get_stylesheet() ),
741
  'template' => sanitize_text_field( $theme->get_template() ),
742
+ ];
743
 
744
  $stats['site_language'] = sanitize_text_field( get_locale() );
745
  $stats['user_language'] = sanitize_text_field( get_user_locale() );
747
  $stats['wp_debug'] = (int) ( defined( 'WP_DEBUG' ) && WP_DEBUG );
748
  $stats['site_timezone'] = sanitize_text_field( $timezone );
749
 
750
+ $stats['totals'] = [
751
  'all_post_types' => (int) $wpdb->get_var( "SELECT COUNT(*) FROM `{$wpdb->posts}`" ),
752
  'events' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_events' ) ),
753
  'venues' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_venue' ) ),
754
  'organizers' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->posts}` WHERE post_type = %s", 'tribe_organizer' ) ),
755
  'event_categories' => (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM `{$wpdb->term_taxonomy}` WHERE taxonomy = %s", 'tribe_events_cat' ) ),
756
+ ];
757
 
758
  self::$stats_full = $stats;
759
 
892
  * @return array An associative array containing the license status response.
893
  */
894
  public function validate_key( $key, $network = false ) {
895
+ $response = [];
896
  $response['status'] = 0;
897
 
898
  if ( ! $key ) {
977
  * Echo JSON results for key validation
978
  */
979
  public function ajax_validate_key() {
 
980
  $key = isset( $_POST['key'] ) ? wp_unslash( $_POST['key'] ) : null;
981
  $nonce = isset( $_POST['_wpnonce'] ) ? wp_unslash( $_POST['_wpnonce'] ) : null;
982
 
983
+ if (
984
+ empty( $nonce )
985
+ || false === wp_verify_nonce( $nonce, 'pue-validate-key_' . $this->get_slug() )
986
+ ) {
987
+ $response = [
988
  'status' => 0,
989
  'message' => __( 'Please refresh the page and try your request again.', 'tribe-common' ),
990
+ ];
991
  } else {
992
  $response = $this->validate_key( $key );
993
  }
994
 
995
  echo json_encode( $response );
996
  exit;
 
997
  }
998
 
999
  /**
1083
  }
1084
 
1085
  $state = $this->get_state();
1086
+ $messages = [];
1087
  $plugin_updates = get_plugin_updates();
1088
  $update_available = isset( $plugin_updates[ $this->plugin_file ] );
1089
 
1133
  $message_row_html
1134
  );
1135
 
1136
+ $this->plugin_notice = [
1137
  'slug' => $this->plugin_file,
1138
  'message_row_html' => $message_row_html,
1139
+ ];
1140
 
1141
+ add_filter( 'tribe_plugin_notices', [ $this, 'add_notice_to_plugin_notices' ] );
1142
 
1143
  }
1144
 
1235
  *
1236
  * @return string $plugin_info
1237
  */
1238
+ public function request_info( $query_args = [] ) {
1239
  $query_args = apply_filters( 'tribe_puc_request_info_query_args-' . $this->get_slug(), $query_args );
1240
 
1241
  // Cache the API call so it only needs to be made once per plugin per page load.
1257
  }
1258
 
1259
  //Various options for the wp_remote_get() call. Plugins can filter these, too.
1260
+ $options = [
1261
  'body' => $query_args,
1262
  'timeout' => 15, //seconds
1263
+ 'headers' => [
1264
  'Accept' => 'application/json',
1265
+ ],
1266
+ ];
1267
  $options = apply_filters( 'tribe_puc_request_info_options-' . $this->get_slug(), $options );
1268
 
1269
  $url = sprintf( '%s/api/plugins/v2/license/validate', $this->get_pue_update_url() );
1327
  if ( isset( $plugin_info->api_invalid ) ) {
1328
  $plugin_info = Tribe__PUE__Utility::from_plugin_info( $plugin_info );
1329
  $plugin_info->license_error = $this->get_api_message( $plugin_info );
1330
+
1331
  return $plugin_info;
1332
  }
1333
 
1335
  $this->update_key( $plugin_info->new_install_key );
1336
  }
1337
 
1338
+ // Need to correct the download url so it contains the custom user data (e.g. api and any other parameters).
1339
  $download_query = $this->get_download_query();
1340
 
1341
  if ( ! empty( $download_query ) ) {
1416
  *
1417
  * @return array
1418
  */
1419
+ public function check_for_updates( $updates = [], $force_recheck = false ) {
1420
  $state = $this->get_state( $force_recheck );
1421
 
1422
  $state->lastCheck = time();
1427
 
1428
  $state->update = $this->request_update();
1429
 
1430
+ // If a null update was returned, skip to the end of the function.
1431
  if ( null !== $state->update ) {
1432
+ // Is there an update to insert?
1433
  if ( version_compare( $state->update->version, $this->get_installed_version(), '>' ) ) {
1434
  if ( empty( $updates ) ) {
1435
+ $updates = (object) [ 'response' => [] ];
1436
  }
1437
 
1438
  $updates->response[ $this->get_plugin_file() ] = $state->update->to_wp_format();
1466
  }
1467
 
1468
  if ( 'service' !== $this->context ) {
1469
+ $this->check_for_updates( [], true );
1470
  }
1471
 
1472
  $network_option = false;
1606
  * @return array $keys
1607
  *
1608
  */
1609
+ public function return_install_key( $keys = [] ) {
1610
  $key = $this->get_key();
1611
 
1612
  if ( ! empty( $key ) ) {
1657
  return false;
1658
  }
1659
 
1660
+ $map = [
1661
  'event-aggregator/event-aggregator.php' => 'the-events-calendar/the-events-calendar.php',
1662
+ ];
1663
 
1664
  $plugin_file = $this->get_plugin_file();
1665
 
1684
  * @return string The localized state string.
1685
  */
1686
  protected function get_network_license_state_string() {
1687
+ $states = [
1688
  'licensed' => esc_html__( 'A valid license has been entered by your network administrator.', 'tribe-common' ),
1689
  'not-licensed' => esc_html__( 'No license entered. Consult your network administrator.', 'tribe-common' ),
1690
  'expired' => esc_html__( 'Expired license. Consult your network administrator.', 'tribe-common' ),
1691
+ ];
1692
 
1693
  $response = $this->validate_key( $this->get_key( 'network' ), true );
1694
 
common/src/Tribe/Plugins.php CHANGED
@@ -9,71 +9,71 @@ if ( ! class_exists( 'Tribe__Plugins' ) ) {
9
  class Tribe__Plugins {
10
 
11
  /**
12
- * A list of tribe plugin's details in this format:
13
  *
14
- * array(
15
  * 'short_name' => Common name for the plugin, used in places such as WP Admin messages
16
  * 'class' => Main plugin class
17
  * 'thickbox_url' => Download or purchase URL for plugin from within /wp-admin/ thickbox
18
- * )
19
  */
20
- private $tribe_plugins = array(
21
- array(
22
  'short_name' => 'Event Tickets',
23
  'class' => 'Tribe__Tickets__Main',
24
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=event-tickets&TB_iframe=true',
25
- ),
26
- array(
27
  'short_name' => 'Event Tickets Plus',
28
  'class' => 'Tribe__Tickets_Plus__Main',
29
- 'thickbox_url' => '//theeventscalendar.com/product/wordpress-event-tickets-plus/?TB_iframe=true',
30
- ),
31
- array(
32
  'short_name' => 'The Events Calendar',
33
  'class' => 'Tribe__Events__Main',
34
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=the-events-calendar&TB_iframe=true',
35
- ),
36
- array(
37
  'short_name' => 'Events Calendar Pro',
38
  'class' => 'Tribe__Events__Pro__Main',
39
- 'thickbox_url' => '//theeventscalendar.com/product/wordpress-events-calendar-pro/?TB_iframe=true',
40
- ),
41
- array(
42
  'short_name' => 'Community Events',
43
  'class' => 'Tribe__Events__Community__Main',
44
- 'thickbox_url' => '//theeventscalendar.com/product/wordpress-community-events/?TB_iframe=true',
45
- ),
46
- array(
47
  'short_name' => 'Community Tickets',
48
  'class' => 'Tribe__Events__Community__Tickets__Main',
49
- 'thickbox_url' => '//theeventscalendar.com/product/community-tickets/?TB_iframe=true',
50
- ),
51
- array(
52
  'short_name' => 'Filter Bar',
53
  'class' => 'Tribe__Events__Filterbar__View',
54
- 'thickbox_url' => '//theeventscalendar.com/product/wordpress-events-filterbar/?TB_iframe=true',
55
- ),
56
- array(
57
  'short_name' => 'Facebook Events',
58
  'class' => 'Tribe__Events__Facebook__Importer',
59
- 'thickbox_url' => '//theeventscalendar.com/product/facebook-events/?TB_iframe=true',
60
- ),
61
- array(
62
  'short_name' => 'iCal Importer',
63
  'class' => 'Tribe__Events__Ical_Importer__Main',
64
- 'thickbox_url' => '//theeventscalendar.com/product/ical-importer/?TB_iframe=true',
65
- ),
66
- array(
67
  'short_name' => 'Eventbrite Tickets',
68
  'class' => 'Tribe__Events__Tickets__Eventbrite__Main',
69
- 'thickbox_url' => '//theeventscalendar.com/product/wordpress-eventbrite-tickets/?TB_iframe=true',
70
- ),
71
- array(
72
  'short_name' => 'Advanced Post Manager',
73
  'class' => 'Tribe_APM',
74
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=advanced-post-manager&TB_iframe=true',
75
- ),
76
- );
77
 
78
  /**
79
  * Searches the plugin list for key/value pair and return the full details for that plugin
@@ -84,7 +84,7 @@ if ( ! class_exists( 'Tribe__Plugins' ) ) {
84
  * @return array|null
85
  */
86
  public function get_plugin_by_key( $search_key, $search_val ) {
87
- foreach ( $this->tribe_plugins as $plugin ) {
88
  if ( isset( $plugin[ $search_key ] ) && $plugin[ $search_key ] === $search_val ) {
89
  return $plugin;
90
  }
9
  class Tribe__Plugins {
10
 
11
  /**
12
+ * A list of tribe plugin's details in this array format:
13
  *
14
+ * [
15
  * 'short_name' => Common name for the plugin, used in places such as WP Admin messages
16
  * 'class' => Main plugin class
17
  * 'thickbox_url' => Download or purchase URL for plugin from within /wp-admin/ thickbox
18
+ * ]
19
  */
20
+ private $tribe_plugins = [
21
+ [
22
  'short_name' => 'Event Tickets',
23
  'class' => 'Tribe__Tickets__Main',
24
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=event-tickets&TB_iframe=true',
25
+ ],
26
+ [
27
  'short_name' => 'Event Tickets Plus',
28
  'class' => 'Tribe__Tickets_Plus__Main',
29
+ 'thickbox_url' => 'https://theeventscalendar.com/product/wordpress-event-tickets-plus/?TB_iframe=true',
30
+ ],
31
+ [
32
  'short_name' => 'The Events Calendar',
33
  'class' => 'Tribe__Events__Main',
34
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=the-events-calendar&TB_iframe=true',
35
+ ],
36
+ [
37
  'short_name' => 'Events Calendar Pro',
38
  'class' => 'Tribe__Events__Pro__Main',
39
+ 'thickbox_url' => 'https://theeventscalendar.com/product/wordpress-events-calendar-pro/?TB_iframe=true',
40
+ ],
41
+ [
42
  'short_name' => 'Community Events',
43
  'class' => 'Tribe__Events__Community__Main',
44
+ 'thickbox_url' => 'https://theeventscalendar.com/product/wordpress-community-events/?TB_iframe=true',
45
+ ],
46
+ [
47
  'short_name' => 'Community Tickets',
48
  'class' => 'Tribe__Events__Community__Tickets__Main',
49
+ 'thickbox_url' => 'https://theeventscalendar.com/product/community-tickets/?TB_iframe=true',
50
+ ],
51
+ [
52
  'short_name' => 'Filter Bar',
53
  'class' => 'Tribe__Events__Filterbar__View',
54
+ 'thickbox_url' => 'https://theeventscalendar.com/product/wordpress-events-filterbar/?TB_iframe=true',
55
+ ],
56
+ [
57
  'short_name' => 'Facebook Events',
58
  'class' => 'Tribe__Events__Facebook__Importer',
59
+ 'thickbox_url' => 'https://theeventscalendar.com/product/facebook-events/?TB_iframe=true',
60
+ ],
61
+ [
62
  'short_name' => 'iCal Importer',
63
  'class' => 'Tribe__Events__Ical_Importer__Main',
64
+ 'thickbox_url' => 'https://theeventscalendar.com/product/ical-importer/?TB_iframe=true',
65
+ ],
66
+ [
67
  'short_name' => 'Eventbrite Tickets',
68
  'class' => 'Tribe__Events__Tickets__Eventbrite__Main',
69
+ 'thickbox_url' => 'https://theeventscalendar.com/product/wordpress-eventbrite-tickets/?TB_iframe=true',
70
+ ],
71
+ [
72
  'short_name' => 'Advanced Post Manager',
73
  'class' => 'Tribe_APM',
74
  'thickbox_url' => 'plugin-install.php?tab=plugin-information&plugin=advanced-post-manager&TB_iframe=true',
75
+ ],
76
+ ];
77
 
78
  /**
79
  * Searches the plugin list for key/value pair and return the full details for that plugin
84
  * @return array|null
85
  */
86
  public function get_plugin_by_key( $search_key, $search_val ) {
87
+ foreach ( $this->get_list() as $plugin ) {
88
  if ( isset( $plugin[ $search_key ] ) && $plugin[ $search_key ] === $search_val ) {
89
  return $plugin;
90
  }
common/src/Tribe/Repository.php CHANGED
@@ -833,6 +833,10 @@ abstract class Tribe__Repository
833
  if ( ! empty( $query->request ) ) {
834
  $ids = $this->get_ids();
835
 
 
 
 
 
836
  return $return_id ? reset( $ids ) : $this->format_item( reset( $ids ) );
837
  }
838
 
@@ -893,6 +897,10 @@ abstract class Tribe__Repository
893
  if ( ! empty( $query->request ) ) {
894
  $ids = $this->get_ids();
895
 
 
 
 
 
896
  return $return_id ? end( $ids ) : $this->format_item( end( $ids ) );
897
  }
898
 
@@ -2783,7 +2791,7 @@ abstract class Tribe__Repository
2783
 
2784
  $created = call_user_func( $this->get_create_callback( $postarr ), $postarr );
2785
 
2786
- $post = get_post( $created );
2787
 
2788
  return $post instanceof WP_Post && $post->ID === $created ? $post : false;
2789
  }
833
  if ( ! empty( $query->request ) ) {
834
  $ids = $this->get_ids();
835
 
836
+ if ( empty( $ids ) ) {
837
+ return null;
838
+ }
839
+
840
  return $return_id ? reset( $ids ) : $this->format_item( reset( $ids ) );
841
  }
842
 
897
  if ( ! empty( $query->request ) ) {
898
  $ids = $this->get_ids();
899
 
900
+ if ( empty( $ids ) ) {
901
+ return null;
902
+ }
903
+
904
  return $return_id ? end( $ids ) : $this->format_item( end( $ids ) );
905
  }
906
 
2791
 
2792
  $created = call_user_func( $this->get_create_callback( $postarr ), $postarr );
2793
 
2794
+ $post = $this->format_item( $created );
2795
 
2796
  return $post instanceof WP_Post && $post->ID === $created ? $post : false;
2797
  }
common/src/Tribe/Rewrite.php CHANGED
@@ -558,13 +558,25 @@ class Tribe__Rewrite {
558
  // While this is specific to The Events Calendar we're handling a small enough post type base to keep it here.
559
  $pattern = '/post_type=tribe_(events|venue|organizer)/';
560
  // Reverse the rules to try and match the most complex first.
561
- $rules = isset( $this->rewrite->rules ) ? (array) $this->rewrite->rules : [];
562
- $handled_rewrite_rules = array_filter( $rules,
563
  static function ( $rule_query_string ) use ( $pattern ) {
564
  return preg_match( $pattern, $rule_query_string );
565
- } );
 
 
 
 
 
 
 
 
 
 
 
 
566
 
567
- return $handled_rewrite_rules;
568
  }
569
 
570
  /**
558
  // While this is specific to The Events Calendar we're handling a small enough post type base to keep it here.
559
  $pattern = '/post_type=tribe_(events|venue|organizer)/';
560
  // Reverse the rules to try and match the most complex first.
561
+ $rules = isset( $this->rewrite->rules ) ? (array) $this->rewrite->rules : [];
562
+ $our_rules = array_filter( $rules,
563
  static function ( $rule_query_string ) use ( $pattern ) {
564
  return preg_match( $pattern, $rule_query_string );
565
+ }
566
+ );
567
+
568
+ /**
569
+ * Filters the list of rewrite rules handled by our code to add or remove some as required.
570
+ *
571
+ * @since 4.9.18
572
+ *
573
+ * @param array $our_rules An array of rewrite rules handled by our code, in the shape
574
+ * `[ <rewrite_rule_regex_pattern> => <query_string> ]`.
575
+ * E.g. `[ '(?:events)/(?:list)/?$' => 'index.php?post_type=tribe_events&eventDisplay=list' ]`.
576
+ */
577
+ $our_rules = apply_filters( 'tribe_rewrite_handled_rewrite_rules', $our_rules );
578
 
579
+ return $our_rules;
580
  }
581
 
582
  /**
common/src/Tribe/Settings.php CHANGED
@@ -295,45 +295,51 @@ if ( ! class_exists( 'Tribe__Settings' ) ) {
295
  * @return void
296
  */
297
  public function initTabs() {
298
- if ( isset( $_GET['page'] ) && $_GET['page'] == $this->adminSlug ) {
299
- // Load settings tab-specific helpers and enhancements
300
- Tribe__Admin__Live_Date_Preview::instance();
301
-
302
- do_action( 'tribe_settings_do_tabs' ); // this is the hook to use to add new tabs
303
- $this->tabs = (array) apply_filters( 'tribe_settings_tabs', array() );
304
- $this->allTabs = (array) apply_filters( 'tribe_settings_all_tabs', array() );
305
- $this->noSaveTabs = (array) apply_filters( 'tribe_settings_no_save_tabs', array() );
306
- if ( is_network_admin() ) {
307
- $this->defaultTab = apply_filters( 'tribe_settings_default_tab_network', 'network' );
308
- $this->currentTab = apply_filters( 'tribe_settings_current_tab', ( isset( $_GET['tab'] ) && $_GET['tab'] ) ? esc_attr( $_GET['tab'] ) : $this->defaultTab );
309
- $this->url = apply_filters(
310
- 'tribe_settings_url', add_query_arg(
311
- array(
312
- 'page' => $this->adminSlug,
313
- 'tab' => $this->currentTab,
314
- ), network_admin_url( 'settings.php' )
315
- )
316
- );
317
- }
318
- if ( ! is_network_admin() ) {
319
- $tabs_keys = array_keys( $this->tabs );
320
- $this->defaultTab = in_array( apply_filters( 'tribe_settings_default_tab', 'general' ), $tabs_keys ) ? apply_filters( 'tribe_settings_default_tab', 'general' ) : $tabs_keys[0];
321
- $this->currentTab = apply_filters( 'tribe_settings_current_tab', ( isset( $_GET['tab'] ) && $_GET['tab'] ) ? esc_attr( $_GET['tab'] ) : $this->defaultTab );
322
- $this->url = apply_filters(
323
- 'tribe_settings_url', add_query_arg(
324
- array(
325
- 'page' => $this->adminSlug,
326
- 'tab' => $this->currentTab,
327
- ),
328
- admin_url( self::$parent_page )
329
- )
330
- );
331
- }
332
- $this->fields_for_save = (array) apply_filters( 'tribe_settings_fields', array() );
333
- do_action( 'tribe_settings_after_do_tabs' );
334
- $this->fields = (array) apply_filters( 'tribe_settings_fields', array() );
335
- $this->validate();
336
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  }
338
 
339
  /**
295
  * @return void
296
  */
297
  public function initTabs() {
298
+ if (
299
+ empty( $_GET['page'] )
300
+ || $_GET['page'] != $this->adminSlug
301
+ ) {
302
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  }
304
+
305
+ // Load settings tab-specific helpers and enhancements
306
+ Tribe__Admin__Live_Date_Preview::instance();
307
+
308
+ do_action( 'tribe_settings_do_tabs' ); // this is the hook to use to add new tabs
309
+ $this->tabs = (array) apply_filters( 'tribe_settings_tabs', [] );
310
+ $this->allTabs = (array) apply_filters( 'tribe_settings_all_tabs', [] );
311
+ $this->noSaveTabs = (array) apply_filters( 'tribe_settings_no_save_tabs', [] );
312
+
313
+ if ( is_network_admin() ) {
314
+ $this->defaultTab = apply_filters( 'tribe_settings_default_tab_network', 'network' );
315
+ $this->currentTab = apply_filters( 'tribe_settings_current_tab', ( isset( $_GET['tab'] ) && $_GET['tab'] ) ? esc_attr( $_GET['tab'] ) : $this->defaultTab );
316
+ $this->url = apply_filters(
317
+ 'tribe_settings_url', add_query_arg(
318
+ [
319
+ 'page' => $this->adminSlug,
320
+ 'tab' => $this->currentTab,
321
+ ], network_admin_url( 'settings.php' )
322
+ )
323
+ );
324
+ } else {
325
+ $tabs_keys = array_keys( $this->tabs );
326
+ $this->defaultTab = in_array( apply_filters( 'tribe_settings_default_tab', 'general' ), $tabs_keys ) ? apply_filters( 'tribe_settings_default_tab', 'general' ) : $tabs_keys[0];
327
+ $this->currentTab = apply_filters( 'tribe_settings_current_tab', ( isset( $_GET['tab'] ) && $_GET['tab'] ) ? esc_attr( $_GET['tab'] ) : $this->defaultTab );
328
+ $this->url = apply_filters(
329
+ 'tribe_settings_url', add_query_arg(
330
+ [
331
+ 'page' => $this->adminSlug,
332
+ 'tab' => $this->currentTab,
333
+ ],
334
+ admin_url( self::$parent_page )
335
+ )
336
+ );
337
+ }
338
+
339
+ $this->fields_for_save = (array) apply_filters( 'tribe_settings_fields', [] );
340
+ do_action( 'tribe_settings_after_do_tabs' );
341
+ $this->fields = (array) apply_filters( 'tribe_settings_fields', [] );
342
+ $this->validate();
343
  }
344
 
345
  /**
common/src/Tribe/Settings_Manager.php CHANGED
@@ -46,6 +46,9 @@ class Tribe__Settings_Manager {
46
  * @return void
47
  */
48
  public function do_setting_tabs() {
 
 
 
49
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/tribe-options-general.php';
50
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/tribe-options-display.php';
51
 
46
  * @return void
47
  */
48
  public function do_setting_tabs() {
49
+ // Make sure Thickbox is available regardless of which admin page we're on
50
+ add_thickbox();
51
+
52
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/tribe-options-general.php';
53
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/tribe-options-display.php';
54
 
common/src/Tribe/Support.php CHANGED
@@ -87,7 +87,7 @@ if ( ! class_exists( 'Tribe__Support' ) ) {
87
  $plugin .= sprintf( ' by %s', $plugin_details['Author'] );
88
  }
89
  if ( ! empty( $plugin_details['AuthorURI'] ) ) {
90
- $plugin .= sprintf( '(%s)', $plugin_details['AuthorURI'] );
91
  }
92
  $plugins[] = $plugin;
93
  }
@@ -106,7 +106,7 @@ if ( ! class_exists( 'Tribe__Support' ) ) {
106
  $plugin .= sprintf( ' by %s', $plugin_details['Author'] );
107
  }
108
  if ( ! empty( $plugin_details['AuthorURI'] ) ) {
109
- $plugin .= sprintf( '(%s)', $plugin_details['AuthorURI'] );
110
  }
111
  $network_plugins[] = $plugin;
112
  }
@@ -124,7 +124,7 @@ if ( ! class_exists( 'Tribe__Support' ) ) {
124
  $plugin .= sprintf( ' by %s', $v['Author'] );
125
  }
126
  if ( ! empty( $v['AuthorURI'] ) ) {
127
- $plugin .= sprintf( '(%s)', $v['AuthorURI'] );
128
  }
129
  $mu_plugins[] = $plugin;
130
  }
87
  $plugin .= sprintf( ' by %s', $plugin_details['Author'] );
88
  }
89
  if ( ! empty( $plugin_details['AuthorURI'] ) ) {
90
+ $plugin .= sprintf( ' (%s)', $plugin_details['AuthorURI'] );
91
  }
92
  $plugins[] = $plugin;
93
  }
106
  $plugin .= sprintf( ' by %s', $plugin_details['Author'] );
107
  }
108
  if ( ! empty( $plugin_details['AuthorURI'] ) ) {
109
+ $plugin .= sprintf( ' (%s)', $plugin_details['AuthorURI'] );
110
  }
111
  $network_plugins[] = $plugin;
112
  }
124
  $plugin .= sprintf( ' by %s', $v['Author'] );
125
  }
126
  if ( ! empty( $v['AuthorURI'] ) ) {
127
+ $plugin .= sprintf( ' (%s)', $v['AuthorURI'] );
128
  }
129
  $mu_plugins[] = $plugin;
130
  }
common/src/Tribe/Validate.php CHANGED
@@ -109,8 +109,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
109
 
110
  /**
111
  * validates a field as a string containing only letters and numbers
112
- *
113
- * @return stdClass validation result object
114
  */
115
  public function alpha_numeric() {
116
  if ( preg_match( '/^[a-zA-Z0-9]+$/', $this->value ) ) {
@@ -124,8 +122,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
124
  /**
125
  * validates a field as a string containing only letters,
126
  * numbers and carriage returns
127
- *
128
- * @return stdClass validation result object
129
  */
130
  public function alpha_numeric_multi_line() {
131
  if ( preg_match( '/^[a-zA-Z0-9\s]+$/', $this->value ) ) {
@@ -140,8 +136,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
140
  /**
141
  * Validates a field as a string containing only letters,
142
  * numbers, dots and carriage returns
143
- *
144
- * @return stdClass validation result object
145
  */
146
  public function alpha_numeric_multi_line_with_dots_and_dashes() {
147
  if ( preg_match( '/^[a-zA-Z0-9\s.-]+$/', $this->value ) ) {
@@ -156,8 +150,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
156
  /**
157
  * Validates a field as a string containing only letters,
158
  * numbers, dashes and underscores
159
- *
160
- * @return stdClass validation result object
161
  */
162
  public function alpha_numeric_with_dashes_and_underscores() {
163
  $this->value = trim( $this->value );
@@ -173,8 +165,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
173
  * Validates a field as just "not empty".
174
  *
175
  * @since 4.7.6
176
- *
177
- * @return stdClass validation result object
178
  */
179
  public function not_empty() {
180
  $this->value = trim( $this->value );
@@ -189,8 +179,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
189
 
190
  /**
191
  * validates a field as being positive decimal
192
- *
193
- * @return stdClass validation result object
194
  */
195
  public function positive_decimal() {
196
  if ( preg_match( '/^[0-9]+(\.[0-9]+)?$/', $this->value ) && $this->value > 0 ) {
@@ -203,8 +191,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
203
 
204
  /**
205
  * validates a field as being positive decimal or percent
206
- *
207
- * @return stdClass validation result object
208
  */
209
  public function positive_decimal_or_percent() {
210
  if ( preg_match( '/^[0-9]+(\.[0-9]+)?%?$/', $this->value ) && $this->value > 0 ) {
@@ -217,8 +203,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
217
 
218
  /**
219
  * validates a field as being positive integers
220
- *
221
- * @return stdClass validation result object
222
  */
223
  public function positive_int() {
224
  if ( preg_match( '/^[0-9]+$/', $this->value ) && $this->value > 0 ) {
@@ -237,8 +221,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
237
  * with a similar name: positive_int(). This method WILL validate whole numbers that go beyond
238
  * values that PHP's int type supports, however, if someone enters something like that, that's
239
  * on them. Smart people do smart things.
240
- *
241
- * @return stdClass validation result object
242
  */
243
  public function int() {
244
  if ( preg_match( '/^-?[0-9]+$/', $this->value ) ) {
@@ -251,8 +233,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
251
 
252
  /**
253
  * validates & sanitizes fields as URL slugs
254
- *
255
- * @return stdClass validation result object
256
  */
257
  public function slug() {
258
  $maybe_valid_value = esc_url_raw( $this->value );
@@ -270,8 +250,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
270
 
271
  /**
272
  * validates & sanitizes fields as URLs
273
- *
274
- * @return stdClass validation result object
275
  */
276
  public function url() {
277
 
@@ -279,15 +257,13 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
279
  $this->result->valid = true;
280
  } else {
281
  $this->result->valid = false;
282
- $this->result->error = sprintf( esc_html__( '%s must be a valid absolute URL.', 'tribe-common' ), $this->label );
283
  }
284
  }
285
 
286
  /**
287
  * validates fields that have options (radios, dropdowns, etc.)
288
  * by making sure the value is part of the options array
289
- *
290
- * @return stdClass validation result object
291
  */
292
  public function options() {
293
  if ( array_key_exists( $this->value, $this->field['options'] ) ) {
@@ -328,10 +304,8 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
328
  /**
329
  * validates fields that have options (radios, dropdowns, etc.)
330
  * by making sure the value is part of the options array
331
- * then combines the value into an array containg the value
332
  * and name from the option
333
- *
334
- * @return stdClass validation result object
335
  */
336
  public function options_with_label() {
337
  if ( array_key_exists( $this->value, $this->field['options'] ) ) {
@@ -350,8 +324,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
350
  * validates a field as not being able to be the same
351
  * as the specified value as specified in
352
  * $this->additional_args['compare_name']
353
- *
354
- * @return stdClass validation result object
355
  */
356
  public function cannot_be_the_same_as() {
357
  if ( ! isset( $this->additional_args['compare'] ) ) {
@@ -373,8 +345,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
373
 
374
  /**
375
  * validates a field as being a number or a percentage
376
- *
377
- * @return stdClass validation result object
378
  */
379
  public function number_or_percent() {
380
  if ( preg_match( '/^[0-9]+%{0,1}$/', $this->value ) ) {
@@ -387,8 +357,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
387
 
388
  /**
389
  * sanitizes an html field
390
- *
391
- * @return stdClass validation result object
392
  */
393
  public function html() {
394
  $this->value = balanceTags( $this->value );
@@ -397,8 +365,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
397
 
398
  /**
399
  * sanitizes a license key
400
- *
401
- * @return stdClass validation result object
402
  */
403
  public function license_key() {
404
  $this->value = trim( $this->value );
@@ -407,18 +373,14 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
407
 
408
  /**
409
  * sanitizes a textarea field
410
- *
411
- * @return stdClass validation result object
412
  */
413
  public function textarea() {
414
- $this->value = wp_kses( $this->value, array() );
415
  $this->result->valid = true;
416
  }
417
 
418
  /**
419
- * sanitizes a field as beeing a boolean
420
- *
421
- * @return stdClass validation result object
422
  */
423
  public function boolean() {
424
  $this->value = (bool) $this->value;
@@ -427,8 +389,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
427
 
428
  /**
429
  * validates a Google Maps Zoom field
430
- *
431
- * @return stdClass validation result object
432
  */
433
  public function google_maps_zoom() {
434
  if ( preg_match( '/^([0-9]|[0-1][0-9]|2[0-1])$/', $this->value ) ) {
@@ -441,9 +401,7 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
441
 
442
  /**
443
  * validates a field as being part of an address
444
- * allows for letters, numbers, dashses and spaces only
445
- *
446
- * @return stdClass validation result object
447
  */
448
  public function address() {
449
  $this->value = stripslashes( $this->value );
@@ -457,9 +415,7 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
457
 
458
  /**
459
  * validates a field as being a city or province
460
- * allows for letters, dashses and spaces only
461
- *
462
- * @return stdClass validation result object
463
  */
464
  public function city_or_province() {
465
  $this->value = stripslashes( $this->value );
@@ -473,8 +429,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
473
 
474
  /**
475
  * validates a field as being a zip code
476
- *
477
- * @return stdClass validation result object
478
  */
479
  public function zip() {
480
  if ( preg_match( '/^[0-9]{5}$/', $this->value ) ) {
@@ -487,8 +441,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
487
 
488
  /**
489
  * validates a field as being a phone number
490
- *
491
- * @return stdClass validation result object
492
  */
493
  public function phone() {
494
  if ( preg_match( '/^[0-9\(\)\+ -]+$/', $this->value ) ) {
@@ -501,8 +453,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
501
 
502
  /**
503
  * validates & sanitizes a field as being a country list
504
- *
505
- * @return stdClass validation result object
506
  */
507
  public function country_list() {
508
  $country_rows = explode( "\n", $this->value );
@@ -524,8 +474,6 @@ if ( ! class_exists( 'Tribe__Validate' ) ) {
524
  /**
525
  * automatically validate a field regardless of the value
526
  * Don't use this unless you know what you are doing
527
- *
528
- * @return stdClass validation result object
529
  */
530
  public function none() {
531
  $this->result->valid = true;
109
 
110
  /**
111
  * validates a field as a string containing only letters and numbers
 
 
112
  */
113
  public function alpha_numeric() {
114
  if ( preg_match( '/^[a-zA-Z0-9]+$/', $this->value ) ) {
122
  /**
123
  * validates a field as a string containing only letters,
124
  * numbers and carriage returns
 
 
125
  */
126
  public function alpha_numeric_multi_line() {
127
  if ( preg_match( '/^[a-zA-Z0-9\s]+$/', $this->value ) ) {
136
  /**
137
  * Validates a field as a string containing only letters,
138
  * numbers, dots and carriage returns
 
 
139
  */
140
  public function alpha_numeric_multi_line_with_dots_and_dashes() {
141
  if ( preg_match( '/^[a-zA-Z0-9\s.-]+$/', $this->value ) ) {
150
  /**
151
  * Validates a field as a string containing only letters,
152
  * numbers, dashes and underscores
 
 
153
  */
154
  public function alpha_numeric_with_dashes_and_underscores() {
155
  $this->value = trim( $this->value );
165
  * Validates a field as just "not empty".
166
  *
167
  * @since 4.7.6
 
 
168
  */
169
  public function not_empty() {
170
  $this->value = trim( $this->value );
179
 
180
  /**
181
  * validates a field as being positive decimal
 
 
182
  */
183
  public function positive_decimal() {
184
  if ( preg_match( '/^[0-9]+(\.[0-9]+)?$/', $this->value ) && $this->value > 0 ) {
191
 
192
  /**
193
  * validates a field as being positive decimal or percent
 
 
194
  */
195
  public function positive_decimal_or_percent() {
196
  if ( preg_match( '/^[0-9]+(\.[0-9]+)?%?$/', $this->value ) && $this->value > 0 ) {
203
 
204
  /**
205
  * validates a field as being positive integers
 
 
206
  */
207
  public function positive_int() {
208
  if ( preg_match( '/^[0-9]+$/', $this->value ) && $this->value > 0 ) {
221
  * with a similar name: positive_int(). This method WILL validate whole numbers that go beyond
222
  * values that PHP's int type supports, however, if someone enters something like that, that's
223
  * on them. Smart people do smart things.
 
 
224
  */
225
  public function int() {
226
  if ( preg_match( '/^-?[0-9]+$/', $this->value ) ) {
233
 
234
  /**
235
  * validates & sanitizes fields as URL slugs
 
 
236
  */
237
  public function slug() {
238
  $maybe_valid_value = esc_url_raw( $this->value );
250
 
251
  /**
252
  * validates & sanitizes fields as URLs
 
 
253
  */
254
  public function url() {
255
 
257
  $this->result->valid = true;
258
  } else {
259
  $this->result->valid = false;
260
+ $this->result->error = sprintf( esc_html__( '%s must be a valid URL.', 'tribe-common' ), $this->label );
261
  }
262
  }
263
 
264
  /**
265
  * validates fields that have options (radios, dropdowns, etc.)
266
  * by making sure the value is part of the options array
 
 
267
  */
268
  public function options() {
269
  if ( array_key_exists( $this->value, $this->field['options'] ) ) {
304
  /**
305
  * validates fields that have options (radios, dropdowns, etc.)
306
  * by making sure the value is part of the options array
307
+ * then combines the value into an array containing the value
308
  * and name from the option
 
 
309
  */
310
  public function options_with_label() {
311
  if ( array_key_exists( $this->value, $this->field['options'] ) ) {
324
  * validates a field as not being able to be the same
325
  * as the specified value as specified in
326
  * $this->additional_args['compare_name']
 
 
327
  */
328
  public function cannot_be_the_same_as() {
329
  if ( ! isset( $this->additional_args['compare'] ) ) {
345
 
346
  /**
347
  * validates a field as being a number or a percentage
 
 
348
  */
349
  public function number_or_percent() {
350
  if ( preg_match( '/^[0-9]+%{0,1}$/', $this->value ) ) {
357
 
358
  /**
359
  * sanitizes an html field
 
 
360
  */
361
  public function html() {
362
  $this->value = balanceTags( $this->value );
365
 
366
  /**
367
  * sanitizes a license key
 
 
368
  */
369
  public function license_key() {
370
  $this->value = trim( $this->value );
373
 
374
  /**
375
  * sanitizes a textarea field
 
 
376
  */
377
  public function textarea() {
378
+ $this->value = wp_kses( $this->value, [] );
379
  $this->result->valid = true;
380
  }
381
 
382
  /**
383
+ * sanitizes a field as being a boolean
 
 
384
  */
385
  public function boolean() {
386
  $this->value = (bool) $this->value;
389
 
390
  /**
391
  * validates a Google Maps Zoom field
 
 
392
  */
393
  public function google_maps_zoom() {
394
  if ( preg_match( '/^([0-9]|[0-1][0-9]|2[0-1])$/', $this->value ) ) {
401
 
402
  /**
403
  * validates a field as being part of an address
404
+ * allows for letters, numbers, dashes and spaces only
 
 
405
  */
406
  public function address() {
407
  $this->value = stripslashes( $this->value );
415
 
416
  /**
417
  * validates a field as being a city or province
418
+ * allows for letters, dashes and spaces only
 
 
419
  */
420
  public function city_or_province() {
421
  $this->value = stripslashes( $this->value );
429
 
430
  /**
431
  * validates a field as being a zip code
 
 
432
  */
433
  public function zip() {
434
  if ( preg_match( '/^[0-9]{5}$/', $this->value ) ) {
441
 
442
  /**
443
  * validates a field as being a phone number
 
 
444
  */
445
  public function phone() {
446
  if ( preg_match( '/^[0-9\(\)\+ -]+$/', $this->value ) ) {
453
 
454
  /**
455
  * validates & sanitizes a field as being a country list
 
 
456
  */
457
  public function country_list() {
458
  $country_rows = explode( "\n", $this->value );
474
  /**
475
  * automatically validate a field regardless of the value
476
  * Don't use this unless you know what you are doing
 
 
477
  */
478
  public function none() {
479
  $this->result->valid = true;
common/src/admin-views/tribe-options-general.php CHANGED
@@ -1,74 +1,77 @@
1
  <?php
2
 
3
- $generalTabFields = array(
4
- 'info-start' => array(
5
  'type' => 'html',
6
  'html' => '<div id="modern-tribe-info"><img src="' . plugins_url( 'resources/images/modern-tribe@2x.png', dirname( __FILE__ ) ) . '" alt="Modern Tribe Inc." title="Modern Tribe Inc.">',
7
- ),
8
- 'event-tickets-info' => array(
9
  'type' => 'html',
10
  'html' => '<p>' . sprintf( esc_html__( '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.', 'tribe-common' ), '<a href="http://m.tri.be/18nd">', '</a>' ) . '</p>',
11
  'conditional' => ! class_exists( 'Tribe__Events__Main' ),
12
- ),
13
- 'event-tickets-upsell-info' => array(
14
  'type' => 'html',
15
  'html' => '<p>' . sprintf( esc_html__( '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.', 'tribe-common' ), '<a href="http://m.tri.be/18x6">', '</a>', '<a href="http://m.tri.be/18x5">', '</a>' ) . '</p>',
16
  'conditional' => ! class_exists( 'Tribe__Events__Main' ),
17
- ),
18
- 'upsell-info' => array(
19
  'type' => 'html',
20
  'html' => '<p>' . esc_html__( 'Looking for additional functionality including recurring events, custom meta, community events, ticket sales and more?', 'tribe-common' ) . ' <a href="' . Tribe__Main::$tec_url . 'products/?utm_source=generaltab&utm_medium=plugin-tec&utm_campaign=in-app">' . esc_html__( 'Check out the available add-ons', 'tribe-common' ) . '</a>.</p>',
21
  'conditional' => ( ! defined( 'TRIBE_HIDE_UPSELL' ) || ! TRIBE_HIDE_UPSELL ) && class_exists( 'Tribe__Events__Main' ),
22
- ),
23
- 'donate-link-heading' => array(
24
  'type' => 'heading',
25
  'label' => esc_html__( 'We hope our plugin is helping you out.', 'tribe-common' ),
26
  'conditional' => class_exists( 'Tribe__Events__Main' ),
27
- ),
28
- 'donate-link-info' => array(
29
  'type' => 'html',
30
  'html' => '<p>' . esc_html__( '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.', 'tribe-common' ) . '<br><a href="' . esc_url( plugins_url( 'resources/images/donate-link-screenshot.png', dirname( __FILE__ ) ) ) . '" class="thickbox">' . esc_html__( 'See an example of the link', 'tribe-common' ) . '</a>.</p>',
31
  'conditional' => class_exists( 'Tribe__Events__Main' ),
32
- ),
33
- 'donate-link' => array(
34
  'type' => 'checkbox_bool',
35
  'label' => esc_html__( 'Show The Events Calendar link', 'tribe-common' ),
36
  'default' => false,
37
  'validation_type' => 'boolean',
38
  'conditional' => class_exists( 'Tribe__Events__Main' ),
39
- ),
40
- 'info-end' => array(
41
  'type' => 'html',
42
  'html' => '</div>',
43
- ),
44
- 'tribe-form-content-start' => array(
45
  'type' => 'html',
46
  'html' => '<div class="tribe-settings-form-wrap">',
47
- ),
48
- );
49
 
50
  if ( is_super_admin() ) {
51
- $generalTabFields['debugEvents'] = array(
52
  'type' => 'checkbox_bool',
53
  'label' => esc_html__( 'Debug mode', 'tribe-common' ),
 
 
 
 
 
 
 
54
  'default' => false,
55
  'validation_type' => 'boolean',
56
- );
57
- $generalTabFields['debugEventsHelper'] = array(
58
- 'type' => 'html',
59
- 'html' => '<p class="tribe-field-indent tribe-field-description description" style="max-width:400px;">' . sprintf( esc_html__( '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.', 'tribe-common' ), '<a href="https://wordpress.org/extend/plugins/debug-bar/" target="_blank">' . esc_html__( 'Debug Bar Plugin', 'tribe-common' ) . '</a>' ) . '</p>',
60
- );
61
  }
62
 
63
  // Closes form
64
- $generalTabFields['tribe-form-content-end'] = array(
65
  'type' => 'html',
66
  'html' => '</div>',
67
- );
68
 
69
 
70
- $generalTab = array(
71
  'priority' => 10,
72
  'fields' => apply_filters( 'tribe_general_settings_tab_fields', $generalTabFields ),
73
- );
74
 
1
  <?php
2
 
3
+ $generalTabFields = [
4
+ 'info-start' => [
5
  'type' => 'html',
6
  'html' => '<div id="modern-tribe-info"><img src="' . plugins_url( 'resources/images/modern-tribe@2x.png', dirname( __FILE__ ) ) . '" alt="Modern Tribe Inc." title="Modern Tribe Inc.">',
7
+ ],
8
+ 'event-tickets-info' => [
9
  'type' => 'html',
10
  'html' => '<p>' . sprintf( esc_html__( '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.', 'tribe-common' ), '<a href="http://m.tri.be/18nd">', '</a>' ) . '</p>',
11
  'conditional' => ! class_exists( 'Tribe__Events__Main' ),
12
+ ],
13
+ 'event-tickets-upsell-info' => [
14
  'type' => 'html',
15
  'html' => '<p>' . sprintf( esc_html__( '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.', 'tribe-common' ), '<a href="http://m.tri.be/18x6">', '</a>', '<a href="http://m.tri.be/18x5">', '</a>' ) . '</p>',
16
  'conditional' => ! class_exists( 'Tribe__Events__Main' ),
17
+ ],
18
+ 'upsell-info' => [
19
  'type' => 'html',
20
  'html' => '<p>' . esc_html__( 'Looking for additional functionality including recurring events, custom meta, community events, ticket sales and more?', 'tribe-common' ) . ' <a href="' . Tribe__Main::$tec_url . 'products/?utm_source=generaltab&utm_medium=plugin-tec&utm_campaign=in-app">' . esc_html__( 'Check out the available add-ons', 'tribe-common' ) . '</a>.</p>',
21
  'conditional' => ( ! defined( 'TRIBE_HIDE_UPSELL' ) || ! TRIBE_HIDE_UPSELL ) && class_exists( 'Tribe__Events__Main' ),
22
+ ],
23
+ 'donate-link-heading' => [
24
  'type' => 'heading',
25
  'label' => esc_html__( 'We hope our plugin is helping you out.', 'tribe-common' ),
26
  'conditional' => class_exists( 'Tribe__Events__Main' ),
27
+ ],
28
+ 'donate-link-info' => [
29
  'type' => 'html',
30
  'html' => '<p>' . esc_html__( '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.', 'tribe-common' ) . '<br><a href="' . esc_url( plugins_url( 'resources/images/donate-link-screenshot.png', dirname( __FILE__ ) ) ) . '" class="thickbox">' . esc_html__( 'See an example of the link', 'tribe-common' ) . '</a>.</p>',
31
  'conditional' => class_exists( 'Tribe__Events__Main' ),
32
+ ],
33
+ 'donate-link' => [
34
  'type' => 'checkbox_bool',
35
  'label' => esc_html__( 'Show The Events Calendar link', 'tribe-common' ),
36
  'default' => false,
37
  'validation_type' => 'boolean',
38
  'conditional' => class_exists( 'Tribe__Events__Main' ),
39
+ ],
40
+ 'info-end' => [
41
  'type' => 'html',
42
  'html' => '</div>',
43
+ ],
44
+ 'tribe-form-content-start' => [
45
  'type' => 'html',
46
  'html' => '<div class="tribe-settings-form-wrap">',
47
+ ],
48
+ ];
49
 
50
  if ( is_super_admin() ) {
51
+ $generalTabFields['debugEvents'] = [
52
  'type' => 'checkbox_bool',
53
  'label' => esc_html__( 'Debug mode', 'tribe-common' ),
54
+ 'tooltip' => sprintf(
55
+ esc_html__(
56
+ '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.',
57
+ 'tribe-common'
58
+ ),
59
+ '<a href="https://wordpress.org/extend/plugins/debug-bar/" target="_blank">' . esc_html__( 'Debug Bar Plugin', 'tribe-common' ) . '</a>'
60
+ ),
61
  'default' => false,
62
  'validation_type' => 'boolean',
63
+ ];
 
 
 
 
64
  }
65
 
66
  // Closes form
67
+ $generalTabFields['tribe-form-content-end'] = [
68
  'type' => 'html',
69
  'html' => '</div>',
70
+ ];
71
 
72
 
73
+ $generalTab = [
74
  'priority' => 10,
75
  'fields' => apply_filters( 'tribe_general_settings_tab_fields', $generalTabFields ),
76
+ ];
77
 
common/src/functions/template-tags/general.php CHANGED
@@ -588,43 +588,49 @@ function tribe_register_error( $indexes, $message ) {
588
  *
589
  * @since 4.3
590
  *
591
- * @param object $origin The main Object for the plugin you are enqueueing the script/style for
592
- * @param string $slug Slug to save the asset
593
- * @param string $file Which file will be loaded, either CSS or JS
594
- * @param array $deps Dependencies
595
- * @param string $action A WordPress Action, needs to happen after: `wp_enqueue_scripts`, `admin_enqueue_scripts`, or `login_enqueue_scripts`
596
- * @param array $arguments Look at `Tribe__Assets::register()` for more info
 
597
  *
598
- * @return array Which Assets was registered
599
  */
600
- function tribe_asset( $origin, $slug, $file, $deps = array(), $action = null, $arguments = array() ) {
601
- return tribe( 'assets' )->register( $origin, $slug, $file, $deps, $action, $arguments );
 
 
 
602
  }
603
 
604
  /**
605
- * Shortcut for Tribe__Assets::enqueue(), include assets
606
- *
607
- * @since 4.7
608
  *
609
- * @param string|array $slug Slug to enqueue
610
  *
611
- * @return string
612
  */
613
  function tribe_asset_enqueue( $slug ) {
614
- return tribe( 'assets' )->enqueue( $slug );
 
 
 
615
  }
616
 
617
  /**
618
- * Shortcut for Tribe__Assets::enqueue_group() include assets by groups
619
- *
620
- * @since 4.7
621
  *
622
- * @param string|array $group Which group(s) should be enqueued
623
  *
624
- * @return string
625
  */
626
  function tribe_asset_enqueue_group( $group ) {
627
- return tribe( 'assets' )->enqueue_group( $group );
 
 
 
628
  }
629
 
630
  /**
588
  *
589
  * @since 4.3
590
  *
591
+ * @param object $origin The main object for the plugin you are enqueueing the asset for.
592
+ * @param string $slug Slug to save the asset - passes through `sanitize_title_with_dashes()`.
593
+ * @param string $file The asset file to load (CSS or JS), including non-minified file extension.
594
+ * @param array $deps The list of dependencies.
595
+ * @param string|array|null $action The WordPress action(s) to enqueue on, such as `wp_enqueue_scripts`,
596
+ * `admin_enqueue_scripts`, or `login_enqueue_scripts`.
597
+ * @param array $arguments See `Tribe__Assets::register()` for more info.
598
  *
599
+ * @return object|false The asset that got registered or false on error.
600
  */
601
+ function tribe_asset( $origin, $slug, $file, $deps = [], $action = null, $arguments = [] ) {
602
+ /** @var Tribe__Assets $assets */
603
+ $assets = tribe( 'assets' );
604
+
605
+ return $assets->register( $origin, $slug, $file, $deps, $action, $arguments );
606
  }
607
 
608
  /**
609
+ * Shortcut for Tribe__Assets::enqueue() to include assets.
 
 
610
  *
611
+ * @since 4.7
612
  *
613
+ * @param string|array $slug Slug to enqueue
614
  */
615
  function tribe_asset_enqueue( $slug ) {
616
+ /** @var Tribe__Assets $assets */
617
+ $assets = tribe( 'assets' );
618
+
619
+ $assets->enqueue( $slug );
620
  }
621
 
622
  /**
623
+ * Shortcut for Tribe__Assets::enqueue_group() include assets by groups.
 
 
624
  *
625
+ * @since 4.7
626
  *
627
+ * @param string|array $group Which group(s) should be enqueued.
628
  */
629
  function tribe_asset_enqueue_group( $group ) {
630
+ /** @var Tribe__Assets $assets */
631
+ $assets = tribe( 'assets' );
632
+
633
+ $assets->enqueue_group( $group );
634
  }
635
 
636
  /**
common/src/functions/utils.php CHANGED
@@ -36,14 +36,10 @@ if ( ! function_exists( 'tribe_register_plugin' ) ) {
36
  * @param string $version The version
37
  * @param array $classes_req Any Main class files/tribe plugins required for this to run
38
  * @param array $dependencies an array of dependencies to check
39
- *
40
- * @return bool Indicates if plugin should continue initialization
41
  */
42
- function tribe_register_plugin( $file_path, $main_class, $version, $classes_req = array(), $dependencies = array() ) {
43
-
44
- $tribe_dependency = Tribe__Dependency::instance();
45
  $tribe_dependency->register_plugin( $file_path, $main_class, $version, $classes_req, $dependencies );
46
-
47
  }
48
  }
49
 
@@ -136,7 +132,9 @@ if ( ! function_exists( 'tribe_get_request_var' ) ) {
136
  *
137
  * The variable being tested for can be an array if you wish to find a nested value.
138
  *
139
- * @see Tribe__Utils__Array::get()
 
 
140
  *
141
  * @param string|array $var
142
  * @param mixed $default
@@ -144,7 +142,7 @@ if ( ! function_exists( 'tribe_get_request_var' ) ) {
144
  * @return mixed
145
  */
146
  function tribe_get_request_var( $var, $default = null ) {
147
- return Tribe__Utils__Array::get_in_any( array( $_GET, $_POST ), $var, $default );
148
  }
149
  }
150
 
@@ -638,4 +636,44 @@ if ( ! function_exists( 'tribe_register_rest_route' ) ) {
638
  $args = apply_filters( 'tribe_register_rest_route_args', $args, $namespace, $route, $override );
639
  return register_rest_route( $namespace, $route, $args, $override );
640
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
641
  }
36
  * @param string $version The version
37
  * @param array $classes_req Any Main class files/tribe plugins required for this to run
38
  * @param array $dependencies an array of dependencies to check
 
 
39
  */
40
+ function tribe_register_plugin( $file_path, $main_class, $version, $classes_req = [], $dependencies = [] ) {
41
+ $tribe_dependency = tribe( Tribe__Dependency::class );
 
42
  $tribe_dependency->register_plugin( $file_path, $main_class, $version, $classes_req, $dependencies );
 
43
  }
44
  }
45
 
132
  *
133
  * The variable being tested for can be an array if you wish to find a nested value.
134
  *
135
+ * @since 4.9.17 Included explicit check against $_REQUEST.
136
+ *
137
+ * @see Tribe__Utils__Array::get()
138
  *
139
  * @param string|array $var
140
  * @param mixed $default
142
  * @return mixed
143
  */
144
  function tribe_get_request_var( $var, $default = null ) {
145
+ return Tribe__Utils__Array::get_in_any( array( $_GET, $_POST, $_REQUEST ), $var, $default );
146
  }
147
  }
148
 
636
  $args = apply_filters( 'tribe_register_rest_route_args', $args, $namespace, $route, $override );
637
  return register_rest_route( $namespace, $route, $args, $override );
638
  }
639
+ }
640
+
641
+ if ( ! function_exists( 'tribe_get_request_vars' ) ) {
642
+ /**
643
+ * Returns the sanitized version of the `$_REQUEST` super-global array.
644
+ *
645
+ * Note: the return value is cached. It will be resolve the first time the function is called, per HTTP request,
646
+ * then the same return value will be returned. After the function has been called the first time, changes to the
647
+ * `$_REQUEST` super-global will NOT be reflected in the function return value.
648
+ * Call the function with `$refresh` set to `true` to refresh the function value.
649
+ *
650
+ * @since 4.9.18
651
+ *
652
+ * @param bool $refresh Whether to parse the `$_REQUEST` cache again and refresh the cache or not; defaults to
653
+ * `false`.
654
+ *
655
+ * @return array The sanitized version of the `$_REQUEST` super-global.
656
+ */
657
+ function tribe_get_request_vars( $refresh = false ) {
658
+ static $cache;
659
+
660
+ if ( ! isset( $_REQUEST ) ) {
661
+ return [];
662
+ }
663
+
664
+ if ( null !== $cache && ! $refresh ) {
665
+ return $cache;
666
+ }
667
+
668
+ $cache = array_combine(
669
+ array_keys( $_REQUEST ),
670
+ array_map( static function ( $v )
671
+ {
672
+ return filter_var( $v, FILTER_SANITIZE_STRING );
673
+ },
674
+ $_REQUEST )
675
+ );
676
+
677
+ return $cache;
678
+ }
679
  }
common/src/resources/css/common.css CHANGED
@@ -423,6 +423,10 @@
423
  * Anchor - Thin
424
  * ----------------------------------------------------------------------------- */
425
 
 
 
 
 
426
  /* -----------------------------------------------------------------------------
427
  * Button - Global
428
  * ----------------------------------------------------------------------------- */
@@ -1299,6 +1303,14 @@
1299
  * Body 1 for --viewport-medium
1300
  * ------------------------------------------------------------------------- */
1301
 
 
 
 
 
 
 
 
 
1302
  .tribe-common {
1303
 
1304
  /* -------------------------------------------------------------------------
@@ -1348,12 +1360,27 @@
1348
  color: #334AFF;
1349
  }
1350
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1351
  /* -------------------------------------------------------------------------
1352
  * Theme Overrides - Twenty Seventeen
1353
  * ------------------------------------------------------------------------- */
1354
 
1355
  .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover,
1356
- .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus {
 
 
1357
  color: #334AFF;
1358
  }
1359
 
@@ -1649,6 +1676,15 @@
1649
  padding: 0;
1650
  }
1651
 
 
 
 
 
 
 
 
 
 
1652
  /* -------------------------------------------------------------------------
1653
  * Button
1654
  * ------------------------------------------------------------------------- */
@@ -1664,6 +1700,15 @@
1664
  background-color: transparent;
1665
  }
1666
 
 
 
 
 
 
 
 
 
 
1667
  /* -----------------------------------------------------------------------------
1668
  *
1669
  * Layout: Global Content Container
@@ -1816,6 +1861,15 @@
1816
 
1817
  /* Buttons */
1818
 
 
 
 
 
 
 
 
 
 
1819
  /* -----------------------------------------------------------------------------
1820
  *
1821
  * Button: Border
@@ -1875,6 +1929,23 @@
1875
  color: #D5D5D5
1876
  }
1877
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1878
  /* -----------------------------------------------------------------------------
1879
  *
1880
  * Button: Icon
@@ -2004,6 +2075,23 @@
2004
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23D5D5D5'/%3E%3C/svg%3E");
2005
  }
2006
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2007
  /* -----------------------------------------------------------------------------
2008
  *
2009
  * Button: Solid
@@ -2054,6 +2142,16 @@
2054
  background-color: rgba(51,74,255, 0.07);
2055
  }
2056
 
 
 
 
 
 
 
 
 
 
 
2057
  /* -----------------------------------------------------------------------------
2058
  *
2059
  * Component: Image
@@ -2146,6 +2244,16 @@
2146
  line-height: 1.62
2147
  }
2148
 
 
 
 
 
 
 
 
 
 
 
2149
  .tribe-common .tribe-common-h1 {
2150
  font-size: 42px;
2151
  line-height: 1.38
423
  * Anchor - Thin
424
  * ----------------------------------------------------------------------------- */
425
 
426
+ /* -----------------------------------------------------------------------------
427
+ * Anchor - Thin
428
+ * ----------------------------------------------------------------------------- */
429
+
430
  /* -----------------------------------------------------------------------------
431
  * Button - Global
432
  * ----------------------------------------------------------------------------- */
1303
  * Body 1 for --viewport-medium
1304
  * ------------------------------------------------------------------------- */
1305
 
1306
+ /* -------------------------------------------------------------------------
1307
+ * Body 2 for --viewport-medium
1308
+ * ------------------------------------------------------------------------- */
1309
+
1310
+ /* -------------------------------------------------------------------------
1311
+ * Body 3 for --viewport-medium
1312
+ * ------------------------------------------------------------------------- */
1313
+
1314
  .tribe-common {
1315
 
1316
  /* -------------------------------------------------------------------------
1360
  color: #334AFF;
1361
  }
1362
 
1363
+ .tribe-common .tribe-common-cta--thin-alt {
1364
+ border-bottom: 1px solid #334AFF;
1365
+ color: #141827;
1366
+ transition: color 0.2s ease;
1367
+ }
1368
+
1369
+ .tribe-common .tribe-common-cta--thin-alt:active,
1370
+ .tribe-common .tribe-common-cta--thin-alt:focus,
1371
+ .tribe-common .tribe-common-cta--thin-alt:hover {
1372
+ border-bottom: 1px solid #334AFF;
1373
+ color: #334AFF;
1374
+ }
1375
+
1376
  /* -------------------------------------------------------------------------
1377
  * Theme Overrides - Twenty Seventeen
1378
  * ------------------------------------------------------------------------- */
1379
 
1380
  .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover,
1381
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus,
1382
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:hover,
1383
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:focus {
1384
  color: #334AFF;
1385
  }
1386
 
1676
  padding: 0;
1677
  }
1678
 
1679
+ .tribe-common {
1680
+
1681
+ /* -------------------------------------------------------------------------
1682
+ *
1683
+ * Button: Theme Overrides
1684
+ *
1685
+ * ------------------------------------------------------------------------- */
1686
+ }
1687
+
1688
  /* -------------------------------------------------------------------------
1689
  * Button
1690
  * ------------------------------------------------------------------------- */
1700
  background-color: transparent;
1701
  }
1702
 
1703
+ /* -------------------------------------------------------------------------
1704
+ * Theme Overrides - Twenty Seventeen
1705
+ * ------------------------------------------------------------------------- */
1706
+
1707
+ .tribe-theme-twentyseventeen .tribe-common button:hover,
1708
+ .tribe-theme-twentyseventeen .tribe-common button:focus {
1709
+ background-color: transparent;
1710
+ }
1711
+
1712
  /* -----------------------------------------------------------------------------
1713
  *
1714
  * Layout: Global Content Container
1861
 
1862
  /* Buttons */
1863
 
1864
+ .tribe-common {
1865
+
1866
+ /* -------------------------------------------------------------------------
1867
+ *
1868
+ * Button: Border - Theme Overrides
1869
+ *
1870
+ * ------------------------------------------------------------------------- */
1871
+ }
1872
+
1873
  /* -----------------------------------------------------------------------------
1874
  *
1875
  * Button: Border
1929
  color: #D5D5D5
1930
  }
1931
 
1932
+ /* -------------------------------------------------------------------------
1933
+ * Theme Overrides - Twenty Seventeen
1934
+ * ------------------------------------------------------------------------- */
1935
+
1936
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:hover {
1937
+ background-color: #FFFFFF;
1938
+ }
1939
+
1940
+ .tribe-common {
1941
+
1942
+ /* -------------------------------------------------------------------------
1943
+ *
1944
+ * Button: Icon Border - Theme Overrides
1945
+ *
1946
+ * ------------------------------------------------------------------------- */
1947
+ }
1948
+
1949
  /* -----------------------------------------------------------------------------
1950
  *
1951
  * Button: Icon
2075
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23D5D5D5'/%3E%3C/svg%3E");
2076
  }
2077
 
2078
+ /* -------------------------------------------------------------------------
2079
+ * Theme Overrides - Twenty Seventeen
2080
+ * ------------------------------------------------------------------------- */
2081
+
2082
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-icon--border:hover {
2083
+ background-color: #FFFFFF;
2084
+ }
2085
+
2086
+ .tribe-common {
2087
+
2088
+ /* -------------------------------------------------------------------------
2089
+ *
2090
+ * Button: Solid - Theme Overrides
2091
+ *
2092
+ * ------------------------------------------------------------------------- */
2093
+ }
2094
+
2095
  /* -----------------------------------------------------------------------------
2096
  *
2097
  * Button: Solid
2142
  background-color: rgba(51,74,255, 0.07);
2143
  }
2144
 
2145
+ /* -------------------------------------------------------------------------
2146
+ * Theme Overrides - Twenty Seventeen
2147
+ * ------------------------------------------------------------------------- */
2148
+
2149
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:hover,
2150
+ .tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:focus {
2151
+ background-color: rgba(51,74,255, 0.8);
2152
+ color: #FFFFFF;
2153
+ }
2154
+
2155
  /* -----------------------------------------------------------------------------
2156
  *
2157
  * Component: Image
2244
  line-height: 1.62
2245
  }
2246
 
2247
+ .tribe-common .tribe-common-b2--min-medium {
2248
+ font-size: 14px;
2249
+ line-height: 1.62
2250
+ }
2251
+
2252
+ .tribe-common .tribe-common-b3--min-medium {
2253
+ font-size: 12px;
2254
+ line-height: 1.38
2255
+ }
2256
+
2257
  .tribe-common .tribe-common-h1 {
2258
  font-size: 42px;
2259
  line-height: 1.38
common/src/resources/css/common.min.css CHANGED
@@ -1 +1 @@
1
- .tribe-common figure{line-height:0}.tribe-common figcaption{line-height:normal}.tribe-common a{background-color:transparent;-webkit-text-decoration-skip:objects}.tribe-common abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.tribe-common code,.tribe-common kbd,.tribe-common pre,.tribe-common samp{font-family:monospace;font-size:1em}.tribe-common b,.tribe-common strong{font-weight:inherit;font-weight:bolder}.tribe-common dfn{font-style:italic}.tribe-common mark{background-color:#ff0;color:#000}.tribe-common small{font-size:80%}.tribe-common sub,.tribe-common sup{font-size:75%;line-height:0}.tribe-common hr{border:0;height:0}.tribe-common button,.tribe-common input[type=button],.tribe-common input[type=email],.tribe-common input[type=password],.tribe-common input[type=reset],.tribe-common input[type=search],.tribe-common input[type=submit],.tribe-common input[type=text],.tribe-common input[type=url],.tribe-common textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-common button,.tribe-common input,.tribe-common optgroup,.tribe-common select,.tribe-common textarea{color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:antialiased}.tribe-common button,.tribe-common input,.tribe-common select,.tribe-common textarea{outline:0;border-radius:0}.tribe-common select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.tribe-common optgroup{font-weight:700}.tribe-common ol,.tribe-common ul{list-style:none}.tribe-common h1,.tribe-common h2,.tribe-common h3,.tribe-common h4,.tribe-common h5,.tribe-common h6,.tribe-common p{font-weight:400;text-rendering:optimizeLegibility}.tribe-common .tribe-common-form-control-checkbox,.tribe-common .tribe-common-form-control-radio{line-height:0}.tribe-common .tribe-common-form-control-checkbox__label,.tribe-common .tribe-common-form-control-radio__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-checkbox__input,.tribe-common .tribe-common-form-control-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #141827;cursor:pointer;display:inline-block;height:20px;margin:0;position:relative;vertical-align:middle;width:20px}.tribe-common .tribe-common-form-control-checkbox__input:active,.tribe-common .tribe-common-form-control-checkbox__input:focus,.tribe-common .tribe-common-form-control-checkbox__input:hover,.tribe-common .tribe-common-form-control-radio__input:active,.tribe-common .tribe-common-form-control-radio__input:focus,.tribe-common .tribe-common-form-control-radio__input:hover{border:1px solid #141827}.tribe-common .tribe-common-form-control-checkbox__input:checked,.tribe-common .tribe-common-form-control-radio__input:checked{background-color:#141827}.tribe-common .tribe-common-form-control-checkbox__input:checked:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6.1L3.9 6.8 1.4 4.3c-.1-.1-.3-.1-.4 0l-.8.8c-.1.1-.1.3 0 .4l3.4 3.4c.2.1.4.1.5 0l7.7-7.7c.1-.1.1-.3 0-.4L11 .1c-.1-.1-.3-.1-.4 0z' fill='%23FFF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";display:block;height:9px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:12px}.tribe-common .tribe-common-form-control-radio__input{border-radius:50%}.tribe-common .tribe-common-form-control-radio__input:checked:before{background-color:#fff;border-radius:50%;content:"";display:block;height:8px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:8px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-checkbox__input{display:inline-block}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-checkbox__label,#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-radio__label{font-weight:400;font-size:14px}.tribe-common .tribe-common-form-control-checkbox-radio-group>*{margin-bottom:15px}.tribe-common .tribe-common-form-control-checkbox-radio-group>:last-child{margin-bottom:0}.tribe-common .tribe-common-form-control-slider{line-height:0}.tribe-common .tribe-common-form-control-slider__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;cursor:pointer;display:inline-block;margin:0;padding:0;width:120px;vertical-align:middle}.tribe-common .tribe-common-form-control-slider__input::-webkit-slider-runnable-track{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;background-color:#334aff}.tribe-common .tribe-common-form-control-slider__input::-moz-range-track{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;background-color:#334aff}.tribe-common .tribe-common-form-control-slider__input::-ms-track{background-color:transparent;border-color:transparent;border-width:5px 0;color:transparent;height:10px}.tribe-common .tribe-common-form-control-slider__input::-ms-fill-lower,.tribe-common .tribe-common-form-control-slider__input::-ms-fill-upper{background-color:#334aff;border-radius:10px}.tribe-common .tribe-common-form-control-slider__input::-webkit-slider-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px;-webkit-appearance:none;appearance:none}.tribe-common .tribe-common-form-control-slider__input::-moz-range-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px}.tribe-common .tribe-common-form-control-slider__input::-ms-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px;box-shadow:none;margin-top:-1px}.tribe-common .tribe-common-form-control-slider__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-slider--vertical .tribe-common-form-control-slider__label{display:block;margin:0 0 6px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-slider__label{font-weight:400;font-size:12px}.tribe-common .tribe-common-form-control-text__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400;border:0;border-bottom:1px solid #d5d5d5;height:auto;padding:12px 28px 12px 0;width:100%}.tribe-common .tribe-common-form-control-text__input::-webkit-input-placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input:-ms-input-placeholder,.tribe-common .tribe-common-form-control-text__input::-ms-input-placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input::placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input:focus{border-bottom-color:#141827;outline:0}.tribe-theme-twentyseventeen .tribe-common .tribe-common-form-control-text__input{color:#141827}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400;border:0;border-bottom:1px solid #d5d5d5;padding:12px 28px 12px 0;width:100%}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input:focus{border-bottom-color:#141827;box-shadow:none}.tribe-common .tribe-common-form-control-toggle{line-height:0}.tribe-common .tribe-common-form-control-toggle__input{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#d5d5d5;cursor:pointer;display:inline-block;vertical-align:middle;width:40px}.tribe-common .tribe-common-form-control-toggle__input:after{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;content:"";left:0;position:absolute;top:-5px;transition:transform .2s ease}.tribe-common .tribe-common-form-control-toggle__input:checked{background-color:#334aff}.tribe-common .tribe-common-form-control-toggle__input:checked:after{transform:translateX(20px)}.tribe-common .tribe-common-form-control-toggle__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-toggle--vertical .tribe-common-form-control-toggle__label{display:block;margin:0 0 6px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-toggle__input{display:inline-block;margin:5px 0}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-toggle__label{font-weight:400;font-size:12px}.tribe-common .tribe-common-g-col{min-width:0;width:100%}.tribe-common .tribe-common-g-row{display:flex;flex-wrap:wrap}.tribe-common .tribe-common-g-row--gutters{margin-left:-21px;margin-right:-21px}.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col{padding-left:21px;padding-right:21px}.tribe-common a{cursor:pointer}.tribe-common a,.tribe-common a:active,.tribe-common a:focus,.tribe-common a:hover,.tribe-common a:visited{color:#141827;outline:0;text-decoration:none}.tribe-theme-twentyseventeen .tribe-common a:focus,.tribe-theme-twentyseventeen .tribe-common a:hover{box-shadow:none;color:#141827}.tribe-theme-twentynineteen .entry .tribe-common a{text-decoration:none}.tribe-common .tribe-common-anchor{border-bottom:2px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-anchor:active,.tribe-common .tribe-common-anchor:focus,.tribe-common .tribe-common-anchor:hover{border-bottom:2px solid #141827}.tribe-common .tribe-common-anchor-alt{border-bottom:2px solid #334aff;color:#141827;transition:color .2s ease}.tribe-common .tribe-common-anchor-alt:active,.tribe-common .tribe-common-anchor-alt:focus,.tribe-common .tribe-common-anchor-alt:hover{border-bottom:2px solid #334aff;color:#334aff}.tribe-common .tribe-common-anchor-thin{border-bottom:1px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-anchor-thin:active,.tribe-common .tribe-common-anchor-thin:focus,.tribe-common .tribe-common-anchor-thin:hover{border-bottom:1px solid #141827}.tribe-theme-twentyseventeen .tribe-common .tribe-common-anchor-alt:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-anchor-alt:hover{color:#334aff}.tribe-common .tribe-common-b1{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.62}.tribe-common .tribe-common-b1--bold{font-weight:700}.tribe-common .tribe-common-b2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.38}.tribe-common .tribe-common-b2--bold{font-weight:700}.tribe-common .tribe-common-b3{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-common .tribe-common-b3--bold{font-weight:700}.tribe-common .tribe-common-cta{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;font-weight:700;border-bottom:2px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-cta:active,.tribe-common .tribe-common-cta:focus,.tribe-common .tribe-common-cta:hover{border-bottom:2px solid #141827}.tribe-common .tribe-common-cta--alt{border-bottom:2px solid #334aff;color:#141827;transition:color .2s ease}.tribe-common .tribe-common-cta--alt:active,.tribe-common .tribe-common-cta--alt:focus,.tribe-common .tribe-common-cta--alt:hover{border-bottom:2px solid #334aff;color:#334aff}.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover{color:#334aff}.tribe-common .tribe-common-h1{font-size:28px}.tribe-common .tribe-common-h1,.tribe-common .tribe-common-h2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.42}.tribe-common .tribe-common-h2{font-size:24px}.tribe-common .tribe-common-h3{font-size:22px;line-height:1.5}.tribe-common .tribe-common-h3,.tribe-common .tribe-common-h4{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-common .tribe-common-h4{font-size:20px;line-height:1.42}.tribe-common .tribe-common-h5{font-size:18px}.tribe-common .tribe-common-h5,.tribe-common .tribe-common-h6{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.5}.tribe-common .tribe-common-h6{font-size:16px}.tribe-common .tribe-common-h7{font-size:14px;line-height:1.62}.tribe-common .tribe-common-h7,.tribe-common .tribe-common-h8{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-common .tribe-common-h8{font-size:12px;line-height:1.38}.tribe-common .tribe-common-h--alt{font-weight:400}.tribe-theme-avada #main .tribe-common .tribe-common-h1{font-size:28px}.tribe-theme-avada #main .tribe-common .tribe-common-h1,.tribe-theme-avada #main .tribe-common .tribe-common-h2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h2{font-size:24px}.tribe-theme-avada #main .tribe-common .tribe-common-h3{font-size:22px;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h3,.tribe-theme-avada #main .tribe-common .tribe-common-h4{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-theme-avada #main .tribe-common .tribe-common-h4{font-size:20px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h5{font-size:18px}.tribe-theme-avada #main .tribe-common .tribe-common-h5,.tribe-theme-avada #main .tribe-common .tribe-common-h6{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h6{font-size:16px}.tribe-theme-avada #main .tribe-common .tribe-common-h7{font-size:14px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h7,.tribe-theme-avada #main .tribe-common .tribe-common-h8{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-theme-avada #main .tribe-common .tribe-common-h8{font-size:12px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h--alt{font-weight:400}.tribe-theme-divi #left-area .tribe-common ul,.tribe-theme-divi .entry-content .tribe-common ul,body.et-pb-preview.tribe-theme-divi #main-content .container .tribe-common ul{list-style-type:none;padding:0}.tribe-common button{border:none;padding:0}.tribe-common button,.tribe-common button:focus,.tribe-common button:hover{background-color:transparent}.tribe-common .tribe-common-l-container{max-width:1260px;margin-left:auto;margin-right:auto;padding-left:19.5px;padding-right:19.5px;width:100%}.tribe-common .tribe-common-svgicon{background-repeat:no-repeat;background-size:contain}.tribe-common .tribe-common-svgicon--day{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 .503v19.994c0 .278.19.503.424.503h20.152c.234 0 .424-.225.424-.503V.503C21 .225 20.81 0 20.576 0H.424C.19 0 0 .225 0 .503zm1.156.943h18.66v2.7H1.157v-2.7zm0 4.023h18.66V19.55H1.157V5.469zM14.18 14.53v1.747c0 .482.39.874.873.874H16.8a.873.873 0 0 0 .873-.874V14.53a.873.873 0 0 0-.873-.873h-1.747a.873.873 0 0 0-.873.873z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--list{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23141827'%3E%3Cpath d='M19.883 3.272c.342 0 .622-.21.622-.467v-.464c0-.257-.28-.467-.622-.467H7.127c-.342 0-.622.21-.622.467v.464c0 .257.28.467.622.467h12.756zm-18.045.935a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM19.883 9.98c.342 0 .622-.21.622-.466v-.465c0-.257-.28-.467-.622-.467H7.127c-.342 0-.622.21-.622.467v.465c0 .256.28.466.622.466h12.756zm-18.045.936a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM19.883 16.689c.342 0 .622-.21.622-.467v-.465c0-.256-.28-.466-.622-.466H7.127c-.342 0-.622.21-.622.466v.465c0 .257.28.467.622.467h12.756zm-18.045.935a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5z'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--map{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827'%3E%3Cpath stroke-linejoin='round' d='M13.921 11.632H17.5l3.588 8.421H1l3.488-8.421h4.016'/%3E%3Cpath d='M11.32 15.506c.2-.248 4.93-6.108 4.93-9.04 0-3.015-2.305-5.468-5.138-5.468-2.833 0-5.138 2.453-5.138 5.467 0 2.933 4.729 8.793 4.93 9.041a.268.268 0 0 0 .208.101c.08 0 .155-.037.207-.101zm-4.797-9.04c0-2.693 2.058-4.883 4.589-4.883 2.53 0 4.588 2.19 4.588 4.882 0 2.387-3.667 7.22-4.588 8.397-.922-1.177-4.589-6.009-4.589-8.397z' stroke-width='.4' fill='%23141827' fill-rule='nonzero'/%3E%3Cpath d='M12.85 6.477c0-1.007-.78-1.826-1.738-1.826-.96 0-1.74.819-1.74 1.826 0 1.007.78 1.826 1.74 1.826.959 0 1.739-.82 1.739-1.826zm-3.15 0c0-.817.633-1.482 1.412-1.482.778 0 1.41.665 1.41 1.482s-.632 1.482-1.41 1.482c-.779 0-1.412-.665-1.412-1.482z' stroke-width='.7' fill='%23000' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--month{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.637 1.063v19.879c0 .276.189.5.422.5h20.037c.232 0 .421-.224.421-.5V1.062c0-.275-.189-.5-.421-.5H1.059c-.233 0-.422.225-.422.5zM1.787 2H20.34v2.685H1.787V2zm0 4H20.34v14H1.787V6zM8 8.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-8 4v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-12 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm0 4v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--photo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23141827'%3E%3Cpath d='M19.348.11H.634a.509.509 0 0 0-.52.508v15.017c0 .284.23.508.52.508h18.714a.51.51 0 0 0 .52-.508V.618a.509.509 0 0 0-.52-.508zm-.54 1.035v10.837l-2.87-3.084c-.583-.61-1.664-.61-2.246 0l-1.393 1.481-4.034-4.525a1.625 1.625 0 0 0-1.227-.528 1.6 1.6 0 0 0-1.206.548l-4.657 5.175V1.145h17.632zM1.174 15.108v-2.496l5.448-6.089a.529.529 0 0 1 .415-.182c.146 0 .333.06.437.182l4.429 4.972c.104.102.25.183.395.183.166.02.291-.06.395-.162l1.788-1.908c.167-.183.5-.183.686 0l3.66 3.917v1.603H1.175v-.02z'/%3E%3Cpath d='M14.19 5.757c1.044 0 1.91-.872 1.91-1.968s-.846-1.969-1.91-1.969c-1.062 0-1.909.873-1.909 1.969s.866 1.968 1.91 1.968zm0-2.902c.493 0 .907.427.907.934 0 .507-.414.933-.906.933-.492 0-.906-.426-.906-.933 0-.507.414-.934.906-.934z'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--week{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 .503v19.994c0 .278.19.503.424.503h20.152c.234 0 .424-.225.424-.503V.503C21 .225 20.81 0 20.576 0H.424C.19 0 0 .225 0 .503zm1.156.943h18.66v2.7H1.157v-2.7zm0 4.023h18.66V19.55H1.157V5.469zm6.25 6.537v1.006c0 .278.224.503.502.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H7.908a.503.503 0 0 0-.503.502zm4.022 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H11.93a.503.503 0 0 0-.503.502zm4.023 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502h-1.006a.503.503 0 0 0-.503.502zm-12.069 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H3.885a.503.503 0 0 0-.503.502z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--featured{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23334AFF'/%3E%3C/svg%3E");height:10px;width:8px}.tribe-common .tribe-common-svgicon--recurring{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.333 3.826c0 .065 0 .13-.02.174 0 .022-.02.065-.02.087a.9.9 0 0 1-.197.37L10.45 7.37a.797.797 0 0 1-.592.26.797.797 0 0 1-.593-.26c-.316-.348-.316-.935 0-1.305l1.225-1.348H6.3c-2.547 0-4.64 2.283-4.64 5.11 0 1.369.474 2.651 1.363 3.608.316.348.316.935 0 1.304A.797.797 0 0 1 2.43 15a.797.797 0 0 1-.593-.26C.652 13.434 0 11.695 0 9.847c0-3.826 2.825-6.935 6.301-6.935h4.208L9.284 1.565c-.316-.348-.316-.935 0-1.304.316-.348.85-.348 1.185 0l2.647 2.913a.952.952 0 0 1 .198.37c0 .021.02.065.02.086v.196zM20 10.152c0 3.826-2.825 6.935-6.301 6.935H9.49l1.225 1.348c.336.348.336.935 0 1.304a.797.797 0 0 1-.593.261.83.83 0 0 1-.592-.26l-2.627-2.936a.948.948 0 0 1-.198-.37c0-.021-.02-.064-.02-.086-.02-.065-.02-.109-.02-.174 0-.065 0-.13.02-.174 0-.022.02-.065.02-.087a.9.9 0 0 1 .198-.37L9.55 12.63c.316-.347.849-.347 1.185 0 .336.348.336.935 0 1.305L9.51 15.283h4.208c2.548 0 4.641-2.283 4.641-5.11 0-1.369-.474-2.651-1.362-3.608a.97.97 0 0 1 0-1.304c.316-.348.849-.348 1.185 0C19.348 6.543 20 8.283 20 10.152z' fill='%23334AFF'/%3E%3C/svg%3E");height:10px;width:10px}.tribe-common .tribe-common-svgicon--search{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--filters{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23727272' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-theme-enfold .tribe-common th{letter-spacing:0;text-transform:none}.tribe-common .tribe-common-a11y-hidden{display:none!important;visibility:hidden}.tribe-common .tribe-common-a11y-visual-hide,.tribe-common .tribe-common-a11y-visual-show{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-common .tribe-common-c-btn-border,.tribe-common a.tribe-common-c-btn-border{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto;background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;text-align:center;transition:color .2s ease,border-color .2s ease;color:#727272;padding:14px 20px;width:100%}.tribe-common .tribe-common-c-btn-border:focus,.tribe-common .tribe-common-c-btn-border:hover,.tribe-common a.tribe-common-c-btn-border:focus,.tribe-common a.tribe-common-c-btn-border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn-border:active,.tribe-common a.tribe-common-c-btn-border:active{border-color:#141827}.tribe-common .tribe-common-c-btn-border:active,.tribe-common .tribe-common-c-btn-border:focus,.tribe-common .tribe-common-c-btn-border:hover,.tribe-common a.tribe-common-c-btn-border:active,.tribe-common a.tribe-common-c-btn-border:focus,.tribe-common a.tribe-common-c-btn-border:hover{color:#141827}.tribe-common .tribe-common-c-btn-border:disabled,.tribe-common a.tribe-common-c-btn-border:disabled{color:#d5d5d5}.tribe-common .tribe-common-c-btn-icon{border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto}.tribe-common .tribe-common-c-btn-icon:before{background-repeat:no-repeat;background-size:contain;content:"";display:block}.tribe-common .tribe-common-c-btn-icon--border{background-color:#fff;border:1px solid #d5d5d5;align-items:center;display:inline-flex;height:56px;justify-content:center;transition:none;width:56px}.tribe-common .tribe-common-c-btn-icon--border:focus,.tribe-common .tribe-common-c-btn-icon--border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn-icon--border:active{border-color:#141827}.tribe-common .tribe-common-c-btn-icon--caret-left:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23BABABA'/%3E%3C/svg%3E");height:20px;width:12px}.tribe-common .tribe-common-c-btn-icon--caret-left:active:before,.tribe-common .tribe-common-c-btn-icon--caret-left:focus:before,.tribe-common .tribe-common-c-btn-icon--caret-left:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-left:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-right:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23BABABA'/%3E%3C/svg%3E");height:20px;width:12px}.tribe-common .tribe-common-c-btn-icon--caret-right:active:before,.tribe-common .tribe-common-c-btn-icon--caret-right:focus:before,.tribe-common .tribe-common-c-btn-icon--caret-right:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-right:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--filters:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23727272' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E");height:20px;width:24px}.tribe-common .tribe-common-c-btn-icon--filters:active:before,.tribe-common .tribe-common-c-btn-icon--filters:focus:before,.tribe-common .tribe-common-c-btn-icon--filters:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--filters:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23D5D5D5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--search:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E");height:20px;width:20px}.tribe-common .tribe-common-c-btn-icon--search:active:before,.tribe-common .tribe-common-c-btn-icon--search:focus:before,.tribe-common .tribe-common-c-btn-icon--search:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--search:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn,.tribe-common a.tribe-common-c-btn{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;font-weight:700;border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto;border-radius:4px;color:#fff;text-align:center;transition:background-color .2s ease;background-color:#334aff;padding:11px 20px;width:100%}.tribe-common .tribe-common-c-btn:focus,.tribe-common .tribe-common-c-btn:hover,.tribe-common a.tribe-common-c-btn:focus,.tribe-common a.tribe-common-c-btn:hover{background-color:rgba(51,74,255,.8)}.tribe-common .tribe-common-c-btn:active,.tribe-common a.tribe-common-c-btn:active{background-color:rgba(51,74,255,.9)}.tribe-common .tribe-common-c-btn:disabled,.tribe-common a.tribe-common-c-btn:disabled{background-color:rgba(51,74,255,.07)}.tribe-common .tribe-common-c-image{display:block;height:auto;margin-left:auto;margin-right:auto;width:100%}.tribe-common .tribe-common-c-image--bg{position:relative}.tribe-common .tribe-common-c-image__bg{background:50% no-repeat;background-size:cover;bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}@media (min-width:768px){#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input,.tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;border:0;padding:20px 20px 20px 40px}.tribe-common .tribe-common-g-row--gutters{margin-left:-24px;margin-right:-24px}.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-common .tribe-common-b1{font-size:16px;line-height:1.62}.tribe-common .tribe-common-b2{font-size:14px;line-height:1.62}.tribe-common .tribe-common-b3{font-size:12px;line-height:1.38}.tribe-common .tribe-common-b1--min-medium{font-size:16px;line-height:1.62}.tribe-common .tribe-common-h1{font-size:42px;line-height:1.38}.tribe-common .tribe-common-h2{font-size:32px;line-height:1.38}.tribe-common .tribe-common-h3{font-size:28px;line-height:1.42}.tribe-common .tribe-common-h4{font-size:24px;line-height:1.42}.tribe-common .tribe-common-h6{font-size:16px;line-height:1.62}.tribe-common .tribe-common-h3--min-medium{font-size:28px;line-height:1.42}.tribe-common .tribe-common-h4--min-medium{font-size:24px;line-height:1.42}.tribe-common .tribe-common-h5--min-medium{font-size:18px;line-height:1.5}.tribe-common .tribe-common-h6--min-medium{font-size:16px;line-height:1.62}.tribe-common .tribe-common-h7--min-medium{font-size:14px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h1{font-size:42px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h2{font-size:32px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h3{font-size:28px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h4{font-size:24px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h6{font-size:16px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h3--min-medium{font-size:28px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h4--min-medium{font-size:24px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h5--min-medium{font-size:18px;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h6--min-medium{font-size:16px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h7--min-medium{font-size:14px;line-height:1.62}.tribe-common .tribe-common-l-container{padding-left:42px;padding-right:42px}.tribe-common .tribe-common-c-btn-border,.tribe-common a.tribe-common-c-btn-border{padding:6px 15px;width:auto}.tribe-common .tribe-common-c-btn,.tribe-common a.tribe-common-c-btn{width:auto}}
1
+ .tribe-common figure{line-height:0}.tribe-common figcaption{line-height:normal}.tribe-common a{background-color:transparent;-webkit-text-decoration-skip:objects}.tribe-common abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.tribe-common code,.tribe-common kbd,.tribe-common pre,.tribe-common samp{font-family:monospace;font-size:1em}.tribe-common b,.tribe-common strong{font-weight:inherit;font-weight:bolder}.tribe-common dfn{font-style:italic}.tribe-common mark{background-color:#ff0;color:#000}.tribe-common small{font-size:80%}.tribe-common sub,.tribe-common sup{font-size:75%;line-height:0}.tribe-common hr{border:0;height:0}.tribe-common button,.tribe-common input[type=button],.tribe-common input[type=email],.tribe-common input[type=password],.tribe-common input[type=reset],.tribe-common input[type=search],.tribe-common input[type=submit],.tribe-common input[type=text],.tribe-common input[type=url],.tribe-common textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tribe-common button,.tribe-common input,.tribe-common optgroup,.tribe-common select,.tribe-common textarea{color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:antialiased}.tribe-common button,.tribe-common input,.tribe-common select,.tribe-common textarea{outline:0;border-radius:0}.tribe-common select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.tribe-common optgroup{font-weight:700}.tribe-common ol,.tribe-common ul{list-style:none}.tribe-common h1,.tribe-common h2,.tribe-common h3,.tribe-common h4,.tribe-common h5,.tribe-common h6,.tribe-common p{font-weight:400;text-rendering:optimizeLegibility}.tribe-common .tribe-common-form-control-checkbox,.tribe-common .tribe-common-form-control-radio{line-height:0}.tribe-common .tribe-common-form-control-checkbox__label,.tribe-common .tribe-common-form-control-radio__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-checkbox__input,.tribe-common .tribe-common-form-control-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #141827;cursor:pointer;display:inline-block;height:20px;margin:0;position:relative;vertical-align:middle;width:20px}.tribe-common .tribe-common-form-control-checkbox__input:active,.tribe-common .tribe-common-form-control-checkbox__input:focus,.tribe-common .tribe-common-form-control-checkbox__input:hover,.tribe-common .tribe-common-form-control-radio__input:active,.tribe-common .tribe-common-form-control-radio__input:focus,.tribe-common .tribe-common-form-control-radio__input:hover{border:1px solid #141827}.tribe-common .tribe-common-form-control-checkbox__input:checked,.tribe-common .tribe-common-form-control-radio__input:checked{background-color:#141827}.tribe-common .tribe-common-form-control-checkbox__input:checked:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6.1L3.9 6.8 1.4 4.3c-.1-.1-.3-.1-.4 0l-.8.8c-.1.1-.1.3 0 .4l3.4 3.4c.2.1.4.1.5 0l7.7-7.7c.1-.1.1-.3 0-.4L11 .1c-.1-.1-.3-.1-.4 0z' fill='%23FFF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";display:block;height:9px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:12px}.tribe-common .tribe-common-form-control-radio__input{border-radius:50%}.tribe-common .tribe-common-form-control-radio__input:checked:before{background-color:#fff;border-radius:50%;content:"";display:block;height:8px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:8px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-checkbox__input{display:inline-block}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-checkbox__label,#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-radio__label{font-weight:400;font-size:14px}.tribe-common .tribe-common-form-control-checkbox-radio-group>*{margin-bottom:15px}.tribe-common .tribe-common-form-control-checkbox-radio-group>:last-child{margin-bottom:0}.tribe-common .tribe-common-form-control-slider{line-height:0}.tribe-common .tribe-common-form-control-slider__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;cursor:pointer;display:inline-block;margin:0;padding:0;width:120px;vertical-align:middle}.tribe-common .tribe-common-form-control-slider__input::-webkit-slider-runnable-track{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;background-color:#334aff}.tribe-common .tribe-common-form-control-slider__input::-moz-range-track{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;background-color:#334aff}.tribe-common .tribe-common-form-control-slider__input::-ms-track{background-color:transparent;border-color:transparent;border-width:5px 0;color:transparent;height:10px}.tribe-common .tribe-common-form-control-slider__input::-ms-fill-lower,.tribe-common .tribe-common-form-control-slider__input::-ms-fill-upper{background-color:#334aff;border-radius:10px}.tribe-common .tribe-common-form-control-slider__input::-webkit-slider-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px;-webkit-appearance:none;appearance:none}.tribe-common .tribe-common-form-control-slider__input::-moz-range-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px}.tribe-common .tribe-common-form-control-slider__input::-ms-thumb{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;margin-top:-5px;box-shadow:none;margin-top:-1px}.tribe-common .tribe-common-form-control-slider__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-slider--vertical .tribe-common-form-control-slider__label{display:block;margin:0 0 6px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-slider__label{font-weight:400;font-size:12px}.tribe-common .tribe-common-form-control-text__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400;border:0;border-bottom:1px solid #d5d5d5;height:auto;padding:12px 28px 12px 0;width:100%}.tribe-common .tribe-common-form-control-text__input::-webkit-input-placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input:-ms-input-placeholder,.tribe-common .tribe-common-form-control-text__input::-ms-input-placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input::placeholder{color:#727272;font-style:normal}.tribe-common .tribe-common-form-control-text__input:focus{border-bottom-color:#141827;outline:0}.tribe-theme-twentyseventeen .tribe-common .tribe-common-form-control-text__input{color:#141827}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400;border:0;border-bottom:1px solid #d5d5d5;padding:12px 28px 12px 0;width:100%}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input:focus{border-bottom-color:#141827;box-shadow:none}.tribe-common .tribe-common-form-control-toggle{line-height:0}.tribe-common .tribe-common-form-control-toggle__input{border:none;border-radius:5px;height:10px;margin:5px 0;padding:0;position:relative;transition:background-color .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#d5d5d5;cursor:pointer;display:inline-block;vertical-align:middle;width:40px}.tribe-common .tribe-common-form-control-toggle__input:after{background-color:#fff;border:1px solid #d5d5d5;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.14);height:20px;width:20px;content:"";left:0;position:absolute;top:-5px;transition:transform .2s ease}.tribe-common .tribe-common-form-control-toggle__input:checked{background-color:#334aff}.tribe-common .tribe-common-form-control-toggle__input:checked:after{transform:translateX(20px)}.tribe-common .tribe-common-form-control-toggle__label{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;color:#727272;cursor:pointer;display:inline-block;margin-left:11px;vertical-align:middle}.tribe-common .tribe-common-form-control-toggle--vertical .tribe-common-form-control-toggle__label{display:block;margin:0 0 6px}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-toggle__input{display:inline-block;margin:5px 0}#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-toggle__label{font-weight:400;font-size:12px}.tribe-common .tribe-common-g-col{min-width:0;width:100%}.tribe-common .tribe-common-g-row{display:flex;flex-wrap:wrap}.tribe-common .tribe-common-g-row--gutters{margin-left:-21px;margin-right:-21px}.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col{padding-left:21px;padding-right:21px}.tribe-common a{cursor:pointer}.tribe-common a,.tribe-common a:active,.tribe-common a:focus,.tribe-common a:hover,.tribe-common a:visited{color:#141827;outline:0;text-decoration:none}.tribe-theme-twentyseventeen .tribe-common a:focus,.tribe-theme-twentyseventeen .tribe-common a:hover{box-shadow:none;color:#141827}.tribe-theme-twentynineteen .entry .tribe-common a{text-decoration:none}.tribe-common .tribe-common-anchor{border-bottom:2px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-anchor:active,.tribe-common .tribe-common-anchor:focus,.tribe-common .tribe-common-anchor:hover{border-bottom:2px solid #141827}.tribe-common .tribe-common-anchor-alt{border-bottom:2px solid #334aff;color:#141827;transition:color .2s ease}.tribe-common .tribe-common-anchor-alt:active,.tribe-common .tribe-common-anchor-alt:focus,.tribe-common .tribe-common-anchor-alt:hover{border-bottom:2px solid #334aff;color:#334aff}.tribe-common .tribe-common-anchor-thin{border-bottom:1px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-anchor-thin:active,.tribe-common .tribe-common-anchor-thin:focus,.tribe-common .tribe-common-anchor-thin:hover{border-bottom:1px solid #141827}.tribe-theme-twentyseventeen .tribe-common .tribe-common-anchor-alt:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-anchor-alt:hover{color:#334aff}.tribe-common .tribe-common-b1{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.62}.tribe-common .tribe-common-b1--bold{font-weight:700}.tribe-common .tribe-common-b2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.38}.tribe-common .tribe-common-b2--bold{font-weight:700}.tribe-common .tribe-common-b3{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5}.tribe-common .tribe-common-b3--bold{font-weight:700}.tribe-common .tribe-common-cta{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;font-weight:700;border-bottom:2px solid transparent;transition:border-color .2s ease}.tribe-common .tribe-common-cta:active,.tribe-common .tribe-common-cta:focus,.tribe-common .tribe-common-cta:hover{border-bottom:2px solid #141827}.tribe-common .tribe-common-cta--alt{border-bottom:2px solid #334aff;color:#141827;transition:color .2s ease}.tribe-common .tribe-common-cta--alt:active,.tribe-common .tribe-common-cta--alt:focus,.tribe-common .tribe-common-cta--alt:hover{border-bottom:2px solid #334aff;color:#334aff}.tribe-common .tribe-common-cta--thin-alt{border-bottom:1px solid #334aff;color:#141827;transition:color .2s ease}.tribe-common .tribe-common-cta--thin-alt:active,.tribe-common .tribe-common-cta--thin-alt:focus,.tribe-common .tribe-common-cta--thin-alt:hover{border-bottom:1px solid #334aff;color:#334aff}.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--alt:hover,.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-cta--thin-alt:hover{color:#334aff}.tribe-common .tribe-common-h1{font-size:28px}.tribe-common .tribe-common-h1,.tribe-common .tribe-common-h2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.42}.tribe-common .tribe-common-h2{font-size:24px}.tribe-common .tribe-common-h3{font-size:22px;line-height:1.5}.tribe-common .tribe-common-h3,.tribe-common .tribe-common-h4{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-common .tribe-common-h4{font-size:20px;line-height:1.42}.tribe-common .tribe-common-h5{font-size:18px}.tribe-common .tribe-common-h5,.tribe-common .tribe-common-h6{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.5}.tribe-common .tribe-common-h6{font-size:16px}.tribe-common .tribe-common-h7{font-size:14px;line-height:1.62}.tribe-common .tribe-common-h7,.tribe-common .tribe-common-h8{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-common .tribe-common-h8{font-size:12px;line-height:1.38}.tribe-common .tribe-common-h--alt{font-weight:400}.tribe-theme-avada #main .tribe-common .tribe-common-h1{font-size:28px}.tribe-theme-avada #main .tribe-common .tribe-common-h1,.tribe-theme-avada #main .tribe-common .tribe-common-h2{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h2{font-size:24px}.tribe-theme-avada #main .tribe-common .tribe-common-h3{font-size:22px;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h3,.tribe-theme-avada #main .tribe-common .tribe-common-h4{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-theme-avada #main .tribe-common .tribe-common-h4{font-size:20px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h5{font-size:18px}.tribe-theme-avada #main .tribe-common .tribe-common-h5,.tribe-theme-avada #main .tribe-common .tribe-common-h6{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h6{font-size:16px}.tribe-theme-avada #main .tribe-common .tribe-common-h7{font-size:14px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h7,.tribe-theme-avada #main .tribe-common .tribe-common-h8{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:700}.tribe-theme-avada #main .tribe-common .tribe-common-h8{font-size:12px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h--alt{font-weight:400}.tribe-theme-divi #left-area .tribe-common ul,.tribe-theme-divi .entry-content .tribe-common ul,body.et-pb-preview.tribe-theme-divi #main-content .container .tribe-common ul{list-style-type:none;padding:0}.tribe-common button{border:none;padding:0}.tribe-common button,.tribe-common button:focus,.tribe-common button:hover,.tribe-theme-twentyseventeen .tribe-common button:focus,.tribe-theme-twentyseventeen .tribe-common button:hover{background-color:transparent}.tribe-common .tribe-common-l-container{max-width:1260px;margin-left:auto;margin-right:auto;padding-left:19.5px;padding-right:19.5px;width:100%}.tribe-common .tribe-common-svgicon{background-repeat:no-repeat;background-size:contain}.tribe-common .tribe-common-svgicon--day{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 .503v19.994c0 .278.19.503.424.503h20.152c.234 0 .424-.225.424-.503V.503C21 .225 20.81 0 20.576 0H.424C.19 0 0 .225 0 .503zm1.156.943h18.66v2.7H1.157v-2.7zm0 4.023h18.66V19.55H1.157V5.469zM14.18 14.53v1.747c0 .482.39.874.873.874H16.8a.873.873 0 0 0 .873-.874V14.53a.873.873 0 0 0-.873-.873h-1.747a.873.873 0 0 0-.873.873z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--list{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23141827'%3E%3Cpath d='M19.883 3.272c.342 0 .622-.21.622-.467v-.464c0-.257-.28-.467-.622-.467H7.127c-.342 0-.622.21-.622.467v.464c0 .257.28.467.622.467h12.756zm-18.045.935a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM19.883 9.98c.342 0 .622-.21.622-.466v-.465c0-.257-.28-.467-.622-.467H7.127c-.342 0-.622.21-.622.467v.465c0 .256.28.466.622.466h12.756zm-18.045.936a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5zM19.883 16.689c.342 0 .622-.21.622-.467v-.465c0-.256-.28-.466-.622-.466H7.127c-.342 0-.622.21-.622.466v.465c0 .257.28.467.622.467h12.756zm-18.045.935a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5z'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--map{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827'%3E%3Cpath stroke-linejoin='round' d='M13.921 11.632H17.5l3.588 8.421H1l3.488-8.421h4.016'/%3E%3Cpath d='M11.32 15.506c.2-.248 4.93-6.108 4.93-9.04 0-3.015-2.305-5.468-5.138-5.468-2.833 0-5.138 2.453-5.138 5.467 0 2.933 4.729 8.793 4.93 9.041a.268.268 0 0 0 .208.101c.08 0 .155-.037.207-.101zm-4.797-9.04c0-2.693 2.058-4.883 4.589-4.883 2.53 0 4.588 2.19 4.588 4.882 0 2.387-3.667 7.22-4.588 8.397-.922-1.177-4.589-6.009-4.589-8.397z' stroke-width='.4' fill='%23141827' fill-rule='nonzero'/%3E%3Cpath d='M12.85 6.477c0-1.007-.78-1.826-1.738-1.826-.96 0-1.74.819-1.74 1.826 0 1.007.78 1.826 1.74 1.826.959 0 1.739-.82 1.739-1.826zm-3.15 0c0-.817.633-1.482 1.412-1.482.778 0 1.41.665 1.41 1.482s-.632 1.482-1.41 1.482c-.779 0-1.412-.665-1.412-1.482z' stroke-width='.7' fill='%23000' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--month{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.637 1.063v19.879c0 .276.189.5.422.5h20.037c.232 0 .421-.224.421-.5V1.062c0-.275-.189-.5-.421-.5H1.059c-.233 0-.422.225-.422.5zM1.787 2H20.34v2.685H1.787V2zm0 4H20.34v14H1.787V6zM8 8.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-8 4v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-12 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm0 4v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm4 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--photo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='17' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23141827'%3E%3Cpath d='M19.348.11H.634a.509.509 0 0 0-.52.508v15.017c0 .284.23.508.52.508h18.714a.51.51 0 0 0 .52-.508V.618a.509.509 0 0 0-.52-.508zm-.54 1.035v10.837l-2.87-3.084c-.583-.61-1.664-.61-2.246 0l-1.393 1.481-4.034-4.525a1.625 1.625 0 0 0-1.227-.528 1.6 1.6 0 0 0-1.206.548l-4.657 5.175V1.145h17.632zM1.174 15.108v-2.496l5.448-6.089a.529.529 0 0 1 .415-.182c.146 0 .333.06.437.182l4.429 4.972c.104.102.25.183.395.183.166.02.291-.06.395-.162l1.788-1.908c.167-.183.5-.183.686 0l3.66 3.917v1.603H1.175v-.02z'/%3E%3Cpath d='M14.19 5.757c1.044 0 1.91-.872 1.91-1.968s-.846-1.969-1.91-1.969c-1.062 0-1.909.873-1.909 1.969s.866 1.968 1.91 1.968zm0-2.902c.493 0 .907.427.907.934 0 .507-.414.933-.906.933-.492 0-.906-.426-.906-.933 0-.507.414-.934.906-.934z'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--week{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 .503v19.994c0 .278.19.503.424.503h20.152c.234 0 .424-.225.424-.503V.503C21 .225 20.81 0 20.576 0H.424C.19 0 0 .225 0 .503zm1.156.943h18.66v2.7H1.157v-2.7zm0 4.023h18.66V19.55H1.157V5.469zm6.25 6.537v1.006c0 .278.224.503.502.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H7.908a.503.503 0 0 0-.503.502zm4.022 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H11.93a.503.503 0 0 0-.503.502zm4.023 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502h-1.006a.503.503 0 0 0-.503.502zm-12.069 0v1.006c0 .278.225.503.503.503h1.006a.503.503 0 0 0 .503-.503v-1.006a.503.503 0 0 0-.503-.502H3.885a.503.503 0 0 0-.503.502z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--featured{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23334AFF'/%3E%3C/svg%3E");height:10px;width:8px}.tribe-common .tribe-common-svgicon--recurring{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.333 3.826c0 .065 0 .13-.02.174 0 .022-.02.065-.02.087a.9.9 0 0 1-.197.37L10.45 7.37a.797.797 0 0 1-.592.26.797.797 0 0 1-.593-.26c-.316-.348-.316-.935 0-1.305l1.225-1.348H6.3c-2.547 0-4.64 2.283-4.64 5.11 0 1.369.474 2.651 1.363 3.608.316.348.316.935 0 1.304A.797.797 0 0 1 2.43 15a.797.797 0 0 1-.593-.26C.652 13.434 0 11.695 0 9.847c0-3.826 2.825-6.935 6.301-6.935h4.208L9.284 1.565c-.316-.348-.316-.935 0-1.304.316-.348.85-.348 1.185 0l2.647 2.913a.952.952 0 0 1 .198.37c0 .021.02.065.02.086v.196zM20 10.152c0 3.826-2.825 6.935-6.301 6.935H9.49l1.225 1.348c.336.348.336.935 0 1.304a.797.797 0 0 1-.593.261.83.83 0 0 1-.592-.26l-2.627-2.936a.948.948 0 0 1-.198-.37c0-.021-.02-.064-.02-.086-.02-.065-.02-.109-.02-.174 0-.065 0-.13.02-.174 0-.022.02-.065.02-.087a.9.9 0 0 1 .198-.37L9.55 12.63c.316-.347.849-.347 1.185 0 .336.348.336.935 0 1.305L9.51 15.283h4.208c2.548 0 4.641-2.283 4.641-5.11 0-1.369-.474-2.651-1.362-3.608a.97.97 0 0 1 0-1.304c.316-.348.849-.348 1.185 0C19.348 6.543 20 8.283 20 10.152z' fill='%23334AFF'/%3E%3C/svg%3E");height:10px;width:10px}.tribe-common .tribe-common-svgicon--search{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-svgicon--filters{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23727272' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-theme-enfold .tribe-common th{letter-spacing:0;text-transform:none}.tribe-common .tribe-common-a11y-hidden{display:none!important;visibility:hidden}.tribe-common .tribe-common-a11y-visual-hide,.tribe-common .tribe-common-a11y-visual-show{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-common .tribe-common-c-btn-border,.tribe-common a.tribe-common-c-btn-border{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto;background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;text-align:center;transition:color .2s ease,border-color .2s ease;color:#727272;padding:14px 20px;width:100%}.tribe-common .tribe-common-c-btn-border:focus,.tribe-common .tribe-common-c-btn-border:hover,.tribe-common a.tribe-common-c-btn-border:focus,.tribe-common a.tribe-common-c-btn-border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn-border:active,.tribe-common a.tribe-common-c-btn-border:active{border-color:#141827}.tribe-common .tribe-common-c-btn-border:active,.tribe-common .tribe-common-c-btn-border:focus,.tribe-common .tribe-common-c-btn-border:hover,.tribe-common a.tribe-common-c-btn-border:active,.tribe-common a.tribe-common-c-btn-border:focus,.tribe-common a.tribe-common-c-btn-border:hover{color:#141827}.tribe-common .tribe-common-c-btn-border:disabled,.tribe-common a.tribe-common-c-btn-border:disabled{color:#d5d5d5}.tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn-icon{border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto}.tribe-common .tribe-common-c-btn-icon:before{background-repeat:no-repeat;background-size:contain;content:"";display:block}.tribe-common .tribe-common-c-btn-icon--border{background-color:#fff;border:1px solid #d5d5d5;align-items:center;display:inline-flex;height:56px;justify-content:center;transition:none;width:56px}.tribe-common .tribe-common-c-btn-icon--border:focus,.tribe-common .tribe-common-c-btn-icon--border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn-icon--border:active{border-color:#141827}.tribe-common .tribe-common-c-btn-icon--caret-left:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23BABABA'/%3E%3C/svg%3E");height:20px;width:12px}.tribe-common .tribe-common-c-btn-icon--caret-left:active:before,.tribe-common .tribe-common-c-btn-icon--caret-left:focus:before,.tribe-common .tribe-common-c-btn-icon--caret-left:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-left:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-right:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23BABABA'/%3E%3C/svg%3E");height:20px;width:12px}.tribe-common .tribe-common-c-btn-icon--caret-right:active:before,.tribe-common .tribe-common-c-btn-icon--caret-right:focus:before,.tribe-common .tribe-common-c-btn-icon--caret-right:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23727272'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--caret-right:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--filters:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23727272' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E");height:20px;width:24px}.tribe-common .tribe-common-c-btn-icon--filters:active:before,.tribe-common .tribe-common-c-btn-icon--filters:focus:before,.tribe-common .tribe-common-c-btn-icon--filters:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--filters:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23D5D5D5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--search:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E");height:20px;width:20px}.tribe-common .tribe-common-c-btn-icon--search:active:before,.tribe-common .tribe-common-c-btn-icon--search:focus:before,.tribe-common .tribe-common-c-btn-icon--search:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-common .tribe-common-c-btn-icon--search:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn-icon--border:hover{background-color:#fff}.tribe-common .tribe-common-c-btn,.tribe-common a.tribe-common-c-btn{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;font-weight:700;border:0;cursor:pointer;display:inline-block;height:auto;padding:0;text-decoration:none;width:auto;border-radius:4px;color:#fff;text-align:center;transition:background-color .2s ease;background-color:#334aff;padding:11px 20px;width:100%}.tribe-common .tribe-common-c-btn:focus,.tribe-common .tribe-common-c-btn:hover,.tribe-common a.tribe-common-c-btn:focus,.tribe-common a.tribe-common-c-btn:hover{background-color:rgba(51,74,255,.8)}.tribe-common .tribe-common-c-btn:active,.tribe-common a.tribe-common-c-btn:active{background-color:rgba(51,74,255,.9)}.tribe-common .tribe-common-c-btn:disabled,.tribe-common a.tribe-common-c-btn:disabled{background-color:rgba(51,74,255,.07)}.tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:focus,.tribe-theme-twentyseventeen .tribe-common .tribe-common-c-btn:hover{background-color:rgba(51,74,255,.8);color:#fff}.tribe-common .tribe-common-c-image{display:block;height:auto;margin-left:auto;margin-right:auto;width:100%}.tribe-common .tribe-common-c-image--bg{position:relative}.tribe-common .tribe-common-c-image__bg{background:50% no-repeat;background-size:cover;bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}@media (min-width:768px){#top.tribe-theme-enfold .tribe-common .tribe-common-form-control-text__input,.tribe-common .tribe-common-form-control-text__input{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;border:0;padding:20px 20px 20px 40px}.tribe-common .tribe-common-g-row--gutters{margin-left:-24px;margin-right:-24px}.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-common .tribe-common-b1{font-size:16px;line-height:1.62}.tribe-common .tribe-common-b2{font-size:14px;line-height:1.62}.tribe-common .tribe-common-b3{font-size:12px;line-height:1.38}.tribe-common .tribe-common-b1--min-medium{font-size:16px;line-height:1.62}.tribe-common .tribe-common-b2--min-medium{font-size:14px;line-height:1.62}.tribe-common .tribe-common-b3--min-medium{font-size:12px;line-height:1.38}.tribe-common .tribe-common-h1{font-size:42px;line-height:1.38}.tribe-common .tribe-common-h2{font-size:32px;line-height:1.38}.tribe-common .tribe-common-h3{font-size:28px;line-height:1.42}.tribe-common .tribe-common-h4{font-size:24px;line-height:1.42}.tribe-common .tribe-common-h6{font-size:16px;line-height:1.62}.tribe-common .tribe-common-h3--min-medium{font-size:28px;line-height:1.42}.tribe-common .tribe-common-h4--min-medium{font-size:24px;line-height:1.42}.tribe-common .tribe-common-h5--min-medium{font-size:18px;line-height:1.5}.tribe-common .tribe-common-h6--min-medium{font-size:16px;line-height:1.62}.tribe-common .tribe-common-h7--min-medium{font-size:14px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h1{font-size:42px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h2{font-size:32px;line-height:1.38}.tribe-theme-avada #main .tribe-common .tribe-common-h3{font-size:28px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h4{font-size:24px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h6{font-size:16px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h3--min-medium{font-size:28px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h4--min-medium{font-size:24px;line-height:1.42}.tribe-theme-avada #main .tribe-common .tribe-common-h5--min-medium{font-size:18px;line-height:1.5}.tribe-theme-avada #main .tribe-common .tribe-common-h6--min-medium{font-size:16px;line-height:1.62}.tribe-theme-avada #main .tribe-common .tribe-common-h7--min-medium{font-size:14px;line-height:1.62}.tribe-common .tribe-common-l-container{padding-left:42px;padding-right:42px}.tribe-common .tribe-common-c-btn-border,.tribe-common a.tribe-common-c-btn-border{padding:6px 15px;width:auto}.tribe-common .tribe-common-c-btn,.tribe-common a.tribe-common-c-btn{width:auto}}
common/src/resources/css/tribe-common-admin.css CHANGED
@@ -45,13 +45,11 @@ textarea::-webkit-input-placeholder {
45
  color: #999;
46
  }
47
  .bubble {
48
- -khtml-border-radius: 3px;
49
  background-color: #f9f9f9;
50
  border-color: #dfdfdf;
51
- border-radius: 3px;
52
  border-spacing: 0;
53
  border-style: solid;
54
- border-style: solid;
55
  border-width: 1px;
56
  padding: 10px;
57
  }
@@ -77,14 +75,14 @@ td.tribe_message {
77
  #tribe-upgrade {
78
  background: #f6f6f6;
79
  border: 1px solid #ccc;
80
- border-radius: 5px;
81
  margin: 20px 0 30px;
82
  padding: 0 20px 20px;
83
  }
84
  #tribe-upgrade .message {
85
  background-color: #ffffe0;
86
  border-color: #e6db55;
87
- border-radius: 3px;
88
  border-style: solid;
89
  border-width: 1px;
90
  padding: 6px 12px;
@@ -92,22 +90,22 @@ border-radius: 3px;
92
  /* = Plugin Screen
93
  =============================================*/
94
  table.plugins .tribe-plugin-update-message {
95
- background: #D54E21; /* taken from colour scheme in list-tables.css */
96
- color: white;
97
- display: inline-table;
98
- margin: 6px 0;
99
- padding: 10px 12px;
100
  }
101
  table.plugins .tribe-plugin-update-message h4 {
102
- display: inline;
103
- font-weight: bold;
104
  margin-right: 8px;
105
  }
106
  table.plugins .tribe-plugin-update-message h4:after {
107
  content: ' \00BB ';
108
  }
109
  table.plugins .tribe-plugin-update-message a {
110
- color: white;
111
  text-decoration: underline;
112
  }
113
  /* = Settings Screen
@@ -161,10 +159,14 @@ table.plugins .tribe-plugin-update-message a {
161
  .tribe-settings-form .tribe-settings-form-wrap fieldset .tribe-style-selection {
162
  margin-bottom: 18px;
163
  }
 
 
 
 
164
  .tribe-settings-form .tribe-settings-form-wrap h3 {
165
- background-color: #f9f9f9;
166
- margin-bottom: 10px;
167
- padding: 6px 0 6px 12px;
168
  }
169
  .tribe-settings-form .tribe-settings-form-wrap .tribe-sysinfo-optin-msg,
170
  .tribe-settings-form .tribe-settings-form-wrap .system-info,
@@ -173,9 +175,6 @@ table.plugins .tribe-plugin-update-message a {
173
  margin: 0 0 10px;
174
  padding-left: 12px;
175
  }
176
- .tribe-settings-form #tribe-field-stylesheetOption p.description {
177
- color: #999;
178
- }
179
  .tribe_settings .tribe-field-indent {
180
  margin-left: 245px;
181
  }
@@ -201,10 +200,9 @@ table.plugins .tribe-plugin-update-message a {
201
  }
202
  /* Modern Tribe box */
203
  #modern-tribe-info {
204
- -khtml-border-radius: 4px;
205
  background-color: #f9f9f9;
206
  border: 1px solid #ccc;
207
- border-radius: 4px;
208
  margin: 20px 0;
209
  padding: 8px 20px 12px;
210
  }
@@ -333,20 +331,18 @@ border-radius: 4px;
333
  }
334
  /* miscellaneous */
335
  .tribe-admin-box-left {
336
- -khtml-border-radius: 4px;
337
  background-color: #f9f9f9;
338
  border: 1px solid #ccc;
339
- border-radius: 4px;
340
  float: left;
341
  margin: 20px 0;
342
  padding: 0 20px 15px;
343
  width: 20%;
344
  }
345
  .tribe-admin-box-right {
346
- -khtml-border-radius: 4px;
347
  background-color: #f9f9f9;
348
  border: 1px solid #ccc;
349
- border-radius: 4px;
350
  float: right;
351
  margin: 20px 0;
352
  padding: 0 20px 15px;
@@ -440,10 +436,9 @@ border-radius: 4px;
440
  padding-bottom: 10px;
441
  }
442
  .tribe-section-type-box {
443
- -khtml-border-radius: 4px;
444
  background-color: #f9f9f9;
445
  border: 1px solid #ccc;
446
- border-radius: 4px;
447
  padding: 8px 20px 12px;
448
  }
449
  .tribe-section-type-box img {
@@ -500,11 +495,11 @@ border-radius: 4px;
500
  padding-left: 10px;
501
  }
502
  .system-info-copy .system-info-copy-btn {
503
- padding: 6px;
504
- }
505
- .system-info-copy .system-info-copy-btn .dashicons {
506
- padding-right: 10px;
507
  }
 
 
 
508
  .template-updates-wrapper p {
509
  margin-top: 0;
510
  }
@@ -571,8 +566,7 @@ border-radius: 4px;
571
  }
572
  .ui-widget-shadow {
573
  background: #000;
574
- -webkit-border-radius: 5px;
575
- -moz-border-radius: 5px;
576
  filter: Alpha(Opacity=20);
577
  margin: -5px 0 0 -5px;
578
  opacity: .20;
@@ -733,7 +727,6 @@ border-radius: 4px;
733
  position: absolute;
734
  top: 0;
735
  transition: all 1s linear;
736
- webkit-transition: all 1s linear;
737
  width: 100%;
738
  z-index: 4;
739
  }
@@ -763,7 +756,7 @@ border-radius: 4px;
763
  .tribe_welcome_page.wrap h1:before {
764
  color: #555d66;
765
  content: '\f145';
766
- font-family: 'dashicons';
767
  font-size: 0.9em;
768
  line-height: 1;
769
  margin-right: 5px;
@@ -835,7 +828,7 @@ p.tribe-welcome-message {
835
  .tribe_welcome_page .tribe-half-column h4:before {
836
  color: #555d66;
837
  content: '\f145';
838
- font-family: 'dashicons';
839
  font-size: 21px;
840
  line-height: 1;
841
  margin-right: 10px;
@@ -860,7 +853,7 @@ p.tribe-welcome-message {
860
  }
861
  .tribe_update_page h4:before {
862
  content: '\f145';
863
- font-family: 'dashicons';
864
  font-size: 34px;
865
  line-height: 1;
866
  margin-right: 5px;
@@ -1170,7 +1163,6 @@ Red button styles.
1170
  Credit to https://github.com/jensjns/wp-admin-red-button
1171
  =============================================*/
1172
  .wp-core-ui .button-red {
1173
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
1174
  background-color: #a00;
1175
  border-bottom-color: #8D1F21;
1176
  border-color: #9B2124;
@@ -1183,7 +1175,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1183
  .wp-core-ui .button-red:hover,
1184
  .wp-core-ui .button-red.focus,
1185
  .wp-core-ui .button-red:focus {
1186
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
1187
  background-color: #a00;
1188
  border-color: #7F1C1F;
1189
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
@@ -1192,7 +1183,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1192
  }
1193
  .wp-core-ui .button-red.focus,
1194
  .wp-core-ui .button-red:focus {
1195
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1196
  border-color: #500F0E;
1197
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1198
  }
@@ -1200,7 +1190,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1200
  .wp-core-ui .button-red.active:hover,
1201
  .wp-core-ui .button-red.active:focus,
1202
  .wp-core-ui .button-red:active {
1203
- -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
1204
  background: #7F1C1F;
1205
  border-color: #601312 #AE2426 #AE2426 #AE2426;
1206
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
@@ -1213,7 +1202,7 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1213
  color: #E79496 !important;
1214
  background: #BA292B !important;
1215
  border-color: #7F1C1F !important;
1216
- box-shadow: none !important;
1217
  text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
1218
  cursor: default;
1219
  }
@@ -1261,14 +1250,20 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1261
  .checkmark.no-checkmark:after {
1262
  display: none;
1263
  }
1264
- .complete, .ok, .yes, .on,
 
 
 
1265
  [data-status="complete"],
1266
  [data-status="ok"],
1267
  [data-status="yes"],
1268
  [data-status="on"] {
1269
  color: #0AB152;
1270
  }
1271
- .incomplete, .ko, .no, .off,
 
 
 
1272
  [data-status="incomplete"],
1273
  [data-status="ko"],
1274
  [data-status="no"],
@@ -1312,11 +1307,13 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1312
  }
1313
  @media
1314
  only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
 
1315
  #tribe-loading span {
1316
  background-image: url(../images/tribe-loading@2x.gif);
1317
  }
1318
  }
1319
  @media screen and (max-width: 782px) {
 
1320
  .tribe-half-column,
1321
  .tribe-row .tribe-half-column:last-child {
1322
  margin: 0 0 20px 0;
@@ -1328,6 +1325,7 @@ only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device
1328
  }
1329
  }
1330
  @media screen and ( max-width: 782px ) {
 
1331
  .events-cal .subsubsub {
1332
  float: none;
1333
  }
45
  color: #999;
46
  }
47
  .bubble {
 
48
  background-color: #f9f9f9;
49
  border-color: #dfdfdf;
50
+ border-radius: 3px;
51
  border-spacing: 0;
52
  border-style: solid;
 
53
  border-width: 1px;
54
  padding: 10px;
55
  }
75
  #tribe-upgrade {
76
  background: #f6f6f6;
77
  border: 1px solid #ccc;
78
+ border-radius: 5px;
79
  margin: 20px 0 30px;
80
  padding: 0 20px 20px;
81
  }
82
  #tribe-upgrade .message {
83
  background-color: #ffffe0;
84
  border-color: #e6db55;
85
+ border-radius: 3px;
86
  border-style: solid;
87
  border-width: 1px;
88
  padding: 6px 12px;
90
  /* = Plugin Screen
91
  =============================================*/
92
  table.plugins .tribe-plugin-update-message {
93
+ background: #d54e21; /* taken from color scheme in list-tables.css */
94
+ color: white;
95
+ display: inline-table;
96
+ margin: 6px 0;
97
+ padding: 10px 12px;
98
  }
99
  table.plugins .tribe-plugin-update-message h4 {
100
+ display: inline;
101
+ font-weight: bold;
102
  margin-right: 8px;
103
  }
104
  table.plugins .tribe-plugin-update-message h4:after {
105
  content: ' \00BB ';
106
  }
107
  table.plugins .tribe-plugin-update-message a {
108
+ color: white;
109
  text-decoration: underline;
110
  }
111
  /* = Settings Screen
159
  .tribe-settings-form .tribe-settings-form-wrap fieldset .tribe-style-selection {
160
  margin-bottom: 18px;
161
  }
162
+ .tribe-settings-form .tribe-settings-form-wrap #tribe-field-stylesheetOption .description {
163
+ color: #999;
164
+ margin-left: 1px;
165
+ }
166
  .tribe-settings-form .tribe-settings-form-wrap h3 {
167
+ background-color: #f9f9f9;
168
+ margin-bottom: 10px;
169
+ padding: 6px 0 6px 12px;
170
  }
171
  .tribe-settings-form .tribe-settings-form-wrap .tribe-sysinfo-optin-msg,
172
  .tribe-settings-form .tribe-settings-form-wrap .system-info,
175
  margin: 0 0 10px;
176
  padding-left: 12px;
177
  }
 
 
 
178
  .tribe_settings .tribe-field-indent {
179
  margin-left: 245px;
180
  }
200
  }
201
  /* Modern Tribe box */
202
  #modern-tribe-info {
 
203
  background-color: #f9f9f9;
204
  border: 1px solid #ccc;
205
+ border-radius: 4px;
206
  margin: 20px 0;
207
  padding: 8px 20px 12px;
208
  }
331
  }
332
  /* miscellaneous */
333
  .tribe-admin-box-left {
 
334
  background-color: #f9f9f9;
335
  border: 1px solid #ccc;
336
+ border-radius: 4px;
337
  float: left;
338
  margin: 20px 0;
339
  padding: 0 20px 15px;
340
  width: 20%;
341
  }
342
  .tribe-admin-box-right {
 
343
  background-color: #f9f9f9;
344
  border: 1px solid #ccc;
345
+ border-radius: 4px;
346
  float: right;
347
  margin: 20px 0;
348
  padding: 0 20px 15px;
436
  padding-bottom: 10px;
437
  }
438
  .tribe-section-type-box {
 
439
  background-color: #f9f9f9;
440
  border: 1px solid #ccc;
441
+ border-radius: 4px;
442
  padding: 8px 20px 12px;
443
  }
444
  .tribe-section-type-box img {
495
  padding-left: 10px;
496
  }
497
  .system-info-copy .system-info-copy-btn {
498
+ padding: 6px;
 
 
 
499
  }
500
+ .system-info-copy .system-info-copy-btn .dashicons {
501
+ padding-right: 10px;
502
+ }
503
  .template-updates-wrapper p {
504
  margin-top: 0;
505
  }
566
  }
567
  .ui-widget-shadow {
568
  background: #000;
569
+ border-radius: 5px;
 
570
  filter: Alpha(Opacity=20);
571
  margin: -5px 0 0 -5px;
572
  opacity: .20;
727
  position: absolute;
728
  top: 0;
729
  transition: all 1s linear;
 
730
  width: 100%;
731
  z-index: 4;
732
  }
756
  .tribe_welcome_page.wrap h1:before {
757
  color: #555d66;
758
  content: '\f145';
759
+ font-family: dashicons;
760
  font-size: 0.9em;
761
  line-height: 1;
762
  margin-right: 5px;
828
  .tribe_welcome_page .tribe-half-column h4:before {
829
  color: #555d66;
830
  content: '\f145';
831
+ font-family: dashicons;
832
  font-size: 21px;
833
  line-height: 1;
834
  margin-right: 10px;
853
  }
854
  .tribe_update_page h4:before {
855
  content: '\f145';
856
+ font-family: dashicons;
857
  font-size: 34px;
858
  line-height: 1;
859
  margin-right: 5px;
1163
  Credit to https://github.com/jensjns/wp-admin-red-button
1164
  =============================================*/
1165
  .wp-core-ui .button-red {
 
1166
  background-color: #a00;
1167
  border-bottom-color: #8D1F21;
1168
  border-color: #9B2124;
1175
  .wp-core-ui .button-red:hover,
1176
  .wp-core-ui .button-red.focus,
1177
  .wp-core-ui .button-red:focus {
 
1178
  background-color: #a00;
1179
  border-color: #7F1C1F;
1180
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
1183
  }
1184
  .wp-core-ui .button-red.focus,
1185
  .wp-core-ui .button-red:focus {
 
1186
  border-color: #500F0E;
1187
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1188
  }
1190
  .wp-core-ui .button-red.active:hover,
1191
  .wp-core-ui .button-red.active:focus,
1192
  .wp-core-ui .button-red:active {
 
1193
  background: #7F1C1F;
1194
  border-color: #601312 #AE2426 #AE2426 #AE2426;
1195
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
1202
  color: #E79496 !important;
1203
  background: #BA292B !important;
1204
  border-color: #7F1C1F !important;
1205
+ box-shadow: none !important;
1206
  text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
1207
  cursor: default;
1208
  }
1250
  .checkmark.no-checkmark:after {
1251
  display: none;
1252
  }
1253
+ .complete,
1254
+ .ok,
1255
+ .yes,
1256
+ .on,
1257
  [data-status="complete"],
1258
  [data-status="ok"],
1259
  [data-status="yes"],
1260
  [data-status="on"] {
1261
  color: #0AB152;
1262
  }
1263
+ .incomplete,
1264
+ .ko,
1265
+ .no,
1266
+ .off,
1267
  [data-status="incomplete"],
1268
  [data-status="ko"],
1269
  [data-status="no"],
1307
  }
1308
  @media
1309
  only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
1310
+
1311
  #tribe-loading span {
1312
  background-image: url(../images/tribe-loading@2x.gif);
1313
  }
1314
  }
1315
  @media screen and (max-width: 782px) {
1316
+
1317
  .tribe-half-column,
1318
  .tribe-row .tribe-half-column:last-child {
1319
  margin: 0 0 20px 0;
1325
  }
1326
  }
1327
  @media screen and ( max-width: 782px ) {
1328
+
1329
  .events-cal .subsubsub {
1330
  float: none;
1331
  }
common/src/resources/css/tribe-common-admin.min.css CHANGED
@@ -1 +1 @@
1
- .invalid input{border:2px solid red!important}.valid input{border:1px solid green}.clearfix{zoom:1}.placeholder{color:#999;cursor:text;padding:4px}input:-ms-input-placeholder,input::-ms-input-placeholder,textarea:-ms-input-placeholder,textarea::-ms-input-placeholder{color:#999}input::placeholder,textarea::placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.bubble{-khtml-border-radius:3px;background-color:#f9f9f9;border:1px solid #dfdfdf;border-radius:3px;border-spacing:0;border-style:solid;padding:10px}.tribe-sticky-tooltip{color:#bbb}td.tribe_message{padding-bottom:10px!important}#tribe_thanks{float:left;margin:5px 0 0;width:200px}.tribe_brand{font-family:Georgia,serif!important;font-size:17px!important;font-weight:400;margin:8px 0}#tribe-upgrade{background:#f6f6f6;border:1px solid #ccc;border-radius:5px;margin:20px 0 30px;padding:0 20px 20px}#tribe-upgrade .message{background-color:#ffffe0;border:1px solid #e6db55;border-radius:3px;padding:6px 12px}table.plugins .tribe-plugin-update-message{background:#d54e21;color:#fff;display:inline-table;margin:6px 0;padding:10px 12px}table.plugins .tribe-plugin-update-message h4{display:inline;font-weight:700;margin-right:8px}table.plugins .tribe-plugin-update-message h4:after{content:" \00BB "}table.plugins .tribe-plugin-update-message a{color:#fff;text-decoration:underline}.tribe-settings-form{max-width:1000px}.tribe-settings-form fieldset{clear:both;display:inline-block;padding:10px 0}.tribe-settings-form fieldset.tribe-field-license_key legend{width:auto}.tribe-settings-form legend{float:left;font-weight:700;margin-right:20px;width:220px}.tribe-settings-form .tribe-field-wrap{float:left;max-width:500px}.tribe-settings-form .tribe-field-wrap :first-child{margin-top:0}.tribe-settings-form .tribe-field-checkbox_list label,.tribe-settings-form .tribe-field-radio label{display:block;margin:5px 0 5px 20px;text-indent:-20px}.tribe-settings-form .tribe-field-checkbox_list label>p,.tribe-settings-form .tribe-field-radio label>p{text-indent:0;margin-left:1px}.tribe-settings-form .tribe-field-checkbox_list label input,.tribe-settings-form .tribe-field-radio label input{margin-right:5px}.tribe-settings-form .tribe-settings-form-wrap .description,.tribe-settings-form .tribe-settings-form-wrap fieldset,.tribe-settings-form fieldset[id^=tribe-field-geoloc_]{padding-left:12px}.tribe-settings-form .tribe-settings-form-wrap fieldset .description{margin-left:0;max-width:450px;padding-left:0}.tribe-settings-form .tribe-settings-form-wrap fieldset .tribe-style-selection{margin-bottom:18px}.tribe-settings-form .tribe-settings-form-wrap h3{background-color:#f9f9f9;margin-bottom:10px;padding:6px 0 6px 12px}.tribe-settings-form .tribe-settings-form-wrap .contained,.tribe-settings-form .tribe-settings-form-wrap .system-info,.tribe-settings-form .tribe-settings-form-wrap .tribe-sysinfo-optin-msg,.tribe-settings-form .tribe-settings-form-wrap h3+p{margin:0 0 10px;padding-left:12px}.tribe-settings-form #tribe-field-stylesheetOption p.description{color:#999}.tribe_settings .tribe-field-indent{margin-left:245px}.tribe_settings #pu_dashboard_message{display:none}.tribe_settings .tribe-errors-list{margin-left:15px}.tribe_settings .expiring-license{color:red}.tribe_settings .tribe-error{border:1px solid red}.tribe_settings .tribe-field-description{margin-bottom:0;position:relative;top:-12px}.tribe_settings #ical-link{top:-14px}#modern-tribe-info{-khtml-border-radius:4px;background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;margin:20px 0;padding:8px 20px 12px}#modern-tribe-info img{height:18px;margin:10px 0;width:250px}#modern-tribe-info ul{list-style:disc;margin-left:20px}#modern-tribe-info ul ul{list-style:circle}.tribe-field-inline-dropdown{margin-left:0;margin-right:0}.tribe-field-inline-text{line-height:28px;margin:0 2px}.tribe-field-textarea.tribe-size-small textarea{height:60px;width:180px}.tribe-field-textarea.tribe-size-medium textarea{height:80px;width:300px}.tribe-field-textarea.tribe-size-large textarea{height:120px;width:450px}.tribe-field-email.tribe-size-small input,.tribe-field-license_key.tribe-size-small input,.tribe-field-text.tribe-size-small input{width:50px}.tribe-field-email.tribe-size-medium input,.tribe-field-license_key.tribe-size-medium input,.tribe-field-text.tribe-size-medium input{width:225px}.tribe-field-email.tribe-size-large input,.tribe-field-license_key.tribe-size-large input,.tribe-field-text.tribe-size-large input{width:450px}.tribe-field-dropdown.tribe-size-small select{width:100px}.tribe-field-dropdown.tribe-size-medium select{width:300px}.tribe-field-dropdown.tribe-size-large select{width:450px}.tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap{max-width:600px}.tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap .description{max-width:100%}.tribe-field-dropdown_chosen.tribe-size-small select{width:100px}.tribe-field-dropdown_chosen.tribe-size-medium select{width:200px}.tribe-field-dropdown_chosen.tribe-size-large select{width:300px}.tribe-field-wrap .tooltip:first-child{font-style:normal}.tribe-field.indent{margin-left:252px;width:75%}.tribe-field.indent legend{font-weight:400;width:auto}.tribe-field.indent .tribe-field-wrap{padding-right:12px}.tribe-field.indent.tribe-field-radio .tribe-field-wrap{clear:left;margin-top:12px}.tribe-field.light-bordered{background-color:#fff;border:1px solid #d3d3d3}.ajax-loading-license,.invalid-key,.valid-key{display:none;margin:0 5px}.ajax-loading-license{position:relative;top:5px}.key-validity{display:inline-block}.invalid-key,.optin-fail{color:red}.optin-success,.valid-key{color:green}.valid-key.service-msg{color:#b72}#additional-field-table{margin-bottom:20px}.tribe-admin-box-left{float:left;width:20%}.tribe-admin-box-left,.tribe-admin-box-right{-khtml-border-radius:4px;background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;margin:20px 0;padding:0 20px 15px}.tribe-admin-box-right{float:right;width:68%}.ajax-loader{float:right;margin:10px}.tribe-arrangeable-item{border:1px solid #d3d3d3;border-radius:3px}.tribe-arrangeable-item .ui-state-default{border:none}.tribe-arrangeable-item-top{padding:6px}.tribe-arrangeable-item-top:hover{cursor:move}.tribe-arrangeable-action{float:right}.tribe-arrangeable-child{background-color:#f9f9f9;border-top:1px solid #d3d3d3;display:none;padding:25px}.tribe-arrangeable-child label{display:block;margin:0 0 7px}.tribe_events_active_filter_type_options{margin:10px 0}.tribe_events_active_filter_type_options label{margin:7px 0}#event_organizer td small,.OrganizerInfo td small{display:block;margin:0;max-width:250px}#event_organizer .organizer-email,.OrganizerInfo .organizer-email{vertical-align:top}.tribe-table-field-label{max-width:100%;width:200px}#tribe-help-general,#tribe-help-sidebar{float:left;margin-top:20px}#tribe-help-general p{margin-left:15px}#tribe-help-general ul{list-style-type:square}#tribe-help-general ol,#tribe-help-general ul{margin-bottom:20px;margin-left:35px}#tribe-help-general h3{background-color:#f9f9f9;margin-bottom:10px;padding:6px 0 6px 12px}#tribe-help-general h3~h3{margin-top:2.25em}#tribe-help-general h3+p{margin:0 0 20px;padding-left:12px}#tribe-help-general{width:65%}.tribe-help-section{padding-bottom:10px}.tribe-section-type-box{-khtml-border-radius:4px;background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;padding:8px 20px 12px}.tribe-section-type-box img{height:auto;margin:10px 0;max-width:300px}.tribe-section-type-box ul{list-style:disc;margin-left:20px}.tribe-section-type-box ul ul{list-style:circle}#tribe-log-controls{padding-bottom:1rem;padding-left:12px}#tribe-log-controls>div{display:inline-block;padding-right:1rem}#tribe-log-controls .working{opacity:1;transition:opacity .2s}#tribe-log-controls .working.hidden{opacity:0;transition:opacity .2s}#tribe-log-viewer,#tribe-system-info dl.support-stats,.template-updates-wrapper{background:#000;border-radius:2px;color:#888;max-height:400px;overflow:scroll;padding:10px}#tribe-system-info dl.support-stats dt,.template-updates-wrapper dt{clear:both;float:left;font-weight:700;text-transform:uppercase;width:25%}#tribe-system-info dl.support-stats dd,.template-updates-wrapper dd{margin-left:25%;padding-left:10px}.system-info-copy .system-info-copy-btn{padding:6px}.system-info-copy .system-info-copy-btn .dashicons{padding-right:10px}.template-updates-wrapper p{margin-top:0}#tribe-help-sidebar{margin:20px 0 0 3%;max-width:225px;width:32%}.tribe-help-plugin-info{border:1px solid #ccc;padding:0 12px 12px}.tribe-help-plugin-info dd,.tribe-help-plugin-info dt{display:inline;margin:0}.tribe-help-plugin-info dt{font-weight:700}.tribe-help-plugin-info dd:after{content:"";display:block;height:.4em}.tribe-help-plugin-info dd:last-child:after{height:0}.tribe-help-plugin-info+.tribe-help-plugin-info{margin-top:20px}.tribe-help-plugin-info>div{line-height:2em}.tribe-help-plugin-info .star-rating{display:inline-block;margin-left:3px;position:relative;top:-2px}.tribe-help-plugin-info .tribe-list-addons{color:#21a6cb;font-size:24px;list-style:circle inside;margin-bottom:10px;margin-top:10px;padding-left:4px}.tribe-help-plugin-info .tribe-list-addons a{font-size:13px;left:-5px;position:relative;top:-5px}.tribe-help-plugin-info .tribe-list-addons .tribe-active-addon{list-style:disc inside}.ui-widget-overlay{background:#666;filter:Alpha(Opacity=50);opacity:.5}.ui-widget-shadow{background:#000;-webkit-border-radius:5px;-moz-border-radius:5px;filter:Alpha(Opacity=20);margin:-5px 0 0 -5px;opacity:.2;padding:5px}.ui-resizable{position:relative}.ui-resizable-handle{display:block;font-size:.1px;position:absolute;z-index:99999}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;left:0;top:-5px;width:100%}.ui-resizable-s{bottom:-5px;cursor:s-resize;height:7px;left:0;width:100%}.ui-resizable-e{cursor:e-resize;height:100%;right:-5px;top:0;width:7px}.ui-resizable-w{cursor:w-resize;height:100%;left:-5px;top:0;width:7px}.ui-resizable-se{bottom:1px;cursor:se-resize;height:12px;right:1px;width:12px}.ui-resizable-sw{bottom:-5px;cursor:sw-resize;height:9px;left:-5px;width:9px}.ui-resizable-nw{cursor:nw-resize;height:9px;left:-5px;top:-5px;width:9px}.ui-resizable-ne{cursor:ne-resize;height:9px;right:-5px;top:-5px;width:9px}.ui-dialog{padding:.2em;position:relative;width:375px}.ui-dialog .ui-dialog-titlebar{padding:.5em .3em .3em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0 .2em}.ui-dialog .ui-dialog-titlebar-close{height:18px;margin:-10px 0 0;padding:1px;position:absolute;right:.3em;top:50%;width:19px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin-left:-8px;margin-top:-8px}.ui-dialog .ui-dialog-titlebar-close:focus,.ui-dialog .ui-dialog-titlebar-close:hover{padding:0}.ui-dialog .ui-dialog-content{background:none;border:0;overflow:auto;padding:.5em 1em;zoom:1}.ui-dialog .ui-dialog-buttonpane{background-image:none;border-width:1px 0 0;margin:.5em 0 0;padding:.3em 1em .5em!important;text-align:right}.ui-dialog .ui-dialog-buttonpane button{cursor:pointer;line-height:1.4em;margin:.5em .4em!important;overflow:visible;padding:.2em .6em .3em;text-shadow:none;width:auto}.ui-dialog .ui-resizable-se{bottom:3px;height:14px;right:3px;width:14px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:none!important;text-align:center}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button .ui-button-text{display:block;line-height:1.4}#ui-datepicker-div{display:none}#tribe-loading{background:#fff;background:hsla(0,0%,100%,.8);display:none;height:100%;left:0;position:absolute;top:0;transition:all 1s linear;webkit-transition:all 1s linear;width:100%;z-index:4}#tribe-loading span{background:url(../images/tribe-loading.gif) 0 0 no-repeat;background-size:32px 32px;height:32px;left:50%;margin:-16px 0 0 -16px;position:absolute;top:50%;width:32px}.tribe_update_page,.tribe_welcome_page{max-width:850px}.tribe_welcome_page.wrap h1{font-size:3em;line-height:1.2;margin-top:1em}.tribe_welcome_page.wrap h1:before{color:#555d66;content:"\f145";font-family:dashicons;font-size:.9em;line-height:1;margin-right:5px;position:relative;top:4px}.tribe-half-column{float:left;margin-bottom:30px;margin-right:5%;width:45%}.tribe-row:after,.tribe-row:before{content:"";display:table}.tribe-row,.tribe-row:after{clear:both}.tribe-row .tribe-half-column:last-child{margin-right:0;width:50%}.tribe_welcome_page .tribe-half-column h4,.tribe_welcome_page h2{font-size:24px;line-height:1.2;margin-bottom:20px}.tribe_update_page h2{font-size:30px;line-height:1.2;margin-bottom:20px}.tribe_update_page h3,.tribe_welcome_page h3{font-size:24px;font-weight:400;line-height:24px;margin-top:0}.tribe_update_page h4,.tribe_welcome_page h4{font-size:18px;font-weight:600;line-height:18px;margin:0}.tribe_update_page p,.tribe_welcome_page p{font-size:15px}.tribe_welcome_page li{font-size:14px;margin-bottom:10px}p.tribe-welcome-message{font-size:18px;font-weight:400}.tribe_welcome_page .tribe-half-column h4{margin-top:1em}.tribe_welcome_page .tribe-half-column h4:before{color:#555d66;content:"\f145";font-family:dashicons;font-size:21px;line-height:1;margin-right:10px;position:relative;top:2px}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-sos]:before{content:"\f468"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-welcome-learn-more]:before{content:"\f118"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-megaphone]:before{content:"\f488"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-heart]:before{content:"\f487"}.tribe_update_page h4:before{content:"\f145";font-family:dashicons;font-size:34px;line-height:1;margin-right:5px;position:relative;top:5px}.tribe-welcome-video-wrapper{height:0;margin-bottom:40px;padding-bottom:56.25%;padding-top:25px;position:relative}.tribe-welcome-video-wrapper iframe{height:100%;left:0;position:absolute;top:0;width:100%}a.tribe-rating-link{text-decoration:none}.tribe-update-links,.tribe-welcome-links{margin-top:30px}.tribe_update_page li:before,.tribe_welcome_page li:before{content:"\2022";padding-right:3px}.tribe_update_page .rss-widget{margin:1em 0}.tribe_update_page a.rsswidget{font-size:14px;font-weight:400;line-height:1}.tribe_update_page .rss-widget li:before{display:none}.tribe-update-bar{display:inline-block}.tribe-update-bar .progress{border:1px solid #ccc;float:left;margin-right:1rem;padding:1px;width:18rem}.tribe-update-bar .progress .bar{background:#ffba00;height:1rem;width:1%;background:#7ad03a}#tribe-dialog-wrapper>div{padding:1rem}#tribe-dialog-wrapper>div .stage{display:none}#tribe-dialog-wrapper #heading{background:#fff}#tribe-dialog-wrapper label{display:block}#tribe-dialog-wrapper .select-single-container{border:1px solid #888;overflow-y:scroll;height:300px}#tribe-dialog-wrapper .select-single-container label{opacity:1;padding:3px 5px;transition:opacity .2s}#tribe-dialog-wrapper .select-single-container label:nth-child(odd){background:#fff}#tribe-dialog-wrapper .select-single-container label.selected{background:#0073aa;color:#fff;font-weight:700}#tribe-dialog-wrapper .select-single-container label input{display:none}#tribe-dialog-wrapper .select-single-container.updating label{opacity:.35;transition:opacity .2s}.ui-front{z-index:1000000}.select2-container .select2-choice abbr{top:6px}.wp-list-table.plugins .column-description .update-message{color:#d54e21}.api-check{padding:1em;min-height:100px}.api-check+.notice-dismiss:hover:before{color:#fff}.api-check:after,.api-check:before{content:"";display:table}.api-check:after{clear:both}.api-check .tribe-mascot{bottom:0;display:none;padding:0 1rem 0 0;position:absolute;right:0;top:0}.api-check .tribe-mascot img{display:inline-block;max-height:150px;max-width:150px;height:100%;width:auto;vertical-align:middle}.api-check p{line-height:1.7;margin-bottom:1em}.api-check a{text-decoration:none}.api-check a:hover{text-decoration:underline}.api-check .plugin-list{display:inline;font-weight:600;margin:0;padding:0}.api-check .plugin-list span.plugin-invalid:after{content:", "}.api-check .plugin-list span.plugin-invalid:last-of-type:after{content:""}.tribe-marketing-notice{padding:1em}.tribe-marketing-notice+.notice-dismiss:hover:before{color:#fff}.tribe-marketing-notice:after,.tribe-marketing-notice:before{content:"";display:table}.tribe-marketing-notice:after{clear:both}.tribe-marketing-notice .tribe-notice-icon{bottom:0;display:none;padding:1rem;position:absolute;left:0;top:0;width:125px}.tribe-marketing-notice .tribe-notice-icon:before{content:"";display:inline-block;height:100%;width:1%;vertical-align:middle}.tribe-marketing-notice .tribe-notice-icon img{display:inline-block;max-height:100%;max-width:96%;vertical-align:middle}.tribe-marketing-notice h3{margin-bottom:.5em;margin-top:.5em}.tribe-marketing-notice p{line-height:1.7;margin-bottom:.5em}.tribe-marketing-notice a{text-decoration:none}.tribe-marketing-notice a:hover{text-decoration:underline}.tribe-marketing-notice.tribe-bf-2018-tec .button.button-primary{margin:10px 10px 0 0}.tribe-dropdown,.tribe-ea-dropdown{max-width:100%;width:auto}.tribe-dropdown.select2-container-active .select2-choice,.tribe-ea-dropdown.select2-container-active .select2-choice{border-color:#5897fb;box-shadow:0 0 5px rgba(0,0,0,.1)}.tribe-dropdown.select2-dropdown-open .select2-choice,.tribe-ea-dropdown.select2-dropdown-open .select2-choice{border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:#aaa}.tribe-dropdown .select2-choice,.tribe-ea-dropdown .select2-choice{background-image:none;border-radius:3px;border:1px solid #ccc}.tribe-dropdown .select2-choice>.select2-chosen,.tribe-ea-dropdown .select2-choice>.select2-chosen{white-space:normal}.tribe-dropdown .select2-choice .select2-arrow,.tribe-ea-dropdown .select2-choice .select2-arrow{background-image:none;background:transparent;border-left:0}.tribe-dropdown .select2-choice div,.tribe-ea-dropdown .select2-choice div{background-image:none;background:none;border-left:0}.tribe-dropdown.select2-container-multi .select2-choices,.tribe-ea-dropdown.select2-container-multi .select2-choices{background-image:none;border-radius:3px;border:1px solid #ccc;min-height:25px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-field,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-field{line-height:25px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-field input,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-field input{padding-top:0;padding-bottom:0}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice{margin-top:2px;padding-top:0;padding-bottom:0;line-height:19px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice div,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice div{line-height:inherit}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice-close,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice-close{top:3px;left:4px;transition-property:border,color}.select2-results .select2-selected{display:block}.select2-results .select2-selected>.select2-result-label{background-color:#efefef;color:#a1a1a1;cursor:default}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:400}.select2-results li.select2-result-with-children.select2-selected,.select2-results li.select2-result-with-children.select2-selected .select2-result{display:block}.select2-results li.select2-result-with-children.select2-selected>.select2-result-label{background-color:#efefef;color:#a1a1a1;cursor:default}.select2-results li.select2-result-with-children.select2-result-unselectable>.select2-result-label{color:#939393;font-weight:400}.wp-core-ui .button-red{-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5);background-color:#a00;border-bottom-color:#8d1f21;border-color:#9b2124;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .button-red.focus,.wp-core-ui .button-red.hover,.wp-core-ui .button-red:focus,.wp-core-ui .button-red:hover{-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);background-color:#a00;border-color:#7f1c1f;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .button-red.focus,.wp-core-ui .button-red:focus{-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4);border-color:#500f0e;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .button-red.active,.wp-core-ui .button-red.active:focus,.wp-core-ui .button-red.active:hover,.wp-core-ui .button-red:active{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);background:#7f1c1f;border-color:#601312 #ae2426 #ae2426;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);color:hsla(0,0%,100%,.95);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .button-red-disabled,.wp-core-ui .button-red:disabled,.wp-core-ui .button-red[disabled]{color:#e79496!important;background:#ba292b!important;border-color:#7f1c1f!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.ticket_form .select2-container .select2-choice .select2-arrow{display:none}.clear{zoom:1}.clear:after,.clear:before{content:" ";display:table}.clear:after{clear:both}.checkmark:after{content:"";display:block;width:8px;height:15px;border:solid #0ab152;border-width:0 3px 3px 0;transform:rotate(45deg)}.checkmark.checkmark-right:after{float:right;margin-right:2em}.checkmark.checkmark-left:after{float:left;margin-left:2em}.checkmark.no-checkmark:after{display:none}.complete,.ok,.on,.yes,[data-status=complete],[data-status=ok],[data-status=on],[data-status=yes]{color:#0ab152}.incomplete,.ko,.no,.off,[data-status=incomplete],[data-status=ko],[data-status=no],[data-status=off]{color:#ff2500}.plugin-card-event-tickets-plus .column-downloaded,.plugin-card-event-tickets-plus .column-rating,.plugin-card-event-tickets-plus .column-updated,.plugin-card-event-tickets .column-downloaded,.plugin-card-event-tickets .column-rating,.plugin-card-event-tickets .column-updated,.plugin-card-events-calendar-pro .column-downloaded,.plugin-card-events-calendar-pro .column-rating,.plugin-card-events-calendar-pro .column-updated,.plugin-card-events-community-tickets .column-downloaded,.plugin-card-events-community-tickets .column-rating,.plugin-card-events-community-tickets .column-updated,.plugin-card-events-community .column-downloaded,.plugin-card-events-community .column-rating,.plugin-card-events-community .column-updated,.plugin-card-image-widget-plus .column-downloaded,.plugin-card-image-widget-plus .column-rating,.plugin-card-image-widget-plus .column-updated,.plugin-card-image-widget .column-downloaded,.plugin-card-image-widget .column-rating,.plugin-card-image-widget .column-updated,.plugin-card-the-events-calendar .column-downloaded,.plugin-card-the-events-calendar .column-rating,.plugin-card-the-events-calendar .column-updated,.plugin-card-tribe-eventbrite .column-downloaded,.plugin-card-tribe-eventbrite .column-rating,.plugin-card-tribe-eventbrite .column-updated,.plugin-card-tribe-filterbar .column-downloaded,.plugin-card-tribe-filterbar .column-rating,.plugin-card-tribe-filterbar .column-updated{display:none}@media only screen and (-o-min-device-pixel-ratio:2/1),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){#tribe-loading span{background-image:url(../images/tribe-loading@2x.gif)}}@media screen and (max-width:782px){.tribe-half-column,.tribe-row .tribe-half-column:last-child{margin:0 0 20px;width:100%}input[type=email]{width:100%}}@media screen and (max-width:782px){.events-cal .subsubsub{float:none}.events-cal .search-box{width:98%}.events-cal #search-submit{width:100%}.events-cal .tablenav.top{display:none}}@media screen and (min-width:500px){.api-check .tribe-mascot{display:block}.api-check .notice-content{margin-right:180px}}@media screen and (min-width:600px) and (max-width:782px){.tribe-marketing-notice .tribe-notice-icon{width:135px}.tribe-marketing-notice .tribe-notice-content{margin-left:145px}}@media screen and (min-width:600px){.tribe-marketing-notice .tribe-notice-icon{display:block}}@media screen and (min-width:782px){.tribe-marketing-notice .tribe-notice-content{margin-left:130px}}@media screen and (max-width:956px){.tribe-marketing-notice.tribe-bf-2018-tec .button.button-primary{margin:0 0 10px}.tribe-marketing-notice.tribe-bf-2018-tec em{clear:both;display:block}}
1
+ .invalid input{border:2px solid red!important}.valid input{border:1px solid green}.clearfix{zoom:1}.placeholder{color:#999;cursor:text;padding:4px}input:-ms-input-placeholder,input::-ms-input-placeholder,textarea:-ms-input-placeholder,textarea::-ms-input-placeholder{color:#999}input::placeholder,textarea::placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.bubble{background-color:#f9f9f9;border:1px solid #dfdfdf;border-radius:3px;border-spacing:0;padding:10px}.tribe-sticky-tooltip{color:#bbb}td.tribe_message{padding-bottom:10px!important}#tribe_thanks{float:left;margin:5px 0 0;width:200px}.tribe_brand{font-family:Georgia,serif!important;font-size:17px!important;font-weight:400;margin:8px 0}#tribe-upgrade{background:#f6f6f6;border:1px solid #ccc;border-radius:5px;margin:20px 0 30px;padding:0 20px 20px}#tribe-upgrade .message{background-color:#ffffe0;border:1px solid #e6db55;border-radius:3px;padding:6px 12px}table.plugins .tribe-plugin-update-message{background:#d54e21;color:#fff;display:inline-table;margin:6px 0;padding:10px 12px}table.plugins .tribe-plugin-update-message h4{display:inline;font-weight:700;margin-right:8px}table.plugins .tribe-plugin-update-message h4:after{content:" \00BB "}table.plugins .tribe-plugin-update-message a{color:#fff;text-decoration:underline}.tribe-settings-form{max-width:1000px}.tribe-settings-form fieldset{clear:both;display:inline-block;padding:10px 0}.tribe-settings-form fieldset.tribe-field-license_key legend{width:auto}.tribe-settings-form legend{float:left;font-weight:700;margin-right:20px;width:220px}.tribe-settings-form .tribe-field-wrap{float:left;max-width:500px}.tribe-settings-form .tribe-field-wrap :first-child{margin-top:0}.tribe-settings-form .tribe-field-checkbox_list label,.tribe-settings-form .tribe-field-radio label{display:block;margin:5px 0 5px 20px;text-indent:-20px}.tribe-settings-form .tribe-field-checkbox_list label>p,.tribe-settings-form .tribe-field-radio label>p{text-indent:0;margin-left:1px}.tribe-settings-form .tribe-field-checkbox_list label input,.tribe-settings-form .tribe-field-radio label input{margin-right:5px}.tribe-settings-form .tribe-settings-form-wrap .description,.tribe-settings-form .tribe-settings-form-wrap fieldset,.tribe-settings-form fieldset[id^=tribe-field-geoloc_]{padding-left:12px}.tribe-settings-form .tribe-settings-form-wrap fieldset .description{margin-left:0;max-width:450px;padding-left:0}.tribe-settings-form .tribe-settings-form-wrap fieldset .tribe-style-selection{margin-bottom:18px}.tribe-settings-form .tribe-settings-form-wrap #tribe-field-stylesheetOption .description{color:#999;margin-left:1px}.tribe-settings-form .tribe-settings-form-wrap h3{background-color:#f9f9f9;margin-bottom:10px;padding:6px 0 6px 12px}.tribe-settings-form .tribe-settings-form-wrap .contained,.tribe-settings-form .tribe-settings-form-wrap .system-info,.tribe-settings-form .tribe-settings-form-wrap .tribe-sysinfo-optin-msg,.tribe-settings-form .tribe-settings-form-wrap h3+p{margin:0 0 10px;padding-left:12px}.tribe_settings .tribe-field-indent{margin-left:245px}.tribe_settings #pu_dashboard_message{display:none}.tribe_settings .tribe-errors-list{margin-left:15px}.tribe_settings .expiring-license{color:red}.tribe_settings .tribe-error{border:1px solid red}.tribe_settings .tribe-field-description{margin-bottom:0;position:relative;top:-12px}.tribe_settings #ical-link{top:-14px}#modern-tribe-info{background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;margin:20px 0;padding:8px 20px 12px}#modern-tribe-info img{height:18px;margin:10px 0;width:250px}#modern-tribe-info ul{list-style:disc;margin-left:20px}#modern-tribe-info ul ul{list-style:circle}.tribe-field-inline-dropdown{margin-left:0;margin-right:0}.tribe-field-inline-text{line-height:28px;margin:0 2px}.tribe-field-textarea.tribe-size-small textarea{height:60px;width:180px}.tribe-field-textarea.tribe-size-medium textarea{height:80px;width:300px}.tribe-field-textarea.tribe-size-large textarea{height:120px;width:450px}.tribe-field-email.tribe-size-small input,.tribe-field-license_key.tribe-size-small input,.tribe-field-text.tribe-size-small input{width:50px}.tribe-field-email.tribe-size-medium input,.tribe-field-license_key.tribe-size-medium input,.tribe-field-text.tribe-size-medium input{width:225px}.tribe-field-email.tribe-size-large input,.tribe-field-license_key.tribe-size-large input,.tribe-field-text.tribe-size-large input{width:450px}.tribe-field-dropdown.tribe-size-small select{width:100px}.tribe-field-dropdown.tribe-size-medium select{width:300px}.tribe-field-dropdown.tribe-size-large select{width:450px}.tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap{max-width:600px}.tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap .description{max-width:100%}.tribe-field-dropdown_chosen.tribe-size-small select{width:100px}.tribe-field-dropdown_chosen.tribe-size-medium select{width:200px}.tribe-field-dropdown_chosen.tribe-size-large select{width:300px}.tribe-field-wrap .tooltip:first-child{font-style:normal}.tribe-field.indent{margin-left:252px;width:75%}.tribe-field.indent legend{font-weight:400;width:auto}.tribe-field.indent .tribe-field-wrap{padding-right:12px}.tribe-field.indent.tribe-field-radio .tribe-field-wrap{clear:left;margin-top:12px}.tribe-field.light-bordered{background-color:#fff;border:1px solid #d3d3d3}.ajax-loading-license,.invalid-key,.valid-key{display:none;margin:0 5px}.ajax-loading-license{position:relative;top:5px}.key-validity{display:inline-block}.invalid-key,.optin-fail{color:red}.optin-success,.valid-key{color:green}.valid-key.service-msg{color:#b72}#additional-field-table{margin-bottom:20px}.tribe-admin-box-left{float:left;width:20%}.tribe-admin-box-left,.tribe-admin-box-right{background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;margin:20px 0;padding:0 20px 15px}.tribe-admin-box-right{float:right;width:68%}.ajax-loader{float:right;margin:10px}.tribe-arrangeable-item{border:1px solid #d3d3d3;border-radius:3px}.tribe-arrangeable-item .ui-state-default{border:none}.tribe-arrangeable-item-top{padding:6px}.tribe-arrangeable-item-top:hover{cursor:move}.tribe-arrangeable-action{float:right}.tribe-arrangeable-child{background-color:#f9f9f9;border-top:1px solid #d3d3d3;display:none;padding:25px}.tribe-arrangeable-child label{display:block;margin:0 0 7px}.tribe_events_active_filter_type_options{margin:10px 0}.tribe_events_active_filter_type_options label{margin:7px 0}#event_organizer td small,.OrganizerInfo td small{display:block;margin:0;max-width:250px}#event_organizer .organizer-email,.OrganizerInfo .organizer-email{vertical-align:top}.tribe-table-field-label{max-width:100%;width:200px}#tribe-help-general,#tribe-help-sidebar{float:left;margin-top:20px}#tribe-help-general p{margin-left:15px}#tribe-help-general ul{list-style-type:square}#tribe-help-general ol,#tribe-help-general ul{margin-bottom:20px;margin-left:35px}#tribe-help-general h3{background-color:#f9f9f9;margin-bottom:10px;padding:6px 0 6px 12px}#tribe-help-general h3~h3{margin-top:2.25em}#tribe-help-general h3+p{margin:0 0 20px;padding-left:12px}#tribe-help-general{width:65%}.tribe-help-section{padding-bottom:10px}.tribe-section-type-box{background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;padding:8px 20px 12px}.tribe-section-type-box img{height:auto;margin:10px 0;max-width:300px}.tribe-section-type-box ul{list-style:disc;margin-left:20px}.tribe-section-type-box ul ul{list-style:circle}#tribe-log-controls{padding-bottom:1rem;padding-left:12px}#tribe-log-controls>div{display:inline-block;padding-right:1rem}#tribe-log-controls .working{opacity:1;transition:opacity .2s}#tribe-log-controls .working.hidden{opacity:0;transition:opacity .2s}#tribe-log-viewer,#tribe-system-info dl.support-stats,.template-updates-wrapper{background:#000;border-radius:2px;color:#888;max-height:400px;overflow:scroll;padding:10px}#tribe-system-info dl.support-stats dt,.template-updates-wrapper dt{clear:both;float:left;font-weight:700;text-transform:uppercase;width:25%}#tribe-system-info dl.support-stats dd,.template-updates-wrapper dd{margin-left:25%;padding-left:10px}.system-info-copy .system-info-copy-btn{padding:6px}.system-info-copy .system-info-copy-btn .dashicons{padding-right:10px}.template-updates-wrapper p{margin-top:0}#tribe-help-sidebar{margin:20px 0 0 3%;max-width:225px;width:32%}.tribe-help-plugin-info{border:1px solid #ccc;padding:0 12px 12px}.tribe-help-plugin-info dd,.tribe-help-plugin-info dt{display:inline;margin:0}.tribe-help-plugin-info dt{font-weight:700}.tribe-help-plugin-info dd:after{content:"";display:block;height:.4em}.tribe-help-plugin-info dd:last-child:after{height:0}.tribe-help-plugin-info+.tribe-help-plugin-info{margin-top:20px}.tribe-help-plugin-info>div{line-height:2em}.tribe-help-plugin-info .star-rating{display:inline-block;margin-left:3px;position:relative;top:-2px}.tribe-help-plugin-info .tribe-list-addons{color:#21a6cb;font-size:24px;list-style:circle inside;margin-bottom:10px;margin-top:10px;padding-left:4px}.tribe-help-plugin-info .tribe-list-addons a{font-size:13px;left:-5px;position:relative;top:-5px}.tribe-help-plugin-info .tribe-list-addons .tribe-active-addon{list-style:disc inside}.ui-widget-overlay{background:#666;filter:Alpha(Opacity=50);opacity:.5}.ui-widget-shadow{background:#000;border-radius:5px;filter:Alpha(Opacity=20);margin:-5px 0 0 -5px;opacity:.2;padding:5px}.ui-resizable{position:relative}.ui-resizable-handle{display:block;font-size:.1px;position:absolute;z-index:99999}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;left:0;top:-5px;width:100%}.ui-resizable-s{bottom:-5px;cursor:s-resize;height:7px;left:0;width:100%}.ui-resizable-e{cursor:e-resize;height:100%;right:-5px;top:0;width:7px}.ui-resizable-w{cursor:w-resize;height:100%;left:-5px;top:0;width:7px}.ui-resizable-se{bottom:1px;cursor:se-resize;height:12px;right:1px;width:12px}.ui-resizable-sw{bottom:-5px;cursor:sw-resize;height:9px;left:-5px;width:9px}.ui-resizable-nw{cursor:nw-resize;height:9px;left:-5px;top:-5px;width:9px}.ui-resizable-ne{cursor:ne-resize;height:9px;right:-5px;top:-5px;width:9px}.ui-dialog{padding:.2em;position:relative;width:375px}.ui-dialog .ui-dialog-titlebar{padding:.5em .3em .3em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0 .2em}.ui-dialog .ui-dialog-titlebar-close{height:18px;margin:-10px 0 0;padding:1px;position:absolute;right:.3em;top:50%;width:19px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin-left:-8px;margin-top:-8px}.ui-dialog .ui-dialog-titlebar-close:focus,.ui-dialog .ui-dialog-titlebar-close:hover{padding:0}.ui-dialog .ui-dialog-content{background:none;border:0;overflow:auto;padding:.5em 1em;zoom:1}.ui-dialog .ui-dialog-buttonpane{background-image:none;border-width:1px 0 0;margin:.5em 0 0;padding:.3em 1em .5em!important;text-align:right}.ui-dialog .ui-dialog-buttonpane button{cursor:pointer;line-height:1.4em;margin:.5em .4em!important;overflow:visible;padding:.2em .6em .3em;text-shadow:none;width:auto}.ui-dialog .ui-resizable-se{bottom:3px;height:14px;right:3px;width:14px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:none!important;text-align:center}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button .ui-button-text{display:block;line-height:1.4}#ui-datepicker-div{display:none}#tribe-loading{background:#fff;background:hsla(0,0%,100%,.8);display:none;height:100%;left:0;position:absolute;top:0;transition:all 1s linear;width:100%;z-index:4}#tribe-loading span{background:url(../images/tribe-loading.gif) 0 0 no-repeat;background-size:32px 32px;height:32px;left:50%;margin:-16px 0 0 -16px;position:absolute;top:50%;width:32px}.tribe_update_page,.tribe_welcome_page{max-width:850px}.tribe_welcome_page.wrap h1{font-size:3em;line-height:1.2;margin-top:1em}.tribe_welcome_page.wrap h1:before{color:#555d66;content:"\f145";font-family:dashicons;font-size:.9em;line-height:1;margin-right:5px;position:relative;top:4px}.tribe-half-column{float:left;margin-bottom:30px;margin-right:5%;width:45%}.tribe-row:after,.tribe-row:before{content:"";display:table}.tribe-row,.tribe-row:after{clear:both}.tribe-row .tribe-half-column:last-child{margin-right:0;width:50%}.tribe_welcome_page .tribe-half-column h4,.tribe_welcome_page h2{font-size:24px;line-height:1.2;margin-bottom:20px}.tribe_update_page h2{font-size:30px;line-height:1.2;margin-bottom:20px}.tribe_update_page h3,.tribe_welcome_page h3{font-size:24px;font-weight:400;line-height:24px;margin-top:0}.tribe_update_page h4,.tribe_welcome_page h4{font-size:18px;font-weight:600;line-height:18px;margin:0}.tribe_update_page p,.tribe_welcome_page p{font-size:15px}.tribe_welcome_page li{font-size:14px;margin-bottom:10px}p.tribe-welcome-message{font-size:18px;font-weight:400}.tribe_welcome_page .tribe-half-column h4{margin-top:1em}.tribe_welcome_page .tribe-half-column h4:before{color:#555d66;content:"\f145";font-family:dashicons;font-size:21px;line-height:1;margin-right:10px;position:relative;top:2px}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-sos]:before{content:"\f468"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-welcome-learn-more]:before{content:"\f118"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-megaphone]:before{content:"\f488"}.tribe_welcome_page .tribe-half-column h4[data-tribe-icon=dashicons-heart]:before{content:"\f487"}.tribe_update_page h4:before{content:"\f145";font-family:dashicons;font-size:34px;line-height:1;margin-right:5px;position:relative;top:5px}.tribe-welcome-video-wrapper{height:0;margin-bottom:40px;padding-bottom:56.25%;padding-top:25px;position:relative}.tribe-welcome-video-wrapper iframe{height:100%;left:0;position:absolute;top:0;width:100%}a.tribe-rating-link{text-decoration:none}.tribe-update-links,.tribe-welcome-links{margin-top:30px}.tribe_update_page li:before,.tribe_welcome_page li:before{content:"\2022";padding-right:3px}.tribe_update_page .rss-widget{margin:1em 0}.tribe_update_page a.rsswidget{font-size:14px;font-weight:400;line-height:1}.tribe_update_page .rss-widget li:before{display:none}.tribe-update-bar{display:inline-block}.tribe-update-bar .progress{border:1px solid #ccc;float:left;margin-right:1rem;padding:1px;width:18rem}.tribe-update-bar .progress .bar{background:#ffba00;height:1rem;width:1%;background:#7ad03a}#tribe-dialog-wrapper>div{padding:1rem}#tribe-dialog-wrapper>div .stage{display:none}#tribe-dialog-wrapper #heading{background:#fff}#tribe-dialog-wrapper label{display:block}#tribe-dialog-wrapper .select-single-container{border:1px solid #888;overflow-y:scroll;height:300px}#tribe-dialog-wrapper .select-single-container label{opacity:1;padding:3px 5px;transition:opacity .2s}#tribe-dialog-wrapper .select-single-container label:nth-child(odd){background:#fff}#tribe-dialog-wrapper .select-single-container label.selected{background:#0073aa;color:#fff;font-weight:700}#tribe-dialog-wrapper .select-single-container label input{display:none}#tribe-dialog-wrapper .select-single-container.updating label{opacity:.35;transition:opacity .2s}.ui-front{z-index:1000000}.select2-container .select2-choice abbr{top:6px}.wp-list-table.plugins .column-description .update-message{color:#d54e21}.api-check{padding:1em;min-height:100px}.api-check+.notice-dismiss:hover:before{color:#fff}.api-check:after,.api-check:before{content:"";display:table}.api-check:after{clear:both}.api-check .tribe-mascot{bottom:0;display:none;padding:0 1rem 0 0;position:absolute;right:0;top:0}.api-check .tribe-mascot img{display:inline-block;max-height:150px;max-width:150px;height:100%;width:auto;vertical-align:middle}.api-check p{line-height:1.7;margin-bottom:1em}.api-check a{text-decoration:none}.api-check a:hover{text-decoration:underline}.api-check .plugin-list{display:inline;font-weight:600;margin:0;padding:0}.api-check .plugin-list span.plugin-invalid:after{content:", "}.api-check .plugin-list span.plugin-invalid:last-of-type:after{content:""}.tribe-marketing-notice{padding:1em}.tribe-marketing-notice+.notice-dismiss:hover:before{color:#fff}.tribe-marketing-notice:after,.tribe-marketing-notice:before{content:"";display:table}.tribe-marketing-notice:after{clear:both}.tribe-marketing-notice .tribe-notice-icon{bottom:0;display:none;padding:1rem;position:absolute;left:0;top:0;width:125px}.tribe-marketing-notice .tribe-notice-icon:before{content:"";display:inline-block;height:100%;width:1%;vertical-align:middle}.tribe-marketing-notice .tribe-notice-icon img{display:inline-block;max-height:100%;max-width:96%;vertical-align:middle}.tribe-marketing-notice h3{margin-bottom:.5em;margin-top:.5em}.tribe-marketing-notice p{line-height:1.7;margin-bottom:.5em}.tribe-marketing-notice a{text-decoration:none}.tribe-marketing-notice a:hover{text-decoration:underline}.tribe-marketing-notice.tribe-bf-2018-tec .button.button-primary{margin:10px 10px 0 0}.tribe-dropdown,.tribe-ea-dropdown{max-width:100%;width:auto}.tribe-dropdown.select2-container-active .select2-choice,.tribe-ea-dropdown.select2-container-active .select2-choice{border-color:#5897fb;box-shadow:0 0 5px rgba(0,0,0,.1)}.tribe-dropdown.select2-dropdown-open .select2-choice,.tribe-ea-dropdown.select2-dropdown-open .select2-choice{border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:#aaa}.tribe-dropdown .select2-choice,.tribe-ea-dropdown .select2-choice{background-image:none;border-radius:3px;border:1px solid #ccc}.tribe-dropdown .select2-choice>.select2-chosen,.tribe-ea-dropdown .select2-choice>.select2-chosen{white-space:normal}.tribe-dropdown .select2-choice .select2-arrow,.tribe-ea-dropdown .select2-choice .select2-arrow{background-image:none;background:transparent;border-left:0}.tribe-dropdown .select2-choice div,.tribe-ea-dropdown .select2-choice div{background-image:none;background:none;border-left:0}.tribe-dropdown.select2-container-multi .select2-choices,.tribe-ea-dropdown.select2-container-multi .select2-choices{background-image:none;border-radius:3px;border:1px solid #ccc;min-height:25px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-field,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-field{line-height:25px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-field input,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-field input{padding-top:0;padding-bottom:0}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice{margin-top:2px;padding-top:0;padding-bottom:0;line-height:19px}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice div,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice div{line-height:inherit}.tribe-dropdown.select2-container-multi .select2-choices .select2-search-choice-close,.tribe-ea-dropdown.select2-container-multi .select2-choices .select2-search-choice-close{top:3px;left:4px;transition-property:border,color}.select2-results .select2-selected{display:block}.select2-results .select2-selected>.select2-result-label{background-color:#efefef;color:#a1a1a1;cursor:default}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:400}.select2-results li.select2-result-with-children.select2-selected,.select2-results li.select2-result-with-children.select2-selected .select2-result{display:block}.select2-results li.select2-result-with-children.select2-selected>.select2-result-label{background-color:#efefef;color:#a1a1a1;cursor:default}.select2-results li.select2-result-with-children.select2-result-unselectable>.select2-result-label{color:#939393;font-weight:400}.wp-core-ui .button-red{background-color:#a00;border-bottom-color:#8d1f21;border-color:#9b2124;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .button-red.focus,.wp-core-ui .button-red.hover,.wp-core-ui .button-red:focus,.wp-core-ui .button-red:hover{background-color:#a00;border-color:#7f1c1f;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .button-red.focus,.wp-core-ui .button-red:focus{border-color:#500f0e;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .button-red.active,.wp-core-ui .button-red.active:focus,.wp-core-ui .button-red.active:hover,.wp-core-ui .button-red:active{background:#7f1c1f;border-color:#601312 #ae2426 #ae2426;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);color:hsla(0,0%,100%,.95);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .button-red-disabled,.wp-core-ui .button-red:disabled,.wp-core-ui .button-red[disabled]{color:#e79496!important;background:#ba292b!important;border-color:#7f1c1f!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.ticket_form .select2-container .select2-choice .select2-arrow{display:none}.clear{zoom:1}.clear:after,.clear:before{content:" ";display:table}.clear:after{clear:both}.checkmark:after{content:"";display:block;width:8px;height:15px;border:solid #0ab152;border-width:0 3px 3px 0;transform:rotate(45deg)}.checkmark.checkmark-right:after{float:right;margin-right:2em}.checkmark.checkmark-left:after{float:left;margin-left:2em}.checkmark.no-checkmark:after{display:none}.complete,.ok,.on,.yes,[data-status=complete],[data-status=ok],[data-status=on],[data-status=yes]{color:#0ab152}.incomplete,.ko,.no,.off,[data-status=incomplete],[data-status=ko],[data-status=no],[data-status=off]{color:#ff2500}.plugin-card-event-tickets-plus .column-downloaded,.plugin-card-event-tickets-plus .column-rating,.plugin-card-event-tickets-plus .column-updated,.plugin-card-event-tickets .column-downloaded,.plugin-card-event-tickets .column-rating,.plugin-card-event-tickets .column-updated,.plugin-card-events-calendar-pro .column-downloaded,.plugin-card-events-calendar-pro .column-rating,.plugin-card-events-calendar-pro .column-updated,.plugin-card-events-community-tickets .column-downloaded,.plugin-card-events-community-tickets .column-rating,.plugin-card-events-community-tickets .column-updated,.plugin-card-events-community .column-downloaded,.plugin-card-events-community .column-rating,.plugin-card-events-community .column-updated,.plugin-card-image-widget-plus .column-downloaded,.plugin-card-image-widget-plus .column-rating,.plugin-card-image-widget-plus .column-updated,.plugin-card-image-widget .column-downloaded,.plugin-card-image-widget .column-rating,.plugin-card-image-widget .column-updated,.plugin-card-the-events-calendar .column-downloaded,.plugin-card-the-events-calendar .column-rating,.plugin-card-the-events-calendar .column-updated,.plugin-card-tribe-eventbrite .column-downloaded,.plugin-card-tribe-eventbrite .column-rating,.plugin-card-tribe-eventbrite .column-updated,.plugin-card-tribe-filterbar .column-downloaded,.plugin-card-tribe-filterbar .column-rating,.plugin-card-tribe-filterbar .column-updated{display:none}@media only screen and (-o-min-device-pixel-ratio:2/1),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){#tribe-loading span{background-image:url(../images/tribe-loading@2x.gif)}}@media screen and (max-width:782px){.tribe-half-column,.tribe-row .tribe-half-column:last-child{margin:0 0 20px;width:100%}input[type=email]{width:100%}}@media screen and (max-width:782px){.events-cal .subsubsub{float:none}.events-cal .search-box{width:98%}.events-cal #search-submit{width:100%}.events-cal .tablenav.top{display:none}}@media screen and (min-width:500px){.api-check .tribe-mascot{display:block}.api-check .notice-content{margin-right:180px}}@media screen and (min-width:600px) and (max-width:782px){.tribe-marketing-notice .tribe-notice-icon{width:135px}.tribe-marketing-notice .tribe-notice-content{margin-left:145px}}@media screen and (min-width:600px){.tribe-marketing-notice .tribe-notice-icon{display:block}}@media screen and (min-width:782px){.tribe-marketing-notice .tribe-notice-content{margin-left:130px}}@media screen and (max-width:956px){.tribe-marketing-notice.tribe-bf-2018-tec .button.button-primary{margin:0 0 10px}.tribe-marketing-notice.tribe-bf-2018-tec em{clear:both;display:block}}
common/src/resources/postcss/base/_buttons.pcss CHANGED
@@ -13,4 +13,25 @@
13
  background-color: transparent;
14
  }
15
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
13
  background-color: transparent;
14
  }
15
  }
16
+
17
+ /* -------------------------------------------------------------------------
18
+ *
19
+ * Button: Theme Overrides
20
+ *
21
+ * ------------------------------------------------------------------------- */
22
+
23
+ /* -------------------------------------------------------------------------
24
+ * Theme Overrides - Twenty Seventeen
25
+ * ------------------------------------------------------------------------- */
26
+
27
+ .tribe-theme-twentyseventeen & {
28
+
29
+ button {
30
+
31
+ &:hover,
32
+ &:focus {
33
+ background-color: transparent;
34
+ }
35
+ }
36
+ }
37
  }
common/src/resources/postcss/base/typography/_body.pcss CHANGED
@@ -65,4 +65,24 @@
65
  @mixin desktop-body-1-sup;
66
  }
67
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
65
  @mixin desktop-body-1-sup;
66
  }
67
  }
68
+
69
+ /* -------------------------------------------------------------------------
70
+ * Body 2 for --viewport-medium
71
+ * ------------------------------------------------------------------------- */
72
+
73
+ .tribe-common-b2--min-medium {
74
+ @media (--viewport-medium) {
75
+ @mixin desktop-body-2-sup;
76
+ }
77
+ }
78
+
79
+ /* -------------------------------------------------------------------------
80
+ * Body 3 for --viewport-medium
81
+ * ------------------------------------------------------------------------- */
82
+
83
+ .tribe-common-b3--min-medium {
84
+ @media (--viewport-medium) {
85
+ @mixin desktop-body-3-sup;
86
+ }
87
+ }
88
  }
common/src/resources/postcss/base/typography/_ctas.pcss CHANGED
@@ -18,6 +18,10 @@
18
  @mixin anchor-alt;
19
  }
20
 
 
 
 
 
21
  /* -------------------------------------------------------------------------
22
  *
23
  * CTA: Theme Overrides
@@ -30,7 +34,8 @@
30
 
31
  .tribe-theme-twentyseventeen & {
32
 
33
- .tribe-common-cta--alt {
 
34
 
35
  &:hover,
36
  &:focus {
18
  @mixin anchor-alt;
19
  }
20
 
21
+ .tribe-common-cta--thin-alt {
22
+ @mixin anchor-thin-alt;
23
+ }
24
+
25
  /* -------------------------------------------------------------------------
26
  *
27
  * CTA: Theme Overrides
34
 
35
  .tribe-theme-twentyseventeen & {
36
 
37
+ .tribe-common-cta--alt,
38
+ .tribe-common-cta--thin-alt {
39
 
40
  &:hover,
41
  &:focus {
common/src/resources/postcss/components/buttons/_border.pcss CHANGED
@@ -32,4 +32,24 @@
32
  color: var(--color-text-disabled)
33
  }
34
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
32
  color: var(--color-text-disabled)
33
  }
34
  }
35
+
36
+ /* -------------------------------------------------------------------------
37
+ *
38
+ * Button: Border - Theme Overrides
39
+ *
40
+ * ------------------------------------------------------------------------- */
41
+
42
+ /* -------------------------------------------------------------------------
43
+ * Theme Overrides - Twenty Seventeen
44
+ * ------------------------------------------------------------------------- */
45
+
46
+ .tribe-theme-twentyseventeen & {
47
+
48
+ .tribe-common-c-btn-border {
49
+
50
+ &:hover {
51
+ background-color: var(--color-background);
52
+ }
53
+ }
54
+ }
55
  }
common/src/resources/postcss/components/buttons/_icon.pcss CHANGED
@@ -149,4 +149,24 @@
149
  }
150
  }
151
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  }
149
  }
150
  }
151
  }
152
+
153
+ /* -------------------------------------------------------------------------
154
+ *
155
+ * Button: Icon Border - Theme Overrides
156
+ *
157
+ * ------------------------------------------------------------------------- */
158
+
159
+ /* -------------------------------------------------------------------------
160
+ * Theme Overrides - Twenty Seventeen
161
+ * ------------------------------------------------------------------------- */
162
+
163
+ .tribe-theme-twentyseventeen & {
164
+
165
+ .tribe-common-c-btn-icon--border {
166
+
167
+ &:hover {
168
+ background-color: var(--color-background);
169
+ }
170
+ }
171
+ }
172
  }
common/src/resources/postcss/components/buttons/_solid.pcss CHANGED
@@ -34,4 +34,26 @@
34
  background-color: var(--color-accent-primary-background);
35
  }
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
34
  background-color: var(--color-accent-primary-background);
35
  }
36
  }
37
+
38
+ /* -------------------------------------------------------------------------
39
+ *
40
+ * Button: Solid - Theme Overrides
41
+ *
42
+ * ------------------------------------------------------------------------- */
43
+
44
+ /* -------------------------------------------------------------------------
45
+ * Theme Overrides - Twenty Seventeen
46
+ * ------------------------------------------------------------------------- */
47
+
48
+ .tribe-theme-twentyseventeen & {
49
+
50
+ .tribe-common-c-btn {
51
+
52
+ &:hover,
53
+ &:focus {
54
+ background-color: var(--color-accent-primary-hover);
55
+ color: var(--color-background);
56
+ }
57
+ }
58
+ }
59
  }
common/src/resources/postcss/tribe-common-admin.pcss CHANGED
@@ -3,41 +3,45 @@
3
  .invalid input {
4
  border: 2px solid red !important;
5
  }
 
6
  .valid input {
7
  border: 1px solid green;
8
  }
 
9
  .clearfix {
10
  zoom: 1; /* For IE */
11
  }
 
12
  .placeholder {
13
  color: #999;
14
  cursor: text;
15
  padding: 4px 4px 4px 4px;
16
  }
 
17
  input::placeholder,
18
  textarea::placeholder {
19
  color: #999;
20
  }
 
21
  input::-webkit-input-placeholder,
22
  textarea::-webkit-input-placeholder {
23
  color: #999;
24
  }
 
25
  .bubble {
26
- -khtml-border-radius: 3px;
27
  background-color: #f9f9f9;
28
  border-color: #dfdfdf;
29
- -webkit-border-radius: 3px;
30
- -moz-border-radius: 3px;
31
- border-radius: 3px;
32
  border-spacing: 0;
33
  border-style: solid;
34
- border-style: solid;
35
  border-width: 1px;
36
  padding: 10px;
37
  }
 
38
  .tribe-sticky-tooltip {
39
  color: #bbb;
40
  }
 
41
  td.tribe_message {
42
  padding-bottom: 10px !important;
43
  }
@@ -47,6 +51,7 @@ td.tribe_message {
47
  margin: 5px 0 0 0;
48
  width: 200px;
49
  }
 
50
  .tribe_brand {
51
  font-family: Georgia, serif !important;
52
  font-size: 17px !important;
@@ -59,18 +64,15 @@ td.tribe_message {
59
  #tribe-upgrade {
60
  background: #f6f6f6;
61
  border: 1px solid #ccc;
62
- -webkit-border-radius: 5px;
63
- -moz-border-radius: 5px;
64
- border-radius: 5px;
65
  margin: 20px 0 30px;
66
  padding: 0 20px 20px;
67
  }
 
68
  #tribe-upgrade .message {
69
  background-color: #ffffe0;
70
  border-color: #e6db55;
71
- -webkit-border-radius: 3px;
72
- -moz-border-radius: 3px;
73
- border-radius: 3px;
74
  border-style: solid;
75
  border-width: 1px;
76
  padding: 6px 12px;
@@ -79,16 +81,17 @@ td.tribe_message {
79
  /* = Plugin Screen
80
  =============================================*/
81
  table.plugins {
 
82
  .tribe-plugin-update-message {
83
- background: #D54E21; /* taken from colour scheme in list-tables.css */
84
- color: white;
85
- display: inline-table;
86
- margin: 6px 0;
87
- padding: 10px 12px;
88
 
89
  h4 {
90
- display: inline;
91
- font-weight: bold;
92
  margin-right: 8px;
93
 
94
  &:after {
@@ -97,7 +100,7 @@ table.plugins {
97
  }
98
 
99
  a {
100
- color: white;
101
  text-decoration: underline;
102
  }
103
  }
@@ -159,6 +162,7 @@ table.plugins {
159
  }
160
 
161
  .tribe-settings-form-wrap {
 
162
  fieldset {
163
  .description {
164
  margin-left: 0;
@@ -170,11 +174,17 @@ table.plugins {
170
  margin-bottom: 18px;
171
  }
172
  }
 
 
 
 
 
 
173
 
174
  h3 {
175
- background-color: #f9f9f9;
176
- margin-bottom: 10px;
177
- padding: 6px 0 6px 12px;
178
  }
179
 
180
  .tribe-sysinfo-optin-msg,
@@ -185,12 +195,6 @@ table.plugins {
185
  padding-left: 12px;
186
  }
187
  }
188
-
189
- #tribe-field-stylesheetOption {
190
- p.description {
191
- color: #999;
192
- }
193
- }
194
  }
195
 
196
  .tribe_settings {
@@ -227,13 +231,9 @@ table.plugins {
227
 
228
  /* Modern Tribe box */
229
  #modern-tribe-info {
230
- -khtml-border-radius: 4px;
231
  background-color: #f9f9f9;
232
  border: 1px solid #ccc;
233
- -webkit-border-radius: 4px;
234
- -moz-border-radius: 4px;
235
- -o-border-radius: 4px;
236
- border-radius: 4px;
237
  margin: 20px 0;
238
  padding: 8px 20px 12px;
239
  }
@@ -268,10 +268,12 @@ table.plugins {
268
  height: 60px;
269
  width: 180px;
270
  }
 
271
  .tribe-field-textarea.tribe-size-medium textarea {
272
  height: 80px;
273
  width: 300px;
274
  }
 
275
  .tribe-field-textarea.tribe-size-large textarea {
276
  height: 120px;
277
  width: 450px;
@@ -282,11 +284,13 @@ table.plugins {
282
  .tribe-field-license_key.tribe-size-small input {
283
  width: 50px;
284
  }
 
285
  .tribe-field-text.tribe-size-medium input,
286
  .tribe-field-email.tribe-size-medium input,
287
  .tribe-field-license_key.tribe-size-medium input {
288
  width: 225px;
289
  }
 
290
  .tribe-field-text.tribe-size-large input,
291
  .tribe-field-email.tribe-size-large input,
292
  .tribe-field-license_key.tribe-size-large input {
@@ -296,15 +300,18 @@ table.plugins {
296
  .tribe-field-dropdown.tribe-size-small select {
297
  width: 100px;
298
  }
 
299
  .tribe-field-dropdown.tribe-size-medium select {
300
  width: 300px;
301
  }
 
302
  .tribe-field-dropdown.tribe-size-large select {
303
  width: 450px;
304
  }
305
 
306
  .tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap {
307
  max-width: 600px;
 
308
  .description{
309
  max-width: 100%;
310
  }
@@ -313,37 +320,46 @@ table.plugins {
313
  .tribe-field-dropdown_chosen.tribe-size-small select {
314
  width: 100px;
315
  }
 
316
  .tribe-field-dropdown_chosen.tribe-size-medium select {
317
  width: 200px;
318
  }
 
319
  .tribe-field-dropdown_chosen.tribe-size-large select {
320
  width: 300px;
321
  }
322
 
323
  .tribe-field-wrap {
 
324
  .tooltip:first-child {
325
  font-style: normal;
326
  }
327
  }
328
 
329
  .tribe-field {
 
330
  &.indent {
331
  margin-left: 252px;
332
  width: 75%;
 
333
  legend {
334
  font-weight: normal;
335
  width: auto;
336
  }
 
337
  .tribe-field-wrap {
338
  padding-right: 12px;
339
  }
 
340
  &.tribe-field-radio{
 
341
  .tribe-field-wrap {
342
  clear: left;
343
  margin-top: 12px;
344
  }
345
  }
346
  }
 
347
  &.light-bordered {
348
  background-color: white;
349
  border: solid lightgrey 1px;
@@ -357,21 +373,26 @@ table.plugins {
357
  display: none;
358
  margin: 0 5px;
359
  }
 
360
  .ajax-loading-license {
361
  position: relative;
362
  top: 5px;
363
  }
 
364
  .key-validity {
365
  display: inline-block;
366
  }
 
367
  .optin-fail,
368
  .invalid-key {
369
  color: red;
370
  }
 
371
  .optin-success,
372
  .valid-key {
373
  color: green;
374
  }
 
375
  .valid-key.service-msg {
376
  color: #b72;
377
  }
@@ -383,65 +404,67 @@ table.plugins {
383
 
384
  /* miscellaneous */
385
  .tribe-admin-box-left {
386
- -khtml-border-radius: 4px;
387
  background-color: #f9f9f9;
388
  border: 1px solid #ccc;
389
- -webkit-border-radius: 4px;
390
- -moz-border-radius: 4px;
391
- -o-border-radius: 4px;
392
- border-radius: 4px;
393
  float: left;
394
  margin: 20px 0;
395
  padding: 0 20px 15px;
396
  width: 20%;
397
  }
 
398
  .tribe-admin-box-right {
399
- -khtml-border-radius: 4px;
400
  background-color: #f9f9f9;
401
  border: 1px solid #ccc;
402
- -webkit-border-radius: 4px;
403
- -moz-border-radius: 4px;
404
- -o-border-radius: 4px;
405
- border-radius: 4px;
406
  float: right;
407
  margin: 20px 0;
408
  padding: 0 20px 15px;
409
  width: 68%;
410
  }
 
411
  .ajax-loader {
412
  float: right;
413
  margin: 10px;
414
  }
 
415
  .tribe-arrangeable-item {
416
  border: 1px solid lightGrey;
417
- -moz-border-radius: 3px;
418
- border-radius: 3px;
419
  }
 
420
  .tribe-arrangeable-item .ui-state-default {
421
  border: none;
422
  }
 
423
  .tribe-arrangeable-item-top {
424
  padding: 6px;
425
  }
 
426
  .tribe-arrangeable-item-top:hover {
427
  cursor: move;
428
  }
 
429
  .tribe-arrangeable-action {
430
  float: right;
431
  }
 
432
  .tribe-arrangeable-child {
433
  background-color: #f9f9f9;
434
  border-top: 1px solid lightGrey;
435
  display: none;
436
  padding: 25px;
437
  }
 
438
  .tribe-arrangeable-child label {
439
  display: block;
440
  margin: 0 0 7px 0;
441
  }
 
442
  .tribe_events_active_filter_type_options {
443
  margin: 10px 0;
444
  }
 
445
  .tribe_events_active_filter_type_options label {
446
  margin: 7px 0;
447
  }
@@ -452,6 +475,7 @@ table.plugins {
452
  margin: 0;
453
  max-width: 250px;
454
  }
 
455
  .OrganizerInfo .organizer-email,
456
  #event_organizer .organizer-email {
457
  vertical-align: top;
@@ -510,13 +534,9 @@ table.plugins {
510
  }
511
 
512
  .tribe-section-type-box {
513
- -khtml-border-radius: 4px;
514
  background-color: #f9f9f9;
515
  border: 1px solid #ccc;
516
- -webkit-border-radius: 4px;
517
- -moz-border-radius: 4px;
518
- -o-border-radius: 4px;
519
- border-radius: 4px;
520
  padding: 8px 20px 12px;
521
  }
522
 
@@ -584,13 +604,13 @@ table.plugins {
584
  }
585
 
586
  .system-info-copy {
587
- .system-info-copy-btn {
588
- padding: 6px;
589
 
590
- .dashicons {
591
- padding-right: 10px;
 
592
  }
593
- }
594
  }
595
 
596
  .template-updates-wrapper p {
@@ -670,28 +690,32 @@ table.plugins {
670
  filter: Alpha(Opacity=50);
671
  opacity: .50;
672
  }
 
673
  .ui-widget-shadow {
674
  background: #000;
675
- -webkit-border-radius: 5px;
676
- -moz-border-radius: 5px;
677
  filter: Alpha(Opacity=20);
678
  margin: -5px 0 0 -5px;
679
  opacity: .20;
680
  padding: 5px;
681
  }
 
682
  .ui-resizable {
683
  position: relative;
684
  }
 
685
  .ui-resizable-handle {
686
  display: block;
687
  font-size: .1px;
688
  position: absolute;
689
  z-index: 99999;
690
  }
 
691
  .ui-resizable-disabled .ui-resizable-handle,
692
  .ui-resizable-autohide .ui-resizable-handle {
693
  display: none;
694
  }
 
695
  .ui-resizable-n {
696
  cursor: n-resize;
697
  height: 7px;
@@ -699,6 +723,7 @@ table.plugins {
699
  top: -5px;
700
  width: 100%;
701
  }
 
702
  .ui-resizable-s {
703
  bottom: -5px;
704
  cursor: s-resize;
@@ -706,6 +731,7 @@ table.plugins {
706
  left: 0;
707
  width: 100%;
708
  }
 
709
  .ui-resizable-e {
710
  cursor: e-resize;
711
  height: 100%;
@@ -713,6 +739,7 @@ table.plugins {
713
  top: 0;
714
  width: 7px;
715
  }
 
716
  .ui-resizable-w {
717
  cursor: w-resize;
718
  height: 100%;
@@ -720,6 +747,7 @@ table.plugins {
720
  top: 0;
721
  width: 7px;
722
  }
 
723
  .ui-resizable-se {
724
  bottom: 1px;
725
  cursor: se-resize;
@@ -727,6 +755,7 @@ table.plugins {
727
  right: 1px;
728
  width: 12px;
729
  }
 
730
  .ui-resizable-sw {
731
  bottom: -5px;
732
  cursor: sw-resize;
@@ -734,6 +763,7 @@ table.plugins {
734
  left: -5px;
735
  width: 9px;
736
  }
 
737
  .ui-resizable-nw {
738
  cursor: nw-resize;
739
  height: 9px;
@@ -741,6 +771,7 @@ table.plugins {
741
  top: -5px;
742
  width: 9px;
743
  }
 
744
  .ui-resizable-ne {
745
  cursor: ne-resize;
746
  height: 9px;
@@ -748,19 +779,23 @@ table.plugins {
748
  top: -5px;
749
  width: 9px;
750
  }
 
751
  .ui-dialog {
752
  padding: .2em;
753
  position: relative;
754
  width: 375px;
755
  }
 
756
  .ui-dialog .ui-dialog-titlebar {
757
  padding: .5em .3em .3em 1em;
758
  position: relative;
759
  }
 
760
  .ui-dialog .ui-dialog-title {
761
  float: left;
762
  margin: .1em 0 .2em;
763
  }
 
764
  .ui-dialog .ui-dialog-titlebar-close {
765
  height: 18px;
766
  margin: -10px 0 0 0;
@@ -770,15 +805,18 @@ table.plugins {
770
  top: 50%;
771
  width: 19px;
772
  }
 
773
  .ui-dialog .ui-dialog-titlebar-close span {
774
  display: block;
775
  margin-left: -8px;
776
  margin-top: -8px;
777
  }
 
778
  .ui-dialog .ui-dialog-titlebar-close:hover,
779
  .ui-dialog .ui-dialog-titlebar-close:focus {
780
  padding: 0;
781
  }
 
782
  .ui-dialog .ui-dialog-content {
783
  background: none;
784
  border: 0;
@@ -786,6 +824,7 @@ table.plugins {
786
  padding: .5em 1em;
787
  zoom: 1;
788
  }
 
789
  .ui-dialog .ui-dialog-buttonpane {
790
  background-image: none;
791
  border-width: 1px 0 0 0;
@@ -793,6 +832,7 @@ table.plugins {
793
  padding: .3em 1em .5em !important;
794
  text-align: right;
795
  }
 
796
  .ui-dialog .ui-dialog-buttonpane button {
797
  cursor: pointer;
798
  line-height: 1.4em;
@@ -802,26 +842,32 @@ table.plugins {
802
  text-shadow: none;
803
  width: auto;
804
  }
 
805
  .ui-dialog .ui-resizable-se {
806
  bottom: 3px;
807
  height: 14px;
808
  right: 3px;
809
  width: 14px;
810
  }
 
811
  .ui-draggable .ui-dialog-titlebar {
812
  cursor: move;
813
  }
 
814
  .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
815
  float: none !important;
816
  text-align: center;
817
  }
 
818
  .ui-button-text-only .ui-button-text {
819
  padding: .4em 1em;
820
  }
 
821
  .ui-button .ui-button-text {
822
  display: block;
823
  line-height: 1.4;
824
  }
 
825
  #ui-datepicker-div {
826
  display: none;
827
  }
@@ -834,19 +880,14 @@ table.plugins {
834
  left: 0;
835
  position: absolute;
836
  top: 0;
837
- -moz-transition: all 1s linear;
838
- -ms-transition: all 1s linear;
839
- -o-transition: all 1s linear;
840
- transition: all 1s linear;
841
- webkit-transition: all 1s linear;
842
  width: 100%;
843
  z-index: 4;
844
  }
845
 
846
  #tribe-loading span {
847
  background: url(../images/tribe-loading.gif) 0 0 no-repeat;
848
- -webkit-background-size: 32px 32px;
849
- background-size: 32px 32px;
850
  height: 32px;
851
  left: 50%;
852
  margin: -16px 0 0 -16px;
@@ -862,6 +903,7 @@ only screen and (min--moz-device-pixel-ratio: 2),
862
  only screen and (-o-min-device-pixel-ratio: 2/1),
863
  only screen and (-webkit-min-device-pixel-ratio: 2),
864
  only screen and (min-device-pixel-ratio: 2) {
 
865
  #tribe-loading span {
866
  background-image: url(../images/tribe-loading@2x.gif);
867
  }
@@ -885,7 +927,7 @@ only screen and (min-device-pixel-ratio: 2) {
885
  &:before {
886
  color: #555d66;
887
  content: '\f145';
888
- font-family: 'dashicons';
889
  font-size: 0.9em;
890
  line-height: 1;
891
  margin-right: 5px;
@@ -972,7 +1014,7 @@ p.tribe-welcome-message {
972
  &:before {
973
  color: #555d66;
974
  content: '\f145';
975
- font-family: 'dashicons';
976
  font-size: 21px;
977
  line-height: 1;
978
  margin-right: 10px;
@@ -982,6 +1024,7 @@ p.tribe-welcome-message {
982
 
983
  /* "Life preserver" dashicon */
984
  &[data-tribe-icon="dashicons-sos"] {
 
985
  &:before {
986
  content: '\f468';
987
  }
@@ -989,6 +1032,7 @@ p.tribe-welcome-message {
989
 
990
  /* "Graduation cap" dashicon */
991
  &[data-tribe-icon="dashicons-welcome-learn-more"] {
 
992
  &:before {
993
  content: '\f118';
994
  }
@@ -996,6 +1040,7 @@ p.tribe-welcome-message {
996
 
997
  /* "Megaphone" dashicon */
998
  &[data-tribe-icon="dashicons-megaphone"] {
 
999
  &:before {
1000
  content: '\f488';
1001
  }
@@ -1003,16 +1048,16 @@ p.tribe-welcome-message {
1003
 
1004
  /* "Heart" dashicon */
1005
  &[data-tribe-icon="dashicons-heart"] {
 
1006
  &:before {
1007
  content: '\f487';
1008
  }
1009
  }
1010
  }
1011
 
1012
-
1013
  .tribe_update_page h4:before {
1014
  content: '\f145';
1015
- font-family: 'dashicons';
1016
  font-size: 34px;
1017
  line-height: 1;
1018
  margin-right: 5px;
@@ -1067,6 +1112,7 @@ a.tribe-rating-link {
1067
 
1068
  /* Media Queries for Mobile Dashboard */
1069
  @media screen and (max-width: 782px) {
 
1070
  .tribe-half-column,
1071
  .tribe-row .tribe-half-column:last-child {
1072
  margin: 0 0 20px 0;
@@ -1080,6 +1126,7 @@ a.tribe-rating-link {
1080
 
1081
 
1082
  @media screen and ( max-width: 782px ) {
 
1083
  .events-cal .subsubsub {
1084
  float: none;
1085
  }
@@ -1123,6 +1170,7 @@ a.tribe-rating-link {
1123
  ============================ */
1124
 
1125
  #tribe-dialog-wrapper {
 
1126
  & > div {
1127
  padding: 1rem;
1128
 
@@ -1182,7 +1230,9 @@ a.tribe-rating-link {
1182
  }
1183
 
1184
  .wp-list-table.plugins {
 
1185
  .column-description {
 
1186
  .update-message {
1187
  color: #d54e21;
1188
  }
@@ -1194,7 +1244,9 @@ a.tribe-rating-link {
1194
  min-height: 100px;
1195
 
1196
  & + .notice-dismiss {
 
1197
  &:hover {
 
1198
  &:before {
1199
  color: #fff;
1200
  }
@@ -1252,6 +1304,7 @@ a.tribe-rating-link {
1252
  text-decoration: underline;
1253
  }
1254
  }
 
1255
  .plugin-list {
1256
  display: inline;
1257
  font-weight: 600;
@@ -1278,7 +1331,9 @@ a.tribe-rating-link {
1278
  padding: 1em;
1279
 
1280
  & + .notice-dismiss {
 
1281
  &:hover {
 
1282
  &:before {
1283
  color: #fff;
1284
  }
@@ -1383,6 +1438,7 @@ a.tribe-rating-link {
1383
  width: auto;
1384
 
1385
  &.select2-container-active {
 
1386
  .select2-choice {
1387
  border-color: #5897fb;
1388
  box-shadow: 0 0 5px rgba( 0, 0, 0, .1 );
@@ -1390,6 +1446,7 @@ a.tribe-rating-link {
1390
  }
1391
 
1392
  &.select2-dropdown-open {
 
1393
  .select2-choice {
1394
  border-bottom-left-radius: 0;
1395
  border-bottom-right-radius: 0;
@@ -1420,6 +1477,7 @@ a.tribe-rating-link {
1420
  }
1421
 
1422
  &.select2-container-multi {
 
1423
  .select2-choices {
1424
  background-image: none;
1425
  border-radius: 3px;
@@ -1428,6 +1486,7 @@ a.tribe-rating-link {
1428
 
1429
  .select2-search-field {
1430
  line-height: 25px;
 
1431
  input {
1432
  padding-top: 0;
1433
  padding-bottom: 0;
@@ -1439,6 +1498,7 @@ a.tribe-rating-link {
1439
  padding-top: 0;
1440
  padding-bottom: 0;
1441
  line-height: 19px;
 
1442
  div {
1443
  line-height: inherit;
1444
  }
@@ -1466,6 +1526,7 @@ a.tribe-rating-link {
1466
  }
1467
 
1468
  li.select2-result-with-children {
 
1469
  > .select2-result-label {
1470
  font-weight: normal;
1471
  }
@@ -1497,7 +1558,6 @@ Red button styles.
1497
  Credit to https://github.com/jensjns/wp-admin-red-button
1498
  =============================================*/
1499
  .wp-core-ui .button-red {
1500
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
1501
  background-color: #a00;
1502
  border-bottom-color: #8D1F21;
1503
  border-color: #9B2124;
@@ -1511,7 +1571,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1511
  .wp-core-ui .button-red:hover,
1512
  .wp-core-ui .button-red.focus,
1513
  .wp-core-ui .button-red:focus {
1514
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
1515
  background-color: #a00;
1516
  border-color: #7F1C1F;
1517
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
@@ -1521,7 +1580,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1521
 
1522
  .wp-core-ui .button-red.focus,
1523
  .wp-core-ui .button-red:focus {
1524
- -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1525
  border-color: #500F0E;
1526
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1527
  }
@@ -1530,7 +1588,6 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1530
  .wp-core-ui .button-red.active:hover,
1531
  .wp-core-ui .button-red.active:focus,
1532
  .wp-core-ui .button-red:active {
1533
- -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
1534
  background: #7F1C1F;
1535
  border-color: #601312 #AE2426 #AE2426 #AE2426;
1536
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
@@ -1544,15 +1601,17 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1544
  color: #E79496 !important;
1545
  background: #BA292B !important;
1546
  border-color: #7F1C1F !important;
1547
- -webkit-box-shadow: none !important;
1548
- box-shadow: none !important;
1549
  text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
1550
  cursor: default;
1551
  }
1552
 
1553
  .ticket_form {
 
1554
  .select2-container {
 
1555
  .select2-choice {
 
1556
  .select2-arrow {
1557
  display: none;
1558
  }
@@ -1578,6 +1637,7 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1578
 
1579
  /* from https://codepen.io/lajlev/pen/diKbz */
1580
  .checkmark {
 
1581
  &:after {
1582
  /*Add another block-level blank space*/
1583
  content: '';
@@ -1594,20 +1654,26 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1594
  /*Rotate the L 45 degrees to turn it into a checkmark*/
1595
  transform: rotate(45deg);
1596
  }
 
1597
  &.checkmark-right:after {
1598
  float: right;
1599
  margin-right: 2em;
1600
  }
 
1601
  &.checkmark-left:after {
1602
  float: left;
1603
  margin-left: 2em;
1604
  }
 
1605
  &.no-checkmark:after {
1606
  display: none;
1607
  }
1608
  }
1609
 
1610
- .complete, .ok, .yes, .on,
 
 
 
1611
  [data-status="complete"],
1612
  [data-status="ok"],
1613
  [data-status="yes"],
@@ -1615,7 +1681,10 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1615
  color: #0AB152;
1616
  }
1617
 
1618
- .incomplete, .ko, .no, .off,
 
 
 
1619
  [data-status="incomplete"],
1620
  [data-status="ko"],
1621
  [data-status="no"],
@@ -1636,6 +1705,7 @@ Credit to https://github.com/jensjns/wp-admin-red-button
1636
  .plugin-card-tribe-filterbar,
1637
  .plugin-card-image-widget,
1638
  .plugin-card-image-widget-plus {
 
1639
  .column-rating,
1640
  .column-updated,
1641
  .column-downloaded {
3
  .invalid input {
4
  border: 2px solid red !important;
5
  }
6
+
7
  .valid input {
8
  border: 1px solid green;
9
  }
10
+
11
  .clearfix {
12
  zoom: 1; /* For IE */
13
  }
14
+
15
  .placeholder {
16
  color: #999;
17
  cursor: text;
18
  padding: 4px 4px 4px 4px;
19
  }
20
+
21
  input::placeholder,
22
  textarea::placeholder {
23
  color: #999;
24
  }
25
+
26
  input::-webkit-input-placeholder,
27
  textarea::-webkit-input-placeholder {
28
  color: #999;
29
  }
30
+
31
  .bubble {
 
32
  background-color: #f9f9f9;
33
  border-color: #dfdfdf;
34
+ border-radius: 3px;
 
 
35
  border-spacing: 0;
36
  border-style: solid;
 
37
  border-width: 1px;
38
  padding: 10px;
39
  }
40
+
41
  .tribe-sticky-tooltip {
42
  color: #bbb;
43
  }
44
+
45
  td.tribe_message {
46
  padding-bottom: 10px !important;
47
  }
51
  margin: 5px 0 0 0;
52
  width: 200px;
53
  }
54
+
55
  .tribe_brand {
56
  font-family: Georgia, serif !important;
57
  font-size: 17px !important;
64
  #tribe-upgrade {
65
  background: #f6f6f6;
66
  border: 1px solid #ccc;
67
+ border-radius: 5px;
 
 
68
  margin: 20px 0 30px;
69
  padding: 0 20px 20px;
70
  }
71
+
72
  #tribe-upgrade .message {
73
  background-color: #ffffe0;
74
  border-color: #e6db55;
75
+ border-radius: 3px;
 
 
76
  border-style: solid;
77
  border-width: 1px;
78
  padding: 6px 12px;
81
  /* = Plugin Screen
82
  =============================================*/
83
  table.plugins {
84
+
85
  .tribe-plugin-update-message {
86
+ background: #d54e21; /* taken from color scheme in list-tables.css */
87
+ color: white;
88
+ display: inline-table;
89
+ margin: 6px 0;
90
+ padding: 10px 12px;
91
 
92
  h4 {
93
+ display: inline;
94
+ font-weight: bold;
95
  margin-right: 8px;
96
 
97
  &:after {
100
  }
101
 
102
  a {
103
+ color: white;
104
  text-decoration: underline;
105
  }
106
  }
162
  }
163
 
164
  .tribe-settings-form-wrap {
165
+
166
  fieldset {
167
  .description {
168
  margin-left: 0;
174
  margin-bottom: 18px;
175
  }
176
  }
177
+ #tribe-field-stylesheetOption {
178
+ .description {
179
+ color: #999;
180
+ margin-left: 1px;
181
+ }
182
+ }
183
 
184
  h3 {
185
+ background-color: #f9f9f9;
186
+ margin-bottom: 10px;
187
+ padding: 6px 0 6px 12px;
188
  }
189
 
190
  .tribe-sysinfo-optin-msg,
195
  padding-left: 12px;
196
  }
197
  }
 
 
 
 
 
 
198
  }
199
 
200
  .tribe_settings {
231
 
232
  /* Modern Tribe box */
233
  #modern-tribe-info {
 
234
  background-color: #f9f9f9;
235
  border: 1px solid #ccc;
236
+ border-radius: 4px;
 
 
 
237
  margin: 20px 0;
238
  padding: 8px 20px 12px;
239
  }
268
  height: 60px;
269
  width: 180px;
270
  }
271
+
272
  .tribe-field-textarea.tribe-size-medium textarea {
273
  height: 80px;
274
  width: 300px;
275
  }
276
+
277
  .tribe-field-textarea.tribe-size-large textarea {
278
  height: 120px;
279
  width: 450px;
284
  .tribe-field-license_key.tribe-size-small input {
285
  width: 50px;
286
  }
287
+
288
  .tribe-field-text.tribe-size-medium input,
289
  .tribe-field-email.tribe-size-medium input,
290
  .tribe-field-license_key.tribe-size-medium input {
291
  width: 225px;
292
  }
293
+
294
  .tribe-field-text.tribe-size-large input,
295
  .tribe-field-email.tribe-size-large input,
296
  .tribe-field-license_key.tribe-size-large input {
300
  .tribe-field-dropdown.tribe-size-small select {
301
  width: 100px;
302
  }
303
+
304
  .tribe-field-dropdown.tribe-size-medium select {
305
  width: 300px;
306
  }
307
+
308
  .tribe-field-dropdown.tribe-size-large select {
309
  width: 450px;
310
  }
311
 
312
  .tribe-field-wrapped_html.tribe-size-large .tribe-field-wrap {
313
  max-width: 600px;
314
+
315
  .description{
316
  max-width: 100%;
317
  }
320
  .tribe-field-dropdown_chosen.tribe-size-small select {
321
  width: 100px;
322
  }
323
+
324
  .tribe-field-dropdown_chosen.tribe-size-medium select {
325
  width: 200px;
326
  }
327
+
328
  .tribe-field-dropdown_chosen.tribe-size-large select {
329
  width: 300px;
330
  }
331
 
332
  .tribe-field-wrap {
333
+
334
  .tooltip:first-child {
335
  font-style: normal;
336
  }
337
  }
338
 
339
  .tribe-field {
340
+
341
  &.indent {
342
  margin-left: 252px;
343
  width: 75%;
344
+
345
  legend {
346
  font-weight: normal;
347
  width: auto;
348
  }
349
+
350
  .tribe-field-wrap {
351
  padding-right: 12px;
352
  }
353
+
354
  &.tribe-field-radio{
355
+
356
  .tribe-field-wrap {
357
  clear: left;
358
  margin-top: 12px;
359
  }
360
  }
361
  }
362
+
363
  &.light-bordered {
364
  background-color: white;
365
  border: solid lightgrey 1px;
373
  display: none;
374
  margin: 0 5px;
375
  }
376
+
377
  .ajax-loading-license {
378
  position: relative;
379
  top: 5px;
380
  }
381
+
382
  .key-validity {
383
  display: inline-block;
384
  }
385
+
386
  .optin-fail,
387
  .invalid-key {
388
  color: red;
389
  }
390
+
391
  .optin-success,
392
  .valid-key {
393
  color: green;
394
  }
395
+
396
  .valid-key.service-msg {
397
  color: #b72;
398
  }
404
 
405
  /* miscellaneous */
406
  .tribe-admin-box-left {
 
407
  background-color: #f9f9f9;
408
  border: 1px solid #ccc;
409
+ border-radius: 4px;
 
 
 
410
  float: left;
411
  margin: 20px 0;
412
  padding: 0 20px 15px;
413
  width: 20%;
414
  }
415
+
416
  .tribe-admin-box-right {
 
417
  background-color: #f9f9f9;
418
  border: 1px solid #ccc;
419
+ border-radius: 4px;
 
 
 
420
  float: right;
421
  margin: 20px 0;
422
  padding: 0 20px 15px;
423
  width: 68%;
424
  }
425
+
426
  .ajax-loader {
427
  float: right;
428
  margin: 10px;
429
  }
430
+
431
  .tribe-arrangeable-item {
432
  border: 1px solid lightGrey;
433
+ border-radius: 3px;
 
434
  }
435
+
436
  .tribe-arrangeable-item .ui-state-default {
437
  border: none;
438
  }
439
+
440
  .tribe-arrangeable-item-top {
441
  padding: 6px;
442
  }
443
+
444
  .tribe-arrangeable-item-top:hover {
445
  cursor: move;
446
  }
447
+
448
  .tribe-arrangeable-action {
449
  float: right;
450
  }
451
+
452
  .tribe-arrangeable-child {
453
  background-color: #f9f9f9;
454
  border-top: 1px solid lightGrey;
455
  display: none;
456
  padding: 25px;
457
  }
458
+
459
  .tribe-arrangeable-child label {
460
  display: block;
461
  margin: 0 0 7px 0;
462
  }
463
+
464
  .tribe_events_active_filter_type_options {
465
  margin: 10px 0;
466
  }
467
+
468
  .tribe_events_active_filter_type_options label {
469
  margin: 7px 0;
470
  }
475
  margin: 0;
476
  max-width: 250px;
477
  }
478
+
479
  .OrganizerInfo .organizer-email,
480
  #event_organizer .organizer-email {
481
  vertical-align: top;
534
  }
535
 
536
  .tribe-section-type-box {
 
537
  background-color: #f9f9f9;
538
  border: 1px solid #ccc;
539
+ border-radius: 4px;
 
 
 
540
  padding: 8px 20px 12px;
541
  }
542
 
604
  }
605
 
606
  .system-info-copy {
607
+ .system-info-copy-btn {
608
+ padding: 6px;
609
 
610
+ .dashicons {
611
+ padding-right: 10px;
612
+ }
613
  }
 
614
  }
615
 
616
  .template-updates-wrapper p {
690
  filter: Alpha(Opacity=50);
691
  opacity: .50;
692
  }
693
+
694
  .ui-widget-shadow {
695
  background: #000;
696
+ border-radius: 5px;
 
697
  filter: Alpha(Opacity=20);
698
  margin: -5px 0 0 -5px;
699
  opacity: .20;
700
  padding: 5px;
701
  }
702
+
703
  .ui-resizable {
704
  position: relative;
705
  }
706
+
707
  .ui-resizable-handle {
708
  display: block;
709
  font-size: .1px;
710
  position: absolute;
711
  z-index: 99999;
712
  }
713
+
714
  .ui-resizable-disabled .ui-resizable-handle,
715
  .ui-resizable-autohide .ui-resizable-handle {
716
  display: none;
717
  }
718
+
719
  .ui-resizable-n {
720
  cursor: n-resize;
721
  height: 7px;
723
  top: -5px;
724
  width: 100%;
725
  }
726
+
727
  .ui-resizable-s {
728
  bottom: -5px;
729
  cursor: s-resize;
731
  left: 0;
732
  width: 100%;
733
  }
734
+
735
  .ui-resizable-e {
736
  cursor: e-resize;
737
  height: 100%;
739
  top: 0;
740
  width: 7px;
741
  }
742
+
743
  .ui-resizable-w {
744
  cursor: w-resize;
745
  height: 100%;
747
  top: 0;
748
  width: 7px;
749
  }
750
+
751
  .ui-resizable-se {
752
  bottom: 1px;
753
  cursor: se-resize;
755
  right: 1px;
756
  width: 12px;
757
  }
758
+
759
  .ui-resizable-sw {
760
  bottom: -5px;
761
  cursor: sw-resize;
763
  left: -5px;
764
  width: 9px;
765
  }
766
+
767
  .ui-resizable-nw {
768
  cursor: nw-resize;
769
  height: 9px;
771
  top: -5px;
772
  width: 9px;
773
  }
774
+
775
  .ui-resizable-ne {
776
  cursor: ne-resize;
777
  height: 9px;
779
  top: -5px;
780
  width: 9px;
781
  }
782
+
783
  .ui-dialog {
784
  padding: .2em;
785
  position: relative;
786
  width: 375px;
787
  }
788
+
789
  .ui-dialog .ui-dialog-titlebar {
790
  padding: .5em .3em .3em 1em;
791
  position: relative;
792
  }
793
+
794
  .ui-dialog .ui-dialog-title {
795
  float: left;
796
  margin: .1em 0 .2em;
797
  }
798
+
799
  .ui-dialog .ui-dialog-titlebar-close {
800
  height: 18px;
801
  margin: -10px 0 0 0;
805
  top: 50%;
806
  width: 19px;
807
  }
808
+
809
  .ui-dialog .ui-dialog-titlebar-close span {
810
  display: block;
811
  margin-left: -8px;
812
  margin-top: -8px;
813
  }
814
+
815
  .ui-dialog .ui-dialog-titlebar-close:hover,
816
  .ui-dialog .ui-dialog-titlebar-close:focus {
817
  padding: 0;
818
  }
819
+
820
  .ui-dialog .ui-dialog-content {
821
  background: none;
822
  border: 0;
824
  padding: .5em 1em;
825
  zoom: 1;
826
  }
827
+
828
  .ui-dialog .ui-dialog-buttonpane {
829
  background-image: none;
830
  border-width: 1px 0 0 0;
832
  padding: .3em 1em .5em !important;
833
  text-align: right;
834
  }
835
+
836
  .ui-dialog .ui-dialog-buttonpane button {
837
  cursor: pointer;
838
  line-height: 1.4em;
842
  text-shadow: none;
843
  width: auto;
844
  }
845
+
846
  .ui-dialog .ui-resizable-se {
847
  bottom: 3px;
848
  height: 14px;
849
  right: 3px;
850
  width: 14px;
851
  }
852
+
853
  .ui-draggable .ui-dialog-titlebar {
854
  cursor: move;
855
  }
856
+
857
  .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
858
  float: none !important;
859
  text-align: center;
860
  }
861
+
862
  .ui-button-text-only .ui-button-text {
863
  padding: .4em 1em;
864
  }
865
+
866
  .ui-button .ui-button-text {
867
  display: block;
868
  line-height: 1.4;
869
  }
870
+
871
  #ui-datepicker-div {
872
  display: none;
873
  }
880
  left: 0;
881
  position: absolute;
882
  top: 0;
883
+ transition: all 1s linear;
 
 
 
 
884
  width: 100%;
885
  z-index: 4;
886
  }
887
 
888
  #tribe-loading span {
889
  background: url(../images/tribe-loading.gif) 0 0 no-repeat;
890
+ background-size: 32px 32px;
 
891
  height: 32px;
892
  left: 50%;
893
  margin: -16px 0 0 -16px;
903
  only screen and (-o-min-device-pixel-ratio: 2/1),
904
  only screen and (-webkit-min-device-pixel-ratio: 2),
905
  only screen and (min-device-pixel-ratio: 2) {
906
+
907
  #tribe-loading span {
908
  background-image: url(../images/tribe-loading@2x.gif);
909
  }
927
  &:before {
928
  color: #555d66;
929
  content: '\f145';
930
+ font-family: dashicons;
931
  font-size: 0.9em;
932
  line-height: 1;
933
  margin-right: 5px;
1014
  &:before {
1015
  color: #555d66;
1016
  content: '\f145';
1017
+ font-family: dashicons;
1018
  font-size: 21px;
1019
  line-height: 1;
1020
  margin-right: 10px;
1024
 
1025
  /* "Life preserver" dashicon */
1026
  &[data-tribe-icon="dashicons-sos"] {
1027
+
1028
  &:before {
1029
  content: '\f468';
1030
  }
1032
 
1033
  /* "Graduation cap" dashicon */
1034
  &[data-tribe-icon="dashicons-welcome-learn-more"] {
1035
+
1036
  &:before {
1037
  content: '\f118';
1038
  }
1040
 
1041
  /* "Megaphone" dashicon */
1042
  &[data-tribe-icon="dashicons-megaphone"] {
1043
+
1044
  &:before {
1045
  content: '\f488';
1046
  }
1048
 
1049
  /* "Heart" dashicon */
1050
  &[data-tribe-icon="dashicons-heart"] {
1051
+
1052
  &:before {
1053
  content: '\f487';
1054
  }
1055
  }
1056
  }
1057
 
 
1058
  .tribe_update_page h4:before {
1059
  content: '\f145';
1060
+ font-family: dashicons;
1061
  font-size: 34px;
1062
  line-height: 1;
1063
  margin-right: 5px;
1112
 
1113
  /* Media Queries for Mobile Dashboard */
1114
  @media screen and (max-width: 782px) {
1115
+
1116
  .tribe-half-column,
1117
  .tribe-row .tribe-half-column:last-child {
1118
  margin: 0 0 20px 0;
1126
 
1127
 
1128
  @media screen and ( max-width: 782px ) {
1129
+
1130
  .events-cal .subsubsub {
1131
  float: none;
1132
  }
1170
  ============================ */
1171
 
1172
  #tribe-dialog-wrapper {
1173
+
1174
  & > div {
1175
  padding: 1rem;
1176
 
1230
  }
1231
 
1232
  .wp-list-table.plugins {
1233
+
1234
  .column-description {
1235
+
1236
  .update-message {
1237
  color: #d54e21;
1238
  }
1244
  min-height: 100px;
1245
 
1246
  & + .notice-dismiss {
1247
+
1248
  &:hover {
1249
+
1250
  &:before {
1251
  color: #fff;
1252
  }
1304
  text-decoration: underline;
1305
  }
1306
  }
1307
+
1308
  .plugin-list {
1309
  display: inline;
1310
  font-weight: 600;
1331
  padding: 1em;
1332
 
1333
  & + .notice-dismiss {
1334
+
1335
  &:hover {
1336
+
1337
  &:before {
1338
  color: #fff;
1339
  }
1438
  width: auto;
1439
 
1440
  &.select2-container-active {
1441
+
1442
  .select2-choice {
1443
  border-color: #5897fb;
1444
  box-shadow: 0 0 5px rgba( 0, 0, 0, .1 );
1446
  }
1447
 
1448
  &.select2-dropdown-open {
1449
+
1450
  .select2-choice {
1451
  border-bottom-left-radius: 0;
1452
  border-bottom-right-radius: 0;
1477
  }
1478
 
1479
  &.select2-container-multi {
1480
+
1481
  .select2-choices {
1482
  background-image: none;
1483
  border-radius: 3px;
1486
 
1487
  .select2-search-field {
1488
  line-height: 25px;
1489
+
1490
  input {
1491
  padding-top: 0;
1492
  padding-bottom: 0;
1498
  padding-top: 0;
1499
  padding-bottom: 0;
1500
  line-height: 19px;
1501
+
1502
  div {
1503
  line-height: inherit;
1504
  }
1526
  }
1527
 
1528
  li.select2-result-with-children {
1529
+
1530
  > .select2-result-label {
1531
  font-weight: normal;
1532
  }
1558
  Credit to https://github.com/jensjns/wp-admin-red-button
1559
  =============================================*/
1560
  .wp-core-ui .button-red {
 
1561
  background-color: #a00;
1562
  border-bottom-color: #8D1F21;
1563
  border-color: #9B2124;
1571
  .wp-core-ui .button-red:hover,
1572
  .wp-core-ui .button-red.focus,
1573
  .wp-core-ui .button-red:focus {
 
1574
  background-color: #a00;
1575
  border-color: #7F1C1F;
1576
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
1580
 
1581
  .wp-core-ui .button-red.focus,
1582
  .wp-core-ui .button-red:focus {
 
1583
  border-color: #500F0E;
1584
  box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
1585
  }
1588
  .wp-core-ui .button-red.active:hover,
1589
  .wp-core-ui .button-red.active:focus,
1590
  .wp-core-ui .button-red:active {
 
1591
  background: #7F1C1F;
1592
  border-color: #601312 #AE2426 #AE2426 #AE2426;
1593
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
1601
  color: #E79496 !important;
1602
  background: #BA292B !important;
1603
  border-color: #7F1C1F !important;
1604
+ box-shadow: none !important;
 
1605
  text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
1606
  cursor: default;
1607
  }
1608
 
1609
  .ticket_form {
1610
+
1611
  .select2-container {
1612
+
1613
  .select2-choice {
1614
+
1615
  .select2-arrow {
1616
  display: none;
1617
  }
1637
 
1638
  /* from https://codepen.io/lajlev/pen/diKbz */
1639
  .checkmark {
1640
+
1641
  &:after {
1642
  /*Add another block-level blank space*/
1643
  content: '';
1654
  /*Rotate the L 45 degrees to turn it into a checkmark*/
1655
  transform: rotate(45deg);
1656
  }
1657
+
1658
  &.checkmark-right:after {
1659
  float: right;
1660
  margin-right: 2em;
1661
  }
1662
+
1663
  &.checkmark-left:after {
1664
  float: left;
1665
  margin-left: 2em;
1666
  }
1667
+
1668
  &.no-checkmark:after {
1669
  display: none;
1670
  }
1671
  }
1672
 
1673
+ .complete,
1674
+ .ok,
1675
+ .yes,
1676
+ .on,
1677
  [data-status="complete"],
1678
  [data-status="ok"],
1679
  [data-status="yes"],
1681
  color: #0AB152;
1682
  }
1683
 
1684
+ .incomplete,
1685
+ .ko,
1686
+ .no,
1687
+ .off,
1688
  [data-status="incomplete"],
1689
  [data-status="ko"],
1690
  [data-status="no"],
1705
  .plugin-card-tribe-filterbar,
1706
  .plugin-card-image-widget,
1707
  .plugin-card-image-widget-plus {
1708
+
1709
  .column-rating,
1710
  .column-updated,
1711
  .column-downloaded {
common/src/resources/postcss/utilities/README.md CHANGED
@@ -1,36 +1,63 @@
1
- A set of common postcss utilities.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  ## Installation
4
- You probably will need to install this package in a custom paths, say `src/resources/postcss/utilities`; if that's the case then add this to the plugin/project `composer.json` file:
5
-
6
- ```json
7
- "repositories": [
8
- {
9
- "name": "moderntribe/tribe-common-styles",
10
- "type": "github",
11
- "url": "https://github.com/moderntribe/tribe-common-styles",
12
- "no-api": true
13
- }
14
- ],
15
- "extra": {
16
- "installer-paths": {
17
- "src/resources/postcss/utilities": [
18
- "moderntribe/tribe-common-styles"
19
- ]
20
- }
21
- }
22
- ```
23
- To simply install the package in your project use:
24
 
25
- ```bash
26
- composer require --dev moderntribe/tribe-common-styles
 
 
 
 
27
  ```
28
 
29
- ## Source installation
30
- If you need to work on **this** package while working on your project you will want to clone the full Git repository, just follow the instructions above and, in place of the command above, use:
31
 
32
  ```bash
33
- composer require --dev moderntribe/tribe-common-styles --prefer-source
34
  ```
35
-
36
- Remember to ignore the package installation folder to avoid committing a dirty repository!
1
+ # Tribe Common Styles
2
+
3
+ ## What is this repository?
4
+
5
+ This repository is a set of common PostCSS utilities. It includes variables, icons, and mixins to help follow Modern Tribe products design system. They are consumed by Modern Tribe plugins PostCSS files.
6
+
7
+ ## Why do we need this?
8
+
9
+ Modern Tribe has a design system for its plugins. Defining a set of variables and style groupings helps maintain consistency and ease of maintenance throughout all the plugins.
10
+
11
+ For example, if the primary text color was to change due to a design update, doing a search and replace through all the PostCSS files could be time-consuming and error-prone. Instead, changing it in one place changes the color for all styles consuming the variable.
12
+
13
+ ## Repository Structure
14
+
15
+ The repository structure starts at the root level file `_all.pcss` importing all the repository styles. Variables, icons, and mixins are defined within their respective folders.
16
+
17
+ ### Variables
18
+
19
+ Variables are any *reusable* property values named specifically for their use case. They are found in the `/variables` folder. Though some variables may hold the same value (e.g. `--border-radius-default: 4px;` and `--spacer-0: 4px`), their use cases are very different and should not be used interchangeably.
20
+
21
+ SVGs are different from the other variables partial files. They are found in `/variables/_svgs.pcss` and are compiled using the [PostCSS Inline SVG](https://github.com/TrySound/postcss-inline-svg) plugin.
22
+
23
+ ### Icons
24
+
25
+ Icons are SVG icons included in the design system and are found in the `/icons` folder. They are consumed by the SVG variables partial file `/variables/_svg.pcss`.
26
+
27
+ ### Mixins
28
+
29
+ Mixins are groupings of *reusable* styles and are found in the `/mixins` folder. These reusable style groupings are often defined by the design system. Mixins are compiled using the [PostCSS Mixins](https://github.com/postcss/postcss-mixins) plugin.
30
+
31
+ ## Making Changes
32
+
33
+ Making changes to this repository should be done with care. As these utilities are the most upstream in Modern Tribe products PostCSS files, modifications to these files can have a cascading effect downstream.
34
+
35
+ When making any changes, whether they are additions, alterations, or deletions, **consistency** is key. Follow naming conventions and groupings so that viewing and editing the files are simple.
36
+
37
+ ### Additions
38
+
39
+ Additions are generally safe, as long as the variable names do not conflict with existing variables. Confirm that the variables or mixins you are adding are reusable and a consistent part of the design system before adding.
40
+
41
+ ### Alterations
42
+
43
+ Alterations should be done carefully, as they will affect all downstream styles using the variable or mixin being altered. Multiple plugins use these styles and should be cross-checked before making the change.
44
+
45
+ ### Deletions
46
+
47
+ Deletions should also be done carefully, for the same reasons as **Alterations** above. Removing a variable or mixin that is still being used will create broken styles and/or build failures.
48
 
49
  ## Installation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
+ You will need to include this package as a submodule to your plugin/project. To install this in in a custom path, in this case `src/resources/postcss/utilities`, add the following to your `.gitmodules` file:
52
+
53
+ ```
54
+ [submodule "src/resources/postcss/utilities"]
55
+ path = src/resources/postcss/utilities
56
+ url = git@github.com:moderntribe/tribe-common-styles.git
57
  ```
58
 
59
+ To simply install the package in your project use:
 
60
 
61
  ```bash
62
+ git submodule update --recursive --init
63
  ```
 
 
common/src/resources/postcss/utilities/mixins/_typography.pcss CHANGED
@@ -280,3 +280,20 @@
280
  border-bottom: 1px solid var(--color-text-primary);
281
  }
282
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  border-bottom: 1px solid var(--color-text-primary);
281
  }
282
  }
283
+
284
+ /* -----------------------------------------------------------------------------
285
+ * Anchor - Thin
286
+ * ----------------------------------------------------------------------------- */
287
+
288
+ @define-mixin anchor-thin-alt {
289
+ border-bottom: 1px solid var(--color-accent-primary);
290
+ color: var(--color-text-primary);
291
+ transition: var(--transition-color);
292
+
293
+ &:active,
294
+ &:focus,
295
+ &:hover {
296
+ border-bottom: 1px solid var(--color-accent-primary);
297
+ color: var(--color-accent-primary);
298
+ }
299
+ }
common/src/resources/postcss/utilities/variables/_colors.pcss CHANGED
@@ -29,6 +29,8 @@
29
  --color-accent-primary-multiday-hover: rgba(var(--color-accent-primary), 0.34);
30
  --color-accent-primary-week-event: rgba(var(--color-accent-primary), 0.1);
31
  --color-accent-primary-week-event-hover: rgba(var(--color-accent-primary), 0.2);
 
 
32
  --color-accent-secondary: #141827;
33
  --color-accent-secondary-hover: rgba(var(--color-accent-secondary), 0.8);
34
  --color-accent-secondary-active: rgba(var(--color-accent-secondary), 0.9);
29
  --color-accent-primary-multiday-hover: rgba(var(--color-accent-primary), 0.34);
30
  --color-accent-primary-week-event: rgba(var(--color-accent-primary), 0.1);
31
  --color-accent-primary-week-event-hover: rgba(var(--color-accent-primary), 0.2);
32
+ --color-accent-primary-week-event-featured: rgba(var(--color-accent-primary), 0.04);
33
+ --color-accent-primary-week-event-featured-hover: rgba(var(--color-accent-primary), 0.14);
34
  --color-accent-secondary: #141827;
35
  --color-accent-secondary-hover: rgba(var(--color-accent-secondary), 0.8);
36
  --color-accent-secondary-active: rgba(var(--color-accent-secondary), 0.9);
common/src/resources/postcss/utilities/variables/_svgs.pcss CHANGED
@@ -2,6 +2,20 @@
2
  * SVG - Arrow Right
3
  * ----------------------------------------------------------------------------- */
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  @svg-load arrow-right-white url('../icons/arrow-right.svg') {
6
 
7
  path {
@@ -139,6 +153,13 @@
139
  }
140
  }
141
 
 
 
 
 
 
 
 
142
  @svg-load featured-white url('../icons/featured-event.svg') {
143
 
144
  path {
2
  * SVG - Arrow Right
3
  * ----------------------------------------------------------------------------- */
4
 
5
+ @svg-load arrow-right-active url('../icons/arrow-right.svg') {
6
+
7
+ path {
8
+ fill: var(--color-icon-active);
9
+ }
10
+ }
11
+
12
+ @svg-load arrow-right-secondary url('../icons/arrow-right.svg') {
13
+
14
+ path {
15
+ fill: var(--color-icon-secondary);
16
+ }
17
+ }
18
+
19
  @svg-load arrow-right-white url('../icons/arrow-right.svg') {
20
 
21
  path {
153
  }
154
  }
155
 
156
+ @svg-load featured-active url('../icons/featured-event.svg') {
157
+
158
+ path {
159
+ fill: var(--color-icon-active);
160
+ }
161
+ }
162
+
163
  @svg-load featured-white url('../icons/featured-event.svg') {
164
 
165
  path {
common/src/resources/postcss/utilities/variables/_z-index.pcss CHANGED
@@ -11,5 +11,6 @@
11
  --z-index-scroller: 7;
12
  --z-index-week-event-hover: 5;
13
  --z-index-map-event-hover: 5;
 
14
  --z-index-multiday-event: 5;
15
  }
11
  --z-index-scroller: 7;
12
  --z-index-week-event-hover: 5;
13
  --z-index-map-event-hover: 5;
14
+ --z-index-map-event-hover-actions: 6;
15
  --z-index-multiday-event: 5;
16
  }
common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit027cdaf4eefc9bf514c1dc3495f8d3ea::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit4b94f62468ed819f093c41971d2f5426::getLoader();
common/vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit044cb8eae52e11b7ad9604dd31d61d70::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit5b140ae31b99bae377f892d38b64eafb::getLoader();
common/vendor/composer/autoload_classmap.php CHANGED
@@ -118,6 +118,8 @@ return array(
118
  'Tribe\\Log\\Canonical_Formatter' => $baseDir . '/src/Tribe/Log/Canonical_Formatter.php',
119
  'Tribe\\Log\\Monolog_Logger' => $baseDir . '/src/Tribe/Log/Monolog_Logger.php',
120
  'Tribe\\Log\\Service_Provider' => $baseDir . '/src/Tribe/Log/Service_Provider.php',
 
 
121
  'Tribe\\PUE\\Update_Prevention' => $baseDir . '/src/Tribe/PUE/Update_Prevention.php',
122
  'Tribe\\Service_Providers\\PUE' => $baseDir . '/src/Tribe/Service_Providers/PUE.php',
123
  'Tribe\\Traits\\Cache_User' => $baseDir . '/src/Tribe/Traits/Cache_User.php',
118
  'Tribe\\Log\\Canonical_Formatter' => $baseDir . '/src/Tribe/Log/Canonical_Formatter.php',
119
  'Tribe\\Log\\Monolog_Logger' => $baseDir . '/src/Tribe/Log/Monolog_Logger.php',
120
  'Tribe\\Log\\Service_Provider' => $baseDir . '/src/Tribe/Log/Service_Provider.php',
121
+ 'Tribe\\Models\\Post_Types\\Base' => $baseDir . '/src/Tribe/Models/Post_Types/Base.php',
122
+ 'Tribe\\Models\\Post_Types\\Nothing' => $baseDir . '/src/Tribe/Models/Post_Types/Nothing.php',
123
  'Tribe\\PUE\\Update_Prevention' => $baseDir . '/src/Tribe/PUE/Update_Prevention.php',
124
  'Tribe\\Service_Providers\\PUE' => $baseDir . '/src/Tribe/Service_Providers/PUE.php',
125
  'Tribe\\Traits\\Cache_User' => $baseDir . '/src/Tribe/Traits/Cache_User.php',
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit027cdaf4eefc9bf514c1dc3495f8d3ea
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit027cdaf4eefc9bf514c1dc3495f8d3ea
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit027cdaf4eefc9bf514c1dc3495f8d3ea', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit027cdaf4eefc9bf514c1dc3495f8d3ea', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit4b94f62468ed819f093c41971d2f5426
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4b94f62468ed819f093c41971d2f5426', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4b94f62468ed819f093c41971d2f5426', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit4b94f62468ed819f093c41971d2f5426::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
common/vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit044cb8eae52e11b7ad9604dd31d61d70 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit044cb8eae52e11b7ad9604dd31d61d70 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit044cb8eae52e11b7ad9604dd31d61d70', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit044cb8eae52e11b7ad9604dd31d61d70', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit5b140ae31b99bae377f892d38b64eafb {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit5b140ae31b99bae377f892d38b64eafb', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit5b140ae31b99bae377f892d38b64eafb', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
common/vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -174,6 +174,8 @@ class ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea
174
  'Tribe\\Log\\Canonical_Formatter' => __DIR__ . '/../..' . '/src/Tribe/Log/Canonical_Formatter.php',
175
  'Tribe\\Log\\Monolog_Logger' => __DIR__ . '/../..' . '/src/Tribe/Log/Monolog_Logger.php',
176
  'Tribe\\Log\\Service_Provider' => __DIR__ . '/../..' . '/src/Tribe/Log/Service_Provider.php',
 
 
177
  'Tribe\\PUE\\Update_Prevention' => __DIR__ . '/../..' . '/src/Tribe/PUE/Update_Prevention.php',
178
  'Tribe\\Service_Providers\\PUE' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/PUE.php',
179
  'Tribe\\Traits\\Cache_User' => __DIR__ . '/../..' . '/src/Tribe/Traits/Cache_User.php',
@@ -196,10 +198,10 @@ class ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea
196
  public static function getInitializer(ClassLoader $loader)
197
  {
198
  return \Closure::bind(function () use ($loader) {
199
- $loader->prefixLengthsPsr4 = ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea::$prefixLengthsPsr4;
200
- $loader->prefixDirsPsr4 = ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea::$prefixDirsPsr4;
201
- $loader->prefixesPsr0 = ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea::$prefixesPsr0;
202
- $loader->classMap = ComposerStaticInit027cdaf4eefc9bf514c1dc3495f8d3ea::$classMap;
203
 
204
  }, null, ClassLoader::class);
205
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit4b94f62468ed819f093c41971d2f5426
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
174
  'Tribe\\Log\\Canonical_Formatter' => __DIR__ . '/../..' . '/src/Tribe/Log/Canonical_Formatter.php',
175
  'Tribe\\Log\\Monolog_Logger' => __DIR__ . '/../..' . '/src/Tribe/Log/Monolog_Logger.php',
176
  'Tribe\\Log\\Service_Provider' => __DIR__ . '/../..' . '/src/Tribe/Log/Service_Provider.php',
177
+ 'Tribe\\Models\\Post_Types\\Base' => __DIR__ . '/../..' . '/src/Tribe/Models/Post_Types/Base.php',
178
+ 'Tribe\\Models\\Post_Types\\Nothing' => __DIR__ . '/../..' . '/src/Tribe/Models/Post_Types/Nothing.php',
179
  'Tribe\\PUE\\Update_Prevention' => __DIR__ . '/../..' . '/src/Tribe/PUE/Update_Prevention.php',
180
  'Tribe\\Service_Providers\\PUE' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/PUE.php',
181
  'Tribe\\Traits\\Cache_User' => __DIR__ . '/../..' . '/src/Tribe/Traits/Cache_User.php',
198
  public static function getInitializer(ClassLoader $loader)
199
  {
200
  return \Closure::bind(function () use ($loader) {
201
+ $loader->prefixLengthsPsr4 = ComposerStaticInit4b94f62468ed819f093c41971d2f5426::$prefixLengthsPsr4;
202
+ $loader->prefixDirsPsr4 = ComposerStaticInit4b94f62468ed819f093c41971d2f5426::$prefixDirsPsr4;
203
+ $loader->prefixesPsr0 = ComposerStaticInit4b94f62468ed819f093c41971d2f5426::$prefixesPsr0;
204
+ $loader->classMap = ComposerStaticInit4b94f62468ed819f093c41971d2f5426::$classMap;
205
 
206
  }, null, ClassLoader::class);
207
  }
lang/the-events-calendar-cs_CZ.mo CHANGED
Binary file
lang/the-events-calendar-de_DE.mo CHANGED
Binary file
lang/the-events-calendar-el.mo CHANGED
Binary file
lang/the-events-calendar-he_IL.mo CHANGED
Binary file
lang/the-events-calendar-ja.mo CHANGED
Binary file
lang/the-events-calendar-nl_NL.mo CHANGED
Binary file
lang/the-events-calendar-sq.mo CHANGED
Binary file
lang/the-events-calendar.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the The Events Calendar package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: The Events Calendar 4.9.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
- "POT-Creation-Date: 2019-08-30 19:44:11+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2019-08-30 19:44\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
@@ -1610,7 +1610,6 @@ msgstr ""
1610
  #: src/Tribe/Assets.php:741 src/Tribe/Assets.php:755
1611
  #: src/deprecated/Tribe__Events__Asset__Dynamic.php:48
1612
  #: src/deprecated/Tribe__Events__Asset__Dynamic.php:62
1613
- #: src/views/v2/month/nav.php:27 src/views/v2/month/nav.php:29
1614
  msgid "May"
1615
  msgstr ""
1616
 
@@ -1619,7 +1618,6 @@ msgid "June"
1619
  msgstr ""
1620
 
1621
  #: src/Tribe/Assets.php:743 src/deprecated/Tribe__Events__Asset__Dynamic.php:50
1622
- #: src/views/v2/month/nav.php:37 src/views/v2/month/nav.php:39
1623
  msgid "July"
1624
  msgstr ""
1625
 
@@ -1899,6 +1897,7 @@ msgstr ""
1899
 
1900
  #: src/Tribe/Editor/Template.php:70 src/Tribe/Template/Embed.php:59
1901
  #: src/Tribe/Template/Single_Event.php:119
 
1902
  msgid "This %s has passed."
1903
  msgstr ""
1904
 
@@ -2255,8 +2254,8 @@ msgstr ""
2255
  msgid "Event Allow Trackbacks and Pingbacks"
2256
  msgstr ""
2257
 
2258
- #: src/Tribe/Importer/Column_Mapper.php:101 src/views/v2/day/event/venue.php:27
2259
- #: src/views/v2/list/event/venue.php:27
2260
  msgid "Venue Name"
2261
  msgstr ""
2262
 
@@ -2502,10 +2501,10 @@ msgstr ""
2502
  msgid "Upcoming Events"
2503
  msgstr ""
2504
 
2505
- #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 4.9.8) #-#-#-#-#
2506
  #. Plugin Name of the plugin/theme
2507
  #: src/Tribe/Main.php:905 src/Tribe/Main.php:1259 src/Tribe/Privacy.php:29
2508
- #: src/functions/template-tags/general.php:1357 the-events-calendar.php:56
2509
  msgid "The Events Calendar"
2510
  msgstr ""
2511
 
@@ -2990,7 +2989,7 @@ msgstr ""
2990
  msgid "Search for %s by Keyword."
2991
  msgstr ""
2992
 
2993
- #: src/Tribe/Main.php:4171 src/views/v2/events-bar/search-button.php:29
2994
  msgid "Search"
2995
  msgstr ""
2996
 
@@ -4493,13 +4492,13 @@ msgctxt "Abbreviation for the kilometers unit of measure"
4493
  msgid "km"
4494
  msgstr ""
4495
 
4496
- #: src/Tribe/Venue.php:173 src/functions/template-tags/venue.php:57
4497
  msgid "Venue"
4498
  msgstr ""
4499
 
4500
  #: src/Tribe/Venue.php:182
4501
  #: src/deprecated/Tribe__Events__Importer__Admin_Page.php:205
4502
- #: src/functions/template-tags/venue.php:76
4503
  msgid "Venues"
4504
  msgstr ""
4505
 
@@ -4516,7 +4515,7 @@ msgctxt "Metabox title"
4516
  msgid "Location"
4517
  msgstr ""
4518
 
4519
- #: src/Tribe/Venue.php:325 src/functions/template-tags/venue.php:379
4520
  msgid "United States"
4521
  msgstr ""
4522
 
@@ -6934,15 +6933,15 @@ msgstr ""
6934
  msgid "Loading %s"
6935
  msgstr ""
6936
 
6937
- #: src/functions/template-tags/general.php:1235
6938
  msgid "Find out more »"
6939
  msgstr ""
6940
 
6941
- #: src/functions/template-tags/general.php:1236
6942
  msgid "%s for"
6943
  msgstr ""
6944
 
6945
- #: src/functions/template-tags/general.php:1357
6946
  msgid "Calendar powered by %s"
6947
  msgstr ""
6948
 
@@ -6991,12 +6990,13 @@ msgid ""
6991
  "plural, and this singular.%3$sYour single Event URL is like: %4$s"
6992
  msgstr ""
6993
 
6994
- #: src/functions/template-tags/venue.php:779
6995
  msgctxt "Address separator"
6996
  msgid ", "
6997
  msgstr ""
6998
 
6999
  #: src/views/blocks/event-datetime.php:80
 
7000
  msgid "All day"
7001
  msgstr ""
7002
 
@@ -7134,14 +7134,15 @@ msgid "Previous"
7134
  msgstr ""
7135
 
7136
  #: src/views/v2/day/event/date.php:28 src/views/v2/day/event/date.php:29
7137
- #: src/views/v2/list/event/date.php:27 src/views/v2/list/event/date.php:28
7138
- #: src/views/v2/list/event/date.php:31
 
7139
  #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:25
7140
- #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:26
7141
  #: src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php:81
7142
  #: src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php:82
7143
- #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:25
7144
  #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:26
 
 
7145
  msgid "Featured"
7146
  msgstr ""
7147
 
@@ -7169,15 +7170,8 @@ msgstr ""
7169
  msgid "Now"
7170
  msgstr ""
7171
 
7172
- #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:41
7173
- #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:42
7174
- #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:35
7175
- #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:36
7176
- msgid "Recurring"
7177
- msgstr ""
7178
-
7179
- #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/cta.php:30
7180
- #: src/views/v2/month/mobile-events/mobile-day/mobile-event/cta.php:26
7181
  msgid "Buy Now"
7182
  msgstr ""
7183
 
2
  # This file is distributed under the same license as the The Events Calendar package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: The Events Calendar 4.9.9\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
+ "POT-Creation-Date: 2019-09-20 16:20:56+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2019-09-20 16:20\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
1610
  #: src/Tribe/Assets.php:741 src/Tribe/Assets.php:755
1611
  #: src/deprecated/Tribe__Events__Asset__Dynamic.php:48
1612
  #: src/deprecated/Tribe__Events__Asset__Dynamic.php:62
 
1613
  msgid "May"
1614
  msgstr ""
1615
 
1618
  msgstr ""
1619
 
1620
  #: src/Tribe/Assets.php:743 src/deprecated/Tribe__Events__Asset__Dynamic.php:50
 
1621
  msgid "July"
1622
  msgstr ""
1623
 
1897
 
1898
  #: src/Tribe/Editor/Template.php:70 src/Tribe/Template/Embed.php:59
1899
  #: src/Tribe/Template/Single_Event.php:119
1900
+ #: src/Tribe/Views/V2/Template_Bootstrap.php:77
1901
  msgid "This %s has passed."
1902
  msgstr ""
1903
 
2254
  msgid "Event Allow Trackbacks and Pingbacks"
2255
  msgstr ""
2256
 
2257
+ #: src/Tribe/Importer/Column_Mapper.php:101 src/views/v2/day/event/venue.php:29
2258
+ #: src/views/v2/list/event/venue.php:29
2259
  msgid "Venue Name"
2260
  msgstr ""
2261
 
2501
  msgid "Upcoming Events"
2502
  msgstr ""
2503
 
2504
+ #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 4.9.9) #-#-#-#-#
2505
  #. Plugin Name of the plugin/theme
2506
  #: src/Tribe/Main.php:905 src/Tribe/Main.php:1259 src/Tribe/Privacy.php:29
2507
+ #: src/functions/template-tags/general.php:1358 the-events-calendar.php:56
2508
  msgid "The Events Calendar"
2509
  msgstr ""
2510
 
2989
  msgid "Search for %s by Keyword."
2990
  msgstr ""
2991
 
2992
+ #: src/Tribe/Main.php:4171 src/views/v2/events-bar/search-button.php:25
2993
  msgid "Search"
2994
  msgstr ""
2995
 
4492
  msgid "km"
4493
  msgstr ""
4494
 
4495
+ #: src/Tribe/Venue.php:173 src/functions/template-tags/venue.php:130
4496
  msgid "Venue"
4497
  msgstr ""
4498
 
4499
  #: src/Tribe/Venue.php:182
4500
  #: src/deprecated/Tribe__Events__Importer__Admin_Page.php:205
4501
+ #: src/functions/template-tags/venue.php:149
4502
  msgid "Venues"
4503
  msgstr ""
4504
 
4515
  msgid "Location"
4516
  msgstr ""
4517
 
4518
+ #: src/Tribe/Venue.php:325 src/functions/template-tags/venue.php:452
4519
  msgid "United States"
4520
  msgstr ""
4521
 
6933
  msgid "Loading %s"
6934
  msgstr ""
6935
 
6936
+ #: src/functions/template-tags/general.php:1236
6937
  msgid "Find out more »"
6938
  msgstr ""
6939
 
6940
+ #: src/functions/template-tags/general.php:1237
6941
  msgid "%s for"
6942
  msgstr ""
6943
 
6944
+ #: src/functions/template-tags/general.php:1358
6945
  msgid "Calendar powered by %s"
6946
  msgstr ""
6947
 
6990
  "plural, and this singular.%3$sYour single Event URL is like: %4$s"
6991
  msgstr ""
6992
 
6993
+ #: src/functions/template-tags/venue.php:855
6994
  msgctxt "Address separator"
6995
  msgid ", "
6996
  msgstr ""
6997
 
6998
  #: src/views/blocks/event-datetime.php:80
6999
+ #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:36
7000
  msgid "All day"
7001
  msgstr ""
7002
 
7134
  msgstr ""
7135
 
7136
  #: src/views/v2/day/event/date.php:28 src/views/v2/day/event/date.php:29
7137
+ #: src/views/v2/day/event/date.php:33 src/views/v2/list/event/date.php:28
7138
+ #: src/views/v2/list/event/date.php:29 src/views/v2/list/event/date.php:33
7139
+ #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:24
7140
  #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php:25
 
7141
  #: src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php:81
7142
  #: src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php:82
 
7143
  #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:26
7144
+ #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:27
7145
+ #: src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php:31
7146
  msgid "Featured"
7147
  msgstr ""
7148
 
7170
  msgid "Now"
7171
  msgstr ""
7172
 
7173
+ #: src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/cta.php:33
7174
+ #: src/views/v2/month/mobile-events/mobile-day/mobile-event/cta.php:30
 
 
 
 
 
 
 
7175
  msgid "Buy Now"
7176
  msgstr ""
7177
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ModernTribe, borkweb, barry.hughes, bordoni, brianjessee, aguseo,
4
  Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
5
  Donate link: http://m.tri.be/29
6
  Requires at least: 4.7
7
- Stable tag: 4.9.8
8
  Tested up to: 5.2.2
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
@@ -215,6 +215,13 @@ Still not happy? Shoot us an email to support@theeventscalendar.com or tweet to
215
 
216
  == Changelog ==
217
 
 
 
 
 
 
 
 
218
  = [4.9.8] 2019-09-04 =
219
 
220
  * Tweak - Added the Monolog logging library as alternative logging backend [120785]
4
  Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
5
  Donate link: http://m.tri.be/29
6
  Requires at least: 4.7
7
+ Stable tag: 4.9.9
8
  Tested up to: 5.2.2
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
215
 
216
  == Changelog ==
217
 
218
+ = [4.9.9] 2019-09-25 =
219
+
220
+ * Fix - Set the start date with the current day for the "All" events page for recurring events. Thanks Andy, leapness and others for flagging this! [130350]
221
+ * Tweak - Updated Freemius integration code [133148]
222
+ * Tweak - Conform iCalendar feed to specifications by not putting quotes around the timezone ID. This fixes some custom parsers [133626]
223
+ * Language - 0 new strings added, 16 updated, 0 fuzzied, and 1 obsoleted
224
+
225
  = [4.9.8] 2019-09-04 =
226
 
227
  * Tweak - Added the Monolog logging library as alternative logging backend [120785]
src/Tribe/Integrations/Freemius.php CHANGED
@@ -80,7 +80,7 @@ class Tribe__Events__Integrations__Freemius {
80
  *
81
  * @param bool $should_load
82
  */
83
- $should_load = apply_filters( 'tribe_events_integrations_should_load_freemius', $this->should_load( 10 ) );
84
 
85
  if ( ! $should_load ) {
86
  return;
80
  *
81
  * @param bool $should_load
82
  */
83
+ $should_load = apply_filters( 'tribe_events_integrations_should_load_freemius', $this->should_load( 50 ) );
84
 
85
  if ( ! $should_load ) {
86
  return;
src/Tribe/Main.php CHANGED
@@ -32,7 +32,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
- const VERSION = '4.9.8';
36
 
37
  /**
38
  * Min Pro Addon
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
+ const VERSION = '4.9.9';
36
 
37
  /**
38
  * Min Pro Addon
src/Tribe/Models/Post_Types/Event.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Models an Event.
4
+ *
5
+ * @since 4.9.9
6
+ *
7
+ * @package Tribe\Events\Models\Post_Types
8
+ */
9
+
10
+ namespace Tribe\Events\Models\Post_Types;
11
+
12
+ use DateInterval;
13
+ use DatePeriod;
14
+ use DateTimeImmutable;
15
+ use DateTimeZone;
16
+ use Tribe\Models\Post_Types\Base;
17
+ use Tribe\Utils\Lazy_Collection;
18
+ use Tribe\Utils\Lazy_String;
19
+ use Tribe\Utils\Post_Thumbnail;
20
+ use Tribe__Date_Utils as Dates;
21
+ use Tribe__Events__Featured_Events as Featured;
22
+ use Tribe__Events__Organizer as Organizer;
23
+ use Tribe__Events__Timezones as Timezones;
24
+ use Tribe__Events__Venue as Venue;
25
+
26
+ /**
27
+ * Class Event
28
+ *
29
+ * @since 4.9.9
30
+ *
31
+ * @package Tribe\Events\Post_Types
32
+ */
33
+ class Event extends Base {
34
+
35
+
36
+ /**
37
+ * {@inheritDoc}
38
+ */
39
+ protected function build_properties( $filter ) {
40
+ try {
41
+ $cache_this = $this->get_caching_callback( $filter );
42
+
43
+ $now = Dates::build_date_object( 'now' );
44
+ $post_id = $this->post->ID;
45
+
46
+ $start_date = get_post_meta( $post_id, '_EventStartDate', true );
47
+ $start_date_utc = get_post_meta( $post_id, '_EventStartDateUTC', true );
48
+ $end_date = get_post_meta( $post_id, '_EventEndDate', true );
49
+ $end_date_utc = get_post_meta( $post_id, '_EventEndDateUTC', true );
50
+ $duration = (int) get_post_meta( $post_id, '_EventDuration', true );
51
+ $timezone_string = Timezones::get_event_timezone_string( $post_id );
52
+ $all_day = tribe_is_truthy( get_post_meta( $post_id, '_EventAllDay', true ) );
53
+ $end_of_day = tribe_end_of_day( $start_date );
54
+ $timezone = Timezones::build_timezone_object( $timezone_string );
55
+ $utc_timezone = new DateTimezone( 'UTC' );
56
+ $start_date_object = new DateTimeImmutable( $start_date, $timezone );
57
+ $end_date_object = new DateTimeImmutable( $end_date, $timezone );
58
+ $start_date_utc_object = new DateTimeImmutable( $start_date_utc, $utc_timezone );
59
+ $end_date_utc_object = new DateTimeImmutable( $end_date_utc, $utc_timezone );
60
+ $end_of_day_object = new DateTimeImmutable( $end_of_day, $timezone );
61
+
62
+ if ( empty( $duration ) ) {
63
+ // This is really an edge case, but here we have the information to rebuild it.
64
+ $duration = $end_date_utc_object->getTimestamp() - $start_date_utc_object->getTimestamp();
65
+ }
66
+
67
+ // An event is multi-day if its end date is after the end-of-day cutoff of the start date.
68
+ $is_multiday = $end_of_day_object < $end_date_object;
69
+ $multiday = false;
70
+
71
+ // Without a context these values will not make sense; we'll set them if the `$filter` argument is a date.
72
+ $starts_this_week = null;
73
+ $ends_this_week = null;
74
+ $happens_this_week = null;
75
+ $this_week_duration = null;
76
+
77
+ if ( Dates::is_valid_date( $filter ) ) {
78
+ $week_start = Dates::build_date_object( $filter, $timezone );
79
+ // Sunday is 0.
80
+ $week_start_day = (int) get_option( 'start_of_week' );
81
+ $offset = (int) $week_start->format( 'N' ) >= $week_start_day
82
+ ? $week_start_day
83
+ : $week_start->format( 'N' ) - $week_start_day;
84
+
85
+ $week_start->setISODate( (int) $week_start->format( 'o' ), (int) $week_start->format( 'W' ), $offset );
86
+ $week_end = clone $week_start;
87
+ // 7 days later the week ends.
88
+ $week_end->add( new DateInterval( 'P7D' ) );
89
+ // Inclusive in respect to the start, exclusive to the end.
90
+ $starts_this_week = $week_start <= $start_date_object && $start_date_object < $week_end;
91
+ $ends_this_week = $week_start <= $end_date_object && $end_date_object < $week_end;
92
+ $happens_this_week = $week_start <= $end_date_object && $start_date_object <= $week_end;
93
+ if ( $happens_this_week ) {
94
+ $this_week_duration = 1;
95
+ if ( $is_multiday ) {
96
+ /*
97
+ * We add one second during this calculation to cope with all-day events starting on 12:00 AM.
98
+ * Due to how DateTime diff works diffing two following midnights would yield a diff of 2 days.
99
+ */
100
+ $one_second = new DateInterval( 'PT1S' );
101
+
102
+ $this_week_duration = min(
103
+ 7,
104
+ $week_end->diff( $start_date_object->add( $one_second ) )->days + 1,
105
+ $end_date_object->diff( $week_start )->days + 1,
106
+ $end_date_object->diff( $start_date_object->add( $one_second ) )->days + 1
107
+ );
108
+ }
109
+ }
110
+ }
111
+
112
+ // Multi-day events will span at least two days: the day they start on and the following one.
113
+ if ( $is_multiday ) {
114
+ /*
115
+ * Count the number of cut-offs happening before the end date and add 1.
116
+ * Do not add 1 for all-day events as they span cut-off to cut-off.
117
+ */
118
+ $multiday = $all_day ? 0 : 1;
119
+ $one_day = new DateInterval( 'P1D' );
120
+ // The end date should be inclusive, since it's not in the DatePeriod we work-around it adding a second.
121
+ $period = new DatePeriod( $end_of_day_object, $one_day, $end_date_object );
122
+ foreach ( $period as $date ) {
123
+ ++ $multiday;
124
+ };
125
+ }
126
+
127
+ $featured = tribe_is_truthy( get_post_meta( $post_id, Featured::FEATURED_EVENT_KEY, true ) );
128
+ $organizer_fetch = Organizer::get_fetch_callback( $post_id );
129
+ $venue_fetch = Venue::get_fetch_callback( $post_id );
130
+
131
+ $properties = [
132
+ 'start_date' => $start_date,
133
+ 'start_date_utc' => $start_date_utc,
134
+ 'end_date' => $end_date,
135
+ 'end_date_utc' => $end_date_utc,
136
+ 'dates' => (object) [
137
+ 'start' => $start_date_object,
138
+ 'start_utc' => $start_date_utc_object,
139
+ 'end' => $end_date_object,
140
+ 'end_utc' => $end_date_utc_object,
141
+ ],
142
+ 'timezone' => $timezone_string,
143
+ 'duration' => $duration,
144
+ 'multiday' => $multiday,
145
+ 'is_past' => $start_date_object < $now,
146
+ 'all_day' => $all_day,
147
+ 'starts_this_week' => $starts_this_week,
148
+ 'ends_this_week' => $ends_this_week,
149
+ 'this_week_duration' => $this_week_duration,
150
+ 'happens_this_week' => $happens_this_week,
151
+ 'featured' => $featured,
152
+ 'cost' => tribe_get_cost( $post_id, true ),
153
+ 'organizers' => ( new Lazy_Collection( $organizer_fetch ) )->on_resolve( $cache_this ),
154
+ 'venues' => ( new Lazy_Collection( $venue_fetch ) )->on_resolve( $cache_this ),
155
+ 'thumbnail' => ( new Post_Thumbnail( $post_id ) )->on_resolve( $cache_this ),
156
+ 'permalink' => get_permalink( $post_id ),
157
+ 'schedule_details' => ( new Lazy_String(
158
+ static function () use ( $post_id )
159
+ {
160
+ return tribe_events_event_schedule_details( $post_id );
161
+ }, false
162
+ ) )->on_resolve( $cache_this ),
163
+ 'plain_schedule_details' => ( new Lazy_String(
164
+ static function () use ( $post_id )
165
+ {
166
+ return tribe_events_event_schedule_details( $post_id, '', '', false );
167
+ }, false
168
+ ) )->on_resolve( $cache_this )
169
+ ];
170
+ } catch ( \Exception $e ) {
171
+ return [];
172
+ }
173
+
174
+ return $properties;
175
+ }
176
+
177
+ /**
178
+ * {@inheritDoc}
179
+ */
180
+ protected function get_cache_slug() {
181
+ return 'events';
182
+ }
183
+
184
+ }
src/Tribe/Models/Post_Types/Venue.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Models a Venue.
4
+ *
5
+ * @since 4.9.9
6
+ *
7
+ * @package Tribe\Events\Models\Post_Types
8
+ */
9
+ namespace Tribe\Events\Models\Post_Types;
10
+
11
+ use Tribe\Models\Post_Types\Base;
12
+ use Tribe\Utils\Post_Thumbnail;
13
+
14
+ /**
15
+ * Class Venue.
16
+ *
17
+ * @since 4.9.9
18
+ *
19
+ * @package Tribe\Events\Post_Types
20
+ */
21
+ class Venue extends Base {
22
+
23
+ /**
24
+ * {@inheritDoc}
25
+ */
26
+ protected function build_properties( $filter ) {
27
+ try {
28
+ $address = tribe_get_address( $this->post->ID );
29
+ $country = tribe_get_country( $this->post->ID );
30
+ $city = tribe_get_city( $this->post->ID );
31
+ $state_province = tribe_get_stateprovince( $this->post->ID );
32
+ $state = tribe_get_state( $this->post->ID );
33
+ $province = tribe_get_province( $this->post->ID );
34
+ $zip = tribe_get_zip( $this->post->ID );
35
+
36
+ $properties = [
37
+ 'address' => $address,
38
+ 'country' => $country,
39
+ 'city' => $city,
40
+ 'state_province' => $state_province,
41
+ 'state' => $state,
42
+ 'province' => $province,
43
+ 'zip' => $zip,
44
+ 'permalink' => get_permalink( $this->post->ID ),
45
+ ];
46
+ } catch ( \Exception $e ) {
47
+ return [];
48
+ }
49
+
50
+ return $properties;
51
+ }
52
+
53
+ /**
54
+ * {@inheritDoc}
55
+ */
56
+ protected function get_cache_slug() {
57
+ return 'venues';
58
+ }
59
+ }
src/Tribe/Query.php CHANGED
@@ -400,7 +400,7 @@ if ( ! class_exists( 'Tribe__Events__Query' ) ) {
400
  $query->set( 'orderby', self::set_orderby( null, $query ) );
401
  $query->set( 'order', self::set_order( 'ASC', $query ) );
402
  $query->set( 'hide_upcoming', $maybe_hide_events );
403
-
404
  break;
405
  case 'list':
406
  default: // default display query
@@ -410,6 +410,7 @@ if ( ! class_exists( 'Tribe__Events__Query' ) ) {
410
  $event_date = date_i18n( Tribe__Date_Utils::DBDATETIMEFORMAT );
411
  }
412
 
 
413
  if ( $query->tribe_is_past ) {
414
  // on past view, set the passed date as the end date
415
  $query->set( 'start_date', '' );
@@ -419,7 +420,9 @@ if ( ! class_exists( 'Tribe__Events__Query' ) ) {
419
  if ( '' != $query->get( 'eventDate' ) ) {
420
  $event_date = tribe_beginning_of_day( $event_date );
421
  } else {
422
- $event_date = tribe_format_date( current_time( 'timestamp' ), true, 'Y-m-d H:i:00' );
 
 
423
  }
424
 
425
  $orm_meta_query = tribe_events()->filter_by_ends_after( $event_date );
@@ -428,10 +431,11 @@ if ( ! class_exists( 'Tribe__Events__Query' ) ) {
428
 
429
  $query->set( 'order', self::set_order( 'ASC', $query ) );
430
  }
 
431
 
432
- $query->set( 'orderby', self::set_orderby( null, $query ) );
433
- $query->set( 'hide_upcoming', $maybe_hide_events );
434
- break;
435
  }
436
  } else {
437
  $query->set( 'hide_upcoming', $maybe_hide_events );
400
  $query->set( 'orderby', self::set_orderby( null, $query ) );
401
  $query->set( 'order', self::set_order( 'ASC', $query ) );
402
  $query->set( 'hide_upcoming', $maybe_hide_events );
403
+ $query->set( 'start_date', tribe_format_date( current_time( 'timestamp' ), true, 'Y-m-d H:i:00' ) );
404
  break;
405
  case 'list':
406
  default: // default display query
410
  $event_date = date_i18n( Tribe__Date_Utils::DBDATETIMEFORMAT );
411
  }
412
 
413
+ if ( ! $query->get( 'tribe_remove_date_filters', false ) ) {
414
  if ( $query->tribe_is_past ) {
415
  // on past view, set the passed date as the end date
416
  $query->set( 'start_date', '' );
420
  if ( '' != $query->get( 'eventDate' ) ) {
421
  $event_date = tribe_beginning_of_day( $event_date );
422
  } else {
423
+ $event_date = tribe_format_date( current_time( 'timestamp' ),
424
+ true,
425
+ 'Y-m-d H:i:00' );
426
  }
427
 
428
  $orm_meta_query = tribe_events()->filter_by_ends_after( $event_date );
431
 
432
  $query->set( 'order', self::set_order( 'ASC', $query ) );
433
  }
434
+ }
435
 
436
+ $query->set( 'orderby', self::set_orderby( null, $query ) );
437
+ $query->set( 'hide_upcoming', $maybe_hide_events );
438
+ break;
439
  }
440
  } else {
441
  $query->set( 'hide_upcoming', $maybe_hide_events );
src/Tribe/Venue.php CHANGED
@@ -701,9 +701,11 @@ class Tribe__Events__Venue extends Tribe__Events__Linked_Posts__Base {
701
  return static function () use ( $event ) {
702
  $venue_ids = tribe_venues()->by( 'event', $event )->get_ids();
703
  $venues = ! empty( $venue_ids )
704
- ? array_map( 'tribe_get_venue', $venue_ids )
705
  : [];
706
 
 
 
707
  return $venues;
708
  };
709
  }
701
  return static function () use ( $event ) {
702
  $venue_ids = tribe_venues()->by( 'event', $event )->get_ids();
703
  $venues = ! empty( $venue_ids )
704
+ ? array_map( 'tribe_get_venue_object', $venue_ids )
705
  : [];
706
 
707
+ $venues = array_filter( $venues );
708
+
709
  return $venues;
710
  };
711
  }
src/Tribe/Views/V2/Assets.php CHANGED
@@ -42,9 +42,9 @@ class Assets extends \tad_DI52_ServiceProvider {
42
 
43
  tribe_asset(
44
  $plugin,
45
- 'tribe-events-calendar-views-v2',
46
- 'views/tribe-events-v2.css',
47
- [ 'tribe-common-style', 'tribe-tooltipster-css' ], // @todo: check if we're including tooltips only in month view.
48
  'wp_enqueue_scripts',
49
  [
50
  'priority' => 10,
42
 
43
  tribe_asset(
44
  $plugin,
45
+ 'tribe-events-views-v2-full',
46
+ 'views-full.css',
47
+ [ 'tribe-common-style', 'tribe-tooltipster-css' ],
48
  'wp_enqueue_scripts',
49
  [
50
  'priority' => 10,
src/Tribe/Views/V2/Query/Abstract_Query_Controller.php CHANGED
@@ -42,7 +42,7 @@ abstract class Abstract_Query_Controller {
42
  return $posts;
43
  }
44
 
45
- if ( ! empty( $query->tribe_controller ) || ! $query->is_main_query() ) {
46
  return $posts;
47
  }
48
 
42
  return $posts;
43
  }
44
 
45
+ if ( ! ( empty( $query->tribe_controller ) && $query->is_main_query() ) ) {
46
  return $posts;
47
  }
48
 
src/Tribe/Views/V2/Template_Bootstrap.php CHANGED
@@ -13,6 +13,7 @@ namespace Tribe\Events\Views\V2;
13
  use Tribe__Events__Main as TEC;
14
  use Tribe__Utils__Array as Arr;
15
  use WP_Query;
 
16
 
17
  class Template_Bootstrap {
18
  /**
@@ -72,8 +73,17 @@ class Template_Bootstrap {
72
  * @return string
73
  */
74
  protected function get_v1_single_event_html() {
 
 
 
 
75
  ob_start();
 
 
76
  tribe_get_view( 'single-event' );
 
 
 
77
  $html = ob_get_clean();
78
 
79
  return $html;
13
  use Tribe__Events__Main as TEC;
14
  use Tribe__Utils__Array as Arr;
15
  use WP_Query;
16
+ use Tribe__Notices;
17
 
18
  class Template_Bootstrap {
19
  /**
73
  * @return string
74
  */
75
  protected function get_v1_single_event_html() {
76
+ if ( ! tribe_is_showing_all() && tribe_is_past_event() ) {
77
+ Tribe__Notices::set_notice( 'event-past', sprintf( esc_html__( 'This %s has passed.', 'the-events-calendar' ), tribe_get_event_label_singular_lowercase() ) );
78
+ }
79
+
80
  ob_start();
81
+ echo '<main id="tribe-events-pg-template" class="tribe-events-pg-template">';
82
+ tribe_events_before_html();
83
  tribe_get_view( 'single-event' );
84
+ tribe_events_after_html();
85
+ echo '</main>';
86
+
87
  $html = ob_get_clean();
88
 
89
  return $html;
src/Tribe/Views/V2/Url.php CHANGED
@@ -211,26 +211,10 @@ class Url {
211
  * @return false|string The variable alias set in the URL query args, or `false` if no alias was found.
212
  */
213
  public function get_query_arg_alias_of( $var, Context $context = null ) {
214
- $context = $context ?: tribe_context();
215
- $query_args = $this->get_query_args();
216
- $aliases = $context->translate_sub_locations(
217
- $query_args,
218
- Context::QUERY_VAR,
219
- 'read'
220
- );
221
-
222
- if ( empty( $aliases ) ) {
223
- return false;
224
- }
225
 
226
- $context_aliases = (array) Arr::get( $context->get_locations(), [ $var, 'read', Context::QUERY_VAR ], [] );
227
 
228
- $alias_query_args = array_intersect_key(
229
- $query_args,
230
- array_merge( $aliases, array_combine( $context_aliases, $context_aliases ) )
231
- );
232
-
233
- return array_keys( $alias_query_args )[0];
234
  }
235
 
236
  /**
@@ -246,4 +230,40 @@ class Url {
246
  public function get_query_arg( $key, $default = null ) {
247
  return Arr::get( (array) $this->get_query_args(), $key, $default );
248
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  }
211
  * @return false|string The variable alias set in the URL query args, or `false` if no alias was found.
212
  */
213
  public function get_query_arg_alias_of( $var, Context $context = null ) {
214
+ $aliases = $this->get_query_args_aliases_of( $var, $context, false );
 
 
 
 
 
 
 
 
 
 
215
 
 
216
 
217
+ return count( $aliases ) ? reset( $aliases ) : false;
 
 
 
 
 
218
  }
219
 
220
  /**
230
  public function get_query_arg( $key, $default = null ) {
231
  return Arr::get( (array) $this->get_query_args(), $key, $default );
232
  }
233
+
234
+ /**
235
+ * Returns all the aliases of the variable set in the Url query args, if any.
236
+ *
237
+ * @since 4.9.9
238
+ *
239
+ * @param string $var The name of the variable to search the aliases for.
240
+ * @param Context|null $context The Context object to use to fetch locations, if `null` the global Context will be
241
+ * used.
242
+ *
243
+ * @return array An array of the variable aliases set in the URL query args.
244
+ */
245
+ public function get_query_args_aliases_of( $var, Context $context = null ) {
246
+ $context = $context ?: tribe_context();
247
+ $query_args = $this->get_query_args();
248
+ $aliases = $context->translate_sub_locations(
249
+ $query_args,
250
+ Context::QUERY_VAR,
251
+ 'read'
252
+ );
253
+
254
+ if ( empty( $aliases ) ) {
255
+ return [];
256
+ }
257
+
258
+ $query_aliases = (array) Arr::get( $context->get_locations(), [ $var, 'read', Context::QUERY_VAR ], [] );
259
+ $request_aliases = (array) Arr::get( $context->get_locations(), [ $var, 'read', Context::REQUEST_VAR ], [] );
260
+ $context_aliases = array_unique( array_merge( $query_aliases, $request_aliases ) );
261
+
262
+ $aliases = array_intersect_key(
263
+ array_merge( $query_args, tribe_get_request_vars() ),
264
+ array_merge( $aliases, array_combine( $context_aliases, $context_aliases ) )
265
+ );
266
+
267
+ return array_keys( $aliases );
268
+ }
269
  }
src/Tribe/Views/V2/Utils/Stack.php CHANGED
@@ -278,32 +278,12 @@ class Stack {
278
  * whenever possible.
279
  */
280
  if ( $this->recycle_space ) {
281
- // Only run the reordering logic if there are events, in the current day, that are not positioned yet.
282
- $day_events_wo_position = array_diff( $this->day_events, array_keys( $this->stack_positions ) );
283
 
284
- if ( count( $day_events_wo_position ) ) {
285
- // Try and move each event that starts today in the first open position from the top of the day stack.
286
- usort( $this->day_events, [ $this, 'recycle_day_stack_space' ] );
287
- }
288
  }
289
 
290
- foreach ( $this->day_events as $position_in_day => $event_id ) {
291
- if ( isset( $this->stack_positions[ $event_id ] ) ) {
292
- continue;
293
- }
294
-
295
- if ( $this->recycle_space ) {
296
- // Events have been already ordered and the event position in the day stack is the correct one.
297
- $the_event_position = $position_in_day;
298
- } else {
299
- // The event position is the next one.
300
- $the_event_position = count( $this->stack_positions )
301
- ? max( $this->stack_positions ) + 1
302
- : 0;
303
- }
304
-
305
- $this->stack_positions[ $event_id ] = $the_event_position;
306
- }
307
  }
308
 
309
  /**
@@ -322,7 +302,8 @@ class Stack {
322
  array_combine( $this->day_events, $this->day_events )
323
  );
324
 
325
- foreach ( range( 0, max( $day_positions ) ) as $j ) {
 
326
  if ( in_array( $j, $day_positions, true ) ) {
327
  $day_stack[ $j ] = array_search( $j, $day_positions, true );
328
  } else {
@@ -354,55 +335,6 @@ class Stack {
354
  }
355
  }
356
 
357
- /**
358
- * A comparison function to sort events depending on their positions in the stack and the available stack positions.
359
- *
360
- * The purpose of this method is to move B over A if:
361
- * - B starts on the current day
362
- * - B has not a stack position assigned
363
- * - there is an open position over A
364
- *
365
- * @since 4.9.7
366
- *
367
- * @param int $event_a The post ID of the event that is currently first.
368
- * @param int $event_b The post ID of the event that is currently second.
369
- *
370
- * @return int An integer to indicate whether the positions should remain the same (`0`), A should stay before B
371
- * (`-1`) or if B should list before A (`1`).
372
- */
373
- protected function recycle_day_stack_space( $event_a, $event_b ) {
374
- if (
375
- isset( $this->stack_positions[ $event_b ] )
376
- || ! isset( $this->stack_positions[ $event_a ] )
377
- ) {
378
- // The event already has a position in the stack or event A does not have a stack position assigned.
379
- return 0;
380
- }
381
-
382
- $b_start = tribe_get_event( $event_b )->dates->start->format( 'Y-m-d' );
383
- $a_start = tribe_get_event( $event_a )->dates->start->format( 'Y-m-d' );
384
-
385
- if ( $a_start === $b_start ) {
386
- // The two events start on the same day, let them be.
387
- return 0;
388
- }
389
-
390
- // What positions are taken on this day?
391
- $taken_positions = array_intersect_key( $this->stack_positions, array_flip( $this->day_events ) );
392
- $all_possible_positions = range( 0, count( $this->stack_positions ) );
393
-
394
- // What positions are available on this day?
395
- $available_stack_positions = array_diff( $all_possible_positions, $taken_positions );
396
-
397
- $first_open_position = min( $available_stack_positions );
398
-
399
- // What's A current position?
400
- $a_position = isset( $this->stack_positions[ $event_a ] ) ? $this->stack_positions[ $event_a ] : 0;
401
-
402
- // If A current position is after the first open positions then let's put B in that open position.
403
- return $a_position < $first_open_position ? - 1 : 1;
404
- }
405
-
406
  /**
407
  * Checks an event to ensure it should be part of the stack.
408
  *
@@ -501,4 +433,55 @@ class Stack {
501
 
502
  return $events_by_day;
503
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  }
278
  * whenever possible.
279
  */
280
  if ( $this->recycle_space ) {
281
+ $this->stack_positions = $this->assign_open_positions( $this->stack_positions, $this->day_events );
 
282
 
283
+ return;
 
 
 
284
  }
285
 
286
+ $this->stack_positions = $this->assign_next_positions( $this->stack_positions, $this->day_events );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
  }
288
 
289
  /**
302
  array_combine( $this->day_events, $this->day_events )
303
  );
304
 
305
+ $max_day_position = count( $day_positions ) ? max( $day_positions ) : 0;
306
+ foreach ( range( 0, $max_day_position ) as $j ) {
307
  if ( in_array( $j, $day_positions, true ) ) {
308
  $day_stack[ $j ] = array_search( $j, $day_positions, true );
309
  } else {
335
  }
336
  }
337
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  /**
339
  * Checks an event to ensure it should be part of the stack.
340
  *
433
 
434
  return $events_by_day;
435
  }
436
+
437
+ /**
438
+ * Assigns to each event the first available position in the day stack.
439
+ *
440
+ * This method will "fill" empty spaces in the stack to recycle the space.
441
+ *
442
+ * @since 4.9.9
443
+ *
444
+ * @param array $stack_positions The currently assigned stack positions, in the shape
445
+ * `[ <id> => <position> ]`.
446
+ * @param array $wo_position An array of event post IDs for events that do not have a position assigned
447
+ * in the day stack.
448
+ *
449
+ * @return array An updated array of stack positions, in the shape `[ <id> => <position> ]`.
450
+ */
451
+ protected function assign_open_positions( array $stack_positions, array $events ) {
452
+ $wo_position = array_diff( $events, array_keys( $stack_positions ) );
453
+
454
+ if ( ! count( $wo_position ) ) {
455
+ return $stack_positions;
456
+ }
457
+ $taken_day_positions = array_intersect_key( $stack_positions, array_flip( $events ) );
458
+ $all_possible_positions = range( 0, count( $stack_positions ) + count( $wo_position ) );
459
+ $open_day_positions = array_values( array_diff( $all_possible_positions, $taken_day_positions ) );
460
+ $assigned_day_positions = array_combine( $wo_position, array_slice( $open_day_positions, 0, count( $wo_position ) ) );
461
+ // Use the `+` to avoid the re-indexing: the indexes here are the event post IDs.
462
+ $stack_positions += $assigned_day_positions;
463
+
464
+ return $stack_positions;
465
+ }
466
+
467
+ /**
468
+ * Assigns a stack postion to each event w/o one not recycling space.
469
+ *
470
+ * @since 4.9.9
471
+ *
472
+ * @param array $stack_positions The current stack positions.
473
+ * @param array $event_ids The events to position in the stack, events that already have a position will not
474
+ * be re-positioned.
475
+ *
476
+ * @return array The finalized stack positions, where each event has been assigned a position in the stack.
477
+ */
478
+ protected function assign_next_positions( array $stack_positions, array $event_ids ) {
479
+ $wo_position = array_diff( $event_ids, array_keys( $stack_positions ) );
480
+ foreach ( $wo_position as $position_in_day => $event_id ) {
481
+ // The event position is the next one.
482
+ $stack_positions[ $event_id ] = count( $stack_positions ) ? max( $stack_positions ) + 1 : 0;
483
+ }
484
+
485
+ return $stack_positions;
486
+ }
487
  }
src/Tribe/Views/V2/View.php CHANGED
@@ -932,6 +932,8 @@ class View implements View_Interface {
932
  'rest_nonce' => wp_create_nonce( 'wp_rest' ),
933
  'should_manage_url' => $this->should_manage_url,
934
  'today_url' => $this->get_today_url( true ),
 
 
935
  ];
936
 
937
  return $template_vars;
@@ -1032,7 +1034,7 @@ class View implements View_Interface {
1032
  * {@inheritDoc}
1033
  */
1034
  public function get_today_url( $canonical = false ) {
1035
- $remove = [ 'tribe-bar-date', 'paged', 'page' ];
1036
 
1037
  // While we want to remove the date query vars, we want to keep any other query var.
1038
  $query_args = $this->url->get_query_args();
@@ -1049,4 +1051,72 @@ class View implements View_Interface {
1049
 
1050
  return Rewrite::instance()->get_canonical_url( $ugly_url );
1051
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1052
  }
932
  'rest_nonce' => wp_create_nonce( 'wp_rest' ),
933
  'should_manage_url' => $this->should_manage_url,
934
  'today_url' => $this->get_today_url( true ),
935
+ 'prev_label' => $this->get_link_label( $this->prev_url( false ) ),
936
+ 'next_label' => $this->get_link_label( $this->next_url( false ) ),
937
  ];
938
 
939
  return $template_vars;
1034
  * {@inheritDoc}
1035
  */
1036
  public function get_today_url( $canonical = false ) {
1037
+ $remove = [ 'tribe-bar-date', 'paged', 'page', 'eventDate' ];
1038
 
1039
  // While we want to remove the date query vars, we want to keep any other query var.
1040
  $query_args = $this->url->get_query_args();
1051
 
1052
  return Rewrite::instance()->get_canonical_url( $ugly_url );
1053
  }
1054
+
1055
+ /**
1056
+ * Builds the link label to use from the URL.
1057
+ *
1058
+ * This is usually used to build the next and prev link URLs labels.
1059
+ * Extending classes can customize the format of the the label by overriding the `get_label_format` method.
1060
+ *
1061
+ * @since 4.9.9
1062
+ *
1063
+ * @param string $url The input URL to build the link label from.
1064
+ *
1065
+ * @return string The formatted and localized, but not HTML escaped, link label.
1066
+ *
1067
+ * @see View::get_label_format(), the method child classes should override to customize the link label format.
1068
+ */
1069
+ public function get_link_label( $url ) {
1070
+ if ( empty( $url ) ) {
1071
+ return '';
1072
+ }
1073
+
1074
+ $url_query = parse_url( $url, PHP_URL_QUERY );
1075
+
1076
+ if ( empty( $url_query ) ) {
1077
+ return '';
1078
+ }
1079
+
1080
+ parse_str( $url_query, $args );
1081
+
1082
+ $date = Arr::get_first_set( $args, [ 'eventDate', 'tribe-bar-date' ], false );
1083
+
1084
+ if ( false === $date ) {
1085
+ return '';
1086
+ }
1087
+
1088
+ $date_object = Dates::build_date_object( $date );
1089
+
1090
+ $format = $this->get_label_format();
1091
+
1092
+ /**
1093
+ * Filters the `date` format that will be used to produce a View link label.
1094
+ *
1095
+ * @since 4.9.9
1096
+ *
1097
+ * @param string $format The label format the View will use to product a View link label; e.g. the
1098
+ * previous and next links.
1099
+ * @param \DateTime $date The date object that is being used to build the label.
1100
+ * @param View $view This View instance.
1101
+ */
1102
+ $format = apply_filters( "tribe_events_views_v2_{$this->slug}_link_label_format", $format, $this, $date );
1103
+
1104
+ return date_i18n( $format, $date_object->getTimestamp() + $date_object->getOffset() );
1105
+ }
1106
+
1107
+ /**
1108
+ * Returns the date format, a valid PHP `date` function format, that should be used to build link labels.
1109
+ *
1110
+ * This format will, usually, apply to next and previous links.
1111
+ *
1112
+ * @since 4.9.9
1113
+ *
1114
+ * @return string The date format, a valid PHP `date` function format, that should be used to build link labels.
1115
+ *
1116
+ * @see View::get_link_label(), the method using this method to build a link label.
1117
+ * @see date_i18n() as the formatted date will, then, be localized using this method.
1118
+ */
1119
+ protected function get_label_format() {
1120
+ return 'Y-m-d';
1121
+ }
1122
  }
src/Tribe/Views/V2/Views/By_Day_View.php CHANGED
@@ -11,6 +11,7 @@
11
  namespace Tribe\Events\Views\V2\Views;
12
 
13
 
 
14
  use Tribe\Events\Views\V2\View;
15
  use Tribe\Traits\Cache_User;
16
  use Tribe__Cache_Listener as Cache_Listener;
@@ -46,13 +47,23 @@ abstract class By_Day_View extends View{
46
  */
47
  protected $grid_days_found_cache = [];
48
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * By_Day_View constructor.
51
  *
52
  * @since 4.9.7
53
  */
54
- public function __construct( ) {
55
  add_action( 'shutdown', [ $this, 'dump_cache' ] );
 
56
  }
57
 
58
  /**
@@ -204,4 +215,60 @@ abstract class By_Day_View extends View{
204
  */
205
  return apply_filters( "tribe_events_views_v2_{$this->slug}_events_per_day", $events_per_day, $this );
206
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  }
11
  namespace Tribe\Events\Views\V2\Views;
12
 
13
 
14
+ use Tribe\Events\Views\V2\Utils\Stack;
15
  use Tribe\Events\Views\V2\View;
16
  use Tribe\Traits\Cache_User;
17
  use Tribe__Cache_Listener as Cache_Listener;
47
  */
48
  protected $grid_days_found_cache = [];
49
 
50
+ /**
51
+ * An instance of the Stack object.
52
+ *
53
+ * @since 4.9.9
54
+ *
55
+ * @var Stack
56
+ */
57
+ protected $stack;
58
+
59
  /**
60
  * By_Day_View constructor.
61
  *
62
  * @since 4.9.7
63
  */
64
+ public function __construct( Stack $stack ) {
65
  add_action( 'shutdown', [ $this, 'dump_cache' ] );
66
+ $this->stack = $stack;
67
  }
68
 
69
  /**
215
  */
216
  return apply_filters( "tribe_events_views_v2_{$this->slug}_events_per_day", $events_per_day, $this );
217
  }
218
+
219
+ /**
220
+ * Builds the next or prev URL given the date that should be used.
221
+ *
222
+ * @since 4.9.9
223
+ *
224
+ * @param mixed $date The date to build the URL from, a date object or string.
225
+ * @param bool $canonical Whether to return the canonical version of the URL or not.
226
+ * @param array $passthru_vars An array of variables that should be preserved and applied to the resulting URL.
227
+ *
228
+ * @return string The URL as built from the event.
229
+ */
230
+ protected function build_url_for_date( $date, $canonical, array $passthru_vars = [] ) {
231
+ $url = $this->get_url();
232
+ $date = Dates::build_date_object( $date );
233
+
234
+ $event_date_aliases = $this->url->get_query_args_aliases_of( 'event_date', $this->context );
235
+ $event_date_aliases = array_unique( array_merge( $event_date_aliases, [ 'eventDate', 'tribe-bar-date' ] ) );
236
+
237
+ if ( ! empty( $event_date_aliases ) ) {
238
+ $url = remove_query_arg( $event_date_aliases, $this->get_url() );
239
+ }
240
+
241
+ $url = add_query_arg( [ 'eventDate' => $date->format( $this->get_url_date_format() ) ], $url );
242
+
243
+ if ( ! empty( $url ) && $canonical ) {
244
+ $input_url = $url;
245
+
246
+ if ( ! empty( $passthru_vars ) ) {
247
+ $input_url = remove_query_arg( array_keys( $passthru_vars ), $url );
248
+ }
249
+
250
+ // Make sure the view slug is always set to correctly match rewrites.
251
+ $input_url = add_query_arg( [ 'eventDisplay' => $this->slug ], $input_url );
252
+
253
+ $canonical_url = tribe( 'events.rewrite' )->get_clean_url( $input_url );
254
+
255
+ if ( ! empty( $passthru_vars ) ) {
256
+ $canonical_url = add_query_arg( $passthru_vars, $canonical_url );
257
+ }
258
+
259
+ $url = $canonical_url;
260
+ }
261
+
262
+ return $url;
263
+ }
264
+
265
+ /**
266
+ * Return the PHP `date` format that should be used to build the View URL when targeting a specific date.
267
+ *
268
+ * @since 4.9.9
269
+ *
270
+ * @return string The PHP `date` format that should be used to build the View URL when targeting a specific date;
271
+ * e.g. `Y-m` for Month View, or `Y-m-d` for Week View.
272
+ */
273
+ abstract protected function get_url_date_format();
274
  }
src/Tribe/Views/V2/Views/Month_View.php CHANGED
@@ -43,178 +43,86 @@ class Month_View extends By_Day_View {
43
  */
44
  protected $publicly_visible = true;
45
 
46
- /**
47
- * An instance of the Week Stack object.
48
- *
49
- * @since 4.9.7
50
- *
51
- * @var Stack
52
- */
53
- protected $stack;
54
-
55
- /**
56
- * Month_View constructor.
57
- *
58
- * @since 4.9.7
59
- *
60
- * @param Stack $stack An instance of the Stack object.
61
- */
62
- public function __construct( Stack $stack) {
63
- parent::__construct();
64
- $this->stack = $stack;
65
- }
66
-
67
  /**
68
  * {@inheritDoc}
69
  */
70
  public function prev_url( $canonical = false, array $passthru_vars = [] ) {
71
- // Fetch the current repository, to ensure we maintain repository arguments.
72
- $current_repository = tribe_events()->by_args( $this->setup_repository_args() );
73
-
74
  // Setup the Default date for the month view here.
75
- $default_date = 'today';
76
- $date = $this->context->get( 'event_date', $default_date );
77
- $event_date_var = $default_date === $date ? '' : $date;
78
-
79
- // Get the last day of the previous month.
80
- $prev_date = date( 'Y-m-t', strtotime( $date . ' -1 month' ) );
81
-
82
- // Clone the current repository and check if we have an event on the last day of the previous month.
83
- $prev = clone $current_repository;
84
- $start = tribe_beginning_of_day( $prev_date );
85
- $end = tribe_end_of_day( $prev_date );
86
- $prev->where( 'date_overlaps', $start, $end )->order( 'DESC' )->per_page( 1 );
87
-
88
- $prev_event = $prev->first();
89
- $has_prev = $prev->found();
90
-
91
- if ( ! $has_prev ) {
92
- // Get the beginning of the first day of the current month.
93
- $prev_date = tribe_beginning_of_day( date( 'Y-m-01', strtotime( $date ) ) );
94
-
95
- /*
96
- * Clone the current repository and query for the first event
97
- * before the start of the current month.
98
- */
99
- $prev = clone $current_repository;
100
- $prev->where( 'starts_before', $prev_date )->order( 'DESC' )->per_page( 1 );
101
-
102
- $prev_event = $prev->first();
103
- $has_prev = $prev->found();
104
-
105
- if ( ! $has_prev ) {
106
- return '';
107
- }
108
- }
109
-
110
- $prev_date = tribe_get_start_date( $prev_event, false, 'Y-m' );
111
-
112
- $query_args = [ 'eventDate' => $prev_date ];
113
- $url = remove_query_arg( [ 'tribe-bar-date' ], $this->get_url() );
114
- $url = add_query_arg( $query_args, $url );
115
-
116
- if ( ! empty( $url ) && $canonical ) {
117
- $input_url = $url;
118
-
119
- if ( ! empty( $passthru_vars ) ) {
120
- $input_url = remove_query_arg( array_keys( $passthru_vars ), $url );
121
  }
122
 
123
- // Make sure the view slug is always set to correctly match rewrites.
124
- $input_url = add_query_arg( [ 'eventDisplay' => $this->slug ], $input_url );
125
-
126
- $canonical_url = tribe( 'events.rewrite' )->get_clean_url( $input_url );
127
-
128
- if ( ! empty( $passthru_vars ) ) {
129
- $canonical_url = add_query_arg( $passthru_vars, $canonical_url );
 
 
 
 
 
130
  }
131
-
132
- $url = $canonical_url;
133
  }
134
 
135
- $url = $this->filter_prev_url( $canonical, $url );
136
 
137
- return $url;
138
  }
139
 
140
  /**
141
  * {@inheritDoc}
142
  */
143
  public function next_url( $canonical = false, array $passthru_vars = [] ) {
144
- // Fetch the current repository, to ensure we maintain repository arguments.
145
- $current_repository = tribe_events()->by_args( $this->setup_repository_args() );
146
-
147
  // Setup the Default date for the month view here.
148
- $default_date = 'today';
149
- $date = $this->context->get( 'event_date', $default_date );
150
- $event_date_var = $default_date === $date ? '' : $date;
151
-
152
- // Get the first day of the next month
153
- $next_date = date( 'Y-m-01', strtotime( $date . ' +1 month' ) );
154
-
155
- // Clone the current repository and check if we have an event on the first day of the next month.
156
- $next = clone $current_repository;
157
- $start = tribe_beginning_of_day( $next_date );
158
- $end = tribe_end_of_day( $next_date );
159
- $next->where( 'date_overlaps', $start, $end )->order( 'DESC' )->per_page( 1 );
160
-
161
- $next_event = $next->first();
162
- $has_next = $next->found();
163
-
164
- if ( ! $has_next ) {
165
- // Get the end of day for the last day of the current month
166
- $next_date = tribe_end_of_day( date( 'Y-m-t', strtotime( $date ) ) );
167
-
168
- /*
169
- * Clone the current repository and check if we have an
170
- * event starting before the end of the current month.
171
- */
172
- $next = clone $current_repository;
173
- $next->where( 'starts_after', $next_date )->order( 'DESC' )->per_page( 1 );
174
-
175
- $next_event = $next->first();
176
- $has_next = $next->found();
177
-
178
- if ( ! $has_next ) {
179
- return '';
180
- }
181
-
182
- $next_date = tribe_get_start_date( $next_event, false, 'Y-m' );
183
- }
184
-
185
- // Remove the day from the pagination link
186
- $next_date = date( 'Y-m', strtotime( $next_date ) );
187
-
188
- $query_args = [ 'eventDate' => $next_date ];
189
- $url = remove_query_arg( [ 'tribe-bar-date' ], $this->get_url() );
190
- $url = add_query_arg( $query_args, $url );
191
-
192
- /**
193
- * @todo @be move this repeating piece of code to the parent `View` class.
194
- */
195
- if ( ! empty( $url ) && $canonical ) {
196
- $input_url = $url;
197
-
198
- if ( ! empty( $passthru_vars ) ) {
199
- $input_url = remove_query_arg( array_keys( $passthru_vars ), $url );
200
  }
201
 
202
- // Make sure the view slug is always set to correctly match rewrites.
203
- $input_url = add_query_arg( [ 'eventDisplay' => $this->slug ], $input_url );
204
-
205
- $canonical_url = tribe( 'events.rewrite' )->get_clean_url( $input_url );
206
-
207
- if ( ! empty( $passthru_vars ) ) {
208
- $canonical_url = add_query_arg( $passthru_vars, $canonical_url );
 
 
 
 
 
209
  }
210
-
211
- $url = $canonical_url;
212
  }
213
 
214
- $url = $this->filter_next_url( $canonical, $url );
215
 
216
- return $url;
217
  }
 
218
  /**
219
  * {@inheritDoc}
220
  */
@@ -317,36 +225,6 @@ class Month_View extends By_Day_View {
317
  return array_merge( ...$week_stacks );
318
  }
319
 
320
- /**
321
- * Returns a portion of the parsed multi-day stacks.
322
- *
323
- * @since 4.9.7
324
- *
325
- * @param \DateTime|string $from The start of the portion to return.
326
- * @param \DateTime|string $to The end of the portion to return.
327
- *
328
- * @return array|null A slice of the multi-day stack, in the shape
329
- * `[ '2019-07-01' => [2, 3, false], , '2019-07-03' => [false, 3, 4]]`.
330
- */
331
- public function get_multiday_stack( $from, $to ) {
332
- $from = Dates::build_date_object( $from )->setTime( 0, 0 );
333
- $to = Dates::build_date_object( $to )->setTime( 23, 59, 59 );
334
-
335
- $events = $this->get_grid_days();
336
- $multiday_stack = $this->build_day_stacks( $events );
337
-
338
- $start_index = array_key_exists( $from->format( 'Y-m-d' ), $multiday_stack )
339
- ? array_search( $from->format( 'Y-m-d' ), array_keys( $multiday_stack ), true )
340
- : 0;
341
- $end_index = array_key_exists( $to->format( 'Y-m-d' ), $multiday_stack )
342
- ? array_search( $to->format( 'Y-m-d' ), array_keys( $multiday_stack ), true )
343
- : count( $multiday_stack ) - 1;
344
-
345
- $stack = array_slice( $multiday_stack, $start_index, $end_index - $start_index + 1, true );
346
-
347
- return $stack;
348
- }
349
-
350
  /**
351
  * Populates the data for each day in the grid and returns it.
352
  *
@@ -455,4 +333,42 @@ class Month_View extends By_Day_View {
455
  return [ Dates::build_date_object( $grid_start ), Dates::build_date_object( $grid_end ) ];
456
  }
457
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
  }
43
  */
44
  protected $publicly_visible = true;
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  /**
47
  * {@inheritDoc}
48
  */
49
  public function prev_url( $canonical = false, array $passthru_vars = [] ) {
 
 
 
50
  // Setup the Default date for the month view here.
51
+ $default_date = 'today';
52
+ $date = $this->context->get( 'event_date', $default_date );
53
+ $current_date = Dates::build_date_object( $date );
54
+
55
+ if ( $this->skip_empty() ) {
56
+ // Find the first event that starts before the start of this month.
57
+ $prev_event = tribe_events()
58
+ ->by_args( $this->filter_repository_args( $this->setup_repository_args() ) )
59
+ ->where( 'starts_before', tribe_beginning_of_day( $current_date->format( 'Y-m-01' ) ) )
60
+ ->order( 'DESC' )
61
+ ->first();
62
+ if ( ! $prev_event instanceof \WP_Post ) {
63
+ return $this->filter_prev_url( $canonical, '' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
 
66
+ // Show the closest date on which that event appears (but not the current date).
67
+ $prev_date = min(
68
+ $prev_event->dates->start,
69
+ $current_date->sub( new \DateInterval( 'P1M' ) )
70
+ );
71
+ } else {
72
+ $prev_date = Dates::build_date_object( $current_date->format( 'Y-m-01' ) );
73
+ $prev_date->sub( new \DateInterval( 'P1M' ) );
74
+ // Let's make sure to prevent users from paginating endlessly back when we know there are no more events.
75
+ $earliest = tribe_get_option( 'earliest_date', $prev_date );
76
+ if ( $current_date->format( 'Y-m' ) === Dates::build_date_object( $earliest )->format( 'Y-m' ) ) {
77
+ return $this->filter_prev_url( $canonical, '' );
78
  }
 
 
79
  }
80
 
81
+ $url = $this->build_url_for_date( $prev_date, $canonical, $passthru_vars );
82
 
83
+ return $this->filter_prev_url( $canonical, $url );
84
  }
85
 
86
  /**
87
  * {@inheritDoc}
88
  */
89
  public function next_url( $canonical = false, array $passthru_vars = [] ) {
 
 
 
90
  // Setup the Default date for the month view here.
91
+ $default_date = 'today';
92
+ $date = $this->context->get( 'event_date', $default_date );
93
+ $current_date = Dates::build_date_object( $date );
94
+
95
+ if ( $this->skip_empty() ) {
96
+ // The first event that ends after the end of the month; it could still begin in this month.
97
+ $next_event = tribe_events()
98
+ ->by_args( $this->filter_repository_args( $this->setup_repository_args() ) )
99
+ ->where( 'ends_after', tribe_end_of_day( $current_date->format( 'Y-m-t' ) ) )
100
+ ->order( 'ASC' )
101
+ ->first();
102
+ if ( ! $next_event instanceof \WP_Post ) {
103
+ return $this->filter_prev_url( $canonical, '' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  }
105
 
106
+ // At a minimum pick the next month or the month the next event starts in.
107
+ $next_date = max(
108
+ $next_event->dates->start,
109
+ $current_date->add( new \DateInterval( 'P1M' ) )
110
+ );
111
+ } else {
112
+ $next_date = Dates::build_date_object( $current_date->format( 'Y-m-01' ) );
113
+ $next_date->add( new \DateInterval( 'P1M' ) );
114
+ // Let's make sure to prevent users from paginating endlessly forward when we know there are no more events.
115
+ $latest = tribe_get_option( 'latest_date', $next_date );
116
+ if ( $current_date->format( 'Y-m' ) === Dates::build_date_object( $latest )->format( 'Y-m' ) ) {
117
+ return $this->filter_prev_url( $canonical, '' );
118
  }
 
 
119
  }
120
 
121
+ $url = $this->build_url_for_date( $next_date, $canonical, $passthru_vars );
122
 
123
+ return $this->filter_next_url( $canonical, $url );
124
  }
125
+
126
  /**
127
  * {@inheritDoc}
128
  */
225
  return array_merge( ...$week_stacks );
226
  }
227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  /**
229
  * Populates the data for each day in the grid and returns it.
230
  *
333
  return [ Dates::build_date_object( $grid_start ), Dates::build_date_object( $grid_end ) ];
334
  }
335
 
336
+ /**
337
+ * {@inheritDoc}
338
+ *
339
+ * @since 4.9.9
340
+ */
341
+ protected function get_label_format() {
342
+ // Something like "January".
343
+ return 'F';
344
+ }
345
+
346
+ /**
347
+ * Whether months w/o any event should be skipped while building navigation links or not.
348
+ *
349
+ * By default empty months will not be skipped.
350
+ *
351
+ * @since 4.9.9
352
+ *
353
+ * @return bool Whether to skip empty months or not.
354
+ */
355
+ protected function skip_empty() {
356
+ /**
357
+ * Filters whether months w/o any event should be skipped while building navigation links or not.
358
+ *
359
+ * @since 4.9.9
360
+ *
361
+ * @param bool $skip_empty Whether months w/o any event should be skipped while building
362
+ * navigation links or not; defaults to `false`.
363
+ * @param Month_View $this This Month View instance.
364
+ */
365
+ return (bool) apply_filters( 'tribe_events_views_v2_month_nav_skip_empty', false, $this );
366
+ }
367
+
368
+ /**
369
+ * {@inheritDoc}
370
+ */
371
+ protected function get_url_date_format() {
372
+ return 'Y-m';
373
+ }
374
  }
src/Tribe/iCal.php CHANGED
@@ -619,8 +619,8 @@ class Tribe__Events__iCal {
619
  $timezone_name = $this->get_timezone( $event_post );
620
  $timezone = Tribe__Events__Timezones::build_timezone_object( $timezone_name );
621
 
622
- $item[] = 'DTSTART;TZID="' . $timezone->getName() . '":' . $dtstart;
623
- $item[] = 'DTEND;TZID="' . $timezone->getName() . '":' . $dtend;
624
  }
625
 
626
  $item[] = 'DTSTAMP:' . date( $full_format, time() );
619
  $timezone_name = $this->get_timezone( $event_post );
620
  $timezone = Tribe__Events__Timezones::build_timezone_object( $timezone_name );
621
 
622
+ $item[] = 'DTSTART;TZID=' . $timezone->getName() . ':' . $dtstart;
623
+ $item[] = 'DTEND;TZID=' . $timezone->getName() . ':' . $dtend;
624
  }
625
 
626
  $item[] = 'DTSTAMP:' . date( $full_format, time() );
src/functions/template-tags/event.php CHANGED
@@ -5,15 +5,11 @@
5
  * @since 4.9.7
6
  */
7
 
8
- use Tribe\Utils\Lazy_Collection;
9
- use Tribe\Utils\Lazy_String;
10
- use Tribe\Utils\Post_Thumbnail;
11
- use Tribe__Date_Utils as Dates;
12
- use Tribe__Events__Timezones as Timezones;
13
 
14
  if ( ! function_exists( 'tribe_get_event' ) ) {
15
  /**
16
- * Fetches and returns a dedcorated post object representing an Event.
17
  *
18
  * @since 4.9.7
19
  *
@@ -64,6 +60,8 @@ if ( ! function_exists( 'tribe_get_event' ) ) {
64
  * @type Post_Thumbnail $thumbnail The post thumbnail information.
65
  * @type Lazy_String $schedule_details The event schedule details, as produced by the
66
  * `tribe_events_event_schedule_details` function.
 
 
67
  * }
68
  */
69
  function tribe_get_event( $event = null, $output = OBJECT, $filter = 'raw' ) {
@@ -89,153 +87,12 @@ if ( ! function_exists( 'tribe_get_event' ) ) {
89
  return $return;
90
  }
91
 
92
- $post = get_post( $event );
93
 
94
- if ( ! $post instanceof WP_Post ) {
95
  return null;
96
  }
97
 
98
- // Cache by post ID and filter.
99
- $cache_key = 'events_' . $post->ID . '_' . $filter;
100
- $cache = new Tribe__Cache();
101
- $cached = $cache->get( $cache_key, Tribe__Cache_Listener::TRIGGER_SAVE_POST );
102
-
103
- // Define a function to cache this event when, and if, one of the lazy properties is loaded.
104
- $cache_this = static function () use ( $cache, $cache_key, $post ) {
105
- /*
106
- * Cache without expiration, but only until a post of the types managed by The Events Calendar is
107
- * updated or created.
108
- */
109
- $cache->set( $cache_key, $post, 0, Tribe__Cache_Listener::TRIGGER_SAVE_POST );
110
- };
111
-
112
- if ( false !== $cached ) {
113
- switch ( $output ) {
114
- case ARRAY_A:
115
- return (array) $cached;
116
- case ARRAY_N:
117
- return array_values( (array) $cached );
118
- case OBJECT:
119
- default;
120
- return $cached;
121
- }
122
- }
123
-
124
- $post_id = $post->ID;
125
- $start_date = get_post_meta( $post_id, '_EventStartDate', true );
126
- $start_date_utc = get_post_meta( $post_id, '_EventStartDateUTC', true );
127
- $end_date = get_post_meta( $post_id, '_EventEndDate', true );
128
- $end_date_utc = get_post_meta( $post_id, '_EventEndDateUTC', true );
129
- $duration = (int) get_post_meta( $post_id, '_EventDuration', true );
130
- $timezone_string = Timezones::get_event_timezone_string( $post_id );
131
- $all_day = tribe_is_truthy( get_post_meta( $post_id, '_EventAllDay', true ) );
132
-
133
- // An event is multi-day if its end date is after the end-of-day cutoff of the start date.
134
- $end_of_day = tribe_end_of_day( $start_date );
135
- $timezone = Timezones::build_timezone_object( $timezone_string );
136
- $utc_timezone = new DateTimezone('UTC');
137
- $start_date_object = new DateTimeImmutable( $start_date, $timezone );
138
- $end_date_object = new DateTimeImmutable( $end_date, $timezone );
139
- $start_date_utc_object = new DateTimeImmutable( $start_date_utc, $utc_timezone );
140
- $end_date_utc_object = new DateTimeImmutable( $end_date_utc, $utc_timezone );
141
- $end_of_day_object = new DateTimeImmutable( $end_of_day, $timezone );
142
- $is_multiday = $end_of_day_object < $end_date_object;
143
- $multiday = false;
144
- // Without a context these values will not make sense; we'll set them if the `$filter` argument is a date.
145
- $starts_this_week = null;
146
- $ends_this_week = null;
147
- $happens_this_week = null;
148
- $this_week_duration = null;
149
- if ( Dates::is_valid_date( $filter ) ) {
150
- $week_start = Dates::build_date_object( $filter, $timezone );
151
- // Sunday is 0.
152
- $week_start_day = (int) get_option( 'start_of_week' );
153
- $offset = (int) $week_start->format( 'N' ) >= $week_start_day
154
- ? $week_start_day
155
- : $week_start->format( 'N' ) - $week_start_day;
156
-
157
- $week_start->setISODate( (int) $week_start->format( 'o' ), (int) $week_start->format( 'W' ), $offset );
158
- $week_end = clone $week_start;
159
- // 7 days later the week ends.
160
- $week_end->add( new DateInterval( 'P7D' ) );
161
- // Inclusive in respect to the start, exclusive to the end.
162
- $starts_this_week = $week_start <= $start_date_object && $start_date_object < $week_end;
163
- $ends_this_week = $week_start <= $end_date_object && $end_date_object < $week_end;
164
- $happens_this_week = $week_start <= $end_date_object && $start_date_object <= $week_end;
165
- if ( $happens_this_week ) {
166
- $this_week_duration = 1;
167
- if ( $is_multiday ) {
168
- /*
169
- * We add one second during this calculation to cope with all-day events starting on 12:00 AM.
170
- * Due to how DateTime diff works diffing two following midnights would yield a diff of 2 days.
171
- */
172
- $one_second = new \DateInterval( 'PT1S' );
173
-
174
- $this_week_duration = min(
175
- 7,
176
- $week_end->diff( $start_date_object->add( $one_second ) )->days + 1,
177
- $end_date_object->diff( $week_start )->days + 1,
178
- $end_date_object->diff( $start_date_object->add( $one_second ) )->days + 1
179
- );
180
- }
181
- }
182
- }
183
- // Multi-day events will span at least two days: the day they start on and the following one.
184
- if ( $is_multiday ) {
185
- /*
186
- * Count the number of cut-offs happening before the end date and add 1.
187
- * Do not add 1 for all-day events as they span cut-off to cut-off.
188
- */
189
- $multiday = $all_day ? 0 : 1;
190
- $one_day = new DateInterval( 'P1D' );
191
- // The end date should be inclusive, since it's not in the DatePeriod we work-around it adding a second.
192
- $period = new DatePeriod( $end_of_day_object, $one_day, $end_date_object );
193
- foreach ( $period as $date ) {
194
- ++ $multiday;
195
- };
196
- }
197
- $featured = tribe_is_truthy( get_post_meta( $post_id, Tribe__Events__Featured_Events::FEATURED_EVENT_KEY, true ) );
198
-
199
- $organizer_fetch = Tribe__Events__Organizer::get_fetch_callback( $post_id );
200
- $venue_fetch = Tribe__Events__Venue::get_fetch_callback( $post_id );
201
-
202
- $properties = [
203
- 'start_date' => $start_date,
204
- 'start_date_utc' => $start_date_utc,
205
- 'end_date' => $end_date,
206
- 'end_date_utc' => $end_date_utc,
207
- 'dates' => (object) [
208
- 'start' => $start_date_object,
209
- 'start_utc' => $start_date_utc_object,
210
- 'end' => $end_date_object,
211
- 'end_utc' => $end_date_utc_object,
212
- ],
213
- 'timezone' => $timezone_string,
214
- 'duration' => $duration,
215
- 'multiday' => $multiday,
216
- 'all_day' => $all_day,
217
- 'starts_this_week' => $starts_this_week,
218
- 'ends_this_week' => $ends_this_week,
219
- 'this_week_duration' => $this_week_duration,
220
- 'happens_this_week' => $happens_this_week,
221
- 'featured' => $featured,
222
- 'cost' => tribe_get_cost( $post_id ),
223
- 'organizers' => ( new Lazy_Collection( $organizer_fetch ) )->on_resolve( $cache_this ),
224
- 'venues' => ( new Lazy_Collection( $venue_fetch ) )->on_resolve( $cache_this ),
225
- 'thumbnail' => ( new Post_Thumbnail( $post_id ) )->on_resolve( $cache_this ),
226
- 'permalink' => get_permalink( $post_id ),
227
- 'schedule_details' => ( new Lazy_String(
228
- static function () use ( $post_id ) {
229
- return tribe_events_event_schedule_details( $post_id );
230
- },
231
- false
232
- ) )->on_resolve( $cache_this )
233
- ];
234
-
235
- foreach ( $properties as $key => $value ) {
236
- $post->{$key} = $value;
237
- }
238
-
239
  /**
240
  * Filters the event post object before caching it and returning it.
241
  *
5
  * @since 4.9.7
6
  */
7
 
8
+ use Tribe\Events\Models\Post_Types\Event;
 
 
 
 
9
 
10
  if ( ! function_exists( 'tribe_get_event' ) ) {
11
  /**
12
+ * Fetches and returns a decorated post object representing an Event.
13
  *
14
  * @since 4.9.7
15
  *
60
  * @type Post_Thumbnail $thumbnail The post thumbnail information.
61
  * @type Lazy_String $schedule_details The event schedule details, as produced by the
62
  * `tribe_events_event_schedule_details` function.
63
+ * @type Lazy_String $plain_schedule_details The event schedule details, without HTML
64
+ * tags.
65
  * }
66
  */
67
  function tribe_get_event( $event = null, $output = OBJECT, $filter = 'raw' ) {
87
  return $return;
88
  }
89
 
90
+ $post = Event::from_post( $event )->to_post( $output, $filter );
91
 
92
+ if ( empty( $post ) ) {
93
  return null;
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  /**
97
  * Filters the event post object before caching it and returning it.
98
  *
src/functions/template-tags/general.php CHANGED
@@ -1029,13 +1029,14 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
1029
  * @category Events
1030
  * @TODO use tribe_get_datetime_format() and related functions if possible
1031
  *
1032
- * @param int|null $event
1033
- * @param string $before
1034
- * @param string $after
 
1035
  *
1036
- * @return mixed|void
1037
  */
1038
- function tribe_events_event_schedule_details( $event = null, $before = '', $after = '' ) {
1039
  if ( is_null( $event ) ) {
1040
  global $post;
1041
  $event = $post;
@@ -1045,7 +1046,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
1045
  $event = get_post( $event );
1046
  }
1047
 
1048
- $inner = '<span class="tribe-event-date-start">';
1049
  $format = '';
1050
  $date_without_year_format = tribe_get_date_format();
1051
  $date_with_year_format = tribe_get_date_format( true );
@@ -1097,8 +1098,8 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
1097
 
1098
  if ( tribe_event_is_all_day( $event ) ) {
1099
  $inner .= tribe_get_start_date( $event, true, $format );
1100
- $inner .= '</span>' . $time_range_separator;
1101
- $inner .= '<span class="tribe-event-date-end">';
1102
 
1103
  $end_date_full = tribe_get_end_date( $event, true, Tribe__Date_Utils::DBDATETIMEFORMAT );
1104
  $end_date_full_timestamp = strtotime( $end_date_full );
@@ -1113,8 +1114,8 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
1113
  $inner .= $end_date;
1114
  } else {
1115
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1116
- $inner .= '</span>' . $time_range_separator;
1117
- $inner .= '<span class="tribe-event-date-end">';
1118
  $inner .= tribe_get_end_date( $event, false, $format2ndday ) . ( $time ? $datetime_separator . tribe_get_end_date( $event, false, $time_format ) : '' );
1119
  }
1120
  } elseif ( tribe_event_is_all_day( $event ) ) { // all day event
@@ -1124,13 +1125,13 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
1124
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1125
  } else { // defined start/end time
1126
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1127
- $inner .= '</span>' . ( $show_end_time ? $time_range_separator : '' );
1128
- $inner .= '<span class="tribe-event-time">';
1129
  $inner .= ( $show_end_time ? tribe_get_end_date( $event, false, $time_format ) : '' );
1130
  }
1131
  }
1132
 
1133
- $inner .= '</span>';
1134
 
1135
  /**
1136
  * Provides an opportunity to modify the *inner* schedule details HTML (ie before it is
1029
  * @category Events
1030
  * @TODO use tribe_get_datetime_format() and related functions if possible
1031
  *
1032
+ * @param int|null $event The event post ID, or `null` to use the global event.
1033
+ * @param string $before A string to prepend before the schedule details.
1034
+ * @param string $after A string to append after the schedule details.
1035
+ * @param bool $html Whether to use HTML elements in the output string or not; defaults to `true`.
1036
  *
1037
+ * @return string The human-readable event schedule details formatted according to the current settings.
1038
  */
1039
+ function tribe_events_event_schedule_details( $event = null, $before = '', $after = '', $html = true ) {
1040
  if ( is_null( $event ) ) {
1041
  global $post;
1042
  $event = $post;
1046
  $event = get_post( $event );
1047
  }
1048
 
1049
+ $inner = $html ? '<span class="tribe-event-date-start">' : '';
1050
  $format = '';
1051
  $date_without_year_format = tribe_get_date_format();
1052
  $date_with_year_format = tribe_get_date_format( true );
1098
 
1099
  if ( tribe_event_is_all_day( $event ) ) {
1100
  $inner .= tribe_get_start_date( $event, true, $format );
1101
+ $inner .= ( $html ? '</span>' : '' ) . $time_range_separator;
1102
+ $inner .= $html ? '<span class="tribe-event-date-end">' : '';
1103
 
1104
  $end_date_full = tribe_get_end_date( $event, true, Tribe__Date_Utils::DBDATETIMEFORMAT );
1105
  $end_date_full_timestamp = strtotime( $end_date_full );
1114
  $inner .= $end_date;
1115
  } else {
1116
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1117
+ $inner .= ( $html ? '</span>' : '' ) . $time_range_separator;
1118
+ $inner .= $html ? '<span class="tribe-event-date-end">' : '';
1119
  $inner .= tribe_get_end_date( $event, false, $format2ndday ) . ( $time ? $datetime_separator . tribe_get_end_date( $event, false, $time_format ) : '' );
1120
  }
1121
  } elseif ( tribe_event_is_all_day( $event ) ) { // all day event
1125
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1126
  } else { // defined start/end time
1127
  $inner .= tribe_get_start_date( $event, false, $format ) . ( $time ? $datetime_separator . tribe_get_start_date( $event, false, $time_format ) : '' );
1128
+ $inner .= ( $html ? '</span>' : '' ) . ( $show_end_time ? $time_range_separator : '' );
1129
+ $inner .= $html ? '<span class="tribe-event-time">' : '';
1130
  $inner .= ( $show_end_time ? tribe_get_end_date( $event, false, $time_format ) : '' );
1131
  }
1132
  }
1133
 
1134
+ $inner .= $html ? '</span>' : '';
1135
 
1136
  /**
1137
  * Provides an opportunity to modify the *inner* schedule details HTML (ie before it is
src/functions/template-tags/venue.php CHANGED
@@ -4,10 +4,83 @@
4
  *
5
  * Display functions (template-tags) for use in WordPress templates.
6
  */
 
7
 
8
- // Don't load directly
9
- if ( ! defined( 'ABSPATH' ) ) {
10
- die( '-1' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
 
13
  if ( class_exists( 'Tribe__Events__Main' ) ) {
@@ -716,7 +789,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
716
  return array();
717
  }
718
 
719
- $venue_details = array();
720
 
721
  if ( $venue_link = tribe_get_venue_link( $post_id ) ) {
722
  $venue_details['linked_name'] = $venue_link;
4
  *
5
  * Display functions (template-tags) for use in WordPress templates.
6
  */
7
+ use Tribe\Events\Models\Post_Types\Venue;
8
 
9
+ /**
10
+ * Fetches and returns a decorated post object representing a Venue.
11
+ *
12
+ * @since 4.9.9
13
+ *
14
+ * @param null|int|WP_Post $venue The venue ID or post object or `null` to use the global one.
15
+ * @param string|null $output The required return type. One of `OBJECT`, `ARRAY_A`, or `ARRAY_N`, which
16
+ * correspond to a WP_Post object, an associative array, or a numeric array,
17
+ * respectively. Defaults to `OBJECT`.
18
+ * @param string $filter Type of filter to apply. Accepts 'raw'.
19
+ *
20
+ * @return array|mixed|void|WP_Post|null {
21
+ * The Venue post object or array, `null` if not found.
22
+ *
23
+ * @type string $address The venue address field, normally street and number.
24
+ * @type string $country Which country the venue happens, full name of the country, no abbr.
25
+ * @type string $city The city for the venue.
26
+ * @type string $state_province State or province for the venue, avaiable for venues outside of the US.
27
+ * @type string $state The state for the venue in case of a US based venue.
28
+ * @type string $province Province for the venue, mostly deprecated, use state_province.
29
+ * @type string $zip Zip code of the venue.
30
+ * @type boolean $overwrite_coordinates Did this venue get it's coordinates overwritten manually.
31
+ * @type string $latitude The latitude of the venue.
32
+ * @type string $longitude The longitude of the venue.
33
+ * @type string $geolocation_string The string we use to crawl and link to the maps provider.
34
+ * }
35
+ */
36
+ function tribe_get_venue_object( $venue = null, $output = OBJECT, $filter = 'raw' ) {
37
+ /**
38
+ * Filters the venue result before any logic applies.
39
+ *
40
+ * Returning a non `null` value here will short-circuit the function and return the value.
41
+ * Note: this value will not be cached and the caching of this value is a duty left to the filtering function.
42
+ *
43
+ * @since 4.9.9
44
+ *
45
+ * @param mixed $return The venue object to return.
46
+ * @param mixed $venue The venue object to fetch.
47
+ * @param string|null $output The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which
48
+ * correspond to a `WP_Post` object, an associative array, or a numeric array,
49
+ * respectively. Defaults to `OBJECT`.
50
+ * @param string $filter Type of filter to apply. Accepts 'raw'.
51
+ */
52
+ $return = apply_filters( 'tribe_get_venue_object_before', null, $venue, $output, $filter );
53
+
54
+ if ( null !== $return ) {
55
+ return $return;
56
+ }
57
+
58
+ $post = Venue::from_post( $venue )->to_post( $output, $filter );
59
+
60
+ if ( empty( $post ) ) {
61
+ return null;
62
+ }
63
+
64
+ /**
65
+ * Filters the venue post object before caching it and returning it.
66
+ *
67
+ * Note: this value will be cached; as such this filter might not run on each request.
68
+ * If you need to filter the output value on each call of this function then use the `tribe_get_venue_object_before`
69
+ * filter.
70
+ *
71
+ * @since 4.9.7
72
+ *
73
+ * @param WP_Post $post The venue post object, decorated with a set of custom properties.
74
+ * @param string $output The output format to use.
75
+ * @param string $filter The filter, or context of the fetch.
76
+ */
77
+ $post = apply_filters( 'tribe_get_venue_object', $post, $output, $filter );
78
+
79
+ if ( OBJECT !== $output ) {
80
+ $post = ARRAY_A === $output ? (array) $post : array_values( (array) $post );
81
+ }
82
+
83
+ return $post;
84
  }
85
 
86
  if ( class_exists( 'Tribe__Events__Main' ) ) {
789
  return array();
790
  }
791
 
792
+ $venue_details = [];
793
 
794
  if ( $venue_link = tribe_get_venue_link( $post_id ) ) {
795
  $venue_details['linked_name'] = $venue_link;
src/resources/css/{views/tribe-events-v2.css → views-full.css} RENAMED
@@ -288,6 +288,10 @@
288
  * Anchor - Thin
289
  * ----------------------------------------------------------------------------- */
290
 
 
 
 
 
291
  /* -----------------------------------------------------------------------------
292
  * Button - Global
293
  * ----------------------------------------------------------------------------- */
@@ -618,6 +622,16 @@
618
  background: #F7F6F6;
619
  }
620
 
 
 
 
 
 
 
 
 
 
 
621
  /* -----------------------------------------------------------------------------
622
  * Theme Overrides - Divi
623
  * ----------------------------------------------------------------------------- */
@@ -1206,18 +1220,21 @@
1206
  *
1207
  * ----------------------------------------------------------------------------- */
1208
 
 
 
 
 
 
 
 
 
1209
  .tribe-events .tribe-events-c-small-cta__link {
1210
  cursor: pointer;
1211
  }
1212
 
1213
- .tribe-events .tribe-events-c-small-cta__price {
1214
- color: #141827;
1215
- font-family: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
1216
- font-size: 12px;
1217
- line-height: 1.38;
1218
- font-weight: 400;
1219
- padding-left: 10px;
1220
-
1221
  }
1222
 
1223
  /* Search */
@@ -1840,6 +1857,21 @@
1840
  margin-bottom: 16px;
1841
  }
1842
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1843
  .tribe-events .tribe-events-calendar-list__event-featured-image {
1844
  padding-bottom: 56.25%;
1845
  }
@@ -1853,32 +1885,23 @@
1853
  margin-bottom: 0;
1854
  }
1855
 
1856
- .tribe-events .tribe-events-calendar-list__event-datetime-wrapper {
1857
- -webkit-box-align: center;
1858
- align-items: center;
1859
- display: -webkit-box;
1860
- display: flex;
1861
  margin-bottom: 8px;
1862
- position: relative;
1863
  }
1864
 
1865
- .tribe-events .tribe-events-calendar-list__event-datetime-featured-icon {
1866
- margin-right: 8px;
1867
- }
1868
 
1869
- .tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
1870
- border: 0;
1871
- clip: rect(0 0 0 0);
1872
- height: 1px;
1873
- margin: -1px;
1874
- overflow: hidden;
1875
- padding: 0;
1876
- position: absolute;
1877
- width: 1px;
1878
  }
1879
 
1880
- .tribe-events .tribe-events-calendar-list__event-title {
1881
- margin-bottom: 8px;
 
1882
  }
1883
 
1884
  /* .tribe-events-calendar-list__event-title-link {} */
@@ -1892,6 +1915,10 @@
1892
  visibility: hidden;
1893
  }
1894
 
 
 
 
 
1895
  /* -----------------------------------------------------------------------------
1896
  * Month Separator
1897
  * ----------------------------------------------------------------------------- */
@@ -1988,6 +2015,21 @@
1988
  margin-bottom: 4px;
1989
  }
1990
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1991
  .tribe-events .tribe-events-calendar-month__calendar-event-featured-image {
1992
  padding-bottom: 56.25%;
1993
  }
@@ -2025,26 +2067,54 @@
2025
  }
2026
 
2027
  .tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured {
2028
- margin-right: 3px;
2029
  }
2030
 
2031
  .tribe-events .tribe-events-calendar-month__calendar-event-datetime-recurring {
2032
- margin-left: 3px;
2033
  }
2034
 
2035
- /* .tribe-events-calendar-month__calendar-event-title-link {} */
 
 
2036
 
2037
  .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper {
2038
- margin-bottom: 16px;
 
2039
  }
2040
 
2041
- /* .tribe-events-calendar-month__calendar-event-title {} */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2042
 
2043
  .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
2044
  padding-bottom: 56.25%;
2045
  }
2046
 
2047
- .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-cta {
 
 
 
 
 
 
 
 
2048
  margin-top: 16px;
2049
  }
2050
 
@@ -2106,6 +2176,16 @@
2106
  opacity: 0.4;
2107
  }
2108
 
 
 
 
 
 
 
 
 
 
 
2109
  .tribe-events .tribe-events-calendar-month__day-cell {
2110
  height: 100%;
2111
  width: 100%;
@@ -2146,10 +2226,12 @@
2146
 
2147
  .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event {
2148
  background-color: #FFFFFF;
 
2149
  }
2150
 
2151
  .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured {
2152
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23FFFFFF'/%3E%3C/svg%3E");
 
2153
  }
2154
 
2155
  .tribe-events .tribe-events-calendar-month__day-date-link {
@@ -2185,6 +2267,15 @@
2185
  flex: auto;
2186
  }
2187
 
 
 
 
 
 
 
 
 
 
2188
  /* -----------------------------------------------------------------------------
2189
  * Theme Overrides - Avada
2190
  * ----------------------------------------------------------------------------- */
@@ -2222,17 +2313,12 @@
2222
  padding-bottom: 20px;
2223
  }
2224
 
2225
- .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event--featured .tribe-events-calendar-month-mobile-events__mobile-event-details {
2226
- border-left: 3px solid #334AFF;
2227
- padding-left: 20px;
2228
- }
2229
-
2230
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper {
2231
- margin-bottom: 16px;
2232
  }
2233
 
2234
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image {
2235
- padding-bottom: 75%;
2236
  }
2237
 
2238
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
@@ -2244,13 +2330,26 @@
2244
  vertical-align: middle;
2245
  }
2246
 
2247
- .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured,
2248
- .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring {
2249
  display: inline-block;
2250
- margin-right: 3px;
2251
  }
2252
 
2253
- .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cta {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2254
  margin-top: 8px;
2255
  }
2256
 
@@ -2419,13 +2518,26 @@
2419
  flex-direction: column;
2420
  margin-bottom: 24px;
2421
  margin-top: 32px;
2422
- padding-left: calc(25% - 10.5px);
2423
  }
2424
 
2425
  .tribe-events .tribe-events-calendar-day__event:last-child {
2426
  margin-bottom: 40px;
2427
  }
2428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2429
  .tribe-events .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
2430
  margin-top: 20px;
2431
  }
@@ -2436,6 +2548,21 @@
2436
  margin-bottom: 16px;
2437
  }
2438
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2439
  .tribe-events .tribe-events-calendar-day__event-featured-image {
2440
  padding-bottom: 56.25%;
2441
  }
@@ -2443,27 +2570,30 @@
2443
  .tribe-events .tribe-events-calendar-day__event-details {
2444
  -webkit-box-flex: 0;
2445
  flex: none;
 
2446
  }
2447
 
2448
  .tribe-events .tribe-events-calendar-day__event-header > *:last-child {
2449
  margin-bottom: 0;
2450
  }
2451
 
2452
- .tribe-events .tribe-events-calendar-day__event-datetime-wrapper {
2453
- -webkit-box-align: center;
2454
- align-items: center;
2455
- display: -webkit-box;
2456
- display: flex;
2457
  margin-bottom: 8px;
2458
- position: relative;
2459
  }
2460
 
 
 
 
 
2461
  .tribe-events .tribe-events-calendar-day__event-datetime-featured-icon {
2462
- margin-left: 10px;
 
2463
  }
2464
 
2465
- .tribe-events .tribe-events-calendar-day__event-title {
2466
- margin-bottom: 8px;
 
2467
  }
2468
 
2469
  /* .tribe-events-calendar-day__event-title-link {} */
@@ -2477,6 +2607,10 @@
2477
  visibility: hidden;
2478
  }
2479
 
 
 
 
 
2480
  /* -----------------------------------------------------------------------------
2481
  * Nav
2482
  * ----------------------------------------------------------------------------- */
@@ -2523,6 +2657,10 @@
2523
  margin-top: 16px
2524
  }
2525
 
 
 
 
 
2526
  .tribe-events .tribe-events-c-events-bar {
2527
  border: 1px solid #E4E4E4;
2528
  -webkit-box-orient: horizontal;
@@ -2932,7 +3070,8 @@
2932
  width: 62.5%
2933
  }
2934
 
2935
- .tribe-events .tribe-events-calendar-list__event-datetime-wrapper {
 
2936
  margin-bottom: 16px
2937
  }
2938
 
@@ -2948,10 +3087,6 @@
2948
  margin-right: 8px
2949
  }
2950
 
2951
- .tribe-events .tribe-events-calendar-list__event-title {
2952
- margin-bottom: 16px
2953
- }
2954
-
2955
  .tribe-events .tribe-events-calendar-list__event-venue {
2956
  margin-bottom: 16px
2957
  }
@@ -2962,6 +3097,10 @@
2962
  visibility: visible
2963
  }
2964
 
 
 
 
 
2965
  .tribe-events .tribe-events-calendar-list-nav {
2966
  padding-top: 32px
2967
  }
@@ -3060,6 +3199,11 @@
3060
  margin-bottom: 64px
3061
  }
3062
 
 
 
 
 
 
3063
  .tribe-events .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
3064
  margin-top: 40px
3065
  }
@@ -3074,12 +3218,21 @@
3074
  width: 55.555%
3075
  }
3076
 
3077
- .tribe-events .tribe-events-calendar-day__event-datetime-wrapper {
 
3078
  margin-bottom: 16px
3079
  }
3080
 
3081
- .tribe-events .tribe-events-calendar-day__event-title {
3082
- margin-bottom: 16px
 
 
 
 
 
 
 
 
3083
  }
3084
 
3085
  .tribe-events .tribe-events-calendar-day__event-venue {
@@ -3092,6 +3245,10 @@
3092
  visibility: visible
3093
  }
3094
 
 
 
 
 
3095
  .tribe-events .tribe-events-calendar-day-nav {
3096
  padding-top: 32px
3097
  }
@@ -3102,4 +3259,4 @@
3102
  .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
3103
  margin-left: 28%
3104
  }
3105
- }
288
  * Anchor - Thin
289
  * ----------------------------------------------------------------------------- */
290
 
291
+ /* -----------------------------------------------------------------------------
292
+ * Anchor - Thin
293
+ * ----------------------------------------------------------------------------- */
294
+
295
  /* -----------------------------------------------------------------------------
296
  * Button - Global
297
  * ----------------------------------------------------------------------------- */
622
  background: #F7F6F6;
623
  }
624
 
625
+ /* -----------------------------------------------------------------------------
626
+ *
627
+ * Datepicker: V1 Style Overrides
628
+ *
629
+ * ----------------------------------------------------------------------------- */
630
+
631
+ .admin-bar .tribe-events .datepicker {
632
+ margin-top: 8px;
633
+ }
634
+
635
  /* -----------------------------------------------------------------------------
636
  * Theme Overrides - Divi
637
  * ----------------------------------------------------------------------------- */
1220
  *
1221
  * ----------------------------------------------------------------------------- */
1222
 
1223
+ .tribe-events .tribe-events-c-small-cta > * {
1224
+ margin-left: 8px;
1225
+ }
1226
+
1227
+ .tribe-events .tribe-events-c-small-cta > *:first-child {
1228
+ margin-left: 0;
1229
+ }
1230
+
1231
  .tribe-events .tribe-events-c-small-cta__link {
1232
  cursor: pointer;
1233
  }
1234
 
1235
+ .tribe-events .tribe-events-c-small-cta__stock {
1236
+ color: #727272;
1237
+ margin-left: 4px;
 
 
 
 
 
1238
  }
1239
 
1240
  /* Search */
1857
  margin-bottom: 16px;
1858
  }
1859
 
1860
+ .tribe-events .tribe-events-calendar-list__event-featured-image-link {
1861
+ display: block;
1862
+ -webkit-transition: opacity 0.2s ease;
1863
+ transition: opacity 0.2s ease;
1864
+ }
1865
+
1866
+ .tribe-events .tribe-events-calendar-list__event-featured-image-link:hover,
1867
+ .tribe-events .tribe-events-calendar-list__event-featured-image-link:focus {
1868
+ opacity: 0.8;
1869
+ }
1870
+
1871
+ .tribe-events .tribe-events-calendar-list__event-featured-image-link:active {
1872
+ opacity: 0.9;
1873
+ }
1874
+
1875
  .tribe-events .tribe-events-calendar-list__event-featured-image {
1876
  padding-bottom: 56.25%;
1877
  }
1885
  margin-bottom: 0;
1886
  }
1887
 
1888
+ .tribe-events .tribe-events-calendar-list__event-datetime-wrapper,
1889
+ .tribe-events .tribe-events-calendar-list__event-title {
 
 
 
1890
  margin-bottom: 8px;
 
1891
  }
1892
 
1893
+ .tribe-events .tribe-events-calendar-list__event-datetime-wrapper:last-child, .tribe-events .tribe-events-calendar-list__event-title:last-child {
1894
+ margin-bottom: 0;
1895
+ }
1896
 
1897
+ .tribe-events .tribe-events-calendar-list__event-datetime-featured-icon {
1898
+ display: inline-block;
1899
+ margin-right: 4px;
 
 
 
 
 
 
1900
  }
1901
 
1902
+ .tribe-events .tribe-events-calendar-list__event-datetime-recurring-icon {
1903
+ display: inline-block;
1904
+ margin-left: 4px;
1905
  }
1906
 
1907
  /* .tribe-events-calendar-list__event-title-link {} */
1915
  visibility: hidden;
1916
  }
1917
 
1918
+ .tribe-events .tribe-events-calendar-list__event-cost {
1919
+ margin-top: 12px;
1920
+ }
1921
+
1922
  /* -----------------------------------------------------------------------------
1923
  * Month Separator
1924
  * ----------------------------------------------------------------------------- */
2015
  margin-bottom: 4px;
2016
  }
2017
 
2018
+ .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link {
2019
+ display: block;
2020
+ -webkit-transition: opacity 0.2s ease;
2021
+ transition: opacity 0.2s ease;
2022
+ }
2023
+
2024
+ .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:hover,
2025
+ .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:focus {
2026
+ opacity: 0.8;
2027
+ }
2028
+
2029
+ .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:active {
2030
+ opacity: 0.9;
2031
+ }
2032
+
2033
  .tribe-events .tribe-events-calendar-month__calendar-event-featured-image {
2034
  padding-bottom: 56.25%;
2035
  }
2067
  }
2068
 
2069
  .tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured {
2070
+ margin-right: 4px;
2071
  }
2072
 
2073
  .tribe-events .tribe-events-calendar-month__calendar-event-datetime-recurring {
2074
+ margin-left: 4px;
2075
  }
2076
 
2077
+ /* -----------------------------------------------------------------------------
2078
+ * Calendar Event Tooltip
2079
+ * ----------------------------------------------------------------------------- */
2080
 
2081
  .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper {
2082
+ margin-bottom: 12px;
2083
+ width: 206px;
2084
  }
2085
 
2086
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper:last-child {
2087
+ margin-bottom: 0;
2088
+ }
2089
+
2090
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link {
2091
+ display: block;
2092
+ -webkit-transition: opacity 0.2s ease;
2093
+ transition: opacity 0.2s ease;
2094
+ }
2095
+
2096
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:hover,
2097
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:focus {
2098
+ opacity: 0.8;
2099
+ }
2100
+
2101
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:active {
2102
+ opacity: 0.9;
2103
+ }
2104
 
2105
  .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
2106
  padding-bottom: 56.25%;
2107
  }
2108
 
2109
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description {
2110
+ margin-bottom: 8px;
2111
+ }
2112
+
2113
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description:last-child {
2114
+ margin-bottom: 0;
2115
+ }
2116
+
2117
+ .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-cost {
2118
  margin-top: 16px;
2119
  }
2120
 
2176
  opacity: 0.4;
2177
  }
2178
 
2179
+ .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--event {
2180
+ background-color: #141827;
2181
+ opacity: 0.5;
2182
+ }
2183
+
2184
+ .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured {
2185
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23141827'/%3E%3C/svg%3E");
2186
+ opacity: 0.5;
2187
+ }
2188
+
2189
  .tribe-events .tribe-events-calendar-month__day-cell {
2190
  height: 100%;
2191
  width: 100%;
2226
 
2227
  .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event {
2228
  background-color: #FFFFFF;
2229
+ opacity: 1;
2230
  }
2231
 
2232
  .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured {
2233
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23FFFFFF'/%3E%3C/svg%3E");
2234
+ opacity: 1;
2235
  }
2236
 
2237
  .tribe-events .tribe-events-calendar-month__day-date-link {
2267
  flex: auto;
2268
  }
2269
 
2270
+ /* -------------------------------------------------------------------------
2271
+ * Theme Overrides - Twenty Seventeen
2272
+ * ------------------------------------------------------------------------- */
2273
+
2274
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
2275
+ .tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
2276
+ background-color: #334AFF;
2277
+ }
2278
+
2279
  /* -----------------------------------------------------------------------------
2280
  * Theme Overrides - Avada
2281
  * ----------------------------------------------------------------------------- */
2313
  padding-bottom: 20px;
2314
  }
2315
 
 
 
 
 
 
2316
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper {
2317
+ margin-bottom: 12px;
2318
  }
2319
 
2320
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image {
2321
+ padding-bottom: 56.25%;
2322
  }
2323
 
2324
  .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
2330
  vertical-align: middle;
2331
  }
2332
 
2333
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon,
2334
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon {
2335
  display: inline-block;
 
2336
  }
2337
 
2338
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon {
2339
+ margin-right: 4px;
2340
+ }
2341
+
2342
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon {
2343
+ margin-left: 4px;
2344
+ }
2345
+
2346
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
2347
+ color: #334AFF;
2348
+ font-weight: 700;
2349
+ margin-right: 8px;
2350
+ }
2351
+
2352
+ .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cost {
2353
  margin-top: 8px;
2354
  }
2355
 
2518
  flex-direction: column;
2519
  margin-bottom: 24px;
2520
  margin-top: 32px;
2521
+ padding-left: 42px;
2522
  }
2523
 
2524
  .tribe-events .tribe-events-calendar-day__event:last-child {
2525
  margin-bottom: 40px;
2526
  }
2527
 
2528
+ .tribe-events .tribe-events-calendar-day__event--featured {
2529
+ position: relative;
2530
+ }
2531
+
2532
+ .tribe-events .tribe-events-calendar-day__event--featured:before {
2533
+ background: #334AFF;
2534
+ content: '';
2535
+ height: 100%;
2536
+ left: 21px;
2537
+ position: absolute;
2538
+ width: 3px;
2539
+ }
2540
+
2541
  .tribe-events .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
2542
  margin-top: 20px;
2543
  }
2548
  margin-bottom: 16px;
2549
  }
2550
 
2551
+ .tribe-events .tribe-events-calendar-day__event-featured-image-link {
2552
+ display: block;
2553
+ -webkit-transition: opacity 0.2s ease;
2554
+ transition: opacity 0.2s ease;
2555
+ }
2556
+
2557
+ .tribe-events .tribe-events-calendar-day__event-featured-image-link:hover,
2558
+ .tribe-events .tribe-events-calendar-day__event-featured-image-link:focus {
2559
+ opacity: 0.8;
2560
+ }
2561
+
2562
+ .tribe-events .tribe-events-calendar-day__event-featured-image-link:active {
2563
+ opacity: 0.9;
2564
+ }
2565
+
2566
  .tribe-events .tribe-events-calendar-day__event-featured-image {
2567
  padding-bottom: 56.25%;
2568
  }
2570
  .tribe-events .tribe-events-calendar-day__event-details {
2571
  -webkit-box-flex: 0;
2572
  flex: none;
2573
+ position: relative;
2574
  }
2575
 
2576
  .tribe-events .tribe-events-calendar-day__event-header > *:last-child {
2577
  margin-bottom: 0;
2578
  }
2579
 
2580
+ .tribe-events .tribe-events-calendar-day__event-datetime-wrapper,
2581
+ .tribe-events .tribe-events-calendar-day__event-title {
 
 
 
2582
  margin-bottom: 8px;
 
2583
  }
2584
 
2585
+ .tribe-events .tribe-events-calendar-day__event-datetime-wrapper:last-child, .tribe-events .tribe-events-calendar-day__event-title:last-child {
2586
+ margin-bottom: 0;
2587
+ }
2588
+
2589
  .tribe-events .tribe-events-calendar-day__event-datetime-featured-icon {
2590
+ display: inline-block;
2591
+ margin-right: 4px;
2592
  }
2593
 
2594
+ .tribe-events .tribe-events-calendar-day__event-datetime-recurring-icon {
2595
+ display: inline-block;
2596
+ margin-left: 4px;
2597
  }
2598
 
2599
  /* .tribe-events-calendar-day__event-title-link {} */
2607
  visibility: hidden;
2608
  }
2609
 
2610
+ .tribe-events .tribe-events-calendar-day__event-cost {
2611
+ margin-top: 12px;
2612
+ }
2613
+
2614
  /* -----------------------------------------------------------------------------
2615
  * Nav
2616
  * ----------------------------------------------------------------------------- */
2657
  margin-top: 16px
2658
  }
2659
 
2660
+ .admin-bar .tribe-events .datepicker {
2661
+ margin-top: 16px
2662
+ }
2663
+
2664
  .tribe-events .tribe-events-c-events-bar {
2665
  border: 1px solid #E4E4E4;
2666
  -webkit-box-orient: horizontal;
3070
  width: 62.5%
3071
  }
3072
 
3073
+ .tribe-events .tribe-events-calendar-list__event-datetime-wrapper,
3074
+ .tribe-events .tribe-events-calendar-list__event-title {
3075
  margin-bottom: 16px
3076
  }
3077
 
3087
  margin-right: 8px
3088
  }
3089
 
 
 
 
 
3090
  .tribe-events .tribe-events-calendar-list__event-venue {
3091
  margin-bottom: 16px
3092
  }
3097
  visibility: visible
3098
  }
3099
 
3100
+ .tribe-events .tribe-events-calendar-list__event-cost {
3101
+ margin-top: 16px
3102
+ }
3103
+
3104
  .tribe-events .tribe-events-calendar-list-nav {
3105
  padding-top: 32px
3106
  }
3199
  margin-bottom: 64px
3200
  }
3201
 
3202
+ .tribe-events .tribe-events-calendar-day__event--featured:before {
3203
+ left: calc(11.111% - 24px);
3204
+ width: 4px
3205
+ }
3206
+
3207
  .tribe-events .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
3208
  margin-top: 40px
3209
  }
3218
  width: 55.555%
3219
  }
3220
 
3221
+ .tribe-events .tribe-events-calendar-day__event-datetime-wrapper,
3222
+ .tribe-events .tribe-events-calendar-day__event-title {
3223
  margin-bottom: 16px
3224
  }
3225
 
3226
+ .tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
3227
+ clip: auto;
3228
+ width: auto;
3229
+ height: auto;
3230
+ margin: 0;
3231
+ position: static;
3232
+
3233
+ color: #334AFF;
3234
+ font-weight: 700;
3235
+ margin-right: 8px
3236
  }
3237
 
3238
  .tribe-events .tribe-events-calendar-day__event-venue {
3245
  visibility: visible
3246
  }
3247
 
3248
+ .tribe-events .tribe-events-calendar-day__event-cost {
3249
+ margin-top: 16px
3250
+ }
3251
+
3252
  .tribe-events .tribe-events-calendar-day-nav {
3253
  padding-top: 32px
3254
  }
3259
  .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
3260
  margin-left: 28%
3261
  }
3262
+ }
src/resources/css/views-full.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tribe-events-view{position:relative}.tribe-events .tribe-events-l-container{padding-bottom:80px;padding-top:64px}.tribe-events .datepicker{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14);margin-top:8px;padding:0 16px 16px}.tribe-events .datepicker:after,.tribe-events .datepicker:before{content:none}.tribe-events .datepicker table{border-collapse:collapse}.tribe-events .datepicker .datepicker-switch,.tribe-events .datepicker .next,.tribe-events .datepicker .prev{padding:20px 0}.tribe-events .datepicker .datepicker-switch:active,.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover,.tribe-events .datepicker .next:active,.tribe-events .datepicker .next:focus,.tribe-events .datepicker .next:hover,.tribe-events .datepicker .prev:active,.tribe-events .datepicker .prev:focus,.tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-events .datepicker .datepicker-switch{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:16px;line-height:1.62;font-weight:400}.tribe-events .datepicker .datepicker-switch:focus,.tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)}.tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)}.tribe-events .datepicker .next .tribe-common-svgicon,.tribe-events .datepicker .prev .tribe-common-svgicon{display:block;height:14px;width:9px}.tribe-events .datepicker .prev:active .tribe-common-svgicon,.tribe-events .datepicker .prev:focus .tribe-common-svgicon,.tribe-events .datepicker .prev:hover .tribe-common-svgicon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .datepicker .prev .tribe-common-svgicon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23BABABA'/%3E%3C/svg%3E");margin-right:auto}.tribe-events .datepicker .next:active .tribe-common-svgicon,.tribe-events .datepicker .next:focus .tribe-common-svgicon,.tribe-events .datepicker .next:hover .tribe-common-svgicon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .datepicker .next .tribe-common-svgicon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23BABABA'/%3E%3C/svg%3E");margin-left:auto}.tribe-events .datepicker .datepicker-months td,.tribe-events .datepicker .datepicker-months th,.tribe-events .datepicker .datepicker-years td,.tribe-events .datepicker .datepicker-years th{padding:0}.tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-events .datepicker .datepicker-months .next,.tribe-events .datepicker .datepicker-months .prev,.tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-events .datepicker .datepicker-years .next,.tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-events .datepicker .dow{font-size:11px;line-height:1.5;padding:0;width:14.285%}.tribe-events .datepicker .day,.tribe-events .datepicker .dow{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-weight:400}.tribe-events .datepicker .day{font-size:16px;line-height:1.62;padding:11px 0;width:48px}.tribe-events .datepicker .day.old{color:#d5d5d5}.tribe-events .datepicker .month,.tribe-events .datepicker .year{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:12px;line-height:1.38;font-weight:400;height:auto;margin:0;padding:15px 0;width:25%}.tribe-events .datepicker .day,.tribe-events .datepicker .month,.tribe-events .datepicker .year{border-radius:4px}.tribe-events .datepicker .day.focused,.tribe-events .datepicker .day:focus,.tribe-events .datepicker .day:hover,.tribe-events .datepicker .month.focused,.tribe-events .datepicker .month:focus,.tribe-events .datepicker .month:hover,.tribe-events .datepicker .year.focused,.tribe-events .datepicker .year:focus,.tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-events .datepicker .day.active,.tribe-events .datepicker .day.active.focused,.tribe-events .datepicker .day.active:focus,.tribe-events .datepicker .day.active:hover,.tribe-events .datepicker .month.active,.tribe-events .datepicker .month.active.focused,.tribe-events .datepicker .month.active:focus,.tribe-events .datepicker .month.active:hover,.tribe-events .datepicker .year.active,.tribe-events .datepicker .year.active.focused,.tribe-events .datepicker .year.active:focus,.tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff}.tribe-events.tribe-events-view--week .datepicker tbody tr.active{position:relative}.tribe-events.tribe-events-view--week .datepicker tbody tr.active:after{border:1px solid #334aff;border-radius:4px;content:"";display:block;height:47px;left:16px;pointer-events:none;position:absolute;transform:translateY(-1px);width:calc(100% - 34px)}.tribe-events.tribe-events-view--week .datepicker .day{border-radius:0}.tribe-events.tribe-events-view--week .datepicker .day:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}.tribe-events.tribe-events-view--week .datepicker .day:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}.tribe-events.tribe-events-view--week .datepicker .day.active{color:#141827;background:transparent}.tribe-events.tribe-events-view--week .datepicker .day.active:hover{background:transparent}.tribe-events.tribe-events-view--week .datepicker .day.disabled{color:#141827;cursor:pointer}.tribe-events.tribe-events-view--week .datepicker .day.disabled.focused,.tribe-events.tribe-events-view--week .datepicker .day.disabled:focus,.tribe-events.tribe-events-view--week .datepicker .day.disabled:hover{color:#141827}.tribe-events.tribe-events-view--week .datepicker .day.old,.tribe-events.tribe-events-view--week .datepicker .day.old.focused,.tribe-events.tribe-events-view--week .datepicker .day.old:focus,.tribe-events.tribe-events-view--week .datepicker .day.old:hover{color:#d5d5d5}.tribe-events.tribe-events-view--week .datepicker .focused .day,.tribe-events.tribe-events-view--week .datepicker .focused .day:hover,.tribe-events.tribe-events-view--week .datepicker .hovered .day,.tribe-events.tribe-events-view--week .datepicker .hovered .day:hover{background:#f7f6f6}.admin-bar .tribe-events .datepicker{margin-top:8px}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .next,.tribe-theme-divi #content-area .tribe-events .datepicker .prev{padding:20px 0}.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-months .prev,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .datepicker-switch,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .next,.tribe-theme-divi #content-area .tribe-events .datepicker .datepicker-years .prev{padding:20px 0 8px}.tribe-theme-divi #content-area .tribe-events .datepicker .dow{padding:0}.tribe-theme-divi #content-area .tribe-events .datepicker .day{padding:11px 0}.tribe-theme-enfold .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14);min-width:0;padding:0 16px 16px}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch{color:#141827!important;cursor:pointer!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:focus,.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:hover{color:rgba(20,24,39,.8)!important}.tribe-theme-enfold .tribe-events .datepicker .datepicker-switch:active{color:rgba(20,24,39,.9)!important}.tribe-theme-enfold .tribe-events .datepicker .day{background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.new,.tribe-theme-enfold .tribe-events .datepicker .day.old{opacity:1}.tribe-theme-enfold .tribe-events .datepicker .day.old{color:#d5d5d5}.tribe-theme-enfold .tribe-events .datepicker .day,.tribe-theme-enfold .tribe-events .datepicker .month,.tribe-theme-enfold .tribe-events .datepicker .year{color:#141827;background-color:#fff}.tribe-theme-enfold .tribe-events .datepicker .day.focused,.tribe-theme-enfold .tribe-events .datepicker .day:focus,.tribe-theme-enfold .tribe-events .datepicker .day:hover,.tribe-theme-enfold .tribe-events .datepicker .month.focused,.tribe-theme-enfold .tribe-events .datepicker .month:focus,.tribe-theme-enfold .tribe-events .datepicker .month:hover,.tribe-theme-enfold .tribe-events .datepicker .year.focused,.tribe-theme-enfold .tribe-events .datepicker .year:focus,.tribe-theme-enfold .tribe-events .datepicker .year:hover{background:#f7f6f6}.tribe-theme-enfold .tribe-events .datepicker .day.active,.tribe-theme-enfold .tribe-events .datepicker .day.active.focused,.tribe-theme-enfold .tribe-events .datepicker .day.active:focus,.tribe-theme-enfold .tribe-events .datepicker .day.active:hover,.tribe-theme-enfold .tribe-events .datepicker .month.active,.tribe-theme-enfold .tribe-events .datepicker .month.active.focused,.tribe-theme-enfold .tribe-events .datepicker .month.active:focus,.tribe-theme-enfold .tribe-events .datepicker .month.active:hover,.tribe-theme-enfold .tribe-events .datepicker .year.active,.tribe-theme-enfold .tribe-events .datepicker .year.active.focused,.tribe-theme-enfold .tribe-events .datepicker .year.active:focus,.tribe-theme-enfold .tribe-events .datepicker .year.active:hover{color:#fff;background:#334aff}.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .day.active{color:#141827;background:transparent}.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .day.active:hover{background:transparent}.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .focused .day,.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .focused .day:hover,.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .hovered .day,.tribe-theme-enfold .tribe-events.tribe-events-view--week .datepicker .hovered .day:hover{background:#f7f6f6}.tribe-theme-avada .tribe-events .datepicker{border:1px solid #d5d5d5;border-radius:4px;padding:0 16px 16px}.tribe-theme-avada .tribe-events .datepicker tbody td{border:0}.tribe-theme-avada .tribe-events .datepicker .datepicker-months td{padding:0}.tribe-theme-avada .tribe-events .datepicker .datepicker-switch,.tribe-theme-avada .tribe-events .datepicker .datepicker-switch:hover,.tribe-theme-avada .tribe-events .datepicker .next,.tribe-theme-avada .tribe-events .datepicker .next:hover,.tribe-theme-avada .tribe-events .datepicker .prev,.tribe-theme-avada .tribe-events .datepicker .prev:hover{background-color:#fff}.tribe-theme-avada .tribe-events .datepicker .day.new,.tribe-theme-avada .tribe-events .datepicker .day.old{background-color:transparent!important}.tribe-theme-avada .tribe-events .datepicker .day.new.focused,.tribe-theme-avada .tribe-events .datepicker .day.new:focus,.tribe-theme-avada .tribe-events .datepicker .day.new:hover,.tribe-theme-avada .tribe-events .datepicker .day.old.focused,.tribe-theme-avada .tribe-events .datepicker .day.old:focus,.tribe-theme-avada .tribe-events .datepicker .day.old:hover{background:#f7f6f6!important}.tribe-theme-avada .tribe-events .datepicker .day.old{color:#d5d5d5!important}.tribe-theme-avada .tribe-events .datepicker .day.new{color:#141827!important}.tribe-theme-avada .tribe-events .datepicker .day,.tribe-theme-avada .tribe-events .datepicker .month{background-color:transparent;color:#141827}.tribe-theme-avada .tribe-events .datepicker .day.focused,.tribe-theme-avada .tribe-events .datepicker .day:focus,.tribe-theme-avada .tribe-events .datepicker .day:hover,.tribe-theme-avada .tribe-events .datepicker .month.focused,.tribe-theme-avada .tribe-events .datepicker .month:focus,.tribe-theme-avada .tribe-events .datepicker .month:hover{background:#f7f6f6}.tribe-theme-avada .tribe-events .datepicker .day.active,.tribe-theme-avada .tribe-events .datepicker .day.active.focused,.tribe-theme-avada .tribe-events .datepicker .day.active:focus,.tribe-theme-avada .tribe-events .datepicker .day.active:hover,.tribe-theme-avada .tribe-events .datepicker .month.active,.tribe-theme-avada .tribe-events .datepicker .month.active.focused,.tribe-theme-avada .tribe-events .datepicker .month.active:focus,.tribe-theme-avada .tribe-events .datepicker .month.active:hover{color:#fff;background:#334aff}.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .day.active{color:#141827;background:transparent}.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .day.active:hover{background:transparent}.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .focused .day,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .focused .day:hover,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .hovered .day,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .hovered .day:hover{background:#f7f6f6}.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .focused .day.new,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .focused .day.old,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .hovered .day.new,.tribe-theme-avada .tribe-events.tribe-events-view--week .datepicker .hovered .day.old{background-color:#f7f6f6!important}.tribe-events .tribe-events-c-day-marker{align-items:center;display:flex}.tribe-events .tribe-events-c-day-marker:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-c-day-marker__date{flex:none}.tribe-events .tribe-events-c-events-bar{background-color:#fff;display:flex}.tribe-events .tribe-events-c-events-bar__views{display:flex;flex:none;justify-content:center}.tribe-events .tribe-events-c-events-bar__search-filters-container{background-color:#fff;display:none;left:0;padding:12px 21px;position:absolute;right:0;top:calc(100% - 12px);z-index:30}.tribe-events .tribe-events-c-events-bar__search-form{width:100%}.tribe-events .tribe-events-c-events-bar__filters{display:flex;flex:none;justify-content:flex-end;margin-right:-12px}.tribe-events .tribe-events-c-events-bar__filters-button{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-events-bar__search-button{display:inline-block;margin-right:8px;padding:4px;position:relative}.tribe-events .tribe-events-c-events-bar__search-button:focus .tribe-events-c-events-bar__search-button-icon,.tribe-events .tribe-events-c-events-bar__search-button:hover .tribe-events-c-events-bar__search-button-icon{opacity:.8}.tribe-events .tribe-events-c-events-bar__search-button:active .tribe-events-c-events-bar__search-button-icon{opacity:.9}.tribe-events .tribe-events-c-events-bar__search-button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-events .tribe-events-c-events-bar__search-button--active:before{display:block}.tribe-events .tribe-events-c-events-bar__search-button-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23141827'/%3E%3C/svg%3E");display:block;height:21px;width:21px}.tribe-events .tribe-events-c-events-bar__search-button-icon--filter{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='22'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23141827' fill-rule='nonzero' d='M30.128 21.41c.22.221.554.247.743.058l.6-.6c.19-.189.163-.524-.057-.744l-6.557-6.557c-.55-.55-1.83.743-1.278 1.295l6.549 6.549z'/%3E%3Ccircle cx='18.777' cy='8.777' r='7.564' stroke='%23141827' stroke-width='1.5' transform='rotate(4 18.777 8.777)'/%3E%3Cpath fill='%23141827' fill-rule='nonzero' d='M7.442 9.533C7.75 9.533 8 9.293 8 9v-.467A.547.547 0 0 0 7.442 8H.558A.547.547 0 0 0 0 8.533V9c0 .293.25.533.558.533h6.884zM9.533 2.5c.257 0 .467-.24.467-.533v-.434C10 1.24 9.79 1 9.533 1H.467C.21 1 0 1.24 0 1.533v.434c0 .293.21.533.467.533h9.066zM.535 16.533h3.93c.294 0 .535-.24.535-.533v-.467A.536.536 0 0 0 4.465 15H.535a.536.536 0 0 0-.535.533V16c0 .293.24.533.535.533z'/%3E%3C/g%3E%3C/svg%3E");width:31px}.tribe-events .tribe-events-c-events-bar__search-button-icon--filter+.tribe-events-c-events-bar__search-button-icon{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-events-bar__tabs{display:flex;padding-bottom:12px}.tribe-events .tribe-events-c-events-bar__tab{align-items:center;border-radius:4px;display:flex;flex:1 1 50%;flex-direction:column;margin:0 4px;padding:16px 0}.tribe-events .tribe-events-c-events-bar__tab:active .tribe-events-c-events-bar__tab-text,.tribe-events .tribe-events-c-events-bar__tab:focus .tribe-events-c-events-bar__tab-text,.tribe-events .tribe-events-c-events-bar__tab:hover .tribe-events-c-events-bar__tab-text{font-weight:700}.tribe-events .tribe-events-c-events-bar__tab:active .tribe-common-svgicon--search,.tribe-events .tribe-events-c-events-bar__tab:focus .tribe-common-svgicon--search,.tribe-events .tribe-events-c-events-bar__tab:hover .tribe-common-svgicon--search{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-events-bar__tab:active .tribe-common-svgicon--filters,.tribe-events .tribe-events-c-events-bar__tab:focus .tribe-common-svgicon--filters,.tribe-events .tribe-events-c-events-bar__tab:hover .tribe-common-svgicon--filters{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-events .tribe-events-c-events-bar__tab:first-of-type{margin-left:0}.tribe-events .tribe-events-c-events-bar__tab:last-of-type{margin-right:0}.tribe-events .tribe-events-c-events-bar__tab--active,.tribe-events .tribe-events-c-events-bar__tab--active:focus,.tribe-events .tribe-events-c-events-bar__tab--active:hover{background-color:#f7f6f6}.tribe-events .tribe-events-c-events-bar__tab--active .tribe-events-c-events-bar__tab-text{font-weight:700}.tribe-events .tribe-events-c-events-bar__tab--active .tribe-common-svgicon--search{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-events-bar__tab--active .tribe-common-svgicon--filters{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-events .tribe-events-c-events-bar__tab-icon{height:16px;margin-bottom:4px;width:16px}.tribe-events .tribe-events-c-nav{border-top:1px solid #d5d5d5;padding-top:20px}.tribe-events .tribe-events-c-nav__list{display:flex;list-style:none;width:100%;flex-wrap:wrap;justify-content:space-between}.tribe-events .tribe-events-c-nav__list-item{display:flex;width:33.33%}.tribe-events .tribe-events-c-nav__list-item--prev{justify-content:flex-start}.tribe-events .tribe-events-c-nav__list-item--next{justify-content:flex-end}.tribe-events .tribe-events-c-nav__list-item--today{justify-content:center}.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-events .tribe-events-c-nav__prev-label-plural{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:pre}.tribe-events .tribe-events-c-nav__next:focus,.tribe-events .tribe-events-c-nav__next:hover,.tribe-events .tribe-events-c-nav__prev:focus,.tribe-events .tribe-events-c-nav__prev:hover,.tribe-events .tribe-events-c-nav__today:focus,.tribe-events .tribe-events-c-nav__today:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-nav__next:active,.tribe-events .tribe-events-c-nav__prev:active,.tribe-events .tribe-events-c-nav__today:active{color:#141827;font-weight:700}.tribe-events .tribe-events-c-nav__next,.tribe-events .tribe-events-c-nav__prev{align-items:center;display:flex;flex:none;flex-wrap:wrap;justify-content:center}.tribe-events .tribe-events-c-nav__next:disabled,.tribe-events .tribe-events-c-nav__prev:disabled{background-color:transparent;color:#d5d5d5}.tribe-events .tribe-events-c-nav__prev:before{background-repeat:no-repeat;background-size:contain;content:"";height:12px;margin-right:8px;width:7px}.tribe-events .tribe-events-c-nav__prev:before,.tribe-events .tribe-events-c-nav__prev:focus:before,.tribe-events .tribe-events-c-nav__prev:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-nav__prev:focus:before,.tribe-events .tribe-events-c-nav__prev:hover:before{opacity:.8}.tribe-events .tribe-events-c-nav__prev:active:before{opacity:1}.tribe-events .tribe-events-c-nav__prev:disabled:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-nav__next:after{background-repeat:no-repeat;background-size:contain;content:"";height:12px;margin-left:8px;width:7px}.tribe-events .tribe-events-c-nav__next:after,.tribe-events .tribe-events-c-nav__next:focus:after,.tribe-events .tribe-events-c-nav__next:hover:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-nav__next:focus:after,.tribe-events .tribe-events-c-nav__next:hover:after{opacity:.8}.tribe-events .tribe-events-c-nav__next:active:after{opacity:1}.tribe-events .tribe-events-c-nav__next:disabled:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23D5D5D5'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-small-cta>*{margin-left:8px}.tribe-events .tribe-events-c-small-cta>:first-child{margin-left:0}.tribe-events .tribe-events-c-small-cta__link{cursor:pointer}.tribe-events .tribe-events-c-small-cta__stock{color:#727272;margin-left:4px}.tribe-events .tribe-events-c-search__input--icon{background-repeat:no-repeat;background-position:100%}.tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E");background-size:16px}.tribe-events .tribe-events-c-search__input-control--keyword-focus .tribe-events-c-search__input,.tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23334AFF'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.682 1.548a5.166 5.166 0 0 0-7.375 0C-3.073 5.984 4.959 15.36 4.994 15.36c.051-.001 8.092-9.35 3.688-13.812zM4.994 2.833c1.27 0 2.301 1.043 2.301 2.331 0 1.287-1.03 2.33-2.301 2.33-1.272 0-2.3-1.043-2.3-2.33 0-1.288 1.028-2.331 2.3-2.331z' fill='%23727272' fill-rule='evenodd'/%3E%3C/svg%3E");background-size:10px 15px}.tribe-events .tribe-events-c-search__input-control--location-focus .tribe-events-c-search__input,.tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.682 1.548a5.166 5.166 0 0 0-7.375 0C-3.073 5.984 4.959 15.36 4.994 15.36c.051-.001 8.092-9.35 3.688-13.812zM4.994 2.833c1.27 0 2.301 1.043 2.301 2.331 0 1.287-1.03 2.33-2.301 2.33-1.272 0-2.3-1.043-2.3-2.33 0-1.288 1.028-2.331 2.3-2.331z' fill='%23334AFF' fill-rule='evenodd'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-search__button{margin-top:24px}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input--icon{background-repeat:no-repeat;background-position:100%}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23727272'/%3E%3C/svg%3E");background-size:16px}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--keyword-focus .tribe-events-c-search__input,#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%23334AFF'/%3E%3C/svg%3E")}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.682 1.548a5.166 5.166 0 0 0-7.375 0C-3.073 5.984 4.959 15.36 4.994 15.36c.051-.001 8.092-9.35 3.688-13.812zM4.994 2.833c1.27 0 2.301 1.043 2.301 2.331 0 1.287-1.03 2.33-2.301 2.33-1.272 0-2.3-1.043-2.3-2.33 0-1.288 1.028-2.331 2.3-2.331z' fill='%23727272' fill-rule='evenodd'/%3E%3C/svg%3E");background-size:10px 15px}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--location-focus .tribe-events-c-search__input,#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input-control--location .tribe-events-c-search__input:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.682 1.548a5.166 5.166 0 0 0-7.375 0C-3.073 5.984 4.959 15.36 4.994 15.36c.051-.001 8.092-9.35 3.688-13.812zM4.994 2.833c1.27 0 2.301 1.043 2.301 2.331 0 1.287-1.03 2.33-2.301 2.33-1.272 0-2.3-1.043-2.3-2.33 0-1.288 1.028-2.331 2.3-2.331z' fill='%23334AFF' fill-rule='evenodd'/%3E%3C/svg%3E")}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip{position:absolute;visibility:hidden}.tooltipster-base.tribe-events-tooltip-theme{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14);height:auto!important;padding:24px;max-width:254px}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box{background-color:transparent;border:0;border-radius:0;box-shadow:none;margin:0}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box .tooltipster-content{color:#141827;overflow:inherit;padding:0}.tooltipster-base.tribe-events-tooltip-theme .tooltipster-arrow{display:none}.tribe-events .tribe-events-c-top-bar__nav{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-top-bar__nav-list{display:flex}.tribe-events .tribe-events-c-top-bar__nav-list-item{flex:none;padding-right:15px}.tribe-events .tribe-events-c-top-bar__nav-link{display:block}.tribe-events .tribe-events-c-top-bar__today-button{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-top-bar__datepicker{position:relative}.tribe-events .tribe-events-c-top-bar__datepicker-button{align-items:center;display:flex;flex:none;transition:opacity .2s ease}.tribe-events .tribe-events-c-top-bar__datepicker-button:focus,.tribe-events .tribe-events-c-top-bar__datepicker-button:hover{opacity:.8}.tribe-events .tribe-events-c-top-bar__datepicker-button:active{opacity:.9}.tribe-events .tribe-events-c-top-bar__datepicker-button:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.21.85L6 5.64 10.79.85 11.94 2 6 7.94.06 2z' fill='%23141827'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";display:block;margin-left:8px;height:6px;width:10px}.tribe-events .tribe-events-c-top-bar__datepicker-button--open:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.21 7.15L6 2.36l4.79 4.79L11.94 6 6 .06.06 6z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-top-bar__datepicker-container{bottom:0;left:0;max-width:calc(100% + 66px);position:absolute;width:363px}.tribe-events .tribe-events-c-top-bar__actions{display:none!important;visibility:hidden}#top.tribe-theme-enfold .tribe-events .tribe-events-c-top-bar__datepicker-input,.tribe-theme-avada .tribe-events .tribe-events-c-top-bar__datepicker-input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-events .tribe-events-c-view-selector{position:relative;width:29px}.tribe-events .tribe-events-c-view-selector__button{align-items:center;display:flex;padding:4px;position:relative;text-align:left;width:100%}.tribe-events .tribe-events-c-view-selector__button:focus .tribe-events-c-view-selector__button-icon,.tribe-events .tribe-events-c-view-selector__button:hover .tribe-events-c-view-selector__button-icon{opacity:.8}.tribe-events .tribe-events-c-view-selector__button:active .tribe-events-c-view-selector__button-icon{opacity:.9}.tribe-events .tribe-events-c-view-selector__button:before{background-color:#334aff;content:"";display:none;height:2px;pointer-events:none;position:absolute;top:100%;transform:translateY(4px);width:calc(100% - 8px)}.tribe-events .tribe-events-c-view-selector__button--active:before{display:block}.tribe-events .tribe-events-c-view-selector__button-icon{display:block;height:21px;width:21px}.tribe-events .tribe-events-c-view-selector__button-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tribe-events .tribe-events-c-view-selector__content{display:none;background-color:#fff;border:1px solid #e4e4e4;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.14);padding:12px 6px;position:absolute;right:0;top:100%;transform:translateY(16px);z-index:30}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:#f7f6f6}.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text{font-weight:700}.tribe-events .tribe-events-c-view-selector__list-item-link{align-items:center;border-radius:4px;display:flex;padding:8px 24px 8px 12px}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-icon,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-icon{opacity:.8}.tribe-events .tribe-events-c-view-selector__list-item-link:focus .tribe-events-c-view-selector__list-item-text,.tribe-events .tribe-events-c-view-selector__list-item-link:hover .tribe-events-c-view-selector__list-item-text{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-c-view-selector__list-item-icon{flex:none;height:18px;margin-right:12px;width:18px}.tribe-events .tribe-events-c-view-selector__list-item-text{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;flex:auto}.tribe-events .tribe-events-view-loader{align-items:center;justify-content:center;display:flex;position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background:hsla(0,0%,100%,.6)}.tribe-events .tribe-events-header{align-items:center;background-color:#fff;display:flex;flex-direction:row-reverse;justify-content:space-between;margin:0 -21px;padding:0 21px 16px;position:relative}.tribe-events .tribe-events-header__events-bar{flex:none}.tribe-events .tribe-events-header__top-bar{flex:auto}.tribe-events .tribe-events-calendar-list__event-row{margin-bottom:24px;margin-top:32px}.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:40px}.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:20px}.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{background:#334aff;content:"";height:100%;right:calc(100% - 3px);position:absolute;width:3px}.tribe-events .tribe-events-calendar-list__event-date-tag{flex:none;width:54px;position:relative}.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{display:flex;flex-direction:column;height:100%;text-align:center}.tribe-events .tribe-events-calendar-list__event-date-tag-weekday{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#727272;margin-bottom:-4px;text-transform:uppercase}.tribe-events .tribe-events-calendar-list__event-wrapper{flex:1;width:calc(75% + 21px)}.tribe-events .tribe-events-calendar-list__event{flex-direction:column}.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-events .tribe-events-calendar-list__event-featured-image-link{display:block;transition:opacity .2s ease}.tribe-events .tribe-events-calendar-list__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-list__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-list__event-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-list__event-featured-image{padding-bottom:56.25%}.tribe-events .tribe-events-calendar-list__event-details{flex:none}.tribe-events .tribe-events-calendar-list__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-events .tribe-events-calendar-list__event-title{margin-bottom:8px}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-list__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-list__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-events .tribe-events-calendar-list__event-datetime-recurring-icon{display:inline-block;margin-left:4px}.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:8px}.tribe-events .tribe-events-calendar-list__event-description{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-list__event-cost{margin-top:12px}.tribe-events .tribe-events-calendar-list__month-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-list__month-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-list__month-separator-text{flex:none}.tribe-events .tribe-events-calendar-list-nav{border-top:1px solid #d5d5d5;padding-top:24px}.tribe-events .tribe-events-calendar-month{margin-bottom:8px}.tribe-events .tribe-events-calendar-month__week{display:flex}.tribe-events .tribe-events-calendar-month__calendar-event{margin:8px 0;padding:0 16px;position:relative}.tribe-events .tribe-events-calendar-month__calendar-event:first-child{margin-top:0}.tribe-events .tribe-events-calendar-month__calendar-event:last-child{margin-bottom:0;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event{opacity:.5}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event{margin-top:0}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper+.tribe-events-calendar-month__calendar-event--featured{margin-top:8px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-wrapper{margin-bottom:4px}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link{display:block;transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-featured-image{padding-bottom:56.25%}.tribe-events .tribe-events-calendar-month__calendar-event-datetime{color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1.5;color:#727272}.tribe-events .tribe-events-calendar-month__calendar-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month__calendar-event--featured:before{background:#334aff;content:"";height:100%;left:3px;position:absolute;width:2px}.tribe-events .tribe-events-calendar-month__calendar-event--featured:last-child:before{height:calc(100% - 16px)}.tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured,.tribe-events .tribe-events-calendar-month__calendar-event-datetime-recurring{display:inline-block}.tribe-events .tribe-events-calendar-month__calendar-event-datetime-featured{margin-right:4px}.tribe-events .tribe-events-calendar-month__calendar-event-datetime-recurring{margin-left:4px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper{margin-bottom:12px;width:206px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link{display:block;transition:opacity .2s ease}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:focus,.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image{padding-bottom:56.25%}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description{margin-bottom:8px}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-description:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-cost{margin-top:16px}.tribe-events .tribe-events-calendar-month__header-row{display:flex}.tribe-events .tribe-events-calendar-month__header-column{text-transform:uppercase;width:14.285%;padding-bottom:16px}.tribe-events .tribe-events-calendar-month__header-column-title{color:#727272;text-align:center}.tribe-events .tribe-events-calendar-month__day{border-radius:4px;height:48px;overflow:hidden;position:relative;width:14.285%}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link{color:#334aff;font-weight:700}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{color:rgba(51,74,255,.8)}.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:active{color:rgba(51,74,255,.9)}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date{opacity:.4}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--event{background-color:#141827;opacity:.5}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--featured{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23141827'/%3E%3C/svg%3E");opacity:.5}.tribe-events .tribe-events-calendar-month__day-cell{height:100%;width:100%}.tribe-events .tribe-events-calendar-month__day-cell--mobile{align-items:center;border-bottom:2px solid transparent;display:flex;flex-direction:column;text-align:center;transition:border-color .2s ease}.tribe-events .tribe-events-calendar-month__day-cell--mobile:focus,.tribe-events .tribe-events-calendar-month__day-cell--mobile:hover{border-bottom-color:#334aff}.tribe-events .tribe-events-calendar-month__day-cell--selected,.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event{background-color:#fff;opacity:1}.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--featured{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23FFF'/%3E%3C/svg%3E");opacity:1}.tribe-events .tribe-events-calendar-month__day-date-link{color:#141827}.tribe-events .tribe-events-calendar-month__day-date-link:focus,.tribe-events .tribe-events-calendar-month__day-date-link:hover{color:rgba(20,24,39,.8)}.tribe-events .tribe-events-calendar-month__day-date-link:active{color:rgba(20,24,39,.9)}.tribe-events .tribe-events-calendar-month__mobile-events-icon--event{background-color:#334aff;border-radius:50%;height:8px;width:8px}.tribe-events .tribe-events-calendar-month__mobile-events-icon--featured{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%23334AFF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;height:10px;width:8px}.tribe-events .tribe-events-calendar-month__events{flex:auto}.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:focus,.tribe-theme-twentyseventeen .tribe-events .tribe-events-calendar-month__day-cell--selected:hover{background-color:#334aff}.tribe-theme-avada #main .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date{color:#fff}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day{display:none}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day--show{display:block}.tribe-events .tribe-events-calendar-month-mobile-events__day-marker{padding-top:16px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event{border-bottom:1px solid #d5d5d5;padding:12px 0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event:last-child{border:0}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event--featured{padding-bottom:20px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper{margin-bottom:12px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image{padding-bottom:56.25%}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime{color:#727272;margin-bottom:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime>*{vertical-align:middle}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon,.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon{display:inline-block}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon{margin-right:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon{margin-left:4px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text{color:#334aff;font-weight:700;margin-right:8px}.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cost{margin-top:8px}.tribe-events .tribe-events-calendar-month__more-events{border-top:1px solid #e4e4e4;display:flex;flex:none;margin:0 16px;padding:8px 0 16px}.tribe-events .tribe-events-calendar-month__more-events-link{flex:none}.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__more-events-link{opacity:.5}.tribe-events .tribe-events-calendar-month__multiday-event{background-color:#fff;overflow:hidden;position:relative;width:100%;z-index:5}.tribe-events .tribe-events-calendar-month__multiday-event--width-2{width:calc(200% + 1px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-3{width:calc(300% + 2px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-4{width:calc(400% + 3px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-5{width:calc(500% + 4px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-6{width:calc(600% + 5px)}.tribe-events .tribe-events-calendar-month__multiday-event--width-7{width:calc(700% + 6px)}.tribe-events .tribe-events-calendar-month__multiday-event--hidden{opacity:0}.tribe-events .tribe-events-calendar-month__multiday-event--start{border-top-left-radius:9.5px;border-bottom-left-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event--end{border-top-right-radius:9.5px;border-bottom-right-radius:9.5px}.tribe-events .tribe-events-calendar-month__multiday-event-inner{align-items:center;background-color:rgba(51,74,255,.24);cursor:pointer;display:flex;flex-wrap:nowrap;padding:1px 16px;transition:background-color .2s ease}.tribe-events .tribe-events-calendar-month__multiday-event-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event-inner:hover{background-color:rgba(51,74,255,.34)}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-inner,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-inner--focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-inner--hover,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-inner:focus,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-inner:hover{background-color:#f7f6f6}.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-featured-icon,.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-title{opacity:.5}.tribe-events .tribe-events-calendar-month__multiday-event-featured-icon{flex:none;margin-right:5px}.tribe-events .tribe-events-calendar-month__multiday-event-title{flex:auto;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tribe-events .tribe-events-calendar-month-nav--calendar{padding-top:16px}.tribe-events .tribe-events-calendar-month-nav--mobile{padding-top:20px}.tribe-events .tribe-events-calendar-day__event{display:flex;flex-direction:column;margin-bottom:24px;margin-top:32px;padding-left:42px}.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:40px}.tribe-events .tribe-events-calendar-day__event--featured{position:relative}.tribe-events .tribe-events-calendar-day__event--featured:before{background:#334aff;content:"";height:100%;left:21px;position:absolute;width:3px}.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event{margin-top:20px}.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{flex:none;margin-bottom:16px}.tribe-events .tribe-events-calendar-day__event-featured-image-link{display:block;transition:opacity .2s ease}.tribe-events .tribe-events-calendar-day__event-featured-image-link:focus,.tribe-events .tribe-events-calendar-day__event-featured-image-link:hover{opacity:.8}.tribe-events .tribe-events-calendar-day__event-featured-image-link:active{opacity:.9}.tribe-events .tribe-events-calendar-day__event-featured-image{padding-bottom:56.25%}.tribe-events .tribe-events-calendar-day__event-details{flex:none;position:relative}.tribe-events .tribe-events-calendar-day__event-header>:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-events .tribe-events-calendar-day__event-title{margin-bottom:8px}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper:last-child,.tribe-events .tribe-events-calendar-day__event-title:last-child{margin-bottom:0}.tribe-events .tribe-events-calendar-day__event-datetime-featured-icon{display:inline-block;margin-right:4px}.tribe-events .tribe-events-calendar-day__event-datetime-recurring-icon{display:inline-block;margin-left:4px}.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:8px}.tribe-events .tribe-events-calendar-day__event-description{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-day__event-cost{margin-top:12px}.tribe-events .tribe-events-calendar-day-nav{border-top:1px solid #d5d5d5;padding-top:24px}.tribe-events .tribe-events-calendar-day__time-separator{display:flex;align-items:center}.tribe-events .tribe-events-calendar-day__time-separator:after{background-color:#d5d5d5;content:"";display:block;flex:auto;height:1px;margin-left:20px}.tribe-events .tribe-events-calendar-day__time-separator-text{flex:none}@media (min-width:768px){.tribe-events .tribe-events-l-container{padding-bottom:160px;padding-top:96px}.admin-bar .tribe-events .datepicker,.tribe-events .datepicker{margin-top:16px}.tribe-events .tribe-events-c-events-bar{border:1px solid #e4e4e4;flex-direction:row;margin-bottom:32px}.tribe-events .tribe-events-c-events-bar__search-filters-container{align-items:center;display:flex;flex:auto;padding:0;position:static}.tribe-events .tribe-events-c-events-bar__search{display:flex;flex:auto}.tribe-events .tribe-events-c-events-bar__filters{border-right:1px solid #e4e4e4;margin:12px 0}.tribe-events .tribe-events-c-events-bar__filters-button{align-items:center;display:flex!important;margin:-12px 0;padding:20px 24px;visibility:visible}.tribe-events .tribe-events-c-events-bar__filters-button:active:before,.tribe-events .tribe-events-c-events-bar__filters-button:focus:before,.tribe-events .tribe-events-c-events-bar__filters-button:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23141827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E")}.tribe-events .tribe-events-c-events-bar__filters-button:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cg fill='none' fill-rule='evenodd' stroke='%23727272' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' transform='translate(1 1)'%3E%3Cpath d='M3 3V0m0 15v-2'/%3E%3Ccircle cx='3' cy='9' r='3'/%3E%3Cpath d='M12 9v6'/%3E%3Ccircle cx='12' cy='3' r='3' transform='matrix(1 0 0 -1 0 6)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;background-size:17px;content:"";display:inline-block;flex:none;height:17px;margin-right:8px;width:17px}.tribe-events .tribe-events-c-events-bar__search-button,.tribe-events .tribe-events-c-events-bar__tabs{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-nav{padding-top:28px}.tribe-events .tribe-events-c-nav__list-item{width:50%}.tribe-events .tribe-events-c-nav__list-item--today{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-nav__next-label-plural,.tribe-events .tribe-events-c-nav__prev-label-plural{clip:auto;width:auto;height:auto;margin:0;position:static}.tribe-events .tribe-events-c-nav__next,.tribe-events .tribe-events-c-nav__prev{color:#727272}.tribe-events .tribe-events-c-nav__prev:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%23727272'/%3E%3C/svg%3E");height:14px;margin-right:15px;width:9px}.tribe-events .tribe-events-c-nav__next:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23727272'/%3E%3C/svg%3E");height:14px;margin-left:15px;width:9px}.tribe-events .tribe-events-c-search{display:flex;align-items:center}.tribe-events .tribe-events-c-search__input-group{align-items:center;display:flex;flex:auto}.tribe-events .tribe-events-c-search__input-control{border-right:1px solid #e4e4e4;flex:auto;margin:12px 0}.tribe-events .tribe-events-c-search__input-control:last-child{border-right:0}.tribe-events .tribe-events-c-search__input{margin:-12px 0}.tribe-events .tribe-events-c-search__input--icon{background-position:16px}.tribe-events .tribe-events-c-search__button{flex:none;margin-top:0}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input{margin:-12px 0}#top.tribe-theme-enfold .tribe-events .tribe-events-c-search__input--icon{background-position:16px}.tribe-theme-avada .tribe-events .tribe-events-c-search__input{margin:-12px 0}.tribe-events .tribe-events-c-top-bar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:16px;width:100%}.tribe-events .tribe-events-c-top-bar__nav{display:block!important;flex:none;visibility:visible}.tribe-events .tribe-events-c-top-bar__nav-link:before{height:18px;width:11px}.tribe-events .tribe-events-c-top-bar__today-button{display:block!important;flex:none;margin-right:15px;visibility:visible}.tribe-events .tribe-events-c-top-bar__datepicker{margin:0;padding:0}.tribe-events .tribe-events-c-top-bar__datepicker-button:after{height:7px;width:12px}.tribe-events .tribe-events-c-top-bar__datepicker-container{max-width:none;min-width:363px}.tribe-events .tribe-events-c-top-bar__actions{display:block!important;flex:none;margin-left:auto;visibility:visible}.tribe-events .tribe-events-c-view-selector,.tribe-events .tribe-events-c-view-selector--tabs{width:auto}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__button{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content{border:0;border-radius:0;box-shadow:none;display:block;height:100%;padding:0 12px;position:static;transform:none}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list{display:flex;height:100%}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item{margin:0 12px}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{background-color:transparent}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after{background-color:#141827;bottom:-1px;content:"";display:block;height:2px;position:absolute;width:100%}.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link{height:100%;padding:20px 0;position:relative}.tribe-events .tribe-events-c-view-selector__button{height:100%;padding:20px 24px}.tribe-events .tribe-events-c-view-selector__button:before{content:none}.tribe-events .tribe-events-c-view-selector__button:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.21.85L6 5.64 10.79.85 11.94 2 6 7.94.06 2z' fill='%23141827'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";display:block;flex:none;height:6px;margin-left:8px;width:10px}.tribe-events .tribe-events-c-view-selector__button--active:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.21 7.15L6 2.36l4.79 4.79L11.94 6 6 .06.06 6z' fill='%23141827'/%3E%3C/svg%3E")}.tribe-events .tribe-events-c-view-selector__button-icon{display:none!important;visibility:hidden}.tribe-events .tribe-events-c-view-selector__button-text{clip:auto;width:auto;height:auto;margin:0;position:static;color:#141827;font-family:Helvetica Neue,Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:14px;line-height:1.62;font-weight:400;font-weight:700;flex:auto}.tribe-events .tribe-events-c-view-selector__content{box-shadow:0 2px 5px 0 rgba(0,0,0,.14);left:0;padding:8px;right:auto;transform:translateY(8px);width:auto}.tribe-events .tribe-events-c-view-selector__list-item-link{padding:4px 32px 4px 16px}.tribe-events .tribe-events-c-view-selector__list-item-icon{display:none!important;visibility:hidden}.tribe-events .tribe-events-header{background-color:transparent;flex-direction:row;flex-wrap:wrap;margin:0;padding:0}.tribe-events .tribe-events-header__events-bar{width:100%}.tribe-events .tribe-events-calendar-list__event-row{margin:48px -24px 40px}.tribe-events .tribe-events-calendar-list__event-row>.tribe-common-g-col{padding-left:24px;padding-right:24px}.tribe-events .tribe-events-calendar-list__event-row:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-list__month-separator+.tribe-events-calendar-list__event-row{margin-top:40px}.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after{right:-1px;width:4px}.tribe-events .tribe-events-calendar-list__event-date-tag{margin-right:0;width:11.111%}.tribe-events .tribe-events-calendar-list__event-wrapper{flex:none;width:88.888%}.tribe-events .tribe-events-calendar-list__event{flex-direction:row-reverse;justify-content:flex-end}.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper{margin-bottom:0;width:37.5%}.tribe-events .tribe-events-calendar-list__event-details{width:62.5%}.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,.tribe-events .tribe-events-calendar-list__event-title{margin-bottom:16px}.tribe-events .tribe-events-calendar-list__event-datetime-featured-text{clip:auto;width:auto;height:auto;margin:0;position:static;color:#334aff;font-weight:700;margin-right:8px}.tribe-events .tribe-events-calendar-list__event-venue{margin-bottom:16px}.tribe-events .tribe-events-calendar-list__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-list__event-cost{margin-top:16px}.tribe-events .tribe-events-calendar-list-nav{padding-top:32px}.tribe-events .tribe-events-calendar-month{margin:0}.tribe-events .tribe-events-calendar-month__body{border-top:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__week{border-left:1px solid #e4e4e4}.tribe-events .tribe-events-calendar-month__header-column-title{text-align:left}.tribe-events .tribe-events-calendar-month__day{border-color:#e4e4e4;border-radius:0;border-style:solid;border-width:0 1px 1px 0;height:auto;min-height:168px;overflow:visible}.tribe-events .tribe-events-calendar-month__day:after{background-color:transparent;bottom:0;content:"";display:block;height:2px;left:-1px;position:absolute;transition:background-color .2s ease;width:calc(100% + 2px)}.tribe-events .tribe-events-calendar-month__day:hover:after{background-color:#141827}.tribe-events .tribe-events-calendar-month__day-cell--mobile{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-month__day-cell--desktop{display:flex!important;flex-direction:column;visibility:visible}.tribe-events .tribe-events-calendar-month__day-date{flex:none;padding:8px 16px}.tribe-events .tribe-events-calendar-month-mobile-events{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-month__multiday-event-wrapper{height:19px;margin-bottom:4px;position:relative}.tribe-events .tribe-events-calendar-month-nav{display:none!important;visibility:hidden}.tribe-events .tribe-events-calendar-day__event{flex-direction:row-reverse;justify-content:flex-end;margin-bottom:40px;margin-top:48px;padding-left:0}.tribe-events .tribe-events-calendar-day__event:last-child{margin-bottom:64px}.tribe-events .tribe-events-calendar-day__event--featured:before{left:calc(11.111% - 24px);width:4px}.tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event{margin-top:40px}.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper{margin-bottom:0;width:33.333%}.tribe-events .tribe-events-calendar-day__event-details{margin-left:11.111%;width:55.555%}.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,.tribe-events .tribe-events-calendar-day__event-title{margin-bottom:16px}.tribe-events .tribe-events-calendar-day__event-datetime-featured-text{clip:auto;width:auto;height:auto;margin:0;position:static;color:#334aff;font-weight:700;margin-right:8px}.tribe-events .tribe-events-calendar-day__event-venue{margin-bottom:16px}.tribe-events .tribe-events-calendar-day__event-description{display:block!important;margin-top:16px;visibility:visible}.tribe-events .tribe-events-calendar-day__event-cost{margin-top:16px}.tribe-events .tribe-events-calendar-day-nav{padding-top:32px}}@media (min-width:960px){.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{margin-left:28%}}
src/resources/js/app/blocks.js CHANGED
@@ -42655,16 +42655,10 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
42655
  value.forEach(function(subValue) {
42656
  result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
42657
  });
42658
-
42659
- return result;
42660
- }
42661
-
42662
- if (isMap(value)) {
42663
  value.forEach(function(subValue, key) {
42664
  result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
42665
  });
42666
-
42667
- return result;
42668
  }
42669
 
42670
  var keysFunc = isFull
42655
  value.forEach(function(subValue) {
42656
  result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
42657
  });
42658
+ } else if (isMap(value)) {
 
 
 
 
42659
  value.forEach(function(subValue, key) {
42660
  result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
42661
  });
 
 
42662
  }
42663
 
42664
  var keysFunc = isFull
src/resources/js/app/blocks.min.js CHANGED
@@ -17,4 +17,4 @@ var tribe="object"==typeof tribe?tribe:{};tribe.events=tribe.events||{},tribe.ev
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
- */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,m=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case m:case i:case u:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case _:case l:return e;default:return t}}case h:case p:case o:return t}}}function v(e){return y(e)===m}t.typeOf=y,t.AsyncMode=d,t.ConcurrentMode=m,t.ContextConsumer=c,t.ContextProvider=l,t.Element=a,t.ForwardRef=_,t.Fragment=i,t.Lazy=h,t.Memo=p,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===m||e===u||e===s||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===_)},t.isAsyncMode=function(e){return v(e)||y(e)===d},t.isConcurrentMode=v,t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return y(e)===_},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===h},t.isMemo=function(e){return y(e)===p},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===u},t.isStrictMode=function(e){return y(e)===s},t.isSuspense=function(e){return y(e)===f}},function(e,t,r){var n={"./af":233,"./af.js":233,"./ar":234,"./ar-dz":235,"./ar-dz.js":235,"./ar-kw":236,"./ar-kw.js":236,"./ar-ly":237,"./ar-ly.js":237,"./ar-ma":238,"./ar-ma.js":238,"./ar-sa":239,"./ar-sa.js":239,"./ar-tn":240,"./ar-tn.js":240,"./ar.js":234,"./az":241,"./az.js":241,"./be":242,"./be.js":242,"./bg":243,"./bg.js":243,"./bm":244,"./bm.js":244,"./bn":245,"./bn.js":245,"./bo":246,"./bo.js":246,"./br":247,"./br.js":247,"./bs":248,"./bs.js":248,"./ca":249,"./ca.js":249,"./cs":250,"./cs.js":250,"./cv":251,"./cv.js":251,"./cy":252,"./cy.js":252,"./da":253,"./da.js":253,"./de":254,"./de-at":255,"./de-at.js":255,"./de-ch":256,"./de-ch.js":256,"./de.js":254,"./dv":257,"./dv.js":257,"./el":258,"./el.js":258,"./en-au":259,"./en-au.js":259,"./en-ca":260,"./en-ca.js":260,"./en-gb":261,"./en-gb.js":261,"./en-ie":262,"./en-ie.js":262,"./en-nz":263,"./en-nz.js":263,"./eo":264,"./eo.js":264,"./es":265,"./es-do":266,"./es-do.js":266,"./es-us":267,"./es-us.js":267,"./es.js":265,"./et":268,"./et.js":268,"./eu":269,"./eu.js":269,"./fa":270,"./fa.js":270,"./fi":271,"./fi.js":271,"./fo":272,"./fo.js":272,"./fr":273,"./fr-ca":274,"./fr-ca.js":274,"./fr-ch":275,"./fr-ch.js":275,"./fr.js":273,"./fy":276,"./fy.js":276,"./gd":277,"./gd.js":277,"./gl":278,"./gl.js":278,"./gom-latn":279,"./gom-latn.js":279,"./gu":280,"./gu.js":280,"./he":281,"./he.js":281,"./hi":282,"./hi.js":282,"./hr":283,"./hr.js":283,"./hu":284,"./hu.js":284,"./hy-am":285,"./hy-am.js":285,"./id":286,"./id.js":286,"./is":287,"./is.js":287,"./it":288,"./it.js":288,"./ja":289,"./ja.js":289,"./jv":290,"./jv.js":290,"./ka":291,"./ka.js":291,"./kk":292,"./kk.js":292,"./km":293,"./km.js":293,"./kn":294,"./kn.js":294,"./ko":295,"./ko.js":295,"./ky":296,"./ky.js":296,"./lb":297,"./lb.js":297,"./lo":298,"./lo.js":298,"./lt":299,"./lt.js":299,"./lv":300,"./lv.js":300,"./me":301,"./me.js":301,"./mi":302,"./mi.js":302,"./mk":303,"./mk.js":303,"./ml":304,"./ml.js":304,"./mr":305,"./mr.js":305,"./ms":306,"./ms-my":307,"./ms-my.js":307,"./ms.js":306,"./my":308,"./my.js":308,"./nb":309,"./nb.js":309,"./ne":310,"./ne.js":310,"./nl":311,"./nl-be":312,"./nl-be.js":312,"./nl.js":311,"./nn":313,"./nn.js":313,"./pa-in":314,"./pa-in.js":314,"./pl":315,"./pl.js":315,"./pt":316,"./pt-br":317,"./pt-br.js":317,"./pt.js":316,"./ro":318,"./ro.js":318,"./ru":319,"./ru.js":319,"./sd":320,"./sd.js":320,"./se":321,"./se.js":321,"./si":322,"./si.js":322,"./sk":323,"./sk.js":323,"./sl":324,"./sl.js":324,"./sq":325,"./sq.js":325,"./sr":326,"./sr-cyrl":327,"./sr-cyrl.js":327,"./sr.js":326,"./ss":328,"./ss.js":328,"./sv":329,"./sv.js":329,"./sw":330,"./sw.js":330,"./ta":331,"./ta.js":331,"./te":332,"./te.js":332,"./tet":333,"./tet.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./uk":341,"./uk.js":341,"./ur":342,"./ur.js":342,"./uz":343,"./uz-latn":344,"./uz-latn.js":344,"./uz.js":343,"./vi":345,"./vi.js":345,"./x-pseudo":346,"./x-pseudo.js":346,"./yo":347,"./yo.js":347,"./zh-cn":348,"./zh-cn.js":348,"./zh-hk":349,"./zh-hk.js":349,"./zh-tw":350,"./zh-tw.js":350};function a(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=o,e.exports=a,a.id=442},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(384),a=r(100).document,o=n(a)&&n(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,r){for(var n=r(508),a=r(449),o=r(390),i=r(100),s=r(130),u=r(388),l=r(149),c=l("iterator"),d=l("toStringTag"),m=u.Array,_={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=a(_),p=0;p<f.length;p++){var h,y=f[p],v=_[y],g=i[y],b=g&&g.prototype;if(b&&(b[c]||s(b,c,m),b[d]||s(b,d,y),u[y]=m,v))for(h in n)b[h]||o(b,h,n[h],!0)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(521),a=r(451);e.exports=Object.keys||function(e){return n(e,a)}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(177).f,a=r(178),o=r(149)("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(119),a=r(392),o=r(393),i=r(102),s=r(95),u=r(121),l=200;e.exports=function(e,t,r,c){var d=-1,m=a,_=!0,f=e.length,p=[],h=t.length;if(!f)return p;r&&(t=i(t,s(r))),c?(m=o,_=!1):t.length>=l&&(m=u,_=!1,t=new n(t));e:for(;++d<f;){var y=e[d],v=null==r?y:r(y);if(y=c||0!==y?y:0,_&&v==v){for(var g=h;g--;)if(t[g]===v)continue e;p.push(y)}else m(t,v,c)||p.push(y)}return p}},function(e,t,r){var n=r(51),a=r(353),o=r(354);e.exports=function(e,t){return o(a(e,t,n),e+"")}},function(e,t,r){var n=r(68),a=r(31);e.exports=function(e){return a(e)&&n(e)}},function(e,t,r){e.exports={default:r(457),__esModule:!0}},function(e,t,r){r(93),r(142),e.exports=r(151).f("iterator")},function(e,t,r){e.exports={default:r(459),__esModule:!0}},function(e,t,r){r(460),r(465),r(466),r(467),e.exports=r(27).Symbol},function(e,t,r){"use strict";var n=r(40),a=r(48),o=r(41),i=r(45),s=r(170),u=r(461).KEY,l=r(70),c=r(114),d=r(117),m=r(89),_=r(29),f=r(151),p=r(152),h=r(462),y=r(463),v=r(47),g=r(58),b=r(83),M=r(59),L=r(128),w=r(71),D=r(116),k=r(464),T=r(357),Y=r(129),S=r(42),E=r(87),O=T.f,j=S.f,x=k.f,A=n.Symbol,P=n.JSON,H=P&&P.stringify,C=_("_hidden"),N=_("toPrimitive"),F={}.propertyIsEnumerable,I=c("symbol-registry"),R=c("symbols"),z=c("op-symbols"),q=Object.prototype,W="function"==typeof A&&!!Y.f,U=n.QObject,B=!U||!U.prototype||!U.prototype.findChild,V=o&&l(function(){return 7!=D(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=O(q,t);n&&delete q[t],j(e,t,r),n&&e!==q&&j(q,t,n)}:j,G=function(e){var t=R[e]=D(A.prototype);return t._k=e,t},Z=W&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},$=function(e,t,r){return e===q&&$(z,t,r),v(e),t=L(t,!0),v(r),a(R,t)?(r.enumerable?(a(e,C)&&e[C][t]&&(e[C][t]=!1),r=D(r,{enumerable:w(0,!1)})):(a(e,C)||j(e,C,w(1,{})),e[C][t]=!0),V(e,t,r)):j(e,t,r)},J=function(e,t){v(e);for(var r,n=h(t=M(t)),a=0,o=n.length;o>a;)$(e,r=n[a++],t[r]);return e},K=function(e){var t=F.call(this,e=L(e,!0));return!(this===q&&a(R,e)&&!a(z,e))&&(!(t||!a(this,e)||!a(R,e)||a(this,C)&&this[C][e])||t)},Q=function(e,t){if(e=M(e),t=L(t,!0),e!==q||!a(R,t)||a(z,t)){var r=O(e,t);return!r||!a(R,t)||a(e,C)&&e[C][t]||(r.enumerable=!0),r}},X=function(e){for(var t,r=x(M(e)),n=[],o=0;r.length>o;)a(R,t=r[o++])||t==C||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===q,n=x(r?z:M(e)),o=[],i=0;n.length>i;)!a(R,t=n[i++])||r&&!a(q,t)||o.push(R[t]);return o};W||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(r){this===q&&t.call(z,r),a(this,C)&&a(this[C],e)&&(this[C][e]=!1),V(this,e,w(1,r))};return o&&B&&V(q,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),T.f=Q,S.f=$,r(356).f=k.f=X,r(92).f=K,Y.f=ee,o&&!r(88)&&s(q,"propertyIsEnumerable",K,!0),f.f=function(e){return G(_(e))}),i(i.G+i.W+i.F*!W,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)_(te[re++]);for(var ne=E(_.store),ae=0;ne.length>ae;)p(ne[ae++]);i(i.S+i.F*!W,"Symbol",{for:function(e){return a(I,e+="")?I[e]:I[e]=A(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),i(i.S+i.F*!W,"Object",{create:function(e,t){return void 0===t?D(e):J(D(e),t)},defineProperty:$,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var oe=l(function(){Y.f(1)});i(i.S+i.F*oe,"Object",{getOwnPropertySymbols:function(e){return Y.f(b(e))}}),P&&i(i.S+i.F*(!W||l(function(){var e=A();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=t=n[1],(g(t)||void 0!==e)&&!Z(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Z(t))return t}),n[1]=t,H.apply(P,n)}}),A.prototype[N]||r(53)(A.prototype,N,A.prototype.valueOf),d(A,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(e,t,r){var n=r(89)("meta"),a=r(58),o=r(48),i=r(42).f,s=0,u=Object.isExtensible||function(){return!0},l=!r(70)(function(){return u(Object.preventExtensions({}))}),c=function(e){i(e,n,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[n].w},onFreeze:function(e){return l&&d.NEED&&u(e)&&!o(e,n)&&c(e),e}}},function(e,t,r){var n=r(87),a=r(129),o=r(92);e.exports=function(e){var t=n(e),r=a.f;if(r)for(var i,s=r(e),u=o.f,l=0;s.length>l;)u.call(e,i=s[l++])&&t.push(i);return t}},function(e,t,r){var n=r(113);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(59),a=r(356).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.slice()}}(e):a(n(e))}},function(e,t){},function(e,t,r){r(152)("asyncIterator")},function(e,t,r){r(152)("observable")},function(e,t,r){e.exports={default:r(469),__esModule:!0}},function(e,t,r){r(470),e.exports=r(27).Object.setPrototypeOf},function(e,t,r){var n=r(45);n(n.S,"Object",{setPrototypeOf:r(471).set})},function(e,t,r){var n=r(58),a=r(47),o=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(112)(Function.call,r(357).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(351),__esModule:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),parseFloat(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===a||o<=a)};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var a=t.split(":"),u=!1,l=e(a[a.length-1],4),c=l?7:8;if(a.length>c)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(a.shift(),a.shift(),u=!0):"::"===t.substr(t.length-2)&&(a.pop(),a.pop(),u=!0);for(var d=0;d<a.length;++d)if(""===a[d]&&d>0&&d<a.length-1){if(u)return!1;u=!0}else if(l&&d===a.length-1);else if(!s.test(a[d]))return!1;return u?a.length>=1:a.length===c}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,s=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:s,n=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&a&&u&&l};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(r,"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("["+t+"]"):/\s/,n=e.length-1;for(;n>=0&&r.test(e[n]);)n--;return n<e.length?e.substr(0,n+1):e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("["+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){var n=r(205);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(592),a=r(353),o=r(354);e.exports=function(e){return o(a(e,void 0,n),e+"")}},function(e,t,r){e.exports={default:r(486),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(487)},function(e,t,r){var n=r(172),a=r(29)("iterator"),o=r(54);e.exports=r(27).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(n(t))}},function(e,t,r){e.exports={default:r(489),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(490)},function(e,t,r){var n=r(47),a=r(171);e.exports=r(27).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(154),a=r(601),o=r(68);e.exports=function(e){return o(e)?n(e,!0):a(e)}},function(e,t,r){var n=r(103),a=r(432),o=r(136),i=r(160),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=a(e);return t}:i;e.exports=s},function(e,t,r){var n=r(159),a=r(492),o=r(491);e.exports=function(e){return n(e,o,a)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),i=(u(r(0)),u(r(229))),s=r(228);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=n=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleNextClick=function(){n.props.onNextClick&&n.props.onNextClick()},n.handlePreviousClick=function(){n.props.onPreviousClick&&n.props.onPreviousClick()},n.handleNextKeyDown=function(e){e.keyCode!==s.ENTER&&e.keyCode!==s.SPACE||(e.preventDefault(),n.handleNextClick())},n.handlePreviousKeyDown=function(e){e.keyCode!==s.ENTER&&e.keyCode!==s.SPACE||(e.preventDefault(),n.handlePreviousClick())},l(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.labels!==this.props.labels||e.dir!==this.props.dir||this.props.showPreviousButton!==e.showPreviousButton||this.props.showNextButton!==e.showNextButton}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.className,n=e.showPreviousButton,a=e.showNextButton,i=e.labels,s=e.dir,u=void 0,l=void 0,c=void 0,d=void 0,m=void 0,_=void 0;"rtl"===s?(u=this.handleNextClick,l=this.handlePreviousClick,c=this.handleNextKeyDown,d=this.handlePreviousKeyDown,_=n,m=a):(u=this.handlePreviousClick,l=this.handleNextClick,c=this.handlePreviousKeyDown,d=this.handleNextKeyDown,_=a,m=n);var f=m?t.navButtonPrev:t.navButtonPrev+" "+t.navButtonInteractionDisabled,p=_?t.navButtonNext:t.navButtonNext+" "+t.navButtonInteractionDisabled,h=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":i.previousMonth,key:"previous",className:f,onKeyDown:m?c:void 0,onClick:m?u:void 0}),y=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":i.nextMonth,key:"right",className:p,onKeyDown:_?d:void 0,onClick:_?l:void 0});return o.default.createElement("div",{className:r||t.navBar},"rtl"===s?[y,h]:[h,y])}}]),t}();c.defaultProps={classNames:i.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0},t.default=c,c.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=i(a);i(r(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){var e=this.props,t=e.weekday,r=e.className,n=e.weekdaysLong,a=e.weekdaysShort,i=e.localeUtils,s=e.locale,u=void 0;u=n?n[t]:i.formatWeekdayLong(t,s);var l=void 0;return l=a?a[t]:i.formatWeekdayShort(t,s),o.default.createElement("div",{className:r,role:"columnheader"},o.default.createElement("abbr",{title:u},l))}}]),t}();t.default=s,s.propTypes={}},function(e,t,r){var n=r(528);e.exports=function(e){return e&&e.length?n(e):[]}},function(e,t,r){var n=r(589),a=r(484)(function(e,t){return null==e?{}:n(e,t)});e.exports=a},function(e,t,r){var n=r(104),a=0;e.exports=function(e){var t=++a;return n(e)+t}},function(e,t,r){var n=r(122);e.exports=function(e,t){return n(e,t)}},function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"datetime",function(){return o}),r.d(n,"default",function(){return m});var a=r(13),o=r(16),i=r(77),s=r(34),u=r(141),l=r(67),c=r(125),d=r(111),m=Object(a.b)({datetime:o.default,classic:c.b,venue:l.b,organizers:i.b,price:s.b,website:u.b,sharing:d.b}),_=r(57),f=r(30),p=r(69),h=Object(a.b)({blocks:m,ui:_.b,search:f.b,details:p.b}),y=r(37),v=r(52);r.d(t,"initStore",function(){return g}),r.d(t,"getStore",function(){return b}),r.d(t,"blocks",function(){return n});var g=function(){var e=v.store.dispatch,t=v.store.injectReducers;[s.c,l.c,u.c,d.c,c.c,o.sagas].forEach(function(e){return v.store.run(e)}),e(y.plugins.actions.addPlugin("events")),t({events:h})},b=function(){return v.store}},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=tribe.common.data.plugins},function(e,t){e.exports=tribe.common.components},function(e,t,r){var n=function(){return this}()||Function("return this")(),a=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,o=a&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(505),a)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var r,n=Object.prototype,a=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=b;var d="suspendedStart",m="suspendedYield",_="executing",f="completed",p={},h={};h[i]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(j([])));v&&v!==n&&a.call(v,i)&&(h=v);var g=D.prototype=L.prototype=Object.create(h);w.prototype=g.constructor=D,D.constructor=w,D[u]=w.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,D):(e.__proto__=D,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(g),e},c.awrap=function(e){return{__await:e}},k(T.prototype),T.prototype[s]=function(){return this},c.AsyncIterator=T,c.async=function(e,t,r,n){var a=new T(b(e,t,r,n));return c.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(g),g[u]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},c.values=j,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,a){return s.type="throw",s.arg=e,t.next=n,a&&(t.method="next",t.arg=r),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;E(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}}}function b(e,t,r,n){var a=t&&t.prototype instanceof L?t:L,o=Object.create(a.prototype),i=new O(n||[]);return o._invoke=function(e,t,r){var n=d;return function(a,o){if(n===_)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw o;return x()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var s=Y(i,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=_;var u=M(e,t,r);if("normal"===u.type){if(n=r.done?f:m,u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=f,r.method="throw",r.arg=u.arg)}}}(e,r,i),o}function M(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function L(){}function w(){}function D(){}function k(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function T(e){var t;this._invoke=function(r,n){function o(){return new Promise(function(t,o){!function t(r,n,o,i){var s=M(e[r],e,n);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&a.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,o,i)},function(e){t("throw",e,o,i)}):Promise.resolve(l).then(function(e){u.value=e,o(u)},i)}i(s.arg)}(r,n,t,o)})}return t=t?t.then(o,o):o()}}function Y(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,Y(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var a=M(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:x}}function x(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},function(e,t,r){e.exports=!r(148)&&!r(443)(function(){return 7!=Object.defineProperty(r(444)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(384);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";var n=r(509),a=r(510),o=r(388),i=r(389);e.exports=r(513)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(149)("unscopables"),a=Array.prototype;null==a[n]&&r(130)(a,n,{}),e.exports=function(e){a[n][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(512);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(446),a=r(514),o=r(390),i=r(130),s=r(388),u=r(518),l=r(452),c=r(526),d=r(149)("iterator"),m=!([].keys&&"next"in[].keys()),_=function(){return this};e.exports=function(e,t,r,f,p,h,y){u(r,t,f);var v,g,b,M=function(e){if(!m&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},L=t+" Iterator",w="values"==p,D=!1,k=e.prototype,T=k[d]||k["@@iterator"]||p&&k[p],Y=T||M(p),S=p?w?M("entries"):Y:void 0,E="Array"==t&&k.entries||T;if(E&&(b=c(E.call(new e)))!==Object.prototype&&b.next&&(l(b,L,!0),n||"function"==typeof b[d]||i(b,d,_)),w&&T&&"values"!==T.name&&(D=!0,Y=function(){return T.call(this)}),n&&!y||!m&&!D&&k[d]||i(k,d,Y),s[t]=Y,s[L]=_,p)if(v={values:w?Y:M("values"),keys:h?Y:M("keys"),entries:S},y)for(g in v)g in k||o(k,g,v[g]);else a(a.P+a.F*(m||D),t,v);return v}},function(e,t,r){var n=r(100),a=r(386),o=r(130),i=r(390),s=r(516),u=function(e,t,r){var l,c,d,m,_=e&u.F,f=e&u.G,p=e&u.S,h=e&u.P,y=e&u.B,v=f?n:p?n[t]||(n[t]={}):(n[t]||{}).prototype,g=f?a:a[t]||(a[t]={}),b=g.prototype||(g.prototype={});for(l in f&&(r=t),r)d=((c=!_&&v&&void 0!==v[l])?v:r)[l],m=y&&c?s(d,n):h&&"function"==typeof d?s(Function.call,d):d,v&&i(v,l,d,e&u.U),g[l]!=d&&o(g,l,m),h&&b[l]!=d&&(b[l]=d)};n.core=a,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){e.exports=r(385)("native-function-to-string",Function.toString)},function(e,t,r){var n=r(517);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(519),a=r(447),o=r(452),i={};r(130)(i,r(149)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:a(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(383),a=r(520),o=r(451),i=r(391)("IE_PROTO"),s=function(){},u=function(){var e,t=r(444)("iframe"),n=o.length;for(t.style.display="none",r(525).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[i]=e):r=u(),void 0===t?r:a(r,t)}},function(e,t,r){var n=r(177),a=r(383),o=r(449);e.exports=r(148)?Object.defineProperties:function(e,t){a(e);for(var r,i=o(t),s=i.length,u=0;s>u;)n.f(e,r=i[u++],t[r]);return e}},function(e,t,r){var n=r(178),a=r(389),o=r(522)(!1),i=r(391)("IE_PROTO");e.exports=function(e,t){var r,s=a(e),u=0,l=[];for(r in s)r!=i&&n(s,r)&&l.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(l,r)||l.push(r));return l}},function(e,t,r){var n=r(389),a=r(523),o=r(524);e.exports=function(e){return function(t,r,i){var s,u=n(t),l=a(u.length),c=o(i,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(450),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},function(e,t,r){var n=r(450),a=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?a(e+t,0):o(e,t)}},function(e,t,r){var n=r(100).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(178),a=r(527),o=r(391)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){var n=r(448);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(119),a=r(392),o=r(393),i=r(121),s=r(529),u=r(132),l=200;e.exports=function(e,t,r){var c=-1,d=a,m=e.length,_=!0,f=[],p=f;if(r)_=!1,d=o;else if(m>=l){var h=t?null:s(e);if(h)return u(h);_=!1,d=i,p=new n}else p=t?[]:f;e:for(;++c<m;){var y=e[c],v=t?t(y):y;if(y=r||0!==y?y:0,_&&v==v){for(var g=p.length;g--;)if(p[g]===v)continue e;t&&p.push(v),f.push(y)}else d(p,v,r)||(p!==f&&p.push(v),f.push(y))}return f}},function(e,t,r){var n=r(150),a=r(26),o=r(132),i=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:a;e.exports=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),e.indexOf((0,a.default)(t))>=0};var n=o(r(8)),a=o(r(405));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,a.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(l);if(r)e=r[1];else if(t.require_display_name)return!1}var s=e.split("@"),f=s.pop(),p=s.join("@"),h=f.toLowerCase();"gmail.com"!==h&&"googlemail.com"!==h||(p=p.replace(/\./g,"").toLowerCase());if(!(0,o.default)(p,{max:64})||!(0,o.default)(f,{max:254}))return!1;if(!(0,i.default)(f,{require_tld:t.require_tld}))return!1;if('"'===p[0])return p=p.slice(1,p.length-1),t.allow_utf8_local_part?_.test(p):d.test(p);for(var y=t.allow_utf8_local_part?m:c,v=p.split("."),g=0;g<v.length;g++)if(!y.test(v[g]))return!1;return!0};var n=s(r(8)),a=s(r(133)),o=s(r(474)),i=s(r(406));function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,c=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,_=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,i.default)(t,u);var r=void 0,s=void 0,d=void 0,m=void 0,_=void 0,f=void 0,p=void 0,h=void 0;if(p=e.split("#"),e=p.shift(),p=e.split("?"),e=p.shift(),(p=e.split("://")).length>1){if(r=p.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(p[0]=e.substr(2))}if(""===(e=p.join("://")))return!1;if(p=e.split("/"),""===(e=p.shift())&&!t.require_host)return!0;if((p=e.split("@")).length>1&&(s=p.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;m=p.join("@"),f=null,h=null;var y=m.match(l);y?(d="",h=y[1],f=y[2]||null):(p=m.split(":"),d=p.shift(),p.length&&(f=p.join(":")));if(null!==f&&(_=parseInt(f,10),!/^[0-9]+$/.test(f)||_<=0||_>65535))return!1;if(!((0,o.default)(d)||(0,a.default)(d,t)||h&&(0,o.default)(h,6)))return!1;if(d=d||h,t.host_whitelist&&!c(d,t.host_whitelist))return!1;if(t.host_blacklist&&c(d,t.host_blacklist))return!1;return!0};var n=s(r(8)),a=s(r(406)),o=s(r(475)),i=s(r(133));function s(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(a=n,"[object RegExp]"===Object.prototype.toString.call(a)&&n.test(e)))return!0}var a;return!1}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alpha)return i.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,a=r(476),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.fullWidth.test(e)&&s.halfWidth.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(477),s=r(478);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?i.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return r.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||e<t.lt)&&(!t.hasOwnProperty("gt")||e>t.gt)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,s)).locale in o.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+o.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var n=i(r(133)),a=i(r(8)),o=r(206);function i(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,a.default)(e)%parseInt(t,10)==0};var n=o(r(8)),a=o(r(473));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-f0-9]{"+i[t]+"}$").test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){(0,i.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":n(t))}catch(e){}return!1};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),0===e.length};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-o.length;return s>=r&&(void 0===a||s<=a)};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=i[t];return r&&r.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,a.default)(e)&&24===e.length};var n=o(r(8)),a=o(r(479));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o>r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o<r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,a.default)(e);var r=void 0;if("[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===(void 0===t?"undefined":n(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var a=i(r(8)),o=i(r(405));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r=0,n=void 0,a=void 0,s=void 0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=s&&(a*=2)>=10?a%10+1:a,s=!s;return!(r%10!=0||!t)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),r=0,n=void 0,a=void 0,s=!0,u=t.length-2;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=s&&(a*=2)>=10?a+1:a,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-r)%10};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var a=0;var l=void 0;if("10"===r){if(!i.test(n))return!1;for(l=0;l<9;l++)a+=(l+1)*n.charAt(l);if("X"===n.charAt(9)?a+=100:a+=10*n.charAt(9),a%11==0)return!!n}else if("13"===r){if(!s.test(n))return!1;for(l=0;l<12;l++)a+=u[l%2]*n.charAt(l);if(n.charAt(12)-(10-a%10)%10==0)return!!n}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;var n=e.replace("-",""),a=8,s=0,u=!0,l=!1,c=void 0;try{for(var d,m=n[Symbol.iterator]();!(u=(d=m.next()).done);u=!0){var _=d.value,f="X"===_.toUpperCase()?10:+_;s+=f*a,--a}}catch(e){l=!0,c=e}finally{try{!u&&m.return&&m.return()}finally{if(l)throw c}}return s%11==0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(t in i)return i[t].test(e);if("any"===t){for(var n in i)if(i.hasOwnProperty(n)){var a=i[n];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,r){0!==r&&(t=t+"|\\d{"+e+"}")});var r="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",a="("+["0","[1-9]\\d*",n].join("|")+")?",o="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),i=a+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?i+="-?":e.negative_sign_before_digits&&(i="-?"+i)),e.allow_negative_sign_placeholder?i="( (?!\\-))?"+i:e.allow_space_after_symbol?i=" ?"+i:e.allow_space_after_digits&&(i+="( (?!$))?"),e.symbol_after_digits?i+=r:i=r+i,e.allow_negatives&&(e.parens_for_negatives?i="(\\("+i+"\\)|"+i+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(i="-?"+i)),new RegExp("^(?!-? )(?=.*\\d)"+i+"$")}(t=(0,n.default)(t,i)).test(e)};var n=o(r(133)),a=o(r(8));function o(e){return e&&e.__esModule?e:{default:e}}var i={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.includes(e.toUpperCase())};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.length;if(!t||t%4!=0||i.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var a=n.substr(5);if(""!==a&&!i.test(a))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!s.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,s=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||s.test(e)||u.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,s=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!e.includes(","))return!1;var t=e.split(",");return i.test(t[0])&&s.test(t[1])};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locales=void 0,t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var r in l){if(l.hasOwnProperty(r))if(l[r].test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^\d{4}$/,s=/^\d{5}$/,u=/^\d{6}$/,l={AT:i,AU:i,BE:i,BG:i,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:i,DZ:s,ES:s,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,IL:s,IN:u,IS:/^\d{3}$/,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,LI:/^(948[5-9]|949[0-7])$/,MX:s,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:s,SE:/^\d{3}\s?\d{2}$/,TW:/^\d{3}(\d{2})?$/,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:s};t.locales=Object.keys(l)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,a.default)(e,t),t)};var n=o(r(481)),a=o(r(480));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,a.default)(e,r)};var n=o(r(8)),a=o(r(482));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,i);var r=e.split("@"),n=r.pop(),a=[r.join("@"),n];if(a[1]=a[1].toLowerCase(),"gmail.com"===a[1]||"googlemail.com"===a[1]){if(t.gmail_remove_subaddress&&(a[0]=a[0].split("+")[0]),t.gmail_remove_dots&&(a[0]=a[0].replace(/\./g,"")),!a[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(a[0]=a[0].toLowerCase()),a[1]=t.gmail_convert_googlemaildotcom?"gmail.com":a[1]}else if(~s.indexOf(a[1])){if(t.icloud_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~u.indexOf(a[1])){if(t.outlookdotcom_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~l.indexOf(a[1])){if(t.yahoo_remove_subaddress){var c=a[0].split("-");a[0]=c.length>1?c.slice(0,-1).join("-"):c[0]}if(!a[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(a[0]=a[0].toLowerCase())}else t.all_lowercase&&(a[0]=a[0].toLowerCase());return a.join("@")};var n,a=r(133),o=(n=a)&&n.__esModule?n:{default:n};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,r){},function(e,t,r){var n=r(586)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){},function(e,t,r){var n=r(102);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){var n=r(590),a=r(211);e.exports=function(e,t){return n(e,t,function(t,r){return a(e,r)})}},function(e,t,r){var n=r(106),a=r(591),o=r(80);e.exports=function(e,t,r){for(var i=-1,s=t.length,u={};++i<s;){var l=t[i],c=n(e,l);r(c,l)&&a(u,o(l,e),c)}return u}},function(e,t,r){var n=r(410),a=r(80),o=r(105),i=r(44),s=r(65);e.exports=function(e,t,r,u){if(!i(e))return e;for(var l=-1,c=(t=a(t,e)).length,d=c-1,m=e;null!=m&&++l<c;){var _=s(t[l]),f=r;if(l!=d){var p=m[_];void 0===(f=u?u(p,_,m):void 0)&&(f=i(p)?p:o(t[l+1])?[]:{})}n(m,_,f),m=m[_]}return e}},function(e,t,r){var n=r(352);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){var n=r(108),a=r(598),o=r(410),i=r(599),s=r(600),u=r(603),l=r(604),c=r(605),d=r(606),m=r(158),_=r(493),f=r(81),p=r(607),h=r(608),y=r(613),v=r(21),g=r(75),b=r(615),M=r(44),L=r(617),w=r(64),D=1,k=2,T=4,Y="[object Arguments]",S="[object Function]",E="[object GeneratorFunction]",O="[object Object]",j={};j[Y]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[O]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[S]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,x,A,P,H){var C,N=r&D,F=r&k,I=r&T;if(x&&(C=P?x(t,A,P,H):x(t)),void 0!==C)return C;if(!M(t))return t;var R=v(t);if(R){if(C=p(t),!N)return l(t,C)}else{var z=f(t),q=z==S||z==E;if(g(t))return u(t,N);if(z==O||z==Y||q&&!P){if(C=F||q?{}:y(t),!N)return F?d(t,s(C,t)):c(t,i(C,t))}else{if(!j[z])return P?t:{};C=h(t,z,N)}}H||(H=new n);var W=H.get(t);if(W)return W;if(H.set(t,C),L(t))return t.forEach(function(n){C.add(e(n,r,x,n,t,H))}),C;if(b(t))return t.forEach(function(n,a){C.set(a,e(n,r,x,a,t,H))}),C;var U=I?F?_:m:F?keysIn:w,B=R?void 0:U(t);return a(B||t,function(n,a){B&&(n=t[a=n]),o(C,a,e(n,r,x,a,t,H))}),C}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(163),a=r(64);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(163),a=r(491);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(44),a=r(90),o=r(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=a(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(23),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(72)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(163),a=r(136);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t,r){var n=r(163),a=r(492);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(433),a=r(609),o=r(610),i=r(611),s=r(612),u="[object Boolean]",l="[object Date]",c="[object Map]",d="[object Number]",m="[object RegExp]",_="[object Set]",f="[object String]",p="[object Symbol]",h="[object ArrayBuffer]",y="[object DataView]",v="[object Float32Array]",g="[object Float64Array]",b="[object Int8Array]",M="[object Int16Array]",L="[object Int32Array]",w="[object Uint8Array]",D="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]";e.exports=function(e,t,r){var Y=e.constructor;switch(t){case h:return n(e);case u:case l:return new Y(+e);case y:return a(e,r);case v:case g:case b:case M:case L:case w:case D:case k:case T:return s(e,r);case c:return new Y;case d:case f:return new Y(e);case m:return o(e);case _:return new Y;case p:return i(e)}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),a=n?n.prototype:void 0,o=a?a.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(614),a=r(432),o=r(90);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(a(e))}},function(e,t,r){var n=r(44),a=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(a)return a(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(616),a=r(95),o=r(134),i=o&&o.isMap,s=i?a(i):n;e.exports=s},function(e,t,r){var n=r(81),a=r(31),o="[object Map]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(618),a=r(95),o=r(134),i=o&&o.isSet,s=i?a(i):n;e.exports=s},function(e,t,r){var n=r(81),a=r(31),o="[object Set]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(80),a=r(620),o=r(621),i=r(65);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[i(a(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){var n=r(106),a=r(226);e.exports=function(e,t){return t.length<2?e:n(e,a(t,0,-1))}},function(e,t,r){var n=r(623);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(36),a=r(432),o=r(31),i="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object);e.exports=function(e){if(!o(e)||n(e)!=i)return!1;var t=a(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifiersUtils=t.LocaleUtils=t.DateUtils=t.DayPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),i=v(o),s=(v(r(0)),v(r(625))),u=v(r(494)),l=v(r(626)),c=v(r(495)),d=y(r(230)),m=y(r(137)),_=y(r(227)),f=y(r(434)),p=v(r(229)),h=r(228);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}var g=t.DayPicker=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.dayPicker=null,r.showNextMonth=function(e){if(r.allowNextMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=m.addMonths(r.state.currentMonth,t);r.showMonth(n,e)}},r.showPreviousMonth=function(e){if(r.allowPreviousMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=m.addMonths(r.state.currentMonth,-t);r.showMonth(n,e)}},r.handleKeyDown=function(e){switch(e.persist(),e.keyCode){case h.LEFT:"rtl"===r.props.dir?r.showNextMonth():r.showPreviousMonth(),d.cancelEvent(e);break;case h.RIGHT:"rtl"===r.props.dir?r.showPreviousMonth():r.showNextMonth(),d.cancelEvent(e);break;case h.UP:r.showPreviousYear(),d.cancelEvent(e);break;case h.DOWN:r.showNextYear(),d.cancelEvent(e)}r.props.onKeyDown&&r.props.onKeyDown(e)},r.handleDayKeyDown=function(e,t,n){switch(n.persist(),n.keyCode){case h.LEFT:d.cancelEvent(n),"rtl"===r.props.dir?r.focusNextDay(n.target):r.focusPreviousDay(n.target);break;case h.RIGHT:d.cancelEvent(n),"rtl"===r.props.dir?r.focusPreviousDay(n.target):r.focusNextDay(n.target);break;case h.UP:d.cancelEvent(n),r.focusPreviousWeek(n.target);break;case h.DOWN:d.cancelEvent(n),r.focusNextWeek(n.target);break;case h.ENTER:case h.SPACE:d.cancelEvent(n),r.props.onDayClick&&r.handleDayClick(e,t,n)}r.props.onDayKeyDown&&r.props.onDayKeyDown(e,t,n)},r.handleDayClick=function(e,t,n){n.persist(),t[r.props.classNames.outside]&&r.props.enableOutsideDaysClick&&r.handleOutsideDayClick(e),r.props.onDayClick&&r.props.onDayClick(e,t,n)},r.handleTodayButtonClick=function(e){var t=new Date,n=new Date(t.getFullYear(),t.getMonth());r.showMonth(n),e.target.blur(),r.props.onTodayButtonClick&&(e.persist(),r.props.onTodayButtonClick(new Date(t.getFullYear(),t.getMonth(),t.getDate()),f.getModifiersForDay(t,r.props.modifiers),e))};var n=r.getCurrentMonthFromProps(e);return r.state={currentMonth:n},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"componentDidUpdate",value:function(e){if(e.month!==this.props.month&&!m.isSameMonth(e.month,this.props.month)){var t=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:t})}}},{key:"getCurrentMonthFromProps",value:function(e){var t=d.startOfMonth(e.month||e.initialMonth);if(e.pagedNavigation&&e.numberOfMonths>1&&e.fromMonth){var r=d.startOfMonth(e.fromMonth),n=d.getMonthsDiff(r,t);t=m.addMonths(r,Math.floor(n/e.numberOfMonths)*e.numberOfMonths)}else e.toMonth&&e.numberOfMonths>1&&d.getMonthsDiff(t,e.toMonth)<=0&&(t=m.addMonths(d.startOfMonth(e.toMonth),1-this.props.numberOfMonths));return t}},{key:"getNextNavigableMonth",value:function(){return m.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return m.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var e=m.addMonths(this.state.currentMonth,-1);return this.allowMonth(e)}},{key:"allowNextMonth",value:function(){var e=m.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(e)}},{key:"allowMonth",value:function(e){var t=this.props,r=t.fromMonth,n=t.toMonth;return!(!t.canChangeMonth||r&&d.getMonthsDiff(r,e)<0||n&&d.getMonthsDiff(n,e)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(e,t){var r=this;this.allowMonth(e)&&this.setState({currentMonth:d.startOfMonth(e)},function(){t&&t(),r.props.onMonthChange&&r.props.onMonthChange(r.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var e=m.addMonths(this.state.currentMonth,12);this.showMonth(e)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var e=m.addMonths(this.state.currentMonth,-12);this.showMonth(e)}}},{key:"focusFirstDayOfMonth",value:function(){d.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var e=d.getDayNodes(this.dayPicker,this.props.classNames);e[e.length-1].focus()}},{key:"focusPreviousDay",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);-1!==n&&(0===n?this.showPreviousMonth(function(){return t.focusLastDayOfMonth()}):r[n-1].focus())}},{key:"focusNextDay",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);-1!==n&&(n===r.length-1?this.showNextMonth(function(){return t.focusFirstDayOfMonth()}):r[n+1].focus())}},{key:"focusNextWeek",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);n>r.length-8?this.showNextMonth(function(){var e=7-(r.length-n);d.getDayNodes(t.dayPicker,t.props.classNames)[e].focus()}):r[n+7].focus()}},{key:"focusPreviousWeek",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);n<=6?this.showPreviousMonth(function(){var e=d.getDayNodes(t.dayPicker,t.props.classNames);e[e.length-7+n].focus()}):r[n-7].focus()}},{key:"handleOutsideDayClick",value:function(e){var t=this.state.currentMonth,r=this.props.numberOfMonths,n=d.getMonthsDiff(t,e);n>0&&n>=r?this.showNextMonth():n<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var e=this.props,t=e.labels,r=e.locale,n=e.localeUtils,a=e.canChangeMonth,o=e.navbarElement,s=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!a)return null;var u={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:s.dir,labels:t,locale:r,localeUtils:n};return i.default.isValidElement(o)?i.default.cloneElement(o,u):i.default.createElement(o,u)}},{key:"renderMonths",value:function(){for(var e=[],t=d.getFirstDayOfWeekFromProps(this.props),r=0;r<this.props.numberOfMonths;r+=1){var a=m.addMonths(this.state.currentMonth,r);e.push(i.default.createElement(l.default,n({key:r},this.props,{month:a,firstDayOfWeek:t,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&e.reverse(),e}},{key:"renderFooter",value:function(){return this.props.todayButton?i.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return i.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var e=this,t=this.props.classNames.container;return this.props.onDayClick||(t=t+" "+this.props.classNames.interactionDisabled),this.props.className&&(t=t+" "+this.props.className),i.default.createElement("div",n({},this.props.containerProps,{className:t,ref:function(t){return e.dayPicker=t},lang:this.props.locale}),i.default.createElement("div",{className:this.props.classNames.wrapper,tabIndex:this.props.canChangeMonth&&void 0!==this.props.tabIndex?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),i.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}();g.VERSION="7.3.0",g.defaultProps={classNames:p.default,tabIndex:0,initialMonth:new Date,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:_,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(e){return e.getDate()},renderWeek:function(e){return e},weekdayElement:i.default.createElement(c.default,null),navbarElement:i.default.createElement(u.default,{classNames:p.default}),captionElement:i.default.createElement(s.default,{classNames:p.default})},g.propTypes={},g.DateUtils=m,g.LocaleUtils=_,g.ModifiersUtils=f,t.DateUtils=m,t.LocaleUtils=_,t.ModifiersUtils=f,t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),i=(u(r(0)),u(r(227))),s=r(228);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleKeyUp=r.handleKeyUp.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.locale!==this.props.locale||e.classNames!==this.props.classNames||e.date.getMonth()!==this.props.date.getMonth()||e.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(e){e.keyCode===s.ENTER&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.date,n=e.months,a=e.locale,i=e.localeUtils,s=e.onClick;return o.default.createElement("div",{className:t.caption,role:"heading"},o.default.createElement("div",{onClick:s,onKeyUp:this.handleKeyUp},n?n[r.getMonth()]+" "+r.getFullYear():i.formatMonthTitle(r,a)))}}]),t}();l.defaultProps={localeUtils:i.default},t.default=l,l.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=_(a),i=(_(r(0)),_(r(627))),s=_(r(628)),u=r(228),l=m(r(434)),c=m(r(230)),d=m(r(137));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),u=0;u<a;u++)i[u]=arguments[u];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.renderDay=function(e){var t=n.props.month.getMonth(),r=c.getModifiersFromProps(n.props),a=l.getModifiersForDay(e,r);d.isSameDay(e,new Date)&&!Object.prototype.hasOwnProperty.call(r,n.props.classNames.today)&&a.push(n.props.classNames.today),e.getMonth()!==t&&a.push(n.props.classNames.outside);var i=e.getMonth()!==t,u=-1;n.props.onDayClick&&!i&&1===e.getDate()&&(u=n.props.tabIndex);var m=""+e.getFullYear()+e.getMonth()+e.getDate(),_={};return a.forEach(function(e){_[e]=!0}),o.default.createElement(s.default,{key:(i?"outside-":"")+m,classNames:n.props.classNames,day:e,modifiers:_,modifiersStyles:n.props.modifiersStyles,empty:i&&!n.props.showOutsideDays&&!n.props.fixedWeeks,tabIndex:u,ariaLabel:n.props.localeUtils.formatDay(e,n.props.locale),ariaDisabled:i||a.indexOf("disabled")>-1,ariaSelected:a.indexOf("selected")>-1,onClick:n.props.onDayClick,onFocus:n.props.onDayFocus,onKeyDown:n.props.onDayKeyDown,onMouseEnter:n.props.onDayMouseEnter,onMouseLeave:n.props.onDayMouseLeave,onMouseDown:n.props.onDayMouseDown,onMouseUp:n.props.onDayMouseUp,onTouchEnd:n.props.onDayTouchEnd,onTouchStart:n.props.onDayTouchStart},n.props.renderDay(e,_))},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.classNames,n=t.month,a=t.months,s=t.fixedWeeks,l=t.captionElement,m=t.weekdayElement,_=t.locale,f=t.localeUtils,p=t.weekdaysLong,h=t.weekdaysShort,y=t.firstDayOfWeek,v=t.onCaptionClick,g=t.showWeekNumbers,b=t.showWeekDays,M=t.onWeekClick,L={date:n,classNames:r,months:a,localeUtils:f,locale:_,onClick:v?function(e){return v(n,e)}:void 0},w=o.default.isValidElement(l)?o.default.cloneElement(l,L):o.default.createElement(l,L),D=c.getWeekArray(n,y,s);return o.default.createElement("div",{className:r.month,role:"grid"},w,b&&o.default.createElement(i.default,{classNames:r,weekdaysShort:h,weekdaysLong:p,firstDayOfWeek:y,showWeekNumbers:g,locale:_,localeUtils:f,weekdayElement:m}),o.default.createElement("div",{className:r.body,role:"rowgroup"},D.map(function(t){var a=void 0;return g&&(a=d.getWeekNumber(t[6])),o.default.createElement("div",{key:t[0].getTime(),className:r.week,role:"row"},g&&o.default.createElement("div",{className:r.weekNumber,tabIndex:M?0:-1,role:"gridcell",onClick:M?function(e){return M(a,t,e)}:void 0,onKeyUp:M?function(e){return e.keyCode===u.ENTER&&M(a,t,e)}:void 0},e.props.renderWeek(a,t,n)),t.map(e.renderDay))})))}}]),t}();t.default=p,p.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=i(a);i(r(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){for(var e=this.props,t=e.classNames,r=e.firstDayOfWeek,n=e.showWeekNumbers,a=e.weekdaysLong,i=e.weekdaysShort,s=e.locale,u=e.localeUtils,l=e.weekdayElement,c=[],d=0;d<7;d+=1){var m=(d+r)%7,_={key:d,className:t.weekday,weekday:m,weekdaysLong:a,weekdaysShort:i,localeUtils:u,locale:s},f=o.default.isValidElement(l)?o.default.cloneElement(l,_):o.default.createElement(l,_);c.push(f)}return o.default.createElement("div",{className:t.weekdays,role:"rowgroup"},o.default.createElement("div",{className:t.weekdaysRow,role:"row"},n&&o.default.createElement("div",{className:t.weekday}),c))}}]),t}();t.default=s,s.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),i=c(o),s=(c(r(0)),r(137)),u=r(230),l=c(r(229));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=Object.keys(this.props),n=Object.keys(e);return r.length!==n.length||r.some(function(r){if("modifiers"===r||"modifiersStyles"===r||"classNames"===r){var n=t.props[r],a=e[r],o=Object.keys(n),i=Object.keys(a);return o.length!==i.length||o.some(function(e){return!(0,u.hasOwnProp)(a,e)||n[e]!==a[e]})}return"day"===r?!(0,s.isSameDay)(t.props[r],e[r]):!(0,u.hasOwnProp)(e,r)||t.props[r]!==e[r]})}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.modifiersStyles,a=e.day,o=e.tabIndex,s=e.empty,u=e.modifiers,c=e.onMouseEnter,m=e.onMouseLeave,_=e.onMouseUp,f=e.onMouseDown,p=e.onClick,h=e.onKeyDown,y=e.onTouchStart,v=e.onTouchEnd,g=e.onFocus,b=e.ariaLabel,M=e.ariaDisabled,L=e.ariaSelected,w=e.children,D=t.day;t!==l.default?D+=" "+Object.keys(u).join(" "):D+=Object.keys(u).map(function(e){return" "+D+"--"+e}).join("");var k=void 0;return r&&Object.keys(u).filter(function(e){return!!r[e]}).forEach(function(e){k=n({},k,r[e])}),s?i.default.createElement("div",{"aria-disabled":!0,className:D,style:k}):i.default.createElement("div",{className:D,tabIndex:o,style:k,role:"gridcell","aria-label":b,"aria-disabled":M,"aria-selected":L,onClick:d(p,a,u),onKeyDown:d(h,a,u),onMouseEnter:d(c,a,u),onMouseLeave:d(m,a,u),onMouseUp:d(_,a,u),onMouseDown:d(f,a,u),onTouchEnd:d(v,a,u),onTouchStart:d(y,a,u),onFocus:d(g,a,u)},w)}}]),t}();m.defaultProps={tabIndex:-1},m.defaultProps={modifiers:{},modifiersStyles:{},empty:!1},t.default=m,m.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifierPropType=void 0;var n,a=r(0),o=(n=a)&&n.__esModule?n:{default:n};var i={localeUtils:o.default.shape({formatMonthTitle:o.default.func,formatWeekdayShort:o.default.func,formatWeekdayLong:o.default.func,getFirstDayOfWeek:o.default.func}),range:o.default.shape({from:o.default.instanceOf(Date),to:o.default.instanceOf(Date)}),after:o.default.shape({after:o.default.instanceOf(Date)}),before:o.default.shape({before:o.default.instanceOf(Date)})};t.ModifierPropType=o.default.oneOfType([i.after,i.before,i.range,o.default.func,o.default.array]);t.default=i},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t){e.exports=tribe.common.elements},function(e,t,r){},function(e,t){e.exports=tribe.common.data.forms},function(e,t){e.exports=tribe.common.icons},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n=r(501),a=r(6),o=r(5),i=r.n(o),s=r(32),u=r(13),l=r(16),c=r(34),d=r(141),m=r(125),_=r(77),f=r(57),p=r(24),h=r(3),y=r.n(h),v=r(0),g=r.n(v),b=r(22),M=r.n(b),L=r(140),w=r.n(L),D=r(14),k=r(49),T=r(4),Y=r(35),S=r(69),E=r(360),O=r(28),j=r.n(O),x=r(74),A=r.n(x),P=r(435),H=r.n(P),C=(r(641),function(e){var t,r,n,o,i,s,u,l,c=e.isLoading,d=e.details;return wp.element.createElement("li",null,c||j()(d)?wp.element.createElement(Y.Loading,{className:"tribe-editor__spinner--item"}):wp.element.createElement(h.Fragment,null,(s=e.details,u=s.title.rendered,l=void 0===u?Object(a.__)("(Untitled)","the-events-calendar"):u,A()(H()(l))),(r=(t=e).organizerId,n=t.block,o=t.volatile,i=t.onRemoveClick,!(n||o)&&wp.element.createElement(D.IconButton,{className:"tribe-editor__btn tribe-editor__btn--action",label:Object(a.__)("Remove Organizer","the-events-calendar"),onClick:i(r),icon:wp.element.createElement(D.Dashicon,{icon:"no"})}))))});C.propTypes={details:g.a.object,isLoading:g.a.bool,organizerId:g.a.number,block:g.a.bool,volatie:g.a.bool,onRemoveClick:g.a.func};var N=C,F=Object(u.c)(Object(p.withStore)(),Object(E.withDetails)("organizerId"))(N),I=r(37),R=function(e){var t=e.addOrganizer,r=e.removeOrganizer,n=e.organizers;return wp.element.createElement(h.Fragment,null,wp.element.createElement("div",{key:"organizer-list"},wp.element.createElement("ul",{className:M()("tribe-editor__organizer__list")},n.map(function(e){var t=e.id,n=e.block;return wp.element.createElement(F,{organizerId:t,block:n,key:t,postType:I.editor.ORGANIZER,onRemoveClick:r})}))),wp.element.createElement("div",{key:"organizer-actions"},wp.element.createElement(Y.SearchPosts,{key:"organizer-search-dropdown",name:"search-organizers-classic",postType:I.editor.ORGANIZER,searchLabel:Object(a.__)("Search for an organizer","the-events-calendar"),iconLabel:Object(a.__)("Add existing Organizer","the-events-calendar"),onItemSelect:t,exclude:n.map(function(e){return e.id})}),wp.element.createElement(D.Dropdown,{key:"organizer-create-dropdown",className:"tribe-editor__organizer__dropdown",position:"bottom center",contentClassName:"tribe-editor-dropdown__dialog",renderToggle:function(e){var t=e.onToggle;return wp.element.createElement(D.IconButton,{className:"tribe-editor__btn",label:Object(a.__)("Create Organizer"),onClick:t,icon:wp.element.createElement(D.Dashicon,{icon:"plus"})})},renderContent:function(t){var r=t.onClose,n=t.isOpen;return wp.element.createElement(Y.OrganizerForm,{addOrganizer:e.addOrganizer,onClose:r,"aria-expanded":n})}})))};R.propTypes={organizers:g.a.array.isRequired,addOrganizer:g.a.func.isRequired,removeOrganizer:g.a.func.isRequired};var z=R,q=function(e){return function(t,r){e(S.a.setDetails(t,r)),e(_.a.addOrganizerInClassic(t))}},W=function(e){return function(t){return function(){return e(_.a.removeOrganizerInClassic(t))}}},U=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{organizers:_.c.getMappedOrganizers(e)}},function(e){return{addOrganizer:q(e),removeOrganizer:W(e)}}))(z),B=T.moment.toMoment,V=T.moment.toDate,G=T.moment.toTime,Z=function(e){var t,r,n,o,i=e.organizerTitle,s=e.setOrganizerTitle,u=e.isSelected,l=e.allDay,c=e.setAllDay,d=e.currencyPosition,m=e.togglePosition,_=e.currencySymbol,f=e.setSymbol;return[wp.element.createElement("div",{key:"event-details-box",className:"tribe-editor__block tribe-editor__event-details"},wp.element.createElement(Y.MetaGroup,{groupKey:"event-details"},(n=e.detailsTitle,o=e.setDetailsTitle,wp.element.createElement(w.a,{className:"tribe-editor__events-section__headline trigger-dashboard-datetime",value:n,placeholder:Object(a.__)("Details","the-events-calendar"),onChange:T.input.sendValue(o)})),function(){var t=e.start,r=e.allDay,n=e.toggleDashboardDateTime,o=e.separatorDate;return wp.element.createElement("div",null,wp.element.createElement("button",{className:"tribe-editor__btn--label trigger-dashboard-datetime",onClick:n},wp.element.createElement("strong",null,Object(a.__)("Start: ","the-events-calendar")),V(B(t),T.date.FORMATS.WP.date),!r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("span",null," ".concat(o," ")),wp.element.createElement("span",null,G(B(t),T.date.FORMATS.WP.time)))))}(),function(){var t=e.end,r=e.allDay,n=e.toggleDashboardDateTime,o=e.separatorDate;return wp.element.createElement("div",null,wp.element.createElement("button",{className:"tribe-editor__btn--label trigger-dashboard-datetime",onClick:n},wp.element.createElement("strong",null,Object(a.__)("End: ","the-events-calendar")),V(B(t),T.date.FORMATS.WP.date),!r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("span",null," ".concat(o," ")),wp.element.createElement("span",null,G(B(t),T.date.FORMATS.WP.time)))))}(),(t=e.url,r=e.setWebsite,wp.element.createElement("div",null,wp.element.createElement("strong",null,Object(a.__)("Website: ","the-events-calendar")),wp.element.createElement("br",null),wp.element.createElement(k.PlainText,{id:"tribe-event-url",value:t,placeholder:Object(a.__)("Enter url","the-events-calendar"),onChange:r}))),function(){var t=e.setCost,r=e.cost,n=e.currencyPosition,o=e.currencySymbol,i=M()(["tribe-editor__event-cost__value","tribe-editor-cost-symbol-position-"+n]);return wp.element.createElement("div",{className:"tribe-editor__event-cost"},wp.element.createElement("strong",null,Object(a.__)("Price: ","the-events-calendar")),wp.element.createElement("br",null),"prefix"===n&&wp.element.createElement("span",null,o),wp.element.createElement(k.PlainText,{className:i,value:r,placeholder:Object(a.__)("Enter price","the-events-calendar"),onChange:t}),"suffix"===n&&wp.element.createElement("span",null,o))}(),wp.element.createElement(Y.TermsList,{slug:"tribe_events_cat",label:Object(a.__)("Event Category:","the-events-calendar")}),wp.element.createElement(Y.TermsList,{slug:"post_tag",label:Object(a.__)("Event Tags:","the-events-calendar")})),wp.element.createElement(Y.MetaGroup,{groupKey:"organizer"},wp.element.createElement(w.a,{className:"tribe-editor__events-section__headline",value:i,placeholder:Object(a.__)("Organizer","the-events-calendar"),onChange:T.input.sendValue(s)}),wp.element.createElement(U,null))),u&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Date Time Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Is All Day Event","the-events-calendar"),checked:l,onChange:c})),wp.element.createElement(D.PanelBody,{title:Object(a.__)("Price Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show symbol before","the-events-calendar"),checked:"prefix"===d,onChange:m}),wp.element.createElement(D.TextControl,{label:Object(a.__)(" Currency Symbol","the-events-calendar"),value:_,placeholder:Object(a.__)("E.g.: $","the-events-calendar"),onChange:f})))]};Z.propTypes={organizerTitle:g.a.string,url:g.a.string,start:g.a.string,end:g.a.string,separatorDate:g.a.string,cost:g.a.string,currencyPosition:g.a.string,currencySymbol:g.a.string,detailsTitle:g.a.string,allDay:g.a.bool,isSelected:g.a.bool,setOrganizerTitle:g.a.func,setDetailsTitle:g.a.func,setWebsite:g.a.func,setCost:g.a.func,toggleDashboardDateTime:g.a.func,setSymbol:g.a.func,togglePosition:g.a.func,setAllDay:g.a.func};var $=Z,J=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{start:l.selectors.getStart(e),end:l.selectors.getEnd(e),multiDay:l.selectors.getMultiDay(e),allDay:l.selectors.getAllDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),timezone:l.selectors.getTimeZone(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),url:d.d.getUrl(e),detailsTitle:m.d.detailsTitleSelector(e),organizerTitle:m.d.organizerTitleSelector(e),organizers:_.c.getOrganizersInClassic(e)}},function(e){return i()({},Object(u.a)(l.actions,e),Object(u.a)(l.thunks,e),Object(u.a)(f.a,e),Object(u.a)(c.a,e),Object(u.a)(d.a,e),Object(u.a)(m.a,e),{setInitialState:function(t){e(c.a.setInitialState(t)),e(f.a.setInitialState(t)),e(d.a.setInitialState(t)),e(l.thunks.setInitialState(t)),e(m.a.setInitialState(t));var r=t.get;e(_.a.setOrganizersInClassic(r("organizers",[])))}})}),Object(p.withSaveData)())($),K=r(38),Q={id:"classic-event-details",title:Object(a.__)("Event Details Classic","the-events-calendar"),description:Object(a.__)("Display your event info together in one place — just like in the Classic Editor.","the-events-calendar"),icon:wp.element.createElement(K.Classic,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{organizerTitle:{type:"html",default:""},detailsTitle:{type:"html",default:""},organizers:{type:"array",source:"meta",meta:"_EventOrganizerID"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},url:{type:"string",source:"meta",meta:"_EventURL"},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:J,save:function(e){return null}},X=r(18),ee=r.n(X),te=r(20),re=r.n(te),ne=r(17),ae=r.n(ne),oe=r(19),ie=r.n(oe),se=T.date.timezonesAsSelectData,ue=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.onTimeZoneVisibilityChange,r=e.separatorDate,n=e.separatorTime,o=e.setSeparatorDate,i=e.setSeparatorTime,s=e.setTimeZone,u=e.showTimeZone,l=e.timeZone;return e.isEditable&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Date Time Settings","the-events-calendar")},wp.element.createElement(D.TextControl,{label:Object(a.__)("Date Time Separator","the-events-calendar"),value:r,onChange:o,className:"tribe-editor__date-time__date-time-separator-setting",maxLength:"2"}),wp.element.createElement(D.TextControl,{label:Object(a.__)("Time Range Separator","the-events-calendar"),value:n,onChange:i,className:"tribe-editor__date-time__time-range-separator-setting",maxLength:"2"}),wp.element.createElement(D.SelectControl,{label:Object(a.__)("Time Zone","the-events-calendar"),value:l,onChange:s,options:se(),className:"tribe-editor__date-time__time-zone-setting"}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Time Zone","the-events-calendar"),checked:u,onChange:t})))}}]),t}(h.PureComponent);ue.propTypes={isEditable:g.a.bool.isRequired,onTimeZoneVisibilityChange:g.a.func,separatorDate:g.a.string,separatorTime:g.a.string,setSeparatorDate:g.a.func,setSeparatorTime:g.a.func,setTimeZone:g.a.func,showTimeZone:g.a.bool,timeZone:g.a.string};var le=ue,ce=function(e){return function(t){return e(l.actions.setTimeZoneVisibility(t))}},de=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isEditable:l.selectors.isEditable(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),timeZone:l.selectors.getTimeZone(e)}},function(e){return i()({},Object(u.a)(l.actions,e),{onTimeZoneVisibilityChange:ce(e)})}),Object(p.withSaveData)(),p.withBlockCloser)(le),me=r(11),_e=r.n(me),fe=(r(642),function(e){function t(){var e,r,n,a;ee()(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.render=function(){return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),wp.element.createElement("section",{className:"tribe-editor__subtitle tribe-editor__date-time tribe-common__plugin-block-hook"},wp.element.createElement(k.InnerBlocks,{template:n.template,templateLock:"all",templateInsertUpdatesSelection:!1})))},a=r,ae()(n,a)}return ie()(t,e),re()(t,[{key:"template",get:function(){return[["tribe/event-datetime-dashboard",{}],["tribe/event-datetime-content",{}]]}}]),t}(h.PureComponent)),pe=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isOpen:f.c.getDashboardDateTimeOpen(e),start:l.selectors.getStart(e),end:l.selectors.getEnd(e),allDay:l.selectors.getAllDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),timeZone:l.selectors.getTimeZone(e),timeZoneLabel:l.selectors.getTimeZoneLabel(e),cost:c.d.getPrice(e),currencySymbol:c.d.getSymbol(e),currencyPosition:c.d.getPosition(e)}},function(e){return{setInitialState:function(t){e(c.a.setInitialState(t)),e(l.thunks.setInitialState(t)),e(f.a.setInitialState(t))},onClose:function(){e(l.actions.setDateInputVisibility(!1)),e(f.a.closeDashboardDateTime())}}}),Object(p.withSaveData)(),p.withBlockCloser)(fe),he=r(12),ye=(r(643),function(e){var t=e.onChange,r=e.naturalLanguageLabel,n=e.before,a=e.after;return wp.element.createElement("div",{className:"tribe-editor__date-input__container"},n,wp.element.createElement("input",{type:"text",name:"date-input",className:"tribe-editor__date-input",value:r,onChange:t}),a)});ye.propTypes={onChange:g.a.func,naturalLanguageLabel:g.a.string,before:g.a.node,after:g.a.node};var ve=ye,ge=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{naturalLanguageLabel:l.selectors.getNaturalLanguageLabel(e)}},function(e){return{onChange:function(t){return e(l.actions.setNaturalLanguageLabel(t.target.value))}}}))(ve),be=r(56),Me=r.n(be),Le=r(502),we=r(503),De=Me()({},Le.constants.EVENTS_PRO_PLUGIN,[["tribe/event-pro-recurrence-description",{}]]),ke=function(){return wp.element.createElement(we.PluginBlockHooks,{pluginTemplates:De,templateLock:"all"})};ke.propTypes={};var Te=ke,Ye=T.date.FORMATS,Se=T.date.TODAY,Ee=T.moment.toMoment,Oe=T.moment.toDate,je=T.moment.toDateNoYear,xe=T.moment.toTime,Ae=T.moment.isSameYear;Ye.date=Object(he.settings)()&&Object(he.settings)().dateWithYearFormat?Object(he.settings)().dateWithYearFormat:Object(a.__)("F j","the-events-calendar");var Pe=function(e){function t(){var e,r,n,o;ee()(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderPrice=function(){var e=n.props,t=e.cost,r=e.currencyPosition,o=e.currencySymbol,i=e.setCost;return Object(he.editor)()&&Object(he.editor)().isClassic?wp.element.createElement("div",{key:"tribe-editor-event-cost",className:"tribe-editor__event-cost"},"prefix"===r&&wp.element.createElement("span",null,o),wp.element.createElement(k.PlainText,{className:M()("tribe-editor__event-cost__value","tribe-editor-cost-symbol-position-"+r),value:t,placeholder:Object(a.__)("Enter price","the-events-calendar"),onChange:i}),"suffix"===r&&wp.element.createElement("span",null,o)):null},n.renderStartDate=function(){var e=n.props,t=e.start,r=e.end,a=Oe(Ee(t));return Ae(t,r)&&Ae(t,Se)&&(a=je(Ee(t))),wp.element.createElement("span",{className:"tribe-editor__subtitle__headline-date"},a)},n.renderStartTime=function(){var e=n.props,t=e.start;return e.allDay?null:wp.element.createElement(h.Fragment,null,n.renderSeparator("date-time"),xe(Ee(t),Ye.WP.time))},n.renderEndDate=function(){var e=n.props,t=e.start,r=e.end;if(!e.multiDay)return null;var a=Oe(Ee(r));return Ae(t,r)&&Ae(t,Se)&&(a=je(Ee(r))),wp.element.createElement("span",{className:"tribe-editor__subtitle__headline-date"},a)},n.renderEndTime=function(){var e=n.props,t=e.end,r=e.multiDay;return e.allDay?null:wp.element.createElement(h.Fragment,null,r&&n.renderSeparator("date-time"),xe(Ee(t),Ye.WP.time))},n.renderTimezone=function(){var e=n.props,t=e.setTimeZoneLabel,r=e.timeZoneLabel;return e.showTimeZone&&wp.element.createElement("span",{key:"time-zone",className:"tribe-editor__time-zone"},wp.element.createElement(Y.TimeZone,{value:r,placeholder:r,onChange:t}))},n.renderSeparator=function(e,t){var r=n.props,o=r.separatorDate,i=r.separatorTime;switch(e){case"date-time":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)}," ".concat(o," "));case"time-range":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)}," ".concat(i," "));case"all-day":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)},Object(a.__)("All Day","the-events-calendar"));default:return null}},n.renderExtras=function(){return wp.element.createElement(h.Fragment,null,n.renderTimezone(),n.renderPrice())},n.render=function(){var e=n.props,t=e.multiDay,r=e.allDay,a=e.showDateInput,o=e.onDateTimeLabelClick,i=e.isEditable;return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),a&&i?wp.element.createElement(ge,{after:n.renderExtras()}):wp.element.createElement(h.Fragment,null,wp.element.createElement("h2",{className:"tribe-editor__subtitle__headline"},wp.element.createElement("div",{className:"tribe-editor__subtitle__headline-content"},wp.element.createElement("button",{className:"tribe-editor__btn--label",onClick:o,disabled:!i},n.renderStartDate(),n.renderStartTime(),(t||!r)&&n.renderSeparator("time-range"),n.renderEndDate(),n.renderEndTime(),r&&n.renderSeparator("all-day")),n.renderExtras())),wp.element.createElement(Te,null)))},o=r,ae()(n,o)}return ie()(t,e),t}(h.Component);Pe.propTypes={allDay:g.a.bool,cost:g.a.string,currencyPosition:g.a.oneOf(["prefix","suffix",""]),currencySymbol:g.a.string,end:g.a.string,isEditable:g.a.bool,multiDay:g.a.bool,onDateTimeLabelClick:g.a.func,separatorDate:g.a.string,separatorTime:g.a.string,setCost:g.a.func,setTimeZoneLabel:g.a.func,showDateInput:g.a.bool,showTimeZone:g.a.bool,start:g.a.string,timeZone:g.a.string,timeZoneLabel:g.a.string};var He=Pe,Ce=function(e){return function(){e(l.actions.setDateInputVisibility(!0)),e(f.a.openDashboardDateTime())}},Ne=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{allDay:l.selectors.getAllDay(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),end:l.selectors.getEnd(e),isEditable:l.selectors.isEditable(e),multiDay:l.selectors.getMultiDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showDateInput:l.selectors.getDateInputVisibility(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),start:l.selectors.getStart(e),timeZone:l.selectors.getTimeZone(e),timeZoneLabel:l.selectors.getTimeZoneLabel(e)}},function(e){return i()({},Object(u.a)(l.actions,e),Object(u.a)(c.a,e),{onDateTimeLabelClick:Ce(e)})}),Object(p.withSaveData)(),p.withBlockCloser)(He),Fe=_e()(T.globals.tec(),"timeZone",{}),Ie={id:"event-datetime-content",title:Object(a.__)("Event Date Time Content","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],parent:["tribe/event-datetime"],icon:wp.element.createElement(K.DateTime,null),supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},timeZone:{type:"string",source:"meta",meta:"_EventTimezone"},separatorDate:{type:"string",source:"meta",meta:"_EventDateTimeSeparator"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"},showTimeZone:{type:"boolean",default:_e()(Fe,"showtimeZone",!1)},timeZoneLabel:{type:"string",default:_e()(Fe,"label",T.date.FORMATS.TIMEZONE.string)},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:Ne,save:function(e){return null}},Re=r(50),ze=r(637),qe=Me()({},Le.constants.EVENTS_PRO_PLUGIN,[["tribe/event-pro-recurrence",{},[["tribe/event-pro-recurrence-rule",{}],["tribe/event-pro-recurrence-exception",{}]]]]),We=function(){return wp.element.createElement(we.PluginBlockHooks,{pluginTemplates:qe,templateLock:"all"})};We.propTypes={};var Ue=We,Be=T.date.FORMATS,Ve=T.date.TODAY,Ge=T.moment.toMoment,Ze=T.moment.toDate,$e=T.moment.toDateNoYear,Je=T.moment.isSameYear;Be.date=T.globals.settings()&&T.globals.settings().dateWithYearFormat?T.globals.settings().dateWithYearFormat:Object(a.__)("F j","the-events-calendar");var Ke=function(e){function t(){var e,r,n,o;ee()(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderStartTimePicker=function(){var e=n.props,t=e.start,r=e.end,a=e.startTimeInput,o=e.allDay,i=e.onStartTimePickerBlur,s=e.onStartTimePickerChange,u=e.onStartTimePickerClick,l={current:a,start:T.time.START_OF_DAY,end:T.time.END_OF_DAY,onBlur:i,onChange:s,onClick:u,timeFormat:Be.WP.time,showAllDay:!0,allDay:o},c=Ze(Ge(t));return Je(t,r)&&Je(t,Ve)&&(c=$e(Ge(t))),wp.element.createElement(h.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__time-picker__label"},c),wp.element.createElement(ze.TimePicker,l))},n.renderMultiDayToggle=function(){var e=n.props,t=e.multiDay,r=e.onMultiDayToggleChange;return wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Multi-Day","the-events-calendar"),checked:t,onChange:r})},n.renderEndTimePicker=function(){var e=n.props,t=e.start,r=e.end,a=e.endTimeInput,o=e.multiDay,i=e.allDay,s=e.onEndTimePickerBlur,u=e.onEndTimePickerChange,l=e.onEndTimePickerClick;if(!o&&i)return null;var c={current:a,start:T.time.START_OF_DAY,end:T.time.END_OF_DAY,onBlur:s,onChange:u,onClick:l,timeFormat:Be.WP.time,showAllDay:!0,allDay:i},d=Ze(Ge(r));return Je(t,r)&&Je(t,Ve)&&(d=$e(Ge(r))),wp.element.createElement(h.Fragment,null,o&&wp.element.createElement("span",{className:"tribe-editor__time-picker__label"},d),wp.element.createElement(ze.TimePicker,c))},n.renderCalendars=function(){var e=n.props,t=e.multiDay,r=e.start,a=e.end,o=e.visibleMonth,i=e.setVisibleMonth,s={onSelectDay:e.onSelectDay,withRange:t,from:Ge(r).toDate(),month:o,setVisibleMonth:i};return t&&(s.to=Ge(a).toDate()),wp.element.createElement(Y.Month,s)},o=r,ae()(n,o)}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.multiDay,r=e.allDay,n=e.separatorTime,a=e.isDashboardOpen;return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),wp.element.createElement(Y.Dashboard,{isOpen:a},wp.element.createElement(h.Fragment,null,wp.element.createElement("section",{className:"tribe-editor__calendars"},this.renderCalendars()),wp.element.createElement("footer",{className:"tribe-editor__subtitle__footer"},wp.element.createElement("div",{className:"tribe-editor__subtitle__footer-date"},wp.element.createElement("div",{className:"tribe-editor__subtitle__time-pickers"},this.renderStartTimePicker(),(t||!r)&&wp.element.createElement("span",{className:M()("tribe-editor__separator","tribe-editor__time-picker__separator")}," ".concat(n," ")),this.renderEndTimePicker()),wp.element.createElement("div",{className:"tribe-editor__subtitle__footer-multiday"},this.renderMultiDayToggle())),wp.element.createElement(Ue,null),!this.shouldHideUpsell&&wp.element.createElement(Y.Upsell,null)))))}},{key:"shouldHideUpsell",get:function(){return T.globals.editorConstants().hideUpsell}}]),t}(h.PureComponent);Ke.propTypes={allDay:g.a.bool,end:g.a.string,endTimeInput:g.a.string,isDashboardOpen:g.a.bool,multiDay:g.a.bool,onEndTimePickerBlur:g.a.func,onEndTimePickerChange:g.a.func,onEndTimePickerClick:g.a.func,onMultiDayToggleChange:g.a.func,onSelectDay:g.a.func,onStartTimePickerBlur:g.a.func,onStartTimePickerChange:g.a.func,onStartTimePickerClick:g.a.func,separatorTime:g.a.string,setVisibleMonth:g.a.func,start:g.a.string,startTimeInput:g.a.string,visibleMonth:g.a.instanceOf(Date)};var Qe=Ke,Xe=function(e){return function(t){var r=t.from,n=t.to;e.setDateRange({from:r,to:n})}},et=function(e){return function(t){var r=T.moment.toMoment(t.target.value,T.moment.TIME_FORMAT,!1);r.isValid()||(r=Re.d);var n=T.moment.totalSeconds(r);e.setStartTime(n)}},tt=function(e){return function(t){return e.setStartTimeInput(t.target.value)}},rt=function(e){return function(t,r){e.setStartTime(t),r()}},nt=function(e){return function(t){var r=T.moment.toMoment(t.target.value,T.moment.TIME_FORMAT,!1);r.isValid()||(r=Re.c);var n=T.moment.totalSeconds(r);e.setEndTime(n)}},at=function(e){return function(t){return e.setEndTimeInput(t.target.value)}},ot=function(e){return function(t,r){e.setEndTime(t),r()}},it=function(e){return function(t){e.setMultiDay(t)}},st=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{allDay:l.selectors.getAllDay(e),start:l.selectors.getStart(e),end:l.selectors.getEnd(e),startTimeInput:l.selectors.getStartTimeInput(e),endTimeInput:l.selectors.getEndTimeInput(e),isDashboardOpen:f.c.getDashboardDateTimeOpen(e),multiDay:l.selectors.getMultiDay(e),separatorTime:l.selectors.getTimeSeparator(e),visibleMonth:f.c.getVisibleMonth(e)}},function(e){return i()({},Object(u.a)(l.thunks,e),Object(u.a)(l.actions,e),Object(u.a)(f.a,e),{setInitialState:function(t){e(l.thunks.setInitialState(t)),e(f.a.setInitialState(t))}})},function(e,t,r){return i()({},r,e,t,{onSelectDay:Xe(t),onStartTimePickerBlur:et(t),onStartTimePickerChange:tt(t),onStartTimePickerClick:rt(t),onEndTimePickerBlur:nt(t),onEndTimePickerChange:at(t),onEndTimePickerClick:ot(t),onMultiDayToggleChange:it(t)})}),Object(p.withSaveData)(),p.withBlockCloser)(Qe);[Ie,{id:"event-datetime-dashboard",title:Object(a.__)("Event Date Time Dashboard","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],parent:["tribe/event-datetime"],icon:wp.element.createElement(K.DateTime,null),supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"}},edit:st,save:function(e){return null}}].forEach(function(e){var t="tribe/"+e.id;Object(n.registerBlockType)(t,e)});var ut=_e()(T.globals.tec(),"timeZone",{}),lt={id:"event-datetime",title:Object(a.__)("Event Date Time","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),icon:wp.element.createElement(K.DateTime,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},timeZone:{type:"string",source:"meta",meta:"_EventTimezone"},separatorDate:{type:"string",source:"meta",meta:"_EventDateTimeSeparator"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"},showTimeZone:{type:"boolean",default:_e()(ut,"showTimeZone",!1)},timeZoneLabel:{type:"string",default:_e()(ut,"label",T.date.FORMATS.TIMEZONE.string)},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:pe,save:function(e){return null}},ct=r(39),dt=r(26),mt=r.n(dt),_t=r(139),ft=r(25),pt=function(e){function t(){ee()(this,t);var e=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.renderVenue=function(){var t=e.props,r=t.venue,n=t.removeVenue;return wp.element.createElement("div",{className:"tribe-editor__venue--current",key:r.id},e.renderVenueName(),e.renderAddress(),e.renderPhone(),e.renderWebsite(),n)},e.state={isLoading:!1},e}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props.venue;return this.state.isLoading?wp.element.createElement(D.Placeholder,{key:"loading"},wp.element.createElement(D.Spinner,null)):e?this.renderVenue():null}},{key:"renderVenueName",value:function(){var e=this.props,t=e.beforeTitle,r=e.afterTitle,n=e.maybeEdit;return wp.element.createElement("div",{className:"tribe-editor__venue__name"},t,wp.element.createElement("h3",{className:"tribe-editor__venue__name-heading",onClick:n},Object(_t.decode)(this.getVenueName())),r)}},{key:"getVenueName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.venue,t=e.title,r=void 0===t?{}:t,n=r.rendered,o=void 0===n?Object(a.__)("(Untitled Venue)","the-events-calendar"):n;return o}},{key:"renderAddress",value:function(){var e=this.props.address,t=void 0===e?{}:e;if(j()(t))return null;var r=t.city,n=t.street,a=t.province,o=t.zip,i=t.country;return wp.element.createElement("address",{className:"tribe-editor__venue__address"},wp.element.createElement("span",{className:"tribe-venue__street-address"},n),r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("span",{className:"tribe-venue__locality"},r)),r&&wp.element.createElement("span",{className:"tribe-venue__delimiter"},", "),a&&wp.element.createElement("span",{className:"tribe-venue__region"},a),o&&wp.element.createElement("span",{className:"tribe-venue__postal-code"}," ",o),i&&wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("span",{className:"tribe-venue__country-name"}," ",i)),this.renderGoogleMapLink())}},{key:"renderGoogleMapLink",value:function(){var e=this.props,t=e.showMapLink,r=e.address;return t?wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("a",{href:Object(ct.h)(r),title:Object(a.__)("Click to view a Google Map","the-events-calendar"),target:"_blank",rel:"noopener noreferrer"},Object(a.__)("+ Google Map","the-events-calendar"))):null}},{key:"renderPhone",value:function(){var e=this.props.venue;return j()(e.meta._VenuePhone)?null:wp.element.createElement(y.a.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__venue__phone"},e.meta._VenuePhone),wp.element.createElement("br",null))}},{key:"renderWebsite",value:function(){var e=this.props.venue;return j()(e.meta._VenueURL)?null:wp.element.createElement(y.a.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__venue__website"},e.meta._VenueURL),wp.element.createElement("br",null))}}]),t}(ft.Component);pt.defaultProps={beforeTitle:null,afterTitle:null,maybeEdit:mt.a};var ht=pt,yt=r(67),vt=(r(644),function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.renderDetails=function(){var e=r.props,t=e.showMapLink,n=e.details,a=yt.e.getAddress;return wp.element.createElement(ht,{venue:n,address:a(n),showMapLink:t,afterTitle:r.renderEditAction(),maybeEdit:r.maybeEdit,removeVenue:r.renderRemoveAction()})},r.maybeEdit=function(){var e=r.props,t=e.volatile,n=e.editVenue;if(r.hasVenue()&&t)return n},r.getCoordinates=function(e){var t=new(Object(he.google)().maps.Geocoder),n=yt.e.getAddress,a=Object(ct.a)(n(e));t.geocode({address:a},function(e,t){if("OK"===t){var n=e[0].geometry.location;r.setState({coords:{lat:n.lat(),lng:n.lng()}})}})},r.state={coords:{lat:null,lng:null}},r}return ie()(t,e),re()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.edit,a=t.create,o=t.setSubmit;e.isSelected&&!r&&(n||a)&&o()}},{key:"componentWillUnmount",value:function(){this.props.removeVenue()}},{key:"renderForm",value:function(){var e=this.props,t=e.fields,r=e.onFormSubmit;return wp.element.createElement(Y.VenueForm,i()({},Object(Y.toFields)(t),{onSubmit:r}))}},{key:"renderEditAction",value:function(){var e=this.props,t=e.isSelected,r=e.edit,n=e.create,a=e.isLoading,o=e.submit,i=e.volatile,s=e.editVenue,u=r||n||a||o;return this.hasVenue()&&t&&i&&!u?wp.element.createElement("button",{onClick:s},wp.element.createElement(D.Dashicon,{icon:"edit"})):null}},{key:"renderSearchOrCreate",value:function(){var e=this.props,t=e.isSelected,r=e.store,n=e.name,o=e.onItemSelect,i=e.onCreateNew;return wp.element.createElement(Y.SearchOrCreate,{name:n,icon:wp.element.createElement(K.Venue,null),store:r,isSelected:t,postType:I.editor.VENUE,onItemSelect:o,onCreateNew:i,placeholder:Object(a.__)("Add or find a venue","the-events-calendar")})}},{key:"renderContainer",value:function(){var e=this.props,t=e.isLoading,r=e.edit,n=e.create,a=e.submit;return t||a?wp.element.createElement(D.Placeholder,{key:"loading"},wp.element.createElement(D.Spinner,null)):r||n?this.renderForm():this.hasVenue()?this.renderDetails():this.renderSearchOrCreate()}},{key:"renderMap",value:function(){var e=this.props,t=e.details,r=e.edit,n=e.create,a=e.isLoading,o=e.submit;if(!e.showMap||j()(t)||r||n||a||o)return null;yt.e.getCoordinates;var i=yt.e.getAddress;this.getCoordinates(t);var s=this.state.coords;return wp.element.createElement(Y.GoogleMap,{size:{width:450,height:353},coordinates:s,address:Object(ct.a)(i(t)),interactive:!0})}},{key:"renderRemoveAction",value:function(){var e=this.props,t=e.isSelected,r=e.edit,n=e.create,o=e.isLoading,i=e.submit,s=e.removeVenue;return!this.hasVenue()||!t||r||n||o||i?null:wp.element.createElement("div",{className:"tribe-editor__venue__actions"},wp.element.createElement("button",{className:"tribe-editor__venue__actions--close",onClick:s},Object(a.__)("Remove venue","the-events-calendar")))}},{key:"renderBlock",value:function(){var e=M()({"tribe-editor__venue":this.hasVenue(),"tribe-editor__venue--has-map":this.hasVenue()&&this.props.showMap});return wp.element.createElement("div",{key:"event-venue-box",className:e},this.renderContainer(),this.renderMap())}},{key:"renderControls",value:function(){var e=this.props,t=e.venue,r=e.showMapLink,n=e.showMap,o=e.toggleVenueMap,i=e.toggleVenueMapLink;return this.hasVenue()?wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Venue Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Google Maps Link","the-events-calendar"),checked:r,onChange:i}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Google Maps Embed","the-events-calendar"),checked:n,onChange:o}),wp.element.createElement(Y.EditLink,{postId:t,label:Object(a.__)("Edit Venue","the-events-calendar")}))):null}},{key:"render",value:function(){return[this.renderBlock(),this.renderControls()]}},{key:"hasVenue",value:function(){var e=this.props.details;return!j()(e)}}]),t}(h.Component));vt.propTypes={venue:g.a.number,isSelected:g.a.bool,isLoading:g.a.bool,submit:g.a.bool,edit:g.a.bool,create:g.a.bool,details:g.a.object,draft:g.a.object,showMap:g.a.bool,showMapLink:g.a.bool,createDraft:g.a.func,editDraft:g.a.func,removeDraft:g.a.func,setDraftDetails:g.a.func,clear:g.a.func,sendForm:g.a.func,toggleVenueMap:g.a.func,toggleVenueMapLink:g.a.func,onFormSubmit:g.a.func,onItemSelect:g.a.func,onCreateNew:g.a.func,removeVenue:g.a.func,editVenue:g.a.func};var gt=vt,bt=function(e){return function(t){var r=yt.a.setVenue,n=yt.a.setShowMap,a=yt.a.setShowMapLink;e(r(t)),e(n(!0)),e(a(!0))}},Mt=function(e,t){return function(r){return t.sendForm(Object(Y.toVenue)(r),function(e,t){return function(r){var n=t.setDetails,a=r.id;n(a,r),bt(e)(a)}}(e,t))}},Lt=function(e){return bt(e)},wt=function(e){return function(t){return e.createDraft({title:{rendered:t}})}},Dt=function(e,t){return function(){var r=t.volatile,n=t.maybeRemoveEntry,a=t.details;e(yt.a.removeVenue()),r&&n(a)}},kt=function(e){return function(){var t=e.details;(0,e.editEntry)(t)}},Tt=Object(u.c)(Object(p.withStore)({postType:I.editor.VENUE}),Object(s.a)(function(e){return{venue:yt.d.getVenue(e),showMapLink:yt.d.getshowMapLink(e),showMap:yt.d.getshowMap(e)}}),Object(E.withDetails)("venue"),Object(p.withForm)(function(e){return e.name}),Object(s.a)(null,function(e,t){return i()({},Object(u.a)(yt.a,e),{onFormSubmit:Mt(e,t),onItemSelect:Lt(e),onCreateNew:wt(t),removeVenue:Dt(e,t),editVenue:kt(t)})}),Object(p.withSaveData)())(gt),Yt={id:"event-venue",title:Object(a.__)("Event Venue","the-events-calendar"),description:Object(a.__)("Where is this event happening? Select or create a location.","the-events-calendar"),icon:wp.element.createElement(K.Venue,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{venueTitle:{type:"html"},venue:{type:"integer",source:"meta",meta:"_EventVenueID"},showMapLink:{type:"boolean",source:"meta",meta:"_EventShowMapLink"},showMap:{type:"boolean",source:"meta",meta:"_EventShowMap"}},edit:Tt,save:function(e){return null}},St=r(639);function Et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_e()(e,"title",{}),r=_e()(e,"meta",{});return{title:_e()(t,"rendered",""),email:_e()(r,"_OrganizerEmail",""),phone:_e()(r,"_OrganizerPhone",""),website:_e()(r,"_OrganizerWebsite","")}}var Ot=r(640),jt=(r(638),function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return r.maybeEdit=function(){var e=r.props,t=e.volatile,n=e.edit;t&&n()},r.renderEdit=function(){var e=r.props,t=e.edit,n=e.selected,a=e.volatile;return n&&a?wp.element.createElement("button",{onClick:t},wp.element.createElement(D.Dashicon,{icon:"edit"})):null},r}return ie()(t,e),re()(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"tribe-editor__organizer__details"},this.renderDetails(),this.renderActions())}},{key:"renderDetails",value:function(){var e=Et(this.props.organizer),t=e.title,r=e.website,n=e.email,a=e.phone;return wp.element.createElement(h.Fragment,null,wp.element.createElement("div",{className:"tribe-editor__organizer__title"},wp.element.createElement("h3",{className:"tribe-editor__organizer__title-heading",onClick:this.maybeEdit},Object(_t.decode)(t)),this.renderEdit()),a&&wp.element.createElement("p",null,a),r&&wp.element.createElement("p",null,r),n&&wp.element.createElement("p",null,n))}},{key:"renderActions",value:function(){var e=this.props,t=e.remove;return e.selected?wp.element.createElement("div",{className:"tribe-editor__organizer__actions"},wp.element.createElement("button",{className:"tribe-editor__organizer__actions--close",onClick:t},wp.element.createElement(Ot.Close,null))):null}}]),t}(ft.Component));jt.defaultProps={organizer:{},edit:mt.a,remove:mt.a,selected:!1},jt.propTypes={organizer:g.a.object,edit:g.a.func,remove:g.a.func,selected:g.a.bool};var xt=jt,At=r(436),Pt=r.n(At),Ht=r(127),Ct=r.n(Ht),Nt=function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return r.saveField=function(e){return function(t){r.setState(Me()({},e,t))}},r.saveEventField=function(e){return function(t){return r.saveField(e)(r.getValue(t))}},r.getValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return t.value},r.state=Pt()(e,["submit"]),r}return ie()(t,e),re()(t,[{key:"componentWillUnmount",value:function(){var e=i()({},this.state);e.email&&!Ct.a.isEmail(e.email)&&(e.email=""),e.website&&!Ct.a.isURL(e.website)&&(e.website=""),this.props.submit(e)}},{key:"render",value:function(){var e=this.state,t=e.title,r=e.email,n=e.website,o=e.phone;return wp.element.createElement("section",{className:"tribe-editor__organizer__form"},wp.element.createElement("div",{className:"tribe-editor__organizer__fields"},wp.element.createElement(k.RichText,{tagName:"h3",format:"string",value:t,onChange:this.saveField("title"),formattingControls:[]}),wp.element.createElement("input",{type:"tel",name:"phone",value:o,placeholder:Object(a.__)("Add Phone","the-events-calendar"),onChange:this.saveEventField("phone")}),wp.element.createElement("input",{type:"url",name:"website",value:n,placeholder:Object(a.__)("Add website","the-events-calendar"),onChange:this.saveEventField("website")}),wp.element.createElement("input",{type:"email",name:"email",value:r,placeholder:Object(a.__)("Add email","the-events-calendar"),onChange:this.saveEventField("email")})))}}]),t}(ft.Component);Nt.defaultProps={title:"",phone:"",website:"",email:"",submit:mt.a},Nt.propTypes={title:g.a.string,email:g.a.string,website:g.a.string,phone:g.a.string,submit:g.a.func};var Ft=Nt,It=function(e){function t(){var e,r,n,a;ee()(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.renderLoading=function(){return wp.element.createElement("div",{className:"tribe-editor__spinner-container"},wp.element.createElement(D.Spinner,null))},n.edit=function(){var e=n.props,t=e.details;(0,e.editEntry)(t)},n.remove=function(){var e=n.props,t=e.clientId,r=e.organizer,a=e.removeOrganizerInBlock,o=e.volatile,i=e.maybeRemoveEntry,s=e.removeOrganizerInClassic,u=e.details;a(t,r),o&&(i(u),s(r))},a=r,ae()(n,a)}return ie()(t,e),re()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.edit,a=t.create,o=t.setSubmit;e.isSelected&&!r&&(n||a)&&o()}},{key:"renderForm",value:function(){var e=this.props,t=e.fields,r=e.submit,n=e.onFormSubmit;return r?this.renderLoading():wp.element.createElement(Ft,i()({},Et(t),{submit:n}))}},{key:"renderSearch",value:function(){var e=this.props,t=e.clientId,r=e.isSelected,n=e.organizers,o=e.store,i=e.postType,s=e.onItemSelect,u=e.onCreateNew;return wp.element.createElement(Y.SearchOrCreate,{name:t,store:o,postType:i,isSelected:r,icon:wp.element.createElement(K.Organizer,null),placeholder:Object(a.__)("Add or find an organizer","the-events-calendar"),onItemSelect:s,onCreateNew:u,exclude:n})}},{key:"renderDetails",value:function(){var e=this.props,t=e.details,r=e.volatile,n=e.isSelected;return wp.element.createElement(xt,{organizer:t,volatile:r,selected:n,edit:this.edit,remove:this.remove})}},{key:"renderContent",value:function(){var e=this.props,t=e.details,r=e.edit,n=e.create;return e.isLoading?this.renderLoading():r||n?this.renderForm():j()(t)?this.renderSearch():this.renderDetails()}},{key:"renderBlock",value:function(){return wp.element.createElement("section",{key:this.props.clientId},this.renderContent())}},{key:"renderSettings",value:function(){var e=this.props,t=e.isSelected,r=e.organizer;return t&&r&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Organizer Settings","the-events-calendar")},wp.element.createElement(Y.EditLink,{postId:r,label:Object(a.__)("Edit Organizer","the-events-calendar")})))}},{key:"render",value:function(){return[this.renderBlock(),this.renderSettings()]}}]),t}(ft.Component);It.propTypes={details:g.a.object,create:g.a.bool,edit:g.a.bool,submit:g.a.bool,isLoading:g.a.bool,isSelected:g.a.bool,organizer:g.a.number,clientId:g.a.string,current:g.a.string,setPost:g.a.func,clear:g.a.func,createDraft:g.a.func,editPost:g.a.func,onFormSubmit:g.a.func,onSelectItem:g.a.func,onCreateNew:g.a.func};var Rt=It,zt=function(e,t){return function(r){return t.sendForm(function(e){return{title:e.title,status:"draft",meta:{_OrganizerEmail:e.email,_OrganizerPhone:e.phone,_OrganizerWebsite:e.website}}}(r),function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.setDetails,a=e.addOrganizerInClassic,o=e.addOrganizerInBlock;n(r.id,r),a(r.id),o(t.clientId,r.id)}}(e,t))}},qt=function(e,t){return function(r,n){var a=e.setDetails,o=e.addOrganizerInClassic,i=e.addOrganizerInBlock;a(r,n),o(r),i(t.clientId,r)}},Wt=function(e){return function(t){return e.createDraft({title:{rendered:t}})}},Ut=Object(u.c)(Object(p.withStore)({isolated:!0,postType:I.editor.ORGANIZER}),Object(p.withForm)(function(e){return e.clientId}),Object(s.a)(function(e,t){return{organizer:_.c.getOrganizerInBlock(e,t),organizers:_.c.getOrganizersInClassic(e)}}),Object(E.withDetails)("organizer"),Object(s.a)(null,function(e){return i()({},Object(u.a)(_.a,e),Object(u.a)(S.a,e),{setInitialState:function(t){var r=t.clientId,n=(0,t.get)("organizer","");n&&(e(_.a.addOrganizerInBlock(r,n)),e(_.a.addOrganizerInClassic(n)))},onBlockRemoved:function(t){var r=t.clientId,n=t.organizer,a=t.volatile;n&&(e(_.a.removeOrganizerInBlock(r,n)),a&&(e(_.a.removeOrganizerInClassic(n)),e(St.actions.removeVolatile(n))))}})},function(e,t,r){return i()({},r,e,t,{onFormSubmit:zt(t,r),onItemSelect:qt(t,r),onCreateNew:Wt(r)})}),Object(p.withSaveData)())(Rt),Bt={id:"event-organizer",title:Object(a.__)("Event Organizer","events-gutenberg"),description:Object(a.__)("List a host or coordinator for this event.","events-gutenberg"),icon:wp.element.createElement(K.Organizer,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{organizer:{type:"html",default:Object(he.editorDefaults)().organizer?Object(he.editorDefaults)().organizer:void 0},organizers:{type:"array",source:"meta",meta:"_EventOrganizerID"}},edit:Ut,save:function(){return null}},Vt=(r(645),Object(a.__)("Google Calendar","the-events-calendar")),Gt=Object(a.__)("iCal Export","the-events-calendar"),Zt=function(e){return wp.element.createElement("button",{className:"tribe-editor__btn--link tribe-editor__btn--placeholder",disabled:!0},wp.element.createElement(K.Link,null),e)},$t=function(e){return wp.element.createElement("div",{key:"event-links",className:"tribe-editor__block tribe-editor__events-link"},(r=(t=e).hasiCal,n=t.hasGoogleCalendar,a=t.googleCalendarLabel,o=t.setGoogleCalendarLabel,n||r?n&&wp.element.createElement("div",{className:"tribe-editor__btn--link tribe-events-gcal"},wp.element.createElement(K.Link,null),wp.element.createElement(w.a,{name:"google-calendar-label",className:"tribe-editor__btn-input",value:a,placeholder:Vt,onChange:T.input.sendValue(o)})):Zt(Vt)),function(e){var t=e.hasiCal,r=e.hasGoogleCalendar,n=e.iCalLabel,a=e.setiCalLabel;return r||t?t&&wp.element.createElement("div",{className:"tribe-editor__btn--link tribe-events-ical"},wp.element.createElement(K.Link,null),wp.element.createElement(w.a,{id:"tribe-event-ical",name:"tribe-event-ical",className:"tribe-editor__btn-input",value:n,placeholder:Gt,onChange:T.input.sendValue(a)})):Zt(Gt)}(e));var t,r,n,a,o},Jt=function(e){return[$t(e),(t=e,r=t.hasGoogleCalendar,n=t.hasiCal,o=t.isSelected,i=t.toggleIcalLabel,s=t.toggleGoogleCalendar,o&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Share Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Google Calendar","the-events-calendar"),checked:r,onChange:s}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("iCal","the-events-calendar"),checked:n,onChange:i}))))];var t,r,n,o,i,s};Jt.propTypes={hasGoogleCalendar:g.a.bool,hasiCal:g.a.bool,isSelected:g.a.bool,googleCalendarLabel:g.a.string,iCalLabel:g.a.string,setiCalLabel:g.a.func,setGoogleCalendarLabel:g.a.func,toggleIcalLabel:g.a.func,toggleGoogleCalendar:g.a.func};var Kt=Jt,Qt=r(111),Xt=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{iCalLabel:Qt.d.iCalLabelSelector(e),hasiCal:Qt.d.hasIcalSelector(e),googleCalendarLabel:Qt.d.googleCalendarLabelSelector(e),hasGoogleCalendar:Qt.d.hasGooglecalendarLabel(e)}},function(e){return Object(u.a)(Qt.a,e)}),Object(p.withSaveData)())(Kt),er={id:"event-links",title:Object(a.__)("Event Sharing","the-events-calendar"),description:Object(a.__)("Encourage visitors to add your event to their calendars with handy sharing buttons.","the-events-calendar"),icon:wp.element.createElement(K.Sharing,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{googleCalendarLabel:{type:"html",default:Object(a.__)("Google Calendar","the-events-calendar")},iCalLabel:{type:"html",default:Object(a.__)("iCal Export","the-events-calendar")},hasiCal:{type:"html",default:!0},hasGoogleCalendar:{type:"html",default:!0}},edit:Xt,save:function(e){return null}},tr=(r(646),function(e){var t,r,n,o,i,s,u,l,c,d,m,_=e.currencyPosition,f=e.openDashboard,p=M()("tribe-editor__event-price__price","tribe-editor__event-price__price--"+_);return wp.element.createElement("div",{className:p,onClick:f},(d=(c=e).showCurrencySymbol,m=c.currencySymbol,d&&wp.element.createElement("span",{className:"tribe-editor__event-price__currency"},m)),function(e){var t=e.showCost,r=e.currencySymbol,n=e.currencyPosition,o=Object(a.__)("Add Price","the-events-calendar");return o="prefix"===n?r+" "+o:o+" "+r,!t&&wp.element.createElement("span",{className:"tribe-editor__event-price__label"},o)}(e),(i=(o=e).showCost,s=o.isFree,u=o.cost,l=T.range.parser(u),s&&(l=Object(a.__)("Free","the-events-calendar")),i&&wp.element.createElement("span",{className:"tribe-editor__event-price__cost"},l)),(r=(t=e).showCostDescription,n=t.costDescription,r&&wp.element.createElement("span",{className:"tribe-editor__event-price__description"},n)))}),rr=function(e){return wp.element.createElement("section",{key:"event-price-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-price"},tr(e),(r=(t=e).isDashboardOpen,n=t.cost,o=t.costDescription,i=t.setCost,s=t.setDescription,wp.element.createElement(Y.Dashboard,{isOpen:r},wp.element.createElement(h.Fragment,null,wp.element.createElement("section",{className:"tribe-editor__event-price__dashboard"},wp.element.createElement("input",{className:M()("tribe-editor__event-price__input","tribe-editor__event-price__input--price"),name:"description",type:"text",placeholder:Object(a.__)("Fixed Price or Range","the-events-calendar"),onChange:T.input.sendValue(i),value:n}),wp.element.createElement("input",{className:M()("tribe-editor__event-price__input","tribe-editor__event-price__input--description"),name:"description",type:"text",placeholder:Object(a.__)("Description","the-events-calendar"),onChange:T.input.sendValue(s),value:o})),wp.element.createElement("footer",{className:"tribe-editor__event-price__dashboard__footer"},Object(a.__)("Enter 0 as price for free events","the-events-calendar")))))));var t,r,n,o,i,s},nr=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[rr(this.props),(e=this.props,t=e.isSelected,r=e.currencySymbol,n=e.currencyPosition,o=e.setSymbol,i=e.setCurrencyPosition,t&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Price Settings","the-events-calendar")},wp.element.createElement(D.TextControl,{className:"tribe-editor__event-price__currency-symbol-setting",label:Object(a.__)(" Currency Symbol","the-events-calendar"),value:r,placeholder:Object(a.__)("E.g.: $","the-events-calendar"),onChange:o}),wp.element.createElement(D.CheckboxControl,{label:Object(a.__)("Currency symbol follows price","the-events-calendar"),checked:"suffix"===n,onChange:i}))))];var e,t,r,n,o,i}}]),t}(ft.Component);nr.propTypes={isDashboardOpen:g.a.bool,cost:g.a.string,currencyPosition:g.a.oneOf(["prefix","suffix",""]),currencySymbol:g.a.string,costDescription:g.a.string,showCurrencySymbol:g.a.bool,showCost:g.a.bool,showCostDescription:g.a.bool,isFree:g.a.bool,setCost:g.a.func,setSymbol:g.a.func,setDescription:g.a.func,setCurrencyPosition:g.a.func,onKeyDown:g.a.func,onClick:g.a.func,openDashboard:g.a.func};var ar=nr,or=function(e){var t=T.range.parser(e);return!j()(A()(t))||T.range.isFree(e)},ir=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isDashboardOpen:f.c.getDashboardPriceOpen(e),isOpen:f.c.getDashboardPriceOpen(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),costDescription:c.d.getDescription(e),showCurrencySymbol:(r=c.d.getPrice(e),n=T.range.parser(r),!j()(A()(n))&&!T.range.isFree(r)),showCost:or(c.d.getPrice(e)),showCostDescription:(t=c.d.getDescription(e),!j()(A()(t))),isFree:T.range.isFree(c.d.getPrice(e))};var t,r,n},function(e){return i()({},Object(u.a)(c.a,e),{setInitialState:function(t){e(c.a.setInitialState(t)),e(f.a.setInitialState(t))},onClose:function(){return e(f.a.closeDashboardPrice())},openDashboard:function(){return e(f.a.openDashboardPrice())},setCurrencyPosition:function(t){return e(c.a.togglePosition(!t))}})}),Object(p.withSaveData)(),p.withBlockCloser)(ar),sr={id:"event-price",title:Object(a.__)("Event Price","the-events-calendar"),description:Object(a.__)("Let visitors know the cost of this event or if it’s free to attend.","the-events-calendar"),icon:wp.element.createElement(K.Price,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{cost:{type:"string",source:"meta",meta:"_EventCost"},costDescription:{type:"html",default:""},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:ir,save:function(e){return null}},ur=(r(647),function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"event-category-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-category"},this.renderList()))}},{key:"renderList",value:function(){return wp.element.createElement(Y.TermsList,{slug:"tribe_events_cat",label:Object(a.__)("Event Category","the-events-calendar"),renderEmpty:Object(a.__)("Add Event Categories in document settings","the-events-calendar")})}}]),t}(ft.Component)),lr={id:"event-category",title:Object(a.__)("Event Categories","the-events-calendar"),description:Object(a.__)("Show assigned event categories as links to their respective archives.","the-events-calendar"),icon:wp.element.createElement(K.Categories,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:ur,save:function(e){return null}},cr=(r(648),function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"event-tags-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-tags"},this.renderList()))}},{key:"renderList",value:function(){return wp.element.createElement(Y.TermsList,{slug:"post_tag",label:Object(a.__)("Tags","the-events-calendar"),renderEmpty:Object(a.__)("Add tags in document settings","the-events-calendar")})}}]),t}(ft.Component)),dr={id:"event-tags",title:Object(a.__)("Tags","the-events-calendar"),description:Object(a.__)("Add keywords by displaying linked tags.","the-events-calendar"),icon:wp.element.createElement(K.Tags,null),category:"common",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:cr,save:function(e){return null}},mr=r(138),_r=r(231),fr=(r(649),Object(a.__)("Add Event Website","the-events-calendar")),pr=function(e){var t=e.isSelected,r=e.url,n=e.setWebsite;return t&&wp.element.createElement("div",{key:"tribe-events-website-url",className:"tribe-editor__event-website__url"},wp.element.createElement(D.Dashicon,{icon:"admin-links"}),wp.element.createElement(k.URLInput,{autoFocus:!1,value:r,onChange:n}))},hr=function(e){var t=e.isSelected,r=e.isEmpty,n=e.urlLabel,a=e.setLabel,o=M()({"tribe-editor__event-website__label":!0,"tribe-editor__event-website__label--selected":t}),i=M()({"tribe-editor__event-website__label-text":!0,"tribe-editor__event-website__label-text--empty":r&&t});return wp.element.createElement("div",{key:"tribe-events-website-label",className:o},wp.element.createElement(w.a,{id:"tribe-events-website-link",className:i,value:n,placeholder:fr,onChange:T.input.sendValue(a)}))},yr=function(e){var t=e.isSelected,r=e.urlLabel,n=t||r?[hr(e),pr(e)]:wp.element.createElement("button",{className:M()(["tribe-editor__event-website__label","tribe-editor__event-website__label--placeholder"])},fr);return wp.element.createElement("div",{className:"tribe-editor__block tribe-editor__event-website"},n)};yr.propTypes={isSelected:g.a.bool,isEmpty:g.a.bool,url:g.a.string,urlLabel:g.a.string,setWebsite:g.a.func,setLabel:g.a.func};var vr=yr,gr=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{url:_r.getUrl(e),urlLabel:_r.getLabel(e),isEmpty:(t=_r.getLabel(e),""===t.trim())};var t},function(e){return Object(u.a)(mr,e)}),Object(p.withSaveData)())(vr),br={id:"event-website",title:Object(a.__)("Event Website","the-events-calendar"),description:Object(a.__)("Is there another website for this event? Link to it with a button!","the-events-calendar"),icon:wp.element.createElement(K.Website,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{urlLabel:{type:"html",default:""},url:{type:"string",source:"meta",meta:"_EventURL"}},edit:gr,save:function(e){return null}},Mr=r(124),Lr=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"featured-image",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__featured-image"},this.renderImage()))}},{key:"renderImage",value:function(){var e=this.props.image;return null===e?this.renderPlaceholder():void 0===e?this.renderLoading():wp.element.createElement("img",{src:e.source_url,alt:Object(a.__)("Featured Image","the-events-calendar")})}},{key:"renderPlaceholder",value:function(){return wp.element.createElement(D.Placeholder,{style:{minHeight:150},key:"placeholder",icon:"format-image",instructions:Object(a.__)("Add a Featured Image from the Document Settings sidebar","the-events-calendar")})}},{key:"renderLoading",value:function(){return wp.element.createElement(D.Placeholder,{style:{minHeight:150},key:"placeholder",instructions:Object(a.__)("Loading the Image","the-events-calendar")},wp.element.createElement(D.Spinner,null))}}]),t}(ft.Component),wr=Object(Mr.withSelect)(function(e,t){var r=e("core"),n=r.getMedia,a=(r.getPostType,(0,e("core/editor").getEditedPostAttribute)("featured_media"));return{image:a?n(a):null}})(Lr),Dr={id:"featured-image",title:Object(a.__)("Featured Image","the-events-calendar"),description:Object(a.__)("Display the featured image in the post content.","the-events-calendar"),icon:wp.element.createElement(K.FeaturedImage,null),category:"common",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:wr,save:function(e){return null}},kr=r(500);r(650);r.d(t,"controls",function(){return Tr});var Tr={EventDateTimeControls:de},Yr=[Q,lt,Yt,Bt,er,sr,lr,dr,br,Dr];Yr.forEach(function(e){var t="tribe/"+e.id;Object(n.registerBlockType)(t,e)}),Object(kr.initStore)();t.default=Yr}]);
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
+ */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,m=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case m:case i:case u:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case _:case l:return e;default:return t}}case h:case p:case o:return t}}}function v(e){return y(e)===m}t.typeOf=y,t.AsyncMode=d,t.ConcurrentMode=m,t.ContextConsumer=c,t.ContextProvider=l,t.Element=a,t.ForwardRef=_,t.Fragment=i,t.Lazy=h,t.Memo=p,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===m||e===u||e===s||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===_)},t.isAsyncMode=function(e){return v(e)||y(e)===d},t.isConcurrentMode=v,t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return y(e)===_},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===h},t.isMemo=function(e){return y(e)===p},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===u},t.isStrictMode=function(e){return y(e)===s},t.isSuspense=function(e){return y(e)===f}},function(e,t,r){var n={"./af":233,"./af.js":233,"./ar":234,"./ar-dz":235,"./ar-dz.js":235,"./ar-kw":236,"./ar-kw.js":236,"./ar-ly":237,"./ar-ly.js":237,"./ar-ma":238,"./ar-ma.js":238,"./ar-sa":239,"./ar-sa.js":239,"./ar-tn":240,"./ar-tn.js":240,"./ar.js":234,"./az":241,"./az.js":241,"./be":242,"./be.js":242,"./bg":243,"./bg.js":243,"./bm":244,"./bm.js":244,"./bn":245,"./bn.js":245,"./bo":246,"./bo.js":246,"./br":247,"./br.js":247,"./bs":248,"./bs.js":248,"./ca":249,"./ca.js":249,"./cs":250,"./cs.js":250,"./cv":251,"./cv.js":251,"./cy":252,"./cy.js":252,"./da":253,"./da.js":253,"./de":254,"./de-at":255,"./de-at.js":255,"./de-ch":256,"./de-ch.js":256,"./de.js":254,"./dv":257,"./dv.js":257,"./el":258,"./el.js":258,"./en-au":259,"./en-au.js":259,"./en-ca":260,"./en-ca.js":260,"./en-gb":261,"./en-gb.js":261,"./en-ie":262,"./en-ie.js":262,"./en-nz":263,"./en-nz.js":263,"./eo":264,"./eo.js":264,"./es":265,"./es-do":266,"./es-do.js":266,"./es-us":267,"./es-us.js":267,"./es.js":265,"./et":268,"./et.js":268,"./eu":269,"./eu.js":269,"./fa":270,"./fa.js":270,"./fi":271,"./fi.js":271,"./fo":272,"./fo.js":272,"./fr":273,"./fr-ca":274,"./fr-ca.js":274,"./fr-ch":275,"./fr-ch.js":275,"./fr.js":273,"./fy":276,"./fy.js":276,"./gd":277,"./gd.js":277,"./gl":278,"./gl.js":278,"./gom-latn":279,"./gom-latn.js":279,"./gu":280,"./gu.js":280,"./he":281,"./he.js":281,"./hi":282,"./hi.js":282,"./hr":283,"./hr.js":283,"./hu":284,"./hu.js":284,"./hy-am":285,"./hy-am.js":285,"./id":286,"./id.js":286,"./is":287,"./is.js":287,"./it":288,"./it.js":288,"./ja":289,"./ja.js":289,"./jv":290,"./jv.js":290,"./ka":291,"./ka.js":291,"./kk":292,"./kk.js":292,"./km":293,"./km.js":293,"./kn":294,"./kn.js":294,"./ko":295,"./ko.js":295,"./ky":296,"./ky.js":296,"./lb":297,"./lb.js":297,"./lo":298,"./lo.js":298,"./lt":299,"./lt.js":299,"./lv":300,"./lv.js":300,"./me":301,"./me.js":301,"./mi":302,"./mi.js":302,"./mk":303,"./mk.js":303,"./ml":304,"./ml.js":304,"./mr":305,"./mr.js":305,"./ms":306,"./ms-my":307,"./ms-my.js":307,"./ms.js":306,"./my":308,"./my.js":308,"./nb":309,"./nb.js":309,"./ne":310,"./ne.js":310,"./nl":311,"./nl-be":312,"./nl-be.js":312,"./nl.js":311,"./nn":313,"./nn.js":313,"./pa-in":314,"./pa-in.js":314,"./pl":315,"./pl.js":315,"./pt":316,"./pt-br":317,"./pt-br.js":317,"./pt.js":316,"./ro":318,"./ro.js":318,"./ru":319,"./ru.js":319,"./sd":320,"./sd.js":320,"./se":321,"./se.js":321,"./si":322,"./si.js":322,"./sk":323,"./sk.js":323,"./sl":324,"./sl.js":324,"./sq":325,"./sq.js":325,"./sr":326,"./sr-cyrl":327,"./sr-cyrl.js":327,"./sr.js":326,"./ss":328,"./ss.js":328,"./sv":329,"./sv.js":329,"./sw":330,"./sw.js":330,"./ta":331,"./ta.js":331,"./te":332,"./te.js":332,"./tet":333,"./tet.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./uk":341,"./uk.js":341,"./ur":342,"./ur.js":342,"./uz":343,"./uz-latn":344,"./uz-latn.js":344,"./uz.js":343,"./vi":345,"./vi.js":345,"./x-pseudo":346,"./x-pseudo.js":346,"./yo":347,"./yo.js":347,"./zh-cn":348,"./zh-cn.js":348,"./zh-hk":349,"./zh-hk.js":349,"./zh-tw":350,"./zh-tw.js":350};function a(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=o,e.exports=a,a.id=442},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(384),a=r(100).document,o=n(a)&&n(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,r){for(var n=r(508),a=r(449),o=r(390),i=r(100),s=r(130),u=r(388),l=r(149),c=l("iterator"),d=l("toStringTag"),m=u.Array,_={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=a(_),p=0;p<f.length;p++){var h,y=f[p],v=_[y],g=i[y],b=g&&g.prototype;if(b&&(b[c]||s(b,c,m),b[d]||s(b,d,y),u[y]=m,v))for(h in n)b[h]||o(b,h,n[h],!0)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(521),a=r(451);e.exports=Object.keys||function(e){return n(e,a)}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(177).f,a=r(178),o=r(149)("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(119),a=r(392),o=r(393),i=r(102),s=r(95),u=r(121),l=200;e.exports=function(e,t,r,c){var d=-1,m=a,_=!0,f=e.length,p=[],h=t.length;if(!f)return p;r&&(t=i(t,s(r))),c?(m=o,_=!1):t.length>=l&&(m=u,_=!1,t=new n(t));e:for(;++d<f;){var y=e[d],v=null==r?y:r(y);if(y=c||0!==y?y:0,_&&v==v){for(var g=h;g--;)if(t[g]===v)continue e;p.push(y)}else m(t,v,c)||p.push(y)}return p}},function(e,t,r){var n=r(51),a=r(353),o=r(354);e.exports=function(e,t){return o(a(e,t,n),e+"")}},function(e,t,r){var n=r(68),a=r(31);e.exports=function(e){return a(e)&&n(e)}},function(e,t,r){e.exports={default:r(457),__esModule:!0}},function(e,t,r){r(93),r(142),e.exports=r(151).f("iterator")},function(e,t,r){e.exports={default:r(459),__esModule:!0}},function(e,t,r){r(460),r(465),r(466),r(467),e.exports=r(27).Symbol},function(e,t,r){"use strict";var n=r(40),a=r(48),o=r(41),i=r(45),s=r(170),u=r(461).KEY,l=r(70),c=r(114),d=r(117),m=r(89),_=r(29),f=r(151),p=r(152),h=r(462),y=r(463),v=r(47),g=r(58),b=r(83),M=r(59),L=r(128),w=r(71),D=r(116),k=r(464),T=r(357),Y=r(129),S=r(42),E=r(87),O=T.f,j=S.f,x=k.f,A=n.Symbol,P=n.JSON,H=P&&P.stringify,C=_("_hidden"),N=_("toPrimitive"),F={}.propertyIsEnumerable,I=c("symbol-registry"),R=c("symbols"),z=c("op-symbols"),q=Object.prototype,W="function"==typeof A&&!!Y.f,U=n.QObject,B=!U||!U.prototype||!U.prototype.findChild,V=o&&l(function(){return 7!=D(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=O(q,t);n&&delete q[t],j(e,t,r),n&&e!==q&&j(q,t,n)}:j,G=function(e){var t=R[e]=D(A.prototype);return t._k=e,t},Z=W&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},$=function(e,t,r){return e===q&&$(z,t,r),v(e),t=L(t,!0),v(r),a(R,t)?(r.enumerable?(a(e,C)&&e[C][t]&&(e[C][t]=!1),r=D(r,{enumerable:w(0,!1)})):(a(e,C)||j(e,C,w(1,{})),e[C][t]=!0),V(e,t,r)):j(e,t,r)},J=function(e,t){v(e);for(var r,n=h(t=M(t)),a=0,o=n.length;o>a;)$(e,r=n[a++],t[r]);return e},K=function(e){var t=F.call(this,e=L(e,!0));return!(this===q&&a(R,e)&&!a(z,e))&&(!(t||!a(this,e)||!a(R,e)||a(this,C)&&this[C][e])||t)},Q=function(e,t){if(e=M(e),t=L(t,!0),e!==q||!a(R,t)||a(z,t)){var r=O(e,t);return!r||!a(R,t)||a(e,C)&&e[C][t]||(r.enumerable=!0),r}},X=function(e){for(var t,r=x(M(e)),n=[],o=0;r.length>o;)a(R,t=r[o++])||t==C||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===q,n=x(r?z:M(e)),o=[],i=0;n.length>i;)!a(R,t=n[i++])||r&&!a(q,t)||o.push(R[t]);return o};W||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(r){this===q&&t.call(z,r),a(this,C)&&a(this[C],e)&&(this[C][e]=!1),V(this,e,w(1,r))};return o&&B&&V(q,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),T.f=Q,S.f=$,r(356).f=k.f=X,r(92).f=K,Y.f=ee,o&&!r(88)&&s(q,"propertyIsEnumerable",K,!0),f.f=function(e){return G(_(e))}),i(i.G+i.W+i.F*!W,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)_(te[re++]);for(var ne=E(_.store),ae=0;ne.length>ae;)p(ne[ae++]);i(i.S+i.F*!W,"Symbol",{for:function(e){return a(I,e+="")?I[e]:I[e]=A(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),i(i.S+i.F*!W,"Object",{create:function(e,t){return void 0===t?D(e):J(D(e),t)},defineProperty:$,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var oe=l(function(){Y.f(1)});i(i.S+i.F*oe,"Object",{getOwnPropertySymbols:function(e){return Y.f(b(e))}}),P&&i(i.S+i.F*(!W||l(function(){var e=A();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=t=n[1],(g(t)||void 0!==e)&&!Z(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Z(t))return t}),n[1]=t,H.apply(P,n)}}),A.prototype[N]||r(53)(A.prototype,N,A.prototype.valueOf),d(A,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(e,t,r){var n=r(89)("meta"),a=r(58),o=r(48),i=r(42).f,s=0,u=Object.isExtensible||function(){return!0},l=!r(70)(function(){return u(Object.preventExtensions({}))}),c=function(e){i(e,n,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[n].w},onFreeze:function(e){return l&&d.NEED&&u(e)&&!o(e,n)&&c(e),e}}},function(e,t,r){var n=r(87),a=r(129),o=r(92);e.exports=function(e){var t=n(e),r=a.f;if(r)for(var i,s=r(e),u=o.f,l=0;s.length>l;)u.call(e,i=s[l++])&&t.push(i);return t}},function(e,t,r){var n=r(113);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(59),a=r(356).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.slice()}}(e):a(n(e))}},function(e,t){},function(e,t,r){r(152)("asyncIterator")},function(e,t,r){r(152)("observable")},function(e,t,r){e.exports={default:r(469),__esModule:!0}},function(e,t,r){r(470),e.exports=r(27).Object.setPrototypeOf},function(e,t,r){var n=r(45);n(n.S,"Object",{setPrototypeOf:r(471).set})},function(e,t,r){var n=r(58),a=r(47),o=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(112)(Function.call,r(357).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(351),__esModule:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),parseFloat(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===a||o<=a)};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var a=t.split(":"),u=!1,l=e(a[a.length-1],4),c=l?7:8;if(a.length>c)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(a.shift(),a.shift(),u=!0):"::"===t.substr(t.length-2)&&(a.pop(),a.pop(),u=!0);for(var d=0;d<a.length;++d)if(""===a[d]&&d>0&&d<a.length-1){if(u)return!1;u=!0}else if(l&&d===a.length-1);else if(!s.test(a[d]))return!1;return u?a.length>=1:a.length===c}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,s=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:s,n=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&a&&u&&l};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(r,"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("["+t+"]"):/\s/,n=e.length-1;for(;n>=0&&r.test(e[n]);)n--;return n<e.length?e.substr(0,n+1):e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("["+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){var n=r(205);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(592),a=r(353),o=r(354);e.exports=function(e){return o(a(e,void 0,n),e+"")}},function(e,t,r){e.exports={default:r(486),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(487)},function(e,t,r){var n=r(172),a=r(29)("iterator"),o=r(54);e.exports=r(27).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(n(t))}},function(e,t,r){e.exports={default:r(489),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(490)},function(e,t,r){var n=r(47),a=r(171);e.exports=r(27).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(154),a=r(601),o=r(68);e.exports=function(e){return o(e)?n(e,!0):a(e)}},function(e,t,r){var n=r(103),a=r(432),o=r(136),i=r(160),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=a(e);return t}:i;e.exports=s},function(e,t,r){var n=r(159),a=r(492),o=r(491);e.exports=function(e){return n(e,o,a)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),i=(u(r(0)),u(r(229))),s=r(228);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=n=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleNextClick=function(){n.props.onNextClick&&n.props.onNextClick()},n.handlePreviousClick=function(){n.props.onPreviousClick&&n.props.onPreviousClick()},n.handleNextKeyDown=function(e){e.keyCode!==s.ENTER&&e.keyCode!==s.SPACE||(e.preventDefault(),n.handleNextClick())},n.handlePreviousKeyDown=function(e){e.keyCode!==s.ENTER&&e.keyCode!==s.SPACE||(e.preventDefault(),n.handlePreviousClick())},l(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.labels!==this.props.labels||e.dir!==this.props.dir||this.props.showPreviousButton!==e.showPreviousButton||this.props.showNextButton!==e.showNextButton}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.className,n=e.showPreviousButton,a=e.showNextButton,i=e.labels,s=e.dir,u=void 0,l=void 0,c=void 0,d=void 0,m=void 0,_=void 0;"rtl"===s?(u=this.handleNextClick,l=this.handlePreviousClick,c=this.handleNextKeyDown,d=this.handlePreviousKeyDown,_=n,m=a):(u=this.handlePreviousClick,l=this.handleNextClick,c=this.handlePreviousKeyDown,d=this.handleNextKeyDown,_=a,m=n);var f=m?t.navButtonPrev:t.navButtonPrev+" "+t.navButtonInteractionDisabled,p=_?t.navButtonNext:t.navButtonNext+" "+t.navButtonInteractionDisabled,h=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":i.previousMonth,key:"previous",className:f,onKeyDown:m?c:void 0,onClick:m?u:void 0}),y=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":i.nextMonth,key:"right",className:p,onKeyDown:_?d:void 0,onClick:_?l:void 0});return o.default.createElement("div",{className:r||t.navBar},"rtl"===s?[y,h]:[h,y])}}]),t}();c.defaultProps={classNames:i.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0},t.default=c,c.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=i(a);i(r(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){var e=this.props,t=e.weekday,r=e.className,n=e.weekdaysLong,a=e.weekdaysShort,i=e.localeUtils,s=e.locale,u=void 0;u=n?n[t]:i.formatWeekdayLong(t,s);var l=void 0;return l=a?a[t]:i.formatWeekdayShort(t,s),o.default.createElement("div",{className:r,role:"columnheader"},o.default.createElement("abbr",{title:u},l))}}]),t}();t.default=s,s.propTypes={}},function(e,t,r){var n=r(528);e.exports=function(e){return e&&e.length?n(e):[]}},function(e,t,r){var n=r(589),a=r(484)(function(e,t){return null==e?{}:n(e,t)});e.exports=a},function(e,t,r){var n=r(104),a=0;e.exports=function(e){var t=++a;return n(e)+t}},function(e,t,r){var n=r(122);e.exports=function(e,t){return n(e,t)}},function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"datetime",function(){return o}),r.d(n,"default",function(){return m});var a=r(13),o=r(16),i=r(77),s=r(34),u=r(141),l=r(67),c=r(125),d=r(111),m=Object(a.b)({datetime:o.default,classic:c.b,venue:l.b,organizers:i.b,price:s.b,website:u.b,sharing:d.b}),_=r(57),f=r(30),p=r(69),h=Object(a.b)({blocks:m,ui:_.b,search:f.b,details:p.b}),y=r(37),v=r(52);r.d(t,"initStore",function(){return g}),r.d(t,"getStore",function(){return b}),r.d(t,"blocks",function(){return n});var g=function(){var e=v.store.dispatch,t=v.store.injectReducers;[s.c,l.c,u.c,d.c,c.c,o.sagas].forEach(function(e){return v.store.run(e)}),e(y.plugins.actions.addPlugin("events")),t({events:h})},b=function(){return v.store}},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=tribe.common.data.plugins},function(e,t){e.exports=tribe.common.components},function(e,t,r){var n=function(){return this}()||Function("return this")(),a=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,o=a&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(505),a)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var r,n=Object.prototype,a=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=b;var d="suspendedStart",m="suspendedYield",_="executing",f="completed",p={},h={};h[i]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(j([])));v&&v!==n&&a.call(v,i)&&(h=v);var g=D.prototype=L.prototype=Object.create(h);w.prototype=g.constructor=D,D.constructor=w,D[u]=w.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,D):(e.__proto__=D,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(g),e},c.awrap=function(e){return{__await:e}},k(T.prototype),T.prototype[s]=function(){return this},c.AsyncIterator=T,c.async=function(e,t,r,n){var a=new T(b(e,t,r,n));return c.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(g),g[u]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},c.values=j,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,a){return s.type="throw",s.arg=e,t.next=n,a&&(t.method="next",t.arg=r),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;E(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}}}function b(e,t,r,n){var a=t&&t.prototype instanceof L?t:L,o=Object.create(a.prototype),i=new O(n||[]);return o._invoke=function(e,t,r){var n=d;return function(a,o){if(n===_)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw o;return x()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var s=Y(i,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=_;var u=M(e,t,r);if("normal"===u.type){if(n=r.done?f:m,u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=f,r.method="throw",r.arg=u.arg)}}}(e,r,i),o}function M(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function L(){}function w(){}function D(){}function k(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function T(e){var t;this._invoke=function(r,n){function o(){return new Promise(function(t,o){!function t(r,n,o,i){var s=M(e[r],e,n);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&a.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,o,i)},function(e){t("throw",e,o,i)}):Promise.resolve(l).then(function(e){u.value=e,o(u)},i)}i(s.arg)}(r,n,t,o)})}return t=t?t.then(o,o):o()}}function Y(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,Y(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var a=M(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:x}}function x(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},function(e,t,r){e.exports=!r(148)&&!r(443)(function(){return 7!=Object.defineProperty(r(444)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(384);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";var n=r(509),a=r(510),o=r(388),i=r(389);e.exports=r(513)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(149)("unscopables"),a=Array.prototype;null==a[n]&&r(130)(a,n,{}),e.exports=function(e){a[n][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(512);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(446),a=r(514),o=r(390),i=r(130),s=r(388),u=r(518),l=r(452),c=r(526),d=r(149)("iterator"),m=!([].keys&&"next"in[].keys()),_=function(){return this};e.exports=function(e,t,r,f,p,h,y){u(r,t,f);var v,g,b,M=function(e){if(!m&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},L=t+" Iterator",w="values"==p,D=!1,k=e.prototype,T=k[d]||k["@@iterator"]||p&&k[p],Y=T||M(p),S=p?w?M("entries"):Y:void 0,E="Array"==t&&k.entries||T;if(E&&(b=c(E.call(new e)))!==Object.prototype&&b.next&&(l(b,L,!0),n||"function"==typeof b[d]||i(b,d,_)),w&&T&&"values"!==T.name&&(D=!0,Y=function(){return T.call(this)}),n&&!y||!m&&!D&&k[d]||i(k,d,Y),s[t]=Y,s[L]=_,p)if(v={values:w?Y:M("values"),keys:h?Y:M("keys"),entries:S},y)for(g in v)g in k||o(k,g,v[g]);else a(a.P+a.F*(m||D),t,v);return v}},function(e,t,r){var n=r(100),a=r(386),o=r(130),i=r(390),s=r(516),u=function(e,t,r){var l,c,d,m,_=e&u.F,f=e&u.G,p=e&u.S,h=e&u.P,y=e&u.B,v=f?n:p?n[t]||(n[t]={}):(n[t]||{}).prototype,g=f?a:a[t]||(a[t]={}),b=g.prototype||(g.prototype={});for(l in f&&(r=t),r)d=((c=!_&&v&&void 0!==v[l])?v:r)[l],m=y&&c?s(d,n):h&&"function"==typeof d?s(Function.call,d):d,v&&i(v,l,d,e&u.U),g[l]!=d&&o(g,l,m),h&&b[l]!=d&&(b[l]=d)};n.core=a,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){e.exports=r(385)("native-function-to-string",Function.toString)},function(e,t,r){var n=r(517);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(519),a=r(447),o=r(452),i={};r(130)(i,r(149)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:a(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(383),a=r(520),o=r(451),i=r(391)("IE_PROTO"),s=function(){},u=function(){var e,t=r(444)("iframe"),n=o.length;for(t.style.display="none",r(525).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[i]=e):r=u(),void 0===t?r:a(r,t)}},function(e,t,r){var n=r(177),a=r(383),o=r(449);e.exports=r(148)?Object.defineProperties:function(e,t){a(e);for(var r,i=o(t),s=i.length,u=0;s>u;)n.f(e,r=i[u++],t[r]);return e}},function(e,t,r){var n=r(178),a=r(389),o=r(522)(!1),i=r(391)("IE_PROTO");e.exports=function(e,t){var r,s=a(e),u=0,l=[];for(r in s)r!=i&&n(s,r)&&l.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(l,r)||l.push(r));return l}},function(e,t,r){var n=r(389),a=r(523),o=r(524);e.exports=function(e){return function(t,r,i){var s,u=n(t),l=a(u.length),c=o(i,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(450),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},function(e,t,r){var n=r(450),a=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?a(e+t,0):o(e,t)}},function(e,t,r){var n=r(100).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(178),a=r(527),o=r(391)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){var n=r(448);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(119),a=r(392),o=r(393),i=r(121),s=r(529),u=r(132),l=200;e.exports=function(e,t,r){var c=-1,d=a,m=e.length,_=!0,f=[],p=f;if(r)_=!1,d=o;else if(m>=l){var h=t?null:s(e);if(h)return u(h);_=!1,d=i,p=new n}else p=t?[]:f;e:for(;++c<m;){var y=e[c],v=t?t(y):y;if(y=r||0!==y?y:0,_&&v==v){for(var g=p.length;g--;)if(p[g]===v)continue e;t&&p.push(v),f.push(y)}else d(p,v,r)||(p!==f&&p.push(v),f.push(y))}return f}},function(e,t,r){var n=r(150),a=r(26),o=r(132),i=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:a;e.exports=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),e.indexOf((0,a.default)(t))>=0};var n=o(r(8)),a=o(r(405));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,a.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(l);if(r)e=r[1];else if(t.require_display_name)return!1}var s=e.split("@"),f=s.pop(),p=s.join("@"),h=f.toLowerCase();"gmail.com"!==h&&"googlemail.com"!==h||(p=p.replace(/\./g,"").toLowerCase());if(!(0,o.default)(p,{max:64})||!(0,o.default)(f,{max:254}))return!1;if(!(0,i.default)(f,{require_tld:t.require_tld}))return!1;if('"'===p[0])return p=p.slice(1,p.length-1),t.allow_utf8_local_part?_.test(p):d.test(p);for(var y=t.allow_utf8_local_part?m:c,v=p.split("."),g=0;g<v.length;g++)if(!y.test(v[g]))return!1;return!0};var n=s(r(8)),a=s(r(133)),o=s(r(474)),i=s(r(406));function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,c=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,_=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,i.default)(t,u);var r=void 0,s=void 0,d=void 0,m=void 0,_=void 0,f=void 0,p=void 0,h=void 0;if(p=e.split("#"),e=p.shift(),p=e.split("?"),e=p.shift(),(p=e.split("://")).length>1){if(r=p.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(p[0]=e.substr(2))}if(""===(e=p.join("://")))return!1;if(p=e.split("/"),""===(e=p.shift())&&!t.require_host)return!0;if((p=e.split("@")).length>1&&(s=p.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;m=p.join("@"),f=null,h=null;var y=m.match(l);y?(d="",h=y[1],f=y[2]||null):(p=m.split(":"),d=p.shift(),p.length&&(f=p.join(":")));if(null!==f&&(_=parseInt(f,10),!/^[0-9]+$/.test(f)||_<=0||_>65535))return!1;if(!((0,o.default)(d)||(0,a.default)(d,t)||h&&(0,o.default)(h,6)))return!1;if(d=d||h,t.host_whitelist&&!c(d,t.host_whitelist))return!1;if(t.host_blacklist&&c(d,t.host_blacklist))return!1;return!0};var n=s(r(8)),a=s(r(406)),o=s(r(475)),i=s(r(133));function s(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(a=n,"[object RegExp]"===Object.prototype.toString.call(a)&&n.test(e)))return!0}var a;return!1}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alpha)return i.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,a=r(476),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.fullWidth.test(e)&&s.halfWidth.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(477),s=r(478);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?i.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return r.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||e<t.lt)&&(!t.hasOwnProperty("gt")||e>t.gt)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},i=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,s)).locale in o.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+o.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var n=i(r(133)),a=i(r(8)),o=r(206);function i(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,a.default)(e)%parseInt(t,10)==0};var n=o(r(8)),a=o(r(473));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-f0-9]{"+i[t]+"}$").test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){(0,i.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":n(t))}catch(e){}return!1};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),0===e.length};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-o.length;return s>=r&&(void 0===a||s<=a)};var a,o=r(8),i=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=i[t];return r&&r.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,a.default)(e)&&24===e.length};var n=o(r(8)),a=o(r(479));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o>r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o<r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,a.default)(e);var r=void 0;if("[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===(void 0===t?"undefined":n(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var a=i(r(8)),o=i(r(405));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r=0,n=void 0,a=void 0,s=void 0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=s&&(a*=2)>=10?a%10+1:a,s=!s;return!(r%10!=0||!t)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),r=0,n=void 0,a=void 0,s=!0,u=t.length-2;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=s&&(a*=2)>=10?a+1:a,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-r)%10};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var a=0;var l=void 0;if("10"===r){if(!i.test(n))return!1;for(l=0;l<9;l++)a+=(l+1)*n.charAt(l);if("X"===n.charAt(9)?a+=100:a+=10*n.charAt(9),a%11==0)return!!n}else if("13"===r){if(!s.test(n))return!1;for(l=0;l<12;l++)a+=u[l%2]*n.charAt(l);if(n.charAt(12)-(10-a%10)%10==0)return!!n}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;var n=e.replace("-",""),a=8,s=0,u=!0,l=!1,c=void 0;try{for(var d,m=n[Symbol.iterator]();!(u=(d=m.next()).done);u=!0){var _=d.value,f="X"===_.toUpperCase()?10:+_;s+=f*a,--a}}catch(e){l=!0,c=e}finally{try{!u&&m.return&&m.return()}finally{if(l)throw c}}return s%11==0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(t in i)return i[t].test(e);if("any"===t){for(var n in i)if(i.hasOwnProperty(n)){var a=i[n];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,r){0!==r&&(t=t+"|\\d{"+e+"}")});var r="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",a="("+["0","[1-9]\\d*",n].join("|")+")?",o="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),i=a+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?i+="-?":e.negative_sign_before_digits&&(i="-?"+i)),e.allow_negative_sign_placeholder?i="( (?!\\-))?"+i:e.allow_space_after_symbol?i=" ?"+i:e.allow_space_after_digits&&(i+="( (?!$))?"),e.symbol_after_digits?i+=r:i=r+i,e.allow_negatives&&(e.parens_for_negatives?i="(\\("+i+"\\)|"+i+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(i="-?"+i)),new RegExp("^(?!-? )(?=.*\\d)"+i+"$")}(t=(0,n.default)(t,i)).test(e)};var n=o(r(133)),a=o(r(8));function o(e){return e&&e.__esModule?e:{default:e}}var i={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.includes(e.toUpperCase())};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.length;if(!t||t%4!=0||i.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var a=n.substr(5);if(""!==a&&!i.test(a))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!s.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,s=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||s.test(e)||u.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,s=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!e.includes(","))return!1;var t=e.split(",");return i.test(t[0])&&s.test(t[1])};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locales=void 0,t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var r in l){if(l.hasOwnProperty(r))if(l[r].test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var i=/^\d{4}$/,s=/^\d{5}$/,u=/^\d{6}$/,l={AT:i,AU:i,BE:i,BG:i,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:i,DZ:s,ES:s,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,IL:s,IN:u,IS:/^\d{3}$/,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,LI:/^(948[5-9]|949[0-7])$/,MX:s,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:s,SE:/^\d{3}\s?\d{2}$/,TW:/^\d{3}(\d{2})?$/,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:s};t.locales=Object.keys(l)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,a.default)(e,t),t)};var n=o(r(481)),a=o(r(480));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,a.default)(e,r)};var n=o(r(8)),a=o(r(482));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,i);var r=e.split("@"),n=r.pop(),a=[r.join("@"),n];if(a[1]=a[1].toLowerCase(),"gmail.com"===a[1]||"googlemail.com"===a[1]){if(t.gmail_remove_subaddress&&(a[0]=a[0].split("+")[0]),t.gmail_remove_dots&&(a[0]=a[0].replace(/\./g,"")),!a[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(a[0]=a[0].toLowerCase()),a[1]=t.gmail_convert_googlemaildotcom?"gmail.com":a[1]}else if(~s.indexOf(a[1])){if(t.icloud_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~u.indexOf(a[1])){if(t.outlookdotcom_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~l.indexOf(a[1])){if(t.yahoo_remove_subaddress){var c=a[0].split("-");a[0]=c.length>1?c.slice(0,-1).join("-"):c[0]}if(!a[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(a[0]=a[0].toLowerCase())}else t.all_lowercase&&(a[0]=a[0].toLowerCase());return a.join("@")};var n,a=r(133),o=(n=a)&&n.__esModule?n:{default:n};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,r){},function(e,t,r){var n=r(586)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){},function(e,t,r){var n=r(102);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){var n=r(590),a=r(211);e.exports=function(e,t){return n(e,t,function(t,r){return a(e,r)})}},function(e,t,r){var n=r(106),a=r(591),o=r(80);e.exports=function(e,t,r){for(var i=-1,s=t.length,u={};++i<s;){var l=t[i],c=n(e,l);r(c,l)&&a(u,o(l,e),c)}return u}},function(e,t,r){var n=r(410),a=r(80),o=r(105),i=r(44),s=r(65);e.exports=function(e,t,r,u){if(!i(e))return e;for(var l=-1,c=(t=a(t,e)).length,d=c-1,m=e;null!=m&&++l<c;){var _=s(t[l]),f=r;if(l!=d){var p=m[_];void 0===(f=u?u(p,_,m):void 0)&&(f=i(p)?p:o(t[l+1])?[]:{})}n(m,_,f),m=m[_]}return e}},function(e,t,r){var n=r(352);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){var n=r(108),a=r(598),o=r(410),i=r(599),s=r(600),u=r(603),l=r(604),c=r(605),d=r(606),m=r(158),_=r(493),f=r(81),p=r(607),h=r(608),y=r(613),v=r(21),g=r(75),b=r(615),M=r(44),L=r(617),w=r(64),D=1,k=2,T=4,Y="[object Arguments]",S="[object Function]",E="[object GeneratorFunction]",O="[object Object]",j={};j[Y]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[O]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[S]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,x,A,P,H){var C,N=r&D,F=r&k,I=r&T;if(x&&(C=P?x(t,A,P,H):x(t)),void 0!==C)return C;if(!M(t))return t;var R=v(t);if(R){if(C=p(t),!N)return l(t,C)}else{var z=f(t),q=z==S||z==E;if(g(t))return u(t,N);if(z==O||z==Y||q&&!P){if(C=F||q?{}:y(t),!N)return F?d(t,s(C,t)):c(t,i(C,t))}else{if(!j[z])return P?t:{};C=h(t,z,N)}}H||(H=new n);var W=H.get(t);if(W)return W;H.set(t,C),L(t)?t.forEach(function(n){C.add(e(n,r,x,n,t,H))}):b(t)&&t.forEach(function(n,a){C.set(a,e(n,r,x,a,t,H))});var U=I?F?_:m:F?keysIn:w,B=R?void 0:U(t);return a(B||t,function(n,a){B&&(n=t[a=n]),o(C,a,e(n,r,x,a,t,H))}),C}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(163),a=r(64);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(163),a=r(491);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(44),a=r(90),o=r(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=a(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(23),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(72)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(163),a=r(136);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t,r){var n=r(163),a=r(492);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(433),a=r(609),o=r(610),i=r(611),s=r(612),u="[object Boolean]",l="[object Date]",c="[object Map]",d="[object Number]",m="[object RegExp]",_="[object Set]",f="[object String]",p="[object Symbol]",h="[object ArrayBuffer]",y="[object DataView]",v="[object Float32Array]",g="[object Float64Array]",b="[object Int8Array]",M="[object Int16Array]",L="[object Int32Array]",w="[object Uint8Array]",D="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]";e.exports=function(e,t,r){var Y=e.constructor;switch(t){case h:return n(e);case u:case l:return new Y(+e);case y:return a(e,r);case v:case g:case b:case M:case L:case w:case D:case k:case T:return s(e,r);case c:return new Y;case d:case f:return new Y(e);case m:return o(e);case _:return new Y;case p:return i(e)}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),a=n?n.prototype:void 0,o=a?a.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(614),a=r(432),o=r(90);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(a(e))}},function(e,t,r){var n=r(44),a=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(a)return a(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(616),a=r(95),o=r(134),i=o&&o.isMap,s=i?a(i):n;e.exports=s},function(e,t,r){var n=r(81),a=r(31),o="[object Map]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(618),a=r(95),o=r(134),i=o&&o.isSet,s=i?a(i):n;e.exports=s},function(e,t,r){var n=r(81),a=r(31),o="[object Set]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(80),a=r(620),o=r(621),i=r(65);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[i(a(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){var n=r(106),a=r(226);e.exports=function(e,t){return t.length<2?e:n(e,a(t,0,-1))}},function(e,t,r){var n=r(623);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(36),a=r(432),o=r(31),i="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object);e.exports=function(e){if(!o(e)||n(e)!=i)return!1;var t=a(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifiersUtils=t.LocaleUtils=t.DateUtils=t.DayPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),i=v(o),s=(v(r(0)),v(r(625))),u=v(r(494)),l=v(r(626)),c=v(r(495)),d=y(r(230)),m=y(r(137)),_=y(r(227)),f=y(r(434)),p=v(r(229)),h=r(228);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}var g=t.DayPicker=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.dayPicker=null,r.showNextMonth=function(e){if(r.allowNextMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=m.addMonths(r.state.currentMonth,t);r.showMonth(n,e)}},r.showPreviousMonth=function(e){if(r.allowPreviousMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=m.addMonths(r.state.currentMonth,-t);r.showMonth(n,e)}},r.handleKeyDown=function(e){switch(e.persist(),e.keyCode){case h.LEFT:"rtl"===r.props.dir?r.showNextMonth():r.showPreviousMonth(),d.cancelEvent(e);break;case h.RIGHT:"rtl"===r.props.dir?r.showPreviousMonth():r.showNextMonth(),d.cancelEvent(e);break;case h.UP:r.showPreviousYear(),d.cancelEvent(e);break;case h.DOWN:r.showNextYear(),d.cancelEvent(e)}r.props.onKeyDown&&r.props.onKeyDown(e)},r.handleDayKeyDown=function(e,t,n){switch(n.persist(),n.keyCode){case h.LEFT:d.cancelEvent(n),"rtl"===r.props.dir?r.focusNextDay(n.target):r.focusPreviousDay(n.target);break;case h.RIGHT:d.cancelEvent(n),"rtl"===r.props.dir?r.focusPreviousDay(n.target):r.focusNextDay(n.target);break;case h.UP:d.cancelEvent(n),r.focusPreviousWeek(n.target);break;case h.DOWN:d.cancelEvent(n),r.focusNextWeek(n.target);break;case h.ENTER:case h.SPACE:d.cancelEvent(n),r.props.onDayClick&&r.handleDayClick(e,t,n)}r.props.onDayKeyDown&&r.props.onDayKeyDown(e,t,n)},r.handleDayClick=function(e,t,n){n.persist(),t[r.props.classNames.outside]&&r.props.enableOutsideDaysClick&&r.handleOutsideDayClick(e),r.props.onDayClick&&r.props.onDayClick(e,t,n)},r.handleTodayButtonClick=function(e){var t=new Date,n=new Date(t.getFullYear(),t.getMonth());r.showMonth(n),e.target.blur(),r.props.onTodayButtonClick&&(e.persist(),r.props.onTodayButtonClick(new Date(t.getFullYear(),t.getMonth(),t.getDate()),f.getModifiersForDay(t,r.props.modifiers),e))};var n=r.getCurrentMonthFromProps(e);return r.state={currentMonth:n},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"componentDidUpdate",value:function(e){if(e.month!==this.props.month&&!m.isSameMonth(e.month,this.props.month)){var t=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:t})}}},{key:"getCurrentMonthFromProps",value:function(e){var t=d.startOfMonth(e.month||e.initialMonth);if(e.pagedNavigation&&e.numberOfMonths>1&&e.fromMonth){var r=d.startOfMonth(e.fromMonth),n=d.getMonthsDiff(r,t);t=m.addMonths(r,Math.floor(n/e.numberOfMonths)*e.numberOfMonths)}else e.toMonth&&e.numberOfMonths>1&&d.getMonthsDiff(t,e.toMonth)<=0&&(t=m.addMonths(d.startOfMonth(e.toMonth),1-this.props.numberOfMonths));return t}},{key:"getNextNavigableMonth",value:function(){return m.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return m.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var e=m.addMonths(this.state.currentMonth,-1);return this.allowMonth(e)}},{key:"allowNextMonth",value:function(){var e=m.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(e)}},{key:"allowMonth",value:function(e){var t=this.props,r=t.fromMonth,n=t.toMonth;return!(!t.canChangeMonth||r&&d.getMonthsDiff(r,e)<0||n&&d.getMonthsDiff(n,e)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(e,t){var r=this;this.allowMonth(e)&&this.setState({currentMonth:d.startOfMonth(e)},function(){t&&t(),r.props.onMonthChange&&r.props.onMonthChange(r.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var e=m.addMonths(this.state.currentMonth,12);this.showMonth(e)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var e=m.addMonths(this.state.currentMonth,-12);this.showMonth(e)}}},{key:"focusFirstDayOfMonth",value:function(){d.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var e=d.getDayNodes(this.dayPicker,this.props.classNames);e[e.length-1].focus()}},{key:"focusPreviousDay",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);-1!==n&&(0===n?this.showPreviousMonth(function(){return t.focusLastDayOfMonth()}):r[n-1].focus())}},{key:"focusNextDay",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);-1!==n&&(n===r.length-1?this.showNextMonth(function(){return t.focusFirstDayOfMonth()}):r[n+1].focus())}},{key:"focusNextWeek",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);n>r.length-8?this.showNextMonth(function(){var e=7-(r.length-n);d.getDayNodes(t.dayPicker,t.props.classNames)[e].focus()}):r[n+7].focus()}},{key:"focusPreviousWeek",value:function(e){var t=this,r=d.getDayNodes(this.dayPicker,this.props.classNames),n=d.nodeListToArray(r).indexOf(e);n<=6?this.showPreviousMonth(function(){var e=d.getDayNodes(t.dayPicker,t.props.classNames);e[e.length-7+n].focus()}):r[n-7].focus()}},{key:"handleOutsideDayClick",value:function(e){var t=this.state.currentMonth,r=this.props.numberOfMonths,n=d.getMonthsDiff(t,e);n>0&&n>=r?this.showNextMonth():n<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var e=this.props,t=e.labels,r=e.locale,n=e.localeUtils,a=e.canChangeMonth,o=e.navbarElement,s=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!a)return null;var u={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:s.dir,labels:t,locale:r,localeUtils:n};return i.default.isValidElement(o)?i.default.cloneElement(o,u):i.default.createElement(o,u)}},{key:"renderMonths",value:function(){for(var e=[],t=d.getFirstDayOfWeekFromProps(this.props),r=0;r<this.props.numberOfMonths;r+=1){var a=m.addMonths(this.state.currentMonth,r);e.push(i.default.createElement(l.default,n({key:r},this.props,{month:a,firstDayOfWeek:t,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&e.reverse(),e}},{key:"renderFooter",value:function(){return this.props.todayButton?i.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return i.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var e=this,t=this.props.classNames.container;return this.props.onDayClick||(t=t+" "+this.props.classNames.interactionDisabled),this.props.className&&(t=t+" "+this.props.className),i.default.createElement("div",n({},this.props.containerProps,{className:t,ref:function(t){return e.dayPicker=t},lang:this.props.locale}),i.default.createElement("div",{className:this.props.classNames.wrapper,tabIndex:this.props.canChangeMonth&&void 0!==this.props.tabIndex?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),i.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}();g.VERSION="7.3.0",g.defaultProps={classNames:p.default,tabIndex:0,initialMonth:new Date,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:_,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(e){return e.getDate()},renderWeek:function(e){return e},weekdayElement:i.default.createElement(c.default,null),navbarElement:i.default.createElement(u.default,{classNames:p.default}),captionElement:i.default.createElement(s.default,{classNames:p.default})},g.propTypes={},g.DateUtils=m,g.LocaleUtils=_,g.ModifiersUtils=f,t.DateUtils=m,t.LocaleUtils=_,t.ModifiersUtils=f,t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),i=(u(r(0)),u(r(227))),s=r(228);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleKeyUp=r.handleKeyUp.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.locale!==this.props.locale||e.classNames!==this.props.classNames||e.date.getMonth()!==this.props.date.getMonth()||e.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(e){e.keyCode===s.ENTER&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.date,n=e.months,a=e.locale,i=e.localeUtils,s=e.onClick;return o.default.createElement("div",{className:t.caption,role:"heading"},o.default.createElement("div",{onClick:s,onKeyUp:this.handleKeyUp},n?n[r.getMonth()]+" "+r.getFullYear():i.formatMonthTitle(r,a)))}}]),t}();l.defaultProps={localeUtils:i.default},t.default=l,l.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=_(a),i=(_(r(0)),_(r(627))),s=_(r(628)),u=r(228),l=m(r(434)),c=m(r(230)),d=m(r(137));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),u=0;u<a;u++)i[u]=arguments[u];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.renderDay=function(e){var t=n.props.month.getMonth(),r=c.getModifiersFromProps(n.props),a=l.getModifiersForDay(e,r);d.isSameDay(e,new Date)&&!Object.prototype.hasOwnProperty.call(r,n.props.classNames.today)&&a.push(n.props.classNames.today),e.getMonth()!==t&&a.push(n.props.classNames.outside);var i=e.getMonth()!==t,u=-1;n.props.onDayClick&&!i&&1===e.getDate()&&(u=n.props.tabIndex);var m=""+e.getFullYear()+e.getMonth()+e.getDate(),_={};return a.forEach(function(e){_[e]=!0}),o.default.createElement(s.default,{key:(i?"outside-":"")+m,classNames:n.props.classNames,day:e,modifiers:_,modifiersStyles:n.props.modifiersStyles,empty:i&&!n.props.showOutsideDays&&!n.props.fixedWeeks,tabIndex:u,ariaLabel:n.props.localeUtils.formatDay(e,n.props.locale),ariaDisabled:i||a.indexOf("disabled")>-1,ariaSelected:a.indexOf("selected")>-1,onClick:n.props.onDayClick,onFocus:n.props.onDayFocus,onKeyDown:n.props.onDayKeyDown,onMouseEnter:n.props.onDayMouseEnter,onMouseLeave:n.props.onDayMouseLeave,onMouseDown:n.props.onDayMouseDown,onMouseUp:n.props.onDayMouseUp,onTouchEnd:n.props.onDayTouchEnd,onTouchStart:n.props.onDayTouchStart},n.props.renderDay(e,_))},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.classNames,n=t.month,a=t.months,s=t.fixedWeeks,l=t.captionElement,m=t.weekdayElement,_=t.locale,f=t.localeUtils,p=t.weekdaysLong,h=t.weekdaysShort,y=t.firstDayOfWeek,v=t.onCaptionClick,g=t.showWeekNumbers,b=t.showWeekDays,M=t.onWeekClick,L={date:n,classNames:r,months:a,localeUtils:f,locale:_,onClick:v?function(e){return v(n,e)}:void 0},w=o.default.isValidElement(l)?o.default.cloneElement(l,L):o.default.createElement(l,L),D=c.getWeekArray(n,y,s);return o.default.createElement("div",{className:r.month,role:"grid"},w,b&&o.default.createElement(i.default,{classNames:r,weekdaysShort:h,weekdaysLong:p,firstDayOfWeek:y,showWeekNumbers:g,locale:_,localeUtils:f,weekdayElement:m}),o.default.createElement("div",{className:r.body,role:"rowgroup"},D.map(function(t){var a=void 0;return g&&(a=d.getWeekNumber(t[6])),o.default.createElement("div",{key:t[0].getTime(),className:r.week,role:"row"},g&&o.default.createElement("div",{className:r.weekNumber,tabIndex:M?0:-1,role:"gridcell",onClick:M?function(e){return M(a,t,e)}:void 0,onKeyUp:M?function(e){return e.keyCode===u.ENTER&&M(a,t,e)}:void 0},e.props.renderWeek(a,t,n)),t.map(e.renderDay))})))}}]),t}();t.default=p,p.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=i(a);i(r(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){for(var e=this.props,t=e.classNames,r=e.firstDayOfWeek,n=e.showWeekNumbers,a=e.weekdaysLong,i=e.weekdaysShort,s=e.locale,u=e.localeUtils,l=e.weekdayElement,c=[],d=0;d<7;d+=1){var m=(d+r)%7,_={key:d,className:t.weekday,weekday:m,weekdaysLong:a,weekdaysShort:i,localeUtils:u,locale:s},f=o.default.isValidElement(l)?o.default.cloneElement(l,_):o.default.createElement(l,_);c.push(f)}return o.default.createElement("div",{className:t.weekdays,role:"rowgroup"},o.default.createElement("div",{className:t.weekdaysRow,role:"row"},n&&o.default.createElement("div",{className:t.weekday}),c))}}]),t}();t.default=s,s.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),i=c(o),s=(c(r(0)),r(137)),u=r(230),l=c(r(229));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=Object.keys(this.props),n=Object.keys(e);return r.length!==n.length||r.some(function(r){if("modifiers"===r||"modifiersStyles"===r||"classNames"===r){var n=t.props[r],a=e[r],o=Object.keys(n),i=Object.keys(a);return o.length!==i.length||o.some(function(e){return!(0,u.hasOwnProp)(a,e)||n[e]!==a[e]})}return"day"===r?!(0,s.isSameDay)(t.props[r],e[r]):!(0,u.hasOwnProp)(e,r)||t.props[r]!==e[r]})}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.modifiersStyles,a=e.day,o=e.tabIndex,s=e.empty,u=e.modifiers,c=e.onMouseEnter,m=e.onMouseLeave,_=e.onMouseUp,f=e.onMouseDown,p=e.onClick,h=e.onKeyDown,y=e.onTouchStart,v=e.onTouchEnd,g=e.onFocus,b=e.ariaLabel,M=e.ariaDisabled,L=e.ariaSelected,w=e.children,D=t.day;t!==l.default?D+=" "+Object.keys(u).join(" "):D+=Object.keys(u).map(function(e){return" "+D+"--"+e}).join("");var k=void 0;return r&&Object.keys(u).filter(function(e){return!!r[e]}).forEach(function(e){k=n({},k,r[e])}),s?i.default.createElement("div",{"aria-disabled":!0,className:D,style:k}):i.default.createElement("div",{className:D,tabIndex:o,style:k,role:"gridcell","aria-label":b,"aria-disabled":M,"aria-selected":L,onClick:d(p,a,u),onKeyDown:d(h,a,u),onMouseEnter:d(c,a,u),onMouseLeave:d(m,a,u),onMouseUp:d(_,a,u),onMouseDown:d(f,a,u),onTouchEnd:d(v,a,u),onTouchStart:d(y,a,u),onFocus:d(g,a,u)},w)}}]),t}();m.defaultProps={tabIndex:-1},m.defaultProps={modifiers:{},modifiersStyles:{},empty:!1},t.default=m,m.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifierPropType=void 0;var n,a=r(0),o=(n=a)&&n.__esModule?n:{default:n};var i={localeUtils:o.default.shape({formatMonthTitle:o.default.func,formatWeekdayShort:o.default.func,formatWeekdayLong:o.default.func,getFirstDayOfWeek:o.default.func}),range:o.default.shape({from:o.default.instanceOf(Date),to:o.default.instanceOf(Date)}),after:o.default.shape({after:o.default.instanceOf(Date)}),before:o.default.shape({before:o.default.instanceOf(Date)})};t.ModifierPropType=o.default.oneOfType([i.after,i.before,i.range,o.default.func,o.default.array]);t.default=i},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t){e.exports=tribe.common.elements},function(e,t,r){},function(e,t){e.exports=tribe.common.data.forms},function(e,t){e.exports=tribe.common.icons},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n=r(501),a=r(6),o=r(5),i=r.n(o),s=r(32),u=r(13),l=r(16),c=r(34),d=r(141),m=r(125),_=r(77),f=r(57),p=r(24),h=r(3),y=r.n(h),v=r(0),g=r.n(v),b=r(22),M=r.n(b),L=r(140),w=r.n(L),D=r(14),k=r(49),T=r(4),Y=r(35),S=r(69),E=r(360),O=r(28),j=r.n(O),x=r(74),A=r.n(x),P=r(435),H=r.n(P),C=(r(641),function(e){var t,r,n,o,i,s,u,l,c=e.isLoading,d=e.details;return wp.element.createElement("li",null,c||j()(d)?wp.element.createElement(Y.Loading,{className:"tribe-editor__spinner--item"}):wp.element.createElement(h.Fragment,null,(s=e.details,u=s.title.rendered,l=void 0===u?Object(a.__)("(Untitled)","the-events-calendar"):u,A()(H()(l))),(r=(t=e).organizerId,n=t.block,o=t.volatile,i=t.onRemoveClick,!(n||o)&&wp.element.createElement(D.IconButton,{className:"tribe-editor__btn tribe-editor__btn--action",label:Object(a.__)("Remove Organizer","the-events-calendar"),onClick:i(r),icon:wp.element.createElement(D.Dashicon,{icon:"no"})}))))});C.propTypes={details:g.a.object,isLoading:g.a.bool,organizerId:g.a.number,block:g.a.bool,volatie:g.a.bool,onRemoveClick:g.a.func};var N=C,F=Object(u.c)(Object(p.withStore)(),Object(E.withDetails)("organizerId"))(N),I=r(37),R=function(e){var t=e.addOrganizer,r=e.removeOrganizer,n=e.organizers;return wp.element.createElement(h.Fragment,null,wp.element.createElement("div",{key:"organizer-list"},wp.element.createElement("ul",{className:M()("tribe-editor__organizer__list")},n.map(function(e){var t=e.id,n=e.block;return wp.element.createElement(F,{organizerId:t,block:n,key:t,postType:I.editor.ORGANIZER,onRemoveClick:r})}))),wp.element.createElement("div",{key:"organizer-actions"},wp.element.createElement(Y.SearchPosts,{key:"organizer-search-dropdown",name:"search-organizers-classic",postType:I.editor.ORGANIZER,searchLabel:Object(a.__)("Search for an organizer","the-events-calendar"),iconLabel:Object(a.__)("Add existing Organizer","the-events-calendar"),onItemSelect:t,exclude:n.map(function(e){return e.id})}),wp.element.createElement(D.Dropdown,{key:"organizer-create-dropdown",className:"tribe-editor__organizer__dropdown",position:"bottom center",contentClassName:"tribe-editor-dropdown__dialog",renderToggle:function(e){var t=e.onToggle;return wp.element.createElement(D.IconButton,{className:"tribe-editor__btn",label:Object(a.__)("Create Organizer"),onClick:t,icon:wp.element.createElement(D.Dashicon,{icon:"plus"})})},renderContent:function(t){var r=t.onClose,n=t.isOpen;return wp.element.createElement(Y.OrganizerForm,{addOrganizer:e.addOrganizer,onClose:r,"aria-expanded":n})}})))};R.propTypes={organizers:g.a.array.isRequired,addOrganizer:g.a.func.isRequired,removeOrganizer:g.a.func.isRequired};var z=R,q=function(e){return function(t,r){e(S.a.setDetails(t,r)),e(_.a.addOrganizerInClassic(t))}},W=function(e){return function(t){return function(){return e(_.a.removeOrganizerInClassic(t))}}},U=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{organizers:_.c.getMappedOrganizers(e)}},function(e){return{addOrganizer:q(e),removeOrganizer:W(e)}}))(z),B=T.moment.toMoment,V=T.moment.toDate,G=T.moment.toTime,Z=function(e){var t,r,n,o,i=e.organizerTitle,s=e.setOrganizerTitle,u=e.isSelected,l=e.allDay,c=e.setAllDay,d=e.currencyPosition,m=e.togglePosition,_=e.currencySymbol,f=e.setSymbol;return[wp.element.createElement("div",{key:"event-details-box",className:"tribe-editor__block tribe-editor__event-details"},wp.element.createElement(Y.MetaGroup,{groupKey:"event-details"},(n=e.detailsTitle,o=e.setDetailsTitle,wp.element.createElement(w.a,{className:"tribe-editor__events-section__headline trigger-dashboard-datetime",value:n,placeholder:Object(a.__)("Details","the-events-calendar"),onChange:T.input.sendValue(o)})),function(){var t=e.start,r=e.allDay,n=e.toggleDashboardDateTime,o=e.separatorDate;return wp.element.createElement("div",null,wp.element.createElement("button",{className:"tribe-editor__btn--label trigger-dashboard-datetime",onClick:n},wp.element.createElement("strong",null,Object(a.__)("Start: ","the-events-calendar")),V(B(t),T.date.FORMATS.WP.date),!r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("span",null," ".concat(o," ")),wp.element.createElement("span",null,G(B(t),T.date.FORMATS.WP.time)))))}(),function(){var t=e.end,r=e.allDay,n=e.toggleDashboardDateTime,o=e.separatorDate;return wp.element.createElement("div",null,wp.element.createElement("button",{className:"tribe-editor__btn--label trigger-dashboard-datetime",onClick:n},wp.element.createElement("strong",null,Object(a.__)("End: ","the-events-calendar")),V(B(t),T.date.FORMATS.WP.date),!r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("span",null," ".concat(o," ")),wp.element.createElement("span",null,G(B(t),T.date.FORMATS.WP.time)))))}(),(t=e.url,r=e.setWebsite,wp.element.createElement("div",null,wp.element.createElement("strong",null,Object(a.__)("Website: ","the-events-calendar")),wp.element.createElement("br",null),wp.element.createElement(k.PlainText,{id:"tribe-event-url",value:t,placeholder:Object(a.__)("Enter url","the-events-calendar"),onChange:r}))),function(){var t=e.setCost,r=e.cost,n=e.currencyPosition,o=e.currencySymbol,i=M()(["tribe-editor__event-cost__value","tribe-editor-cost-symbol-position-"+n]);return wp.element.createElement("div",{className:"tribe-editor__event-cost"},wp.element.createElement("strong",null,Object(a.__)("Price: ","the-events-calendar")),wp.element.createElement("br",null),"prefix"===n&&wp.element.createElement("span",null,o),wp.element.createElement(k.PlainText,{className:i,value:r,placeholder:Object(a.__)("Enter price","the-events-calendar"),onChange:t}),"suffix"===n&&wp.element.createElement("span",null,o))}(),wp.element.createElement(Y.TermsList,{slug:"tribe_events_cat",label:Object(a.__)("Event Category:","the-events-calendar")}),wp.element.createElement(Y.TermsList,{slug:"post_tag",label:Object(a.__)("Event Tags:","the-events-calendar")})),wp.element.createElement(Y.MetaGroup,{groupKey:"organizer"},wp.element.createElement(w.a,{className:"tribe-editor__events-section__headline",value:i,placeholder:Object(a.__)("Organizer","the-events-calendar"),onChange:T.input.sendValue(s)}),wp.element.createElement(U,null))),u&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Date Time Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Is All Day Event","the-events-calendar"),checked:l,onChange:c})),wp.element.createElement(D.PanelBody,{title:Object(a.__)("Price Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show symbol before","the-events-calendar"),checked:"prefix"===d,onChange:m}),wp.element.createElement(D.TextControl,{label:Object(a.__)(" Currency Symbol","the-events-calendar"),value:_,placeholder:Object(a.__)("E.g.: $","the-events-calendar"),onChange:f})))]};Z.propTypes={organizerTitle:g.a.string,url:g.a.string,start:g.a.string,end:g.a.string,separatorDate:g.a.string,cost:g.a.string,currencyPosition:g.a.string,currencySymbol:g.a.string,detailsTitle:g.a.string,allDay:g.a.bool,isSelected:g.a.bool,setOrganizerTitle:g.a.func,setDetailsTitle:g.a.func,setWebsite:g.a.func,setCost:g.a.func,toggleDashboardDateTime:g.a.func,setSymbol:g.a.func,togglePosition:g.a.func,setAllDay:g.a.func};var $=Z,J=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{start:l.selectors.getStart(e),end:l.selectors.getEnd(e),multiDay:l.selectors.getMultiDay(e),allDay:l.selectors.getAllDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),timezone:l.selectors.getTimeZone(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),url:d.d.getUrl(e),detailsTitle:m.d.detailsTitleSelector(e),organizerTitle:m.d.organizerTitleSelector(e),organizers:_.c.getOrganizersInClassic(e)}},function(e){return i()({},Object(u.a)(l.actions,e),Object(u.a)(l.thunks,e),Object(u.a)(f.a,e),Object(u.a)(c.a,e),Object(u.a)(d.a,e),Object(u.a)(m.a,e),{setInitialState:function(t){e(c.a.setInitialState(t)),e(f.a.setInitialState(t)),e(d.a.setInitialState(t)),e(l.thunks.setInitialState(t)),e(m.a.setInitialState(t));var r=t.get;e(_.a.setOrganizersInClassic(r("organizers",[])))}})}),Object(p.withSaveData)())($),K=r(38),Q={id:"classic-event-details",title:Object(a.__)("Event Details Classic","the-events-calendar"),description:Object(a.__)("Display your event info together in one place — just like in the Classic Editor.","the-events-calendar"),icon:wp.element.createElement(K.Classic,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{organizerTitle:{type:"html",default:""},detailsTitle:{type:"html",default:""},organizers:{type:"array",source:"meta",meta:"_EventOrganizerID"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},url:{type:"string",source:"meta",meta:"_EventURL"},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:J,save:function(e){return null}},X=r(18),ee=r.n(X),te=r(20),re=r.n(te),ne=r(17),ae=r.n(ne),oe=r(19),ie=r.n(oe),se=T.date.timezonesAsSelectData,ue=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.onTimeZoneVisibilityChange,r=e.separatorDate,n=e.separatorTime,o=e.setSeparatorDate,i=e.setSeparatorTime,s=e.setTimeZone,u=e.showTimeZone,l=e.timeZone;return e.isEditable&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Date Time Settings","the-events-calendar")},wp.element.createElement(D.TextControl,{label:Object(a.__)("Date Time Separator","the-events-calendar"),value:r,onChange:o,className:"tribe-editor__date-time__date-time-separator-setting",maxLength:"2"}),wp.element.createElement(D.TextControl,{label:Object(a.__)("Time Range Separator","the-events-calendar"),value:n,onChange:i,className:"tribe-editor__date-time__time-range-separator-setting",maxLength:"2"}),wp.element.createElement(D.SelectControl,{label:Object(a.__)("Time Zone","the-events-calendar"),value:l,onChange:s,options:se(),className:"tribe-editor__date-time__time-zone-setting"}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Time Zone","the-events-calendar"),checked:u,onChange:t})))}}]),t}(h.PureComponent);ue.propTypes={isEditable:g.a.bool.isRequired,onTimeZoneVisibilityChange:g.a.func,separatorDate:g.a.string,separatorTime:g.a.string,setSeparatorDate:g.a.func,setSeparatorTime:g.a.func,setTimeZone:g.a.func,showTimeZone:g.a.bool,timeZone:g.a.string};var le=ue,ce=function(e){return function(t){return e(l.actions.setTimeZoneVisibility(t))}},de=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isEditable:l.selectors.isEditable(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),timeZone:l.selectors.getTimeZone(e)}},function(e){return i()({},Object(u.a)(l.actions,e),{onTimeZoneVisibilityChange:ce(e)})}),Object(p.withSaveData)(),p.withBlockCloser)(le),me=r(11),_e=r.n(me),fe=(r(642),function(e){function t(){var e,r,n,a;ee()(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.render=function(){return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),wp.element.createElement("section",{className:"tribe-editor__subtitle tribe-editor__date-time tribe-common__plugin-block-hook"},wp.element.createElement(k.InnerBlocks,{template:n.template,templateLock:"all",templateInsertUpdatesSelection:!1})))},a=r,ae()(n,a)}return ie()(t,e),re()(t,[{key:"template",get:function(){return[["tribe/event-datetime-dashboard",{}],["tribe/event-datetime-content",{}]]}}]),t}(h.PureComponent)),pe=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isOpen:f.c.getDashboardDateTimeOpen(e),start:l.selectors.getStart(e),end:l.selectors.getEnd(e),allDay:l.selectors.getAllDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),timeZone:l.selectors.getTimeZone(e),timeZoneLabel:l.selectors.getTimeZoneLabel(e),cost:c.d.getPrice(e),currencySymbol:c.d.getSymbol(e),currencyPosition:c.d.getPosition(e)}},function(e){return{setInitialState:function(t){e(c.a.setInitialState(t)),e(l.thunks.setInitialState(t)),e(f.a.setInitialState(t))},onClose:function(){e(l.actions.setDateInputVisibility(!1)),e(f.a.closeDashboardDateTime())}}}),Object(p.withSaveData)(),p.withBlockCloser)(fe),he=r(12),ye=(r(643),function(e){var t=e.onChange,r=e.naturalLanguageLabel,n=e.before,a=e.after;return wp.element.createElement("div",{className:"tribe-editor__date-input__container"},n,wp.element.createElement("input",{type:"text",name:"date-input",className:"tribe-editor__date-input",value:r,onChange:t}),a)});ye.propTypes={onChange:g.a.func,naturalLanguageLabel:g.a.string,before:g.a.node,after:g.a.node};var ve=ye,ge=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{naturalLanguageLabel:l.selectors.getNaturalLanguageLabel(e)}},function(e){return{onChange:function(t){return e(l.actions.setNaturalLanguageLabel(t.target.value))}}}))(ve),be=r(56),Me=r.n(be),Le=r(502),we=r(503),De=Me()({},Le.constants.EVENTS_PRO_PLUGIN,[["tribe/event-pro-recurrence-description",{}]]),ke=function(){return wp.element.createElement(we.PluginBlockHooks,{pluginTemplates:De,templateLock:"all"})};ke.propTypes={};var Te=ke,Ye=T.date.FORMATS,Se=T.date.TODAY,Ee=T.moment.toMoment,Oe=T.moment.toDate,je=T.moment.toDateNoYear,xe=T.moment.toTime,Ae=T.moment.isSameYear;Ye.date=Object(he.settings)()&&Object(he.settings)().dateWithYearFormat?Object(he.settings)().dateWithYearFormat:Object(a.__)("F j","the-events-calendar");var Pe=function(e){function t(){var e,r,n,o;ee()(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderPrice=function(){var e=n.props,t=e.cost,r=e.currencyPosition,o=e.currencySymbol,i=e.setCost;return Object(he.editor)()&&Object(he.editor)().isClassic?wp.element.createElement("div",{key:"tribe-editor-event-cost",className:"tribe-editor__event-cost"},"prefix"===r&&wp.element.createElement("span",null,o),wp.element.createElement(k.PlainText,{className:M()("tribe-editor__event-cost__value","tribe-editor-cost-symbol-position-"+r),value:t,placeholder:Object(a.__)("Enter price","the-events-calendar"),onChange:i}),"suffix"===r&&wp.element.createElement("span",null,o)):null},n.renderStartDate=function(){var e=n.props,t=e.start,r=e.end,a=Oe(Ee(t));return Ae(t,r)&&Ae(t,Se)&&(a=je(Ee(t))),wp.element.createElement("span",{className:"tribe-editor__subtitle__headline-date"},a)},n.renderStartTime=function(){var e=n.props,t=e.start;return e.allDay?null:wp.element.createElement(h.Fragment,null,n.renderSeparator("date-time"),xe(Ee(t),Ye.WP.time))},n.renderEndDate=function(){var e=n.props,t=e.start,r=e.end;if(!e.multiDay)return null;var a=Oe(Ee(r));return Ae(t,r)&&Ae(t,Se)&&(a=je(Ee(r))),wp.element.createElement("span",{className:"tribe-editor__subtitle__headline-date"},a)},n.renderEndTime=function(){var e=n.props,t=e.end,r=e.multiDay;return e.allDay?null:wp.element.createElement(h.Fragment,null,r&&n.renderSeparator("date-time"),xe(Ee(t),Ye.WP.time))},n.renderTimezone=function(){var e=n.props,t=e.setTimeZoneLabel,r=e.timeZoneLabel;return e.showTimeZone&&wp.element.createElement("span",{key:"time-zone",className:"tribe-editor__time-zone"},wp.element.createElement(Y.TimeZone,{value:r,placeholder:r,onChange:t}))},n.renderSeparator=function(e,t){var r=n.props,o=r.separatorDate,i=r.separatorTime;switch(e){case"date-time":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)}," ".concat(o," "));case"time-range":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)}," ".concat(i," "));case"all-day":return wp.element.createElement("span",{className:M()("tribe-editor__separator",t)},Object(a.__)("All Day","the-events-calendar"));default:return null}},n.renderExtras=function(){return wp.element.createElement(h.Fragment,null,n.renderTimezone(),n.renderPrice())},n.render=function(){var e=n.props,t=e.multiDay,r=e.allDay,a=e.showDateInput,o=e.onDateTimeLabelClick,i=e.isEditable;return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),a&&i?wp.element.createElement(ge,{after:n.renderExtras()}):wp.element.createElement(h.Fragment,null,wp.element.createElement("h2",{className:"tribe-editor__subtitle__headline"},wp.element.createElement("div",{className:"tribe-editor__subtitle__headline-content"},wp.element.createElement("button",{className:"tribe-editor__btn--label",onClick:o,disabled:!i},n.renderStartDate(),n.renderStartTime(),(t||!r)&&n.renderSeparator("time-range"),n.renderEndDate(),n.renderEndTime(),r&&n.renderSeparator("all-day")),n.renderExtras())),wp.element.createElement(Te,null)))},o=r,ae()(n,o)}return ie()(t,e),t}(h.Component);Pe.propTypes={allDay:g.a.bool,cost:g.a.string,currencyPosition:g.a.oneOf(["prefix","suffix",""]),currencySymbol:g.a.string,end:g.a.string,isEditable:g.a.bool,multiDay:g.a.bool,onDateTimeLabelClick:g.a.func,separatorDate:g.a.string,separatorTime:g.a.string,setCost:g.a.func,setTimeZoneLabel:g.a.func,showDateInput:g.a.bool,showTimeZone:g.a.bool,start:g.a.string,timeZone:g.a.string,timeZoneLabel:g.a.string};var He=Pe,Ce=function(e){return function(){e(l.actions.setDateInputVisibility(!0)),e(f.a.openDashboardDateTime())}},Ne=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{allDay:l.selectors.getAllDay(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),end:l.selectors.getEnd(e),isEditable:l.selectors.isEditable(e),multiDay:l.selectors.getMultiDay(e),separatorDate:l.selectors.getDateSeparator(e),separatorTime:l.selectors.getTimeSeparator(e),showDateInput:l.selectors.getDateInputVisibility(e),showTimeZone:l.selectors.getTimeZoneVisibility(e),start:l.selectors.getStart(e),timeZone:l.selectors.getTimeZone(e),timeZoneLabel:l.selectors.getTimeZoneLabel(e)}},function(e){return i()({},Object(u.a)(l.actions,e),Object(u.a)(c.a,e),{onDateTimeLabelClick:Ce(e)})}),Object(p.withSaveData)(),p.withBlockCloser)(He),Fe=_e()(T.globals.tec(),"timeZone",{}),Ie={id:"event-datetime-content",title:Object(a.__)("Event Date Time Content","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],parent:["tribe/event-datetime"],icon:wp.element.createElement(K.DateTime,null),supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},timeZone:{type:"string",source:"meta",meta:"_EventTimezone"},separatorDate:{type:"string",source:"meta",meta:"_EventDateTimeSeparator"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"},showTimeZone:{type:"boolean",default:_e()(Fe,"showtimeZone",!1)},timeZoneLabel:{type:"string",default:_e()(Fe,"label",T.date.FORMATS.TIMEZONE.string)},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:Ne,save:function(e){return null}},Re=r(50),ze=r(637),qe=Me()({},Le.constants.EVENTS_PRO_PLUGIN,[["tribe/event-pro-recurrence",{},[["tribe/event-pro-recurrence-rule",{}],["tribe/event-pro-recurrence-exception",{}]]]]),We=function(){return wp.element.createElement(we.PluginBlockHooks,{pluginTemplates:qe,templateLock:"all"})};We.propTypes={};var Ue=We,Be=T.date.FORMATS,Ve=T.date.TODAY,Ge=T.moment.toMoment,Ze=T.moment.toDate,$e=T.moment.toDateNoYear,Je=T.moment.isSameYear;Be.date=T.globals.settings()&&T.globals.settings().dateWithYearFormat?T.globals.settings().dateWithYearFormat:Object(a.__)("F j","the-events-calendar");var Ke=function(e){function t(){var e,r,n,o;ee()(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderStartTimePicker=function(){var e=n.props,t=e.start,r=e.end,a=e.startTimeInput,o=e.allDay,i=e.onStartTimePickerBlur,s=e.onStartTimePickerChange,u=e.onStartTimePickerClick,l={current:a,start:T.time.START_OF_DAY,end:T.time.END_OF_DAY,onBlur:i,onChange:s,onClick:u,timeFormat:Be.WP.time,showAllDay:!0,allDay:o},c=Ze(Ge(t));return Je(t,r)&&Je(t,Ve)&&(c=$e(Ge(t))),wp.element.createElement(h.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__time-picker__label"},c),wp.element.createElement(ze.TimePicker,l))},n.renderMultiDayToggle=function(){var e=n.props,t=e.multiDay,r=e.onMultiDayToggleChange;return wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Multi-Day","the-events-calendar"),checked:t,onChange:r})},n.renderEndTimePicker=function(){var e=n.props,t=e.start,r=e.end,a=e.endTimeInput,o=e.multiDay,i=e.allDay,s=e.onEndTimePickerBlur,u=e.onEndTimePickerChange,l=e.onEndTimePickerClick;if(!o&&i)return null;var c={current:a,start:T.time.START_OF_DAY,end:T.time.END_OF_DAY,onBlur:s,onChange:u,onClick:l,timeFormat:Be.WP.time,showAllDay:!0,allDay:i},d=Ze(Ge(r));return Je(t,r)&&Je(t,Ve)&&(d=$e(Ge(r))),wp.element.createElement(h.Fragment,null,o&&wp.element.createElement("span",{className:"tribe-editor__time-picker__label"},d),wp.element.createElement(ze.TimePicker,c))},n.renderCalendars=function(){var e=n.props,t=e.multiDay,r=e.start,a=e.end,o=e.visibleMonth,i=e.setVisibleMonth,s={onSelectDay:e.onSelectDay,withRange:t,from:Ge(r).toDate(),month:o,setVisibleMonth:i};return t&&(s.to=Ge(a).toDate()),wp.element.createElement(Y.Month,s)},o=r,ae()(n,o)}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props,t=e.multiDay,r=e.allDay,n=e.separatorTime,a=e.isDashboardOpen;return wp.element.createElement(h.Fragment,null,wp.element.createElement(de,null),wp.element.createElement(Y.Dashboard,{isOpen:a},wp.element.createElement(h.Fragment,null,wp.element.createElement("section",{className:"tribe-editor__calendars"},this.renderCalendars()),wp.element.createElement("footer",{className:"tribe-editor__subtitle__footer"},wp.element.createElement("div",{className:"tribe-editor__subtitle__footer-date"},wp.element.createElement("div",{className:"tribe-editor__subtitle__time-pickers"},this.renderStartTimePicker(),(t||!r)&&wp.element.createElement("span",{className:M()("tribe-editor__separator","tribe-editor__time-picker__separator")}," ".concat(n," ")),this.renderEndTimePicker()),wp.element.createElement("div",{className:"tribe-editor__subtitle__footer-multiday"},this.renderMultiDayToggle())),wp.element.createElement(Ue,null),!this.shouldHideUpsell&&wp.element.createElement(Y.Upsell,null)))))}},{key:"shouldHideUpsell",get:function(){return T.globals.editorConstants().hideUpsell}}]),t}(h.PureComponent);Ke.propTypes={allDay:g.a.bool,end:g.a.string,endTimeInput:g.a.string,isDashboardOpen:g.a.bool,multiDay:g.a.bool,onEndTimePickerBlur:g.a.func,onEndTimePickerChange:g.a.func,onEndTimePickerClick:g.a.func,onMultiDayToggleChange:g.a.func,onSelectDay:g.a.func,onStartTimePickerBlur:g.a.func,onStartTimePickerChange:g.a.func,onStartTimePickerClick:g.a.func,separatorTime:g.a.string,setVisibleMonth:g.a.func,start:g.a.string,startTimeInput:g.a.string,visibleMonth:g.a.instanceOf(Date)};var Qe=Ke,Xe=function(e){return function(t){var r=t.from,n=t.to;e.setDateRange({from:r,to:n})}},et=function(e){return function(t){var r=T.moment.toMoment(t.target.value,T.moment.TIME_FORMAT,!1);r.isValid()||(r=Re.d);var n=T.moment.totalSeconds(r);e.setStartTime(n)}},tt=function(e){return function(t){return e.setStartTimeInput(t.target.value)}},rt=function(e){return function(t,r){e.setStartTime(t),r()}},nt=function(e){return function(t){var r=T.moment.toMoment(t.target.value,T.moment.TIME_FORMAT,!1);r.isValid()||(r=Re.c);var n=T.moment.totalSeconds(r);e.setEndTime(n)}},at=function(e){return function(t){return e.setEndTimeInput(t.target.value)}},ot=function(e){return function(t,r){e.setEndTime(t),r()}},it=function(e){return function(t){e.setMultiDay(t)}},st=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{allDay:l.selectors.getAllDay(e),start:l.selectors.getStart(e),end:l.selectors.getEnd(e),startTimeInput:l.selectors.getStartTimeInput(e),endTimeInput:l.selectors.getEndTimeInput(e),isDashboardOpen:f.c.getDashboardDateTimeOpen(e),multiDay:l.selectors.getMultiDay(e),separatorTime:l.selectors.getTimeSeparator(e),visibleMonth:f.c.getVisibleMonth(e)}},function(e){return i()({},Object(u.a)(l.thunks,e),Object(u.a)(l.actions,e),Object(u.a)(f.a,e),{setInitialState:function(t){e(l.thunks.setInitialState(t)),e(f.a.setInitialState(t))}})},function(e,t,r){return i()({},r,e,t,{onSelectDay:Xe(t),onStartTimePickerBlur:et(t),onStartTimePickerChange:tt(t),onStartTimePickerClick:rt(t),onEndTimePickerBlur:nt(t),onEndTimePickerChange:at(t),onEndTimePickerClick:ot(t),onMultiDayToggleChange:it(t)})}),Object(p.withSaveData)(),p.withBlockCloser)(Qe);[Ie,{id:"event-datetime-dashboard",title:Object(a.__)("Event Date Time Dashboard","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],parent:["tribe/event-datetime"],icon:wp.element.createElement(K.DateTime,null),supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"}},edit:st,save:function(e){return null}}].forEach(function(e){var t="tribe/"+e.id;Object(n.registerBlockType)(t,e)});var ut=_e()(T.globals.tec(),"timeZone",{}),lt={id:"event-datetime",title:Object(a.__)("Event Date Time","the-events-calendar"),description:Object(a.__)("Define the date, time, and duration for your event.","the-events-calendar"),icon:wp.element.createElement(K.DateTime,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{start:{type:"string",source:"meta",meta:"_EventStartDate"},end:{type:"string",source:"meta",meta:"_EventEndDate"},allDay:{type:"boolean",source:"meta",meta:"_EventAllDay"},timeZone:{type:"string",source:"meta",meta:"_EventTimezone"},separatorDate:{type:"string",source:"meta",meta:"_EventDateTimeSeparator"},separatorTime:{type:"string",source:"meta",meta:"_EventTimeRangeSeparator"},showTimeZone:{type:"boolean",default:_e()(ut,"showTimeZone",!1)},timeZoneLabel:{type:"string",default:_e()(ut,"label",T.date.FORMATS.TIMEZONE.string)},cost:{type:"string",source:"meta",meta:"_EventCost"},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:pe,save:function(e){return null}},ct=r(39),dt=r(26),mt=r.n(dt),_t=r(139),ft=r(25),pt=function(e){function t(){ee()(this,t);var e=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.renderVenue=function(){var t=e.props,r=t.venue,n=t.removeVenue;return wp.element.createElement("div",{className:"tribe-editor__venue--current",key:r.id},e.renderVenueName(),e.renderAddress(),e.renderPhone(),e.renderWebsite(),n)},e.state={isLoading:!1},e}return ie()(t,e),re()(t,[{key:"render",value:function(){var e=this.props.venue;return this.state.isLoading?wp.element.createElement(D.Placeholder,{key:"loading"},wp.element.createElement(D.Spinner,null)):e?this.renderVenue():null}},{key:"renderVenueName",value:function(){var e=this.props,t=e.beforeTitle,r=e.afterTitle,n=e.maybeEdit;return wp.element.createElement("div",{className:"tribe-editor__venue__name"},t,wp.element.createElement("h3",{className:"tribe-editor__venue__name-heading",onClick:n},Object(_t.decode)(this.getVenueName())),r)}},{key:"getVenueName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.venue,t=e.title,r=void 0===t?{}:t,n=r.rendered,o=void 0===n?Object(a.__)("(Untitled Venue)","the-events-calendar"):n;return o}},{key:"renderAddress",value:function(){var e=this.props.address,t=void 0===e?{}:e;if(j()(t))return null;var r=t.city,n=t.street,a=t.province,o=t.zip,i=t.country;return wp.element.createElement("address",{className:"tribe-editor__venue__address"},wp.element.createElement("span",{className:"tribe-venue__street-address"},n),r&&wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("span",{className:"tribe-venue__locality"},r)),r&&wp.element.createElement("span",{className:"tribe-venue__delimiter"},", "),a&&wp.element.createElement("span",{className:"tribe-venue__region"},a),o&&wp.element.createElement("span",{className:"tribe-venue__postal-code"}," ",o),i&&wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("span",{className:"tribe-venue__country-name"}," ",i)),this.renderGoogleMapLink())}},{key:"renderGoogleMapLink",value:function(){var e=this.props,t=e.showMapLink,r=e.address;return t?wp.element.createElement(h.Fragment,null,wp.element.createElement("br",null),wp.element.createElement("a",{href:Object(ct.h)(r),title:Object(a.__)("Click to view a Google Map","the-events-calendar"),target:"_blank",rel:"noopener noreferrer"},Object(a.__)("+ Google Map","the-events-calendar"))):null}},{key:"renderPhone",value:function(){var e=this.props.venue;return j()(e.meta._VenuePhone)?null:wp.element.createElement(y.a.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__venue__phone"},e.meta._VenuePhone),wp.element.createElement("br",null))}},{key:"renderWebsite",value:function(){var e=this.props.venue;return j()(e.meta._VenueURL)?null:wp.element.createElement(y.a.Fragment,null,wp.element.createElement("span",{className:"tribe-editor__venue__website"},e.meta._VenueURL),wp.element.createElement("br",null))}}]),t}(ft.Component);pt.defaultProps={beforeTitle:null,afterTitle:null,maybeEdit:mt.a};var ht=pt,yt=r(67),vt=(r(644),function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.renderDetails=function(){var e=r.props,t=e.showMapLink,n=e.details,a=yt.e.getAddress;return wp.element.createElement(ht,{venue:n,address:a(n),showMapLink:t,afterTitle:r.renderEditAction(),maybeEdit:r.maybeEdit,removeVenue:r.renderRemoveAction()})},r.maybeEdit=function(){var e=r.props,t=e.volatile,n=e.editVenue;if(r.hasVenue()&&t)return n},r.getCoordinates=function(e){var t=new(Object(he.google)().maps.Geocoder),n=yt.e.getAddress,a=Object(ct.a)(n(e));t.geocode({address:a},function(e,t){if("OK"===t){var n=e[0].geometry.location;r.setState({coords:{lat:n.lat(),lng:n.lng()}})}})},r.state={coords:{lat:null,lng:null}},r}return ie()(t,e),re()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.edit,a=t.create,o=t.setSubmit;e.isSelected&&!r&&(n||a)&&o()}},{key:"componentWillUnmount",value:function(){this.props.removeVenue()}},{key:"renderForm",value:function(){var e=this.props,t=e.fields,r=e.onFormSubmit;return wp.element.createElement(Y.VenueForm,i()({},Object(Y.toFields)(t),{onSubmit:r}))}},{key:"renderEditAction",value:function(){var e=this.props,t=e.isSelected,r=e.edit,n=e.create,a=e.isLoading,o=e.submit,i=e.volatile,s=e.editVenue,u=r||n||a||o;return this.hasVenue()&&t&&i&&!u?wp.element.createElement("button",{onClick:s},wp.element.createElement(D.Dashicon,{icon:"edit"})):null}},{key:"renderSearchOrCreate",value:function(){var e=this.props,t=e.isSelected,r=e.store,n=e.name,o=e.onItemSelect,i=e.onCreateNew;return wp.element.createElement(Y.SearchOrCreate,{name:n,icon:wp.element.createElement(K.Venue,null),store:r,isSelected:t,postType:I.editor.VENUE,onItemSelect:o,onCreateNew:i,placeholder:Object(a.__)("Add or find a venue","the-events-calendar")})}},{key:"renderContainer",value:function(){var e=this.props,t=e.isLoading,r=e.edit,n=e.create,a=e.submit;return t||a?wp.element.createElement(D.Placeholder,{key:"loading"},wp.element.createElement(D.Spinner,null)):r||n?this.renderForm():this.hasVenue()?this.renderDetails():this.renderSearchOrCreate()}},{key:"renderMap",value:function(){var e=this.props,t=e.details,r=e.edit,n=e.create,a=e.isLoading,o=e.submit;if(!e.showMap||j()(t)||r||n||a||o)return null;yt.e.getCoordinates;var i=yt.e.getAddress;this.getCoordinates(t);var s=this.state.coords;return wp.element.createElement(Y.GoogleMap,{size:{width:450,height:353},coordinates:s,address:Object(ct.a)(i(t)),interactive:!0})}},{key:"renderRemoveAction",value:function(){var e=this.props,t=e.isSelected,r=e.edit,n=e.create,o=e.isLoading,i=e.submit,s=e.removeVenue;return!this.hasVenue()||!t||r||n||o||i?null:wp.element.createElement("div",{className:"tribe-editor__venue__actions"},wp.element.createElement("button",{className:"tribe-editor__venue__actions--close",onClick:s},Object(a.__)("Remove venue","the-events-calendar")))}},{key:"renderBlock",value:function(){var e=M()({"tribe-editor__venue":this.hasVenue(),"tribe-editor__venue--has-map":this.hasVenue()&&this.props.showMap});return wp.element.createElement("div",{key:"event-venue-box",className:e},this.renderContainer(),this.renderMap())}},{key:"renderControls",value:function(){var e=this.props,t=e.venue,r=e.showMapLink,n=e.showMap,o=e.toggleVenueMap,i=e.toggleVenueMapLink;return this.hasVenue()?wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Venue Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Google Maps Link","the-events-calendar"),checked:r,onChange:i}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Show Google Maps Embed","the-events-calendar"),checked:n,onChange:o}),wp.element.createElement(Y.EditLink,{postId:t,label:Object(a.__)("Edit Venue","the-events-calendar")}))):null}},{key:"render",value:function(){return[this.renderBlock(),this.renderControls()]}},{key:"hasVenue",value:function(){var e=this.props.details;return!j()(e)}}]),t}(h.Component));vt.propTypes={venue:g.a.number,isSelected:g.a.bool,isLoading:g.a.bool,submit:g.a.bool,edit:g.a.bool,create:g.a.bool,details:g.a.object,draft:g.a.object,showMap:g.a.bool,showMapLink:g.a.bool,createDraft:g.a.func,editDraft:g.a.func,removeDraft:g.a.func,setDraftDetails:g.a.func,clear:g.a.func,sendForm:g.a.func,toggleVenueMap:g.a.func,toggleVenueMapLink:g.a.func,onFormSubmit:g.a.func,onItemSelect:g.a.func,onCreateNew:g.a.func,removeVenue:g.a.func,editVenue:g.a.func};var gt=vt,bt=function(e){return function(t){var r=yt.a.setVenue,n=yt.a.setShowMap,a=yt.a.setShowMapLink;e(r(t)),e(n(!0)),e(a(!0))}},Mt=function(e,t){return function(r){return t.sendForm(Object(Y.toVenue)(r),function(e,t){return function(r){var n=t.setDetails,a=r.id;n(a,r),bt(e)(a)}}(e,t))}},Lt=function(e){return bt(e)},wt=function(e){return function(t){return e.createDraft({title:{rendered:t}})}},Dt=function(e,t){return function(){var r=t.volatile,n=t.maybeRemoveEntry,a=t.details;e(yt.a.removeVenue()),r&&n(a)}},kt=function(e){return function(){var t=e.details;(0,e.editEntry)(t)}},Tt=Object(u.c)(Object(p.withStore)({postType:I.editor.VENUE}),Object(s.a)(function(e){return{venue:yt.d.getVenue(e),showMapLink:yt.d.getshowMapLink(e),showMap:yt.d.getshowMap(e)}}),Object(E.withDetails)("venue"),Object(p.withForm)(function(e){return e.name}),Object(s.a)(null,function(e,t){return i()({},Object(u.a)(yt.a,e),{onFormSubmit:Mt(e,t),onItemSelect:Lt(e),onCreateNew:wt(t),removeVenue:Dt(e,t),editVenue:kt(t)})}),Object(p.withSaveData)())(gt),Yt={id:"event-venue",title:Object(a.__)("Event Venue","the-events-calendar"),description:Object(a.__)("Where is this event happening? Select or create a location.","the-events-calendar"),icon:wp.element.createElement(K.Venue,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{venueTitle:{type:"html"},venue:{type:"integer",source:"meta",meta:"_EventVenueID"},showMapLink:{type:"boolean",source:"meta",meta:"_EventShowMapLink"},showMap:{type:"boolean",source:"meta",meta:"_EventShowMap"}},edit:Tt,save:function(e){return null}},St=r(639);function Et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_e()(e,"title",{}),r=_e()(e,"meta",{});return{title:_e()(t,"rendered",""),email:_e()(r,"_OrganizerEmail",""),phone:_e()(r,"_OrganizerPhone",""),website:_e()(r,"_OrganizerWebsite","")}}var Ot=r(640),jt=(r(638),function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return r.maybeEdit=function(){var e=r.props,t=e.volatile,n=e.edit;t&&n()},r.renderEdit=function(){var e=r.props,t=e.edit,n=e.selected,a=e.volatile;return n&&a?wp.element.createElement("button",{onClick:t},wp.element.createElement(D.Dashicon,{icon:"edit"})):null},r}return ie()(t,e),re()(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"tribe-editor__organizer__details"},this.renderDetails(),this.renderActions())}},{key:"renderDetails",value:function(){var e=Et(this.props.organizer),t=e.title,r=e.website,n=e.email,a=e.phone;return wp.element.createElement(h.Fragment,null,wp.element.createElement("div",{className:"tribe-editor__organizer__title"},wp.element.createElement("h3",{className:"tribe-editor__organizer__title-heading",onClick:this.maybeEdit},Object(_t.decode)(t)),this.renderEdit()),a&&wp.element.createElement("p",null,a),r&&wp.element.createElement("p",null,r),n&&wp.element.createElement("p",null,n))}},{key:"renderActions",value:function(){var e=this.props,t=e.remove;return e.selected?wp.element.createElement("div",{className:"tribe-editor__organizer__actions"},wp.element.createElement("button",{className:"tribe-editor__organizer__actions--close",onClick:t},wp.element.createElement(Ot.Close,null))):null}}]),t}(ft.Component));jt.defaultProps={organizer:{},edit:mt.a,remove:mt.a,selected:!1},jt.propTypes={organizer:g.a.object,edit:g.a.func,remove:g.a.func,selected:g.a.bool};var xt=jt,At=r(436),Pt=r.n(At),Ht=r(127),Ct=r.n(Ht),Nt=function(e){function t(e){ee()(this,t);var r=ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return r.saveField=function(e){return function(t){r.setState(Me()({},e,t))}},r.saveEventField=function(e){return function(t){return r.saveField(e)(r.getValue(t))}},r.getValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return t.value},r.state=Pt()(e,["submit"]),r}return ie()(t,e),re()(t,[{key:"componentWillUnmount",value:function(){var e=i()({},this.state);e.email&&!Ct.a.isEmail(e.email)&&(e.email=""),e.website&&!Ct.a.isURL(e.website)&&(e.website=""),this.props.submit(e)}},{key:"render",value:function(){var e=this.state,t=e.title,r=e.email,n=e.website,o=e.phone;return wp.element.createElement("section",{className:"tribe-editor__organizer__form"},wp.element.createElement("div",{className:"tribe-editor__organizer__fields"},wp.element.createElement(k.RichText,{tagName:"h3",format:"string",value:t,onChange:this.saveField("title"),formattingControls:[]}),wp.element.createElement("input",{type:"tel",name:"phone",value:o,placeholder:Object(a.__)("Add Phone","the-events-calendar"),onChange:this.saveEventField("phone")}),wp.element.createElement("input",{type:"url",name:"website",value:n,placeholder:Object(a.__)("Add website","the-events-calendar"),onChange:this.saveEventField("website")}),wp.element.createElement("input",{type:"email",name:"email",value:r,placeholder:Object(a.__)("Add email","the-events-calendar"),onChange:this.saveEventField("email")})))}}]),t}(ft.Component);Nt.defaultProps={title:"",phone:"",website:"",email:"",submit:mt.a},Nt.propTypes={title:g.a.string,email:g.a.string,website:g.a.string,phone:g.a.string,submit:g.a.func};var Ft=Nt,It=function(e){function t(){var e,r,n,a;ee()(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=n=ae()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.renderLoading=function(){return wp.element.createElement("div",{className:"tribe-editor__spinner-container"},wp.element.createElement(D.Spinner,null))},n.edit=function(){var e=n.props,t=e.details;(0,e.editEntry)(t)},n.remove=function(){var e=n.props,t=e.clientId,r=e.organizer,a=e.removeOrganizerInBlock,o=e.volatile,i=e.maybeRemoveEntry,s=e.removeOrganizerInClassic,u=e.details;a(t,r),o&&(i(u),s(r))},a=r,ae()(n,a)}return ie()(t,e),re()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.edit,a=t.create,o=t.setSubmit;e.isSelected&&!r&&(n||a)&&o()}},{key:"renderForm",value:function(){var e=this.props,t=e.fields,r=e.submit,n=e.onFormSubmit;return r?this.renderLoading():wp.element.createElement(Ft,i()({},Et(t),{submit:n}))}},{key:"renderSearch",value:function(){var e=this.props,t=e.clientId,r=e.isSelected,n=e.organizers,o=e.store,i=e.postType,s=e.onItemSelect,u=e.onCreateNew;return wp.element.createElement(Y.SearchOrCreate,{name:t,store:o,postType:i,isSelected:r,icon:wp.element.createElement(K.Organizer,null),placeholder:Object(a.__)("Add or find an organizer","the-events-calendar"),onItemSelect:s,onCreateNew:u,exclude:n})}},{key:"renderDetails",value:function(){var e=this.props,t=e.details,r=e.volatile,n=e.isSelected;return wp.element.createElement(xt,{organizer:t,volatile:r,selected:n,edit:this.edit,remove:this.remove})}},{key:"renderContent",value:function(){var e=this.props,t=e.details,r=e.edit,n=e.create;return e.isLoading?this.renderLoading():r||n?this.renderForm():j()(t)?this.renderSearch():this.renderDetails()}},{key:"renderBlock",value:function(){return wp.element.createElement("section",{key:this.props.clientId},this.renderContent())}},{key:"renderSettings",value:function(){var e=this.props,t=e.isSelected,r=e.organizer;return t&&r&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Organizer Settings","the-events-calendar")},wp.element.createElement(Y.EditLink,{postId:r,label:Object(a.__)("Edit Organizer","the-events-calendar")})))}},{key:"render",value:function(){return[this.renderBlock(),this.renderSettings()]}}]),t}(ft.Component);It.propTypes={details:g.a.object,create:g.a.bool,edit:g.a.bool,submit:g.a.bool,isLoading:g.a.bool,isSelected:g.a.bool,organizer:g.a.number,clientId:g.a.string,current:g.a.string,setPost:g.a.func,clear:g.a.func,createDraft:g.a.func,editPost:g.a.func,onFormSubmit:g.a.func,onSelectItem:g.a.func,onCreateNew:g.a.func};var Rt=It,zt=function(e,t){return function(r){return t.sendForm(function(e){return{title:e.title,status:"draft",meta:{_OrganizerEmail:e.email,_OrganizerPhone:e.phone,_OrganizerWebsite:e.website}}}(r),function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.setDetails,a=e.addOrganizerInClassic,o=e.addOrganizerInBlock;n(r.id,r),a(r.id),o(t.clientId,r.id)}}(e,t))}},qt=function(e,t){return function(r,n){var a=e.setDetails,o=e.addOrganizerInClassic,i=e.addOrganizerInBlock;a(r,n),o(r),i(t.clientId,r)}},Wt=function(e){return function(t){return e.createDraft({title:{rendered:t}})}},Ut=Object(u.c)(Object(p.withStore)({isolated:!0,postType:I.editor.ORGANIZER}),Object(p.withForm)(function(e){return e.clientId}),Object(s.a)(function(e,t){return{organizer:_.c.getOrganizerInBlock(e,t),organizers:_.c.getOrganizersInClassic(e)}}),Object(E.withDetails)("organizer"),Object(s.a)(null,function(e){return i()({},Object(u.a)(_.a,e),Object(u.a)(S.a,e),{setInitialState:function(t){var r=t.clientId,n=(0,t.get)("organizer","");n&&(e(_.a.addOrganizerInBlock(r,n)),e(_.a.addOrganizerInClassic(n)))},onBlockRemoved:function(t){var r=t.clientId,n=t.organizer,a=t.volatile;n&&(e(_.a.removeOrganizerInBlock(r,n)),a&&(e(_.a.removeOrganizerInClassic(n)),e(St.actions.removeVolatile(n))))}})},function(e,t,r){return i()({},r,e,t,{onFormSubmit:zt(t,r),onItemSelect:qt(t,r),onCreateNew:Wt(r)})}),Object(p.withSaveData)())(Rt),Bt={id:"event-organizer",title:Object(a.__)("Event Organizer","events-gutenberg"),description:Object(a.__)("List a host or coordinator for this event.","events-gutenberg"),icon:wp.element.createElement(K.Organizer,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{organizer:{type:"html",default:Object(he.editorDefaults)().organizer?Object(he.editorDefaults)().organizer:void 0},organizers:{type:"array",source:"meta",meta:"_EventOrganizerID"}},edit:Ut,save:function(){return null}},Vt=(r(645),Object(a.__)("Google Calendar","the-events-calendar")),Gt=Object(a.__)("iCal Export","the-events-calendar"),Zt=function(e){return wp.element.createElement("button",{className:"tribe-editor__btn--link tribe-editor__btn--placeholder",disabled:!0},wp.element.createElement(K.Link,null),e)},$t=function(e){return wp.element.createElement("div",{key:"event-links",className:"tribe-editor__block tribe-editor__events-link"},(r=(t=e).hasiCal,n=t.hasGoogleCalendar,a=t.googleCalendarLabel,o=t.setGoogleCalendarLabel,n||r?n&&wp.element.createElement("div",{className:"tribe-editor__btn--link tribe-events-gcal"},wp.element.createElement(K.Link,null),wp.element.createElement(w.a,{name:"google-calendar-label",className:"tribe-editor__btn-input",value:a,placeholder:Vt,onChange:T.input.sendValue(o)})):Zt(Vt)),function(e){var t=e.hasiCal,r=e.hasGoogleCalendar,n=e.iCalLabel,a=e.setiCalLabel;return r||t?t&&wp.element.createElement("div",{className:"tribe-editor__btn--link tribe-events-ical"},wp.element.createElement(K.Link,null),wp.element.createElement(w.a,{id:"tribe-event-ical",name:"tribe-event-ical",className:"tribe-editor__btn-input",value:n,placeholder:Gt,onChange:T.input.sendValue(a)})):Zt(Gt)}(e));var t,r,n,a,o},Jt=function(e){return[$t(e),(t=e,r=t.hasGoogleCalendar,n=t.hasiCal,o=t.isSelected,i=t.toggleIcalLabel,s=t.toggleGoogleCalendar,o&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Share Settings","the-events-calendar")},wp.element.createElement(D.ToggleControl,{label:Object(a.__)("Google Calendar","the-events-calendar"),checked:r,onChange:s}),wp.element.createElement(D.ToggleControl,{label:Object(a.__)("iCal","the-events-calendar"),checked:n,onChange:i}))))];var t,r,n,o,i,s};Jt.propTypes={hasGoogleCalendar:g.a.bool,hasiCal:g.a.bool,isSelected:g.a.bool,googleCalendarLabel:g.a.string,iCalLabel:g.a.string,setiCalLabel:g.a.func,setGoogleCalendarLabel:g.a.func,toggleIcalLabel:g.a.func,toggleGoogleCalendar:g.a.func};var Kt=Jt,Qt=r(111),Xt=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{iCalLabel:Qt.d.iCalLabelSelector(e),hasiCal:Qt.d.hasIcalSelector(e),googleCalendarLabel:Qt.d.googleCalendarLabelSelector(e),hasGoogleCalendar:Qt.d.hasGooglecalendarLabel(e)}},function(e){return Object(u.a)(Qt.a,e)}),Object(p.withSaveData)())(Kt),er={id:"event-links",title:Object(a.__)("Event Sharing","the-events-calendar"),description:Object(a.__)("Encourage visitors to add your event to their calendars with handy sharing buttons.","the-events-calendar"),icon:wp.element.createElement(K.Sharing,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{googleCalendarLabel:{type:"html",default:Object(a.__)("Google Calendar","the-events-calendar")},iCalLabel:{type:"html",default:Object(a.__)("iCal Export","the-events-calendar")},hasiCal:{type:"html",default:!0},hasGoogleCalendar:{type:"html",default:!0}},edit:Xt,save:function(e){return null}},tr=(r(646),function(e){var t,r,n,o,i,s,u,l,c,d,m,_=e.currencyPosition,f=e.openDashboard,p=M()("tribe-editor__event-price__price","tribe-editor__event-price__price--"+_);return wp.element.createElement("div",{className:p,onClick:f},(d=(c=e).showCurrencySymbol,m=c.currencySymbol,d&&wp.element.createElement("span",{className:"tribe-editor__event-price__currency"},m)),function(e){var t=e.showCost,r=e.currencySymbol,n=e.currencyPosition,o=Object(a.__)("Add Price","the-events-calendar");return o="prefix"===n?r+" "+o:o+" "+r,!t&&wp.element.createElement("span",{className:"tribe-editor__event-price__label"},o)}(e),(i=(o=e).showCost,s=o.isFree,u=o.cost,l=T.range.parser(u),s&&(l=Object(a.__)("Free","the-events-calendar")),i&&wp.element.createElement("span",{className:"tribe-editor__event-price__cost"},l)),(r=(t=e).showCostDescription,n=t.costDescription,r&&wp.element.createElement("span",{className:"tribe-editor__event-price__description"},n)))}),rr=function(e){return wp.element.createElement("section",{key:"event-price-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-price"},tr(e),(r=(t=e).isDashboardOpen,n=t.cost,o=t.costDescription,i=t.setCost,s=t.setDescription,wp.element.createElement(Y.Dashboard,{isOpen:r},wp.element.createElement(h.Fragment,null,wp.element.createElement("section",{className:"tribe-editor__event-price__dashboard"},wp.element.createElement("input",{className:M()("tribe-editor__event-price__input","tribe-editor__event-price__input--price"),name:"description",type:"text",placeholder:Object(a.__)("Fixed Price or Range","the-events-calendar"),onChange:T.input.sendValue(i),value:n}),wp.element.createElement("input",{className:M()("tribe-editor__event-price__input","tribe-editor__event-price__input--description"),name:"description",type:"text",placeholder:Object(a.__)("Description","the-events-calendar"),onChange:T.input.sendValue(s),value:o})),wp.element.createElement("footer",{className:"tribe-editor__event-price__dashboard__footer"},Object(a.__)("Enter 0 as price for free events","the-events-calendar")))))));var t,r,n,o,i,s},nr=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[rr(this.props),(e=this.props,t=e.isSelected,r=e.currencySymbol,n=e.currencyPosition,o=e.setSymbol,i=e.setCurrencyPosition,t&&wp.element.createElement(k.InspectorControls,{key:"inspector"},wp.element.createElement(D.PanelBody,{title:Object(a.__)("Price Settings","the-events-calendar")},wp.element.createElement(D.TextControl,{className:"tribe-editor__event-price__currency-symbol-setting",label:Object(a.__)(" Currency Symbol","the-events-calendar"),value:r,placeholder:Object(a.__)("E.g.: $","the-events-calendar"),onChange:o}),wp.element.createElement(D.CheckboxControl,{label:Object(a.__)("Currency symbol follows price","the-events-calendar"),checked:"suffix"===n,onChange:i}))))];var e,t,r,n,o,i}}]),t}(ft.Component);nr.propTypes={isDashboardOpen:g.a.bool,cost:g.a.string,currencyPosition:g.a.oneOf(["prefix","suffix",""]),currencySymbol:g.a.string,costDescription:g.a.string,showCurrencySymbol:g.a.bool,showCost:g.a.bool,showCostDescription:g.a.bool,isFree:g.a.bool,setCost:g.a.func,setSymbol:g.a.func,setDescription:g.a.func,setCurrencyPosition:g.a.func,onKeyDown:g.a.func,onClick:g.a.func,openDashboard:g.a.func};var ar=nr,or=function(e){var t=T.range.parser(e);return!j()(A()(t))||T.range.isFree(e)},ir=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{isDashboardOpen:f.c.getDashboardPriceOpen(e),isOpen:f.c.getDashboardPriceOpen(e),cost:c.d.getPrice(e),currencyPosition:c.d.getPosition(e),currencySymbol:c.d.getSymbol(e),costDescription:c.d.getDescription(e),showCurrencySymbol:(r=c.d.getPrice(e),n=T.range.parser(r),!j()(A()(n))&&!T.range.isFree(r)),showCost:or(c.d.getPrice(e)),showCostDescription:(t=c.d.getDescription(e),!j()(A()(t))),isFree:T.range.isFree(c.d.getPrice(e))};var t,r,n},function(e){return i()({},Object(u.a)(c.a,e),{setInitialState:function(t){e(c.a.setInitialState(t)),e(f.a.setInitialState(t))},onClose:function(){return e(f.a.closeDashboardPrice())},openDashboard:function(){return e(f.a.openDashboardPrice())},setCurrencyPosition:function(t){return e(c.a.togglePosition(!t))}})}),Object(p.withSaveData)(),p.withBlockCloser)(ar),sr={id:"event-price",title:Object(a.__)("Event Price","the-events-calendar"),description:Object(a.__)("Let visitors know the cost of this event or if it’s free to attend.","the-events-calendar"),icon:wp.element.createElement(K.Price,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{cost:{type:"string",source:"meta",meta:"_EventCost"},costDescription:{type:"html",default:""},currencySymbol:{type:"string",source:"meta",meta:"_EventCurrencySymbol"},currencyPosition:{type:"string",source:"meta",meta:"_EventCurrencyPosition"}},edit:ir,save:function(e){return null}},ur=(r(647),function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"event-category-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-category"},this.renderList()))}},{key:"renderList",value:function(){return wp.element.createElement(Y.TermsList,{slug:"tribe_events_cat",label:Object(a.__)("Event Category","the-events-calendar"),renderEmpty:Object(a.__)("Add Event Categories in document settings","the-events-calendar")})}}]),t}(ft.Component)),lr={id:"event-category",title:Object(a.__)("Event Categories","the-events-calendar"),description:Object(a.__)("Show assigned event categories as links to their respective archives.","the-events-calendar"),icon:wp.element.createElement(K.Categories,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:ur,save:function(e){return null}},cr=(r(648),function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"event-tags-box",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__event-tags"},this.renderList()))}},{key:"renderList",value:function(){return wp.element.createElement(Y.TermsList,{slug:"post_tag",label:Object(a.__)("Tags","the-events-calendar"),renderEmpty:Object(a.__)("Add tags in document settings","the-events-calendar")})}}]),t}(ft.Component)),dr={id:"event-tags",title:Object(a.__)("Tags","the-events-calendar"),description:Object(a.__)("Add keywords by displaying linked tags.","the-events-calendar"),icon:wp.element.createElement(K.Tags,null),category:"common",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:cr,save:function(e){return null}},mr=r(138),_r=r(231),fr=(r(649),Object(a.__)("Add Event Website","the-events-calendar")),pr=function(e){var t=e.isSelected,r=e.url,n=e.setWebsite;return t&&wp.element.createElement("div",{key:"tribe-events-website-url",className:"tribe-editor__event-website__url"},wp.element.createElement(D.Dashicon,{icon:"admin-links"}),wp.element.createElement(k.URLInput,{autoFocus:!1,value:r,onChange:n}))},hr=function(e){var t=e.isSelected,r=e.isEmpty,n=e.urlLabel,a=e.setLabel,o=M()({"tribe-editor__event-website__label":!0,"tribe-editor__event-website__label--selected":t}),i=M()({"tribe-editor__event-website__label-text":!0,"tribe-editor__event-website__label-text--empty":r&&t});return wp.element.createElement("div",{key:"tribe-events-website-label",className:o},wp.element.createElement(w.a,{id:"tribe-events-website-link",className:i,value:n,placeholder:fr,onChange:T.input.sendValue(a)}))},yr=function(e){var t=e.isSelected,r=e.urlLabel,n=t||r?[hr(e),pr(e)]:wp.element.createElement("button",{className:M()(["tribe-editor__event-website__label","tribe-editor__event-website__label--placeholder"])},fr);return wp.element.createElement("div",{className:"tribe-editor__block tribe-editor__event-website"},n)};yr.propTypes={isSelected:g.a.bool,isEmpty:g.a.bool,url:g.a.string,urlLabel:g.a.string,setWebsite:g.a.func,setLabel:g.a.func};var vr=yr,gr=Object(u.c)(Object(p.withStore)(),Object(s.a)(function(e){return{url:_r.getUrl(e),urlLabel:_r.getLabel(e),isEmpty:(t=_r.getLabel(e),""===t.trim())};var t},function(e){return Object(u.a)(mr,e)}),Object(p.withSaveData)())(vr),br={id:"event-website",title:Object(a.__)("Event Website","the-events-calendar"),description:Object(a.__)("Is there another website for this event? Link to it with a button!","the-events-calendar"),icon:wp.element.createElement(K.Website,null),category:"tribe-events",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{urlLabel:{type:"html",default:""},url:{type:"string",source:"meta",meta:"_EventURL"}},edit:gr,save:function(e){return null}},Mr=r(124),Lr=function(e){function t(){return ee()(this,t),ae()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ie()(t,e),re()(t,[{key:"render",value:function(){return[this.renderUI()]}},{key:"renderUI",value:function(){return wp.element.createElement("section",{key:"featured-image",className:"tribe-editor__block"},wp.element.createElement("div",{className:"tribe-editor__featured-image"},this.renderImage()))}},{key:"renderImage",value:function(){var e=this.props.image;return null===e?this.renderPlaceholder():void 0===e?this.renderLoading():wp.element.createElement("img",{src:e.source_url,alt:Object(a.__)("Featured Image","the-events-calendar")})}},{key:"renderPlaceholder",value:function(){return wp.element.createElement(D.Placeholder,{style:{minHeight:150},key:"placeholder",icon:"format-image",instructions:Object(a.__)("Add a Featured Image from the Document Settings sidebar","the-events-calendar")})}},{key:"renderLoading",value:function(){return wp.element.createElement(D.Placeholder,{style:{minHeight:150},key:"placeholder",instructions:Object(a.__)("Loading the Image","the-events-calendar")},wp.element.createElement(D.Spinner,null))}}]),t}(ft.Component),wr=Object(Mr.withSelect)(function(e,t){var r=e("core"),n=r.getMedia,a=(r.getPostType,(0,e("core/editor").getEditedPostAttribute)("featured_media"));return{image:a?n(a):null}})(Lr),Dr={id:"featured-image",title:Object(a.__)("Featured Image","the-events-calendar"),description:Object(a.__)("Display the featured image in the post content.","the-events-calendar"),icon:wp.element.createElement(K.FeaturedImage,null),category:"common",keywords:["event","events-gutenberg","tribe"],supports:{html:!1},attributes:{},edit:wr,save:function(e){return null}},kr=r(500);r(650);r.d(t,"controls",function(){return Tr});var Tr={EventDateTimeControls:de},Yr=[Q,lt,Yt,Bt,er,sr,lr,dr,br,Dr];Yr.forEach(function(e){var t="tribe/"+e.id;Object(n.registerBlockType)(t,e)}),Object(kr.initStore)();t.default=Yr}]);
src/resources/js/app/elements.js CHANGED
@@ -34755,16 +34755,10 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
34755
  value.forEach(function(subValue) {
34756
  result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
34757
  });
34758
-
34759
- return result;
34760
- }
34761
-
34762
- if (isMap(value)) {
34763
  value.forEach(function(subValue, key) {
34764
  result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
34765
  });
34766
-
34767
- return result;
34768
  }
34769
 
34770
  var keysFunc = isFull
34755
  value.forEach(function(subValue) {
34756
  result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
34757
  });
34758
+ } else if (isMap(value)) {
 
 
 
 
34759
  value.forEach(function(subValue, key) {
34760
  result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
34761
  });
 
 
34762
  }
34763
 
34764
  var keysFunc = isFull
src/resources/js/app/elements.min.js CHANGED
@@ -17,4 +17,4 @@ var tribe="object"==typeof tribe?tribe:{};tribe.events=tribe.events||{},tribe.ev
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
- */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,d=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,_=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case c:case _:case s:case u:case i:case f:return e;default:switch(e=e&&e.$$typeof){case d:case m:case l:return e;default:return t}}case h:case p:case o:return t}}}function M(e){return y(e)===_}t.typeOf=y,t.AsyncMode=c,t.ConcurrentMode=_,t.ContextConsumer=d,t.ContextProvider=l,t.Element=a,t.ForwardRef=m,t.Fragment=s,t.Lazy=h,t.Memo=p,t.Portal=o,t.Profiler=u,t.StrictMode=i,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===_||e===u||e===i||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m)},t.isAsyncMode=function(e){return M(e)||y(e)===c},t.isConcurrentMode=M,t.isContextConsumer=function(e){return y(e)===d},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return y(e)===m},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===h},t.isMemo=function(e){return y(e)===p},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===u},t.isStrictMode=function(e){return y(e)===i},t.isSuspense=function(e){return y(e)===f}},function(e,t,r){var n={"./af":233,"./af.js":233,"./ar":234,"./ar-dz":235,"./ar-dz.js":235,"./ar-kw":236,"./ar-kw.js":236,"./ar-ly":237,"./ar-ly.js":237,"./ar-ma":238,"./ar-ma.js":238,"./ar-sa":239,"./ar-sa.js":239,"./ar-tn":240,"./ar-tn.js":240,"./ar.js":234,"./az":241,"./az.js":241,"./be":242,"./be.js":242,"./bg":243,"./bg.js":243,"./bm":244,"./bm.js":244,"./bn":245,"./bn.js":245,"./bo":246,"./bo.js":246,"./br":247,"./br.js":247,"./bs":248,"./bs.js":248,"./ca":249,"./ca.js":249,"./cs":250,"./cs.js":250,"./cv":251,"./cv.js":251,"./cy":252,"./cy.js":252,"./da":253,"./da.js":253,"./de":254,"./de-at":255,"./de-at.js":255,"./de-ch":256,"./de-ch.js":256,"./de.js":254,"./dv":257,"./dv.js":257,"./el":258,"./el.js":258,"./en-au":259,"./en-au.js":259,"./en-ca":260,"./en-ca.js":260,"./en-gb":261,"./en-gb.js":261,"./en-ie":262,"./en-ie.js":262,"./en-nz":263,"./en-nz.js":263,"./eo":264,"./eo.js":264,"./es":265,"./es-do":266,"./es-do.js":266,"./es-us":267,"./es-us.js":267,"./es.js":265,"./et":268,"./et.js":268,"./eu":269,"./eu.js":269,"./fa":270,"./fa.js":270,"./fi":271,"./fi.js":271,"./fo":272,"./fo.js":272,"./fr":273,"./fr-ca":274,"./fr-ca.js":274,"./fr-ch":275,"./fr-ch.js":275,"./fr.js":273,"./fy":276,"./fy.js":276,"./gd":277,"./gd.js":277,"./gl":278,"./gl.js":278,"./gom-latn":279,"./gom-latn.js":279,"./gu":280,"./gu.js":280,"./he":281,"./he.js":281,"./hi":282,"./hi.js":282,"./hr":283,"./hr.js":283,"./hu":284,"./hu.js":284,"./hy-am":285,"./hy-am.js":285,"./id":286,"./id.js":286,"./is":287,"./is.js":287,"./it":288,"./it.js":288,"./ja":289,"./ja.js":289,"./jv":290,"./jv.js":290,"./ka":291,"./ka.js":291,"./kk":292,"./kk.js":292,"./km":293,"./km.js":293,"./kn":294,"./kn.js":294,"./ko":295,"./ko.js":295,"./ky":296,"./ky.js":296,"./lb":297,"./lb.js":297,"./lo":298,"./lo.js":298,"./lt":299,"./lt.js":299,"./lv":300,"./lv.js":300,"./me":301,"./me.js":301,"./mi":302,"./mi.js":302,"./mk":303,"./mk.js":303,"./ml":304,"./ml.js":304,"./mr":305,"./mr.js":305,"./ms":306,"./ms-my":307,"./ms-my.js":307,"./ms.js":306,"./my":308,"./my.js":308,"./nb":309,"./nb.js":309,"./ne":310,"./ne.js":310,"./nl":311,"./nl-be":312,"./nl-be.js":312,"./nl.js":311,"./nn":313,"./nn.js":313,"./pa-in":314,"./pa-in.js":314,"./pl":315,"./pl.js":315,"./pt":316,"./pt-br":317,"./pt-br.js":317,"./pt.js":316,"./ro":318,"./ro.js":318,"./ru":319,"./ru.js":319,"./sd":320,"./sd.js":320,"./se":321,"./se.js":321,"./si":322,"./si.js":322,"./sk":323,"./sk.js":323,"./sl":324,"./sl.js":324,"./sq":325,"./sq.js":325,"./sr":326,"./sr-cyrl":327,"./sr-cyrl.js":327,"./sr.js":326,"./ss":328,"./ss.js":328,"./sv":329,"./sv.js":329,"./sw":330,"./sw.js":330,"./ta":331,"./ta.js":331,"./te":332,"./te.js":332,"./tet":333,"./tet.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./uk":341,"./uk.js":341,"./ur":342,"./ur.js":342,"./uz":343,"./uz-latn":344,"./uz-latn.js":344,"./uz.js":343,"./vi":345,"./vi.js":345,"./x-pseudo":346,"./x-pseudo.js":346,"./yo":347,"./yo.js":347,"./zh-cn":348,"./zh-cn.js":348,"./zh-hk":349,"./zh-hk.js":349,"./zh-tw":350,"./zh-tw.js":350};function a(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=o,e.exports=a,a.id=442},,,,,,,,,,,,,,function(e,t,r){e.exports={default:r(457),__esModule:!0}},function(e,t,r){r(93),r(142),e.exports=r(151).f("iterator")},function(e,t,r){e.exports={default:r(459),__esModule:!0}},function(e,t,r){r(460),r(465),r(466),r(467),e.exports=r(27).Symbol},function(e,t,r){"use strict";var n=r(40),a=r(48),o=r(41),s=r(45),i=r(170),u=r(461).KEY,l=r(70),d=r(114),c=r(117),_=r(89),m=r(29),f=r(151),p=r(152),h=r(462),y=r(463),M=r(47),g=r(58),v=r(83),L=r(59),b=r(128),D=r(71),Y=r(116),k=r(464),w=r(357),T=r(129),S=r(42),x=r(87),j=w.f,O=S.f,E=k.f,H=n.Symbol,P=n.JSON,A=P&&P.stringify,F=m("_hidden"),C=m("toPrimitive"),N={}.propertyIsEnumerable,q=d("symbol-registry"),R=d("symbols"),W=d("op-symbols"),z=Object.prototype,U="function"==typeof H&&!!T.f,I=n.QObject,B=!I||!I.prototype||!I.prototype.findChild,V=o&&l(function(){return 7!=Y(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=j(z,t);n&&delete z[t],O(e,t,r),n&&e!==z&&O(z,t,n)}:O,G=function(e){var t=R[e]=Y(H.prototype);return t._k=e,t},$=U&&"symbol"==typeof H.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof H},J=function(e,t,r){return e===z&&J(W,t,r),M(e),t=b(t,!0),M(r),a(R,t)?(r.enumerable?(a(e,F)&&e[F][t]&&(e[F][t]=!1),r=Y(r,{enumerable:D(0,!1)})):(a(e,F)||O(e,F,D(1,{})),e[F][t]=!0),V(e,t,r)):O(e,t,r)},Z=function(e,t){M(e);for(var r,n=h(t=L(t)),a=0,o=n.length;o>a;)J(e,r=n[a++],t[r]);return e},K=function(e){var t=N.call(this,e=b(e,!0));return!(this===z&&a(R,e)&&!a(W,e))&&(!(t||!a(this,e)||!a(R,e)||a(this,F)&&this[F][e])||t)},Q=function(e,t){if(e=L(e),t=b(t,!0),e!==z||!a(R,t)||a(W,t)){var r=j(e,t);return!r||!a(R,t)||a(e,F)&&e[F][t]||(r.enumerable=!0),r}},X=function(e){for(var t,r=E(L(e)),n=[],o=0;r.length>o;)a(R,t=r[o++])||t==F||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===z,n=E(r?W:L(e)),o=[],s=0;n.length>s;)!a(R,t=n[s++])||r&&!a(z,t)||o.push(R[t]);return o};U||(i((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var e=_(arguments.length>0?arguments[0]:void 0),t=function(r){this===z&&t.call(W,r),a(this,F)&&a(this[F],e)&&(this[F][e]=!1),V(this,e,D(1,r))};return o&&B&&V(z,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),w.f=Q,S.f=J,r(356).f=k.f=X,r(92).f=K,T.f=ee,o&&!r(88)&&i(z,"propertyIsEnumerable",K,!0),f.f=function(e){return G(m(e))}),s(s.G+s.W+s.F*!U,{Symbol:H});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)m(te[re++]);for(var ne=x(m.store),ae=0;ne.length>ae;)p(ne[ae++]);s(s.S+s.F*!U,"Symbol",{for:function(e){return a(q,e+="")?q[e]:q[e]=H(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),s(s.S+s.F*!U,"Object",{create:function(e,t){return void 0===t?Y(e):Z(Y(e),t)},defineProperty:J,defineProperties:Z,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var oe=l(function(){T.f(1)});s(s.S+s.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(v(e))}}),P&&s(s.S+s.F*(!U||l(function(){var e=H();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=t=n[1],(g(t)||void 0!==e)&&!$(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,A.apply(P,n)}}),H.prototype[C]||r(53)(H.prototype,C,H.prototype.valueOf),c(H,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},function(e,t,r){var n=r(89)("meta"),a=r(58),o=r(48),s=r(42).f,i=0,u=Object.isExtensible||function(){return!0},l=!r(70)(function(){return u(Object.preventExtensions({}))}),d=function(e){s(e,n,{value:{i:"O"+ ++i,w:{}}})},c=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!u(e))return"F";if(!t)return"E";d(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!u(e))return!0;if(!t)return!1;d(e)}return e[n].w},onFreeze:function(e){return l&&c.NEED&&u(e)&&!o(e,n)&&d(e),e}}},function(e,t,r){var n=r(87),a=r(129),o=r(92);e.exports=function(e){var t=n(e),r=a.f;if(r)for(var s,i=r(e),u=o.f,l=0;i.length>l;)u.call(e,s=i[l++])&&t.push(s);return t}},function(e,t,r){var n=r(113);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(59),a=r(356).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return s.slice()}}(e):a(n(e))}},function(e,t){},function(e,t,r){r(152)("asyncIterator")},function(e,t,r){r(152)("observable")},function(e,t,r){e.exports={default:r(469),__esModule:!0}},function(e,t,r){r(470),e.exports=r(27).Object.setPrototypeOf},function(e,t,r){var n=r(45);n(n.S,"Object",{setPrototypeOf:r(471).set})},function(e,t,r){var n=r(58),a=r(47),o=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(112)(Function.call,r(357).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(351),__esModule:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),parseFloat(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,s.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===a||o<=a)};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!s.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var a=t.split(":"),u=!1,l=e(a[a.length-1],4),d=l?7:8;if(a.length>d)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(a.shift(),a.shift(),u=!0):"::"===t.substr(t.length-2)&&(a.pop(),a.pop(),u=!0);for(var c=0;c<a.length;++c)if(""===a[c]&&c>0&&c<a.length-1){if(u)return!1;u=!0}else if(l&&c===a.length-1);else if(!i.test(a[c]))return!1;return u?a.length>=1:a.length===d}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,i=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?s:i,n=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&a&&u&&l};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,i=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(r,"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("["+t+"]"):/\s/,n=e.length-1;for(;n>=0&&r.test(e[n]);)n--;return n<e.length?e.substr(0,n+1):e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("["+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){var n=r(205);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(592),a=r(353),o=r(354);e.exports=function(e){return o(a(e,void 0,n),e+"")}},function(e,t,r){e.exports={default:r(486),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(487)},function(e,t,r){var n=r(172),a=r(29)("iterator"),o=r(54);e.exports=r(27).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(n(t))}},function(e,t,r){e.exports={default:r(489),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(490)},function(e,t,r){var n=r(47),a=r(171);e.exports=r(27).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(154),a=r(601),o=r(68);e.exports=function(e){return o(e)?n(e,!0):a(e)}},function(e,t,r){var n=r(103),a=r(432),o=r(136),s=r(160),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=a(e);return t}:s;e.exports=i},function(e,t,r){var n=r(159),a=r(492),o=r(491);e.exports=function(e){return n(e,o,a)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),s=(u(r(0)),u(r(229))),i=r(228);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),s=0;s<a;s++)o[s]=arguments[s];return r=n=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleNextClick=function(){n.props.onNextClick&&n.props.onNextClick()},n.handlePreviousClick=function(){n.props.onPreviousClick&&n.props.onPreviousClick()},n.handleNextKeyDown=function(e){e.keyCode!==i.ENTER&&e.keyCode!==i.SPACE||(e.preventDefault(),n.handleNextClick())},n.handlePreviousKeyDown=function(e){e.keyCode!==i.ENTER&&e.keyCode!==i.SPACE||(e.preventDefault(),n.handlePreviousClick())},l(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.labels!==this.props.labels||e.dir!==this.props.dir||this.props.showPreviousButton!==e.showPreviousButton||this.props.showNextButton!==e.showNextButton}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.className,n=e.showPreviousButton,a=e.showNextButton,s=e.labels,i=e.dir,u=void 0,l=void 0,d=void 0,c=void 0,_=void 0,m=void 0;"rtl"===i?(u=this.handleNextClick,l=this.handlePreviousClick,d=this.handleNextKeyDown,c=this.handlePreviousKeyDown,m=n,_=a):(u=this.handlePreviousClick,l=this.handleNextClick,d=this.handlePreviousKeyDown,c=this.handleNextKeyDown,m=a,_=n);var f=_?t.navButtonPrev:t.navButtonPrev+" "+t.navButtonInteractionDisabled,p=m?t.navButtonNext:t.navButtonNext+" "+t.navButtonInteractionDisabled,h=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":s.previousMonth,key:"previous",className:f,onKeyDown:_?d:void 0,onClick:_?u:void 0}),y=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":s.nextMonth,key:"right",className:p,onKeyDown:m?c:void 0,onClick:m?l:void 0});return o.default.createElement("div",{className:r||t.navBar},"rtl"===i?[y,h]:[h,y])}}]),t}();d.defaultProps={classNames:s.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0},t.default=d,d.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=s(a);s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){var e=this.props,t=e.weekday,r=e.className,n=e.weekdaysLong,a=e.weekdaysShort,s=e.localeUtils,i=e.locale,u=void 0;u=n?n[t]:s.formatWeekdayLong(t,i);var l=void 0;return l=a?a[t]:s.formatWeekdayShort(t,i),o.default.createElement("div",{className:r,role:"columnheader"},o.default.createElement("abbr",{title:u},l))}}]),t}();t.default=i,i.propTypes={}},,function(e,t,r){var n=r(589),a=r(484)(function(e,t){return null==e?{}:n(e,t)});e.exports=a},function(e,t,r){var n=r(104),a=0;e.exports=function(e){var t=++a;return n(e)+t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),e.indexOf((0,a.default)(t))>=0};var n=o(r(8)),a=o(r(405));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,a.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(l);if(r)e=r[1];else if(t.require_display_name)return!1}var i=e.split("@"),f=i.pop(),p=i.join("@"),h=f.toLowerCase();"gmail.com"!==h&&"googlemail.com"!==h||(p=p.replace(/\./g,"").toLowerCase());if(!(0,o.default)(p,{max:64})||!(0,o.default)(f,{max:254}))return!1;if(!(0,s.default)(f,{require_tld:t.require_tld}))return!1;if('"'===p[0])return p=p.slice(1,p.length-1),t.allow_utf8_local_part?m.test(p):c.test(p);for(var y=t.allow_utf8_local_part?_:d,M=p.split("."),g=0;g<M.length;g++)if(!y.test(M[g]))return!1;return!0};var n=i(r(8)),a=i(r(133)),o=i(r(474)),s=i(r(406));function i(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,c=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,_=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,s.default)(t,u);var r=void 0,i=void 0,c=void 0,_=void 0,m=void 0,f=void 0,p=void 0,h=void 0;if(p=e.split("#"),e=p.shift(),p=e.split("?"),e=p.shift(),(p=e.split("://")).length>1){if(r=p.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(p[0]=e.substr(2))}if(""===(e=p.join("://")))return!1;if(p=e.split("/"),""===(e=p.shift())&&!t.require_host)return!0;if((p=e.split("@")).length>1&&(i=p.shift()).indexOf(":")>=0&&i.split(":").length>2)return!1;_=p.join("@"),f=null,h=null;var y=_.match(l);y?(c="",h=y[1],f=y[2]||null):(p=_.split(":"),c=p.shift(),p.length&&(f=p.join(":")));if(null!==f&&(m=parseInt(f,10),!/^[0-9]+$/.test(f)||m<=0||m>65535))return!1;if(!((0,o.default)(c)||(0,a.default)(c,t)||h&&(0,o.default)(h,6)))return!1;if(c=c||h,t.host_whitelist&&!d(c,t.host_whitelist))return!1;if(t.host_blacklist&&d(c,t.host_blacklist))return!1;return!0};var n=i(r(8)),a=i(r(406)),o=i(r(475)),s=i(r(133));function i(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(a=n,"[object RegExp]"===Object.prototype.toString.call(a)&&n.test(e)))return!0}var a;return!1}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in s.alpha)return s.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in s.alphanumeric)return s.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,a=r(476),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.fullWidth.test(e)&&i.halfWidth.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(477),i=r(478);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?s.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return r.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||e<t.lt)&&(!t.hasOwnProperty("gt")||e>t.gt)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,i)).locale in o.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+o.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var n=s(r(133)),a=s(r(8)),o=r(206);function s(e){return e&&e.__esModule?e:{default:e}}var i={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,a.default)(e)%parseInt(t,10)==0};var n=o(r(8)),a=o(r(473));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-f0-9]{"+s[t]+"}$").test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){(0,s.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":n(t))}catch(e){}return!1};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),0===e.length};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,s.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],i=e.length-o.length;return i>=r&&(void 0===a||i<=a)};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=s[t];return r&&r.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,a.default)(e)&&24===e.length};var n=o(r(8)),a=o(r(479));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o>r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o<r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,a.default)(e);var r=void 0;if("[object Array]"===Object.prototype.toString.call(t)){var s=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(s[r]=(0,o.default)(t[r]));return s.indexOf(e)>=0}if("object"===(void 0===t?"undefined":n(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var a=s(r(8)),o=s(r(405));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!s.test(t))return!1;for(var r=0,n=void 0,a=void 0,i=void 0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=i&&(a*=2)>=10?a%10+1:a,i=!i;return!(r%10!=0||!t)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!s.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),r=0,n=void 0,a=void 0,i=!0,u=t.length-2;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=i&&(a*=2)>=10?a+1:a,i=!i;return parseInt(e.substr(e.length-1),10)===(1e4-r)%10};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var a=0;var l=void 0;if("10"===r){if(!s.test(n))return!1;for(l=0;l<9;l++)a+=(l+1)*n.charAt(l);if("X"===n.charAt(9)?a+=100:a+=10*n.charAt(9),a%11==0)return!!n}else if("13"===r){if(!i.test(n))return!1;for(l=0;l<12;l++)a+=u[l%2]*n.charAt(l);if(n.charAt(12)-(10-a%10)%10==0)return!!n}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:[0-9]{9}X|[0-9]{10})$/,i=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=s;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;var n=e.replace("-",""),a=8,i=0,u=!0,l=!1,d=void 0;try{for(var c,_=n[Symbol.iterator]();!(u=(c=_.next()).done);u=!0){var m=c.value,f="X"===m.toUpperCase()?10:+m;i+=f*a,--a}}catch(e){l=!0,d=e}finally{try{!u&&_.return&&_.return()}finally{if(l)throw d}}return i%11==0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(t in s)return s[t].test(e);if("any"===t){for(var n in s)if(s.hasOwnProperty(n)){var a=s[n];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};s["en-CA"]=s["en-US"],s["fr-BE"]=s["nl-BE"],s["zh-HK"]=s["en-HK"],e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,r){0!==r&&(t=t+"|\\d{"+e+"}")});var r="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",a="("+["0","[1-9]\\d*",n].join("|")+")?",o="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),s=a+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?s+="-?":e.negative_sign_before_digits&&(s="-?"+s)),e.allow_negative_sign_placeholder?s="( (?!\\-))?"+s:e.allow_space_after_symbol?s=" ?"+s:e.allow_space_after_digits&&(s+="( (?!$))?"),e.symbol_after_digits?s+=r:s=r+s,e.allow_negatives&&(e.parens_for_negatives?s="(\\("+s+"\\)|"+s+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(s="-?"+s)),new RegExp("^(?!-? )(?=.*\\d)"+s+"$")}(t=(0,n.default)(t,s)).test(e)};var n=o(r(133)),a=o(r(8));function o(e){return e&&e.__esModule?e:{default:e}}var s={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.includes(e.toUpperCase())};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.length;if(!t||t%4!=0||s.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var a=n.substr(5);if(""!==a&&!s.test(a))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!i.test(r[l]))return!1;for(var d=0;d<t.length;d++)if(!u.test(t[d]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[a-z]+\/[a-z0-9\-\+]+$/i,i=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)||i.test(e)||u.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,i=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!e.includes(","))return!1;var t=e.split(",");return s.test(t[0])&&i.test(t[1])};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,i=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locales=void 0,t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var r in l){if(l.hasOwnProperty(r))if(l[r].test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^\d{4}$/,i=/^\d{5}$/,u=/^\d{6}$/,l={AT:s,AU:s,BE:s,BG:s,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:s,CZ:/^\d{3}\s?\d{2}$/,DE:i,DK:s,DZ:i,ES:i,FI:i,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,IL:i,IN:u,IS:/^\d{3}$/,IT:i,JP:/^\d{3}\-\d{4}$/,KE:i,LI:/^(948[5-9]|949[0-7])$/,MX:i,NL:/^\d{4}\s?[a-z]{2}$/i,NO:s,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:i,SE:/^\d{3}\s?\d{2}$/,TW:/^\d{3}(\d{2})?$/,US:/^\d{5}(-\d{4})?$/,ZA:s,ZM:i};t.locales=Object.keys(l)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,a.default)(e,t),t)};var n=o(r(481)),a=o(r(480));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,a.default)(e,r)};var n=o(r(8)),a=o(r(482));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,s);var r=e.split("@"),n=r.pop(),a=[r.join("@"),n];if(a[1]=a[1].toLowerCase(),"gmail.com"===a[1]||"googlemail.com"===a[1]){if(t.gmail_remove_subaddress&&(a[0]=a[0].split("+")[0]),t.gmail_remove_dots&&(a[0]=a[0].replace(/\./g,"")),!a[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(a[0]=a[0].toLowerCase()),a[1]=t.gmail_convert_googlemaildotcom?"gmail.com":a[1]}else if(~i.indexOf(a[1])){if(t.icloud_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~u.indexOf(a[1])){if(t.outlookdotcom_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~l.indexOf(a[1])){if(t.yahoo_remove_subaddress){var d=a[0].split("-");a[0]=d.length>1?d.slice(0,-1).join("-"):d[0]}if(!a[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(a[0]=a[0].toLowerCase())}else t.all_lowercase&&(a[0]=a[0].toLowerCase());return a.join("@")};var n,a=r(133),o=(n=a)&&n.__esModule?n:{default:n};var s={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},i=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,r){},function(e,t,r){var n=r(586)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){},function(e,t,r){var n=r(102);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){var n=r(590),a=r(211);e.exports=function(e,t){return n(e,t,function(t,r){return a(e,r)})}},function(e,t,r){var n=r(106),a=r(591),o=r(80);e.exports=function(e,t,r){for(var s=-1,i=t.length,u={};++s<i;){var l=t[s],d=n(e,l);r(d,l)&&a(u,o(l,e),d)}return u}},function(e,t,r){var n=r(410),a=r(80),o=r(105),s=r(44),i=r(65);e.exports=function(e,t,r,u){if(!s(e))return e;for(var l=-1,d=(t=a(t,e)).length,c=d-1,_=e;null!=_&&++l<d;){var m=i(t[l]),f=r;if(l!=c){var p=_[m];void 0===(f=u?u(p,m,_):void 0)&&(f=s(p)?p:o(t[l+1])?[]:{})}n(_,m,f),_=_[m]}return e}},function(e,t,r){var n=r(352);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){var n=r(108),a=r(598),o=r(410),s=r(599),i=r(600),u=r(603),l=r(604),d=r(605),c=r(606),_=r(158),m=r(493),f=r(81),p=r(607),h=r(608),y=r(613),M=r(21),g=r(75),v=r(615),L=r(44),b=r(617),D=r(64),Y=1,k=2,w=4,T="[object Arguments]",S="[object Function]",x="[object GeneratorFunction]",j="[object Object]",O={};O[T]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[j]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[S]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,E,H,P,A){var F,C=r&Y,N=r&k,q=r&w;if(E&&(F=P?E(t,H,P,A):E(t)),void 0!==F)return F;if(!L(t))return t;var R=M(t);if(R){if(F=p(t),!C)return l(t,F)}else{var W=f(t),z=W==S||W==x;if(g(t))return u(t,C);if(W==j||W==T||z&&!P){if(F=N||z?{}:y(t),!C)return N?c(t,i(F,t)):d(t,s(F,t))}else{if(!O[W])return P?t:{};F=h(t,W,C)}}A||(A=new n);var U=A.get(t);if(U)return U;if(A.set(t,F),b(t))return t.forEach(function(n){F.add(e(n,r,E,n,t,A))}),F;if(v(t))return t.forEach(function(n,a){F.set(a,e(n,r,E,a,t,A))}),F;var I=q?N?m:_:N?keysIn:D,B=R?void 0:I(t);return a(B||t,function(n,a){B&&(n=t[a=n]),o(F,a,e(n,r,E,a,t,A))}),F}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(163),a=r(64);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(163),a=r(491);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(44),a=r(90),o=r(602),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=a(e),r=[];for(var i in e)("constructor"!=i||!t&&s.call(e,i))&&r.push(i);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(23),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.Buffer:void 0,i=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=i?i(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(72)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(163),a=r(136);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t,r){var n=r(163),a=r(492);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(433),a=r(609),o=r(610),s=r(611),i=r(612),u="[object Boolean]",l="[object Date]",d="[object Map]",c="[object Number]",_="[object RegExp]",m="[object Set]",f="[object String]",p="[object Symbol]",h="[object ArrayBuffer]",y="[object DataView]",M="[object Float32Array]",g="[object Float64Array]",v="[object Int8Array]",L="[object Int16Array]",b="[object Int32Array]",D="[object Uint8Array]",Y="[object Uint8ClampedArray]",k="[object Uint16Array]",w="[object Uint32Array]";e.exports=function(e,t,r){var T=e.constructor;switch(t){case h:return n(e);case u:case l:return new T(+e);case y:return a(e,r);case M:case g:case v:case L:case b:case D:case Y:case k:case w:return i(e,r);case d:return new T;case c:case f:return new T(e);case _:return o(e);case m:return new T;case p:return s(e)}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),a=n?n.prototype:void 0,o=a?a.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(614),a=r(432),o=r(90);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(a(e))}},function(e,t,r){var n=r(44),a=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(a)return a(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(616),a=r(95),o=r(134),s=o&&o.isMap,i=s?a(s):n;e.exports=i},function(e,t,r){var n=r(81),a=r(31),o="[object Map]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(618),a=r(95),o=r(134),s=o&&o.isSet,i=s?a(s):n;e.exports=i},function(e,t,r){var n=r(81),a=r(31),o="[object Set]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(80),a=r(620),o=r(621),s=r(65);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[s(a(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){var n=r(106),a=r(226);e.exports=function(e,t){return t.length<2?e:n(e,a(t,0,-1))}},function(e,t,r){var n=r(623);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(36),a=r(432),o=r(31),s="[object Object]",i=Function.prototype,u=Object.prototype,l=i.toString,d=u.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!o(e)||n(e)!=s)return!1;var t=a(e);if(null===t)return!0;var r=d.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifiersUtils=t.LocaleUtils=t.DateUtils=t.DayPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),s=M(o),i=(M(r(0)),M(r(625))),u=M(r(494)),l=M(r(626)),d=M(r(495)),c=y(r(230)),_=y(r(137)),m=y(r(227)),f=y(r(434)),p=M(r(229)),h=r(228);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function M(e){return e&&e.__esModule?e:{default:e}}var g=t.DayPicker=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.dayPicker=null,r.showNextMonth=function(e){if(r.allowNextMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=_.addMonths(r.state.currentMonth,t);r.showMonth(n,e)}},r.showPreviousMonth=function(e){if(r.allowPreviousMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=_.addMonths(r.state.currentMonth,-t);r.showMonth(n,e)}},r.handleKeyDown=function(e){switch(e.persist(),e.keyCode){case h.LEFT:"rtl"===r.props.dir?r.showNextMonth():r.showPreviousMonth(),c.cancelEvent(e);break;case h.RIGHT:"rtl"===r.props.dir?r.showPreviousMonth():r.showNextMonth(),c.cancelEvent(e);break;case h.UP:r.showPreviousYear(),c.cancelEvent(e);break;case h.DOWN:r.showNextYear(),c.cancelEvent(e)}r.props.onKeyDown&&r.props.onKeyDown(e)},r.handleDayKeyDown=function(e,t,n){switch(n.persist(),n.keyCode){case h.LEFT:c.cancelEvent(n),"rtl"===r.props.dir?r.focusNextDay(n.target):r.focusPreviousDay(n.target);break;case h.RIGHT:c.cancelEvent(n),"rtl"===r.props.dir?r.focusPreviousDay(n.target):r.focusNextDay(n.target);break;case h.UP:c.cancelEvent(n),r.focusPreviousWeek(n.target);break;case h.DOWN:c.cancelEvent(n),r.focusNextWeek(n.target);break;case h.ENTER:case h.SPACE:c.cancelEvent(n),r.props.onDayClick&&r.handleDayClick(e,t,n)}r.props.onDayKeyDown&&r.props.onDayKeyDown(e,t,n)},r.handleDayClick=function(e,t,n){n.persist(),t[r.props.classNames.outside]&&r.props.enableOutsideDaysClick&&r.handleOutsideDayClick(e),r.props.onDayClick&&r.props.onDayClick(e,t,n)},r.handleTodayButtonClick=function(e){var t=new Date,n=new Date(t.getFullYear(),t.getMonth());r.showMonth(n),e.target.blur(),r.props.onTodayButtonClick&&(e.persist(),r.props.onTodayButtonClick(new Date(t.getFullYear(),t.getMonth(),t.getDate()),f.getModifiersForDay(t,r.props.modifiers),e))};var n=r.getCurrentMonthFromProps(e);return r.state={currentMonth:n},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"componentDidUpdate",value:function(e){if(e.month!==this.props.month&&!_.isSameMonth(e.month,this.props.month)){var t=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:t})}}},{key:"getCurrentMonthFromProps",value:function(e){var t=c.startOfMonth(e.month||e.initialMonth);if(e.pagedNavigation&&e.numberOfMonths>1&&e.fromMonth){var r=c.startOfMonth(e.fromMonth),n=c.getMonthsDiff(r,t);t=_.addMonths(r,Math.floor(n/e.numberOfMonths)*e.numberOfMonths)}else e.toMonth&&e.numberOfMonths>1&&c.getMonthsDiff(t,e.toMonth)<=0&&(t=_.addMonths(c.startOfMonth(e.toMonth),1-this.props.numberOfMonths));return t}},{key:"getNextNavigableMonth",value:function(){return _.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return _.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var e=_.addMonths(this.state.currentMonth,-1);return this.allowMonth(e)}},{key:"allowNextMonth",value:function(){var e=_.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(e)}},{key:"allowMonth",value:function(e){var t=this.props,r=t.fromMonth,n=t.toMonth;return!(!t.canChangeMonth||r&&c.getMonthsDiff(r,e)<0||n&&c.getMonthsDiff(n,e)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(e,t){var r=this;this.allowMonth(e)&&this.setState({currentMonth:c.startOfMonth(e)},function(){t&&t(),r.props.onMonthChange&&r.props.onMonthChange(r.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var e=_.addMonths(this.state.currentMonth,12);this.showMonth(e)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var e=_.addMonths(this.state.currentMonth,-12);this.showMonth(e)}}},{key:"focusFirstDayOfMonth",value:function(){c.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var e=c.getDayNodes(this.dayPicker,this.props.classNames);e[e.length-1].focus()}},{key:"focusPreviousDay",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);-1!==n&&(0===n?this.showPreviousMonth(function(){return t.focusLastDayOfMonth()}):r[n-1].focus())}},{key:"focusNextDay",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);-1!==n&&(n===r.length-1?this.showNextMonth(function(){return t.focusFirstDayOfMonth()}):r[n+1].focus())}},{key:"focusNextWeek",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);n>r.length-8?this.showNextMonth(function(){var e=7-(r.length-n);c.getDayNodes(t.dayPicker,t.props.classNames)[e].focus()}):r[n+7].focus()}},{key:"focusPreviousWeek",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);n<=6?this.showPreviousMonth(function(){var e=c.getDayNodes(t.dayPicker,t.props.classNames);e[e.length-7+n].focus()}):r[n-7].focus()}},{key:"handleOutsideDayClick",value:function(e){var t=this.state.currentMonth,r=this.props.numberOfMonths,n=c.getMonthsDiff(t,e);n>0&&n>=r?this.showNextMonth():n<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var e=this.props,t=e.labels,r=e.locale,n=e.localeUtils,a=e.canChangeMonth,o=e.navbarElement,i=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!a)return null;var u={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:i.dir,labels:t,locale:r,localeUtils:n};return s.default.isValidElement(o)?s.default.cloneElement(o,u):s.default.createElement(o,u)}},{key:"renderMonths",value:function(){for(var e=[],t=c.getFirstDayOfWeekFromProps(this.props),r=0;r<this.props.numberOfMonths;r+=1){var a=_.addMonths(this.state.currentMonth,r);e.push(s.default.createElement(l.default,n({key:r},this.props,{month:a,firstDayOfWeek:t,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&e.reverse(),e}},{key:"renderFooter",value:function(){return this.props.todayButton?s.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return s.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var e=this,t=this.props.classNames.container;return this.props.onDayClick||(t=t+" "+this.props.classNames.interactionDisabled),this.props.className&&(t=t+" "+this.props.className),s.default.createElement("div",n({},this.props.containerProps,{className:t,ref:function(t){return e.dayPicker=t},lang:this.props.locale}),s.default.createElement("div",{className:this.props.classNames.wrapper,tabIndex:this.props.canChangeMonth&&void 0!==this.props.tabIndex?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),s.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}();g.VERSION="7.3.0",g.defaultProps={classNames:p.default,tabIndex:0,initialMonth:new Date,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:m,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(e){return e.getDate()},renderWeek:function(e){return e},weekdayElement:s.default.createElement(d.default,null),navbarElement:s.default.createElement(u.default,{classNames:p.default}),captionElement:s.default.createElement(i.default,{classNames:p.default})},g.propTypes={},g.DateUtils=_,g.LocaleUtils=m,g.ModifiersUtils=f,t.DateUtils=_,t.LocaleUtils=m,t.ModifiersUtils=f,t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),s=(u(r(0)),u(r(227))),i=r(228);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleKeyUp=r.handleKeyUp.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.locale!==this.props.locale||e.classNames!==this.props.classNames||e.date.getMonth()!==this.props.date.getMonth()||e.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(e){e.keyCode===i.ENTER&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.date,n=e.months,a=e.locale,s=e.localeUtils,i=e.onClick;return o.default.createElement("div",{className:t.caption,role:"heading"},o.default.createElement("div",{onClick:i,onKeyUp:this.handleKeyUp},n?n[r.getMonth()]+" "+r.getFullYear():s.formatMonthTitle(r,a)))}}]),t}();l.defaultProps={localeUtils:s.default},t.default=l,l.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=m(a),s=(m(r(0)),m(r(627))),i=m(r(628)),u=r(228),l=_(r(434)),d=_(r(230)),c=_(r(137));function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderDay=function(e){var t=n.props.month.getMonth(),r=d.getModifiersFromProps(n.props),a=l.getModifiersForDay(e,r);c.isSameDay(e,new Date)&&!Object.prototype.hasOwnProperty.call(r,n.props.classNames.today)&&a.push(n.props.classNames.today),e.getMonth()!==t&&a.push(n.props.classNames.outside);var s=e.getMonth()!==t,u=-1;n.props.onDayClick&&!s&&1===e.getDate()&&(u=n.props.tabIndex);var _=""+e.getFullYear()+e.getMonth()+e.getDate(),m={};return a.forEach(function(e){m[e]=!0}),o.default.createElement(i.default,{key:(s?"outside-":"")+_,classNames:n.props.classNames,day:e,modifiers:m,modifiersStyles:n.props.modifiersStyles,empty:s&&!n.props.showOutsideDays&&!n.props.fixedWeeks,tabIndex:u,ariaLabel:n.props.localeUtils.formatDay(e,n.props.locale),ariaDisabled:s||a.indexOf("disabled")>-1,ariaSelected:a.indexOf("selected")>-1,onClick:n.props.onDayClick,onFocus:n.props.onDayFocus,onKeyDown:n.props.onDayKeyDown,onMouseEnter:n.props.onDayMouseEnter,onMouseLeave:n.props.onDayMouseLeave,onMouseDown:n.props.onDayMouseDown,onMouseUp:n.props.onDayMouseUp,onTouchEnd:n.props.onDayTouchEnd,onTouchStart:n.props.onDayTouchStart},n.props.renderDay(e,m))},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.classNames,n=t.month,a=t.months,i=t.fixedWeeks,l=t.captionElement,_=t.weekdayElement,m=t.locale,f=t.localeUtils,p=t.weekdaysLong,h=t.weekdaysShort,y=t.firstDayOfWeek,M=t.onCaptionClick,g=t.showWeekNumbers,v=t.showWeekDays,L=t.onWeekClick,b={date:n,classNames:r,months:a,localeUtils:f,locale:m,onClick:M?function(e){return M(n,e)}:void 0},D=o.default.isValidElement(l)?o.default.cloneElement(l,b):o.default.createElement(l,b),Y=d.getWeekArray(n,y,i);return o.default.createElement("div",{className:r.month,role:"grid"},D,v&&o.default.createElement(s.default,{classNames:r,weekdaysShort:h,weekdaysLong:p,firstDayOfWeek:y,showWeekNumbers:g,locale:m,localeUtils:f,weekdayElement:_}),o.default.createElement("div",{className:r.body,role:"rowgroup"},Y.map(function(t){var a=void 0;return g&&(a=c.getWeekNumber(t[6])),o.default.createElement("div",{key:t[0].getTime(),className:r.week,role:"row"},g&&o.default.createElement("div",{className:r.weekNumber,tabIndex:L?0:-1,role:"gridcell",onClick:L?function(e){return L(a,t,e)}:void 0,onKeyUp:L?function(e){return e.keyCode===u.ENTER&&L(a,t,e)}:void 0},e.props.renderWeek(a,t,n)),t.map(e.renderDay))})))}}]),t}();t.default=p,p.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=s(a);s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){for(var e=this.props,t=e.classNames,r=e.firstDayOfWeek,n=e.showWeekNumbers,a=e.weekdaysLong,s=e.weekdaysShort,i=e.locale,u=e.localeUtils,l=e.weekdayElement,d=[],c=0;c<7;c+=1){var _=(c+r)%7,m={key:c,className:t.weekday,weekday:_,weekdaysLong:a,weekdaysShort:s,localeUtils:u,locale:i},f=o.default.isValidElement(l)?o.default.cloneElement(l,m):o.default.createElement(l,m);d.push(f)}return o.default.createElement("div",{className:t.weekdays,role:"rowgroup"},o.default.createElement("div",{className:t.weekdaysRow,role:"row"},n&&o.default.createElement("div",{className:t.weekday}),d))}}]),t}();t.default=i,i.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),s=d(o),i=(d(r(0)),r(137)),u=r(230),l=d(r(229));function d(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var _=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=Object.keys(this.props),n=Object.keys(e);return r.length!==n.length||r.some(function(r){if("modifiers"===r||"modifiersStyles"===r||"classNames"===r){var n=t.props[r],a=e[r],o=Object.keys(n),s=Object.keys(a);return o.length!==s.length||o.some(function(e){return!(0,u.hasOwnProp)(a,e)||n[e]!==a[e]})}return"day"===r?!(0,i.isSameDay)(t.props[r],e[r]):!(0,u.hasOwnProp)(e,r)||t.props[r]!==e[r]})}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.modifiersStyles,a=e.day,o=e.tabIndex,i=e.empty,u=e.modifiers,d=e.onMouseEnter,_=e.onMouseLeave,m=e.onMouseUp,f=e.onMouseDown,p=e.onClick,h=e.onKeyDown,y=e.onTouchStart,M=e.onTouchEnd,g=e.onFocus,v=e.ariaLabel,L=e.ariaDisabled,b=e.ariaSelected,D=e.children,Y=t.day;t!==l.default?Y+=" "+Object.keys(u).join(" "):Y+=Object.keys(u).map(function(e){return" "+Y+"--"+e}).join("");var k=void 0;return r&&Object.keys(u).filter(function(e){return!!r[e]}).forEach(function(e){k=n({},k,r[e])}),i?s.default.createElement("div",{"aria-disabled":!0,className:Y,style:k}):s.default.createElement("div",{className:Y,tabIndex:o,style:k,role:"gridcell","aria-label":v,"aria-disabled":L,"aria-selected":b,onClick:c(p,a,u),onKeyDown:c(h,a,u),onMouseEnter:c(d,a,u),onMouseLeave:c(_,a,u),onMouseUp:c(m,a,u),onMouseDown:c(f,a,u),onTouchEnd:c(M,a,u),onTouchStart:c(y,a,u),onFocus:c(g,a,u)},D)}}]),t}();_.defaultProps={tabIndex:-1},_.defaultProps={modifiers:{},modifiersStyles:{},empty:!1},t.default=_,_.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifierPropType=void 0;var n,a=r(0),o=(n=a)&&n.__esModule?n:{default:n};var s={localeUtils:o.default.shape({formatMonthTitle:o.default.func,formatWeekdayShort:o.default.func,formatWeekdayLong:o.default.func,getFirstDayOfWeek:o.default.func}),range:o.default.shape({from:o.default.instanceOf(Date),to:o.default.instanceOf(Date)}),after:o.default.shape({after:o.default.instanceOf(Date)}),before:o.default.shape({before:o.default.instanceOf(Date)})};t.ModifierPropType=o.default.oneOfType([s.after,s.before,s.range,o.default.func,o.default.array]);t.default=s},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){}]);
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
+ */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,a=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,d=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,_=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116;function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case c:case _:case s:case u:case i:case f:return e;default:switch(e=e&&e.$$typeof){case d:case m:case l:return e;default:return t}}case h:case p:case o:return t}}}function M(e){return y(e)===_}t.typeOf=y,t.AsyncMode=c,t.ConcurrentMode=_,t.ContextConsumer=d,t.ContextProvider=l,t.Element=a,t.ForwardRef=m,t.Fragment=s,t.Lazy=h,t.Memo=p,t.Portal=o,t.Profiler=u,t.StrictMode=i,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===_||e===u||e===i||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m)},t.isAsyncMode=function(e){return M(e)||y(e)===c},t.isConcurrentMode=M,t.isContextConsumer=function(e){return y(e)===d},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return y(e)===m},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===h},t.isMemo=function(e){return y(e)===p},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===u},t.isStrictMode=function(e){return y(e)===i},t.isSuspense=function(e){return y(e)===f}},function(e,t,r){var n={"./af":233,"./af.js":233,"./ar":234,"./ar-dz":235,"./ar-dz.js":235,"./ar-kw":236,"./ar-kw.js":236,"./ar-ly":237,"./ar-ly.js":237,"./ar-ma":238,"./ar-ma.js":238,"./ar-sa":239,"./ar-sa.js":239,"./ar-tn":240,"./ar-tn.js":240,"./ar.js":234,"./az":241,"./az.js":241,"./be":242,"./be.js":242,"./bg":243,"./bg.js":243,"./bm":244,"./bm.js":244,"./bn":245,"./bn.js":245,"./bo":246,"./bo.js":246,"./br":247,"./br.js":247,"./bs":248,"./bs.js":248,"./ca":249,"./ca.js":249,"./cs":250,"./cs.js":250,"./cv":251,"./cv.js":251,"./cy":252,"./cy.js":252,"./da":253,"./da.js":253,"./de":254,"./de-at":255,"./de-at.js":255,"./de-ch":256,"./de-ch.js":256,"./de.js":254,"./dv":257,"./dv.js":257,"./el":258,"./el.js":258,"./en-au":259,"./en-au.js":259,"./en-ca":260,"./en-ca.js":260,"./en-gb":261,"./en-gb.js":261,"./en-ie":262,"./en-ie.js":262,"./en-nz":263,"./en-nz.js":263,"./eo":264,"./eo.js":264,"./es":265,"./es-do":266,"./es-do.js":266,"./es-us":267,"./es-us.js":267,"./es.js":265,"./et":268,"./et.js":268,"./eu":269,"./eu.js":269,"./fa":270,"./fa.js":270,"./fi":271,"./fi.js":271,"./fo":272,"./fo.js":272,"./fr":273,"./fr-ca":274,"./fr-ca.js":274,"./fr-ch":275,"./fr-ch.js":275,"./fr.js":273,"./fy":276,"./fy.js":276,"./gd":277,"./gd.js":277,"./gl":278,"./gl.js":278,"./gom-latn":279,"./gom-latn.js":279,"./gu":280,"./gu.js":280,"./he":281,"./he.js":281,"./hi":282,"./hi.js":282,"./hr":283,"./hr.js":283,"./hu":284,"./hu.js":284,"./hy-am":285,"./hy-am.js":285,"./id":286,"./id.js":286,"./is":287,"./is.js":287,"./it":288,"./it.js":288,"./ja":289,"./ja.js":289,"./jv":290,"./jv.js":290,"./ka":291,"./ka.js":291,"./kk":292,"./kk.js":292,"./km":293,"./km.js":293,"./kn":294,"./kn.js":294,"./ko":295,"./ko.js":295,"./ky":296,"./ky.js":296,"./lb":297,"./lb.js":297,"./lo":298,"./lo.js":298,"./lt":299,"./lt.js":299,"./lv":300,"./lv.js":300,"./me":301,"./me.js":301,"./mi":302,"./mi.js":302,"./mk":303,"./mk.js":303,"./ml":304,"./ml.js":304,"./mr":305,"./mr.js":305,"./ms":306,"./ms-my":307,"./ms-my.js":307,"./ms.js":306,"./my":308,"./my.js":308,"./nb":309,"./nb.js":309,"./ne":310,"./ne.js":310,"./nl":311,"./nl-be":312,"./nl-be.js":312,"./nl.js":311,"./nn":313,"./nn.js":313,"./pa-in":314,"./pa-in.js":314,"./pl":315,"./pl.js":315,"./pt":316,"./pt-br":317,"./pt-br.js":317,"./pt.js":316,"./ro":318,"./ro.js":318,"./ru":319,"./ru.js":319,"./sd":320,"./sd.js":320,"./se":321,"./se.js":321,"./si":322,"./si.js":322,"./sk":323,"./sk.js":323,"./sl":324,"./sl.js":324,"./sq":325,"./sq.js":325,"./sr":326,"./sr-cyrl":327,"./sr-cyrl.js":327,"./sr.js":326,"./ss":328,"./ss.js":328,"./sv":329,"./sv.js":329,"./sw":330,"./sw.js":330,"./ta":331,"./ta.js":331,"./te":332,"./te.js":332,"./tet":333,"./tet.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./uk":341,"./uk.js":341,"./ur":342,"./ur.js":342,"./uz":343,"./uz-latn":344,"./uz-latn.js":344,"./uz.js":343,"./vi":345,"./vi.js":345,"./x-pseudo":346,"./x-pseudo.js":346,"./yo":347,"./yo.js":347,"./zh-cn":348,"./zh-cn.js":348,"./zh-hk":349,"./zh-hk.js":349,"./zh-tw":350,"./zh-tw.js":350};function a(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=o,e.exports=a,a.id=442},,,,,,,,,,,,,,function(e,t,r){e.exports={default:r(457),__esModule:!0}},function(e,t,r){r(93),r(142),e.exports=r(151).f("iterator")},function(e,t,r){e.exports={default:r(459),__esModule:!0}},function(e,t,r){r(460),r(465),r(466),r(467),e.exports=r(27).Symbol},function(e,t,r){"use strict";var n=r(40),a=r(48),o=r(41),s=r(45),i=r(170),u=r(461).KEY,l=r(70),d=r(114),c=r(117),_=r(89),m=r(29),f=r(151),p=r(152),h=r(462),y=r(463),M=r(47),g=r(58),v=r(83),L=r(59),b=r(128),D=r(71),Y=r(116),k=r(464),w=r(357),T=r(129),S=r(42),x=r(87),j=w.f,O=S.f,E=k.f,H=n.Symbol,P=n.JSON,A=P&&P.stringify,F=m("_hidden"),C=m("toPrimitive"),N={}.propertyIsEnumerable,q=d("symbol-registry"),R=d("symbols"),W=d("op-symbols"),z=Object.prototype,U="function"==typeof H&&!!T.f,I=n.QObject,B=!I||!I.prototype||!I.prototype.findChild,V=o&&l(function(){return 7!=Y(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=j(z,t);n&&delete z[t],O(e,t,r),n&&e!==z&&O(z,t,n)}:O,G=function(e){var t=R[e]=Y(H.prototype);return t._k=e,t},$=U&&"symbol"==typeof H.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof H},J=function(e,t,r){return e===z&&J(W,t,r),M(e),t=b(t,!0),M(r),a(R,t)?(r.enumerable?(a(e,F)&&e[F][t]&&(e[F][t]=!1),r=Y(r,{enumerable:D(0,!1)})):(a(e,F)||O(e,F,D(1,{})),e[F][t]=!0),V(e,t,r)):O(e,t,r)},Z=function(e,t){M(e);for(var r,n=h(t=L(t)),a=0,o=n.length;o>a;)J(e,r=n[a++],t[r]);return e},K=function(e){var t=N.call(this,e=b(e,!0));return!(this===z&&a(R,e)&&!a(W,e))&&(!(t||!a(this,e)||!a(R,e)||a(this,F)&&this[F][e])||t)},Q=function(e,t){if(e=L(e),t=b(t,!0),e!==z||!a(R,t)||a(W,t)){var r=j(e,t);return!r||!a(R,t)||a(e,F)&&e[F][t]||(r.enumerable=!0),r}},X=function(e){for(var t,r=E(L(e)),n=[],o=0;r.length>o;)a(R,t=r[o++])||t==F||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===z,n=E(r?W:L(e)),o=[],s=0;n.length>s;)!a(R,t=n[s++])||r&&!a(z,t)||o.push(R[t]);return o};U||(i((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var e=_(arguments.length>0?arguments[0]:void 0),t=function(r){this===z&&t.call(W,r),a(this,F)&&a(this[F],e)&&(this[F][e]=!1),V(this,e,D(1,r))};return o&&B&&V(z,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),w.f=Q,S.f=J,r(356).f=k.f=X,r(92).f=K,T.f=ee,o&&!r(88)&&i(z,"propertyIsEnumerable",K,!0),f.f=function(e){return G(m(e))}),s(s.G+s.W+s.F*!U,{Symbol:H});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)m(te[re++]);for(var ne=x(m.store),ae=0;ne.length>ae;)p(ne[ae++]);s(s.S+s.F*!U,"Symbol",{for:function(e){return a(q,e+="")?q[e]:q[e]=H(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),s(s.S+s.F*!U,"Object",{create:function(e,t){return void 0===t?Y(e):Z(Y(e),t)},defineProperty:J,defineProperties:Z,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var oe=l(function(){T.f(1)});s(s.S+s.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(v(e))}}),P&&s(s.S+s.F*(!U||l(function(){var e=H();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=t=n[1],(g(t)||void 0!==e)&&!$(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,A.apply(P,n)}}),H.prototype[C]||r(53)(H.prototype,C,H.prototype.valueOf),c(H,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},function(e,t,r){var n=r(89)("meta"),a=r(58),o=r(48),s=r(42).f,i=0,u=Object.isExtensible||function(){return!0},l=!r(70)(function(){return u(Object.preventExtensions({}))}),d=function(e){s(e,n,{value:{i:"O"+ ++i,w:{}}})},c=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!u(e))return"F";if(!t)return"E";d(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!u(e))return!0;if(!t)return!1;d(e)}return e[n].w},onFreeze:function(e){return l&&c.NEED&&u(e)&&!o(e,n)&&d(e),e}}},function(e,t,r){var n=r(87),a=r(129),o=r(92);e.exports=function(e){var t=n(e),r=a.f;if(r)for(var s,i=r(e),u=o.f,l=0;i.length>l;)u.call(e,s=i[l++])&&t.push(s);return t}},function(e,t,r){var n=r(113);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(59),a=r(356).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return s.slice()}}(e):a(n(e))}},function(e,t){},function(e,t,r){r(152)("asyncIterator")},function(e,t,r){r(152)("observable")},function(e,t,r){e.exports={default:r(469),__esModule:!0}},function(e,t,r){r(470),e.exports=r(27).Object.setPrototypeOf},function(e,t,r){var n=r(45);n(n.S,"Object",{setPrototypeOf:r(471).set})},function(e,t,r){var n=r(58),a=r(47),o=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(112)(Function.call,r(357).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(351),__esModule:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),parseFloat(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,s.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===a||o<=a)};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!s.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var a=t.split(":"),u=!1,l=e(a[a.length-1],4),d=l?7:8;if(a.length>d)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(a.shift(),a.shift(),u=!0):"::"===t.substr(t.length-2)&&(a.pop(),a.pop(),u=!0);for(var c=0;c<a.length;++c)if(""===a[c]&&c>0&&c<a.length-1){if(u)return!1;u=!0}else if(l&&c===a.length-1);else if(!i.test(a[c]))return!1;return u?a.length>=1:a.length===d}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,i=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?s:i,n=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&a&&u&&l};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,i=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(r,"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("["+t+"]"):/\s/,n=e.length-1;for(;n>=0&&r.test(e[n]);)n--;return n<e.length?e.substr(0,n+1):e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("["+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){var n=r(205);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(592),a=r(353),o=r(354);e.exports=function(e){return o(a(e,void 0,n),e+"")}},function(e,t,r){e.exports={default:r(486),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(487)},function(e,t,r){var n=r(172),a=r(29)("iterator"),o=r(54);e.exports=r(27).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(n(t))}},function(e,t,r){e.exports={default:r(489),__esModule:!0}},function(e,t,r){r(142),r(93),e.exports=r(490)},function(e,t,r){var n=r(47),a=r(171);e.exports=r(27).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(154),a=r(601),o=r(68);e.exports=function(e){return o(e)?n(e,!0):a(e)}},function(e,t,r){var n=r(103),a=r(432),o=r(136),s=r(160),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=a(e);return t}:s;e.exports=i},function(e,t,r){var n=r(159),a=r(492),o=r(491);e.exports=function(e){return n(e,o,a)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),s=(u(r(0)),u(r(229))),i=r(228);function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=Array(a),s=0;s<a;s++)o[s]=arguments[s];return r=n=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.handleNextClick=function(){n.props.onNextClick&&n.props.onNextClick()},n.handlePreviousClick=function(){n.props.onPreviousClick&&n.props.onPreviousClick()},n.handleNextKeyDown=function(e){e.keyCode!==i.ENTER&&e.keyCode!==i.SPACE||(e.preventDefault(),n.handleNextClick())},n.handlePreviousKeyDown=function(e){e.keyCode!==i.ENTER&&e.keyCode!==i.SPACE||(e.preventDefault(),n.handlePreviousClick())},l(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.labels!==this.props.labels||e.dir!==this.props.dir||this.props.showPreviousButton!==e.showPreviousButton||this.props.showNextButton!==e.showNextButton}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.className,n=e.showPreviousButton,a=e.showNextButton,s=e.labels,i=e.dir,u=void 0,l=void 0,d=void 0,c=void 0,_=void 0,m=void 0;"rtl"===i?(u=this.handleNextClick,l=this.handlePreviousClick,d=this.handleNextKeyDown,c=this.handlePreviousKeyDown,m=n,_=a):(u=this.handlePreviousClick,l=this.handleNextClick,d=this.handlePreviousKeyDown,c=this.handleNextKeyDown,m=a,_=n);var f=_?t.navButtonPrev:t.navButtonPrev+" "+t.navButtonInteractionDisabled,p=m?t.navButtonNext:t.navButtonNext+" "+t.navButtonInteractionDisabled,h=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":s.previousMonth,key:"previous",className:f,onKeyDown:_?d:void 0,onClick:_?u:void 0}),y=o.default.createElement("span",{tabIndex:"0",role:"button","aria-label":s.nextMonth,key:"right",className:p,onKeyDown:m?c:void 0,onClick:m?l:void 0});return o.default.createElement("div",{className:r||t.navBar},"rtl"===i?[y,h]:[h,y])}}]),t}();d.defaultProps={classNames:s.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0},t.default=d,d.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=s(a);s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){var e=this.props,t=e.weekday,r=e.className,n=e.weekdaysLong,a=e.weekdaysShort,s=e.localeUtils,i=e.locale,u=void 0;u=n?n[t]:s.formatWeekdayLong(t,i);var l=void 0;return l=a?a[t]:s.formatWeekdayShort(t,i),o.default.createElement("div",{className:r,role:"columnheader"},o.default.createElement("abbr",{title:u},l))}}]),t}();t.default=i,i.propTypes={}},,function(e,t,r){var n=r(589),a=r(484)(function(e,t){return null==e?{}:n(e,t)});e.exports=a},function(e,t,r){var n=r(104),a=0;e.exports=function(e){var t=++a;return n(e)+t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),e.indexOf((0,a.default)(t))>=0};var n=o(r(8)),a=o(r(405));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,a.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(l);if(r)e=r[1];else if(t.require_display_name)return!1}var i=e.split("@"),f=i.pop(),p=i.join("@"),h=f.toLowerCase();"gmail.com"!==h&&"googlemail.com"!==h||(p=p.replace(/\./g,"").toLowerCase());if(!(0,o.default)(p,{max:64})||!(0,o.default)(f,{max:254}))return!1;if(!(0,s.default)(f,{require_tld:t.require_tld}))return!1;if('"'===p[0])return p=p.slice(1,p.length-1),t.allow_utf8_local_part?m.test(p):c.test(p);for(var y=t.allow_utf8_local_part?_:d,M=p.split("."),g=0;g<M.length;g++)if(!y.test(M[g]))return!1;return!0};var n=i(r(8)),a=i(r(133)),o=i(r(474)),s=i(r(406));function i(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,c=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,_=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,s.default)(t,u);var r=void 0,i=void 0,c=void 0,_=void 0,m=void 0,f=void 0,p=void 0,h=void 0;if(p=e.split("#"),e=p.shift(),p=e.split("?"),e=p.shift(),(p=e.split("://")).length>1){if(r=p.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(p[0]=e.substr(2))}if(""===(e=p.join("://")))return!1;if(p=e.split("/"),""===(e=p.shift())&&!t.require_host)return!0;if((p=e.split("@")).length>1&&(i=p.shift()).indexOf(":")>=0&&i.split(":").length>2)return!1;_=p.join("@"),f=null,h=null;var y=_.match(l);y?(c="",h=y[1],f=y[2]||null):(p=_.split(":"),c=p.shift(),p.length&&(f=p.join(":")));if(null!==f&&(m=parseInt(f,10),!/^[0-9]+$/.test(f)||m<=0||m>65535))return!1;if(!((0,o.default)(c)||(0,a.default)(c,t)||h&&(0,o.default)(h,6)))return!1;if(c=c||h,t.host_whitelist&&!d(c,t.host_whitelist))return!1;if(t.host_blacklist&&d(c,t.host_blacklist))return!1;return!0};var n=i(r(8)),a=i(r(406)),o=i(r(475)),s=i(r(133));function i(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(a=n,"[object RegExp]"===Object.prototype.toString.call(a)&&n.test(e)))return!0}var a;return!1}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in s.alpha)return s.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in s.alphanumeric)return s.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,a=r(476),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.fullWidth.test(e)&&i.halfWidth.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(477),i=r(478);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?s.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return r.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||e<t.lt)&&(!t.hasOwnProperty("gt")||e>t.gt)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n},s=r(206);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,i)).locale in o.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+o.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var n=s(r(133)),a=s(r(8)),o=r(206);function s(e){return e&&e.__esModule?e:{default:e}}var i={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,a.default)(e)%parseInt(t,10)==0};var n=o(r(8)),a=o(r(473));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-f0-9]{"+s[t]+"}$").test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){(0,s.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":n(t))}catch(e){}return!1};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),0===e.length};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,s.default)(e);var r=void 0,a=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],i=e.length-o.length;return i>=r&&(void 0===a||i<=a)};var a,o=r(8),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=s[t];return r&&r.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,a.default)(e)&&24===e.length};var n=o(r(8)),a=o(r(479));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o>r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,a.default)(t),o=(0,a.default)(e);return!!(o&&r&&o<r)};var n=o(r(8)),a=o(r(404));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,a.default)(e);var r=void 0;if("[object Array]"===Object.prototype.toString.call(t)){var s=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(s[r]=(0,o.default)(t[r]));return s.indexOf(e)>=0}if("object"===(void 0===t?"undefined":n(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var a=s(r(8)),o=s(r(405));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!s.test(t))return!1;for(var r=0,n=void 0,a=void 0,i=void 0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=i&&(a*=2)>=10?a%10+1:a,i=!i;return!(r%10!=0||!t)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!s.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),r=0,n=void 0,a=void 0,i=!0,u=t.length-2;u>=0;u--)n=t.substring(u,u+1),a=parseInt(n,10),r+=i&&(a*=2)>=10?a+1:a,i=!i;return parseInt(e.substr(e.length-1),10)===(1e4-r)%10};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var a=0;var l=void 0;if("10"===r){if(!s.test(n))return!1;for(l=0;l<9;l++)a+=(l+1)*n.charAt(l);if("X"===n.charAt(9)?a+=100:a+=10*n.charAt(9),a%11==0)return!!n}else if("13"===r){if(!i.test(n))return!1;for(l=0;l<12;l++)a+=u[l%2]*n.charAt(l);if(n.charAt(12)-(10-a%10)%10==0)return!!n}return!1};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(?:[0-9]{9}X|[0-9]{10})$/,i=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=s;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;var n=e.replace("-",""),a=8,i=0,u=!0,l=!1,d=void 0;try{for(var c,_=n[Symbol.iterator]();!(u=(c=_.next()).done);u=!0){var m=c.value,f="X"===m.toUpperCase()?10:+m;i+=f*a,--a}}catch(e){l=!0,d=e}finally{try{!u&&_.return&&_.return()}finally{if(l)throw d}}return i%11==0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(t in s)return s[t].test(e);if("any"===t){for(var n in s)if(s.hasOwnProperty(n)){var a=s[n];if(a.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};s["en-CA"]=s["en-US"],s["fr-BE"]=s["nl-BE"],s["zh-HK"]=s["en-HK"],e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,r){0!==r&&(t=t+"|\\d{"+e+"}")});var r="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",a="("+["0","[1-9]\\d*",n].join("|")+")?",o="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),s=a+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?s+="-?":e.negative_sign_before_digits&&(s="-?"+s)),e.allow_negative_sign_placeholder?s="( (?!\\-))?"+s:e.allow_space_after_symbol?s=" ?"+s:e.allow_space_after_digits&&(s+="( (?!$))?"),e.symbol_after_digits?s+=r:s=r+s,e.allow_negatives&&(e.parens_for_negatives?s="(\\("+s+"\\)|"+s+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(s="-?"+s)),new RegExp("^(?!-? )(?=.*\\d)"+s+"$")}(t=(0,n.default)(t,s)).test(e)};var n=o(r(133)),a=o(r(8));function o(e){return e&&e.__esModule?e:{default:e}}var s={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.includes(e.toUpperCase())};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.length;if(!t||t%4!=0||s.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var a=n.substr(5);if(""!==a&&!s.test(a))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!i.test(r[l]))return!1;for(var d=0;d<t.length;d++)if(!u.test(t[d]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^[a-z]+\/[a-z0-9\-\+]+$/i,i=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),s.test(e)||i.test(e)||u.test(e)};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,i=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!e.includes(","))return!1;var t=e.split(",");return s.test(t[0])&&i.test(t[1])};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,i=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locales=void 0,t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var r in l){if(l.hasOwnProperty(r))if(l[r].test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};var s=/^\d{4}$/,i=/^\d{5}$/,u=/^\d{6}$/,l={AT:s,AU:s,BE:s,BG:s,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:s,CZ:/^\d{3}\s?\d{2}$/,DE:i,DK:s,DZ:i,ES:i,FI:i,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,IL:i,IN:u,IS:/^\d{3}$/,IT:i,JP:/^\d{3}\-\d{4}$/,KE:i,LI:/^(948[5-9]|949[0-7])$/,MX:i,NL:/^\d{4}\s?[a-z]{2}$/i,NO:s,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:i,SE:/^\d{3}\s?\d{2}$/,TW:/^\d{3}(\d{2})?$/,US:/^\d{5}(-\d{4})?$/,ZA:s,ZM:i};t.locales=Object.keys(l)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,a.default)(e,t),t)};var n=o(r(481)),a=o(r(480));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,a.default)(e,r)};var n=o(r(8)),a=o(r(482));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,a=r(8),o=(n=a)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,s);var r=e.split("@"),n=r.pop(),a=[r.join("@"),n];if(a[1]=a[1].toLowerCase(),"gmail.com"===a[1]||"googlemail.com"===a[1]){if(t.gmail_remove_subaddress&&(a[0]=a[0].split("+")[0]),t.gmail_remove_dots&&(a[0]=a[0].replace(/\./g,"")),!a[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(a[0]=a[0].toLowerCase()),a[1]=t.gmail_convert_googlemaildotcom?"gmail.com":a[1]}else if(~i.indexOf(a[1])){if(t.icloud_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~u.indexOf(a[1])){if(t.outlookdotcom_remove_subaddress&&(a[0]=a[0].split("+")[0]),!a[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(a[0]=a[0].toLowerCase())}else if(~l.indexOf(a[1])){if(t.yahoo_remove_subaddress){var d=a[0].split("-");a[0]=d.length>1?d.slice(0,-1).join("-"):d[0]}if(!a[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(a[0]=a[0].toLowerCase())}else t.all_lowercase&&(a[0]=a[0].toLowerCase());return a.join("@")};var n,a=r(133),o=(n=a)&&n.__esModule?n:{default:n};var s={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},i=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,r){},function(e,t,r){var n=r(586)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){},function(e,t,r){var n=r(102);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){var n=r(590),a=r(211);e.exports=function(e,t){return n(e,t,function(t,r){return a(e,r)})}},function(e,t,r){var n=r(106),a=r(591),o=r(80);e.exports=function(e,t,r){for(var s=-1,i=t.length,u={};++s<i;){var l=t[s],d=n(e,l);r(d,l)&&a(u,o(l,e),d)}return u}},function(e,t,r){var n=r(410),a=r(80),o=r(105),s=r(44),i=r(65);e.exports=function(e,t,r,u){if(!s(e))return e;for(var l=-1,d=(t=a(t,e)).length,c=d-1,_=e;null!=_&&++l<d;){var m=i(t[l]),f=r;if(l!=c){var p=_[m];void 0===(f=u?u(p,m,_):void 0)&&(f=s(p)?p:o(t[l+1])?[]:{})}n(_,m,f),_=_[m]}return e}},function(e,t,r){var n=r(352);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){var n=r(108),a=r(598),o=r(410),s=r(599),i=r(600),u=r(603),l=r(604),d=r(605),c=r(606),_=r(158),m=r(493),f=r(81),p=r(607),h=r(608),y=r(613),M=r(21),g=r(75),v=r(615),L=r(44),b=r(617),D=r(64),Y=1,k=2,w=4,T="[object Arguments]",S="[object Function]",x="[object GeneratorFunction]",j="[object Object]",O={};O[T]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[j]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[S]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,E,H,P,A){var F,C=r&Y,N=r&k,q=r&w;if(E&&(F=P?E(t,H,P,A):E(t)),void 0!==F)return F;if(!L(t))return t;var R=M(t);if(R){if(F=p(t),!C)return l(t,F)}else{var W=f(t),z=W==S||W==x;if(g(t))return u(t,C);if(W==j||W==T||z&&!P){if(F=N||z?{}:y(t),!C)return N?c(t,i(F,t)):d(t,s(F,t))}else{if(!O[W])return P?t:{};F=h(t,W,C)}}A||(A=new n);var U=A.get(t);if(U)return U;A.set(t,F),b(t)?t.forEach(function(n){F.add(e(n,r,E,n,t,A))}):v(t)&&t.forEach(function(n,a){F.set(a,e(n,r,E,a,t,A))});var I=q?N?m:_:N?keysIn:D,B=R?void 0:I(t);return a(B||t,function(n,a){B&&(n=t[a=n]),o(F,a,e(n,r,E,a,t,A))}),F}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(163),a=r(64);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(163),a=r(491);e.exports=function(e,t){return e&&n(t,a(t),e)}},function(e,t,r){var n=r(44),a=r(90),o=r(602),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=a(e),r=[];for(var i in e)("constructor"!=i||!t&&s.call(e,i))&&r.push(i);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(23),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.Buffer:void 0,i=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=i?i(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(72)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(163),a=r(136);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t,r){var n=r(163),a=r(492);e.exports=function(e,t){return n(e,a(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(433),a=r(609),o=r(610),s=r(611),i=r(612),u="[object Boolean]",l="[object Date]",d="[object Map]",c="[object Number]",_="[object RegExp]",m="[object Set]",f="[object String]",p="[object Symbol]",h="[object ArrayBuffer]",y="[object DataView]",M="[object Float32Array]",g="[object Float64Array]",v="[object Int8Array]",L="[object Int16Array]",b="[object Int32Array]",D="[object Uint8Array]",Y="[object Uint8ClampedArray]",k="[object Uint16Array]",w="[object Uint32Array]";e.exports=function(e,t,r){var T=e.constructor;switch(t){case h:return n(e);case u:case l:return new T(+e);case y:return a(e,r);case M:case g:case v:case L:case b:case D:case Y:case k:case w:return i(e,r);case d:return new T;case c:case f:return new T(e);case _:return o(e);case m:return new T;case p:return s(e)}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),a=n?n.prototype:void 0,o=a?a.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,r){var n=r(433);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(614),a=r(432),o=r(90);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(a(e))}},function(e,t,r){var n=r(44),a=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(a)return a(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(616),a=r(95),o=r(134),s=o&&o.isMap,i=s?a(s):n;e.exports=i},function(e,t,r){var n=r(81),a=r(31),o="[object Map]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(618),a=r(95),o=r(134),s=o&&o.isSet,i=s?a(s):n;e.exports=i},function(e,t,r){var n=r(81),a=r(31),o="[object Set]";e.exports=function(e){return a(e)&&n(e)==o}},function(e,t,r){var n=r(80),a=r(620),o=r(621),s=r(65);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[s(a(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){var n=r(106),a=r(226);e.exports=function(e,t){return t.length<2?e:n(e,a(t,0,-1))}},function(e,t,r){var n=r(623);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(36),a=r(432),o=r(31),s="[object Object]",i=Function.prototype,u=Object.prototype,l=i.toString,d=u.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!o(e)||n(e)!=s)return!1;var t=a(e);if(null===t)return!0;var r=d.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifiersUtils=t.LocaleUtils=t.DateUtils=t.DayPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),s=M(o),i=(M(r(0)),M(r(625))),u=M(r(494)),l=M(r(626)),d=M(r(495)),c=y(r(230)),_=y(r(137)),m=y(r(227)),f=y(r(434)),p=M(r(229)),h=r(228);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function M(e){return e&&e.__esModule?e:{default:e}}var g=t.DayPicker=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.dayPicker=null,r.showNextMonth=function(e){if(r.allowNextMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=_.addMonths(r.state.currentMonth,t);r.showMonth(n,e)}},r.showPreviousMonth=function(e){if(r.allowPreviousMonth()){var t=r.props.pagedNavigation?r.props.numberOfMonths:1,n=_.addMonths(r.state.currentMonth,-t);r.showMonth(n,e)}},r.handleKeyDown=function(e){switch(e.persist(),e.keyCode){case h.LEFT:"rtl"===r.props.dir?r.showNextMonth():r.showPreviousMonth(),c.cancelEvent(e);break;case h.RIGHT:"rtl"===r.props.dir?r.showPreviousMonth():r.showNextMonth(),c.cancelEvent(e);break;case h.UP:r.showPreviousYear(),c.cancelEvent(e);break;case h.DOWN:r.showNextYear(),c.cancelEvent(e)}r.props.onKeyDown&&r.props.onKeyDown(e)},r.handleDayKeyDown=function(e,t,n){switch(n.persist(),n.keyCode){case h.LEFT:c.cancelEvent(n),"rtl"===r.props.dir?r.focusNextDay(n.target):r.focusPreviousDay(n.target);break;case h.RIGHT:c.cancelEvent(n),"rtl"===r.props.dir?r.focusPreviousDay(n.target):r.focusNextDay(n.target);break;case h.UP:c.cancelEvent(n),r.focusPreviousWeek(n.target);break;case h.DOWN:c.cancelEvent(n),r.focusNextWeek(n.target);break;case h.ENTER:case h.SPACE:c.cancelEvent(n),r.props.onDayClick&&r.handleDayClick(e,t,n)}r.props.onDayKeyDown&&r.props.onDayKeyDown(e,t,n)},r.handleDayClick=function(e,t,n){n.persist(),t[r.props.classNames.outside]&&r.props.enableOutsideDaysClick&&r.handleOutsideDayClick(e),r.props.onDayClick&&r.props.onDayClick(e,t,n)},r.handleTodayButtonClick=function(e){var t=new Date,n=new Date(t.getFullYear(),t.getMonth());r.showMonth(n),e.target.blur(),r.props.onTodayButtonClick&&(e.persist(),r.props.onTodayButtonClick(new Date(t.getFullYear(),t.getMonth(),t.getDate()),f.getModifiersForDay(t,r.props.modifiers),e))};var n=r.getCurrentMonthFromProps(e);return r.state={currentMonth:n},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"componentDidUpdate",value:function(e){if(e.month!==this.props.month&&!_.isSameMonth(e.month,this.props.month)){var t=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:t})}}},{key:"getCurrentMonthFromProps",value:function(e){var t=c.startOfMonth(e.month||e.initialMonth);if(e.pagedNavigation&&e.numberOfMonths>1&&e.fromMonth){var r=c.startOfMonth(e.fromMonth),n=c.getMonthsDiff(r,t);t=_.addMonths(r,Math.floor(n/e.numberOfMonths)*e.numberOfMonths)}else e.toMonth&&e.numberOfMonths>1&&c.getMonthsDiff(t,e.toMonth)<=0&&(t=_.addMonths(c.startOfMonth(e.toMonth),1-this.props.numberOfMonths));return t}},{key:"getNextNavigableMonth",value:function(){return _.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return _.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var e=_.addMonths(this.state.currentMonth,-1);return this.allowMonth(e)}},{key:"allowNextMonth",value:function(){var e=_.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(e)}},{key:"allowMonth",value:function(e){var t=this.props,r=t.fromMonth,n=t.toMonth;return!(!t.canChangeMonth||r&&c.getMonthsDiff(r,e)<0||n&&c.getMonthsDiff(n,e)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(e,t){var r=this;this.allowMonth(e)&&this.setState({currentMonth:c.startOfMonth(e)},function(){t&&t(),r.props.onMonthChange&&r.props.onMonthChange(r.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var e=_.addMonths(this.state.currentMonth,12);this.showMonth(e)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var e=_.addMonths(this.state.currentMonth,-12);this.showMonth(e)}}},{key:"focusFirstDayOfMonth",value:function(){c.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var e=c.getDayNodes(this.dayPicker,this.props.classNames);e[e.length-1].focus()}},{key:"focusPreviousDay",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);-1!==n&&(0===n?this.showPreviousMonth(function(){return t.focusLastDayOfMonth()}):r[n-1].focus())}},{key:"focusNextDay",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);-1!==n&&(n===r.length-1?this.showNextMonth(function(){return t.focusFirstDayOfMonth()}):r[n+1].focus())}},{key:"focusNextWeek",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);n>r.length-8?this.showNextMonth(function(){var e=7-(r.length-n);c.getDayNodes(t.dayPicker,t.props.classNames)[e].focus()}):r[n+7].focus()}},{key:"focusPreviousWeek",value:function(e){var t=this,r=c.getDayNodes(this.dayPicker,this.props.classNames),n=c.nodeListToArray(r).indexOf(e);n<=6?this.showPreviousMonth(function(){var e=c.getDayNodes(t.dayPicker,t.props.classNames);e[e.length-7+n].focus()}):r[n-7].focus()}},{key:"handleOutsideDayClick",value:function(e){var t=this.state.currentMonth,r=this.props.numberOfMonths,n=c.getMonthsDiff(t,e);n>0&&n>=r?this.showNextMonth():n<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var e=this.props,t=e.labels,r=e.locale,n=e.localeUtils,a=e.canChangeMonth,o=e.navbarElement,i=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!a)return null;var u={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:i.dir,labels:t,locale:r,localeUtils:n};return s.default.isValidElement(o)?s.default.cloneElement(o,u):s.default.createElement(o,u)}},{key:"renderMonths",value:function(){for(var e=[],t=c.getFirstDayOfWeekFromProps(this.props),r=0;r<this.props.numberOfMonths;r+=1){var a=_.addMonths(this.state.currentMonth,r);e.push(s.default.createElement(l.default,n({key:r},this.props,{month:a,firstDayOfWeek:t,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&e.reverse(),e}},{key:"renderFooter",value:function(){return this.props.todayButton?s.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return s.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var e=this,t=this.props.classNames.container;return this.props.onDayClick||(t=t+" "+this.props.classNames.interactionDisabled),this.props.className&&(t=t+" "+this.props.className),s.default.createElement("div",n({},this.props.containerProps,{className:t,ref:function(t){return e.dayPicker=t},lang:this.props.locale}),s.default.createElement("div",{className:this.props.classNames.wrapper,tabIndex:this.props.canChangeMonth&&void 0!==this.props.tabIndex?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),s.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}();g.VERSION="7.3.0",g.defaultProps={classNames:p.default,tabIndex:0,initialMonth:new Date,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:m,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(e){return e.getDate()},renderWeek:function(e){return e},weekdayElement:s.default.createElement(d.default,null),navbarElement:s.default.createElement(u.default,{classNames:p.default}),captionElement:s.default.createElement(i.default,{classNames:p.default})},g.propTypes={},g.DateUtils=_,g.LocaleUtils=m,g.ModifiersUtils=f,t.DateUtils=_,t.LocaleUtils=m,t.ModifiersUtils=f,t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=u(a),s=(u(r(0)),u(r(227))),i=r(228);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleKeyUp=r.handleKeyUp.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return e.locale!==this.props.locale||e.classNames!==this.props.classNames||e.date.getMonth()!==this.props.date.getMonth()||e.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(e){e.keyCode===i.ENTER&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.date,n=e.months,a=e.locale,s=e.localeUtils,i=e.onClick;return o.default.createElement("div",{className:t.caption,role:"heading"},o.default.createElement("div",{onClick:i,onKeyUp:this.handleKeyUp},n?n[r.getMonth()]+" "+r.getFullYear():s.formatMonthTitle(r,a)))}}]),t}();l.defaultProps={localeUtils:s.default},t.default=l,l.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=m(a),s=(m(r(0)),m(r(627))),i=m(r(628)),u=r(228),l=_(r(434)),d=_(r(230)),c=_(r(137));function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return r=n=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.renderDay=function(e){var t=n.props.month.getMonth(),r=d.getModifiersFromProps(n.props),a=l.getModifiersForDay(e,r);c.isSameDay(e,new Date)&&!Object.prototype.hasOwnProperty.call(r,n.props.classNames.today)&&a.push(n.props.classNames.today),e.getMonth()!==t&&a.push(n.props.classNames.outside);var s=e.getMonth()!==t,u=-1;n.props.onDayClick&&!s&&1===e.getDate()&&(u=n.props.tabIndex);var _=""+e.getFullYear()+e.getMonth()+e.getDate(),m={};return a.forEach(function(e){m[e]=!0}),o.default.createElement(i.default,{key:(s?"outside-":"")+_,classNames:n.props.classNames,day:e,modifiers:m,modifiersStyles:n.props.modifiersStyles,empty:s&&!n.props.showOutsideDays&&!n.props.fixedWeeks,tabIndex:u,ariaLabel:n.props.localeUtils.formatDay(e,n.props.locale),ariaDisabled:s||a.indexOf("disabled")>-1,ariaSelected:a.indexOf("selected")>-1,onClick:n.props.onDayClick,onFocus:n.props.onDayFocus,onKeyDown:n.props.onDayKeyDown,onMouseEnter:n.props.onDayMouseEnter,onMouseLeave:n.props.onDayMouseLeave,onMouseDown:n.props.onDayMouseDown,onMouseUp:n.props.onDayMouseUp,onTouchEnd:n.props.onDayTouchEnd,onTouchStart:n.props.onDayTouchStart},n.props.renderDay(e,m))},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.classNames,n=t.month,a=t.months,i=t.fixedWeeks,l=t.captionElement,_=t.weekdayElement,m=t.locale,f=t.localeUtils,p=t.weekdaysLong,h=t.weekdaysShort,y=t.firstDayOfWeek,M=t.onCaptionClick,g=t.showWeekNumbers,v=t.showWeekDays,L=t.onWeekClick,b={date:n,classNames:r,months:a,localeUtils:f,locale:m,onClick:M?function(e){return M(n,e)}:void 0},D=o.default.isValidElement(l)?o.default.cloneElement(l,b):o.default.createElement(l,b),Y=d.getWeekArray(n,y,i);return o.default.createElement("div",{className:r.month,role:"grid"},D,v&&o.default.createElement(s.default,{classNames:r,weekdaysShort:h,weekdaysLong:p,firstDayOfWeek:y,showWeekNumbers:g,locale:m,localeUtils:f,weekdayElement:_}),o.default.createElement("div",{className:r.body,role:"rowgroup"},Y.map(function(t){var a=void 0;return g&&(a=c.getWeekNumber(t[6])),o.default.createElement("div",{key:t[0].getTime(),className:r.week,role:"row"},g&&o.default.createElement("div",{className:r.weekNumber,tabIndex:L?0:-1,role:"gridcell",onClick:L?function(e){return L(a,t,e)}:void 0,onKeyUp:L?function(e){return e.keyCode===u.ENTER&&L(a,t,e)}:void 0},e.props.renderWeek(a,t,n)),t.map(e.renderDay))})))}}]),t}();t.default=p,p.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(3),o=s(a);s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"shouldComponentUpdate",value:function(e){return this.props!==e}},{key:"render",value:function(){for(var e=this.props,t=e.classNames,r=e.firstDayOfWeek,n=e.showWeekNumbers,a=e.weekdaysLong,s=e.weekdaysShort,i=e.locale,u=e.localeUtils,l=e.weekdayElement,d=[],c=0;c<7;c+=1){var _=(c+r)%7,m={key:c,className:t.weekday,weekday:_,weekdaysLong:a,weekdaysShort:s,localeUtils:u,locale:i},f=o.default.isValidElement(l)?o.default.cloneElement(l,m):o.default.createElement(l,m);d.push(f)}return o.default.createElement("div",{className:t.weekdays,role:"rowgroup"},o.default.createElement("div",{className:t.weekdaysRow,role:"row"},n&&o.default.createElement("div",{className:t.weekday}),d))}}]),t}();t.default=i,i.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(3),s=d(o),i=(d(r(0)),r(137)),u=r(230),l=d(r(229));function d(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var _=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=Object.keys(this.props),n=Object.keys(e);return r.length!==n.length||r.some(function(r){if("modifiers"===r||"modifiersStyles"===r||"classNames"===r){var n=t.props[r],a=e[r],o=Object.keys(n),s=Object.keys(a);return o.length!==s.length||o.some(function(e){return!(0,u.hasOwnProp)(a,e)||n[e]!==a[e]})}return"day"===r?!(0,i.isSameDay)(t.props[r],e[r]):!(0,u.hasOwnProp)(e,r)||t.props[r]!==e[r]})}},{key:"render",value:function(){var e=this.props,t=e.classNames,r=e.modifiersStyles,a=e.day,o=e.tabIndex,i=e.empty,u=e.modifiers,d=e.onMouseEnter,_=e.onMouseLeave,m=e.onMouseUp,f=e.onMouseDown,p=e.onClick,h=e.onKeyDown,y=e.onTouchStart,M=e.onTouchEnd,g=e.onFocus,v=e.ariaLabel,L=e.ariaDisabled,b=e.ariaSelected,D=e.children,Y=t.day;t!==l.default?Y+=" "+Object.keys(u).join(" "):Y+=Object.keys(u).map(function(e){return" "+Y+"--"+e}).join("");var k=void 0;return r&&Object.keys(u).filter(function(e){return!!r[e]}).forEach(function(e){k=n({},k,r[e])}),i?s.default.createElement("div",{"aria-disabled":!0,className:Y,style:k}):s.default.createElement("div",{className:Y,tabIndex:o,style:k,role:"gridcell","aria-label":v,"aria-disabled":L,"aria-selected":b,onClick:c(p,a,u),onKeyDown:c(h,a,u),onMouseEnter:c(d,a,u),onMouseLeave:c(_,a,u),onMouseUp:c(m,a,u),onMouseDown:c(f,a,u),onTouchEnd:c(M,a,u),onTouchStart:c(y,a,u),onFocus:c(g,a,u)},D)}}]),t}();_.defaultProps={tabIndex:-1},_.defaultProps={modifiers:{},modifiersStyles:{},empty:!1},t.default=_,_.propTypes={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModifierPropType=void 0;var n,a=r(0),o=(n=a)&&n.__esModule?n:{default:n};var s={localeUtils:o.default.shape({formatMonthTitle:o.default.func,formatWeekdayShort:o.default.func,formatWeekdayLong:o.default.func,getFirstDayOfWeek:o.default.func}),range:o.default.shape({from:o.default.instanceOf(Date),to:o.default.instanceOf(Date)}),after:o.default.shape({after:o.default.instanceOf(Date)}),before:o.default.shape({before:o.default.instanceOf(Date)})};t.ModifierPropType=o.default.oneOfType([s.after,s.before,s.range,o.default.func,o.default.array]);t.default=s},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){}]);
src/resources/js/views/datepicker.js CHANGED
@@ -408,7 +408,7 @@ tribe.events.views.datepicker = {};
408
  .on( 'hide', { datepickerButton: $datepickerButton, input: $input, observer: observer }, obj.handleHide );
409
 
410
  $datepickerButton
411
- .on( 'mousedown', { target: $datepickerButton }, obj.handleMousedown )
412
  .on( 'click', { target: $datepickerButton, input: $input }, obj.handleClick )
413
  .data( 'tribeEventsState', state );
414
 
408
  .on( 'hide', { datepickerButton: $datepickerButton, input: $input, observer: observer }, obj.handleHide );
409
 
410
  $datepickerButton
411
+ .on( 'mousedown touchstart', { target: $datepickerButton }, obj.handleMousedown )
412
  .on( 'click', { target: $datepickerButton, input: $input }, obj.handleClick )
413
  .data( 'tribeEventsState', state );
414
 
src/resources/js/views/month-grid.js CHANGED
@@ -46,19 +46,6 @@ tribe.events.views.monthGrid = {};
46
  focused: '[tabindex="0"]',
47
  };
48
 
49
- /**
50
- * State data for month grid
51
- *
52
- * @since 4.9.4
53
- *
54
- * @type {PlainObject}
55
- */
56
- obj.state = {
57
- grid: [],
58
- currentRow: 0,
59
- currentCol: 0,
60
- };
61
-
62
  /**
63
  * Object of key codes
64
  *
46
  focused: '[tabindex="0"]',
47
  };
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * Object of key codes
51
  *
src/resources/js/views/month-mobile-events.js CHANGED
@@ -42,7 +42,7 @@ tribe.events.views.monthMobileEvents = {};
42
  calendar: '[data-js="tribe-events-month-grid"]',
43
  calendarDay: '[data-js="tribe-events-calendar-month-day-cell-mobile"]',
44
  calendarDaySelectedClass: '.tribe-events-calendar-month__day-cell--selected',
45
- mobileEvents: '[data-js="tribe-events-pro-week-mobile-events"]',
46
  mobileEventsMobileDayShowClass: '.tribe-events-calendar-month-mobile-events__mobile-day--show',
47
  };
48
 
42
  calendar: '[data-js="tribe-events-month-grid"]',
43
  calendarDay: '[data-js="tribe-events-calendar-month-day-cell-mobile"]',
44
  calendarDaySelectedClass: '.tribe-events-calendar-month__day-cell--selected',
45
+ mobileEvents: '[data-js="tribe-events-calendar-month-mobile-events"]',
46
  mobileEventsMobileDayShowClass: '.tribe-events-calendar-month-mobile-events__mobile-day--show',
47
  };
48
 
src/resources/js/views/multiday-events.js CHANGED
@@ -49,7 +49,6 @@ tribe.events.views.multidayEvents = {};
49
  */
50
  obj.selectorPrefixes = {
51
  month: '.tribe-events-calendar-month__',
52
- week: '.tribe-events-pro-week-grid__',
53
  };
54
 
55
  /**
@@ -209,25 +208,59 @@ tribe.events.views.multidayEvents = {};
209
  /**
210
  * Binds events for container.
211
  *
212
- * @since 4.9.8
213
  *
214
- * @param {Event} event event object for 'afterSetup.tribeEvents' event
215
- * @param {integer} index jQuery.each index param from 'afterSetup.tribeEvents' event.
216
  * @param {jQuery} $container jQuery object of view container.
217
  * @param {object} data data object passed from 'afterSetup.tribeEvents' event.
218
  *
219
  * @return {void}
220
  */
221
- obj.bindEvents = function( event, index, $container, data ) {
222
  var viewSlug = data.slug;
 
223
 
224
- if ( -1 === [ 'month', 'week' ].indexOf( viewSlug ) ) return;
225
 
226
  obj.initSelectors( viewSlug );
227
  obj.bindMultidayEvents( $container );
228
  $container.on( 'beforeAjaxSuccess.tribeEvents', { container: $container }, obj.unbindEvents );
229
  };
230
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  /**
232
  * Handles the initialization of multiday events when Document is ready
233
  *
@@ -236,7 +269,7 @@ tribe.events.views.multidayEvents = {};
236
  * @return {void}
237
  */
238
  obj.ready = function() {
239
- $document.on( 'afterSetup.tribeEvents', tribe.events.views.manager.selectors.container, obj.bindEvents );
240
  };
241
 
242
  // Configure on document ready
49
  */
50
  obj.selectorPrefixes = {
51
  month: '.tribe-events-calendar-month__',
 
52
  };
53
 
54
  /**
208
  /**
209
  * Binds events for container.
210
  *
211
+ * @since 4.9.9
212
  *
 
 
213
  * @param {jQuery} $container jQuery object of view container.
214
  * @param {object} data data object passed from 'afterSetup.tribeEvents' event.
215
  *
216
  * @return {void}
217
  */
218
+ obj.bindEvents = function( $container, data ) {
219
  var viewSlug = data.slug;
220
+ var allowedViews = $container.data( 'tribeEventsMultidayEventsAllowedViews' );
221
 
222
+ if ( -1 === allowedViews.indexOf( viewSlug ) ) return;
223
 
224
  obj.initSelectors( viewSlug );
225
  obj.bindMultidayEvents( $container );
226
  $container.on( 'beforeAjaxSuccess.tribeEvents', { container: $container }, obj.unbindEvents );
227
  };
228
 
229
+ /**
230
+ * Initialize allowed views
231
+ *
232
+ * @since 4.9.9
233
+ *
234
+ * @param {jQuery} $container jQuery object of view container.
235
+ *
236
+ * @return {void}
237
+ */
238
+ obj.initAllowedViews = function( $container ) {
239
+ $container.trigger( 'beforeMultidayEventsInitAllowedViews.tribeEvents', [ $container ] );
240
+
241
+ var theme = [ 'month' ];
242
+ $container.data( 'tribeEventsMultidayEventsAllowedViews', theme );
243
+
244
+ $container.trigger( 'afterMultidayEventsInitAllowedViews.tribeEvents', [ $container ] );
245
+ };
246
+
247
+ /**
248
+ * Initialize multiday events.
249
+ *
250
+ * @since 4.9.9
251
+ *
252
+ * @param {Event} event event object for 'afterSetup.tribeEvents' event
253
+ * @param {integer} index jQuery.each index param from 'afterSetup.tribeEvents' event.
254
+ * @param {jQuery} $container jQuery object of view container.
255
+ * @param {object} data data object passed from 'afterSetup.tribeEvents' event.
256
+ *
257
+ * @return {void}
258
+ */
259
+ obj.init = function( event, index, $container, data ) {
260
+ obj.initAllowedViews( $container );
261
+ obj.bindEvents( $container, data );
262
+ };
263
+
264
  /**
265
  * Handles the initialization of multiday events when Document is ready
266
  *
269
  * @return {void}
270
  */
271
  obj.ready = function() {
272
+ $document.on( 'afterSetup.tribeEvents', tribe.events.views.manager.selectors.container, obj.init );
273
  };
274
 
275
  // Configure on document ready
src/resources/js/views/tooltip.js CHANGED
@@ -7,7 +7,6 @@
7
  */
8
  tribe.events = tribe.events || {};
9
  tribe.events.views = tribe.events.views || {};
10
- tribe.events.views.manager = tribe.events.views.manager || {};
11
 
12
  /**
13
  * Configures Views Tooltip Object in the Global Tribe variable
@@ -42,6 +41,9 @@ tribe.events.views.tooltip = {};
42
  obj.selectors = {
43
  tooltip: '[data-js="tribe-events-tooltip"]',
44
  tooltipContent: '[data-js="tribe-events-tooltip-content"]',
 
 
 
45
  };
46
 
47
  /**
@@ -149,12 +151,14 @@ tribe.events.views.tooltip = {};
149
  * @return {void}
150
  */
151
  obj.initTooltips = function( $container ) {
 
 
152
  $container
153
  .find( obj.selectors.tooltip )
154
  .each( function( index, tooltip ) {
155
  $( tooltip ).tooltipster( {
156
  interactive: true,
157
- theme: [ 'tribe-common', 'tribe-events', 'tribe-events-tooltip-theme' ],
158
  functionInit: obj.onFunctionInit,
159
  functionReady: obj.onFunctionReady,
160
  functionAfter: obj.onFunctionAfter,
@@ -162,6 +166,28 @@ tribe.events.views.tooltip = {};
162
  } );
163
  };
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  /**
166
  * Deinitialize tooltip JS.
167
  *
@@ -191,6 +217,7 @@ tribe.events.views.tooltip = {};
191
  * @return {void}
192
  */
193
  obj.init = function( event, index, $container, data ) {
 
194
  obj.initTooltips( $container );
195
  $container.on( 'beforeAjaxSuccess.tribeEvents', { container: $container }, obj.deinit );
196
  };
7
  */
8
  tribe.events = tribe.events || {};
9
  tribe.events.views = tribe.events.views || {};
 
10
 
11
  /**
12
  * Configures Views Tooltip Object in the Global Tribe variable
41
  obj.selectors = {
42
  tooltip: '[data-js="tribe-events-tooltip"]',
43
  tooltipContent: '[data-js="tribe-events-tooltip-content"]',
44
+ tribeEventsTooltipThemeClass: '.tribe-events-tooltip-theme',
45
+ tribeCommonClass: '.tribe-common',
46
+ tribeEventsClass: '.tribe-events',
47
  };
48
 
49
  /**
151
  * @return {void}
152
  */
153
  obj.initTooltips = function( $container ) {
154
+ var theme = $container.data( 'tribeEventsTooltipTheme' );
155
+
156
  $container
157
  .find( obj.selectors.tooltip )
158
  .each( function( index, tooltip ) {
159
  $( tooltip ).tooltipster( {
160
  interactive: true,
161
+ theme: theme,
162
  functionInit: obj.onFunctionInit,
163
  functionReady: obj.onFunctionReady,
164
  functionAfter: obj.onFunctionAfter,
166
  } );
167
  };
168
 
169
+ /**
170
+ * Initialize tooltip theme
171
+ *
172
+ * @since 4.9.9
173
+ *
174
+ * @param {jQuery} $container jQuery object of view container.
175
+ *
176
+ * @return {void}
177
+ */
178
+ obj.initTheme = function( $container ) {
179
+ $container.trigger( 'beforeTooltipInitTheme.tribeEvents', [ $container ] );
180
+
181
+ var theme = [
182
+ obj.selectors.tribeEventsTooltipThemeClass.className(),
183
+ obj.selectors.tribeCommonClass.className(),
184
+ obj.selectors.tribeEventsClass.className(),
185
+ ];
186
+ $container.data( 'tribeEventsTooltipTheme', theme );
187
+
188
+ $container.trigger( 'afterTooltipInitTheme.tribeEvents', [ $container ] );
189
+ };
190
+
191
  /**
192
  * Deinitialize tooltip JS.
193
  *
217
  * @return {void}
218
  */
219
  obj.init = function( event, index, $container, data ) {
220
+ obj.initTheme( $container );
221
  obj.initTooltips( $container );
222
  $container.on( 'beforeAjaxSuccess.tribeEvents', { container: $container }, obj.deinit );
223
  };
src/resources/postcss/components/_datepicker.pcss CHANGED
@@ -243,6 +243,20 @@
243
  }
244
  }
245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  /* -----------------------------------------------------------------------------
247
  *
248
  * Datepicker: Theme Overrides
243
  }
244
  }
245
 
246
+ /* -----------------------------------------------------------------------------
247
+ *
248
+ * Datepicker: V1 Style Overrides
249
+ *
250
+ * ----------------------------------------------------------------------------- */
251
+
252
+ .admin-bar & .datepicker {
253
+ margin-top: var(--spacer-1);
254
+
255
+ @media (--viewport-medium) {
256
+ margin-top: var(--spacer-3);
257
+ }
258
+ }
259
+
260
  /* -----------------------------------------------------------------------------
261
  *
262
  * Datepicker: Theme Overrides
src/resources/postcss/components/_small-cta.pcss CHANGED
@@ -6,13 +6,23 @@
6
 
7
  .tribe-events {
8
 
 
 
 
 
 
 
 
 
 
 
 
9
  .tribe-events-c-small-cta__link {
10
  cursor: pointer;
11
  }
12
 
13
- .tribe-events-c-small-cta__price {
14
- @mixin desktop-body-3;
15
- padding-left: 10px;
16
-
17
  }
18
  }
6
 
7
  .tribe-events {
8
 
9
+ .tribe-events-c-small-cta {
10
+
11
+ > * {
12
+ margin-left: var(--spacer-1);
13
+
14
+ &:first-child {
15
+ margin-left: 0;
16
+ }
17
+ }
18
+ }
19
+
20
  .tribe-events-c-small-cta__link {
21
  cursor: pointer;
22
  }
23
 
24
+ .tribe-events-c-small-cta__stock {
25
+ color: var(--color-text-secondary);
26
+ margin-left: var(--spacer-0);
 
27
  }
28
  }
src/resources/postcss/utilities/README.md CHANGED
@@ -1,36 +1,63 @@
1
- A set of common postcss utilities.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  ## Installation
4
- You probably will need to install this package in a custom paths, say `src/resources/postcss/utilities`; if that's the case then add this to the plugin/project `composer.json` file:
5
-
6
- ```json
7
- "repositories": [
8
- {
9
- "name": "moderntribe/tribe-common-styles",
10
- "type": "github",
11
- "url": "https://github.com/moderntribe/tribe-common-styles",
12
- "no-api": true
13
- }
14
- ],
15
- "extra": {
16
- "installer-paths": {
17
- "src/resources/postcss/utilities": [
18
- "moderntribe/tribe-common-styles"
19
- ]
20
- }
21
- }
22
- ```
23
- To simply install the package in your project use:
24
 
25
- ```bash
26
- composer require --dev moderntribe/tribe-common-styles
 
 
 
 
27
  ```
28
 
29
- ## Source installation
30
- If you need to work on **this** package while working on your project you will want to clone the full Git repository, just follow the instructions above and, in place of the command above, use:
31
 
32
  ```bash
33
- composer require --dev moderntribe/tribe-common-styles --prefer-source
34
  ```
35
-
36
- Remember to ignore the package installation folder to avoid committing a dirty repository!
1
+ # Tribe Common Styles
2
+
3
+ ## What is this repository?
4
+
5
+ This repository is a set of common PostCSS utilities. It includes variables, icons, and mixins to help follow Modern Tribe products design system. They are consumed by Modern Tribe plugins PostCSS files.
6
+
7
+ ## Why do we need this?
8
+
9
+ Modern Tribe has a design system for its plugins. Defining a set of variables and style groupings helps maintain consistency and ease of maintenance throughout all the plugins.
10
+
11
+ For example, if the primary text color was to change due to a design update, doing a search and replace through all the PostCSS files could be time-consuming and error-prone. Instead, changing it in one place changes the color for all styles consuming the variable.
12
+
13
+ ## Repository Structure
14
+
15
+ The repository structure starts at the root level file `_all.pcss` importing all the repository styles. Variables, icons, and mixins are defined within their respective folders.
16
+
17
+ ### Variables
18
+
19
+ Variables are any *reusable* property values named specifically for their use case. They are found in the `/variables` folder. Though some variables may hold the same value (e.g. `--border-radius-default: 4px;` and `--spacer-0: 4px`), their use cases are very different and should not be used interchangeably.
20
+
21
+ SVGs are different from the other variables partial files. They are found in `/variables/_svgs.pcss` and are compiled using the [PostCSS Inline SVG](https://github.com/TrySound/postcss-inline-svg) plugin.
22
+
23
+ ### Icons
24
+
25
+ Icons are SVG icons included in the design system and are found in the `/icons` folder. They are consumed by the SVG variables partial file `/variables/_svg.pcss`.
26
+
27
+ ### Mixins
28
+
29
+ Mixins are groupings of *reusable* styles and are found in the `/mixins` folder. These reusable style groupings are often defined by the design system. Mixins are compiled using the [PostCSS Mixins](https://github.com/postcss/postcss-mixins) plugin.
30
+
31
+ ## Making Changes
32
+
33
+ Making changes to this repository should be done with care. As these utilities are the most upstream in Modern Tribe products PostCSS files, modifications to these files can have a cascading effect downstream.
34
+
35
+ When making any changes, whether they are additions, alterations, or deletions, **consistency** is key. Follow naming conventions and groupings so that viewing and editing the files are simple.
36
+
37
+ ### Additions
38
+
39
+ Additions are generally safe, as long as the variable names do not conflict with existing variables. Confirm that the variables or mixins you are adding are reusable and a consistent part of the design system before adding.
40
+
41
+ ### Alterations
42
+
43
+ Alterations should be done carefully, as they will affect all downstream styles using the variable or mixin being altered. Multiple plugins use these styles and should be cross-checked before making the change.
44
+
45
+ ### Deletions
46
+
47
+ Deletions should also be done carefully, for the same reasons as **Alterations** above. Removing a variable or mixin that is still being used will create broken styles and/or build failures.
48
 
49
  ## Installation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
+ You will need to include this package as a submodule to your plugin/project. To install this in in a custom path, in this case `src/resources/postcss/utilities`, add the following to your `.gitmodules` file:
52
+
53
+ ```
54
+ [submodule "src/resources/postcss/utilities"]
55
+ path = src/resources/postcss/utilities
56
+ url = git@github.com:moderntribe/tribe-common-styles.git
57
  ```
58
 
59
+ To simply install the package in your project use:
 
60
 
61
  ```bash
62
+ git submodule update --recursive --init
63
  ```
 
 
src/resources/postcss/utilities/mixins/_typography.pcss CHANGED
@@ -280,3 +280,20 @@
280
  border-bottom: 1px solid var(--color-text-primary);
281
  }
282
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  border-bottom: 1px solid var(--color-text-primary);
281
  }
282
  }
283
+
284
+ /* -----------------------------------------------------------------------------
285
+ * Anchor - Thin
286
+ * ----------------------------------------------------------------------------- */
287
+
288
+ @define-mixin anchor-thin-alt {
289
+ border-bottom: 1px solid var(--color-accent-primary);
290
+ color: var(--color-text-primary);
291
+ transition: var(--transition-color);
292
+
293
+ &:active,
294
+ &:focus,
295
+ &:hover {
296
+ border-bottom: 1px solid var(--color-accent-primary);
297
+ color: var(--color-accent-primary);
298
+ }
299
+ }
src/resources/postcss/utilities/variables/_colors.pcss CHANGED
@@ -29,6 +29,8 @@
29
  --color-accent-primary-multiday-hover: rgba(var(--color-accent-primary), 0.34);
30
  --color-accent-primary-week-event: rgba(var(--color-accent-primary), 0.1);
31
  --color-accent-primary-week-event-hover: rgba(var(--color-accent-primary), 0.2);
 
 
32
  --color-accent-secondary: #141827;
33
  --color-accent-secondary-hover: rgba(var(--color-accent-secondary), 0.8);
34
  --color-accent-secondary-active: rgba(var(--color-accent-secondary), 0.9);
29
  --color-accent-primary-multiday-hover: rgba(var(--color-accent-primary), 0.34);
30
  --color-accent-primary-week-event: rgba(var(--color-accent-primary), 0.1);
31
  --color-accent-primary-week-event-hover: rgba(var(--color-accent-primary), 0.2);
32
+ --color-accent-primary-week-event-featured: rgba(var(--color-accent-primary), 0.04);
33
+ --color-accent-primary-week-event-featured-hover: rgba(var(--color-accent-primary), 0.14);
34
  --color-accent-secondary: #141827;
35
  --color-accent-secondary-hover: rgba(var(--color-accent-secondary), 0.8);
36
  --color-accent-secondary-active: rgba(var(--color-accent-secondary), 0.9);
src/resources/postcss/utilities/variables/_svgs.pcss CHANGED
@@ -2,6 +2,20 @@
2
  * SVG - Arrow Right
3
  * ----------------------------------------------------------------------------- */
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  @svg-load arrow-right-white url('../icons/arrow-right.svg') {
6
 
7
  path {
@@ -139,6 +153,13 @@
139
  }
140
  }
141
 
 
 
 
 
 
 
 
142
  @svg-load featured-white url('../icons/featured-event.svg') {
143
 
144
  path {
2
  * SVG - Arrow Right
3
  * ----------------------------------------------------------------------------- */
4
 
5
+ @svg-load arrow-right-active url('../icons/arrow-right.svg') {
6
+
7
+ path {
8
+ fill: var(--color-icon-active);
9
+ }
10
+ }
11
+
12
+ @svg-load arrow-right-secondary url('../icons/arrow-right.svg') {
13
+
14
+ path {
15
+ fill: var(--color-icon-secondary);
16
+ }
17
+ }
18
+
19
  @svg-load arrow-right-white url('../icons/arrow-right.svg') {
20
 
21
  path {
153
  }
154
  }
155
 
156
+ @svg-load featured-active url('../icons/featured-event.svg') {
157
+
158
+ path {
159
+ fill: var(--color-icon-active);
160
+ }
161
+ }
162
+
163
  @svg-load featured-white url('../icons/featured-event.svg') {
164
 
165
  path {
src/resources/postcss/utilities/variables/_z-index.pcss CHANGED
@@ -11,5 +11,6 @@
11
  --z-index-scroller: 7;
12
  --z-index-week-event-hover: 5;
13
  --z-index-map-event-hover: 5;
 
14
  --z-index-multiday-event: 5;
15
  }
11
  --z-index-scroller: 7;
12
  --z-index-week-event-hover: 5;
13
  --z-index-map-event-hover: 5;
14
+ --z-index-map-event-hover-actions: 6;
15
  --z-index-multiday-event: 5;
16
  }
src/resources/postcss/{views/tribe-events-v2.pcss → views-full.pcss} RENAMED
@@ -6,13 +6,13 @@
6
  */
7
 
8
  /* Utilities */
9
- @import "../utilities/_all.pcss";
10
 
11
  /* Base */
12
- @import "../base/_all.pcss";
13
 
14
  /* Components */
15
- @import "../components/_all.pcss";
16
 
17
  /* Views */
18
- @import "_all.pcss";
6
  */
7
 
8
  /* Utilities */
9
+ @import "utilities/_all.pcss";
10
 
11
  /* Base */
12
+ @import "base/_all.pcss";
13
 
14
  /* Components */
15
+ @import "components/_all.pcss";
16
 
17
  /* Views */
18
+ @import "views/_all.pcss";
src/resources/postcss/views/day/_event.pcss CHANGED
@@ -9,7 +9,7 @@
9
  flex-direction: column;
10
  margin-bottom: var(--spacer-5);
11
  margin-top: var(--spacer-7);
12
- padding-left: calc(var(--grid-width-1-of-4) - (var(--grid-gutter-small-half) / 2));
13
 
14
  @media (--viewport-medium) {
15
  flex-direction: row-reverse;
@@ -28,6 +28,24 @@
28
  }
29
  }
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
32
  margin-top: var(--spacer-4);
33
 
@@ -46,12 +64,27 @@
46
  }
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  .tribe-events-calendar-day__event-featured-image {
50
  padding-bottom: 56.25%;
51
  }
52
 
53
  .tribe-events-calendar-day__event-details {
54
  flex: none;
 
55
 
56
  @media (--viewport-medium) {
57
  margin-left: var(--grid-width-1-of-9);
@@ -66,29 +99,39 @@
66
  }
67
  }
68
 
69
- .tribe-events-calendar-day__event-datetime-wrapper {
70
- align-items: center;
71
- display: flex;
72
  margin-bottom: var(--spacer-1);
73
- position: relative;
74
 
75
  @media (--viewport-medium) {
76
  margin-bottom: var(--spacer-3);
77
  }
 
 
 
 
78
  }
79
 
80
  .tribe-events-calendar-day__event-datetime-featured-icon {
81
- margin-left: 10px;
 
82
  }
83
 
84
- .tribe-events-calendar-day__event-title {
85
- margin-bottom: var(--spacer-1);
86
-
87
  @media (--viewport-medium) {
88
- margin-bottom: var(--spacer-3);
 
 
 
 
89
  }
90
  }
91
 
 
 
 
 
 
92
  /* .tribe-events-calendar-day__event-title-link {} */
93
 
94
  .tribe-events-calendar-day__event-venue {
@@ -109,5 +152,12 @@
109
  }
110
  }
111
 
 
 
 
 
 
 
 
112
  }
113
 
9
  flex-direction: column;
10
  margin-bottom: var(--spacer-5);
11
  margin-top: var(--spacer-7);
12
+ padding-left: var(--grid-gutter-small);
13
 
14
  @media (--viewport-medium) {
15
  flex-direction: row-reverse;
28
  }
29
  }
30
 
31
+ .tribe-events-calendar-day__event--featured {
32
+ position: relative;
33
+
34
+ &:before {
35
+ background: var(--color-accent-primary);
36
+ content: '';
37
+ height: 100%;
38
+ left: var(--grid-gutter-small-half);
39
+ position: absolute;
40
+ width: 3px;
41
+
42
+ @media (--viewport-medium) {
43
+ left: calc(var(--grid-width-1-of-9) - var(--grid-gutter-half));
44
+ width: 4px;
45
+ }
46
+ }
47
+ }
48
+
49
  .tribe-events-calendar-day__time-separator + .tribe-events-calendar-day__event {
50
  margin-top: var(--spacer-4);
51
 
64
  }
65
  }
66
 
67
+ .tribe-events-calendar-day__event-featured-image-link {
68
+ display: block;
69
+ transition: var(--transition-opacity);
70
+
71
+ &:hover,
72
+ &:focus {
73
+ opacity: var(--opacity-icon-hover);
74
+ }
75
+
76
+ &:active {
77
+ opacity: var(--opacity-icon-active);
78
+ }
79
+ }
80
+
81
  .tribe-events-calendar-day__event-featured-image {
82
  padding-bottom: 56.25%;
83
  }
84
 
85
  .tribe-events-calendar-day__event-details {
86
  flex: none;
87
+ position: relative;
88
 
89
  @media (--viewport-medium) {
90
  margin-left: var(--grid-width-1-of-9);
99
  }
100
  }
101
 
102
+ .tribe-events-calendar-day__event-datetime-wrapper,
103
+ .tribe-events-calendar-day__event-title {
 
104
  margin-bottom: var(--spacer-1);
 
105
 
106
  @media (--viewport-medium) {
107
  margin-bottom: var(--spacer-3);
108
  }
109
+
110
+ &:last-child {
111
+ margin-bottom: 0;
112
+ }
113
  }
114
 
115
  .tribe-events-calendar-day__event-datetime-featured-icon {
116
+ display: inline-block;
117
+ margin-right: var(--spacer-0);
118
  }
119
 
120
+ .tribe-events-calendar-day__event-datetime-featured-text {
 
 
121
  @media (--viewport-medium) {
122
+ @mixin visually-show;
123
+
124
+ color: var(--color-accent-primary);
125
+ font-weight: var(--font-weight-bold);
126
+ margin-right: var(--spacer-1);
127
  }
128
  }
129
 
130
+ .tribe-events-calendar-day__event-datetime-recurring-icon {
131
+ display: inline-block;
132
+ margin-left: var(--spacer-0);
133
+ }
134
+
135
  /* .tribe-events-calendar-day__event-title-link {} */
136
 
137
  .tribe-events-calendar-day__event-venue {
152
  }
153
  }
154
 
155
+ .tribe-events-calendar-day__event-cost {
156
+ margin-top: var(--spacer-2);
157
+
158
+ @media (--viewport-medium) {
159
+ margin-top: var(--spacer-3);
160
+ }
161
+ }
162
  }
163
 
src/resources/postcss/views/list/_event.pcss CHANGED
@@ -120,6 +120,20 @@
120
  }
121
  }
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  .tribe-events-calendar-list__event-featured-image {
124
  padding-bottom: 56.25%;
125
  }
@@ -139,24 +153,25 @@
139
  }
140
  }
141
 
142
- .tribe-events-calendar-list__event-datetime-wrapper {
143
- align-items: center;
144
- display: flex;
145
  margin-bottom: var(--spacer-1);
146
- position: relative;
147
 
148
  @media (--viewport-medium) {
149
  margin-bottom: var(--spacer-3);
150
  }
 
 
 
 
151
  }
152
 
153
  .tribe-events-calendar-list__event-datetime-featured-icon {
154
- margin-right: var(--spacer-1);
 
155
  }
156
 
157
  .tribe-events-calendar-list__event-datetime-featured-text {
158
- @mixin visually-hide;
159
-
160
  @media (--viewport-medium) {
161
  @mixin visually-show;
162
 
@@ -166,12 +181,9 @@
166
  }
167
  }
168
 
169
- .tribe-events-calendar-list__event-title {
170
- margin-bottom: var(--spacer-1);
171
-
172
- @media (--viewport-medium) {
173
- margin-bottom: var(--spacer-3);
174
- }
175
  }
176
 
177
  /* .tribe-events-calendar-list__event-title-link {} */
@@ -193,4 +205,12 @@
193
  visibility: visible;
194
  }
195
  }
 
 
 
 
 
 
 
 
196
  }
120
  }
121
  }
122
 
123
+ .tribe-events-calendar-list__event-featured-image-link {
124
+ display: block;
125
+ transition: var(--transition-opacity);
126
+
127
+ &:hover,
128
+ &:focus {
129
+ opacity: var(--opacity-icon-hover);
130
+ }
131
+
132
+ &:active {
133
+ opacity: var(--opacity-icon-active);
134
+ }
135
+ }
136
+
137
  .tribe-events-calendar-list__event-featured-image {
138
  padding-bottom: 56.25%;
139
  }
153
  }
154
  }
155
 
156
+ .tribe-events-calendar-list__event-datetime-wrapper,
157
+ .tribe-events-calendar-list__event-title {
 
158
  margin-bottom: var(--spacer-1);
 
159
 
160
  @media (--viewport-medium) {
161
  margin-bottom: var(--spacer-3);
162
  }
163
+
164
+ &:last-child {
165
+ margin-bottom: 0;
166
+ }
167
  }
168
 
169
  .tribe-events-calendar-list__event-datetime-featured-icon {
170
+ display: inline-block;
171
+ margin-right: var(--spacer-0);
172
  }
173
 
174
  .tribe-events-calendar-list__event-datetime-featured-text {
 
 
175
  @media (--viewport-medium) {
176
  @mixin visually-show;
177
 
181
  }
182
  }
183
 
184
+ .tribe-events-calendar-list__event-datetime-recurring-icon {
185
+ display: inline-block;
186
+ margin-left: var(--spacer-0);
 
 
 
187
  }
188
 
189
  /* .tribe-events-calendar-list__event-title-link {} */
205
  visibility: visible;
206
  }
207
  }
208
+
209
+ .tribe-events-calendar-list__event-cost {
210
+ margin-top: var(--spacer-2);
211
+
212
+ @media (--viewport-medium) {
213
+ margin-top: var(--spacer-3);
214
+ }
215
+ }
216
  }
src/resources/postcss/views/month/_calendar-event.pcss CHANGED
@@ -38,6 +38,20 @@
38
  margin-bottom: var(--spacer-0);
39
  }
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  .tribe-events-calendar-month__calendar-event-featured-image {
42
  padding-bottom: 56.25%;
43
  }
@@ -76,26 +90,53 @@
76
  }
77
 
78
  .tribe-events-calendar-month__calendar-event-datetime-featured {
79
- margin-right: 3px;
80
  }
81
 
82
  .tribe-events-calendar-month__calendar-event-datetime-recurring {
83
- margin-left: 3px;
84
  }
85
 
86
- /* .tribe-events-calendar-month__calendar-event-title {} */
87
-
88
- /* .tribe-events-calendar-month__calendar-event-title-link {} */
89
 
90
  .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper {
91
- margin-bottom: var(--spacer-3);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  }
93
 
94
  .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
95
  padding-bottom: 56.25%;
96
  }
97
 
98
- .tribe-events-calendar-month__calendar-event-tooltip-cta {
 
 
 
 
 
 
 
 
99
  margin-top: var(--spacer-3);
100
  }
101
  }
38
  margin-bottom: var(--spacer-0);
39
  }
40
 
41
+ .tribe-events-calendar-month__calendar-event-featured-image-link {
42
+ display: block;
43
+ transition: var(--transition-opacity);
44
+
45
+ &:hover,
46
+ &:focus {
47
+ opacity: var(--opacity-icon-hover);
48
+ }
49
+
50
+ &:active {
51
+ opacity: var(--opacity-icon-active);
52
+ }
53
+ }
54
+
55
  .tribe-events-calendar-month__calendar-event-featured-image {
56
  padding-bottom: 56.25%;
57
  }
90
  }
91
 
92
  .tribe-events-calendar-month__calendar-event-datetime-featured {
93
+ margin-right: var(--spacer-0);
94
  }
95
 
96
  .tribe-events-calendar-month__calendar-event-datetime-recurring {
97
+ margin-left: var(--spacer-0);
98
  }
99
 
100
+ /* -----------------------------------------------------------------------------
101
+ * Calendar Event Tooltip
102
+ * ----------------------------------------------------------------------------- */
103
 
104
  .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper {
105
+ margin-bottom: var(--spacer-2);
106
+ width: 206px;
107
+
108
+ &:last-child {
109
+ margin-bottom: 0;
110
+ }
111
+ }
112
+
113
+ .tribe-events-calendar-month__calendar-event-tooltip-featured-image-link {
114
+ display: block;
115
+ transition: var(--transition-opacity);
116
+
117
+ &:hover,
118
+ &:focus {
119
+ opacity: var(--opacity-icon-hover);
120
+ }
121
+
122
+ &:active {
123
+ opacity: var(--opacity-icon-active);
124
+ }
125
  }
126
 
127
  .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
128
  padding-bottom: 56.25%;
129
  }
130
 
131
+ .tribe-events-calendar-month__calendar-event-tooltip-description {
132
+ margin-bottom: var(--spacer-1);
133
+
134
+ &:last-child {
135
+ margin-bottom: 0;
136
+ }
137
+ }
138
+
139
+ .tribe-events-calendar-month__calendar-event-tooltip-cost {
140
  margin-top: var(--spacer-3);
141
  }
142
  }
src/resources/postcss/views/month/_day.pcss CHANGED
@@ -70,6 +70,16 @@
70
  .tribe-events-calendar-month__day-date {
71
  opacity: 0.4;
72
  }
 
 
 
 
 
 
 
 
 
 
73
  }
74
 
75
  .tribe-events-calendar-month__day-cell {
@@ -118,10 +128,12 @@
118
 
119
  .tribe-events-calendar-month__mobile-events-icon--event {
120
  background-color: var(--color-background);
 
121
  }
122
 
123
  .tribe-events-calendar-month__mobile-events-icon--featured {
124
  background-image: svg-inline(featured-white);
 
125
  }
126
  }
127
 
@@ -168,6 +180,21 @@
168
  * Day: Theme Overrides
169
  * ----------------------------------------------------------------------------- */
170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  /* -----------------------------------------------------------------------------
172
  * Theme Overrides - Avada
173
  * ----------------------------------------------------------------------------- */
70
  .tribe-events-calendar-month__day-date {
71
  opacity: 0.4;
72
  }
73
+
74
+ .tribe-events-calendar-month__mobile-events-icon--event {
75
+ background-color: var(--color-icon-active);
76
+ opacity: 0.5;
77
+ }
78
+
79
+ .tribe-events-calendar-month__mobile-events-icon--featured {
80
+ background-image: svg-inline(featured-active);
81
+ opacity: 0.5;
82
+ }
83
  }
84
 
85
  .tribe-events-calendar-month__day-cell {
128
 
129
  .tribe-events-calendar-month__mobile-events-icon--event {
130
  background-color: var(--color-background);
131
+ opacity: var(--opacity-default);
132
  }
133
 
134
  .tribe-events-calendar-month__mobile-events-icon--featured {
135
  background-image: svg-inline(featured-white);
136
+ opacity: var(--opacity-default);
137
  }
138
  }
139
 
180
  * Day: Theme Overrides
181
  * ----------------------------------------------------------------------------- */
182
 
183
+ /* -------------------------------------------------------------------------
184
+ * Theme Overrides - Twenty Seventeen
185
+ * ------------------------------------------------------------------------- */
186
+
187
+ .tribe-theme-twentyseventeen & {
188
+
189
+ .tribe-events-calendar-month__day-cell--selected {
190
+
191
+ &:hover,
192
+ &:focus {
193
+ background-color: var(--color-accent-primary);
194
+ }
195
+ }
196
+ }
197
+
198
  /* -----------------------------------------------------------------------------
199
  * Theme Overrides - Avada
200
  * ----------------------------------------------------------------------------- */
src/resources/postcss/views/month/_mobile-events.pcss CHANGED
@@ -33,19 +33,14 @@
33
 
34
  .tribe-events-calendar-month-mobile-events__mobile-event--featured {
35
  padding-bottom: var(--spacer-4);
36
-
37
- .tribe-events-calendar-month-mobile-events__mobile-event-details {
38
- border-left: 3px solid var(--color-accent-primary);
39
- padding-left: var(--spacer-4);
40
- }
41
  }
42
 
43
  .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper {
44
- margin-bottom: var(--spacer-3);
45
  }
46
 
47
  .tribe-events-calendar-month-mobile-events__mobile-event-featured-image {
48
- padding-bottom: 75%;
49
  }
50
 
51
  .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
@@ -57,13 +52,26 @@
57
  }
58
  }
59
 
60
- .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured,
61
- .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring {
62
  display: inline-block;
63
- margin-right: 3px;
64
  }
65
 
66
- .tribe-events-calendar-month-mobile-events__mobile-event-cta {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  margin-top: var(--spacer-1);
68
  }
69
  }
33
 
34
  .tribe-events-calendar-month-mobile-events__mobile-event--featured {
35
  padding-bottom: var(--spacer-4);
 
 
 
 
 
36
  }
37
 
38
  .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper {
39
+ margin-bottom: var(--spacer-2);
40
  }
41
 
42
  .tribe-events-calendar-month-mobile-events__mobile-event-featured-image {
43
+ padding-bottom: 56.25%;
44
  }
45
 
46
  .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
52
  }
53
  }
54
 
55
+ .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon,
56
+ .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon {
57
  display: inline-block;
 
58
  }
59
 
60
+ .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon {
61
+ margin-right: var(--spacer-0);
62
+ }
63
+
64
+ .tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring-icon {
65
+ margin-left: var(--spacer-0);
66
+ }
67
+
68
+ .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
69
+ color: var(--color-accent-primary);
70
+ font-weight: var(--font-weight-bold);
71
+ margin-right: var(--spacer-1);
72
+ }
73
+
74
+ .tribe-events-calendar-month-mobile-events__mobile-event-cost {
75
  margin-top: var(--spacer-1);
76
  }
77
  }
src/views/v2/day.php CHANGED
@@ -9,14 +9,14 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.7
13
  *
 
14
  * @var string $rest_url The REST URL.
15
  * @var string $rest_nonce The REST nonce.
16
  *
17
  */
18
 
19
- $events = $this->get( 'events' );
20
  ?>
21
  <div
22
  class="tribe-common tribe-events tribe-events-view tribe-events-view--day"
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
+ * @var array $events The array containing the events.
15
  * @var string $rest_url The REST URL.
16
  * @var string $rest_nonce The REST nonce.
17
  *
18
  */
19
 
 
20
  ?>
21
  <div
22
  class="tribe-common tribe-events tribe-events-view tribe-events-view--day"
src/views/v2/day/event.php CHANGED
@@ -9,21 +9,22 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
 
16
- $event = $this->get( 'event' );
17
- $event_id = $event->ID;
18
-
19
- $classes = [ 'tribe-common-g-row', 'tribe-common-g-row--gutters', 'tribe-events-calendar-day__event' ];
20
 
21
- if ( tribe( 'tec.featured_events' )->is_featured( $event_id ) ) {
22
  $classes[] = 'tribe-events-calendar-day__event--featured';
23
  }
24
 
25
  ?>
26
- <article class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>">
27
 
28
  <?php $this->template( 'day/event/featured-image', [ 'event' => $event ] ); ?>
29
 
@@ -36,6 +37,7 @@ if ( tribe( 'tec.featured_events' )->is_featured( $event_id ) ) {
36
  </header>
37
 
38
  <?php $this->template( 'day/event/description', [ 'event' => $event ] ); ?>
 
39
 
40
  </div>
41
 
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
 
20
+ $classes = get_post_class( [ 'tribe-common-g-row', 'tribe-common-g-row--gutters', 'tribe-events-calendar-day__event' ], $event->ID );
 
 
 
21
 
22
+ if ( $event->featured ) {
23
  $classes[] = 'tribe-events-calendar-day__event--featured';
24
  }
25
 
26
  ?>
27
+ <article <?php tribe_classes( $classes ); ?>>
28
 
29
  <?php $this->template( 'day/event/featured-image', [ 'event' => $event ] ); ?>
30
 
37
  </header>
38
 
39
  <?php $this->template( 'day/event/description', [ 'event' => $event ] ); ?>
40
+ <?php $this->template( 'day/event/cost', [ 'event' => $event ] ); ?>
41
 
42
  </div>
43
 
src/views/v2/day/event/cost.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Day Single Event Cost
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/day/event/cost.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
+ *
18
+ */
19
+ if ( empty( $event->cost ) ) {
20
+ return;
21
+ }
22
+ ?>
23
+ <div class="tribe-events-c-small-cta tribe-common-b3 tribe-events-calendar-day__event-cost">
24
+ <span class="tribe-events-c-small-cta__price">
25
+ <?php echo esc_html( $event->cost ) ?>
26
+ </span>
27
+ </div>
src/views/v2/day/event/date.php CHANGED
@@ -9,25 +9,32 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
 
15
 
16
- $event = $this->get( 'event' );
17
- $event_id = $event->ID;
18
- $is_featured = tribe( 'tec.featured_events' )->is_featured( $event_id );
19
 
20
  ?>
21
- <div class="tribe-events-calendar-day__event-datetime-wrapper">
22
- <time class="tribe-events-calendar-day__event-datetime tribe-common-b2" datetime="1970-01-01T00:00:00+00:00">
23
- <?php echo tribe_events_event_schedule_details( $event ); ?>
24
- </time>
25
- <?php if ( $is_featured ) : ?>
26
  <em
27
  class="tribe-events-calendar-day__event-datetime-featured-icon tribe-common-svgicon tribe-common-svgicon--featured"
28
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
29
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
30
  >
31
  </em>
 
 
 
32
  <?php endif; ?>
 
 
 
 
33
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
+ use Tribe__Date_Utils as Dates;
20
 
21
+ $event_date_attr = $event->dates->start->format( Dates::DBDATEFORMAT );
 
 
22
 
23
  ?>
24
+ <div class="tribe-events-calendar-day__event-datetime-wrapper tribe-common-b2">
25
+ <?php if ( $event->featured ) : ?>
 
 
 
26
  <em
27
  class="tribe-events-calendar-day__event-datetime-featured-icon tribe-common-svgicon tribe-common-svgicon--featured"
28
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
29
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
30
  >
31
  </em>
32
+ <span class="tribe-events-calendar-day__event-datetime-featured-text tribe-common-a11y-visual-hide">
33
+ <?php esc_html_e( 'Featured', 'the-events-calendar' ); ?>
34
+ </span>
35
  <?php endif; ?>
36
+ <time class="tribe-events-calendar-day__event-datetime" datetime="<?php echo esc_attr( $event_date_attr ); ?>">
37
+ <?php echo $event->schedule_details->value(); ?>
38
+ </time>
39
+ <?php $this->template( 'day/event/date/meta', [ 'event' => $event ] ); ?>
40
  </div>
src/views/v2/day/event/date/meta.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Day View - Single Event Meta
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/day/event/date/meta.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
+ *
18
+ */
src/views/v2/day/event/description.php CHANGED
@@ -9,11 +9,13 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
  ?>
18
  <div class="tribe-events-calendar-day__event-description tribe-common-b2">
19
  <?php echo tribe_events_get_the_excerpt( $event, wp_kses_allowed_html( 'post' ) ); ?>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
  ?>
20
  <div class="tribe-events-calendar-day__event-description tribe-common-b2">
21
  <?php echo tribe_events_get_the_excerpt( $event, wp_kses_allowed_html( 'post' ) ); ?>
src/views/v2/day/event/featured-image.php CHANGED
@@ -9,30 +9,32 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
 
18
- if ( ! has_post_thumbnail( $event_id ) ) {
19
  return;
20
  }
21
 
22
  ?>
23
  <div class="tribe-events-calendar-day__event-featured-image-wrapper tribe-common-g-col">
24
  <a
25
- href="<?php echo esc_url( tribe_get_event_link( $event_id ) ); ?>"
26
- title="<?php echo esc_attr( get_the_title( $event_id ) ); ?>"
27
  rel="bookmark"
28
  class="tribe-events-calendar-day__event-featured-image-link"
29
  >
30
  <div class="tribe-events-calendar-day__event-featured-image tribe-common-c-image tribe-common-c-image--bg">
31
  <div
32
  class="tribe-common-c-image__bg"
33
- style="background-image: url('<?php echo esc_attr( get_the_post_thumbnail_url( $event_id, 'large' ) ); ?>');"
34
  role="img"
35
- aria-label="alt text here"
36
  >
37
  </div>
38
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
 
20
+ if ( ! $event->thumbnail->exists ) {
21
  return;
22
  }
23
 
24
  ?>
25
  <div class="tribe-events-calendar-day__event-featured-image-wrapper tribe-common-g-col">
26
  <a
27
+ href="<?php echo esc_url( $event->permalink ); ?>"
28
+ title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
29
  rel="bookmark"
30
  class="tribe-events-calendar-day__event-featured-image-link"
31
  >
32
  <div class="tribe-events-calendar-day__event-featured-image tribe-common-c-image tribe-common-c-image--bg">
33
  <div
34
  class="tribe-common-c-image__bg"
35
+ style="background-image: url('<?php echo esc_url( $event->thumbnail->full->url ); ?>');"
36
  role="img"
37
+ aria-label="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
38
  >
39
  </div>
40
  </div>
src/views/v2/day/event/title.php CHANGED
@@ -9,19 +9,21 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.5
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
  ?>
18
  <h3 class="tribe-events-calendar-day__event-title tribe-common-h6 tribe-common-h5--min-medium">
19
  <a
20
- href="<?php echo esc_url( tribe_get_event_link( $event_id ) ); ?>"
21
- title="<?php the_title_attribute( $event_id ); ?>"
22
  rel="bookmark"
23
  class="tribe-events-calendar-day__event-title-link tribe-common-anchor-thin"
24
  >
25
- <?php echo get_the_title( $event_id ); ?>
26
  </a>
27
  </h3>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
  ?>
20
  <h3 class="tribe-events-calendar-day__event-title tribe-common-h6 tribe-common-h5--min-medium">
21
  <a
22
+ href="<?php echo esc_url( $event->permalink ); ?>"
23
+ title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
24
  rel="bookmark"
25
  class="tribe-events-calendar-day__event-title-link tribe-common-anchor-thin"
26
  >
27
+ <?php echo get_the_title( $event->ID ); ?>
28
  </a>
29
  </h3>
src/views/v2/day/event/venue.php CHANGED
@@ -9,14 +9,16 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
 
18
  // Setup an array of venue details for use later in the template
19
- $venue_details = tribe_get_venue_details( $event_id );
20
 
21
  if ( ! $venue_details ) {
22
  return;
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
 
20
  // Setup an array of venue details for use later in the template
21
+ $venue_details = tribe_get_venue_details( $event->ID );
22
 
23
  if ( ! $venue_details ) {
24
  return;
src/views/v2/day/time-separator.php CHANGED
@@ -9,14 +9,13 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.8
13
  *
14
  */
15
 
16
  use Tribe\Events\Views\V2\Utils;
17
  use Tribe__Date_Utils as Dates;
18
 
19
- $event = $this->get( 'event' );
20
  $should_have_time_separator = Utils\Separators::should_have_time( $this->get( 'events' ), $event );
21
 
22
  if ( ! $should_have_time_separator ) {
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  */
15
 
16
  use Tribe\Events\Views\V2\Utils;
17
  use Tribe__Date_Utils as Dates;
18
 
 
19
  $should_have_time_separator = Utils\Separators::should_have_time( $this->get( 'events' ), $event );
20
 
21
  if ( ! $should_have_time_separator ) {
src/views/v2/list.php CHANGED
@@ -9,15 +9,15 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.7
13
  *
 
14
  * @var string $rest_url The REST URL.
15
  * @var string $rest_nonce The REST nonce.
16
  * @var int $should_manage_url int containing if it should manage the URL.
17
  *
18
  */
19
 
20
- $events = $this->get( 'events' );
21
  ?>
22
  <div
23
  class="tribe-common tribe-events tribe-events-view tribe-events-view--list"
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
+ * @var array $events The array containing the events.
15
  * @var string $rest_url The REST URL.
16
  * @var string $rest_nonce The REST nonce.
17
  * @var int $should_manage_url int containing if it should manage the URL.
18
  *
19
  */
20
 
 
21
  ?>
22
  <div
23
  class="tribe-common tribe-events tribe-events-view tribe-events-view--list"
src/views/v2/list/event.php CHANGED
@@ -9,23 +9,25 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.8
 
 
 
 
13
  *
14
  */
15
 
16
- $event = $this->get( 'event' );
17
- $event_id = $event->ID;
18
-
19
- $classes = [ 'tribe-common-g-row', 'tribe-events-calendar-list__event-row' ];
20
- $classes['tribe-events-calendar-list__event-row--featured'] = tribe( 'tec.featured_events' )->is_featured( $event_id );
21
 
 
22
  ?>
23
- <div <?php tribe_classes( $classes ) ?>>
24
 
25
  <?php $this->template( 'list/event/date-tag', [ 'event' => $event ] ); ?>
26
 
27
  <div class="tribe-events-calendar-list__event-wrapper tribe-common-g-col">
28
- <article class="tribe-events-calendar-list__event tribe-common-g-row tribe-common-g-row--gutters">
29
  <?php $this->template( 'list/event/featured-image', [ 'event' => $event ] ); ?>
30
 
31
  <div class="tribe-events-calendar-list__event-details tribe-common-g-col">
@@ -37,6 +39,7 @@ $classes['tribe-events-calendar-list__event-row--featured'] = tribe( 'tec.featur
37
  </header>
38
 
39
  <?php $this->template( 'list/event/description', [ 'event' => $event ] ); ?>
 
40
 
41
  </div>
42
  </article>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
 
20
+ $container_classes = [ 'tribe-common-g-row', 'tribe-events-calendar-list__event-row' ];
21
+ $container_classes['tribe-events-calendar-list__event-row--featured'] = $event->featured;;
 
 
 
22
 
23
+ $event_classes = get_post_class( [ 'tribe-events-calendar-list__event', 'tribe-common-g-row', 'tribe-common-g-row--gutters' ], $event->ID );
24
  ?>
25
+ <div <?php tribe_classes( $container_classes ); ?>>
26
 
27
  <?php $this->template( 'list/event/date-tag', [ 'event' => $event ] ); ?>
28
 
29
  <div class="tribe-events-calendar-list__event-wrapper tribe-common-g-col">
30
+ <article <?php tribe_classes( $event_classes ) ?>>
31
  <?php $this->template( 'list/event/featured-image', [ 'event' => $event ] ); ?>
32
 
33
  <div class="tribe-events-calendar-list__event-details tribe-common-g-col">
39
  </header>
40
 
41
  <?php $this->template( 'list/event/description', [ 'event' => $event ] ); ?>
42
+ <?php $this->template( 'list/event/cost', [ 'event' => $event ] ); ?>
43
 
44
  </div>
45
  </article>
src/views/v2/list/event/cost.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: List Single Event Cost
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/list/event/cost.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
+ *
18
+ */
19
+ if ( empty( $event->cost ) ) {
20
+ return;
21
+ }
22
+ ?>
23
+ <div class="tribe-events-c-small-cta tribe-common-b3 tribe-events-calendar-list__event-cost">
24
+ <span class="tribe-events-c-small-cta__price">
25
+ <?php echo esc_html( $event->cost ) ?>
26
+ </span>
27
+ </div>
src/views/v2/list/event/date-tag.php CHANGED
@@ -9,15 +9,18 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  */
14
 
15
  use Tribe__Date_Utils as Dates;
16
 
17
- $event = $this->get( 'event' );
18
- $event_week_day = tribe_get_start_date( $event, true, 'D' );
19
- $event_day_num = tribe_get_start_date( $event, true, 'j' );
20
- $event_date_attr = tribe_get_start_date( $event, true, Dates::DBDATEFORMAT );
21
  ?>
22
  <div class="tribe-events-calendar-list__event-date-tag tribe-common-g-col">
23
  <time class="tribe-events-calendar-list__event-date-tag-datetime" datetime="<?php echo esc_attr( $event_date_attr ); ?>">
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  */
18
 
19
  use Tribe__Date_Utils as Dates;
20
 
21
+ $event_week_day = $event->dates->start->format( 'D' );
22
+ $event_day_num = $event->dates->start->format( 'j' );
23
+ $event_date_attr = $event->dates->start->format( Dates::DBDATEFORMAT );
 
24
  ?>
25
  <div class="tribe-events-calendar-list__event-date-tag tribe-common-g-col">
26
  <time class="tribe-events-calendar-list__event-date-tag-datetime" datetime="<?php echo esc_attr( $event_date_attr ); ?>">
src/views/v2/list/event/date.php CHANGED
@@ -9,28 +9,32 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.8
 
 
 
 
13
  *
14
  */
15
  use Tribe__Date_Utils as Dates;
16
 
17
- $event = $this->get( 'event' );
18
- $event_id = $event->ID;
19
- $is_featured = tribe( 'tec.featured_events' )->is_featured( $event_id );
20
- $event_date_attr = tribe_get_start_date( $event, true, Dates::DBDATEFORMAT );
21
 
22
  ?>
23
- <div class="tribe-events-calendar-list__event-datetime-wrapper">
24
- <?php if ( $is_featured ) : ?>
25
  <em
26
  class="tribe-events-calendar-list__event-datetime-featured-icon tribe-common-svgicon tribe-common-svgicon--featured"
27
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
28
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
29
  >
30
  </em>
31
- <span class="tribe-events-calendar-list__event-datetime-featured-text tribe-common-b2"><?php esc_html_e( 'Featured', 'the-events-calendar' ); ?></span>
 
 
32
  <?php endif; ?>
33
- <time class="tribe-events-calendar-list__event-datetime tribe-common-b2" datetime="<?php echo esc_attr( $event_date_attr ); ?>">
34
- <?php echo tribe_events_event_schedule_details( $event ); ?>
35
  </time>
 
36
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
  use Tribe__Date_Utils as Dates;
20
 
21
+ $event_date_attr = $event->dates->start->format( Dates::DBDATEFORMAT );
 
 
 
22
 
23
  ?>
24
+ <div class="tribe-events-calendar-list__event-datetime-wrapper tribe-common-b2">
25
+ <?php if ( $event->featured ) : ?>
26
  <em
27
  class="tribe-events-calendar-list__event-datetime-featured-icon tribe-common-svgicon tribe-common-svgicon--featured"
28
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
29
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ); ?>"
30
  >
31
  </em>
32
+ <span class="tribe-events-calendar-list__event-datetime-featured-text tribe-common-a11y-visual-hide">
33
+ <?php esc_html_e( 'Featured', 'the-events-calendar' ); ?>
34
+ </span>
35
  <?php endif; ?>
36
+ <time class="tribe-events-calendar-list__event-datetime" datetime="<?php echo esc_attr( $event_date_attr ); ?>">
37
+ <?php echo $event->schedule_details->value(); ?>
38
  </time>
39
+ <?php $this->template( 'list/event/date/meta', [ 'event' => $event ] ); ?>
40
  </div>
src/views/v2/list/event/date/meta.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: List View - Single Event Meta
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/list/event/date/meta.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
+ *
18
+ */
src/views/v2/list/event/description.php CHANGED
@@ -9,11 +9,13 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.3
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
  ?>
18
  <div class="tribe-events-calendar-list__event-description tribe-common-b2">
19
  <?php echo tribe_events_get_the_excerpt( $event, wp_kses_allowed_html( 'post' ) ); ?>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
  ?>
20
  <div class="tribe-events-calendar-list__event-description tribe-common-b2">
21
  <?php echo tribe_events_get_the_excerpt( $event, wp_kses_allowed_html( 'post' ) ); ?>
src/views/v2/list/event/featured-image.php CHANGED
@@ -9,30 +9,32 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.3
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
 
18
- if ( ! has_post_thumbnail( $event_id ) ) {
19
  return;
20
  }
21
 
22
  ?>
23
  <div class="tribe-events-calendar-list__event-featured-image-wrapper tribe-common-g-col">
24
  <a
25
- href="<?php echo esc_url( tribe_get_event_link( $event_id ) ); ?>"
26
- title="<?php echo esc_attr( get_the_title( $event_id ) ); ?>"
27
  rel="bookmark"
28
  class="tribe-events-calendar-list__event-featured-image-link"
29
  >
30
  <div class="tribe-events-calendar-list__event-featured-image tribe-common-c-image tribe-common-c-image--bg">
31
  <div
32
  class="tribe-common-c-image__bg"
33
- style="background-image: url('<?php echo esc_attr( get_the_post_thumbnail_url( $event_id, 'large' ) ); ?>');"
34
  role="img"
35
- aria-label="alt text here"
36
  >
37
  </div>
38
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
 
20
+ if ( ! $event->thumbnail->exists ) {
21
  return;
22
  }
23
 
24
  ?>
25
  <div class="tribe-events-calendar-list__event-featured-image-wrapper tribe-common-g-col">
26
  <a
27
+ href="<?php echo esc_url( $event->permalink ); ?>"
28
+ title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
29
  rel="bookmark"
30
  class="tribe-events-calendar-list__event-featured-image-link"
31
  >
32
  <div class="tribe-events-calendar-list__event-featured-image tribe-common-c-image tribe-common-c-image--bg">
33
  <div
34
  class="tribe-common-c-image__bg"
35
+ style="background-image: url('<?php echo esc_url( $event->thumbnail->full->url ); ?>');"
36
  role="img"
37
+ aria-label="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
38
  >
39
  </div>
40
  </div>
src/views/v2/list/event/title.php CHANGED
@@ -9,19 +9,21 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.5
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
  ?>
18
  <h3 class="tribe-events-calendar-list__event-title tribe-common-h6 tribe-common-h5--min-medium">
19
  <a
20
- href="<?php echo esc_url( tribe_get_event_link( $event_id ) ); ?>"
21
- title="<?php the_title_attribute( $event_id ); ?>"
22
  rel="bookmark"
23
  class="tribe-events-calendar-list__event-title-link tribe-common-anchor-thin"
24
  >
25
- <?php echo get_the_title( $event_id ); ?>
26
  </a>
27
  </h3>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
  ?>
20
  <h3 class="tribe-events-calendar-list__event-title tribe-common-h6 tribe-common-h5--min-medium">
21
  <a
22
+ href="<?php echo esc_url( $event->permalink ); ?>"
23
+ title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
24
  rel="bookmark"
25
  class="tribe-events-calendar-list__event-title-link tribe-common-anchor-thin"
26
  >
27
+ <?php echo get_the_title( $event->ID ); ?>
28
  </a>
29
  </h3>
src/views/v2/list/event/venue.php CHANGED
@@ -9,14 +9,16 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.3
 
 
 
 
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
- $event_id = $event->ID;
17
 
18
  // Setup an array of venue details for use later in the template
19
- $venue_details = tribe_get_venue_details( $event_id );
20
 
21
  if ( ! $venue_details ) {
22
  return;
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
 
20
  // Setup an array of venue details for use later in the template
21
+ $venue_details = tribe_get_venue_details( $event->ID );
22
 
23
  if ( ! $venue_details ) {
24
  return;
src/views/v2/list/month-separator.php CHANGED
@@ -9,25 +9,23 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.8
13
  */
14
 
15
  use Tribe\Events\Views\V2\Utils;
16
 
17
- $event = $this->get( 'event' );
18
  $should_have_month_separator = Utils\Separators::should_have_month( $this->get( 'events' ), $event );
19
 
20
  if ( ! $should_have_month_separator ) {
21
  return;
22
  }
23
 
24
- $separator_text = tribe_get_start_date( $event->ID, true, 'F Y' );
25
  ?>
26
  <div class="tribe-events-calendar-list__month-separator">
27
  <time
28
  class="tribe-events-calendar-list__month-separator-text tribe-common-h7 tribe-common-h6--min-medium tribe-common-h--alt"
29
- datetime="<?php echo esc_attr( tribe_get_start_date( $event->ID, true, 'Y-m' ) ); ?>"
30
  >
31
- <?php echo esc_html( $separator_text ); ?>
32
  </time>
33
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  */
14
 
15
  use Tribe\Events\Views\V2\Utils;
16
 
 
17
  $should_have_month_separator = Utils\Separators::should_have_month( $this->get( 'events' ), $event );
18
 
19
  if ( ! $should_have_month_separator ) {
20
  return;
21
  }
22
 
 
23
  ?>
24
  <div class="tribe-events-calendar-list__month-separator">
25
  <time
26
  class="tribe-events-calendar-list__month-separator-text tribe-common-h7 tribe-common-h6--min-medium tribe-common-h--alt"
27
+ datetime="<?php echo esc_attr( $event->dates->start->format( 'Y-m' ) ); ?>"
28
  >
29
+ <?php echo esc_html( $event->dates->start->format( 'F Y' ) ); ?>
30
  </time>
31
  </div>
src/views/v2/month/calendar-body/day.php CHANGED
@@ -65,7 +65,7 @@ $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day_date;
65
  >
66
 
67
  <button
68
- <?php if ( ! empty( $day['events'] ) ) : ?>
69
  aria-expanded="<?php echo esc_attr( $expanded ); ?>"
70
  aria-selected="<?php echo esc_attr( $selected ); ?>"
71
  aria-controls="<?php echo esc_attr( $mobile_day_id ); ?>"
@@ -76,7 +76,7 @@ $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day_date;
76
  >
77
  <h3 class="tribe-events-calendar-month__day-date tribe-common-h6 tribe-common-h--alt">
78
  <span class="tribe-common-a11y-visual-hide">
79
- <?php echo esc_html( sprintf( _n( '%s event', '%s events', count( $day['events'] ), 'the-events-calendar' ), number_format_i18n( count( $day['events'] ) ) ) ); ?>,
80
  </span>
81
  <time
82
  class="tribe-events-calendar-month__day-date-daynum"
@@ -92,7 +92,7 @@ $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day_date;
92
  title="<?php esc_attr_e( 'Has featured events', 'the-events-calendar' ); ?>"
93
  >
94
  </em>
95
- <?php elseif ( ! empty( $day['events'] ) ) : ?>
96
  <em
97
  class="tribe-events-calendar-month__mobile-events-icon tribe-events-calendar-month__mobile-events-icon--event"
98
  aria-label="<?php esc_attr_e( 'Has events', 'the-events-calendar' ); ?>"
@@ -108,7 +108,7 @@ $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day_date;
108
  >
109
  <h3 class="tribe-events-calendar-month__day-date tribe-common-h4">
110
  <span class="tribe-common-a11y-visual-hide">
111
- <?php echo esc_html( sprintf( _n( '%s event', '%s events', count( $day['events'] ), 'the-events-calendar' ), number_format_i18n( count( $day['events'] ) ) ) ); ?>,
112
  </span>
113
  <time
114
  class="tribe-events-calendar-month__day-date-daynum"
65
  >
66
 
67
  <button
68
+ <?php if ( ! empty( $day['found_events'] ) ) : ?>
69
  aria-expanded="<?php echo esc_attr( $expanded ); ?>"
70
  aria-selected="<?php echo esc_attr( $selected ); ?>"
71
  aria-controls="<?php echo esc_attr( $mobile_day_id ); ?>"
76
  >
77
  <h3 class="tribe-events-calendar-month__day-date tribe-common-h6 tribe-common-h--alt">
78
  <span class="tribe-common-a11y-visual-hide">
79
+ <?php echo esc_html( sprintf( _n( '%s event', '%s events', $day['found_events'], 'the-events-calendar' ), number_format_i18n( $day['found_events'] ) ) ); ?>,
80
  </span>
81
  <time
82
  class="tribe-events-calendar-month__day-date-daynum"
92
  title="<?php esc_attr_e( 'Has featured events', 'the-events-calendar' ); ?>"
93
  >
94
  </em>
95
+ <?php elseif ( ! empty( $day['found_events'] ) ) : ?>
96
  <em
97
  class="tribe-events-calendar-month__mobile-events-icon tribe-events-calendar-month__mobile-events-icon--event"
98
  aria-label="<?php esc_attr_e( 'Has events', 'the-events-calendar' ); ?>"
108
  >
109
  <h3 class="tribe-events-calendar-month__day-date tribe-common-h4">
110
  <span class="tribe-common-a11y-visual-hide">
111
+ <?php echo esc_html( sprintf( _n( '%s event', '%s events', $day['found_events'], 'the-events-calendar' ), number_format_i18n( $day['found_events'] ) ) ); ?>,
112
  </span>
113
  <time
114
  class="tribe-events-calendar-month__day-date-daynum"
src/views/v2/month/calendar-body/day/calendar-events/calendar-event.php CHANGED
@@ -9,21 +9,21 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  */
18
 
19
- $classes = [ 'tribe-events-calendar-month__calendar-event' ];
20
 
21
  if ( $event->featured ) {
22
  $classes[] = 'tribe-events-calendar-month__calendar-event--featured';
23
  }
24
  ?>
25
 
26
- <article class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>">
27
 
28
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/featured-image', [ 'event' => $event ] ); ?>
29
 
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  */
18
 
19
+ $classes = get_post_class( [ 'tribe-events-calendar-month__calendar-event' ], $event->ID );
20
 
21
  if ( $event->featured ) {
22
  $classes[] = 'tribe-events-calendar-month__calendar-event--featured';
23
  }
24
  ?>
25
 
26
+ <article <?php tribe_classes( $classes ) ?>>
27
 
28
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/featured-image', [ 'event' => $event ] ); ?>
29
 
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
@@ -17,7 +17,6 @@
17
  */
18
  $time_format = tribe_get_time_format();
19
  ?>
20
-
21
  <div class="tribe-events-calendar-month__calendar-event-datetime">
22
  <?php if ( ! empty( $event->featured ) ) : ?>
23
  <em
@@ -34,13 +33,5 @@ $time_format = tribe_get_time_format();
34
  <time datetime="<?php echo esc_attr($event->dates->end->format( 'H:i' )) ?>">
35
  <?php echo esc_html( $event->dates->end->format( $time_format ) ) ?>
36
  </time>
37
- <?php // @todo @fe this should be moved to PRO. ?>
38
- <?php if ( ! empty( $event->recurring ) ) : ?>
39
- <em
40
- class="tribe-events-calendar-month__calendar-event-datetime-recurring tribe-common-svgicon tribe-common-svgicon--recurring"
41
- aria-label="<?php esc_attr_e( 'Recurring', 'the-events-calendar' ) ?>"
42
- title="<?php esc_attr_e( 'Recurring', 'the-events-calendar' ) ?>"
43
- >
44
- </em>
45
- <?php endif; ?>
46
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
17
  */
18
  $time_format = tribe_get_time_format();
19
  ?>
 
20
  <div class="tribe-events-calendar-month__calendar-event-datetime">
21
  <?php if ( ! empty( $event->featured ) ) : ?>
22
  <em
33
  <time datetime="<?php echo esc_attr($event->dates->end->format( 'H:i' )) ?>">
34
  <?php echo esc_html( $event->dates->end->format( $time_format ) ) ?>
35
  </time>
36
+ <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/date/meta', [ 'event' => $event ] ); ?>
 
 
 
 
 
 
 
 
37
  </div>
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/date/meta.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Month View - Calendar Event Meta
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/month/calendar-body/day/calendar-events/calendar-event/date/meta.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ */
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/featured-image.php CHANGED
@@ -9,17 +9,15 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.5
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
- // @todo @fe: use template tags for images here
20
- // @todo @fe use srcset here?
21
 
22
- if ( ! $event->featured || empty( $event->thumbnail->full->url ) ) {
23
  return;
24
  }
25
 
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
 
 
19
 
20
+ if ( ! $event->featured || ! $event->thumbnail->exists ) {
21
  return;
22
  }
23
 
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/title.php CHANGED
@@ -34,6 +34,6 @@ $event_id = $event->ID;
34
  data-tooltip-content="#tribe-events-tooltip-content-<?php echo esc_attr( $event_id ); ?>"
35
  aria-describedby="tribe-events-tooltip-content-<?php echo esc_attr( $event_id ); ?>"
36
  >
37
- <?php echo esc_html( get_the_title($event_id) ); ?>
38
  </a>
39
  </h3>
34
  data-tooltip-content="#tribe-events-tooltip-content-<?php echo esc_attr( $event_id ); ?>"
35
  aria-describedby="tribe-events-tooltip-content-<?php echo esc_attr( $event_id ); ?>"
36
  >
37
+ <?php echo get_the_title( $event_id ); ?>
38
  </a>
39
  </h3>
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
@@ -29,6 +29,6 @@
29
  <div id="tribe-events-tooltip-content-<?php echo esc_attr( $event->ID ); ?>">
30
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image', [ 'event' => $event ] ); ?>
31
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/description', [ 'event' => $event ] ); ?>
32
- <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/cta', [ 'event' => $event ] ); ?>
33
  </div>
34
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
29
  <div id="tribe-events-tooltip-content-<?php echo esc_attr( $event->ID ); ?>">
30
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image', [ 'event' => $event ] ); ?>
31
  <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/description', [ 'event' => $event ] ); ?>
32
+ <?php $this->template( 'month/calendar-body/day/calendar-events/calendar-event/tooltip/cost', [ 'event' => $event ] ); ?>
33
  </div>
34
  </div>
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/{cta.php → cost.php} RENAMED
@@ -1,15 +1,15 @@
1
  <?php
2
  /**
3
- * View: Month View - Single Event Tooltip CTA
4
  *
5
  * Override this template in your own theme by creating a file at:
6
- * [your-theme]/tribe/events/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/cta.php
7
  *
8
  * See more documentation about our views templating system.
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
@@ -19,17 +19,9 @@
19
  if ( empty( $event->cost ) ) {
20
  return;
21
  }
22
- /**
23
- * @todo @fe make this dynamic depending on the cost.
24
- * @be @bordoni get buy now url
25
- */
26
  ?>
27
-
28
- <div class="tribe-events-c-small-cta tribe-events-calendar-month__calendar-event-tooltip-cta">
29
- <a href="#" class="tribe-events-c-small-cta__link tribe-common-cta tribe-common-cta--alt">
30
- <?php esc_html_e( 'Buy Now', 'the-events-calendar' ); ?>
31
- </a>
32
  <span class="tribe-events-c-small-cta__price">
33
- <?php echo esc_html( $event->cost ) ?>
34
  </span>
35
  </div>
1
  <?php
2
  /**
3
+ * View: Month View - Single Event Tooltip Cost
4
  *
5
  * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/cost.php
7
  *
8
  * See more documentation about our views templating system.
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
19
  if ( empty( $event->cost ) ) {
20
  return;
21
  }
 
 
 
 
22
  ?>
23
+ <div class="tribe-events-c-small-cta tribe-common-b3 tribe-events-calendar-month__calendar-event-tooltip-cost">
 
 
 
 
24
  <span class="tribe-events-c-small-cta__price">
25
+ <?php echo esc_html( $event->cost ); ?>
26
  </span>
27
  </div>
src/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * View: Month View - Calenar Event Tooltip Featured Image
4
  *
5
  * Override this template in your own theme by creating a file at:
6
  * [your-theme]/tribe/events/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image.php
@@ -9,12 +9,11 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  */
15
- $event = $this->get( 'event' );
16
 
17
- if ( ! isset( $event->image ) ) { // @todo: use template tags for images here
18
  return;
19
  }
20
  ?>
@@ -23,11 +22,12 @@ if ( ! isset( $event->image ) ) { // @todo: use template tags for images here
23
  href="<?php echo esc_url( $event->permalink ); ?>"
24
  title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
25
  rel="bookmark"
 
26
  >
27
  <div class="tribe-events-calendar-month__calendar-event-tooltip-featured-image tribe-common-c-image tribe-common-c-image--bg">
28
  <div
29
  class="tribe-common-c-image__bg"
30
- style="background-image: url('<?php echo esc_url( $event->image ); ?>');"
31
  role="img"
32
  aria-label="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
33
  >
1
  <?php
2
  /**
3
+ * View: Month View - Calendar Event Tooltip Featured Image
4
  *
5
  * Override this template in your own theme by creating a file at:
6
  * [your-theme]/tribe/events/views/v2/month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image.php
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  */
 
15
 
16
+ if ( ! $event->thumbnail->exists ) {
17
  return;
18
  }
19
  ?>
22
  href="<?php echo esc_url( $event->permalink ); ?>"
23
  title="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
24
  rel="bookmark"
25
+ class="tribe-events-calendar-month__calendar-event-tooltip-featured-image-link"
26
  >
27
  <div class="tribe-events-calendar-month__calendar-event-tooltip-featured-image tribe-common-c-image tribe-common-c-image--bg">
28
  <div
29
  class="tribe-common-c-image__bg"
30
+ style="background-image: url('<?php echo esc_url( $event->thumbnail->full->url ); ?>');"
31
  role="img"
32
  aria-label="<?php echo esc_attr( get_the_title( $event->ID ) ); ?>"
33
  >
src/views/v2/month/calendar-body/day/multiday-events/multiday-event.php CHANGED
@@ -29,7 +29,7 @@ use Tribe__Date_Utils as Dates;
29
  $should_display = $event->dates->start->format( 'Y-m-d' ) === $day_date
30
  || $is_start_of_week;
31
 
32
- $classes = [ 'tribe-events-calendar-month__multiday-event' ];
33
 
34
  // @todo @fe move class configuration to template tag
35
 
29
  $should_display = $event->dates->start->format( 'Y-m-d' ) === $day_date
30
  || $is_start_of_week;
31
 
32
+ $classes = get_post_class( [ 'tribe-events-calendar-month__multiday-event' ], $event->ID );
33
 
34
  // @todo @fe move class configuration to template tag
35
 
src/views/v2/month/mobile-events.php CHANGED
@@ -16,11 +16,11 @@
16
  */
17
 
18
  ?>
19
- <section class="tribe-events-calendar-month-mobile-events" data-js="tribe-events-pro-week-mobile-events">
20
 
21
  <?php foreach ( $days as $day_date => $day ) : ?>
22
 
23
- <?php if ( ! empty( $day[ 'events' ] ) ) : ?>
24
 
25
  <?php $this->template( 'month/mobile-events/mobile-day', [ 'day' => $day, 'day_date' => $day_date ] ); ?>
26
 
16
  */
17
 
18
  ?>
19
+ <section class="tribe-events-calendar-month-mobile-events" data-js="tribe-events-calendar-month-mobile-events">
20
 
21
  <?php foreach ( $days as $day_date => $day ) : ?>
22
 
23
+ <?php if ( ! empty( $day['found_events'] ) ) : ?>
24
 
25
  <?php $this->template( 'month/mobile-events/mobile-day', [ 'day' => $day, 'day_date' => $day_date ] ); ?>
26
 
src/views/v2/month/mobile-events/mobile-day.php CHANGED
@@ -14,6 +14,9 @@
14
  */
15
 
16
  $events = $day['events'];
 
 
 
17
  $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day['year_number'] . '-' . $day['month_number'] . '-' . $day['day_number'];
18
 
19
  $classes = [ 'tribe-events-calendar-month-mobile-events__mobile-day' ];
@@ -24,7 +27,6 @@ if ( $today_date === $day_date ) {
24
  ?>
25
 
26
  <div <?php tribe_classes( $classes ); ?> id="<?php echo sanitize_html_class( $mobile_day_id ); ?>">
27
-
28
  <?php $this->template( 'month/mobile-events/mobile-day/day-marker', [ 'day_date' => $day_date ] ); ?>
29
 
30
  <?php foreach( $events as $event ) : ?>
14
  */
15
 
16
  $events = $day['events'];
17
+ if ( ! empty( $day['multiday_events'] ) ) {
18
+ $events = array_filter( array_merge( $day['multiday_events'], $events ) );
19
+ }
20
  $mobile_day_id = 'tribe-events-calendar-mobile-day-' . $day['year_number'] . '-' . $day['month_number'] . '-' . $day['day_number'];
21
 
22
  $classes = [ 'tribe-events-calendar-month-mobile-events__mobile-day' ];
27
  ?>
28
 
29
  <div <?php tribe_classes( $classes ); ?> id="<?php echo sanitize_html_class( $mobile_day_id ); ?>">
 
30
  <?php $this->template( 'month/mobile-events/mobile-day/day-marker', [ 'day_date' => $day_date ] ); ?>
31
 
32
  <?php foreach( $events as $event ) : ?>
src/views/v2/month/mobile-events/mobile-day/mobile-event.php CHANGED
@@ -9,11 +9,14 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
-
16
- $classes = [ 'tribe-events-calendar-month-mobile-events__mobile-event' ];
17
  $classes['tribe-events-calendar-month-mobile-events__mobile-event--featured'] = $event->featured;
18
  ?>
19
 
@@ -25,7 +28,7 @@ $classes['tribe-events-calendar-month-mobile-events__mobile-event--featured'] =
25
 
26
  <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/date', [ 'event' => $event ] ); ?>
27
  <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/title', [ 'event' => $event ] ); ?>
28
- <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/cta', [ 'event' => $event ] ); ?>
29
 
30
  </div>
31
  </article>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
+ $classes = get_post_class( [ 'tribe-events-calendar-month-mobile-events__mobile-event' ], $event->ID );
 
20
  $classes['tribe-events-calendar-month-mobile-events__mobile-event--featured'] = $event->featured;
21
  ?>
22
 
28
 
29
  <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/date', [ 'event' => $event ] ); ?>
30
  <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/title', [ 'event' => $event ] ); ?>
31
+ <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/cost', [ 'event' => $event ] ); ?>
32
 
33
  </div>
34
  </article>
src/views/v2/month/mobile-events/mobile-day/mobile-event/{cta.php → cost.php} RENAMED
@@ -1,15 +1,19 @@
1
  <?php
2
  /**
3
- * View: Month View - Mobile Event CTA
4
  *
5
  * Override this template in your own theme by creating a file at:
6
- * [your-theme]/tribe/events/views/v2/month/mobile-events/mobile-day/mobile-event/cta.php
7
  *
8
  * See more documentation about our views templating system.
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
 
@@ -21,10 +25,7 @@ if ( empty( $event->cost ) ) {
21
  return;
22
  }
23
  ?>
24
- <div class="tribe-events-c-small-cta tribe-events-calendar-month-mobile-events__mobile-event-cta">
25
- <a href="#" class="tribe-events-c-small-cta__link tribe-common-cta tribe-common-cta--alt">
26
- <?php esc_html_e( 'Buy Now', 'the-events-calendar' ); ?>
27
- </a>
28
  <span class="tribe-events-c-small-cta__price">
29
  <?php echo esc_html( $event->cost ) ?>
30
  </span>
1
  <?php
2
  /**
3
+ * View: Month View - Mobile Event Cost
4
  *
5
  * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/month/mobile-events/mobile-day/mobile-event/cost.php
7
  *
8
  * See more documentation about our views templating system.
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
 
25
  return;
26
  }
27
  ?>
28
+ <div class="tribe-events-c-small-cta tribe-common-b3 tribe-events-calendar-month-mobile-events__mobile-event-cost">
 
 
 
29
  <span class="tribe-events-c-small-cta__price">
30
  <?php echo esc_html( $event->cost ) ?>
31
  </span>
src/views/v2/month/mobile-events/mobile-day/mobile-event/date.php CHANGED
@@ -9,40 +9,42 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  */
 
18
 
19
  $time_format = tribe_get_time_format();
20
  ?>
21
  <div class="tribe-events-calendar-month-mobile-events__mobile-event-datetime tribe-common-b2">
22
  <?php if ( ! empty( $event->featured ) ) : ?>
23
  <em
24
- class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured tribe-common-svgicon tribe-common-svgicon--featured"
25
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ) ?>"
26
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ) ?>"
27
  >
28
  </em>
 
 
 
29
  <?php endif; ?>
30
-
31
- <?php // @todo @fe this should be moved to PRO. ?>
32
- <?php if ( ! empty( $event->recurring ) ) : ?>
33
- <em
34
- class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-recurring tribe-common-svgicon tribe-common-svgicon--recurring"
35
- aria-label="<?php esc_attr_e( 'Recurring', 'the-events-calendar' ) ?>"
36
- title="<?php esc_attr_e( 'Recurring', 'the-events-calendar' ) ?>"
37
- >
38
- </em>
 
 
 
 
 
39
  <?php endif; ?>
40
-
41
- <time datetime="<?php echo esc_attr( $event->dates->start->format( 'H:i' ) ) ?>">
42
- <?php echo esc_html( $event->dates->start->format( $time_format ) ) ?>
43
- </time>
44
- <span class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-separator"> - </span>
45
- <time datetime="<?php echo esc_attr($event->dates->end->format( 'H:i' )) ?>">
46
- <?php echo esc_html( $event->dates->end->format( $time_format ) ) ?>
47
- </time>
48
  </div>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event() For the format of the event object.
17
  */
18
+ use Tribe__Date_Utils as Dates;
19
 
20
  $time_format = tribe_get_time_format();
21
  ?>
22
  <div class="tribe-events-calendar-month-mobile-events__mobile-event-datetime tribe-common-b2">
23
  <?php if ( ! empty( $event->featured ) ) : ?>
24
  <em
25
+ class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon tribe-common-svgicon tribe-common-svgicon--featured"
26
  aria-label="<?php esc_attr_e( 'Featured', 'the-events-calendar' ) ?>"
27
  title="<?php esc_attr_e( 'Featured', 'the-events-calendar' ) ?>"
28
  >
29
  </em>
30
+ <span class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text">
31
+ <?php esc_html_e( 'Featured', 'the-events-calendar' ); ?>
32
+ </span>
33
  <?php endif; ?>
34
+ <?php if ( $event->all_day ) : ?>
35
+ <time datetime="<?php echo esc_attr( $event->dates->start->format( Dates::DBDATEFORMAT ) ) ?>">
36
+ <?php esc_html_e( 'All day', 'the-events-calendar' ); ?>
37
+ </time>
38
+ <?php else: ?>
39
+ <time datetime="<?php echo esc_attr( $event->dates->start->format( 'H:i' ) ) ?>">
40
+ <?php echo esc_html( $event->dates->start->format( $time_format ) ) ?>
41
+ </time>
42
+ <span class="tribe-events-calendar-month-mobile-events__mobile-event-datetime-separator">
43
+ <?php echo esc_html( tribe_get_option( 'timeRangeSeparator', ' - ' ) ); ?>
44
+ </span>
45
+ <time datetime="<?php echo esc_attr( $event->dates->end->format( 'H:i' ) ) ?>">
46
+ <?php echo esc_html( $event->dates->end->format( $time_format ) ) ?>
47
+ </time>
48
  <?php endif; ?>
49
+ <?php $this->template( 'month/mobile-events/mobile-day/mobile-event/date/meta', [ 'event' => $event ] ); ?>
 
 
 
 
 
 
 
50
  </div>
src/views/v2/month/mobile-events/mobile-day/mobile-event/date/meta.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Month View - Mobile Event Meta
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/views/v2/month/mobile-events/mobile-day/mobile-event/date/meta.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link {INSERT_ARTCILE_LINK_HERE}
11
+ *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
+ */
src/views/v2/month/mobile-events/mobile-day/mobile-event/featured-image.php CHANGED
@@ -9,14 +9,15 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
 
 
 
 
13
  *
14
  */
15
 
16
- // @todo @fe: use template tags for images here
17
- // @todo @fe use srcset here?
18
-
19
- if ( ! $event->featured || empty( $event->thumbnail->full->url ) ) {
20
  return;
21
  }
22
 
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
+ *
14
+ * @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
15
+ *
16
+ * @see tribe_get_event() For the format of the event object.
17
  *
18
  */
19
 
20
+ if ( ! $event->featured || ! $event->thumbnail->exists ) {
 
 
 
21
  return;
22
  }
23
 
src/views/v2/month/mobile-events/mobile-day/mobile-event/title.php CHANGED
@@ -9,29 +9,23 @@
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
- * @version 4.9.4
13
  *
14
  * @var WP_Post $event The event post object, decorated with custom properties from the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event()
17
  */
18
 
19
- $classes = [ 'tribe-events-calendar-month-mobile-events__mobile-event-title' ];
20
-
21
- if ( $event->featured ) {
22
- $classes[] = 'tribe-common-h6';
23
- } else {
24
- $classes[] = 'tribe-common-h8';
25
- }
26
 
27
  ?>
28
  <h3 <?php tribe_classes( $classes ); ?>>
29
  <a
30
  href="<?php echo esc_url( $event->permalink ) ?>"
31
- title="<?php echo esc_attr( $event->post_title ) ?>"
32
  rel="bookmark"
33
  class="tribe-events-calendar-month-mobile-events__mobile-event-title-link tribe-common-anchor"
34
  >
35
- <?php echo get_the_title( $event ) ?>
36
  </a>
37
  </h3>
9
  *
10
  * @link {INSERT_ARTCILE_LINK_HERE}
11
  *
12
+ * @version 4.9.9
13
  *
14
  * @var WP_Post $event The event post object, decorated with custom properties from the `tribe_get_event` function.
15
  *
16
  * @see tribe_get_event()
17
  */
18
 
19
+ $classes = [ 'tribe-events-calendar-month-mobile-events__mobile-event-title', 'tribe-common-h8' ];
 
 
 
 
 
 
20
 
21
  ?>
22
  <h3 <?php tribe_classes( $classes ); ?>>
23
  <a
24
  href="<?php echo esc_url( $event->permalink ) ?>"
25
+ title="<?php echo esc_attr( get_the_title( $event->ID ) ) ?>"
26
  rel="bookmark"
27
  class="tribe-events-calendar-month-mobile-events__mobile-event-title-link tribe-common-anchor"
28
  >
29
+ <?php echo get_the_title( $event->ID ) ?>
30
  </a>
31
  </h3>
src/views/v2/month/nav.php CHANGED
@@ -24,19 +24,19 @@
24
  <ul class="tribe-events-c-nav__list">
25
  <?php
26
  if ( ! empty( $prev_url ) ) {
27
- $this->template( 'month/nav/prev', [ 'label' => __( 'May', 'the-events-calendar' ), 'link' => $prev_url ] );
28
  } else {
29
- $this->template( 'month/nav/prev-disabled', [ 'label' => __( 'May', 'the-events-calendar' ) ] );
30
  }
31
  ?>
32
 
33
- <?php $this->template( 'month/nav/today', [ 'link' => '#' ] ) ?>
34
 
35
  <?php
36
  if ( ! empty( $next_url ) ) {
37
- $this->template( 'month/nav/next', [ 'label' => __( 'July', 'the-events-calendar' ), 'link' => $next_url ] );
38
  } else {
39
- $this->template( 'month/nav/next-disabled', [ 'label' => __( 'July', 'the-events-calendar' ) ] );
40
  }
41
  ?>
42
  </ul>
24
  <ul class="tribe-events-c-nav__list">
25
  <?php
26
  if ( ! empty( $prev_url ) ) {
27
+ $this->template( 'month/nav/prev', [ 'label' => esc_html( $prev_label ), 'link' => $prev_url ] );
28
  } else {
29
+ $this->template( 'month/nav/prev-disabled', [ 'label' => esc_html( $prev_label ) ] );
30
  }
31
  ?>
32
 
33
+ <?php $this->template( 'month/nav/today', [ 'link' => tribe_events_get_url( [ 'eventDisplay' => 'month' ] ) ] ) ?>
34
 
35
  <?php
36
  if ( ! empty( $next_url ) ) {
37
+ $this->template( 'month/nav/next', [ 'label' => esc_html( $next_label ), 'link' => $next_url ] );
38
  } else {
39
+ $this->template( 'month/nav/next-disabled', [ 'label' => esc_html( $next_label ) ] );
40
  }
41
  ?>
42
  </ul>
the-events-calendar.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: The Events Calendar
4
  * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
- * Version: 4.9.8
6
  * Author: Modern Tribe, Inc.
7
  * Author URI: http://m.tri.be/1x
8
  * Text Domain: the-events-calendar
2
  /**
3
  * Plugin Name: The Events Calendar
4
  * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
+ * Version: 4.9.9
6
  * Author: Modern Tribe, Inc.
7
  * Author URI: http://m.tri.be/1x
8
  * Text Domain: the-events-calendar
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit01d175bc66440a1ca0e02d5cadfc6dd6::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit835d80f4d186972c9641651e9239eb92::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -6,6 +6,8 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
 
9
  'Tribe\\Events\\Service_Providers\\Context' => $baseDir . '/src/Tribe/Service_Providers/Context.php',
10
  'Tribe\\Events\\Views\\V2\\Assets' => $baseDir . '/src/Tribe/Views/V2/Assets.php',
11
  'Tribe\\Events\\Views\\V2\\ExtendingViewTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/ExtendingViewTest.php',
@@ -18,39 +20,41 @@ return array(
18
  'Tribe\\Events\\Views\\V2\\Kitchen_Sink' => $baseDir . '/src/Tribe/Views/V2/Kitchen_Sink.php',
19
  'Tribe\\Events\\Views\\V2\\Manager' => $baseDir . '/src/Tribe/Views/V2/Manager.php',
20
  'Tribe\\Events\\Views\\V2\\ManagerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/ManagerTest.php',
 
21
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/NavTest.php',
22
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\NextTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/NextTest.php',
23
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Next_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Next_DisabledTest.php',
24
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\PrevTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/PrevTest.php',
25
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Prev_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Prev_DisabledTest.php',
 
26
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/NavTest.php',
27
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\NextTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/NextTest.php',
28
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Next_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Next_DisabledTest.php',
29
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\PrevTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/PrevTest.php',
30
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Prev_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Prev_DisabledTest.php',
31
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_BodyTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_BodyTest.php',
32
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\DayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/DayTest.php',
33
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_EventsTest.php',
34
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_EventTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_EventTest.php',
35
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\DateTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/DateTest.php',
36
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Featured_ImageTest.php',
37
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TitleTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/TitleTest.php',
38
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TooltipTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/TooltipTest.php',
39
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\CtaTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/CtaTest.php',
40
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\DescriptionTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/DescriptionTest.php',
41
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/Featured_ImageTest.php',
42
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\More_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/More_EventsTest.php',
43
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Multiday_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Multiday_EventsTest.php',
44
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_HeaderTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_HeaderTest.php',
45
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_EventsTest.php',
46
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_DayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_DayTest.php',
47
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Day_MarkerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Day_MarkerTest.php',
48
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_EventTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_EventTest.php',
49
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\CtaTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/CtaTest.php',
50
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\DateTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/DateTest.php',
51
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/Featured_ImageTest.php',
52
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\TitleTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/TitleTest.php',
53
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/NavTest.php',
54
  'Tribe\\Events\\Views\\V2\\Query\\Abstract_Query_Controller' => $baseDir . '/src/Tribe/Views/V2/Query/Abstract_Query_Controller.php',
55
  'Tribe\\Events\\Views\\V2\\Query\\ControllerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Query/ControllerTest.php',
56
  'Tribe\\Events\\Views\\V2\\Query\\Event_Query_Controller' => $baseDir . '/src/Tribe/Views/V2/Query/Event_Query_Controller.php',
@@ -102,7 +106,7 @@ return array(
102
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthCalendarHeaderTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthCalendarHeaderTest.php',
103
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthDayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthDayTest.php',
104
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthEventMultidayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthEventMultidayTest.php',
105
- 'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\Tooltip\\MonthTooltipCTATest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/Tooltip/MonthTooltipCTATest.php',
106
  'Tribe\\Events\\Views\\V2\\Views\\List_View' => $baseDir . '/src/Tribe/Views/V2/Views/List_View.php',
107
  'Tribe\\Events\\Views\\V2\\Views\\List_ViewTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Views/List_ViewTest.php',
108
  'Tribe\\Events\\Views\\V2\\Views\\Month_View' => $baseDir . '/src/Tribe/Views/V2/Views/Month_View.php',
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
+ 'Tribe\\Events\\Models\\Post_Types\\Event' => $baseDir . '/src/Tribe/Models/Post_Types/Event.php',
10
+ 'Tribe\\Events\\Models\\Post_Types\\Venue' => $baseDir . '/src/Tribe/Models/Post_Types/Venue.php',
11
  'Tribe\\Events\\Service_Providers\\Context' => $baseDir . '/src/Tribe/Service_Providers/Context.php',
12
  'Tribe\\Events\\Views\\V2\\Assets' => $baseDir . '/src/Tribe/Views/V2/Assets.php',
13
  'Tribe\\Events\\Views\\V2\\ExtendingViewTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/ExtendingViewTest.php',
20
  'Tribe\\Events\\Views\\V2\\Kitchen_Sink' => $baseDir . '/src/Tribe/Views/V2/Kitchen_Sink.php',
21
  'Tribe\\Events\\Views\\V2\\Manager' => $baseDir . '/src/Tribe/Views/V2/Manager.php',
22
  'Tribe\\Events\\Views\\V2\\ManagerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/ManagerTest.php',
23
+ 'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Event\\CostTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Event/CostTest.php',
24
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/NavTest.php',
25
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\NextTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/NextTest.php',
26
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Next_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Next_DisabledTest.php',
27
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\PrevTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/PrevTest.php',
28
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Prev_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Prev_DisabledTest.php',
29
+ 'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Event\\CostTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Event/CostTest.php',
30
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/NavTest.php',
31
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\NextTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/NextTest.php',
32
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Next_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Next_DisabledTest.php',
33
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\PrevTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/PrevTest.php',
34
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Prev_DisabledTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Prev_DisabledTest.php',
35
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_BodyTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_BodyTest.php',
36
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\DayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/DayTest.php',
37
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_EventsTest.php',
38
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_EventTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_EventTest.php',
39
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\DateTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/DateTest.php',
40
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Featured_ImageTest.php',
41
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TitleTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/TitleTest.php',
42
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TooltipTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/TooltipTest.php',
43
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\CostTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/CostTest.php',
44
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\DescriptionTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/DescriptionTest.php',
45
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/Featured_ImageTest.php',
46
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\More_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/More_EventsTest.php',
47
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Multiday_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Multiday_EventsTest.php',
48
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_HeaderTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_HeaderTest.php',
49
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_EventsTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_EventsTest.php',
50
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_DayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_DayTest.php',
51
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Day_MarkerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Day_MarkerTest.php',
52
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_EventTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_EventTest.php',
53
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\CostTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/CostTest.php',
54
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\DateTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/DateTest.php',
55
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\Featured_ImageTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/Featured_ImageTest.php',
56
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\TitleTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/TitleTest.php',
57
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\NavTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/NavTest.php',
58
  'Tribe\\Events\\Views\\V2\\Query\\Abstract_Query_Controller' => $baseDir . '/src/Tribe/Views/V2/Query/Abstract_Query_Controller.php',
59
  'Tribe\\Events\\Views\\V2\\Query\\ControllerTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Query/ControllerTest.php',
60
  'Tribe\\Events\\Views\\V2\\Query\\Event_Query_Controller' => $baseDir . '/src/Tribe/Views/V2/Query/Event_Query_Controller.php',
106
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthCalendarHeaderTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthCalendarHeaderTest.php',
107
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthDayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthDayTest.php',
108
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthEventMultidayTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthEventMultidayTest.php',
109
+ 'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\Tooltip\\MonthTooltipCostTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/Tooltip/MonthTooltipCostTest.php',
110
  'Tribe\\Events\\Views\\V2\\Views\\List_View' => $baseDir . '/src/Tribe/Views/V2/Views/List_View.php',
111
  'Tribe\\Events\\Views\\V2\\Views\\List_ViewTest' => $baseDir . '/tests/views_integration/Tribe/Events/Views/V2/Views/List_ViewTest.php',
112
  'Tribe\\Events\\Views\\V2\\Views\\Month_View' => $baseDir . '/src/Tribe/Views/V2/Views/Month_View.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit01d175bc66440a1ca0e02d5cadfc6dd6
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit01d175bc66440a1ca0e02d5cadfc6dd6
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit01d175bc66440a1ca0e02d5cadfc6dd6', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit01d175bc66440a1ca0e02d5cadfc6dd6', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit835d80f4d186972c9641651e9239eb92
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit835d80f4d186972c9641651e9239eb92', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit835d80f4d186972c9641651e9239eb92', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit835d80f4d186972c9641651e9239eb92::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -31,6 +31,8 @@ class ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6
31
  );
32
 
33
  public static $classMap = array (
 
 
34
  'Tribe\\Events\\Service_Providers\\Context' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/Context.php',
35
  'Tribe\\Events\\Views\\V2\\Assets' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Assets.php',
36
  'Tribe\\Events\\Views\\V2\\ExtendingViewTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/ExtendingViewTest.php',
@@ -43,39 +45,41 @@ class ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6
43
  'Tribe\\Events\\Views\\V2\\Kitchen_Sink' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Kitchen_Sink.php',
44
  'Tribe\\Events\\Views\\V2\\Manager' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Manager.php',
45
  'Tribe\\Events\\Views\\V2\\ManagerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/ManagerTest.php',
 
46
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/NavTest.php',
47
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\NextTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/NextTest.php',
48
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Next_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Next_DisabledTest.php',
49
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\PrevTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/PrevTest.php',
50
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Prev_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Prev_DisabledTest.php',
 
51
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/NavTest.php',
52
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\NextTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/NextTest.php',
53
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Next_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Next_DisabledTest.php',
54
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\PrevTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/PrevTest.php',
55
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Prev_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Prev_DisabledTest.php',
56
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_BodyTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_BodyTest.php',
57
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\DayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/DayTest.php',
58
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_EventsTest.php',
59
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_EventTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_EventTest.php',
60
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\DateTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/DateTest.php',
61
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Featured_ImageTest.php',
62
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TitleTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/TitleTest.php',
63
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TooltipTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/TooltipTest.php',
64
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\CtaTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/CtaTest.php',
65
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\DescriptionTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/DescriptionTest.php',
66
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/Featured_ImageTest.php',
67
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\More_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/More_EventsTest.php',
68
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_Body\\Day\\Multiday_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_Body/Day/Multiday_EventsTest.php',
69
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Calendar_HeaderTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Calendar_HeaderTest.php',
70
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_EventsTest.php',
71
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_DayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_DayTest.php',
72
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Day_MarkerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Day_MarkerTest.php',
73
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_EventTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_EventTest.php',
74
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\CtaTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/CtaTest.php',
75
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\DateTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/DateTest.php',
76
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/Featured_ImageTest.php',
77
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\Mobile_Events\\Mobile_Day\\Mobile_Event\\TitleTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/Mobile_Events/Mobile_Day/Mobile_Event/TitleTest.php',
78
- 'Tribe\\Events\\Views\\V2\\Partials\\Month\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month/NavTest.php',
79
  'Tribe\\Events\\Views\\V2\\Query\\Abstract_Query_Controller' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Query/Abstract_Query_Controller.php',
80
  'Tribe\\Events\\Views\\V2\\Query\\ControllerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Query/ControllerTest.php',
81
  'Tribe\\Events\\Views\\V2\\Query\\Event_Query_Controller' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Query/Event_Query_Controller.php',
@@ -127,7 +131,7 @@ class ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6
127
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthCalendarHeaderTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthCalendarHeaderTest.php',
128
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthDayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthDayTest.php',
129
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthEventMultidayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthEventMultidayTest.php',
130
- 'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\Tooltip\\MonthTooltipCTATest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/Tooltip/MonthTooltipCTATest.php',
131
  'Tribe\\Events\\Views\\V2\\Views\\List_View' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Views/List_View.php',
132
  'Tribe\\Events\\Views\\V2\\Views\\List_ViewTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Views/List_ViewTest.php',
133
  'Tribe\\Events\\Views\\V2\\Views\\Month_View' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Views/Month_View.php',
@@ -138,9 +142,9 @@ class ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6
138
  public static function getInitializer(ClassLoader $loader)
139
  {
140
  return \Closure::bind(function () use ($loader) {
141
- $loader->prefixLengthsPsr4 = ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6::$prefixLengthsPsr4;
142
- $loader->prefixDirsPsr4 = ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6::$prefixDirsPsr4;
143
- $loader->classMap = ComposerStaticInit01d175bc66440a1ca0e02d5cadfc6dd6::$classMap;
144
 
145
  }, null, ClassLoader::class);
146
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit835d80f4d186972c9641651e9239eb92
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
31
  );
32
 
33
  public static $classMap = array (
34
+ 'Tribe\\Events\\Models\\Post_Types\\Event' => __DIR__ . '/../..' . '/src/Tribe/Models/Post_Types/Event.php',
35
+ 'Tribe\\Events\\Models\\Post_Types\\Venue' => __DIR__ . '/../..' . '/src/Tribe/Models/Post_Types/Venue.php',
36
  'Tribe\\Events\\Service_Providers\\Context' => __DIR__ . '/../..' . '/src/Tribe/Service_Providers/Context.php',
37
  'Tribe\\Events\\Views\\V2\\Assets' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Assets.php',
38
  'Tribe\\Events\\Views\\V2\\ExtendingViewTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/ExtendingViewTest.php',
45
  'Tribe\\Events\\Views\\V2\\Kitchen_Sink' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Kitchen_Sink.php',
46
  'Tribe\\Events\\Views\\V2\\Manager' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Manager.php',
47
  'Tribe\\Events\\Views\\V2\\ManagerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/ManagerTest.php',
48
+ 'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Event\\CostTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Event/CostTest.php',
49
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/NavTest.php',
50
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\NextTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/NextTest.php',
51
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Next_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Next_DisabledTest.php',
52
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\PrevTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/PrevTest.php',
53
  'Tribe\\Events\\Views\\V2\\Partials\\Day_View\\Nav\\Prev_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Day_View/Nav/Prev_DisabledTest.php',
54
+ 'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Event\\CostTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Event/CostTest.php',
55
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/NavTest.php',
56
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\NextTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/NextTest.php',
57
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Next_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Next_DisabledTest.php',
58
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\PrevTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/PrevTest.php',
59
  'Tribe\\Events\\Views\\V2\\Partials\\List_View\\Nav\\Prev_DisabledTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/List_View/Nav/Prev_DisabledTest.php',
60
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_BodyTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_BodyTest.php',
61
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\DayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/DayTest.php',
62
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_EventsTest.php',
63
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_EventTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_EventTest.php',
64
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\DateTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/DateTest.php',
65
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Featured_ImageTest.php',
66
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TitleTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/TitleTest.php',
67
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\TooltipTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/TooltipTest.php',
68
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\CostTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/CostTest.php',
69
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\DescriptionTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/DescriptionTest.php',
70
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Calendar_Events\\Calendar_Event\\Tooltip\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Calendar_Events/Calendar_Event/Tooltip/Featured_ImageTest.php',
71
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\More_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/More_EventsTest.php',
72
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_Body\\Day\\Multiday_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_Body/Day/Multiday_EventsTest.php',
73
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Calendar_HeaderTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Calendar_HeaderTest.php',
74
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_EventsTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_EventsTest.php',
75
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_DayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_DayTest.php',
76
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Day_MarkerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Day_MarkerTest.php',
77
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_EventTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_EventTest.php',
78
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\CostTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/CostTest.php',
79
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\DateTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/DateTest.php',
80
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\Featured_ImageTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/Featured_ImageTest.php',
81
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\Mobile_Events\\Mobile_Day\\Mobile_Event\\TitleTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/Mobile_Events/Mobile_Day/Mobile_Event/TitleTest.php',
82
+ 'Tribe\\Events\\Views\\V2\\Partials\\Month_View\\NavTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Partials/Month_View/NavTest.php',
83
  'Tribe\\Events\\Views\\V2\\Query\\Abstract_Query_Controller' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Query/Abstract_Query_Controller.php',
84
  'Tribe\\Events\\Views\\V2\\Query\\ControllerTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Query/ControllerTest.php',
85
  'Tribe\\Events\\Views\\V2\\Query\\Event_Query_Controller' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Query/Event_Query_Controller.php',
131
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthCalendarHeaderTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthCalendarHeaderTest.php',
132
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthDayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthDayTest.php',
133
  'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\MonthEventMultidayTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/MonthEventMultidayTest.php',
134
+ 'Tribe\\Events\\Views\\V2\\Views\\HTML\\Month\\Tooltip\\MonthTooltipCostTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/HTML/Month/Tooltip/MonthTooltipCostTest.php',
135
  'Tribe\\Events\\Views\\V2\\Views\\List_View' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Views/List_View.php',
136
  'Tribe\\Events\\Views\\V2\\Views\\List_ViewTest' => __DIR__ . '/../..' . '/tests/views_integration/Tribe/Events/Views/V2/Views/List_ViewTest.php',
137
  'Tribe\\Events\\Views\\V2\\Views\\Month_View' => __DIR__ . '/../..' . '/src/Tribe/Views/V2/Views/Month_View.php',
142
  public static function getInitializer(ClassLoader $loader)
143
  {
144
  return \Closure::bind(function () use ($loader) {
145
+ $loader->prefixLengthsPsr4 = ComposerStaticInit835d80f4d186972c9641651e9239eb92::$prefixLengthsPsr4;
146
+ $loader->prefixDirsPsr4 = ComposerStaticInit835d80f4d186972c9641651e9239eb92::$prefixDirsPsr4;
147
+ $loader->classMap = ComposerStaticInit835d80f4d186972c9641651e9239eb92::$classMap;
148
 
149
  }, null, ClassLoader::class);
150
  }