WooCommerce Admin - Version 3.2.0

Version Description

Download this release

Release Info

Developer louwie17
Plugin Icon 128x128 WooCommerce Admin
Version 3.2.0
Comparing to
See all releases

Code changes from version 3.1.0 to 3.2.0

changelog.txt CHANGED
@@ -1,4 +1,55 @@
1
- == 3.1.0 01/25/2022 ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  - Fix: Fix Onboarding flow where extensions might not be selected and installed. #7979
4
  - Fix: Fix pagination issue with Analytics Coupons page. #8001
@@ -26,7 +77,7 @@
26
  - Tweak: OBW Update WC Pay label on recommended extensions list #8038
27
  - Enhancement: Add SlotFill areas to header #7805
28
 
29
- == 3.0.3 01/06/2022 ==
30
 
31
  - Fix: Fix blank payment gateway method in table when WooCommerce Payments is not supported. #8122
32
  - Add: Add woocommerce_allow_marketplace_suggestions filter to WooCommerce Payments payment method promotion. #8117
@@ -39,7 +90,7 @@
39
 
40
  - Do not initialize WC Pay promotion if spec is empty. #8087
41
 
42
- == 3.0.0 12/28/2021 ==
43
 
44
  - Fix: Fix an issue with the code that makes use of an invalid parameter with a PHP function. The use of this invalid parameter causes PHP 8 to throw a Fatal Error. #7855
45
  - Fix: Fix TaskList UI experiment enablement logic. #7930
@@ -66,19 +117,19 @@
66
  - Tweak: Add inbox_panel_view tracks event. #8002
67
  - Enhancement: Add tests to Subscriptions inclusion. #7804
68
 
69
- == 2.9.3 12/15/2021 ==
70
 
71
  - Fix: Correctly match payment gateways by id #7994
72
 
73
- == 2.9.2 12/13/2021 ==
74
 
75
  - Fix: Fix shipping task completion status #8031
76
 
77
- == 2.9.1 12/07/2021 ==
78
 
79
  - Fix: Fix shipping task not offering step 3. #7985
80
 
81
- == 2.9.0 11/30/2021 ==
82
 
83
  - Fix: Do not clear `current` class from the entire page when updating wp-admin's menu. #7773
84
  - Fix: Fix calendar not being dismissed when clicking outside. #7714
@@ -114,7 +165,7 @@
114
  - Tweak: Use page title Extensions for Marketplace and My Subscriptions pages. #7901
115
  - Performance: Only load default tasks during REST requests #7904
116
 
117
- == 2.8.0 11/02/2021 ==
118
 
119
  - Add: Store Profiler and Product task - include Subscriptions #7734
120
  - Fix: Fix issue where stock activity panel was not rendering correctly. #7817
@@ -136,11 +187,11 @@
136
  - Enhancement: Add experiment for promoting WooCommerce Payments in payment methods table. #7666
137
  - Performance: Only load tasks during rest api requests #7856
138
 
139
- == 2.7.2 10/11/2021 ==
140
 
141
  - Fix: Fix analytics crashing on daylight saving #7763
142
 
143
- == 2.7.1 10/01/2021 ==
144
 
145
  - Fix: Allow super admins all capabilities within WooCommerce Admin #7489
146
  - Fix: Fix end date for last periods #6584
@@ -174,11 +225,11 @@
174
  - Tweak: Update analytics card header text styles #6506
175
  - Enhancement: Align Table fields with the fallback on isNumeric. #7431
176
 
177
- == 2.6.5 09/22/2021 ==
178
 
179
  - Fix: Add filters to get new hidden options #7698
180
 
181
- == 2.6.4 09/21/2021 ==
182
 
183
  - Fix: Use installable extensions for local state versus free extensions. #7585
184
 
@@ -186,11 +237,11 @@
186
 
187
  == 2.6.2 09/14/2021 ==
188
 
189
- == 2.6.1 09/01/2021 ==
190
 
191
  - Update: Update marketing task completion logic. #7586
192
 
193
- == 2.6.0 08/31/2021 ==
194
 
195
  - Fix: Fixes action button mis-alignment within card footer. #7412
196
  - Fix: Fixing issues with ReportTable component data not populating correctly #7355
@@ -226,11 +277,11 @@
226
  - Tweak: Refactor on payment settings recommendations eligibility component for reuse. #7447
227
  - Tweak: Register wc-admin page for all users and handle authorization in client #7285
228
 
229
- == 2.5.1 08/16/2021 ==
230
 
231
  - Fix: Fix blank screen by setting a default value #7506
232
 
233
- == 2.5.0 08/09/2021 ==
234
 
235
  - Add: Add a delete option to completed tasks #7300
236
  - Add: Add unit tests around extended payment gateway controller #7133
@@ -295,24 +346,24 @@
295
  - Update: Remove facebook extension from onboarding extensions fallback list #7287
296
  - Performance: Add lazy loading by checking panel open status #7379
297
 
298
- == 2.4.4 07/21/2021 ==
299
 
300
  - Fix: Fix homepage stock panel regression in 2.4.3. #7389
301
 
302
- == 2.4.3 07/21/2021 ==
303
 
304
  - Fix: Add a new low stock products endpoint to improve the performance. #7377
305
 
306
- == 2.4.2 07/19/2021 ==
307
 
308
  - Fix: Add lazy loading by checking panel open status #7376
309
  - Fix: Add cache-control header to low stock REST API response #7364
310
 
311
- == 2.4.1 07/01/2021 ==
312
 
313
  - Fix: Fix and refactor explat polling to use setTimeout #7274
314
 
315
- == 2.4.0 06/29/2021 ==
316
 
317
  - Add: SlotFill to Abbreviated Notification panel #7091
318
  - Add: Consume remote payment methods on frontend #6867
@@ -410,7 +461,7 @@
410
  - Update: Remove original business step flow #7103
411
  - Update: WooCommerce Shipping copy on onboarding steps #7148
412
 
413
- == 2.3.1 05/24/2021 ==
414
 
415
  - Tweak: Store profiler Changed MailPoet's title and description #6990
416
  - Tweak: Adjust WC Pay supported countries #7048
@@ -418,7 +469,7 @@
418
  - Fix: A JS exception being thrown on the product tags page. #7053
419
  - Fix: Show Google Listing and Ads in installed marketing extensions section. #7029
420
 
421
- == 2.3.0 05/13/2021 ==
422
 
423
  - Add: Add plugin installer to allow installation of plugins via URL #6805
424
  - Add: Optional children prop to SummaryNumber component #6748
@@ -459,30 +510,30 @@
459
  - Update: Update payment gateway suggestions semantics to be more consistent #7130
460
  - Update: Adding setup required icon for nonconfigured payment methods #6811
461
 
462
- == 2.2.6 05/07/2021 ==
463
 
464
  - Fix: Address an issue with OBW when installing only WooCommerce payments and Jetpack. #6957
465
 
466
- == 2.2.5 05/07/2021 ==
467
 
468
  - Fix: Calling of get_script_asset_filename with extra parameter #6955
469
 
470
- == 2.2.4 05/07/2021 ==
471
 
472
  - Dev: Fix a bug where trying to load an asset registry causes a crash. #6951
473
 
474
- == 2.2.3 05/06/2021 ==
475
 
476
  - Dev: Do a git clean before the core release. #6945
477
 
478
- == 2.2.2 04/28/2021 ==
479
 
480
  - Fix: Disable the continue btn on OBW when requested are being made #6838
481
  - Tweak: Revert WCPay international support for bundled package #6901
482
  - Tweak: Store profiler Changed MailPoet's title and description #6886
483
  - Tweak: Update PayU logo #6829
484
 
485
- == 2.2.0 03/30/2021 ==
486
 
487
  - Fix: Check if features are currently being enabled #6688
488
  - Fix: Fix the activity panel toggle not closing on click #6679
@@ -558,26 +609,26 @@
558
  - Dev: Ensure script asset.php files are included in builds #6635
559
  - Dev: Ensure production script asset names don't include .min suffix #6681
560
 
561
- == 2.1.4 03/29/2021 ==
562
 
563
  - Fix: Adding New Zealand and Ireland to selective bundle option, previously missed. #6649
564
 
565
- == 2.1.3 03/14/2021 ==
566
 
567
  - Feature: Increase target audience for business feature step. #6508
568
  - Fix: Correct a bug where the JP connection flow would not happen when installing JP in the OBW. #6521
569
  - Fix: Add customer name column to CSV export #6556
570
 
571
- == 2.1.2 03/10/2021 ==
572
 
573
  - Fix: Add guard to "Deactivate Plugin" note handlers to prevent fatal error. #6532
574
  - Fix: Crash of Analytics > Settings page when Gutenberg is installed. #6540
575
 
576
- == 2.1.1 03/04/2021 ==
577
 
578
  - Fix: Restore missing Correct the Klarna slug #6440
579
 
580
- == 2.1.0 03/04/2021 ==
581
 
582
  - Dev: Allow highlight tooltip to use body tag as parent. #6309
583
  - Dev: Remove Google fonts and material icons. #6343
@@ -627,15 +678,15 @@
627
  - Enhancement: override wpbody styles when nav present #6354
628
  - Enhancement: Move favorited menu items to primary menu #6290
629
 
630
- == 2.0.3 03/10/2021 ==
631
 
632
  - Fix: Crash of Analytics > Settings page when Gutenberg is installed. #6540
633
 
634
- == 2.0.2 05/25/2021 ==
635
 
636
  - Fix: Correct the Klarna slug #6440
637
 
638
- == 2.0.0 02/05/2021 ==
639
 
640
  - Tweak: Bump minimum supported version of PHP to 7.0. #6046
641
  - Tweak: update the content and timing of the NeedSomeInspiration note. #6076
@@ -659,7 +710,7 @@
659
  - Dev: Remove old debug code for connecting to Calypso / Wordpress.com. #6097
660
  - Dev: Allow highlight tooltip to use body tag as parent. #6309
661
 
662
- == 1.9.0 01/15/2021 ==
663
 
664
  - Fix: Add Customer Type column to the Orders report table. #5820
665
  - Fix: Product exclusion filter on Orders Report.
@@ -692,21 +743,21 @@
692
  - Add: Note for users coming from Calypso. #6030
693
  - Add: Manage activity from home screen inbox message. #6072
694
 
695
- == 1.8.3 01/05/2021 ==
696
 
697
  - Fix: Compile the debug module so it can be used in older browsers like IE11. #5987
698
 
699
- == 1.8.2 12/22/2020 ==
700
 
701
  - Fix: Completed tasks tracking causing infinite loop #5941
702
  - Fix: Remove Navigation access #5940
703
 
704
- == 1.8.1 12/15/2020 ==
705
 
706
  - Fix: Product exclusion filter on Orders Report.
707
  - Fix: Typo in Variation Stats DataStore context filter value. #5784
708
 
709
- == 1.8.0 12/07/2020 ==
710
 
711
  - Enhancement: Add "filter by variations in reports" inbox note. #5208
712
  - Enhancement: Tasks extensibility in Home Screen. #5794
@@ -742,7 +793,7 @@
742
  - Fix: Load wctracks to avoid fatal errors. #5645 #5638
743
  - Fix: Preventing desktopsized navigation placeholder from appearing on mobile during load. #5616
744
 
745
- == 1.7.0 11/11/2020 ==
746
 
747
  - Enhancement: Variations report. #5167
748
  - Enhancement: Add ability to toggle homescreen layouts. #5429
@@ -801,7 +852,7 @@
801
  - Dev: Rearrange the store management links under categories add filter woocommerce_admin_homescreen_quicklinks. #5476
802
  - Dev: Restyle the setup task list header to display incomplete tasks #5520
803
 
804
- == 1.6.2 10/16/2020 ==
805
 
806
  - Fix: Missing activity panels on ugraded sites #5400
807
  - Fix: Casting of onboarding profile data to array #5415
@@ -809,12 +860,12 @@
809
  - Fix: i18n of Performance Indicator strings #5405
810
  - Fix: Gutenberg 9.1.1 compat for empty data sets #5409
811
 
812
- == 1.6.1 10/13/2020 ==
813
 
814
  - Fix: Hide setup checklist shortcut when setup checklist skipped #5360
815
  - Fix: use of undefined function on WC < 4.0.0.
816
 
817
- == 1.6.0 10/09/2020 ==
818
 
819
  - Dev: Reviews wp.data store #4941
820
  - Dev: Notes wp.data store #4943
@@ -863,7 +914,7 @@
863
  - Fix: Search all variation attribute values #5141
864
  - Fix: Force float before addition in taxes #5149
865
 
866
- == 1.5.0 08/07/2020 ==
867
 
868
  - Dev: New notification
869
  - Dev: Enable tax calculation before redirecting to standard tax rates page. #4878
@@ -875,7 +926,7 @@
875
  - Fix: Use clipRule and fillRule props. #4889, part of #4864
876
  - Enhancement: Add eWAY to Payment Setup for AU/NZ Stores. #4947
877
 
878
- == 1.4.0 07/22/2020 ==
879
 
880
  - Fix: Update returning customer total to include customers whose first order was within the report date range #4430
881
  - Fix: Fix an error in the Analytics/Orders table when there is an order deleted directly from the database #4630
@@ -914,15 +965,15 @@
914
  - Dev: Customize webpack jsonpFunction to avoid potential collision with other Webpack bundles #4644 🎉 @aaemnnosttv
915
  - Dev: Update @wordpress/basestyles and replace deprecated variables #4759
916
 
917
- == 1.3.2 07/29/2020 ==
918
 
919
  - Fix: bug preventing saving user preferences on WP 5.3. #4869
920
 
921
- == 1.3.1 07/20/2020 ==
922
 
923
  - Fix: PHP Fatal errors when columns are missing from the Notes table. #4831
924
 
925
- == 1.3.0 07/08/2020 ==
926
 
927
  - Enhancement: Add Jetpack stats to performance indicatorts / homepage #4291
928
  - Enhancement: New "Store Management" quick links card on WooCommerce home screen. #4350
@@ -970,21 +1021,21 @@
970
  - Tweak: Remove duplicate/redundant inbox note after first order received. #4659
971
  - Tweak: Fix the embed page CSS so the top content sits better #4622
972
 
973
- == 1.2.4 06/11/2020 ==
974
 
975
  - Tweak: reduce asset filename length and remove tilde characters. #4535
976
  - Fix: RTL stylesheet loading for split code chunks. #4542
977
 
978
- == 1.2.3 05/22/2020 ==
979
 
980
  - Tweak: Updates to WooCommerce Payments in Setup Checklist #4293
981
 
982
- == 1.2.2 05/18/2020 ==
983
 
984
  - Fix: Respect tracking optin before new page load. #4368
985
  - Enhancement: Add Jetpack connection to plugin benefits step #4374
986
 
987
- == 1.2.0 05/18/2020 ==
988
 
989
  - Enhancement: Add onboarding payments note #4157
990
  - Enhancement: Marketing Inbox Note #4030
@@ -1015,20 +1066,20 @@
1015
  - Dev: Dynamic Currency with Context API #4027
1016
  - Dev: Remove Duplicate array entry #4049 🎉 @tivnet
1017
 
1018
- == 1.1.3 05/18/2020 ==
1019
 
1020
  - Tweak: Onboarding
1021
  - Fix: Respect tracking optin before new page load. #4368
1022
 
1023
  == 1.1.2 05/12/2020 ==
1024
 
1025
- == 1.1.1 05/05/2020 ==
1026
 
1027
  - Fix: Storefront should show at top of theme options in onboarding wizard. #4187
1028
  - Tweak: Remove Stripe autoconnect from payment task. #4164
1029
  - Tweak: Hide suggested extensions in Marketing Tab if opted out of "Marketplace Suggestions"
1030
 
1031
- == 1.1.0 04/23/2020 ==
1032
 
1033
  - Tweak: Added link to "go shopping" button #3712
1034
  - Tweak: Add PayFast payment gateway option for sites in South Africa #3738
@@ -1073,19 +1124,19 @@
1073
  - Dev: Handle orphaned order statuses in analytics settings. #4090
1074
  - Dev: Fix usage of WP_Error in nonglobal namespaces. #4115
1075
 
1076
- == 1.0.3 03/22/2020 ==
1077
 
1078
  - Fix: Stop calling protected has_satisfied_dependencies() on outdated plugin. #3938
1079
  - Fix: Rename image assets in OBW business details step. #3931
1080
  - Fix: Stop using WP Post store for Action Scheduler. #3936
1081
 
1082
- == 1.0.2 03/18/2020 ==
1083
 
1084
  - Enhancement: Onboarding
1085
  - Dev: Update prestart script so readme.txt stable tag is updated #3911
1086
  - Tweak: create database tables on an earlier hook to avoid conflicts with core WooCommerce. #3896
1087
 
1088
- == 1.0.1 03/12/2020 ==
1089
 
1090
  - Fix: Add Report Extension Example
1091
  - Fix: Product report sorting by SKU when some products don't have SKUs
@@ -1097,7 +1148,7 @@
1097
  - Dev: Fix failing tests after WC core merge.
1098
  - Dev: Bump WooCommerce tested up to tag
1099
 
1100
- == 1.0.0 03/05/2020 ==
1101
 
1102
  - Fix: Customers Report
1103
  - Fix: OBW Connect
@@ -1111,7 +1162,7 @@
1111
  - Fix: Tracking on migrated options #3828
1112
  - Dev: Onboarding
1113
 
1114
- == 0.26.1 02/26/2020 ==
1115
 
1116
  - Fix: Remove free text Search option when no query exists #3755
1117
  - Fix: StoreAlert
@@ -1122,7 +1173,7 @@
1122
  - Fix: Add deactivation hook to Package.php #3770
1123
  - Fix: Add active version functions #3772
1124
 
1125
- == 0.26.0 02/21/2020 ==
1126
 
1127
  - Fix: Warning in product data store when tax amount is nonnumeric. #3656
1128
  - Fix: Enable onboarding in production. #3680
@@ -1139,12 +1190,12 @@
1139
  - Dev: Travis tests on Github for release branch #3751
1140
  - Add: Deactivation note for feature plugin #3687
1141
 
1142
- == 0.25.1 02/07/2020 ==
1143
 
1144
  - Dev: Enable onboarding #3651 (Onboarding)
1145
  - Fix: Fix styling of search control in report table header and filters. #3603 (Analytics, Components, Packages)
1146
 
1147
- == 0.25.0 01/29/2020 ==
1148
 
1149
  - Fix: Onboarding
1150
  - Fix: Fix styling of search control in report table header and filters. #3603 (Analytics, Components, Packages)
@@ -1202,7 +1253,7 @@
1202
  - Bug: Onboarding
1203
  - Bug: Onboarding
1204
 
1205
- == 0.24.0 01/06/2020 ==
1206
 
1207
  - Bug: Add SelectControl debouncing and keyboard fixes #3507 (Components, Packages)
1208
  - Bug: Onboarding
@@ -1241,11 +1292,11 @@
1241
  - Tweak: Add/disable plugin filter #3361
1242
  - Enhancement: allow report cache layer to be turned off. #3434
1243
 
1244
- == 0.23.3 12/26/2019 ==
1245
 
1246
  - Fix: don't run database migrations on new installs. #3473
1247
 
1248
- == 0.23.2 12/19/2019 ==
1249
 
1250
  - Enhancement: allow filtering of hidden WP notices. #3391 (Activity Panel, Extensibility)
1251
  - Fix: error when trying to download report data. #3429 (Analytics)
@@ -1254,11 +1305,11 @@
1254
  - Fix: remove the header when user doesn't have required permissions #3386 (Activity Panel)
1255
  - Bug: Fix user data fields filter name. #3428 (Dashboard)
1256
 
1257
- == 0.23.1 12/08/2019 ==
1258
 
1259
  - Fix: undefined function error.
1260
 
1261
- == 0.23.0 12/06/2019 ==
1262
 
1263
  - Dev: Add currency extension #3328 (Packages)
1264
  - Dev: Packages
@@ -1290,7 +1341,7 @@
1290
  - Tweak: remove global settings dependency from Navigation package. #3294 (Components, Packages)
1291
  - Tweak: Search component
1292
 
1293
- == 0.22.0 11/13/2019 ==
1294
 
1295
  - Fix: Incorrect calculation of tax summary on Taxes screen. #3158 (Analytics)
1296
  - Fix: Correct product and coupon count on edited orders. #3103 (Analytics)
@@ -1306,7 +1357,7 @@
1306
  - Tweak: Field misalignment in product edit screen. #3145
1307
  - Task: Fix PHP linter errors. #3188
1308
 
1309
- == 0.21.0 10/30/2019 ==
1310
 
1311
  - Fix: report export format when generated serverside. #2987 (Analytics, Packages)
1312
  - Fix: Address discrepancies in Revenue totals between Analytics screens. #3095 (Analytics)
@@ -1321,12 +1372,12 @@
1321
  - Dev: Add the ability to create custom plugin builds #3044 (Build)
1322
  - Enhancement: add management link to Reviews panel. #3011 (Activity Panel)
1323
 
1324
- == 0.20.1 09/24/2019 ==
1325
 
1326
  - Fix: use category lookup id instead of term taxonomy id (#3027)
1327
  - Fix: Update order stats table status index length. (#3022)
1328
 
1329
- == 0.20.0 09/24/2019 ==
1330
 
1331
  - Dev: Fix issue #2992 (order number in orders panel) #2994
1332
  - Dev: Replace lodash isNaN() with native Number.isNaN() #2998 (Build, Packages)
@@ -1349,7 +1400,7 @@
1349
  - Performance: reduce JS bundle size. #2933 (Build)
1350
  - Bug: Fix conflict with Blocks 2.4 #2846
1351
 
1352
- == 0.19.0 09/24/2019 ==
1353
 
1354
  - Dev: Use upstream webpackrtlplugin #2870 (Build)
1355
  - Dev: Fix variable name typo #2922
@@ -1361,7 +1412,7 @@
1361
  - Tweak: change report charts filter name. #2843 (Components, Documentation, Packages)
1362
  - Bug: Fix chart type buttons misalignment #2871 (Components, Packages)
1363
 
1364
- == 0.18.0 08/28/2019 ==
1365
 
1366
  - Fix: Product in dropdown clickable in FF/Safari #2839 (Components, Packages) 👏 @cojennin
1367
  - Fix: gross order total calculation. #2817 (Analytics)
@@ -1379,7 +1430,7 @@
1379
  - Dev: Update List actionable items to be wrapped with Link #2779 (Components, Packages)
1380
  - Tweak: add empty dataset treatment for report tables. #2801 (Analytics, Components, Packages)
1381
 
1382
- == 0.17.0 08/15/2019 ==
1383
 
1384
  - Fix: chart data fetch/render over long time periods #2785 (Analytics)
1385
  - Fix: chart display when comparing categories. #2710 (Analytics)
@@ -1399,7 +1450,7 @@
1399
  - Bug: Only apply current submenu CSS reset on nonembed pages. #2687
1400
  - Dev: Add `wc_admin_get_feature_config` filter to feature config array. #2689
1401
 
1402
- == 0.16.0 07/24/2019 ==
1403
 
1404
  - Tweak: Change verbiage of feedback notification. #2677
1405
  - Dev: Update unit tests to work with PHPUnit 7+. #2678
@@ -1418,7 +1469,7 @@
1418
  - Task: Add priority 3 Tracks events #2638 (Components, Packages)
1419
  - Task: Add instructions for translating to contributing docs. #2618 (Documentation)
1420
 
1421
- == 0.15.0 07/11/2019 ==
1422
 
1423
  - Fix: Compare checkboxes in report tables #2571
1424
  - Fix: Use correct links in DevDocs. #2602 (Documentation)
@@ -1455,7 +1506,7 @@
1455
  - Tweak: fix some report endpoint default params. #2496 (REST API)
1456
  - Bug: Fix batch queue range bug. #2521
1457
 
1458
- == 0.14.0 06/24/2019 ==
1459
 
1460
  - Dev: Action Scheduler
1461
  - Dev: Fix Activity Panel being overlapped by editor toolbar #2446 (Activity Panel)
@@ -1478,15 +1529,15 @@
1478
  - Tweak: Reduce style dependencies on WP core, avoid errantly including WP core's Google Fonts. #2432 (Components)
1479
  - Task: Remove test menu from Orders panel #2438 (Activity Panel)
1480
 
1481
- == 0.13.2 06/13/2019 ==
1482
 
1483
  - Fix: Bump plugin version for database update.
1484
 
1485
- == 0.13.1 06/12/2019 ==
1486
 
1487
  - Fix: Exit deactivate early if WooCommerce not active. #2410
1488
 
1489
- == 0.13.0 06/12/2019 ==
1490
 
1491
  - Fix: Notes
1492
  - Fix: Double space at 191 row #2369 👏 @shoheitanaka
@@ -1529,7 +1580,7 @@
1529
  - Task: Remove second beta warning from readme #2362
1530
  - Task: Remove beta warning from readme. #2340
1531
 
1532
- == 0.12.0 05/14/2019 ==
1533
 
1534
  - Fix: dashboard issues #2194
1535
  - Fix: Dashboard
@@ -1561,7 +1612,7 @@
1561
  - Dev: Scroll to top of the table when navigating table pages #2051
1562
  - Dev: Add empty state for the Reviews panels #2124
1563
 
1564
- == 0.11.0 04/17/2019 ==
1565
 
1566
  - Dev: Extend report submenu items #2033
1567
  - Dev: Extension Examples #2018
@@ -1596,7 +1647,7 @@
1596
  - Enhancement: Scroll to top only when URL changes #1989
1597
  - Enhancement: Allow negative values in charts #1979
1598
 
1599
- == 0.10.0 04/02/2019 ==
1600
 
1601
  - Dev: Properly namespaced methods in wcadmin.php. props @ronakganatra9 #1804
1602
  - Dev: Changed textdomain to `woocommerceadmin` #1795
@@ -1655,7 +1706,7 @@
1655
  - Performance: Don't dispatch REST API requests when window/tab is hidden #1732
1656
  - Performance: Only check for unsnooze note on admin_init #1960
1657
 
1658
- == 0.8.0 02/28/2019 ==
1659
 
1660
  - Table Component: Reset search on compare
1661
  - Table Component: Fix search positioning in small viewports
1
+ == 3.2.0 02/22/2022 ==
2
+
3
+ - Fix: Adjusted task list logic to fix conflict between current and experimental task list. #8321
4
+ - Fix: changed email validation in Store Details onboarding task to more closely match PHP backend validation. #8197
5
+ - Fix: Disallow whitespace as the platform name input. #8090
6
+ - Fix: Ensure setup-wizard redirection on homescreen is stable. #8114
7
+ - Fix: Fix category report query returns invalid net sales. #8153
8
+ - Fix: Fix clicking the error message opens the dropdown. #8094
9
+ - Fix: Fix country/region selection not preserved in store details task. #8228
10
+ - Fix: Fixed email address not being optional in OBW #8263
11
+ - Fix: Fix get_automated_tax_supported_countries doesn't include UK. #8180
12
+ - Fix: Fix incorrect date options when the "Default Date Range" is set from Analytics settings. #8189
13
+ - Fix: Fix incorrectly displayed note created date. #8179
14
+ - Fix: Fix incorrect screen reader text generated for data points on charts table. #8181
15
+ - Fix: Fix incorrect total count of downloads on the analytics download report. #8182
16
+ - Fix: Fix misaligned status column on order report. #8121
17
+ - Fix: Fix shipping rate error message overlaps with the 'Proceed' button. #8165
18
+ - Fix: Fix Shipping task sometimes skipping the set shipping costs step. #8260
19
+ - Fix: Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php. #8213
20
+ - Fix: Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue'. #8193
21
+ - Fix: Fix variations table product filter query. #8120
22
+ - Fix: Make sure free subscriptions does not show when cbd industry is selected. #8323
23
+ - Fix: Make sure WooCommerce Payments tasklist_payment_setup is triggered again. #8146
24
+ - Fix: Preserve HTML markup in server-side error messages received from sample product import request. #8173
25
+ - Fix: Remove border between email input and newsletter checkbox in OBW store details. #8148
26
+ - Fix: Reset "install_timestamp" if it's not numeric to avoid TypeError. #8100
27
+ - Fix: Truncate the long site title with an ellipses on the second line. #8112
28
+ - Add: Add additional store profiler track for the business details tab. #8265
29
+ - Add: Add countries data store #8119
30
+ - Add: Add extra tracking for plugin installation performance during onboarding. #8042
31
+ - Add: Adding tooltip to describe the lack of refund deductions from revenue summaries. #8187
32
+ - Add: Add localized validation to store address #8123
33
+ - Add: Add Magento migration note #8145
34
+ - Add: Add REST endpoint to retrieve address locales #8116
35
+ - Add: Add Spain to Square country suggestion list. #8210
36
+ - Add: Add wc_version property to the store profile onboarding tracks for view and complete steps. #8290
37
+ - Add: Change the reviews empty state panels logic #8147
38
+ - Update: Add custom error for store details email and allow continue #8110
39
+ - Update: Adding "allow-plugins" property for composer configuration. #8139
40
+ - Dev: Remove wc-admin-settings package and rename getSetting to getAdminSetting. #8057
41
+ - Tweak: Fix WCPay in core texts and promo slug #8296
42
+ - Tweak: Grow and center buttons in all WooCommerce ellipsis menu popover containers. #8168
43
+ - Tweak: Hide store address fields in regions that specify hidden #8172
44
+ - Tweak: Make activity panel badges margin consistent. #8152
45
+ - Tweak: Padding tweak for marketing tools plugin list headings. #8171
46
+ - Performance: Speed up customer syncing action. #8021
47
+ - Enhancement: Enhance report chart i18n support. #8129
48
+ - Enhancement: Make ExPlat request URL args filterable. Added woocommerce_explat_request_args filter. #8231
49
+ - Enhancement: Show MailPoet in Installed marketing extensions. #8091
50
+ - Enhancement: Update headercard to use filter to add ExPlat parameter #8233
51
+
52
+ == 3.1.0 01/25/2022 ==
53
 
54
  - Fix: Fix Onboarding flow where extensions might not be selected and installed. #7979
55
  - Fix: Fix pagination issue with Analytics Coupons page. #8001
77
  - Tweak: OBW Update WC Pay label on recommended extensions list #8038
78
  - Enhancement: Add SlotFill areas to header #7805
79
 
80
+ == 3.0.3 01/06/2022 ==
81
 
82
  - Fix: Fix blank payment gateway method in table when WooCommerce Payments is not supported. #8122
83
  - Add: Add woocommerce_allow_marketplace_suggestions filter to WooCommerce Payments payment method promotion. #8117
90
 
91
  - Do not initialize WC Pay promotion if spec is empty. #8087
92
 
93
+ == 3.0.0 12/28/2021 ==
94
 
95
  - Fix: Fix an issue with the code that makes use of an invalid parameter with a PHP function. The use of this invalid parameter causes PHP 8 to throw a Fatal Error. #7855
96
  - Fix: Fix TaskList UI experiment enablement logic. #7930
117
  - Tweak: Add inbox_panel_view tracks event. #8002
118
  - Enhancement: Add tests to Subscriptions inclusion. #7804
119
 
120
+ == 2.9.3 12/15/2021 ==
121
 
122
  - Fix: Correctly match payment gateways by id #7994
123
 
124
+ == 2.9.2 12/13/2021 ==
125
 
126
  - Fix: Fix shipping task completion status #8031
127
 
128
+ == 2.9.1 12/07/2021 ==
129
 
130
  - Fix: Fix shipping task not offering step 3. #7985
131
 
132
+ == 2.9.0 11/30/2021 ==
133
 
134
  - Fix: Do not clear `current` class from the entire page when updating wp-admin's menu. #7773
135
  - Fix: Fix calendar not being dismissed when clicking outside. #7714
165
  - Tweak: Use page title Extensions for Marketplace and My Subscriptions pages. #7901
166
  - Performance: Only load default tasks during REST requests #7904
167
 
168
+ == 2.8.0 11/02/2021 ==
169
 
170
  - Add: Store Profiler and Product task - include Subscriptions #7734
171
  - Fix: Fix issue where stock activity panel was not rendering correctly. #7817
187
  - Enhancement: Add experiment for promoting WooCommerce Payments in payment methods table. #7666
188
  - Performance: Only load tasks during rest api requests #7856
189
 
190
+ == 2.7.2 10/11/2021 ==
191
 
192
  - Fix: Fix analytics crashing on daylight saving #7763
193
 
194
+ == 2.7.1 10/01/2021 ==
195
 
196
  - Fix: Allow super admins all capabilities within WooCommerce Admin #7489
197
  - Fix: Fix end date for last periods #6584
225
  - Tweak: Update analytics card header text styles #6506
226
  - Enhancement: Align Table fields with the fallback on isNumeric. #7431
227
 
228
+ == 2.6.5 09/22/2021 ==
229
 
230
  - Fix: Add filters to get new hidden options #7698
231
 
232
+ == 2.6.4 09/21/2021 ==
233
 
234
  - Fix: Use installable extensions for local state versus free extensions. #7585
235
 
237
 
238
  == 2.6.2 09/14/2021 ==
239
 
240
+ == 2.6.1 09/01/2021 ==
241
 
242
  - Update: Update marketing task completion logic. #7586
243
 
244
+ == 2.6.0 08/31/2021 ==
245
 
246
  - Fix: Fixes action button mis-alignment within card footer. #7412
247
  - Fix: Fixing issues with ReportTable component data not populating correctly #7355
277
  - Tweak: Refactor on payment settings recommendations eligibility component for reuse. #7447
278
  - Tweak: Register wc-admin page for all users and handle authorization in client #7285
279
 
280
+ == 2.5.1 08/16/2021 ==
281
 
282
  - Fix: Fix blank screen by setting a default value #7506
283
 
284
+ == 2.5.0 08/09/2021 ==
285
 
286
  - Add: Add a delete option to completed tasks #7300
287
  - Add: Add unit tests around extended payment gateway controller #7133
346
  - Update: Remove facebook extension from onboarding extensions fallback list #7287
347
  - Performance: Add lazy loading by checking panel open status #7379
348
 
349
+ == 2.4.4 07/21/2021 ==
350
 
351
  - Fix: Fix homepage stock panel regression in 2.4.3. #7389
352
 
353
+ == 2.4.3 07/21/2021 ==
354
 
355
  - Fix: Add a new low stock products endpoint to improve the performance. #7377
356
 
357
+ == 2.4.2 07/19/2021 ==
358
 
359
  - Fix: Add lazy loading by checking panel open status #7376
360
  - Fix: Add cache-control header to low stock REST API response #7364
361
 
362
+ == 2.4.1 07/01/2021 ==
363
 
364
  - Fix: Fix and refactor explat polling to use setTimeout #7274
365
 
366
+ == 2.4.0 06/29/2021 ==
367
 
368
  - Add: SlotFill to Abbreviated Notification panel #7091
369
  - Add: Consume remote payment methods on frontend #6867
461
  - Update: Remove original business step flow #7103
462
  - Update: WooCommerce Shipping copy on onboarding steps #7148
463
 
464
+ == 2.3.1 05/24/2021 ==
465
 
466
  - Tweak: Store profiler Changed MailPoet's title and description #6990
467
  - Tweak: Adjust WC Pay supported countries #7048
469
  - Fix: A JS exception being thrown on the product tags page. #7053
470
  - Fix: Show Google Listing and Ads in installed marketing extensions section. #7029
471
 
472
+ == 2.3.0 05/13/2021 ==
473
 
474
  - Add: Add plugin installer to allow installation of plugins via URL #6805
475
  - Add: Optional children prop to SummaryNumber component #6748
510
  - Update: Update payment gateway suggestions semantics to be more consistent #7130
511
  - Update: Adding setup required icon for nonconfigured payment methods #6811
512
 
513
+ == 2.2.6 05/07/2021 ==
514
 
515
  - Fix: Address an issue with OBW when installing only WooCommerce payments and Jetpack. #6957
516
 
517
+ == 2.2.5 05/07/2021 ==
518
 
519
  - Fix: Calling of get_script_asset_filename with extra parameter #6955
520
 
521
+ == 2.2.4 05/07/2021 ==
522
 
523
  - Dev: Fix a bug where trying to load an asset registry causes a crash. #6951
524
 
525
+ == 2.2.3 05/06/2021 ==
526
 
527
  - Dev: Do a git clean before the core release. #6945
528
 
529
+ == 2.2.2 04/28/2021 ==
530
 
531
  - Fix: Disable the continue btn on OBW when requested are being made #6838
532
  - Tweak: Revert WCPay international support for bundled package #6901
533
  - Tweak: Store profiler Changed MailPoet's title and description #6886
534
  - Tweak: Update PayU logo #6829
535
 
536
+ == 2.2.0 03/30/2021 ==
537
 
538
  - Fix: Check if features are currently being enabled #6688
539
  - Fix: Fix the activity panel toggle not closing on click #6679
609
  - Dev: Ensure script asset.php files are included in builds #6635
610
  - Dev: Ensure production script asset names don't include .min suffix #6681
611
 
612
+ == 2.1.4 03/29/2021 ==
613
 
614
  - Fix: Adding New Zealand and Ireland to selective bundle option, previously missed. #6649
615
 
616
+ == 2.1.3 03/14/2021 ==
617
 
618
  - Feature: Increase target audience for business feature step. #6508
619
  - Fix: Correct a bug where the JP connection flow would not happen when installing JP in the OBW. #6521
620
  - Fix: Add customer name column to CSV export #6556
621
 
622
+ == 2.1.2 03/10/2021 ==
623
 
624
  - Fix: Add guard to "Deactivate Plugin" note handlers to prevent fatal error. #6532
625
  - Fix: Crash of Analytics > Settings page when Gutenberg is installed. #6540
626
 
627
+ == 2.1.1 03/04/2021 ==
628
 
629
  - Fix: Restore missing Correct the Klarna slug #6440
630
 
631
+ == 2.1.0 03/04/2021 ==
632
 
633
  - Dev: Allow highlight tooltip to use body tag as parent. #6309
634
  - Dev: Remove Google fonts and material icons. #6343
678
  - Enhancement: override wpbody styles when nav present #6354
679
  - Enhancement: Move favorited menu items to primary menu #6290
680
 
681
+ == 2.0.3 03/10/2021 ==
682
 
683
  - Fix: Crash of Analytics > Settings page when Gutenberg is installed. #6540
684
 
685
+ == 2.0.2 05/25/2021 ==
686
 
687
  - Fix: Correct the Klarna slug #6440
688
 
689
+ == 2.0.0 02/05/2021 ==
690
 
691
  - Tweak: Bump minimum supported version of PHP to 7.0. #6046
692
  - Tweak: update the content and timing of the NeedSomeInspiration note. #6076
710
  - Dev: Remove old debug code for connecting to Calypso / Wordpress.com. #6097
711
  - Dev: Allow highlight tooltip to use body tag as parent. #6309
712
 
713
+ == 1.9.0 01/15/2021 ==
714
 
715
  - Fix: Add Customer Type column to the Orders report table. #5820
716
  - Fix: Product exclusion filter on Orders Report.
743
  - Add: Note for users coming from Calypso. #6030
744
  - Add: Manage activity from home screen inbox message. #6072
745
 
746
+ == 1.8.3 01/05/2021 ==
747
 
748
  - Fix: Compile the debug module so it can be used in older browsers like IE11. #5987
749
 
750
+ == 1.8.2 12/22/2020 ==
751
 
752
  - Fix: Completed tasks tracking causing infinite loop #5941
753
  - Fix: Remove Navigation access #5940
754
 
755
+ == 1.8.1 12/15/2020 ==
756
 
757
  - Fix: Product exclusion filter on Orders Report.
758
  - Fix: Typo in Variation Stats DataStore context filter value. #5784
759
 
760
+ == 1.8.0 12/07/2020 ==
761
 
762
  - Enhancement: Add "filter by variations in reports" inbox note. #5208
763
  - Enhancement: Tasks extensibility in Home Screen. #5794
793
  - Fix: Load wctracks to avoid fatal errors. #5645 #5638
794
  - Fix: Preventing desktopsized navigation placeholder from appearing on mobile during load. #5616
795
 
796
+ == 1.7.0 11/11/2020 ==
797
 
798
  - Enhancement: Variations report. #5167
799
  - Enhancement: Add ability to toggle homescreen layouts. #5429
852
  - Dev: Rearrange the store management links under categories add filter woocommerce_admin_homescreen_quicklinks. #5476
853
  - Dev: Restyle the setup task list header to display incomplete tasks #5520
854
 
855
+ == 1.6.2 10/16/2020 ==
856
 
857
  - Fix: Missing activity panels on ugraded sites #5400
858
  - Fix: Casting of onboarding profile data to array #5415
860
  - Fix: i18n of Performance Indicator strings #5405
861
  - Fix: Gutenberg 9.1.1 compat for empty data sets #5409
862
 
863
+ == 1.6.1 10/13/2020 ==
864
 
865
  - Fix: Hide setup checklist shortcut when setup checklist skipped #5360
866
  - Fix: use of undefined function on WC < 4.0.0.
867
 
868
+ == 1.6.0 10/09/2020 ==
869
 
870
  - Dev: Reviews wp.data store #4941
871
  - Dev: Notes wp.data store #4943
914
  - Fix: Search all variation attribute values #5141
915
  - Fix: Force float before addition in taxes #5149
916
 
917
+ == 1.5.0 08/07/2020 ==
918
 
919
  - Dev: New notification
920
  - Dev: Enable tax calculation before redirecting to standard tax rates page. #4878
926
  - Fix: Use clipRule and fillRule props. #4889, part of #4864
927
  - Enhancement: Add eWAY to Payment Setup for AU/NZ Stores. #4947
928
 
929
+ == 1.4.0 07/22/2020 ==
930
 
931
  - Fix: Update returning customer total to include customers whose first order was within the report date range #4430
932
  - Fix: Fix an error in the Analytics/Orders table when there is an order deleted directly from the database #4630
965
  - Dev: Customize webpack jsonpFunction to avoid potential collision with other Webpack bundles #4644 🎉 @aaemnnosttv
966
  - Dev: Update @wordpress/basestyles and replace deprecated variables #4759
967
 
968
+ == 1.3.2 07/29/2020 ==
969
 
970
  - Fix: bug preventing saving user preferences on WP 5.3. #4869
971
 
972
+ == 1.3.1 07/20/2020 ==
973
 
974
  - Fix: PHP Fatal errors when columns are missing from the Notes table. #4831
975
 
976
+ == 1.3.0 07/08/2020 ==
977
 
978
  - Enhancement: Add Jetpack stats to performance indicatorts / homepage #4291
979
  - Enhancement: New "Store Management" quick links card on WooCommerce home screen. #4350
1021
  - Tweak: Remove duplicate/redundant inbox note after first order received. #4659
1022
  - Tweak: Fix the embed page CSS so the top content sits better #4622
1023
 
1024
+ == 1.2.4 06/11/2020 ==
1025
 
1026
  - Tweak: reduce asset filename length and remove tilde characters. #4535
1027
  - Fix: RTL stylesheet loading for split code chunks. #4542
1028
 
1029
+ == 1.2.3 05/22/2020 ==
1030
 
1031
  - Tweak: Updates to WooCommerce Payments in Setup Checklist #4293
1032
 
1033
+ == 1.2.2 05/18/2020 ==
1034
 
1035
  - Fix: Respect tracking optin before new page load. #4368
1036
  - Enhancement: Add Jetpack connection to plugin benefits step #4374
1037
 
1038
+ == 1.2.0 05/18/2020 ==
1039
 
1040
  - Enhancement: Add onboarding payments note #4157
1041
  - Enhancement: Marketing Inbox Note #4030
1066
  - Dev: Dynamic Currency with Context API #4027
1067
  - Dev: Remove Duplicate array entry #4049 🎉 @tivnet
1068
 
1069
+ == 1.1.3 05/18/2020 ==
1070
 
1071
  - Tweak: Onboarding
1072
  - Fix: Respect tracking optin before new page load. #4368
1073
 
1074
  == 1.1.2 05/12/2020 ==
1075
 
1076
+ == 1.1.1 05/05/2020 ==
1077
 
1078
  - Fix: Storefront should show at top of theme options in onboarding wizard. #4187
1079
  - Tweak: Remove Stripe autoconnect from payment task. #4164
1080
  - Tweak: Hide suggested extensions in Marketing Tab if opted out of "Marketplace Suggestions"
1081
 
1082
+ == 1.1.0 04/23/2020 ==
1083
 
1084
  - Tweak: Added link to "go shopping" button #3712
1085
  - Tweak: Add PayFast payment gateway option for sites in South Africa #3738
1124
  - Dev: Handle orphaned order statuses in analytics settings. #4090
1125
  - Dev: Fix usage of WP_Error in nonglobal namespaces. #4115
1126
 
1127
+ == 1.0.3 03/22/2020 ==
1128
 
1129
  - Fix: Stop calling protected has_satisfied_dependencies() on outdated plugin. #3938
1130
  - Fix: Rename image assets in OBW business details step. #3931
1131
  - Fix: Stop using WP Post store for Action Scheduler. #3936
1132
 
1133
+ == 1.0.2 03/18/2020 ==
1134
 
1135
  - Enhancement: Onboarding
1136
  - Dev: Update prestart script so readme.txt stable tag is updated #3911
1137
  - Tweak: create database tables on an earlier hook to avoid conflicts with core WooCommerce. #3896
1138
 
1139
+ == 1.0.1 03/12/2020 ==
1140
 
1141
  - Fix: Add Report Extension Example
1142
  - Fix: Product report sorting by SKU when some products don't have SKUs
1148
  - Dev: Fix failing tests after WC core merge.
1149
  - Dev: Bump WooCommerce tested up to tag
1150
 
1151
+ == 1.0.0 03/05/2020 ==
1152
 
1153
  - Fix: Customers Report
1154
  - Fix: OBW Connect
1162
  - Fix: Tracking on migrated options #3828
1163
  - Dev: Onboarding
1164
 
1165
+ == 0.26.1 02/26/2020 ==
1166
 
1167
  - Fix: Remove free text Search option when no query exists #3755
1168
  - Fix: StoreAlert
1173
  - Fix: Add deactivation hook to Package.php #3770
1174
  - Fix: Add active version functions #3772
1175
 
1176
+ == 0.26.0 02/21/2020 ==
1177
 
1178
  - Fix: Warning in product data store when tax amount is nonnumeric. #3656
1179
  - Fix: Enable onboarding in production. #3680
1190
  - Dev: Travis tests on Github for release branch #3751
1191
  - Add: Deactivation note for feature plugin #3687
1192
 
1193
+ == 0.25.1 02/07/2020 ==
1194
 
1195
  - Dev: Enable onboarding #3651 (Onboarding)
1196
  - Fix: Fix styling of search control in report table header and filters. #3603 (Analytics, Components, Packages)
1197
 
1198
+ == 0.25.0 01/29/2020 ==
1199
 
1200
  - Fix: Onboarding
1201
  - Fix: Fix styling of search control in report table header and filters. #3603 (Analytics, Components, Packages)
1253
  - Bug: Onboarding
1254
  - Bug: Onboarding
1255
 
1256
+ == 0.24.0 01/06/2020 ==
1257
 
1258
  - Bug: Add SelectControl debouncing and keyboard fixes #3507 (Components, Packages)
1259
  - Bug: Onboarding
1292
  - Tweak: Add/disable plugin filter #3361
1293
  - Enhancement: allow report cache layer to be turned off. #3434
1294
 
1295
+ == 0.23.3 12/26/2019 ==
1296
 
1297
  - Fix: don't run database migrations on new installs. #3473
1298
 
1299
+ == 0.23.2 12/19/2019 ==
1300
 
1301
  - Enhancement: allow filtering of hidden WP notices. #3391 (Activity Panel, Extensibility)
1302
  - Fix: error when trying to download report data. #3429 (Analytics)
1305
  - Fix: remove the header when user doesn't have required permissions #3386 (Activity Panel)
1306
  - Bug: Fix user data fields filter name. #3428 (Dashboard)
1307
 
1308
+ == 0.23.1 12/08/2019 ==
1309
 
1310
  - Fix: undefined function error.
1311
 
1312
+ == 0.23.0 12/06/2019 ==
1313
 
1314
  - Dev: Add currency extension #3328 (Packages)
1315
  - Dev: Packages
1341
  - Tweak: remove global settings dependency from Navigation package. #3294 (Components, Packages)
1342
  - Tweak: Search component
1343
 
1344
+ == 0.22.0 11/13/2019 ==
1345
 
1346
  - Fix: Incorrect calculation of tax summary on Taxes screen. #3158 (Analytics)
1347
  - Fix: Correct product and coupon count on edited orders. #3103 (Analytics)
1357
  - Tweak: Field misalignment in product edit screen. #3145
1358
  - Task: Fix PHP linter errors. #3188
1359
 
1360
+ == 0.21.0 10/30/2019 ==
1361
 
1362
  - Fix: report export format when generated serverside. #2987 (Analytics, Packages)
1363
  - Fix: Address discrepancies in Revenue totals between Analytics screens. #3095 (Analytics)
1372
  - Dev: Add the ability to create custom plugin builds #3044 (Build)
1373
  - Enhancement: add management link to Reviews panel. #3011 (Activity Panel)
1374
 
1375
+ == 0.20.1 09/24/2019 ==
1376
 
1377
  - Fix: use category lookup id instead of term taxonomy id (#3027)
1378
  - Fix: Update order stats table status index length. (#3022)
1379
 
1380
+ == 0.20.0 09/24/2019 ==
1381
 
1382
  - Dev: Fix issue #2992 (order number in orders panel) #2994
1383
  - Dev: Replace lodash isNaN() with native Number.isNaN() #2998 (Build, Packages)
1400
  - Performance: reduce JS bundle size. #2933 (Build)
1401
  - Bug: Fix conflict with Blocks 2.4 #2846
1402
 
1403
+ == 0.19.0 09/24/2019 ==
1404
 
1405
  - Dev: Use upstream webpackrtlplugin #2870 (Build)
1406
  - Dev: Fix variable name typo #2922
1412
  - Tweak: change report charts filter name. #2843 (Components, Documentation, Packages)
1413
  - Bug: Fix chart type buttons misalignment #2871 (Components, Packages)
1414
 
1415
+ == 0.18.0 08/28/2019 ==
1416
 
1417
  - Fix: Product in dropdown clickable in FF/Safari #2839 (Components, Packages) 👏 @cojennin
1418
  - Fix: gross order total calculation. #2817 (Analytics)
1430
  - Dev: Update List actionable items to be wrapped with Link #2779 (Components, Packages)
1431
  - Tweak: add empty dataset treatment for report tables. #2801 (Analytics, Components, Packages)
1432
 
1433
+ == 0.17.0 08/15/2019 ==
1434
 
1435
  - Fix: chart data fetch/render over long time periods #2785 (Analytics)
1436
  - Fix: chart display when comparing categories. #2710 (Analytics)
1450
  - Bug: Only apply current submenu CSS reset on nonembed pages. #2687
1451
  - Dev: Add `wc_admin_get_feature_config` filter to feature config array. #2689
1452
 
1453
+ == 0.16.0 07/24/2019 ==
1454
 
1455
  - Tweak: Change verbiage of feedback notification. #2677
1456
  - Dev: Update unit tests to work with PHPUnit 7+. #2678
1469
  - Task: Add priority 3 Tracks events #2638 (Components, Packages)
1470
  - Task: Add instructions for translating to contributing docs. #2618 (Documentation)
1471
 
1472
+ == 0.15.0 07/11/2019 ==
1473
 
1474
  - Fix: Compare checkboxes in report tables #2571
1475
  - Fix: Use correct links in DevDocs. #2602 (Documentation)
1506
  - Tweak: fix some report endpoint default params. #2496 (REST API)
1507
  - Bug: Fix batch queue range bug. #2521
1508
 
1509
+ == 0.14.0 06/24/2019 ==
1510
 
1511
  - Dev: Action Scheduler
1512
  - Dev: Fix Activity Panel being overlapped by editor toolbar #2446 (Activity Panel)
1529
  - Tweak: Reduce style dependencies on WP core, avoid errantly including WP core's Google Fonts. #2432 (Components)
1530
  - Task: Remove test menu from Orders panel #2438 (Activity Panel)
1531
 
1532
+ == 0.13.2 06/13/2019 ==
1533
 
1534
  - Fix: Bump plugin version for database update.
1535
 
1536
+ == 0.13.1 06/12/2019 ==
1537
 
1538
  - Fix: Exit deactivate early if WooCommerce not active. #2410
1539
 
1540
+ == 0.13.0 06/12/2019 ==
1541
 
1542
  - Fix: Notes
1543
  - Fix: Double space at 191 row #2369 👏 @shoheitanaka
1580
  - Task: Remove second beta warning from readme #2362
1581
  - Task: Remove beta warning from readme. #2340
1582
 
1583
+ == 0.12.0 05/14/2019 ==
1584
 
1585
  - Fix: dashboard issues #2194
1586
  - Fix: Dashboard
1612
  - Dev: Scroll to top of the table when navigating table pages #2051
1613
  - Dev: Add empty state for the Reviews panels #2124
1614
 
1615
+ == 0.11.0 04/17/2019 ==
1616
 
1617
  - Dev: Extend report submenu items #2033
1618
  - Dev: Extension Examples #2018
1647
  - Enhancement: Scroll to top only when URL changes #1989
1648
  - Enhancement: Allow negative values in charts #1979
1649
 
1650
+ == 0.10.0 04/02/2019 ==
1651
 
1652
  - Dev: Properly namespaced methods in wcadmin.php. props @ronakganatra9 #1804
1653
  - Dev: Changed textdomain to `woocommerceadmin` #1795
1706
  - Performance: Don't dispatch REST API requests when window/tab is hidden #1732
1707
  - Performance: Only check for unsnooze note on admin_init #1960
1708
 
1709
+ == 0.8.0 02/28/2019 ==
1710
 
1711
  - Table Component: Reset search on compare
1712
  - Table Component: Fix search positioning in small viewports
dist/app/index.js CHANGED
@@ -95,7 +95,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
95
  /******/
96
  /******/
97
  /******/ // mini-css-extract-plugin CSS loading
98
- /******/ var cssChunks = {"0":1,"3":1,"4":1,"5":1,"6":1,"7":1,"9":1,"11":1,"12":1,"14":1,"17":1,"25":1,"26":1,"31":1,"32":1,"34":1,"45":1,"47":1,"48":1,"49":1,"50":1,"52":1,"54":1};
99
  /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
100
  /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
101
  /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
@@ -259,7 +259,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
259
  /******/
260
  /******/
261
  /******/ // Load entry module and return exports
262
- /******/ return __webpack_require__(__webpack_require__.s = 282);
263
  /******/ })
264
  /************************************************************************/
265
  /******/ ({
@@ -284,7 +284,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
284
  if (false) { var throwOnDirectAccess, ReactIs; } else {
285
  // By explicitly using `prop-types` you are opting into new production behavior.
286
  // http://fb.me/prop-types-in-prod
287
- module.exports = __webpack_require__(48)();
288
  }
289
 
290
 
@@ -297,7 +297,7 @@ if (false) { var throwOnDirectAccess, ReactIs; } else {
297
 
298
  /***/ }),
299
 
300
- /***/ 102:
301
  /***/ (function(module, exports, __webpack_require__) {
302
 
303
  "use strict";
@@ -306,7 +306,7 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
306
 
307
  /***/ }),
308
 
309
- /***/ 104:
310
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
311
 
312
  "use strict";
@@ -347,14 +347,14 @@ function getUnapprovedReviews(select) {
347
 
348
  /***/ }),
349
 
350
- /***/ 105:
351
  /***/ (function(module, exports, __webpack_require__) {
352
 
353
  "use strict";
354
 
355
 
356
  if (true) {
357
- module.exports = __webpack_require__(130);
358
  } else {}
359
 
360
 
@@ -367,7 +367,7 @@ if (true) {
367
 
368
  /***/ }),
369
 
370
- /***/ 117:
371
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
372
 
373
  "use strict";
@@ -388,7 +388,7 @@ function _defineProperty(obj, key, value) {
388
  return obj;
389
  }
390
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
391
- var objectWithoutPropertiesLoose = __webpack_require__(22);
392
 
393
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
394
 
@@ -454,40 +454,40 @@ function Icon(_ref) {
454
 
455
  /***/ }),
456
 
457
- /***/ 118:
458
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
459
 
460
  "use strict";
461
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
462
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
463
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
464
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
465
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
466
- /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
467
- /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
468
  /**
469
  * External dependencies
470
  */
471
 
472
 
473
 
474
-
475
- const manageStock = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* getSetting */ "f"])('manageStock', 'no');
476
- const REPORTS_FILTER = 'woocommerce_admin_reports_list';
477
  /**
478
  * Internal dependencies
479
  */
480
 
481
- const RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 484)));
482
- const ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 480)));
483
- const VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 485)));
484
- const OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 486)));
485
- const CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, 482)));
486
- const CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(8)]).then(__webpack_require__.bind(null, 487)));
487
- const TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 488)));
488
- const DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 489)));
489
- const StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => __webpack_require__.e(/* import() | analytics-report-stock */ 14).then(__webpack_require__.bind(null, 481)));
490
- const CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["lazy"])(() => __webpack_require__.e(/* import() | analytics-report-customers */ 9).then(__webpack_require__.bind(null, 483)));
 
 
 
491
  /* harmony default export */ __webpack_exports__["a"] = (() => {
492
  const reports = [{
493
  report: 'revenue',
@@ -562,13 +562,20 @@ const CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["
562
 
563
  /***/ }),
564
 
565
- /***/ 119:
 
 
 
 
 
 
 
566
  /***/ (function(module, exports, __webpack_require__) {
567
 
568
  "use strict";
569
 
570
 
571
- var reactIs = __webpack_require__(105);
572
 
573
  /**
574
  * Copyright 2015, Yahoo! Inc.
@@ -673,14 +680,7 @@ module.exports = hoistNonReactStatics;
673
 
674
  /***/ }),
675
 
676
- /***/ 12:
677
- /***/ (function(module, exports) {
678
-
679
- (function() { module.exports = window["wc"]["navigation"]; }());
680
-
681
- /***/ }),
682
-
683
- /***/ 120:
684
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
685
 
686
  "use strict";
@@ -691,7 +691,7 @@ __webpack_require__.d(__webpack_exports__, "b", function() { return /* binding *
691
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ EmbedLayout; });
692
 
693
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
694
- var helpers_extends = __webpack_require__(36);
695
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
696
 
697
  // EXTERNAL MODULE: external ["wp","element"]
@@ -701,13 +701,13 @@ var external_wp_element_ = __webpack_require__(0);
701
  var external_wp_components_ = __webpack_require__(3);
702
 
703
  // EXTERNAL MODULE: external ["wp","compose"]
704
- var external_wp_compose_ = __webpack_require__(14);
705
 
706
  // EXTERNAL MODULE: external ["wp","data"]
707
  var external_wp_data_ = __webpack_require__(7);
708
 
709
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
710
- var inheritsLoose = __webpack_require__(25);
711
 
712
  // EXTERNAL MODULE: external "React"
713
  var external_React_ = __webpack_require__(5);
@@ -718,29 +718,29 @@ var prop_types = __webpack_require__(1);
718
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
719
 
720
  // EXTERNAL MODULE: ./node_modules/history/esm/history.js + 2 modules
721
- var esm_history = __webpack_require__(53);
722
 
723
  // EXTERNAL MODULE: ./node_modules/mini-create-react-context/dist/esm/index.js
724
- var esm = __webpack_require__(161);
725
 
726
  // EXTERNAL MODULE: ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js
727
- var tiny_invariant_esm = __webpack_require__(43);
728
 
729
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
730
- var esm_extends = __webpack_require__(23);
731
 
732
  // EXTERNAL MODULE: ./node_modules/path-to-regexp/index.js
733
- var path_to_regexp = __webpack_require__(162);
734
  var path_to_regexp_default = /*#__PURE__*/__webpack_require__.n(path_to_regexp);
735
 
736
  // EXTERNAL MODULE: ./node_modules/react-is/index.js
737
- var react_is = __webpack_require__(105);
738
 
739
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
740
- var objectWithoutPropertiesLoose = __webpack_require__(22);
741
 
742
  // EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
743
- var hoist_non_react_statics_cjs = __webpack_require__(119);
744
  var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
745
 
746
  // CONCATENATED MODULE: ./node_modules/react-router/esm/react-router.js
@@ -1407,14 +1407,11 @@ if (false) { var secondaryBuildName, initialBuildName, buildNames, react_router_
1407
  var external_lodash_ = __webpack_require__(4);
1408
 
1409
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
1410
- var lib = __webpack_require__(27);
1411
 
1412
  // EXTERNAL MODULE: external ["wc","navigation"]
1413
  var external_wc_navigation_ = __webpack_require__(12);
1414
 
1415
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
1416
- var build_module = __webpack_require__(13);
1417
-
1418
  // EXTERNAL MODULE: external ["wc","data"]
1419
  var external_wc_data_ = __webpack_require__(11);
1420
 
@@ -1422,16 +1419,16 @@ var external_wc_data_ = __webpack_require__(11);
1422
  var external_wc_tracks_ = __webpack_require__(16);
1423
 
1424
  // EXTERNAL MODULE: external ["wc","notices"]
1425
- var external_wc_notices_ = __webpack_require__(285);
1426
 
1427
  // EXTERNAL MODULE: external ["wp","plugins"]
1428
- var external_wp_plugins_ = __webpack_require__(54);
1429
 
1430
  // EXTERNAL MODULE: ./client/layout/style.scss
1431
- var layout_style = __webpack_require__(286);
1432
 
1433
  // EXTERNAL MODULE: external ["wp","hooks"]
1434
- var external_wp_hooks_ = __webpack_require__(31);
1435
 
1436
  // EXTERNAL MODULE: external ["wp","i18n"]
1437
  var external_wp_i18n_ = __webpack_require__(2);
@@ -1440,13 +1437,16 @@ var external_wp_i18n_ = __webpack_require__(2);
1440
  var external_wc_components_ = __webpack_require__(21);
1441
 
1442
  // EXTERNAL MODULE: ./client/analytics/report/get-reports.js
1443
- var get_reports = __webpack_require__(118);
1444
 
1445
  // EXTERNAL MODULE: ./client/dashboard/utils.js
1446
- var utils = __webpack_require__(64);
 
 
 
1447
 
1448
  // EXTERNAL MODULE: ./client/layout/NoMatch.tsx
1449
- var NoMatch = __webpack_require__(175);
1450
 
1451
  // CONCATENATED MODULE: ./client/layout/controller.js
1452
 
@@ -1461,7 +1461,6 @@ var NoMatch = __webpack_require__(175);
1461
 
1462
 
1463
 
1464
-
1465
  /**
1466
  * Internal dependencies
1467
  */
@@ -1469,6 +1468,7 @@ var NoMatch = __webpack_require__(175);
1469
 
1470
 
1471
 
 
1472
  const AnalyticsReport = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | analytics-report */ 6).then(__webpack_require__.bind(null, 622)));
1473
  const AnalyticsSettings = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | analytics-settings */ 17).then(__webpack_require__.bind(null, 633)));
1474
  const Dashboard = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | dashboard */ 25).then(__webpack_require__.bind(null, 623)));
@@ -1480,7 +1480,7 @@ const WCPaymentsWelcomePage = Object(external_wp_element_["lazy"])(() => __webpa
1480
  const PAGES_FILTER = 'woocommerce_admin_pages_list';
1481
  const getPages = () => {
1482
  const pages = [];
1483
- const initialBreadcrumbs = [['', Object(build_module["f" /* getSetting */])('woocommerceTranslation')]];
1484
  pages.push({
1485
  container: Homescreen,
1486
  path: '/',
@@ -1574,7 +1574,7 @@ const getPages = () => {
1574
  match
1575
  }) => {
1576
  // @todo This might need to be refactored to retreive groups via data store.
1577
- const settingsPages = Object(build_module["f" /* getSetting */])('settingsPages');
1578
  const page = settingsPages[match.params.page];
1579
 
1580
  if (!page) {
@@ -1727,13 +1727,16 @@ var classnames = __webpack_require__(6);
1727
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
1728
 
1729
  // EXTERNAL MODULE: external ["wp","htmlEntities"]
1730
- var external_wp_htmlEntities_ = __webpack_require__(28);
 
 
 
1731
 
1732
  // EXTERNAL MODULE: external ["wc","experimental"]
1733
  var external_wc_experimental_ = __webpack_require__(17);
1734
 
1735
  // EXTERNAL MODULE: ./client/header/style.scss
1736
- var header_style = __webpack_require__(287);
1737
 
1738
  // CONCATENATED MODULE: ./client/hooks/useIsScrolled.js
1739
  /**
@@ -1761,7 +1764,7 @@ function useIsScrolled() {
1761
  return isScrolled;
1762
  }
1763
  // EXTERNAL MODULE: ./client/header/utils.js
1764
- var header_utils = __webpack_require__(52);
1765
 
1766
  // CONCATENATED MODULE: ./client/header/index.js
1767
 
@@ -1791,7 +1794,7 @@ const Header = ({
1791
  var _pageTitleSlot$fills;
1792
 
1793
  const headerElement = Object(external_wp_element_["useRef"])(null);
1794
- const siteTitle = Object(build_module["f" /* getSetting */])('siteTitle', '');
1795
  const pageTitle = sections.slice(-1)[0];
1796
  const isScrolled = useIsScrolled();
1797
  let debounceTimer = null;
@@ -1889,10 +1892,10 @@ class notices_Notices extends external_wp_element_["Component"] {
1889
 
1890
  /* harmony default export */ var layout_notices = (notices_Notices);
1891
  // EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
1892
- var web_cjs = __webpack_require__(160);
1893
 
1894
  // EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
1895
- var snackbar = __webpack_require__(258);
1896
 
1897
  // CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
1898
 
@@ -1978,7 +1981,7 @@ function SnackbarList({
1978
 
1979
  /* harmony default export */ var list = (SnackbarList);
1980
  // EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
1981
- var transient_notices_style = __webpack_require__(292);
1982
 
1983
  // CONCATENATED MODULE: ./client/layout/transient-notices/index.js
1984
 
@@ -2087,16 +2090,16 @@ TransientNotices.propTypes = {
2087
  };
2088
  /* harmony default export */ var transient_notices = (TransientNotices);
2089
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js + 2 modules
2090
- var build_module_icon = __webpack_require__(117);
2091
 
2092
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/help.js
2093
- var library_help = __webpack_require__(503);
2094
 
2095
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
2096
- var external = __webpack_require__(504);
2097
 
2098
  // EXTERNAL MODULE: ./client/activity-panel/style.scss
2099
- var activity_panel_style = __webpack_require__(293);
2100
 
2101
  // CONCATENATED MODULE: ./client/activity-panel/icon-flag.js
2102
 
@@ -2126,19 +2129,19 @@ const IconFlag = () => Object(external_wp_element_["createElement"])("svg", {
2126
  fill: "#50575E"
2127
  })));
2128
  // EXTERNAL MODULE: ./client/inbox-panel/utils.js
2129
- var inbox_panel_utils = __webpack_require__(176);
2130
 
2131
  // CONCATENATED MODULE: ./client/activity-panel/unread-indicators.js
2132
  /**
2133
  * External dependencies
2134
  */
2135
 
2136
-
2137
  /**
2138
  * Internal dependencies
2139
  */
2140
 
2141
 
 
2142
  const UNREAD_NOTES_QUERY = {
2143
  page: 1,
2144
  per_page: external_wc_data_["QUERY_DEFAULTS"].pageSize,
@@ -2176,7 +2179,7 @@ function isNotesPanelVisible(select) {
2176
  return unreadNotesCount > 0;
2177
  }
2178
  function getLowStockCount() {
2179
- return Object(build_module["f" /* getSetting */])('lowStockCount', 0);
2180
  }
2181
  // CONCATENATED MODULE: ./client/activity-panel/tab/index.js
2182
 
@@ -2308,13 +2311,13 @@ const SetupProgress = () => Object(external_wp_element_["createElement"])("svg",
2308
  strokeLinecap: "round"
2309
  }));
2310
  // EXTERNAL MODULE: ./client/activity-panel/display-options/index.js + 3 modules
2311
- var display_options = __webpack_require__(170);
2312
 
2313
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
2314
- var library_close = __webpack_require__(500);
2315
 
2316
  // EXTERNAL MODULE: ./client/activity-panel/highlight-tooltip/style.scss
2317
- var highlight_tooltip_style = __webpack_require__(294);
2318
 
2319
  // CONCATENATED MODULE: ./client/activity-panel/highlight-tooltip/index.js
2320
 
@@ -2527,7 +2530,7 @@ HighlightTooltip.propTypes = {
2527
  };
2528
 
2529
  // EXTERNAL MODULE: external ["wp","dom"]
2530
- var external_wp_dom_ = __webpack_require__(92);
2531
 
2532
  // CONCATENATED MODULE: ./client/hooks/useFocusOnMount.js
2533
  /**
@@ -2870,13 +2873,13 @@ const Panel = ({
2870
  };
2871
  /* harmony default export */ var panel = (Panel);
2872
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/orders/utils.js
2873
- var orders_utils = __webpack_require__(70);
2874
 
2875
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/reviews/utils.js
2876
- var reviews_utils = __webpack_require__(104);
2877
 
2878
  // EXTERNAL MODULE: ./client/activity-panel/panels/inbox/abbreviated-notifications-panel.js + 2 modules
2879
- var abbreviated_notifications_panel = __webpack_require__(256);
2880
 
2881
  // CONCATENATED MODULE: ./client/activity-panel/activity-panel.js
2882
 
@@ -3049,7 +3052,7 @@ const ActivityPanel = ({
3049
  if (Object(utils["f" /* isWCAdmin */])(window.location.href)) {
3050
  Object(external_wc_navigation_["getHistory"])().push(Object(external_wc_navigation_["getNewPath"])({}, '/', {}));
3051
  } else {
3052
- window.location.href = Object(build_module["e" /* getAdminLink */])('admin.php?page=wc-admin');
3053
  }
3054
  }; // @todo Pull in dynamic unread status/count
3055
 
@@ -3068,7 +3071,7 @@ const ActivityPanel = ({
3068
  icon: Object(external_wp_element_["createElement"])(SetupProgress, null),
3069
  onClick: () => {
3070
  const currentLocation = window.location.href;
3071
- const homescreenLocation = Object(build_module["e" /* getAdminLink */])('admin.php?page=wc-admin'); // Don't navigate if we're already on the homescreen, this will cause an infinite loop
3072
 
3073
  if (currentLocation !== homescreenLocation) {
3074
  // Ensure that if the user is trying to get to the task list they can see it even if
@@ -3104,7 +3107,7 @@ const ActivityPanel = ({
3104
  }),
3105
  visible: query.page === 'wc-admin' && query.task === 'appearance',
3106
  onClick: () => {
3107
- window.open(Object(build_module["f" /* getSetting */])('siteUrl'));
3108
  Object(external_wc_tracks_["recordEvent"])('wcadmin_tasklist_previewsite', previewSiteBtnTrackData);
3109
  return null;
3110
  }
@@ -3241,7 +3244,7 @@ Object(external_wp_plugins_["registerPlugin"])('activity-panel-header-item', {
3241
  scope: 'woocommerce-admin'
3242
  });
3243
  // EXTERNAL MODULE: ./node_modules/gridicons/dist/cross-small.js
3244
- var cross_small = __webpack_require__(102);
3245
  var cross_small_default = /*#__PURE__*/__webpack_require__.n(cross_small);
3246
 
3247
  // CONCATENATED MODULE: ./client/lib/platform/index.js
@@ -3291,7 +3294,7 @@ const AppIcon = () => {
3291
  const PLAY_STORE_LINK = 'https://play.google.com/store/apps/details?id=com.woocommerce.android';
3292
  const TRACKING_EVENT_NAME = 'wcadmin_mobile_android_banner_click';
3293
  // EXTERNAL MODULE: ./client/mobile-banner/banner.scss
3294
- var banner = __webpack_require__(295);
3295
 
3296
  // CONCATENATED MODULE: ./client/mobile-banner/banner.js
3297
 
@@ -3413,7 +3416,7 @@ Object(external_wp_plugins_["registerPlugin"])('mobile-banner-header-item', {
3413
  scope: 'woocommerce-admin'
3414
  });
3415
  // EXTERNAL MODULE: ./client/navigation/style.scss
3416
- var navigation_style = __webpack_require__(296);
3417
 
3418
  // CONCATENATED MODULE: ./client/navigation/utils.ts
3419
  /**
@@ -3429,7 +3432,7 @@ const getFullUrl = url => {
3429
  return url;
3430
  }
3431
 
3432
- return Object(build_module["e" /* getAdminLink */])(url);
3433
  };
3434
  /**
3435
  * Get a default regex expression to match the path and provided params.
@@ -3610,8 +3613,8 @@ var wordpress = Object(external_wp_element_["createElement"])(external_wp_primit
3610
 
3611
 
3612
  const header_Header = () => {
3613
- const siteTitle = Object(build_module["f" /* getSetting */])('siteTitle', '');
3614
- const homeUrl = Object(build_module["f" /* getSetting */])('homeUrl', '');
3615
  const isScrolled = useIsScrolled();
3616
  const [isFolded, setIsFolded] = Object(external_wp_element_["useState"])(document.body.classList.contains(false));
3617
  const navClasses = {
@@ -3708,6 +3711,7 @@ const header_Header = () => {
3708
  role: "switch",
3709
  "aria-checked": isFolded ? 'true' : 'false'
3710
  }, buttonIcon), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
 
3711
  href: homeUrl,
3712
  className: "woocommerce-navigation-header__site-title",
3713
  as: "span"
@@ -3716,7 +3720,7 @@ const header_Header = () => {
3716
 
3717
  /* harmony default export */ var header = (header_Header);
3718
  // EXTERNAL MODULE: ./client/navigation/components/category-title/style.scss
3719
- var category_title_style = __webpack_require__(297);
3720
 
3721
  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
3722
 
@@ -3751,7 +3755,7 @@ var starEmpty = Object(external_wp_element_["createElement"])(external_wp_primit
3751
  /* harmony default export */ var star_empty = (starEmpty);
3752
  //# sourceMappingURL=star-empty.js.map
3753
  // EXTERNAL MODULE: ./client/navigation/components/favorite-button/style.scss
3754
- var favorite_button_style = __webpack_require__(298);
3755
 
3756
  // CONCATENATED MODULE: ./client/navigation/components/favorite-button/index.js
3757
 
@@ -4274,7 +4278,6 @@ Object(external_wp_plugins_["registerPlugin"])('wc-admin-navigation', {
4274
 
4275
 
4276
 
4277
-
4278
  /**
4279
  * Internal dependencies
4280
  */
@@ -4287,8 +4290,9 @@ Object(external_wp_plugins_["registerPlugin"])('wc-admin-navigation', {
4287
 
4288
 
4289
 
 
4290
  const StoreAlerts = Object(external_wp_element_["lazy"])(() => Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(49)]).then(__webpack_require__.bind(null, 637)));
4291
- const WCPayUsageModal = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | wcpay-usage-modal */ 55).then(__webpack_require__.bind(null, 525)));
4292
  class layout_PrimaryLayout extends external_wp_element_["Component"] {
4293
  render() {
4294
  const {
@@ -4427,8 +4431,8 @@ layout_Layout.propTypes = {
4427
  wpOpenMenu: prop_types_default.a.string
4428
  }).isRequired
4429
  };
4430
- const dataEndpoints = Object(build_module["f" /* getSetting */])('dataEndpoints');
4431
- const Layout = Object(external_wp_compose_["compose"])(Object(external_wc_data_["withPluginsHydration"])({ ...Object(build_module["f" /* getSetting */])('plugins', {}),
4432
  jetpackStatus: dataEndpoints && dataEndpoints.jetpackStatus || false
4433
  }), Object(external_wp_data_["withSelect"])((select, {
4434
  isEmbedded
@@ -4468,43 +4472,50 @@ const _PageLayout = () => {
4468
  })));
4469
  };
4470
 
4471
- const PageLayout = Object(external_wp_compose_["compose"])(window.wcSettings.admin ? Object(external_wc_data_["withOptionsHydration"])({ ...Object(build_module["f" /* getSetting */])('preloadOptions', {})
4472
  }) : external_lodash_["identity"])(_PageLayout);
4473
 
4474
  const _EmbedLayout = () => Object(external_wp_element_["createElement"])(Layout, {
4475
  page: {
4476
- breadcrumbs: Object(build_module["f" /* getSetting */])('embedBreadcrumbs', [])
4477
  },
4478
  isEmbedded: true
4479
  });
4480
 
4481
- const EmbedLayout = Object(external_wp_compose_["compose"])(Object(build_module["f" /* getSetting */])('preloadOptions') ? Object(external_wc_data_["withOptionsHydration"])({ ...Object(build_module["f" /* getSetting */])('preloadOptions')
4482
  }) : external_lodash_["identity"])(_EmbedLayout);
4483
 
4484
  /***/ }),
4485
 
4486
- /***/ 121:
4487
  /***/ (function(module, exports) {
4488
 
4489
  (function() { module.exports = window["wc"]["number"]; }());
4490
 
4491
  /***/ }),
4492
 
4493
- /***/ 122:
4494
  /***/ (function(module, exports) {
4495
 
4496
  (function() { module.exports = window["wc"]["explat"]; }());
4497
 
4498
  /***/ }),
4499
 
4500
- /***/ 128:
4501
  /***/ (function(module, exports) {
4502
 
4503
  (function() { module.exports = window["wp"]["notices"]; }());
4504
 
4505
  /***/ }),
4506
 
4507
- /***/ 129:
 
 
 
 
 
 
 
4508
  /***/ (function(module, exports) {
4509
 
4510
  // shim for using process in browser
@@ -4695,134 +4706,7 @@ process.umask = function() { return 0; };
4695
 
4696
  /***/ }),
4697
 
4698
- /***/ 13:
4699
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4700
-
4701
- "use strict";
4702
- /* unused harmony export ADMIN_URL */
4703
- /* unused harmony export COUNTRIES */
4704
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; });
4705
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return LOCALE; });
4706
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ORDER_STATUSES; });
4707
- /* unused harmony export SITE_TITLE */
4708
- /* unused harmony export WC_ASSET_URL */
4709
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getSetting; });
4710
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return setSetting; });
4711
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getAdminLink; });
4712
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return enqueueScript; });
4713
- /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4714
- /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
4715
- /**
4716
- * External dependencies
4717
- */
4718
- // Remove mutable data from settings object to prevent access. Data stores should be used instead.
4719
-
4720
- const mutableSources = ['wcAdminSettings', 'preloadSettings'];
4721
- const settings = typeof wcSettings === 'object' ? wcSettings : {};
4722
- const SOURCE = Object.keys(settings).reduce((source, key) => {
4723
- if (!mutableSources.includes(key)) {
4724
- source[key] = settings[key];
4725
- }
4726
-
4727
- return source;
4728
- }, {});
4729
- Object.keys(settings.admin || {}).forEach(key => {
4730
- if (!mutableSources.includes(key)) {
4731
- SOURCE[key] = settings.admin[key];
4732
- }
4733
- });
4734
- const ADMIN_URL = SOURCE.adminUrl;
4735
- const COUNTRIES = SOURCE.countries;
4736
- const CURRENCY = SOURCE.currency;
4737
- const LOCALE = SOURCE.locale;
4738
- const ORDER_STATUSES = SOURCE.orderStatuses;
4739
- const SITE_TITLE = SOURCE.siteTitle;
4740
- const WC_ASSET_URL = SOURCE.wcAssetUrl;
4741
- /**
4742
- * Retrieves a setting value from the setting state.
4743
- *
4744
- * @param {string} name The identifier for the setting.
4745
- * @param {*} [fallback=false] The value to use as a fallback
4746
- * if the setting is not in the
4747
- * state.
4748
- * @param {Function} [filter=( val ) => val] A callback for filtering the
4749
- * value before it's returned.
4750
- * Receives both the found value
4751
- * (if it exists for the key) and
4752
- * the provided fallback arg.
4753
- *
4754
- * @return {*} The value present in the settings state for the given
4755
- * name.
4756
- */
4757
-
4758
- function getSetting(name, fallback = false, filter = val => val) {
4759
- if (mutableSources.includes(name)) {
4760
- throw new Error(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Mutable settings should be accessed via data store.'));
4761
- }
4762
-
4763
- const value = SOURCE.hasOwnProperty(name) ? SOURCE[name] : fallback;
4764
- return filter(value, fallback);
4765
- }
4766
- /**
4767
- * Sets a value to a property on the settings state.
4768
- *
4769
- * NOTE: This feature is to be removed in favour of data stores when a full migration
4770
- * is complete.
4771
- *
4772
- * @deprecated
4773
- *
4774
- * @param {string} name The setting property key for the
4775
- * setting being mutated.
4776
- * @param {*} value The value to set.
4777
- * @param {Function} [filter=( val ) => val] Allows for providing a callback
4778
- * to sanitize the setting (eg.
4779
- * ensure it's a number)
4780
- */
4781
-
4782
- function setSetting(name, value, filter = val => val) {
4783
- if (mutableSources.includes(name)) {
4784
- throw new Error(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Mutable settings should be mutated via data store.'));
4785
- }
4786
-
4787
- SOURCE[name] = filter(value);
4788
- }
4789
- /**
4790
- * Returns a string with the site's wp-admin URL appended. JS version of `admin_url`.
4791
- *
4792
- * @param {string} path Relative path.
4793
- * @return {string} Full admin URL.
4794
- */
4795
-
4796
- function getAdminLink(path) {
4797
- return (ADMIN_URL || '') + path;
4798
- }
4799
- /**
4800
- * Adds a script to the page if it has not already been loaded. JS version of `wp_enqueue_script`.
4801
- *
4802
- * @param {Object} script WP_Script
4803
- * @param {string} script.handle Script handle.
4804
- * @param {string} script.src Script URL.
4805
- */
4806
-
4807
- function enqueueScript(script) {
4808
- return new Promise((resolve, reject) => {
4809
- if (document.querySelector(`#${script.handle}-js`)) {
4810
- resolve();
4811
- }
4812
-
4813
- const domElement = document.createElement('script');
4814
- domElement.src = script.src;
4815
- domElement.id = `${script.handle}-js`;
4816
- domElement.async = true;
4817
- domElement.onload = resolve;
4818
- domElement.onerror = reject;
4819
- document.body.appendChild(domElement);
4820
- });
4821
- }
4822
-
4823
- /***/ }),
4824
-
4825
- /***/ 130:
4826
  /***/ (function(module, exports, __webpack_require__) {
4827
 
4828
  "use strict";
@@ -4848,7 +4732,7 @@ exports.isValidElementType=function(a){return"string"===typeof a||"function"===t
4848
  /***/ 14:
4849
  /***/ (function(module, exports) {
4850
 
4851
- (function() { module.exports = window["wp"]["compose"]; }());
4852
 
4853
  /***/ }),
4854
 
@@ -4866,7 +4750,7 @@ exports.isValidElementType=function(a){return"string"===typeof a||"function"===t
4866
 
4867
  /***/ }),
4868
 
4869
- /***/ 160:
4870
  /***/ (function(module, exports, __webpack_require__) {
4871
 
4872
  "use strict";
@@ -4876,12 +4760,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
4876
 
4877
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4878
 
4879
- var _extends = _interopDefault(__webpack_require__(36));
4880
- var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(288));
4881
  var React = __webpack_require__(5);
4882
  var React__default = _interopDefault(React);
4883
- var _inheritsLoose = _interopDefault(__webpack_require__(289));
4884
- var _assertThisInitialized = _interopDefault(__webpack_require__(291));
4885
 
4886
  var is = {
4887
  arr: Array.isArray,
@@ -7197,13 +7081,13 @@ exports.useSprings = useSprings;
7197
 
7198
  /***/ }),
7199
 
7200
- /***/ 161:
7201
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7202
 
7203
  "use strict";
7204
  /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
7205
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7206
- /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25);
7207
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
7208
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
7209
 
@@ -7381,14 +7265,14 @@ var index = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext || create
7381
 
7382
  /* harmony default export */ __webpack_exports__["a"] = (index);
7383
 
7384
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(80)))
7385
 
7386
  /***/ }),
7387
 
7388
- /***/ 162:
7389
  /***/ (function(module, exports, __webpack_require__) {
7390
 
7391
- var isarray = __webpack_require__(299)
7392
 
7393
  /**
7394
  * Expose `pathToRegexp`.
@@ -7825,7 +7709,7 @@ function pathToRegexp (path, keys, options) {
7825
 
7826
  /***/ }),
7827
 
7828
- /***/ 170:
7829
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7830
 
7831
  "use strict";
@@ -8022,7 +7906,7 @@ const DisplayOptions = () => {
8022
 
8023
  /***/ }),
8024
 
8025
- /***/ 175:
8026
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8027
 
8028
  "use strict";
@@ -8054,7 +7938,7 @@ const NoMatch = () => {
8054
 
8055
  /***/ }),
8056
 
8057
- /***/ 176:
8058
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8059
 
8060
  "use strict";
@@ -8200,11 +8084,11 @@ var _react = __webpack_require__(5);
8200
 
8201
  var _react2 = _interopRequireDefault(_react);
8202
 
8203
- var _reactAddonsCreateFragment = __webpack_require__(71);
8204
 
8205
  var _reactAddonsCreateFragment2 = _interopRequireDefault(_reactAddonsCreateFragment);
8206
 
8207
- var _tokenize = __webpack_require__(74);
8208
 
8209
  var _tokenize2 = _interopRequireDefault(_tokenize);
8210
 
@@ -8367,6 +8251,96 @@ exports.default = interpolate;
8367
  /***/ 22:
8368
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8370
  "use strict";
8371
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
8372
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -8386,7 +8360,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
8386
 
8387
  /***/ }),
8388
 
8389
- /***/ 23:
8390
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8391
 
8392
  "use strict";
@@ -8411,34 +8385,7 @@ function _extends() {
8411
 
8412
  /***/ }),
8413
 
8414
- /***/ 25:
8415
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8416
-
8417
- "use strict";
8418
-
8419
- // EXPORTS
8420
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inheritsLoose; });
8421
-
8422
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
8423
- function _setPrototypeOf(o, p) {
8424
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
8425
- o.__proto__ = p;
8426
- return o;
8427
- };
8428
-
8429
- return _setPrototypeOf(o, p);
8430
- }
8431
- // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
8432
-
8433
- function _inheritsLoose(subClass, superClass) {
8434
- subClass.prototype = Object.create(superClass.prototype);
8435
- subClass.prototype.constructor = subClass;
8436
- _setPrototypeOf(subClass, superClass);
8437
- }
8438
-
8439
- /***/ }),
8440
-
8441
- /***/ 256:
8442
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8443
 
8444
  "use strict";
@@ -8469,7 +8416,7 @@ var external_wp_data_ = __webpack_require__(7);
8469
  var external_wc_data_ = __webpack_require__(11);
8470
 
8471
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
8472
- var page = __webpack_require__(501);
8473
 
8474
  // EXTERNAL MODULE: external ["wp","primitives"]
8475
  var external_wp_primitives_ = __webpack_require__(8);
@@ -8490,19 +8437,19 @@ var comment = Object(external_wp_element_["createElement"])(external_wp_primitiv
8490
  /* harmony default export */ var library_comment = (comment);
8491
  //# sourceMappingURL=comment.js.map
8492
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/box.js
8493
- var box = __webpack_require__(502);
8494
 
8495
  // EXTERNAL MODULE: external ["wp","components"]
8496
  var external_wp_components_ = __webpack_require__(3);
8497
 
8498
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/orders/utils.js
8499
- var utils = __webpack_require__(70);
8500
 
8501
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/reviews/utils.js
8502
- var reviews_utils = __webpack_require__(104);
8503
 
8504
  // EXTERNAL MODULE: ./client/dashboard/utils.js
8505
- var dashboard_utils = __webpack_require__(64);
8506
 
8507
  // CONCATENATED MODULE: ./client/activity-panel/panels/inbox/icons/bell.js
8508
 
@@ -8627,7 +8574,7 @@ const AbbreviatedNotificationsPanel = ({
8627
 
8628
  /***/ }),
8629
 
8630
- /***/ 257:
8631
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8632
 
8633
  "use strict";
@@ -8645,17 +8592,14 @@ var external_wp_element_ = __webpack_require__(0);
8645
  var external_wp_i18n_ = __webpack_require__(2);
8646
 
8647
  // EXTERNAL MODULE: external ["wp","hooks"]
8648
- var external_wp_hooks_ = __webpack_require__(31);
8649
 
8650
  // EXTERNAL MODULE: ./node_modules/interpolate-components/lib/index.js
8651
  var lib = __webpack_require__(19);
8652
  var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
8653
 
8654
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
8655
- var build_module = __webpack_require__(13);
8656
-
8657
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
8658
- var qs_lib = __webpack_require__(27);
8659
 
8660
  // EXTERNAL MODULE: external ["wc","components"]
8661
  var external_wc_components_ = __webpack_require__(21);
@@ -8725,6 +8669,9 @@ const DefaultDate = ({
8725
  };
8726
 
8727
  /* harmony default export */ var default_date = (DefaultDate);
 
 
 
8728
  // CONCATENATED MODULE: ./client/analytics/settings/config.js
8729
 
8730
 
@@ -8734,24 +8681,24 @@ const DefaultDate = ({
8734
 
8735
 
8736
 
8737
-
8738
  /**
8739
  * Internal dependencies
8740
  */
8741
 
8742
 
 
8743
  const SETTINGS_FILTER = 'woocommerce_admin_analytics_settings';
8744
  const DEFAULT_ACTIONABLE_STATUSES = ['processing', 'on-hold'];
8745
  const DEFAULT_ORDER_STATUSES = ['completed', 'processing', 'refunded', 'cancelled', 'failed', 'pending', 'on-hold'];
8746
  const DEFAULT_DATE_RANGE = 'period=month&compare=previous_year';
8747
- const filteredOrderStatuses = Object.keys(build_module["c" /* ORDER_STATUSES */]).filter(status => status !== 'refunded').map(key => {
8748
  return {
8749
  value: key,
8750
- label: build_module["c" /* ORDER_STATUSES */][key],
8751
- description: Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Exclude the %s status from reports', 'woocommerce-admin'), build_module["c" /* ORDER_STATUSES */][key])
8752
  };
8753
  });
8754
- const unregisteredOrderStatuses = Object(build_module["f" /* getSetting */])('unregisteredOrderStatuses', {});
8755
  const orderStatusOptions = [{
8756
  key: 'defaultStatuses',
8757
  options: filteredOrderStatuses.filter(status => DEFAULT_ORDER_STATUSES.includes(status.value))
@@ -8802,7 +8749,7 @@ const config = Object(external_wp_hooks_["applyFilters"])(SETTINGS_FILTER, {
8802
 
8803
  /***/ }),
8804
 
8805
- /***/ 258:
8806
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8807
 
8808
  "use strict";
@@ -8812,11 +8759,11 @@ const config = Object(external_wp_hooks_["applyFilters"])(SETTINGS_FILTER, {
8812
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
8813
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
8814
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
8815
- /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(259);
8816
  /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);
8817
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
8818
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
8819
- /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(260);
8820
  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_5__);
8821
  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3);
8822
  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
@@ -8864,7 +8811,8 @@ function Snackbar({
8864
  // onDismiss is a callback executed when the snackbar is dismissed.
8865
  // It is distinct from onRemove, which _looks_ like a callback but is
8866
  // actually the function to call to remove the snackbar from the UI.
8867
- onDismiss = null
 
8868
  }, ref) {
8869
  onDismiss = onDismiss || lodash__WEBPACK_IMPORTED_MODULE_1__["noop"];
8870
 
@@ -8911,6 +8859,11 @@ function Snackbar({
8911
  const snackbarContentClassnames = classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-snackbar__content', {
8912
  'components-snackbar__content-with-icon': !!icon
8913
  });
 
 
 
 
 
8914
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
8915
  ref: ref,
8916
  className: classes,
@@ -8946,51 +8899,59 @@ function Snackbar({
8946
  }
8947
 
8948
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar));
8949
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(129)))
8950
 
8951
  /***/ }),
8952
 
8953
- /***/ 259:
8954
- /***/ (function(module, exports) {
8955
 
8956
- (function() { module.exports = window["wp"]["a11y"]; }());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8957
 
8958
  /***/ }),
8959
 
8960
  /***/ 260:
8961
  /***/ (function(module, exports) {
8962
 
8963
- (function() { module.exports = window["wp"]["warning"]; }());
8964
 
8965
  /***/ }),
8966
 
8967
  /***/ 261:
8968
  /***/ (function(module, exports) {
8969
 
8970
- (function() { module.exports = window["wc"]["customerEffortScore"]; }());
8971
 
8972
  /***/ }),
8973
 
8974
- /***/ 27:
8975
- /***/ (function(module, exports, __webpack_require__) {
8976
-
8977
- "use strict";
8978
-
8979
-
8980
- var stringify = __webpack_require__(58);
8981
- var parse = __webpack_require__(59);
8982
- var formats = __webpack_require__(34);
8983
-
8984
- module.exports = {
8985
- formats: formats,
8986
- parse: parse,
8987
- stringify: stringify
8988
- };
8989
 
 
8990
 
8991
  /***/ }),
8992
 
8993
- /***/ 272:
8994
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8995
 
8996
  "use strict";
@@ -9029,11 +8990,11 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
9029
  var external_wc_tracks_ = __webpack_require__(16);
9030
 
9031
  // EXTERNAL MODULE: external ["wc","customerEffortScore"]
9032
- var external_wc_customerEffortScore_ = __webpack_require__(261);
9033
  var external_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_wc_customerEffortScore_);
9034
 
9035
  // EXTERNAL MODULE: external ["wp","compose"]
9036
- var external_wp_compose_ = __webpack_require__(14);
9037
 
9038
  // EXTERNAL MODULE: external ["wp","data"]
9039
  var external_wp_data_ = __webpack_require__(7);
@@ -9267,7 +9228,7 @@ function getStoreAgeInWeeks(adminInstallTimestamp) {
9267
  };
9268
  }))(CustomerEffortScoreTracks));
9269
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
9270
- var constants = __webpack_require__(57);
9271
 
9272
  // EXTERNAL MODULE: external ["wp","dataControls"]
9273
  var external_wp_dataControls_ = __webpack_require__(10);
@@ -9534,7 +9495,7 @@ CustomerEffortScoreTracksContainer.propTypes = {
9534
 
9535
  /***/ }),
9536
 
9537
- /***/ 273:
9538
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9539
 
9540
  "use strict";
@@ -9543,17 +9504,17 @@ CustomerEffortScoreTracksContainer.propTypes = {
9543
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ EmbeddedBodyLayout; });
9544
 
9545
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
9546
- var helpers_extends = __webpack_require__(36);
9547
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
9548
 
9549
  // EXTERNAL MODULE: external ["wp","element"]
9550
  var external_wp_element_ = __webpack_require__(0);
9551
 
9552
  // EXTERNAL MODULE: external ["wp","hooks"]
9553
- var external_wp_hooks_ = __webpack_require__(31);
9554
 
9555
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
9556
- var lib = __webpack_require__(27);
9557
 
9558
  // EXTERNAL MODULE: external ["wp","data"]
9559
  var external_wp_data_ = __webpack_require__(7);
@@ -9669,7 +9630,7 @@ const ShippingRecommendations = ({
9669
  // CONCATENATED MODULE: ./client/shipping/index.ts
9670
 
9671
  // EXTERNAL MODULE: ./client/embedded-body-layout/style.scss
9672
- var style = __webpack_require__(300);
9673
 
9674
  // CONCATENATED MODULE: ./client/embedded-body-layout/embedded-body-layout.tsx
9675
 
@@ -9729,27 +9690,27 @@ const EmbeddedBodyLayout = () => {
9729
  /***/ 28:
9730
  /***/ (function(module, exports) {
9731
 
9732
- (function() { module.exports = window["wp"]["htmlEntities"]; }());
9733
 
9734
  /***/ }),
9735
 
9736
- /***/ 282:
9737
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9738
 
9739
  "use strict";
9740
  __webpack_require__.r(__webpack_exports__);
9741
  /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
9742
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
9743
- /* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(128);
9744
  /* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_notices__WEBPACK_IMPORTED_MODULE_1__);
9745
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
9746
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
9747
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
9748
- /* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(284);
9749
- /* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_4__);
9750
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(120);
9751
- /* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(272);
9752
- /* harmony import */ var _embedded_body_layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(273);
9753
 
9754
 
9755
  /**
@@ -9758,7 +9719,6 @@ __webpack_require__.r(__webpack_exports__);
9758
 
9759
 
9760
 
9761
-
9762
  /**
9763
  * Internal dependencies
9764
  */
@@ -9766,6 +9726,7 @@ __webpack_require__.r(__webpack_exports__);
9766
 
9767
 
9768
 
 
9769
  // Modify webpack pubilcPath at runtime based on location of WordPress Plugin.
9770
  // eslint-disable-next-line no-undef,camelcase
9771
 
@@ -9773,7 +9734,7 @@ __webpack_require__.p = global.wcAdminAssets.path;
9773
  const appRoot = document.getElementById('root');
9774
  const embeddedRoot = document.getElementById('woocommerce-embedded-root');
9775
  const settingsGroup = 'wc_admin';
9776
- const hydrateUser = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* getSetting */ "f"])('currentUserData');
9777
 
9778
  if (appRoot) {
9779
  let HydratedPageLayout = Object(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__["withSettingsHydration"])(settingsGroup, window.wcSettings.admin)(_layout__WEBPACK_IMPORTED_MODULE_5__[/* PageLayout */ "b"]);
@@ -9821,39 +9782,39 @@ if (window.wcAdminFeatures && window.wcAdminFeatures['customer-effort-score-trac
9821
  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["render"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_6__[/* CustomerEffortScoreTracksContainer */ "a"], null), root.insertBefore(document.createElement('div'), null));
9822
  })();
9823
  }
9824
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(80)))
9825
 
9826
  /***/ }),
9827
 
9828
- /***/ 284:
9829
  /***/ (function(module, exports, __webpack_require__) {
9830
 
9831
  // extracted by mini-css-extract-plugin
9832
 
9833
  /***/ }),
9834
 
9835
- /***/ 285:
9836
  /***/ (function(module, exports) {
9837
 
9838
  (function() { module.exports = window["wc"]["notices"]; }());
9839
 
9840
  /***/ }),
9841
 
9842
- /***/ 286:
9843
  /***/ (function(module, exports, __webpack_require__) {
9844
 
9845
  // extracted by mini-css-extract-plugin
9846
 
9847
  /***/ }),
9848
 
9849
- /***/ 287:
9850
  /***/ (function(module, exports, __webpack_require__) {
9851
 
9852
  // extracted by mini-css-extract-plugin
9853
 
9854
  /***/ }),
9855
 
9856
- /***/ 288:
9857
  /***/ (function(module, exports) {
9858
 
9859
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -9876,10 +9837,29 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
9876
 
9877
  /***/ }),
9878
 
9879
- /***/ 289:
9880
  /***/ (function(module, exports, __webpack_require__) {
9881
 
9882
- var setPrototypeOf = __webpack_require__(290);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9883
 
9884
  function _inheritsLoose(subClass, superClass) {
9885
  subClass.prototype = Object.create(superClass.prototype);
@@ -9892,14 +9872,7 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
9892
 
9893
  /***/ }),
9894
 
9895
- /***/ 29:
9896
- /***/ (function(module, exports) {
9897
-
9898
- (function() { module.exports = window["ReactDOM"]; }());
9899
-
9900
- /***/ }),
9901
-
9902
- /***/ 290:
9903
  /***/ (function(module, exports) {
9904
 
9905
  function _setPrototypeOf(o, p) {
@@ -9917,7 +9890,7 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
9917
 
9918
  /***/ }),
9919
 
9920
- /***/ 291:
9921
  /***/ (function(module, exports) {
9922
 
9923
  function _assertThisInitialized(self) {
@@ -9933,13 +9906,6 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
9933
 
9934
  /***/ }),
9935
 
9936
- /***/ 292:
9937
- /***/ (function(module, exports, __webpack_require__) {
9938
-
9939
- // extracted by mini-css-extract-plugin
9940
-
9941
- /***/ }),
9942
-
9943
  /***/ 293:
9944
  /***/ (function(module, exports, __webpack_require__) {
9945
 
@@ -9983,12 +9949,9 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
9983
  /***/ }),
9984
 
9985
  /***/ 299:
9986
- /***/ (function(module, exports) {
9987
-
9988
- module.exports = Array.isArray || function (arr) {
9989
- return Object.prototype.toString.call(arr) == '[object Array]';
9990
- };
9991
 
 
9992
 
9993
  /***/ }),
9994
 
@@ -10002,11 +9965,21 @@ module.exports = Array.isArray || function (arr) {
10002
  /***/ 30:
10003
  /***/ (function(module, exports) {
10004
 
10005
- (function() { module.exports = window["wp"]["keycodes"]; }());
10006
 
10007
  /***/ }),
10008
 
10009
  /***/ 300:
 
 
 
 
 
 
 
 
 
 
10010
  /***/ (function(module, exports, __webpack_require__) {
10011
 
10012
  // extracted by mini-css-extract-plugin
@@ -10016,11 +9989,18 @@ module.exports = Array.isArray || function (arr) {
10016
  /***/ 31:
10017
  /***/ (function(module, exports) {
10018
 
10019
- (function() { module.exports = window["wp"]["hooks"]; }());
 
 
 
 
 
 
 
10020
 
10021
  /***/ }),
10022
 
10023
- /***/ 34:
10024
  /***/ (function(module, exports, __webpack_require__) {
10025
 
10026
  "use strict";
@@ -10051,7 +10031,7 @@ module.exports = {
10051
 
10052
  /***/ }),
10053
 
10054
- /***/ 36:
10055
  /***/ (function(module, exports) {
10056
 
10057
  function _extends() {
@@ -10085,13 +10065,13 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
10085
 
10086
  /***/ }),
10087
 
10088
- /***/ 41:
10089
  /***/ (function(module, exports, __webpack_require__) {
10090
 
10091
  "use strict";
10092
 
10093
 
10094
- var formats = __webpack_require__(34);
10095
 
10096
  var has = Object.prototype.hasOwnProperty;
10097
  var isArray = Array.isArray;
@@ -10344,7 +10324,7 @@ module.exports = {
10344
 
10345
  /***/ }),
10346
 
10347
- /***/ 43:
10348
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10349
 
10350
  "use strict";
@@ -10365,21 +10345,14 @@ function invariant(condition, message) {
10365
 
10366
  /***/ }),
10367
 
10368
- /***/ 476:
10369
  /***/ (function(module, exports) {
10370
 
10371
  (function() { module.exports = window["wc"]["csvExport"]; }());
10372
 
10373
  /***/ }),
10374
 
10375
- /***/ 479:
10376
- /***/ (function(module, exports) {
10377
-
10378
- (function() { module.exports = window["wc"]["wcSettings"]; }());
10379
-
10380
- /***/ }),
10381
-
10382
- /***/ 48:
10383
  /***/ (function(module, exports, __webpack_require__) {
10384
 
10385
  "use strict";
@@ -10392,7 +10365,7 @@ function invariant(condition, message) {
10392
 
10393
 
10394
 
10395
- var ReactPropTypesSecret = __webpack_require__(49);
10396
 
10397
  function emptyFunction() {}
10398
  function emptyFunctionWithReset() {}
@@ -10449,26 +10422,6 @@ module.exports = function() {
10449
  };
10450
 
10451
 
10452
- /***/ }),
10453
-
10454
- /***/ 49:
10455
- /***/ (function(module, exports, __webpack_require__) {
10456
-
10457
- "use strict";
10458
- /**
10459
- * Copyright (c) 2013-present, Facebook, Inc.
10460
- *
10461
- * This source code is licensed under the MIT license found in the
10462
- * LICENSE file in the root directory of this source tree.
10463
- */
10464
-
10465
-
10466
-
10467
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
10468
-
10469
- module.exports = ReactPropTypesSecret;
10470
-
10471
-
10472
  /***/ }),
10473
 
10474
  /***/ 5:
@@ -10482,46 +10435,23 @@ module.exports = ReactPropTypesSecret;
10482
  /***/ (function(module, exports, __webpack_require__) {
10483
 
10484
  "use strict";
10485
-
10486
-
10487
  /**
10488
  * Copyright (c) 2013-present, Facebook, Inc.
10489
  *
10490
  * This source code is licensed under the MIT license found in the
10491
  * LICENSE file in the root directory of this source tree.
10492
- *
10493
- *
10494
  */
10495
 
10496
- function makeEmptyFunction(arg) {
10497
- return function () {
10498
- return arg;
10499
- };
10500
- }
10501
 
10502
- /**
10503
- * This function accepts and discards inputs; it has no side effects. This is
10504
- * primarily useful idiomatically for overridable function endpoints which
10505
- * always need to be callable, since JS lacks a null-call idiom ala Cocoa.
10506
- */
10507
- var emptyFunction = function emptyFunction() {};
10508
 
10509
- emptyFunction.thatReturns = makeEmptyFunction;
10510
- emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
10511
- emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
10512
- emptyFunction.thatReturnsNull = makeEmptyFunction(null);
10513
- emptyFunction.thatReturnsThis = function () {
10514
- return this;
10515
- };
10516
- emptyFunction.thatReturnsArgument = function (arg) {
10517
- return arg;
10518
- };
10519
 
10520
- module.exports = emptyFunction;
10521
 
10522
  /***/ }),
10523
 
10524
- /***/ 500:
10525
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10526
 
10527
  "use strict";
@@ -10546,7 +10476,7 @@ var close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElemen
10546
 
10547
  /***/ }),
10548
 
10549
- /***/ 501:
10550
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10551
 
10552
  "use strict";
@@ -10571,7 +10501,7 @@ var page = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
10571
 
10572
  /***/ }),
10573
 
10574
- /***/ 502:
10575
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10576
 
10577
  "use strict";
@@ -10598,7 +10528,7 @@ var box = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"
10598
 
10599
  /***/ }),
10600
 
10601
- /***/ 503:
10602
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10603
 
10604
  "use strict";
@@ -10623,7 +10553,7 @@ var help = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
10623
 
10624
  /***/ }),
10625
 
10626
- /***/ 504:
10627
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10628
 
10629
  "use strict";
@@ -10648,7 +10578,50 @@ var external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEle
10648
 
10649
  /***/ }),
10650
 
10651
- /***/ 52:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10652
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10653
 
10654
  "use strict";
@@ -10801,7 +10774,7 @@ WooHeaderPageTitle.Slot = ({
10801
 
10802
  /***/ }),
10803
 
10804
- /***/ 53:
10805
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10806
 
10807
  "use strict";
@@ -10816,7 +10789,7 @@ __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding *
10816
  // UNUSED EXPORTS: createHashHistory, parsePath
10817
 
10818
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
10819
- var esm_extends = __webpack_require__(23);
10820
 
10821
  // CONCATENATED MODULE: ./node_modules/resolve-pathname/esm/resolve-pathname.js
10822
  function isAbsolute(pathname) {
@@ -10934,7 +10907,7 @@ function valueEqual(a, b) {
10934
  /* harmony default export */ var value_equal = (valueEqual);
10935
 
10936
  // EXTERNAL MODULE: ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js
10937
- var tiny_invariant_esm = __webpack_require__(43);
10938
 
10939
  // CONCATENATED MODULE: ./node_modules/history/esm/history.js
10940
 
@@ -11860,14 +11833,14 @@ function createMemoryHistory(props) {
11860
 
11861
  /***/ }),
11862
 
11863
- /***/ 54:
11864
  /***/ (function(module, exports) {
11865
 
11866
  (function() { module.exports = window["wp"]["plugins"]; }());
11867
 
11868
  /***/ }),
11869
 
11870
- /***/ 57:
11871
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11872
 
11873
  "use strict";
@@ -11880,14 +11853,14 @@ const QUEUE_OPTION_NAME = 'woocommerce_ces_tracks_queue';
11880
 
11881
  /***/ }),
11882
 
11883
- /***/ 58:
11884
  /***/ (function(module, exports, __webpack_require__) {
11885
 
11886
  "use strict";
11887
 
11888
 
11889
- var utils = __webpack_require__(41);
11890
- var formats = __webpack_require__(34);
11891
  var has = Object.prototype.hasOwnProperty;
11892
 
11893
  var arrayPrefixGenerators = {
@@ -12166,13 +12139,78 @@ module.exports = function (object, opts) {
12166
 
12167
  /***/ }),
12168
 
12169
- /***/ 59:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12170
  /***/ (function(module, exports, __webpack_require__) {
12171
 
12172
  "use strict";
12173
 
12174
 
12175
- var utils = __webpack_require__(41);
12176
 
12177
  var has = Object.prototype.hasOwnProperty;
12178
  var isArray = Array.isArray;
@@ -12431,79 +12469,14 @@ module.exports = function (str, opts) {
12431
 
12432
  /***/ }),
12433
 
12434
- /***/ 6:
12435
- /***/ (function(module, exports, __webpack_require__) {
12436
-
12437
- /*!
12438
- Copyright (c) 2018 Jed Watson.
12439
- Licensed under the MIT License (MIT), see
12440
- http://jedwatson.github.io/classnames
12441
- */
12442
- /* global define */
12443
-
12444
- (function () {
12445
- 'use strict';
12446
-
12447
- var hasOwn = {}.hasOwnProperty;
12448
-
12449
- function classNames() {
12450
- var classes = [];
12451
-
12452
- for (var i = 0; i < arguments.length; i++) {
12453
- var arg = arguments[i];
12454
- if (!arg) continue;
12455
-
12456
- var argType = typeof arg;
12457
-
12458
- if (argType === 'string' || argType === 'number') {
12459
- classes.push(arg);
12460
- } else if (Array.isArray(arg)) {
12461
- if (arg.length) {
12462
- var inner = classNames.apply(null, arg);
12463
- if (inner) {
12464
- classes.push(inner);
12465
- }
12466
- }
12467
- } else if (argType === 'object') {
12468
- if (arg.toString === Object.prototype.toString) {
12469
- for (var key in arg) {
12470
- if (hasOwn.call(arg, key) && arg[key]) {
12471
- classes.push(key);
12472
- }
12473
- }
12474
- } else {
12475
- classes.push(arg.toString());
12476
- }
12477
- }
12478
- }
12479
-
12480
- return classes.join(' ');
12481
- }
12482
-
12483
- if ( true && module.exports) {
12484
- classNames.default = classNames;
12485
- module.exports = classNames;
12486
- } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
12487
- // register as 'classnames', consistent with npm package name
12488
- define('classnames', [], function () {
12489
- return classNames;
12490
- });
12491
- } else {
12492
- window.classNames = classNames;
12493
- }
12494
- }());
12495
-
12496
-
12497
- /***/ }),
12498
-
12499
- /***/ 63:
12500
  /***/ (function(module, exports) {
12501
 
12502
  (function() { module.exports = window["wp"]["date"]; }());
12503
 
12504
  /***/ }),
12505
 
12506
- /***/ 64:
12507
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12508
 
12509
  "use strict";
@@ -12514,16 +12487,20 @@ module.exports = function (str, opts) {
12514
  /* unused harmony export getProductList */
12515
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPriceValue; });
12516
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
12517
- /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
12518
  /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0__);
12519
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
12520
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
12521
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
12522
  /**
12523
  * External dependencies
12524
  */
12525
 
12526
 
 
 
 
 
12527
 
12528
  /**
12529
  * Gets the country code from a country:state value string.
@@ -12541,7 +12518,7 @@ function getCountryCode(countryState) {
12541
  }
12542
  function getCurrencyRegion(countryState) {
12543
  let region = getCountryCode(countryState);
12544
- const euCountries = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["without"])(Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* getSetting */ "f"])('onboarding', {
12545
  euCountries: []
12546
  }).euCountries, 'GB');
12547
 
@@ -12622,7 +12599,7 @@ function getProductList(profileItems, includeInstalledItems = false, installedPl
12622
  productList.push(productTypes[productType]);
12623
  }
12624
  });
12625
- const onboarding = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* getSetting */ "f"])('onboarding', {});
12626
  let theme = null;
12627
 
12628
  if (onboarding && onboarding.themes) {
@@ -12665,7 +12642,7 @@ function isWCAdmin(url) {
12665
 
12666
  /***/ }),
12667
 
12668
- /***/ 70:
12669
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12670
 
12671
  "use strict";
@@ -12675,7 +12652,7 @@ function isWCAdmin(url) {
12675
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getLowStockCount; });
12676
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
12677
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_0__);
12678
- /* harmony import */ var _analytics_settings_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(257);
12679
  /**
12680
  * External dependencies
12681
  */
@@ -12756,7 +12733,7 @@ function getLowStockCount(select) {
12756
 
12757
  /***/ }),
12758
 
12759
- /***/ 71:
12760
  /***/ (function(module, exports, __webpack_require__) {
12761
 
12762
  "use strict";
@@ -12775,9 +12752,9 @@ var REACT_ELEMENT_TYPE =
12775
  (typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
12776
  0xeac7;
12777
 
12778
- var emptyFunction = __webpack_require__(50);
12779
- var invariant = __webpack_require__(72);
12780
- var warning = __webpack_require__(73);
12781
 
12782
  var SEPARATOR = '.';
12783
  var SUBSEPARATOR = ':';
@@ -13085,7 +13062,7 @@ module.exports = createReactFragment;
13085
 
13086
  /***/ }),
13087
 
13088
- /***/ 72:
13089
  /***/ (function(module, exports, __webpack_require__) {
13090
 
13091
  "use strict";
@@ -13139,7 +13116,7 @@ module.exports = invariant;
13139
 
13140
  /***/ }),
13141
 
13142
- /***/ 73:
13143
  /***/ (function(module, exports, __webpack_require__) {
13144
 
13145
  "use strict";
@@ -13153,7 +13130,7 @@ module.exports = invariant;
13153
 
13154
 
13155
 
13156
- var emptyFunction = __webpack_require__(50);
13157
 
13158
  /**
13159
  * Similar to invariant but only logs a warning if the condition is not met.
@@ -13170,7 +13147,7 @@ module.exports = warning;
13170
 
13171
  /***/ }),
13172
 
13173
- /***/ 74:
13174
  /***/ (function(module, exports, __webpack_require__) {
13175
 
13176
  "use strict";
@@ -13219,7 +13196,7 @@ module.exports = function (mixedString) {
13219
 
13220
  /***/ }),
13221
 
13222
- /***/ 80:
13223
  /***/ (function(module, exports) {
13224
 
13225
  var g;
@@ -13253,14 +13230,14 @@ module.exports = g;
13253
 
13254
  /***/ }),
13255
 
13256
- /***/ 90:
13257
  /***/ (function(module, exports) {
13258
 
13259
  (function() { module.exports = window["wc"]["currency"]; }());
13260
 
13261
  /***/ }),
13262
 
13263
- /***/ 92:
13264
  /***/ (function(module, exports) {
13265
 
13266
  (function() { module.exports = window["wp"]["dom"]; }());
95
  /******/
96
  /******/
97
  /******/ // mini-css-extract-plugin CSS loading
98
+ /******/ var cssChunks = {"0":1,"3":1,"4":1,"5":1,"6":1,"7":1,"9":1,"12":1,"14":1,"17":1,"25":1,"26":1,"31":1,"32":1,"34":1,"45":1,"47":1,"48":1,"49":1,"50":1,"52":1,"54":1};
99
  /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
100
  /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
101
  /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
259
  /******/
260
  /******/
261
  /******/ // Load entry module and return exports
262
+ /******/ return __webpack_require__(__webpack_require__.s = 283);
263
  /******/ })
264
  /************************************************************************/
265
  /******/ ({
284
  if (false) { var throwOnDirectAccess, ReactIs; } else {
285
  // By explicitly using `prop-types` you are opting into new production behavior.
286
  // http://fb.me/prop-types-in-prod
287
+ module.exports = __webpack_require__(49)();
288
  }
289
 
290
 
297
 
298
  /***/ }),
299
 
300
+ /***/ 103:
301
  /***/ (function(module, exports, __webpack_require__) {
302
 
303
  "use strict";
306
 
307
  /***/ }),
308
 
309
+ /***/ 105:
310
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
311
 
312
  "use strict";
347
 
348
  /***/ }),
349
 
350
+ /***/ 106:
351
  /***/ (function(module, exports, __webpack_require__) {
352
 
353
  "use strict";
354
 
355
 
356
  if (true) {
357
+ module.exports = __webpack_require__(131);
358
  } else {}
359
 
360
 
367
 
368
  /***/ }),
369
 
370
+ /***/ 118:
371
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
372
 
373
  "use strict";
388
  return obj;
389
  }
390
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
391
+ var objectWithoutPropertiesLoose = __webpack_require__(23);
392
 
393
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
394
 
454
 
455
  /***/ }),
456
 
457
+ /***/ 119:
458
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
459
 
460
  "use strict";
461
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
462
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
463
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
464
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
465
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
466
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
467
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
468
  /**
469
  * External dependencies
470
  */
471
 
472
 
473
 
 
 
 
474
  /**
475
  * Internal dependencies
476
  */
477
 
478
+
479
+ const RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 485)));
480
+ const ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 481)));
481
+ const VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 486)));
482
+ const OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 487)));
483
+ const CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, 483)));
484
+ const CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(8)]).then(__webpack_require__.bind(null, 488)));
485
+ const TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 489)));
486
+ const DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 490)));
487
+ const StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => __webpack_require__.e(/* import() | analytics-report-stock */ 14).then(__webpack_require__.bind(null, 482)));
488
+ const CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(() => __webpack_require__.e(/* import() | analytics-report-customers */ 9).then(__webpack_require__.bind(null, 484)));
489
+ const manageStock = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* getAdminSetting */ "d"])('manageStock', 'no');
490
+ const REPORTS_FILTER = 'woocommerce_admin_reports_list';
491
  /* harmony default export */ __webpack_exports__["a"] = (() => {
492
  const reports = [{
493
  report: 'revenue',
562
 
563
  /***/ }),
564
 
565
+ /***/ 12:
566
+ /***/ (function(module, exports) {
567
+
568
+ (function() { module.exports = window["wc"]["navigation"]; }());
569
+
570
+ /***/ }),
571
+
572
+ /***/ 120:
573
  /***/ (function(module, exports, __webpack_require__) {
574
 
575
  "use strict";
576
 
577
 
578
+ var reactIs = __webpack_require__(106);
579
 
580
  /**
581
  * Copyright 2015, Yahoo! Inc.
680
 
681
  /***/ }),
682
 
683
+ /***/ 121:
 
 
 
 
 
 
 
684
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
685
 
686
  "use strict";
691
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ EmbedLayout; });
692
 
693
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
694
+ var helpers_extends = __webpack_require__(37);
695
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
696
 
697
  // EXTERNAL MODULE: external ["wp","element"]
701
  var external_wp_components_ = __webpack_require__(3);
702
 
703
  // EXTERNAL MODULE: external ["wp","compose"]
704
+ var external_wp_compose_ = __webpack_require__(13);
705
 
706
  // EXTERNAL MODULE: external ["wp","data"]
707
  var external_wp_data_ = __webpack_require__(7);
708
 
709
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
710
+ var inheritsLoose = __webpack_require__(26);
711
 
712
  // EXTERNAL MODULE: external "React"
713
  var external_React_ = __webpack_require__(5);
718
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
719
 
720
  // EXTERNAL MODULE: ./node_modules/history/esm/history.js + 2 modules
721
+ var esm_history = __webpack_require__(54);
722
 
723
  // EXTERNAL MODULE: ./node_modules/mini-create-react-context/dist/esm/index.js
724
+ var esm = __webpack_require__(162);
725
 
726
  // EXTERNAL MODULE: ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js
727
+ var tiny_invariant_esm = __webpack_require__(44);
728
 
729
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
730
+ var esm_extends = __webpack_require__(24);
731
 
732
  // EXTERNAL MODULE: ./node_modules/path-to-regexp/index.js
733
+ var path_to_regexp = __webpack_require__(163);
734
  var path_to_regexp_default = /*#__PURE__*/__webpack_require__.n(path_to_regexp);
735
 
736
  // EXTERNAL MODULE: ./node_modules/react-is/index.js
737
+ var react_is = __webpack_require__(106);
738
 
739
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
740
+ var objectWithoutPropertiesLoose = __webpack_require__(23);
741
 
742
  // EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
743
+ var hoist_non_react_statics_cjs = __webpack_require__(120);
744
  var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
745
 
746
  // CONCATENATED MODULE: ./node_modules/react-router/esm/react-router.js
1407
  var external_lodash_ = __webpack_require__(4);
1408
 
1409
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
1410
+ var lib = __webpack_require__(29);
1411
 
1412
  // EXTERNAL MODULE: external ["wc","navigation"]
1413
  var external_wc_navigation_ = __webpack_require__(12);
1414
 
 
 
 
1415
  // EXTERNAL MODULE: external ["wc","data"]
1416
  var external_wc_data_ = __webpack_require__(11);
1417
 
1419
  var external_wc_tracks_ = __webpack_require__(16);
1420
 
1421
  // EXTERNAL MODULE: external ["wc","notices"]
1422
+ var external_wc_notices_ = __webpack_require__(286);
1423
 
1424
  // EXTERNAL MODULE: external ["wp","plugins"]
1425
+ var external_wp_plugins_ = __webpack_require__(55);
1426
 
1427
  // EXTERNAL MODULE: ./client/layout/style.scss
1428
+ var layout_style = __webpack_require__(287);
1429
 
1430
  // EXTERNAL MODULE: external ["wp","hooks"]
1431
+ var external_wp_hooks_ = __webpack_require__(28);
1432
 
1433
  // EXTERNAL MODULE: external ["wp","i18n"]
1434
  var external_wp_i18n_ = __webpack_require__(2);
1437
  var external_wc_components_ = __webpack_require__(21);
1438
 
1439
  // EXTERNAL MODULE: ./client/analytics/report/get-reports.js
1440
+ var get_reports = __webpack_require__(119);
1441
 
1442
  // EXTERNAL MODULE: ./client/dashboard/utils.js
1443
+ var utils = __webpack_require__(65);
1444
+
1445
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
1446
+ var admin_settings = __webpack_require__(22);
1447
 
1448
  // EXTERNAL MODULE: ./client/layout/NoMatch.tsx
1449
+ var NoMatch = __webpack_require__(176);
1450
 
1451
  // CONCATENATED MODULE: ./client/layout/controller.js
1452
 
1461
 
1462
 
1463
 
 
1464
  /**
1465
  * Internal dependencies
1466
  */
1468
 
1469
 
1470
 
1471
+
1472
  const AnalyticsReport = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | analytics-report */ 6).then(__webpack_require__.bind(null, 622)));
1473
  const AnalyticsSettings = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | analytics-settings */ 17).then(__webpack_require__.bind(null, 633)));
1474
  const Dashboard = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | dashboard */ 25).then(__webpack_require__.bind(null, 623)));
1480
  const PAGES_FILTER = 'woocommerce_admin_pages_list';
1481
  const getPages = () => {
1482
  const pages = [];
1483
+ const initialBreadcrumbs = [['', Object(admin_settings["d" /* getAdminSetting */])('woocommerceTranslation')]];
1484
  pages.push({
1485
  container: Homescreen,
1486
  path: '/',
1574
  match
1575
  }) => {
1576
  // @todo This might need to be refactored to retreive groups via data store.
1577
+ const settingsPages = Object(admin_settings["d" /* getAdminSetting */])('settingsPages');
1578
  const page = settingsPages[match.params.page];
1579
 
1580
  if (!page) {
1727
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
1728
 
1729
  // EXTERNAL MODULE: external ["wp","htmlEntities"]
1730
+ var external_wp_htmlEntities_ = __webpack_require__(30);
1731
+
1732
+ // EXTERNAL MODULE: external ["wc","wcSettings"]
1733
+ var external_wc_wcSettings_ = __webpack_require__(14);
1734
 
1735
  // EXTERNAL MODULE: external ["wc","experimental"]
1736
  var external_wc_experimental_ = __webpack_require__(17);
1737
 
1738
  // EXTERNAL MODULE: ./client/header/style.scss
1739
+ var header_style = __webpack_require__(288);
1740
 
1741
  // CONCATENATED MODULE: ./client/hooks/useIsScrolled.js
1742
  /**
1764
  return isScrolled;
1765
  }
1766
  // EXTERNAL MODULE: ./client/header/utils.js
1767
+ var header_utils = __webpack_require__(53);
1768
 
1769
  // CONCATENATED MODULE: ./client/header/index.js
1770
 
1794
  var _pageTitleSlot$fills;
1795
 
1796
  const headerElement = Object(external_wp_element_["useRef"])(null);
1797
+ const siteTitle = Object(external_wc_wcSettings_["getSetting"])('siteTitle', '');
1798
  const pageTitle = sections.slice(-1)[0];
1799
  const isScrolled = useIsScrolled();
1800
  let debounceTimer = null;
1892
 
1893
  /* harmony default export */ var layout_notices = (notices_Notices);
1894
  // EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
1895
+ var web_cjs = __webpack_require__(161);
1896
 
1897
  // EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
1898
+ var snackbar = __webpack_require__(259);
1899
 
1900
  // CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
1901
 
1981
 
1982
  /* harmony default export */ var list = (SnackbarList);
1983
  // EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
1984
+ var transient_notices_style = __webpack_require__(293);
1985
 
1986
  // CONCATENATED MODULE: ./client/layout/transient-notices/index.js
1987
 
2090
  };
2091
  /* harmony default export */ var transient_notices = (TransientNotices);
2092
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js + 2 modules
2093
+ var build_module_icon = __webpack_require__(118);
2094
 
2095
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/help.js
2096
+ var library_help = __webpack_require__(504);
2097
 
2098
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
2099
+ var external = __webpack_require__(505);
2100
 
2101
  // EXTERNAL MODULE: ./client/activity-panel/style.scss
2102
+ var activity_panel_style = __webpack_require__(294);
2103
 
2104
  // CONCATENATED MODULE: ./client/activity-panel/icon-flag.js
2105
 
2129
  fill: "#50575E"
2130
  })));
2131
  // EXTERNAL MODULE: ./client/inbox-panel/utils.js
2132
+ var inbox_panel_utils = __webpack_require__(177);
2133
 
2134
  // CONCATENATED MODULE: ./client/activity-panel/unread-indicators.js
2135
  /**
2136
  * External dependencies
2137
  */
2138
 
 
2139
  /**
2140
  * Internal dependencies
2141
  */
2142
 
2143
 
2144
+
2145
  const UNREAD_NOTES_QUERY = {
2146
  page: 1,
2147
  per_page: external_wc_data_["QUERY_DEFAULTS"].pageSize,
2179
  return unreadNotesCount > 0;
2180
  }
2181
  function getLowStockCount() {
2182
+ return Object(admin_settings["d" /* getAdminSetting */])('lowStockCount', 0);
2183
  }
2184
  // CONCATENATED MODULE: ./client/activity-panel/tab/index.js
2185
 
2311
  strokeLinecap: "round"
2312
  }));
2313
  // EXTERNAL MODULE: ./client/activity-panel/display-options/index.js + 3 modules
2314
+ var display_options = __webpack_require__(171);
2315
 
2316
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
2317
+ var library_close = __webpack_require__(501);
2318
 
2319
  // EXTERNAL MODULE: ./client/activity-panel/highlight-tooltip/style.scss
2320
+ var highlight_tooltip_style = __webpack_require__(295);
2321
 
2322
  // CONCATENATED MODULE: ./client/activity-panel/highlight-tooltip/index.js
2323
 
2530
  };
2531
 
2532
  // EXTERNAL MODULE: external ["wp","dom"]
2533
+ var external_wp_dom_ = __webpack_require__(93);
2534
 
2535
  // CONCATENATED MODULE: ./client/hooks/useFocusOnMount.js
2536
  /**
2873
  };
2874
  /* harmony default export */ var panel = (Panel);
2875
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/orders/utils.js
2876
+ var orders_utils = __webpack_require__(71);
2877
 
2878
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/reviews/utils.js
2879
+ var reviews_utils = __webpack_require__(105);
2880
 
2881
  // EXTERNAL MODULE: ./client/activity-panel/panels/inbox/abbreviated-notifications-panel.js + 2 modules
2882
+ var abbreviated_notifications_panel = __webpack_require__(257);
2883
 
2884
  // CONCATENATED MODULE: ./client/activity-panel/activity-panel.js
2885
 
3052
  if (Object(utils["f" /* isWCAdmin */])(window.location.href)) {
3053
  Object(external_wc_navigation_["getHistory"])().push(Object(external_wc_navigation_["getNewPath"])({}, '/', {}));
3054
  } else {
3055
+ window.location.href = Object(external_wc_wcSettings_["getAdminLink"])('admin.php?page=wc-admin');
3056
  }
3057
  }; // @todo Pull in dynamic unread status/count
3058
 
3071
  icon: Object(external_wp_element_["createElement"])(SetupProgress, null),
3072
  onClick: () => {
3073
  const currentLocation = window.location.href;
3074
+ const homescreenLocation = Object(external_wc_wcSettings_["getAdminLink"])('admin.php?page=wc-admin'); // Don't navigate if we're already on the homescreen, this will cause an infinite loop
3075
 
3076
  if (currentLocation !== homescreenLocation) {
3077
  // Ensure that if the user is trying to get to the task list they can see it even if
3107
  }),
3108
  visible: query.page === 'wc-admin' && query.task === 'appearance',
3109
  onClick: () => {
3110
+ window.open(Object(external_wc_wcSettings_["getSetting"])('siteUrl'));
3111
  Object(external_wc_tracks_["recordEvent"])('wcadmin_tasklist_previewsite', previewSiteBtnTrackData);
3112
  return null;
3113
  }
3244
  scope: 'woocommerce-admin'
3245
  });
3246
  // EXTERNAL MODULE: ./node_modules/gridicons/dist/cross-small.js
3247
+ var cross_small = __webpack_require__(103);
3248
  var cross_small_default = /*#__PURE__*/__webpack_require__.n(cross_small);
3249
 
3250
  // CONCATENATED MODULE: ./client/lib/platform/index.js
3294
  const PLAY_STORE_LINK = 'https://play.google.com/store/apps/details?id=com.woocommerce.android';
3295
  const TRACKING_EVENT_NAME = 'wcadmin_mobile_android_banner_click';
3296
  // EXTERNAL MODULE: ./client/mobile-banner/banner.scss
3297
+ var banner = __webpack_require__(296);
3298
 
3299
  // CONCATENATED MODULE: ./client/mobile-banner/banner.js
3300
 
3416
  scope: 'woocommerce-admin'
3417
  });
3418
  // EXTERNAL MODULE: ./client/navigation/style.scss
3419
+ var navigation_style = __webpack_require__(297);
3420
 
3421
  // CONCATENATED MODULE: ./client/navigation/utils.ts
3422
  /**
3432
  return url;
3433
  }
3434
 
3435
+ return Object(external_wc_wcSettings_["getAdminLink"])(url);
3436
  };
3437
  /**
3438
  * Get a default regex expression to match the path and provided params.
3613
 
3614
 
3615
  const header_Header = () => {
3616
+ const siteTitle = Object(external_wc_wcSettings_["getSetting"])('siteTitle', '');
3617
+ const homeUrl = Object(external_wc_wcSettings_["getSetting"])('homeUrl', '');
3618
  const isScrolled = useIsScrolled();
3619
  const [isFolded, setIsFolded] = Object(external_wp_element_["useState"])(document.body.classList.contains(false));
3620
  const navClasses = {
3711
  role: "switch",
3712
  "aria-checked": isFolded ? 'true' : 'false'
3713
  }, buttonIcon), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
3714
+ title: siteTitle,
3715
  href: homeUrl,
3716
  className: "woocommerce-navigation-header__site-title",
3717
  as: "span"
3720
 
3721
  /* harmony default export */ var header = (header_Header);
3722
  // EXTERNAL MODULE: ./client/navigation/components/category-title/style.scss
3723
+ var category_title_style = __webpack_require__(298);
3724
 
3725
  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
3726
 
3755
  /* harmony default export */ var star_empty = (starEmpty);
3756
  //# sourceMappingURL=star-empty.js.map
3757
  // EXTERNAL MODULE: ./client/navigation/components/favorite-button/style.scss
3758
+ var favorite_button_style = __webpack_require__(299);
3759
 
3760
  // CONCATENATED MODULE: ./client/navigation/components/favorite-button/index.js
3761
 
4278
 
4279
 
4280
 
 
4281
  /**
4282
  * Internal dependencies
4283
  */
4290
 
4291
 
4292
 
4293
+
4294
  const StoreAlerts = Object(external_wp_element_["lazy"])(() => Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(49)]).then(__webpack_require__.bind(null, 637)));
4295
+ const WCPayUsageModal = Object(external_wp_element_["lazy"])(() => __webpack_require__.e(/* import() | wcpay-usage-modal */ 55).then(__webpack_require__.bind(null, 527)));
4296
  class layout_PrimaryLayout extends external_wp_element_["Component"] {
4297
  render() {
4298
  const {
4431
  wpOpenMenu: prop_types_default.a.string
4432
  }).isRequired
4433
  };
4434
+ const dataEndpoints = Object(admin_settings["d" /* getAdminSetting */])('dataEndpoints');
4435
+ const Layout = Object(external_wp_compose_["compose"])(Object(external_wc_data_["withPluginsHydration"])({ ...Object(admin_settings["d" /* getAdminSetting */])('plugins', {}),
4436
  jetpackStatus: dataEndpoints && dataEndpoints.jetpackStatus || false
4437
  }), Object(external_wp_data_["withSelect"])((select, {
4438
  isEmbedded
4472
  })));
4473
  };
4474
 
4475
+ const PageLayout = Object(external_wp_compose_["compose"])(window.wcSettings.admin ? Object(external_wc_data_["withOptionsHydration"])({ ...Object(admin_settings["d" /* getAdminSetting */])('preloadOptions', {})
4476
  }) : external_lodash_["identity"])(_PageLayout);
4477
 
4478
  const _EmbedLayout = () => Object(external_wp_element_["createElement"])(Layout, {
4479
  page: {
4480
+ breadcrumbs: Object(admin_settings["d" /* getAdminSetting */])('embedBreadcrumbs', [])
4481
  },
4482
  isEmbedded: true
4483
  });
4484
 
4485
+ const EmbedLayout = Object(external_wp_compose_["compose"])(Object(admin_settings["d" /* getAdminSetting */])('preloadOptions') ? Object(external_wc_data_["withOptionsHydration"])({ ...Object(admin_settings["d" /* getAdminSetting */])('preloadOptions')
4486
  }) : external_lodash_["identity"])(_EmbedLayout);
4487
 
4488
  /***/ }),
4489
 
4490
+ /***/ 122:
4491
  /***/ (function(module, exports) {
4492
 
4493
  (function() { module.exports = window["wc"]["number"]; }());
4494
 
4495
  /***/ }),
4496
 
4497
+ /***/ 123:
4498
  /***/ (function(module, exports) {
4499
 
4500
  (function() { module.exports = window["wc"]["explat"]; }());
4501
 
4502
  /***/ }),
4503
 
4504
+ /***/ 129:
4505
  /***/ (function(module, exports) {
4506
 
4507
  (function() { module.exports = window["wp"]["notices"]; }());
4508
 
4509
  /***/ }),
4510
 
4511
+ /***/ 13:
4512
+ /***/ (function(module, exports) {
4513
+
4514
+ (function() { module.exports = window["wp"]["compose"]; }());
4515
+
4516
+ /***/ }),
4517
+
4518
+ /***/ 130:
4519
  /***/ (function(module, exports) {
4520
 
4521
  // shim for using process in browser
4706
 
4707
  /***/ }),
4708
 
4709
+ /***/ 131:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4710
  /***/ (function(module, exports, __webpack_require__) {
4711
 
4712
  "use strict";
4732
  /***/ 14:
4733
  /***/ (function(module, exports) {
4734
 
4735
+ (function() { module.exports = window["wc"]["wcSettings"]; }());
4736
 
4737
  /***/ }),
4738
 
4750
 
4751
  /***/ }),
4752
 
4753
+ /***/ 161:
4754
  /***/ (function(module, exports, __webpack_require__) {
4755
 
4756
  "use strict";
4760
 
4761
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4762
 
4763
+ var _extends = _interopDefault(__webpack_require__(37));
4764
+ var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(289));
4765
  var React = __webpack_require__(5);
4766
  var React__default = _interopDefault(React);
4767
+ var _inheritsLoose = _interopDefault(__webpack_require__(290));
4768
+ var _assertThisInitialized = _interopDefault(__webpack_require__(292));
4769
 
4770
  var is = {
4771
  arr: Array.isArray,
7081
 
7082
  /***/ }),
7083
 
7084
+ /***/ 162:
7085
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7086
 
7087
  "use strict";
7088
  /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
7089
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7090
+ /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(26);
7091
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
7092
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
7093
 
7265
 
7266
  /* harmony default export */ __webpack_exports__["a"] = (index);
7267
 
7268
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(81)))
7269
 
7270
  /***/ }),
7271
 
7272
+ /***/ 163:
7273
  /***/ (function(module, exports, __webpack_require__) {
7274
 
7275
+ var isarray = __webpack_require__(300)
7276
 
7277
  /**
7278
  * Expose `pathToRegexp`.
7709
 
7710
  /***/ }),
7711
 
7712
+ /***/ 171:
7713
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7714
 
7715
  "use strict";
7906
 
7907
  /***/ }),
7908
 
7909
+ /***/ 176:
7910
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7911
 
7912
  "use strict";
7938
 
7939
  /***/ }),
7940
 
7941
+ /***/ 177:
7942
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7943
 
7944
  "use strict";
8084
 
8085
  var _react2 = _interopRequireDefault(_react);
8086
 
8087
+ var _reactAddonsCreateFragment = __webpack_require__(72);
8088
 
8089
  var _reactAddonsCreateFragment2 = _interopRequireDefault(_reactAddonsCreateFragment);
8090
 
8091
+ var _tokenize = __webpack_require__(75);
8092
 
8093
  var _tokenize2 = _interopRequireDefault(_tokenize);
8094
 
8251
  /***/ 22:
8252
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8253
 
8254
+ "use strict";
8255
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getAdminSetting; });
8256
+ /* unused harmony export ADMIN_URL */
8257
+ /* unused harmony export COUNTRIES */
8258
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; });
8259
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return LOCALE; });
8260
+ /* unused harmony export SITE_TITLE */
8261
+ /* unused harmony export WC_ASSET_URL */
8262
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ORDER_STATUSES; });
8263
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return setAdminSetting; });
8264
+ /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
8265
+ /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
8266
+ /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
8267
+ /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__);
8268
+ /**
8269
+ * External dependencies
8270
+ */
8271
+
8272
+ // Remove mutable data from settings object to prevent access. Data stores should be used instead.
8273
+
8274
+ const mutableSources = ['wcAdminSettings', 'preloadSettings'];
8275
+ const adminSettings = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('admin', {});
8276
+ const ADMIN_SETTINGS_SOURCE = Object.keys(adminSettings).reduce((source, key) => {
8277
+ if (!mutableSources.includes(key)) {
8278
+ source[key] = adminSettings[key];
8279
+ }
8280
+
8281
+ return source;
8282
+ }, {});
8283
+ /**
8284
+ * Retrieves a setting value from the setting state.
8285
+ *
8286
+ * @param {string} name The identifier for the setting.
8287
+ * @param {*} [fallback=false] The value to use as a fallback
8288
+ * if the setting is not in the
8289
+ * state.
8290
+ * @param {Function} [filter=( val ) => val] A callback for filtering the
8291
+ * value before it's returned.
8292
+ * Receives both the found value
8293
+ * (if it exists for the key) and
8294
+ * the provided fallback arg.
8295
+ *
8296
+ * @return {*} The value present in the settings state for the given
8297
+ * name.
8298
+ */
8299
+
8300
+ function getAdminSetting(name, fallback = false, filter = val => val) {
8301
+ if (mutableSources.includes(name)) {
8302
+ throw new Error(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Mutable settings should be accessed via data store.'));
8303
+ }
8304
+
8305
+ const value = ADMIN_SETTINGS_SOURCE.hasOwnProperty(name) ? ADMIN_SETTINGS_SOURCE[name] : fallback;
8306
+ return filter(value, fallback);
8307
+ }
8308
+ const ADMIN_URL = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('adminUrl');
8309
+ const COUNTRIES = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('countries');
8310
+ const CURRENCY = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('currency');
8311
+ const LOCALE = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('locale');
8312
+ const SITE_TITLE = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('siteTitle');
8313
+ const WC_ASSET_URL = Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_1__["getSetting"])('wcAssetUrl');
8314
+ const ORDER_STATUSES = getAdminSetting('orderStatuses');
8315
+ /**
8316
+ * Sets a value to a property on the settings state.
8317
+ *
8318
+ * NOTE: This feature is to be removed in favour of data stores when a full migration
8319
+ * is complete.
8320
+ *
8321
+ * @deprecated
8322
+ *
8323
+ * @param {string} name The setting property key for the
8324
+ * setting being mutated.
8325
+ * @param {*} value The value to set.
8326
+ * @param {Function} [filter=( val ) => val] Allows for providing a callback
8327
+ * to sanitize the setting (eg.
8328
+ * ensure it's a number)
8329
+ */
8330
+
8331
+ function setAdminSetting(name, value, filter = val => val) {
8332
+ if (mutableSources.includes(name)) {
8333
+ throw new Error(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Mutable settings should be mutated via data store.'));
8334
+ }
8335
+
8336
+ ADMIN_SETTINGS_SOURCE[name] = filter(value);
8337
+ }
8338
+
8339
+ /***/ }),
8340
+
8341
+ /***/ 23:
8342
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8343
+
8344
  "use strict";
8345
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
8346
  function _objectWithoutPropertiesLoose(source, excluded) {
8360
 
8361
  /***/ }),
8362
 
8363
+ /***/ 24:
8364
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8365
 
8366
  "use strict";
8385
 
8386
  /***/ }),
8387
 
8388
+ /***/ 257:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8389
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8390
 
8391
  "use strict";
8416
  var external_wc_data_ = __webpack_require__(11);
8417
 
8418
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
8419
+ var page = __webpack_require__(502);
8420
 
8421
  // EXTERNAL MODULE: external ["wp","primitives"]
8422
  var external_wp_primitives_ = __webpack_require__(8);
8437
  /* harmony default export */ var library_comment = (comment);
8438
  //# sourceMappingURL=comment.js.map
8439
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/box.js
8440
+ var box = __webpack_require__(503);
8441
 
8442
  // EXTERNAL MODULE: external ["wp","components"]
8443
  var external_wp_components_ = __webpack_require__(3);
8444
 
8445
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/orders/utils.js
8446
+ var utils = __webpack_require__(71);
8447
 
8448
  // EXTERNAL MODULE: ./client/homescreen/activity-panel/reviews/utils.js
8449
+ var reviews_utils = __webpack_require__(105);
8450
 
8451
  // EXTERNAL MODULE: ./client/dashboard/utils.js
8452
+ var dashboard_utils = __webpack_require__(65);
8453
 
8454
  // CONCATENATED MODULE: ./client/activity-panel/panels/inbox/icons/bell.js
8455
 
8574
 
8575
  /***/ }),
8576
 
8577
+ /***/ 258:
8578
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8579
 
8580
  "use strict";
8592
  var external_wp_i18n_ = __webpack_require__(2);
8593
 
8594
  // EXTERNAL MODULE: external ["wp","hooks"]
8595
+ var external_wp_hooks_ = __webpack_require__(28);
8596
 
8597
  // EXTERNAL MODULE: ./node_modules/interpolate-components/lib/index.js
8598
  var lib = __webpack_require__(19);
8599
  var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
8600
 
 
 
 
8601
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
8602
+ var qs_lib = __webpack_require__(29);
8603
 
8604
  // EXTERNAL MODULE: external ["wc","components"]
8605
  var external_wc_components_ = __webpack_require__(21);
8669
  };
8670
 
8671
  /* harmony default export */ var default_date = (DefaultDate);
8672
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
8673
+ var admin_settings = __webpack_require__(22);
8674
+
8675
  // CONCATENATED MODULE: ./client/analytics/settings/config.js
8676
 
8677
 
8681
 
8682
 
8683
 
 
8684
  /**
8685
  * Internal dependencies
8686
  */
8687
 
8688
 
8689
+
8690
  const SETTINGS_FILTER = 'woocommerce_admin_analytics_settings';
8691
  const DEFAULT_ACTIONABLE_STATUSES = ['processing', 'on-hold'];
8692
  const DEFAULT_ORDER_STATUSES = ['completed', 'processing', 'refunded', 'cancelled', 'failed', 'pending', 'on-hold'];
8693
  const DEFAULT_DATE_RANGE = 'period=month&compare=previous_year';
8694
+ const filteredOrderStatuses = Object.keys(admin_settings["c" /* ORDER_STATUSES */]).filter(status => status !== 'refunded').map(key => {
8695
  return {
8696
  value: key,
8697
+ label: admin_settings["c" /* ORDER_STATUSES */][key],
8698
+ description: Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Exclude the %s status from reports', 'woocommerce-admin'), admin_settings["c" /* ORDER_STATUSES */][key])
8699
  };
8700
  });
8701
+ const unregisteredOrderStatuses = Object(admin_settings["d" /* getAdminSetting */])('unregisteredOrderStatuses', {});
8702
  const orderStatusOptions = [{
8703
  key: 'defaultStatuses',
8704
  options: filteredOrderStatuses.filter(status => DEFAULT_ORDER_STATUSES.includes(status.value))
8749
 
8750
  /***/ }),
8751
 
8752
+ /***/ 259:
8753
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8754
 
8755
  "use strict";
8759
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
8760
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
8761
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
8762
+ /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(260);
8763
  /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);
8764
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
8765
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
8766
+ /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(261);
8767
  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_5__);
8768
  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3);
8769
  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
8811
  // onDismiss is a callback executed when the snackbar is dismissed.
8812
  // It is distinct from onRemove, which _looks_ like a callback but is
8813
  // actually the function to call to remove the snackbar from the UI.
8814
+ onDismiss = null,
8815
+ __unstableHTML = false
8816
  }, ref) {
8817
  onDismiss = onDismiss || lodash__WEBPACK_IMPORTED_MODULE_1__["noop"];
8818
 
8859
  const snackbarContentClassnames = classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-snackbar__content', {
8860
  'components-snackbar__content-with-icon': !!icon
8861
  });
8862
+
8863
+ if (__unstableHTML === true) {
8864
+ children = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, children);
8865
+ }
8866
+
8867
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
8868
  ref: ref,
8869
  className: classes,
8899
  }
8900
 
8901
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar));
8902
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(130)))
8903
 
8904
  /***/ }),
8905
 
8906
+ /***/ 26:
8907
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8908
 
8909
+ "use strict";
8910
+
8911
+ // EXPORTS
8912
+ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inheritsLoose; });
8913
+
8914
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
8915
+ function _setPrototypeOf(o, p) {
8916
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
8917
+ o.__proto__ = p;
8918
+ return o;
8919
+ };
8920
+
8921
+ return _setPrototypeOf(o, p);
8922
+ }
8923
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
8924
+
8925
+ function _inheritsLoose(subClass, superClass) {
8926
+ subClass.prototype = Object.create(superClass.prototype);
8927
+ subClass.prototype.constructor = subClass;
8928
+ _setPrototypeOf(subClass, superClass);
8929
+ }
8930
 
8931
  /***/ }),
8932
 
8933
  /***/ 260:
8934
  /***/ (function(module, exports) {
8935
 
8936
+ (function() { module.exports = window["wp"]["a11y"]; }());
8937
 
8938
  /***/ }),
8939
 
8940
  /***/ 261:
8941
  /***/ (function(module, exports) {
8942
 
8943
+ (function() { module.exports = window["wp"]["warning"]; }());
8944
 
8945
  /***/ }),
8946
 
8947
+ /***/ 262:
8948
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
 
8949
 
8950
+ (function() { module.exports = window["wc"]["customerEffortScore"]; }());
8951
 
8952
  /***/ }),
8953
 
8954
+ /***/ 273:
8955
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8956
 
8957
  "use strict";
8990
  var external_wc_tracks_ = __webpack_require__(16);
8991
 
8992
  // EXTERNAL MODULE: external ["wc","customerEffortScore"]
8993
+ var external_wc_customerEffortScore_ = __webpack_require__(262);
8994
  var external_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_wc_customerEffortScore_);
8995
 
8996
  // EXTERNAL MODULE: external ["wp","compose"]
8997
+ var external_wp_compose_ = __webpack_require__(13);
8998
 
8999
  // EXTERNAL MODULE: external ["wp","data"]
9000
  var external_wp_data_ = __webpack_require__(7);
9228
  };
9229
  }))(CustomerEffortScoreTracks));
9230
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
9231
+ var constants = __webpack_require__(58);
9232
 
9233
  // EXTERNAL MODULE: external ["wp","dataControls"]
9234
  var external_wp_dataControls_ = __webpack_require__(10);
9495
 
9496
  /***/ }),
9497
 
9498
+ /***/ 274:
9499
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9500
 
9501
  "use strict";
9504
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ EmbeddedBodyLayout; });
9505
 
9506
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
9507
+ var helpers_extends = __webpack_require__(37);
9508
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
9509
 
9510
  // EXTERNAL MODULE: external ["wp","element"]
9511
  var external_wp_element_ = __webpack_require__(0);
9512
 
9513
  // EXTERNAL MODULE: external ["wp","hooks"]
9514
+ var external_wp_hooks_ = __webpack_require__(28);
9515
 
9516
  // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
9517
+ var lib = __webpack_require__(29);
9518
 
9519
  // EXTERNAL MODULE: external ["wp","data"]
9520
  var external_wp_data_ = __webpack_require__(7);
9630
  // CONCATENATED MODULE: ./client/shipping/index.ts
9631
 
9632
  // EXTERNAL MODULE: ./client/embedded-body-layout/style.scss
9633
+ var style = __webpack_require__(301);
9634
 
9635
  // CONCATENATED MODULE: ./client/embedded-body-layout/embedded-body-layout.tsx
9636
 
9690
  /***/ 28:
9691
  /***/ (function(module, exports) {
9692
 
9693
+ (function() { module.exports = window["wp"]["hooks"]; }());
9694
 
9695
  /***/ }),
9696
 
9697
+ /***/ 283:
9698
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9699
 
9700
  "use strict";
9701
  __webpack_require__.r(__webpack_exports__);
9702
  /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
9703
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
9704
+ /* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(129);
9705
  /* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_notices__WEBPACK_IMPORTED_MODULE_1__);
9706
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
9707
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
9708
+ /* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(285);
9709
+ /* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__);
9710
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
9711
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(121);
9712
+ /* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(273);
9713
+ /* harmony import */ var _embedded_body_layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(274);
9714
 
9715
 
9716
  /**
9719
 
9720
 
9721
 
 
9722
  /**
9723
  * Internal dependencies
9724
  */
9726
 
9727
 
9728
 
9729
+
9730
  // Modify webpack pubilcPath at runtime based on location of WordPress Plugin.
9731
  // eslint-disable-next-line no-undef,camelcase
9732
 
9734
  const appRoot = document.getElementById('root');
9735
  const embeddedRoot = document.getElementById('woocommerce-embedded-root');
9736
  const settingsGroup = 'wc_admin';
9737
+ const hydrateUser = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_4__[/* getAdminSetting */ "d"])('currentUserData');
9738
 
9739
  if (appRoot) {
9740
  let HydratedPageLayout = Object(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__["withSettingsHydration"])(settingsGroup, window.wcSettings.admin)(_layout__WEBPACK_IMPORTED_MODULE_5__[/* PageLayout */ "b"]);
9782
  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["render"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_6__[/* CustomerEffortScoreTracksContainer */ "a"], null), root.insertBefore(document.createElement('div'), null));
9783
  })();
9784
  }
9785
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(81)))
9786
 
9787
  /***/ }),
9788
 
9789
+ /***/ 285:
9790
  /***/ (function(module, exports, __webpack_require__) {
9791
 
9792
  // extracted by mini-css-extract-plugin
9793
 
9794
  /***/ }),
9795
 
9796
+ /***/ 286:
9797
  /***/ (function(module, exports) {
9798
 
9799
  (function() { module.exports = window["wc"]["notices"]; }());
9800
 
9801
  /***/ }),
9802
 
9803
+ /***/ 287:
9804
  /***/ (function(module, exports, __webpack_require__) {
9805
 
9806
  // extracted by mini-css-extract-plugin
9807
 
9808
  /***/ }),
9809
 
9810
+ /***/ 288:
9811
  /***/ (function(module, exports, __webpack_require__) {
9812
 
9813
  // extracted by mini-css-extract-plugin
9814
 
9815
  /***/ }),
9816
 
9817
+ /***/ 289:
9818
  /***/ (function(module, exports) {
9819
 
9820
  function _objectWithoutPropertiesLoose(source, excluded) {
9837
 
9838
  /***/ }),
9839
 
9840
+ /***/ 29:
9841
  /***/ (function(module, exports, __webpack_require__) {
9842
 
9843
+ "use strict";
9844
+
9845
+
9846
+ var stringify = __webpack_require__(59);
9847
+ var parse = __webpack_require__(60);
9848
+ var formats = __webpack_require__(36);
9849
+
9850
+ module.exports = {
9851
+ formats: formats,
9852
+ parse: parse,
9853
+ stringify: stringify
9854
+ };
9855
+
9856
+
9857
+ /***/ }),
9858
+
9859
+ /***/ 290:
9860
+ /***/ (function(module, exports, __webpack_require__) {
9861
+
9862
+ var setPrototypeOf = __webpack_require__(291);
9863
 
9864
  function _inheritsLoose(subClass, superClass) {
9865
  subClass.prototype = Object.create(superClass.prototype);
9872
 
9873
  /***/ }),
9874
 
9875
+ /***/ 291:
 
 
 
 
 
 
 
9876
  /***/ (function(module, exports) {
9877
 
9878
  function _setPrototypeOf(o, p) {
9890
 
9891
  /***/ }),
9892
 
9893
+ /***/ 292:
9894
  /***/ (function(module, exports) {
9895
 
9896
  function _assertThisInitialized(self) {
9906
 
9907
  /***/ }),
9908
 
 
 
 
 
 
 
 
9909
  /***/ 293:
9910
  /***/ (function(module, exports, __webpack_require__) {
9911
 
9949
  /***/ }),
9950
 
9951
  /***/ 299:
9952
+ /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
9953
 
9954
+ // extracted by mini-css-extract-plugin
9955
 
9956
  /***/ }),
9957
 
9965
  /***/ 30:
9966
  /***/ (function(module, exports) {
9967
 
9968
+ (function() { module.exports = window["wp"]["htmlEntities"]; }());
9969
 
9970
  /***/ }),
9971
 
9972
  /***/ 300:
9973
+ /***/ (function(module, exports) {
9974
+
9975
+ module.exports = Array.isArray || function (arr) {
9976
+ return Object.prototype.toString.call(arr) == '[object Array]';
9977
+ };
9978
+
9979
+
9980
+ /***/ }),
9981
+
9982
+ /***/ 301:
9983
  /***/ (function(module, exports, __webpack_require__) {
9984
 
9985
  // extracted by mini-css-extract-plugin
9989
  /***/ 31:
9990
  /***/ (function(module, exports) {
9991
 
9992
+ (function() { module.exports = window["ReactDOM"]; }());
9993
+
9994
+ /***/ }),
9995
+
9996
+ /***/ 32:
9997
+ /***/ (function(module, exports) {
9998
+
9999
+ (function() { module.exports = window["wp"]["keycodes"]; }());
10000
 
10001
  /***/ }),
10002
 
10003
+ /***/ 36:
10004
  /***/ (function(module, exports, __webpack_require__) {
10005
 
10006
  "use strict";
10031
 
10032
  /***/ }),
10033
 
10034
+ /***/ 37:
10035
  /***/ (function(module, exports) {
10036
 
10037
  function _extends() {
10065
 
10066
  /***/ }),
10067
 
10068
+ /***/ 42:
10069
  /***/ (function(module, exports, __webpack_require__) {
10070
 
10071
  "use strict";
10072
 
10073
 
10074
+ var formats = __webpack_require__(36);
10075
 
10076
  var has = Object.prototype.hasOwnProperty;
10077
  var isArray = Array.isArray;
10324
 
10325
  /***/ }),
10326
 
10327
+ /***/ 44:
10328
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10329
 
10330
  "use strict";
10345
 
10346
  /***/ }),
10347
 
10348
+ /***/ 477:
10349
  /***/ (function(module, exports) {
10350
 
10351
  (function() { module.exports = window["wc"]["csvExport"]; }());
10352
 
10353
  /***/ }),
10354
 
10355
+ /***/ 49:
 
 
 
 
 
 
 
10356
  /***/ (function(module, exports, __webpack_require__) {
10357
 
10358
  "use strict";
10365
 
10366
 
10367
 
10368
+ var ReactPropTypesSecret = __webpack_require__(50);
10369
 
10370
  function emptyFunction() {}
10371
  function emptyFunctionWithReset() {}
10422
  };
10423
 
10424
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10425
  /***/ }),
10426
 
10427
  /***/ 5:
10435
  /***/ (function(module, exports, __webpack_require__) {
10436
 
10437
  "use strict";
 
 
10438
  /**
10439
  * Copyright (c) 2013-present, Facebook, Inc.
10440
  *
10441
  * This source code is licensed under the MIT license found in the
10442
  * LICENSE file in the root directory of this source tree.
 
 
10443
  */
10444
 
 
 
 
 
 
10445
 
 
 
 
 
 
 
10446
 
10447
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
10448
+
10449
+ module.exports = ReactPropTypesSecret;
 
 
 
 
 
 
 
10450
 
 
10451
 
10452
  /***/ }),
10453
 
10454
+ /***/ 501:
10455
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10456
 
10457
  "use strict";
10476
 
10477
  /***/ }),
10478
 
10479
+ /***/ 502:
10480
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10481
 
10482
  "use strict";
10501
 
10502
  /***/ }),
10503
 
10504
+ /***/ 503:
10505
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10506
 
10507
  "use strict";
10528
 
10529
  /***/ }),
10530
 
10531
+ /***/ 504:
10532
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10533
 
10534
  "use strict";
10553
 
10554
  /***/ }),
10555
 
10556
+ /***/ 505:
10557
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10558
 
10559
  "use strict";
10578
 
10579
  /***/ }),
10580
 
10581
+ /***/ 51:
10582
+ /***/ (function(module, exports, __webpack_require__) {
10583
+
10584
+ "use strict";
10585
+
10586
+
10587
+ /**
10588
+ * Copyright (c) 2013-present, Facebook, Inc.
10589
+ *
10590
+ * This source code is licensed under the MIT license found in the
10591
+ * LICENSE file in the root directory of this source tree.
10592
+ *
10593
+ *
10594
+ */
10595
+
10596
+ function makeEmptyFunction(arg) {
10597
+ return function () {
10598
+ return arg;
10599
+ };
10600
+ }
10601
+
10602
+ /**
10603
+ * This function accepts and discards inputs; it has no side effects. This is
10604
+ * primarily useful idiomatically for overridable function endpoints which
10605
+ * always need to be callable, since JS lacks a null-call idiom ala Cocoa.
10606
+ */
10607
+ var emptyFunction = function emptyFunction() {};
10608
+
10609
+ emptyFunction.thatReturns = makeEmptyFunction;
10610
+ emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
10611
+ emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
10612
+ emptyFunction.thatReturnsNull = makeEmptyFunction(null);
10613
+ emptyFunction.thatReturnsThis = function () {
10614
+ return this;
10615
+ };
10616
+ emptyFunction.thatReturnsArgument = function (arg) {
10617
+ return arg;
10618
+ };
10619
+
10620
+ module.exports = emptyFunction;
10621
+
10622
+ /***/ }),
10623
+
10624
+ /***/ 53:
10625
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10626
 
10627
  "use strict";
10774
 
10775
  /***/ }),
10776
 
10777
+ /***/ 54:
10778
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10779
 
10780
  "use strict";
10789
  // UNUSED EXPORTS: createHashHistory, parsePath
10790
 
10791
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
10792
+ var esm_extends = __webpack_require__(24);
10793
 
10794
  // CONCATENATED MODULE: ./node_modules/resolve-pathname/esm/resolve-pathname.js
10795
  function isAbsolute(pathname) {
10907
  /* harmony default export */ var value_equal = (valueEqual);
10908
 
10909
  // EXTERNAL MODULE: ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js
10910
+ var tiny_invariant_esm = __webpack_require__(44);
10911
 
10912
  // CONCATENATED MODULE: ./node_modules/history/esm/history.js
10913
 
11833
 
11834
  /***/ }),
11835
 
11836
+ /***/ 55:
11837
  /***/ (function(module, exports) {
11838
 
11839
  (function() { module.exports = window["wp"]["plugins"]; }());
11840
 
11841
  /***/ }),
11842
 
11843
+ /***/ 58:
11844
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11845
 
11846
  "use strict";
11853
 
11854
  /***/ }),
11855
 
11856
+ /***/ 59:
11857
  /***/ (function(module, exports, __webpack_require__) {
11858
 
11859
  "use strict";
11860
 
11861
 
11862
+ var utils = __webpack_require__(42);
11863
+ var formats = __webpack_require__(36);
11864
  var has = Object.prototype.hasOwnProperty;
11865
 
11866
  var arrayPrefixGenerators = {
12139
 
12140
  /***/ }),
12141
 
12142
+ /***/ 6:
12143
+ /***/ (function(module, exports, __webpack_require__) {
12144
+
12145
+ /*!
12146
+ Copyright (c) 2018 Jed Watson.
12147
+ Licensed under the MIT License (MIT), see
12148
+ http://jedwatson.github.io/classnames
12149
+ */
12150
+ /* global define */
12151
+
12152
+ (function () {
12153
+ 'use strict';
12154
+
12155
+ var hasOwn = {}.hasOwnProperty;
12156
+
12157
+ function classNames() {
12158
+ var classes = [];
12159
+
12160
+ for (var i = 0; i < arguments.length; i++) {
12161
+ var arg = arguments[i];
12162
+ if (!arg) continue;
12163
+
12164
+ var argType = typeof arg;
12165
+
12166
+ if (argType === 'string' || argType === 'number') {
12167
+ classes.push(arg);
12168
+ } else if (Array.isArray(arg)) {
12169
+ if (arg.length) {
12170
+ var inner = classNames.apply(null, arg);
12171
+ if (inner) {
12172
+ classes.push(inner);
12173
+ }
12174
+ }
12175
+ } else if (argType === 'object') {
12176
+ if (arg.toString === Object.prototype.toString) {
12177
+ for (var key in arg) {
12178
+ if (hasOwn.call(arg, key) && arg[key]) {
12179
+ classes.push(key);
12180
+ }
12181
+ }
12182
+ } else {
12183
+ classes.push(arg.toString());
12184
+ }
12185
+ }
12186
+ }
12187
+
12188
+ return classes.join(' ');
12189
+ }
12190
+
12191
+ if ( true && module.exports) {
12192
+ classNames.default = classNames;
12193
+ module.exports = classNames;
12194
+ } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
12195
+ // register as 'classnames', consistent with npm package name
12196
+ define('classnames', [], function () {
12197
+ return classNames;
12198
+ });
12199
+ } else {
12200
+ window.classNames = classNames;
12201
+ }
12202
+ }());
12203
+
12204
+
12205
+ /***/ }),
12206
+
12207
+ /***/ 60:
12208
  /***/ (function(module, exports, __webpack_require__) {
12209
 
12210
  "use strict";
12211
 
12212
 
12213
+ var utils = __webpack_require__(42);
12214
 
12215
  var has = Object.prototype.hasOwnProperty;
12216
  var isArray = Array.isArray;
12469
 
12470
  /***/ }),
12471
 
12472
+ /***/ 62:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12473
  /***/ (function(module, exports) {
12474
 
12475
  (function() { module.exports = window["wp"]["date"]; }());
12476
 
12477
  /***/ }),
12478
 
12479
+ /***/ 65:
12480
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12481
 
12482
  "use strict";
12487
  /* unused harmony export getProductList */
12488
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPriceValue; });
12489
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
12490
+ /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30);
12491
  /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_0__);
12492
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
12493
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
12494
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
12495
  /**
12496
  * External dependencies
12497
  */
12498
 
12499
 
12500
+ /**
12501
+ * Internal dependencies
12502
+ */
12503
+
12504
 
12505
  /**
12506
  * Gets the country code from a country:state value string.
12518
  }
12519
  function getCurrencyRegion(countryState) {
12520
  let region = getCountryCode(countryState);
12521
+ const euCountries = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["without"])(Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* getAdminSetting */ "d"])('onboarding', {
12522
  euCountries: []
12523
  }).euCountries, 'GB');
12524
 
12599
  productList.push(productTypes[productType]);
12600
  }
12601
  });
12602
+ const onboarding = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* getAdminSetting */ "d"])('onboarding', {});
12603
  let theme = null;
12604
 
12605
  if (onboarding && onboarding.themes) {
12642
 
12643
  /***/ }),
12644
 
12645
+ /***/ 71:
12646
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12647
 
12648
  "use strict";
12652
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getLowStockCount; });
12653
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
12654
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_0__);
12655
+ /* harmony import */ var _analytics_settings_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(258);
12656
  /**
12657
  * External dependencies
12658
  */
12733
 
12734
  /***/ }),
12735
 
12736
+ /***/ 72:
12737
  /***/ (function(module, exports, __webpack_require__) {
12738
 
12739
  "use strict";
12752
  (typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
12753
  0xeac7;
12754
 
12755
+ var emptyFunction = __webpack_require__(51);
12756
+ var invariant = __webpack_require__(73);
12757
+ var warning = __webpack_require__(74);
12758
 
12759
  var SEPARATOR = '.';
12760
  var SUBSEPARATOR = ':';
13062
 
13063
  /***/ }),
13064
 
13065
+ /***/ 73:
13066
  /***/ (function(module, exports, __webpack_require__) {
13067
 
13068
  "use strict";
13116
 
13117
  /***/ }),
13118
 
13119
+ /***/ 74:
13120
  /***/ (function(module, exports, __webpack_require__) {
13121
 
13122
  "use strict";
13130
 
13131
 
13132
 
13133
+ var emptyFunction = __webpack_require__(51);
13134
 
13135
  /**
13136
  * Similar to invariant but only logs a warning if the condition is not met.
13147
 
13148
  /***/ }),
13149
 
13150
+ /***/ 75:
13151
  /***/ (function(module, exports, __webpack_require__) {
13152
 
13153
  "use strict";
13196
 
13197
  /***/ }),
13198
 
13199
+ /***/ 81:
13200
  /***/ (function(module, exports) {
13201
 
13202
  var g;
13230
 
13231
  /***/ }),
13232
 
13233
+ /***/ 91:
13234
  /***/ (function(module, exports) {
13235
 
13236
  (function() { module.exports = window["wc"]["currency"]; }());
13237
 
13238
  /***/ }),
13239
 
13240
+ /***/ 93:
13241
  /***/ (function(module, exports) {
13242
 
13243
  (function() { module.exports = window["wp"]["dom"]; }());
dist/app/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-csv', 'wc-currency', 'wc-customer-effort-score', 'wc-date', 'wc-experimental', 'wc-explat', 'wc-navigation', 'wc-notices', 'wc-number', 'wc-settings', 'wc-store-data', 'wc-tracks', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'fe79bf1f6fece260394ecb2cef530c9c');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-csv', 'wc-currency', 'wc-customer-effort-score', 'wc-date', 'wc-experimental', 'wc-explat', 'wc-navigation', 'wc-notices', 'wc-number', 'wc-settings', 'wc-store-data', 'wc-tracks', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'aeb8c6c699063ba3e3dcdacb98f4dc7e');
dist/app/index.min.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see index.min.js.LICENSE.txt */
2
- this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var n,r,i=t[0],a=t[1],c=0,s=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&s.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={18:0},o={18:0};function i(e){var t=function(e){return a.p+"chunks/"+({4:"activity-panels-help",5:"activity-panels-inbox",6:"analytics-report",7:"analytics-report-categories",8:"analytics-report-coupons",9:"analytics-report-customers",10:"analytics-report-downloads",11:"analytics-report-orders",12:"analytics-report-products",13:"analytics-report-revenue",14:"analytics-report-stock",15:"analytics-report-taxes",16:"analytics-report-variations",17:"analytics-settings",24:"customizable-dashboard",25:"dashboard",26:"dashboard-charts",31:"homescreen",32:"leaderboards",34:"marketing-overview",45:"payment-recommendations",47:"profile-wizard",48:"shipping-recommendations",49:"store-alerts",50:"store-performance",52:"two-column-tasks",53:"two-column-tasks-extended",54:"wcpay-payment-welcome-page",55:"wcpay-usage-modal"}[e]||e)+".min.js"}(e);return window.wcAdminAssets&&window.wcAdminAssets.version&&(t+="?ver="+window.wcAdminAssets.version),t}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,3:1,4:1,5:1,6:1,7:1,9:1,11:1,12:1,14:1,17:1,25:1,26:1,31:1,32:1,34:1,45:1,47:1,48:1,49:1,50:1,52:1,54:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="chunks/"+e+".style.css",i=a.p+o,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(d=c[s]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(l===o||l===i))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var d;if((l=(d=u[s]).getAttribute("data-href"))===o||l===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.setAttribute("data-webpack",!0),m.onload=t,m.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],m.parentNode.removeChild(m),n(a)},m.href=i,window.wcAdminAssets&&window.wcAdminAssets.version&&(m.href+="?ver="+window.wcAdminAssets.version),document.getElementsByTagName("head")[0].appendChild(m)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.src=i(e);var u=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",u.name="ChunkLoadError",u.type=r,u.request=i,n[1](u)}o[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],s=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var u=s;return a(a.s=282)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t,n){e.exports=n(48)()},10:function(e,t){e.exports=window.wp.dataControls},102:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,i=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:s,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var o,i=n(5),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},104:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(11);const o=5,i={page:1,per_page:1,status:"hold",_embed:1,_fields:["id"]};function a(e){const{getReviewsTotalCount:t,getReviewsError:n,isResolving:o}=e(r.REVIEWS_STORE_NAME),a=t(i),c=Boolean(n(i)),s=o("getReviewsTotalCount",[i]);return c||s&&void 0===a?null:a}},105:function(e,t,n){"use strict";e.exports=n(130)},11:function(e,t){e.exports=window.wc.data},117:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(22);var i=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,c=void 0===n?24:n,s=function(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["icon","size"]);return Object(i.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:c,height:c},s))}},118:function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(13),a=n(0);const c=Object(i.f)("manageStock","no"),s=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(13)]).then(n.bind(null,484))),l=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(12)]).then(n.bind(null,480))),u=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(16)]).then(n.bind(null,485))),d=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(11)]).then(n.bind(null,486))),m=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(7)]).then(n.bind(null,482))),p=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(8)]).then(n.bind(null,487))),f=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(15)]).then(n.bind(null,488))),h=Object(a.lazy)(()=>Promise.all([n.e(0),n.e(10)]).then(n.bind(null,489))),b=Object(a.lazy)(()=>n.e(14).then(n.bind(null,481))),v=Object(a.lazy)(()=>n.e(9).then(n.bind(null,483)));t.a=()=>{const e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:s,navArgs:{id:"woocommerce-analytics-revenue"}},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:l,navArgs:{id:"woocommerce-analytics-products"}},{report:"variations",title:Object(r.__)("Variations","woocommerce-admin"),component:u,navArgs:{id:"woocommerce-analytics-variations"}},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:d,navArgs:{id:"woocommerce-analytics-orders"}},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:m,navArgs:{id:"woocommerce-analytics-categories"}},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:p,navArgs:{id:"woocommerce-analytics-coupons"}},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:f,navArgs:{id:"woocommerce-analytics-taxes"}},"yes"===c?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:b,navArgs:{id:"woocommerce-analytics-stock"}}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:v},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:h,navArgs:{id:"woocommerce-analytics-downloads"}}].filter(Boolean);return Object(o.applyFilters)("woocommerce_admin_reports_list",e)}},119:function(e,t,n){"use strict";var r=n(105),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var c=s(t),h=s(n),b=0;b<a.length;++b){var v=a[b];if(!(i[v]||r&&r[v]||h&&h[v]||c&&c[v])){var g=m(n,v);try{l(t,v,g)}catch(e){}}}}return t}},12:function(e,t){e.exports=window.wc.navigation},120:function(e,t,n){"use strict";n.d(t,"c",(function(){return pt})),n.d(t,"b",(function(){return vt})),n.d(t,"a",(function(){return gt}));var r=n(36),o=n.n(r),i=n(0),a=n(3),c=n(14),s=n(7),l=n(25),u=n(5),d=n.n(u),m=n(1),p=n.n(m),f=n(53),h=n(161),b=n(43),v=n(23),g=n(162),y=n.n(g),w=(n(105),n(22)),O=(n(119),function(e){var t=Object(h.a)();return t.displayName=e,t}("Router-History")),j=function(e){var t=Object(h.a)();return t.displayName=e,t}("Router"),_=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(l.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return d.a.createElement(j.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},d.a.createElement(O.Provider,{children:this.props.children||null,value:this.props.history}))},t}(d.a.Component);d.a.Component;d.a.Component;var E={},k=0;function x(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,s=n.sensitive,l=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=E[n]||(E[n]={});if(r[e])return r[e];var o=[],i={regexp:y()(e,o,t),keys:o};return k<1e4&&(r[e]=i,k++),i}(n,{end:i,strict:c,sensitive:l}),o=r.regexp,a=r.keys,s=o.exec(e);if(!s)return null;var u=s[0],d=s.slice(1),m=e===u;return i&&!m?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:m,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var C=function(e){function t(){return e.apply(this,arguments)||this}return Object(l.a)(t,e),t.prototype.render=function(){var e=this;return d.a.createElement(j.Consumer,null,(function(t){t||Object(b.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?x(n.pathname,e.props):t.match,o=Object(v.a)({},t,{location:n,match:r}),i=e.props,a=i.children,c=i.component,s=i.render;return Array.isArray(a)&&0===a.length&&(a=null),d.a.createElement(j.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?d.a.createElement(c,o):s?s(o):null:"function"==typeof a?a(o):null)}))},t}(d.a.Component);function S(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=S(e);return 0!==t.pathname.indexOf(n)?t:Object(v.a)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"==typeof e?e:Object(f.d)(e)}function P(e){return function(){Object(b.a)(!1)}}function N(){}d.a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return Object(l.a)(t,e),t.prototype.render=function(){var e=this;return d.a.createElement(j.Consumer,null,(function(t){t||Object(b.a)(!1);var n,r,o=e.props.location||t.location;return d.a.Children.forEach(e.props.children,(function(e){if(null==r&&d.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?x(o.pathname,Object(v.a)({},e.props,{path:i})):t.match}})),r?d.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(d.a.Component);d.a.useContext;var M=n(4),L=n(27),V=n(12),I=n(13),F=n(11),D=n(16),H=(n(285),n(54)),B=(n(286),n(31)),q=n(2),z=n(21),U=n(118),$=n(64),W=n(175);const G=Object(i.lazy)(()=>n.e(6).then(n.bind(null,622))),Q=Object(i.lazy)(()=>n.e(17).then(n.bind(null,633))),Y=Object(i.lazy)(()=>n.e(25).then(n.bind(null,623))),Z=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(2),n.e(3),n.e(31)]).then(n.bind(null,629))),K=Object(i.lazy)(()=>Promise.all([n.e(2),n.e(34)]).then(n.bind(null,634))),J=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(47)]).then(n.bind(null,630))),X=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(47)]).then(n.bind(null,624))),ee=Object(i.lazy)(()=>n.e(54).then(n.bind(null,632))),te=()=>{const e=[],t=[["",Object(I.f)("woocommerceTranslation")]];e.push({container:Z,path:"/",breadcrumbs:[...t,Object(q.__)("Home","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-home"},capability:"manage_woocommerce"}),window.wcAdminFeatures.analytics&&(e.push({container:Y,path:"/analytics/overview",breadcrumbs:[...t,["/analytics/overview",Object(q.__)("Analytics","woocommerce-admin")],Object(q.__)("Overview","woocommerce-admin")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-overview"},capability:"view_woocommerce_reports"}),e.push({container:Q,path:"/analytics/settings",breadcrumbs:[...t,["/analytics/revenue",Object(q.__)("Analytics","woocommerce-admin")],Object(q.__)("Settings","woocommerce-admin")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-settings"},capability:"view_woocommerce_reports"}),e.push({container:G,path:"/customers",breadcrumbs:[...t,Object(q.__)("Customers","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"},capability:"view_woocommerce_reports"}),e.push({container:G,path:"/analytics/:report",breadcrumbs:({match:e})=>{const n=Object(M.find)(Object(U.a)(),{report:e.params.report});return n?[...t,["/analytics/revenue",Object(q.__)("Analytics","woocommerce-admin")],n.title]:[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",capability:"view_woocommerce_reports"})),window.wcAdminFeatures.marketing&&e.push({container:K,path:"/marketing",breadcrumbs:[...t,["/marketing",Object(q.__)("Marketing","woocommerce-admin")],Object(q.__)("Overview","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce-marketing",navArgs:{id:"woocommerce-marketing-overview"},capability:"view_woocommerce_reports"}),window.wcAdminFeatures.onboarding&&e.push({container:J,path:"/setup-wizard",breadcrumbs:[...t,["/setup-wizard",Object(q.__)("Setup Wizard","woocommerce-admin")]],capability:"manage_woocommerce"}),window.wcAdminFeatures.settings&&e.push({container:X,path:"/settings/:page",breadcrumbs:({match:e})=>{const n=Object(I.f)("settingsPages"),r=n[e.params.page];return r?[...t,[n.general?"/settings/general":"/settings/"+Object.keys(n)[0],Object(q.__)("Settings","woocommerce-admin")],r]:[]},wpOpenMenu:"toplevel_page_woocommerce",capability:"manage_woocommerce"}),window.wcAdminFeatures["wc-pay-welcome-page"]&&e.push({container:ee,path:"/wc-pay-welcome-page",breadcrumbs:[["/wc-pay-welcome-page",Object(q.__)("WooCommerce Payments","woocommerce-admin")],Object(q.__)("WooCommerce Payments","woocommerce-admin")],navArgs:{id:"woocommerce-wc-pay-welcome-page"},wpOpenMenu:"toplevel_page_woocommerce-wc-pay-welcome-page",capability:"manage_woocommerce"});const n=Object(B.applyFilters)("woocommerce_admin_pages_list",e);return n.push({container:W.a,path:"*",breadcrumbs:[...t,Object(q.__)("Not allowed","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce"}),n};class ne extends i.Component{componentDidMount(){window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}componentDidUpdate(e){const t=Object(M.omit)(e.query,"chartType","filter","paged"),n=Object(M.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(M.isEqual)(t,n)&&Object(V.getHistory)().replace(Object(V.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}render(){const{page:e,match:t,query:n}=this.props,{url:r,params:o}=t;return window.wpNavMenuUrlUpdate(n),window.wpNavMenuClassChange(e,r),Object(i.createElement)(i.Suspense,{fallback:Object(i.createElement)(z.Spinner,null)},Object(i.createElement)(e.container,{params:o,path:r,pathMatch:e.path,query:n}))}}window.wpNavMenuUrlUpdate=function(e){const t=Object(V.getPersistedQuery)(e),n=Object(V.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach(e=>function(e,t,n){if(Object($.f)(e.href)){const r=Object(M.last)(e.href.split("?")),o=Object(L.parse)(r),i=o.path||"homescreen",a=Object(V.getScreenFromPath)(i),c=n.includes(a),s="admin.php?"+Object(L.stringify)(Object.assign(o,c?{}:t));e.href=s,e.onclick=e=>{e.preventDefault(),Object(V.getHistory)().push(s)}}}(e,t,n))},window.wpNavMenuClassChange=function(e,t){const n=document.querySelector("#adminmenu");Array.from(n.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")}));Array.from(n.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));const r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),o="/"===t?`li > a[href$="${r}"], li > a[href*="${r}?"]`:`li > a[href*="${r}"]`,i=n.querySelectorAll(o);if(Array.from(i).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){const t=n.querySelector("#"+e.wpOpenMenu);t&&(t.classList.remove("wp-not-current-submenu"),t.classList.add("wp-has-current-submenu"),t.classList.add("wp-menu-open"),t.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var re=n(6),oe=n.n(re),ie=n(28),ae=n(17);n(287);function ce(){const[e,t]=Object(i.useState)(!1),n=Object(i.useRef)(null);return Object(i.useEffect)(()=>{const e=()=>{t(window.pageYOffset>20)},r=()=>{n.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r),window.cancelAnimationFrame(n.current)}},[]),e}var se=n(52);const le=({sections:e,isEmbedded:t=!1,query:n})=>{var r;const o=Object(i.useRef)(null),a=Object(I.f)("siteTitle",""),c=e.slice(-1)[0],s=ce();let l=null;const u=oe()("woocommerce-layout__header",{"is-scrolled":s}),d=Object(ae.useSlot)("woocommerce_header_page_title"),m=Boolean(null==d||null===(r=d.fills)||void 0===r?void 0:r.length),p=Object(ae.useSlot)("woocommerce_header_item"),f=null==p?void 0:p.fills;Object(i.useLayoutEffect)(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h);const e=document.querySelector("#wpbody");e&&(e.style.marginTop=null)}),[f]);const h=()=>{clearTimeout(l),l=setTimeout((function(){const e=document.querySelector("#wpbody");e&&o.current&&(e.style.marginTop=o.current.offsetHeight+"px")}),200)};return Object(i.useEffect)(()=>{if(!t){const t=e.map(e=>Array.isArray(e)?e[1]:e).reverse().join(" &lsaquo; "),n=Object(ie.decodeEntities)(Object(q.sprintf)(Object(q.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce","woocommerce-admin"),t,a));document.title!==n&&(document.title=n)}},[t,e,a]),Object(i.createElement)("div",{className:u,ref:o},Object(i.createElement)("div",{className:"woocommerce-layout__header-wrapper"},Object(i.createElement)(se.b.Slot,{fillProps:{isEmbedded:t,query:n}}),Object(i.createElement)(ae.Text,{className:"woocommerce-layout__header-heading",as:"h1"},Object(ie.decodeEntities)(m?Object(i.createElement)(se.c.Slot,{fillProps:{isEmbedded:t,query:n}}):c)),Object(i.createElement)(se.a.Slot,{fillProps:{isEmbedded:t,query:n}})))};class ue extends i.Component{render(){return Object(i.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}var de=ue,me=n(160),pe=n(258);var fe=function({notices:e,className:t,children:n,onRemove:r=M.noop,onRemove2:a=M.noop}){const s=Object(c.useReducedMotion)(),[l]=Object(i.useState)(()=>new WeakMap),u=Object(me.useTransition)(e,e=>e.id,{from:{opacity:0,height:0},enter:e=>async t=>await t({opacity:1,height:l.get(e).offsetHeight}),leave:()=>async e=>{await e({opacity:0}),await e({height:0})},immediate:s});t=oe()("components-snackbar-list",t);const d=e=>()=>{r(e.id),a(e.id)};return Object(i.createElement)("div",{className:t},n,u.map(({item:e,key:t,props:n})=>Object(i.createElement)(me.animated.div,{key:t,style:n},Object(i.createElement)("div",{className:"components-snackbar-list__notice-container",ref:t=>t&&l.set(e,t)},Object(i.createElement)(pe.a,o()({},Object(M.omit)(e,["content"]),{onRemove:d(e)}),e.content)))))};n(292);const he="woocommerce_admin_transient_notices_queue";function be(e){const{removeNotice:t}=Object(s.useDispatch)("core/notices"),{createNotice:n,removeNotice:r}=Object(s.useDispatch)("core/notices2"),{updateOptions:o}=Object(s.useDispatch)(F.OPTIONS_STORE_NAME),{currentUser:a={},notices:c=[],notices2:l=[],noticesQueue:u={}}=Object(s.useSelect)(e=>({currentUser:e(F.USER_STORE_NAME).getCurrentUser(),notices:e("core/notices").getNotices(),notices2:e("core/notices2").getNotices(),noticesQueue:e(F.OPTIONS_STORE_NAME).getOption(he)}));Object(i.useEffect)(()=>{Object.values(u).filter(e=>e.user_id===a.id||!e.user_id).forEach(e=>{const t=Object(B.applyFilters)("woocommerce_admin_queued_notice_filter",e);n(t.status,t.content,{onDismiss:()=>{(e=>{const t={...u};delete t[e],o({[he]:t})})(t.id)},...t.options||{}})})},[]);const{className:d}=e,m=oe()("woocommerce-transient-notices","components-notices__snackbar",d),p=c.concat(l);return Object(i.createElement)(fe,{notices:p,className:m,onRemove:t,onRemove2:r})}be.propTypes={className:p.a.string,notices:p.a.array};var ve=be,ge=n(117),ye=n(503),we=n(504);n(293);const Oe=()=>Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("mask",{id:"mask0_2915:6733",maskUnits:"userSpaceOnUse",x:"4",y:"3",width:"16",height:"18"},Object(i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 3.5H13.5L13.9 5.5H19.5V15.5H12.5L12.1 13.5H6.5V20.5H4.5V3.5ZM12.26 7.5L11.86 5.5H6.5V11.5H13.74L14.14 13.5H17.5V7.5H12.26Z",fill:"white"})),Object(i.createElement)("g",{mask:"url(#mask0_2915:6733)"},Object(i.createElement)("rect",{width:"24",height:"24",fill:"#50575E"})));var je=n(176);const _e={page:1,per_page:F.QUERY_DEFAULTS.pageSize,status:"unactioned",type:F.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"};function Ee(e){const{getNotes:t,getNotesError:n,isResolving:r}=e(F.NOTES_STORE_NAME),{getCurrentUser:o}=e(F.USER_STORE_NAME),i=o(),a=parseInt(i&&i.woocommerce_meta&&i.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;t(_e);const c=Boolean(n("getNotes",[_e])),s=r("getNotes",[_e]);if(c||s)return null;const l=t(_e);return Object(je.a)(l,a)>0}const ke=({icon:e,title:t,name:n,unread:r,selected:o,isPanelOpen:c,onTabClick:s})=>{const l=oe()("woocommerce-layout__activity-panel-tab",{"is-active":c&&o,"has-unread":r}),u="activity-panel-tab-"+n;return Object(i.createElement)(a.Button,{role:"tab",className:l,"aria-selected":o,"aria-controls":"activity-panel-"+n,key:u,id:u,onClick:()=>{s(n)}},e,t," ",r&&Object(i.createElement)("span",{className:"screen-reader-text"},Object(q.__)("unread activity","woocommerce-admin")))},xe=({tabs:e,onTabClick:t,selectedTab:n,tabOpen:r=!1})=>{const[{tabOpen:c,currentTab:s},l]=Object(i.useState)({tabOpen:r,currentTab:n});return Object(i.useEffect)(()=>{l({tabOpen:r,currentTab:n})},[r,n]),Object(i.createElement)(a.NavigableMenu,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map((e,n)=>{if(e.component){const{component:t,options:r}=e;return Object(i.createElement)(t,o()({key:n},r))}return Object(i.createElement)(ke,o()({key:n,index:n,isPanelOpen:c,selected:s===e.name},e,{onTabClick:()=>{const n=s!==e.name&&""!==s||!c;n&&s===e.name||Object(D.recordEvent)("activity_panel_open",{tab:e.name}),l({tabOpen:n,currentTab:e.name}),t(e,n)}}))}))},Ce=()=>Object(i.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(i.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}));var Se=n(170),Te=n(500);n(294);const Ae="highlight-tooltip__show";function Pe({title:e,closeButtonText:t,content:n,show:r=!0,id:o,onClose:c,delay:s,onShow:l=M.noop,useAnchor:u=!1}){const[d,m]=Object(i.useState)(s>0?null:r),[p,f]=Object(i.useState)(null),[h,b]=Object(i.useState)(null);function v(){if(u){const e=document.getElementById(o);b(e.getBoundingClientRect())}}Object(i.useEffect)(()=>{const e=document.getElementById(o);let t,n;e&&!p&&(u?(n=document.createElement("div"),document.body.appendChild(n)):n=e.parentElement,t=document.createElement("div"),t.classList.add("highlight-tooltip__container"),n.appendChild(t),f(t));const r=g(t);return()=>{if(t){const e=t.parentElement;e.removeChild(t),u&&e.remove()}r&&clearTimeout(r)}},[]),Object(i.useEffect)(()=>{!d&&p&&p.classList.remove(Ae)},[d]),Object(i.useEffect)(()=>{r!==d&&null!==d&&p&&(m(r),r?p&&g(p):p.classList.remove(Ae))},[r]),Object(i.useLayoutEffect)(()=>(window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)),[]);const g=e=>{let t=null;return s>0?t=setTimeout(()=>{t=null,y(e)},s):d||y(e),t},y=e=>{const t=document.getElementById(o);t&&u&&b(t.getBoundingClientRect()),e&&e.classList.add(Ae),m(!0),l()},w=()=>{m(!1),c&&c()};return p?Object(i.createPortal)(Object(i.createElement)("div",{className:"highlight-tooltip__portal"},d?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(i.createElement)(a.Popover,{className:"highlight-tooltip__popover",noArrow:!1,anchorRect:h,focusOnMount:"container"},Object(i.createElement)(a.Card,{size:"medium"},Object(i.createElement)(a.CardHeader,null,e,Object(i.createElement)(a.Button,{isSmall:!0,onClick:w,icon:Te.a})),Object(i.createElement)(a.CardBody,null,n||null),Object(i.createElement)(a.CardFooter,{isBorderless:!0},Object(i.createElement)(a.Button,{size:"small",isPrimary:!0,onClick:w},t||Object(q.__)("Close","woocommerce-admin")))))):null),p):null}Pe.propTypes={id:p.a.string.isRequired,title:p.a.string.isRequired,closeButtonText:p.a.string.isRequired,content:p.a.oneOfType([p.a.string,p.a.node]),show:p.a.bool,onClose:p.a.func,delay:p.a.number,onShow:p.a.func,useAnchor:p.a.bool};var Ne=n(92);const Re=["button","submit"];function Me(e){const t=Object(i.useRef)(e);Object(i.useEffect)(()=>{t.current=e},[e]);const n=Object(i.useRef)(!1),r=Object(i.useRef)(),o=Object(i.useCallback)(()=>{clearTimeout(r.current)},[]);Object(i.useEffect)(()=>()=>o(),[]),Object(i.useEffect)(()=>{e||o()},[e,o]);const a=Object(i.useCallback)(e=>{const{type:t,target:r}=e;Object(M.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(M.includes)(Re,e.type)}return!1}(r)&&(n.current=!0)},[]),c=Object(i.useCallback)(e=>{e.persist(),n.current||(r.current=setTimeout(()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()},0))},[]);return{onFocus:o,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:c}}const Le=({content:e,isPanelOpen:t,isPanelSwitching:n,currentTab:r,tab:a,closePanel:c,clearPanel:s})=>{const l="woocommerce-layout__activity-panel-wrapper",u=function(e="firstElement"){const t=Object(i.useRef)(e);return Object(i.useEffect)(()=>{t.current=e},[e]),Object(i.useCallback)(e=>{if(!e||!1===t.current)return;if(e.contains(e.ownerDocument.activeElement))return;let n=e;if("firstElement"===t.current){const t=Ne.focus.tabbable.find(e)[0];t&&(n=t)}n.focus()},[])}(),d=Me(e=>{const n=e.relatedTarget&&(e.relatedTarget.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.relatedTarget.closest(".components-snackbar__action"));t&&!n&&c()}),m=Object(i.useRef)(null),p=Object(i.useCallback)(e=>{m.current=e,u(e)},[]);if(!a)return Object(i.createElement)("div",{className:l});if(!e)return null;const f=oe()(l,{"is-open":t,"is-switching":n});return Object(i.createElement)("div",o()({className:f,tabIndex:0,role:"tabpanel","aria-label":a.title,onTransitionEnd:e=>{e&&"transform"===e.propertyName&&(s(),m.current&&t&&a&&u(m.current))}},d,{ref:p}),Object(i.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(i.createElement)(i.Suspense,{fallback:Object(i.createElement)(z.Spinner,null)},e)))};var Ve=n(70),Ie=n(104),Fe=n(256);const De=Object(i.lazy)(()=>n.e(4).then(n.bind(null,638))),He=Object(i.lazy)(()=>Promise.all([n.e(2),n.e(3),n.e(5)]).then(n.bind(null,625))),Be=({isEmbedded:e,query:t})=>{const[n,r]=Object(i.useState)(""),[o,a]=Object(i.useState)(!1),[c,l]=Object(i.useState)(!1),[u,d]=Object(i.useState)(!1),{fills:m}=Object(ae.useSlot)(Fe.a),p=Boolean(null==m?void 0:m.length),{updateUserPreferences:f,...h}=Object(F.useUserPreferences)(),b=(e,n)=>{let r={};if("wc-admin"===t.page&&"appearance"===t.task){var o,i,a;const{getTaskLists:t}=e(F.ONBOARDING_STORE_NAME),c=t().reduce((e,t)=>[...e,...t.tasks],[]).find(e=>"appearance"===e.id);r={set_notice:n("woocommerce_demo_store_notice")?"Y":"N",create_homepage:!0===(null==c||null===(o=c.additionalData)||void 0===o?void 0:o.hasHomepage)?"Y":"N",upload_logo:null!=c&&null!==(i=c.additionalData)&&void 0!==i&&null!==(a=i.themeMods)&&void 0!==a&&a.custom_logo?"Y":"N"}}return r};function v(e,t,n){const r=Object(Ve.c)(e),o=!(!t||!c)&&Object(Ve.d)(e,r)>0,i=!(!t||!c)&&Object(Ie.b)(e),a=!(!t||!c)&&Object(Ve.a)(e);return n>0||o||i||a||p}const{hasUnreadNotes:g,hasAbbreviatedNotifications:y,isCompletedTask:w,thingsToDoNextCount:O,requestingTaskListOptions:j,setupTaskListComplete:_,setupTaskListHidden:E,previewSiteBtnTrackData:k}=Object(s.useSelect)(e=>{var n,r,o;const{getOption:i}=e(F.OPTIONS_STORE_NAME),{getTask:a,getTaskList:c,hasFinishedResolution:s}=e(F.ONBOARDING_STORE_NAME),l=null===(n=c("setup"))||void 0===n?void 0:n.isHidden,u=function(e){return e&&e.tasks.length&&!e.isHidden?e.tasks.filter(e=>e.canView&&!e.isComplete&&!e.isDismissed).length:0}(c("extended"));return{hasUnreadNotes:Ee(e),hasAbbreviatedNotifications:v(e,l,u),thingsToDoNextCount:u,requestingTaskListOptions:!s("getTaskLists"),setupTaskListComplete:null===(r=c("setup"))||void 0===r?void 0:r.isComplete,setupTaskListHidden:l,isCompletedTask:Boolean(t.task&&(null===(o=a(t.task))||void 0===o?void 0:o.isComplete)),previewSiteBtnTrackData:b(e,i)}}),{unhideTaskList:x}=Object(s.useDispatch)(F.ONBOARDING_STORE_NAME),{currentUserCan:C}=Object(F.useUser)(),S=()=>"wc-admin"===t.page&&!t.path,T=()=>t.task&&!t.path&&(!0===j||!1===E&&!1===_),A=()=>{Object($.f)(window.location.href)?Object(V.getHistory)().push(Object(V.getNewPath)({},"/",{})):window.location.href=Object(I.e)("admin.php?page=wc-admin")},P=()=>{const n={name:"activity",title:Object(q.__)("Activity","woocommerce-admin"),icon:Object(i.createElement)(Oe,null),unread:g||y,visible:(e||!S())&&!T()},r={name:"setup",title:Object(q.__)("Finish setup","woocommerce-admin"),icon:Object(i.createElement)(Ce,null),onClick:()=>(window.location.href!==Object(I.e)("admin.php?page=wc-admin")&&("no"===E?A():x("setup").then(A)),null),visible:C("manage_woocommerce")&&!j&&!_&&!E&&!T()&&(!S()||e)},o={name:"help",title:Object(q.__)("Help","woocommerce-admin"),icon:Object(i.createElement)(ge.a,{icon:ye.a}),visible:C("manage_woocommerce")&&(S()&&!e||T())},a={component:Se.b,visible:C("manage_woocommerce")&&!e&&S()&&!T()};return[n,r,{name:"previewSite",title:Object(q.__)("Preview site","woocommerce-admin"),icon:Object(i.createElement)(ge.a,{icon:we.a}),visible:"wc-admin"===t.page&&"appearance"===t.task,onClick:()=>(window.open(Object(I.f)("siteUrl")),Object(D.recordEvent)("wcadmin_tasklist_previewsite",k),null)},a,o].filter(e=>e.visible)},N=P(),R=Object(M.uniqueId)("activity-panel-header_"),L=(()=>{const{task:e}=t,n=h&&h.task_list_tracked_started_tasks,r=h&&h.help_panel_highlight_shown;return!(!(e&&"yes"!==r&&(n||{})[e]>1)||w)})();return Object(i.createElement)("div",null,Object(i.createElement)(z.H,{id:R,className:"screen-reader-text"},Object(q.__)("Store Activity","woocommerce-admin")),Object(i.createElement)(z.Section,{component:"aside",id:"woocommerce-activity-panel",className:"woocommerce-layout__activity-panel","aria-labelledby":R},Object(i.createElement)(xe,{tabs:N,tabOpen:c,selectedTab:n,onTabClick:(e,t)=>{e.onClick?e.onClick():(({name:e},t)=>{const i=e!==n&&""!==n&&t&&c;o||(r(e),l(t),d(i))})(e,t)}}),Object(i.createElement)(Le,{currentTab:!0,isPanelOpen:c,isPanelSwitching:u,tab:Object(M.find)(P(),{name:n}),content:(e=>{const{task:n}=t;switch(e){case"activity":return Object(i.createElement)(He,{hasAbbreviatedNotifications:y,thingsToDoNextCount:O});case"help":return Object(i.createElement)(De,{taskName:n});default:return null}})(n),closePanel:()=>(a(!0),void l(!1)),clearPanel:()=>{c||(a(!1),d(!1),r(""))}})),L?Object(i.createElement)(Pe,{delay:1e3,useAnchor:!0,title:Object(q.__)("We're here for help","woocommerce-admin"),content:Object(q.__)("If you have any questions, feel free to explore the WooCommerce docs listed here.","woocommerce-admin"),closeButtonText:Object(q.__)("Got it","woocommerce-admin"),id:"activity-panel-tab-help",onClose:()=>(Object(D.recordEvent)("help_tooltip_click"),void(h&&f&&f({help_panel_highlight_shown:"yes"}))),onShow:()=>Object(D.recordEvent)("help_tooltip_view")}):null)};Be.defaultProps={getHistory:V.getHistory};var qe=Be;Object(H.registerPlugin)("activity-panel-header-item",{render:()=>Object(i.createElement)(se.a,{order:20},({isEmbedded:e,query:t})=>window.wcAdminFeatures["activity-panels"]?Object(i.createElement)(qe,{isEmbedded:e,query:t}):null),scope:"woocommerce-admin"});var ze=n(102),Ue=n.n(ze);const $e=()=>Object(i.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}));n(295);const We=({onInstall:e,onDismiss:t})=>{const[n,r]=Object(i.useState)(!1),o="android"==(/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown")&&!n;return Object(i.useEffect)(()=>{const e=document.getElementsByClassName("woocommerce-layout")[0];return o&&e&&e.classList.add("woocommerce-layout__show-app-banner"),()=>{e&&e.classList.remove("woocommerce-layout__show-app-banner")}},[o]),o?Object(i.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(i.createElement)(ge.a,{icon:Object(i.createElement)(Ue.a,{"data-testid":"dismiss-btn"}),onClick:()=>{t(),r(!0),Object(D.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(i.createElement)($e,null),Object(i.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(i.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(q.__)("Run your store from anywhere","woocommerce-admin")),Object(i.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(q.__)("Download the WooCommerce app","woocommerce-admin"))),Object(i.createElement)(a.Button,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:()=>{e(),r(!0),Object(D.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(q.__)("Install","woocommerce-admin"))):null};Object(H.registerPlugin)("mobile-banner-header-item",{render:()=>{const{updateUserPreferences:e,...t}=Object(F.useUserPreferences)(),n=()=>{e({android_app_banner_dismissed:"yes"})};return"yes"===t.android_app_banner_dismissed?null:Object(i.createElement)(se.a,null,Object(i.createElement)(We,{onDismiss:n,onInstall:n}))},scope:"woocommerce-admin"});n(296);const Ge=(e,t,n=null)=>{if(!t)return 0;const r=0===(o=t).indexOf("http")?o:Object(I.e)(o);var o;const{href:i}=e;if(r===i)return Number.MAX_SAFE_INTEGER;const a=(e=>{const t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&"),[n,r,o]=t.split(/\\\?|#/),i=o?`(.*#${o}$)`:"";return"^"+n+(r?r.split("&").reduce((e,t)=>`${e}(?=.*[?|&]${t}(&|$|#))`,""):"")+i})(r),c=new RegExp(n||a,"i");return(decodeURIComponent(i).match(c)||[]).length},Qe=e=>{let t=null,n=0;return e.forEach(e=>{const r=Ge(window.location,e.url,e.matchExpression);r>0&&r>=n&&(n=r,t=e)}),t||null},Ye=["primary","favorites","plugins","secondary"],Ze={woocommerce:{id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}};var Ke=n(8),Je=Object(i.createElement)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(Ke.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));var Xe=()=>{const e=Object(I.f)("siteTitle",""),t=Object(I.f)("homeUrl",""),n=ce(),[r,o]=Object(i.useState)(document.body.classList.contains(!1)),c="is-wc-nav-folded",l="is-wc-nav-expanded",u=()=>{document.body.classList.add(c),document.body.classList.remove(l),o(!0)},d=()=>{document.body.classList.remove(c),document.body.classList.add(l),o(!1)},m=(e=document.body.clientWidth)=>{e<=960?u():d()};Object(i.useEffect)(()=>{m();const e=[{eventName:"orientationchange",handler:e=>m(e.target.screen.availWidth)},{eventName:"resize",handler:Object(M.debounce)(()=>m(),200)}];for(const{eventName:t,handler:n}of e)window.addEventListener(t,n,!1);Object(V.addHistoryListener)(()=>m())},[]);let p=Object(i.createElement)(ge.a,{size:"36px",icon:Je});const{isRequestingSiteIcon:f,siteIconUrl:h}=Object(s.useSelect)(e=>{const{isResolving:t}=e("core/data"),{getEntityRecord:n}=e("core"),r=n("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:r.siteIconUrl}});h?p=Object(i.createElement)("img",{alt:Object(q.__)("Site Icon"),src:h}):f&&(p=null);const b=oe()("woocommerce-navigation-header",{"is-scrolled":n});return Object(i.createElement)("div",{className:b},Object(i.createElement)(a.Button,{onClick:()=>{document.body.classList.contains(c)?d():u()},className:"woocommerce-navigation-header__site-icon","aria-label":"Fold navigation",role:"switch","aria-checked":r?"true":"false"},p),Object(i.createElement)(a.Button,{href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(ie.decodeEntities)(e)))},et=(n(297),Object(i.createElement)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Ke.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"}))),tt=Object(i.createElement)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Ke.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}));n(298);const nt=({id:e})=>{const{favorites:t,isResolving:n}=Object(s.useSelect)(e=>({favorites:e(F.NAVIGATION_STORE_NAME).getFavorites(),isResolving:e(F.NAVIGATION_STORE_NAME).isResolving("getFavorites")})),{addFavorite:r,removeFavorite:o}=Object(s.useDispatch)(F.NAVIGATION_STORE_NAME),c=t.includes(e);return n?null:Object(i.createElement)(a.Button,{id:"woocommerce-navigation-favorite-button",className:"woocommerce-navigation-favorite-button",isTertiary:!0,onClick:()=>{(c?o:r)(e),Object(D.recordEvent)("navigation_favorite",{id:e,action:c?"unfavorite":"favorite"})},"aria-label":c?Object(q.__)("Add this item to your favorites.","woocommerce-admin"):Object(q.__)("Remove this item from your favorites.","woocommerce-admin")},Object(i.createElement)(ge.a,{icon:c?et:tt,className:`star-${c?"filled":"empty"}-icon`}))};const rt="woocommerce_navigation_favorites_tooltip_hidden",ot=()=>{const{isFavoritesResolving:e,isOptionResolving:t,isTooltipHidden:n}=Object(s.useSelect)(e=>{const{getOption:t,isResolving:n}=e(F.OPTIONS_STORE_NAME);return{isFavoritesResolving:e(F.NAVIGATION_STORE_NAME).isResolving("getFavorites"),isOptionResolving:n("getOption",[rt]),isTooltipHidden:"yes"===t(rt)}}),{updateOptions:r}=Object(s.useDispatch)(F.OPTIONS_STORE_NAME);return e||n||t||document.body.classList.contains("is-wc-nav-folded")?null:Object(i.createElement)(Pe,{delay:1e3,title:Object(q.__)("Introducing favorites","woocommerce-admin"),content:Object(q.__)("You can now favorite your extensions to pin them in the top level of the navigation.","woocommerce-admin"),closeButtonText:Object(q.__)("Got it","woocommerce-admin"),id:"woocommerce-navigation-favorite-button",onClose:()=>r({[rt]:"yes"}),useAnchor:!0})};var it=({category:e})=>{const{id:t,menuId:n,title:r}=e,o="woocommerce-navigation-category-title";return["plugins","favorites"].includes(n)?Object(i.createElement)("span",{className:o},Object(i.createElement)("span",{className:o+"__text"},r),Object(i.createElement)(nt,{id:t}),Object(i.createElement)(ot,null)):Object(i.createElement)("span",{className:o},r)};var at=({item:e})=>{var t;const n=Object(ae.useSlot)("woocommerce_navigation_"+e.id),r=Boolean(null==n||null===(t=n.fills)||void 0===t?void 0:t.length),o=e=>{Object(D.recordEvent)("navigation_click",{menu_item:e})};return r&&!e.isCategory?Object(i.createElement)(ae.NavigationItem,{key:e.id,item:e.id},Object(i.createElement)("div",{onClick:()=>o(e.id)},Object(i.createElement)(V.WooNavigationItem.Slot,{name:e.id}))):Object(i.createElement)(ae.NavigationItem,{key:e.id,item:e.id,title:e.title,badge:e.badge?e.badge:null,href:e.url,navigateToMenu:!e.url&&e.id,onClick:()=>o(e.id),hideIfTargetMenuEmpty:!0})};const ct=({category:e,onBackClick:t,pluginItems:n,primaryItems:r})=>{if(!r.length&&!n.length)return null;const o=Object(B.applyFilters)("woocommerce_navigation_root_back_label",Object(q.__)("WordPress Dashboard","woocommerce-admin")),a=Object(B.applyFilters)("woocommerce_navigation_root_back_url",window.wcNavigation.rootBackUrl),c="woocommerce"===e.id&&a;return Object(i.createElement)(ae.NavigationMenu,{title:Object(i.createElement)(it,{category:e}),menu:e.id,parentMenu:e.parent,backButtonLabel:c?o:e.backButtonLabel||null,onBackButtonClick:c?()=>{t("woocommerce"),window.location=a}:()=>t(e.id)},!!r.length&&Object(i.createElement)(ae.NavigationGroup,null,r.map(e=>Object(i.createElement)(at,{key:e.id,item:e}))),!!n.length&&Object(i.createElement)(ae.NavigationGroup,{title:"woocommerce"===e.id?Object(q.__)("Extensions","woocommerce-admin"):null},n.map(e=>Object(i.createElement)(at,{key:e.id,item:e}))))},st=({category:e,items:t,onBackClick:n})=>{if(!t.length)return null;const r="woocommerce"===e.id;return Object(i.createElement)(ae.NavigationMenu,{className:"components-navigation__menu-secondary",title:!r&&Object(i.createElement)(it,{category:e}),menu:e.id,parentMenu:e.parent,backButtonLabel:e.backButtonLabel||null,onBackButtonClick:r?null:()=>n(e.id)},Object(i.createElement)(ae.NavigationGroup,{onBackButtonClick:()=>n(e.id)},t.map(e=>Object(i.createElement)(at,{key:e.id,item:e}))))};var lt=()=>{const{menuItems:e}=Object(s.useSelect)(e=>({menuItems:e(F.NAVIGATION_STORE_NAME).getMenuItems()}));Object(i.useEffect)(()=>{document.documentElement.classList.remove("wp-toolbar"),document.body.classList.add("has-woocommerce-navigation");const e=document.getElementById("adminmenumain");e&&e.classList.add("folded")},[]);const[t,n]=Object(i.useState)("woocommerce-home"),[r,o]=Object(i.useState)("woocommerce");Object(i.useEffect)(()=>{const r=Qe(e);r&&t!==r&&(n(r),o(r.parent));return Object(V.addHistoryListener)(()=>{setTimeout(()=>{const t=Qe(e);t&&(n(t),o(t.parent))},0)})},[e]);const{currentUserCan:a}=Object(F.useUser)(),{categories:c,items:l}=Object(i.useMemo)(()=>((e,t)=>{const n={...Ze};return{items:(e=>e.sort((e,t)=>e.order===t.order?e.title.localeCompare(t.title):e.order-t.order))(e).reduce((e,r)=>{if(e[r.parent]||(e[r.parent]={},Ye.forEach(t=>{e[r.parent][t]=[]})),!e[r.parent][r.menuId])return e;if(t&&r.capability&&!t(r.capability))return e;r.isCategory&&(n[r.id]=r);const o=e[r.parent][r.menuId];return o&&o.push(r),e},{}),categories:n}})(e,a),[e,a]),u=Object(i.useRef)(null),d=e=>{Object(D.recordEvent)("navigation_back_click",{category:e})},m="woocommerce"===r,p=oe()("woocommerce-navigation",{"is-root":m});return Object(i.createElement)("div",{className:p},Object(i.createElement)(Xe,null),Object(i.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:u},Object(i.createElement)(ae.Navigation,{activeItem:t?t.id:null,activeMenu:r,onActivateMenu:(...e)=>{u&&u.current&&(u.current.scrollTop=0),o(...e)}},Object.values(c).map(e=>{const t=l[e.id];return!!t&&[Object(i.createElement)(ct,{key:e.id,category:e,onBackClick:d,primaryItems:[...t.primary,...t.favorites],pluginItems:t.plugins}),Object(i.createElement)(st,{key:"secondary/"+e.id,category:e,onBackClick:d,items:t.secondary})]}))))};var ut=Object(F.withNavigationHydration)(window.wcNavigation)(lt);Object(H.registerPlugin)("wc-admin-navigation",{render:()=>{const{persistedQuery:e}=Object(s.useSelect)(e=>({persistedQuery:e(F.NAVIGATION_STORE_NAME).getPersistedQuery()}));if(!window.wcAdminFeatures.navigation)return null;if(!Object($.f)(window.location.href))return Object(i.createElement)(se.b,{order:-100},Object(i.createElement)(ut,null));const t=Object(U.a)().filter(e=>e.navArgs),n=te().filter(e=>e.navArgs).map(e=>"/analytics/settings"===e.path?{...e,breadcrumbs:[Object(q.__)("Analytics","woocommerce-admin")]}:e);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(se.b,{order:-100},Object(i.createElement)(ut,null)),n.map(t=>Object(i.createElement)(V.WooNavigationItem,{item:t.navArgs.id,key:t.navArgs.id},Object(i.createElement)(z.Link,{className:"components-button",href:Object(V.getNewPath)(Object(V.pathIsExcluded)(t.path)?{}:e,t.path,{}),type:"wc-admin"},t.breadcrumbs[t.breadcrumbs.length-1]))),t.map(t=>Object(i.createElement)(V.WooNavigationItem,{item:t.navArgs.id,key:t.navArgs.id},Object(i.createElement)(z.Link,{className:"components-button",href:Object(V.getNewPath)(Object(V.pathIsExcluded)(t.report)?{}:e,"/analytics/"+t.report,{}),type:"wc-admin"},t.title))))},scope:"woocommerce-navigation"});const dt=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(49)]).then(n.bind(null,637))),mt=Object(i.lazy)(()=>n.e(55).then(n.bind(null,525)));class pt extends i.Component{render(){const{children:e}=this.props;return Object(i.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(dt,null)),Object(i.createElement)(de,null),e)}}class ft extends i.Component{componentDidMount(){this.recordPageViewTrack()}componentDidUpdate(e){const t=Object(M.get)(e,"location.pathname"),n=Object(M.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}recordPageViewTrack(){const{activePlugins:e,installedPlugins:t,isEmbedded:n,isJetpackConnected:r}=this.props,o={has_navigation:!!window.wcNavigation};if(n){const e=document.location.pathname+document.location.search;return void Object(D.recordPageView)(e,{is_embedded:!0,...o})}const i=Object(M.get)(this.props,"location.pathname");if(!i)return;let a=i.substring(1).replace(/\//g,"_");0===a.length&&(a="home_screen"),Object(D.recordPageView)(a,{jetpack_installed:t.includes("jetpack"),jetpack_active:e.includes("jetpack"),jetpack_connected:r,...o})}getQuery(e){if(!e)return{};const t=e.substring(1);return Object(L.parse)(t)}isWCPaySettingsPage(){const{page:e,section:t,tab:n}=Object(V.getQuery)();return"wc-settings"===e&&"checkout"===n&&"woocommerce_payments"===t}render(){const{isEmbedded:e,...t}=this.props,{location:n,page:r}=this.props,{breadcrumbs:c}=r,s=this.getQuery(n&&n.search);return Object(i.createElement)(a.SlotFillProvider,null,Object(i.createElement)("div",{className:"woocommerce-layout"},Object(i.createElement)(le,{sections:Object(M.isFunction)(c)?c(this.props):c,isEmbedded:e,query:s}),Object(i.createElement)(ve,null),!e&&Object(i.createElement)(pt,null,Object(i.createElement)("div",{className:"woocommerce-layout__main"},Object(i.createElement)(ne,o()({},t,{query:s})))),e&&this.isWCPaySettingsPage()&&Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(mt,null))),Object(i.createElement)(H.PluginArea,{scope:"woocommerce-admin"}),window.wcAdminFeatures.navigation&&Object(i.createElement)(H.PluginArea,{scope:"woocommerce-navigation"}),Object(i.createElement)(H.PluginArea,{scope:"woocommerce-tasks"}))}}ft.propTypes={isEmbedded:p.a.bool,page:p.a.shape({container:p.a.oneOfType([p.a.func,p.a.object]),path:p.a.string,breadcrumbs:p.a.oneOfType([p.a.func,p.a.arrayOf(p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.string]))]).isRequired,wpOpenMenu:p.a.string}).isRequired};const ht=Object(I.f)("dataEndpoints"),bt=Object(c.compose)(Object(F.withPluginsHydration)({...Object(I.f)("plugins",{}),jetpackStatus:ht&&ht.jetpackStatus||!1}),Object(s.withSelect)((e,{isEmbedded:t})=>{if(t)return;const{getActivePlugins:n,getInstalledPlugins:r,isJetpackConnected:o}=e(F.PLUGINS_STORE_NAME);return{activePlugins:n(),isJetpackConnected:o(),installedPlugins:r()}}))(ft),vt=Object(c.compose)(window.wcSettings.admin?Object(F.withOptionsHydration)({...Object(I.f)("preloadOptions",{})}):M.identity)(()=>{const{currentUserCan:e}=Object(F.useUser)();return Object(i.createElement)(_,{history:Object(V.getHistory)()},Object(i.createElement)(R,null,te().filter(t=>!t.capability||e(t.capability)).map(e=>Object(i.createElement)(C,{key:e.path,path:e.path,exact:!0,render:t=>Object(i.createElement)(bt,o()({page:e},t))}))))}),gt=Object(c.compose)(Object(I.f)("preloadOptions")?Object(F.withOptionsHydration)({...Object(I.f)("preloadOptions")}):M.identity)(()=>Object(i.createElement)(bt,{page:{breadcrumbs:Object(I.f)("embedBreadcrumbs",[])},isEmbedded:!0}))},121:function(e,t){e.exports=window.wc.number},122:function(e,t){e.exports=window.wc.explat},128:function(e,t){e.exports=window.wp.notices},129:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],u=!1,d=-1;function m(){u&&s&&(u=!1,s.length?l=s.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=c(m);u=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||c(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return f}));var r=n(2);const o=["wcAdminSettings","preloadSettings"],i="object"==typeof wcSettings?wcSettings:{},a=Object.keys(i).reduce((e,t)=>(o.includes(t)||(e[t]=i[t]),e),{});Object.keys(i.admin||{}).forEach(e=>{o.includes(e)||(a[e]=i.admin[e])});const c=a.adminUrl,s=(a.countries,a.currency),l=a.locale,u=a.orderStatuses;a.siteTitle,a.wcAssetUrl;function d(e,t=!1,n=(e=>e)){if(o.includes(e))throw new Error(Object(r.__)("Mutable settings should be accessed via data store."));return n(a.hasOwnProperty(e)?a[e]:t,t)}function m(e,t,n=(e=>e)){if(o.includes(e))throw new Error(Object(r.__)("Mutable settings should be mutated via data store."));a[e]=n(t)}function p(e){return(c||"")+e}function f(e){return new Promise((t,n)=>{document.querySelector(`#${e.handle}-js`)&&t();const r=document.createElement("script");r.src=e.src,r.id=e.handle+"-js",r.async=!0,r.onload=t,r.onerror=n,document.body.appendChild(r)})}},130:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case m:case a:case s:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case v:case b:case l:return e;default:return t}}case i:return t}}}function _(e){return j(e)===m}t.AsyncMode=d,t.ConcurrentMode=m,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=b,t.Portal=i,t.Profiler=s,t.StrictMode=c,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||j(e)===d},t.isConcurrentMode=_,t.isContextConsumer=function(e){return j(e)===u},t.isContextProvider=function(e){return j(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return j(e)===p},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===v},t.isMemo=function(e){return j(e)===b},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===s},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===m||e===s||e===c||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===w||e.$$typeof===O||e.$$typeof===g)},t.typeOf=j},14:function(e,t){e.exports=window.wp.compose},15:function(e,t){e.exports=window.wp.url},16:function(e,t){e.exports=window.wc.tracks},160:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(36)),i=r(n(288)),a=n(5),c=r(a),s=r(n(289)),l=r(n(291)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function m(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.fun(e)?e.apply(void 0,n):e}function h(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,i(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var i;return u.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var b,v,g=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.addChild(l(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.removeChild(l(t))}))},t}return s(t,e),t}(g),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&e.addChild(l(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&e.removeChild(l(t))}))},t}s(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof g)&&(t[n]=r instanceof g?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(g);function O(e,t){b={fn:e,transform:t}}function j(e){v=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},k=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function x(e){_=e}var C,S=function(){return Date.now()};function T(e){C=e}var A,P,N=function(e){return e.current};function R(e){A=e}var M=Object.freeze({get applyAnimatedValues(){return b},injectApplyAnimatedValues:O,get colorNames(){return v},injectColorNames:j,get requestFrame(){return E},get cancelFrame(){return k},injectFrame:function(e,t){E=e,k=t},get interpolation(){return _},injectStringInterpolator:x,get now(){return S},injectNow:function(e){S=e},get defaultElement(){return C},injectDefaultElement:T,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:R,get manualFrameloop(){return P},injectManualFrameloop:function(e){P=e}}),L=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:A(t.style)}):t,r.update=n,r.attach(),r}return s(t,e),t}(w),V=!1,I=new Set,F=function e(){if(!V)return!1;var t=S(),n=I,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var a=i,c=!1,s=0;s<a.configs.length;s++){for(var l=a.configs[s],u=void 0,d=void 0,m=0;m<l.animatedValues.length;m++){var p=l.animatedValues[m];if(!p.done){var f=l.fromValues[m],h=l.toValues[m],b=p.lastPosition,v=h instanceof g,y=Array.isArray(l.initialVelocity)?l.initialVelocity[m]:l.initialVelocity;if(v&&(h=h.getValue()),l.immediate)p.setValue(h),p.done=!0;else if("string"!=typeof f&&"string"!=typeof h){if(void 0!==l.duration)b=f+l.easing((t-p.startTime)/l.duration)*(h-f),u=t>=p.startTime+l.duration;else if(l.decay)b=f+y/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-b)<.1)&&(h=b);else{d=void 0!==p.lastTime?p.lastTime:t,y=void 0!==p.lastVelocity?p.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var w=Math.floor(t-d),O=0;O<w;++O){b+=1*(y+=1*((-l.tension*(b-h)+-l.friction*y)/l.mass)/1e3)/1e3}var j=!(!l.clamp||0===l.tension)&&(f<h?b>h:b<h),_=Math.abs(y)<=l.precision,k=0===l.tension||Math.abs(h-b)<=l.precision;u=j||_&&k,p.lastVelocity=y,p.lastTime=t}v&&!l.toValues[m].done&&(u=!1),u?(p.value!==h&&(b=h),p.done=!0):c=!0,p.setValue(b),p.lastPosition=b}else p.setValue(h),p.done=!0}}a.props.onFrame&&(a.values[l.name]=l.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),c||(I.delete(a),a.stop(!0))}return I.size?P?P():E(e):V=!1,V};function D(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,s){var l=s?s(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===c)return l;"clamp"===c&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,i[t],i[t+1],o[t],o[t+1],s,a,c,r.map)}}var H=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof y&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],a.calc=D(r,o,i),a}s(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=D(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(y);var B=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}s(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new H(this,e,t,n)},t}(g),q=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new B(e)})),n}s(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new H(this,e,t)},t}(y),z=0,U=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,a=t.to,c=i(t,["delay","to"]);if(u.arr(a)||u.fun(a))this.queue.push(o({},c,{delay:r,to:a}));else if(a){var s={};Object.entries(a).forEach((function(e){var t,n=e[0],i=e[1],a=o({to:(t={},t[n]=i,t),delay:f(r,n)},c),l=s[a.delay]&&s[a.delay].to;s[a.delay]=o({},s[a.delay],a,{to:o({},l,a.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,a=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(a)&&(n.merged=o({},n.merged,a))}));var r=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var c=t.delay,s=i(t,["delay"]),l=function(t){o===a.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(s.to)||u.fun(s.to);c?setTimeout((function(){r===n.guid&&(d?n.runAsync(s,l):n.diff(s).start(l))}),c):d?n.runAsync(s,l):n.diff(s).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,I.has(t)||I.add(t),V||(V=!0,E(P||F));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,I.has(t)&&I.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),a=this.local,c=Promise.resolve(void 0);if(u.arr(r.to))for(var s=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),c=c.then((function(){if(a===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},l=0;l<r.to.length;l++)s(l);else if(u.fun(r.to)){var d,m=0;c=c.then((function(){return r.to((function(e){var t=o({},r,h(e));if(u.arr(t.config)&&(t.config=t.config[m]),m++,a===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}c.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,a=n.to,c=void 0===a?{}:a,s=n.config,l=void 0===s?{}:s,d=n.reverse,h=n.attach,b=n.reset,g=n.immediate;if(d){var y=[c,i];i=y[0],c=y[1]}this.merged=o({},i,this.merged,c),this.hasChanged=!1;var w=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],a=n[1],c=e[r]||{},s=u.num(a),d=u.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!v[a],h=u.arr(a),y=!s&&!h&&!d,O=u.und(i[r])?a:i[r],j=s||h||d?a:1,E=f(l,r);w&&(j=w.animations[r].parent);var k,x=c.parent,C=c.interpolation,T=p(w?j.getPayload():j),A=a;y&&(A=_({range:[0,1],output:[a,a]})(1));var P,N=C&&C.getValue(),R=!u.und(x)&&c.animatedValues.some((function(e){return!e.done})),M=!u.equ(A,N),L=!u.equ(A,c.previous),V=!u.equ(E,c.config);if(b||L&&M||V){var I;if(s||d)x=C=c.parent||new B(O);else if(h)x=C=c.parent||new q(O);else if(y){var F=c.interpolation&&c.interpolation.calc(c.parent.value);F=void 0===F||b?O:F,c.parent?(x=c.parent).setValue(0,!1):x=new B(0);var D={output:[F,a]};c.interpolation?(C=c.interpolation,c.interpolation.updateConfig(D)):C=x.interpolate(D)}return T=p(w?j.getPayload():j),k=p(x.getPayload()),b&&!y&&x.setValue(O,!1),t.hasChanged=!0,k.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=R?e.lastVelocity:void 0,e.lastTime=R?e.lastTime:void 0,e.startTime=S(),e.done=!1,e.animatedStyles.clear()})),f(g,r)&&x.setValue(y?j:a,!1),o({},e,((I={})[r]=o({},c,{name:r,parent:x,interpolation:C,animatedValues:k,toValues:T,previous:A,config:E,fromValues:p(x.getValue()),immediate:f(g,r),initialVelocity:m(E.velocity,0),clamp:m(E.clamp,!1),precision:m(E.precision,.01),tension:m(E.tension,170),friction:m(E.friction,26),mass:m(E.mass,1),duration:E.duration,easing:m(E.easing,(function(e){return e})),decay:E.decay}),I))}return M?e:(y&&(x.setValue(1,!1),C.updateConfig({output:[A,A]})),x.done=!0,t.hasChanged=!0,o({},e,((P={})[r]=o({},e[r],{previous:A}),P)))}),this.animations),this.hasChanged)for(var O in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[O]=this.animations[O].interpolation,this.values[O]=this.animations[O].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),$=function(e,t){var n=a.useRef(!1),r=a.useRef(),o=u.fun(t),i=a.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new U,a=o?f(t,r,i):t[r];return 0===r&&(n=a.ref),i.update(a),n||i.start(),i})),n]}),[e]),c=i[0],s=i[1];r.current=c;a.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var l=a.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?f(e,n,t):e[n]),s||t.start()}))}}),[e]);a.useEffect((function(){n.current?o||l(t):s||r.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,l,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},W=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,a=i(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,r)},a)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";a=r[i++]}else{if((i=r.next()).done)return"break";a=i.value}var n=a.key,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof g||(t=b.transform(t)),n.payload=t,n}return s(t,e),t}(w),K={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},J="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(J,J,J)),te=new RegExp("rgba"+X(J,J,J,J)),ne=new RegExp("hsl"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,ce=/^#([0-9a-fA-F]{8})$/;function se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function le(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=se(o,r,e+1/3),a=se(o,r,e),c=se(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function fe(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:K.hasOwnProperty(t)?K[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|me(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ce.exec(t))?parseInt(n[1],16)>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|le(de(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=re.exec(t))?(le(de(n[1]),pe(n[2]),pe(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var he=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,be=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ve=new RegExp("("+Object.keys(K).join("|")+")","g"),ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","Ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}ge=Object.keys(ge).reduce((function(e,t){return ye.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ge);var Oe={};R((function(e){return new Z(e)})),T("div"),x((function(e){var t=e.output.map((function(e){return e.replace(be,fe)})).map((function(e){return e.replace(ve,fe)})),n=t[0].match(he).map((function(){return[]}));t.forEach((function(e){e.match(he).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(he).map((function(t,r){return D(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(he,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),j(K),O((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,a=t.scrollLeft,c=i(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=we(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var m in c){var p=s?m:Oe[m]||(Oe[m]=m.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,c[m])}}),(function(e){return e}));var je,_e,Ee=(je=function(e){return a.forwardRef((function(t,n){var r=d(),s=a.useRef(!0),l=a.useRef(null),m=a.useRef(null),p=a.useCallback((function(e){var t=l.current;l.current=new L(e,(function(){var e=!1;m.current&&(e=b.fn(m.current,l.current.getAnimatedValue())),m.current&&!1!==e||r()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){s.current=!1,l.current&&l.current.detach()}}),[]),a.useImperativeHandle(n,(function(){return N(m,s,r)})),p(t);var f,h=l.current.getValue(),v=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),g=(f=e,!u.fun(f)||f.prototype instanceof c.Component?function(e){return m.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return c.createElement(e,o({},v,{ref:g}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),ke=Ee(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ee,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=F,t.animated=ke,t.a=ke,t.interpolate=function(e,t,n){return e&&new H(e,t,n)},t.Globals=M,t.useSpring=function(e){var t=u.fun(e),n=$(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=a.useRef(!1),r=u.fun(t),i=f(t),c=a.useRef(),s=$(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},i,{config:f(i.config,e),attach:e>0&&function(){return c.current[e-1]}})})),l=s[0],d=s[1],m=s[2],p=a.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,a=c.current[r];return o({},e,{config:f(e.config||i.config,t),attach:a&&function(){return a}})}))}}),[e,i.reverse]);return a.useEffect((function(){n.current&&!r&&p(t)})),a.useEffect((function(){n.current=!0}),[]),r?[l,p,m]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=Q(r),s=c.lazy,l=void 0!==s&&s,u=(c.unique,c.reset),m=void 0!==u&&u,p=(c.enter,c.leave,c.update,c.onDestroyed),h=(c.keys,c.items,c.onFrame),b=c.onRest,v=c.onStart,g=c.ref,y=i(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),w=d(),O=a.useRef(!1),j=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!O.current&&new Map,forceUpdate:w});return a.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(j.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(j.current.instances).map((function(e){return e[1]}))}}})),j.current=function(e,t){var n=e.first,r=e.prevProps,a=i(e,["first","prevProps"]),c=Q(t),s=c.items,l=c.keys,u=c.initial,d=c.from,m=c.enter,p=c.leave,h=c.update,b=c.trail,v=void 0===b?0:b,g=c.unique,y=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=Q(r),_=j.keys,E=j.items,k=o({},a.current),x=[].concat(a.deleted),C=Object.keys(k),S=new Set(C),T=new Set(l),A=l.filter((function(e){return!S.has(e)})),P=a.transitions.filter((function(e){return!e.destroyed&&!T.has(e.originalKey)})).map((function(e){return e.originalKey})),N=l.filter((function(e){return S.has(e)})),R=-v;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){g&&x.find((function(t){return t.originalKey===e}))&&(x=x.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=s[r],i=n&&void 0!==u?"initial":"enter";k[e]={slot:i,originalKey:e,key:g?String(e):W++,item:o,trail:R+=v,config:f(y,o,i),from:f(n&&void 0!==u?u||{}:d,o),to:f(m,o)}}));break;case"leave":P.forEach((function(e){var t=_.indexOf(e),n=E[t];x.unshift(o({},k[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:R+=v,config:f(y,n,"leave"),to:f(p,n)})),delete k[e]}));break;case"update":N.forEach((function(e){var t=l.indexOf(e),n=s[t];k[e]=o({},k[e],{item:n,slot:"update",trail:R+=v,config:f(y,n,"update"),to:f(h,n)})}))}}var M=l.map((function(e){return k[e]}));return x.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=M.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),M=[].concat(M.slice(0,t),[r],M.slice(t))})),o({},a,{changed:A.length||P.length||N.length,first:n&&0===A.length,transitions:M,current:k,deleted:x,prevProps:t})}(j.current,r),j.current.changed&&j.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,a=e.trail,c=e.key,s=e.item;j.current.instances.has(c)||j.current.instances.set(c,new U);var u=j.current.instances.get(c),d=o({},y,{to:r,from:n,config:i,ref:g,onRest:function(n){j.current.mounted&&(e.destroyed&&(g||l||Y(j,c),p&&p(s)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(g||l)&&j.current.deleted.length>0&&Y(j),b&&b(s,t,n))},onStart:v&&function(){return v(s,t)},onFrame:h&&function(e){return h(s,t,e)},delay:a,reset:m&&"enter"===t});u.update(d),j.current.paused||u.start()})),a.useEffect((function(){return j.current.mounted=O.current=!0,function(){j.current.mounted=O.current=!1,Array.from(j.current.instances).map((function(e){return e[1].destroy()})),j.current.instances.clear()}}),[]),j.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=a.useRef();a.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var a=i.controllers;if(a.length){var c=n*t[r];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$},161:function(e,t,n){"use strict";(function(e){var r=n(5),o=n.n(r),i=n(25),a=n(1),c=n.n(a),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var u=o.a.createContext||function(e,t){var n,o,a,u="__create-react-context-"+((s[a="__global_unique_id__"]=(s[a]||0)+1)+"__"),d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[u]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[u]=c.a.object.isRequired,n);var m=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},r.getValue=function(){return this.context[u]?this.context[u].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return m.contextTypes=((o={})[u]=c.a.object,o),{Provider:d,Consumer:m}};t.a=u}).call(this,n(80))},162:function(e,t,n){var r=n(299);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=m;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,c="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],m=n[1],p=n.index;if(c+=e.slice(a,p),a=p+d.length,m)c+=m[1];else{var f=e[a],h=n[2],b=n[3],v=n[4],g=n[5],y=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=f&&f!==h,j="+"===y||"*"===y,_="?"===y||"*"===y,E=n[2]||u,k=v||g;r.push({name:b||i++,prefix:h||"",delimiter:E,optional:_,repeat:j,partial:O,asterisk:!!w,pattern:k?l(k):w?".*":"[^"+s(E)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&r.push(c),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",c=t||{},s=(o||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var d,m=c[u.name];if(null==m){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(m)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(m)+"`");if(0===m.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<m.length;p++){if(d=s(m[p]),!n[l].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(m).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(m),!n[l].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function m(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<e.length;c++){var l=e[c];if("string"==typeof l)a+=s(l);else{var m=s(l.prefix),p="(?:"+l.pattern+")";t.push(l),l.repeat&&(p+="(?:"+m+p+")*"),a+=p=l.optional?l.partial?m+"("+p+")?":"(?:"+m+"("+p+"))?":m+"("+p+")"}}var f=s(n.delimiter||"/"),h=a.slice(-f.length)===f;return o||(a=(h?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=i?"$":o&&h?"":"(?="+f+"|$)",u(new RegExp("^"+a,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return m(i(e,n),t,n)}(e,t,n)}},17:function(e,t){e.exports=window.wc.experimental},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var r=n(0),o=n(3),i=n(7),a=n(2),c=n(11),s=n(16);const l=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"24",height:"24",viewBox:"3 3 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{d:"M13.8053 15.3982C13.8053 15.7965 13.4867 16.1947 13.0089 16.1947H6.79646C6.55752 16.1947 6.39823 16.115 6.23894 15.9558C6.07965 15.7965 6 15.6372 6 15.3982V6.79646C6 6.63717 6.15929 6.39823 6.23894 6.23894C6.39823 6.07965 6.55752 6 6.79646 6H13.0089C13.4071 6 13.8053 6.31858 13.8053 6.79646V15.3982Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M23.9203 10.6195C23.9203 11.0177 23.6017 11.4159 23.1238 11.4159H16.9115C16.6725 11.4159 16.5132 11.3363 16.3539 11.177C16.1946 11.0177 16.115 10.8584 16.115 10.6195V6.79646C16.115 6.39823 16.4336 6 16.9115 6H23.1238C23.5221 6 23.9203 6.31858 23.9203 6.79646V10.6195Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M13.8053 23.2035C13.8053 23.4424 13.7257 23.6017 13.5664 23.761C13.4071 23.9203 13.2478 23.9999 13.0089 23.9999H6.79646C6.39823 23.9999 6 23.6813 6 23.2035V19.3804C6 19.1415 6.07965 18.9822 6.23894 18.8229C6.39823 18.6636 6.55752 18.584 6.79646 18.584H13.0089C13.4071 18.584 13.8053 18.9026 13.8053 19.3804V23.2035Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M16.9912 23.9999C16.7522 23.9999 16.5929 23.9202 16.4336 23.7609C16.2743 23.6016 16.1947 23.4423 16.1947 23.2034V14.6016C16.1947 14.3627 16.2743 14.2034 16.4336 14.0441C16.5929 13.8848 16.7522 13.8052 16.9912 13.8052H23.2036C23.4425 13.8052 23.6018 13.8848 23.7611 14.0441C23.9204 14.2034 24 14.3627 24 14.6016V23.2034C24 23.6016 23.6814 23.9999 23.2036 23.9999H16.9912Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Object(a.__)("Display","woocommerce-admin")),{Fill:u,Slot:d}=Object(o.createSlotFill)("DisplayOptions");u.Slot=d;const m=[{value:"single_column",label:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(()=>Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("rect",{x:"0.5",y:"0.5",width:"11",height:"13",strokeWidth:"1"})),null),Object(a.__)("Single column","woocommerce-admin"))},{value:"two_columns",label:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(()=>Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(r.createElement)("rect",{x:"9.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"})),null),Object(a.__)("Two columns","woocommerce-admin"))}],p=()=>{const{defaultHomescreenLayout:e,taskListComplete:t,isTaskListHidden:n}=Object(i.useSelect)(e=>{const{getOption:t}=e(c.OPTIONS_STORE_NAME),{getTaskList:n}=e(c.ONBOARDING_STORE_NAME),r=n("setup");return{defaultHomescreenLayout:t("woocommerce_default_homepage_layout")||"single_column",taskListComplete:null==r?void 0:r.isComplete,isTaskListHidden:null==r?void 0:r.isHidden}}),{updateUserPreferences:u,homepage_layout:p}=Object(c.useUserPreferences)(),f=t||n||window.wcAdminFeatures.analytics;return Object(r.createElement)(d,null,t=>0!==t.length||f?Object(r.createElement)(o.DropdownMenu,{icon:Object(r.createElement)(l,null),label:Object(a.__)("Display options","woocommerce-admin"),toggleProps:{className:"woocommerce-layout__activity-panel-tab display-options",onClick:()=>Object(s.recordEvent)("homescreen_display_click")},popoverProps:{className:"woocommerce-layout__activity-panel-popover"}},({onClose:n})=>Object(r.createElement)(r.Fragment,null,t,f?Object(r.createElement)(o.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(a.__)("Layout","woocommerce-admin")},Object(r.createElement)(o.MenuItemsChoice,{choices:m,onSelect:e=>{u({homepage_layout:e}),n(),Object(s.recordEvent)("homescreen_display_option",{display_option:e})},value:p||e})):null)):null)}},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=n(2),i=n(3),a=n(17);const c=()=>Object(r.createElement)("div",{className:"woocommerce-layout__no-match"},Object(r.createElement)(i.Card,null,Object(r.createElement)(i.CardBody,null,Object(r.createElement)(a.Text,null,Object(o.__)("Sorry, you are not allowed to access this page.","woocommerce-admin")))))},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c}));var r=n(4);function o(e,t){return Object(r.filter)(e,e=>{const{is_deleted:n,date_created_gmt:r,status:o}=e;if(!n){return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===o}}).length}function i(e){return Object(r.filter)(e,e=>{const{is_deleted:t}=e;return!t}).length>0}const a=(e,t)=>{const n=document.createElement("div"),o=Array.from(e.childNodes);for(let e=0;e<o.length;e++){let i=o[e].cloneNode(!0);if(!(n.textContent.length+i.textContent.length<=t)){const e=t-n.textContent.length;i.innerHTML&&i.textContent.slice(0,e)!==i.innerHTML.slice(0,e)?i=a(i,e):i.textContent=Object(r.truncate)(i.textContent,{length:e,separator:" ",omission:""}),n.appendChild(i);break}n.appendChild(i)}return n},c=(e,t)=>{const n=document.createElement("div");return n.innerHTML=e,n.textContent.length>t?a(n,t).innerHTML+"...":e}},18:function(e,t){e.exports=window.wp.apiFetch},19:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=c(n(5)),i=c(n(71)),a=c(n(74));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,a,c,u,d,m,p,f,h=[],b={};for(m=0;m<e.length;m++)if("string"!==(d=e[m]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+s);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],c=m;break}h.push(t[d.value])}else h.push(d.value);return n&&(u=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(c,e),p=l(e.slice(c+1,u),t),a=o.default.cloneElement(n,{},p),h.push(a),u<e.length-1&&(f=l(e.slice(u+1),t),h=h.concat(f))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return l(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},2:function(e,t){e.exports=window.wp.i18n},20:function(e,t){e.exports=window.wc.date},21:function(e,t){e.exports=window.wc.components},22:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},23:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},25:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},256:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return w}));var r=n(0),o=n(2),i=n(17),a=n(16),c=n(21),s=n(7),l=n(11),u=n(501),d=n(8),m=Object(r.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(d.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})),p=n(502),f=n(3),h=n(70),b=n(104),v=n(64);const g=()=>Object(r.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{d:"M0 0h24v24H0z",fill:"none"}),Object(r.createElement)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"})),y="AbbreviatedNotification",w=({thingsToDoNextCount:e})=>{const{ordersToProcessCount:t,reviewsToModerateCount:n,stockNoticesCount:d,isSetupTaskListHidden:w,isExtendedTaskListHidden:O}=Object(s.useSelect)(e=>{var t,n;const{getTaskList:r}=e(l.ONBOARDING_STORE_NAME),o=Object(h.c)(e);return{ordersToProcessCount:Object(h.d)(e,o),reviewsToModerateCount:Object(b.b)(e),stockNoticesCount:Object(h.a)(e),isSetupTaskListHidden:null===(t=r("setup"))||void 0===t?void 0:t.isHidden,isExtendedTaskListHidden:null===(n=r("extended"))||void 0===n?void 0:n.isHidden}}),j=e=>{Object(a.recordEvent)("activity_panel_click",{task:e})},{Slot:_}=Object(f.createSlotFill)(y),E=Object(v.f)(window.location.href);return Object(r.createElement)("div",{className:"woocommerce-abbreviated-notifications"},e>0&&!O&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:Object(r.createElement)(g,null),href:"admin.php?page=wc-admin#extended_task_list",onClick:()=>j("thingsToDoNext"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Things to do next","woocommerce-admin")),Object(r.createElement)(i.Text,{as:"p"},Object(o.sprintf)(Object(o._n)("You have %d new thing to do","You have %d new things to do",e,"woocommerce-admin"),e))),t>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:u.a,href:"admin.php?page=wc-admin&opened_panel=orders-panel",onClick:()=>j("ordersToProcess"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Orders to fulfill","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.sprintf)(Object(o._n)("You have %d order to fulfill","You have %d orders to fulfill",t,"woocommerce-admin"),t))),n>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:m,href:"admin.php?page=wc-admin&opened_panel=reviews-panel",onClick:()=>j("reviewsToModerate"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Reviews to moderate","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.sprintf)(Object(o._n)("You have %d review to moderate","You have %d reviews to moderate",n,"woocommerce-admin"),n))),d>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:p.a,href:"admin.php?page=wc-admin&opened_panel=stock-panel",onClick:()=>j("stockNotices"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Inventory to review","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.__)("You have inventory to review and update","woocommerce-admin"))),!O&&Object(r.createElement)(_,null))}},257:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return y}));var r=n(0),o=n(2),i=n(31),a=n(19),c=n.n(a),s=n(13),l=n(27),u=n(21),d=n(11),m=n(20);var p=({value:e,onChange:t})=>{const{wcAdminSettings:n}=Object(d.useSettings)("wc_admin",["wcAdminSettings"]),{woocommerce_default_date_range:o}=n,i=Object(l.parse)(e.replace(/&amp;/g,"&")),{period:a,compare:c,before:s,after:p}=Object(m.getDateParamsFromQuery)(i,o),{primary:f,secondary:h}=Object(m.getCurrentDates)(i,o),b={period:a,compare:c,before:s,after:p,primaryDate:f,secondaryDate:h};return Object(r.createElement)(u.DateRangeFilterPicker,{query:i,onRangeSelect:e=>{t({target:{name:"woocommerce_default_date_range",value:Object(l.stringify)(e)}})},dateQuery:b,isoDateFormat:m.isoDateFormat})};const f=["processing","on-hold"],h=["completed","processing","refunded","cancelled","failed","pending","on-hold"],b=Object.keys(s.c).filter(e=>"refunded"!==e).map(e=>({value:e,label:s.c[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),s.c[e])})),v=Object(s.f)("unregisteredOrderStatuses",{}),g=[{key:"defaultStatuses",options:b.filter(e=>h.includes(e.value))},{key:"customStatuses",label:Object(o.__)("Custom Statuses","woocommerce-admin"),options:b.filter(e=>!h.includes(e.value))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(v).map(e=>({value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),e)}))}],y=Object(i.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:g,helpText:c()({mixedString:Object(o.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(r.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:g,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin. These orders will show up in the Home Screen - Orders task.","woocommerce-admin"),defaultValue:f},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default date range:","woocommerce-admin"),inputType:"component",component:p,helpText:Object(o.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},258:function(e,t,n){"use strict";(function(e){var r=n(0),o=n(4),i=n(6),a=n.n(i),c=n(259),s=n(2),l=(n(260),n(3));t.a=Object(r.forwardRef)((function({className:t,children:n,spokenMessage:i=n,politeness:u="polite",actions:d=[],onRemove:m=o.noop,icon:p=null,explicitDismiss:f=!1,onDismiss:h=null},b){function v(e){e&&e.preventDefault&&e.preventDefault(),h(),m()}h=h||o.noop,function(e,t){const n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)(()=>{n&&Object(c.speak)(n,t)},[n,t])}(i,u),Object(r.useEffect)(()=>{const e=setTimeout(()=>{f||(h(),m())},1e4);return()=>clearTimeout(e)},[f,h,m]);const g=a()(t,"components-snackbar",{"components-snackbar-explicit-dismiss":!!f});d&&d.length>1&&(void 0!==e&&e.env,d=[d[0]]);const y=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!p});return Object(r.createElement)("div",{ref:b,className:g,onClick:f?o.noop:v,tabIndex:"0",role:f?"":"button",onKeyPress:f?o.noop:v,"aria-label":f?"":Object(s.__)("Dismiss this notice")},Object(r.createElement)("div",{className:y},p&&Object(r.createElement)("div",{className:"components-snackbar__icon"},p),n,d.map(({label:e,onClick:t,url:n},o)=>Object(r.createElement)(l.Button,{key:o,href:n,isTertiary:!0,onClick:e=>function(e,t){e.stopPropagation(),m(),t&&t(e)}(e,t),className:"components-snackbar__action"},e)),f&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:v,onKeyPress:v},"✕")))}))}).call(this,n(129))},259:function(e,t){e.exports=window.wp.a11y},260:function(e,t){e.exports=window.wp.warning},261:function(e,t){e.exports=window.wc.customerEffortScore},27:function(e,t,n){"use strict";var r=n(58),o=n(59),i=n(34);e.exports={formats:i,parse:o,stringify:r}},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r={};n.r(r),n.d(r,"setCesSurveyQueue",(function(){return O})),n.d(r,"addCesSurvey",(function(){return j})),n.d(r,"addCesSurveyForAnalytics",(function(){return _})),n.d(r,"addCesSurveyForCustomerSearch",(function(){return E}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return k}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return x}));var a=n(0),c=n(1),s=n.n(c),l=n(16),u=n(261),d=n.n(u),m=n(14),p=n(7),f=n(11),h=n(2);function b({action:e,trackProps:t,label:n,onSubmitLabel:r=Object(h.__)("Thank you for your feedback!","woocommerce-admin"),cesShownForActions:o,allowTracking:i,resolving:c,storeAgeInWeeks:s,updateOptions:u,createNotice:m}){const[p,f]=Object(a.useState)(!1);if(c)return null;if(!i)return null;if(-1!==o.indexOf(e)&&!p)return null;const b=()=>{u({woocommerce_ces_shown_for_actions:[e,...o]})};return Object(a.createElement)(d.a,{recordScoreCallback:(n,o)=>{Object(l.recordEvent)("ces_feedback",{action:e,score:n,comments:o||"",store_age:s,...t}),m("success",r)},label:n,onNoticeShownCallback:()=>{Object(l.recordEvent)("ces_snackbar_view",{action:e,store_age:s,...t})},onNoticeDismissedCallback:()=>{Object(l.recordEvent)("ces_snackbar_dismiss",{action:e,store_age:s,...t}),b()},onModalShownCallback:()=>{f(!0),Object(l.recordEvent)("ces_view",{action:e,store_age:s,...t}),b()},icon:Object(a.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(h.__)("Pencil icon","woocommerce-admin")},"✏️")})}b.propTypes={action:s.a.string.isRequired,trackProps:s.a.object,label:s.a.string.isRequired,onSubmitLabel:s.a.string,cesShownForActions:s.a.arrayOf(s.a.string).isRequired,allowTracking:s.a.bool,resolving:s.a.bool.isRequired,storeAgeInWeeks:s.a.number,updateOptions:s.a.func,createNotice:s.a.func};var v=Object(m.compose)(Object(p.withSelect)(e=>{const{getOption:t,isResolving:n}=e(f.OPTIONS_STORE_NAME),r=t("woocommerce_ces_shown_for_actions")||[],o=function(e){if(0===e)return null;const t=Date.now()-1e3*e;return Math.round(t/f.WEEK)}(t("woocommerce_admin_install_timestamp")||0);return{cesShownForActions:r,allowTracking:"yes"===(t("woocommerce_allow_tracking")||"no"),storeAgeInWeeks:o,resolving:n("getOption",["woocommerce_ces_shown_for_actions"])||null===o||n("getOption",["woocommerce_admin_install_timestamp"])||n("getOption",["woocommerce_allow_tracking"])}}),Object(p.withDispatch)(e=>{const{updateOptions:t}=e(f.OPTIONS_STORE_NAME),{createNotice:n}=e("core/notices");return{updateOptions:t,createNotice:n}}))(b),g=n(57),y=n(10);var w={SET_CES_SURVEY_QUEUE:"SET_CES_SURVEY_QUEUE",ADD_CES_SURVEY:"ADD_CES_SURVEY"};function O(e){return{type:w.SET_CES_SURVEY_QUEUE,queue:e}}function j(e,t,n=window.pagenow,r=window.adminpage,o,i={}){return{type:w.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o,props:i}}function _(){return j("analytics_filtered",Object(h.__)("How easy was it to filter your store analytics?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin")}function E(){return j("ces_search",Object(h.__)("How easy was it to use search?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin",void 0,{search_area:"customer"})}function*k(){const e=yield Object(y.apiFetch)({path:`${g.a}/options?options=${g.b}`});if(!e)throw new Error;yield O(e[g.b]||[])}function x(e){return e.queue}const C={queue:[]};var S=(e=C,t)=>{switch(t.type){case w.SET_CES_SURVEY_QUEUE:return{...e,queue:t.queue};case w.ADD_CES_SURVEY:if(e.queue.filter(e=>e.action===t.action).length)return e;const n={action:t.action,label:t.label,pagenow:t.pageNow,adminpage:t.adminPage,onSubmitLabel:t.onSubmitLabel,props:t.props};return{...e,queue:[...e.queue,n]};default:return e}};Object(p.registerStore)(g.c,{actions:r,selectors:i,resolvers:o,controls:y.controls,reducer:S});function T({queue:e,resolving:t,clearQueue:n}){if(t)return null;const r=e.filter(e=>e.pagenow===window.pagenow&&e.adminpage===window.adminpage);return r.length&&n(),Object(a.createElement)(a.Fragment,null,r.map((e,t)=>Object(a.createElement)(v,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})))}T.propTypes={queue:s.a.arrayOf(s.a.object),resolving:s.a.bool,clearQueue:s.a.func};var A=Object(m.compose)(Object(p.withSelect)(e=>{const{getCesSurveyQueue:t,isResolving:n}=e(g.c);return{queue:t(),resolving:n("getOption",[g.b])}}),Object(p.withDispatch)(e=>{const{updateOptions:t}=e(f.OPTIONS_STORE_NAME);return{clearQueue:()=>{t({woocommerce_clear_ces_tracks_queue_for_page:{pagenow:window.pagenow,adminpage:window.adminpage}})}}}))(T)},273:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(36),o=n.n(r),i=n(0),a=n(31),c=n(27),s=n(7),l=n(11);var u=({children:e})=>{const{currentUserCan:t}=Object(l.useUser)(),n=Object(s.useSelect)(e=>{const{getOption:t,hasFinishedResolution:n}=e(l.OPTIONS_STORE_NAME),r=n("getOption",["woocommerce_show_marketplace_suggestions"]),o="no"!==t("woocommerce_show_marketplace_suggestions");return r&&o});return t("install_plugins")&&n?Object(i.createElement)(i.Fragment,null,e):null};const d=Object(i.lazy)(()=>n.e(45).then(n.bind(null,626))),m=Object(i.lazy)(()=>n.e(48).then(n.bind(null,635)));n(300);const p=[({page:e,tab:t,section:n})=>"wc-settings"!==e||"checkout"!==t||n?null:Object(i.createElement)(u,null,Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(d,null))),({page:e,tab:t,section:n,zone_id:r})=>"wc-settings"!==e||"shipping"!==t||Boolean(n)||Boolean(r)?null:Object(i.createElement)(u,null,Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(m,null)))],f=()=>{const e=Object(c.parse)(location.search.substring(1));let t={page:"",tab:""};void 0!==e.page&&(t=e);const n=Object(a.applyFilters)("woocommerce_admin_embedded_layout_components",p,t);return Object(i.createElement)("div",{className:"woocommerce-embedded-layout__primary",id:"woocommerce-embedded-layout__primary"},n.map((e,n)=>Object(i.createElement)(e,o()({key:n},t))))}},28:function(e,t){e.exports=window.wp.htmlEntities},282:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(128),n(11)),o=n(13),i=(n(284),n(120)),a=n(272),c=n(273);n.p=e.wcAdminAssets.path;const s=document.getElementById("root"),l=document.getElementById("woocommerce-embedded-root"),u=Object(o.f)("currentUserData");if(s){let e=Object(r.withSettingsHydration)("wc_admin",window.wcSettings.admin)(i.b);const n=!!window.wcSettings.admin&&window.wcSettings.admin.preloadSettings;n&&n.general&&(e=Object(r.withSettingsHydration)("general",{general:n.general})(e)),u&&(e=Object(r.withCurrentUserHydration)(u)(e)),Object(t.render)(Object(t.createElement)(e,null),s)}else if(l){let e=Object(r.withSettingsHydration)("wc_admin",window.wcSettings.admin)(i.a);u&&(e=Object(r.withCurrentUserHydration)(u)(e)),Object(t.render)(Object(t.createElement)(e,null),l),l.classList.remove("is-embed-loading");const n=document.getElementById("wpbody-content"),o=n.querySelector(".wrap.woocommerce")||n.querySelector(".wrap"),a=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(i.c,null)),n.insertBefore(a,o));const s=document.createElement("div");Object(t.render)(Object(t.createElement)(c.a,null),n.insertBefore(s,o.nextSibling))}window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&function(){const e=s||l;Object(t.render)(Object(t.createElement)(a.a,null),e.insertBefore(document.createElement("div"),null))}()}.call(this,n(80))},284:function(e,t,n){},285:function(e,t){e.exports=window.wc.notices},286:function(e,t,n){},287:function(e,t,n){},288:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},289:function(e,t,n){var r=n(290);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t){e.exports=window.ReactDOM},290:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},291:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},292:function(e,t,n){},293:function(e,t,n){},294:function(e,t,n){},295:function(e,t,n){},296:function(e,t,n){},297:function(e,t,n){},298:function(e,t,n){},299:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},3:function(e,t){e.exports=window.wp.components},30:function(e,t){e.exports=window.wp.keycodes},300:function(e,t,n){},31:function(e,t){e.exports=window.wp.hooks},34:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},36:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},4:function(e,t){e.exports=window.lodash},41:function(e,t,n){"use strict";var r=n(34),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],c=Object.keys(a),s=0;s<c.length;++s){var l=c[s],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<c.length;++l){var u=c.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===r.RFC1738&&(40===u||41===u)?s+=c.charAt(l):u<128?s+=a[u]:u<2048?s+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?s+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&c.charCodeAt(l)),s+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=c(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},43:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},476:function(e,t){e.exports=window.wc.csvExport},479:function(e,t){e.exports=window.wc.wcSettings},48:function(e,t,n){"use strict";var r=n(49);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},49:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5:function(e,t){e.exports=window.React},50:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},500:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=i},501:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));t.a=i},502:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"}));t.a=i},503:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}));t.a=i},504:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},52:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return s}));var r=n(0),o=n(3);const i=(e,t,n)=>"function"==typeof e?Object(r.cloneElement)(e(n),{order:t}):Object(r.cloneElement)(e,{...n,order:t}),a=({children:e,order:t=1})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_item"},n=>i(e,t,n));a.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_item",fillProps:e},e=>e.sort((e,t)=>e[0].props.order-t[0].props.order));const c=({children:e,order:t=1})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_navigation_item"},n=>i(e,t,n));c.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_navigation_item",fillProps:e},e=>e.sort((e,t)=>e[0].props.order-t[0].props.order));const s=({children:e})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_page_title"},e);s.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_page_title",fillProps:e},e=>[e.pop()])},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"b",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p}));var r=n(23);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],c=e&&o(e),s=t&&o(t),l=c||s;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,m=a.length;m>=0;m--){var p=a[m];"."===p?i(a,m):".."===p?(i(a,m),d++):d&&(i(a,m),d--)}if(!l)for(;d--;d)a.unshift("..");!l||""===a[0]||a[0]&&o(a[0])||a.unshift("");var f=a.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(43);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var v=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),v||Object(l.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,c=a.forceRefresh,s=void 0!==c&&c,h=a.getUserConfirmation,w=void 0===h?g:h,O=a.keyLength,j=void 0===O?6:O,_=e.basename?m(u(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=d(i,_)),f(i,r,n)}function k(){return Math.random().toString(36).substr(2,j)}var x=b();function C(e){Object(r.a)(D,e),D.length=n.length,x.notifyListeners(D.location,D.action)}function S(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(E(e.state))}function T(){P(E(y()))}var A=!1;function P(e){if(A)A=!1,C();else{x.confirmTransitionTo(e,"POP",w,(function(t){t?C({action:"POP",location:e}):function(e){var t=D.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,L(o))}(e)}))}}var N=E(y()),R=[N.key];function M(e){return _+p(e)}function L(e){n.go(e)}var V=0;function I(e){1===(V+=e)&&1===e?(window.addEventListener("popstate",S),i&&window.addEventListener("hashchange",T)):0===V&&(window.removeEventListener("popstate",S),i&&window.removeEventListener("hashchange",T))}var F=!1;var D={length:n.length,action:"POP",location:N,createHref:M,push:function(e,t){var r=f(e,t,k(),D.location);x.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=M(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),s)window.location.href=t;else{var c=R.indexOf(D.location.key),l=R.slice(0,c+1);l.push(r.key),R=l,C({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=f(e,t,k(),D.location);x.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=M(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),s)window.location.replace(t);else{var c=R.indexOf(D.location.key);-1!==c&&(R[c]=r.key),C({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return F||(I(1),F=!0),function(){return F&&(F=!1,I(-1)),t()}},listen:function(e){var t=x.appendListener(e);return I(1),function(){I(-1),t()}}};return D}function O(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,s=t.keyLength,l=void 0===s?6:s,u=b();function d(e){Object(r.a)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,l)}var h=O(c,0,i.length-1),v=i.map((function(e){return f(e,void 0,"string"==typeof e?m():e.key||m())})),g=p;function y(e){var t=O(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[h],index:h,entries:v,createHref:g,push:function(e,t){var r=f(e,t,m(),w.location);u.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),d({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=f(e,t,m(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,d({action:"REPLACE",location:r}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},54:function(e,t){e.exports=window.wp.plugins},57:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));const r="wc/customer-effort-score",o="/wc-admin",i="woocommerce_ces_tracks_queue"},58:function(e,t,n){"use strict";var r=n(41),o=n(34),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,s=Array.prototype.push,l=function(e,t){s.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,i,a,s,u,d,p,f,h,b,v,g){var y,w=t;if("function"==typeof u?w=u(n,w):w instanceof Date?w=f(w):"comma"===o&&c(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?f(e):e}))),null===w){if(i)return s&&!v?s(n,m.encoder,g,"key",h):n;w=""}if("string"==typeof(y=w)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(w))return s?[b(v?n:s(n,m.encoder,g,"key",h))+"="+b(s(w,m.encoder,g,"value",h))]:[b(n)+"="+b(String(w))];var O,j=[];if(void 0===w)return j;if("comma"===o&&c(w))O=[{value:w.length>0?w.join(",")||null:void 0}];else if(c(u))O=u;else{var _=Object.keys(w);O=d?_.sort(d):_}for(var E=0;E<O.length;++E){var k=O[E],x="object"==typeof k&&void 0!==k.value?k.value:w[k];if(!a||null!==x){var C=c(w)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");l(j,e(x,C,o,i,a,s,u,d,p,f,h,b,v,g))}}return j};e.exports=function(e,t){var n,r=e,s=function(e){if(!e)return m;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=m.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:void 0===e.allowDots?m.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof s.filter?r=(0,s.filter)("",r):c(s.filter)&&(n=s.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=a[u];n||(n=Object.keys(r)),s.sort&&n.sort(s.sort);for(var h=0;h<n.length;++h){var b=n[h];s.skipNulls&&null===r[b]||l(d,p(r[b],b,f,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset))}var v=d.join(s.delimiter),g=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),v.length>0?g+v:""}},59:function(e,t,n){"use strict";var r=n(41),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),l=c?i.slice(0,c.index):i,u=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(c=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+i.slice(c.index)+"]"),function(e,t,n,r){for(var o=r?t:s(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&c!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=o:a[l]=o:a={0:o}}o=a}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,m=u.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<m.length;++n)0===m[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===m[n]?f="utf-8":"utf8=%26%2310003%3B"===m[n]&&(f="iso-8859-1"),p=n,n=m.length);for(n=0;n<m.length;++n)if(n!==p){var h,b,v=m[n],g=v.indexOf("]="),y=-1===g?v.indexOf("="):g+1;-1===y?(h=t.decoder(v,a.decoder,f,"key"),b=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,y),a.decoder,f,"key"),b=r.maybeMap(s(v.slice(y+1),t),(function(e){return t.decoder(e,a.decoder,f,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===f&&(b=c(b)),v.indexOf("[]=")>-1&&(b=i(b)?[b]:b),o.call(l,h)?l[h]=r.combine(l[h],b):l[h]=b}return l}(e,n):e,d=n.plainObjects?Object.create(null):{},m=Object.keys(u),p=0;p<m.length;++p){var f=m[p],h=l(f,u[f],n,"string"==typeof e);d=r.merge(d,h,n)}return r.compact(d)}},6:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&e.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var c in o)t.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},63:function(e,t){e.exports=window.wp.date},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return m}));var r=n(28),o=n(4),i=n(13);function a(e){return e?e.split(":")[0]:null}function c(e){let t=a(e);return Object(o.without)(Object(i.f)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function s(e,t,n=!1,r){return u(t,n,r,e).map(e=>e.id||e.product)}function l(e,t,n){const r={};r.products=u(t,!0,n,e),r.remainingProducts=u(t,!1,n,e);const o=[...new Set([...r.products,...r.remainingProducts])];return r.uniqueItemsList=o.map(e=>{let t;return t=e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title},t}),r}function u(e,t=!1,n,r){const o=[];if(!r)return o;(e.product_types||[]).forEach(e=>{r[e]&&r[e].product&&(t||!n.includes(r[e].slug))&&o.push(r[e])});const a=Object(i.f)("onboarding",{});let c=null;return a&&a.themes&&(c=a.themes.find(t=>t.slug===e.theme)),c&&c.id&&d(c.price)>0&&(t||!c.is_installed)&&o.push(c),o}function d(e){return Number(Object(r.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function m(e){return/admin.php\?page=wc-admin/.test(e)}},7:function(e,t){e.exports=window.wp.data},70:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(11),o=n(257);function i(e,t){const{getItemsTotalCount:n,getItemsError:o,isResolving:i}=e(r.ITEMS_STORE_NAME);if(!t.length)return 0;const a={page:1,per_page:1,status:t,_fields:["id"]},c=n("orders",a,null),s=Boolean(o("orders",a)),l=i("getItemsTotalCount",["orders",a,null]);return s||l?null:c}function a(e){const{getSetting:t}=e(r.SETTINGS_STORE_NAME),{woocommerce_actionable_order_statuses:n=o.a}=t("wc_admin","wcAdminSettings",{});return n}const c={page:1,per_page:1,low_in_stock:!0,status:"publish",_fields:["id"]};function s(e){const{getItemsTotalCount:t,getItemsError:n,isResolving:o}=e(r.ITEMS_STORE_NAME),i=t("products/low-in-stock",c,null),a=Boolean(n("products/low-in-stock",c)),s=o("getItemsTotalCount",["products/low-in-stock",c,null]);return a||s&&null===i?null:i}},71:function(e,t,n){"use strict";var r=n(5),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(50),a=n(72),c=n(73),s="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===o)return n(r,e,""===t?"."+l(e,0):t),1;var d=0,m=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)d+=u(i=e[p],m+l(i,p),n,r);else{var f=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(f){0;for(var h,b=f.call(e),v=0;!(h=b.next()).done;)d+=u(i=h.value,m+l(i,v++),n,r)}else if("object"===c){0;var g=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(e).join(", ")+"}":g,"")}}return d}var d=/\/+/g;function m(e){return(""+e).replace(d,"$&/")}var p,f,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},v=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function g(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,a,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?w(d,c,n,i.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,a=s+(!d.key||t&&t.key===d.key?"":m(d.key)+"/")+n,d=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),c.push(d))}function w(e,t,n,r,o){var i="";null!=n&&(i=m(n)+"/");var a=g.getPooled(t,i,r,o);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,a),g.release(a)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=g).instancePool=[],f.getPooled=p||h,f.poolSize||(f.poolSize=10),f.release=v;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},72:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,c){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,c],u=0;(s=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},73:function(e,t,n){"use strict";var r=n(50);e.exports=r},74:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},8:function(e,t){e.exports=window.wp.primitives},80:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.moment},90:function(e,t){e.exports=window.wc.currency},92:function(e,t){e.exports=window.wp.dom}});
1
  /*! For license information please see index.min.js.LICENSE.txt */
2
+ this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var n,r,i=t[0],a=t[1],c=0,s=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&s.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={18:0},o={18:0};function i(e){var t=function(e){return a.p+"chunks/"+({4:"activity-panels-help",5:"activity-panels-inbox",6:"analytics-report",7:"analytics-report-categories",8:"analytics-report-coupons",9:"analytics-report-customers",10:"analytics-report-downloads",11:"analytics-report-orders",12:"analytics-report-products",13:"analytics-report-revenue",14:"analytics-report-stock",15:"analytics-report-taxes",16:"analytics-report-variations",17:"analytics-settings",24:"customizable-dashboard",25:"dashboard",26:"dashboard-charts",31:"homescreen",32:"leaderboards",34:"marketing-overview",45:"payment-recommendations",47:"profile-wizard",48:"shipping-recommendations",49:"store-alerts",50:"store-performance",52:"two-column-tasks",53:"two-column-tasks-extended",54:"wcpay-payment-welcome-page",55:"wcpay-usage-modal"}[e]||e)+".min.js"}(e);return window.wcAdminAssets&&window.wcAdminAssets.version&&(t+="?ver="+window.wcAdminAssets.version),t}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,3:1,4:1,5:1,6:1,7:1,9:1,12:1,14:1,17:1,25:1,26:1,31:1,32:1,34:1,45:1,47:1,48:1,49:1,50:1,52:1,54:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="chunks/"+e+".style.css",i=a.p+o,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(d=c[s]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(l===o||l===i))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var d;if((l=(d=u[s]).getAttribute("data-href"))===o||l===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.setAttribute("data-webpack",!0),m.onload=t,m.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],m.parentNode.removeChild(m),n(a)},m.href=i,window.wcAdminAssets&&window.wcAdminAssets.version&&(m.href+="?ver="+window.wcAdminAssets.version),document.getElementsByTagName("head")[0].appendChild(m)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.src=i(e);var u=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",u.name="ChunkLoadError",u.type=r,u.request=i,n[1](u)}o[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],s=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var u=s;return a(a.s=283)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t,n){e.exports=n(49)()},10:function(e,t){e.exports=window.wp.dataControls},103:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,i=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:s,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var o,i=n(5),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},105:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(11);const o=5,i={page:1,per_page:1,status:"hold",_embed:1,_fields:["id"]};function a(e){const{getReviewsTotalCount:t,getReviewsError:n,isResolving:o}=e(r.REVIEWS_STORE_NAME),a=t(i),c=Boolean(n(i)),s=o("getReviewsTotalCount",[i]);return c||s&&void 0===a?null:a}},106:function(e,t,n){"use strict";e.exports=n(131)},11:function(e,t){e.exports=window.wc.data},118:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(23);var i=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,c=void 0===n?24:n,s=function(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["icon","size"]);return Object(i.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:c,height:c},s))}},119:function(e,t,n){"use strict";var r=n(2),o=n(28),i=n(0),a=n(22);const c=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(13)]).then(n.bind(null,485))),s=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(12)]).then(n.bind(null,481))),l=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(16)]).then(n.bind(null,486))),u=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(11)]).then(n.bind(null,487))),d=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(7)]).then(n.bind(null,483))),m=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(8)]).then(n.bind(null,488))),p=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(15)]).then(n.bind(null,489))),f=Object(i.lazy)(()=>Promise.all([n.e(0),n.e(10)]).then(n.bind(null,490))),h=Object(i.lazy)(()=>n.e(14).then(n.bind(null,482))),b=Object(i.lazy)(()=>n.e(9).then(n.bind(null,484))),g=Object(a.d)("manageStock","no");t.a=()=>{const e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:c,navArgs:{id:"woocommerce-analytics-revenue"}},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:s,navArgs:{id:"woocommerce-analytics-products"}},{report:"variations",title:Object(r.__)("Variations","woocommerce-admin"),component:l,navArgs:{id:"woocommerce-analytics-variations"}},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:u,navArgs:{id:"woocommerce-analytics-orders"}},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:d,navArgs:{id:"woocommerce-analytics-categories"}},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:m,navArgs:{id:"woocommerce-analytics-coupons"}},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:p,navArgs:{id:"woocommerce-analytics-taxes"}},"yes"===g?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:h,navArgs:{id:"woocommerce-analytics-stock"}}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:b},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:f,navArgs:{id:"woocommerce-analytics-downloads"}}].filter(Boolean);return Object(o.applyFilters)("woocommerce_admin_reports_list",e)}},12:function(e,t){e.exports=window.wc.navigation},120:function(e,t,n){"use strict";var r=n(106),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var c=s(t),h=s(n),b=0;b<a.length;++b){var g=a[b];if(!(i[g]||r&&r[g]||h&&h[g]||c&&c[g])){var v=m(n,g);try{l(t,g,v)}catch(e){}}}}return t}},121:function(e,t,n){"use strict";n.d(t,"c",(function(){return ft})),n.d(t,"b",(function(){return vt})),n.d(t,"a",(function(){return yt}));var r=n(37),o=n.n(r),i=n(0),a=n(3),c=n(13),s=n(7),l=n(26),u=n(5),d=n.n(u),m=n(1),p=n.n(m),f=n(54),h=n(162),b=n(44),g=n(24),v=n(163),y=n.n(v),w=(n(106),n(23)),O=(n(120),function(e){var t=Object(h.a)();return t.displayName=e,t}("Router-History")),j=function(e){var t=Object(h.a)();return t.displayName=e,t}("Router"),_=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(l.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return d.a.createElement(j.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},d.a.createElement(O.Provider,{children:this.props.children||null,value:this.props.history}))},t}(d.a.Component);d.a.Component;d.a.Component;var E={},k=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,s=n.sensitive,l=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=E[n]||(E[n]={});if(r[e])return r[e];var o=[],i={regexp:y()(e,o,t),keys:o};return k<1e4&&(r[e]=i,k++),i}(n,{end:i,strict:c,sensitive:l}),o=r.regexp,a=r.keys,s=o.exec(e);if(!s)return null;var u=s[0],d=s.slice(1),m=e===u;return i&&!m?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:m,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return Object(l.a)(t,e),t.prototype.render=function(){var e=this;return d.a.createElement(j.Consumer,null,(function(t){t||Object(b.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=Object(g.a)({},t,{location:n,match:r}),i=e.props,a=i.children,c=i.component,s=i.render;return Array.isArray(a)&&0===a.length&&(a=null),d.a.createElement(j.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?d.a.createElement(c,o):s?s(o):null:"function"==typeof a?a(o):null)}))},t}(d.a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:Object(g.a)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"==typeof e?e:Object(f.d)(e)}function P(e){return function(){Object(b.a)(!1)}}function N(){}d.a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return Object(l.a)(t,e),t.prototype.render=function(){var e=this;return d.a.createElement(j.Consumer,null,(function(t){t||Object(b.a)(!1);var n,r,o=e.props.location||t.location;return d.a.Children.forEach(e.props.children,(function(e){if(null==r&&d.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,Object(g.a)({},e.props,{path:i})):t.match}})),r?d.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(d.a.Component);d.a.useContext;var M=n(4),L=n(29),V=n(12),I=n(11),F=n(16),D=(n(286),n(55)),H=(n(287),n(28)),B=n(2),z=n(21),q=n(119),U=n(65),$=n(22),W=n(176);const G=Object(i.lazy)(()=>n.e(6).then(n.bind(null,622))),Q=Object(i.lazy)(()=>n.e(17).then(n.bind(null,633))),Y=Object(i.lazy)(()=>n.e(25).then(n.bind(null,623))),Z=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(2),n.e(3),n.e(31)]).then(n.bind(null,629))),K=Object(i.lazy)(()=>Promise.all([n.e(2),n.e(34)]).then(n.bind(null,634))),J=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(47)]).then(n.bind(null,630))),X=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(47)]).then(n.bind(null,624))),ee=Object(i.lazy)(()=>n.e(54).then(n.bind(null,632))),te=()=>{const e=[],t=[["",Object($.d)("woocommerceTranslation")]];e.push({container:Z,path:"/",breadcrumbs:[...t,Object(B.__)("Home","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-home"},capability:"manage_woocommerce"}),window.wcAdminFeatures.analytics&&(e.push({container:Y,path:"/analytics/overview",breadcrumbs:[...t,["/analytics/overview",Object(B.__)("Analytics","woocommerce-admin")],Object(B.__)("Overview","woocommerce-admin")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-overview"},capability:"view_woocommerce_reports"}),e.push({container:Q,path:"/analytics/settings",breadcrumbs:[...t,["/analytics/revenue",Object(B.__)("Analytics","woocommerce-admin")],Object(B.__)("Settings","woocommerce-admin")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-settings"},capability:"view_woocommerce_reports"}),e.push({container:G,path:"/customers",breadcrumbs:[...t,Object(B.__)("Customers","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"},capability:"view_woocommerce_reports"}),e.push({container:G,path:"/analytics/:report",breadcrumbs:({match:e})=>{const n=Object(M.find)(Object(q.a)(),{report:e.params.report});return n?[...t,["/analytics/revenue",Object(B.__)("Analytics","woocommerce-admin")],n.title]:[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",capability:"view_woocommerce_reports"})),window.wcAdminFeatures.marketing&&e.push({container:K,path:"/marketing",breadcrumbs:[...t,["/marketing",Object(B.__)("Marketing","woocommerce-admin")],Object(B.__)("Overview","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce-marketing",navArgs:{id:"woocommerce-marketing-overview"},capability:"view_woocommerce_reports"}),window.wcAdminFeatures.onboarding&&e.push({container:J,path:"/setup-wizard",breadcrumbs:[...t,["/setup-wizard",Object(B.__)("Setup Wizard","woocommerce-admin")]],capability:"manage_woocommerce"}),window.wcAdminFeatures.settings&&e.push({container:X,path:"/settings/:page",breadcrumbs:({match:e})=>{const n=Object($.d)("settingsPages"),r=n[e.params.page];return r?[...t,[n.general?"/settings/general":"/settings/"+Object.keys(n)[0],Object(B.__)("Settings","woocommerce-admin")],r]:[]},wpOpenMenu:"toplevel_page_woocommerce",capability:"manage_woocommerce"}),window.wcAdminFeatures["wc-pay-welcome-page"]&&e.push({container:ee,path:"/wc-pay-welcome-page",breadcrumbs:[["/wc-pay-welcome-page",Object(B.__)("WooCommerce Payments","woocommerce-admin")],Object(B.__)("WooCommerce Payments","woocommerce-admin")],navArgs:{id:"woocommerce-wc-pay-welcome-page"},wpOpenMenu:"toplevel_page_woocommerce-wc-pay-welcome-page",capability:"manage_woocommerce"});const n=Object(H.applyFilters)("woocommerce_admin_pages_list",e);return n.push({container:W.a,path:"*",breadcrumbs:[...t,Object(B.__)("Not allowed","woocommerce-admin")],wpOpenMenu:"toplevel_page_woocommerce"}),n};class ne extends i.Component{componentDidMount(){window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}componentDidUpdate(e){const t=Object(M.omit)(e.query,"chartType","filter","paged"),n=Object(M.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(M.isEqual)(t,n)&&Object(V.getHistory)().replace(Object(V.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}render(){const{page:e,match:t,query:n}=this.props,{url:r,params:o}=t;return window.wpNavMenuUrlUpdate(n),window.wpNavMenuClassChange(e,r),Object(i.createElement)(i.Suspense,{fallback:Object(i.createElement)(z.Spinner,null)},Object(i.createElement)(e.container,{params:o,path:r,pathMatch:e.path,query:n}))}}window.wpNavMenuUrlUpdate=function(e){const t=Object(V.getPersistedQuery)(e),n=Object(V.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach(e=>function(e,t,n){if(Object(U.f)(e.href)){const r=Object(M.last)(e.href.split("?")),o=Object(L.parse)(r),i=o.path||"homescreen",a=Object(V.getScreenFromPath)(i),c=n.includes(a),s="admin.php?"+Object(L.stringify)(Object.assign(o,c?{}:t));e.href=s,e.onclick=e=>{e.preventDefault(),Object(V.getHistory)().push(s)}}}(e,t,n))},window.wpNavMenuClassChange=function(e,t){const n=document.querySelector("#adminmenu");Array.from(n.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")}));Array.from(n.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));const r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),o="/"===t?`li > a[href$="${r}"], li > a[href*="${r}?"]`:`li > a[href*="${r}"]`,i=n.querySelectorAll(o);if(Array.from(i).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){const t=n.querySelector("#"+e.wpOpenMenu);t&&(t.classList.remove("wp-not-current-submenu"),t.classList.add("wp-has-current-submenu"),t.classList.add("wp-menu-open"),t.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var re=n(6),oe=n.n(re),ie=n(30),ae=n(14),ce=n(17);n(288);function se(){const[e,t]=Object(i.useState)(!1),n=Object(i.useRef)(null);return Object(i.useEffect)(()=>{const e=()=>{t(window.pageYOffset>20)},r=()=>{n.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r),window.cancelAnimationFrame(n.current)}},[]),e}var le=n(53);const ue=({sections:e,isEmbedded:t=!1,query:n})=>{var r;const o=Object(i.useRef)(null),a=Object(ae.getSetting)("siteTitle",""),c=e.slice(-1)[0],s=se();let l=null;const u=oe()("woocommerce-layout__header",{"is-scrolled":s}),d=Object(ce.useSlot)("woocommerce_header_page_title"),m=Boolean(null==d||null===(r=d.fills)||void 0===r?void 0:r.length),p=Object(ce.useSlot)("woocommerce_header_item"),f=null==p?void 0:p.fills;Object(i.useLayoutEffect)(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h);const e=document.querySelector("#wpbody");e&&(e.style.marginTop=null)}),[f]);const h=()=>{clearTimeout(l),l=setTimeout((function(){const e=document.querySelector("#wpbody");e&&o.current&&(e.style.marginTop=o.current.offsetHeight+"px")}),200)};return Object(i.useEffect)(()=>{if(!t){const t=e.map(e=>Array.isArray(e)?e[1]:e).reverse().join(" &lsaquo; "),n=Object(ie.decodeEntities)(Object(B.sprintf)(Object(B.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce","woocommerce-admin"),t,a));document.title!==n&&(document.title=n)}},[t,e,a]),Object(i.createElement)("div",{className:u,ref:o},Object(i.createElement)("div",{className:"woocommerce-layout__header-wrapper"},Object(i.createElement)(le.b.Slot,{fillProps:{isEmbedded:t,query:n}}),Object(i.createElement)(ce.Text,{className:"woocommerce-layout__header-heading",as:"h1"},Object(ie.decodeEntities)(m?Object(i.createElement)(le.c.Slot,{fillProps:{isEmbedded:t,query:n}}):c)),Object(i.createElement)(le.a.Slot,{fillProps:{isEmbedded:t,query:n}})))};class de extends i.Component{render(){return Object(i.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}var me=de,pe=n(161),fe=n(259);var he=function({notices:e,className:t,children:n,onRemove:r=M.noop,onRemove2:a=M.noop}){const s=Object(c.useReducedMotion)(),[l]=Object(i.useState)(()=>new WeakMap),u=Object(pe.useTransition)(e,e=>e.id,{from:{opacity:0,height:0},enter:e=>async t=>await t({opacity:1,height:l.get(e).offsetHeight}),leave:()=>async e=>{await e({opacity:0}),await e({height:0})},immediate:s});t=oe()("components-snackbar-list",t);const d=e=>()=>{r(e.id),a(e.id)};return Object(i.createElement)("div",{className:t},n,u.map(({item:e,key:t,props:n})=>Object(i.createElement)(pe.animated.div,{key:t,style:n},Object(i.createElement)("div",{className:"components-snackbar-list__notice-container",ref:t=>t&&l.set(e,t)},Object(i.createElement)(fe.a,o()({},Object(M.omit)(e,["content"]),{onRemove:d(e)}),e.content)))))};n(293);const be="woocommerce_admin_transient_notices_queue";function ge(e){const{removeNotice:t}=Object(s.useDispatch)("core/notices"),{createNotice:n,removeNotice:r}=Object(s.useDispatch)("core/notices2"),{updateOptions:o}=Object(s.useDispatch)(I.OPTIONS_STORE_NAME),{currentUser:a={},notices:c=[],notices2:l=[],noticesQueue:u={}}=Object(s.useSelect)(e=>({currentUser:e(I.USER_STORE_NAME).getCurrentUser(),notices:e("core/notices").getNotices(),notices2:e("core/notices2").getNotices(),noticesQueue:e(I.OPTIONS_STORE_NAME).getOption(be)}));Object(i.useEffect)(()=>{Object.values(u).filter(e=>e.user_id===a.id||!e.user_id).forEach(e=>{const t=Object(H.applyFilters)("woocommerce_admin_queued_notice_filter",e);n(t.status,t.content,{onDismiss:()=>{(e=>{const t={...u};delete t[e],o({[be]:t})})(t.id)},...t.options||{}})})},[]);const{className:d}=e,m=oe()("woocommerce-transient-notices","components-notices__snackbar",d),p=c.concat(l);return Object(i.createElement)(he,{notices:p,className:m,onRemove:t,onRemove2:r})}ge.propTypes={className:p.a.string,notices:p.a.array};var ve=ge,ye=n(118),we=n(504),Oe=n(505);n(294);const je=()=>Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("mask",{id:"mask0_2915:6733",maskUnits:"userSpaceOnUse",x:"4",y:"3",width:"16",height:"18"},Object(i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 3.5H13.5L13.9 5.5H19.5V15.5H12.5L12.1 13.5H6.5V20.5H4.5V3.5ZM12.26 7.5L11.86 5.5H6.5V11.5H13.74L14.14 13.5H17.5V7.5H12.26Z",fill:"white"})),Object(i.createElement)("g",{mask:"url(#mask0_2915:6733)"},Object(i.createElement)("rect",{width:"24",height:"24",fill:"#50575E"})));var _e=n(177);const Ee={page:1,per_page:I.QUERY_DEFAULTS.pageSize,status:"unactioned",type:I.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"};function ke(e){const{getNotes:t,getNotesError:n,isResolving:r}=e(I.NOTES_STORE_NAME),{getCurrentUser:o}=e(I.USER_STORE_NAME),i=o(),a=parseInt(i&&i.woocommerce_meta&&i.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;t(Ee);const c=Boolean(n("getNotes",[Ee])),s=r("getNotes",[Ee]);if(c||s)return null;const l=t(Ee);return Object(_e.a)(l,a)>0}const Se=({icon:e,title:t,name:n,unread:r,selected:o,isPanelOpen:c,onTabClick:s})=>{const l=oe()("woocommerce-layout__activity-panel-tab",{"is-active":c&&o,"has-unread":r}),u="activity-panel-tab-"+n;return Object(i.createElement)(a.Button,{role:"tab",className:l,"aria-selected":o,"aria-controls":"activity-panel-"+n,key:u,id:u,onClick:()=>{s(n)}},e,t," ",r&&Object(i.createElement)("span",{className:"screen-reader-text"},Object(B.__)("unread activity","woocommerce-admin")))},xe=({tabs:e,onTabClick:t,selectedTab:n,tabOpen:r=!1})=>{const[{tabOpen:c,currentTab:s},l]=Object(i.useState)({tabOpen:r,currentTab:n});return Object(i.useEffect)(()=>{l({tabOpen:r,currentTab:n})},[r,n]),Object(i.createElement)(a.NavigableMenu,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map((e,n)=>{if(e.component){const{component:t,options:r}=e;return Object(i.createElement)(t,o()({key:n},r))}return Object(i.createElement)(Se,o()({key:n,index:n,isPanelOpen:c,selected:s===e.name},e,{onTabClick:()=>{const n=s!==e.name&&""!==s||!c;n&&s===e.name||Object(F.recordEvent)("activity_panel_open",{tab:e.name}),l({tabOpen:n,currentTab:e.name}),t(e,n)}}))}))},Ce=()=>Object(i.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(i.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}));var Te=n(171),Ae=n(501);n(295);const Pe="highlight-tooltip__show";function Ne({title:e,closeButtonText:t,content:n,show:r=!0,id:o,onClose:c,delay:s,onShow:l=M.noop,useAnchor:u=!1}){const[d,m]=Object(i.useState)(s>0?null:r),[p,f]=Object(i.useState)(null),[h,b]=Object(i.useState)(null);function g(){if(u){const e=document.getElementById(o);b(e.getBoundingClientRect())}}Object(i.useEffect)(()=>{const e=document.getElementById(o);let t,n;e&&!p&&(u?(n=document.createElement("div"),document.body.appendChild(n)):n=e.parentElement,t=document.createElement("div"),t.classList.add("highlight-tooltip__container"),n.appendChild(t),f(t));const r=v(t);return()=>{if(t){const e=t.parentElement;e.removeChild(t),u&&e.remove()}r&&clearTimeout(r)}},[]),Object(i.useEffect)(()=>{!d&&p&&p.classList.remove(Pe)},[d]),Object(i.useEffect)(()=>{r!==d&&null!==d&&p&&(m(r),r?p&&v(p):p.classList.remove(Pe))},[r]),Object(i.useLayoutEffect)(()=>(window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)),[]);const v=e=>{let t=null;return s>0?t=setTimeout(()=>{t=null,y(e)},s):d||y(e),t},y=e=>{const t=document.getElementById(o);t&&u&&b(t.getBoundingClientRect()),e&&e.classList.add(Pe),m(!0),l()},w=()=>{m(!1),c&&c()};return p?Object(i.createPortal)(Object(i.createElement)("div",{className:"highlight-tooltip__portal"},d?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(i.createElement)(a.Popover,{className:"highlight-tooltip__popover",noArrow:!1,anchorRect:h,focusOnMount:"container"},Object(i.createElement)(a.Card,{size:"medium"},Object(i.createElement)(a.CardHeader,null,e,Object(i.createElement)(a.Button,{isSmall:!0,onClick:w,icon:Ae.a})),Object(i.createElement)(a.CardBody,null,n||null),Object(i.createElement)(a.CardFooter,{isBorderless:!0},Object(i.createElement)(a.Button,{size:"small",isPrimary:!0,onClick:w},t||Object(B.__)("Close","woocommerce-admin")))))):null),p):null}Ne.propTypes={id:p.a.string.isRequired,title:p.a.string.isRequired,closeButtonText:p.a.string.isRequired,content:p.a.oneOfType([p.a.string,p.a.node]),show:p.a.bool,onClose:p.a.func,delay:p.a.number,onShow:p.a.func,useAnchor:p.a.bool};var Re=n(93);const Me=["button","submit"];function Le(e){const t=Object(i.useRef)(e);Object(i.useEffect)(()=>{t.current=e},[e]);const n=Object(i.useRef)(!1),r=Object(i.useRef)(),o=Object(i.useCallback)(()=>{clearTimeout(r.current)},[]);Object(i.useEffect)(()=>()=>o(),[]),Object(i.useEffect)(()=>{e||o()},[e,o]);const a=Object(i.useCallback)(e=>{const{type:t,target:r}=e;Object(M.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(M.includes)(Me,e.type)}return!1}(r)&&(n.current=!0)},[]),c=Object(i.useCallback)(e=>{e.persist(),n.current||(r.current=setTimeout(()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()},0))},[]);return{onFocus:o,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:c}}const Ve=({content:e,isPanelOpen:t,isPanelSwitching:n,currentTab:r,tab:a,closePanel:c,clearPanel:s})=>{const l="woocommerce-layout__activity-panel-wrapper",u=function(e="firstElement"){const t=Object(i.useRef)(e);return Object(i.useEffect)(()=>{t.current=e},[e]),Object(i.useCallback)(e=>{if(!e||!1===t.current)return;if(e.contains(e.ownerDocument.activeElement))return;let n=e;if("firstElement"===t.current){const t=Re.focus.tabbable.find(e)[0];t&&(n=t)}n.focus()},[])}(),d=Le(e=>{const n=e.relatedTarget&&(e.relatedTarget.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.relatedTarget.closest(".components-snackbar__action"));t&&!n&&c()}),m=Object(i.useRef)(null),p=Object(i.useCallback)(e=>{m.current=e,u(e)},[]);if(!a)return Object(i.createElement)("div",{className:l});if(!e)return null;const f=oe()(l,{"is-open":t,"is-switching":n});return Object(i.createElement)("div",o()({className:f,tabIndex:0,role:"tabpanel","aria-label":a.title,onTransitionEnd:e=>{e&&"transform"===e.propertyName&&(s(),m.current&&t&&a&&u(m.current))}},d,{ref:p}),Object(i.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(i.createElement)(i.Suspense,{fallback:Object(i.createElement)(z.Spinner,null)},e)))};var Ie=n(71),Fe=n(105),De=n(257);const He=Object(i.lazy)(()=>n.e(4).then(n.bind(null,638))),Be=Object(i.lazy)(()=>Promise.all([n.e(2),n.e(3),n.e(5)]).then(n.bind(null,625))),ze=({isEmbedded:e,query:t})=>{const[n,r]=Object(i.useState)(""),[o,a]=Object(i.useState)(!1),[c,l]=Object(i.useState)(!1),[u,d]=Object(i.useState)(!1),{fills:m}=Object(ce.useSlot)(De.a),p=Boolean(null==m?void 0:m.length),{updateUserPreferences:f,...h}=Object(I.useUserPreferences)(),b=(e,n)=>{let r={};if("wc-admin"===t.page&&"appearance"===t.task){var o,i,a;const{getTaskLists:t}=e(I.ONBOARDING_STORE_NAME),c=t().reduce((e,t)=>[...e,...t.tasks],[]).find(e=>"appearance"===e.id);r={set_notice:n("woocommerce_demo_store_notice")?"Y":"N",create_homepage:!0===(null==c||null===(o=c.additionalData)||void 0===o?void 0:o.hasHomepage)?"Y":"N",upload_logo:null!=c&&null!==(i=c.additionalData)&&void 0!==i&&null!==(a=i.themeMods)&&void 0!==a&&a.custom_logo?"Y":"N"}}return r};function g(e,t,n){const r=Object(Ie.c)(e),o=!(!t||!c)&&Object(Ie.d)(e,r)>0,i=!(!t||!c)&&Object(Fe.b)(e),a=!(!t||!c)&&Object(Ie.a)(e);return n>0||o||i||a||p}const{hasUnreadNotes:v,hasAbbreviatedNotifications:y,isCompletedTask:w,thingsToDoNextCount:O,requestingTaskListOptions:j,setupTaskListComplete:_,setupTaskListHidden:E,previewSiteBtnTrackData:k}=Object(s.useSelect)(e=>{var n,r,o;const{getOption:i}=e(I.OPTIONS_STORE_NAME),{getTask:a,getTaskList:c,hasFinishedResolution:s}=e(I.ONBOARDING_STORE_NAME),l=null===(n=c("setup"))||void 0===n?void 0:n.isHidden,u=function(e){return e&&e.tasks.length&&!e.isHidden?e.tasks.filter(e=>e.canView&&!e.isComplete&&!e.isDismissed).length:0}(c("extended"));return{hasUnreadNotes:ke(e),hasAbbreviatedNotifications:g(e,l,u),thingsToDoNextCount:u,requestingTaskListOptions:!s("getTaskLists"),setupTaskListComplete:null===(r=c("setup"))||void 0===r?void 0:r.isComplete,setupTaskListHidden:l,isCompletedTask:Boolean(t.task&&(null===(o=a(t.task))||void 0===o?void 0:o.isComplete)),previewSiteBtnTrackData:b(e,i)}}),{unhideTaskList:S}=Object(s.useDispatch)(I.ONBOARDING_STORE_NAME),{currentUserCan:x}=Object(I.useUser)(),C=()=>"wc-admin"===t.page&&!t.path,T=()=>t.task&&!t.path&&(!0===j||!1===E&&!1===_),A=()=>{Object(U.f)(window.location.href)?Object(V.getHistory)().push(Object(V.getNewPath)({},"/",{})):window.location.href=Object(ae.getAdminLink)("admin.php?page=wc-admin")},P=()=>{const n={name:"activity",title:Object(B.__)("Activity","woocommerce-admin"),icon:Object(i.createElement)(je,null),unread:v||y,visible:(e||!C())&&!T()},r={name:"setup",title:Object(B.__)("Finish setup","woocommerce-admin"),icon:Object(i.createElement)(Ce,null),onClick:()=>(window.location.href!==Object(ae.getAdminLink)("admin.php?page=wc-admin")&&("no"===E?A():S("setup").then(A)),null),visible:x("manage_woocommerce")&&!j&&!_&&!E&&!T()&&(!C()||e)},o={name:"help",title:Object(B.__)("Help","woocommerce-admin"),icon:Object(i.createElement)(ye.a,{icon:we.a}),visible:x("manage_woocommerce")&&(C()&&!e||T())},a={component:Te.b,visible:x("manage_woocommerce")&&!e&&C()&&!T()};return[n,r,{name:"previewSite",title:Object(B.__)("Preview site","woocommerce-admin"),icon:Object(i.createElement)(ye.a,{icon:Oe.a}),visible:"wc-admin"===t.page&&"appearance"===t.task,onClick:()=>(window.open(Object(ae.getSetting)("siteUrl")),Object(F.recordEvent)("wcadmin_tasklist_previewsite",k),null)},a,o].filter(e=>e.visible)},N=P(),R=Object(M.uniqueId)("activity-panel-header_"),L=(()=>{const{task:e}=t,n=h&&h.task_list_tracked_started_tasks,r=h&&h.help_panel_highlight_shown;return!(!(e&&"yes"!==r&&(n||{})[e]>1)||w)})();return Object(i.createElement)("div",null,Object(i.createElement)(z.H,{id:R,className:"screen-reader-text"},Object(B.__)("Store Activity","woocommerce-admin")),Object(i.createElement)(z.Section,{component:"aside",id:"woocommerce-activity-panel",className:"woocommerce-layout__activity-panel","aria-labelledby":R},Object(i.createElement)(xe,{tabs:N,tabOpen:c,selectedTab:n,onTabClick:(e,t)=>{e.onClick?e.onClick():(({name:e},t)=>{const i=e!==n&&""!==n&&t&&c;o||(r(e),l(t),d(i))})(e,t)}}),Object(i.createElement)(Ve,{currentTab:!0,isPanelOpen:c,isPanelSwitching:u,tab:Object(M.find)(P(),{name:n}),content:(e=>{const{task:n}=t;switch(e){case"activity":return Object(i.createElement)(Be,{hasAbbreviatedNotifications:y,thingsToDoNextCount:O});case"help":return Object(i.createElement)(He,{taskName:n});default:return null}})(n),closePanel:()=>(a(!0),void l(!1)),clearPanel:()=>{c||(a(!1),d(!1),r(""))}})),L?Object(i.createElement)(Ne,{delay:1e3,useAnchor:!0,title:Object(B.__)("We're here for help","woocommerce-admin"),content:Object(B.__)("If you have any questions, feel free to explore the WooCommerce docs listed here.","woocommerce-admin"),closeButtonText:Object(B.__)("Got it","woocommerce-admin"),id:"activity-panel-tab-help",onClose:()=>(Object(F.recordEvent)("help_tooltip_click"),void(h&&f&&f({help_panel_highlight_shown:"yes"}))),onShow:()=>Object(F.recordEvent)("help_tooltip_view")}):null)};ze.defaultProps={getHistory:V.getHistory};var qe=ze;Object(D.registerPlugin)("activity-panel-header-item",{render:()=>Object(i.createElement)(le.a,{order:20},({isEmbedded:e,query:t})=>window.wcAdminFeatures["activity-panels"]?Object(i.createElement)(qe,{isEmbedded:e,query:t}):null),scope:"woocommerce-admin"});var Ue=n(103),$e=n.n(Ue);const We=()=>Object(i.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}));n(296);const Ge=({onInstall:e,onDismiss:t})=>{const[n,r]=Object(i.useState)(!1),o="android"==(/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown")&&!n;return Object(i.useEffect)(()=>{const e=document.getElementsByClassName("woocommerce-layout")[0];return o&&e&&e.classList.add("woocommerce-layout__show-app-banner"),()=>{e&&e.classList.remove("woocommerce-layout__show-app-banner")}},[o]),o?Object(i.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(i.createElement)(ye.a,{icon:Object(i.createElement)($e.a,{"data-testid":"dismiss-btn"}),onClick:()=>{t(),r(!0),Object(F.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(i.createElement)(We,null),Object(i.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(i.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(B.__)("Run your store from anywhere","woocommerce-admin")),Object(i.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(B.__)("Download the WooCommerce app","woocommerce-admin"))),Object(i.createElement)(a.Button,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:()=>{e(),r(!0),Object(F.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(B.__)("Install","woocommerce-admin"))):null};Object(D.registerPlugin)("mobile-banner-header-item",{render:()=>{const{updateUserPreferences:e,...t}=Object(I.useUserPreferences)(),n=()=>{e({android_app_banner_dismissed:"yes"})};return"yes"===t.android_app_banner_dismissed?null:Object(i.createElement)(le.a,null,Object(i.createElement)(Ge,{onDismiss:n,onInstall:n}))},scope:"woocommerce-admin"});n(297);const Qe=(e,t,n=null)=>{if(!t)return 0;const r=0===(o=t).indexOf("http")?o:Object(ae.getAdminLink)(o);var o;const{href:i}=e;if(r===i)return Number.MAX_SAFE_INTEGER;const a=(e=>{const t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&"),[n,r,o]=t.split(/\\\?|#/),i=o?`(.*#${o}$)`:"";return"^"+n+(r?r.split("&").reduce((e,t)=>`${e}(?=.*[?|&]${t}(&|$|#))`,""):"")+i})(r),c=new RegExp(n||a,"i");return(decodeURIComponent(i).match(c)||[]).length},Ye=e=>{let t=null,n=0;return e.forEach(e=>{const r=Qe(window.location,e.url,e.matchExpression);r>0&&r>=n&&(n=r,t=e)}),t||null},Ze=["primary","favorites","plugins","secondary"],Ke={woocommerce:{id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}};var Je=n(8),Xe=Object(i.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(Je.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));var et=()=>{const e=Object(ae.getSetting)("siteTitle",""),t=Object(ae.getSetting)("homeUrl",""),n=se(),[r,o]=Object(i.useState)(document.body.classList.contains(!1)),c="is-wc-nav-folded",l="is-wc-nav-expanded",u=()=>{document.body.classList.add(c),document.body.classList.remove(l),o(!0)},d=()=>{document.body.classList.remove(c),document.body.classList.add(l),o(!1)},m=(e=document.body.clientWidth)=>{e<=960?u():d()};Object(i.useEffect)(()=>{m();const e=[{eventName:"orientationchange",handler:e=>m(e.target.screen.availWidth)},{eventName:"resize",handler:Object(M.debounce)(()=>m(),200)}];for(const{eventName:t,handler:n}of e)window.addEventListener(t,n,!1);Object(V.addHistoryListener)(()=>m())},[]);let p=Object(i.createElement)(ye.a,{size:"36px",icon:Xe});const{isRequestingSiteIcon:f,siteIconUrl:h}=Object(s.useSelect)(e=>{const{isResolving:t}=e("core/data"),{getEntityRecord:n}=e("core"),r=n("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:r.siteIconUrl}});h?p=Object(i.createElement)("img",{alt:Object(B.__)("Site Icon"),src:h}):f&&(p=null);const b=oe()("woocommerce-navigation-header",{"is-scrolled":n});return Object(i.createElement)("div",{className:b},Object(i.createElement)(a.Button,{onClick:()=>{document.body.classList.contains(c)?d():u()},className:"woocommerce-navigation-header__site-icon","aria-label":"Fold navigation",role:"switch","aria-checked":r?"true":"false"},p),Object(i.createElement)(a.Button,{title:e,href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(ie.decodeEntities)(e)))},tt=(n(298),Object(i.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Je.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"}))),nt=Object(i.createElement)(Je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Je.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}));n(299);const rt=({id:e})=>{const{favorites:t,isResolving:n}=Object(s.useSelect)(e=>({favorites:e(I.NAVIGATION_STORE_NAME).getFavorites(),isResolving:e(I.NAVIGATION_STORE_NAME).isResolving("getFavorites")})),{addFavorite:r,removeFavorite:o}=Object(s.useDispatch)(I.NAVIGATION_STORE_NAME),c=t.includes(e);return n?null:Object(i.createElement)(a.Button,{id:"woocommerce-navigation-favorite-button",className:"woocommerce-navigation-favorite-button",isTertiary:!0,onClick:()=>{(c?o:r)(e),Object(F.recordEvent)("navigation_favorite",{id:e,action:c?"unfavorite":"favorite"})},"aria-label":c?Object(B.__)("Add this item to your favorites.","woocommerce-admin"):Object(B.__)("Remove this item from your favorites.","woocommerce-admin")},Object(i.createElement)(ye.a,{icon:c?tt:nt,className:`star-${c?"filled":"empty"}-icon`}))};const ot="woocommerce_navigation_favorites_tooltip_hidden",it=()=>{const{isFavoritesResolving:e,isOptionResolving:t,isTooltipHidden:n}=Object(s.useSelect)(e=>{const{getOption:t,isResolving:n}=e(I.OPTIONS_STORE_NAME);return{isFavoritesResolving:e(I.NAVIGATION_STORE_NAME).isResolving("getFavorites"),isOptionResolving:n("getOption",[ot]),isTooltipHidden:"yes"===t(ot)}}),{updateOptions:r}=Object(s.useDispatch)(I.OPTIONS_STORE_NAME);return e||n||t||document.body.classList.contains("is-wc-nav-folded")?null:Object(i.createElement)(Ne,{delay:1e3,title:Object(B.__)("Introducing favorites","woocommerce-admin"),content:Object(B.__)("You can now favorite your extensions to pin them in the top level of the navigation.","woocommerce-admin"),closeButtonText:Object(B.__)("Got it","woocommerce-admin"),id:"woocommerce-navigation-favorite-button",onClose:()=>r({[ot]:"yes"}),useAnchor:!0})};var at=({category:e})=>{const{id:t,menuId:n,title:r}=e,o="woocommerce-navigation-category-title";return["plugins","favorites"].includes(n)?Object(i.createElement)("span",{className:o},Object(i.createElement)("span",{className:o+"__text"},r),Object(i.createElement)(rt,{id:t}),Object(i.createElement)(it,null)):Object(i.createElement)("span",{className:o},r)};var ct=({item:e})=>{var t;const n=Object(ce.useSlot)("woocommerce_navigation_"+e.id),r=Boolean(null==n||null===(t=n.fills)||void 0===t?void 0:t.length),o=e=>{Object(F.recordEvent)("navigation_click",{menu_item:e})};return r&&!e.isCategory?Object(i.createElement)(ce.NavigationItem,{key:e.id,item:e.id},Object(i.createElement)("div",{onClick:()=>o(e.id)},Object(i.createElement)(V.WooNavigationItem.Slot,{name:e.id}))):Object(i.createElement)(ce.NavigationItem,{key:e.id,item:e.id,title:e.title,badge:e.badge?e.badge:null,href:e.url,navigateToMenu:!e.url&&e.id,onClick:()=>o(e.id),hideIfTargetMenuEmpty:!0})};const st=({category:e,onBackClick:t,pluginItems:n,primaryItems:r})=>{if(!r.length&&!n.length)return null;const o=Object(H.applyFilters)("woocommerce_navigation_root_back_label",Object(B.__)("WordPress Dashboard","woocommerce-admin")),a=Object(H.applyFilters)("woocommerce_navigation_root_back_url",window.wcNavigation.rootBackUrl),c="woocommerce"===e.id&&a;return Object(i.createElement)(ce.NavigationMenu,{title:Object(i.createElement)(at,{category:e}),menu:e.id,parentMenu:e.parent,backButtonLabel:c?o:e.backButtonLabel||null,onBackButtonClick:c?()=>{t("woocommerce"),window.location=a}:()=>t(e.id)},!!r.length&&Object(i.createElement)(ce.NavigationGroup,null,r.map(e=>Object(i.createElement)(ct,{key:e.id,item:e}))),!!n.length&&Object(i.createElement)(ce.NavigationGroup,{title:"woocommerce"===e.id?Object(B.__)("Extensions","woocommerce-admin"):null},n.map(e=>Object(i.createElement)(ct,{key:e.id,item:e}))))},lt=({category:e,items:t,onBackClick:n})=>{if(!t.length)return null;const r="woocommerce"===e.id;return Object(i.createElement)(ce.NavigationMenu,{className:"components-navigation__menu-secondary",title:!r&&Object(i.createElement)(at,{category:e}),menu:e.id,parentMenu:e.parent,backButtonLabel:e.backButtonLabel||null,onBackButtonClick:r?null:()=>n(e.id)},Object(i.createElement)(ce.NavigationGroup,{onBackButtonClick:()=>n(e.id)},t.map(e=>Object(i.createElement)(ct,{key:e.id,item:e}))))};var ut=()=>{const{menuItems:e}=Object(s.useSelect)(e=>({menuItems:e(I.NAVIGATION_STORE_NAME).getMenuItems()}));Object(i.useEffect)(()=>{document.documentElement.classList.remove("wp-toolbar"),document.body.classList.add("has-woocommerce-navigation");const e=document.getElementById("adminmenumain");e&&e.classList.add("folded")},[]);const[t,n]=Object(i.useState)("woocommerce-home"),[r,o]=Object(i.useState)("woocommerce");Object(i.useEffect)(()=>{const r=Ye(e);r&&t!==r&&(n(r),o(r.parent));return Object(V.addHistoryListener)(()=>{setTimeout(()=>{const t=Ye(e);t&&(n(t),o(t.parent))},0)})},[e]);const{currentUserCan:a}=Object(I.useUser)(),{categories:c,items:l}=Object(i.useMemo)(()=>((e,t)=>{const n={...Ke};return{items:(e=>e.sort((e,t)=>e.order===t.order?e.title.localeCompare(t.title):e.order-t.order))(e).reduce((e,r)=>{if(e[r.parent]||(e[r.parent]={},Ze.forEach(t=>{e[r.parent][t]=[]})),!e[r.parent][r.menuId])return e;if(t&&r.capability&&!t(r.capability))return e;r.isCategory&&(n[r.id]=r);const o=e[r.parent][r.menuId];return o&&o.push(r),e},{}),categories:n}})(e,a),[e,a]),u=Object(i.useRef)(null),d=e=>{Object(F.recordEvent)("navigation_back_click",{category:e})},m="woocommerce"===r,p=oe()("woocommerce-navigation",{"is-root":m});return Object(i.createElement)("div",{className:p},Object(i.createElement)(et,null),Object(i.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:u},Object(i.createElement)(ce.Navigation,{activeItem:t?t.id:null,activeMenu:r,onActivateMenu:(...e)=>{u&&u.current&&(u.current.scrollTop=0),o(...e)}},Object.values(c).map(e=>{const t=l[e.id];return!!t&&[Object(i.createElement)(st,{key:e.id,category:e,onBackClick:d,primaryItems:[...t.primary,...t.favorites],pluginItems:t.plugins}),Object(i.createElement)(lt,{key:"secondary/"+e.id,category:e,onBackClick:d,items:t.secondary})]}))))};var dt=Object(I.withNavigationHydration)(window.wcNavigation)(ut);Object(D.registerPlugin)("wc-admin-navigation",{render:()=>{const{persistedQuery:e}=Object(s.useSelect)(e=>({persistedQuery:e(I.NAVIGATION_STORE_NAME).getPersistedQuery()}));if(!window.wcAdminFeatures.navigation)return null;if(!Object(U.f)(window.location.href))return Object(i.createElement)(le.b,{order:-100},Object(i.createElement)(dt,null));const t=Object(q.a)().filter(e=>e.navArgs),n=te().filter(e=>e.navArgs).map(e=>"/analytics/settings"===e.path?{...e,breadcrumbs:[Object(B.__)("Analytics","woocommerce-admin")]}:e);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(le.b,{order:-100},Object(i.createElement)(dt,null)),n.map(t=>Object(i.createElement)(V.WooNavigationItem,{item:t.navArgs.id,key:t.navArgs.id},Object(i.createElement)(z.Link,{className:"components-button",href:Object(V.getNewPath)(Object(V.pathIsExcluded)(t.path)?{}:e,t.path,{}),type:"wc-admin"},t.breadcrumbs[t.breadcrumbs.length-1]))),t.map(t=>Object(i.createElement)(V.WooNavigationItem,{item:t.navArgs.id,key:t.navArgs.id},Object(i.createElement)(z.Link,{className:"components-button",href:Object(V.getNewPath)(Object(V.pathIsExcluded)(t.report)?{}:e,"/analytics/"+t.report,{}),type:"wc-admin"},t.title))))},scope:"woocommerce-navigation"});const mt=Object(i.lazy)(()=>Promise.all([n.e(1),n.e(49)]).then(n.bind(null,637))),pt=Object(i.lazy)(()=>n.e(55).then(n.bind(null,527)));class ft extends i.Component{render(){const{children:e}=this.props;return Object(i.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(mt,null)),Object(i.createElement)(me,null),e)}}class ht extends i.Component{componentDidMount(){this.recordPageViewTrack()}componentDidUpdate(e){const t=Object(M.get)(e,"location.pathname"),n=Object(M.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}recordPageViewTrack(){const{activePlugins:e,installedPlugins:t,isEmbedded:n,isJetpackConnected:r}=this.props,o={has_navigation:!!window.wcNavigation};if(n){const e=document.location.pathname+document.location.search;return void Object(F.recordPageView)(e,{is_embedded:!0,...o})}const i=Object(M.get)(this.props,"location.pathname");if(!i)return;let a=i.substring(1).replace(/\//g,"_");0===a.length&&(a="home_screen"),Object(F.recordPageView)(a,{jetpack_installed:t.includes("jetpack"),jetpack_active:e.includes("jetpack"),jetpack_connected:r,...o})}getQuery(e){if(!e)return{};const t=e.substring(1);return Object(L.parse)(t)}isWCPaySettingsPage(){const{page:e,section:t,tab:n}=Object(V.getQuery)();return"wc-settings"===e&&"checkout"===n&&"woocommerce_payments"===t}render(){const{isEmbedded:e,...t}=this.props,{location:n,page:r}=this.props,{breadcrumbs:c}=r,s=this.getQuery(n&&n.search);return Object(i.createElement)(a.SlotFillProvider,null,Object(i.createElement)("div",{className:"woocommerce-layout"},Object(i.createElement)(ue,{sections:Object(M.isFunction)(c)?c(this.props):c,isEmbedded:e,query:s}),Object(i.createElement)(ve,null),!e&&Object(i.createElement)(ft,null,Object(i.createElement)("div",{className:"woocommerce-layout__main"},Object(i.createElement)(ne,o()({},t,{query:s})))),e&&this.isWCPaySettingsPage()&&Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(pt,null))),Object(i.createElement)(D.PluginArea,{scope:"woocommerce-admin"}),window.wcAdminFeatures.navigation&&Object(i.createElement)(D.PluginArea,{scope:"woocommerce-navigation"}),Object(i.createElement)(D.PluginArea,{scope:"woocommerce-tasks"}))}}ht.propTypes={isEmbedded:p.a.bool,page:p.a.shape({container:p.a.oneOfType([p.a.func,p.a.object]),path:p.a.string,breadcrumbs:p.a.oneOfType([p.a.func,p.a.arrayOf(p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.string]))]).isRequired,wpOpenMenu:p.a.string}).isRequired};const bt=Object($.d)("dataEndpoints"),gt=Object(c.compose)(Object(I.withPluginsHydration)({...Object($.d)("plugins",{}),jetpackStatus:bt&&bt.jetpackStatus||!1}),Object(s.withSelect)((e,{isEmbedded:t})=>{if(t)return;const{getActivePlugins:n,getInstalledPlugins:r,isJetpackConnected:o}=e(I.PLUGINS_STORE_NAME);return{activePlugins:n(),isJetpackConnected:o(),installedPlugins:r()}}))(ht),vt=Object(c.compose)(window.wcSettings.admin?Object(I.withOptionsHydration)({...Object($.d)("preloadOptions",{})}):M.identity)(()=>{const{currentUserCan:e}=Object(I.useUser)();return Object(i.createElement)(_,{history:Object(V.getHistory)()},Object(i.createElement)(R,null,te().filter(t=>!t.capability||e(t.capability)).map(e=>Object(i.createElement)(x,{key:e.path,path:e.path,exact:!0,render:t=>Object(i.createElement)(gt,o()({page:e},t))}))))}),yt=Object(c.compose)(Object($.d)("preloadOptions")?Object(I.withOptionsHydration)({...Object($.d)("preloadOptions")}):M.identity)(()=>Object(i.createElement)(gt,{page:{breadcrumbs:Object($.d)("embedBreadcrumbs",[])},isEmbedded:!0}))},122:function(e,t){e.exports=window.wc.number},123:function(e,t){e.exports=window.wc.explat},129:function(e,t){e.exports=window.wp.notices},13:function(e,t){e.exports=window.wp.compose},130:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],u=!1,d=-1;function m(){u&&s&&(u=!1,s.length?l=s.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=c(m);u=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||c(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},131:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case m:case a:case s:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case b:case l:return e;default:return t}}case i:return t}}}function _(e){return j(e)===m}t.AsyncMode=d,t.ConcurrentMode=m,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=i,t.Profiler=s,t.StrictMode=c,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||j(e)===d},t.isConcurrentMode=_,t.isContextConsumer=function(e){return j(e)===u},t.isContextProvider=function(e){return j(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return j(e)===p},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===g},t.isMemo=function(e){return j(e)===b},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===s},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===m||e===s||e===c||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===w||e.$$typeof===O||e.$$typeof===v)},t.typeOf=j},14:function(e,t){e.exports=window.wc.wcSettings},15:function(e,t){e.exports=window.wp.url},16:function(e,t){e.exports=window.wc.tracks},161:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(37)),i=r(n(289)),a=n(5),c=r(a),s=r(n(290)),l=r(n(292)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function m(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.fun(e)?e.apply(void 0,n):e}function h(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,i(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var i;return u.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var b,g,v=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}return s(t,e),t}(v),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}s(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof v)&&(t[n]=r instanceof v?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(v);function O(e,t){b={fn:e,transform:t}}function j(e){g=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},k=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function S(e){_=e}var x,C=function(){return Date.now()};function T(e){x=e}var A,P,N=function(e){return e.current};function R(e){A=e}var M=Object.freeze({get applyAnimatedValues(){return b},injectApplyAnimatedValues:O,get colorNames(){return g},injectColorNames:j,get requestFrame(){return E},get cancelFrame(){return k},injectFrame:function(e,t){E=e,k=t},get interpolation(){return _},injectStringInterpolator:S,get now(){return C},injectNow:function(e){C=e},get defaultElement(){return x},injectDefaultElement:T,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:R,get manualFrameloop(){return P},injectManualFrameloop:function(e){P=e}}),L=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:A(t.style)}):t,r.update=n,r.attach(),r}return s(t,e),t}(w),V=!1,I=new Set,F=function e(){if(!V)return!1;var t=C(),n=I,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var a=i,c=!1,s=0;s<a.configs.length;s++){for(var l=a.configs[s],u=void 0,d=void 0,m=0;m<l.animatedValues.length;m++){var p=l.animatedValues[m];if(!p.done){var f=l.fromValues[m],h=l.toValues[m],b=p.lastPosition,g=h instanceof v,y=Array.isArray(l.initialVelocity)?l.initialVelocity[m]:l.initialVelocity;if(g&&(h=h.getValue()),l.immediate)p.setValue(h),p.done=!0;else if("string"!=typeof f&&"string"!=typeof h){if(void 0!==l.duration)b=f+l.easing((t-p.startTime)/l.duration)*(h-f),u=t>=p.startTime+l.duration;else if(l.decay)b=f+y/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-b)<.1)&&(h=b);else{d=void 0!==p.lastTime?p.lastTime:t,y=void 0!==p.lastVelocity?p.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var w=Math.floor(t-d),O=0;O<w;++O){b+=1*(y+=1*((-l.tension*(b-h)+-l.friction*y)/l.mass)/1e3)/1e3}var j=!(!l.clamp||0===l.tension)&&(f<h?b>h:b<h),_=Math.abs(y)<=l.precision,k=0===l.tension||Math.abs(h-b)<=l.precision;u=j||_&&k,p.lastVelocity=y,p.lastTime=t}g&&!l.toValues[m].done&&(u=!1),u?(p.value!==h&&(b=h),p.done=!0):c=!0,p.setValue(b),p.lastPosition=b}else p.setValue(h),p.done=!0}}a.props.onFrame&&(a.values[l.name]=l.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),c||(I.delete(a),a.stop(!0))}return I.size?P?P():E(e):V=!1,V};function D(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,s){var l=s?s(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===c)return l;"clamp"===c&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,i[t],i[t+1],o[t],o[t+1],s,a,c,r.map)}}var H=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof y&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],a.calc=D(r,o,i),a}s(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=D(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(y);var B=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}s(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new H(this,e,t,n)},t}(v),z=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new B(e)})),n}s(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new H(this,e,t)},t}(y),q=0,U=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=q++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,a=t.to,c=i(t,["delay","to"]);if(u.arr(a)||u.fun(a))this.queue.push(o({},c,{delay:r,to:a}));else if(a){var s={};Object.entries(a).forEach((function(e){var t,n=e[0],i=e[1],a=o({to:(t={},t[n]=i,t),delay:f(r,n)},c),l=s[a.delay]&&s[a.delay].to;s[a.delay]=o({},s[a.delay],a,{to:o({},l,a.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,a=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(a)&&(n.merged=o({},n.merged,a))}));var r=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var c=t.delay,s=i(t,["delay"]),l=function(t){o===a.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(s.to)||u.fun(s.to);c?setTimeout((function(){r===n.guid&&(d?n.runAsync(s,l):n.diff(s).start(l))}),c):d?n.runAsync(s,l):n.diff(s).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,I.has(t)||I.add(t),V||(V=!0,E(P||F));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,I.has(t)&&I.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),a=this.local,c=Promise.resolve(void 0);if(u.arr(r.to))for(var s=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),c=c.then((function(){if(a===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},l=0;l<r.to.length;l++)s(l);else if(u.fun(r.to)){var d,m=0;c=c.then((function(){return r.to((function(e){var t=o({},r,h(e));if(u.arr(t.config)&&(t.config=t.config[m]),m++,a===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}c.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,a=n.to,c=void 0===a?{}:a,s=n.config,l=void 0===s?{}:s,d=n.reverse,h=n.attach,b=n.reset,v=n.immediate;if(d){var y=[c,i];i=y[0],c=y[1]}this.merged=o({},i,this.merged,c),this.hasChanged=!1;var w=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],a=n[1],c=e[r]||{},s=u.num(a),d=u.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!g[a],h=u.arr(a),y=!s&&!h&&!d,O=u.und(i[r])?a:i[r],j=s||h||d?a:1,E=f(l,r);w&&(j=w.animations[r].parent);var k,S=c.parent,x=c.interpolation,T=p(w?j.getPayload():j),A=a;y&&(A=_({range:[0,1],output:[a,a]})(1));var P,N=x&&x.getValue(),R=!u.und(S)&&c.animatedValues.some((function(e){return!e.done})),M=!u.equ(A,N),L=!u.equ(A,c.previous),V=!u.equ(E,c.config);if(b||L&&M||V){var I;if(s||d)S=x=c.parent||new B(O);else if(h)S=x=c.parent||new z(O);else if(y){var F=c.interpolation&&c.interpolation.calc(c.parent.value);F=void 0===F||b?O:F,c.parent?(S=c.parent).setValue(0,!1):S=new B(0);var D={output:[F,a]};c.interpolation?(x=c.interpolation,c.interpolation.updateConfig(D)):x=S.interpolate(D)}return T=p(w?j.getPayload():j),k=p(S.getPayload()),b&&!y&&S.setValue(O,!1),t.hasChanged=!0,k.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=R?e.lastVelocity:void 0,e.lastTime=R?e.lastTime:void 0,e.startTime=C(),e.done=!1,e.animatedStyles.clear()})),f(v,r)&&S.setValue(y?j:a,!1),o({},e,((I={})[r]=o({},c,{name:r,parent:S,interpolation:x,animatedValues:k,toValues:T,previous:A,config:E,fromValues:p(S.getValue()),immediate:f(v,r),initialVelocity:m(E.velocity,0),clamp:m(E.clamp,!1),precision:m(E.precision,.01),tension:m(E.tension,170),friction:m(E.friction,26),mass:m(E.mass,1),duration:E.duration,easing:m(E.easing,(function(e){return e})),decay:E.decay}),I))}return M?e:(y&&(S.setValue(1,!1),x.updateConfig({output:[A,A]})),S.done=!0,t.hasChanged=!0,o({},e,((P={})[r]=o({},e[r],{previous:A}),P)))}),this.animations),this.hasChanged)for(var O in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[O]=this.animations[O].interpolation,this.values[O]=this.animations[O].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),$=function(e,t){var n=a.useRef(!1),r=a.useRef(),o=u.fun(t),i=a.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new U,a=o?f(t,r,i):t[r];return 0===r&&(n=a.ref),i.update(a),n||i.start(),i})),n]}),[e]),c=i[0],s=i[1];r.current=c;a.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var l=a.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?f(e,n,t):e[n]),s||t.start()}))}}),[e]);a.useEffect((function(){n.current?o||l(t):s||r.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,l,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},W=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,a=i(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,r)},a)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";a=r[i++]}else{if((i=r.next()).done)return"break";a=i.value}var n=a.key,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=b.transform(t)),n.payload=t,n}return s(t,e),t}(w),K={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},J="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(J,J,J)),te=new RegExp("rgba"+X(J,J,J,J)),ne=new RegExp("hsl"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,ce=/^#([0-9a-fA-F]{8})$/;function se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function le(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=se(o,r,e+1/3),a=se(o,r,e),c=se(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function fe(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:K.hasOwnProperty(t)?K[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|me(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ce.exec(t))?parseInt(n[1],16)>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|le(de(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=re.exec(t))?(le(de(n[1]),pe(n[2]),pe(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var he=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,be=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ge=new RegExp("("+Object.keys(K).join("|")+")","g"),ve={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","Ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ve.hasOwnProperty(e)&&ve[e]?(""+t).trim():t+"px"}ve=Object.keys(ve).reduce((function(e,t){return ye.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ve);var Oe={};R((function(e){return new Z(e)})),T("div"),S((function(e){var t=e.output.map((function(e){return e.replace(be,fe)})).map((function(e){return e.replace(ge,fe)})),n=t[0].match(he).map((function(){return[]}));t.forEach((function(e){e.match(he).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(he).map((function(t,r){return D(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(he,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),j(K),O((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,a=t.scrollLeft,c=i(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=we(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var m in c){var p=s?m:Oe[m]||(Oe[m]=m.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,c[m])}}),(function(e){return e}));var je,_e,Ee=(je=function(e){return a.forwardRef((function(t,n){var r=d(),s=a.useRef(!0),l=a.useRef(null),m=a.useRef(null),p=a.useCallback((function(e){var t=l.current;l.current=new L(e,(function(){var e=!1;m.current&&(e=b.fn(m.current,l.current.getAnimatedValue())),m.current&&!1!==e||r()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){s.current=!1,l.current&&l.current.detach()}}),[]),a.useImperativeHandle(n,(function(){return N(m,s,r)})),p(t);var f,h=l.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(f=e,!u.fun(f)||f.prototype instanceof c.Component?function(e){return m.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return c.createElement(e,o({},g,{ref:v}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),ke=Ee(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ee,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=F,t.animated=ke,t.a=ke,t.interpolate=function(e,t,n){return e&&new H(e,t,n)},t.Globals=M,t.useSpring=function(e){var t=u.fun(e),n=$(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=a.useRef(!1),r=u.fun(t),i=f(t),c=a.useRef(),s=$(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},i,{config:f(i.config,e),attach:e>0&&function(){return c.current[e-1]}})})),l=s[0],d=s[1],m=s[2],p=a.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,a=c.current[r];return o({},e,{config:f(e.config||i.config,t),attach:a&&function(){return a}})}))}}),[e,i.reverse]);return a.useEffect((function(){n.current&&!r&&p(t)})),a.useEffect((function(){n.current=!0}),[]),r?[l,p,m]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=Q(r),s=c.lazy,l=void 0!==s&&s,u=(c.unique,c.reset),m=void 0!==u&&u,p=(c.enter,c.leave,c.update,c.onDestroyed),h=(c.keys,c.items,c.onFrame),b=c.onRest,g=c.onStart,v=c.ref,y=i(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),w=d(),O=a.useRef(!1),j=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!O.current&&new Map,forceUpdate:w});return a.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(j.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(j.current.instances).map((function(e){return e[1]}))}}})),j.current=function(e,t){var n=e.first,r=e.prevProps,a=i(e,["first","prevProps"]),c=Q(t),s=c.items,l=c.keys,u=c.initial,d=c.from,m=c.enter,p=c.leave,h=c.update,b=c.trail,g=void 0===b?0:b,v=c.unique,y=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=Q(r),_=j.keys,E=j.items,k=o({},a.current),S=[].concat(a.deleted),x=Object.keys(k),C=new Set(x),T=new Set(l),A=l.filter((function(e){return!C.has(e)})),P=a.transitions.filter((function(e){return!e.destroyed&&!T.has(e.originalKey)})).map((function(e){return e.originalKey})),N=l.filter((function(e){return C.has(e)})),R=-g;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){v&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=s[r],i=n&&void 0!==u?"initial":"enter";k[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:R+=g,config:f(y,o,i),from:f(n&&void 0!==u?u||{}:d,o),to:f(m,o)}}));break;case"leave":P.forEach((function(e){var t=_.indexOf(e),n=E[t];S.unshift(o({},k[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:R+=g,config:f(y,n,"leave"),to:f(p,n)})),delete k[e]}));break;case"update":N.forEach((function(e){var t=l.indexOf(e),n=s[t];k[e]=o({},k[e],{item:n,slot:"update",trail:R+=g,config:f(y,n,"update"),to:f(h,n)})}))}}var M=l.map((function(e){return k[e]}));return S.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=M.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),M=[].concat(M.slice(0,t),[r],M.slice(t))})),o({},a,{changed:A.length||P.length||N.length,first:n&&0===A.length,transitions:M,current:k,deleted:S,prevProps:t})}(j.current,r),j.current.changed&&j.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,a=e.trail,c=e.key,s=e.item;j.current.instances.has(c)||j.current.instances.set(c,new U);var u=j.current.instances.get(c),d=o({},y,{to:r,from:n,config:i,ref:v,onRest:function(n){j.current.mounted&&(e.destroyed&&(v||l||Y(j,c),p&&p(s)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(v||l)&&j.current.deleted.length>0&&Y(j),b&&b(s,t,n))},onStart:g&&function(){return g(s,t)},onFrame:h&&function(e){return h(s,t,e)},delay:a,reset:m&&"enter"===t});u.update(d),j.current.paused||u.start()})),a.useEffect((function(){return j.current.mounted=O.current=!0,function(){j.current.mounted=O.current=!1,Array.from(j.current.instances).map((function(e){return e[1].destroy()})),j.current.instances.clear()}}),[]),j.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=a.useRef();a.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var a=i.controllers;if(a.length){var c=n*t[r];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$},162:function(e,t,n){"use strict";(function(e){var r=n(5),o=n.n(r),i=n(26),a=n(1),c=n.n(a),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var u=o.a.createContext||function(e,t){var n,o,a,u="__create-react-context-"+((s[a="__global_unique_id__"]=(s[a]||0)+1)+"__"),d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[u]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[u]=c.a.object.isRequired,n);var m=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},r.getValue=function(){return this.context[u]?this.context[u].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return m.contextTypes=((o={})[u]=c.a.object,o),{Provider:d,Consumer:m}};t.a=u}).call(this,n(81))},163:function(e,t,n){var r=n(300);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=m;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,c="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],m=n[1],p=n.index;if(c+=e.slice(a,p),a=p+d.length,m)c+=m[1];else{var f=e[a],h=n[2],b=n[3],g=n[4],v=n[5],y=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=f&&f!==h,j="+"===y||"*"===y,_="?"===y||"*"===y,E=n[2]||u,k=g||v;r.push({name:b||i++,prefix:h||"",delimiter:E,optional:_,repeat:j,partial:O,asterisk:!!w,pattern:k?l(k):w?".*":"[^"+s(E)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&r.push(c),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",c=t||{},s=(o||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var d,m=c[u.name];if(null==m){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(m)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(m)+"`");if(0===m.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<m.length;p++){if(d=s(m[p]),!n[l].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(m).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(m),!n[l].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function m(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<e.length;c++){var l=e[c];if("string"==typeof l)a+=s(l);else{var m=s(l.prefix),p="(?:"+l.pattern+")";t.push(l),l.repeat&&(p+="(?:"+m+p+")*"),a+=p=l.optional?l.partial?m+"("+p+")?":"(?:"+m+"("+p+"))?":m+"("+p+")"}}var f=s(n.delimiter||"/"),h=a.slice(-f.length)===f;return o||(a=(h?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=i?"$":o&&h?"":"(?="+f+"|$)",u(new RegExp("^"+a,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return m(i(e,n),t,n)}(e,t,n)}},17:function(e,t){e.exports=window.wc.experimental},171:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var r=n(0),o=n(3),i=n(7),a=n(2),c=n(11),s=n(16);const l=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"24",height:"24",viewBox:"3 3 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{d:"M13.8053 15.3982C13.8053 15.7965 13.4867 16.1947 13.0089 16.1947H6.79646C6.55752 16.1947 6.39823 16.115 6.23894 15.9558C6.07965 15.7965 6 15.6372 6 15.3982V6.79646C6 6.63717 6.15929 6.39823 6.23894 6.23894C6.39823 6.07965 6.55752 6 6.79646 6H13.0089C13.4071 6 13.8053 6.31858 13.8053 6.79646V15.3982Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M23.9203 10.6195C23.9203 11.0177 23.6017 11.4159 23.1238 11.4159H16.9115C16.6725 11.4159 16.5132 11.3363 16.3539 11.177C16.1946 11.0177 16.115 10.8584 16.115 10.6195V6.79646C16.115 6.39823 16.4336 6 16.9115 6H23.1238C23.5221 6 23.9203 6.31858 23.9203 6.79646V10.6195Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M13.8053 23.2035C13.8053 23.4424 13.7257 23.6017 13.5664 23.761C13.4071 23.9203 13.2478 23.9999 13.0089 23.9999H6.79646C6.39823 23.9999 6 23.6813 6 23.2035V19.3804C6 19.1415 6.07965 18.9822 6.23894 18.8229C6.39823 18.6636 6.55752 18.584 6.79646 18.584H13.0089C13.4071 18.584 13.8053 18.9026 13.8053 19.3804V23.2035Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(r.createElement)("path",{d:"M16.9912 23.9999C16.7522 23.9999 16.5929 23.9202 16.4336 23.7609C16.2743 23.6016 16.1947 23.4423 16.1947 23.2034V14.6016C16.1947 14.3627 16.2743 14.2034 16.4336 14.0441C16.5929 13.8848 16.7522 13.8052 16.9912 13.8052H23.2036C23.4425 13.8052 23.6018 13.8848 23.7611 14.0441C23.9204 14.2034 24 14.3627 24 14.6016V23.2034C24 23.6016 23.6814 23.9999 23.2036 23.9999H16.9912Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Object(a.__)("Display","woocommerce-admin")),{Fill:u,Slot:d}=Object(o.createSlotFill)("DisplayOptions");u.Slot=d;const m=[{value:"single_column",label:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(()=>Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("rect",{x:"0.5",y:"0.5",width:"11",height:"13",strokeWidth:"1"})),null),Object(a.__)("Single column","woocommerce-admin"))},{value:"two_columns",label:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(()=>Object(r.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(r.createElement)("rect",{x:"9.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"})),null),Object(a.__)("Two columns","woocommerce-admin"))}],p=()=>{const{defaultHomescreenLayout:e,taskListComplete:t,isTaskListHidden:n}=Object(i.useSelect)(e=>{const{getOption:t}=e(c.OPTIONS_STORE_NAME),{getTaskList:n}=e(c.ONBOARDING_STORE_NAME),r=n("setup");return{defaultHomescreenLayout:t("woocommerce_default_homepage_layout")||"single_column",taskListComplete:null==r?void 0:r.isComplete,isTaskListHidden:null==r?void 0:r.isHidden}}),{updateUserPreferences:u,homepage_layout:p}=Object(c.useUserPreferences)(),f=t||n||window.wcAdminFeatures.analytics;return Object(r.createElement)(d,null,t=>0!==t.length||f?Object(r.createElement)(o.DropdownMenu,{icon:Object(r.createElement)(l,null),label:Object(a.__)("Display options","woocommerce-admin"),toggleProps:{className:"woocommerce-layout__activity-panel-tab display-options",onClick:()=>Object(s.recordEvent)("homescreen_display_click")},popoverProps:{className:"woocommerce-layout__activity-panel-popover"}},({onClose:n})=>Object(r.createElement)(r.Fragment,null,t,f?Object(r.createElement)(o.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(a.__)("Layout","woocommerce-admin")},Object(r.createElement)(o.MenuItemsChoice,{choices:m,onSelect:e=>{u({homepage_layout:e}),n(),Object(s.recordEvent)("homescreen_display_option",{display_option:e})},value:p||e})):null)):null)}},176:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=n(2),i=n(3),a=n(17);const c=()=>Object(r.createElement)("div",{className:"woocommerce-layout__no-match"},Object(r.createElement)(i.Card,null,Object(r.createElement)(i.CardBody,null,Object(r.createElement)(a.Text,null,Object(o.__)("Sorry, you are not allowed to access this page.","woocommerce-admin")))))},177:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c}));var r=n(4);function o(e,t){return Object(r.filter)(e,e=>{const{is_deleted:n,date_created_gmt:r,status:o}=e;if(!n){return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===o}}).length}function i(e){return Object(r.filter)(e,e=>{const{is_deleted:t}=e;return!t}).length>0}const a=(e,t)=>{const n=document.createElement("div"),o=Array.from(e.childNodes);for(let e=0;e<o.length;e++){let i=o[e].cloneNode(!0);if(!(n.textContent.length+i.textContent.length<=t)){const e=t-n.textContent.length;i.innerHTML&&i.textContent.slice(0,e)!==i.innerHTML.slice(0,e)?i=a(i,e):i.textContent=Object(r.truncate)(i.textContent,{length:e,separator:" ",omission:""}),n.appendChild(i);break}n.appendChild(i)}return n},c=(e,t)=>{const n=document.createElement("div");return n.innerHTML=e,n.textContent.length>t?a(n,t).innerHTML+"...":e}},18:function(e,t){e.exports=window.wp.apiFetch},19:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=c(n(5)),i=c(n(72)),a=c(n(75));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,a,c,u,d,m,p,f,h=[],b={};for(m=0;m<e.length;m++)if("string"!==(d=e[m]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+s);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],c=m;break}h.push(t[d.value])}else h.push(d.value);return n&&(u=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(c,e),p=l(e.slice(c+1,u),t),a=o.default.cloneElement(n,{},p),h.push(a),u<e.length-1&&(f=l(e.slice(u+1),t),h=h.concat(f))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return l(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},2:function(e,t){e.exports=window.wp.i18n},20:function(e,t){e.exports=window.wc.date},21:function(e,t){e.exports=window.wc.components},22:function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return m}));var r=n(2),o=n(14);const i=["wcAdminSettings","preloadSettings"],a=Object(o.getSetting)("admin",{}),c=Object.keys(a).reduce((e,t)=>(i.includes(t)||(e[t]=a[t]),e),{});function s(e,t=!1,n=(e=>e)){if(i.includes(e))throw new Error(Object(r.__)("Mutable settings should be accessed via data store."));return n(c.hasOwnProperty(e)?c[e]:t,t)}Object(o.getSetting)("adminUrl"),Object(o.getSetting)("countries");const l=Object(o.getSetting)("currency"),u=Object(o.getSetting)("locale"),d=(Object(o.getSetting)("siteTitle"),Object(o.getSetting)("wcAssetUrl"),s("orderStatuses"));function m(e,t,n=(e=>e)){if(i.includes(e))throw new Error(Object(r.__)("Mutable settings should be mutated via data store."));c[e]=n(t)}},23:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},24:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},257:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return w}));var r=n(0),o=n(2),i=n(17),a=n(16),c=n(21),s=n(7),l=n(11),u=n(502),d=n(8),m=Object(r.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(d.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})),p=n(503),f=n(3),h=n(71),b=n(105),g=n(65);const v=()=>Object(r.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("path",{d:"M0 0h24v24H0z",fill:"none"}),Object(r.createElement)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"})),y="AbbreviatedNotification",w=({thingsToDoNextCount:e})=>{const{ordersToProcessCount:t,reviewsToModerateCount:n,stockNoticesCount:d,isSetupTaskListHidden:w,isExtendedTaskListHidden:O}=Object(s.useSelect)(e=>{var t,n;const{getTaskList:r}=e(l.ONBOARDING_STORE_NAME),o=Object(h.c)(e);return{ordersToProcessCount:Object(h.d)(e,o),reviewsToModerateCount:Object(b.b)(e),stockNoticesCount:Object(h.a)(e),isSetupTaskListHidden:null===(t=r("setup"))||void 0===t?void 0:t.isHidden,isExtendedTaskListHidden:null===(n=r("extended"))||void 0===n?void 0:n.isHidden}}),j=e=>{Object(a.recordEvent)("activity_panel_click",{task:e})},{Slot:_}=Object(f.createSlotFill)(y),E=Object(g.f)(window.location.href);return Object(r.createElement)("div",{className:"woocommerce-abbreviated-notifications"},e>0&&!O&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:Object(r.createElement)(v,null),href:"admin.php?page=wc-admin#extended_task_list",onClick:()=>j("thingsToDoNext"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Things to do next","woocommerce-admin")),Object(r.createElement)(i.Text,{as:"p"},Object(o.sprintf)(Object(o._n)("You have %d new thing to do","You have %d new things to do",e,"woocommerce-admin"),e))),t>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:u.a,href:"admin.php?page=wc-admin&opened_panel=orders-panel",onClick:()=>j("ordersToProcess"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Orders to fulfill","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.sprintf)(Object(o._n)("You have %d order to fulfill","You have %d orders to fulfill",t,"woocommerce-admin"),t))),n>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:m,href:"admin.php?page=wc-admin&opened_panel=reviews-panel",onClick:()=>j("reviewsToModerate"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Reviews to moderate","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.sprintf)(Object(o._n)("You have %d review to moderate","You have %d reviews to moderate",n,"woocommerce-admin"),n))),d>0&&w&&Object(r.createElement)(c.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:p.a,href:"admin.php?page=wc-admin&opened_panel=stock-panel",onClick:()=>j("stockNotices"),type:E?"wc-admin":"wp-admin"},Object(r.createElement)(i.Text,{as:"h3"},Object(o.__)("Inventory to review","woocommerce-admin")),Object(r.createElement)(i.Text,null,Object(o.__)("You have inventory to review and update","woocommerce-admin"))),!O&&Object(r.createElement)(_,null))}},258:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return y}));var r=n(0),o=n(2),i=n(28),a=n(19),c=n.n(a),s=n(29),l=n(21),u=n(11),d=n(20);var m=({value:e,onChange:t})=>{const{wcAdminSettings:n}=Object(u.useSettings)("wc_admin",["wcAdminSettings"]),{woocommerce_default_date_range:o}=n,i=Object(s.parse)(e.replace(/&amp;/g,"&")),{period:a,compare:c,before:m,after:p}=Object(d.getDateParamsFromQuery)(i,o),{primary:f,secondary:h}=Object(d.getCurrentDates)(i,o),b={period:a,compare:c,before:m,after:p,primaryDate:f,secondaryDate:h};return Object(r.createElement)(l.DateRangeFilterPicker,{query:i,onRangeSelect:e=>{t({target:{name:"woocommerce_default_date_range",value:Object(s.stringify)(e)}})},dateQuery:b,isoDateFormat:d.isoDateFormat})},p=n(22);const f=["processing","on-hold"],h=["completed","processing","refunded","cancelled","failed","pending","on-hold"],b=Object.keys(p.c).filter(e=>"refunded"!==e).map(e=>({value:e,label:p.c[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),p.c[e])})),g=Object(p.d)("unregisteredOrderStatuses",{}),v=[{key:"defaultStatuses",options:b.filter(e=>h.includes(e.value))},{key:"customStatuses",label:Object(o.__)("Custom Statuses","woocommerce-admin"),options:b.filter(e=>!h.includes(e.value))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(g).map(e=>({value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),e)}))}],y=Object(i.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:v,helpText:c()({mixedString:Object(o.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(r.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:v,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin. These orders will show up in the Home Screen - Orders task.","woocommerce-admin"),defaultValue:f},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default date range:","woocommerce-admin"),inputType:"component",component:m,helpText:Object(o.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},259:function(e,t,n){"use strict";(function(e){var r=n(0),o=n(4),i=n(6),a=n.n(i),c=n(260),s=n(2),l=(n(261),n(3));t.a=Object(r.forwardRef)((function({className:t,children:n,spokenMessage:i=n,politeness:u="polite",actions:d=[],onRemove:m=o.noop,icon:p=null,explicitDismiss:f=!1,onDismiss:h=null,__unstableHTML:b=!1},g){function v(e){e&&e.preventDefault&&e.preventDefault(),h(),m()}h=h||o.noop,function(e,t){const n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)(()=>{n&&Object(c.speak)(n,t)},[n,t])}(i,u),Object(r.useEffect)(()=>{const e=setTimeout(()=>{f||(h(),m())},1e4);return()=>clearTimeout(e)},[f,h,m]);const y=a()(t,"components-snackbar",{"components-snackbar-explicit-dismiss":!!f});d&&d.length>1&&(void 0!==e&&e.env,d=[d[0]]);const w=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!p});return!0===b&&(n=Object(r.createElement)(r.RawHTML,null,n)),Object(r.createElement)("div",{ref:g,className:y,onClick:f?o.noop:v,tabIndex:"0",role:f?"":"button",onKeyPress:f?o.noop:v,"aria-label":f?"":Object(s.__)("Dismiss this notice")},Object(r.createElement)("div",{className:w},p&&Object(r.createElement)("div",{className:"components-snackbar__icon"},p),n,d.map(({label:e,onClick:t,url:n},o)=>Object(r.createElement)(l.Button,{key:o,href:n,isTertiary:!0,onClick:e=>function(e,t){e.stopPropagation(),m(),t&&t(e)}(e,t),className:"components-snackbar__action"},e)),f&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:v,onKeyPress:v},"✕")))}))}).call(this,n(130))},26:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},260:function(e,t){e.exports=window.wp.a11y},261:function(e,t){e.exports=window.wp.warning},262:function(e,t){e.exports=window.wc.customerEffortScore},273:function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r={};n.r(r),n.d(r,"setCesSurveyQueue",(function(){return O})),n.d(r,"addCesSurvey",(function(){return j})),n.d(r,"addCesSurveyForAnalytics",(function(){return _})),n.d(r,"addCesSurveyForCustomerSearch",(function(){return E}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return k}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return S}));var a=n(0),c=n(1),s=n.n(c),l=n(16),u=n(262),d=n.n(u),m=n(13),p=n(7),f=n(11),h=n(2);function b({action:e,trackProps:t,label:n,onSubmitLabel:r=Object(h.__)("Thank you for your feedback!","woocommerce-admin"),cesShownForActions:o,allowTracking:i,resolving:c,storeAgeInWeeks:s,updateOptions:u,createNotice:m}){const[p,f]=Object(a.useState)(!1);if(c)return null;if(!i)return null;if(-1!==o.indexOf(e)&&!p)return null;const b=()=>{u({woocommerce_ces_shown_for_actions:[e,...o]})};return Object(a.createElement)(d.a,{recordScoreCallback:(n,o)=>{Object(l.recordEvent)("ces_feedback",{action:e,score:n,comments:o||"",store_age:s,...t}),m("success",r)},label:n,onNoticeShownCallback:()=>{Object(l.recordEvent)("ces_snackbar_view",{action:e,store_age:s,...t})},onNoticeDismissedCallback:()=>{Object(l.recordEvent)("ces_snackbar_dismiss",{action:e,store_age:s,...t}),b()},onModalShownCallback:()=>{f(!0),Object(l.recordEvent)("ces_view",{action:e,store_age:s,...t}),b()},icon:Object(a.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(h.__)("Pencil icon","woocommerce-admin")},"✏️")})}b.propTypes={action:s.a.string.isRequired,trackProps:s.a.object,label:s.a.string.isRequired,onSubmitLabel:s.a.string,cesShownForActions:s.a.arrayOf(s.a.string).isRequired,allowTracking:s.a.bool,resolving:s.a.bool.isRequired,storeAgeInWeeks:s.a.number,updateOptions:s.a.func,createNotice:s.a.func};var g=Object(m.compose)(Object(p.withSelect)(e=>{const{getOption:t,isResolving:n}=e(f.OPTIONS_STORE_NAME),r=t("woocommerce_ces_shown_for_actions")||[],o=function(e){if(0===e)return null;const t=Date.now()-1e3*e;return Math.round(t/f.WEEK)}(t("woocommerce_admin_install_timestamp")||0);return{cesShownForActions:r,allowTracking:"yes"===(t("woocommerce_allow_tracking")||"no"),storeAgeInWeeks:o,resolving:n("getOption",["woocommerce_ces_shown_for_actions"])||null===o||n("getOption",["woocommerce_admin_install_timestamp"])||n("getOption",["woocommerce_allow_tracking"])}}),Object(p.withDispatch)(e=>{const{updateOptions:t}=e(f.OPTIONS_STORE_NAME),{createNotice:n}=e("core/notices");return{updateOptions:t,createNotice:n}}))(b),v=n(58),y=n(10);var w={SET_CES_SURVEY_QUEUE:"SET_CES_SURVEY_QUEUE",ADD_CES_SURVEY:"ADD_CES_SURVEY"};function O(e){return{type:w.SET_CES_SURVEY_QUEUE,queue:e}}function j(e,t,n=window.pagenow,r=window.adminpage,o,i={}){return{type:w.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o,props:i}}function _(){return j("analytics_filtered",Object(h.__)("How easy was it to filter your store analytics?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin")}function E(){return j("ces_search",Object(h.__)("How easy was it to use search?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin",void 0,{search_area:"customer"})}function*k(){const e=yield Object(y.apiFetch)({path:`${v.a}/options?options=${v.b}`});if(!e)throw new Error;yield O(e[v.b]||[])}function S(e){return e.queue}const x={queue:[]};var C=(e=x,t)=>{switch(t.type){case w.SET_CES_SURVEY_QUEUE:return{...e,queue:t.queue};case w.ADD_CES_SURVEY:if(e.queue.filter(e=>e.action===t.action).length)return e;const n={action:t.action,label:t.label,pagenow:t.pageNow,adminpage:t.adminPage,onSubmitLabel:t.onSubmitLabel,props:t.props};return{...e,queue:[...e.queue,n]};default:return e}};Object(p.registerStore)(v.c,{actions:r,selectors:i,resolvers:o,controls:y.controls,reducer:C});function T({queue:e,resolving:t,clearQueue:n}){if(t)return null;const r=e.filter(e=>e.pagenow===window.pagenow&&e.adminpage===window.adminpage);return r.length&&n(),Object(a.createElement)(a.Fragment,null,r.map((e,t)=>Object(a.createElement)(g,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})))}T.propTypes={queue:s.a.arrayOf(s.a.object),resolving:s.a.bool,clearQueue:s.a.func};var A=Object(m.compose)(Object(p.withSelect)(e=>{const{getCesSurveyQueue:t,isResolving:n}=e(v.c);return{queue:t(),resolving:n("getOption",[v.b])}}),Object(p.withDispatch)(e=>{const{updateOptions:t}=e(f.OPTIONS_STORE_NAME);return{clearQueue:()=>{t({woocommerce_clear_ces_tracks_queue_for_page:{pagenow:window.pagenow,adminpage:window.adminpage}})}}}))(T)},274:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(37),o=n.n(r),i=n(0),a=n(28),c=n(29),s=n(7),l=n(11);var u=({children:e})=>{const{currentUserCan:t}=Object(l.useUser)(),n=Object(s.useSelect)(e=>{const{getOption:t,hasFinishedResolution:n}=e(l.OPTIONS_STORE_NAME),r=n("getOption",["woocommerce_show_marketplace_suggestions"]),o="no"!==t("woocommerce_show_marketplace_suggestions");return r&&o});return t("install_plugins")&&n?Object(i.createElement)(i.Fragment,null,e):null};const d=Object(i.lazy)(()=>n.e(45).then(n.bind(null,626))),m=Object(i.lazy)(()=>n.e(48).then(n.bind(null,635)));n(301);const p=[({page:e,tab:t,section:n})=>"wc-settings"!==e||"checkout"!==t||n?null:Object(i.createElement)(u,null,Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(d,null))),({page:e,tab:t,section:n,zone_id:r})=>"wc-settings"!==e||"shipping"!==t||Boolean(n)||Boolean(r)?null:Object(i.createElement)(u,null,Object(i.createElement)(i.Suspense,{fallback:null},Object(i.createElement)(m,null)))],f=()=>{const e=Object(c.parse)(location.search.substring(1));let t={page:"",tab:""};void 0!==e.page&&(t=e);const n=Object(a.applyFilters)("woocommerce_admin_embedded_layout_components",p,t);return Object(i.createElement)("div",{className:"woocommerce-embedded-layout__primary",id:"woocommerce-embedded-layout__primary"},n.map((e,n)=>Object(i.createElement)(e,o()({key:n},t))))}},28:function(e,t){e.exports=window.wp.hooks},283:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(129),n(11)),o=(n(285),n(22)),i=n(121),a=n(273),c=n(274);n.p=e.wcAdminAssets.path;const s=document.getElementById("root"),l=document.getElementById("woocommerce-embedded-root"),u=Object(o.d)("currentUserData");if(s){let e=Object(r.withSettingsHydration)("wc_admin",window.wcSettings.admin)(i.b);const n=!!window.wcSettings.admin&&window.wcSettings.admin.preloadSettings;n&&n.general&&(e=Object(r.withSettingsHydration)("general",{general:n.general})(e)),u&&(e=Object(r.withCurrentUserHydration)(u)(e)),Object(t.render)(Object(t.createElement)(e,null),s)}else if(l){let e=Object(r.withSettingsHydration)("wc_admin",window.wcSettings.admin)(i.a);u&&(e=Object(r.withCurrentUserHydration)(u)(e)),Object(t.render)(Object(t.createElement)(e,null),l),l.classList.remove("is-embed-loading");const n=document.getElementById("wpbody-content"),o=n.querySelector(".wrap.woocommerce")||n.querySelector(".wrap"),a=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(i.c,null)),n.insertBefore(a,o));const s=document.createElement("div");Object(t.render)(Object(t.createElement)(c.a,null),n.insertBefore(s,o.nextSibling))}window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&function(){const e=s||l;Object(t.render)(Object(t.createElement)(a.a,null),e.insertBefore(document.createElement("div"),null))}()}.call(this,n(81))},285:function(e,t,n){},286:function(e,t){e.exports=window.wc.notices},287:function(e,t,n){},288:function(e,t,n){},289:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t,n){"use strict";var r=n(59),o=n(60),i=n(36);e.exports={formats:i,parse:o,stringify:r}},290:function(e,t,n){var r=n(291);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},291:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},292:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},293:function(e,t,n){},294:function(e,t,n){},295:function(e,t,n){},296:function(e,t,n){},297:function(e,t,n){},298:function(e,t,n){},299:function(e,t,n){},3:function(e,t){e.exports=window.wp.components},30:function(e,t){e.exports=window.wp.htmlEntities},300:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},301:function(e,t,n){},31:function(e,t){e.exports=window.ReactDOM},32:function(e,t){e.exports=window.wp.keycodes},36:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},37:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},4:function(e,t){e.exports=window.lodash},42:function(e,t,n){"use strict";var r=n(36),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],c=Object.keys(a),s=0;s<c.length;++s){var l=c[s],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<c.length;++l){var u=c.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===r.RFC1738&&(40===u||41===u)?s+=c.charAt(l):u<128?s+=a[u]:u<2048?s+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?s+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&c.charCodeAt(l)),s+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=c(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},44:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},477:function(e,t){e.exports=window.wc.csvExport},49:function(e,t,n){"use strict";var r=n(50);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5:function(e,t){e.exports=window.React},50:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},501:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=i},502:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));t.a=i},503:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"}));t.a=i},504:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}));t.a=i},505:function(e,t,n){"use strict";var r=n(0),o=n(8),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},51:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return s}));var r=n(0),o=n(3);const i=(e,t,n)=>"function"==typeof e?Object(r.cloneElement)(e(n),{order:t}):Object(r.cloneElement)(e,{...n,order:t}),a=({children:e,order:t=1})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_item"},n=>i(e,t,n));a.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_item",fillProps:e},e=>e.sort((e,t)=>e[0].props.order-t[0].props.order));const c=({children:e,order:t=1})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_navigation_item"},n=>i(e,t,n));c.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_navigation_item",fillProps:e},e=>e.sort((e,t)=>e[0].props.order-t[0].props.order));const s=({children:e})=>Object(r.createElement)(o.Fill,{name:"woocommerce_header_page_title"},e);s.Slot=({fillProps:e})=>Object(r.createElement)(o.Slot,{name:"woocommerce_header_page_title",fillProps:e},e=>[e.pop()])},54:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"b",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p}));var r=n(24);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],c=e&&o(e),s=t&&o(t),l=c||s;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,m=a.length;m>=0;m--){var p=a[m];"."===p?i(a,m):".."===p?(i(a,m),d++):d&&(i(a,m),d--)}if(!l)for(;d--;d)a.unshift("..");!l||""===a[0]||a[0]&&o(a[0])||a.unshift("");var f=a.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(44);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function v(e,t){t(window.confirm(e))}function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||Object(l.a)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,c=a.forceRefresh,s=void 0!==c&&c,h=a.getUserConfirmation,w=void 0===h?v:h,O=a.keyLength,j=void 0===O?6:O,_=e.basename?m(u(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=d(i,_)),f(i,r,n)}function k(){return Math.random().toString(36).substr(2,j)}var S=b();function x(e){Object(r.a)(D,e),D.length=n.length,S.notifyListeners(D.location,D.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(E(e.state))}function T(){P(E(y()))}var A=!1;function P(e){if(A)A=!1,x();else{S.confirmTransitionTo(e,"POP",w,(function(t){t?x({action:"POP",location:e}):function(e){var t=D.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,L(o))}(e)}))}}var N=E(y()),R=[N.key];function M(e){return _+p(e)}function L(e){n.go(e)}var V=0;function I(e){1===(V+=e)&&1===e?(window.addEventListener("popstate",C),i&&window.addEventListener("hashchange",T)):0===V&&(window.removeEventListener("popstate",C),i&&window.removeEventListener("hashchange",T))}var F=!1;var D={length:n.length,action:"POP",location:N,createHref:M,push:function(e,t){var r=f(e,t,k(),D.location);S.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=M(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),s)window.location.href=t;else{var c=R.indexOf(D.location.key),l=R.slice(0,c+1);l.push(r.key),R=l,x({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=f(e,t,k(),D.location);S.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=M(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),s)window.location.replace(t);else{var c=R.indexOf(D.location.key);-1!==c&&(R[c]=r.key),x({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return F||(I(1),F=!0),function(){return F&&(F=!1,I(-1)),t()}},listen:function(e){var t=S.appendListener(e);return I(1),function(){I(-1),t()}}};return D}function O(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,s=t.keyLength,l=void 0===s?6:s,u=b();function d(e){Object(r.a)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,l)}var h=O(c,0,i.length-1),g=i.map((function(e){return f(e,void 0,"string"==typeof e?m():e.key||m())})),v=p;function y(e){var t=O(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:v,push:function(e,t){var r=f(e,t,m(),w.location);u.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),d({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=f(e,t,m(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,d({action:"REPLACE",location:r}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},55:function(e,t){e.exports=window.wp.plugins},58:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));const r="wc/customer-effort-score",o="/wc-admin",i="woocommerce_ces_tracks_queue"},59:function(e,t,n){"use strict";var r=n(42),o=n(36),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,s=Array.prototype.push,l=function(e,t){s.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,i,a,s,u,d,p,f,h,b,g,v){var y,w=t;if("function"==typeof u?w=u(n,w):w instanceof Date?w=f(w):"comma"===o&&c(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?f(e):e}))),null===w){if(i)return s&&!g?s(n,m.encoder,v,"key",h):n;w=""}if("string"==typeof(y=w)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(w))return s?[b(g?n:s(n,m.encoder,v,"key",h))+"="+b(s(w,m.encoder,v,"value",h))]:[b(n)+"="+b(String(w))];var O,j=[];if(void 0===w)return j;if("comma"===o&&c(w))O=[{value:w.length>0?w.join(",")||null:void 0}];else if(c(u))O=u;else{var _=Object.keys(w);O=d?_.sort(d):_}for(var E=0;E<O.length;++E){var k=O[E],S="object"==typeof k&&void 0!==k.value?k.value:w[k];if(!a||null!==S){var x=c(w)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");l(j,e(S,x,o,i,a,s,u,d,p,f,h,b,g,v))}}return j};e.exports=function(e,t){var n,r=e,s=function(e){if(!e)return m;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=m.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:void 0===e.allowDots?m.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof s.filter?r=(0,s.filter)("",r):c(s.filter)&&(n=s.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=a[u];n||(n=Object.keys(r)),s.sort&&n.sort(s.sort);for(var h=0;h<n.length;++h){var b=n[h];s.skipNulls&&null===r[b]||l(d,p(r[b],b,f,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset))}var g=d.join(s.delimiter),v=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),g.length>0?v+g:""}},6:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&e.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var c in o)t.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},60:function(e,t,n){"use strict";var r=n(42),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),l=c?i.slice(0,c.index):i,u=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(c=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+i.slice(c.index)+"]"),function(e,t,n,r){for(var o=r?t:s(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&c!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=o:a[l]=o:a={0:o}}o=a}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,m=u.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<m.length;++n)0===m[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===m[n]?f="utf-8":"utf8=%26%2310003%3B"===m[n]&&(f="iso-8859-1"),p=n,n=m.length);for(n=0;n<m.length;++n)if(n!==p){var h,b,g=m[n],v=g.indexOf("]="),y=-1===v?g.indexOf("="):v+1;-1===y?(h=t.decoder(g,a.decoder,f,"key"),b=t.strictNullHandling?null:""):(h=t.decoder(g.slice(0,y),a.decoder,f,"key"),b=r.maybeMap(s(g.slice(y+1),t),(function(e){return t.decoder(e,a.decoder,f,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===f&&(b=c(b)),g.indexOf("[]=")>-1&&(b=i(b)?[b]:b),o.call(l,h)?l[h]=r.combine(l[h],b):l[h]=b}return l}(e,n):e,d=n.plainObjects?Object.create(null):{},m=Object.keys(u),p=0;p<m.length;++p){var f=m[p],h=l(f,u[f],n,"string"==typeof e);d=r.merge(d,h,n)}return r.compact(d)}},62:function(e,t){e.exports=window.wp.date},65:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return m}));var r=n(30),o=n(4),i=n(22);function a(e){return e?e.split(":")[0]:null}function c(e){let t=a(e);return Object(o.without)(Object(i.d)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function s(e,t,n=!1,r){return u(t,n,r,e).map(e=>e.id||e.product)}function l(e,t,n){const r={};r.products=u(t,!0,n,e),r.remainingProducts=u(t,!1,n,e);const o=[...new Set([...r.products,...r.remainingProducts])];return r.uniqueItemsList=o.map(e=>{let t;return t=e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title},t}),r}function u(e,t=!1,n,r){const o=[];if(!r)return o;(e.product_types||[]).forEach(e=>{r[e]&&r[e].product&&(t||!n.includes(r[e].slug))&&o.push(r[e])});const a=Object(i.d)("onboarding",{});let c=null;return a&&a.themes&&(c=a.themes.find(t=>t.slug===e.theme)),c&&c.id&&d(c.price)>0&&(t||!c.is_installed)&&o.push(c),o}function d(e){return Number(Object(r.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function m(e){return/admin.php\?page=wc-admin/.test(e)}},7:function(e,t){e.exports=window.wp.data},71:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(11),o=n(258);function i(e,t){const{getItemsTotalCount:n,getItemsError:o,isResolving:i}=e(r.ITEMS_STORE_NAME);if(!t.length)return 0;const a={page:1,per_page:1,status:t,_fields:["id"]},c=n("orders",a,null),s=Boolean(o("orders",a)),l=i("getItemsTotalCount",["orders",a,null]);return s||l?null:c}function a(e){const{getSetting:t}=e(r.SETTINGS_STORE_NAME),{woocommerce_actionable_order_statuses:n=o.a}=t("wc_admin","wcAdminSettings",{});return n}const c={page:1,per_page:1,low_in_stock:!0,status:"publish",_fields:["id"]};function s(e){const{getItemsTotalCount:t,getItemsError:n,isResolving:o}=e(r.ITEMS_STORE_NAME),i=t("products/low-in-stock",c,null),a=Boolean(n("products/low-in-stock",c)),s=o("getItemsTotalCount",["products/low-in-stock",c,null]);return a||s&&null===i?null:i}},72:function(e,t,n){"use strict";var r=n(5),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(51),a=n(73),c=n(74),s="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===o)return n(r,e,""===t?"."+l(e,0):t),1;var d=0,m=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)d+=u(i=e[p],m+l(i,p),n,r);else{var f=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(f){0;for(var h,b=f.call(e),g=0;!(h=b.next()).done;)d+=u(i=h.value,m+l(i,g++),n,r)}else if("object"===c){0;var v=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return d}var d=/\/+/g;function m(e){return(""+e).replace(d,"$&/")}var p,f,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,a,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?w(d,c,n,i.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,a=s+(!d.key||t&&t.key===d.key?"":m(d.key)+"/")+n,d=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),c.push(d))}function w(e,t,n,r,o){var i="";null!=n&&(i=m(n)+"/");var a=v.getPooled(t,i,r,o);!function(e,t,n){null==e||u(e,"",t,n)}(e,y,a),v.release(a)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=v).instancePool=[],f.getPooled=p||h,f.poolSize||(f.poolSize=10),f.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},73:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,c){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,c],u=0;(s=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},74:function(e,t,n){"use strict";var r=n(51);e.exports=r},75:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},8:function(e,t){e.exports=window.wp.primitives},81:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.moment},91:function(e,t){e.exports=window.wc.currency},93:function(e,t){e.exports=window.wp.dom}});
dist/app/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media(min-width:783px){.woocommerce-page #wpbody-content{padding-right:0}}@media(max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;left:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media(min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}#wpbody,.woocommerce-layout *{box-sizing:border-box}#wpbody{display:inline-block;width:100%;padding-top:0;margin-top:60px}#wpfooter{display:none}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media(max-width:600px){#wpadminbar{position:fixed}html.wp-toolbar{padding-top:46px}}@media(max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-right:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-right:0}}.woocommerce-page .wp-has-current-submenu:after{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f1f1f1;top:0;margin-top:10px}@media(max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media(max-width:960px){:root{--large-gap:24px}}@media(max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:10px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media(max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #screen-meta{border-left:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media(max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media(max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media(min-width:601px)and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__no-match{display:flex;align-items:center;justify-content:center}.woocommerce-layout__no-match .components-card{max-width:680px;width:100%}.woocommerce-layout__primary{margin:var(--large-gap) var(--large-gap) 0 0}@media(max-width:782px){.woocommerce-layout__primary{margin-top:20px}}.woocommerce-layout .woocommerce-layout__main{padding-left:40px;padding-left:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh!important}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-right:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block;margin-top:0!important}.woocommerce-admin-full-screen.has-woocommerce-navigation #wpbody{padding-right:0}.is-wp-toolbar-disabled #wpadminbar{display:none!important}.wp-toolbar .is-wp-toolbar-disabled{margin-top:-32px}@media(max-width:600px){.wp-toolbar .is-wp-toolbar-disabled{margin-top:-46px}}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-right:25px;padding-left:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__header .components-button svg+span{display:none}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-right:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-right:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:left}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-left:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;position:fixed;width:calc(100% - 160px);top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.woocommerce-layout__header .woocommerce-layout__header-wrapper{display:flex;align-items:center;min-height:60px}@media(max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px;width:100%}}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__header{width:calc(100% - 36px)}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 40px 0 0;padding:0 var(--large-gap) 0 0;flex:1 auto;height:60px;background:#fff;font-weight:600;font-size:14px}.folded .woocommerce-layout__header{width:calc(100% - 36px)}@media(max-width:782px){.folded .woocommerce-layout__header{width:100%}}.is-wp-toolbar-disabled .woocommerce-layout__header{top:0}.has-woocommerce-navigation .woocommerce-layout__header{right:0;width:100%}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.wp-responsive-open .woocommerce-layout__header{margin-right:2px}.woocommerce-transient-notices{position:fixed;bottom:12px;right:176px;z-index:99999;width:auto}@media(max-width:960px){.woocommerce-transient-notices{right:50px}}@media(max-width:782px){.woocommerce-transient-notices{right:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{right:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-right:auto;margin-left:auto}.has-woocommerce-navigation .woocommerce-transient-notices{right:256px}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:26px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;height:60px}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-extension-tasklist-toggle{min-width:205px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;right:0;position:absolute;left:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;right:50%}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:18px;right:auto;margin-right:0}}@media(min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:28px;right:auto;margin-right:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset 1px -1px 0 #757575,inset -1px 1px 0 #757575}@media(max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;left:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(-100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 106px);background:#f0f0f0;width:430px;transform:translateX(-100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;left:0;top:106px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media(max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media(min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-right:24px;padding-left:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;right:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media(prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;box-sizing:border-box}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end;box-sizing:border-box}@media(max-width:782px){.woocommerce-layout__show-app-banner .woocommerce-layout__header-wrapper{padding-top:56px}}.woocommerce-mobile-app-banner{background-color:#3c2861;position:absolute;top:0;right:0;width:100%;display:flex;height:56px;align-items:center;padding:0 4px 0 6px}@media(min-width:401px){.woocommerce-mobile-app-banner{padding:0 10px 0 13px}}@media(min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .gridicon{fill:#fff;margin-left:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-right:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-right:8px}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-right:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-right:13px;font-size:13px}}.woocommerce-navigation{display:grid;grid-template-rows:min-content 1fr;height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper h2>span{width:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu{overflow-y:auto;margin-bottom:0;padding-bottom:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item .components-button{opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) .components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active .components-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:hover .components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) a.components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation{height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation>div{height:100%;display:grid;grid-template-rows:1fr min-content}.woocommerce-navigation .woocommerce-navigation__wrapper.is-root .components-navigation__menu-secondary{border-top:1px solid #2c3338;margin:0 -8px;padding:16px 8px 12px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group-title,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu-title{color:#f0f0f0;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button{color:#ccc;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button span{font-size:13px;line-height:normal}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover:not(:disabled){color:#ddd}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-right:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.woocommerce-navigation{position:relative;width:240px;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media(max-width:960px){.woocommerce-navigation{width:60px;height:60px}}.woocommerce-navigation .components-navigation{box-sizing:border-box}.woocommerce-navigation .components-navigation__menu-title{overflow:visible}.woocommerce-navigation__wrapper{background-color:#1e1e1e;position:absolute;top:60px;width:100%;height:calc(100vh - 92px);overflow-y:auto}.is-wp-toolbar-disabled .woocommerce-navigation__wrapper{height:calc(100vh - 60px)}body.is-wc-nav-expanded .woocommerce-navigation{width:240px;height:100%}body.is-wc-nav-expanded font>.xdebug-error{margin-right:256px}body.is-wc-nav-folded .woocommerce-navigation{width:60px;height:60px;overflow:hidden}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header>*{display:none}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header__site-icon{display:block}body.is-wc-nav-folded .woocommerce-navigation .components-navigation{display:none}body.is-wc-nav-folded .woocommerce-transient-notices{right:16px}body.is-wc-nav-folded #wpbody{padding-right:0}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-reports .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-reports .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}@media(max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}}.has-woocommerce-navigation #wpbody{padding-right:240px}@media(max-width:960px){.has-woocommerce-navigation #wpbody{padding-right:0}}.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{content:"";position:fixed;width:240px;height:100%;background:#1e1e1e}@media(max-width:960px){.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{width:60px;height:60px}}.has-woocommerce-navigation #woocommerce-embedded-root.is-embed-loading{margin-bottom:-32px}.has-woocommerce-navigation:not(.is-wp-toolbar-disabled) #wpbody-content{margin-top:32px}.has-woocommerce-navigation font>.xdebug-error{margin-top:60px}.woocommerce-navigation-category-title{display:flex;align-items:center;font-size:20px;line-height:28px}.woocommerce-navigation-category-title .woocommerce-navigation-favorite-button{margin-right:auto}.woocommerce-navigation-favorite-button.components-button .star-empty-icon{color:#949494}.woocommerce-navigation-favorite-button.components-button .star-filled-icon{color:#ffb900}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-embedded-layout__primary{padding:0 20px}.woocommerce-embedded-layout__primary .components-card__footer,.woocommerce-embedded-layout__primary .components-card__header{box-sizing:border-box}@media(max-width:782px){.woocommerce-embedded-layout__primary{padding:0}}
1
+ .woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media(min-width:783px){.woocommerce-page #wpbody-content{padding-right:0}}@media(max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;left:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media(min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}#wpbody,.woocommerce-layout *{box-sizing:border-box}#wpbody{display:inline-block;width:100%;padding-top:0;margin-top:60px}#wpfooter{display:none}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media(max-width:600px){#wpadminbar{position:fixed}html.wp-toolbar{padding-top:46px}}@media(max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-right:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-right:0}}.woocommerce-page .wp-has-current-submenu:after{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f1f1f1;top:0;margin-top:10px}@media(max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media(max-width:960px){:root{--large-gap:24px}}@media(max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:10px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media(max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #screen-meta{border-left:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media(max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media(max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media(min-width:601px)and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__no-match{display:flex;align-items:center;justify-content:center}.woocommerce-layout__no-match .components-card{max-width:680px;width:100%}.woocommerce-layout__primary{margin:var(--large-gap) var(--large-gap) 0 0}@media(max-width:782px){.woocommerce-layout__primary{margin-top:20px}}.woocommerce-layout .woocommerce-layout__main{padding-left:40px;padding-left:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh!important}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-right:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block;margin-top:0!important}.woocommerce-admin-full-screen.has-woocommerce-navigation #wpbody{padding-right:0}.is-wp-toolbar-disabled #wpadminbar{display:none!important}.wp-toolbar .is-wp-toolbar-disabled{margin-top:-32px}@media(max-width:600px){.wp-toolbar .is-wp-toolbar-disabled{margin-top:-46px}}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-right:25px;padding-left:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__header .components-button svg+span{display:none}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-right:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-right:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:left}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-left:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;position:fixed;width:calc(100% - 160px);top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.woocommerce-layout__header .woocommerce-layout__header-wrapper{display:flex;align-items:center;min-height:60px}@media(max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px;width:100%}}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__header{width:calc(100% - 36px)}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 40px 0 0;padding:0 var(--large-gap) 0 0;flex:1 auto;height:60px;background:#fff;font-weight:600;font-size:14px}.folded .woocommerce-layout__header{width:calc(100% - 36px)}@media(max-width:782px){.folded .woocommerce-layout__header{width:100%}}.is-wp-toolbar-disabled .woocommerce-layout__header{top:0}.has-woocommerce-navigation .woocommerce-layout__header{right:0;width:100%}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.wp-responsive-open .woocommerce-layout__header{margin-right:2px}.woocommerce-transient-notices{position:fixed;bottom:12px;right:176px;z-index:99999;width:auto}@media(max-width:960px){.woocommerce-transient-notices{right:50px}}@media(max-width:782px){.woocommerce-transient-notices{right:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{right:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-right:auto;margin-left:auto}.has-woocommerce-navigation .woocommerce-transient-notices{right:256px}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:26px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;height:60px}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-extension-tasklist-toggle{min-width:205px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;right:0;position:absolute;left:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;right:50%}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:18px;right:auto;margin-right:0}}@media(min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:28px;right:auto;margin-right:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset 1px -1px 0 #757575,inset -1px 1px 0 #757575}@media(max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;left:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(-100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 106px);background:#f0f0f0;width:430px;transform:translateX(-100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;left:0;top:106px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media(max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media(min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-right:24px;padding-left:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;right:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media(prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;box-sizing:border-box}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end;box-sizing:border-box}@media(max-width:782px){.woocommerce-layout__show-app-banner .woocommerce-layout__header-wrapper{padding-top:56px}}.woocommerce-mobile-app-banner{background-color:#3c2861;position:absolute;top:0;right:0;width:100%;display:flex;height:56px;align-items:center;padding:0 4px 0 6px}@media(min-width:401px){.woocommerce-mobile-app-banner{padding:0 10px 0 13px}}@media(min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .gridicon{fill:#fff;margin-left:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-right:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-right:8px}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-right:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-right:13px;font-size:13px}}.woocommerce-navigation{display:grid;grid-template-rows:min-content 1fr;height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper h2>span{width:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu{overflow-y:auto;margin-bottom:0;padding-bottom:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item .components-button{opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) .components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active .components-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:hover .components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) a.components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation{height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation>div{height:100%;display:grid;grid-template-rows:1fr min-content}.woocommerce-navigation .woocommerce-navigation__wrapper.is-root .components-navigation__menu-secondary{border-top:1px solid #2c3338;margin:0 -8px;padding:16px 8px 12px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group-title,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu-title{color:#f0f0f0;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button{color:#ccc;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button span{font-size:13px;line-height:normal}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover:not(:disabled){color:#ddd}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-right:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.woocommerce-navigation-header .woocommerce-navigation-header__site-title{padding-top:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.woocommerce-navigation{position:relative;width:240px;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media(max-width:960px){.woocommerce-navigation{width:60px;height:60px}}.woocommerce-navigation .components-navigation{box-sizing:border-box}.woocommerce-navigation .components-navigation__menu-title{overflow:visible}.woocommerce-navigation__wrapper{background-color:#1e1e1e;position:absolute;top:60px;width:100%;height:calc(100vh - 92px);overflow-y:auto}.is-wp-toolbar-disabled .woocommerce-navigation__wrapper{height:calc(100vh - 60px)}body.is-wc-nav-expanded .woocommerce-navigation{width:240px;height:100%}body.is-wc-nav-expanded font>.xdebug-error{margin-right:256px}body.is-wc-nav-folded .woocommerce-navigation{width:60px;height:60px;overflow:hidden}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header>*{display:none}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header__site-icon{display:block}body.is-wc-nav-folded .woocommerce-navigation .components-navigation{display:none}body.is-wc-nav-folded .woocommerce-transient-notices{right:16px}body.is-wc-nav-folded #wpbody{padding-right:0}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-reports .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-reports .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}@media(max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}}.has-woocommerce-navigation #wpbody{padding-right:240px}@media(max-width:960px){.has-woocommerce-navigation #wpbody{padding-right:0}}.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{content:"";position:fixed;width:240px;height:100%;background:#1e1e1e}@media(max-width:960px){.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{width:60px;height:60px}}.has-woocommerce-navigation #woocommerce-embedded-root.is-embed-loading{margin-bottom:-32px}.has-woocommerce-navigation:not(.is-wp-toolbar-disabled) #wpbody-content{margin-top:32px}.has-woocommerce-navigation font>.xdebug-error{margin-top:60px}.woocommerce-navigation-category-title{display:flex;align-items:center;font-size:20px;line-height:28px}.woocommerce-navigation-category-title .woocommerce-navigation-favorite-button{margin-right:auto}.woocommerce-navigation-favorite-button.components-button .star-empty-icon{color:#949494}.woocommerce-navigation-favorite-button.components-button .star-filled-icon{color:#ffb900}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-embedded-layout__primary{padding:0 20px}.woocommerce-embedded-layout__primary .components-card__footer,.woocommerce-embedded-layout__primary .components-card__header{box-sizing:border-box}@media(max-width:782px){.woocommerce-embedded-layout__primary{padding:0}}
dist/app/style.css CHANGED
@@ -1 +1 @@
1
- .woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media(min-width:783px){.woocommerce-page #wpbody-content{padding-left:0}}@media(max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;right:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media(min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}#wpbody,.woocommerce-layout *{box-sizing:border-box}#wpbody{display:inline-block;width:100%;padding-top:0;margin-top:60px}#wpfooter{display:none}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media(max-width:600px){#wpadminbar{position:fixed}html.wp-toolbar{padding-top:46px}}@media(max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-left:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-left:0}}.woocommerce-page .wp-has-current-submenu:after{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f1f1f1;top:0;margin-top:10px}@media(max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media(max-width:960px){:root{--large-gap:24px}}@media(max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:10px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media(max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #screen-meta{border-right:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media(max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media(max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media(min-width:601px)and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__no-match{display:flex;align-items:center;justify-content:center}.woocommerce-layout__no-match .components-card{max-width:680px;width:100%}.woocommerce-layout__primary{margin:var(--large-gap) 0 0 var(--large-gap)}@media(max-width:782px){.woocommerce-layout__primary{margin-top:20px}}.woocommerce-layout .woocommerce-layout__main{padding-right:40px;padding-right:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh!important}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-left:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block;margin-top:0!important}.woocommerce-admin-full-screen.has-woocommerce-navigation #wpbody{padding-left:0}.is-wp-toolbar-disabled #wpadminbar{display:none!important}.wp-toolbar .is-wp-toolbar-disabled{margin-top:-32px}@media(max-width:600px){.wp-toolbar .is-wp-toolbar-disabled{margin-top:-46px}}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-left:25px;padding-right:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__header .components-button svg+span{display:none}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-left:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-left:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:right}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-right:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;position:fixed;width:calc(100% - 160px);top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.woocommerce-layout__header .woocommerce-layout__header-wrapper{display:flex;align-items:center;min-height:60px}@media(max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px;width:100%}}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__header{width:calc(100% - 36px)}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 0 0 40px;padding:0 0 0 var(--large-gap);flex:1 auto;height:60px;background:#fff;font-weight:600;font-size:14px}.folded .woocommerce-layout__header{width:calc(100% - 36px)}@media(max-width:782px){.folded .woocommerce-layout__header{width:100%}}.is-wp-toolbar-disabled .woocommerce-layout__header{top:0}.has-woocommerce-navigation .woocommerce-layout__header{left:0;width:100%}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.wp-responsive-open .woocommerce-layout__header{margin-left:2px}.woocommerce-transient-notices{position:fixed;bottom:12px;left:176px;z-index:99999;width:auto}@media(max-width:960px){.woocommerce-transient-notices{left:50px}}@media(max-width:782px){.woocommerce-transient-notices{left:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{left:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-left:auto;margin-right:auto}.has-woocommerce-navigation .woocommerce-transient-notices{left:256px}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-left:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;left:26px}.components-snackbar .components-snackbar__dismiss-button{margin-left:32px;cursor:pointer}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;height:60px}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-extension-tasklist-toggle{min-width:205px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;left:0;position:absolute;right:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;left:50%}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:18px;left:auto;margin-left:0}}@media(min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:28px;left:auto;margin-left:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}@media(max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;right:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 106px);background:#f0f0f0;width:430px;transform:translateX(100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;right:0;top:106px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media(max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media(min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-left:24px;padding-right:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;left:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media(prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;box-sizing:border-box}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end;box-sizing:border-box}@media(max-width:782px){.woocommerce-layout__show-app-banner .woocommerce-layout__header-wrapper{padding-top:56px}}.woocommerce-mobile-app-banner{background-color:#3c2861;position:absolute;top:0;left:0;width:100%;display:flex;height:56px;align-items:center;padding:0 6px 0 4px}@media(min-width:401px){.woocommerce-mobile-app-banner{padding:0 13px 0 10px}}@media(min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .gridicon{fill:#fff;margin-right:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-left:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-left:8px}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-left:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-left:13px;font-size:13px}}.woocommerce-navigation{display:grid;grid-template-rows:min-content 1fr;height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper h2>span{width:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu{overflow-y:auto;margin-bottom:0;padding-bottom:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item .components-button{opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) .components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active .components-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:hover .components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) a.components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation{height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation>div{height:100%;display:grid;grid-template-rows:1fr min-content}.woocommerce-navigation .woocommerce-navigation__wrapper.is-root .components-navigation__menu-secondary{border-top:1px solid #2c3338;margin:0 -8px;padding:16px 8px 12px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group-title,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu-title{color:#f0f0f0;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button{color:#ccc;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button span{font-size:13px;line-height:normal}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover:not(:disabled){color:#ddd}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-left:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.woocommerce-navigation{position:relative;width:240px;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media(max-width:960px){.woocommerce-navigation{width:60px;height:60px}}.woocommerce-navigation .components-navigation{box-sizing:border-box}.woocommerce-navigation .components-navigation__menu-title{overflow:visible}.woocommerce-navigation__wrapper{background-color:#1e1e1e;position:absolute;top:60px;width:100%;height:calc(100vh - 92px);overflow-y:auto}.is-wp-toolbar-disabled .woocommerce-navigation__wrapper{height:calc(100vh - 60px)}body.is-wc-nav-expanded .woocommerce-navigation{width:240px;height:100%}body.is-wc-nav-expanded font>.xdebug-error{margin-left:256px}body.is-wc-nav-folded .woocommerce-navigation{width:60px;height:60px;overflow:hidden}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header>*{display:none}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header__site-icon{display:block}body.is-wc-nav-folded .woocommerce-navigation .components-navigation{display:none}body.is-wc-nav-folded .woocommerce-transient-notices{left:16px}body.is-wc-nav-folded #wpbody{padding-left:0}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-reports .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-reports .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}@media(max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}}.has-woocommerce-navigation #wpbody{padding-left:240px}@media(max-width:960px){.has-woocommerce-navigation #wpbody{padding-left:0}}.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{content:"";position:fixed;width:240px;height:100%;background:#1e1e1e}@media(max-width:960px){.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{width:60px;height:60px}}.has-woocommerce-navigation #woocommerce-embedded-root.is-embed-loading{margin-bottom:-32px}.has-woocommerce-navigation:not(.is-wp-toolbar-disabled) #wpbody-content{margin-top:32px}.has-woocommerce-navigation font>.xdebug-error{margin-top:60px}.woocommerce-navigation-category-title{display:flex;align-items:center;font-size:20px;line-height:28px}.woocommerce-navigation-category-title .woocommerce-navigation-favorite-button{margin-left:auto}.woocommerce-navigation-favorite-button.components-button .star-empty-icon{color:#949494}.woocommerce-navigation-favorite-button.components-button .star-filled-icon{color:#ffb900}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-embedded-layout__primary{padding:0 20px}.woocommerce-embedded-layout__primary .components-card__footer,.woocommerce-embedded-layout__primary .components-card__header{box-sizing:border-box}@media(max-width:782px){.woocommerce-embedded-layout__primary{padding:0}}
1
+ .woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media(min-width:783px){.woocommerce-page #wpbody-content{padding-left:0}}@media(max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;right:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media(min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}#wpbody,.woocommerce-layout *{box-sizing:border-box}#wpbody{display:inline-block;width:100%;padding-top:0;margin-top:60px}#wpfooter{display:none}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media(max-width:600px){#wpadminbar{position:fixed}html.wp-toolbar{padding-top:46px}}@media(max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-left:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-left:0}}.woocommerce-page .wp-has-current-submenu:after{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f1f1f1;top:0;margin-top:10px}@media(max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media(max-width:960px){:root{--large-gap:24px}}@media(max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:10px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media(max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #screen-meta{border-right:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media(max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media(max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media(min-width:601px)and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__no-match{display:flex;align-items:center;justify-content:center}.woocommerce-layout__no-match .components-card{max-width:680px;width:100%}.woocommerce-layout__primary{margin:var(--large-gap) 0 0 var(--large-gap)}@media(max-width:782px){.woocommerce-layout__primary{margin-top:20px}}.woocommerce-layout .woocommerce-layout__main{padding-right:40px;padding-right:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh!important}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-left:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block;margin-top:0!important}.woocommerce-admin-full-screen.has-woocommerce-navigation #wpbody{padding-left:0}.is-wp-toolbar-disabled #wpadminbar{display:none!important}.wp-toolbar .is-wp-toolbar-disabled{margin-top:-32px}@media(max-width:600px){.wp-toolbar .is-wp-toolbar-disabled{margin-top:-46px}}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-left:25px;padding-right:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__header .components-button svg+span{display:none}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-left:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-left:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:right}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-right:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;position:fixed;width:calc(100% - 160px);top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.woocommerce-layout__header .woocommerce-layout__header-wrapper{display:flex;align-items:center;min-height:60px}@media(max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px;width:100%}}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__header{width:calc(100% - 36px)}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 0 0 40px;padding:0 0 0 var(--large-gap);flex:1 auto;height:60px;background:#fff;font-weight:600;font-size:14px}.folded .woocommerce-layout__header{width:calc(100% - 36px)}@media(max-width:782px){.folded .woocommerce-layout__header{width:100%}}.is-wp-toolbar-disabled .woocommerce-layout__header{top:0}.has-woocommerce-navigation .woocommerce-layout__header{left:0;width:100%}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.wp-responsive-open .woocommerce-layout__header{margin-left:2px}.woocommerce-transient-notices{position:fixed;bottom:12px;left:176px;z-index:99999;width:auto}@media(max-width:960px){.woocommerce-transient-notices{left:50px}}@media(max-width:782px){.woocommerce-transient-notices{left:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{left:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-left:auto;margin-right:auto}.has-woocommerce-navigation .woocommerce-transient-notices{left:256px}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-left:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;left:26px}.components-snackbar .components-snackbar__dismiss-button{margin-left:32px;cursor:pointer}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;height:60px}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-extension-tasklist-toggle{min-width:205px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;left:0;position:absolute;right:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;left:50%}@media(min-width:783px)and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:18px;left:auto;margin-left:0}}@media(min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:28px;left:auto;margin-left:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}@media(max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;right:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 106px);background:#f0f0f0;width:430px;transform:translateX(100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;right:0;top:106px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media(max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media(min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-left:24px;padding-right:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;left:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media(prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;box-sizing:border-box}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end;box-sizing:border-box}@media(max-width:782px){.woocommerce-layout__show-app-banner .woocommerce-layout__header-wrapper{padding-top:56px}}.woocommerce-mobile-app-banner{background-color:#3c2861;position:absolute;top:0;left:0;width:100%;display:flex;height:56px;align-items:center;padding:0 6px 0 4px}@media(min-width:401px){.woocommerce-mobile-app-banner{padding:0 13px 0 10px}}@media(min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .gridicon{fill:#fff;margin-right:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-left:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-left:8px}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-left:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media(min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-left:13px;font-size:13px}}.woocommerce-navigation{display:grid;grid-template-rows:min-content 1fr;height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper h2>span{width:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu{overflow-y:auto;margin-bottom:0;padding-bottom:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item .components-button{opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) .components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active .components-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:hover .components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item:not(:hover) a.components-button{color:#ccc}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation{height:100%}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation>div{height:100%;display:grid;grid-template-rows:1fr min-content}.woocommerce-navigation .woocommerce-navigation__wrapper.is-root .components-navigation__menu-secondary{border-top:1px solid #2c3338;margin:0 -8px;padding:16px 8px 12px}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__group-title,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__menu-title{color:#f0f0f0;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button{color:#ccc;opacity:1}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button span{font-size:13px;line-height:normal}.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover,.woocommerce-navigation .woocommerce-navigation__wrapper .components-navigation__back-button:hover:not(:disabled){color:#ddd}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-left:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.woocommerce-navigation-header .woocommerce-navigation-header__site-title{padding-top:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.woocommerce-navigation{position:relative;width:240px;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media(max-width:960px){.woocommerce-navigation{width:60px;height:60px}}.woocommerce-navigation .components-navigation{box-sizing:border-box}.woocommerce-navigation .components-navigation__menu-title{overflow:visible}.woocommerce-navigation__wrapper{background-color:#1e1e1e;position:absolute;top:60px;width:100%;height:calc(100vh - 92px);overflow-y:auto}.is-wp-toolbar-disabled .woocommerce-navigation__wrapper{height:calc(100vh - 60px)}body.is-wc-nav-expanded .woocommerce-navigation{width:240px;height:100%}body.is-wc-nav-expanded font>.xdebug-error{margin-left:256px}body.is-wc-nav-folded .woocommerce-navigation{width:60px;height:60px;overflow:hidden}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header>*{display:none}body.is-wc-nav-folded .woocommerce-navigation .woocommerce-navigation-header__site-icon{display:block}body.is-wc-nav-folded .woocommerce-navigation .components-navigation{display:none}body.is-wc-nav-folded .woocommerce-transient-notices{left:16px}body.is-wc-nav-folded #wpbody{padding-left:0}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-reports .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-reports .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}@media(max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}}.has-woocommerce-navigation #wpbody{padding-left:240px}@media(max-width:960px){.has-woocommerce-navigation #wpbody{padding-left:0}}.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{content:"";position:fixed;width:240px;height:100%;background:#1e1e1e}@media(max-width:960px){.has-woocommerce-navigation .woocommerce-layout__header.is-embed-loading:before{width:60px;height:60px}}.has-woocommerce-navigation #woocommerce-embedded-root.is-embed-loading{margin-bottom:-32px}.has-woocommerce-navigation:not(.is-wp-toolbar-disabled) #wpbody-content{margin-top:32px}.has-woocommerce-navigation font>.xdebug-error{margin-top:60px}.woocommerce-navigation-category-title{display:flex;align-items:center;font-size:20px;line-height:28px}.woocommerce-navigation-category-title .woocommerce-navigation-favorite-button{margin-left:auto}.woocommerce-navigation-favorite-button.components-button .star-empty-icon{color:#949494}.woocommerce-navigation-favorite-button.components-button .star-filled-icon{color:#ffb900}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-embedded-layout__primary{padding:0 20px}.woocommerce-embedded-layout__primary .components-card__footer,.woocommerce-embedded-layout__primary .components-card__header{box-sizing:border-box}@media(max-width:782px){.woocommerce-embedded-layout__primary{padding:0}}
dist/chunks/0.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[0],{
2
 
3
- /***/ 505:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -8,19 +8,23 @@
8
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CurrencyContext; });
9
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
10
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
11
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
12
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
13
- /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90);
14
  /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__);
15
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
16
  /**
17
  * External dependencies
18
  */
19
 
20
 
21
 
 
 
 
22
 
23
- const appCurrency = _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default()(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* CURRENCY */ "a"]);
 
24
  const getFilteredCurrencyInstance = query => {
25
  const config = appCurrency.getCurrencyConfig();
26
  const filteredConfig = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["applyFilters"])('woocommerce_admin_report_currency', config, query);
@@ -31,7 +35,7 @@ const CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["
31
 
32
  /***/ }),
33
 
34
- /***/ 508:
35
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36
 
37
  "use strict";
@@ -89,13 +93,13 @@ ReportError.propTypes = {
89
 
90
  /***/ }),
91
 
92
- /***/ 510:
93
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
94
 
95
  "use strict";
96
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
97
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
98
- /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
99
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
100
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
101
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
@@ -105,15 +109,15 @@ ReportError.propTypes = {
105
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
106
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21);
107
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
108
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(13);
109
- /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11);
110
- /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_7__);
111
- /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20);
112
- /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__);
113
- /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16);
114
- /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__);
115
- /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(505);
116
- /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(57);
117
 
118
 
119
  /**
@@ -128,7 +132,6 @@ ReportError.propTypes = {
128
 
129
 
130
 
131
-
132
  /**
133
  * Internal dependencies
134
  */
@@ -136,6 +139,7 @@ ReportError.propTypes = {
136
 
137
 
138
 
 
139
  class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
140
  constructor() {
141
  super();
@@ -150,7 +154,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
150
  addCesSurveyForAnalytics
151
  } = this.props;
152
  addCesSurveyForAnalytics();
153
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('datepicker_update', {
154
  report,
155
  ...Object(lodash__WEBPACK_IMPORTED_MODULE_3__["omitBy"])(data, lodash__WEBPACK_IMPORTED_MODULE_3__["isUndefined"])
156
  });
@@ -183,7 +187,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
183
  eventProperties.filter_variation = data['filter-variations'] || 'all';
184
  }
185
 
186
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filter', eventProperties);
187
  }
188
 
189
  onAdvancedFilterAction(action, data) {
@@ -194,14 +198,14 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
194
 
195
  switch (action) {
196
  case 'add':
197
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_add', {
198
  report,
199
  filter: data.key
200
  });
201
  break;
202
 
203
  case 'remove':
204
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_remove', {
205
  report,
206
  filter: data.key
207
  });
@@ -213,20 +217,20 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
213
  return result;
214
  }, {});
215
  addCesSurveyForAnalytics();
216
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_filter', {
217
  report,
218
  ...snakeCaseData
219
  });
220
  break;
221
 
222
  case 'clear_all':
223
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_clear_all', {
224
  report
225
  });
226
  break;
227
 
228
  case 'match':
229
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_all_any', {
230
  report,
231
  value: data.match
232
  });
@@ -248,11 +252,11 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
248
  compare,
249
  before,
250
  after
251
- } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["getDateParamsFromQuery"])(query, defaultDateRange);
252
  const {
253
  primary: primaryDate,
254
  secondary: secondaryDate
255
- } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["getCurrentDates"])(query, defaultDateRange);
256
  const dateQuery = {
257
  period,
258
  compare,
@@ -264,7 +268,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
264
  const Currency = this.context;
265
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__["ReportFilters"], {
266
  query: query,
267
- siteLocale: _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* LOCALE */ "b"].siteLocale,
268
  currency: Currency.getCurrencyConfig(),
269
  path: path,
270
  filters: filters,
@@ -274,24 +278,24 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
274
  onFilterSelect: this.onFilterSelect,
275
  onAdvancedFilterAction: this.onAdvancedFilterAction,
276
  dateQuery: dateQuery,
277
- isoDateFormat: _woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["isoDateFormat"]
278
  });
279
  }
280
 
281
  }
282
 
283
- ReportFilters.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_10__[/* CurrencyContext */ "a"];
284
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(select => {
285
  const {
286
  woocommerce_default_date_range: defaultDateRange
287
- } = select(_woocommerce_data__WEBPACK_IMPORTED_MODULE_7__["SETTINGS_STORE_NAME"]).getSetting('wc_admin', 'wcAdminSettings');
288
  return {
289
  defaultDateRange
290
  };
291
  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(dispatch => {
292
  const {
293
  addCesSurveyForAnalytics
294
- } = dispatch(_customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_11__[/* STORE_KEY */ "c"]);
295
  return {
296
  addCesSurveyForAnalytics
297
  };
@@ -330,13 +334,13 @@ ReportFilters.propTypes = {
330
 
331
  /***/ }),
332
 
333
- /***/ 511:
334
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
335
 
336
  "use strict";
337
 
338
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
339
- var helpers_extends = __webpack_require__(36);
340
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
341
 
342
  // EXTERNAL MODULE: external ["wp","element"]
@@ -346,13 +350,13 @@ var external_wp_element_ = __webpack_require__(0);
346
  var external_wp_components_ = __webpack_require__(3);
347
 
348
  // EXTERNAL MODULE: external ["wp","hooks"]
349
- var external_wp_hooks_ = __webpack_require__(31);
350
 
351
  // EXTERNAL MODULE: external ["wp","compose"]
352
- var external_wp_compose_ = __webpack_require__(14);
353
 
354
  // EXTERNAL MODULE: external ["wp","dom"]
355
- var external_wp_dom_ = __webpack_require__(92);
356
 
357
  // EXTERNAL MODULE: external ["wp","data"]
358
  var external_wp_data_ = __webpack_require__(7);
@@ -374,7 +378,7 @@ var external_wc_components_ = __webpack_require__(21);
374
  var external_wc_navigation_ = __webpack_require__(12);
375
 
376
  // EXTERNAL MODULE: external ["wc","csvExport"]
377
- var external_wc_csvExport_ = __webpack_require__(476);
378
 
379
  // EXTERNAL MODULE: external ["wc","data"]
380
  var external_wc_data_ = __webpack_require__(11);
@@ -397,7 +401,7 @@ var external_wc_tracks_ = __webpack_require__(16);
397
  d: "M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"
398
  })));
399
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
400
- var report_error = __webpack_require__(508);
401
 
402
  // CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
403
  /**
@@ -444,10 +448,10 @@ function extendTableData(extendedStoreSelector, props, queriedTableData) {
444
  };
445
  }
446
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
447
- var constants = __webpack_require__(57);
448
 
449
  // EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
450
- var style = __webpack_require__(519);
451
 
452
  // CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
453
 
@@ -1037,7 +1041,7 @@ const EMPTY_OBJECT = {};
1037
 
1038
  /***/ }),
1039
 
1040
- /***/ 512:
1041
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1042
 
1043
  "use strict";
@@ -1051,10 +1055,10 @@ var external_wp_element_ = __webpack_require__(0);
1051
  var external_wp_i18n_ = __webpack_require__(2);
1052
 
1053
  // EXTERNAL MODULE: external ["wp","compose"]
1054
- var external_wp_compose_ = __webpack_require__(14);
1055
 
1056
  // EXTERNAL MODULE: external ["wp","date"]
1057
- var external_wp_date_ = __webpack_require__(63);
1058
 
1059
  // EXTERNAL MODULE: external ["wp","data"]
1060
  var external_wp_data_ = __webpack_require__(7);
@@ -1076,10 +1080,10 @@ var external_wc_data_ = __webpack_require__(11);
1076
  var external_wc_date_ = __webpack_require__(20);
1077
 
1078
  // EXTERNAL MODULE: ./client/lib/currency-context.js
1079
- var currency_context = __webpack_require__(505);
1080
 
1081
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
1082
- var report_error = __webpack_require__(508);
1083
 
1084
  // EXTERNAL MODULE: external ["wc","navigation"]
1085
  var external_wc_navigation_ = __webpack_require__(12);
@@ -1090,6 +1094,7 @@ var external_wc_navigation_ = __webpack_require__(12);
1090
  */
1091
 
1092
 
 
1093
  const DEFAULT_FILTER = 'all';
1094
  function getSelectedFilter(filters, query, selectedFilterArgs = {}) {
1095
  if (!filters || filters.length === 0) {
@@ -1120,6 +1125,9 @@ function getChartMode(selectedFilter, query) {
1120
 
1121
  return null;
1122
  }
 
 
 
1123
  // CONCATENATED MODULE: ./client/analytics/components/report-chart/index.js
1124
 
1125
 
@@ -1188,7 +1196,7 @@ class report_chart_ReportChart extends external_wp_element_["Component"] {
1188
  selectedChart,
1189
  defaultDateRange
1190
  } = this.props;
1191
- const currentInterval = Object(external_wc_date_["getIntervalForQuery"])(query);
1192
  const {
1193
  primary,
1194
  secondary
@@ -1236,11 +1244,14 @@ class report_chart_ReportChart extends external_wp_element_["Component"] {
1236
  query,
1237
  selectedChart,
1238
  showHeaderControls,
1239
- primaryData
 
1240
  } = this.props;
1241
- const currentInterval = Object(external_wc_date_["getIntervalForQuery"])(query);
1242
- const allowedIntervals = Object(external_wc_date_["getAllowedIntervalsForQuery"])(query);
1243
- const formats = Object(external_wc_date_["getDateFormatsForInterval"])(currentInterval, primaryData.data.intervals.length);
 
 
1244
  const emptyMessage = emptySearchResults ? Object(external_wp_i18n_["__"])('No data for the current search', 'woocommerce-admin') : Object(external_wp_i18n_["__"])('No data for the selected date range', 'woocommerce-admin');
1245
  const {
1246
  formatAmount,
@@ -1261,16 +1272,16 @@ class report_chart_ReportChart extends external_wp_element_["Component"] {
1261
  mode: mode,
1262
  path: path,
1263
  query: query,
1264
- screenReaderFormat: formats.screenReaderFormat,
1265
  showHeaderControls: showHeaderControls,
1266
  title: selectedChart.label,
1267
- tooltipLabelFormat: formats.tooltipLabelFormat,
1268
  tooltipTitle: mode === 'time-comparison' && selectedChart.label || null,
1269
  tooltipValueFormat: Object(external_wc_data_["getTooltipValueFormat"])(selectedChart.type, formatAmount),
1270
  chartType: Object(external_wc_date_["getChartTypeForQuery"])(query),
1271
  valueType: selectedChart.type,
1272
- xFormat: formats.xFormat,
1273
- x2Format: formats.x2Format,
1274
  currency: getCurrencyConfig()
1275
  });
1276
  }
@@ -1492,7 +1503,7 @@ report_chart_ReportChart.defaultProps = {
1492
 
1493
  /***/ }),
1494
 
1495
- /***/ 514:
1496
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1497
 
1498
  "use strict";
@@ -1526,7 +1537,7 @@ function getSelectedChart(chartName, charts = []) {
1526
 
1527
  /***/ }),
1528
 
1529
- /***/ 515:
1530
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1531
 
1532
  "use strict";
@@ -1535,7 +1546,7 @@ function getSelectedChart(chartName, charts = []) {
1535
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1536
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
1537
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
1538
- /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
1539
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
1540
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7);
1541
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
@@ -1545,7 +1556,7 @@ function getSelectedChart(chartName, charts = []) {
1545
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_5__);
1546
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21);
1547
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_6__);
1548
- /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(121);
1549
  /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_7__);
1550
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11);
1551
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_8__);
@@ -1553,8 +1564,8 @@ function getSelectedChart(chartName, charts = []) {
1553
  /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_9__);
1554
  /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(16);
1555
  /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10__);
1556
- /* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(508);
1557
- /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(505);
1558
 
1559
 
1560
  /**
@@ -1647,7 +1658,8 @@ class ReportSummary extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1647
  orderby,
1648
  label,
1649
  type,
1650
- isReverseTrend
 
1651
  } = chart;
1652
  const newPath = {
1653
  chart: key
@@ -1678,6 +1690,7 @@ class ReportSummary extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1678
  prevValue: prevValue,
1679
  selected: isSelected,
1680
  value: value,
 
1681
  onLinkClickCallback: () => {
1682
  // Wider than a certain breakpoint, there is no dropdown so avoid calling onToggle.
1683
  if (onToggle) {
@@ -1811,7 +1824,7 @@ ReportSummary.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_12__[
1811
 
1812
  /***/ }),
1813
 
1814
- /***/ 519:
1815
  /***/ (function(module, exports, __webpack_require__) {
1816
 
1817
  // extracted by mini-css-extract-plugin
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[0],{
2
 
3
+ /***/ 506:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
8
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CurrencyContext; });
9
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
10
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
11
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
12
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
13
+ /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91);
14
  /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__);
15
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
16
  /**
17
  * External dependencies
18
  */
19
 
20
 
21
 
22
+ /**
23
+ * Internal dependencies
24
+ */
25
 
26
+
27
+ const appCurrency = _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default()(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* CURRENCY */ "a"]);
28
  const getFilteredCurrencyInstance = query => {
29
  const config = appCurrency.getCurrencyConfig();
30
  const filteredConfig = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["applyFilters"])('woocommerce_admin_report_currency', config, query);
35
 
36
  /***/ }),
37
 
38
+ /***/ 509:
39
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
40
 
41
  "use strict";
93
 
94
  /***/ }),
95
 
96
+ /***/ 511:
97
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
98
 
99
  "use strict";
100
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
101
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
102
+ /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13);
103
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
104
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
105
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
109
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
110
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21);
111
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
112
+ /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11);
113
+ /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_6__);
114
+ /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(20);
115
+ /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__);
116
+ /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(16);
117
+ /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__);
118
+ /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(506);
119
+ /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58);
120
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(22);
121
 
122
 
123
  /**
132
 
133
 
134
 
 
135
  /**
136
  * Internal dependencies
137
  */
139
 
140
 
141
 
142
+
143
  class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
144
  constructor() {
145
  super();
154
  addCesSurveyForAnalytics
155
  } = this.props;
156
  addCesSurveyForAnalytics();
157
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('datepicker_update', {
158
  report,
159
  ...Object(lodash__WEBPACK_IMPORTED_MODULE_3__["omitBy"])(data, lodash__WEBPACK_IMPORTED_MODULE_3__["isUndefined"])
160
  });
187
  eventProperties.filter_variation = data['filter-variations'] || 'all';
188
  }
189
 
190
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filter', eventProperties);
191
  }
192
 
193
  onAdvancedFilterAction(action, data) {
198
 
199
  switch (action) {
200
  case 'add':
201
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_add', {
202
  report,
203
  filter: data.key
204
  });
205
  break;
206
 
207
  case 'remove':
208
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_remove', {
209
  report,
210
  filter: data.key
211
  });
217
  return result;
218
  }, {});
219
  addCesSurveyForAnalytics();
220
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_filter', {
221
  report,
222
  ...snakeCaseData
223
  });
224
  break;
225
 
226
  case 'clear_all':
227
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_clear_all', {
228
  report
229
  });
230
  break;
231
 
232
  case 'match':
233
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_all_any', {
234
  report,
235
  value: data.match
236
  });
252
  compare,
253
  before,
254
  after
255
+ } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["getDateParamsFromQuery"])(query, defaultDateRange);
256
  const {
257
  primary: primaryDate,
258
  secondary: secondaryDate
259
+ } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["getCurrentDates"])(query, defaultDateRange);
260
  const dateQuery = {
261
  period,
262
  compare,
268
  const Currency = this.context;
269
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__["ReportFilters"], {
270
  query: query,
271
+ siteLocale: _utils_admin_settings__WEBPACK_IMPORTED_MODULE_11__[/* LOCALE */ "b"].siteLocale,
272
  currency: Currency.getCurrencyConfig(),
273
  path: path,
274
  filters: filters,
278
  onFilterSelect: this.onFilterSelect,
279
  onAdvancedFilterAction: this.onAdvancedFilterAction,
280
  dateQuery: dateQuery,
281
+ isoDateFormat: _woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["isoDateFormat"]
282
  });
283
  }
284
 
285
  }
286
 
287
+ ReportFilters.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_9__[/* CurrencyContext */ "a"];
288
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(select => {
289
  const {
290
  woocommerce_default_date_range: defaultDateRange
291
+ } = select(_woocommerce_data__WEBPACK_IMPORTED_MODULE_6__["SETTINGS_STORE_NAME"]).getSetting('wc_admin', 'wcAdminSettings');
292
  return {
293
  defaultDateRange
294
  };
295
  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(dispatch => {
296
  const {
297
  addCesSurveyForAnalytics
298
+ } = dispatch(_customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_10__[/* STORE_KEY */ "c"]);
299
  return {
300
  addCesSurveyForAnalytics
301
  };
334
 
335
  /***/ }),
336
 
337
+ /***/ 512:
338
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
339
 
340
  "use strict";
341
 
342
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
343
+ var helpers_extends = __webpack_require__(37);
344
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
345
 
346
  // EXTERNAL MODULE: external ["wp","element"]
350
  var external_wp_components_ = __webpack_require__(3);
351
 
352
  // EXTERNAL MODULE: external ["wp","hooks"]
353
+ var external_wp_hooks_ = __webpack_require__(28);
354
 
355
  // EXTERNAL MODULE: external ["wp","compose"]
356
+ var external_wp_compose_ = __webpack_require__(13);
357
 
358
  // EXTERNAL MODULE: external ["wp","dom"]
359
+ var external_wp_dom_ = __webpack_require__(93);
360
 
361
  // EXTERNAL MODULE: external ["wp","data"]
362
  var external_wp_data_ = __webpack_require__(7);
378
  var external_wc_navigation_ = __webpack_require__(12);
379
 
380
  // EXTERNAL MODULE: external ["wc","csvExport"]
381
+ var external_wc_csvExport_ = __webpack_require__(477);
382
 
383
  // EXTERNAL MODULE: external ["wc","data"]
384
  var external_wc_data_ = __webpack_require__(11);
401
  d: "M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"
402
  })));
403
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
404
+ var report_error = __webpack_require__(509);
405
 
406
  // CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
407
  /**
448
  };
449
  }
450
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
451
+ var constants = __webpack_require__(58);
452
 
453
  // EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
454
+ var style = __webpack_require__(521);
455
 
456
  // CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
457
 
1041
 
1042
  /***/ }),
1043
 
1044
+ /***/ 513:
1045
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1046
 
1047
  "use strict";
1055
  var external_wp_i18n_ = __webpack_require__(2);
1056
 
1057
  // EXTERNAL MODULE: external ["wp","compose"]
1058
+ var external_wp_compose_ = __webpack_require__(13);
1059
 
1060
  // EXTERNAL MODULE: external ["wp","date"]
1061
+ var external_wp_date_ = __webpack_require__(62);
1062
 
1063
  // EXTERNAL MODULE: external ["wp","data"]
1064
  var external_wp_data_ = __webpack_require__(7);
1080
  var external_wc_date_ = __webpack_require__(20);
1081
 
1082
  // EXTERNAL MODULE: ./client/lib/currency-context.js
1083
+ var currency_context = __webpack_require__(506);
1084
 
1085
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
1086
+ var report_error = __webpack_require__(509);
1087
 
1088
  // EXTERNAL MODULE: external ["wc","navigation"]
1089
  var external_wc_navigation_ = __webpack_require__(12);
1094
  */
1095
 
1096
 
1097
+
1098
  const DEFAULT_FILTER = 'all';
1099
  function getSelectedFilter(filters, query, selectedFilterArgs = {}) {
1100
  if (!filters || filters.length === 0) {
1125
 
1126
  return null;
1127
  }
1128
+ function createDateFormatter(format) {
1129
+ return date => Object(external_wp_date_["format"])(format, date);
1130
+ }
1131
  // CONCATENATED MODULE: ./client/analytics/components/report-chart/index.js
1132
 
1133
 
1196
  selectedChart,
1197
  defaultDateRange
1198
  } = this.props;
1199
+ const currentInterval = Object(external_wc_date_["getIntervalForQuery"])(query, defaultDateRange);
1200
  const {
1201
  primary,
1202
  secondary
1244
  query,
1245
  selectedChart,
1246
  showHeaderControls,
1247
+ primaryData,
1248
+ defaultDateRange
1249
  } = this.props;
1250
+ const currentInterval = Object(external_wc_date_["getIntervalForQuery"])(query, defaultDateRange);
1251
+ const allowedIntervals = Object(external_wc_date_["getAllowedIntervalsForQuery"])(query, defaultDateRange);
1252
+ const formats = Object(external_wc_date_["getDateFormatsForInterval"])(currentInterval, primaryData.data.intervals.length, {
1253
+ type: 'php'
1254
+ });
1255
  const emptyMessage = emptySearchResults ? Object(external_wp_i18n_["__"])('No data for the current search', 'woocommerce-admin') : Object(external_wp_i18n_["__"])('No data for the selected date range', 'woocommerce-admin');
1256
  const {
1257
  formatAmount,
1272
  mode: mode,
1273
  path: path,
1274
  query: query,
1275
+ screenReaderFormat: createDateFormatter(formats.screenReaderFormat),
1276
  showHeaderControls: showHeaderControls,
1277
  title: selectedChart.label,
1278
+ tooltipLabelFormat: createDateFormatter(formats.tooltipLabelFormat),
1279
  tooltipTitle: mode === 'time-comparison' && selectedChart.label || null,
1280
  tooltipValueFormat: Object(external_wc_data_["getTooltipValueFormat"])(selectedChart.type, formatAmount),
1281
  chartType: Object(external_wc_date_["getChartTypeForQuery"])(query),
1282
  valueType: selectedChart.type,
1283
+ xFormat: createDateFormatter(formats.xFormat),
1284
+ x2Format: createDateFormatter(formats.x2Format),
1285
  currency: getCurrencyConfig()
1286
  });
1287
  }
1503
 
1504
  /***/ }),
1505
 
1506
+ /***/ 515:
1507
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1508
 
1509
  "use strict";
1537
 
1538
  /***/ }),
1539
 
1540
+ /***/ 516:
1541
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1542
 
1543
  "use strict";
1546
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1547
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
1548
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
1549
+ /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
1550
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
1551
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7);
1552
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
1556
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_5__);
1557
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21);
1558
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_6__);
1559
+ /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(122);
1560
  /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_7__);
1561
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(11);
1562
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_8__);
1564
  /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_9__);
1565
  /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(16);
1566
  /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_10__);
1567
+ /* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(509);
1568
+ /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(506);
1569
 
1570
 
1571
  /**
1658
  orderby,
1659
  label,
1660
  type,
1661
+ isReverseTrend,
1662
+ labelTooltipText
1663
  } = chart;
1664
  const newPath = {
1665
  chart: key
1690
  prevValue: prevValue,
1691
  selected: isSelected,
1692
  value: value,
1693
+ labelTooltipText: labelTooltipText,
1694
  onLinkClickCallback: () => {
1695
  // Wider than a certain breakpoint, there is no dropdown so avoid calling onToggle.
1696
  if (onToggle) {
1824
 
1825
  /***/ }),
1826
 
1827
+ /***/ 521:
1828
  /***/ (function(module, exports, __webpack_require__) {
1829
 
1830
  // extracted by mini-css-extract-plugin
dist/chunks/0.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{505:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d}));var a=r(0),s=r(31),n=r(90),o=r.n(n),i=r(13);const c=o()(i.a),l=e=>{const t=c.getCurrencyConfig(),r=Object(s.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},d=Object(a.createContext)(c)},508:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(1),o=r.n(n),i=r(21);function c({className:e}){const t=Object(s.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),r=Object(s.__)("Reload","woocommerce-admin");return Object(a.createElement)(i.EmptyContent,{className:e,title:t,actionLabel:r,actionCallback:()=>{window.location.reload()}})}c.propTypes={className:o.a.string},t.a=c},510:function(e,t,r){"use strict";var a=r(0),s=r(14),n=r(1),o=r.n(n),i=r(4),c=r(7),l=r(21),d=r(13),m=r(11),u=r(20),p=r(16),b=r(505),y=r(57);class g extends a.Component{constructor(){super(),this.onDateSelect=this.onDateSelect.bind(this),this.onFilterSelect=this.onFilterSelect.bind(this),this.onAdvancedFilterAction=this.onAdvancedFilterAction.bind(this)}onDateSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props;r(),Object(p.recordEvent)("datepicker_update",{report:t,...Object(i.omitBy)(e,i.isUndefined)})}onFilterSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&r();const s={report:t,filter:e.filter||"all"};"single_product"===e.filter&&(s.filter_variation=e["filter-variations"]||"all"),Object(p.recordEvent)("analytics_filter",s)}onAdvancedFilterAction(e,t){const{report:r,addCesSurveyForAnalytics:a}=this.props;switch(e){case"add":Object(p.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(p.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":const e=Object.keys(t).reduce((e,r)=>(e[Object(i.snakeCase)(r)]=t[r],e),{});a(),Object(p.recordEvent)("analytics_filters_filter",{report:r,...e});break;case"clear_all":Object(p.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(p.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}render(){const{advancedFilters:e,filters:t,path:r,query:s,showDatePicker:n,defaultDateRange:o}=this.props,{period:i,compare:c,before:m,after:p}=Object(u.getDateParamsFromQuery)(s,o),{primary:b,secondary:y}=Object(u.getCurrentDates)(s,o),g={period:i,compare:c,before:m,after:p,primaryDate:b,secondaryDate:y},h=this.context;return Object(a.createElement)(l.ReportFilters,{query:s,siteLocale:d.b.siteLocale,currency:h.getCurrencyConfig(),path:r,filters:t,advancedFilters:e,showDatePicker:n,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:g,isoDateFormat:u.isoDateFormat})}}g.contextType=b.a,t.a=Object(s.compose)(Object(c.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(m.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}}),Object(c.withDispatch)(e=>{const{addCesSurveyForAnalytics:t}=e(y.c);return{addCesSurveyForAnalytics:t}}))(g),g.propTypes={advancedFilters:o.a.object,filters:o.a.array,path:o.a.string.isRequired,query:o.a.object,showDatePicker:o.a.bool,report:o.a.string.isRequired}},511:function(e,t,r){"use strict";var a=r(36),s=r.n(a),n=r(0),o=r(3),i=r(31),c=r(14),l=r(92),d=r(7),m=r(4),u=r(2),p=r(1),b=r.n(p),y=r(21),g=r(12),h=r(476),f=r(11),_=r(16),O=()=>Object(n.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(n.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"})),j=r(508);var v=r(57);r(519);const C=e=>{const{getHeadersContent:t,getRowsContent:r,getSummary:a,isRequesting:c,primaryData:d,tableData:p,endpoint:b,itemIdField:v,tableQuery:C,compareBy:w,compareParam:R,searchBy:S,labels:D={},...E}=e,{query:q,columnPrefsKey:F}=e,{items:T,query:k}=p,x=q[R]?Object(g.getIdsFromQuery)(q[w]):[],[P,A]=Object(n.useState)(x),N=Object(n.useRef)(null),{updateUserPreferences:I,...Q}=Object(f.useUserPreferences)();if(p.isError||d.isError)return Object(n.createElement)(j.a,null);let B=[];F&&(B=Q&&Q[F]?Q[F]:B);const L=(e,s,n)=>{const o=a?a(s,n):null;return Object(i.applyFilters)("woocommerce_admin_report_table",{endpoint:b,headers:t(),rows:r(e),totals:s,summary:o,items:T})},V=t=>{const{ids:r}=e;A(t?r:[])},M=(t,r)=>{const{ids:a}=e;if(r)A(Object(m.uniq)([a[t],...P]));else{const e=P.indexOf(a[t]);A([...P.slice(0,e),...P.slice(e+1)])}},H=t=>{const{ids:r=[]}=e,a=-1!==P.indexOf(r[t]);return{display:Object(n.createElement)(o.CheckboxControl,{onChange:Object(m.partial)(M,t),checked:a}),value:!1}},Y=()=>{const{ids:t=[]}=e,r=t.length>0,a=r&&t.length===P.length;return{cellClassName:"is-checkbox-column",key:"compare",label:Object(n.createElement)(o.CheckboxControl,{onChange:V,"aria-label":Object(u.__)("Select All"),checked:a,disabled:!r}),required:!0}},U=c||p.isRequesting||d.isRequesting,G=Object(m.get)(d,["data","totals"],{}),$=T.totalResults||0,z=$>0,J=Object(g.getSearchWords)(q).map(e=>({key:e,label:e})),{data:K}=T,W=L(K,G,$);let{headers:X,rows:Z}=W;const{summary:ee}=W;w&&(Z=Z.map((e,t)=>[H(t),...e]),X=[Y(),...X]);const te=((e,t)=>t?e.map(e=>({...e,visible:e.required||!t.includes(e.key)})):e.map(e=>({...e,visible:e.required||!e.hiddenByDefault})))(X,B);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:N,"aria-hidden":!0}),Object(n.createElement)(y.TableCard,s()({className:"woocommerce-report-table",hasSearch:!!S,actions:[w&&Object(n.createElement)(y.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:P.length,helpText:D.helpText||Object(u.__)("Check at least two items below to compare","woocommerce-admin"),onClick:()=>{w&&Object(g.onQueryChange)("compare")(w,R,P.join(","))},disabled:!z},D.compareButton||Object(u.__)("Compare","woocommerce-admin")),S&&Object(n.createElement)(y.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:t=>{const{baseSearchQuery:r,addCesSurveyForCustomerSearch:a}=e,s=t.map(e=>e.label.replace(",","%2C"));s.length?(Object(g.updateQueryString)({filter:void 0,[R]:void 0,[S]:void 0,...r,search:Object(m.uniq)(s).join(",")}),a()):Object(g.updateQueryString)({search:void 0}),Object(_.recordEvent)("analytics_table_filter",{report:b})},placeholder:D.placeholder||Object(u.__)("Search by item name","woocommerce-admin"),selected:J,showClearButton:!0,type:S,disabled:!z}),z&&Object(n.createElement)(o.Button,{key:"download",className:"woocommerce-table__download-button",disabled:U,onClick:()=>{const{createNotice:t,startExport:r,title:a}=e,s=Object.assign({},q),{data:n,totalResults:o}=T;let i="browser";if(delete s.extended_info,s.search&&delete s[S],n&&n.length===o){const{headers:e,rows:t}=L(n,o);Object(h.downloadCSVFile)(Object(h.generateCSVFileName)(a,s),Object(h.generateCSVDataFromTable)(e,t))}else i="email",r(b,k).then(()=>t("success",Object(u.sprintf)(Object(u.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))).catch(e=>t("error",e.message||Object(u.sprintf)(Object(u.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),a)));Object(_.recordEvent)("analytics_table_download",{report:b,rows:o,download_type:i})}},Object(n.createElement)(O,null),Object(n.createElement)("span",{className:"woocommerce-table__download-button__label"},D.downloadButton||Object(u.__)("Download","woocommerce-admin")))],headers:te,isLoading:U,onQueryChange:g.onQueryChange,onColumnsChange:(e,t)=>{const r=X.map(e=>e.key).filter(t=>!e.includes(t));if(F){I({[F]:r})}if(t){const r={report:b,column:t,status:e.includes(t)?"on":"off"};Object(_.recordEvent)("analytics_table_header_toggle",r)}},onSort:(e,t)=>{Object(g.onQueryChange)("sort")(e,t);const r={report:b,column:e,direction:t};Object(_.recordEvent)("analytics_table_sort",r)},onPageChange:(e,t)=>{N.current.scrollIntoView();const r=N.current.nextSibling.querySelector(".woocommerce-table__table"),a=l.focus.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(_.recordEvent)("analytics_table_go_to_page",{report:b,page:e}):Object(_.recordEvent)("analytics_table_page_click",{report:b,direction:t}))},rows:Z,rowsPerPage:parseInt(k.per_page,10)||f.QUERY_DEFAULTS.pageSize,summary:ee,totalRows:$},E)))};C.propTypes={baseSearchQuery:b.a.object,compareBy:b.a.string,compareParam:b.a.string,columnPrefsKey:b.a.string,endpoint:b.a.string,extendItemsMethodNames:b.a.shape({getError:b.a.string,isRequesting:b.a.string,load:b.a.string}),extendedItemsStoreName:b.a.string,getHeadersContent:b.a.func.isRequired,getRowsContent:b.a.func.isRequired,getSummary:b.a.func,itemIdField:b.a.string,labels:b.a.shape({compareButton:b.a.string,downloadButton:b.a.string,helpText:b.a.string,placeholder:b.a.string}),primaryData:b.a.object,searchBy:b.a.string,summaryFields:b.a.arrayOf(b.a.string),tableData:b.a.object.isRequired,tableQuery:b.a.object,title:b.a.string.isRequired},C.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:m.noop,baseSearchQuery:{}};const w=[],R={};t.a=Object(c.compose)(Object(d.withSelect)((e,t)=>{const{endpoint:r,getSummary:a,isRequesting:s,itemIdField:n,query:o,tableData:i,tableQuery:c,filters:l,advancedFilters:d,summaryFields:u,extendedItemsStoreName:p}=t,b=e(f.REPORTS_STORE_NAME),y=p?e(p):null,{woocommerce_default_date_range:g}=e(f.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),h=o.search&&!(o[r]&&o[r].length);if(s||h)return R;const _="categories"===r?"products":r,O=a?Object(f.getReportChartData)({endpoint:_,selector:b,dataType:"primary",query:o,filters:l,advancedFilters:d,defaultDateRange:g,fields:u}):R,j=i||Object(f.getReportTableData)({endpoint:r,query:o,selector:b,tableQuery:c,filters:l,advancedFilters:d,defaultDateRange:g}),v=y?function(e,t,r){const{extendItemsMethodNames:a,itemIdField:s}=t,n=r.items.data;if(!(Array.isArray(n)&&n.length&&a&&s))return r;const{[a.getError]:o,[a.isRequesting]:i,[a.load]:c}=e,l={include:n.map(e=>e[s]).join(","),per_page:n.length},d=c(l),u=!!i&&i(l),p=!!o&&o(l),b=n.map(e=>{const t=Object(m.first)(d.filter(t=>e.id===t.id));return{...e,...t}}),y=r.isRequesting||u,g=r.isError||p;return{...r,isRequesting:y,isError:g,items:{...r.items,data:b}}}(y,t,j):j;return{primaryData:O,ids:n&&v.items.data?v.items.data.map(e=>e[n]):w,tableData:v,query:o}}),Object(d.withDispatch)(e=>{const{startExport:t}=e(f.EXPORT_STORE_NAME),{createNotice:r}=e("core/notices"),{addCesSurveyForCustomerSearch:a}=e(v.c);return{createNotice:r,startExport:t,addCesSurveyForCustomerSearch:a}}))(C)},512:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(14),o=r(63),i=r(7),c=r(4),l=r(1),d=r.n(l),m=r(21),u=r(11),p=r(20),b=r(505),y=r(508),g=r(12);class h extends a.Component{shouldComponentUpdate(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(c.isEqual)(e.query,this.props.query)}getItemChartData(){const{primaryData:e,selectedChart:t}=this.props;return e.data.intervals.map((function(e){const r={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){const a=r[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;r[e.segment_id]={label:a,value:e.subtotals[t.key]||0}}})),{date:Object(o.format)("Y-m-d\\TH:i:s",e.date_start),...r}}))}getTimeChartData(){const{query:e,primaryData:t,secondaryData:r,selectedChart:a,defaultDateRange:s}=this.props,n=Object(p.getIntervalForQuery)(e),{primary:i,secondary:c}=Object(p.getCurrentDates)(e,s);return t.data.intervals.map((function(t,s){const l=Object(p.getPreviousDate)(t.date_start,i.after,c.after,e.compare,n),d=r.data.intervals[s];return{date:Object(o.format)("Y-m-d\\TH:i:s",t.date_start),primary:{label:`${i.label} (${i.range})`,labelDate:t.date_start,value:t.subtotals[a.key]||0},secondary:{label:`${c.label} (${c.range})`,labelDate:l.format("YYYY-MM-DD HH:mm:ss"),value:d&&d.subtotals[a.key]||0}}}))}getTimeChartTotals(){const{primaryData:e,secondaryData:t,selectedChart:r}=this.props;return{primary:Object(c.get)(e,["data","totals",r.key],null),secondary:Object(c.get)(t,["data","totals",r.key],null)}}renderChart(e,t,r,n){const{emptySearchResults:o,filterParam:i,interactiveLegend:c,itemsLabel:l,legendPosition:d,path:b,query:y,selectedChart:g,showHeaderControls:h,primaryData:f}=this.props,_=Object(p.getIntervalForQuery)(y),O=Object(p.getAllowedIntervalsForQuery)(y),j=Object(p.getDateFormatsForInterval)(_,f.data.intervals.length),v=o?Object(s.__)("No data for the current search","woocommerce-admin"):Object(s.__)("No data for the selected date range","woocommerce-admin"),{formatAmount:C,getCurrencyConfig:w}=this.context;return Object(a.createElement)(m.Chart,{allowedIntervals:O,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:v,filterParam:i,interactiveLegend:c,interval:_,isRequesting:t,itemsLabel:l,legendPosition:d,legendTotals:n,mode:e,path:b,query:y,screenReaderFormat:j.screenReaderFormat,showHeaderControls:h,title:g.label,tooltipLabelFormat:j.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&g.label||null,tooltipValueFormat:Object(u.getTooltipValueFormat)(g.type,C),chartType:Object(p.getChartTypeForQuery)(y),valueType:g.type,xFormat:j.xFormat,x2Format:j.x2Format,currency:w()})}renderItemComparison(){const{isRequesting:e,primaryData:t}=this.props;if(t.isError)return Object(a.createElement)(y.a,null);const r=e||t.isRequesting,s=this.getItemChartData();return this.renderChart("item-comparison",r,s)}renderTimeComparison(){const{isRequesting:e,primaryData:t,secondaryData:r}=this.props;if(!t||t.isError||r.isError)return Object(a.createElement)(y.a,null);const s=e||t.isRequesting||r.isRequesting,n=this.getTimeChartData(),o=this.getTimeChartTotals();return this.renderChart("time-comparison",s,n,o)}render(){const{mode:e}=this.props;return"item-comparison"===e?this.renderItemComparison():this.renderTimeComparison()}}h.contextType=b.a,h.propTypes={filters:d.a.array,isRequesting:d.a.bool,itemsLabel:d.a.string,limitProperties:d.a.array,mode:d.a.string,path:d.a.string.isRequired,primaryData:d.a.object,query:d.a.object.isRequired,secondaryData:d.a.object,selectedChart:d.a.shape({key:d.a.string.isRequired,label:d.a.string.isRequired,order:d.a.oneOf(["asc","desc"]),orderby:d.a.string,type:d.a.oneOf(["average","number","currency"]).isRequired}).isRequired},h.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(n.compose)(Object(i.withSelect)((e,t)=>{const{charts:r,endpoint:a,filters:s,isRequesting:n,limitProperties:o,query:i,advancedFilters:l}=t,d=o||[a],m=function e(t,r,a={}){if(!t||0===t.length)return null;const s=t.slice(0),n=s.pop();if(n.showFilters(r,a)){const e=Object(g.flattenFilters)(n.filters),t=r[n.param]||n.defaultValue||"all";return Object(c.find)(e,{value:t})}return e(s,r,a)}(s,i),p=Object(c.get)(m,["settings","param"]),b=t.mode||function(e,t){if(e&&t){const r=Object(c.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(c.get)(e,["chartMode"])}return null}(m,i)||"time-comparison",{woocommerce_default_date_range:y}=e(u.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),h=e(u.REPORTS_STORE_NAME),f={mode:b,filterParam:p,defaultDateRange:y};if(n)return f;const _=d.some(e=>i[e]&&i[e].length);if(i.search&&!_)return{...f,emptySearchResults:!0};const O=r&&r.map(e=>e.key),j=Object(u.getReportChartData)({endpoint:a,dataType:"primary",query:i,selector:h,limitBy:d,filters:s,advancedFilters:l,defaultDateRange:y,fields:O});if("item-comparison"===b)return{...f,primaryData:j};const v=Object(u.getReportChartData)({endpoint:a,dataType:"secondary",query:i,selector:h,limitBy:d,filters:s,advancedFilters:l,defaultDateRange:y,fields:O});return{...f,primaryData:j,secondaryData:v}}))(h)},514:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var a=r(4);function s(e,t=[]){const r=Object(a.find)(t,{key:e});return r||t[0]}},515:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(14),o=r(7),i=r(1),c=r.n(i),l=r(12),d=r(21),m=r(121),u=r(11),p=r(20),b=r(16),y=r(508),g=r(505);class h extends a.Component{formatVal(e,t){const{formatAmount:r,getCurrencyConfig:a}=this.context;return"currency"===t?r(e):Object(m.formatValue)(a(),t,e)}getValues(e,t){const{emptySearchResults:r,summaryData:a}=this.props,{totals:s}=a,n=s.primary?s.primary[e]:0,o=s.secondary?s.secondary[e]:0,i=r?0:n,c=r?0:o;return{delta:Object(m.calculateDelta)(i,c),prevValue:this.formatVal(c,t),value:this.formatVal(i,t)}}render(){const{charts:e,query:t,selectedChart:r,summaryData:n,endpoint:o,report:i,defaultDateRange:c}=this.props,{isError:m,isRequesting:u}=n;if(m)return Object(a.createElement)(y.a,null);if(u)return Object(a.createElement)(d.SummaryListPlaceholder,{numberOfItems:e.length});const{compare:g}=Object(p.getDateParamsFromQuery)(t,c);return Object(a.createElement)(d.SummaryList,null,({onToggle:t})=>e.map(e=>{const{key:n,order:c,orderby:m,label:u,type:p,isReverseTrend:y}=e,h={chart:n};m&&(h.orderby=m),c&&(h.order=c);const f=Object(l.getNewPath)(h),_=r.key===n,{delta:O,prevValue:j,value:v}=this.getValues(n,p);return Object(a.createElement)(d.SummaryNumber,{key:n,delta:O,href:f,label:u,reverseTrend:y,prevLabel:"previous_period"===g?Object(s.__)("Previous period:","woocommerce-admin"):Object(s.__)("Previous year:","woocommerce-admin"),prevValue:j,selected:_,value:v,onLinkClickCallback:()=>{t&&t(),Object(b.recordEvent)("analytics_chart_tab_click",{report:i||o,key:n})}})}))}}h.propTypes={charts:c.a.array.isRequired,endpoint:c.a.string.isRequired,limitProperties:c.a.array,query:c.a.object.isRequired,selectedChart:c.a.shape({key:c.a.string.isRequired,label:c.a.string.isRequired,order:c.a.oneOf(["asc","desc"]),orderby:c.a.string,type:c.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:c.a.object,report:c.a.string},h.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},h.contextType=g.a,t.a=Object(n.compose)(Object(o.withSelect)((e,t)=>{const{charts:r,endpoint:a,limitProperties:s,query:n,filters:o,advancedFilters:i}=t,c=s||[a],l=c.some(e=>n[e]&&n[e].length);if(n.search&&!l)return{emptySearchResults:!0};const d=r&&r.map(e=>e.key),{woocommerce_default_date_range:m}=e(u.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{summaryData:Object(u.getSummaryNumbers)({endpoint:a,query:n,select:e,limitBy:c,filters:o,advancedFilters:i,defaultDateRange:m,fields:d}),defaultDateRange:m}}))(h)},519:function(e,t,r){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{506:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d}));var a=r(0),s=r(28),n=r(91),o=r.n(n),i=r(22);const c=o()(i.a),l=e=>{const t=c.getCurrencyConfig(),r=Object(s.applyFilters)("woocommerce_admin_report_currency",t,e);return o()(r)},d=Object(a.createContext)(c)},509:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(1),o=r.n(n),i=r(21);function c({className:e}){const t=Object(s.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),r=Object(s.__)("Reload","woocommerce-admin");return Object(a.createElement)(i.EmptyContent,{className:e,title:t,actionLabel:r,actionCallback:()=>{window.location.reload()}})}c.propTypes={className:o.a.string},t.a=c},511:function(e,t,r){"use strict";var a=r(0),s=r(13),n=r(1),o=r.n(n),i=r(4),c=r(7),l=r(21),d=r(11),m=r(20),u=r(16),p=r(506),b=r(58),y=r(22);class g extends a.Component{constructor(){super(),this.onDateSelect=this.onDateSelect.bind(this),this.onFilterSelect=this.onFilterSelect.bind(this),this.onAdvancedFilterAction=this.onAdvancedFilterAction.bind(this)}onDateSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props;r(),Object(u.recordEvent)("datepicker_update",{report:t,...Object(i.omitBy)(e,i.isUndefined)})}onFilterSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&r();const s={report:t,filter:e.filter||"all"};"single_product"===e.filter&&(s.filter_variation=e["filter-variations"]||"all"),Object(u.recordEvent)("analytics_filter",s)}onAdvancedFilterAction(e,t){const{report:r,addCesSurveyForAnalytics:a}=this.props;switch(e){case"add":Object(u.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(u.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":const e=Object.keys(t).reduce((e,r)=>(e[Object(i.snakeCase)(r)]=t[r],e),{});a(),Object(u.recordEvent)("analytics_filters_filter",{report:r,...e});break;case"clear_all":Object(u.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(u.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}render(){const{advancedFilters:e,filters:t,path:r,query:s,showDatePicker:n,defaultDateRange:o}=this.props,{period:i,compare:c,before:d,after:u}=Object(m.getDateParamsFromQuery)(s,o),{primary:p,secondary:b}=Object(m.getCurrentDates)(s,o),g={period:i,compare:c,before:d,after:u,primaryDate:p,secondaryDate:b},h=this.context;return Object(a.createElement)(l.ReportFilters,{query:s,siteLocale:y.b.siteLocale,currency:h.getCurrencyConfig(),path:r,filters:t,advancedFilters:e,showDatePicker:n,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:g,isoDateFormat:m.isoDateFormat})}}g.contextType=p.a,t.a=Object(s.compose)(Object(c.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(d.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}}),Object(c.withDispatch)(e=>{const{addCesSurveyForAnalytics:t}=e(b.c);return{addCesSurveyForAnalytics:t}}))(g),g.propTypes={advancedFilters:o.a.object,filters:o.a.array,path:o.a.string.isRequired,query:o.a.object,showDatePicker:o.a.bool,report:o.a.string.isRequired}},512:function(e,t,r){"use strict";var a=r(37),s=r.n(a),n=r(0),o=r(3),i=r(28),c=r(13),l=r(93),d=r(7),m=r(4),u=r(2),p=r(1),b=r.n(p),y=r(21),g=r(12),h=r(477),f=r(11),_=r(16),O=()=>Object(n.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(n.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"})),j=r(509);var v=r(58);r(521);const C=e=>{const{getHeadersContent:t,getRowsContent:r,getSummary:a,isRequesting:c,primaryData:d,tableData:p,endpoint:b,itemIdField:v,tableQuery:C,compareBy:R,compareParam:w,searchBy:S,labels:D={},...E}=e,{query:q,columnPrefsKey:F}=e,{items:T,query:k}=p,x=q[w]?Object(g.getIdsFromQuery)(q[R]):[],[P,A]=Object(n.useState)(x),N=Object(n.useRef)(null),{updateUserPreferences:I,...Q}=Object(f.useUserPreferences)();if(p.isError||d.isError)return Object(n.createElement)(j.a,null);let B=[];F&&(B=Q&&Q[F]?Q[F]:B);const L=(e,s,n)=>{const o=a?a(s,n):null;return Object(i.applyFilters)("woocommerce_admin_report_table",{endpoint:b,headers:t(),rows:r(e),totals:s,summary:o,items:T})},V=t=>{const{ids:r}=e;A(t?r:[])},M=(t,r)=>{const{ids:a}=e;if(r)A(Object(m.uniq)([a[t],...P]));else{const e=P.indexOf(a[t]);A([...P.slice(0,e),...P.slice(e+1)])}},H=t=>{const{ids:r=[]}=e,a=-1!==P.indexOf(r[t]);return{display:Object(n.createElement)(o.CheckboxControl,{onChange:Object(m.partial)(M,t),checked:a}),value:!1}},Y=()=>{const{ids:t=[]}=e,r=t.length>0,a=r&&t.length===P.length;return{cellClassName:"is-checkbox-column",key:"compare",label:Object(n.createElement)(o.CheckboxControl,{onChange:V,"aria-label":Object(u.__)("Select All"),checked:a,disabled:!r}),required:!0}},U=c||p.isRequesting||d.isRequesting,G=Object(m.get)(d,["data","totals"],{}),$=T.totalResults||0,z=$>0,J=Object(g.getSearchWords)(q).map(e=>({key:e,label:e})),{data:K}=T,W=L(K,G,$);let{headers:X,rows:Z}=W;const{summary:ee}=W;R&&(Z=Z.map((e,t)=>[H(t),...e]),X=[Y(),...X]);const te=((e,t)=>t?e.map(e=>({...e,visible:e.required||!t.includes(e.key)})):e.map(e=>({...e,visible:e.required||!e.hiddenByDefault})))(X,B);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:N,"aria-hidden":!0}),Object(n.createElement)(y.TableCard,s()({className:"woocommerce-report-table",hasSearch:!!S,actions:[R&&Object(n.createElement)(y.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:P.length,helpText:D.helpText||Object(u.__)("Check at least two items below to compare","woocommerce-admin"),onClick:()=>{R&&Object(g.onQueryChange)("compare")(R,w,P.join(","))},disabled:!z},D.compareButton||Object(u.__)("Compare","woocommerce-admin")),S&&Object(n.createElement)(y.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:t=>{const{baseSearchQuery:r,addCesSurveyForCustomerSearch:a}=e,s=t.map(e=>e.label.replace(",","%2C"));s.length?(Object(g.updateQueryString)({filter:void 0,[w]:void 0,[S]:void 0,...r,search:Object(m.uniq)(s).join(",")}),a()):Object(g.updateQueryString)({search:void 0}),Object(_.recordEvent)("analytics_table_filter",{report:b})},placeholder:D.placeholder||Object(u.__)("Search by item name","woocommerce-admin"),selected:J,showClearButton:!0,type:S,disabled:!z}),z&&Object(n.createElement)(o.Button,{key:"download",className:"woocommerce-table__download-button",disabled:U,onClick:()=>{const{createNotice:t,startExport:r,title:a}=e,s=Object.assign({},q),{data:n,totalResults:o}=T;let i="browser";if(delete s.extended_info,s.search&&delete s[S],n&&n.length===o){const{headers:e,rows:t}=L(n,o);Object(h.downloadCSVFile)(Object(h.generateCSVFileName)(a,s),Object(h.generateCSVDataFromTable)(e,t))}else i="email",r(b,k).then(()=>t("success",Object(u.sprintf)(Object(u.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))).catch(e=>t("error",e.message||Object(u.sprintf)(Object(u.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),a)));Object(_.recordEvent)("analytics_table_download",{report:b,rows:o,download_type:i})}},Object(n.createElement)(O,null),Object(n.createElement)("span",{className:"woocommerce-table__download-button__label"},D.downloadButton||Object(u.__)("Download","woocommerce-admin")))],headers:te,isLoading:U,onQueryChange:g.onQueryChange,onColumnsChange:(e,t)=>{const r=X.map(e=>e.key).filter(t=>!e.includes(t));if(F){I({[F]:r})}if(t){const r={report:b,column:t,status:e.includes(t)?"on":"off"};Object(_.recordEvent)("analytics_table_header_toggle",r)}},onSort:(e,t)=>{Object(g.onQueryChange)("sort")(e,t);const r={report:b,column:e,direction:t};Object(_.recordEvent)("analytics_table_sort",r)},onPageChange:(e,t)=>{N.current.scrollIntoView();const r=N.current.nextSibling.querySelector(".woocommerce-table__table"),a=l.focus.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(_.recordEvent)("analytics_table_go_to_page",{report:b,page:e}):Object(_.recordEvent)("analytics_table_page_click",{report:b,direction:t}))},rows:Z,rowsPerPage:parseInt(k.per_page,10)||f.QUERY_DEFAULTS.pageSize,summary:ee,totalRows:$},E)))};C.propTypes={baseSearchQuery:b.a.object,compareBy:b.a.string,compareParam:b.a.string,columnPrefsKey:b.a.string,endpoint:b.a.string,extendItemsMethodNames:b.a.shape({getError:b.a.string,isRequesting:b.a.string,load:b.a.string}),extendedItemsStoreName:b.a.string,getHeadersContent:b.a.func.isRequired,getRowsContent:b.a.func.isRequired,getSummary:b.a.func,itemIdField:b.a.string,labels:b.a.shape({compareButton:b.a.string,downloadButton:b.a.string,helpText:b.a.string,placeholder:b.a.string}),primaryData:b.a.object,searchBy:b.a.string,summaryFields:b.a.arrayOf(b.a.string),tableData:b.a.object.isRequired,tableQuery:b.a.object,title:b.a.string.isRequired},C.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:m.noop,baseSearchQuery:{}};const R=[],w={};t.a=Object(c.compose)(Object(d.withSelect)((e,t)=>{const{endpoint:r,getSummary:a,isRequesting:s,itemIdField:n,query:o,tableData:i,tableQuery:c,filters:l,advancedFilters:d,summaryFields:u,extendedItemsStoreName:p}=t,b=e(f.REPORTS_STORE_NAME),y=p?e(p):null,{woocommerce_default_date_range:g}=e(f.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),h=o.search&&!(o[r]&&o[r].length);if(s||h)return w;const _="categories"===r?"products":r,O=a?Object(f.getReportChartData)({endpoint:_,selector:b,dataType:"primary",query:o,filters:l,advancedFilters:d,defaultDateRange:g,fields:u}):w,j=i||Object(f.getReportTableData)({endpoint:r,query:o,selector:b,tableQuery:c,filters:l,advancedFilters:d,defaultDateRange:g}),v=y?function(e,t,r){const{extendItemsMethodNames:a,itemIdField:s}=t,n=r.items.data;if(!(Array.isArray(n)&&n.length&&a&&s))return r;const{[a.getError]:o,[a.isRequesting]:i,[a.load]:c}=e,l={include:n.map(e=>e[s]).join(","),per_page:n.length},d=c(l),u=!!i&&i(l),p=!!o&&o(l),b=n.map(e=>{const t=Object(m.first)(d.filter(t=>e.id===t.id));return{...e,...t}}),y=r.isRequesting||u,g=r.isError||p;return{...r,isRequesting:y,isError:g,items:{...r.items,data:b}}}(y,t,j):j;return{primaryData:O,ids:n&&v.items.data?v.items.data.map(e=>e[n]):R,tableData:v,query:o}}),Object(d.withDispatch)(e=>{const{startExport:t}=e(f.EXPORT_STORE_NAME),{createNotice:r}=e("core/notices"),{addCesSurveyForCustomerSearch:a}=e(v.c);return{createNotice:r,startExport:t,addCesSurveyForCustomerSearch:a}}))(C)},513:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(13),o=r(62),i=r(7),c=r(4),l=r(1),d=r.n(l),m=r(21),u=r(11),p=r(20),b=r(506),y=r(509),g=r(12);function h(e){return t=>Object(o.format)(e,t)}class f extends a.Component{shouldComponentUpdate(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(c.isEqual)(e.query,this.props.query)}getItemChartData(){const{primaryData:e,selectedChart:t}=this.props;return e.data.intervals.map((function(e){const r={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){const a=r[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;r[e.segment_id]={label:a,value:e.subtotals[t.key]||0}}})),{date:Object(o.format)("Y-m-d\\TH:i:s",e.date_start),...r}}))}getTimeChartData(){const{query:e,primaryData:t,secondaryData:r,selectedChart:a,defaultDateRange:s}=this.props,n=Object(p.getIntervalForQuery)(e,s),{primary:i,secondary:c}=Object(p.getCurrentDates)(e,s);return t.data.intervals.map((function(t,s){const l=Object(p.getPreviousDate)(t.date_start,i.after,c.after,e.compare,n),d=r.data.intervals[s];return{date:Object(o.format)("Y-m-d\\TH:i:s",t.date_start),primary:{label:`${i.label} (${i.range})`,labelDate:t.date_start,value:t.subtotals[a.key]||0},secondary:{label:`${c.label} (${c.range})`,labelDate:l.format("YYYY-MM-DD HH:mm:ss"),value:d&&d.subtotals[a.key]||0}}}))}getTimeChartTotals(){const{primaryData:e,secondaryData:t,selectedChart:r}=this.props;return{primary:Object(c.get)(e,["data","totals",r.key],null),secondary:Object(c.get)(t,["data","totals",r.key],null)}}renderChart(e,t,r,n){const{emptySearchResults:o,filterParam:i,interactiveLegend:c,itemsLabel:l,legendPosition:d,path:b,query:y,selectedChart:g,showHeaderControls:f,primaryData:_,defaultDateRange:O}=this.props,j=Object(p.getIntervalForQuery)(y,O),v=Object(p.getAllowedIntervalsForQuery)(y,O),C=Object(p.getDateFormatsForInterval)(j,_.data.intervals.length,{type:"php"}),R=o?Object(s.__)("No data for the current search","woocommerce-admin"):Object(s.__)("No data for the selected date range","woocommerce-admin"),{formatAmount:w,getCurrencyConfig:S}=this.context;return Object(a.createElement)(m.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:R,filterParam:i,interactiveLegend:c,interval:j,isRequesting:t,itemsLabel:l,legendPosition:d,legendTotals:n,mode:e,path:b,query:y,screenReaderFormat:h(C.screenReaderFormat),showHeaderControls:f,title:g.label,tooltipLabelFormat:h(C.tooltipLabelFormat),tooltipTitle:"time-comparison"===e&&g.label||null,tooltipValueFormat:Object(u.getTooltipValueFormat)(g.type,w),chartType:Object(p.getChartTypeForQuery)(y),valueType:g.type,xFormat:h(C.xFormat),x2Format:h(C.x2Format),currency:S()})}renderItemComparison(){const{isRequesting:e,primaryData:t}=this.props;if(t.isError)return Object(a.createElement)(y.a,null);const r=e||t.isRequesting,s=this.getItemChartData();return this.renderChart("item-comparison",r,s)}renderTimeComparison(){const{isRequesting:e,primaryData:t,secondaryData:r}=this.props;if(!t||t.isError||r.isError)return Object(a.createElement)(y.a,null);const s=e||t.isRequesting||r.isRequesting,n=this.getTimeChartData(),o=this.getTimeChartTotals();return this.renderChart("time-comparison",s,n,o)}render(){const{mode:e}=this.props;return"item-comparison"===e?this.renderItemComparison():this.renderTimeComparison()}}f.contextType=b.a,f.propTypes={filters:d.a.array,isRequesting:d.a.bool,itemsLabel:d.a.string,limitProperties:d.a.array,mode:d.a.string,path:d.a.string.isRequired,primaryData:d.a.object,query:d.a.object.isRequired,secondaryData:d.a.object,selectedChart:d.a.shape({key:d.a.string.isRequired,label:d.a.string.isRequired,order:d.a.oneOf(["asc","desc"]),orderby:d.a.string,type:d.a.oneOf(["average","number","currency"]).isRequired}).isRequired},f.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(n.compose)(Object(i.withSelect)((e,t)=>{const{charts:r,endpoint:a,filters:s,isRequesting:n,limitProperties:o,query:i,advancedFilters:l}=t,d=o||[a],m=function e(t,r,a={}){if(!t||0===t.length)return null;const s=t.slice(0),n=s.pop();if(n.showFilters(r,a)){const e=Object(g.flattenFilters)(n.filters),t=r[n.param]||n.defaultValue||"all";return Object(c.find)(e,{value:t})}return e(s,r,a)}(s,i),p=Object(c.get)(m,["settings","param"]),b=t.mode||function(e,t){if(e&&t){const r=Object(c.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(c.get)(e,["chartMode"])}return null}(m,i)||"time-comparison",{woocommerce_default_date_range:y}=e(u.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),h=e(u.REPORTS_STORE_NAME),f={mode:b,filterParam:p,defaultDateRange:y};if(n)return f;const _=d.some(e=>i[e]&&i[e].length);if(i.search&&!_)return{...f,emptySearchResults:!0};const O=r&&r.map(e=>e.key),j=Object(u.getReportChartData)({endpoint:a,dataType:"primary",query:i,selector:h,limitBy:d,filters:s,advancedFilters:l,defaultDateRange:y,fields:O});if("item-comparison"===b)return{...f,primaryData:j};const v=Object(u.getReportChartData)({endpoint:a,dataType:"secondary",query:i,selector:h,limitBy:d,filters:s,advancedFilters:l,defaultDateRange:y,fields:O});return{...f,primaryData:j,secondaryData:v}}))(f)},515:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var a=r(4);function s(e,t=[]){const r=Object(a.find)(t,{key:e});return r||t[0]}},516:function(e,t,r){"use strict";var a=r(0),s=r(2),n=r(13),o=r(7),i=r(1),c=r.n(i),l=r(12),d=r(21),m=r(122),u=r(11),p=r(20),b=r(16),y=r(509),g=r(506);class h extends a.Component{formatVal(e,t){const{formatAmount:r,getCurrencyConfig:a}=this.context;return"currency"===t?r(e):Object(m.formatValue)(a(),t,e)}getValues(e,t){const{emptySearchResults:r,summaryData:a}=this.props,{totals:s}=a,n=s.primary?s.primary[e]:0,o=s.secondary?s.secondary[e]:0,i=r?0:n,c=r?0:o;return{delta:Object(m.calculateDelta)(i,c),prevValue:this.formatVal(c,t),value:this.formatVal(i,t)}}render(){const{charts:e,query:t,selectedChart:r,summaryData:n,endpoint:o,report:i,defaultDateRange:c}=this.props,{isError:m,isRequesting:u}=n;if(m)return Object(a.createElement)(y.a,null);if(u)return Object(a.createElement)(d.SummaryListPlaceholder,{numberOfItems:e.length});const{compare:g}=Object(p.getDateParamsFromQuery)(t,c);return Object(a.createElement)(d.SummaryList,null,({onToggle:t})=>e.map(e=>{const{key:n,order:c,orderby:m,label:u,type:p,isReverseTrend:y,labelTooltipText:h}=e,f={chart:n};m&&(f.orderby=m),c&&(f.order=c);const _=Object(l.getNewPath)(f),O=r.key===n,{delta:j,prevValue:v,value:C}=this.getValues(n,p);return Object(a.createElement)(d.SummaryNumber,{key:n,delta:j,href:_,label:u,reverseTrend:y,prevLabel:"previous_period"===g?Object(s.__)("Previous period:","woocommerce-admin"):Object(s.__)("Previous year:","woocommerce-admin"),prevValue:v,selected:O,value:C,labelTooltipText:h,onLinkClickCallback:()=>{t&&t(),Object(b.recordEvent)("analytics_chart_tab_click",{report:i||o,key:n})}})}))}}h.propTypes={charts:c.a.array.isRequired,endpoint:c.a.string.isRequired,limitProperties:c.a.array,query:c.a.object.isRequired,selectedChart:c.a.shape({key:c.a.string.isRequired,label:c.a.string.isRequired,order:c.a.oneOf(["asc","desc"]),orderby:c.a.string,type:c.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:c.a.object,report:c.a.string},h.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},h.contextType=g.a,t.a=Object(n.compose)(Object(o.withSelect)((e,t)=>{const{charts:r,endpoint:a,limitProperties:s,query:n,filters:o,advancedFilters:i}=t,c=s||[a],l=c.some(e=>n[e]&&n[e].length);if(n.search&&!l)return{emptySearchResults:!0};const d=r&&r.map(e=>e.key),{woocommerce_default_date_range:m}=e(u.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{summaryData:Object(u.getSummaryNumbers)({endpoint:a,query:n,select:e,limitBy:c,filters:o,advancedFilters:i,defaultDateRange:m,fields:d}),defaultDateRange:m}}))(h)},521:function(e,t,r){}}]);
dist/chunks/1.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[1],{
2
 
3
- /***/ 55:
4
  /***/ (function(module, exports, __webpack_require__) {
5
 
6
  /*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[1],{
2
 
3
+ /***/ 56:
4
  /***/ (function(module, exports, __webpack_require__) {
5
 
6
  /*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
dist/chunks/1.min.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see 1.min.js.LICENSE.txt */
2
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[1],{55:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var f,m=w(Array.prototype.forEach),p=w(Array.prototype.pop),d=w(Array.prototype.push),g=w(String.prototype.toLowerCase),h=w(String.prototype.match),y=w(String.prototype.replace),v=w(String.prototype.indexOf),b=w(String.prototype.trim),A=w(RegExp.prototype.test),T=(f=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(f,t)});function w(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function x(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=g(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function S(t){var n=l(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}function k(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var _=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),F=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),C=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),U=a(/<%[\s\S]*|[\s\S]*%>/gm),H=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(t){return e(t)};if(n.version="2.2.9",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,s=t.Element,u=t.NodeFilter,f=t.NamedNodeMap,w=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,Y=t.Text,J=t.Comment,X=t.DOMParser,$=t.trustedTypes,Z=s.prototype,Q=k(Z,"cloneNode"),ee=k(Z,"nextSibling"),te=k(Z,"childNodes"),ne=k(Z,"parentNode");if("function"==typeof l){var re=o.createElement("template");re.content&&re.content.ownerDocument&&(o=re.content.ownerDocument)}var oe=V($,r),ie=oe&&Ce?oe.createHTML(""):"",ae=o,le=ae.implementation,ce=ae.createNodeIterator,se=ae.createDocumentFragment,ue=r.importNode,fe={};try{fe=S(o).documentMode?o.documentMode:{}}catch(e){}var me={};n.isSupported="function"==typeof ne&&le&&void 0!==le.createHTMLDocument&&9!==fe;var pe=z,de=U,ge=H,he=j,ye=B,ve=W,be=P,Ae=null,Te=x({},[].concat(q(_),q(E),q(R),q(N),q(L))),we=null,xe=x({},[].concat(q(M),q(F),q(I),q(C))),Se=null,ke=null,_e=!0,Ee=!0,Re=!1,De=!1,Ne=!1,Oe=!1,Le=!1,Me=!1,Fe=!1,Ie=!0,Ce=!1,ze=!0,Ue=!0,He=!1,je={},Pe=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Be=null,We=x({},["audio","video","img","source","image","track"]),Ge=null,qe=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=Ye,Xe=!1,$e=null,Ze=o.createElement("form"),Qe=function(e){$e&&$e===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=S(e),Ae="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):Te,we="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):xe,Ge="ADD_URI_SAFE_ATTR"in e?x(S(qe),e.ADD_URI_SAFE_ATTR):qe,Be="ADD_DATA_URI_TAGS"in e?x(S(We),e.ADD_DATA_URI_TAGS):We,Se="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},je="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.SAFE_FOR_TEMPLATES||!1,Ne=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ie=!1!==e.RETURN_DOM_IMPORT,Ce=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Je=e.NAMESPACE||Ye,De&&(Ee=!1),Fe&&(Me=!0),je&&(Ae=x({},[].concat(q(L))),we=[],!0===je.html&&(x(Ae,_),x(we,M)),!0===je.svg&&(x(Ae,E),x(we,F),x(we,C)),!0===je.svgFilters&&(x(Ae,R),x(we,F),x(we,C)),!0===je.mathMl&&(x(Ae,N),x(we,I),x(we,C))),e.ADD_TAGS&&(Ae===Te&&(Ae=S(Ae)),x(Ae,e.ADD_TAGS)),e.ADD_ATTR&&(we===xe&&(we=S(we)),x(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(Ge,e.ADD_URI_SAFE_ATTR),Ue&&(Ae["#text"]=!0),Ne&&x(Ae,["html","head","body"]),Ae.table&&(x(Ae,["tbody"]),delete Se.tbody),i&&i(e),$e=e)},et=x({},["mi","mo","mn","ms","mtext"]),tt=x({},["foreignobject","desc","title","annotation-xml"]),nt=x({},E);x(nt,R),x(nt,D);var rt=x({},N);x(rt,O);var ot=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===Ve)return t.namespaceURI===Ye?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||et[r]):Boolean(nt[n]);if(e.namespaceURI===Ke)return t.namespaceURI===Ye?"math"===n:t.namespaceURI===Ve?"math"===n&&tt[r]:Boolean(rt[n]);if(e.namespaceURI===Ye){if(t.namespaceURI===Ve&&!tt[r])return!1;if(t.namespaceURI===Ke&&!et[r])return!1;var o=x({},["title","style","font","a","script"]);return!rt[n]&&(o[n]||!nt[n])}return!1},it=function(e){d(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},at=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Me||Fe)try{it(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},lt=function(e){var t=void 0,n=void 0;if(Le)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=oe?oe.createHTML(e):e;if(Je===Ye)try{t=(new X).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){t=le.createDocument(Je,"template",null);try{t.documentElement.innerHTML=Xe?"":i}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Ne?t.documentElement:a},ct=function(e){return ce.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},st=function(e){return!(e instanceof Y||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof w&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},ut=function(e){return"object"===(void 0===c?"undefined":G(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ft=function(e,t,r){me[e]&&m(me[e],(function(e){e.call(n,t,r,$e)}))},mt=function(e){var t=void 0;if(ft("beforeSanitizeElements",e,null),st(e))return it(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var r=g(e.nodeName);if(ft("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),!ut(e.firstElementChild)&&(!ut(e.content)||!ut(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent))return it(e),!0;if(!Ae[r]||Se[r]){if(Ue&&!Pe[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(Q(i[a],!0),ee(e))}return it(e),!0}return e instanceof s&&!ot(e)?(it(e),!0):"noscript"!==r&&"noembed"!==r||!A(/<\/no(script|embed)/i,e.innerHTML)?(De&&3===e.nodeType&&(t=e.textContent,t=y(t,pe," "),t=y(t,de," "),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),ft("afterSanitizeElements",e,null),!1):(it(e),!0)},pt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in o||n in Ze))return!1;if(Ee&&A(ge,t));else if(_e&&A(he,t));else{if(!we[t]||ke[t])return!1;if(Ge[t]);else if(A(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Be[e])if(Re&&!A(ye,y(n,ve,"")));else if(n)return!1}return!0},dt=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;ft("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};for(i=a.length;i--;){var c=t=a[i],s=c.name,u=c.namespaceURI;if(r=b(t.value),o=g(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ft("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(at(s,e),l.keepAttr))if(A(/\/>/i,r))at(s,e);else{De&&(r=y(r,pe," "),r=y(r,de," "));var f=e.nodeName.toLowerCase();if(pt(f,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),p(n.removed)}catch(e){}}}ft("afterSanitizeAttributes",e,null)}},gt=function e(t){var n=void 0,r=ct(t);for(ft("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ft("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof a&&e(n.content),dt(n));ft("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,l=void 0,s=void 0,u=void 0,f=void 0;if((Xe=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ut(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(ut(e))return t.toStaticHTML(e.outerHTML)}return e}if(Oe||Qe(o),n.removed=[],"string"==typeof e&&(He=!1),He);else if(e instanceof c)1===(l=(i=lt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!Me&&!De&&!Ne&&-1===e.indexOf("<"))return oe&&Ce?oe.createHTML(e):e;if(!(i=lt(e)))return Me?null:ie}i&&Le&&it(i.firstChild);for(var m=ct(He?e:i);s=m.nextNode();)3===s.nodeType&&s===u||mt(s)||(s.content instanceof a&&gt(s.content),dt(s),u=s);if(u=null,He)return e;if(Me){if(Fe)for(f=se.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return Ie&&(f=ue.call(r,f,!0)),f}var p=Ne?i.outerHTML:i.innerHTML;return De&&(p=y(p,pe," "),p=y(p,de," ")),oe&&Ce?oe.createHTML(p):p},n.setConfig=function(e){Qe(e),Oe=!0},n.clearConfig=function(){$e=null,Oe=!1},n.isValidAttribute=function(e,t,n){$e||Qe({});var r=g(e),o=g(t);return pt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],d(me[e],t))},n.removeHook=function(e){me[e]&&p(me[e])},n.removeHooks=function(e){me[e]&&(me[e]=[])},n.removeAllHooks=function(){me={}},n}()}()}}]);
1
  /*! For license information please see 1.min.js.LICENSE.txt */
2
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[1],{56:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var f,m=w(Array.prototype.forEach),p=w(Array.prototype.pop),d=w(Array.prototype.push),g=w(String.prototype.toLowerCase),h=w(String.prototype.match),y=w(String.prototype.replace),v=w(String.prototype.indexOf),b=w(String.prototype.trim),A=w(RegExp.prototype.test),T=(f=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(f,t)});function w(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function x(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=g(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function S(t){var n=l(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}function k(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var _=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),F=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),C=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),U=a(/<%[\s\S]*|[\s\S]*%>/gm),H=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(t){return e(t)};if(n.version="2.2.9",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,s=t.Element,u=t.NodeFilter,f=t.NamedNodeMap,w=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,Y=t.Text,J=t.Comment,X=t.DOMParser,$=t.trustedTypes,Z=s.prototype,Q=k(Z,"cloneNode"),ee=k(Z,"nextSibling"),te=k(Z,"childNodes"),ne=k(Z,"parentNode");if("function"==typeof l){var re=o.createElement("template");re.content&&re.content.ownerDocument&&(o=re.content.ownerDocument)}var oe=V($,r),ie=oe&&Ce?oe.createHTML(""):"",ae=o,le=ae.implementation,ce=ae.createNodeIterator,se=ae.createDocumentFragment,ue=r.importNode,fe={};try{fe=S(o).documentMode?o.documentMode:{}}catch(e){}var me={};n.isSupported="function"==typeof ne&&le&&void 0!==le.createHTMLDocument&&9!==fe;var pe=z,de=U,ge=H,he=j,ye=B,ve=W,be=P,Ae=null,Te=x({},[].concat(q(_),q(E),q(R),q(N),q(L))),we=null,xe=x({},[].concat(q(M),q(F),q(I),q(C))),Se=null,ke=null,_e=!0,Ee=!0,Re=!1,De=!1,Ne=!1,Oe=!1,Le=!1,Me=!1,Fe=!1,Ie=!0,Ce=!1,ze=!0,Ue=!0,He=!1,je={},Pe=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Be=null,We=x({},["audio","video","img","source","image","track"]),Ge=null,qe=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=Ye,Xe=!1,$e=null,Ze=o.createElement("form"),Qe=function(e){$e&&$e===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=S(e),Ae="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):Te,we="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):xe,Ge="ADD_URI_SAFE_ATTR"in e?x(S(qe),e.ADD_URI_SAFE_ATTR):qe,Be="ADD_DATA_URI_TAGS"in e?x(S(We),e.ADD_DATA_URI_TAGS):We,Se="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},je="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.SAFE_FOR_TEMPLATES||!1,Ne=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ie=!1!==e.RETURN_DOM_IMPORT,Ce=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Je=e.NAMESPACE||Ye,De&&(Ee=!1),Fe&&(Me=!0),je&&(Ae=x({},[].concat(q(L))),we=[],!0===je.html&&(x(Ae,_),x(we,M)),!0===je.svg&&(x(Ae,E),x(we,F),x(we,C)),!0===je.svgFilters&&(x(Ae,R),x(we,F),x(we,C)),!0===je.mathMl&&(x(Ae,N),x(we,I),x(we,C))),e.ADD_TAGS&&(Ae===Te&&(Ae=S(Ae)),x(Ae,e.ADD_TAGS)),e.ADD_ATTR&&(we===xe&&(we=S(we)),x(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(Ge,e.ADD_URI_SAFE_ATTR),Ue&&(Ae["#text"]=!0),Ne&&x(Ae,["html","head","body"]),Ae.table&&(x(Ae,["tbody"]),delete Se.tbody),i&&i(e),$e=e)},et=x({},["mi","mo","mn","ms","mtext"]),tt=x({},["foreignobject","desc","title","annotation-xml"]),nt=x({},E);x(nt,R),x(nt,D);var rt=x({},N);x(rt,O);var ot=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===Ve)return t.namespaceURI===Ye?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||et[r]):Boolean(nt[n]);if(e.namespaceURI===Ke)return t.namespaceURI===Ye?"math"===n:t.namespaceURI===Ve?"math"===n&&tt[r]:Boolean(rt[n]);if(e.namespaceURI===Ye){if(t.namespaceURI===Ve&&!tt[r])return!1;if(t.namespaceURI===Ke&&!et[r])return!1;var o=x({},["title","style","font","a","script"]);return!rt[n]&&(o[n]||!nt[n])}return!1},it=function(e){d(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},at=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Me||Fe)try{it(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},lt=function(e){var t=void 0,n=void 0;if(Le)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=oe?oe.createHTML(e):e;if(Je===Ye)try{t=(new X).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){t=le.createDocument(Je,"template",null);try{t.documentElement.innerHTML=Xe?"":i}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Ne?t.documentElement:a},ct=function(e){return ce.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},st=function(e){return!(e instanceof Y||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof w&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},ut=function(e){return"object"===(void 0===c?"undefined":G(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ft=function(e,t,r){me[e]&&m(me[e],(function(e){e.call(n,t,r,$e)}))},mt=function(e){var t=void 0;if(ft("beforeSanitizeElements",e,null),st(e))return it(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var r=g(e.nodeName);if(ft("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),!ut(e.firstElementChild)&&(!ut(e.content)||!ut(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent))return it(e),!0;if(!Ae[r]||Se[r]){if(Ue&&!Pe[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(Q(i[a],!0),ee(e))}return it(e),!0}return e instanceof s&&!ot(e)?(it(e),!0):"noscript"!==r&&"noembed"!==r||!A(/<\/no(script|embed)/i,e.innerHTML)?(De&&3===e.nodeType&&(t=e.textContent,t=y(t,pe," "),t=y(t,de," "),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),ft("afterSanitizeElements",e,null),!1):(it(e),!0)},pt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in o||n in Ze))return!1;if(Ee&&A(ge,t));else if(_e&&A(he,t));else{if(!we[t]||ke[t])return!1;if(Ge[t]);else if(A(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Be[e])if(Re&&!A(ye,y(n,ve,"")));else if(n)return!1}return!0},dt=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;ft("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};for(i=a.length;i--;){var c=t=a[i],s=c.name,u=c.namespaceURI;if(r=b(t.value),o=g(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ft("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(at(s,e),l.keepAttr))if(A(/\/>/i,r))at(s,e);else{De&&(r=y(r,pe," "),r=y(r,de," "));var f=e.nodeName.toLowerCase();if(pt(f,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),p(n.removed)}catch(e){}}}ft("afterSanitizeAttributes",e,null)}},gt=function e(t){var n=void 0,r=ct(t);for(ft("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ft("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof a&&e(n.content),dt(n));ft("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,l=void 0,s=void 0,u=void 0,f=void 0;if((Xe=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ut(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(ut(e))return t.toStaticHTML(e.outerHTML)}return e}if(Oe||Qe(o),n.removed=[],"string"==typeof e&&(He=!1),He);else if(e instanceof c)1===(l=(i=lt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!Me&&!De&&!Ne&&-1===e.indexOf("<"))return oe&&Ce?oe.createHTML(e):e;if(!(i=lt(e)))return Me?null:ie}i&&Le&&it(i.firstChild);for(var m=ct(He?e:i);s=m.nextNode();)3===s.nodeType&&s===u||mt(s)||(s.content instanceof a&&gt(s.content),dt(s),u=s);if(u=null,He)return e;if(Me){if(Fe)for(f=se.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return Ie&&(f=ue.call(r,f,!0)),f}var p=Ne?i.outerHTML:i.innerHTML;return De&&(p=y(p,pe," "),p=y(p,de," ")),oe&&Ce?oe.createHTML(p):p},n.setConfig=function(e){Qe(e),Oe=!0},n.clearConfig=function(){$e=null,Oe=!1},n.isValidAttribute=function(e,t,n){$e||Qe({});var r=g(e),o=g(t);return pt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],d(me[e],t))},n.removeHook=function(e){me[e]&&p(me[e])},n.removeHooks=function(e){me[e]&&(me[e]=[])},n.removeAllHooks=function(){me={}},n}()}()}}]);
dist/chunks/2.js CHANGED
@@ -1,18 +1,18 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[2],{
2
 
3
- /***/ 169:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
7
 
8
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
9
- var esm_extends = __webpack_require__(23);
10
 
11
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
12
- var objectWithoutPropertiesLoose = __webpack_require__(22);
13
 
14
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
15
- var inheritsLoose = __webpack_require__(25);
16
 
17
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
18
  var prop_types = __webpack_require__(1);
@@ -66,7 +66,7 @@ var external_React_ = __webpack_require__(5);
66
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
67
 
68
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/Transition.js + 1 modules
69
- var Transition = __webpack_require__(69);
70
 
71
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
72
 
@@ -355,16 +355,16 @@ CSSTransition_CSSTransition.propTypes = false ? undefined : {};
355
 
356
  /***/ }),
357
 
358
- /***/ 173:
359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
360
 
361
  "use strict";
362
 
363
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
364
- var objectWithoutPropertiesLoose = __webpack_require__(22);
365
 
366
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
367
- var esm_extends = __webpack_require__(23);
368
 
369
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
370
  function _assertThisInitialized(self) {
@@ -375,7 +375,7 @@ function _assertThisInitialized(self) {
375
  return self;
376
  }
377
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
378
- var inheritsLoose = __webpack_require__(25);
379
 
380
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
381
  var prop_types = __webpack_require__(1);
@@ -385,7 +385,7 @@ var external_React_ = __webpack_require__(5);
385
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
386
 
387
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
388
- var TransitionGroupContext = __webpack_require__(33);
389
 
390
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js
391
 
@@ -664,7 +664,7 @@ TransitionGroup_TransitionGroup.defaultProps = defaultProps;
664
 
665
  /***/ }),
666
 
667
- /***/ 33:
668
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
669
 
670
  "use strict";
@@ -675,7 +675,7 @@ TransitionGroup_TransitionGroup.defaultProps = defaultProps;
675
 
676
  /***/ }),
677
 
678
- /***/ 69:
679
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
680
 
681
  "use strict";
@@ -683,10 +683,10 @@ TransitionGroup_TransitionGroup.defaultProps = defaultProps;
683
  // UNUSED EXPORTS: UNMOUNTED, EXITED, ENTERING, ENTERED, EXITING
684
 
685
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
686
- var objectWithoutPropertiesLoose = __webpack_require__(22);
687
 
688
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
689
- var inheritsLoose = __webpack_require__(25);
690
 
691
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
692
  var prop_types = __webpack_require__(1);
@@ -696,7 +696,7 @@ var external_React_ = __webpack_require__(5);
696
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
697
 
698
  // EXTERNAL MODULE: external "ReactDOM"
699
- var external_ReactDOM_ = __webpack_require__(29);
700
  var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_ReactDOM_);
701
 
702
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
@@ -704,7 +704,7 @@ var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_Reac
704
  disabled: false
705
  });
706
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
707
- var TransitionGroupContext = __webpack_require__(33);
708
 
709
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
710
 
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[2],{
2
 
3
+ /***/ 170:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
7
 
8
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
9
+ var esm_extends = __webpack_require__(24);
10
 
11
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
12
+ var objectWithoutPropertiesLoose = __webpack_require__(23);
13
 
14
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
15
+ var inheritsLoose = __webpack_require__(26);
16
 
17
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
18
  var prop_types = __webpack_require__(1);
66
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
67
 
68
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/Transition.js + 1 modules
69
+ var Transition = __webpack_require__(70);
70
 
71
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
72
 
355
 
356
  /***/ }),
357
 
358
+ /***/ 174:
359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
360
 
361
  "use strict";
362
 
363
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
364
+ var objectWithoutPropertiesLoose = __webpack_require__(23);
365
 
366
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
367
+ var esm_extends = __webpack_require__(24);
368
 
369
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
370
  function _assertThisInitialized(self) {
375
  return self;
376
  }
377
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
378
+ var inheritsLoose = __webpack_require__(26);
379
 
380
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
381
  var prop_types = __webpack_require__(1);
385
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
386
 
387
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
388
+ var TransitionGroupContext = __webpack_require__(34);
389
 
390
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js
391
 
664
 
665
  /***/ }),
666
 
667
+ /***/ 34:
668
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
669
 
670
  "use strict";
675
 
676
  /***/ }),
677
 
678
+ /***/ 70:
679
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
680
 
681
  "use strict";
683
  // UNUSED EXPORTS: UNMOUNTED, EXITED, ENTERING, ENTERED, EXITING
684
 
685
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
686
+ var objectWithoutPropertiesLoose = __webpack_require__(23);
687
 
688
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
689
+ var inheritsLoose = __webpack_require__(26);
690
 
691
  // EXTERNAL MODULE: ./node_modules/prop-types/index.js
692
  var prop_types = __webpack_require__(1);
696
  var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
697
 
698
  // EXTERNAL MODULE: external "ReactDOM"
699
+ var external_ReactDOM_ = __webpack_require__(31);
700
  var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_ReactDOM_);
701
 
702
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
704
  disabled: false
705
  });
706
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
707
+ var TransitionGroupContext = __webpack_require__(34);
708
 
709
  // CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
710
 
dist/chunks/2.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{169:function(e,t,n){"use strict";var i=n(23),s=n(22),r=n(25);n(1);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var o=n(5),l=n.n(o),c=n(69),u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=a(n.className,i):n.setAttribute("class",a(n.className&&n.className.baseVal||"",i)));var n,i}))},p=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1];t.removeClasses(s,"exit"),t.addClass(s,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.addClass(s,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.removeClasses(s,r),t.addClass(s,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,s=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:s,activeClassName:i?s+"-active":n[e+"Active"],doneClassName:i?s+"-done":n[e+"Done"]}},t}Object(r.a)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],s=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&s&&(i+=" "+s),"active"===n&&e&&e.scrollTop,i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,s=n.active,r=n.done;this.appliedClasses[t]={},i&&u(e,i),s&&u(e,s),r&&u(e,r)},n.render=function(){var e=this.props,t=(e.classNames,Object(s.a)(e,["classNames"]));return l.a.createElement(c.a,Object(i.a)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.a.Component);p.defaultProps={classNames:""},p.propTypes={};t.a=p},173:function(e,t,n){"use strict";var i=n(22),s=n(23);var r=n(25),a=(n(1),n(5)),o=n.n(a),l=n(33);function c(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(a.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function p(e,t,n){var i=c(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,s=Object.create(null),r=[];for(var a in e)a in t?r.length&&(s[a]=r,r=[]):r.push(a);var o={};for(var l in t){if(s[l])for(i=0;i<s[l].length;i++){var c=s[l][i];o[s[l][i]]=n(c)}o[l]=n(l)}for(i=0;i<r.length;i++)o[r[i]]=n(r[i]);return o}(t,i);return Object.keys(s).forEach((function(r){var o=s[r];if(Object(a.isValidElement)(o)){var l=r in t,c=r in i,p=t[r],d=Object(a.isValidElement)(p)&&!p.props.in;!c||l&&!d?c||!l||d?c&&l&&Object(a.isValidElement)(p)&&(s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:p.props.in,exit:u(o,"exit",e),enter:u(o,"enter",e)})):s[r]=Object(a.cloneElement)(o,{in:!1}):s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:u(o,"exit",e),enter:u(o,"enter",e)})}})),s}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var i,s=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,s=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,c(n.children,(function(e){return Object(a.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):p(e,s,r),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(s.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,s=Object(i.a)(e,["component","childFactory"]),r=this.state.contextValue,a=d(this.state.children).map(n);return delete s.appear,delete s.enter,delete s.exit,null===t?o.a.createElement(l.a.Provider,{value:r},a):o.a.createElement(l.a.Provider,{value:r},o.a.createElement(t,s,a))},t}(o.a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};t.a=f},33:function(e,t,n){"use strict";var i=n(5),s=n.n(i);t.a=s.a.createContext(null)},69:function(e,t,n){"use strict";var i=n(22),s=n(25),r=(n(1),n(5)),a=n.n(r),o=n(29),l=n.n(o),c=!1,u=n(33),p=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var s,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(s="exited",i.appearStatus="entering"):s="entered":s=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",i.state={status:s},i.nextCallback=null,i}Object(s.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,s=this.props.nodeRef?[i]:[l.a.findDOMNode(this),i],r=s[0],a=s[1],o=this.getTimeouts(),u=i?o.appear:o.enter;!e&&!n||c?this.safeSetState({status:"entered"},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(r,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(r,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:l.a.findDOMNode(this);t&&!c?(this.props.onExit(i),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=s[0],a=s[1];this.props.addEndListener(r,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,s=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(i.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"==typeof n?n(e,s):a.a.cloneElement(a.a.Children.only(n),s))},t}(a.a.Component);function d(){}p.contextType=u.a,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},p.UNMOUNTED="unmounted",p.EXITED="exited",p.ENTERING="entering",p.ENTERED="entered",p.EXITING="exiting";t.a=p}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{170:function(e,t,n){"use strict";var i=n(24),s=n(23),r=n(26);n(1);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var o=n(5),l=n.n(o),c=n(70),u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=a(n.className,i):n.setAttribute("class",a(n.className&&n.className.baseVal||"",i)));var n,i}))},p=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1];t.removeClasses(s,"exit"),t.addClass(s,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.addClass(s,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.removeClasses(s,r),t.addClass(s,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,s=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:s,activeClassName:i?s+"-active":n[e+"Active"],doneClassName:i?s+"-done":n[e+"Done"]}},t}Object(r.a)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],s=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&s&&(i+=" "+s),"active"===n&&e&&e.scrollTop,i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,s=n.active,r=n.done;this.appliedClasses[t]={},i&&u(e,i),s&&u(e,s),r&&u(e,r)},n.render=function(){var e=this.props,t=(e.classNames,Object(s.a)(e,["classNames"]));return l.a.createElement(c.a,Object(i.a)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.a.Component);p.defaultProps={classNames:""},p.propTypes={};t.a=p},174:function(e,t,n){"use strict";var i=n(23),s=n(24);var r=n(26),a=(n(1),n(5)),o=n.n(a),l=n(34);function c(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(a.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function p(e,t,n){var i=c(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,s=Object.create(null),r=[];for(var a in e)a in t?r.length&&(s[a]=r,r=[]):r.push(a);var o={};for(var l in t){if(s[l])for(i=0;i<s[l].length;i++){var c=s[l][i];o[s[l][i]]=n(c)}o[l]=n(l)}for(i=0;i<r.length;i++)o[r[i]]=n(r[i]);return o}(t,i);return Object.keys(s).forEach((function(r){var o=s[r];if(Object(a.isValidElement)(o)){var l=r in t,c=r in i,p=t[r],d=Object(a.isValidElement)(p)&&!p.props.in;!c||l&&!d?c||!l||d?c&&l&&Object(a.isValidElement)(p)&&(s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:p.props.in,exit:u(o,"exit",e),enter:u(o,"enter",e)})):s[r]=Object(a.cloneElement)(o,{in:!1}):s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:u(o,"exit",e),enter:u(o,"enter",e)})}})),s}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var i,s=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,s=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,c(n.children,(function(e){return Object(a.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):p(e,s,r),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(s.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,s=Object(i.a)(e,["component","childFactory"]),r=this.state.contextValue,a=d(this.state.children).map(n);return delete s.appear,delete s.enter,delete s.exit,null===t?o.a.createElement(l.a.Provider,{value:r},a):o.a.createElement(l.a.Provider,{value:r},o.a.createElement(t,s,a))},t}(o.a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};t.a=f},34:function(e,t,n){"use strict";var i=n(5),s=n.n(i);t.a=s.a.createContext(null)},70:function(e,t,n){"use strict";var i=n(23),s=n(26),r=(n(1),n(5)),a=n.n(r),o=n(31),l=n.n(o),c=!1,u=n(34),p=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var s,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(s="exited",i.appearStatus="entering"):s="entered":s=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",i.state={status:s},i.nextCallback=null,i}Object(s.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,s=this.props.nodeRef?[i]:[l.a.findDOMNode(this),i],r=s[0],a=s[1],o=this.getTimeouts(),u=i?o.appear:o.enter;!e&&!n||c?this.safeSetState({status:"entered"},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(r,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(r,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:l.a.findDOMNode(this);t&&!c?(this.props.onExit(i),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=s[0],a=s[1];this.props.addEndListener(r,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,s=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(i.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"==typeof n?n(e,s):a.a.cloneElement(a.a.Children.only(n),s))},t}(a.a.Component);function d(){}p.contextType=u.a,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},p.UNMOUNTED="unmounted",p.EXITED="exited",p.ENTERING="entering",p.ENTERED="entered",p.EXITING="exiting";t.a=p}}]);
dist/chunks/3.js CHANGED
@@ -1,6 +1,89 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[3],{
2
 
3
- /***/ 520:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -17,7 +100,7 @@ var classnames = __webpack_require__(6);
17
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
18
 
19
  // EXTERNAL MODULE: ./node_modules/gridicons/dist/notice-outline.js
20
- var notice_outline = __webpack_require__(68);
21
  var notice_outline_default = /*#__PURE__*/__webpack_require__.n(notice_outline);
22
 
23
  // EXTERNAL MODULE: external "moment"
@@ -35,7 +118,7 @@ var external_wc_components_ = __webpack_require__(21);
35
  var external_wp_components_ = __webpack_require__(3);
36
 
37
  // EXTERNAL MODULE: ./client/activity-panel/activity-card/style.scss
38
- var style = __webpack_require__(554);
39
 
40
  // EXTERNAL MODULE: external "lodash"
41
  var external_lodash_ = __webpack_require__(4);
@@ -210,71 +293,6 @@ activity_card_ActivityCard.defaultProps = {
210
 
211
 
212
 
213
- /***/ }),
214
-
215
- /***/ 544:
216
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
217
-
218
- "use strict";
219
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getUrlParams; });
220
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getScreenName; });
221
- /* unused harmony export sift */
222
- /**
223
- * Get the URL params.
224
- *
225
- * @param {string} locationSearch - Querystring part of a URL, including the question mark (?).
226
- * @return {Object} - URL params.
227
- */
228
- function getUrlParams(locationSearch) {
229
- if (locationSearch) {
230
- return locationSearch.substr(1).split('&').reduce((params, query) => {
231
- const chunks = query.split('=');
232
- const key = chunks[0];
233
- let value = decodeURIComponent(chunks[1]);
234
- value = isNaN(Number(value)) ? value : Number(value);
235
- return params[key] = value, params;
236
- }, {});
237
- }
238
-
239
- return {};
240
- }
241
- /**
242
- * Get the current screen name.
243
- *
244
- * @return {string} - Screen name.
245
- */
246
-
247
- function getScreenName() {
248
- let screenName = '';
249
- const {
250
- page,
251
- path,
252
- post_type: postType
253
- } = getUrlParams(window.location.search);
254
-
255
- if (page) {
256
- const currentPage = page === 'wc-admin' ? 'home_screen' : page;
257
- screenName = path ? path.replace(/\//g, '_').substring(1) : currentPage;
258
- } else if (postType) {
259
- screenName = postType;
260
- }
261
-
262
- return screenName;
263
- }
264
- /**
265
- * Similar to filter, but return two arrays separated by a partitioner function
266
- *
267
- * @param {Array} arr - Original array of values.
268
- * @param {Function} partitioner - Function to return truthy/falsy values to separate items in array.
269
- *
270
- * @return {Array} - Array of two arrays, first including truthy values, and second including falsy.
271
- */
272
-
273
- const sift = (arr, partitioner) => arr.reduce((all, curr) => {
274
- all[!!partitioner(curr) ? 0 : 1].push(curr);
275
- return all;
276
- }, [[], []]);
277
-
278
  /***/ }),
279
 
280
  /***/ 547:
@@ -304,10 +322,10 @@ var external_wp_data_ = __webpack_require__(7);
304
  var external_wc_tracks_ = __webpack_require__(16);
305
 
306
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
307
- var TransitionGroup = __webpack_require__(173);
308
 
309
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 3 modules
310
- var CSSTransition = __webpack_require__(169);
311
 
312
  // EXTERNAL MODULE: external ["wc","experimental"]
313
  var external_wc_experimental_ = __webpack_require__(17);
@@ -317,13 +335,13 @@ var external_moment_ = __webpack_require__(9);
317
  var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
318
 
319
  // EXTERNAL MODULE: ./client/activity-panel/activity-card/index.js + 1 modules
320
- var activity_card = __webpack_require__(520);
321
 
322
  // EXTERNAL MODULE: ./client/inbox-panel/utils.js
323
- var utils = __webpack_require__(176);
324
 
325
- // EXTERNAL MODULE: ./client/utils/index.js
326
- var client_utils = __webpack_require__(544);
327
 
328
  // CONCATENATED MODULE: ./client/inbox-panel/dissmiss-all-modal.js
329
 
@@ -394,7 +412,7 @@ const DissmissAllModal = ({
394
 
395
  /* harmony default export */ var dissmiss_all_modal = (DissmissAllModal);
396
  // EXTERNAL MODULE: ./client/inbox-panel/index.scss
397
- var inbox_panel = __webpack_require__(558);
398
 
399
  // CONCATENATED MODULE: ./client/inbox-panel/index.js
400
 
@@ -462,7 +480,7 @@ const renderNotes = ({
462
  hasFiredPanelViewTrack = true;
463
  }
464
 
465
- const screen = Object(client_utils["a" /* getScreenName */])();
466
 
467
  const onNoteVisible = note => {
468
  Object(external_wc_tracks_["recordEvent"])('inbox_note_view', {
@@ -579,7 +597,7 @@ const InboxPanel = ({
579
  const [showDismissAllModal, setShowDismissAllModal] = Object(external_wp_element_["useState"])(false);
580
 
581
  const onDismiss = note => {
582
- const screen = Object(client_utils["a" /* getScreenName */])();
583
  Object(external_wc_tracks_["recordEvent"])('inbox_action_dismiss', {
584
  note_name: note.name,
585
  note_title: note.title,
@@ -608,7 +626,7 @@ const InboxPanel = ({
608
 
609
  const onNoteActionClick = (note, action) => {
610
  triggerNoteAction(note.id, action.id);
611
- const screen = Object(client_utils["a" /* getScreenName */])();
612
  Object(external_wc_tracks_["recordEvent"])('inbox_action_click', {
613
  note_content: note.content,
614
  note_name: note.name,
@@ -662,21 +680,21 @@ const InboxPanel = ({
662
 
663
  /***/ }),
664
 
665
- /***/ 554:
666
  /***/ (function(module, exports, __webpack_require__) {
667
 
668
  // extracted by mini-css-extract-plugin
669
 
670
  /***/ }),
671
 
672
- /***/ 558:
673
  /***/ (function(module, exports, __webpack_require__) {
674
 
675
  // extracted by mini-css-extract-plugin
676
 
677
  /***/ }),
678
 
679
- /***/ 68:
680
  /***/ (function(module, exports, __webpack_require__) {
681
 
682
  "use strict";
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[3],{
2
 
3
+ /***/ 518:
4
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+ "use strict";
7
+
8
+ // EXPORTS
9
+ __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ getPluginSlug; });
10
+ __webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ getPluginTrackKey; });
11
+ __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ getUrlParams; });
12
+ __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ getScreenName; });
13
+
14
+ // UNUSED EXPORTS: sift
15
+
16
+ // CONCATENATED MODULE: ./client/utils/plugins.ts
17
+ function getPluginSlug(id) {
18
+ return (id || '').split(':', 1)[0];
19
+ }
20
+ function getPluginTrackKey(id) {
21
+ const slug = getPluginSlug(id);
22
+ const key = /^woocommerce(-|_)payments$/.test(slug) ? 'wcpay' : `${slug.replace(/-/g, '_')}`.split(':', 1)[0];
23
+ return key;
24
+ }
25
+ // CONCATENATED MODULE: ./client/utils/index.js
26
+
27
+ /**
28
+ * Get the URL params.
29
+ *
30
+ * @param {string} locationSearch - Querystring part of a URL, including the question mark (?).
31
+ * @return {Object} - URL params.
32
+ */
33
+
34
+ function getUrlParams(locationSearch) {
35
+ if (locationSearch) {
36
+ return locationSearch.substr(1).split('&').reduce((params, query) => {
37
+ const chunks = query.split('=');
38
+ const key = chunks[0];
39
+ let value = decodeURIComponent(chunks[1]);
40
+ value = isNaN(Number(value)) ? value : Number(value);
41
+ return params[key] = value, params;
42
+ }, {});
43
+ }
44
+
45
+ return {};
46
+ }
47
+ /**
48
+ * Get the current screen name.
49
+ *
50
+ * @return {string} - Screen name.
51
+ */
52
+
53
+ function getScreenName() {
54
+ let screenName = '';
55
+ const {
56
+ page,
57
+ path,
58
+ post_type: postType
59
+ } = getUrlParams(window.location.search);
60
+
61
+ if (page) {
62
+ const currentPage = page === 'wc-admin' ? 'home_screen' : page;
63
+ screenName = path ? path.replace(/\//g, '_').substring(1) : currentPage;
64
+ } else if (postType) {
65
+ screenName = postType;
66
+ }
67
+
68
+ return screenName;
69
+ }
70
+ /**
71
+ * Similar to filter, but return two arrays separated by a partitioner function
72
+ *
73
+ * @param {Array} arr - Original array of values.
74
+ * @param {Function} partitioner - Function to return truthy/falsy values to separate items in array.
75
+ *
76
+ * @return {Array} - Array of two arrays, first including truthy values, and second including falsy.
77
+ */
78
+
79
+ const sift = (arr, partitioner) => arr.reduce((all, curr) => {
80
+ all[!!partitioner(curr) ? 0 : 1].push(curr);
81
+ return all;
82
+ }, [[], []]);
83
+
84
+ /***/ }),
85
+
86
+ /***/ 522:
87
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
88
 
89
  "use strict";
100
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
101
 
102
  // EXTERNAL MODULE: ./node_modules/gridicons/dist/notice-outline.js
103
+ var notice_outline = __webpack_require__(69);
104
  var notice_outline_default = /*#__PURE__*/__webpack_require__.n(notice_outline);
105
 
106
  // EXTERNAL MODULE: external "moment"
118
  var external_wp_components_ = __webpack_require__(3);
119
 
120
  // EXTERNAL MODULE: ./client/activity-panel/activity-card/style.scss
121
+ var style = __webpack_require__(555);
122
 
123
  // EXTERNAL MODULE: external "lodash"
124
  var external_lodash_ = __webpack_require__(4);
293
 
294
 
295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  /***/ }),
297
 
298
  /***/ 547:
322
  var external_wc_tracks_ = __webpack_require__(16);
323
 
324
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
325
+ var TransitionGroup = __webpack_require__(174);
326
 
327
  // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 3 modules
328
+ var CSSTransition = __webpack_require__(170);
329
 
330
  // EXTERNAL MODULE: external ["wc","experimental"]
331
  var external_wc_experimental_ = __webpack_require__(17);
335
  var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
336
 
337
  // EXTERNAL MODULE: ./client/activity-panel/activity-card/index.js + 1 modules
338
+ var activity_card = __webpack_require__(522);
339
 
340
  // EXTERNAL MODULE: ./client/inbox-panel/utils.js
341
+ var utils = __webpack_require__(177);
342
 
343
+ // EXTERNAL MODULE: ./client/utils/index.js + 1 modules
344
+ var client_utils = __webpack_require__(518);
345
 
346
  // CONCATENATED MODULE: ./client/inbox-panel/dissmiss-all-modal.js
347
 
412
 
413
  /* harmony default export */ var dissmiss_all_modal = (DissmissAllModal);
414
  // EXTERNAL MODULE: ./client/inbox-panel/index.scss
415
+ var inbox_panel = __webpack_require__(559);
416
 
417
  // CONCATENATED MODULE: ./client/inbox-panel/index.js
418
 
480
  hasFiredPanelViewTrack = true;
481
  }
482
 
483
+ const screen = Object(client_utils["c" /* getScreenName */])();
484
 
485
  const onNoteVisible = note => {
486
  Object(external_wc_tracks_["recordEvent"])('inbox_note_view', {
597
  const [showDismissAllModal, setShowDismissAllModal] = Object(external_wp_element_["useState"])(false);
598
 
599
  const onDismiss = note => {
600
+ const screen = Object(client_utils["c" /* getScreenName */])();
601
  Object(external_wc_tracks_["recordEvent"])('inbox_action_dismiss', {
602
  note_name: note.name,
603
  note_title: note.title,
626
 
627
  const onNoteActionClick = (note, action) => {
628
  triggerNoteAction(note.id, action.id);
629
+ const screen = Object(client_utils["c" /* getScreenName */])();
630
  Object(external_wc_tracks_["recordEvent"])('inbox_action_click', {
631
  note_content: note.content,
632
  note_name: note.name,
680
 
681
  /***/ }),
682
 
683
+ /***/ 555:
684
  /***/ (function(module, exports, __webpack_require__) {
685
 
686
  // extracted by mini-css-extract-plugin
687
 
688
  /***/ }),
689
 
690
+ /***/ 559:
691
  /***/ (function(module, exports, __webpack_require__) {
692
 
693
  // extracted by mini-css-extract-plugin
694
 
695
  /***/ }),
696
 
697
+ /***/ 69:
698
  /***/ (function(module, exports, __webpack_require__) {
699
 
700
  "use strict";
dist/chunks/3.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{520:function(e,t,c){"use strict";c.d(t,"a",(function(){return j})),c.d(t,"b",(function(){return p}));var o=c(0),a=c(6),n=c.n(a),s=c(68),i=c.n(s),r=c(9),l=c.n(r),m=c(1),d=c.n(m),b=c(21),_=c(3),u=(c(554),c(4));class O extends o.Component{render(){const{className:e,hasAction:t,hasDate:c,hasSubtitle:a,lines:s}=this.props,i=n()("woocommerce-activity-card is-loading",e);return Object(o.createElement)("div",{className:i,"aria-hidden":!0},Object(o.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(o.createElement)("span",{className:"is-placeholder"})),Object(o.createElement)("div",{className:"woocommerce-activity-card__header"},Object(o.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),a&&Object(o.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(o.createElement)("div",{className:"woocommerce-activity-card__date"},Object(o.createElement)("span",{className:"is-placeholder"}))),Object(o.createElement)("div",{className:"woocommerce-activity-card__body"},Object(u.range)(s).map(e=>Object(o.createElement)("span",{className:"is-placeholder",key:e}))),t&&Object(o.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(o.createElement)("span",{className:"is-placeholder"})))}}O.propTypes={className:d.a.string,hasAction:d.a.bool,hasDate:d.a.bool,hasSubtitle:d.a.bool,lines:d.a.number},O.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var p=O;class j extends o.Component{getCard(){const{actions:e,className:t,children:c,date:a,icon:s,subtitle:i,title:r,unread:m}=this.props,d=n()("woocommerce-activity-card",t),_=Array.isArray(e)?e:[e],u=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(a)?l.a.utc(a).fromNow():a;return Object(o.createElement)("section",{className:d},m&&Object(o.createElement)("span",{className:"woocommerce-activity-card__unread"}),s&&Object(o.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},s),r&&Object(o.createElement)("header",{className:"woocommerce-activity-card__header"},Object(o.createElement)(b.H,{className:"woocommerce-activity-card__title"},r),i&&Object(o.createElement)("div",{className:"woocommerce-activity-card__subtitle"},i),u&&Object(o.createElement)("span",{className:"woocommerce-activity-card__date"},u)),c&&Object(o.createElement)(b.Section,{className:"woocommerce-activity-card__body"},c),e&&Object(o.createElement)("footer",{className:"woocommerce-activity-card__actions"},_.map((e,t)=>Object(o.cloneElement)(e,{key:t}))))}render(){const{onClick:e}=this.props;return e?Object(o.createElement)(_.Button,{className:"woocommerce-activity-card__button",onClick:e},this.getCard()):this.getCard()}}j.propTypes={actions:d.a.oneOfType([d.a.arrayOf(d.a.element),d.a.element]),onClick:d.a.func,className:d.a.string,children:d.a.node,date:d.a.string,icon:d.a.node,subtitle:d.a.node,title:d.a.oneOfType([d.a.string,d.a.node]),unread:d.a.bool},j.defaultProps={icon:Object(o.createElement)(i.a,{size:48}),unread:!1}},544:function(e,t,c){"use strict";function o(e){return e?e.substr(1).split("&").reduce((e,t)=>{const c=t.split("="),o=c[0];let a=decodeURIComponent(c[1]);return a=isNaN(Number(a))?a:Number(a),e[o]=a,e},{}):{}}function a(){let e="";const{page:t,path:c,post_type:a}=o(window.location.search);if(t){const o="wc-admin"===t?"home_screen":t;e=c?c.replace(/\//g,"_").substring(1):o}else a&&(e=a);return e}c.d(t,"b",(function(){return o})),c.d(t,"a",(function(){return a}))},547:function(e,t,c){"use strict";var o=c(0),a=c(2),n=c(21),s=c(3),i=c(11),r=c(7),l=c(16),m=c(173),d=c(169),b=c(17),_=c(9),u=c.n(_),O=c(520),p=c(176),j=c(544);var w=({onClose:e})=>{const{createNotice:t}=Object(r.useDispatch)("core/notices"),{batchUpdateNotes:c,removeAllNotes:n}=Object(r.useDispatch)(i.NOTES_STORE_NAME);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.Modal,{title:Object(a.__)("Dismiss all messages","woocommerce-admin"),className:"woocommerce-inbox-dismiss-all-modal",onRequestClose:e},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-all-modal__wrapper"},Object(o.createElement)("div",{className:"woocommerce-usage-modal__message"},Object(a.__)("Are you sure? Inbox messages will be dismissed forever.","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-usage-modal__actions"},Object(o.createElement)(s.Button,{onClick:e},Object(a.__)("Cancel","woocommerce-admin")),Object(o.createElement)(s.Button,{isPrimary:!0,onClick:()=>{(async()=>{Object(l.recordEvent)("wcadmin_inbox_action_dismissall",{});try{const e=await n({status:"unactioned"});t("success",Object(a.__)("All messages dismissed","woocommerce-admin"),{actions:[{label:Object(a.__)("Undo","woocommerce-admin"),onClick:()=>{c(e.map(e=>e.id),{is_deleted:0})}}]})}catch(c){t("error",Object(a.__)("Messages could not be dismissed","woocommerce-admin")),e()}})(),e()}},Object(a.__)("Yes, dismiss all","woocommerce-admin"))))))};c(558);const E=(e,t)=>{Object(l.recordEvent)("inbox_action_click",{note_name:e.name,note_title:e.title,note_content_inner_link:t})};let N=!1;const h=({hasNotes:e,isBatchUpdating:t,notes:c,onDismiss:i,onNoteActionClick:r,setShowDismissAllModal:_,showHeader:u=!0})=>{if(t)return;if(!e)return Object(o.createElement)(O.a,{className:"woocommerce-empty-activity-card",title:Object(a.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(a.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"));N||(Object(l.recordEvent)("inbox_panel_view",{total:c.length}),N=!0);const p=Object(j.a)(),w=e=>{Object(l.recordEvent)("inbox_note_view",{note_content:e.content,note_name:e.name,note_title:e.title,note_type:e.type,screen:p})},h=Object.keys(c).map(e=>c[e]);return Object(o.createElement)(s.Card,{size:"large"},u&&Object(o.createElement)(s.CardHeader,{size:"medium"},Object(o.createElement)("div",{className:"wooocommerce-inbox-card__header"},Object(o.createElement)(b.Text,{size:"20",lineHeight:"28px",variant:"title.small"},Object(a.__)("Inbox","woocommerce-admin")),Object(o.createElement)(n.Badge,{count:h.length})),Object(o.createElement)(n.EllipsisMenu,{label:Object(a.__)("Inbox Notes Options","woocommerce-admin"),renderContent:({onToggle:e})=>Object(o.createElement)("div",{className:"woocommerce-inbox-card__section-controls"},Object(o.createElement)(s.Button,{onClick:()=>{_(!0),e()}},Object(a.__)("Dismiss all","woocommerce-admin")))})),Object(o.createElement)(m.a,{role:"menu"},h.map(e=>{const{id:t,is_deleted:c}=e;return c?null:Object(o.createElement)(d.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(o.createElement)(b.InboxNoteCard,{key:t,note:e,onDismiss:i,onNoteActionClick:r,onBodyLinkClick:E,onNoteVisible:w}))})))},g={page:1,per_page:i.QUERY_DEFAULTS.pageSize,status:"unactioned,actioned",type:i.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted","is_read","locale"]};t.a=({showHeader:e=!0})=>{const{createNotice:t}=Object(r.useDispatch)("core/notices"),{removeNote:c,updateNote:s,triggerNoteAction:m}=Object(r.useDispatch)(i.NOTES_STORE_NAME),{isError:d,isResolvingNotes:_,isBatchUpdating:O,notes:E}=Object(r.useSelect)(e=>{const{getNotes:t,getNotesError:c,isResolving:o,isNotesRequesting:a}=e(i.NOTES_STORE_NAME),n=u()("2022-01-11","YYYY-MM-DD").valueOf(),s=["en_US","en_AU","en_CA","en_GB","en_ZA"];return{notes:t(g).map(e=>{const t=u()(e.date_created_gmt,"YYYY-MM-DD").valueOf();return s.includes(e.locale)&&t>=n&&(e.content=Object(p.c)(e.content,320)),e}),isError:Boolean(c("getNotes",[g])),isResolvingNotes:o("getNotes",[g]),isBatchUpdating:a("batchUpdateNotes")}}),[N,v]=Object(o.useState)(!1);if(d){const e=Object(a.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),t=Object(a.__)("Reload","woocommerce-admin"),c=()=>{window.location.reload()};return Object(o.createElement)(n.EmptyContent,{title:e,actionLabel:t,actionURL:null,actionCallback:c})}const y=Object(p.b)(E);return Object(o.createElement)(o.Fragment,null,N&&Object(o.createElement)(w,{onClose:()=>{v(!1)}}),Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(_||O)&&Object(o.createElement)(n.Section,null,Object(o.createElement)(b.InboxNotePlaceholder,{className:"banner message-is-unread"})),Object(o.createElement)(n.Section,null,!_&&!O&&h({hasNotes:y,isBatchUpdating:O,notes:E,onDismiss:e=>{const o=Object(j.a)();Object(l.recordEvent)("inbox_action_dismiss",{note_name:e.name,note_title:e.title,note_name_dismiss_all:!1,note_name_dismiss_confirmation:!0,screen:o});const n=e.id;try{c(n),t("success",Object(a.__)("Message dismissed","woocommerce-admin"),{actions:[{label:Object(a.__)("Undo","woocommerce-admin"),onClick:()=>{s(n,{is_deleted:0})}}]})}catch(e){t("error",Object(a._n)("Message could not be dismissed","Messages could not be dismissed",1,"woocommerce-admin"))}},onNoteActionClick:(e,t)=>{m(e.id,t.id);const c=Object(j.a)();Object(l.recordEvent)("inbox_action_click",{note_content:e.content,note_name:e.name,note_title:e.title,note_type:e.type,screen:c})},setShowDismissAllModal:v,showHeader:e}))))}},554:function(e,t,c){},558:function(e,t,c){},68:function(e,t,c){"use strict";var o=Object.assign||function(e){for(var t,c=1;c<arguments.length;c++)for(var o in t=arguments[c])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,c=e.size,a=void 0===c?24:c,n=e.onClick,i=(e.icon,e.className),r=function(e,t){var c={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(c[o]=e[o]);return c}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",i,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return s.default.createElement("svg",o({className:l,height:a,width:a,onClick:n},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,n=c(5),s=(a=n)&&a.__esModule?a:{default:a};e.exports=t.default}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{518:function(e,t,c){"use strict";function o(e){return(e||"").split(":",1)[0]}function a(e){const t=o(e);return/^woocommerce(-|_)payments$/.test(t)?"wcpay":(""+t.replace(/-/g,"_")).split(":",1)[0]}function n(e){return e?e.substr(1).split("&").reduce((e,t)=>{const c=t.split("="),o=c[0];let a=decodeURIComponent(c[1]);return a=isNaN(Number(a))?a:Number(a),e[o]=a,e},{}):{}}function s(){let e="";const{page:t,path:c,post_type:o}=n(window.location.search);if(t){const o="wc-admin"===t?"home_screen":t;e=c?c.replace(/\//g,"_").substring(1):o}else o&&(e=o);return e}c.d(t,"a",(function(){return o})),c.d(t,"b",(function(){return a})),c.d(t,"d",(function(){return n})),c.d(t,"c",(function(){return s}))},522:function(e,t,c){"use strict";c.d(t,"a",(function(){return j})),c.d(t,"b",(function(){return p}));var o=c(0),a=c(6),n=c.n(a),s=c(69),i=c.n(s),r=c(9),l=c.n(r),m=c(1),d=c.n(m),_=c(21),b=c(3),u=(c(555),c(4));class O extends o.Component{render(){const{className:e,hasAction:t,hasDate:c,hasSubtitle:a,lines:s}=this.props,i=n()("woocommerce-activity-card is-loading",e);return Object(o.createElement)("div",{className:i,"aria-hidden":!0},Object(o.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(o.createElement)("span",{className:"is-placeholder"})),Object(o.createElement)("div",{className:"woocommerce-activity-card__header"},Object(o.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),a&&Object(o.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(o.createElement)("div",{className:"woocommerce-activity-card__date"},Object(o.createElement)("span",{className:"is-placeholder"}))),Object(o.createElement)("div",{className:"woocommerce-activity-card__body"},Object(u.range)(s).map(e=>Object(o.createElement)("span",{className:"is-placeholder",key:e}))),t&&Object(o.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(o.createElement)("span",{className:"is-placeholder"})))}}O.propTypes={className:d.a.string,hasAction:d.a.bool,hasDate:d.a.bool,hasSubtitle:d.a.bool,lines:d.a.number},O.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var p=O;class j extends o.Component{getCard(){const{actions:e,className:t,children:c,date:a,icon:s,subtitle:i,title:r,unread:m}=this.props,d=n()("woocommerce-activity-card",t),b=Array.isArray(e)?e:[e],u=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(a)?l.a.utc(a).fromNow():a;return Object(o.createElement)("section",{className:d},m&&Object(o.createElement)("span",{className:"woocommerce-activity-card__unread"}),s&&Object(o.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},s),r&&Object(o.createElement)("header",{className:"woocommerce-activity-card__header"},Object(o.createElement)(_.H,{className:"woocommerce-activity-card__title"},r),i&&Object(o.createElement)("div",{className:"woocommerce-activity-card__subtitle"},i),u&&Object(o.createElement)("span",{className:"woocommerce-activity-card__date"},u)),c&&Object(o.createElement)(_.Section,{className:"woocommerce-activity-card__body"},c),e&&Object(o.createElement)("footer",{className:"woocommerce-activity-card__actions"},b.map((e,t)=>Object(o.cloneElement)(e,{key:t}))))}render(){const{onClick:e}=this.props;return e?Object(o.createElement)(b.Button,{className:"woocommerce-activity-card__button",onClick:e},this.getCard()):this.getCard()}}j.propTypes={actions:d.a.oneOfType([d.a.arrayOf(d.a.element),d.a.element]),onClick:d.a.func,className:d.a.string,children:d.a.node,date:d.a.string,icon:d.a.node,subtitle:d.a.node,title:d.a.oneOfType([d.a.string,d.a.node]),unread:d.a.bool},j.defaultProps={icon:Object(o.createElement)(i.a,{size:48}),unread:!1}},547:function(e,t,c){"use strict";var o=c(0),a=c(2),n=c(21),s=c(3),i=c(11),r=c(7),l=c(16),m=c(174),d=c(170),_=c(17),b=c(9),u=c.n(b),O=c(522),p=c(177),j=c(518);var w=({onClose:e})=>{const{createNotice:t}=Object(r.useDispatch)("core/notices"),{batchUpdateNotes:c,removeAllNotes:n}=Object(r.useDispatch)(i.NOTES_STORE_NAME);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.Modal,{title:Object(a.__)("Dismiss all messages","woocommerce-admin"),className:"woocommerce-inbox-dismiss-all-modal",onRequestClose:e},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-all-modal__wrapper"},Object(o.createElement)("div",{className:"woocommerce-usage-modal__message"},Object(a.__)("Are you sure? Inbox messages will be dismissed forever.","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-usage-modal__actions"},Object(o.createElement)(s.Button,{onClick:e},Object(a.__)("Cancel","woocommerce-admin")),Object(o.createElement)(s.Button,{isPrimary:!0,onClick:()=>{(async()=>{Object(l.recordEvent)("wcadmin_inbox_action_dismissall",{});try{const e=await n({status:"unactioned"});t("success",Object(a.__)("All messages dismissed","woocommerce-admin"),{actions:[{label:Object(a.__)("Undo","woocommerce-admin"),onClick:()=>{c(e.map(e=>e.id),{is_deleted:0})}}]})}catch(c){t("error",Object(a.__)("Messages could not be dismissed","woocommerce-admin")),e()}})(),e()}},Object(a.__)("Yes, dismiss all","woocommerce-admin"))))))};c(559);const E=(e,t)=>{Object(l.recordEvent)("inbox_action_click",{note_name:e.name,note_title:e.title,note_content_inner_link:t})};let N=!1;const h=({hasNotes:e,isBatchUpdating:t,notes:c,onDismiss:i,onNoteActionClick:r,setShowDismissAllModal:b,showHeader:u=!0})=>{if(t)return;if(!e)return Object(o.createElement)(O.a,{className:"woocommerce-empty-activity-card",title:Object(a.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(a.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"));N||(Object(l.recordEvent)("inbox_panel_view",{total:c.length}),N=!0);const p=Object(j.c)(),w=e=>{Object(l.recordEvent)("inbox_note_view",{note_content:e.content,note_name:e.name,note_title:e.title,note_type:e.type,screen:p})},h=Object.keys(c).map(e=>c[e]);return Object(o.createElement)(s.Card,{size:"large"},u&&Object(o.createElement)(s.CardHeader,{size:"medium"},Object(o.createElement)("div",{className:"wooocommerce-inbox-card__header"},Object(o.createElement)(_.Text,{size:"20",lineHeight:"28px",variant:"title.small"},Object(a.__)("Inbox","woocommerce-admin")),Object(o.createElement)(n.Badge,{count:h.length})),Object(o.createElement)(n.EllipsisMenu,{label:Object(a.__)("Inbox Notes Options","woocommerce-admin"),renderContent:({onToggle:e})=>Object(o.createElement)("div",{className:"woocommerce-inbox-card__section-controls"},Object(o.createElement)(s.Button,{onClick:()=>{b(!0),e()}},Object(a.__)("Dismiss all","woocommerce-admin")))})),Object(o.createElement)(m.a,{role:"menu"},h.map(e=>{const{id:t,is_deleted:c}=e;return c?null:Object(o.createElement)(d.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(o.createElement)(_.InboxNoteCard,{key:t,note:e,onDismiss:i,onNoteActionClick:r,onBodyLinkClick:E,onNoteVisible:w}))})))},g={page:1,per_page:i.QUERY_DEFAULTS.pageSize,status:"unactioned,actioned",type:i.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted","is_read","locale"]};t.a=({showHeader:e=!0})=>{const{createNotice:t}=Object(r.useDispatch)("core/notices"),{removeNote:c,updateNote:s,triggerNoteAction:m}=Object(r.useDispatch)(i.NOTES_STORE_NAME),{isError:d,isResolvingNotes:b,isBatchUpdating:O,notes:E}=Object(r.useSelect)(e=>{const{getNotes:t,getNotesError:c,isResolving:o,isNotesRequesting:a}=e(i.NOTES_STORE_NAME),n=u()("2022-01-11","YYYY-MM-DD").valueOf(),s=["en_US","en_AU","en_CA","en_GB","en_ZA"];return{notes:t(g).map(e=>{const t=u()(e.date_created_gmt,"YYYY-MM-DD").valueOf();return s.includes(e.locale)&&t>=n&&(e.content=Object(p.c)(e.content,320)),e}),isError:Boolean(c("getNotes",[g])),isResolvingNotes:o("getNotes",[g]),isBatchUpdating:a("batchUpdateNotes")}}),[N,v]=Object(o.useState)(!1);if(d){const e=Object(a.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),t=Object(a.__)("Reload","woocommerce-admin"),c=()=>{window.location.reload()};return Object(o.createElement)(n.EmptyContent,{title:e,actionLabel:t,actionURL:null,actionCallback:c})}const y=Object(p.b)(E);return Object(o.createElement)(o.Fragment,null,N&&Object(o.createElement)(w,{onClose:()=>{v(!1)}}),Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(b||O)&&Object(o.createElement)(n.Section,null,Object(o.createElement)(_.InboxNotePlaceholder,{className:"banner message-is-unread"})),Object(o.createElement)(n.Section,null,!b&&!O&&h({hasNotes:y,isBatchUpdating:O,notes:E,onDismiss:e=>{const o=Object(j.c)();Object(l.recordEvent)("inbox_action_dismiss",{note_name:e.name,note_title:e.title,note_name_dismiss_all:!1,note_name_dismiss_confirmation:!0,screen:o});const n=e.id;try{c(n),t("success",Object(a.__)("Message dismissed","woocommerce-admin"),{actions:[{label:Object(a.__)("Undo","woocommerce-admin"),onClick:()=>{s(n,{is_deleted:0})}}]})}catch(e){t("error",Object(a._n)("Message could not be dismissed","Messages could not be dismissed",1,"woocommerce-admin"))}},onNoteActionClick:(e,t)=>{m(e.id,t.id);const c=Object(j.c)();Object(l.recordEvent)("inbox_action_click",{note_content:e.content,note_name:e.name,note_title:e.title,note_type:e.type,screen:c})},setShowDismissAllModal:v,showHeader:e}))))}},555:function(e,t,c){},559:function(e,t,c){},69:function(e,t,c){"use strict";var o=Object.assign||function(e){for(var t,c=1;c<arguments.length;c++)for(var o in t=arguments[c])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,c=e.size,a=void 0===c?24:c,n=e.onClick,i=(e.icon,e.className),r=function(e,t){var c={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(c[o]=e[o]);return c}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",i,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return s.default.createElement("svg",o({className:l,height:a,width:a,onClick:n},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),s.default.createElement("g",null,s.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,n=c(5),s=(a=n)&&a.__esModule?a:{default:a};e.exports=t.default}}]);
dist/chunks/3.style.css CHANGED
@@ -1 +1 @@
1
- .woocommerce-activity-panel .woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-panel .woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:grid;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-panel .woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:left;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);right:18px;right:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media(min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:grid;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-left:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media(min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:right;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-right:24px;margin-right:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card{grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" • "}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media(max-width:782px){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{grid-template-columns:64px 1fr}}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;left:0;right:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-right:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(50%);transition:opacity .5s,transform .5s,max-height .5s}.wooocommerce-inbox-card__header .woocommerce-badge{margin-left:16px}.woocommerce-inbox-dismiss-all-modal{width:565px;max-width:100%}.woocommerce-inbox-dismiss-all-modal .components-modal__content:before{margin-bottom:0}.woocommerce-inbox-dismiss-all-modal .components-modal__header{border-bottom:1px solid #ddd!important}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__message{box-sizing:border-box;border-bottom:1px solid #ddd;padding:32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px;font-size:1.2em}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__actions button{margin-left:16px}
1
+ .woocommerce-activity-panel .woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-panel .woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:grid;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-panel .woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:left;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);right:18px;right:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media(min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:grid;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-left:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media(min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:right;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-right:24px;margin-right:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card{grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" • "}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media(max-width:782px){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card{grid-template-columns:64px 1fr}}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;left:0;right:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-right:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(50%);transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-dismiss-all-modal{width:565px;max-width:100%}.woocommerce-inbox-dismiss-all-modal .components-modal__content:before{margin-bottom:0}.woocommerce-inbox-dismiss-all-modal .components-modal__header{border-bottom:1px solid #ddd!important}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__message{box-sizing:border-box;border-bottom:1px solid #ddd;padding:32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px;font-size:1.2em}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.woocommerce-inbox-dismiss-all-modal .woocommerce-usage-modal__actions button{margin-left:16px}
dist/chunks/31.style.css CHANGED
@@ -1 +1 @@
1
- .woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media(min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-left:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-homescreen .woocommerce-activity-panel{background:transparent;border:0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-homescreen .woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-title p{margin-right:16px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-left:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media(max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-navigation-intro-modal{width:670px}@media(max-width:782px){.woocommerce-navigation-intro-modal{width:350px}}.woocommerce-navigation-intro-modal .components-guide__page-control{order:3;margin:16px 0}.woocommerce-navigation-intro-modal .components-guide__page-control li{margin:0}.woocommerce-navigation-intro-modal .components-modal__header{display:none}.woocommerce-navigation-intro-modal .components-guide__container{margin-top:0}.woocommerce-navigation-intro-modal .components-guide__footer{box-sizing:border-box;margin:0;height:0;overflow:visible}.woocommerce-navigation-intro-modal .components-guide__footer .components-button{position:absolute;bottom:100%;margin-bottom:16px}.woocommerce-navigation-intro-modal .components-guide__footer .components-guide__back-button{display:none}.woocommerce-navigation-intro-modal.components-modal__frame.components-guide{height:auto}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper{display:grid;grid-template-columns:1fr 1fr}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper img{max-width:100%}@media(max-width:782px){.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper{grid-template-columns:1fr}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper .woocommerce-navigation-intro-modal__image-wrapper{grid-row:1;max-height:328px;overflow:hidden}}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-text{padding:24px;display:flex;flex-direction:column;justify-content:center}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-text h2{font-weight:700;margin-bottom:8px}.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-right:24px;padding-left:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-right:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-left:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-left:0}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 27px 16px 24px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-left:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}.woocommerce-layout__header-back-button{cursor:pointer;margin-left:40px;margin-left:var(--large-gap);margin-right:-16px;display:flex;z-index:2}.woocommerce-layout__header-back-button:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}.woocommerce-task-list__item{overflow:hidden}.woocommerce-task-list__item.woocommerce-list__item-enter{opacity:0;max-height:0}.woocommerce-task-list__item.woocommerce-list__item-enter-active{opacity:1;max-height:100px;transition:opacity .5s,max-height .5s}.woocommerce-task-list__item.woocommerce-list__item-exit{opacity:1;max-height:100px}.woocommerce-task-list__item.woocommerce-list__item-exit-active{opacity:0;max-height:0;transition:opacity .5s,max-height .5s}.woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-left:auto;margin-right:auto;margin-bottom:24px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-task-dashboard__container .woocommerce-task-payments{width:680px;margin:auto;max-width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header .woocommerce-badge{margin-left:16px}.woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-text .woocommerce-pill{padding:1px 8px;margin-left:8px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-list__item-expandable-content,.woocommerce-task__additional-info,.woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-list__item-expandable-content{font-size:13px}.components-modal__screen-overlay{background:rgba(43,45,47,.4)}.components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 8px 0 0}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-left:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-left:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-left:10px solid transparent;border-right:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-left:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-right:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-card__section-controls{text-align:center}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-task-dashboard__container .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media(max-width:782px){.woocommerce-task-dashboard__container .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-task-dashboard__container .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-task-dashboard__container .components-form-toggle{display:inline-block}.woocommerce-task-dashboard__container .components-form-toggle label{font-size:14px}.woocommerce-task-dashboard__container .components-form-toggle .components-base-control{display:inline-block}.woocommerce-task-dashboard__container .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden}.woocommerce-task-payment .components-card__media{width:170px;flex-shrink:0}.woocommerce-task-payment .components-card__media .is-placeholder,.woocommerce-task-payment .components-card__media img,.woocommerce-task-payment .components-card__media svg{margin:auto;max-width:100px;display:block}.woocommerce-task-payment .components-card__media .is-placeholder{height:36px}.woocommerce-task-payment .woocommerce-task-payment__footer .is-placeholder{width:70px;height:36px}.woocommerce-task-payment>.components-form-toggle{min-width:52px}.woocommerce-task-payment .woocommerce-task-payment__title{display:flex;align-items:center;font-size:16px;font-weight:500;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 36px 0 0}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .woocommerce-task-payment__description{flex:1}@media(max-width:600px){.woocommerce-task-payment{flex-wrap:wrap}.woocommerce-task-payment .woocommerce-task-payment__content{margin:0}.woocommerce-task-payment .components-card__media{order:1;flex-basis:50%}.woocommerce-task-payment .components-card__media>img,.woocommerce-task-payment .components-card__media>svg{margin:0 0 0 24px}.woocommerce-task-payment .woocommerce-task-payment__description{order:3;padding:24px 0 0 24px}.woocommerce-task-payment .woocommerce-task-payment__footer{flex-basis:50%;align-self:flex-start;order:2;text-align:right}}.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;max-width:240px;width:80%}.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;width:60%}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step:first-child .woocommerce-stepper__step-label{width:30%}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-number{display:none}.woocommerce-task-payments .components-card+.components-card{margin-top:24px}.woocommerce-task-payments .woocommerce-task-payment__setup_required{display:flex;align-items:center;font-size:14px;margin-left:12px;font-weight:400;gap:3px}.woocommerce-task-payments .woocommerce-task-payment__setup_required>svg{fill:#efb854}.woocommerce-task-payments .components-card__header{font-size:20px;font-weight:400;line-height:28px;margin:0}.woocommerce-task-payments .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-left:12px;padding:1px 10px}.woocommerce-task-payments .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payments .components-card__divider:last-child{display:none}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-method__fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-right:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-left:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-11px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-11px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-right:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-left:4px}.woocommerce-task-marketing .components-card__header{flex-direction:column;align-items:flex-start;display:flex!important}.woocommerce-task-marketing .components-card__header h2{align-self:start!important;color:#1e1e1e;font-size:20px;margin-bottom:0}.woocommerce-task-marketing .components-card__header span{margin-left:0;margin-top:8px;color:#757575}.woocommerce-plugin-list__plugin{display:flex;padding:24px;border-top:1px solid #e0e0e0}.woocommerce-plugin-list__plugin:first-child{border-top:0}.woocommerce-plugin-list__plugin h4{margin-bottom:12px;font-weight:600;color:#1e1e1e}.woocommerce-plugin-list__plugin p{color:#757575;font-weight:400}.woocommerce-plugin-list__plugin-logo{margin-right:45px;display:flex;align-items:center}.woocommerce-plugin-list__plugin-logo img{width:50px}.woocommerce-plugin-list__plugin-text{max-width:370px;margin-right:16px}.woocommerce-plugin-list__plugin-text .woocommerce-pill{color:#646970;margin-left:12px}.woocommerce-plugin-list__plugin-action{display:flex;align-items:center;margin-left:auto}.woocommerce-plugin-list__title{padding:36px 30px 16px;position:relative}.woocommerce-plugin-list__title h3{font-weight:500;color:#000;text-transform:uppercase}.woocommerce-plugin-list__plugin{border-top:none;border-bottom:1px solid #e0e0e0}@media(min-width:601px){.woocommerce-product-template-modal{min-width:565px}}.woocommerce-product-template-modal .woocommerce-product-template-modal__actions{padding-top:24px}.woocommerce-product-template-modal__list .components-base-control{margin:0 -24px}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option{display:flex;text-decoration:none;width:100%;align-items:center;padding:16px 24px;margin-bottom:0;box-sizing:border-box;border-bottom:1px solid #f0f0f0}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option:first-child{border-top:1px solid #f0f0f0}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input{margin-right:16px;flex:none}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input:checked:before{box-sizing:border-box}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input:focus{box-shadow:none}.woocommerce-product-template-modal__list .woocommerce-product-template-modal__list-title{color:#1e1e1e;display:block}.woocommerce-product-template-modal__list .woocommerce-product-template-modal__list-subtitle{color:#757575;margin-top:4px;display:block}.woocommerce-product-template-modal__actions{text-align:right}.woocommerce-tax-partner-card{border:1px solid #ddd;border-radius:3px;margin:0 8px 16px;padding:20px;display:flex;flex-direction:column}.woocommerce-tax-partner-card a{text-decoration:none}.woocommerce-tax-partner-card__logo{margin-bottom:8px}.woocommerce-tax-partner-card__logo img{max-height:35px}.woocommerce-tax-partner-card__description{color:#757575}.woocommerce-tax-partner-card__benefits{color:#1e1e1e;list-style:none}.woocommerce-tax-partner-card__benefits li{margin-bottom:8px;display:flex}.woocommerce-tax-partner-card__benefits li svg{margin-right:10px}.woocommerce-tax-partner-card__action{margin-top:auto}.woocommerce-tax-partner-card__terms{color:#949494;font-size:9px;margin-bottom:8px}.woocommerce-tax-partners__partners{display:grid;grid-template-columns:1fr 1fr}.woocommerce-tax-partners__partners.woocommerce-tax-partners__partners-count-1{grid-template-columns:1fr}@media(max-width:782px){.woocommerce-tax-partners__partners{grid-template-columns:1fr}}.woocommerce-tax-partners__partners-count-1 .woocommerce-tax-partners__partners{grid-template-columns:1fr;justify-items:center}.woocommerce-tax-partners .components-card__body.is-size-medium{padding:36px}.woocommerce-tax-partners .components-card__header{line-height:28px;font-size:20px}.woocommerce-tax-partners__other-actions{text-align:center;list-style:none;display:flex;align-items:center;justify-content:center;margin:0}@media(max-width:782px){.woocommerce-tax-partners__other-actions{flex-direction:column}}.woocommerce-tax-partners__other-actions li{margin-top:16px;margin-right:4px}.woocommerce-tax-partners__other-actions li button.is-tertiary{padding:0;height:auto}.woocommerce-tax-partners__other-actions li:after{content:"•";color:#bbb;margin-left:4px}@media(max-width:782px){.woocommerce-tax-partners__other-actions li:after{content:""}}.woocommerce-tax-partners__other-actions li:last-child{margin-right:0}.woocommerce-tax-partners__other-actions li:last-child:after{content:""}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-left:16px;margin-right:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-left:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-left:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important;position:relative}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media(max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media(max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media(max-width:782px){.woocommerce-homescreen{margin-left:-16px;margin-right:-16px}}.woocommerce-homescreen-column{width:682px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}@media(max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:grid;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{align-self:center}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}.woocommerce-layout__inbox-panel-header.your-store-today{display:none}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}#klarna-kp-banner,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:grid;grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){grid-column-start:2;grid-column-end:3;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){grid-column-start:1;grid-column-end:2;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){grid-column-start:2;grid-column-end:3;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){grid-column-start:1;grid-column-end:2;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){grid-column-start:2;grid-column-end:3;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){grid-column-start:1;grid-column-end:2;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){grid-column-start:2;grid-column-end:3;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){grid-column-start:1;grid-column-end:2;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){grid-column-start:2;grid-column-end:3;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){grid-column-start:1;grid-column-end:2;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){grid-column-start:2;grid-column-end:3;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){grid-column-start:1;grid-column-end:2;grid-row-start:7;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){grid-column-start:2;grid-column-end:3;grid-row-start:7;grid-row-end:8}@media(max-width:960px){.woocommerce-dashboard__columns{grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){grid-column-start:1;grid-column-end:2;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){grid-column-start:1;grid-column-end:2;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){grid-column-start:1;grid-column-end:2;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){grid-column-start:1;grid-column-end:2;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){grid-column-start:1;grid-column-end:2;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){grid-column-start:1;grid-column-end:2;grid-row-start:7;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){grid-column-start:1;grid-column-end:2;grid-row-start:8;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){grid-column-start:1;grid-column-end:2;grid-row-start:9;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){grid-column-start:1;grid-column-end:2;grid-row-start:10;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){grid-column-start:1;grid-column-end:2;grid-row-start:11;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){grid-column-start:1;grid-column-end:2;grid-row-start:12;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){grid-column-start:1;grid-column-end:2;grid-row-start:13;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){grid-column-start:1;grid-column-end:2;grid-row-start:14;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .store-performance__icon{transform:rotate(-45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .icon-control{margin:0 8px 0 0;vertical-align:bottom;fill:#757575}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.components-card .woocommerce-ellipsis-menu__toggle{padding:0}
1
+ .woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media(min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-left:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-homescreen .woocommerce-activity-panel{background:transparent;border:0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-homescreen .woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-homescreen .woocommerce-activity-panel .components-panel__body-title p{margin-right:16px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-homescreen .woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-left:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media(max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-navigation-intro-modal{width:670px}@media(max-width:782px){.woocommerce-navigation-intro-modal{width:350px}}.woocommerce-navigation-intro-modal .components-guide__page-control{order:3;margin:16px 0}.woocommerce-navigation-intro-modal .components-guide__page-control li{margin:0}.woocommerce-navigation-intro-modal .components-modal__header{display:none}.woocommerce-navigation-intro-modal .components-guide__container{margin-top:0}.woocommerce-navigation-intro-modal .components-guide__footer{box-sizing:border-box;margin:0;height:0;overflow:visible}.woocommerce-navigation-intro-modal .components-guide__footer .components-button{position:absolute;bottom:100%;margin-bottom:16px}.woocommerce-navigation-intro-modal .components-guide__footer .components-guide__back-button{display:none}.woocommerce-navigation-intro-modal.components-modal__frame.components-guide{height:auto}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper{display:grid;grid-template-columns:1fr 1fr}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper img{max-width:100%}@media(max-width:782px){.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper{grid-template-columns:1fr}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-wrapper .woocommerce-navigation-intro-modal__image-wrapper{grid-row:1;max-height:328px;overflow:hidden}}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-text{padding:24px;display:flex;flex-direction:column;justify-content:center}.woocommerce-navigation-intro-modal .woocommerce-navigation-intro-modal__page-text h2{font-weight:700;margin-bottom:8px}.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-right:24px;padding-left:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-right:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-left:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-left:0}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 27px 16px 24px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-left:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}.woocommerce-layout__header-back-button{cursor:pointer;margin-left:40px;margin-left:var(--large-gap);margin-right:-16px;display:flex;z-index:2}.woocommerce-layout__header-back-button:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}.woocommerce-task-list__item{overflow:hidden}.woocommerce-task-list__item.woocommerce-list__item-enter{opacity:0;max-height:0}.woocommerce-task-list__item.woocommerce-list__item-enter-active{opacity:1;max-height:100px;transition:opacity .5s,max-height .5s}.woocommerce-task-list__item.woocommerce-list__item-exit{opacity:1;max-height:100px}.woocommerce-task-list__item.woocommerce-list__item-exit-active{opacity:0;max-height:0;transition:opacity .5s,max-height .5s}.woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-left:auto;margin-right:auto;margin-bottom:24px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-text .woocommerce-pill{padding:1px 8px;margin-left:8px}.woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-dashboard__container .woocommerce-task-payments{width:680px;margin:auto;max-width:100%}.woocommerce-task-list__item-expandable-content,.woocommerce-task__additional-info,.woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-list__item-expandable-content{font-size:13px}.components-modal__screen-overlay{background:rgba(43,45,47,.4)}.components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 8px 0 0}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-left:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-left:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-left:10px solid transparent;border-right:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-left:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-right:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-task-dashboard__container .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media(max-width:782px){.woocommerce-task-dashboard__container .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-task-dashboard__container .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-task-dashboard__container .components-form-toggle{display:inline-block}.woocommerce-task-dashboard__container .components-form-toggle label{font-size:14px}.woocommerce-task-dashboard__container .components-form-toggle .components-base-control{display:inline-block}.woocommerce-task-dashboard__container .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden}.woocommerce-task-payment .components-card__media{width:170px;flex-shrink:0}.woocommerce-task-payment .components-card__media .is-placeholder,.woocommerce-task-payment .components-card__media img,.woocommerce-task-payment .components-card__media svg{margin:auto;max-width:100px;display:block}.woocommerce-task-payment .components-card__media .is-placeholder{height:36px}.woocommerce-task-payment .woocommerce-task-payment__footer .is-placeholder{width:70px;height:36px}.woocommerce-task-payment>.components-form-toggle{min-width:52px}.woocommerce-task-payment .woocommerce-task-payment__title{display:flex;align-items:center;font-size:16px;font-weight:500;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 36px 0 0}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .woocommerce-task-payment__description{flex:1}@media(max-width:600px){.woocommerce-task-payment{flex-wrap:wrap}.woocommerce-task-payment .woocommerce-task-payment__content{margin:0}.woocommerce-task-payment .components-card__media{order:1;flex-basis:50%}.woocommerce-task-payment .components-card__media>img,.woocommerce-task-payment .components-card__media>svg{margin:0 0 0 24px}.woocommerce-task-payment .woocommerce-task-payment__description{order:3;padding:24px 0 0 24px}.woocommerce-task-payment .woocommerce-task-payment__footer{flex-basis:50%;align-self:flex-start;order:2;text-align:right}}.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;max-width:240px;width:80%}.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-payment-gateway-suggestions-list-placeholder .is-placeholder{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;width:60%}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-label{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon:after{content:" "}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-icon{animation:none}}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step:first-child .woocommerce-stepper__step-label{width:30%}.woocommerce-task-payment-method.is-loading .woocommerce-stepper__step-number{display:none}.woocommerce-task-payments .components-card+.components-card{margin-top:24px}.woocommerce-task-payments .woocommerce-task-payment__setup_required{display:flex;align-items:center;font-size:14px;margin-left:12px;font-weight:400;gap:3px}.woocommerce-task-payments .woocommerce-task-payment__setup_required>svg{fill:#efb854}.woocommerce-task-payments .components-card__header{font-size:20px;font-weight:400;line-height:28px;margin:0}.woocommerce-task-payments .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-left:12px;padding:1px 10px}.woocommerce-task-payments .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payments .components-card__divider:last-child{display:none}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-method__fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-right:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-left:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-11px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-11px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-right:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-left:4px}.woocommerce-task-marketing .components-card__header{flex-direction:column;align-items:flex-start;display:flex!important}.woocommerce-task-marketing .components-card__header h2{align-self:start!important;color:#1e1e1e;font-size:20px;margin-bottom:0}.woocommerce-task-marketing .components-card__header span{margin-left:0;margin-top:8px;color:#757575}.woocommerce-plugin-list__plugin{display:flex;padding:24px;border-top:1px solid #e0e0e0}.woocommerce-plugin-list__plugin:first-child{border-top:0}.woocommerce-plugin-list__plugin h4{margin-bottom:12px;font-weight:600;color:#1e1e1e}.woocommerce-plugin-list__plugin p{color:#757575;font-weight:400}.woocommerce-plugin-list__plugin-logo{margin-right:45px;display:flex;align-items:center}.woocommerce-plugin-list__plugin-logo img{width:50px}.woocommerce-plugin-list__plugin-text{max-width:370px;margin-right:16px}.woocommerce-plugin-list__plugin-text .woocommerce-pill{color:#646970;margin-left:12px}.woocommerce-plugin-list__plugin-action{display:flex;align-items:center;margin-left:auto}.woocommerce-plugin-list__title{padding:24px 30px 0;position:relative}.woocommerce-plugin-list__title h3{font-weight:500;color:#000;text-transform:uppercase}.woocommerce-plugin-list__plugin{border-top:none;border-bottom:1px solid #e0e0e0}@media(min-width:601px){.woocommerce-product-template-modal{min-width:565px}}.woocommerce-product-template-modal .woocommerce-product-template-modal__actions{padding-top:24px}.woocommerce-product-template-modal__list .components-base-control{margin:0 -24px}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option{display:flex;text-decoration:none;width:100%;align-items:center;padding:16px 24px;margin-bottom:0;box-sizing:border-box;border-bottom:1px solid #f0f0f0}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option:first-child{border-top:1px solid #f0f0f0}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input{margin-right:16px;flex:none}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input:checked:before{box-sizing:border-box}.woocommerce-product-template-modal__list .components-base-control .components-base-control__field .components-radio-control__option .components-radio-control__input:focus{box-shadow:none}.woocommerce-product-template-modal__list .woocommerce-product-template-modal__list-title{color:#1e1e1e;display:block}.woocommerce-product-template-modal__list .woocommerce-product-template-modal__list-subtitle{color:#757575;margin-top:4px;display:block}.woocommerce-product-template-modal__actions{text-align:right}.woocommerce-tax-partner-card{border:1px solid #ddd;border-radius:3px;margin:0 8px 16px;padding:20px;display:flex;flex-direction:column}.woocommerce-tax-partner-card a{text-decoration:none}.woocommerce-tax-partner-card__logo{margin-bottom:8px}.woocommerce-tax-partner-card__logo img{max-height:35px}.woocommerce-tax-partner-card__description{color:#757575}.woocommerce-tax-partner-card__benefits{color:#1e1e1e;list-style:none}.woocommerce-tax-partner-card__benefits li{margin-bottom:8px;display:flex}.woocommerce-tax-partner-card__benefits li svg{margin-right:10px}.woocommerce-tax-partner-card__action{margin-top:auto}.woocommerce-tax-partner-card__terms{color:#949494;font-size:9px;margin-bottom:8px}.woocommerce-tax-partners__partners{display:grid;grid-template-columns:1fr 1fr}.woocommerce-tax-partners__partners.woocommerce-tax-partners__partners-count-1{grid-template-columns:1fr}@media(max-width:782px){.woocommerce-tax-partners__partners{grid-template-columns:1fr}}.woocommerce-tax-partners__partners-count-1 .woocommerce-tax-partners__partners{grid-template-columns:1fr;justify-items:center}.woocommerce-tax-partners .components-card__body.is-size-medium{padding:36px}.woocommerce-tax-partners .components-card__header{line-height:28px;font-size:20px}.woocommerce-tax-partners__other-actions{text-align:center;list-style:none;display:flex;align-items:center;justify-content:center;margin:0}@media(max-width:782px){.woocommerce-tax-partners__other-actions{flex-direction:column}}.woocommerce-tax-partners__other-actions li{margin-top:16px;margin-right:4px}.woocommerce-tax-partners__other-actions li button.is-tertiary{padding:0;height:auto}.woocommerce-tax-partners__other-actions li:after{content:"•";color:#bbb;margin-left:4px}@media(max-width:782px){.woocommerce-tax-partners__other-actions li:after{content:""}}.woocommerce-tax-partners__other-actions li:last-child{margin-right:0}.woocommerce-tax-partners__other-actions li:last-child:after{content:""}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-left:16px;margin-right:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-left:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-left:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important;position:relative}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media(max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media(max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media(max-width:782px){.woocommerce-homescreen{margin-left:-16px;margin-right:-16px}}.woocommerce-homescreen-column{width:682px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}.woocommerce-homescreen-column .components-text+.woocommerce-badge{margin-left:16px}@media(max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:grid;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{align-self:center}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}.woocommerce-layout__inbox-panel-header.your-store-today{display:none}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}#klarna-kp-banner,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:grid;grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){grid-column-start:2;grid-column-end:3;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){grid-column-start:1;grid-column-end:2;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){grid-column-start:2;grid-column-end:3;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){grid-column-start:1;grid-column-end:2;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){grid-column-start:2;grid-column-end:3;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){grid-column-start:1;grid-column-end:2;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){grid-column-start:2;grid-column-end:3;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){grid-column-start:1;grid-column-end:2;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){grid-column-start:2;grid-column-end:3;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){grid-column-start:1;grid-column-end:2;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){grid-column-start:2;grid-column-end:3;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){grid-column-start:1;grid-column-end:2;grid-row-start:7;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){grid-column-start:2;grid-column-end:3;grid-row-start:7;grid-row-end:8}@media(max-width:960px){.woocommerce-dashboard__columns{grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){grid-column-start:1;grid-column-end:2;grid-row-start:2;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){grid-column-start:1;grid-column-end:2;grid-row-start:3;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){grid-column-start:1;grid-column-end:2;grid-row-start:4;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){grid-column-start:1;grid-column-end:2;grid-row-start:5;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){grid-column-start:1;grid-column-end:2;grid-row-start:6;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){grid-column-start:1;grid-column-end:2;grid-row-start:7;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){grid-column-start:1;grid-column-end:2;grid-row-start:8;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){grid-column-start:1;grid-column-end:2;grid-row-start:9;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){grid-column-start:1;grid-column-end:2;grid-row-start:10;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){grid-column-start:1;grid-column-end:2;grid-row-start:11;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){grid-column-start:1;grid-column-end:2;grid-row-start:12;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){grid-column-start:1;grid-column-end:2;grid-row-start:13;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){grid-column-start:1;grid-column-end:2;grid-row-start:14;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .store-performance__icon{transform:rotate(-45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .icon-control{margin:0 8px 0 0;vertical-align:bottom;fill:#757575}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.components-card .woocommerce-ellipsis-menu__toggle{padding:0}
dist/chunks/47.style.css CHANGED
@@ -1 +1 @@
1
- .woocommerce-profile-wizard__business-details__free-features{display:flex;flex-direction:column;justify-content:center}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__category{font-size:11px;text-transform:uppercase;margin:25px 0 0 30px;color:#000;font-weight:500}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__extension{display:flex;padding:24px 30px;border-bottom:1px solid #e0e0e0;align-items:center}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__description{font-size:16px;color:#1e1e1e;margin:0;line-height:18px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__free-badge{padding:0 8px;border:1px solid #757575;border-radius:16px;margin-left:8px;color:#757575;font-size:12px;line-height:18px;height:20px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__link{text-decoration:none}.woocommerce-profile-wizard__business-details__free-features .woocommerce-card__body{padding:0}.woocommerce-profile-wizard__business-details__free-features .components-base-control .components-base-control__field{margin-bottom:0;margin-right:21px}.woocommerce-profile-wizard__business-details__free-features .components-base-control .components-base-control__field .components-checkbox-control__input-container{margin-right:0;vertical-align:baseline}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle__expand{margin-left:9px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__illustration{flex:1;width:100%;display:flex;justify-content:center;margin-top:34px;margin-bottom:18px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__illustration .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__action{padding-top:12px;display:flex;justify-content:center;margin-bottom:12px}.woocommerce-profile-wizard__container.business-features .components-tab-panel__tabs{justify-content:center}.woocommerce-profile-wizard__container.business-features .components-tab-panel__tabs .components-tab-panel__tabs-item.is-disabled{color:#949494;cursor:default;pointer-events:none}.woocommerce-profile-wizard__container.business-features .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{pointer-events:none}.woocommerce-profile-wizard__container.business-features .components-card__body{padding:16px 16px 0}.business-details.woocommerce-profile-wizard__container .woocommerce-admin__business-details__spinner,.business-features.woocommerce-profile-wizard__container .woocommerce-admin__business-details__spinner{display:flex;justify-content:center}.business-details.woocommerce-profile-wizard__container .woocommerce-profile-wizard__step-header,.business-features.woocommerce-profile-wizard__container .woocommerce-profile-wizard__step-header{margin-top:28px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-product-wizard__product-types-label{display:inline-block;margin-right:4px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__checkbox-group .woocommerce-profile-wizard__checkbox{display:flex;align-items:center;min-height:64px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__checkbox-group .woocommerce-profile-wizard__checkbox .components-button{padding:0;height:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-base-control__field,.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-checkbox-control__label{display:flex;width:100%;align-items:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-checkbox-control__label .woocommerce-pill{margin-left:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-popover .components-popover__content{min-width:360px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox{display:flex;align-items:center;justify-content:flex-end;color:#949494;margin-bottom:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox label{display:inline-flex;align-items:center;margin:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox .components-form-toggle{display:inline-flex;margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types__spinner{text-align:center}@media screen and (max-width:438px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-product-wizard__product-types-label{width:min-content}}@media screen and (max-width:375px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-pill{white-space:nowrap}}.woocommerce-profile-wizard__store-details .woocommerce-admin__store-details__spinner{display:flex;justify-content:center}.woocommerce-profile-wizard__store-details .components-popover .components-popover__content{min-width:360px}.woocommerce-profile-wizard__newsletter-signup .components-base-control__field{display:flex;align-items:center}.woocommerce-profile-wizard__newsletter-signup .woocommerce-profile-wizard__powered-by-mailchimp{color:#a7aaad}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel{margin-bottom:24px}@media(min-width:783px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel{max-width:810px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel .woocommerce-profile-wizard__themes{display:grid;grid-gap:24px;grid-template-columns:1fr 1fr}}.woocommerce-profile-wizard__themes-tab-panel .components-tab-panel__tabs{display:flex;justify-content:space-between;background:#fff;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);border-radius:3px;margin-top:24px;margin-bottom:24px}.woocommerce-profile-wizard__themes-tab-panel .components-tab-panel__tabs button{border:0;color:#646970;display:flex;align-items:center;justify-content:center;background:transparent;height:48px;width:100%;font-size:14px;font-size:.875rem;font-weight:500;outline:none;padding:0 24px}p.woocommerce-profile-wizard__themes-skip-this-step{text-align:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card{overflow:hidden}@media(min-width:783px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card{margin:0}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-image{width:100%;height:300px;background-size:cover}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name{margin-top:auto;margin-bottom:8px;font-size:24px;font-size:1.5rem;font-weight:400}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name svg{max-width:18px;height:18px;margin-left:8px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name svg path{fill:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-status{margin:0;font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-learn-more{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card{margin:0;position:relative}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card.is-uploading .woocommerce-theme-uploader__dropzone-wrapper{min-height:382px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .woocommerce-theme-uploader__dropzone-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:2px;background:#f6f6f6;border:1px dashed #b0b5b8}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload{flex:1 1 auto;width:100%;display:flex}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button{flex:1 1 auto;flex-direction:column;justify-content:center;margin:0;width:100%;height:100%;min-height:380px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button>.gridicon{width:48px;height:48px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button>.gridicon path{fill:#50575d}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button .dashicons-upload{display:none}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .woocommerce-theme-uploader__title{margin:8px 0;font-size:24px;font-size:1.5rem;font-weight:400}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card p{font-size:14px;font-size:.875rem;margin:0}.woocommerce-theme-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:100%!important;display:flex;flex-direction:column}.woocommerce-theme-preview .woocommerce-theme-preview__toolbar{background:#fff;flex-direction:row;display:flex;height:60px;border-bottom:1px solid #dcdcde;padding-left:16px;padding-right:16px;align-items:center}.woocommerce-theme-preview .woocommerce-theme-preview__toolbar .is-button.is-primary{height:40px;margin:0}@media(max-width:782px){.woocommerce-theme-preview .woocommerce-theme-preview__toolbar .is-button.is-primary{margin-left:auto}}.woocommerce-theme-preview .woocommerce-theme-preview__theme-name{padding-left:16px;color:#1d2327;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50%}.woocommerce-theme-preview .woocommerce-theme-preview__close{padding:0 16px 0 0;color:#646970}.woocommerce-theme-preview .woocommerce-theme-preview__devices{margin-left:auto;margin-right:16px}.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device{padding:12px;color:#646970;margin:0;border-radius:50%}.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device.is-selected,.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device:focus{background:#646970;color:#fff}@media(max-width:782px){.woocommerce-theme-preview .woocommerce-theme-preview__devices{display:none}}.woocommerce-theme-preview .woocommerce-web-preview{flex:1;padding:40px 16px;overflow:scroll}.woocommerce-theme-preview .woocommerce-web-preview .woocommerce-web-preview__iframe-wrapper{height:100%;border-radius:3px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);overflow:hidden;margin:0 auto}.woocommerce-theme-preview .woocommerce-web-preview .woocommerce-web-preview__iframe-wrapper iframe{display:block}.woocommerce-theme-preview .woocommerce-web-preview.is-mobile .woocommerce-web-preview__iframe-wrapper{max-width:360px}.woocommerce-theme-preview .woocommerce-web-preview.is-tablet .woocommerce-web-preview__iframe-wrapper{max-width:768px}.woocommerce-theme-preview .woocommerce-web-preview.is-desktop{width:100%;padding:0}.woocommerce-theme-preview .woocommerce-web-preview.is-desktop .woocommerce-web-preview__iframe-wrapper{border-radius:0;box-shadow:none}.woocommerce-theme-preview-active{overflow:hidden}.woocommerce-theme-preview-active .woocommerce-profile-wizard__header{display:none}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header{text-align:center;margin:16px 0 24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header h2{margin-bottom:4px;color:#1e1e1e}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header p{color:#757575;display:flex;align-items:center;justify-content:center;line-height:1.5em}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header p .woocommerce-profile-wizard__tooltip-icon{height:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__header{height:60px;border-bottom:1px solid #dcdcde;display:flex;align-items:center;justify-content:center;background:#fff}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__header-subtitle{font-weight:400;text-align:center;color:#757575;font-size:16px;line-height:24px;margin-top:8px;margin-bottom:32px;margin-right:8px;display:flex;justify-content:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__intro-paragraph{margin-top:5px;margin-bottom:18px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container{margin:36px auto 16px;text-align:left}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>*{max-width:504px;margin-left:auto;margin-right:auto}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container{padding-left:16px;padding-right:16px;margin-bottom:72px;margin-top:0}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-popover__content>div{padding:16px 24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footer{margin:34px auto;display:flex;justify-content:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footer-link{display:flex;text-decoration:none}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footnote{max-width:424px;margin:32px auto 25px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footnote p{color:#757575;text-align:center;margin-bottom:12px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle label{font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle .components-base-control{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-profile-wizard__body #woocommerce-layout__primary{text-align:center;margin:0;width:100%}.woocommerce-profile-wizard__body .woocommerce-layout .woocommerce-layout__main{padding-right:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__error{display:block;padding:16px 24px;font-size:12px;color:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit{display:flex}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit svg:first-child{width:24px;min-width:24px;margin-right:24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-title{font-size:16px;font-weight:400;margin-top:0;margin-bottom:8px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-content{margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-content p{padding-bottom:16px;margin-top:0;border-bottom:1px solid #dcdcde;font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-toggle{padding-top:36px;margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit:last-child p{border-bottom:0;margin-bottom:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__business-extension{background:#f6f6f6;height:100%;padding:12px 4px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__business-extension img{box-sizing:unset;max-width:100px;max-height:50%;vertical-align:middle}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .woocommerce-profile-wizard__tracking-checkbox{margin-top:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-form-toggle{display:none}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking{display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-form-toggle{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-checkbox-control__input{display:none}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox{margin-top:0;margin-bottom:0;position:relative;padding:12px 24px;min-height:62px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control{position:relative}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control__field{width:100%;margin:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox label.components-checkbox-control__label{font-size:16px;margin-left:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control__help{margin-left:48px;font-style:normal;color:#949494;font-size:14px;line-height:20px;margin-top:3px;margin-bottom:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox svg.dashicon.components-checkbox-control__checked{left:1px;top:-1px}@media(max-width:600px){.woocommerce-profile-wizard__body svg.dashicon.components-checkbox-control__checked{left:-2px;top:-1px;width:21px;height:21px}}.woocommerce-profile-wizard__body .woocommerce-select-control__control{margin:16px 0;padding-right:40px;box-shadow:0 2px 6px rgba(0,0,0,.05)}.woocommerce-profile-wizard__body .woocommerce-select-control__control.is-active{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.woocommerce-profile-wizard__body .woocommerce-select-control__control .components-base-control__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 56px)}.woocommerce-profile-wizard__body .woocommerce-select-control__control:after{display:block;pointer-events:none;cursor:pointer;position:absolute;float:right;line-height:56px;font-family:dashicons,sans-serif;font-size:20px;content:"";z-index:1;height:24px;width:24px;margin-top:0;top:0;right:16px;bottom:16px;color:#000}.woocommerce-profile-wizard__body #wpadminbar{display:none}.woocommerce-profile-wizard__body #wpbody{padding-top:0}.woocommerce-profile-wizard__plugins-card .woocommerce-profile-wizard__plugins-actions{text-align:left;margin-left:44px}.woocommerce-profile-wizard__plugins-card .woocommerce-profile-wizard__plugins-actions button.is-button{height:40px;min-width:auto;display:initial;margin:16px 12px 0 0}.woocommerce-profile-wizard__header svg>g{transform:none}@media(max-width:782px){.woocommerce-profile-wizard__header{position:fixed;z-index:999;width:100%;bottom:0;border-top:1px solid #dcdcde;border-bottom:none}}.woocommerce-profile-wizard__header .woocommerce-stepper{margin:0 16px;width:100%}.woocommerce-profile-wizard__header .woocommerce-stepper__steps{margin:0}.woocommerce-profile-wizard__tooltip-icon{color:#50575e;display:flex;align-items:center;margin-left:4px;cursor:help}.woocommerce-business-extensions{display:flex;align-items:center;width:100%}.woocommerce-business-extensions label{display:flex;align-items:center}.woocommerce-business-extensions .components-checkbox-control__input-container{margin-right:16px}.woocommerce-business-extensions .woocommerce-business-extensions__label-subtext{display:block;color:#949494}.woocommerce-business-extensions .woocommerce-business-extensions__popover-wrapper{margin-left:auto}
1
+ .woocommerce-profile-wizard__business-details__free-features{display:flex;flex-direction:column;justify-content:center}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__category{font-size:11px;text-transform:uppercase;margin:25px 0 0 30px;color:#000;font-weight:500}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__extension{display:flex;padding:24px 30px;border-bottom:1px solid #e0e0e0;align-items:center}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__description{font-size:16px;color:#1e1e1e;margin:0;line-height:18px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__free-badge{padding:0 8px;border:1px solid #757575;border-radius:16px;margin-left:8px;color:#757575;font-size:12px;line-height:18px;height:20px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle .woocommerce-admin__business-details__selective-extensions-bundle__link{text-decoration:none}.woocommerce-profile-wizard__business-details__free-features .woocommerce-card__body{padding:0}.woocommerce-profile-wizard__business-details__free-features .components-base-control .components-base-control__field{margin-bottom:0;margin-right:21px}.woocommerce-profile-wizard__business-details__free-features .components-base-control .components-base-control__field .components-checkbox-control__input-container{margin-right:0;vertical-align:baseline}.woocommerce-profile-wizard__business-details__free-features .woocommerce-admin__business-details__selective-extensions-bundle__expand{margin-left:9px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__illustration{flex:1;width:100%;display:flex;justify-content:center;margin-top:34px;margin-bottom:18px}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__illustration .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-profile-wizard__business-details__free-features .woocommerce-profile-wizard__business-details__free-features__action{padding-top:12px;display:flex;justify-content:center;margin-bottom:12px}.woocommerce-profile-wizard__container.business-details .components-tab-panel__tabs{justify-content:center}.woocommerce-profile-wizard__container.business-details .components-tab-panel__tabs .components-tab-panel__tabs-item.is-disabled{color:#949494;cursor:default;pointer-events:none}.woocommerce-profile-wizard__container.business-details .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{pointer-events:none}.woocommerce-profile-wizard__container.business-details .components-card__body{padding:16px 16px 0}.business-details.woocommerce-profile-wizard__container .woocommerce-admin__business-details__spinner{display:flex;justify-content:center}.business-details.woocommerce-profile-wizard__container .woocommerce-profile-wizard__step-header{margin-top:28px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-product-wizard__product-types-label{display:inline-block;margin-right:4px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__checkbox-group .woocommerce-profile-wizard__checkbox{display:flex;align-items:center;min-height:64px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__checkbox-group .woocommerce-profile-wizard__checkbox .components-button{padding:0;height:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-base-control__field,.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-checkbox-control__label{display:flex;width:100%;align-items:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-checkbox-control__label .woocommerce-pill{margin-left:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .components-popover .components-popover__content{min-width:360px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox{display:flex;align-items:center;justify-content:flex-end;color:#949494;margin-bottom:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox label{display:inline-flex;align-items:center;margin:auto}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-profile-wizard__product-types-pricing-toggle.woocommerce-profile-wizard__checkbox .components-form-toggle{display:inline-flex;margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types__spinner{text-align:center}@media screen and (max-width:438px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-product-wizard__product-types-label{width:min-content}}@media screen and (max-width:375px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__product-types .woocommerce-pill{white-space:nowrap}}.woocommerce-profile-wizard__store-details .woocommerce-admin__store-details__spinner{display:flex;justify-content:center}.woocommerce-profile-wizard__store-details .components-popover .components-popover__content{min-width:360px}.woocommerce-profile-wizard__newsletter-signup .components-base-control__field{display:flex;align-items:center}.woocommerce-profile-wizard__newsletter-signup .woocommerce-profile-wizard__powered-by-mailchimp{color:#a7aaad}.woocommerce-profile-wizard__store-details-error{margin-top:-12px;font-size:12px;font-style:normal;color:#d63638;padding-left:12px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel{margin-bottom:24px}@media(min-width:783px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel{max-width:810px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>.woocommerce-profile-wizard__themes-tab-panel .woocommerce-profile-wizard__themes{display:grid;grid-gap:24px;grid-template-columns:1fr 1fr}}.woocommerce-profile-wizard__themes-tab-panel .components-tab-panel__tabs{display:flex;justify-content:space-between;background:#fff;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);border-radius:3px;margin-top:24px;margin-bottom:24px}.woocommerce-profile-wizard__themes-tab-panel .components-tab-panel__tabs button{border:0;color:#646970;display:flex;align-items:center;justify-content:center;background:transparent;height:48px;width:100%;font-size:14px;font-size:.875rem;font-weight:500;outline:none;padding:0 24px}p.woocommerce-profile-wizard__themes-skip-this-step{text-align:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card{overflow:hidden}@media(min-width:783px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card{margin:0}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-image{width:100%;height:300px;background-size:cover}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name{margin-top:auto;margin-bottom:8px;font-size:24px;font-size:1.5rem;font-weight:400}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name svg{max-width:18px;height:18px;margin-left:8px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-name svg path{fill:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-status{margin:0;font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__theme.components-card .woocommerce-profile-wizard__theme-learn-more{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card{margin:0;position:relative}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card.is-uploading .woocommerce-theme-uploader__dropzone-wrapper{min-height:382px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .woocommerce-theme-uploader__dropzone-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:2px;background:#f6f6f6;border:1px dashed #b0b5b8}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload{flex:1 1 auto;width:100%;display:flex}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button{flex:1 1 auto;flex-direction:column;justify-content:center;margin:0;width:100%;height:100%;min-height:380px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button>.gridicon{width:48px;height:48px}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button>.gridicon path{fill:#50575d}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .components-form-file-upload>.components-button .dashicons-upload{display:none}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card .woocommerce-theme-uploader__title{margin:8px 0;font-size:24px;font-size:1.5rem;font-weight:400}.woocommerce-profile-wizard__body .woocommerce-theme-uploader.components-card p{font-size:14px;font-size:.875rem;margin:0}.woocommerce-theme-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:100%!important;display:flex;flex-direction:column}.woocommerce-theme-preview .woocommerce-theme-preview__toolbar{background:#fff;flex-direction:row;display:flex;height:60px;border-bottom:1px solid #dcdcde;padding-left:16px;padding-right:16px;align-items:center}.woocommerce-theme-preview .woocommerce-theme-preview__toolbar .is-button.is-primary{height:40px;margin:0}@media(max-width:782px){.woocommerce-theme-preview .woocommerce-theme-preview__toolbar .is-button.is-primary{margin-left:auto}}.woocommerce-theme-preview .woocommerce-theme-preview__theme-name{padding-left:16px;color:#1d2327;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50%}.woocommerce-theme-preview .woocommerce-theme-preview__close{padding:0 16px 0 0;color:#646970}.woocommerce-theme-preview .woocommerce-theme-preview__devices{margin-left:auto;margin-right:16px}.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device{padding:12px;color:#646970;margin:0;border-radius:50%}.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device.is-selected,.woocommerce-theme-preview .woocommerce-theme-preview__devices .woocommerce-theme-preview__device:focus{background:#646970;color:#fff}@media(max-width:782px){.woocommerce-theme-preview .woocommerce-theme-preview__devices{display:none}}.woocommerce-theme-preview .woocommerce-web-preview{flex:1;padding:40px 16px;overflow:scroll}.woocommerce-theme-preview .woocommerce-web-preview .woocommerce-web-preview__iframe-wrapper{height:100%;border-radius:3px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);overflow:hidden;margin:0 auto}.woocommerce-theme-preview .woocommerce-web-preview .woocommerce-web-preview__iframe-wrapper iframe{display:block}.woocommerce-theme-preview .woocommerce-web-preview.is-mobile .woocommerce-web-preview__iframe-wrapper{max-width:360px}.woocommerce-theme-preview .woocommerce-web-preview.is-tablet .woocommerce-web-preview__iframe-wrapper{max-width:768px}.woocommerce-theme-preview .woocommerce-web-preview.is-desktop{width:100%;padding:0}.woocommerce-theme-preview .woocommerce-web-preview.is-desktop .woocommerce-web-preview__iframe-wrapper{border-radius:0;box-shadow:none}.woocommerce-theme-preview-active{overflow:hidden}.woocommerce-theme-preview-active .woocommerce-profile-wizard__header{display:none}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header{text-align:center;margin:16px 0 24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header h2{margin-bottom:4px;color:#1e1e1e}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header p{color:#757575;display:flex;align-items:center;justify-content:center;line-height:1.5em}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__step-header p .woocommerce-profile-wizard__tooltip-icon{height:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__header{height:60px;border-bottom:1px solid #dcdcde;display:flex;align-items:center;justify-content:center;background:#fff}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__header-subtitle{font-weight:400;text-align:center;color:#757575;font-size:16px;line-height:24px;margin-top:8px;margin-bottom:32px;margin-right:8px;display:flex;justify-content:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__intro-paragraph{margin-top:5px;margin-bottom:18px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container{margin:36px auto 16px;text-align:left}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container>*{max-width:504px;margin-left:auto;margin-right:auto}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container{padding-left:16px;padding-right:16px;margin-bottom:72px;margin-top:0}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-popover__content>div{padding:16px 24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footer{margin:34px auto;display:flex;justify-content:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footer-link{display:flex;text-decoration:none}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footnote{max-width:424px;margin:32px auto 25px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .woocommerce-profile-wizard__footnote p{color:#757575;text-align:center;margin-bottom:12px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle label{font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle .components-base-control{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__container .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-profile-wizard__body #woocommerce-layout__primary{text-align:center;margin:0;width:100%}.woocommerce-profile-wizard__body .woocommerce-layout .woocommerce-layout__main{padding-right:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__error{display:block;padding:16px 24px;font-size:12px;color:#d63638}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit{display:flex}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit svg:first-child{width:24px;min-width:24px;margin-right:24px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-title{font-size:16px;font-weight:400;margin-top:0;margin-bottom:8px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-content{margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-content p{padding-bottom:16px;margin-top:0;border-bottom:1px solid #dcdcde;font-size:14px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit .woocommerce-profile-wizard__benefit-toggle{padding-top:36px;margin-left:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__benefit:last-child p{border-bottom:0;margin-bottom:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__business-extension{background:#f6f6f6;height:100%;padding:12px 4px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__business-extension img{box-sizing:unset;max-width:100px;max-height:50%;vertical-align:middle}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .woocommerce-profile-wizard__tracking-checkbox{margin-top:16px}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-form-toggle{display:none}@media(max-width:782px){.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking{display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-form-toggle{display:inline-block}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__tracking .components-checkbox-control__input{display:none}}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox{margin-top:0;margin-bottom:0;position:relative;padding:12px 24px;min-height:62px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control{position:relative}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control__field{width:100%;margin:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox label.components-checkbox-control__label{font-size:16px;margin-left:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox .components-base-control__help{margin-left:48px;font-style:normal;color:#949494;font-size:14px;line-height:20px;margin-top:3px;margin-bottom:0}.woocommerce-profile-wizard__body .woocommerce-profile-wizard__checkbox svg.dashicon.components-checkbox-control__checked{left:1px;top:-1px}@media(max-width:600px){.woocommerce-profile-wizard__body svg.dashicon.components-checkbox-control__checked{left:-2px;top:-1px;width:21px;height:21px}}.woocommerce-profile-wizard__body .woocommerce-select-control__control{margin:16px 0;padding-right:40px;box-shadow:0 2px 6px rgba(0,0,0,.05)}.woocommerce-profile-wizard__body .woocommerce-select-control__control.is-active{border-color:#007cba;border-color:var(--wp-admin-theme-color)}.woocommerce-profile-wizard__body .woocommerce-select-control__control .components-base-control__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 56px)}.woocommerce-profile-wizard__body .woocommerce-select-control__control:after{display:block;pointer-events:none;cursor:pointer;position:absolute;float:right;line-height:56px;font-family:dashicons,sans-serif;font-size:20px;content:"";z-index:1;height:24px;width:24px;margin-top:0;top:0;right:16px;bottom:16px;color:#000}.woocommerce-profile-wizard__body #wpadminbar{display:none}.woocommerce-profile-wizard__body #wpbody{padding-top:0}.woocommerce-profile-wizard__plugins-card .woocommerce-profile-wizard__plugins-actions{text-align:left;margin-left:44px}.woocommerce-profile-wizard__plugins-card .woocommerce-profile-wizard__plugins-actions button.is-button{height:40px;min-width:auto;display:initial;margin:16px 12px 0 0}.woocommerce-profile-wizard__header svg>g{transform:none}@media(max-width:782px){.woocommerce-profile-wizard__header{position:fixed;z-index:999;width:100%;bottom:0;border-top:1px solid #dcdcde;border-bottom:none}}.woocommerce-profile-wizard__header .woocommerce-stepper{margin:0 16px;width:100%}.woocommerce-profile-wizard__header .woocommerce-stepper__steps{margin:0}.woocommerce-profile-wizard__tooltip-icon{color:#50575e;display:flex;align-items:center;margin-left:4px;cursor:help}.woocommerce-business-extensions{display:flex;align-items:center;width:100%}.woocommerce-business-extensions label{display:flex;align-items:center}.woocommerce-business-extensions .components-checkbox-control__input-container{margin-right:16px}.woocommerce-business-extensions .woocommerce-business-extensions__label-subtext{display:block;color:#949494}.woocommerce-business-extensions .woocommerce-business-extensions__popover-wrapper{margin-left:auto}
dist/chunks/activity-panels-help.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[4],{
2
 
3
- /***/ 475:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -25,7 +25,7 @@ var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
25
 
26
  /***/ }),
27
 
28
- /***/ 526:
29
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
30
 
31
  "use strict";
@@ -39,7 +39,7 @@ var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
39
  /* harmony import */ var _woocommerce_experimental__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_experimental__WEBPACK_IMPORTED_MODULE_3__);
40
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
41
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_4__);
42
- /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(527);
43
  /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_5__);
44
 
45
 
@@ -112,7 +112,7 @@ ActivityHeader.propTypes = {
112
 
113
  /***/ }),
114
 
115
- /***/ 527:
116
  /***/ (function(module, exports, __webpack_require__) {
117
 
118
  // extracted by mini-css-extract-plugin
@@ -142,7 +142,7 @@ if (typeof self !== 'undefined') {
142
  var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
143
  /* harmony default export */ __webpack_exports__["a"] = (result);
144
 
145
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(80), __webpack_require__(604)(module)))
146
 
147
  /***/ }),
148
 
@@ -227,16 +227,16 @@ var external_wc_experimental_ = __webpack_require__(17);
227
  var external_wp_data_ = __webpack_require__(7);
228
 
229
  // EXTERNAL MODULE: external ["wp","hooks"]
230
- var external_wp_hooks_ = __webpack_require__(31);
231
 
232
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js + 2 modules
233
- var icon = __webpack_require__(117);
234
 
235
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
236
- var page = __webpack_require__(501);
237
 
238
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
239
- var chevron_right = __webpack_require__(475);
240
 
241
  // EXTERNAL MODULE: external "lodash"
242
  var external_lodash_ = __webpack_require__(4);
@@ -905,10 +905,10 @@ if (false) {}
905
  var external_wc_tracks_ = __webpack_require__(16);
906
 
907
  // EXTERNAL MODULE: ./client/activity-panel/activity-header/index.js
908
- var activity_header = __webpack_require__(526);
909
 
910
  // EXTERNAL MODULE: ./client/dashboard/utils.js
911
- var utils = __webpack_require__(64);
912
 
913
  // CONCATENATED MODULE: ./client/activity-panel/panels/help.js
914
 
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[4],{
2
 
3
+ /***/ 476:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
25
 
26
  /***/ }),
27
 
28
+ /***/ 528:
29
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
30
 
31
  "use strict";
39
  /* harmony import */ var _woocommerce_experimental__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_experimental__WEBPACK_IMPORTED_MODULE_3__);
40
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
41
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_4__);
42
+ /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(529);
43
  /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_5__);
44
 
45
 
112
 
113
  /***/ }),
114
 
115
+ /***/ 529:
116
  /***/ (function(module, exports, __webpack_require__) {
117
 
118
  // extracted by mini-css-extract-plugin
142
  var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
143
  /* harmony default export */ __webpack_exports__["a"] = (result);
144
 
145
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(81), __webpack_require__(604)(module)))
146
 
147
  /***/ }),
148
 
227
  var external_wp_data_ = __webpack_require__(7);
228
 
229
  // EXTERNAL MODULE: external ["wp","hooks"]
230
+ var external_wp_hooks_ = __webpack_require__(28);
231
 
232
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js + 2 modules
233
+ var icon = __webpack_require__(118);
234
 
235
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
236
+ var page = __webpack_require__(502);
237
 
238
  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
239
+ var chevron_right = __webpack_require__(476);
240
 
241
  // EXTERNAL MODULE: external "lodash"
242
  var external_lodash_ = __webpack_require__(4);
905
  var external_wc_tracks_ = __webpack_require__(16);
906
 
907
  // EXTERNAL MODULE: ./client/activity-panel/activity-header/index.js
908
+ var activity_header = __webpack_require__(528);
909
 
910
  // EXTERNAL MODULE: ./client/dashboard/utils.js
911
+ var utils = __webpack_require__(65);
912
 
913
  // CONCATENATED MODULE: ./client/activity-panel/panels/help.js
914
 
dist/chunks/activity-panels-help.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{475:function(e,t,o){"use strict";var c=o(0),m=o(8),n=Object(c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(m.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=n},526:function(e,t,o){"use strict";var c=o(0),m=o(6),n=o.n(m),r=o(1),i=o.n(r),a=o(17),u=o(21);o(527);class s extends c.Component{render(){const{className:e,menu:t,subtitle:o,title:m,unreadMessages:r}=this.props,i=n()({"woocommerce-layout__inbox-panel-header":o,"woocommerce-layout__activity-panel-header":!o},e),u=r||0;return Object(c.createElement)("div",{className:i},Object(c.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(c.createElement)(a.Text,{size:16,weight:600,color:"#23282d"},m),Object(c.createElement)(a.Text,{variant:"button",weight:"600",size:"14",lineHeight:"20px"},u>0&&Object(c.createElement)("span",{className:"woocommerce-layout__inbox-badge"},r))),Object(c.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},o&&Object(c.createElement)(a.Text,{variant:"body.small",size:"14",lineHeight:"20px"},o)),t&&Object(c.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},t))}}s.propTypes={className:i.a.string,unreadMessages:i.a.number,title:i.a.string.isRequired,subtitle:i.a.string,menu:i.a.shape({type:i.a.oneOf([u.EllipsisMenu])})},t.a=s},527:function(e,t,o){},603:function(e,t,o){"use strict";(function(e,c){var m,n=o(605);m="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:c;var r=Object(n.a)(m);t.a=r}).call(this,o(80),o(604)(e))},604:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},605:function(e,t,o){"use strict";function c(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}o.d(t,"a",(function(){return c}))},638:function(e,t,o){"use strict";o.r(t),o.d(t,"SETUP_TASK_HELP_ITEMS_FILTER",(function(){return O})),o.d(t,"HelpPanel",(function(){return y}));var c=o(0),m=o(2),n=o(17),r=o(7),i=o(31),a=o(117),u=o(501),s=o(475),l=o(4),p=o(21),d=o(11),_=(o(603),function(){return Math.random().toString(36).substring(7).split("").join(".")});_(),_();function w(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var h=o(16),g=o(526),b=o(64);const O="woocommerce_admin_setup_task_help_items";function f(e){const{taskName:t}=e;switch(t){case"products":return[{title:Object(m.__)("Adding and Managing Products","woocommerce-admin"),link:"https://woocommerce.com/document/managing-products/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Import products using the CSV Importer and Exporter","woocommerce-admin"),link:"https://woocommerce.com/document/product-csv-importer-exporter/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Migrate products using Cart2Cart","woocommerce-admin"),link:"https://woocommerce.com/products/cart2cart/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Learn more about setting up products","woocommerce-admin"),link:"https://woocommerce.com/documentation/plugins/woocommerce/getting-started/setup-products/?utm_source=help_panel&utm_medium=product"}];case"appearance":return[{title:Object(m.__)("Showcase your products and tailor your shopping experience using Blocks","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-blocks/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Manage Store Notice, Catalog View and Product Images","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-customizer/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("How to choose and change a theme","woocommerce-admin"),link:"https://woocommerce.com/document/choose-change-theme/?utm_source=help_panel&utm_medium=product"}];case"shipping":return function({activePlugins:e,countryCode:t}){const o="US"===t&&!e.includes("woocommerce-services");return[{title:Object(m.__)("Setting up Shipping Zones","woocommerce-admin"),link:"https://woocommerce.com/document/setting-up-shipping-zones/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Core Shipping Options","woocommerce-admin"),link:"https://woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Product Shipping Classes","woocommerce-admin"),link:"https://woocommerce.com/document/product-shipping-classes/?utm_source=help_panel&utm_medium=product"},o&&{title:Object(m.__)("WooCommerce Shipping setup and configuration","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-shipping-and-tax/?utm_source=help_panel&utm_medium=product#section-3"},{title:Object(m.__)("Learn more about configuring your shipping settings","woocommerce-admin"),link:"https://woocommerce.com/document/plugins/woocommerce/getting-started/shipping/?utm_source=help_panel&utm_medium=product"}].filter(Boolean)}(e);case"tax":return function(e){const{countryCode:t,taskLists:o}=e,c=o.reduce((e,t)=>[...e,...t.tasks],[]).find(e=>"tax"===e.id);if(!c)return;const{additionalData:n}=c,{woocommerceTaxCountries:r=[],taxJarActivated:i}=n,a=!i&&r.includes(t);return[{title:Object(m.__)("Setting up Taxes in WooCommerce","woocommerce-admin"),link:"https://woocommerce.com/document/setting-up-taxes-in-woocommerce/?utm_source=help_panel&utm_medium=product"},a&&{title:Object(m.__)("Automated Tax calculation using WooCommerce Tax","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-services/?utm_source=help_panel&utm_medium=product#section-10"}].filter(Boolean)}(e);case"payments":return function(e){const{paymentGatewaySuggestions:t}=e;return[{title:Object(m.__)("Which Payment Option is Right for Me?","woocommerce-admin"),link:"https://woocommerce.com/document/premium-payment-gateway-extensions/?utm_source=help_panel&utm_medium=product"},t.woocommerce_payments&&{title:Object(m.__)("WooCommerce Payments Start Up Guide","woocommerce-admin"),link:"https://woocommerce.com/document/payments/?utm_source=help_panel&utm_medium=product"},t.woocommerce_payments&&{title:Object(m.__)("WooCommerce Payments FAQs","woocommerce-admin"),link:"https://woocommerce.com/documentation/woocommerce-payments/woocommerce-payments-faqs/?utm_source=help_panel&utm_medium=product"},t.stripe&&{title:Object(m.__)("Stripe Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/stripe/?utm_source=help_panel&utm_medium=product"},t["ppcp-gateway"]&&{title:Object(m.__)("PayPal Checkout Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/2-0/woocommerce-paypal-payments/?utm_medium=product#section-3"},t.square_credit_card&&{title:Object(m.__)("Square - Get started","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-square/?utm_source=help_panel&utm_medium=product"},t.kco&&{title:Object(m.__)("Klarna - Introduction","woocommerce-admin"),link:"https://woocommerce.com/document/klarna-checkout/?utm_source=help_panel&utm_medium=product"},t.klarna_payments&&{title:Object(m.__)("Klarna - Introduction","woocommerce-admin"),link:"https://woocommerce.com/document/klarna-payments/?utm_source=help_panel&utm_medium=product"},t.payfast&&{title:Object(m.__)("PayFast Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/payfast-payment-gateway/?utm_source=help_panel&utm_medium=product"},t.eway&&{title:Object(m.__)("Eway Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/eway/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Direct Bank Transfer (BACS)","woocommerce-admin"),link:"https://woocommerce.com/document/bacs/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Cash on Delivery","woocommerce-admin"),link:"https://woocommerce.com/document/cash-on-delivery/?utm_source=help_panel&utm_medium=product"}].filter(Boolean)}(e);case"marketing":return function(e){const{activePlugins:t}=e;return[t.includes("mailpoet")&&{title:Object(m.__)("Get started with Mailpoet","woocommerce-admin"),link:"https://kb.mailpoet.com/category/114-getting-started"},t.includes("google-listings-and-ads")&&{title:Object(m.__)("Set up Google Listing & Ads","woocommerce-admin"),link:"https://woocommerce.com/document/google-listings-and-ads/?utm_medium=product#get-started"},t.includes("mailchimp-for-woocommerce")&&{title:Object(m.__)("Connect Mailchimp for WooCommerce","woocommerce-admin"),link:"https://mailchimp.com/help/connect-or-disconnect-mailchimp-for-woocommerce/"},t.includes("creative-mail-by-constant-contact")&&{title:Object(m.__)("Set up Creative Mail for WooCommerce","woocommerce-admin"),link:"https://app.creativemail.com/kb/help/WooCommerce"}].filter(Boolean)}(e);default:return[{title:Object(m.__)("Get Support","woocommerce-admin"),link:"https://woocommerce.com/my-account/create-a-ticket/?utm_medium=product"},{title:Object(m.__)("Home Screen","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product"},{title:Object(m.__)("Inbox","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-2"},{title:Object(m.__)("Stats Overview","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-4"},{title:Object(m.__)("Store Management","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-5"},{title:Object(m.__)("Store Setup Checklist","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-setup-wizard?utm_medium=product#store-setup-checklist"}]}}function k(e,t){const{taskName:o}=e;t&&e.recordEvent("help_panel_click",{task_name:o||"homescreen",link:t.currentTarget.href})}const y=e=>{const{taskName:t}=e;Object(c.useEffect)(()=>{e.recordEvent("help_panel_open",{task_name:t||"homescreen"})},[t]);const o=function(e){const t=f(e),o={title:Object(m.__)("WooCommerce Docs","woocommerce-admin"),link:"https://woocommerce.com/documentation/?utm_source=help_panel&utm_medium=product"};t.push(o);const r=Object(i.applyFilters)(O,t,e.taskName,e);let p=Array.isArray(r)?r.filter(e=>e instanceof Object&&e.title&&e.link):[];p.length||(p=[o]);const d=Object(l.partial)(k,e);return p.map(e=>({title:Object(c.createElement)(n.Text,{as:"div",variant:"button",weight:"600",size:"14",lineHeight:"20px"},e.title),before:Object(c.createElement)(a.a,{icon:u.a}),after:Object(c.createElement)(a.a,{icon:s.a}),linkType:"external",target:"_blank",href:e.link,onClick:d}))}(e);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(g.a,{title:Object(m.__)("Documentation","woocommerce-admin")}),Object(c.createElement)(p.Section,null,Object(c.createElement)(p.List,{items:o,className:"woocommerce-quick-links__list"})))};y.defaultProps={recordEvent:h.recordEvent};t.default=w(Object(r.withSelect)(e=>{const{getSettings:t}=e(d.SETTINGS_STORE_NAME),{getActivePlugins:o}=e(d.PLUGINS_STORE_NAME),{general:c={}}=t("general"),m=o(),n=e(d.ONBOARDING_STORE_NAME).getPaymentGatewaySuggestions().reduce((e,t)=>{const{id:o}=t;return e[o]=!0,e},{}),r=e(d.ONBOARDING_STORE_NAME).getTaskLists();return{activePlugins:m,countryCode:Object(b.b)(c.woocommerce_default_country),paymentGatewaySuggestions:n,taskLists:r}}))(y)}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{476:function(e,t,o){"use strict";var c=o(0),m=o(8),n=Object(c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(m.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=n},528:function(e,t,o){"use strict";var c=o(0),m=o(6),n=o.n(m),r=o(1),i=o.n(r),a=o(17),u=o(21);o(529);class s extends c.Component{render(){const{className:e,menu:t,subtitle:o,title:m,unreadMessages:r}=this.props,i=n()({"woocommerce-layout__inbox-panel-header":o,"woocommerce-layout__activity-panel-header":!o},e),u=r||0;return Object(c.createElement)("div",{className:i},Object(c.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(c.createElement)(a.Text,{size:16,weight:600,color:"#23282d"},m),Object(c.createElement)(a.Text,{variant:"button",weight:"600",size:"14",lineHeight:"20px"},u>0&&Object(c.createElement)("span",{className:"woocommerce-layout__inbox-badge"},r))),Object(c.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},o&&Object(c.createElement)(a.Text,{variant:"body.small",size:"14",lineHeight:"20px"},o)),t&&Object(c.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},t))}}s.propTypes={className:i.a.string,unreadMessages:i.a.number,title:i.a.string.isRequired,subtitle:i.a.string,menu:i.a.shape({type:i.a.oneOf([u.EllipsisMenu])})},t.a=s},529:function(e,t,o){},603:function(e,t,o){"use strict";(function(e,c){var m,n=o(605);m="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:c;var r=Object(n.a)(m);t.a=r}).call(this,o(81),o(604)(e))},604:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},605:function(e,t,o){"use strict";function c(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}o.d(t,"a",(function(){return c}))},638:function(e,t,o){"use strict";o.r(t),o.d(t,"SETUP_TASK_HELP_ITEMS_FILTER",(function(){return O})),o.d(t,"HelpPanel",(function(){return y}));var c=o(0),m=o(2),n=o(17),r=o(7),i=o(28),a=o(118),u=o(502),s=o(476),l=o(4),p=o(21),d=o(11),_=(o(603),function(){return Math.random().toString(36).substring(7).split("").join(".")});_(),_();function w(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var h=o(16),g=o(528),b=o(65);const O="woocommerce_admin_setup_task_help_items";function f(e){const{taskName:t}=e;switch(t){case"products":return[{title:Object(m.__)("Adding and Managing Products","woocommerce-admin"),link:"https://woocommerce.com/document/managing-products/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Import products using the CSV Importer and Exporter","woocommerce-admin"),link:"https://woocommerce.com/document/product-csv-importer-exporter/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Migrate products using Cart2Cart","woocommerce-admin"),link:"https://woocommerce.com/products/cart2cart/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Learn more about setting up products","woocommerce-admin"),link:"https://woocommerce.com/documentation/plugins/woocommerce/getting-started/setup-products/?utm_source=help_panel&utm_medium=product"}];case"appearance":return[{title:Object(m.__)("Showcase your products and tailor your shopping experience using Blocks","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-blocks/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Manage Store Notice, Catalog View and Product Images","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-customizer/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("How to choose and change a theme","woocommerce-admin"),link:"https://woocommerce.com/document/choose-change-theme/?utm_source=help_panel&utm_medium=product"}];case"shipping":return function({activePlugins:e,countryCode:t}){const o="US"===t&&!e.includes("woocommerce-services");return[{title:Object(m.__)("Setting up Shipping Zones","woocommerce-admin"),link:"https://woocommerce.com/document/setting-up-shipping-zones/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Core Shipping Options","woocommerce-admin"),link:"https://woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Product Shipping Classes","woocommerce-admin"),link:"https://woocommerce.com/document/product-shipping-classes/?utm_source=help_panel&utm_medium=product"},o&&{title:Object(m.__)("WooCommerce Shipping setup and configuration","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-shipping-and-tax/?utm_source=help_panel&utm_medium=product#section-3"},{title:Object(m.__)("Learn more about configuring your shipping settings","woocommerce-admin"),link:"https://woocommerce.com/document/plugins/woocommerce/getting-started/shipping/?utm_source=help_panel&utm_medium=product"}].filter(Boolean)}(e);case"tax":return function(e){const{countryCode:t,taskLists:o}=e,c=o.reduce((e,t)=>[...e,...t.tasks],[]).find(e=>"tax"===e.id);if(!c)return;const{additionalData:n}=c,{woocommerceTaxCountries:r=[],taxJarActivated:i}=n,a=!i&&r.includes(t);return[{title:Object(m.__)("Setting up Taxes in WooCommerce","woocommerce-admin"),link:"https://woocommerce.com/document/setting-up-taxes-in-woocommerce/?utm_source=help_panel&utm_medium=product"},a&&{title:Object(m.__)("Automated Tax calculation using WooCommerce Tax","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-services/?utm_source=help_panel&utm_medium=product#section-10"}].filter(Boolean)}(e);case"payments":return function(e){const{paymentGatewaySuggestions:t}=e;return[{title:Object(m.__)("Which Payment Option is Right for Me?","woocommerce-admin"),link:"https://woocommerce.com/document/premium-payment-gateway-extensions/?utm_source=help_panel&utm_medium=product"},t.woocommerce_payments&&{title:Object(m.__)("WooCommerce Payments Start Up Guide","woocommerce-admin"),link:"https://woocommerce.com/document/payments/?utm_source=help_panel&utm_medium=product"},t.woocommerce_payments&&{title:Object(m.__)("WooCommerce Payments FAQs","woocommerce-admin"),link:"https://woocommerce.com/documentation/woocommerce-payments/woocommerce-payments-faqs/?utm_source=help_panel&utm_medium=product"},t.stripe&&{title:Object(m.__)("Stripe Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/stripe/?utm_source=help_panel&utm_medium=product"},t["ppcp-gateway"]&&{title:Object(m.__)("PayPal Checkout Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/2-0/woocommerce-paypal-payments/?utm_medium=product#section-3"},t.square_credit_card&&{title:Object(m.__)("Square - Get started","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-square/?utm_source=help_panel&utm_medium=product"},t.kco&&{title:Object(m.__)("Klarna - Introduction","woocommerce-admin"),link:"https://woocommerce.com/document/klarna-checkout/?utm_source=help_panel&utm_medium=product"},t.klarna_payments&&{title:Object(m.__)("Klarna - Introduction","woocommerce-admin"),link:"https://woocommerce.com/document/klarna-payments/?utm_source=help_panel&utm_medium=product"},t.payfast&&{title:Object(m.__)("PayFast Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/payfast-payment-gateway/?utm_source=help_panel&utm_medium=product"},t.eway&&{title:Object(m.__)("Eway Setup and Configuration","woocommerce-admin"),link:"https://woocommerce.com/document/eway/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Direct Bank Transfer (BACS)","woocommerce-admin"),link:"https://woocommerce.com/document/bacs/?utm_source=help_panel&utm_medium=product"},{title:Object(m.__)("Cash on Delivery","woocommerce-admin"),link:"https://woocommerce.com/document/cash-on-delivery/?utm_source=help_panel&utm_medium=product"}].filter(Boolean)}(e);case"marketing":return function(e){const{activePlugins:t}=e;return[t.includes("mailpoet")&&{title:Object(m.__)("Get started with Mailpoet","woocommerce-admin"),link:"https://kb.mailpoet.com/category/114-getting-started"},t.includes("google-listings-and-ads")&&{title:Object(m.__)("Set up Google Listing & Ads","woocommerce-admin"),link:"https://woocommerce.com/document/google-listings-and-ads/?utm_medium=product#get-started"},t.includes("mailchimp-for-woocommerce")&&{title:Object(m.__)("Connect Mailchimp for WooCommerce","woocommerce-admin"),link:"https://mailchimp.com/help/connect-or-disconnect-mailchimp-for-woocommerce/"},t.includes("creative-mail-by-constant-contact")&&{title:Object(m.__)("Set up Creative Mail for WooCommerce","woocommerce-admin"),link:"https://app.creativemail.com/kb/help/WooCommerce"}].filter(Boolean)}(e);default:return[{title:Object(m.__)("Get Support","woocommerce-admin"),link:"https://woocommerce.com/my-account/create-a-ticket/?utm_medium=product"},{title:Object(m.__)("Home Screen","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product"},{title:Object(m.__)("Inbox","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-2"},{title:Object(m.__)("Stats Overview","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-4"},{title:Object(m.__)("Store Management","woocommerce-admin"),link:"https://woocommerce.com/document/home-screen/?utm_medium=product#section-5"},{title:Object(m.__)("Store Setup Checklist","woocommerce-admin"),link:"https://woocommerce.com/document/woocommerce-setup-wizard?utm_medium=product#store-setup-checklist"}]}}function k(e,t){const{taskName:o}=e;t&&e.recordEvent("help_panel_click",{task_name:o||"homescreen",link:t.currentTarget.href})}const y=e=>{const{taskName:t}=e;Object(c.useEffect)(()=>{e.recordEvent("help_panel_open",{task_name:t||"homescreen"})},[t]);const o=function(e){const t=f(e),o={title:Object(m.__)("WooCommerce Docs","woocommerce-admin"),link:"https://woocommerce.com/documentation/?utm_source=help_panel&utm_medium=product"};t.push(o);const r=Object(i.applyFilters)(O,t,e.taskName,e);let p=Array.isArray(r)?r.filter(e=>e instanceof Object&&e.title&&e.link):[];p.length||(p=[o]);const d=Object(l.partial)(k,e);return p.map(e=>({title:Object(c.createElement)(n.Text,{as:"div",variant:"button",weight:"600",size:"14",lineHeight:"20px"},e.title),before:Object(c.createElement)(a.a,{icon:u.a}),after:Object(c.createElement)(a.a,{icon:s.a}),linkType:"external",target:"_blank",href:e.link,onClick:d}))}(e);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(g.a,{title:Object(m.__)("Documentation","woocommerce-admin")}),Object(c.createElement)(p.Section,null,Object(c.createElement)(p.List,{items:o,className:"woocommerce-quick-links__list"})))};y.defaultProps={recordEvent:h.recordEvent};t.default=w(Object(r.withSelect)(e=>{const{getSettings:t}=e(d.SETTINGS_STORE_NAME),{getActivePlugins:o}=e(d.PLUGINS_STORE_NAME),{general:c={}}=t("general"),m=o(),n=e(d.ONBOARDING_STORE_NAME).getPaymentGatewaySuggestions().reduce((e,t)=>{const{id:o}=t;return e[o]=!0,e},{}),r=e(d.ONBOARDING_STORE_NAME).getTaskLists();return{activePlugins:m,countryCode:Object(b.b)(c.woocommerce_default_country),paymentGatewaySuggestions:n,taskLists:r}}))(y)}}]);
dist/chunks/activity-panels-inbox.js CHANGED
@@ -18,7 +18,7 @@ __webpack_require__.r(__webpack_exports__);
18
  /* harmony import */ var _inbox_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(606);
19
  /* harmony import */ var _inbox_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_inbox_scss__WEBPACK_IMPORTED_MODULE_1__);
20
  /* harmony import */ var _inbox_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(547);
21
- /* harmony import */ var _abbreviated_notifications_panel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(256);
22
 
23
 
24
  /**
18
  /* harmony import */ var _inbox_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(606);
19
  /* harmony import */ var _inbox_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_inbox_scss__WEBPACK_IMPORTED_MODULE_1__);
20
  /* harmony import */ var _inbox_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(547);
21
+ /* harmony import */ var _abbreviated_notifications_panel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(257);
22
 
23
 
24
  /**
dist/chunks/activity-panels-inbox.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[5],{606:function(e,t,n){},625:function(e,t,n){"use strict";n.r(t),n.d(t,"InboxPanel",(function(){return a}));var o=n(0),c=(n(606),n(547)),i=n(256);const a=({hasAbbreviatedNotifications:e,thingsToDoNextCount:t})=>Object(o.createElement)("div",{className:"woocommerce-notification-panels"},e&&Object(o.createElement)(i.b,{thingsToDoNextCount:t}),Object(o.createElement)(c.a,{showHeader:!1}));t.default=a}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[5],{606:function(e,t,n){},625:function(e,t,n){"use strict";n.r(t),n.d(t,"InboxPanel",(function(){return a}));var o=n(0),c=(n(606),n(547)),i=n(257);const a=({hasAbbreviatedNotifications:e,thingsToDoNextCount:t})=>Object(o.createElement)("div",{className:"woocommerce-notification-panels"},e&&Object(o.createElement)(i.b,{thingsToDoNextCount:t}),Object(o.createElement)(c.a,{showHeader:!1}));t.default=a}}]);
dist/chunks/analytics-report-categories.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[7],{
2
 
3
- /***/ 482:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -18,16 +18,16 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
18
  var external_wp_i18n_ = __webpack_require__(2);
19
 
20
  // EXTERNAL MODULE: external ["wp","hooks"]
21
- var external_wp_hooks_ = __webpack_require__(31);
22
 
23
  // EXTERNAL MODULE: external ["wp","data"]
24
  var external_wp_data_ = __webpack_require__(7);
25
 
26
  // EXTERNAL MODULE: ./client/lib/async-requests/index.js
27
- var async_requests = __webpack_require__(506);
28
 
29
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
30
- var constants = __webpack_require__(57);
31
 
32
  // CONCATENATED MODULE: ./client/analytics/report/categories/config.js
33
  /**
@@ -126,7 +126,7 @@ const config_filters = Object(external_wp_hooks_["applyFilters"])(CATEGORY_REPOR
126
  filters: filterValues
127
  }]);
128
  // EXTERNAL MODULE: external ["wp","compose"]
129
- var external_wp_compose_ = __webpack_require__(14);
130
 
131
  // EXTERNAL MODULE: external "lodash"
132
  var external_lodash_ = __webpack_require__(4);
@@ -138,19 +138,19 @@ var external_wc_navigation_ = __webpack_require__(12);
138
  var external_wc_components_ = __webpack_require__(21);
139
 
140
  // EXTERNAL MODULE: external ["wc","number"]
141
- var external_wc_number_ = __webpack_require__(121);
142
 
143
  // EXTERNAL MODULE: external ["wc","data"]
144
  var external_wc_data_ = __webpack_require__(11);
145
 
146
  // EXTERNAL MODULE: ./client/analytics/report/categories/breadcrumbs.js
147
- var breadcrumbs = __webpack_require__(524);
148
 
149
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
150
- var report_table = __webpack_require__(511);
151
 
152
  // EXTERNAL MODULE: ./client/lib/currency-context.js
153
- var currency_context = __webpack_require__(505);
154
 
155
  // CONCATENATED MODULE: ./client/analytics/report/categories/table.js
156
 
@@ -361,19 +361,19 @@ table_CategoriesReportTable.contextType = currency_context["a" /* CurrencyContex
361
  };
362
  }))(table_CategoriesReportTable));
363
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
364
- var get_selected_chart = __webpack_require__(514);
365
 
366
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
367
- var report_chart = __webpack_require__(512);
368
 
369
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
370
- var report_summary = __webpack_require__(515);
371
 
372
  // EXTERNAL MODULE: ./client/analytics/report/products/table.js
373
- var products_table = __webpack_require__(534);
374
 
375
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
376
- var report_filters = __webpack_require__(510);
377
 
378
  // CONCATENATED MODULE: ./client/analytics/report/categories/index.js
379
 
@@ -485,7 +485,7 @@ categories_CategoriesReport.propTypes = {
485
 
486
  /***/ }),
487
 
488
- /***/ 506:
489
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
490
 
491
  "use strict";
@@ -508,8 +508,8 @@ categories_CategoriesReport.propTypes = {
508
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
509
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
510
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
511
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13);
512
- /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(507);
513
  /**
514
  * External dependencies
515
  */
@@ -518,12 +518,12 @@ categories_CategoriesReport.propTypes = {
518
 
519
 
520
 
521
-
522
  /**
523
  * Internal dependencies
524
  */
525
 
526
 
 
527
  /**
528
  * Get a function that accepts ids as they are found in url parameter and
529
  * returns a promise with an optional method applied to results
@@ -573,7 +573,7 @@ const getProductLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTE
573
  }));
574
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
575
  key: taxRate.id,
576
- label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__[/* getTaxCode */ "a"])(taxRate)
577
  }));
578
  /**
579
  * Create a variation name by concatenating each of the variation's
@@ -589,7 +589,7 @@ function getVariationName({
589
  attributes,
590
  name
591
  }) {
592
- const separator = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__[/* getSetting */ "f"])('variationTitleAttributesSeparator', ' - ');
593
 
594
  if (name && name.indexOf(separator) > -1) {
595
  return name;
@@ -618,7 +618,7 @@ const getVariationLabels = getRequestByIdString(({
618
 
619
  /***/ }),
620
 
621
- /***/ 507:
622
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
623
 
624
  "use strict";
@@ -635,7 +635,7 @@ function getTaxCode(tax) {
635
 
636
  /***/ }),
637
 
638
- /***/ 517:
639
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
640
 
641
  "use strict";
@@ -657,7 +657,7 @@ function isLowStock(status, quantity, threshold) {
657
 
658
  /***/ }),
659
 
660
- /***/ 524:
661
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
662
 
663
  "use strict";
@@ -735,7 +735,7 @@ class CategoryBreadcrumbs extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0_
735
 
736
  /***/ }),
737
 
738
- /***/ 534:
739
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
740
 
741
  "use strict";
@@ -743,9 +743,9 @@ class CategoryBreadcrumbs extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0_
743
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
744
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
745
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
746
- /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
747
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
748
- /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28);
749
  /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3__);
750
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
751
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
@@ -755,17 +755,19 @@ class CategoryBreadcrumbs extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0_
755
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_6__);
756
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21);
757
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_7__);
758
- /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(121);
759
  /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_8__);
760
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(13);
 
761
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(11);
762
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_10__);
763
- /* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(524);
764
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(517);
765
- /* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(511);
766
- /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(505);
767
- /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(535);
768
- /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_15__);
 
769
 
770
 
771
  /**
@@ -791,8 +793,9 @@ class CategoryBreadcrumbs extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0_
791
 
792
 
793
 
794
- const manageStock = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_9__[/* getSetting */ "f"])('manageStock', 'no');
795
- const stockStatuses = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_9__[/* getSetting */ "f"])('stockStatuses', {});
 
796
 
797
  class ProductsReportTable extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
798
  constructor() {
@@ -892,7 +895,7 @@ class ProductsReportTable extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0_
892
  } = this.props;
893
  const productCategories = categoryIds && categories && categoryIds.map(categoryId => categories.get(categoryId)).filter(Boolean) || [];
894
  const stockStatus = Object(_utils__WEBPACK_IMPORTED_MODULE_12__[/* isLowStock */ "a"])(extendedInfoStockStatus, stockQuantity, lowStockAmount) ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_7__["Link"], {
895
- href: Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_9__[/* getAdminLink */ "e"])('post.php?action=edit&post=' + productId),
896
  type: "wp-admin"
897
  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Low', 'Indication of a low quantity', 'woocommerce-admin')) : stockStatuses[extendedInfoStockStatus];
898
  return [{
@@ -1044,7 +1047,7 @@ ProductsReportTable.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE
1044
 
1045
  /***/ }),
1046
 
1047
- /***/ 535:
1048
  /***/ (function(module, exports, __webpack_require__) {
1049
 
1050
  // extracted by mini-css-extract-plugin
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[7],{
2
 
3
+ /***/ 483:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
18
  var external_wp_i18n_ = __webpack_require__(2);
19
 
20
  // EXTERNAL MODULE: external ["wp","hooks"]
21
+ var external_wp_hooks_ = __webpack_require__(28);
22
 
23
  // EXTERNAL MODULE: external ["wp","data"]
24
  var external_wp_data_ = __webpack_require__(7);
25
 
26
  // EXTERNAL MODULE: ./client/lib/async-requests/index.js
27
+ var async_requests = __webpack_require__(507);
28
 
29
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
30
+ var constants = __webpack_require__(58);
31
 
32
  // CONCATENATED MODULE: ./client/analytics/report/categories/config.js
33
  /**
126
  filters: filterValues
127
  }]);
128
  // EXTERNAL MODULE: external ["wp","compose"]
129
+ var external_wp_compose_ = __webpack_require__(13);
130
 
131
  // EXTERNAL MODULE: external "lodash"
132
  var external_lodash_ = __webpack_require__(4);
138
  var external_wc_components_ = __webpack_require__(21);
139
 
140
  // EXTERNAL MODULE: external ["wc","number"]
141
+ var external_wc_number_ = __webpack_require__(122);
142
 
143
  // EXTERNAL MODULE: external ["wc","data"]
144
  var external_wc_data_ = __webpack_require__(11);
145
 
146
  // EXTERNAL MODULE: ./client/analytics/report/categories/breadcrumbs.js
147
+ var breadcrumbs = __webpack_require__(526);
148
 
149
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
150
+ var report_table = __webpack_require__(512);
151
 
152
  // EXTERNAL MODULE: ./client/lib/currency-context.js
153
+ var currency_context = __webpack_require__(506);
154
 
155
  // CONCATENATED MODULE: ./client/analytics/report/categories/table.js
156
 
361
  };
362
  }))(table_CategoriesReportTable));
363
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
364
+ var get_selected_chart = __webpack_require__(515);
365
 
366
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
367
+ var report_chart = __webpack_require__(513);
368
 
369
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
370
+ var report_summary = __webpack_require__(516);
371
 
372
  // EXTERNAL MODULE: ./client/analytics/report/products/table.js
373
+ var products_table = __webpack_require__(536);
374
 
375
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
376
+ var report_filters = __webpack_require__(511);
377
 
378
  // CONCATENATED MODULE: ./client/analytics/report/categories/index.js
379
 
485
 
486
  /***/ }),
487
 
488
+ /***/ 507:
489
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
490
 
491
  "use strict";
508
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
509
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
510
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
511
+ /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(508);
512
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
513
  /**
514
  * External dependencies
515
  */
518
 
519
 
520
 
 
521
  /**
522
  * Internal dependencies
523
  */
524
 
525
 
526
+
527
  /**
528
  * Get a function that accepts ids as they are found in url parameter and
529
  * returns a promise with an optional method applied to results
573
  }));
574
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
575
  key: taxRate.id,
576
+ label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__[/* getTaxCode */ "a"])(taxRate)
577
  }));
578
  /**
579
  * Create a variation name by concatenating each of the variation's
589
  attributes,
590
  name
591
  }) {
592
+ const separator = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* getAdminSetting */ "d"])('variationTitleAttributesSeparator', ' - ');
593
 
594
  if (name && name.indexOf(separator) > -1) {
595
  return name;
618
 
619
  /***/ }),
620
 
621
+ /***/ 508:
622
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
623
 
624
  "use strict";
635
 
636
  /***/ }),
637
 
638
+ /***/ 519:
639
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
640
 
641
  "use strict";
657
 
658
  /***/ }),
659
 
660
+ /***/ 526:
661
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
662
 
663
  "use strict";
735
 
736
  /***/ }),
737
 
738
+ /***/ 536:
739
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
740
 
741
  "use strict";
743
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
744
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
745
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
746
+ /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
747
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
748
+ /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30);
749
  /* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_3__);
750
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
751
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
755
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_6__);
756
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21);
757
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_7__);
758
+ /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(122);
759
  /* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_8__);
760
+ /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(14);
761
+ /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__);
762
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(11);
763
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_10__);
764
+ /* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(526);
765
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(519);
766
+ /* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(512);
767
+ /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(506);
768
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(22);
769
+ /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(537);
770
+ /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_16__);
771
 
772
 
773
  /**
793
 
794
 
795
 
796
+
797
+ const manageStock = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_15__[/* getAdminSetting */ "d"])('manageStock', 'no');
798
+ const stockStatuses = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_15__[/* getAdminSetting */ "d"])('stockStatuses', {});
799
 
800
  class ProductsReportTable extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
801
  constructor() {
895
  } = this.props;
896
  const productCategories = categoryIds && categories && categoryIds.map(categoryId => categories.get(categoryId)).filter(Boolean) || [];
897
  const stockStatus = Object(_utils__WEBPACK_IMPORTED_MODULE_12__[/* isLowStock */ "a"])(extendedInfoStockStatus, stockQuantity, lowStockAmount) ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_7__["Link"], {
898
+ href: Object(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_9__["getAdminLink"])('post.php?action=edit&post=' + productId),
899
  type: "wp-admin"
900
  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Low', 'Indication of a low quantity', 'woocommerce-admin')) : stockStatuses[extendedInfoStockStatus];
901
  return [{
1047
 
1048
  /***/ }),
1049
 
1050
+ /***/ 537:
1051
  /***/ (function(module, exports, __webpack_require__) {
1052
 
1053
  // extracted by mini-css-extract-plugin
dist/chunks/analytics-report-categories.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[7],{482:function(e,t,r){"use strict";r.r(t);var o=r(0),c=r(1),a=r.n(c),s=r(2),n=r(31),i=r(7),m=r(506),l=r(57);const{addCesSurveyForAnalytics:d}=Object(i.dispatch)(l.c),u=Object(n.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(s.__)("Items sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(s.__)("Net sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(s.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),b=Object(n.applyFilters)("woocommerce_admin_category_report_advanced_filters",{filters:{},title:Object(s._x)("Categories match {{select /}} filters","A sentence describing filters for Categories. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin")}),g=[{label:Object(s.__)("All categories","woocommerce-admin"),value:"all"},{label:Object(s.__)("Single category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:m.a,labels:{placeholder:Object(s.__)("Type to search for a category","woocommerce-admin"),button:Object(s.__)("Single Category","woocommerce-admin")}}}]},{label:Object(s.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:m.a,labels:{helpText:Object(s.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(s.__)("Search for categories to compare","woocommerce-admin"),title:Object(s.__)("Compare Categories","woocommerce-admin"),update:Object(s.__)("Compare","woocommerce-admin")},onClick:d}}];Object.keys(b.filters).length&&g.push({label:Object(s.__)("Advanced filters","woocommerce-admin"),value:"advanced"});const _=Object(n.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(s.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:g}]);var p=r(14),y=r(4),O=r(12),j=r(21),h=r(121),f=r(11),w=r(524),v=r(511),C=r(505);class S extends o.Component{constructor(e){super(e),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(s.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(s.__)("Items sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(s.__)("Net sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(s.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(s.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}getRowsContent(e){const{render:t,formatDecimal:r,getCurrencyConfig:c}=this.context,{categories:a,query:s}=this.props;if(!a)return[];const n=c();return Object(y.map)(e,e=>{const{category_id:c,items_sold:i,net_revenue:m,products_count:l,orders_count:d}=e,u=a.get(c),b=Object(O.getPersistedQuery)(s);return[{display:Object(o.createElement)(w.a,{query:s,category:u,categories:a}),value:u&&u.name},{display:Object(h.formatValue)(n,"number",i),value:i},{display:t(m),value:r(m)},{display:u&&Object(o.createElement)(j.Link,{href:Object(O.getNewPath)(b,"/analytics/categories",{filter:"single_category",categories:u.id}),type:"wc-admin"},Object(h.formatValue)(n,"number",l)),value:l},{display:Object(h.formatValue)(n,"number",d),value:d}]})}getSummary(e,t=0){const{items_sold:r=0,net_revenue:o=0,orders_count:c=0}=e,{formatAmount:a,getCurrencyConfig:n}=this.context,i=n();return[{label:Object(s._n)("Category","Categories",t,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",t)},{label:Object(s._n)("Item sold","Items sold",r,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",r)},{label:Object(s.__)("Net sales","woocommerce-admin"),value:a(o)},{label:Object(s._n)("Order","Orders",c,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",c)}]}render(){const{advancedFilters:e,filters:t,isRequesting:r,query:c}=this.props,a={helpText:Object(s.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(s.__)("Search by category name","woocommerce-admin")};return Object(o.createElement)(v.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:r,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(s.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:t,advancedFilters:e})}}S.contextType=C.a;var k=Object(p.compose)(Object(i.withSelect)((e,t)=>{const{isRequesting:r,query:o}=t;if(r||o.search&&(!o.categories||!o.categories.length))return{};const{getItems:c,getItemsError:a,isResolving:s}=e(f.ITEMS_STORE_NAME),n={per_page:-1};return{categories:c("categories",n),isError:Boolean(a("categories",n)),isRequesting:s("getItems",["categories",n])}}))(S),E=r(514),q=r(512),A=r(515),N=r(534),R=r(510);class P extends o.Component{getChartMeta(){const{query:e}=this.props,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(s.__)("%d products","woocommerce-admin"):Object(s.__)("%d categories","woocommerce-admin"),mode:o}}render(){const{isRequesting:e,query:t,path:r}=this.props,{mode:c,itemsLabel:a,isSingleCategoryView:s}=this.getChartMeta(),n={...t};return"item-comparison"===c&&(n.segmentby=s?"product":"category"),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(R.a,{query:t,path:r,filters:_,advancedFilters:b,report:"categories"}),Object(o.createElement)(A.a,{charts:u,endpoint:"products",isRequesting:e,limitProperties:s?["products","categories"]:["categories"],query:n,selectedChart:Object(E.a)(t.chart,u),filters:_,advancedFilters:b,report:"categories"}),Object(o.createElement)(q.a,{charts:u,filters:_,advancedFilters:b,mode:c,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:r,query:n,isRequesting:e,itemsLabel:a,selectedChart:Object(E.a)(t.chart,u)}),s?Object(o.createElement)(N.a,{isRequesting:e,query:n,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:_,advancedFilters:b}):Object(o.createElement)(k,{isRequesting:e,query:t,filters:_,advancedFilters:b}))}}P.propTypes={query:a.a.object.isRequired,path:a.a.string.isRequired};t.default=P},506:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return g})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return p})),r.d(t,"h",(function(){return y})),r.d(t,"g",(function(){return O}));var o=r(15),c=r(18),a=r.n(c),s=r(4),n=r(12),i=r(11),m=r(13),l=r(507);function d(e,t=s.identity){return function(r="",c){const s="function"==typeof e?e(c):e,i=Object(n.getIdsFromQuery)(r);if(i.length<1)return Promise.resolve([]);const m={include:i.join(","),per_page:i.length};return a()({path:Object(o.addQueryArgs)(s,m)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),g=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),_=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(l.a)(e)}));function y({attributes:e,name:t}){const r=Object(m.f)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const o=(e||[]).map(({option:e})=>e).join(", ");return o?t+r+o:t}const O=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:y(e)}))},507:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(2);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},517:function(e,t,r){"use strict";function o(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return o}))},524:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=r(0),c=r(4),a=r(3),s=r(21),n=r(12);class i extends o.Component{getCategoryAncestorIds(e,t){const r=[];let o=e.parent;for(;o;)r.unshift(o),o=t.get(o).parent;return r}getCategoryAncestors(e,t){const r=this.getCategoryAncestorIds(e,t);if(r.length)return 1===r.length?t.get(Object(c.first)(r)).name+" › ":2===r.length?t.get(Object(c.first)(r)).name+" › "+t.get(Object(c.last)(r)).name+" › ":t.get(Object(c.first)(r)).name+" … "+t.get(Object(c.last)(r)).name+" › "}render(){const{categories:e,category:t,query:r}=this.props,c=Object(n.getPersistedQuery)(r);return t?Object(o.createElement)("div",{className:"woocommerce-table__breadcrumbs"},this.getCategoryAncestors(t,e),Object(o.createElement)(s.Link,{href:Object(n.getNewPath)(c,"/analytics/categories",{filter:"single_category",categories:t.id}),type:"wc-admin"},t.name)):Object(o.createElement)(a.Spinner,null)}}},534:function(e,t,r){"use strict";var o=r(0),c=r(2),a=r(14),s=r(28),n=r(7),i=r(4),m=r(12),l=r(21),d=r(121),u=r(13),b=r(11),g=r(524),_=r(517),p=r(511),y=r(505);r(535);const O=Object(u.f)("manageStock","no"),j=Object(u.f)("stockStatuses",{});class h extends o.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(c.__)("Product title","woocommerce-admin"),key:"product_name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(c.__)("SKU","woocommerce-admin"),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(c.__)("Items sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(c.__)("Net sales","woocommerce-admin"),screenReaderLabel:Object(c.__)("Net sales","woocommerce-admin"),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(c.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(c.__)("Category","woocommerce-admin"),key:"product_cat"},{label:Object(c.__)("Variations","woocommerce-admin"),key:"variations",isSortable:!0},"yes"===O?{label:Object(c.__)("Status","woocommerce-admin"),key:"stock_status"}:null,"yes"===O?{label:Object(c.__)("Stock","woocommerce-admin"),key:"stock",isNumeric:!0}:null].filter(Boolean)}getRowsContent(e=[]){const{query:t}=this.props,r=Object(m.getPersistedQuery)(t),{render:a,formatDecimal:n,getCurrencyConfig:b}=this.context,p=b();return Object(i.map)(e,e=>{const{product_id:i,items_sold:b,net_revenue:y,orders_count:h}=e,f=e.extended_info||{},{category_ids:w,low_stock_amount:v,manage_stock:C,sku:S,stock_status:k,stock_quantity:E,variations:q=[]}=f,A=Object(s.decodeEntities)(f.name),N=Object(m.getNewPath)(r,"/analytics/orders",{filter:"advanced",product_includes:i}),R=Object(m.getNewPath)(r,"/analytics/products",{filter:"single_product",products:i}),{categories:P}=this.props,x=w&&P&&w.map(e=>P.get(e)).filter(Boolean)||[],F=Object(_.a)(k,E,v)?Object(o.createElement)(l.Link,{href:Object(u.e)("post.php?action=edit&post="+i),type:"wp-admin"},Object(c._x)("Low","Indication of a low quantity","woocommerce-admin")):j[k];return[{display:Object(o.createElement)(l.Link,{href:R,type:"wc-admin"},A),value:A},{display:S,value:S},{display:Object(d.formatValue)(p,"number",b),value:b},{display:a(y),value:n(y)},{display:Object(o.createElement)(l.Link,{href:N,type:"wc-admin"},h),value:h},{display:Object(o.createElement)("div",{className:"woocommerce-table__product-categories"},x[0]&&Object(o.createElement)(g.a,{category:x[0],categories:P}),x.length>1&&Object(o.createElement)(l.Tag,{label:Object(c.sprintf)(Object(c._x)("+%d more","categories","woocommerce-admin"),x.length-1),popoverContents:x.map(e=>Object(o.createElement)(g.a,{category:e,categories:P,key:e.id,query:t}))})),value:x.map(e=>e.name).join(", ")},{display:Object(d.formatValue)(p,"number",q.length),value:q.length},"yes"===O?{display:C?F:Object(c.__)("N/A","woocommerce-admin"),value:C?j[k]:null}:null,"yes"===O?{display:C?Object(d.formatValue)(p,"number",E):Object(c.__)("N/A","woocommerce-admin"),value:E}:null].filter(Boolean)})}getSummary(e){const{products_count:t=0,items_sold:r=0,net_revenue:o=0,orders_count:a=0}=e,{formatAmount:s,getCurrencyConfig:n}=this.context,i=n();return[{label:Object(c._n)("Product","Products",t,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",t)},{label:Object(c._n)("Item sold","Items sold",r,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",r)},{label:Object(c.__)("Net sales","woocommerce-admin"),value:s(o)},{label:Object(c._n)("Orders","Orders",a,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",a)}]}render(){const{advancedFilters:e,baseSearchQuery:t,filters:r,hideCompare:a,isRequesting:s,query:n}=this.props,i={helpText:Object(c.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(c.__)("Search by product name or SKU","woocommerce-admin")};return Object(o.createElement)(p.a,{compareBy:a?void 0:"products",endpoint:"products",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products_count","items_sold","net_revenue","orders_count"],itemIdField:"product_id",isRequesting:s,labels:i,query:n,searchBy:"products",baseSearchQuery:t,tableQuery:{orderby:n.orderby||"items_sold",order:n.order||"desc",extended_info:!0,segmentby:n.segmentby},title:Object(c.__)("Products","woocommerce-admin"),columnPrefsKey:"products_report_columns",filters:r,advancedFilters:e})}}h.contextType=y.a,t.a=Object(a.compose)(Object(n.withSelect)((e,t)=>{const{query:r,isRequesting:o}=t,{getItems:c,getItemsError:a,isResolving:s}=e(b.ITEMS_STORE_NAME);if(o||r.search&&(!r.products||!r.products.length))return{};const n={per_page:-1};return{categories:c("categories",n),isError:Boolean(a("categories",n)),isRequesting:s("getItems",["categories",n])}}))(h)},535:function(e,t,r){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[7],{483:function(e,t,r){"use strict";r.r(t);var o=r(0),c=r(1),a=r.n(c),s=r(2),n=r(28),i=r(7),m=r(507),l=r(58);const{addCesSurveyForAnalytics:d}=Object(i.dispatch)(l.c),u=Object(n.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(s.__)("Items sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(s.__)("Net sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(s.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),b=Object(n.applyFilters)("woocommerce_admin_category_report_advanced_filters",{filters:{},title:Object(s._x)("Categories match {{select /}} filters","A sentence describing filters for Categories. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin")}),g=[{label:Object(s.__)("All categories","woocommerce-admin"),value:"all"},{label:Object(s.__)("Single category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:m.a,labels:{placeholder:Object(s.__)("Type to search for a category","woocommerce-admin"),button:Object(s.__)("Single Category","woocommerce-admin")}}}]},{label:Object(s.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:m.a,labels:{helpText:Object(s.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(s.__)("Search for categories to compare","woocommerce-admin"),title:Object(s.__)("Compare Categories","woocommerce-admin"),update:Object(s.__)("Compare","woocommerce-admin")},onClick:d}}];Object.keys(b.filters).length&&g.push({label:Object(s.__)("Advanced filters","woocommerce-admin"),value:"advanced"});const _=Object(n.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(s.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:g}]);var p=r(13),y=r(4),O=r(12),j=r(21),h=r(122),f=r(11),w=r(526),v=r(512),C=r(506);class S extends o.Component{constructor(e){super(e),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(s.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(s.__)("Items sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(s.__)("Net sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(s.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(s.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}getRowsContent(e){const{render:t,formatDecimal:r,getCurrencyConfig:c}=this.context,{categories:a,query:s}=this.props;if(!a)return[];const n=c();return Object(y.map)(e,e=>{const{category_id:c,items_sold:i,net_revenue:m,products_count:l,orders_count:d}=e,u=a.get(c),b=Object(O.getPersistedQuery)(s);return[{display:Object(o.createElement)(w.a,{query:s,category:u,categories:a}),value:u&&u.name},{display:Object(h.formatValue)(n,"number",i),value:i},{display:t(m),value:r(m)},{display:u&&Object(o.createElement)(j.Link,{href:Object(O.getNewPath)(b,"/analytics/categories",{filter:"single_category",categories:u.id}),type:"wc-admin"},Object(h.formatValue)(n,"number",l)),value:l},{display:Object(h.formatValue)(n,"number",d),value:d}]})}getSummary(e,t=0){const{items_sold:r=0,net_revenue:o=0,orders_count:c=0}=e,{formatAmount:a,getCurrencyConfig:n}=this.context,i=n();return[{label:Object(s._n)("Category","Categories",t,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",t)},{label:Object(s._n)("Item sold","Items sold",r,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",r)},{label:Object(s.__)("Net sales","woocommerce-admin"),value:a(o)},{label:Object(s._n)("Order","Orders",c,"woocommerce-admin"),value:Object(h.formatValue)(i,"number",c)}]}render(){const{advancedFilters:e,filters:t,isRequesting:r,query:c}=this.props,a={helpText:Object(s.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(s.__)("Search by category name","woocommerce-admin")};return Object(o.createElement)(v.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:r,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(s.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:t,advancedFilters:e})}}S.contextType=C.a;var k=Object(p.compose)(Object(i.withSelect)((e,t)=>{const{isRequesting:r,query:o}=t;if(r||o.search&&(!o.categories||!o.categories.length))return{};const{getItems:c,getItemsError:a,isResolving:s}=e(f.ITEMS_STORE_NAME),n={per_page:-1};return{categories:c("categories",n),isError:Boolean(a("categories",n)),isRequesting:s("getItems",["categories",n])}}))(S),E=r(515),q=r(513),A=r(516),N=r(536),R=r(511);class P extends o.Component{getChartMeta(){const{query:e}=this.props,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(s.__)("%d products","woocommerce-admin"):Object(s.__)("%d categories","woocommerce-admin"),mode:o}}render(){const{isRequesting:e,query:t,path:r}=this.props,{mode:c,itemsLabel:a,isSingleCategoryView:s}=this.getChartMeta(),n={...t};return"item-comparison"===c&&(n.segmentby=s?"product":"category"),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(R.a,{query:t,path:r,filters:_,advancedFilters:b,report:"categories"}),Object(o.createElement)(A.a,{charts:u,endpoint:"products",isRequesting:e,limitProperties:s?["products","categories"]:["categories"],query:n,selectedChart:Object(E.a)(t.chart,u),filters:_,advancedFilters:b,report:"categories"}),Object(o.createElement)(q.a,{charts:u,filters:_,advancedFilters:b,mode:c,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:r,query:n,isRequesting:e,itemsLabel:a,selectedChart:Object(E.a)(t.chart,u)}),s?Object(o.createElement)(N.a,{isRequesting:e,query:n,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:_,advancedFilters:b}):Object(o.createElement)(k,{isRequesting:e,query:t,filters:_,advancedFilters:b}))}}P.propTypes={query:a.a.object.isRequired,path:a.a.string.isRequired};t.default=P},507:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return g})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return p})),r.d(t,"h",(function(){return y})),r.d(t,"g",(function(){return O}));var o=r(15),c=r(18),a=r.n(c),s=r(4),n=r(12),i=r(11),m=r(508),l=r(22);function d(e,t=s.identity){return function(r="",c){const s="function"==typeof e?e(c):e,i=Object(n.getIdsFromQuery)(r);if(i.length<1)return Promise.resolve([]);const m={include:i.join(","),per_page:i.length};return a()({path:Object(o.addQueryArgs)(s,m)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),g=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),_=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(m.a)(e)}));function y({attributes:e,name:t}){const r=Object(l.d)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const o=(e||[]).map(({option:e})=>e).join(", ");return o?t+r+o:t}const O=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:y(e)}))},508:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(2);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},519:function(e,t,r){"use strict";function o(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return o}))},526:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=r(0),c=r(4),a=r(3),s=r(21),n=r(12);class i extends o.Component{getCategoryAncestorIds(e,t){const r=[];let o=e.parent;for(;o;)r.unshift(o),o=t.get(o).parent;return r}getCategoryAncestors(e,t){const r=this.getCategoryAncestorIds(e,t);if(r.length)return 1===r.length?t.get(Object(c.first)(r)).name+" › ":2===r.length?t.get(Object(c.first)(r)).name+" › "+t.get(Object(c.last)(r)).name+" › ":t.get(Object(c.first)(r)).name+" … "+t.get(Object(c.last)(r)).name+" › "}render(){const{categories:e,category:t,query:r}=this.props,c=Object(n.getPersistedQuery)(r);return t?Object(o.createElement)("div",{className:"woocommerce-table__breadcrumbs"},this.getCategoryAncestors(t,e),Object(o.createElement)(s.Link,{href:Object(n.getNewPath)(c,"/analytics/categories",{filter:"single_category",categories:t.id}),type:"wc-admin"},t.name)):Object(o.createElement)(a.Spinner,null)}}},536:function(e,t,r){"use strict";var o=r(0),c=r(2),a=r(13),s=r(30),n=r(7),i=r(4),m=r(12),l=r(21),d=r(122),u=r(14),b=r(11),g=r(526),_=r(519),p=r(512),y=r(506),O=r(22);r(537);const j=Object(O.d)("manageStock","no"),h=Object(O.d)("stockStatuses",{});class f extends o.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(c.__)("Product title","woocommerce-admin"),key:"product_name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(c.__)("SKU","woocommerce-admin"),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(c.__)("Items sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(c.__)("Net sales","woocommerce-admin"),screenReaderLabel:Object(c.__)("Net sales","woocommerce-admin"),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(c.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(c.__)("Category","woocommerce-admin"),key:"product_cat"},{label:Object(c.__)("Variations","woocommerce-admin"),key:"variations",isSortable:!0},"yes"===j?{label:Object(c.__)("Status","woocommerce-admin"),key:"stock_status"}:null,"yes"===j?{label:Object(c.__)("Stock","woocommerce-admin"),key:"stock",isNumeric:!0}:null].filter(Boolean)}getRowsContent(e=[]){const{query:t}=this.props,r=Object(m.getPersistedQuery)(t),{render:a,formatDecimal:n,getCurrencyConfig:b}=this.context,p=b();return Object(i.map)(e,e=>{const{product_id:i,items_sold:b,net_revenue:y,orders_count:O}=e,f=e.extended_info||{},{category_ids:w,low_stock_amount:v,manage_stock:C,sku:S,stock_status:k,stock_quantity:E,variations:q=[]}=f,A=Object(s.decodeEntities)(f.name),N=Object(m.getNewPath)(r,"/analytics/orders",{filter:"advanced",product_includes:i}),R=Object(m.getNewPath)(r,"/analytics/products",{filter:"single_product",products:i}),{categories:P}=this.props,x=w&&P&&w.map(e=>P.get(e)).filter(Boolean)||[],F=Object(_.a)(k,E,v)?Object(o.createElement)(l.Link,{href:Object(u.getAdminLink)("post.php?action=edit&post="+i),type:"wp-admin"},Object(c._x)("Low","Indication of a low quantity","woocommerce-admin")):h[k];return[{display:Object(o.createElement)(l.Link,{href:R,type:"wc-admin"},A),value:A},{display:S,value:S},{display:Object(d.formatValue)(p,"number",b),value:b},{display:a(y),value:n(y)},{display:Object(o.createElement)(l.Link,{href:N,type:"wc-admin"},O),value:O},{display:Object(o.createElement)("div",{className:"woocommerce-table__product-categories"},x[0]&&Object(o.createElement)(g.a,{category:x[0],categories:P}),x.length>1&&Object(o.createElement)(l.Tag,{label:Object(c.sprintf)(Object(c._x)("+%d more","categories","woocommerce-admin"),x.length-1),popoverContents:x.map(e=>Object(o.createElement)(g.a,{category:e,categories:P,key:e.id,query:t}))})),value:x.map(e=>e.name).join(", ")},{display:Object(d.formatValue)(p,"number",q.length),value:q.length},"yes"===j?{display:C?F:Object(c.__)("N/A","woocommerce-admin"),value:C?h[k]:null}:null,"yes"===j?{display:C?Object(d.formatValue)(p,"number",E):Object(c.__)("N/A","woocommerce-admin"),value:E}:null].filter(Boolean)})}getSummary(e){const{products_count:t=0,items_sold:r=0,net_revenue:o=0,orders_count:a=0}=e,{formatAmount:s,getCurrencyConfig:n}=this.context,i=n();return[{label:Object(c._n)("Product","Products",t,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",t)},{label:Object(c._n)("Item sold","Items sold",r,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",r)},{label:Object(c.__)("Net sales","woocommerce-admin"),value:s(o)},{label:Object(c._n)("Orders","Orders",a,"woocommerce-admin"),value:Object(d.formatValue)(i,"number",a)}]}render(){const{advancedFilters:e,baseSearchQuery:t,filters:r,hideCompare:a,isRequesting:s,query:n}=this.props,i={helpText:Object(c.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(c.__)("Search by product name or SKU","woocommerce-admin")};return Object(o.createElement)(p.a,{compareBy:a?void 0:"products",endpoint:"products",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products_count","items_sold","net_revenue","orders_count"],itemIdField:"product_id",isRequesting:s,labels:i,query:n,searchBy:"products",baseSearchQuery:t,tableQuery:{orderby:n.orderby||"items_sold",order:n.order||"desc",extended_info:!0,segmentby:n.segmentby},title:Object(c.__)("Products","woocommerce-admin"),columnPrefsKey:"products_report_columns",filters:r,advancedFilters:e})}}f.contextType=y.a,t.a=Object(a.compose)(Object(n.withSelect)((e,t)=>{const{query:r,isRequesting:o}=t,{getItems:c,getItemsError:a,isResolving:s}=e(b.ITEMS_STORE_NAME);if(o||r.search&&(!r.products||!r.products.length))return{};const n={per_page:-1};return{categories:c("categories",n),isError:Boolean(a("categories",n)),isRequesting:s("getItems",["categories",n])}}))(f)},537:function(e,t,r){}}]);
dist/chunks/analytics-report-coupons.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[8],{
2
 
3
- /***/ 487:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -18,7 +18,7 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
18
  var external_wp_i18n_ = __webpack_require__(2);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/coupons/config.js
21
- var config = __webpack_require__(538);
22
 
23
  // EXTERNAL MODULE: external "lodash"
24
  var external_lodash_ = __webpack_require__(4);
@@ -30,19 +30,19 @@ var external_wc_components_ = __webpack_require__(21);
30
  var external_wc_navigation_ = __webpack_require__(12);
31
 
32
  // EXTERNAL MODULE: external ["wc","number"]
33
- var external_wc_number_ = __webpack_require__(121);
34
-
35
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
36
- var build_module = __webpack_require__(13);
37
 
38
  // EXTERNAL MODULE: external ["wc","date"]
39
  var external_wc_date_ = __webpack_require__(20);
40
 
41
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
42
- var report_table = __webpack_require__(511);
43
 
44
  // EXTERNAL MODULE: ./client/lib/currency-context.js
45
- var currency_context = __webpack_require__(505);
 
 
 
46
 
47
  // CONCATENATED MODULE: ./client/analytics/report/coupons/table.js
48
 
@@ -57,7 +57,6 @@ var currency_context = __webpack_require__(505);
57
 
58
 
59
 
60
-
61
  /**
62
  * Internal dependencies
63
  */
@@ -65,6 +64,7 @@ var currency_context = __webpack_require__(505);
65
 
66
 
67
 
 
68
  class table_CouponsReportTable extends external_wp_element_["Component"] {
69
  constructor() {
70
  super();
@@ -109,7 +109,7 @@ class table_CouponsReportTable extends external_wp_element_["Component"] {
109
  query
110
  } = this.props;
111
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
112
- const dateFormat = Object(build_module["f" /* getSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
113
  const {
114
  formatAmount,
115
  formatDecimal: getCurrencyFormatDecimal,
@@ -239,16 +239,16 @@ class table_CouponsReportTable extends external_wp_element_["Component"] {
239
  table_CouponsReportTable.contextType = currency_context["a" /* CurrencyContext */];
240
  /* harmony default export */ var table = (table_CouponsReportTable);
241
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
242
- var get_selected_chart = __webpack_require__(514);
243
 
244
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
245
- var report_chart = __webpack_require__(512);
246
 
247
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
248
- var report_summary = __webpack_require__(515);
249
 
250
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
251
- var report_filters = __webpack_require__(510);
252
 
253
  // CONCATENATED MODULE: ./client/analytics/report/coupons/index.js
254
 
@@ -345,7 +345,7 @@ coupons_CouponsReport.propTypes = {
345
 
346
  /***/ }),
347
 
348
- /***/ 506:
349
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
350
 
351
  "use strict";
@@ -368,8 +368,8 @@ coupons_CouponsReport.propTypes = {
368
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
369
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
370
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
371
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13);
372
- /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(507);
373
  /**
374
  * External dependencies
375
  */
@@ -378,12 +378,12 @@ coupons_CouponsReport.propTypes = {
378
 
379
 
380
 
381
-
382
  /**
383
  * Internal dependencies
384
  */
385
 
386
 
 
387
  /**
388
  * Get a function that accepts ids as they are found in url parameter and
389
  * returns a promise with an optional method applied to results
@@ -433,7 +433,7 @@ const getProductLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTE
433
  }));
434
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
435
  key: taxRate.id,
436
- label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__[/* getTaxCode */ "a"])(taxRate)
437
  }));
438
  /**
439
  * Create a variation name by concatenating each of the variation's
@@ -449,7 +449,7 @@ function getVariationName({
449
  attributes,
450
  name
451
  }) {
452
- const separator = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__[/* getSetting */ "f"])('variationTitleAttributesSeparator', ' - ');
453
 
454
  if (name && name.indexOf(separator) > -1) {
455
  return name;
@@ -478,7 +478,7 @@ const getVariationLabels = getRequestByIdString(({
478
 
479
  /***/ }),
480
 
481
- /***/ 507:
482
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
483
 
484
  "use strict";
@@ -495,7 +495,7 @@ function getTaxCode(tax) {
495
 
496
  /***/ }),
497
 
498
- /***/ 538:
499
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
500
 
501
  "use strict";
@@ -504,12 +504,12 @@ function getTaxCode(tax) {
504
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return filters; });
505
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
506
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
507
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
508
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
509
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
510
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
511
- /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(506);
512
- /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(57);
513
  /**
514
  * External dependencies
515
  */
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[8],{
2
 
3
+ /***/ 488:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
18
  var external_wp_i18n_ = __webpack_require__(2);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/coupons/config.js
21
+ var config = __webpack_require__(540);
22
 
23
  // EXTERNAL MODULE: external "lodash"
24
  var external_lodash_ = __webpack_require__(4);
30
  var external_wc_navigation_ = __webpack_require__(12);
31
 
32
  // EXTERNAL MODULE: external ["wc","number"]
33
+ var external_wc_number_ = __webpack_require__(122);
 
 
 
34
 
35
  // EXTERNAL MODULE: external ["wc","date"]
36
  var external_wc_date_ = __webpack_require__(20);
37
 
38
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
39
+ var report_table = __webpack_require__(512);
40
 
41
  // EXTERNAL MODULE: ./client/lib/currency-context.js
42
+ var currency_context = __webpack_require__(506);
43
+
44
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
45
+ var admin_settings = __webpack_require__(22);
46
 
47
  // CONCATENATED MODULE: ./client/analytics/report/coupons/table.js
48
 
57
 
58
 
59
 
 
60
  /**
61
  * Internal dependencies
62
  */
64
 
65
 
66
 
67
+
68
  class table_CouponsReportTable extends external_wp_element_["Component"] {
69
  constructor() {
70
  super();
109
  query
110
  } = this.props;
111
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
112
+ const dateFormat = Object(admin_settings["d" /* getAdminSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
113
  const {
114
  formatAmount,
115
  formatDecimal: getCurrencyFormatDecimal,
239
  table_CouponsReportTable.contextType = currency_context["a" /* CurrencyContext */];
240
  /* harmony default export */ var table = (table_CouponsReportTable);
241
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
242
+ var get_selected_chart = __webpack_require__(515);
243
 
244
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
245
+ var report_chart = __webpack_require__(513);
246
 
247
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
248
+ var report_summary = __webpack_require__(516);
249
 
250
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
251
+ var report_filters = __webpack_require__(511);
252
 
253
  // CONCATENATED MODULE: ./client/analytics/report/coupons/index.js
254
 
345
 
346
  /***/ }),
347
 
348
+ /***/ 507:
349
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
350
 
351
  "use strict";
368
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
369
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
370
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
371
+ /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(508);
372
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
373
  /**
374
  * External dependencies
375
  */
378
 
379
 
380
 
 
381
  /**
382
  * Internal dependencies
383
  */
384
 
385
 
386
+
387
  /**
388
  * Get a function that accepts ids as they are found in url parameter and
389
  * returns a promise with an optional method applied to results
433
  }));
434
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
435
  key: taxRate.id,
436
+ label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__[/* getTaxCode */ "a"])(taxRate)
437
  }));
438
  /**
439
  * Create a variation name by concatenating each of the variation's
449
  attributes,
450
  name
451
  }) {
452
+ const separator = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* getAdminSetting */ "d"])('variationTitleAttributesSeparator', ' - ');
453
 
454
  if (name && name.indexOf(separator) > -1) {
455
  return name;
478
 
479
  /***/ }),
480
 
481
+ /***/ 508:
482
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
483
 
484
  "use strict";
495
 
496
  /***/ }),
497
 
498
+ /***/ 540:
499
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
500
 
501
  "use strict";
504
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return filters; });
505
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
506
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
507
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
508
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
509
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
510
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
511
+ /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(507);
512
+ /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58);
513
  /**
514
  * External dependencies
515
  */
dist/chunks/analytics-report-coupons.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[8],{487:function(e,t,o){"use strict";o.r(t);var n=o(0),r=o(1),c=o.n(r),a=o(2),s=o(538),i=o(4),u=o(21),m=o(12),d=o(121),l=o(13),p=o(20),b=o(511),_=o(505);class y extends n.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(a.__)("Coupon code","woocommerce-admin"),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(a.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(a.__)("Amount discounted","woocommerce-admin"),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(a.__)("Created","woocommerce-admin"),key:"created"},{label:Object(a.__)("Expires","woocommerce-admin"),key:"expires"},{label:Object(a.__)("Type","woocommerce-admin"),key:"type"}]}getRowsContent(e){const{query:t}=this.props,o=Object(m.getPersistedQuery)(t),r=Object(l.f)("dateFormat",p.defaultTableDateFormat),{formatAmount:c,formatDecimal:s,getCurrencyConfig:b}=this.context;return Object(i.map)(e,e=>{const{amount:t,coupon_id:i,orders_count:l}=e,p=e.extended_info||{},{code:_,date_created:y,date_expires:f,discount_type:j}=p,O=i>0?Object(m.getNewPath)(o,"/analytics/coupons",{filter:"single_coupon",coupons:i}):null,h=null===O?_:Object(n.createElement)(u.Link,{href:O,type:"wc-admin"},_),g=i>0?Object(m.getNewPath)(o,"/analytics/orders",{filter:"advanced",coupon_includes:i}):null;return[{display:h,value:_},{display:null===g?l:Object(n.createElement)(u.Link,{href:g,type:"wc-admin"},Object(d.formatValue)(b(),"number",l)),value:l},{display:c(t),value:s(t)},{display:y?Object(n.createElement)(u.Date,{date:y,visibleFormat:r}):Object(a.__)("N/A","woocommerce-admin"),value:y},{display:f?Object(n.createElement)(u.Date,{date:f,visibleFormat:r}):Object(a.__)("N/A","woocommerce-admin"),value:f},{display:this.getCouponType(j),value:j}]})}getSummary(e){const{coupons_count:t=0,orders_count:o=0,amount:n=0}=e,{formatAmount:r,getCurrencyConfig:c}=this.context,s=c();return[{label:Object(a._n)("Coupon","Coupons",t,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",t)},{label:Object(a._n)("Order","Orders",o,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",o)},{label:Object(a.__)("Amount discounted","woocommerce-admin"),value:r(n)}]}getCouponType(e){return{percent:Object(a.__)("Percentage","woocommerce-admin"),fixed_cart:Object(a.__)("Fixed cart","woocommerce-admin"),fixed_product:Object(a.__)("Fixed product","woocommerce-admin")}[e]||Object(a.__)("N/A","woocommerce-admin")}render(){const{advancedFilters:e,filters:t,isRequesting:o,query:r}=this.props;return Object(n.createElement)(b.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:o,itemIdField:"coupon_id",query:r,searchBy:"coupons",tableQuery:{orderby:r.orderby||"orders_count",order:r.order||"desc",extended_info:!0},title:Object(a.__)("Coupons","woocommerce-admin"),columnPrefsKey:"coupons_report_columns",filters:t,advancedFilters:e})}}y.contextType=_.a;var f=y,j=o(514),O=o(512),h=o(515),g=o(510);class w extends n.Component{getChartMeta(){const{query:e}=this.props,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(a.__)("%d coupons","woocommerce-admin"),mode:t}}render(){const{isRequesting:e,query:t,path:o}=this.props,{mode:r,itemsLabel:c}=this.getChartMeta(),a={...t};return"item-comparison"===r&&(a.segmentby="coupon"),Object(n.createElement)(n.Fragment,null,Object(n.createElement)(g.a,{query:t,path:o,filters:s.c,advancedFilters:s.a,report:"coupons"}),Object(n.createElement)(h.a,{charts:s.b,endpoint:"coupons",isRequesting:e,query:a,selectedChart:Object(j.a)(t.chart,s.b),filters:s.c,advancedFilters:s.a}),Object(n.createElement)(O.a,{charts:s.b,filters:s.c,advancedFilters:s.a,mode:r,endpoint:"coupons",path:o,query:a,isRequesting:e,itemsLabel:c,selectedChart:Object(j.a)(t.chart,s.b)}),Object(n.createElement)(f,{isRequesting:e,query:t,filters:s.c,advancedFilters:s.a}))}}w.propTypes={query:c.a.object.isRequired};t.default=w},506:function(e,t,o){"use strict";o.d(t,"e",(function(){return d})),o.d(t,"a",(function(){return l})),o.d(t,"b",(function(){return p})),o.d(t,"c",(function(){return b})),o.d(t,"d",(function(){return _})),o.d(t,"f",(function(){return y})),o.d(t,"h",(function(){return f})),o.d(t,"g",(function(){return j}));var n=o(15),r=o(18),c=o.n(r),a=o(4),s=o(12),i=o(11),u=o(13),m=o(507);function d(e,t=a.identity){return function(o="",r){const a="function"==typeof e?e(r):e,i=Object(s.getIdsFromQuery)(o);if(i.length<1)return Promise.resolve([]);const u={include:i.join(","),per_page:i.length};return c()({path:Object(n.addQueryArgs)(a,u)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const l=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),b=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),_=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),y=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(m.a)(e)}));function f({attributes:e,name:t}){const o=Object(u.f)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(o)>-1)return t;const n=(e||[]).map(({option:e})=>e).join(", ");return n?t+o+n:t}const j=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:f(e)}))},507:function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(2);function r(e){return[e.country,e.state,e.name||Object(n.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},538:function(e,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"a",(function(){return m})),o.d(t,"c",(function(){return l}));var n=o(2),r=o(31),c=o(7),a=o(506),s=o(57);const{addCesSurveyForAnalytics:i}=Object(c.dispatch)(s.c),u=Object(r.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),m=Object(r.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{filters:{},title:Object(n._x)("Coupons match {{select /}} filters","A sentence describing filters for Coupons. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin")}),d=[{label:Object(n.__)("All coupons","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:a.b,labels:{placeholder:Object(n.__)("Type to search for a coupon","woocommerce-admin"),button:Object(n.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(n.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:a.b,labels:{title:Object(n.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(n.__)("Compare","woocommerce-admin"),helpText:Object(n.__)("Check at least two coupon codes below to compare","woocommerce-admin")},onClick:i}}];Object.keys(m.filters).length&&d.push({label:Object(n.__)("Advanced filters","woocommerce-admin"),value:"advanced"});const l=Object(r.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:d}])}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[8],{488:function(e,t,o){"use strict";o.r(t);var n=o(0),r=o(1),c=o.n(r),a=o(2),s=o(540),i=o(4),u=o(21),m=o(12),d=o(122),l=o(20),p=o(512),b=o(506),_=o(22);class y extends n.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(a.__)("Coupon code","woocommerce-admin"),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(a.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(a.__)("Amount discounted","woocommerce-admin"),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(a.__)("Created","woocommerce-admin"),key:"created"},{label:Object(a.__)("Expires","woocommerce-admin"),key:"expires"},{label:Object(a.__)("Type","woocommerce-admin"),key:"type"}]}getRowsContent(e){const{query:t}=this.props,o=Object(m.getPersistedQuery)(t),r=Object(_.d)("dateFormat",l.defaultTableDateFormat),{formatAmount:c,formatDecimal:s,getCurrencyConfig:p}=this.context;return Object(i.map)(e,e=>{const{amount:t,coupon_id:i,orders_count:l}=e,b=e.extended_info||{},{code:_,date_created:y,date_expires:f,discount_type:j}=b,O=i>0?Object(m.getNewPath)(o,"/analytics/coupons",{filter:"single_coupon",coupons:i}):null,h=null===O?_:Object(n.createElement)(u.Link,{href:O,type:"wc-admin"},_),g=i>0?Object(m.getNewPath)(o,"/analytics/orders",{filter:"advanced",coupon_includes:i}):null;return[{display:h,value:_},{display:null===g?l:Object(n.createElement)(u.Link,{href:g,type:"wc-admin"},Object(d.formatValue)(p(),"number",l)),value:l},{display:c(t),value:s(t)},{display:y?Object(n.createElement)(u.Date,{date:y,visibleFormat:r}):Object(a.__)("N/A","woocommerce-admin"),value:y},{display:f?Object(n.createElement)(u.Date,{date:f,visibleFormat:r}):Object(a.__)("N/A","woocommerce-admin"),value:f},{display:this.getCouponType(j),value:j}]})}getSummary(e){const{coupons_count:t=0,orders_count:o=0,amount:n=0}=e,{formatAmount:r,getCurrencyConfig:c}=this.context,s=c();return[{label:Object(a._n)("Coupon","Coupons",t,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",t)},{label:Object(a._n)("Order","Orders",o,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",o)},{label:Object(a.__)("Amount discounted","woocommerce-admin"),value:r(n)}]}getCouponType(e){return{percent:Object(a.__)("Percentage","woocommerce-admin"),fixed_cart:Object(a.__)("Fixed cart","woocommerce-admin"),fixed_product:Object(a.__)("Fixed product","woocommerce-admin")}[e]||Object(a.__)("N/A","woocommerce-admin")}render(){const{advancedFilters:e,filters:t,isRequesting:o,query:r}=this.props;return Object(n.createElement)(p.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:o,itemIdField:"coupon_id",query:r,searchBy:"coupons",tableQuery:{orderby:r.orderby||"orders_count",order:r.order||"desc",extended_info:!0},title:Object(a.__)("Coupons","woocommerce-admin"),columnPrefsKey:"coupons_report_columns",filters:t,advancedFilters:e})}}y.contextType=b.a;var f=y,j=o(515),O=o(513),h=o(516),g=o(511);class w extends n.Component{getChartMeta(){const{query:e}=this.props,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(a.__)("%d coupons","woocommerce-admin"),mode:t}}render(){const{isRequesting:e,query:t,path:o}=this.props,{mode:r,itemsLabel:c}=this.getChartMeta(),a={...t};return"item-comparison"===r&&(a.segmentby="coupon"),Object(n.createElement)(n.Fragment,null,Object(n.createElement)(g.a,{query:t,path:o,filters:s.c,advancedFilters:s.a,report:"coupons"}),Object(n.createElement)(h.a,{charts:s.b,endpoint:"coupons",isRequesting:e,query:a,selectedChart:Object(j.a)(t.chart,s.b),filters:s.c,advancedFilters:s.a}),Object(n.createElement)(O.a,{charts:s.b,filters:s.c,advancedFilters:s.a,mode:r,endpoint:"coupons",path:o,query:a,isRequesting:e,itemsLabel:c,selectedChart:Object(j.a)(t.chart,s.b)}),Object(n.createElement)(f,{isRequesting:e,query:t,filters:s.c,advancedFilters:s.a}))}}w.propTypes={query:c.a.object.isRequired};t.default=w},507:function(e,t,o){"use strict";o.d(t,"e",(function(){return d})),o.d(t,"a",(function(){return l})),o.d(t,"b",(function(){return p})),o.d(t,"c",(function(){return b})),o.d(t,"d",(function(){return _})),o.d(t,"f",(function(){return y})),o.d(t,"h",(function(){return f})),o.d(t,"g",(function(){return j}));var n=o(15),r=o(18),c=o.n(r),a=o(4),s=o(12),i=o(11),u=o(508),m=o(22);function d(e,t=a.identity){return function(o="",r){const a="function"==typeof e?e(r):e,i=Object(s.getIdsFromQuery)(o);if(i.length<1)return Promise.resolve([]);const u={include:i.join(","),per_page:i.length};return c()({path:Object(n.addQueryArgs)(a,u)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const l=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),b=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),_=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),y=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(u.a)(e)}));function f({attributes:e,name:t}){const o=Object(m.d)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(o)>-1)return t;const n=(e||[]).map(({option:e})=>e).join(", ");return n?t+o+n:t}const j=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:f(e)}))},508:function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(2);function r(e){return[e.country,e.state,e.name||Object(n.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},540:function(e,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"a",(function(){return m})),o.d(t,"c",(function(){return l}));var n=o(2),r=o(28),c=o(7),a=o(507),s=o(58);const{addCesSurveyForAnalytics:i}=Object(c.dispatch)(s.c),u=Object(r.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),m=Object(r.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{filters:{},title:Object(n._x)("Coupons match {{select /}} filters","A sentence describing filters for Coupons. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin")}),d=[{label:Object(n.__)("All coupons","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:a.b,labels:{placeholder:Object(n.__)("Type to search for a coupon","woocommerce-admin"),button:Object(n.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(n.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:a.b,labels:{title:Object(n.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(n.__)("Compare","woocommerce-admin"),helpText:Object(n.__)("Check at least two coupon codes below to compare","woocommerce-admin")},onClick:i}}];Object.keys(m.filters).length&&d.push({label:Object(n.__)("Advanced filters","woocommerce-admin"),value:"advanced"});const l=Object(r.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:d}])}}]);
dist/chunks/analytics-report-customers.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[9],{
2
 
3
- /***/ 483:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -21,19 +21,19 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
21
  var external_wp_i18n_ = __webpack_require__(2);
22
 
23
  // EXTERNAL MODULE: external ["wp","htmlEntities"]
24
- var external_wp_htmlEntities_ = __webpack_require__(28);
25
 
26
  // EXTERNAL MODULE: external ["wp","hooks"]
27
- var external_wp_hooks_ = __webpack_require__(31);
28
-
29
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
30
- var build_module = __webpack_require__(13);
31
 
32
  // EXTERNAL MODULE: external ["wc","data"]
33
  var external_wc_data_ = __webpack_require__(11);
34
 
35
  // EXTERNAL MODULE: ./client/lib/async-requests/index.js
36
- var async_requests = __webpack_require__(506);
 
 
 
37
 
38
  // CONCATENATED MODULE: ./client/analytics/report/customers/config.js
39
  /**
@@ -43,10 +43,9 @@ var async_requests = __webpack_require__(506);
43
 
44
 
45
 
46
-
47
  const {
48
  countries
49
- } = Object(build_module["f" /* getSetting */])('dataEndpoints', {
50
  countries: {}
51
  });
52
  /**
@@ -54,6 +53,7 @@ const {
54
  */
55
 
56
 
 
57
  const CUSTOMERS_REPORT_FILTERS_FILTER = 'woocommerce_admin_customers_report_filters';
58
  const CUSTOMERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_customers_report_advanced_filters';
59
  const config_filters = Object(external_wp_hooks_["applyFilters"])(CUSTOMERS_REPORT_FILTERS_FILTER, [{
@@ -371,16 +371,19 @@ var external_wp_components_ = __webpack_require__(3);
371
  var external_wc_components_ = __webpack_require__(21);
372
 
373
  // EXTERNAL MODULE: external ["wc","number"]
374
- var external_wc_number_ = __webpack_require__(121);
 
 
 
375
 
376
  // EXTERNAL MODULE: external ["wc","date"]
377
  var external_wc_date_ = __webpack_require__(20);
378
 
379
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
380
- var report_table = __webpack_require__(511);
381
 
382
  // EXTERNAL MODULE: ./client/lib/currency-context.js
383
- var currency_context = __webpack_require__(505);
384
 
385
  // CONCATENATED MODULE: ./client/analytics/report/customers/table.js
386
 
@@ -401,9 +404,10 @@ var currency_context = __webpack_require__(505);
401
 
402
 
403
 
 
404
  const {
405
  countries: table_countries
406
- } = Object(build_module["f" /* getSetting */])('dataEndpoints', {
407
  countries: {}
408
  });
409
 
@@ -480,7 +484,7 @@ class table_CustomersReportTable extends external_wp_element_["Component"] {
480
  }
481
 
482
  getRowsContent(customers) {
483
- const dateFormat = Object(build_module["f" /* getSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
484
  const {
485
  formatAmount,
486
  formatDecimal: getCurrencyFormatDecimal,
@@ -504,7 +508,7 @@ class table_CustomersReportTable extends external_wp_element_["Component"] {
504
  } = customer;
505
  const countryName = this.getCountryName(country);
506
  const customerNameLink = userId ? Object(external_wp_element_["createElement"])(external_wc_components_["Link"], {
507
- href: Object(build_module["e" /* getAdminLink */])('user-edit.php?user_id=' + userId),
508
  type: "wp-admin"
509
  }, name) : name;
510
  const dateLastActiveDisplay = dateLastActive ? Object(external_wp_element_["createElement"])(external_wc_components_["Date"], {
@@ -623,7 +627,7 @@ class table_CustomersReportTable extends external_wp_element_["Component"] {
623
  table_CustomersReportTable.contextType = currency_context["a" /* CurrencyContext */];
624
  /* harmony default export */ var table = (table_CustomersReportTable);
625
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
626
- var report_filters = __webpack_require__(510);
627
 
628
  // CONCATENATED MODULE: ./client/analytics/report/customers/index.js
629
 
@@ -674,7 +678,7 @@ customers_CustomersReport.propTypes = {
674
 
675
  /***/ }),
676
 
677
- /***/ 505:
678
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
679
 
680
  "use strict";
@@ -682,19 +686,23 @@ customers_CustomersReport.propTypes = {
682
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CurrencyContext; });
683
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
684
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
685
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
686
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
687
- /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90);
688
  /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__);
689
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
690
  /**
691
  * External dependencies
692
  */
693
 
694
 
695
 
 
 
 
 
696
 
697
- const appCurrency = _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default()(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* CURRENCY */ "a"]);
698
  const getFilteredCurrencyInstance = query => {
699
  const config = appCurrency.getCurrencyConfig();
700
  const filteredConfig = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["applyFilters"])('woocommerce_admin_report_currency', config, query);
@@ -705,7 +713,7 @@ const CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["
705
 
706
  /***/ }),
707
 
708
- /***/ 506:
709
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
710
 
711
  "use strict";
@@ -728,8 +736,8 @@ const CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["
728
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
729
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
730
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
731
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13);
732
- /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(507);
733
  /**
734
  * External dependencies
735
  */
@@ -738,12 +746,12 @@ const CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["
738
 
739
 
740
 
741
-
742
  /**
743
  * Internal dependencies
744
  */
745
 
746
 
 
747
  /**
748
  * Get a function that accepts ids as they are found in url parameter and
749
  * returns a promise with an optional method applied to results
@@ -793,7 +801,7 @@ const getProductLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTE
793
  }));
794
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
795
  key: taxRate.id,
796
- label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__[/* getTaxCode */ "a"])(taxRate)
797
  }));
798
  /**
799
  * Create a variation name by concatenating each of the variation's
@@ -809,7 +817,7 @@ function getVariationName({
809
  attributes,
810
  name
811
  }) {
812
- const separator = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__[/* getSetting */ "f"])('variationTitleAttributesSeparator', ' - ');
813
 
814
  if (name && name.indexOf(separator) > -1) {
815
  return name;
@@ -838,7 +846,7 @@ const getVariationLabels = getRequestByIdString(({
838
 
839
  /***/ }),
840
 
841
- /***/ 507:
842
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
843
 
844
  "use strict";
@@ -855,7 +863,7 @@ function getTaxCode(tax) {
855
 
856
  /***/ }),
857
 
858
- /***/ 508:
859
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
860
 
861
  "use strict";
@@ -913,13 +921,13 @@ ReportError.propTypes = {
913
 
914
  /***/ }),
915
 
916
- /***/ 510:
917
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
918
 
919
  "use strict";
920
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
921
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
922
- /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
923
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
924
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
925
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
@@ -929,15 +937,15 @@ ReportError.propTypes = {
929
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
930
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21);
931
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
932
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(13);
933
- /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11);
934
- /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_7__);
935
- /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20);
936
- /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__);
937
- /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16);
938
- /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__);
939
- /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(505);
940
- /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(57);
941
 
942
 
943
  /**
@@ -952,7 +960,6 @@ ReportError.propTypes = {
952
 
953
 
954
 
955
-
956
  /**
957
  * Internal dependencies
958
  */
@@ -960,6 +967,7 @@ ReportError.propTypes = {
960
 
961
 
962
 
 
963
  class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
964
  constructor() {
965
  super();
@@ -974,7 +982,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
974
  addCesSurveyForAnalytics
975
  } = this.props;
976
  addCesSurveyForAnalytics();
977
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('datepicker_update', {
978
  report,
979
  ...Object(lodash__WEBPACK_IMPORTED_MODULE_3__["omitBy"])(data, lodash__WEBPACK_IMPORTED_MODULE_3__["isUndefined"])
980
  });
@@ -1007,7 +1015,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1007
  eventProperties.filter_variation = data['filter-variations'] || 'all';
1008
  }
1009
 
1010
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filter', eventProperties);
1011
  }
1012
 
1013
  onAdvancedFilterAction(action, data) {
@@ -1018,14 +1026,14 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1018
 
1019
  switch (action) {
1020
  case 'add':
1021
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_add', {
1022
  report,
1023
  filter: data.key
1024
  });
1025
  break;
1026
 
1027
  case 'remove':
1028
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_remove', {
1029
  report,
1030
  filter: data.key
1031
  });
@@ -1037,20 +1045,20 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1037
  return result;
1038
  }, {});
1039
  addCesSurveyForAnalytics();
1040
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_filter', {
1041
  report,
1042
  ...snakeCaseData
1043
  });
1044
  break;
1045
 
1046
  case 'clear_all':
1047
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_clear_all', {
1048
  report
1049
  });
1050
  break;
1051
 
1052
  case 'match':
1053
- Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_9__["recordEvent"])('analytics_filters_all_any', {
1054
  report,
1055
  value: data.match
1056
  });
@@ -1072,11 +1080,11 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1072
  compare,
1073
  before,
1074
  after
1075
- } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["getDateParamsFromQuery"])(query, defaultDateRange);
1076
  const {
1077
  primary: primaryDate,
1078
  secondary: secondaryDate
1079
- } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["getCurrentDates"])(query, defaultDateRange);
1080
  const dateQuery = {
1081
  period,
1082
  compare,
@@ -1088,7 +1096,7 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1088
  const Currency = this.context;
1089
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__["ReportFilters"], {
1090
  query: query,
1091
- siteLocale: _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* LOCALE */ "b"].siteLocale,
1092
  currency: Currency.getCurrencyConfig(),
1093
  path: path,
1094
  filters: filters,
@@ -1098,24 +1106,24 @@ class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Com
1098
  onFilterSelect: this.onFilterSelect,
1099
  onAdvancedFilterAction: this.onAdvancedFilterAction,
1100
  dateQuery: dateQuery,
1101
- isoDateFormat: _woocommerce_date__WEBPACK_IMPORTED_MODULE_8__["isoDateFormat"]
1102
  });
1103
  }
1104
 
1105
  }
1106
 
1107
- ReportFilters.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_10__[/* CurrencyContext */ "a"];
1108
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(select => {
1109
  const {
1110
  woocommerce_default_date_range: defaultDateRange
1111
- } = select(_woocommerce_data__WEBPACK_IMPORTED_MODULE_7__["SETTINGS_STORE_NAME"]).getSetting('wc_admin', 'wcAdminSettings');
1112
  return {
1113
  defaultDateRange
1114
  };
1115
  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(dispatch => {
1116
  const {
1117
  addCesSurveyForAnalytics
1118
- } = dispatch(_customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_11__[/* STORE_KEY */ "c"]);
1119
  return {
1120
  addCesSurveyForAnalytics
1121
  };
@@ -1154,13 +1162,13 @@ ReportFilters.propTypes = {
1154
 
1155
  /***/ }),
1156
 
1157
- /***/ 511:
1158
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1159
 
1160
  "use strict";
1161
 
1162
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
1163
- var helpers_extends = __webpack_require__(36);
1164
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
1165
 
1166
  // EXTERNAL MODULE: external ["wp","element"]
@@ -1170,13 +1178,13 @@ var external_wp_element_ = __webpack_require__(0);
1170
  var external_wp_components_ = __webpack_require__(3);
1171
 
1172
  // EXTERNAL MODULE: external ["wp","hooks"]
1173
- var external_wp_hooks_ = __webpack_require__(31);
1174
 
1175
  // EXTERNAL MODULE: external ["wp","compose"]
1176
- var external_wp_compose_ = __webpack_require__(14);
1177
 
1178
  // EXTERNAL MODULE: external ["wp","dom"]
1179
- var external_wp_dom_ = __webpack_require__(92);
1180
 
1181
  // EXTERNAL MODULE: external ["wp","data"]
1182
  var external_wp_data_ = __webpack_require__(7);
@@ -1198,7 +1206,7 @@ var external_wc_components_ = __webpack_require__(21);
1198
  var external_wc_navigation_ = __webpack_require__(12);
1199
 
1200
  // EXTERNAL MODULE: external ["wc","csvExport"]
1201
- var external_wc_csvExport_ = __webpack_require__(476);
1202
 
1203
  // EXTERNAL MODULE: external ["wc","data"]
1204
  var external_wc_data_ = __webpack_require__(11);
@@ -1221,7 +1229,7 @@ var external_wc_tracks_ = __webpack_require__(16);
1221
  d: "M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"
1222
  })));
1223
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
1224
- var report_error = __webpack_require__(508);
1225
 
1226
  // CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
1227
  /**
@@ -1268,10 +1276,10 @@ function extendTableData(extendedStoreSelector, props, queriedTableData) {
1268
  };
1269
  }
1270
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
1271
- var constants = __webpack_require__(57);
1272
 
1273
  // EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
1274
- var style = __webpack_require__(519);
1275
 
1276
  // CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
1277
 
@@ -1861,7 +1869,7 @@ const EMPTY_OBJECT = {};
1861
 
1862
  /***/ }),
1863
 
1864
- /***/ 519:
1865
  /***/ (function(module, exports, __webpack_require__) {
1866
 
1867
  // extracted by mini-css-extract-plugin
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[9],{
2
 
3
+ /***/ 484:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
21
  var external_wp_i18n_ = __webpack_require__(2);
22
 
23
  // EXTERNAL MODULE: external ["wp","htmlEntities"]
24
+ var external_wp_htmlEntities_ = __webpack_require__(30);
25
 
26
  // EXTERNAL MODULE: external ["wp","hooks"]
27
+ var external_wp_hooks_ = __webpack_require__(28);
 
 
 
28
 
29
  // EXTERNAL MODULE: external ["wc","data"]
30
  var external_wc_data_ = __webpack_require__(11);
31
 
32
  // EXTERNAL MODULE: ./client/lib/async-requests/index.js
33
+ var async_requests = __webpack_require__(507);
34
+
35
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
36
+ var admin_settings = __webpack_require__(22);
37
 
38
  // CONCATENATED MODULE: ./client/analytics/report/customers/config.js
39
  /**
43
 
44
 
45
 
 
46
  const {
47
  countries
48
+ } = Object(admin_settings["d" /* getAdminSetting */])('dataEndpoints', {
49
  countries: {}
50
  });
51
  /**
53
  */
54
 
55
 
56
+
57
  const CUSTOMERS_REPORT_FILTERS_FILTER = 'woocommerce_admin_customers_report_filters';
58
  const CUSTOMERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_customers_report_advanced_filters';
59
  const config_filters = Object(external_wp_hooks_["applyFilters"])(CUSTOMERS_REPORT_FILTERS_FILTER, [{
371
  var external_wc_components_ = __webpack_require__(21);
372
 
373
  // EXTERNAL MODULE: external ["wc","number"]
374
+ var external_wc_number_ = __webpack_require__(122);
375
+
376
+ // EXTERNAL MODULE: external ["wc","wcSettings"]
377
+ var external_wc_wcSettings_ = __webpack_require__(14);
378
 
379
  // EXTERNAL MODULE: external ["wc","date"]
380
  var external_wc_date_ = __webpack_require__(20);
381
 
382
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
383
+ var report_table = __webpack_require__(512);
384
 
385
  // EXTERNAL MODULE: ./client/lib/currency-context.js
386
+ var currency_context = __webpack_require__(506);
387
 
388
  // CONCATENATED MODULE: ./client/analytics/report/customers/table.js
389
 
404
 
405
 
406
 
407
+
408
  const {
409
  countries: table_countries
410
+ } = Object(admin_settings["d" /* getAdminSetting */])('dataEndpoints', {
411
  countries: {}
412
  });
413
 
484
  }
485
 
486
  getRowsContent(customers) {
487
+ const dateFormat = Object(admin_settings["d" /* getAdminSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
488
  const {
489
  formatAmount,
490
  formatDecimal: getCurrencyFormatDecimal,
508
  } = customer;
509
  const countryName = this.getCountryName(country);
510
  const customerNameLink = userId ? Object(external_wp_element_["createElement"])(external_wc_components_["Link"], {
511
+ href: Object(external_wc_wcSettings_["getAdminLink"])('user-edit.php?user_id=' + userId),
512
  type: "wp-admin"
513
  }, name) : name;
514
  const dateLastActiveDisplay = dateLastActive ? Object(external_wp_element_["createElement"])(external_wc_components_["Date"], {
627
  table_CustomersReportTable.contextType = currency_context["a" /* CurrencyContext */];
628
  /* harmony default export */ var table = (table_CustomersReportTable);
629
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
630
+ var report_filters = __webpack_require__(511);
631
 
632
  // CONCATENATED MODULE: ./client/analytics/report/customers/index.js
633
 
678
 
679
  /***/ }),
680
 
681
+ /***/ 506:
682
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
683
 
684
  "use strict";
686
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CurrencyContext; });
687
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
688
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
689
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
690
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
691
+ /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91);
692
  /* harmony import */ var _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_currency__WEBPACK_IMPORTED_MODULE_2__);
693
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
694
  /**
695
  * External dependencies
696
  */
697
 
698
 
699
 
700
+ /**
701
+ * Internal dependencies
702
+ */
703
+
704
 
705
+ const appCurrency = _woocommerce_currency__WEBPACK_IMPORTED_MODULE_2___default()(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* CURRENCY */ "a"]);
706
  const getFilteredCurrencyInstance = query => {
707
  const config = appCurrency.getCurrencyConfig();
708
  const filteredConfig = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["applyFilters"])('woocommerce_admin_report_currency', config, query);
713
 
714
  /***/ }),
715
 
716
+ /***/ 507:
717
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
718
 
719
  "use strict";
736
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
737
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
738
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
739
+ /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(508);
740
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
741
  /**
742
  * External dependencies
743
  */
746
 
747
 
748
 
 
749
  /**
750
  * Internal dependencies
751
  */
752
 
753
 
754
+
755
  /**
756
  * Get a function that accepts ids as they are found in url parameter and
757
  * returns a promise with an optional method applied to results
801
  }));
802
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
803
  key: taxRate.id,
804
+ label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__[/* getTaxCode */ "a"])(taxRate)
805
  }));
806
  /**
807
  * Create a variation name by concatenating each of the variation's
817
  attributes,
818
  name
819
  }) {
820
+ const separator = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* getAdminSetting */ "d"])('variationTitleAttributesSeparator', ' - ');
821
 
822
  if (name && name.indexOf(separator) > -1) {
823
  return name;
846
 
847
  /***/ }),
848
 
849
+ /***/ 508:
850
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
851
 
852
  "use strict";
863
 
864
  /***/ }),
865
 
866
+ /***/ 509:
867
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
868
 
869
  "use strict";
921
 
922
  /***/ }),
923
 
924
+ /***/ 511:
925
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
926
 
927
  "use strict";
928
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
929
  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
930
+ /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13);
931
  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
932
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
933
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
937
  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
938
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21);
939
  /* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
940
+ /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11);
941
+ /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_6__);
942
+ /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(20);
943
+ /* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__);
944
+ /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(16);
945
+ /* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__);
946
+ /* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(506);
947
+ /* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58);
948
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(22);
949
 
950
 
951
  /**
960
 
961
 
962
 
 
963
  /**
964
  * Internal dependencies
965
  */
967
 
968
 
969
 
970
+
971
  class ReportFilters extends _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Component"] {
972
  constructor() {
973
  super();
982
  addCesSurveyForAnalytics
983
  } = this.props;
984
  addCesSurveyForAnalytics();
985
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('datepicker_update', {
986
  report,
987
  ...Object(lodash__WEBPACK_IMPORTED_MODULE_3__["omitBy"])(data, lodash__WEBPACK_IMPORTED_MODULE_3__["isUndefined"])
988
  });
1015
  eventProperties.filter_variation = data['filter-variations'] || 'all';
1016
  }
1017
 
1018
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filter', eventProperties);
1019
  }
1020
 
1021
  onAdvancedFilterAction(action, data) {
1026
 
1027
  switch (action) {
1028
  case 'add':
1029
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_add', {
1030
  report,
1031
  filter: data.key
1032
  });
1033
  break;
1034
 
1035
  case 'remove':
1036
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_remove', {
1037
  report,
1038
  filter: data.key
1039
  });
1045
  return result;
1046
  }, {});
1047
  addCesSurveyForAnalytics();
1048
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_filter', {
1049
  report,
1050
  ...snakeCaseData
1051
  });
1052
  break;
1053
 
1054
  case 'clear_all':
1055
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_clear_all', {
1056
  report
1057
  });
1058
  break;
1059
 
1060
  case 'match':
1061
+ Object(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_8__["recordEvent"])('analytics_filters_all_any', {
1062
  report,
1063
  value: data.match
1064
  });
1080
  compare,
1081
  before,
1082
  after
1083
+ } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["getDateParamsFromQuery"])(query, defaultDateRange);
1084
  const {
1085
  primary: primaryDate,
1086
  secondary: secondaryDate
1087
+ } = Object(_woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["getCurrentDates"])(query, defaultDateRange);
1088
  const dateQuery = {
1089
  period,
1090
  compare,
1096
  const Currency = this.context;
1097
  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__["ReportFilters"], {
1098
  query: query,
1099
+ siteLocale: _utils_admin_settings__WEBPACK_IMPORTED_MODULE_11__[/* LOCALE */ "b"].siteLocale,
1100
  currency: Currency.getCurrencyConfig(),
1101
  path: path,
1102
  filters: filters,
1106
  onFilterSelect: this.onFilterSelect,
1107
  onAdvancedFilterAction: this.onAdvancedFilterAction,
1108
  dateQuery: dateQuery,
1109
+ isoDateFormat: _woocommerce_date__WEBPACK_IMPORTED_MODULE_7__["isoDateFormat"]
1110
  });
1111
  }
1112
 
1113
  }
1114
 
1115
+ ReportFilters.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_9__[/* CurrencyContext */ "a"];
1116
  /* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(select => {
1117
  const {
1118
  woocommerce_default_date_range: defaultDateRange
1119
+ } = select(_woocommerce_data__WEBPACK_IMPORTED_MODULE_6__["SETTINGS_STORE_NAME"]).getSetting('wc_admin', 'wcAdminSettings');
1120
  return {
1121
  defaultDateRange
1122
  };
1123
  }), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(dispatch => {
1124
  const {
1125
  addCesSurveyForAnalytics
1126
+ } = dispatch(_customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_10__[/* STORE_KEY */ "c"]);
1127
  return {
1128
  addCesSurveyForAnalytics
1129
  };
1162
 
1163
  /***/ }),
1164
 
1165
+ /***/ 512:
1166
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1167
 
1168
  "use strict";
1169
 
1170
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
1171
+ var helpers_extends = __webpack_require__(37);
1172
  var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
1173
 
1174
  // EXTERNAL MODULE: external ["wp","element"]
1178
  var external_wp_components_ = __webpack_require__(3);
1179
 
1180
  // EXTERNAL MODULE: external ["wp","hooks"]
1181
+ var external_wp_hooks_ = __webpack_require__(28);
1182
 
1183
  // EXTERNAL MODULE: external ["wp","compose"]
1184
+ var external_wp_compose_ = __webpack_require__(13);
1185
 
1186
  // EXTERNAL MODULE: external ["wp","dom"]
1187
+ var external_wp_dom_ = __webpack_require__(93);
1188
 
1189
  // EXTERNAL MODULE: external ["wp","data"]
1190
  var external_wp_data_ = __webpack_require__(7);
1206
  var external_wc_navigation_ = __webpack_require__(12);
1207
 
1208
  // EXTERNAL MODULE: external ["wc","csvExport"]
1209
+ var external_wc_csvExport_ = __webpack_require__(477);
1210
 
1211
  // EXTERNAL MODULE: external ["wc","data"]
1212
  var external_wc_data_ = __webpack_require__(11);
1229
  d: "M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"
1230
  })));
1231
  // EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
1232
+ var report_error = __webpack_require__(509);
1233
 
1234
  // CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
1235
  /**
1276
  };
1277
  }
1278
  // EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
1279
+ var constants = __webpack_require__(58);
1280
 
1281
  // EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
1282
+ var style = __webpack_require__(521);
1283
 
1284
  // CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
1285
 
1869
 
1870
  /***/ }),
1871
 
1872
+ /***/ 521:
1873
  /***/ (function(module, exports, __webpack_require__) {
1874
 
1875
  // extracted by mini-css-extract-plugin
dist/chunks/analytics-report-customers.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[9],{483:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return C}));var a=r(0),o=r(1),c=r.n(o),n=r(2),l=r(28),i=r(31),s=r(13),m=r(11),d=r(506);const{countries:u}=Object(s.f)("dataEndpoints",{countries:{}}),b=Object(i.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(n.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:d.c,labels:{placeholder:Object(n.__)("Type to search for a customer","woocommerce-admin"),button:Object(n.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(n.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),_=Object(i.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(n._x)("Customers match {{select /}} filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(n.__)("Name","woocommerce-admin"),placeholder:Object(n.__)("Search","woocommerce-admin"),remove:Object(n.__)("Remove customer name filter","woocommerce-admin"),rule:Object(n.__)("Select a customer name filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(d.e)(m.NAMESPACE+"/customers",e=>({id:e.id,label:e.name}))}},country:{labels:{add:Object(n.__)("Country / Region","woocommerce-admin"),placeholder:Object(n.__)("Search","woocommerce-admin"),remove:Object(n.__)("Remove country / region filter","woocommerce-admin"),rule:Object(n.__)("Select a country / region filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:async e=>{const t=u.map(e=>({key:e.code,label:Object(l.decodeEntities)(e.name)})),r=e.split(",");return await t.filter(e=>r.includes(e.key))}}},username:{labels:{add:Object(n.__)("Username","woocommerce-admin"),placeholder:Object(n.__)("Search customer username","woocommerce-admin"),remove:Object(n.__)("Remove customer username filter","woocommerce-admin"),rule:Object(n.__)("Select a customer username filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:d.c}},email:{labels:{add:Object(n.__)("Email","woocommerce-admin"),placeholder:Object(n.__)("Search customer email","woocommerce-admin"),remove:Object(n.__)("Remove customer email filter","woocommerce-admin"),rule:Object(n.__)("Select a customer email filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(d.e)(m.NAMESPACE+"/customers",e=>({id:e.id,label:e.email}))}},orders_count:{labels:{add:Object(n.__)("No. of Orders","woocommerce-admin"),remove:Object(n.__)("Remove order filter","woocommerce-admin"),rule:Object(n.__)("Select an order count filter match","woocommerce-admin"),title:Object(n.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(n.__)("Total Spend","woocommerce-admin"),remove:Object(n.__)("Remove total spend filter","woocommerce-admin"),rule:Object(n.__)("Select a total spend filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(n.__)("AOV","woocommerce-admin"),remove:Object(n.__)("Remove average order value filter","woocommerce-admin"),rule:Object(n.__)("Select an average order value filter match","woocommerce-admin"),title:Object(n.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(n.__)("Registered","woocommerce-admin"),remove:Object(n.__)("Remove registered filter","woocommerce-admin"),rule:Object(n.__)("Select a registered filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(n._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(n._x)("After","date","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(n.__)("Last active","woocommerce-admin"),remove:Object(n.__)("Remove last active filter","woocommerce-admin"),rule:Object(n.__)("Select a last active filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(n._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(n._x)("After","date","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}});var p=r(3),O=r(21),j=r(121),y=r(20),g=r(511),f=r(505);const{countries:w}=Object(s.f)("dataEndpoints",{countries:{}});class h extends a.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(n.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(n.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(n.__)("Last active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(n.__)("Date registered","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(n.__)("Email","woocommerce-admin"),key:"email"},{label:Object(n.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(n.__)("Total spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(n.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(n.__)("Average order value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(n.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(n.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(n.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(n.__)("Postal code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}getCountryName(e){return void 0!==w[e]?w[e]:null}getRowsContent(e){const t=Object(s.f)("dateFormat",y.defaultTableDateFormat),{formatAmount:r,formatDecimal:o,getCurrencyConfig:c}=this.context;return null==e?void 0:e.map(e=>{const{avg_order_value:n,date_last_active:l,date_registered:i,email:m,name:d,user_id:u,orders_count:b,username:_,total_spend:y,postcode:g,city:f,state:w,country:h}=e,v=this.getCountryName(h),S=u?Object(a.createElement)(O.Link,{href:Object(s.e)("user-edit.php?user_id="+u),type:"wp-admin"},d):d,C=l?Object(a.createElement)(O.Date,{date:l,visibleFormat:t}):"—",E=i?Object(a.createElement)(O.Date,{date:i,visibleFormat:t}):"—",x=Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p.Tooltip,{text:v},Object(a.createElement)("span",{"aria-hidden":"true"},h)),Object(a.createElement)("span",{className:"screen-reader-text"},v));return[{display:S,value:d},{display:_,value:_},{display:C,value:l},{display:E,value:i},{display:Object(a.createElement)("a",{href:"mailto:"+m},m),value:m},{display:Object(j.formatValue)(c(),"number",b),value:b},{display:r(y),value:o(y)},{display:r(n),value:o(n)},{display:x,value:h},{display:f,value:f},{display:w,value:w},{display:g,value:g}]})}getSummary(e){const{customers_count:t=0,avg_orders_count:r=0,avg_total_spend:a=0,avg_avg_order_value:o=0}=e,{formatAmount:c,getCurrencyConfig:l}=this.context,i=l();return[{label:Object(n._n)("customer","customers",t,"woocommerce-admin"),value:Object(j.formatValue)(i,"number",t)},{label:Object(n._n)("Average order","Average orders",r,"woocommerce-admin"),value:Object(j.formatValue)(i,"number",r)},{label:Object(n.__)("Average lifetime spend","woocommerce-admin"),value:c(a)},{label:Object(n.__)("Average order value","woocommerce-admin"),value:c(o)}]}render(){const{isRequesting:e,query:t,filters:r,advancedFilters:o}=this.props;return Object(a.createElement)(g.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:e,itemIdField:"id",query:t,labels:{placeholder:Object(n.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(n.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:r,advancedFilters:o})}}h.contextType=f.a;var v=h,S=r(510);class C extends a.Component{render(){const{isRequesting:e,query:t,path:r}=this.props,o={orderby:"date_last_active",order:"desc",...t};return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(S.a,{query:t,path:r,filters:b,showDatePicker:!1,advancedFilters:_,report:"customers"}),Object(a.createElement)(v,{isRequesting:e,query:o,filters:b,advancedFilters:_}))}}C.propTypes={query:c.a.object.isRequired}},505:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return m}));var a=r(0),o=r(31),c=r(90),n=r.n(c),l=r(13);const i=n()(l.a),s=e=>{const t=i.getCurrencyConfig(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return n()(r)},m=Object(a.createContext)(i)},506:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return _})),r.d(t,"d",(function(){return p})),r.d(t,"f",(function(){return O})),r.d(t,"h",(function(){return j})),r.d(t,"g",(function(){return y}));var a=r(15),o=r(18),c=r.n(o),n=r(4),l=r(12),i=r(11),s=r(13),m=r(507);function d(e,t=n.identity){return function(r="",o){const n="function"==typeof e?e(o):e,i=Object(l.getIdsFromQuery)(r);if(i.length<1)return Promise.resolve([]);const s={include:i.join(","),per_page:i.length};return c()({path:Object(a.addQueryArgs)(n,s)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),O=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(m.a)(e)}));function j({attributes:e,name:t}){const r=Object(s.f)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const a=(e||[]).map(({option:e})=>e).join(", ");return a?t+r+a:t}const y=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:j(e)}))},507:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},508:function(e,t,r){"use strict";var a=r(0),o=r(2),c=r(1),n=r.n(c),l=r(21);function i({className:e}){const t=Object(o.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),r=Object(o.__)("Reload","woocommerce-admin");return Object(a.createElement)(l.EmptyContent,{className:e,title:t,actionLabel:r,actionCallback:()=>{window.location.reload()}})}i.propTypes={className:n.a.string},t.a=i},510:function(e,t,r){"use strict";var a=r(0),o=r(14),c=r(1),n=r.n(c),l=r(4),i=r(7),s=r(21),m=r(13),d=r(11),u=r(20),b=r(16),_=r(505),p=r(57);class O extends a.Component{constructor(){super(),this.onDateSelect=this.onDateSelect.bind(this),this.onFilterSelect=this.onFilterSelect.bind(this),this.onAdvancedFilterAction=this.onAdvancedFilterAction.bind(this)}onDateSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props;r(),Object(b.recordEvent)("datepicker_update",{report:t,...Object(l.omitBy)(e,l.isUndefined)})}onFilterSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&r();const o={report:t,filter:e.filter||"all"};"single_product"===e.filter&&(o.filter_variation=e["filter-variations"]||"all"),Object(b.recordEvent)("analytics_filter",o)}onAdvancedFilterAction(e,t){const{report:r,addCesSurveyForAnalytics:a}=this.props;switch(e){case"add":Object(b.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(b.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":const e=Object.keys(t).reduce((e,r)=>(e[Object(l.snakeCase)(r)]=t[r],e),{});a(),Object(b.recordEvent)("analytics_filters_filter",{report:r,...e});break;case"clear_all":Object(b.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(b.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}render(){const{advancedFilters:e,filters:t,path:r,query:o,showDatePicker:c,defaultDateRange:n}=this.props,{period:l,compare:i,before:d,after:b}=Object(u.getDateParamsFromQuery)(o,n),{primary:_,secondary:p}=Object(u.getCurrentDates)(o,n),O={period:l,compare:i,before:d,after:b,primaryDate:_,secondaryDate:p},j=this.context;return Object(a.createElement)(s.ReportFilters,{query:o,siteLocale:m.b.siteLocale,currency:j.getCurrencyConfig(),path:r,filters:t,advancedFilters:e,showDatePicker:c,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:O,isoDateFormat:u.isoDateFormat})}}O.contextType=_.a,t.a=Object(o.compose)(Object(i.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(d.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}}),Object(i.withDispatch)(e=>{const{addCesSurveyForAnalytics:t}=e(p.c);return{addCesSurveyForAnalytics:t}}))(O),O.propTypes={advancedFilters:n.a.object,filters:n.a.array,path:n.a.string.isRequired,query:n.a.object,showDatePicker:n.a.bool,report:n.a.string.isRequired}},511:function(e,t,r){"use strict";var a=r(36),o=r.n(a),c=r(0),n=r(3),l=r(31),i=r(14),s=r(92),m=r(7),d=r(4),u=r(2),b=r(1),_=r.n(b),p=r(21),O=r(12),j=r(476),y=r(11),g=r(16),f=()=>Object(c.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(c.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"})),w=r(508);var h=r(57);r(519);const v=e=>{const{getHeadersContent:t,getRowsContent:r,getSummary:a,isRequesting:i,primaryData:m,tableData:b,endpoint:_,itemIdField:h,tableQuery:v,compareBy:S,compareParam:C,searchBy:E,labels:x={},...A}=e,{query:R,columnPrefsKey:F}=e,{items:k,query:D}=b,N=R[C]?Object(O.getIdsFromQuery)(R[S]):[],[q,T]=Object(c.useState)(N),P=Object(c.useRef)(null),{updateUserPreferences:B,...M}=Object(y.useUserPreferences)();if(b.isError||m.isError)return Object(c.createElement)(w.a,null);let L=[];F&&(L=M&&M[F]?M[F]:L);const Q=(e,o,c)=>{const n=a?a(o,c):null;return Object(l.applyFilters)("woocommerce_admin_report_table",{endpoint:_,headers:t(),rows:r(e),totals:o,summary:n,items:k})},I=t=>{const{ids:r}=e;T(t?r:[])},V=(t,r)=>{const{ids:a}=e;if(r)T(Object(d.uniq)([a[t],...q]));else{const e=q.indexOf(a[t]);T([...q.slice(0,e),...q.slice(e+1)])}},U=t=>{const{ids:r=[]}=e,a=-1!==q.indexOf(r[t]);return{display:Object(c.createElement)(n.CheckboxControl,{onChange:Object(d.partial)(V,t),checked:a}),value:!1}},H=()=>{const{ids:t=[]}=e,r=t.length>0,a=r&&t.length===q.length;return{cellClassName:"is-checkbox-column",key:"compare",label:Object(c.createElement)(n.CheckboxControl,{onChange:I,"aria-label":Object(u.__)("Select All"),checked:a,disabled:!r}),required:!0}},z=i||b.isRequesting||m.isRequesting,G=Object(d.get)(m,["data","totals"],{}),J=k.totalResults||0,K=J>0,X=Object(O.getSearchWords)(R).map(e=>({key:e,label:e})),{data:Y}=k,W=Q(Y,G,J);let{headers:$,rows:Z}=W;const{summary:ee}=W;S&&(Z=Z.map((e,t)=>[U(t),...e]),$=[H(),...$]);const te=((e,t)=>t?e.map(e=>({...e,visible:e.required||!t.includes(e.key)})):e.map(e=>({...e,visible:e.required||!e.hiddenByDefault})))($,L);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:P,"aria-hidden":!0}),Object(c.createElement)(p.TableCard,o()({className:"woocommerce-report-table",hasSearch:!!E,actions:[S&&Object(c.createElement)(p.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:q.length,helpText:x.helpText||Object(u.__)("Check at least two items below to compare","woocommerce-admin"),onClick:()=>{S&&Object(O.onQueryChange)("compare")(S,C,q.join(","))},disabled:!K},x.compareButton||Object(u.__)("Compare","woocommerce-admin")),E&&Object(c.createElement)(p.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:t=>{const{baseSearchQuery:r,addCesSurveyForCustomerSearch:a}=e,o=t.map(e=>e.label.replace(",","%2C"));o.length?(Object(O.updateQueryString)({filter:void 0,[C]:void 0,[E]:void 0,...r,search:Object(d.uniq)(o).join(",")}),a()):Object(O.updateQueryString)({search:void 0}),Object(g.recordEvent)("analytics_table_filter",{report:_})},placeholder:x.placeholder||Object(u.__)("Search by item name","woocommerce-admin"),selected:X,showClearButton:!0,type:E,disabled:!K}),K&&Object(c.createElement)(n.Button,{key:"download",className:"woocommerce-table__download-button",disabled:z,onClick:()=>{const{createNotice:t,startExport:r,title:a}=e,o=Object.assign({},R),{data:c,totalResults:n}=k;let l="browser";if(delete o.extended_info,o.search&&delete o[E],c&&c.length===n){const{headers:e,rows:t}=Q(c,n);Object(j.downloadCSVFile)(Object(j.generateCSVFileName)(a,o),Object(j.generateCSVDataFromTable)(e,t))}else l="email",r(_,D).then(()=>t("success",Object(u.sprintf)(Object(u.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))).catch(e=>t("error",e.message||Object(u.sprintf)(Object(u.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),a)));Object(g.recordEvent)("analytics_table_download",{report:_,rows:n,download_type:l})}},Object(c.createElement)(f,null),Object(c.createElement)("span",{className:"woocommerce-table__download-button__label"},x.downloadButton||Object(u.__)("Download","woocommerce-admin")))],headers:te,isLoading:z,onQueryChange:O.onQueryChange,onColumnsChange:(e,t)=>{const r=$.map(e=>e.key).filter(t=>!e.includes(t));if(F){B({[F]:r})}if(t){const r={report:_,column:t,status:e.includes(t)?"on":"off"};Object(g.recordEvent)("analytics_table_header_toggle",r)}},onSort:(e,t)=>{Object(O.onQueryChange)("sort")(e,t);const r={report:_,column:e,direction:t};Object(g.recordEvent)("analytics_table_sort",r)},onPageChange:(e,t)=>{P.current.scrollIntoView();const r=P.current.nextSibling.querySelector(".woocommerce-table__table"),a=s.focus.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(g.recordEvent)("analytics_table_go_to_page",{report:_,page:e}):Object(g.recordEvent)("analytics_table_page_click",{report:_,direction:t}))},rows:Z,rowsPerPage:parseInt(D.per_page,10)||y.QUERY_DEFAULTS.pageSize,summary:ee,totalRows:J},A)))};v.propTypes={baseSearchQuery:_.a.object,compareBy:_.a.string,compareParam:_.a.string,columnPrefsKey:_.a.string,endpoint:_.a.string,extendItemsMethodNames:_.a.shape({getError:_.a.string,isRequesting:_.a.string,load:_.a.string}),extendedItemsStoreName:_.a.string,getHeadersContent:_.a.func.isRequired,getRowsContent:_.a.func.isRequired,getSummary:_.a.func,itemIdField:_.a.string,labels:_.a.shape({compareButton:_.a.string,downloadButton:_.a.string,helpText:_.a.string,placeholder:_.a.string}),primaryData:_.a.object,searchBy:_.a.string,summaryFields:_.a.arrayOf(_.a.string),tableData:_.a.object.isRequired,tableQuery:_.a.object,title:_.a.string.isRequired},v.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:d.noop,baseSearchQuery:{}};const S=[],C={};t.a=Object(i.compose)(Object(m.withSelect)((e,t)=>{const{endpoint:r,getSummary:a,isRequesting:o,itemIdField:c,query:n,tableData:l,tableQuery:i,filters:s,advancedFilters:m,summaryFields:u,extendedItemsStoreName:b}=t,_=e(y.REPORTS_STORE_NAME),p=b?e(b):null,{woocommerce_default_date_range:O}=e(y.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),j=n.search&&!(n[r]&&n[r].length);if(o||j)return C;const g="categories"===r?"products":r,f=a?Object(y.getReportChartData)({endpoint:g,selector:_,dataType:"primary",query:n,filters:s,advancedFilters:m,defaultDateRange:O,fields:u}):C,w=l||Object(y.getReportTableData)({endpoint:r,query:n,selector:_,tableQuery:i,filters:s,advancedFilters:m,defaultDateRange:O}),h=p?function(e,t,r){const{extendItemsMethodNames:a,itemIdField:o}=t,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&o))return r;const{[a.getError]:n,[a.isRequesting]:l,[a.load]:i}=e,s={include:c.map(e=>e[o]).join(","),per_page:c.length},m=i(s),u=!!l&&l(s),b=!!n&&n(s),_=c.map(e=>{const t=Object(d.first)(m.filter(t=>e.id===t.id));return{...e,...t}}),p=r.isRequesting||u,O=r.isError||b;return{...r,isRequesting:p,isError:O,items:{...r.items,data:_}}}(p,t,w):w;return{primaryData:f,ids:c&&h.items.data?h.items.data.map(e=>e[c]):S,tableData:h,query:n}}),Object(m.withDispatch)(e=>{const{startExport:t}=e(y.EXPORT_STORE_NAME),{createNotice:r}=e("core/notices"),{addCesSurveyForCustomerSearch:a}=e(h.c);return{createNotice:r,startExport:t,addCesSurveyForCustomerSearch:a}}))(v)},519:function(e,t,r){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[9],{484:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return E}));var a=r(0),o=r(1),c=r.n(o),n=r(2),l=r(30),i=r(28),s=r(11),m=r(507),d=r(22);const{countries:u}=Object(d.d)("dataEndpoints",{countries:{}}),b=Object(i.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(n.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(n.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(n.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:m.c,labels:{placeholder:Object(n.__)("Type to search for a customer","woocommerce-admin"),button:Object(n.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(n.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),_=Object(i.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(n._x)("Customers match {{select /}} filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(n.__)("Name","woocommerce-admin"),placeholder:Object(n.__)("Search","woocommerce-admin"),remove:Object(n.__)("Remove customer name filter","woocommerce-admin"),rule:Object(n.__)("Select a customer name filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(m.e)(s.NAMESPACE+"/customers",e=>({id:e.id,label:e.name}))}},country:{labels:{add:Object(n.__)("Country / Region","woocommerce-admin"),placeholder:Object(n.__)("Search","woocommerce-admin"),remove:Object(n.__)("Remove country / region filter","woocommerce-admin"),rule:Object(n.__)("Select a country / region filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:async e=>{const t=u.map(e=>({key:e.code,label:Object(l.decodeEntities)(e.name)})),r=e.split(",");return await t.filter(e=>r.includes(e.key))}}},username:{labels:{add:Object(n.__)("Username","woocommerce-admin"),placeholder:Object(n.__)("Search customer username","woocommerce-admin"),remove:Object(n.__)("Remove customer username filter","woocommerce-admin"),rule:Object(n.__)("Select a customer username filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:m.c}},email:{labels:{add:Object(n.__)("Email","woocommerce-admin"),placeholder:Object(n.__)("Search customer email","woocommerce-admin"),remove:Object(n.__)("Remove customer email filter","woocommerce-admin"),rule:Object(n.__)("Select a customer email filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(n._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(n._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(m.e)(s.NAMESPACE+"/customers",e=>({id:e.id,label:e.email}))}},orders_count:{labels:{add:Object(n.__)("No. of Orders","woocommerce-admin"),remove:Object(n.__)("Remove order filter","woocommerce-admin"),rule:Object(n.__)("Select an order count filter match","woocommerce-admin"),title:Object(n.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(n.__)("Total Spend","woocommerce-admin"),remove:Object(n.__)("Remove total spend filter","woocommerce-admin"),rule:Object(n.__)("Select a total spend filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(n.__)("AOV","woocommerce-admin"),remove:Object(n.__)("Remove average order value filter","woocommerce-admin"),rule:Object(n.__)("Select an average order value filter match","woocommerce-admin"),title:Object(n.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(n._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(n._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(n.__)("Registered","woocommerce-admin"),remove:Object(n.__)("Remove registered filter","woocommerce-admin"),rule:Object(n.__)("Select a registered filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(n._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(n._x)("After","date","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(n.__)("Last active","woocommerce-admin"),remove:Object(n.__)("Remove last active filter","woocommerce-admin"),rule:Object(n.__)("Select a last active filter match","woocommerce-admin"),title:Object(n.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(n.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(n._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(n._x)("After","date","woocommerce-admin")},{value:"between",label:Object(n._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}});var p=r(3),O=r(21),j=r(122),y=r(14),g=r(20),f=r(512),w=r(506);const{countries:h}=Object(d.d)("dataEndpoints",{countries:{}});class v extends a.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(n.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(n.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(n.__)("Last active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(n.__)("Date registered","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(n.__)("Email","woocommerce-admin"),key:"email"},{label:Object(n.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(n.__)("Total spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(n.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(n.__)("Average order value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(n.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(n.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(n.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(n.__)("Postal code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}getCountryName(e){return void 0!==h[e]?h[e]:null}getRowsContent(e){const t=Object(d.d)("dateFormat",g.defaultTableDateFormat),{formatAmount:r,formatDecimal:o,getCurrencyConfig:c}=this.context;return null==e?void 0:e.map(e=>{const{avg_order_value:n,date_last_active:l,date_registered:i,email:s,name:m,user_id:d,orders_count:u,username:b,total_spend:_,postcode:g,city:f,state:w,country:h}=e,v=this.getCountryName(h),S=d?Object(a.createElement)(O.Link,{href:Object(y.getAdminLink)("user-edit.php?user_id="+d),type:"wp-admin"},m):m,C=l?Object(a.createElement)(O.Date,{date:l,visibleFormat:t}):"—",E=i?Object(a.createElement)(O.Date,{date:i,visibleFormat:t}):"—",x=Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p.Tooltip,{text:v},Object(a.createElement)("span",{"aria-hidden":"true"},h)),Object(a.createElement)("span",{className:"screen-reader-text"},v));return[{display:S,value:m},{display:b,value:b},{display:C,value:l},{display:E,value:i},{display:Object(a.createElement)("a",{href:"mailto:"+s},s),value:s},{display:Object(j.formatValue)(c(),"number",u),value:u},{display:r(_),value:o(_)},{display:r(n),value:o(n)},{display:x,value:h},{display:f,value:f},{display:w,value:w},{display:g,value:g}]})}getSummary(e){const{customers_count:t=0,avg_orders_count:r=0,avg_total_spend:a=0,avg_avg_order_value:o=0}=e,{formatAmount:c,getCurrencyConfig:l}=this.context,i=l();return[{label:Object(n._n)("customer","customers",t,"woocommerce-admin"),value:Object(j.formatValue)(i,"number",t)},{label:Object(n._n)("Average order","Average orders",r,"woocommerce-admin"),value:Object(j.formatValue)(i,"number",r)},{label:Object(n.__)("Average lifetime spend","woocommerce-admin"),value:c(a)},{label:Object(n.__)("Average order value","woocommerce-admin"),value:c(o)}]}render(){const{isRequesting:e,query:t,filters:r,advancedFilters:o}=this.props;return Object(a.createElement)(f.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:e,itemIdField:"id",query:t,labels:{placeholder:Object(n.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(n.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:r,advancedFilters:o})}}v.contextType=w.a;var S=v,C=r(511);class E extends a.Component{render(){const{isRequesting:e,query:t,path:r}=this.props,o={orderby:"date_last_active",order:"desc",...t};return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(C.a,{query:t,path:r,filters:b,showDatePicker:!1,advancedFilters:_,report:"customers"}),Object(a.createElement)(S,{isRequesting:e,query:o,filters:b,advancedFilters:_}))}}E.propTypes={query:c.a.object.isRequired}},506:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return m}));var a=r(0),o=r(28),c=r(91),n=r.n(c),l=r(22);const i=n()(l.a),s=e=>{const t=i.getCurrencyConfig(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return n()(r)},m=Object(a.createContext)(i)},507:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return _})),r.d(t,"d",(function(){return p})),r.d(t,"f",(function(){return O})),r.d(t,"h",(function(){return j})),r.d(t,"g",(function(){return y}));var a=r(15),o=r(18),c=r.n(o),n=r(4),l=r(12),i=r(11),s=r(508),m=r(22);function d(e,t=n.identity){return function(r="",o){const n="function"==typeof e?e(o):e,i=Object(l.getIdsFromQuery)(r);if(i.length<1)return Promise.resolve([]);const s={include:i.join(","),per_page:i.length};return c()({path:Object(a.addQueryArgs)(n,s)}).then(e=>e.map(t))}}d(i.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(i.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(i.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=d(i.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=d(i.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),O=d(i.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(s.a)(e)}));function j({attributes:e,name:t}){const r=Object(m.d)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const a=(e||[]).map(({option:e})=>e).join(", ");return a?t+r+a:t}const y=d(({products:e})=>e?i.NAMESPACE+`/products/${e}/variations`:i.NAMESPACE+"/variations",e=>({key:e.id,label:j(e)}))},508:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},509:function(e,t,r){"use strict";var a=r(0),o=r(2),c=r(1),n=r.n(c),l=r(21);function i({className:e}){const t=Object(o.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),r=Object(o.__)("Reload","woocommerce-admin");return Object(a.createElement)(l.EmptyContent,{className:e,title:t,actionLabel:r,actionCallback:()=>{window.location.reload()}})}i.propTypes={className:n.a.string},t.a=i},511:function(e,t,r){"use strict";var a=r(0),o=r(13),c=r(1),n=r.n(c),l=r(4),i=r(7),s=r(21),m=r(11),d=r(20),u=r(16),b=r(506),_=r(58),p=r(22);class O extends a.Component{constructor(){super(),this.onDateSelect=this.onDateSelect.bind(this),this.onFilterSelect=this.onFilterSelect.bind(this),this.onAdvancedFilterAction=this.onAdvancedFilterAction.bind(this)}onDateSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props;r(),Object(u.recordEvent)("datepicker_update",{report:t,...Object(l.omitBy)(e,l.isUndefined)})}onFilterSelect(e){const{report:t,addCesSurveyForAnalytics:r}=this.props,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&r();const o={report:t,filter:e.filter||"all"};"single_product"===e.filter&&(o.filter_variation=e["filter-variations"]||"all"),Object(u.recordEvent)("analytics_filter",o)}onAdvancedFilterAction(e,t){const{report:r,addCesSurveyForAnalytics:a}=this.props;switch(e){case"add":Object(u.recordEvent)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(u.recordEvent)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":const e=Object.keys(t).reduce((e,r)=>(e[Object(l.snakeCase)(r)]=t[r],e),{});a(),Object(u.recordEvent)("analytics_filters_filter",{report:r,...e});break;case"clear_all":Object(u.recordEvent)("analytics_filters_clear_all",{report:r});break;case"match":Object(u.recordEvent)("analytics_filters_all_any",{report:r,value:t.match})}}render(){const{advancedFilters:e,filters:t,path:r,query:o,showDatePicker:c,defaultDateRange:n}=this.props,{period:l,compare:i,before:m,after:u}=Object(d.getDateParamsFromQuery)(o,n),{primary:b,secondary:_}=Object(d.getCurrentDates)(o,n),O={period:l,compare:i,before:m,after:u,primaryDate:b,secondaryDate:_},j=this.context;return Object(a.createElement)(s.ReportFilters,{query:o,siteLocale:p.b.siteLocale,currency:j.getCurrencyConfig(),path:r,filters:t,advancedFilters:e,showDatePicker:c,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:O,isoDateFormat:d.isoDateFormat})}}O.contextType=b.a,t.a=Object(o.compose)(Object(i.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(m.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}}),Object(i.withDispatch)(e=>{const{addCesSurveyForAnalytics:t}=e(_.c);return{addCesSurveyForAnalytics:t}}))(O),O.propTypes={advancedFilters:n.a.object,filters:n.a.array,path:n.a.string.isRequired,query:n.a.object,showDatePicker:n.a.bool,report:n.a.string.isRequired}},512:function(e,t,r){"use strict";var a=r(37),o=r.n(a),c=r(0),n=r(3),l=r(28),i=r(13),s=r(93),m=r(7),d=r(4),u=r(2),b=r(1),_=r.n(b),p=r(21),O=r(12),j=r(477),y=r(11),g=r(16),f=()=>Object(c.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(c.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"})),w=r(509);var h=r(58);r(521);const v=e=>{const{getHeadersContent:t,getRowsContent:r,getSummary:a,isRequesting:i,primaryData:m,tableData:b,endpoint:_,itemIdField:h,tableQuery:v,compareBy:S,compareParam:C,searchBy:E,labels:x={},...A}=e,{query:R,columnPrefsKey:F}=e,{items:k,query:D}=b,N=R[C]?Object(O.getIdsFromQuery)(R[S]):[],[q,T]=Object(c.useState)(N),P=Object(c.useRef)(null),{updateUserPreferences:B,...M}=Object(y.useUserPreferences)();if(b.isError||m.isError)return Object(c.createElement)(w.a,null);let L=[];F&&(L=M&&M[F]?M[F]:L);const Q=(e,o,c)=>{const n=a?a(o,c):null;return Object(l.applyFilters)("woocommerce_admin_report_table",{endpoint:_,headers:t(),rows:r(e),totals:o,summary:n,items:k})},I=t=>{const{ids:r}=e;T(t?r:[])},V=(t,r)=>{const{ids:a}=e;if(r)T(Object(d.uniq)([a[t],...q]));else{const e=q.indexOf(a[t]);T([...q.slice(0,e),...q.slice(e+1)])}},U=t=>{const{ids:r=[]}=e,a=-1!==q.indexOf(r[t]);return{display:Object(c.createElement)(n.CheckboxControl,{onChange:Object(d.partial)(V,t),checked:a}),value:!1}},H=()=>{const{ids:t=[]}=e,r=t.length>0,a=r&&t.length===q.length;return{cellClassName:"is-checkbox-column",key:"compare",label:Object(c.createElement)(n.CheckboxControl,{onChange:I,"aria-label":Object(u.__)("Select All"),checked:a,disabled:!r}),required:!0}},z=i||b.isRequesting||m.isRequesting,G=Object(d.get)(m,["data","totals"],{}),J=k.totalResults||0,K=J>0,X=Object(O.getSearchWords)(R).map(e=>({key:e,label:e})),{data:Y}=k,W=Q(Y,G,J);let{headers:$,rows:Z}=W;const{summary:ee}=W;S&&(Z=Z.map((e,t)=>[U(t),...e]),$=[H(),...$]);const te=((e,t)=>t?e.map(e=>({...e,visible:e.required||!t.includes(e.key)})):e.map(e=>({...e,visible:e.required||!e.hiddenByDefault})))($,L);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:P,"aria-hidden":!0}),Object(c.createElement)(p.TableCard,o()({className:"woocommerce-report-table",hasSearch:!!E,actions:[S&&Object(c.createElement)(p.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:q.length,helpText:x.helpText||Object(u.__)("Check at least two items below to compare","woocommerce-admin"),onClick:()=>{S&&Object(O.onQueryChange)("compare")(S,C,q.join(","))},disabled:!K},x.compareButton||Object(u.__)("Compare","woocommerce-admin")),E&&Object(c.createElement)(p.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:t=>{const{baseSearchQuery:r,addCesSurveyForCustomerSearch:a}=e,o=t.map(e=>e.label.replace(",","%2C"));o.length?(Object(O.updateQueryString)({filter:void 0,[C]:void 0,[E]:void 0,...r,search:Object(d.uniq)(o).join(",")}),a()):Object(O.updateQueryString)({search:void 0}),Object(g.recordEvent)("analytics_table_filter",{report:_})},placeholder:x.placeholder||Object(u.__)("Search by item name","woocommerce-admin"),selected:X,showClearButton:!0,type:E,disabled:!K}),K&&Object(c.createElement)(n.Button,{key:"download",className:"woocommerce-table__download-button",disabled:z,onClick:()=>{const{createNotice:t,startExport:r,title:a}=e,o=Object.assign({},R),{data:c,totalResults:n}=k;let l="browser";if(delete o.extended_info,o.search&&delete o[E],c&&c.length===n){const{headers:e,rows:t}=Q(c,n);Object(j.downloadCSVFile)(Object(j.generateCSVFileName)(a,o),Object(j.generateCSVDataFromTable)(e,t))}else l="email",r(_,D).then(()=>t("success",Object(u.sprintf)(Object(u.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))).catch(e=>t("error",e.message||Object(u.sprintf)(Object(u.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),a)));Object(g.recordEvent)("analytics_table_download",{report:_,rows:n,download_type:l})}},Object(c.createElement)(f,null),Object(c.createElement)("span",{className:"woocommerce-table__download-button__label"},x.downloadButton||Object(u.__)("Download","woocommerce-admin")))],headers:te,isLoading:z,onQueryChange:O.onQueryChange,onColumnsChange:(e,t)=>{const r=$.map(e=>e.key).filter(t=>!e.includes(t));if(F){B({[F]:r})}if(t){const r={report:_,column:t,status:e.includes(t)?"on":"off"};Object(g.recordEvent)("analytics_table_header_toggle",r)}},onSort:(e,t)=>{Object(O.onQueryChange)("sort")(e,t);const r={report:_,column:e,direction:t};Object(g.recordEvent)("analytics_table_sort",r)},onPageChange:(e,t)=>{P.current.scrollIntoView();const r=P.current.nextSibling.querySelector(".woocommerce-table__table"),a=s.focus.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(g.recordEvent)("analytics_table_go_to_page",{report:_,page:e}):Object(g.recordEvent)("analytics_table_page_click",{report:_,direction:t}))},rows:Z,rowsPerPage:parseInt(D.per_page,10)||y.QUERY_DEFAULTS.pageSize,summary:ee,totalRows:J},A)))};v.propTypes={baseSearchQuery:_.a.object,compareBy:_.a.string,compareParam:_.a.string,columnPrefsKey:_.a.string,endpoint:_.a.string,extendItemsMethodNames:_.a.shape({getError:_.a.string,isRequesting:_.a.string,load:_.a.string}),extendedItemsStoreName:_.a.string,getHeadersContent:_.a.func.isRequired,getRowsContent:_.a.func.isRequired,getSummary:_.a.func,itemIdField:_.a.string,labels:_.a.shape({compareButton:_.a.string,downloadButton:_.a.string,helpText:_.a.string,placeholder:_.a.string}),primaryData:_.a.object,searchBy:_.a.string,summaryFields:_.a.arrayOf(_.a.string),tableData:_.a.object.isRequired,tableQuery:_.a.object,title:_.a.string.isRequired},v.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:d.noop,baseSearchQuery:{}};const S=[],C={};t.a=Object(i.compose)(Object(m.withSelect)((e,t)=>{const{endpoint:r,getSummary:a,isRequesting:o,itemIdField:c,query:n,tableData:l,tableQuery:i,filters:s,advancedFilters:m,summaryFields:u,extendedItemsStoreName:b}=t,_=e(y.REPORTS_STORE_NAME),p=b?e(b):null,{woocommerce_default_date_range:O}=e(y.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),j=n.search&&!(n[r]&&n[r].length);if(o||j)return C;const g="categories"===r?"products":r,f=a?Object(y.getReportChartData)({endpoint:g,selector:_,dataType:"primary",query:n,filters:s,advancedFilters:m,defaultDateRange:O,fields:u}):C,w=l||Object(y.getReportTableData)({endpoint:r,query:n,selector:_,tableQuery:i,filters:s,advancedFilters:m,defaultDateRange:O}),h=p?function(e,t,r){const{extendItemsMethodNames:a,itemIdField:o}=t,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&o))return r;const{[a.getError]:n,[a.isRequesting]:l,[a.load]:i}=e,s={include:c.map(e=>e[o]).join(","),per_page:c.length},m=i(s),u=!!l&&l(s),b=!!n&&n(s),_=c.map(e=>{const t=Object(d.first)(m.filter(t=>e.id===t.id));return{...e,...t}}),p=r.isRequesting||u,O=r.isError||b;return{...r,isRequesting:p,isError:O,items:{...r.items,data:_}}}(p,t,w):w;return{primaryData:f,ids:c&&h.items.data?h.items.data.map(e=>e[c]):S,tableData:h,query:n}}),Object(m.withDispatch)(e=>{const{startExport:t}=e(y.EXPORT_STORE_NAME),{createNotice:r}=e("core/notices"),{addCesSurveyForCustomerSearch:a}=e(h.c);return{createNotice:r,startExport:t,addCesSurveyForCustomerSearch:a}}))(v)},521:function(e,t,r){}}]);
dist/chunks/analytics-report-downloads.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[10],{
2
 
3
- /***/ 489:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -18,7 +18,7 @@ var prop_types = __webpack_require__(1);
18
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/downloads/config.js
21
- var config = __webpack_require__(540);
22
 
23
  // EXTERNAL MODULE: external ["wp","i18n"]
24
  var external_wp_i18n_ = __webpack_require__(2);
@@ -40,10 +40,10 @@ var external_wc_components_ = __webpack_require__(21);
40
  var external_wc_navigation_ = __webpack_require__(12);
41
 
42
  // EXTERNAL MODULE: external ["wc","number"]
43
- var external_wc_number_ = __webpack_require__(121);
44
 
45
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
46
- var build_module = __webpack_require__(13);
47
 
48
  // EXTERNAL MODULE: external ["wc","data"]
49
  var external_wc_data_ = __webpack_require__(11);
@@ -52,10 +52,13 @@ var external_wc_data_ = __webpack_require__(11);
52
  var external_wc_date_ = __webpack_require__(20);
53
 
54
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
55
- var report_table = __webpack_require__(511);
56
 
57
  // EXTERNAL MODULE: ./client/lib/currency-context.js
58
- var currency_context = __webpack_require__(505);
 
 
 
59
 
60
  // CONCATENATED MODULE: ./client/analytics/report/downloads/table.js
61
 
@@ -81,6 +84,7 @@ var currency_context = __webpack_require__(505);
81
 
82
 
83
 
 
84
  class table_DownloadsReportTable extends external_wp_element_["Component"] {
85
  constructor() {
86
  super();
@@ -123,7 +127,7 @@ class table_DownloadsReportTable extends external_wp_element_["Component"] {
123
  query
124
  } = this.props;
125
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
126
- const dateFormat = Object(build_module["f" /* getSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
127
  return Object(external_lodash_["map"])(downloads, download => {
128
  const {
129
  _embedded,
@@ -174,7 +178,7 @@ class table_DownloadsReportTable extends external_wp_element_["Component"] {
174
  value: fileName
175
  }, {
176
  display: Object(external_wp_element_["createElement"])(external_wc_components_["Link"], {
177
- href: Object(build_module["e" /* getAdminLink */])(`post.php?post=${orderId}&action=edit`),
178
  type: "wp-admin"
179
  }, orderNumber),
180
  value: orderNumber
@@ -245,16 +249,16 @@ table_DownloadsReportTable.contextType = currency_context["a" /* CurrencyContext
245
  };
246
  })(table_DownloadsReportTable));
247
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
248
- var get_selected_chart = __webpack_require__(514);
249
 
250
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
251
- var report_chart = __webpack_require__(512);
252
 
253
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
254
- var report_summary = __webpack_require__(515);
255
 
256
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
257
- var report_filters = __webpack_require__(510);
258
 
259
  // CONCATENATED MODULE: ./client/analytics/report/downloads/index.js
260
 
@@ -315,7 +319,7 @@ downloads_DownloadsReport.propTypes = {
315
 
316
  /***/ }),
317
 
318
- /***/ 506:
319
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
320
 
321
  "use strict";
@@ -338,8 +342,8 @@ downloads_DownloadsReport.propTypes = {
338
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
339
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
340
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
341
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13);
342
- /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(507);
343
  /**
344
  * External dependencies
345
  */
@@ -348,12 +352,12 @@ downloads_DownloadsReport.propTypes = {
348
 
349
 
350
 
351
-
352
  /**
353
  * Internal dependencies
354
  */
355
 
356
 
 
357
  /**
358
  * Get a function that accepts ids as they are found in url parameter and
359
  * returns a promise with an optional method applied to results
@@ -403,7 +407,7 @@ const getProductLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTE
403
  }));
404
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
405
  key: taxRate.id,
406
- label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__[/* getTaxCode */ "a"])(taxRate)
407
  }));
408
  /**
409
  * Create a variation name by concatenating each of the variation's
@@ -419,7 +423,7 @@ function getVariationName({
419
  attributes,
420
  name
421
  }) {
422
- const separator = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__[/* getSetting */ "f"])('variationTitleAttributesSeparator', ' - ');
423
 
424
  if (name && name.indexOf(separator) > -1) {
425
  return name;
@@ -448,7 +452,7 @@ const getVariationLabels = getRequestByIdString(({
448
 
449
  /***/ }),
450
 
451
- /***/ 507:
452
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
453
 
454
  "use strict";
@@ -465,7 +469,7 @@ function getTaxCode(tax) {
465
 
466
  /***/ }),
467
 
468
- /***/ 540:
469
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
470
 
471
  "use strict";
@@ -474,9 +478,9 @@ function getTaxCode(tax) {
474
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
475
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
476
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
477
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
478
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
479
- /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(506);
480
  /**
481
  * External dependencies
482
  */
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[10],{
2
 
3
+ /***/ 490:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
18
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/downloads/config.js
21
+ var config = __webpack_require__(542);
22
 
23
  // EXTERNAL MODULE: external ["wp","i18n"]
24
  var external_wp_i18n_ = __webpack_require__(2);
40
  var external_wc_navigation_ = __webpack_require__(12);
41
 
42
  // EXTERNAL MODULE: external ["wc","number"]
43
+ var external_wc_number_ = __webpack_require__(122);
44
 
45
+ // EXTERNAL MODULE: external ["wc","wcSettings"]
46
+ var external_wc_wcSettings_ = __webpack_require__(14);
47
 
48
  // EXTERNAL MODULE: external ["wc","data"]
49
  var external_wc_data_ = __webpack_require__(11);
52
  var external_wc_date_ = __webpack_require__(20);
53
 
54
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
55
+ var report_table = __webpack_require__(512);
56
 
57
  // EXTERNAL MODULE: ./client/lib/currency-context.js
58
+ var currency_context = __webpack_require__(506);
59
+
60
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
61
+ var admin_settings = __webpack_require__(22);
62
 
63
  // CONCATENATED MODULE: ./client/analytics/report/downloads/table.js
64
 
84
 
85
 
86
 
87
+
88
  class table_DownloadsReportTable extends external_wp_element_["Component"] {
89
  constructor() {
90
  super();
127
  query
128
  } = this.props;
129
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
130
+ const dateFormat = Object(admin_settings["d" /* getAdminSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
131
  return Object(external_lodash_["map"])(downloads, download => {
132
  const {
133
  _embedded,
178
  value: fileName
179
  }, {
180
  display: Object(external_wp_element_["createElement"])(external_wc_components_["Link"], {
181
+ href: Object(external_wc_wcSettings_["getAdminLink"])(`post.php?post=${orderId}&action=edit`),
182
  type: "wp-admin"
183
  }, orderNumber),
184
  value: orderNumber
249
  };
250
  })(table_DownloadsReportTable));
251
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
252
+ var get_selected_chart = __webpack_require__(515);
253
 
254
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
255
+ var report_chart = __webpack_require__(513);
256
 
257
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
258
+ var report_summary = __webpack_require__(516);
259
 
260
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
261
+ var report_filters = __webpack_require__(511);
262
 
263
  // CONCATENATED MODULE: ./client/analytics/report/downloads/index.js
264
 
319
 
320
  /***/ }),
321
 
322
+ /***/ 507:
323
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
324
 
325
  "use strict";
342
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
343
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
344
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
345
+ /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(508);
346
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
347
  /**
348
  * External dependencies
349
  */
352
 
353
 
354
 
 
355
  /**
356
  * Internal dependencies
357
  */
358
 
359
 
360
+
361
  /**
362
  * Get a function that accepts ids as they are found in url parameter and
363
  * returns a promise with an optional method applied to results
407
  }));
408
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
409
  key: taxRate.id,
410
+ label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__[/* getTaxCode */ "a"])(taxRate)
411
  }));
412
  /**
413
  * Create a variation name by concatenating each of the variation's
423
  attributes,
424
  name
425
  }) {
426
+ const separator = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* getAdminSetting */ "d"])('variationTitleAttributesSeparator', ' - ');
427
 
428
  if (name && name.indexOf(separator) > -1) {
429
  return name;
452
 
453
  /***/ }),
454
 
455
+ /***/ 508:
456
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
457
 
458
  "use strict";
469
 
470
  /***/ }),
471
 
472
+ /***/ 542:
473
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
474
 
475
  "use strict";
478
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
479
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
480
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
481
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
482
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
483
+ /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(507);
484
  /**
485
  * External dependencies
486
  */
dist/chunks/analytics-report-downloads.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[10],{489:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return A}));var o=r(0),c=r(1),a=r.n(c),n=r(540),d=r(2),l=r(7),m=r(4),i=r(9),s=r.n(i),u=r(21),b=r(12),_=r(121),p=r(13),w=r(11),f=r(20),O=r(511),j=r(505);class y extends o.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(d.__)("Date","woocommerce-admin"),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(d.__)("Product title","woocommerce-admin"),key:"product",isSortable:!0,required:!0},{label:Object(d.__)("File name","woocommerce-admin"),key:"file_name"},{label:Object(d.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(d.__)("Order Number","woocommerce-admin"),key:"order_number"},{label:Object(d.__)("Username","woocommerce-admin"),key:"user_id"},{label:Object(d.__)("IP","woocommerce-admin"),key:"ip_address"}]}getRowsContent(e){const{query:t}=this.props,r=Object(b.getPersistedQuery)(t),c=Object(p.f)("dateFormat",f.defaultTableDateFormat);return Object(m.map)(e,e=>{const{_embedded:t,date:a,file_name:n,file_path:l,ip_address:m,order_id:i,order_number:s,product_id:_,username:w}=e,{code:f,name:O}=t.product[0];let j,y;if("woocommerce_rest_product_invalid_id"===f)j=Object(d.__)("(Deleted)","woocommerce-admin"),y=Object(d.__)("(Deleted)","woocommerce-admin");else{const e=Object(b.getNewPath)(r,"/analytics/products",{filter:"single_product",products:_});j=Object(o.createElement)(u.Link,{href:e,type:"wc-admin"},O),y=O}return[{display:Object(o.createElement)(u.Date,{date:a,visibleFormat:c}),value:a},{display:j,value:y},{display:Object(o.createElement)(u.Link,{href:l,type:"external"},n),value:n},{display:Object(o.createElement)(u.Link,{href:Object(p.e)(`post.php?post=${i}&action=edit`),type:"wp-admin"},s),value:s},{display:w,value:w},{display:m,value:m}]})}getSummary(e){const{download_count:t=0}=e,{query:r,defaultDateRange:o}=this.props,c=Object(f.getCurrentDates)(r,o),a=s()(c.primary.after),n=s()(c.primary.before).diff(a,"days")+1,l=this.context.getCurrencyConfig();return[{label:Object(d._n)("day","days",n,"woocommerce-admin"),value:Object(_.formatValue)(l,"number",n)},{label:Object(d._n)("Download","Downloads",t,"woocommerce-admin"),value:Object(_.formatValue)(l,"number",t)}]}render(){const{query:e,filters:t,advancedFilters:r}=this.props;return Object(o.createElement)(O.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:e,tableQuery:{_embed:!0},title:Object(d.__)("Downloads","woocommerce-admin"),columnPrefsKey:"downloads_report_columns",filters:t,advancedFilters:r})}}y.contextType=j.a;var h=Object(l.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}})(y),v=r(514),g=r(512),S=r(515),E=r(510);class A extends o.Component{render(){const{query:e,path:t}=this.props;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(E.a,{query:e,path:t,filters:n.c,advancedFilters:n.a,report:"downloads"}),Object(o.createElement)(S.a,{charts:n.b,endpoint:"downloads",query:e,selectedChart:Object(v.a)(e.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(o.createElement)(g.a,{charts:n.b,endpoint:"downloads",path:t,query:e,selectedChart:Object(v.a)(e.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(o.createElement)(h,{query:e,filters:n.c,advancedFilters:n.a}))}}A.propTypes={query:a.a.object.isRequired}},506:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return _})),r.d(t,"d",(function(){return p})),r.d(t,"f",(function(){return w})),r.d(t,"h",(function(){return f})),r.d(t,"g",(function(){return O}));var o=r(15),c=r(18),a=r.n(c),n=r(4),d=r(12),l=r(11),m=r(13),i=r(507);function s(e,t=n.identity){return function(r="",c){const n="function"==typeof e?e(c):e,l=Object(d.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);const m={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,m)}).then(e=>e.map(t))}}s(l.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=s(l.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=s(l.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=s(l.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=s(l.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),w=s(l.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(i.a)(e)}));function f({attributes:e,name:t}){const r=Object(m.f)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const o=(e||[]).map(({option:e})=>e).join(", ");return o?t+r+o:t}const O=s(({products:e})=>e?l.NAMESPACE+`/products/${e}/variations`:l.NAMESPACE+"/variations",e=>({key:e.id,label:f(e)}))},507:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(2);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},540:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return l}));var o=r(2),c=r(31),a=r(506);const n=Object(c.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(o.__)("Downloads","woocommerce-admin"),type:"number"}]),d=Object(c.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(o.__)("All downloads","woocommerce-admin"),value:"all"},{label:Object(o.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),l=Object(c.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(o._x)("Downloads match {{select /}} filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(o.__)("Product","woocommerce-admin"),placeholder:Object(o.__)("Search","woocommerce-admin"),remove:Object(o.__)("Remove product filter","woocommerce-admin"),rule:Object(o.__)("Select a product filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:a.d}},customer:{labels:{add:Object(o.__)("Username","woocommerce-admin"),placeholder:Object(o.__)("Search customer username","woocommerce-admin"),remove:Object(o.__)("Remove customer username filter","woocommerce-admin"),rule:Object(o.__)("Select a customer username filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:a.c}},order:{labels:{add:Object(o.__)("Order #","woocommerce-admin"),placeholder:Object(o.__)("Search order number","woocommerce-admin"),remove:Object(o.__)("Remove order number filter","woocommerce-admin"),rule:Object(o.__)("Select a order number filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:async e=>{const t=e.split(",");return await t.map(e=>({id:e,label:"#"+e}))}}},ip_address:{labels:{add:Object(o.__)("IP Address","woocommerce-admin"),placeholder:Object(o.__)("Search IP address","woocommerce-admin"),remove:Object(o.__)("Remove IP address filter","woocommerce-admin"),rule:Object(o.__)("Select an IP address filter match","woocommerce-admin"),title:Object(o.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:async e=>{const t=e.split(",");return await t.map(e=>({id:e,label:e}))}}}}})}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[10],{490:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return x}));var o=r(0),c=r(1),a=r.n(c),n=r(542),d=r(2),l=r(7),m=r(4),i=r(9),s=r.n(i),u=r(21),b=r(12),_=r(122),p=r(14),w=r(11),O=r(20),f=r(512),j=r(506),y=r(22);class h extends o.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(d.__)("Date","woocommerce-admin"),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(d.__)("Product title","woocommerce-admin"),key:"product",isSortable:!0,required:!0},{label:Object(d.__)("File name","woocommerce-admin"),key:"file_name"},{label:Object(d.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(d.__)("Order Number","woocommerce-admin"),key:"order_number"},{label:Object(d.__)("Username","woocommerce-admin"),key:"user_id"},{label:Object(d.__)("IP","woocommerce-admin"),key:"ip_address"}]}getRowsContent(e){const{query:t}=this.props,r=Object(b.getPersistedQuery)(t),c=Object(y.d)("dateFormat",O.defaultTableDateFormat);return Object(m.map)(e,e=>{const{_embedded:t,date:a,file_name:n,file_path:l,ip_address:m,order_id:i,order_number:s,product_id:_,username:w}=e,{code:O,name:f}=t.product[0];let j,y;if("woocommerce_rest_product_invalid_id"===O)j=Object(d.__)("(Deleted)","woocommerce-admin"),y=Object(d.__)("(Deleted)","woocommerce-admin");else{const e=Object(b.getNewPath)(r,"/analytics/products",{filter:"single_product",products:_});j=Object(o.createElement)(u.Link,{href:e,type:"wc-admin"},f),y=f}return[{display:Object(o.createElement)(u.Date,{date:a,visibleFormat:c}),value:a},{display:j,value:y},{display:Object(o.createElement)(u.Link,{href:l,type:"external"},n),value:n},{display:Object(o.createElement)(u.Link,{href:Object(p.getAdminLink)(`post.php?post=${i}&action=edit`),type:"wp-admin"},s),value:s},{display:w,value:w},{display:m,value:m}]})}getSummary(e){const{download_count:t=0}=e,{query:r,defaultDateRange:o}=this.props,c=Object(O.getCurrentDates)(r,o),a=s()(c.primary.after),n=s()(c.primary.before).diff(a,"days")+1,l=this.context.getCurrencyConfig();return[{label:Object(d._n)("day","days",n,"woocommerce-admin"),value:Object(_.formatValue)(l,"number",n)},{label:Object(d._n)("Download","Downloads",t,"woocommerce-admin"),value:Object(_.formatValue)(l,"number",t)}]}render(){const{query:e,filters:t,advancedFilters:r}=this.props;return Object(o.createElement)(f.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:e,tableQuery:{_embed:!0},title:Object(d.__)("Downloads","woocommerce-admin"),columnPrefsKey:"downloads_report_columns",filters:t,advancedFilters:r})}}h.contextType=j.a;var g=Object(l.withSelect)(e=>{const{woocommerce_default_date_range:t}=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings");return{defaultDateRange:t}})(h),v=r(515),S=r(513),E=r(516),A=r(511);class x extends o.Component{render(){const{query:e,path:t}=this.props;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(A.a,{query:e,path:t,filters:n.c,advancedFilters:n.a,report:"downloads"}),Object(o.createElement)(E.a,{charts:n.b,endpoint:"downloads",query:e,selectedChart:Object(v.a)(e.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(o.createElement)(S.a,{charts:n.b,endpoint:"downloads",path:t,query:e,selectedChart:Object(v.a)(e.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(o.createElement)(g,{query:e,filters:n.c,advancedFilters:n.a}))}}x.propTypes={query:a.a.object.isRequired}},507:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return _})),r.d(t,"d",(function(){return p})),r.d(t,"f",(function(){return w})),r.d(t,"h",(function(){return O})),r.d(t,"g",(function(){return f}));var o=r(15),c=r(18),a=r.n(c),n=r(4),d=r(12),l=r(11),m=r(508),i=r(22);function s(e,t=n.identity){return function(r="",c){const n="function"==typeof e?e(c):e,l=Object(d.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);const m={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,m)}).then(e=>e.map(t))}}s(l.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=s(l.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=s(l.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=s(l.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=s(l.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),w=s(l.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(m.a)(e)}));function O({attributes:e,name:t}){const r=Object(i.d)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(r)>-1)return t;const o=(e||[]).map(({option:e})=>e).join(", ");return o?t+r+o:t}const f=s(({products:e})=>e?l.NAMESPACE+`/products/${e}/variations`:l.NAMESPACE+"/variations",e=>({key:e.id,label:O(e)}))},508:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(2);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},542:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return l}));var o=r(2),c=r(28),a=r(507);const n=Object(c.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(o.__)("Downloads","woocommerce-admin"),type:"number"}]),d=Object(c.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(o.__)("All downloads","woocommerce-admin"),value:"all"},{label:Object(o.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),l=Object(c.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(o._x)("Downloads match {{select /}} filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(o.__)("Product","woocommerce-admin"),placeholder:Object(o.__)("Search","woocommerce-admin"),remove:Object(o.__)("Remove product filter","woocommerce-admin"),rule:Object(o.__)("Select a product filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:a.d}},customer:{labels:{add:Object(o.__)("Username","woocommerce-admin"),placeholder:Object(o.__)("Search customer username","woocommerce-admin"),remove:Object(o.__)("Remove customer username filter","woocommerce-admin"),rule:Object(o.__)("Select a customer username filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:a.c}},order:{labels:{add:Object(o.__)("Order #","woocommerce-admin"),placeholder:Object(o.__)("Search order number","woocommerce-admin"),remove:Object(o.__)("Remove order number filter","woocommerce-admin"),rule:Object(o.__)("Select a order number filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:async e=>{const t=e.split(",");return await t.map(e=>({id:e,label:"#"+e}))}}},ip_address:{labels:{add:Object(o.__)("IP Address","woocommerce-admin"),placeholder:Object(o.__)("Search IP address","woocommerce-admin"),remove:Object(o.__)("Remove IP address filter","woocommerce-admin"),rule:Object(o.__)("Select an IP address filter match","woocommerce-admin"),title:Object(o.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:async e=>{const t=e.split(",");return await t.map(e=>({id:e,label:e}))}}}}})}}]);
dist/chunks/analytics-report-orders.js CHANGED
@@ -1,6 +1,6 @@
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[11],{
2
 
3
- /***/ 486:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
@@ -18,10 +18,10 @@ var prop_types = __webpack_require__(1);
18
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/orders/config.js
21
- var config = __webpack_require__(537);
22
 
23
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
24
- var get_selected_chart = __webpack_require__(514);
25
 
26
  // EXTERNAL MODULE: external ["wp","i18n"]
27
  var external_wp_i18n_ = __webpack_require__(2);
@@ -33,10 +33,7 @@ var external_lodash_ = __webpack_require__(4);
33
  var external_wc_components_ = __webpack_require__(21);
34
 
35
  // EXTERNAL MODULE: external ["wc","number"]
36
- var external_wc_number_ = __webpack_require__(121);
37
-
38
- // EXTERNAL MODULE: ./packages/wc-admin-settings/build-module/index.js
39
- var build_module = __webpack_require__(13);
40
 
41
  // EXTERNAL MODULE: external ["wc","navigation"]
42
  var external_wc_navigation_ = __webpack_require__(12);
@@ -45,13 +42,13 @@ var external_wc_navigation_ = __webpack_require__(12);
45
  var external_wc_date_ = __webpack_require__(20);
46
 
47
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
48
- var report_table = __webpack_require__(511);
49
 
50
- // EXTERNAL MODULE: ./client/lib/currency-context.js
51
- var currency_context = __webpack_require__(505);
52
 
53
- // EXTERNAL MODULE: ./client/analytics/report/orders/style.scss
54
- var style = __webpack_require__(602);
55
 
56
  // CONCATENATED MODULE: ./client/analytics/report/orders/table.js
57
 
@@ -66,7 +63,6 @@ var style = __webpack_require__(602);
66
 
67
 
68
 
69
-
70
  /**
71
  * Internal dependencies
72
  */
@@ -159,7 +155,7 @@ class table_OrdersReportTable extends external_wp_element_["Component"] {
159
  query
160
  } = this.props;
161
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
162
- const dateFormat = Object(build_module["f" /* getSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
163
  const {
164
  render: renderCurrency,
165
  getCurrencyConfig
@@ -215,7 +211,8 @@ class table_OrdersReportTable extends external_wp_element_["Component"] {
215
  order: {
216
  status
217
  },
218
- orderStatusMap: Object(build_module["f" /* getSetting */])('orderStatuses', {})
 
219
  }),
220
  value: status
221
  }, {
@@ -323,13 +320,13 @@ class table_OrdersReportTable extends external_wp_element_["Component"] {
323
  table_OrdersReportTable.contextType = currency_context["a" /* CurrencyContext */];
324
  /* harmony default export */ var table = (table_OrdersReportTable);
325
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
326
- var report_chart = __webpack_require__(512);
327
 
328
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
329
- var report_summary = __webpack_require__(515);
330
 
331
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
332
- var report_filters = __webpack_require__(510);
333
 
334
  // CONCATENATED MODULE: ./client/analytics/report/orders/index.js
335
 
@@ -391,7 +388,7 @@ orders_OrdersReport.propTypes = {
391
 
392
  /***/ }),
393
 
394
- /***/ 506:
395
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
396
 
397
  "use strict";
@@ -414,8 +411,8 @@ orders_OrdersReport.propTypes = {
414
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
415
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
416
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
417
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13);
418
- /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(507);
419
  /**
420
  * External dependencies
421
  */
@@ -424,12 +421,12 @@ orders_OrdersReport.propTypes = {
424
 
425
 
426
 
427
-
428
  /**
429
  * Internal dependencies
430
  */
431
 
432
 
 
433
  /**
434
  * Get a function that accepts ids as they are found in url parameter and
435
  * returns a promise with an optional method applied to results
@@ -479,7 +476,7 @@ const getProductLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTE
479
  }));
480
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
481
  key: taxRate.id,
482
- label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__[/* getTaxCode */ "a"])(taxRate)
483
  }));
484
  /**
485
  * Create a variation name by concatenating each of the variation's
@@ -495,7 +492,7 @@ function getVariationName({
495
  attributes,
496
  name
497
  }) {
498
- const separator = Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__[/* getSetting */ "f"])('variationTitleAttributesSeparator', ' - ');
499
 
500
  if (name && name.indexOf(separator) > -1) {
501
  return name;
@@ -524,7 +521,7 @@ const getVariationLabels = getRequestByIdString(({
524
 
525
  /***/ }),
526
 
527
- /***/ 507:
528
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
529
 
530
  "use strict";
@@ -541,7 +538,7 @@ function getTaxCode(tax) {
541
 
542
  /***/ }),
543
 
544
- /***/ 537:
545
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
546
 
547
  "use strict";
@@ -550,21 +547,21 @@ function getTaxCode(tax) {
550
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
551
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
552
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
553
- /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
554
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
555
- /* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13);
556
- /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(506);
557
  /**
558
  * External dependencies
559
  */
560
 
561
 
562
-
563
  /**
564
  * Internal dependencies
565
  */
566
 
567
 
 
568
  const ORDERS_REPORT_CHARTS_FILTER = 'woocommerce_admin_orders_report_charts';
569
  const ORDERS_REPORT_FILTERS_FILTER = 'woocommerce_admin_orders_report_filters';
570
  const ORDERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_orders_report_advanced_filters';
@@ -630,9 +627,9 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
630
  }],
631
  input: {
632
  component: 'SelectControl',
633
- options: Object.keys(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* ORDER_STATUSES */ "c"]).map(key => ({
634
  value: key,
635
- label: _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__[/* ORDER_STATUSES */ "c"][key]
636
  }))
637
  }
638
  },
@@ -661,7 +658,7 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
661
  input: {
662
  component: 'Search',
663
  type: 'products',
664
- getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__[/* getProductLabels */ "d"]
665
  }
666
  },
667
  variation: {
@@ -689,7 +686,7 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
689
  input: {
690
  component: 'Search',
691
  type: 'variations',
692
- getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__[/* getVariationLabels */ "g"]
693
  }
694
  },
695
  coupon: {
@@ -717,7 +714,7 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
717
  input: {
718
  component: 'Search',
719
  type: 'coupons',
720
- getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__[/* getCouponLabels */ "b"]
721
  }
722
  },
723
  customer_type: {
@@ -793,7 +790,7 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
793
  input: {
794
  component: 'Search',
795
  type: 'taxes',
796
- getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__[/* getTaxRateLabels */ "f"]
797
  }
798
  },
799
  attribute: {
@@ -827,13 +824,6 @@ const advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__["ap
827
  });
828
  /*eslint-enable max-len*/
829
 
830
- /***/ }),
831
-
832
- /***/ 602:
833
- /***/ (function(module, exports, __webpack_require__) {
834
-
835
- // extracted by mini-css-extract-plugin
836
-
837
  /***/ })
838
 
839
  }]);
1
  (window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[11],{
2
 
3
+ /***/ 487:
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
6
  "use strict";
18
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
19
 
20
  // EXTERNAL MODULE: ./client/analytics/report/orders/config.js
21
+ var config = __webpack_require__(539);
22
 
23
  // EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
24
+ var get_selected_chart = __webpack_require__(515);
25
 
26
  // EXTERNAL MODULE: external ["wp","i18n"]
27
  var external_wp_i18n_ = __webpack_require__(2);
33
  var external_wc_components_ = __webpack_require__(21);
34
 
35
  // EXTERNAL MODULE: external ["wc","number"]
36
+ var external_wc_number_ = __webpack_require__(122);
 
 
 
37
 
38
  // EXTERNAL MODULE: external ["wc","navigation"]
39
  var external_wc_navigation_ = __webpack_require__(12);
42
  var external_wc_date_ = __webpack_require__(20);
43
 
44
  // EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
45
+ var report_table = __webpack_require__(512);
46
 
47
+ // EXTERNAL MODULE: ./client/utils/admin-settings.js
48
+ var admin_settings = __webpack_require__(22);
49
 
50
+ // EXTERNAL MODULE: ./client/lib/currency-context.js
51
+ var currency_context = __webpack_require__(506);
52
 
53
  // CONCATENATED MODULE: ./client/analytics/report/orders/table.js
54
 
63
 
64
 
65
 
 
66
  /**
67
  * Internal dependencies
68
  */
155
  query
156
  } = this.props;
157
  const persistedQuery = Object(external_wc_navigation_["getPersistedQuery"])(query);
158
+ const dateFormat = Object(admin_settings["d" /* getAdminSetting */])('dateFormat', external_wc_date_["defaultTableDateFormat"]);
159
  const {
160
  render: renderCurrency,
161
  getCurrencyConfig
211
  order: {
212
  status
213
  },
214
+ labelPositionToLeft: true,
215
+ orderStatusMap: Object(admin_settings["d" /* getAdminSetting */])('orderStatuses', {})
216
  }),
217
  value: status
218
  }, {
320
  table_OrdersReportTable.contextType = currency_context["a" /* CurrencyContext */];
321
  /* harmony default export */ var table = (table_OrdersReportTable);
322
  // EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
323
+ var report_chart = __webpack_require__(513);
324
 
325
  // EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
326
+ var report_summary = __webpack_require__(516);
327
 
328
  // EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
329
+ var report_filters = __webpack_require__(511);
330
 
331
  // CONCATENATED MODULE: ./client/analytics/report/orders/index.js
332
 
388
 
389
  /***/ }),
390
 
391
+ /***/ 507:
392
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
393
 
394
  "use strict";
411
  /* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
412
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11);
413
  /* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
414
+ /* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(508);
415
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22);
416
  /**
417
  * External dependencies
418
  */
421
 
422
 
423
 
 
424
  /**
425
  * Internal dependencies
426
  */
427
 
428
 
429
+
430
  /**
431
  * Get a function that accepts ids as they are found in url parameter and
432
  * returns a promise with an optional method applied to results
476
  }));
477
  const getTaxRateLabels = getRequestByIdString(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__["NAMESPACE"] + '/taxes', taxRate => ({
478
  key: taxRate.id,
479
+ label: Object(_analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_5__[/* getTaxCode */ "a"])(taxRate)
480
  }));
481
  /**
482
  * Create a variation name by concatenating each of the variation's
492
  attributes,
493
  name
494
  }) {
495
+ const separator = Object(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_6__[/* getAdminSetting */ "d"])('variationTitleAttributesSeparator', ' - ');
496
 
497
  if (name && name.indexOf(separator) > -1) {
498
  return name;
521
 
522
  /***/ }),
523
 
524
+ /***/ 508:
525
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
526
 
527
  "use strict";
538
 
539
  /***/ }),
540
 
541
+ /***/ 539:
542
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
543
 
544
  "use strict";
547
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
548
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
549
  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
550
+ /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
551
  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
552
+ /* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(507);
553
+ /* harmony import */ var _utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
554
  /**
555
  * External dependencies
556
  */
557
 
558
 
 
559
  /**
560
  * Internal dependencies
561
  */
562
 
563
 
564
+
565
  const ORDERS_REPORT_CHARTS_FILTER = 'woocommerce_admin_orders_report_charts';
566
  const ORDERS_REPORT_FILTERS_FILTER = 'woocommerce_admin_orders_report_filters';
567
  const ORDERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_orders_report_advanced_filters';
627
  }],
628
  input: {
629
  component: 'SelectControl',
630
+ options: Object.keys(_utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* ORDER_STATUSES */ "c"]).map(key => ({
631
  value: key,
632
+ label: _utils_admin_settings__WEBPACK_IMPORTED_MODULE_3__[/* ORDER_STATUSES */ "c"][key]
633
  }))
634
  }
635
  },
658
  input: {
659
  component: 'Search',
660
  type: 'products',
661
+ getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__[/* getProductLabels */ "d"]
662
  }
663
  },
664
  variation: {
686
  input: {
687
  component: 'Search',
688
  type: 'variations',
689
+ getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__[/* getVariationLabels */ "g"]
690
  }
691
  },
692
  coupon: {
714
  input: {
715
  component: 'Search',
716
  type: 'coupons',
717
+ getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__[/* getCouponLabels */ "b"]
718
  }
719
  },
720
  customer_type: {
790
  input: {
791
  component: 'Search',
792
  type: 'taxes',
793
+ getLabels: _lib_async_requests__WEBPACK_IMPORTED_MODULE_2__[/* getTaxRateLabels */ "f"]
794
  }
795
  },
796
  attribute: {
824
  });
825
  /*eslint-enable max-len*/
826
 
 
 
 
 
 
 
 
827
  /***/ })
828
 
829
  }]);
dist/chunks/analytics-report-orders.min.js CHANGED
@@ -1 +1 @@
1
- (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[11],{486:function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return h}));var r=o(0),c=o(1),a=o.n(c),n=o(537),m=o(514),l=o(2),i=o(4),s=o(21),d=o(121),u=o(13),b=o(12),_=o(20),p=o(511),O=o(505);o(602);class j extends r.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(l.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(l.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(l.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(l.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(l.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(l.__)("Customer type","woocommerce-admin"),key:"customer_type",required:!1,isSortable:!1},{label:Object(l.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(l.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(l.__)("Items sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(l.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(l.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(l.__)("Net sales","woocommerce-admin"),screenReaderLabel:Object(l.__)("Net sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}getCustomerName(e){const{first_name:t,last_name:o}=e||{};return t||o?[t,o].join(" "):""}getRowsContent(e){const{query:t}=this.props,o=Object(b.getPersistedQuery)(t),c=Object(u.f)("dateFormat",_.defaultTableDateFormat),{render:a,getCurrencyConfig:n}=this.context;return Object(i.map)(e,e=>{const{currency:t,date_created:m,net_total:i,num_items_sold:_,order_id:p,order_number:O,parent_id:j,status:w,customer_type:f}=e,y=e.extended_info||{},{coupons:v,customer:h,products:S}=y,g=S.sort((e,t)=>t.quantity-e.quantity).map(e=>({label:e.name,quantity:e.quantity,href:Object(b.getNewPath)(o,"/analytics/products",{filter:"single_product",products:e.id})})),C=v.map(e=>({label:e.code,href:Object(b.getNewPath)(o,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}));return[{display:Object(r.createElement)(s.Date,{date:m,visibleFormat:c}),value:m},{display:Object(r.createElement)(s.Link,{href:"post.php?post="+(j||p)+"&action=edit"+(j?"#order_refunds":""),type:"wp-admin"},O),value:O},{display:Object(r.createElement)(s.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:w},orderStatusMap:Object(u.f)("orderStatuses",{})}),value:w},{display:this.getCustomerName(h),value:this.getCustomerName(h)},{display:(x=f,x.charAt(0).toUpperCase()+x.slice(1)),value:f},{display:this.renderList(g.length?[g[0]]:[],g.map(e=>({label:Object(l.sprintf)(Object(l.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}))),value:g.map(({quantity:e,label:t})=>Object(l.sprintf)(Object(l.__)("%s× %s","woocommerce-admin"),e,t)).join(", ")},{display:Object(d.formatValue)(n(),"number",_),value:_},{display:this.renderList(C.length?[C[0]]:[],C),value:C.map(e=>e.label).join(", ")},{display:a(i,t),value:i}];var x})}getSummary(e){const{orders_count:t=0,total_customers:o=0,products:r=0,num_items_sold:c=0,coupons_count:a=0,net_revenue:n=0}=e,{formatAmount:m,getCurrencyConfig:i}=this.context,s=i();return[{label:Object(l._n)("Order","Orders",t,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",t)},{label:Object(l._n)(" Customer"," Customers",o,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",o)},{label:Object(l._n)("Product","Products",r,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",r)},{label:Object(l._n)("Item sold","Items sold",c,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",c)},{label:Object(l._n)("Coupon","Coupons",a,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",a)},{label:Object(l.__)("net sales","woocommerce-admin"),value:m(n)}]}renderLinks(e=[]){return e.map((e,t)=>Object(r.createElement)(s.Link,{href:e.href,key:t,type:"wc-admin"},e.label))}renderList(e,t){return Object(r.createElement)(r.Fragment,null,this.renderLinks(e),t.length>1&&Object(r.createElement)(s.ViewMoreList,{items:this.renderLinks(t)}))}render(){const{query:e,filters:t,advancedFilters:o}=this.props;return Object(r.createElement)(p.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","total_customers","products","num_items_sold","coupons_count","net_revenue"],query:e,tableQuery:{extended_info:!0},title:Object(l.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:t,advancedFilters:o})}}j.contextType=O.a;var w=j,f=o(512),y=o(515),v=o(510);class h extends r.Component{render(){const{path:e,query:t}=this.props;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(v.a,{query:t,path:e,filters:n.c,advancedFilters:n.a,report:"orders"}),Object(r.createElement)(y.a,{charts:n.b,endpoint:"orders",query:t,selectedChart:Object(m.a)(t.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(r.createElement)(f.a,{charts:n.b,endpoint:"orders",path:e,query:t,selectedChart:Object(m.a)(t.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(r.createElement)(w,{query:t,filters:n.c,advancedFilters:n.a}))}}h.propTypes={path:a.a.string.isRequired,query:a.a.object.isRequired}},506:function(e,t,o){"use strict";o.d(t,"e",(function(){return d})),o.d(t,"a",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return p})),o.d(t,"f",(function(){return O})),o.d(t,"h",(function(){return j})),o.d(t,"g",(function(){return w}));var r=o(15),c=o(18),a=o.n(c),n=o(4),m=o(12),l=o(11),i=o(13),s=o(507);function d(e,t=n.identity){return function(o="",c){const n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(o);if(l.length<1)return Promise.resolve([]);const i={include:l.join(","),per_page:l.length};return a()({path:Object(r.addQueryArgs)(n,i)}).then(e=>e.map(t))}}d(l.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(l.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(l.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=d(l.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=d(l.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),O=d(l.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(s.a)(e)}));function j({attributes:e,name:t}){const o=Object(i.f)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(o)>-1)return t;const r=(e||[]).map(({option:e})=>e).join(", ");return r?t+o+r:t}const w=d(({products:e})=>e?l.NAMESPACE+`/products/${e}/variations`:l.NAMESPACE+"/variations",e=>({key:e.id,label:j(e)}))},507:function(e,t,o){"use strict";o.d(t,"a",(function(){return c}));var r=o(2);function c(e){return[e.country,e.state,e.name||Object(r.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},537:function(e,t,o){"use strict";o.d(t,"b",(function(){return m})),o.d(t,"c",(function(){return l})),o.d(t,"a",(function(){return i}));var r=o(2),c=o(31),a=o(13),n=o(506);const m=Object(c.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(r.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(r.__)("Net sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(r.__)("Average order value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(r.__)("Average items per order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(c.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(r.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(r.__)("All orders","woocommerce-admin"),value:"all"},{label:Object(r.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),i=Object(c.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(r._x)("Orders match {{select /}} filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(r.__)("Order Status","woocommerce-admin"),remove:Object(r.__)("Remove order status filter","woocommerce-admin"),rule:Object(r.__)("Select an order status filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(r._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(r._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(a.c).map(e=>({value:e,label:a.c[e]}))}},product:{labels:{add:Object(r.__)("Products","woocommerce-admin"),placeholder:Object(r.__)("Search products","woocommerce-admin"),remove:Object(r.__)("Remove products filter","woocommerce-admin"),rule:Object(r.__)("Select a product filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:n.d}},variation:{labels:{add:Object(r.__)("Variations","woocommerce-admin"),placeholder:Object(r.__)("Search variations","woocommerce-admin"),remove:Object(r.__)("Remove variations filter","woocommerce-admin"),rule:Object(r.__)("Select a variation filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Variation{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select variation","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","variations","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","variations","woocommerce-admin")}],input:{component:"Search",type:"variations",getLabels:n.g}},coupon:{labels:{add:Object(r.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(r.__)("Search coupons","woocommerce-admin"),remove:Object(r.__)("Remove coupon filter","woocommerce-admin"),rule:Object(r.__)("Select a coupon filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Coupon code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:n.b}},customer_type:{labels:{add:Object(r.__)("Customer type","woocommerce-admin"),remove:Object(r.__)("Remove customer filter","woocommerce-admin"),rule:Object(r.__)("Select a customer filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(r.__)("New","woocommerce-admin")},{value:"returning",label:Object(r.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(r.__)("Refunds","woocommerce-admin"),remove:Object(r.__)("Remove refunds filter","woocommerce-admin"),rule:Object(r.__)("Select a refund filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(r.__)("All","woocommerce-admin")},{value:"partial",label:Object(r.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(r.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(r.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(r.__)("Tax Rates","woocommerce-admin"),placeholder:Object(r.__)("Search tax rates","woocommerce-admin"),remove:Object(r.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(r.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:n.f}},attribute:{allowMultiple:!0,labels:{add:Object(r.__)("Attribute","woocommerce-admin"),placeholder:Object(r.__)("Search attributes","woocommerce-admin"),remove:Object(r.__)("Remove attribute filter","woocommerce-admin"),rule:Object(r.__)("Select a product attribute filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select attributes","woocommerce-admin")},rules:[{value:"is",label:Object(r._x)("Is","product attribute","woocommerce-admin")},{value:"is_not",label:Object(r._x)("Is Not","product attribute","woocommerce-admin")}],input:{component:"ProductAttribute"}}}})},602:function(e,t,o){}}]);
1
+ (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[11],{487:function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return h}));var r=o(0),c=o(1),a=o.n(c),n=o(539),m=o(515),l=o(2),i=o(4),s=o(21),d=o(122),u=o(12),b=o(20),_=o(512),p=o(22),O=o(506);class j extends r.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(l.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(l.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(l.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(l.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(l.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(l.__)("Customer type","woocommerce-admin"),key:"customer_type",required:!1,isSortable:!1},{label:Object(l.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(l.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(l.__)("Items sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(l.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(l.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(l.__)("Net sales","woocommerce-admin"),screenReaderLabel:Object(l.__)("Net sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}getCustomerName(e){const{first_name:t,last_name:o}=e||{};return t||o?[t,o].join(" "):""}getRowsContent(e){const{query:t}=this.props,o=Object(u.getPersistedQuery)(t),c=Object(p.d)("dateFormat",b.defaultTableDateFormat),{render:a,getCurrencyConfig:n}=this.context;return Object(i.map)(e,e=>{const{currency:t,date_created:m,net_total:i,num_items_sold:b,order_id:_,order_number:O,parent_id:j,status:w,customer_type:f}=e,y=e.extended_info||{},{coupons:v,customer:h,products:S}=y,g=S.sort((e,t)=>t.quantity-e.quantity).map(e=>({label:e.name,quantity:e.quantity,href:Object(u.getNewPath)(o,"/analytics/products",{filter:"single_product",products:e.id})})),C=v.map(e=>({label:e.code,href:Object(u.getNewPath)(o,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}));return[{display:Object(r.createElement)(s.Date,{date:m,visibleFormat:c}),value:m},{display:Object(r.createElement)(s.Link,{href:"post.php?post="+(j||_)+"&action=edit"+(j?"#order_refunds":""),type:"wp-admin"},O),value:O},{display:Object(r.createElement)(s.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:w},labelPositionToLeft:!0,orderStatusMap:Object(p.d)("orderStatuses",{})}),value:w},{display:this.getCustomerName(h),value:this.getCustomerName(h)},{display:(x=f,x.charAt(0).toUpperCase()+x.slice(1)),value:f},{display:this.renderList(g.length?[g[0]]:[],g.map(e=>({label:Object(l.sprintf)(Object(l.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}))),value:g.map(({quantity:e,label:t})=>Object(l.sprintf)(Object(l.__)("%s× %s","woocommerce-admin"),e,t)).join(", ")},{display:Object(d.formatValue)(n(),"number",b),value:b},{display:this.renderList(C.length?[C[0]]:[],C),value:C.map(e=>e.label).join(", ")},{display:a(i,t),value:i}];var x})}getSummary(e){const{orders_count:t=0,total_customers:o=0,products:r=0,num_items_sold:c=0,coupons_count:a=0,net_revenue:n=0}=e,{formatAmount:m,getCurrencyConfig:i}=this.context,s=i();return[{label:Object(l._n)("Order","Orders",t,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",t)},{label:Object(l._n)(" Customer"," Customers",o,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",o)},{label:Object(l._n)("Product","Products",r,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",r)},{label:Object(l._n)("Item sold","Items sold",c,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",c)},{label:Object(l._n)("Coupon","Coupons",a,"woocommerce-admin"),value:Object(d.formatValue)(s,"number",a)},{label:Object(l.__)("net sales","woocommerce-admin"),value:m(n)}]}renderLinks(e=[]){return e.map((e,t)=>Object(r.createElement)(s.Link,{href:e.href,key:t,type:"wc-admin"},e.label))}renderList(e,t){return Object(r.createElement)(r.Fragment,null,this.renderLinks(e),t.length>1&&Object(r.createElement)(s.ViewMoreList,{items:this.renderLinks(t)}))}render(){const{query:e,filters:t,advancedFilters:o}=this.props;return Object(r.createElement)(_.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","total_customers","products","num_items_sold","coupons_count","net_revenue"],query:e,tableQuery:{extended_info:!0},title:Object(l.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:t,advancedFilters:o})}}j.contextType=O.a;var w=j,f=o(513),y=o(516),v=o(511);class h extends r.Component{render(){const{path:e,query:t}=this.props;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(v.a,{query:t,path:e,filters:n.c,advancedFilters:n.a,report:"orders"}),Object(r.createElement)(y.a,{charts:n.b,endpoint:"orders",query:t,selectedChart:Object(m.a)(t.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(r.createElement)(f.a,{charts:n.b,endpoint:"orders",path:e,query:t,selectedChart:Object(m.a)(t.chart,n.b),filters:n.c,advancedFilters:n.a}),Object(r.createElement)(w,{query:t,filters:n.c,advancedFilters:n.a}))}}h.propTypes={path:a.a.string.isRequired,query:a.a.object.isRequired}},507:function(e,t,o){"use strict";o.d(t,"e",(function(){return d})),o.d(t,"a",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return p})),o.d(t,"f",(function(){return O})),o.d(t,"h",(function(){return j})),o.d(t,"g",(function(){return w}));var r=o(15),c=o(18),a=o.n(c),n=o(4),m=o(12),l=o(11),i=o(508),s=o(22);function d(e,t=n.identity){return function(o="",c){const n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(o);if(l.length<1)return Promise.resolve([]);const i={include:l.join(","),per_page:l.length};return a()({path:Object(r.addQueryArgs)(n,i)}).then(e=>e.map(t))}}d(l.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(l.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(l.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=d(l.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=d(l.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),O=d(l.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(i.a)(e)}));function j({attributes:e,name:t}){const o=Object(s.d)("variationTitleAttributesSeparator"," - ");if(t&&t.indexOf(o)>-1)return t;const r=(e||[]).map(({option:e})=>e).join(", ");return r?t+o+r:t}const w=d(({products:e})=>e?l.NAMESPACE+`/products/${e}/variations`:l.NAMESPACE+"/variations",e=>({key:e.id,label:j(e)}))},508:function(e,t,o){"use strict";o.d(t,"a",(function(){return c}));var r=o(2);function c(e){return[e.country,e.state,e.name||Object(r.__)("TAX","woocommerce-admin"),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},539:function(e,t,o){"use strict";o.d(t,"b",(function(){return m})),o.d(t,"c",(function(){return l})),o.d(t,"a",(function(){return i}));var r=o(2),c=o(28),a=o(507),n=o(22);const m=Object(c.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(r.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(r.__)("Net sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(r.__)("Average order value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(r.__)("Average items per order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(c.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(r.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:()=>!0,filters:[{label:Object(r.__)("All orders","woocommerce-admin"),value:"all"},{label:Object(r.__)("Advanced filters","woocommerce-admin"),value:"advanced"}]}]),i=Object(c.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(r._x)("Orders match {{select /}} filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(r.__)("Order Status","woocommerce-admin"),remove:Object(r.__)("Remove order status filter","woocommerce-admin"),rule:Object(r.__)("Select an order status filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(r._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(r._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(n.c).map(e=>({value:e,label:n.c[e]}))}},product:{labels:{add:Object(r.__)("Products","woocommerce-admin"),placeholder:Object(r.__)("Search products","woocommerce-admin"),remove:Object(r.__)("Remove products filter","woocommerce-admin"),rule:Object(r.__)("Select a product filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:a.d}},variation:{labels:{add:Object(r.__)("Variations","woocommerce-admin"),placeholder:Object(r.__)("Search variations","woocommerce-admin"),remove:Object(r.__)("Remove variations filter","woocommerce-admin"),rule:Object(r.__)("Select a variation filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Variation{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select variation","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","variations","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","variations","woocommerce-admin")}],input:{component:"Search",type:"variations",getLabels:a.g}},coupon:{labels:{add:Object(r.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(r.__)("Search coupons","woocommerce-admin"),remove:Object(r.__)("Remove coupon filter","woocommerce-admin"),rule:Object(r.__)("Select a coupon filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Coupon code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(r._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(r._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:a.b}},customer_type:{labels:{add:Object(r.__)("Customer type","woocommerce-admin"),remove:Object(r.__)("Remove customer filter","woocommerce-admin"),rule:Object(r.__)("Select a customer filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(r.__)("New","woocommerce-admin")},{value:"returning",label:Object(r.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(r.__)("Refunds","woocommerce-admin"),remove:Object(r.__)("Remove refunds filter","woocommerce-admin"),rule:Object(r.__)("Select a refund filter match","woocommerce-admin"),title:Object(r.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(r.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(r.__)(