WooCommerce - Version 4.3.0-rc.3

Version Description

Download this release

Release Info

Developer peterfabian1000
Plugin Icon 128x128 WooCommerce
Version 4.3.0-rc.3
Comparing to
See all releases

Code changes from version 4.3.0-rc.2 to 4.3.0-rc.3

Files changed (18) hide show
  1. i18n/languages/woocommerce.pot +71 -71
  2. packages/woocommerce-admin/dist/app/index.min.js +1 -1
  3. packages/woocommerce-admin/dist/chunks/{0.8e26c0dc69c2fbc3b477.min.js → 0.b613ade91494d4c2a4aa.min.js} +1 -1
  4. packages/woocommerce-admin/dist/chunks/10.c34bdb3643ebc08cb134.min.js +1 -0
  5. packages/woocommerce-admin/dist/chunks/{10.741b0732ffd836fa3293.min.js → 11.b3e2eb89a0181fa5e2f2.min.js} +1 -1
  6. packages/woocommerce-admin/dist/chunks/12.489a50e2cc0a8cb62038.min.js +1 -0
  7. packages/woocommerce-admin/dist/chunks/{12.c99fdc48e6426047a8a3.min.js → 13.2a0a9c9a9543a94e0408.min.js} +1 -1
  8. packages/woocommerce-admin/dist/chunks/{13.f2d5d7a32099f6780413.min.js → 14.704d2d25bcf25d90e228.min.js} +1 -1
  9. packages/woocommerce-admin/dist/chunks/14.style.css +1 -0
  10. packages/woocommerce-admin/dist/chunks/14.style.rtl.css +1 -0
  11. packages/woocommerce-admin/dist/chunks/{14.acb3b03c93a24744f0d1.min.js → 15.413a29db1c4e7f2eefdb.min.js} +1 -1
  12. packages/woocommerce-admin/dist/chunks/{15.69724bccd94e280d4498.min.js → 16.1a3c8e4420d552b12da0.min.js} +1 -1
  13. packages/woocommerce-admin/dist/chunks/17.b72560c96ee6b8cc0379.min.js +1 -0
  14. packages/woocommerce-admin/dist/chunks/{17.35aa3f3f84dbcf9b57a2.min.js → 18.78f9c9760c28db4b928b.min.js} +1 -1
  15. packages/woocommerce-admin/dist/chunks/{18.0243544077f891d2fb5e.min.js → 19.fa18e63feec2f7702031.min.js} +1 -1
  16. packages/woocommerce-admin/dist/chunks/19.style.css +1 -0
  17. packages/woocommerce-admin/dist/chunks/19.style.rtl.css +1 -0
  18. packages/woocommerce-admin/dist/chunks/{23.950cf0c14b859edf05cf.min.js → 24.1d2c0b4dcca1ff64b922.min.js} +1 -1
i18n/languages/woocommerce.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce 4.3.0-rc.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2020-06-30T12:09:41+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woocommerce\n"
@@ -30,7 +30,7 @@ msgstr ""
30
  #: includes/customizer/class-wc-shop-customizer.php:38
31
  #: includes/wc-order-functions.php:958
32
  #: packages/woocommerce-admin/includes/connect-existing-pages.php:62
33
- #: packages/woocommerce-admin/src/Loader.php:877
34
  #: packages/woocommerce-admin/src/PageController.php:184
35
  #: templates/auth/header.php:32
36
  #: packages/woocommerce-blocks/assets/js/atomic/blocks/product/shared-config.js:17
@@ -7659,7 +7659,7 @@ msgid "Are you sure you want to delete this log?"
7659
  msgstr ""
7660
 
7661
  #: includes/admin/class-wc-admin-assets.php:470
7662
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_WooCommerce_Subscriptions.php:54
7663
  msgid "Learn More"
7664
  msgstr ""
7665
 
@@ -9411,7 +9411,7 @@ msgstr ""
9411
  #: includes/admin/class-wc-admin-setup-wizard.php:2080
9412
  #: includes/admin/class-wc-admin-setup-wizard.php:2084
9413
  #: includes/admin/class-wc-admin-setup-wizard.php:2171
9414
- #: packages/woocommerce-admin/src/Loader.php:945
9415
  msgid "WooCommerce Admin"
9416
  msgstr ""
9417
 
@@ -9535,7 +9535,7 @@ msgstr ""
9535
  #: includes/admin/class-wc-admin-setup-wizard.php:873
9536
  #: includes/admin/class-wc-admin-setup-wizard.php:908
9537
  #: includes/admin/class-wc-admin-setup-wizard.php:2410
9538
- #: packages/woocommerce-admin/src/API/Plugins.php:453
9539
  #: packages/woocommerce-admin/dist/data/index.js:1112
9540
  msgid "Jetpack"
9541
  msgstr ""
@@ -12903,16 +12903,16 @@ msgstr ""
12903
 
12904
  #: includes/admin/meta-boxes/views/html-product-data-variations.php:19
12905
  #: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php:44
12906
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:63
12907
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Draw_Attention.php:77
12908
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_EU_VAT_Number.php:53
12909
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Migrate_From_Shopify.php:70
12910
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Mobile_App.php:47
12911
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Onboarding_Payments.php:71
12912
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:86
12913
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Order_Milestones.php:241
12914
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Real_Time_Order_Alerts.php:57
12915
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:69
12916
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_WooCommerce_Payments.php:105
12917
  #: packages/woocommerce-admin/dist/chunks/6.8a01ef3df76cbe04b5e5.js:1449
12918
  #: packages/woocommerce-admin/dist/chunks/6.8a01ef3df76cbe04b5e5.js:1463
@@ -24412,7 +24412,7 @@ msgstr ""
24412
  #: packages/woocommerce-admin/src/API/Reports/Downloads/Stats/Controller.php:249
24413
  #: packages/woocommerce-admin/src/API/Reports/Orders/Controller.php:277
24414
  #: packages/woocommerce-admin/src/API/Reports/Orders/Stats/Controller.php:350
24415
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:653
24416
  #: packages/woocommerce-admin/src/API/Reports/Products/Controller.php:279
24417
  #: packages/woocommerce-admin/src/API/Reports/Products/Stats/Controller.php:332
24418
  #: packages/woocommerce-admin/src/API/Reports/Revenue/Stats/Controller.php:378
@@ -24434,7 +24434,7 @@ msgstr ""
24434
  #: packages/woocommerce-admin/src/API/Reports/Downloads/Stats/Controller.php:255
24435
  #: packages/woocommerce-admin/src/API/Reports/Orders/Controller.php:283
24436
  #: packages/woocommerce-admin/src/API/Reports/Orders/Stats/Controller.php:356
24437
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:659
24438
  #: packages/woocommerce-admin/src/API/Reports/Products/Controller.php:285
24439
  #: packages/woocommerce-admin/src/API/Reports/Products/Stats/Controller.php:338
24440
  #: packages/woocommerce-admin/src/API/Reports/Revenue/Stats/Controller.php:384
@@ -24893,106 +24893,106 @@ msgstr ""
24893
  msgid "Limit result set to orders matching part of an order number."
24894
  msgstr ""
24895
 
24896
- #: packages/woocommerce-admin/src/API/Plugins.php:214
24897
- #: packages/woocommerce-admin/src/API/Plugins.php:379
24898
  msgid "Plugins must be a non-empty array."
24899
  msgstr ""
24900
 
24901
  #. translators: %s: plugin slug (example: woocommerce-services)
24902
- #: packages/woocommerce-admin/src/API/Plugins.php:237
24903
  msgid "The requested plugin `%s` is not in the list of allowed plugins."
24904
  msgstr ""
24905
 
24906
  #. translators: %s: plugin slug (example: woocommerce-services)
24907
- #: packages/woocommerce-admin/src/API/Plugins.php:260
24908
- #: packages/woocommerce-admin/src/API/Plugins.php:272
24909
  msgid "The requested plugin `%s` could not be installed. Plugin API call failed."
24910
  msgstr ""
24911
 
24912
  #. translators: %s: plugin slug (example: woocommerce-services)
24913
- #: packages/woocommerce-admin/src/API/Plugins.php:287
24914
  msgid "The requested plugin `%s` could not be installed."
24915
  msgstr ""
24916
 
24917
  #. translators: %s: plugin slug (example: woocommerce-services)
24918
- #: packages/woocommerce-admin/src/API/Plugins.php:301
24919
  msgid "The requested plugin `%s` could not be installed. Upgrader install failed."
24920
  msgstr ""
24921
 
24922
- #: packages/woocommerce-admin/src/API/Plugins.php:319
24923
  msgid "Plugins were successfully installed."
24924
  msgstr ""
24925
 
24926
- #: packages/woocommerce-admin/src/API/Plugins.php:320
24927
  msgid "There was a problem installing some of the requested plugins."
24928
  msgstr ""
24929
 
24930
  #. translators: %s: plugin slug (example: woocommerce-services)
24931
- #: packages/woocommerce-admin/src/API/Plugins.php:392
24932
  msgid "The requested plugin `%s`. is not in the list of allowed plugins."
24933
  msgstr ""
24934
 
24935
  #. translators: %s: plugin slug (example: woocommerce-services)
24936
- #: packages/woocommerce-admin/src/API/Plugins.php:401
24937
  msgid "The requested plugin `%s`. is not yet installed."
24938
  msgstr ""
24939
 
24940
  #. translators: %s: plugin slug (example: woocommerce-services)
24941
- #: packages/woocommerce-admin/src/API/Plugins.php:413
24942
  msgid "The requested plugin `%s` could not be activated."
24943
  msgstr ""
24944
 
24945
- #: packages/woocommerce-admin/src/API/Plugins.php:429
24946
  msgid "Plugins were successfully activated."
24947
  msgstr ""
24948
 
24949
- #: packages/woocommerce-admin/src/API/Plugins.php:430
24950
  msgid "There was a problem activating some of the requested plugins."
24951
  msgstr ""
24952
 
24953
- #: packages/woocommerce-admin/src/API/Plugins.php:442
24954
  msgid "Jetpack is not installed or active."
24955
  msgstr ""
24956
 
24957
- #: packages/woocommerce-admin/src/API/Plugins.php:466
24958
- #: packages/woocommerce-admin/src/API/Plugins.php:529
24959
  msgid "There was an error loading the WooCommerce.com Helper API."
24960
  msgstr ""
24961
 
24962
- #: packages/woocommerce-admin/src/API/Plugins.php:483
24963
- #: packages/woocommerce-admin/src/API/Plugins.php:488
24964
- #: packages/woocommerce-admin/src/API/Plugins.php:545
24965
- #: packages/woocommerce-admin/src/API/Plugins.php:550
24966
- #: packages/woocommerce-admin/src/API/Plugins.php:566
24967
  #: packages/woocommerce-admin/dist/chunks/44.c1db5d77c3c79d0dd95b.js:1608
24968
  msgid "There was an error connecting to WooCommerce.com. Please try again."
24969
  msgstr ""
24970
 
24971
- #: packages/woocommerce-admin/src/API/Plugins.php:586
24972
  msgid "There was an error connecting to PayPal."
24973
  msgstr ""
24974
 
24975
- #: packages/woocommerce-admin/src/API/Plugins.php:617
24976
  msgid "There was an error connecting to Square."
24977
  msgstr ""
24978
 
24979
- #: packages/woocommerce-admin/src/API/Plugins.php:669
24980
  msgid "There was an error communicating with the WooCommerce Payments plugin."
24981
  msgstr ""
24982
 
24983
- #: packages/woocommerce-admin/src/API/Plugins.php:697
24984
  msgid "Plugin slug."
24985
  msgstr ""
24986
 
24987
- #: packages/woocommerce-admin/src/API/Plugins.php:703
24988
  msgid "Plugin name."
24989
  msgstr ""
24990
 
24991
- #: packages/woocommerce-admin/src/API/Plugins.php:709
24992
  msgid "Plugin status."
24993
  msgstr ""
24994
 
24995
- #: packages/woocommerce-admin/src/API/Plugins.php:729
24996
  msgid "Action that should be completed to connect Jetpack."
24997
  msgstr ""
24998
 
@@ -25949,23 +25949,23 @@ msgstr ""
25949
  msgid "Number of distinct products sold."
25950
  msgstr ""
25951
 
25952
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:139
25953
  msgid "Sorry, fetching performance indicators failed."
25954
  msgstr ""
25955
 
25956
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:194
25957
  msgid "Visitors"
25958
  msgstr ""
25959
 
25960
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:200
25961
  msgid "Views"
25962
  msgstr ""
25963
 
25964
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:385
25965
  msgid "A list of stats to query must be provided."
25966
  msgstr ""
25967
 
25968
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:574
25969
  #: packages/woocommerce-admin/src/API/Reports/Stock/Controller.php:373
25970
  #: packages/woocommerce-blocks/src/StoreApi/Routes/ProductAttributesById.php:35
25971
  #: packages/woocommerce-blocks/src/StoreApi/Routes/ProductCategoriesById.php:35
@@ -26032,28 +26032,28 @@ msgstr ""
26032
  msgid "Unique identifier for the resource."
26033
  msgstr ""
26034
 
26035
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:581
26036
  msgid "The specific chart this stat referrers to."
26037
  msgstr ""
26038
 
26039
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:587
26040
  msgid "Human readable label for the stat."
26041
  msgstr ""
26042
 
26043
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:593
26044
  msgid "Format of the stat."
26045
  msgstr ""
26046
 
26047
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:600
26048
  msgid "Value of the stat. Returns null if the stat does not exist or cannot be loaded."
26049
  msgstr ""
26050
 
26051
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:631
26052
  msgid "There was an issue loading the report endpoints"
26053
  msgstr ""
26054
 
26055
  #. translators: Allowed values is a list of stat endpoints.
26056
- #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:641
26057
  msgid "Limit response to specific report stats. Allowed values: %s."
26058
  msgstr ""
26059
 
@@ -26661,32 +26661,32 @@ msgid "Shipping Label"
26661
  msgstr ""
26662
 
26663
  #. translators: %1$s: updated title, %2$s: blog info name
26664
- #: packages/woocommerce-admin/src/Loader.php:779
26665
  msgid "%1$s &lsaquo; %2$s"
26666
  msgstr ""
26667
 
26668
- #: packages/woocommerce-admin/src/Loader.php:946
26669
  msgid "Settings for WooCommerce admin reporting."
26670
  msgstr ""
26671
 
26672
- #: packages/woocommerce-admin/src/Loader.php:965
26673
  msgid "Excluded report order statuses"
26674
  msgstr ""
26675
 
26676
- #: packages/woocommerce-admin/src/Loader.php:966
26677
  msgid "Statuses that should not be included when calculating report totals."
26678
  msgstr ""
26679
 
26680
- #: packages/woocommerce-admin/src/Loader.php:974
26681
  msgid "Actionable order statuses"
26682
  msgstr ""
26683
 
26684
- #: packages/woocommerce-admin/src/Loader.php:975
26685
  msgid "Statuses that require extra action on behalf of the store admin."
26686
  msgstr ""
26687
 
26688
- #: packages/woocommerce-admin/src/Loader.php:983
26689
- #: packages/woocommerce-admin/src/Loader.php:984
26690
  msgid "Default Date Range"
26691
  msgstr ""
26692
 
@@ -26752,11 +26752,11 @@ msgstr ""
26752
  msgid "The admin note action label prop cannot be empty."
26753
  msgstr ""
26754
 
26755
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:54
26756
  msgid "How to choose a niche for your online store"
26757
  msgstr ""
26758
 
26759
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:55
26760
  msgid "Your niche defines the products and services you develop. It directs your marketing. It focuses your attention on specific problems facing your customers. It differentiates you from the competition. Learn more about the five guiding principles to define your niche."
26761
  msgstr ""
26762
 
@@ -26800,15 +26800,15 @@ msgstr ""
26800
  msgid "Collect and validate EU VAT numbers at checkout"
26801
  msgstr ""
26802
 
26803
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:66
26804
  msgid "Do you need help with adding your first product?"
26805
  msgstr ""
26806
 
26807
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:67
26808
  msgid "This video tutorial will help you go through the process of adding your first product in WooCommerce."
26809
  msgstr ""
26810
 
26811
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:74
26812
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Learn_More_About_Product_Settings.php:77
26813
  msgid "Watch tutorial"
26814
  msgstr ""
@@ -26894,15 +26894,15 @@ msgstr ""
26894
  msgid "Install Woo mobile app"
26895
  msgstr ""
26896
 
26897
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:51
26898
  msgid "Do you need some inspiration?"
26899
  msgstr ""
26900
 
26901
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:52
26902
  msgid "Check some of our favorite customer stories from entrepreneurs, agencies, and developers in our global community."
26903
  msgstr ""
26904
 
26905
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:59
26906
  msgid "See success stories"
26907
  msgstr ""
26908
 
@@ -26947,11 +26947,11 @@ msgstr ""
26947
  msgid "Skip Setup"
26948
  msgstr ""
26949
 
26950
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:78
26951
  msgid "Start your online clothing store"
26952
  msgstr ""
26953
 
26954
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:79
26955
  msgid "Starting a fashion website is exciting but it may seem overwhelming as well. In this article, we'll walk you through the setup process, teach you to create successful product listings, and show you how to market to your ideal audience."
26956
  msgstr ""
26957
 
@@ -27004,11 +27004,11 @@ msgstr ""
27004
  msgid "Get real-time order alerts anywhere"
27005
  msgstr ""
27006
 
27007
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:60
27008
  msgid "Are you considering starting a dropshipping business?"
27009
  msgstr ""
27010
 
27011
- #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:61
27012
  msgid "The ability to add inventory without having to deal with production, stocking, or fulfilling orders may seem like a dream. But is dropshipping worth it? Let’s explore some of the advantages and disadvantages to help you make the best decision for your business."
27013
  msgstr ""
27014
 
2
  # This file is distributed under the same license as the WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce 4.3.0-rc.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-07-07T10:56:20+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woocommerce\n"
30
  #: includes/customizer/class-wc-shop-customizer.php:38
31
  #: includes/wc-order-functions.php:958
32
  #: packages/woocommerce-admin/includes/connect-existing-pages.php:62
33
+ #: packages/woocommerce-admin/src/Loader.php:894
34
  #: packages/woocommerce-admin/src/PageController.php:184
35
  #: templates/auth/header.php:32
36
  #: packages/woocommerce-blocks/assets/js/atomic/blocks/product/shared-config.js:17
7659
  msgstr ""
7660
 
7661
  #: includes/admin/class-wc-admin-assets.php:470
7662
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_WooCommerce_Subscriptions.php:53
7663
  msgid "Learn More"
7664
  msgstr ""
7665
 
9411
  #: includes/admin/class-wc-admin-setup-wizard.php:2080
9412
  #: includes/admin/class-wc-admin-setup-wizard.php:2084
9413
  #: includes/admin/class-wc-admin-setup-wizard.php:2171
9414
+ #: packages/woocommerce-admin/src/Loader.php:962
9415
  msgid "WooCommerce Admin"
9416
  msgstr ""
9417
 
9535
  #: includes/admin/class-wc-admin-setup-wizard.php:873
9536
  #: includes/admin/class-wc-admin-setup-wizard.php:908
9537
  #: includes/admin/class-wc-admin-setup-wizard.php:2410
9538
+ #: packages/woocommerce-admin/src/API/Plugins.php:466
9539
  #: packages/woocommerce-admin/dist/data/index.js:1112
9540
  msgid "Jetpack"
9541
  msgstr ""
12903
 
12904
  #: includes/admin/meta-boxes/views/html-product-data-variations.php:19
12905
  #: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php:44
12906
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:65
12907
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Draw_Attention.php:77
12908
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_EU_VAT_Number.php:53
12909
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Migrate_From_Shopify.php:70
12910
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Mobile_App.php:47
12911
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Onboarding_Payments.php:71
12912
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:89
12913
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Order_Milestones.php:241
12914
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Real_Time_Order_Alerts.php:57
12915
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:75
12916
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_WooCommerce_Payments.php:105
12917
  #: packages/woocommerce-admin/dist/chunks/6.8a01ef3df76cbe04b5e5.js:1449
12918
  #: packages/woocommerce-admin/dist/chunks/6.8a01ef3df76cbe04b5e5.js:1463
24412
  #: packages/woocommerce-admin/src/API/Reports/Downloads/Stats/Controller.php:249
24413
  #: packages/woocommerce-admin/src/API/Reports/Orders/Controller.php:277
24414
  #: packages/woocommerce-admin/src/API/Reports/Orders/Stats/Controller.php:350
24415
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:677
24416
  #: packages/woocommerce-admin/src/API/Reports/Products/Controller.php:279
24417
  #: packages/woocommerce-admin/src/API/Reports/Products/Stats/Controller.php:332
24418
  #: packages/woocommerce-admin/src/API/Reports/Revenue/Stats/Controller.php:378
24434
  #: packages/woocommerce-admin/src/API/Reports/Downloads/Stats/Controller.php:255
24435
  #: packages/woocommerce-admin/src/API/Reports/Orders/Controller.php:283
24436
  #: packages/woocommerce-admin/src/API/Reports/Orders/Stats/Controller.php:356
24437
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:683
24438
  #: packages/woocommerce-admin/src/API/Reports/Products/Controller.php:285
24439
  #: packages/woocommerce-admin/src/API/Reports/Products/Stats/Controller.php:338
24440
  #: packages/woocommerce-admin/src/API/Reports/Revenue/Stats/Controller.php:384
24893
  msgid "Limit result set to orders matching part of an order number."
24894
  msgstr ""
24895
 
24896
+ #: packages/woocommerce-admin/src/API/Plugins.php:227
24897
+ #: packages/woocommerce-admin/src/API/Plugins.php:392
24898
  msgid "Plugins must be a non-empty array."
24899
  msgstr ""
24900
 
24901
  #. translators: %s: plugin slug (example: woocommerce-services)
24902
+ #: packages/woocommerce-admin/src/API/Plugins.php:250
24903
  msgid "The requested plugin `%s` is not in the list of allowed plugins."
24904
  msgstr ""
24905
 
24906
  #. translators: %s: plugin slug (example: woocommerce-services)
24907
+ #: packages/woocommerce-admin/src/API/Plugins.php:273
24908
+ #: packages/woocommerce-admin/src/API/Plugins.php:285
24909
  msgid "The requested plugin `%s` could not be installed. Plugin API call failed."
24910
  msgstr ""
24911
 
24912
  #. translators: %s: plugin slug (example: woocommerce-services)
24913
+ #: packages/woocommerce-admin/src/API/Plugins.php:300
24914
  msgid "The requested plugin `%s` could not be installed."
24915
  msgstr ""
24916
 
24917
  #. translators: %s: plugin slug (example: woocommerce-services)
24918
+ #: packages/woocommerce-admin/src/API/Plugins.php:314
24919
  msgid "The requested plugin `%s` could not be installed. Upgrader install failed."
24920
  msgstr ""
24921
 
24922
+ #: packages/woocommerce-admin/src/API/Plugins.php:332
24923
  msgid "Plugins were successfully installed."
24924
  msgstr ""
24925
 
24926
+ #: packages/woocommerce-admin/src/API/Plugins.php:333
24927
  msgid "There was a problem installing some of the requested plugins."
24928
  msgstr ""
24929
 
24930
  #. translators: %s: plugin slug (example: woocommerce-services)
24931
+ #: packages/woocommerce-admin/src/API/Plugins.php:405
24932
  msgid "The requested plugin `%s`. is not in the list of allowed plugins."
24933
  msgstr ""
24934
 
24935
  #. translators: %s: plugin slug (example: woocommerce-services)
24936
+ #: packages/woocommerce-admin/src/API/Plugins.php:414
24937
  msgid "The requested plugin `%s`. is not yet installed."
24938
  msgstr ""
24939
 
24940
  #. translators: %s: plugin slug (example: woocommerce-services)
24941
+ #: packages/woocommerce-admin/src/API/Plugins.php:426
24942
  msgid "The requested plugin `%s` could not be activated."
24943
  msgstr ""
24944
 
24945
+ #: packages/woocommerce-admin/src/API/Plugins.php:442
24946
  msgid "Plugins were successfully activated."
24947
  msgstr ""
24948
 
24949
+ #: packages/woocommerce-admin/src/API/Plugins.php:443
24950
  msgid "There was a problem activating some of the requested plugins."
24951
  msgstr ""
24952
 
24953
+ #: packages/woocommerce-admin/src/API/Plugins.php:455
24954
  msgid "Jetpack is not installed or active."
24955
  msgstr ""
24956
 
24957
+ #: packages/woocommerce-admin/src/API/Plugins.php:479
24958
+ #: packages/woocommerce-admin/src/API/Plugins.php:542
24959
  msgid "There was an error loading the WooCommerce.com Helper API."
24960
  msgstr ""
24961
 
24962
+ #: packages/woocommerce-admin/src/API/Plugins.php:496
24963
+ #: packages/woocommerce-admin/src/API/Plugins.php:501
24964
+ #: packages/woocommerce-admin/src/API/Plugins.php:558
24965
+ #: packages/woocommerce-admin/src/API/Plugins.php:563
24966
+ #: packages/woocommerce-admin/src/API/Plugins.php:579
24967
  #: packages/woocommerce-admin/dist/chunks/44.c1db5d77c3c79d0dd95b.js:1608
24968
  msgid "There was an error connecting to WooCommerce.com. Please try again."
24969
  msgstr ""
24970
 
24971
+ #: packages/woocommerce-admin/src/API/Plugins.php:599
24972
  msgid "There was an error connecting to PayPal."
24973
  msgstr ""
24974
 
24975
+ #: packages/woocommerce-admin/src/API/Plugins.php:630
24976
  msgid "There was an error connecting to Square."
24977
  msgstr ""
24978
 
24979
+ #: packages/woocommerce-admin/src/API/Plugins.php:682
24980
  msgid "There was an error communicating with the WooCommerce Payments plugin."
24981
  msgstr ""
24982
 
24983
+ #: packages/woocommerce-admin/src/API/Plugins.php:710
24984
  msgid "Plugin slug."
24985
  msgstr ""
24986
 
24987
+ #: packages/woocommerce-admin/src/API/Plugins.php:716
24988
  msgid "Plugin name."
24989
  msgstr ""
24990
 
24991
+ #: packages/woocommerce-admin/src/API/Plugins.php:722
24992
  msgid "Plugin status."
24993
  msgstr ""
24994
 
24995
+ #: packages/woocommerce-admin/src/API/Plugins.php:742
24996
  msgid "Action that should be completed to connect Jetpack."
24997
  msgstr ""
24998
 
25949
  msgid "Number of distinct products sold."
25950
  msgstr ""
25951
 
25952
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:146
25953
  msgid "Sorry, fetching performance indicators failed."
25954
  msgstr ""
25955
 
25956
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:228
25957
  msgid "Visitors"
25958
  msgstr ""
25959
 
25960
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:234
25961
  msgid "Views"
25962
  msgstr ""
25963
 
25964
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:409
25965
  msgid "A list of stats to query must be provided."
25966
  msgstr ""
25967
 
25968
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:598
25969
  #: packages/woocommerce-admin/src/API/Reports/Stock/Controller.php:373
25970
  #: packages/woocommerce-blocks/src/StoreApi/Routes/ProductAttributesById.php:35
25971
  #: packages/woocommerce-blocks/src/StoreApi/Routes/ProductCategoriesById.php:35
26032
  msgid "Unique identifier for the resource."
26033
  msgstr ""
26034
 
26035
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:605
26036
  msgid "The specific chart this stat referrers to."
26037
  msgstr ""
26038
 
26039
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:611
26040
  msgid "Human readable label for the stat."
26041
  msgstr ""
26042
 
26043
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:617
26044
  msgid "Format of the stat."
26045
  msgstr ""
26046
 
26047
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:624
26048
  msgid "Value of the stat. Returns null if the stat does not exist or cannot be loaded."
26049
  msgstr ""
26050
 
26051
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:655
26052
  msgid "There was an issue loading the report endpoints"
26053
  msgstr ""
26054
 
26055
  #. translators: Allowed values is a list of stat endpoints.
26056
+ #: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php:665
26057
  msgid "Limit response to specific report stats. Allowed values: %s."
26058
  msgstr ""
26059
 
26661
  msgstr ""
26662
 
26663
  #. translators: %1$s: updated title, %2$s: blog info name
26664
+ #: packages/woocommerce-admin/src/Loader.php:796
26665
  msgid "%1$s &lsaquo; %2$s"
26666
  msgstr ""
26667
 
26668
+ #: packages/woocommerce-admin/src/Loader.php:963
26669
  msgid "Settings for WooCommerce admin reporting."
26670
  msgstr ""
26671
 
26672
+ #: packages/woocommerce-admin/src/Loader.php:982
26673
  msgid "Excluded report order statuses"
26674
  msgstr ""
26675
 
26676
+ #: packages/woocommerce-admin/src/Loader.php:983
26677
  msgid "Statuses that should not be included when calculating report totals."
26678
  msgstr ""
26679
 
26680
+ #: packages/woocommerce-admin/src/Loader.php:991
26681
  msgid "Actionable order statuses"
26682
  msgstr ""
26683
 
26684
+ #: packages/woocommerce-admin/src/Loader.php:992
26685
  msgid "Statuses that require extra action on behalf of the store admin."
26686
  msgstr ""
26687
 
26688
+ #: packages/woocommerce-admin/src/Loader.php:1000
26689
+ #: packages/woocommerce-admin/src/Loader.php:1001
26690
  msgid "Default Date Range"
26691
  msgstr ""
26692
 
26752
  msgid "The admin note action label prop cannot be empty."
26753
  msgstr ""
26754
 
26755
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:57
26756
  msgid "How to choose a niche for your online store"
26757
  msgstr ""
26758
 
26759
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Choose_Niche.php:58
26760
  msgid "Your niche defines the products and services you develop. It directs your marketing. It focuses your attention on specific problems facing your customers. It differentiates you from the competition. Learn more about the five guiding principles to define your niche."
26761
  msgstr ""
26762
 
26800
  msgid "Collect and validate EU VAT numbers at checkout"
26801
  msgstr ""
26802
 
26803
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:69
26804
  msgid "Do you need help with adding your first product?"
26805
  msgstr ""
26806
 
26807
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:70
26808
  msgid "This video tutorial will help you go through the process of adding your first product in WooCommerce."
26809
  msgstr ""
26810
 
26811
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_First_Product.php:77
26812
  #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Learn_More_About_Product_Settings.php:77
26813
  msgid "Watch tutorial"
26814
  msgstr ""
26894
  msgid "Install Woo mobile app"
26895
  msgstr ""
26896
 
26897
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:54
26898
  msgid "Do you need some inspiration?"
26899
  msgstr ""
26900
 
26901
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:55
26902
  msgid "Check some of our favorite customer stories from entrepreneurs, agencies, and developers in our global community."
26903
  msgstr ""
26904
 
26905
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Need_Some_Inspiration.php:62
26906
  msgid "See success stories"
26907
  msgstr ""
26908
 
26947
  msgid "Skip Setup"
26948
  msgstr ""
26949
 
26950
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:81
26951
  msgid "Start your online clothing store"
26952
  msgstr ""
26953
 
26954
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Online_Clothing_Store.php:82
26955
  msgid "Starting a fashion website is exciting but it may seem overwhelming as well. In this article, we'll walk you through the setup process, teach you to create successful product listings, and show you how to market to your ideal audience."
26956
  msgstr ""
26957
 
27004
  msgid "Get real-time order alerts anywhere"
27005
  msgstr ""
27006
 
27007
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:67
27008
  msgid "Are you considering starting a dropshipping business?"
27009
  msgstr ""
27010
 
27011
+ #: packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Start_Dropshipping_Business.php:68
27012
  msgid "The ability to add inventory without having to deal with production, stocking, or fulfilling orders may seem like a dream. But is dropshipping worth it? Let’s explore some of the advantages and disadvantages to help you make the best decision for your business."
27013
  msgstr ""
27014
 
packages/woocommerce-admin/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 r,n,c=t[0],i=t[1],a=0,s=[];a<c.length;a++)n=c[a],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&s.push(o[n][0]),o[n]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(u&&u(t);s.length;)s.shift()()}var r={},n={19:0},o={19:0};function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{0:1,4:1,6:1,7:1,8:1,13:1,18:1,24:1,25:1,28:1,29:1,31:1,33:1,41:1,42:1,43:1,44:1}[e]&&t.push(n[e]=new Promise((function(t,r){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",i=c.p+o,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var u=(f=a[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===o||u===i))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===o||u===i)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var o=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=o,delete n[e],d.parentNode.removeChild(d),r(c)},d.href=i,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){n[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=i);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=function(e){return c.p+"chunks/"+e+"."+{0:"8e26c0dc69c2fbc3b477",1:"e1c8e02fb4cc487e41ea",2:"9367ee984c36b762467c",3:"871edd9752bd1e966af3",4:"6536213eda1b3b7be25c",5:"30560009f3613b60a98f",6:"565075ec01231f27c77d",7:"f128ffef3f1542d90b88",8:"7d9e16563a68292b6b52",9:"656fdc0ca7358fd2c4df",10:"741b0732ffd836fa3293",11:"a6c81353d61d43ca90c5",12:"c99fdc48e6426047a8a3",13:"f2d5d7a32099f6780413",14:"acb3b03c93a24744f0d1",15:"69724bccd94e280d4498",16:"66c64721855f7a9339c5",17:"35aa3f3f84dbcf9b57a2",18:"0243544077f891d2fb5e",23:"950cf0c14b859edf05cf",24:"671580068836b8a3cd9f",25:"2330991cd7ed80b2e048",28:"b3799df6276b98c5f240",29:"a4bae7e120611b086b52",31:"f754cd83be484c1223db",33:"d957c7a8df6afc345752",41:"71e3bc0e2e38ee5dcce1",42:"11cc196c5f0cb3a17439",43:"a2826a74c4640df7ec04",44:"565d9df28ca73ade3400",45:"4cdb70db78bd66b55380",46:"d63b531e1cf44069dac6",47:"d85dab31d57568e01d7a",48:"eb11cd8899cc6d720e4b",49:"1b4feeefdb2eaeb76b5c"}[e]+".min.js"}(e);var u=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}o[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=a;return c(c.s=434)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,r){e.exports=r(113)()},10:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}r.d(t,"a",(function(){return o}))},101:function(e,t,r){"use strict";var n=r(80),o=r.n(n),c=r(38),i=r.n(c),a=r(37),s=r.n(a),u=r(62),l=r.n(u),f=r(39),d=r.n(f),p=r(42),h=r.n(p),v=r(26),m=r.n(v),b=r(0),y=r(2),g=r(65),O=r.n(g),w=r(54),z=r(18);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h()(this,r)}}t.a=function(e){return Object(w.a)((function(t){var r={},n=function(n){d()(a,n);var c=j(a);function a(e){var t;return i()(this,a),(t=c.call(this,e)).onStoreChange=t.onStoreChange.bind(l()(t)),t.subscribe(e.registry),t.onUnmounts={},t.mergeProps=t.getNextMergeProps(e),t}return s()(a,[{key:"getNextMergeProps",value:function(t){var n=this,o={},c=[],i={component:this},a=e((function(e){return o[e]||function(e,t,r){var i=t.select(e);if(Object(y.isFunction)(i)){var a=i(r),s=a.selectors,u=a.onComplete,l=a.onUnmount;u&&c.push(u),l&&(n.onUnmounts[e]=l),o[e]=s}else o[e]=i}(e,t.registry,i),o[e]}),t.ownProps)||r;return c.forEach((function(e){return e()})),a}},{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){var e=this;this.canRunSelection=!1,this.unsubscribe(),Object.keys(this.onUnmounts).forEach((function(t){return e.onUnmounts[t]()}))}},{key:"shouldComponentUpdate",value:function(e,t){var r=e.registry!==this.props.registry;r&&(this.unsubscribe(),this.subscribe(e.registry));var n=r||!O()(this.props.ownProps,e.ownProps);if(this.state===t&&!n)return!1;if(n){var o=this.getNextMergeProps(e);O()(this.mergeProps,o)||(this.mergeProps=o)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var e=this.getNextMergeProps(this.props);O()(this.mergeProps,e)||(this.mergeProps=e,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(e){this.unsubscribe=e.subscribe(this.onStoreChange)}},{key:"render",value:function(){return Object(b.createElement)(t,o()({},this.props.ownProps,this.mergeProps))}}]),a}(b.Component);return function(e){return Object(b.createElement)(z.RegistryConsumer,null,(function(t){return Object(b.createElement)(n,{ownProps:e,registry:t})}))}}),"withSelect")}},108:function(e,t,r){"use strict";var n=r(24);r.d(t,"k",(function(){return n.isoDateFormat})),r.d(t,"a",(function(){return n.appendTimestamp})),r.d(t,"h",(function(){return n.getDateParamsFromQuery})),r.d(t,"f",(function(){return n.getCurrentDates})),r.d(t,"j",(function(){return n.getPreviousDate})),r.d(t,"d",(function(){return n.getAllowedIntervalsForQuery})),r.d(t,"i",(function(){return n.getIntervalForQuery})),r.d(t,"e",(function(){return n.getChartTypeForQuery})),r.d(t,"c",(function(){return n.defaultTableDateFormat})),r.d(t,"g",(function(){return n.getDateFormatsForInterval})),r.d(t,"b",(function(){return n.dateValidationMessages}))},109:function(e,t,r){"use strict";function n(e){return function(){return e}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(40),o=r(5);function c(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},111:function(e,t){!function(){e.exports=this.wc.currency}()},113:function(e,t,r){"use strict";var n=r(114);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,c,i){if(i!==n){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={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:c,resetWarningCache:o};return r.PropTypes=r,r}},114:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:function(e,t,r){"use strict";var n=r(73),o=r(94),c=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,a(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,c,i,s,l,f,p,h,v,m,b){var y,g=t;if("function"==typeof l?g=l(r,g):g instanceof Date?g=h(g):"comma"===o&&a(g)&&(g=g.join(",")),null===g){if(c)return s&&!m?s(r,d.encoder,b,"key"):r;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||n.isBuffer(g))return s?[v(m?r:s(r,d.encoder,b,"key"))+"="+v(s(g,d.encoder,b,"value"))]:[v(r)+"="+v(String(g))];var O,w=[];if(void 0===g)return w;if(a(l))O=l;else{var z=Object.keys(g);O=f?z.sort(f):z}for(var j=0;j<O.length;++j){var k=O[j];i&&null===g[k]||(a(g)?u(w,e(g[k],"function"==typeof o?o(r,k):r,o,c,i,s,l,f,p,h,v,m,b)):u(w,e(g[k],r+(p?"."+k:"["+k+"]"),o,c,i,s,l,f,p,h,v,m,b)))}return w};e.exports=function(e,t){var r,n=e,s=function(e){if(!e)return d;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||d.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 r=o.default;if(void 0!==e.format){if(!c.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],i=d.filter;return("function"==typeof e.filter||a(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:i,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof s.filter?n=(0,s.filter)("",n):a(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=i[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var v=0;v<r.length;++v){var m=r[v];s.skipNulls&&null===n[m]||u(f,p(n[m],m,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},116:function(e,t,r){"use strict";var n=r(73),o=Object.prototype.hasOwnProperty,c=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=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},u=function(e,t){if(c(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},l=function(e,t,r,n){if(e){var c=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(c),u=a?c.slice(0,a.index):c,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(a=i.exec(c))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+c.slice(a.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),c=e.length-1;c>=0;--c){var i,a=e[c];if("[]"===a&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(i=[])[l]=o:i[u]=o:i={0:o}}o=i}return o}(l,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;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?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof e?function(e,t){var r,l={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,d),h=-1,v=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?v="utf-8":"utf8=%26%2310003%3B"===p[r]&&(v="iso-8859-1"),h=r,r=p.length);for(r=0;r<p.length;++r)if(r!==h){var m,b,y=p[r],g=y.indexOf("]="),O=-1===g?y.indexOf("="):g+1;-1===O?(m=t.decoder(y,i.decoder,v,"key"),b=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,O),i.decoder,v,"key"),b=u(s(y.slice(O+1),t),(function(e){return t.decoder(e,i.decoder,v,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===v&&(b=a(b)),y.indexOf("[]=")>-1&&(b=c(b)?[b]:b),o.call(l,m)?l[m]=n.combine(l[m],b):l[m]=b}return l}(e,r):e,d=r.plainObjects?Object.create(null):{},p=Object.keys(f),h=0;h<p.length;++h){var v=p[h],m=l(v,f[v],r,"string"==typeof e);d=n.merge(d,m,r)}return n.compact(d)}},117:function(e,t,r){"use strict";var n=Object.keys;e.exports=function(e,t){var r,o,c,i,a;if(e===t)return!0;if(r=n(e),o=n(t),r.length!==o.length)return!1;for(c=0;c<r.length;){if(void 0===(a=e[i=r[c]])&&!t.hasOwnProperty(i)||a!==t[i])return!1;c++}return!0}},118:function(e,t,r){"use strict";e.exports=function(e,t){var r;if(e===t)return!0;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}},119:function(e,t,r){"use strict";e.exports=function(e){function t(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){var r;function i(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(i.enabled){var c=i,a=Number(new Date),s=a-(r||a);c.diff=s,c.prev=r,c.curr=a,r=a,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;u++;var o=n.formatters[r];if("function"==typeof o){var i=t[u];e=o.call(c,i),t.splice(u,1),u--}return e})),n.formatArgs.call(c,t);var l=c.log||n.log;l.apply(c,t)}}return i.namespace=e,i.enabled=n.enabled(e),i.useColors=n.useColors(),i.color=t(e),i.destroy=o,i.extend=c,"function"==typeof n.init&&n.init(i),n.instances.push(i),i}function o(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function c(e,t){var r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){var e=[].concat(n.names.map(i),n.skips.map(i).map((function(e){return"-"+e}))).join(",");return n.enable(""),e},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(t=0;t<o;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var c=n.instances[t];c.enabled=n.enabled(c.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=r(120),Object.keys(e).forEach((function(t){n[t]=e[t]})),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},120:function(e,t){var r=1e3,n=6e4,o=60*n,c=24*o;function i(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*c;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=c)return i(e,t,c,"day");if(t>=o)return i(e,t,o,"hour");if(t>=n)return i(e,t,n,"minute");if(t>=r)return i(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=c)return Math.round(e/c)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},126:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(70);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var r=document,n=r.body;return n&&n.appendChild(t),t}var c="";function i(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),c===e&&(e+=" "),c=e,e}(e);var r=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}Object(n.a)((function(){var e=document.getElementById("a11y-speak-assertive"),t=document.getElementById("a11y-speak-polite");null===e&&o("assertive"),null===t&&o("polite")}))},129:function(e,t,r){var n=r(273);e.exports=function(e,t){if(null==e)return{};var r,o,c=n(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},13:function(e,t){!function(){e.exports=this.React}()},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(46);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},147:function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},148:function(e,t,r){"use strict";var n=r(13),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,c=r(109),i=r(149),a=r(150),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function l(e,t,r,n){var c,a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||"object"===a&&e.$$typeof===o)return r(n,e,""===t?"."+u(e,0):t),1;var f=0,d=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)f+=l(c=e[p],d+u(c,p),r,n);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var v,m=h.call(e),b=0;!(v=m.next()).done;)f+=l(c=v.value,d+u(c,b++),r,n)}else if("object"===a){0;var y=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function d(e){return(""+e).replace(f,"$&/")}var p,h,v=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){i(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 y(e,t,r,n){this.result=e,this.keyPrefix=t,this.func=r,this.context=n,this.count=0}function g(e,t,r){var o,i,a=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,a,r,c.thatReturnsArgument):null!=f&&(n.isValidElement(f)&&(o=f,i=s+(!f.key||t&&t.key===f.key?"":d(f.key)+"/")+r,f=n.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),a.push(f))}function O(e,t,r,n,o){var c="";null!=r&&(c=d(r)+"/");var i=y.getPooled(t,c,n,o);!function(e,t,r){null==e||l(e,"",t,r)}(e,g,i),y.release(i)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,r,n){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)},(h=y).instancePool=[],h.getPooled=p||v,h.poolSize||(h.poolSize=10),h.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(n.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var r in e)O(e[r],t,r,c.thatReturnsArgument);return t}},149:function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,c,i,a){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 u=[r,n,o,c,i,a],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(30);var o=r(49);function c(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},150:function(e,t,r){"use strict";var n=r(109);e.exports=n},151:function(e,t,r){"use strict";function n(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(n)}},152:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},16:function(e,t){!function(){e.exports=this.moment}()},169:function(e,t,r){"use strict";var n=r(2);t.a=n.flowRight},17:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},170:function(e,t,r){"use strict";r.d(t,"a",(function(){return x})),r.d(t,"b",(function(){return M})),r.d(t,"c",(function(){return k}));var n=r(76),o=r.n(n),c=r(68),i=r(12),a=r(87),s=r.n(a),u=r(2);function l(e,t,r,n,o){void 0===r&&(r=500),void 0===n&&(n=3e4),void 0===o&&(o=new Date);var c={updates:[],nextUpdate:n};return function(e,t,r,n){Object.keys(t).forEach((function(o){var c=t[o],i=r[o]||{};!function(e,t,r,n,o){var c=n.lastRequested,i=n.lastReceived,a=c&&(!i||c>i),s=f(r.timeout,n,o),u=d(r.freshness,n,o),l=a&&0>=u?s:u;e.nextUpdate=Math.min(e.nextUpdate,l),l<0&&e.updates.push(t)}(e,o,c,i,n)}))}(c,e,t,o),c.nextUpdate=Math.max(c.nextUpdate,r),c}function f(e,t,r){var n=t.lastRequested||Number.MIN_SAFE_INTEGER,o=t.lastReceived||Number.MIN_SAFE_INTEGER;return e&&n&&n>o?e-(r-n):Number.MAX_SAFE_INTEGER}function d(e,t,r){var n=t.lastReceived;return e&&n?e-(r-n):e?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER}var p=r(46),h="overdue",v="fetching",m="stale",b="fresh",y="notRequired";function g(e){var t=e.state.resources||{},r=e.requirementsByResource;return Object(u.union)(Object.keys(t),Object.keys(r)).reduce((function(n,o){var c=t[o]||{},a=c.data,s=function(e,t){if(!t)return y;var r=t.freshness,n=t.timeout,o=new Date,c=d(r,e,o);if(e&&e.lastRequested>e.lastReceived){return f(n,e,o)<0?h:v}if(c<0)return m;return b}(c,r[o]),l=function(e,t,r){var n=new Date;switch(e){case h:return"Timed out for "+O(-f(r.timeout,t,n));case v:return O(f(r.timeout,t,n))+" until timeout";case m:return"Stale for "+O(-d(r.freshness,t,n));case b:return"Fresh for "+O(d(r.freshness,t,n));case y:default:return"Resource is not fetched directly."}}(s,c,r[o]);if(n[o]={status:s,summary:l,data:a},r[o]){var g=function(e){void 0===e&&(e={});var t=e,r=t.freshness,n=t.timeout,o=Object(p.a)(t,["freshness","timeout"]);return Object(i.a)({freshness:O(r),timeout:O(n)},o)}(r[o]),w=function(e,t){var r=[];return e.forEach((function(e,n){Object(u.find)(e,{resourceName:t})&&r.push(n)})),r.length?r:null}(e.requirementsByComponent,o);n[o].combinedRequirement=g,n[o].componentsRequiring=w}return n}),{})}function O(e){if(!e)return"";var t=Math.floor(e/36e5);e-=36e5*t;var r=Math.floor(e/6e4),n=(e-=6e4*r)/1e3,o="";return o=t?t+" hours ":o,o=r?""+o+r+" mins ":o,o=n?""+o+n+" secs ":o}function w(e){var t=Object.keys(e),r=[],n=0,o=0,c=0,i=0,a=0;t.forEach((function(t){var s=e[t];switch(r=Object(u.union)(r,s.componentsRequiring),s.status){case h:c++;break;case v:i++;break;case m:o++;break;case b:n++;break;case y:a++}}));var s=t.length+" resources, "+r.length+" components ( ";return n&&(s+=n+" fresh "),o&&(s+=o+" stale "),a&&(s+=a+" not required "),c&&(s+=c+" timed out "),i&&(s+=i+" fetching "),s+=")"}var z={};function j(e){!0===window.__FRESH_DATA_DEV_INFO__&&(z[e.getName()]=function(e){var t=function(e){var t=[];return e.requirementsByComponent.forEach((function(e,r){t.push({component:r,requirements:e})})),t}(e),r=g(e);return{summary:w(r),resources:r,components:t}}(e),window.freshData||(window.freshData=z))}var k=1e3,M=60*k,H={freshness:Number.MAX_SAFE_INTEGER,timeout:20*k};function E(e){var t={};return e.forEach((function(e){e.forEach((function(e){var r=e.resourceName,n=Object(p.a)(e,["resourceName"]);!function(e,t,r){var n=e[r]||Object(i.a)({},H);(function(e,t){var r=e.freshness||H.freshness,n=e.timeout||H.timeout,o=t.freshness||Number.MAX_SAFE_INTEGER,c=t.timeout||Number.MAX_SAFE_INTEGER;e.freshness=Math.min(r,o),e.timeout=Math.min(n,c)})(n,t),e[r]=n}(t,n,r)}))})),t}function V(e,t){return window.setTimeout(e,t)}function C(e){return window.clearTimeout(e)}var x=function(e,t,r){var n=this;void 0===t&&(t=V),void 0===r&&(r=C),this.getName=function(){return n.name||"UID_"+n.uid},this.mapOperations=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=function(t,o){var c=e[r];return n.applyOperation(c,t,o)},t}),{})},this.setDataHandlers=function(e){var t=e.dataRequested,r=e.dataReceived;n.dataHandlers={dataRequested:t,dataReceived:r}},this.setState=function(e,t){void 0===t&&(t=new Date),n.state!==e&&(n.state=e,n.updateTimer(t),n.subscriptionCallbacks.forEach((function(e){return e(n)})),j(n))},this.subscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.debug("Attempting to add a subscription callback twice:",e),!1):(n.subscriptionCallbacks.add(e),e)},this.unsubscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.subscriptionCallbacks.delete(e),e):(n.debug("Attempting to remove a callback that is not subscribed:",e),!1)},this.getResource=function(e){return(n.state.resources||{})[e]||{}},this.requireResource=function(e){return function(t,r){return e.push(Object(i.a)({},t,{resourceName:r})),n.getResource(r)}},this.getMutations=function(){return n.mutations},this.getSelectors=function(e){return S(n.selectors,n.getResource,n.requireResource(e))},this.clearComponentRequirements=function(e,t){void 0===t&&(t=new Date),n.requirementsByComponent.delete(e),n.updateRequirementsByResource(t)},this.setComponentRequirements=function(e,t,r){void 0===r&&(r=new Date),n.requirementsByComponent.set(e,t),n.updateRequirementsByResource(r)},this.setComponentData=function(e,t,r){if(void 0===r&&(r=new Date),t){var o=[];t(n.getSelectors(o)),n.setComponentRequirements(e,o,r)}else n.clearComponentRequirements(e,r)},this.updateRequirementsByResource=function(e){void 0===e&&(e=new Date);var t=E(n.requirementsByComponent);Object(u.isEqual)(n.requirementsByResource,t)||(n.requirementsByResource=t,n.updateTimer(e))},this.updateRequirementsData=function(){var e=Object(c.a)(o.a.mark((function e(t){var r,c,i,a,s,f,d,p,h,v,m,b;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.requirementsByComponent,c=n.requirementsByResource,i=n.state,a=n.minUpdate,s=n.maxUpdate,f=i.resources||{},d=r.size,p=Object.keys(c).length,n.debug("Updating requirements for "+d+" components and "+p+" resources."),j(n),Object(u.isEmpty)(c)){e.next=20;break}if(h=l(c,f,a,s,t),v=h.nextUpdate,!((m=h.updates)&&m.length>0)){e.next=15;break}if(b=n.readOperationName,n.operations[b]){e.next=13;break}throw new Error('Operation "'+b+'" not found.');case 13:return e.next=15,n.operations[b](m);case 15:n.debug("Scheduling next update for "+v/1e3+" seconds."),j(n),n.updateTimer(t,v),e.next=21;break;case 20:n.timeoutId&&(n.debug("Unscheduling future updates"),j(n),n.updateTimer(t,null));case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.updateTimer=function(e,t){void 0===t&&(t=void 0);var r=n.requirementsByResource,o=n.state,c=n.minUpdate,i=n.maxUpdate,a=o.resources||{};void 0===t&&(t=l(r,a,c,i,e).nextUpdate),n.timeoutId&&(n.clearTimer(n.timeoutId),n.timeoutId=null),t&&(n.timeoutId=n.setTimer(n.updateRequirementsData,t))},this.applyOperation=function(){var e=Object(c.a)(o.a.mark((function e(t,r,i){var a,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n.dataRequested(r),a=t(r,i)||[],s=Object(u.isArray)(a)?a:[a],l=s.map(function(){var e=Object(c.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return r=e.sent,n.dataReceived(r),e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=7,Promise.all(l);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(0),n.debug("Error caught while applying operation: ",t),e.t0;case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t,r,n){return e.apply(this,arguments)}}(),this.dataRequested=function(e){if(n.dataHandlers)return n.dataHandlers.dataRequested(e),e;n.debug("Data requested before dataHandlers set. Disregarding.")},this.dataReceived=function(e){if(n.dataHandlers)return n.dataHandlers.dataReceived(e),e;n.debug("Data received before dataHandlers set. Disregarding.")};var a=e.operations,f=e.mutations,d=e.selectors,p=e.readOperationName||"read";this.uid=Object(u.uniqueId)(),this.name=e.name,this.debug=s()("fresh-data:api-client["+this.uid+"]"),this.debug("New ApiClient for apiSpec: ",e),this.operations=a&&this.mapOperations(a),this.mutations=f&&S(f,this.operations),this.selectors=d,this.readOperationName=p,this.dataHandlers=null,this.subscriptionCallbacks=new Set,this.requirementsByComponent=new Map,this.requirementsByResource={},this.minUpdate=500,this.maxUpdate=3e4,this.setTimer=t,this.clearTimer=r,this.timeoutId=null,this.state={},j(this)};function S(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return t[n]=e[n].apply(e,r),t}),{})}},172:function(e,t,r){var n=r(152);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},176:function(e,t,r){"use strict";e.exports=r(210)},18:function(e,t){!function(){e.exports=this.wp.data}()},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(49);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw c}}return r}}(e,t)||Object(n.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},194:function(e,t,r){"use strict";var n=r(176),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return n.isMemo(e)?i:a[e.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=l(r);f&&(i=i.concat(f(r)));for(var a=s(t),v=s(r),m=0;m<i.length;++m){var b=i[m];if(!(c[b]||n&&n[b]||v&&v[b]||a&&a[b])){var y=d(r,b);try{u(t,b,y)}catch(e){}}}}return t}},196:function(e,t,r){"use strict";var n=r(3),o=r(48),c=r(0),i=r(22),a=r(197),s=Object(i.g)("manageStock","no"),u=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(15)]).then(r.bind(null,738))})),l=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(4),r.e(14)]).then(r.bind(null,739))})),f=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(13)]).then(r.bind(null,742))})),d=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(4),r.e(9)]).then(r.bind(null,737))})),p=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(10)]).then(r.bind(null,741))})),h=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(17)]).then(r.bind(null,740))})),v=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(12)]).then(r.bind(null,743))})),m=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(16)]).then(r.bind(null,735))})),b=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(11)]).then(r.bind(null,736))}));t.a=function(){var e=[{report:"revenue",title:Object(n.__)("Revenue",'woocommerce'),component:u},{report:"products",title:Object(n.__)("Products",'woocommerce'),component:l},{report:"orders",title:Object(n.__)("Orders",'woocommerce'),component:f},{report:"categories",title:Object(n.__)("Categories",'woocommerce'),component:d},{report:"coupons",title:Object(n.__)("Coupons",'woocommerce'),component:p},{report:"taxes",title:Object(n.__)("Taxes",'woocommerce'),component:h},{report:"downloads",title:Object(n.__)("Downloads",'woocommerce'),component:v},"yes"===s?{report:"stock",title:Object(n.__)("Stock",'woocommerce'),component:m}:null,{report:"customers",title:Object(n.__)("Customers",'woocommerce'),component:b},{report:"downloads",title:Object(n.__)("Downloads",'woocommerce'),component:v}].filter(Boolean);return Object(o.applyFilters)(a.REPORTS_FILTER,e)}},197:function(e,t,r){"use strict";r.r(t),r.d(t,"REPORTS_FILTER",(function(){return x}));var n=r(17),o=r.n(n),c=r(38),i=r.n(c),a=r(37),s=r.n(a),u=r(39),l=r.n(u),f=r(42),d=r.n(f),p=r(26),h=r.n(p),v=r(0),m=r(169),b=r(1),y=r.n(b),g=r(2),O=r(53),w=r(23),z=(r(439),r(261)),j=r(274),k=r(101),M=r(200),H=r(196);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=h()(e);if(t){var o=h()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d()(this,r)}}var x="woocommerce_admin_reports_list",S=function(e){var t=e.params,r=e.path;return t.report||r.replace(/^\/+/,"")},P=function(e){l()(r,e);var t=C(r);function r(){var e;return i()(this,r),(e=t.apply(this,arguments)).state={hasError:!1},e}return s()(r,[{key:"componentDidCatch",value:function(e){this.setState({hasError:!0}),console.warn(e)}},{key:"render",value:function(){if(this.state.hasError)return null;if(this.props.isError)return Object(v.createElement)(z.a,{isError:!0});var e=S(this.props),t=Object(g.find)(Object(H.a)(),{report:e});if(!t)return null;var r=t.component;return Object(v.createElement)(M.a.Provider,{value:Object(M.b)(Object(w.getQuery)())},Object(v.createElement)(r,this.props))}}]),r}(v.Component);P.propTypes={params:y.a.object.isRequired},t.default=Object(m.a)(Object(O.useFilters)(x),Object(k.a)((function(e,t){var r=Object(w.getQuery)();if(!r.search)return{};var n=S(t),c=Object(w.getSearchWords)(r),i="categories"===n&&"single_category"===r.filter?"products":n,a=Object(j.b)(e,i,c),s=a.isError,u=a.isRequesting,l=a.items,f=Object.keys(l);return f.length?{isError:s,isRequesting:u,query:V(V({},t.query),{},o()({},i,f.join(",")))}:{isError:s,isRequesting:u}})))(P)},199:function(e,t,r){"use strict";r.d(t,"c",(function(){return lt})),r.d(t,"b",(function(){return ht})),r.d(t,"a",(function(){return vt}));var n=r(80),o=r.n(n),c=r(17),i=r.n(c),a=r(129),s=r.n(a),u=r(38),l=r.n(u),f=r(37),d=r.n(f),p=r(39),h=r.n(p),v=r(42),m=r.n(v),b=r(26),y=r.n(b),g=r(0),O=r(169),w=r(18),z=r(60),j=r(13),k=r.n(j),M=r(1),H=r.n(M),E=r(98),V=r(126),C=r.n(V),x=r(411),S=r.n(x);function P(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(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var _=k.a.createContext||function(e,t){var r,n,o="__create-react-context-"+S()()+"__",c=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=P(t.props.value),t}C()(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((c=n)===(i=o)?0!==c||1/c==1/i:c!=c&&i!=i)?r=0:(r="function"==typeof t?t(n,o):1073741823,0!==(r|=0)&&this.emitter.set(e.value,r))}var c,i},n.render=function(){return this.props.children},r}(j.Component);c.childContextTypes=((r={})[o]=H.a.object.isRequired,r);var i=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}C()(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},n.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},n.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},n.getValue=function(){return this.context[o]?this.context[o].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(j.Component);return i.contextTypes=((n={})[o]=H.a.object,n),{Provider:c,Consumer:i}},R=r(79),L=r(12),A=r(258),T=r.n(A),N=(r(176),r(46)),D=(r(194),function(e){var t=_();return t.displayName=e,t}("Router")),F=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}Object(z.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},q=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,c=void 0!==o&&o,i=r.strict,a=void 0!==i&&i,s=r.sensitive,u=void 0!==s&&s;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=I[r]||(I[r]={});if(n[e])return n[e];var o=[],c={regexp:T()(e,o,t),keys:o};return q<1e4&&(n[e]=c,q++),c}(r,{end:c,strict:a,sensitive:u}),o=n.regexp,i=n.keys,s=o.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),d=e===l;return c&&!d?null:{path:r,url:"/"===r&&""===l?"/":l,isExact:d,params:i.reduce((function(e,t,r){return e[t.name]=f[r],e}),{})}}),null)}var B=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?U(r.pathname,e.props):t.match,o=Object(L.a)({},t,{location:r,match:n}),c=e.props,i=c.children,a=c.component,s=c.render;return Array.isArray(i)&&0===i.length&&(i=null),k.a.createElement(D.Provider,{value:o},o.match?i?"function"==typeof i?i(o):i:a?k.a.createElement(a,o):s?s(o):null:"function"==typeof i?i(o):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var r=W(e);return 0!==t.pathname.indexOf(r)?t:Object(L.a)({},t,{pathname:t.pathname.substr(r.length)})}function G(e){return"string"==typeof e?e:Object(E.d)(e)}function Q(e){return function(){Object(R.a)(!1)}}function K(){}k.a.Component;var Z=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r,n,o=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==n&&k.a.isValidElement(e)){r=e;var c=e.props.path||e.props.from;n=c?U(o.pathname,Object(L.a)({},e.props,{path:c})):t.match}})),n?k.a.cloneElement(r,{location:o,computedMatch:n}):null}))},t}(k.a.Component);k.a.useContext;var J=r(2),Y=r(53),X=r(23),ee=r(22),te=r(43),re=(r(438),r(66)),ne=r(48),oe=r(3),ce=r(268),ie=r(196);function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var se=Object(g.lazy)((function(){return Promise.resolve().then(r.bind(null,197))})),ue=Object(g.lazy)((function(){return r.e(18).then(r.bind(null,930))})),le=Object(g.lazy)((function(){return r.e(24).then(r.bind(null,911))})),fe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(46),r.e(28)]).then(r.bind(null,934))})),de=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(5),r.e(47),r.e(29)]).then(r.bind(null,931))})),pe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(48),r.e(33)]).then(r.bind(null,932))})),he=function(e){h()(r,e);var t=ae(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0}},{key:"componentDidUpdate",value:function(e){var t=this.getQuery(e.location.search),r=Object(J.omit)(this.getQuery(e.location.search),"chartType","filter","paged"),n=Object(J.omit)(this.getQuery(this.props.location.search),"chartType","filter","paged");t.paged>1&&!Object(J.isEqual)(r,n)&&Object(X.getHistory)().replace(Object(X.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(re.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.page,r=e.match,n=e.location,o=r.url,c=r.params,i=this.getQuery(n.search);return window.wpNavMenuUrlUpdate(i),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:c,path:o,pathMatch:t.path,query:i}))}}]),r}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ne.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),r=Object(X.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,r){if(/admin.php\?page=wc-admin/.test(e.href)){var n=Object(J.last)(e.href.split("?")),o=Object(re.parse)(n),c=window.wcAdminFeatures.homescreen?"homescreen":"dashboard",i=(o.path||c).replace("/analytics","").replace("/",""),a=r.includes(i),s="admin.php?"+Object(re.stringify)(Object.assign(o,a?{}:t));e.href=s,e.onclick=function(e){e.preventDefault(),Object(X.getHistory)().push(s)}}}(e,r,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.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")}));var r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),n="/"===t?'li > a[href$="'.concat(r,'"], li > a[href*="').concat(r,'?"]'):'li > a[href*="'.concat(r,'"]'),o=document.querySelectorAll(n);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var c=document.querySelector("#"+e.wpOpenMenu);c&&(c.classList.remove("wp-not-current-submenu"),c.classList.add("wp-has-current-submenu"),c.classList.add("wp-menu-open"),c.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ve=r(62),me=r.n(ve),be=r(8),ye=r.n(be),ge=r(72),Oe=(r(440),r(406)),we=r.n(Oe),ze=r(67),je=r(418),ke=r(407),Me=r.n(ke),He=r(408),Ee=r.n(He),Ve=(r(442),function(e){var t=e.height,r=void 0===t?24:t,n=e.width,o=void 0===n?24:n,c=e.hasUnread,i=void 0!==c&&c,a=ye()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":i});return Object(g.createElement)("div",{className:a},Object(g.createElement)("svg",{height:r,width:o,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Ve.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Ce=Ve,xe=r(270),Se=r(33);var Pe=r(63),_e=r(101);function Re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Le=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(45),r.e(6)]).then(r.bind(null,792))})),Ae=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(7)]).then(r.bind(null,935))})),Te=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(8)]).then(r.bind(null,937))})),Ne=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(45),r.e(6)]).then(r.bind(null,925))})),De=Object(ee.g)("manageStock","no"),Fe=Object(ee.g)("reviewsEnabled","no"),Ie=function(e){h()(r,e);var t=Re(r);function r(){var e;return l()(this,r),(e=t.apply(this,arguments)).togglePanel=e.togglePanel.bind(me()(e)),e.clearPanel=e.clearPanel.bind(me()(e)),e.toggleMobile=e.toggleMobile.bind(me()(e)),e.renderTab=e.renderTab.bind(me()(e)),e.state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},e}return d()(r,[{key:"togglePanel",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab;r&&e===n||Object(Pe.b)("activity_panel_open",{tab:e}),this.setState((function(t){return e===t.currentTab||""===t.currentTab?{isPanelOpen:!t.isPanelOpen,currentTab:e,mobileOpen:!t.isPanelOpen}:{currentTab:e,isPanelSwitching:!0}}))}},{key:"clearPanel",value:function(){this.setState((function(e){return e.isPanelOpen?{isPanelSwitching:!1}:{currentTab:""}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab,o=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");r&&!o&&this.togglePanel(n)}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,r=e.hasUnreadOrders,n=e.hasUnapprovedReviews,o=e.hasUnreadStock;return[{name:"inbox",title:Object(oe.__)("Inbox",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t},{name:"orders",title:Object(oe.__)("Orders",'woocommerce'),icon:Object(g.createElement)(Me.a,null),unread:r},"yes"===De?{name:"stock",title:Object(oe.__)("Stock",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:o}:null,"yes"===Fe?{name:"reviews",title:Object(oe.__)("Reviews",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:n}:null].filter(Boolean)}},{key:"getPanelContent",value:function(e){switch(e){case"inbox":return Object(g.createElement)(Le,null);case"orders":var t=this.props.hasUnreadOrders;return Object(g.createElement)(Ae,{hasActionableOrders:t});case"stock":return Object(g.createElement)(Te,null);case"reviews":var r=this.props.hasUnapprovedReviews;return Object(g.createElement)(Ne,{hasUnapprovedReviews:r});default:return null}}},{key:"renderPanel",value:function(){var e=this.state,t=e.isPanelOpen,r=e.currentTab,n=e.isPanelSwitching,o=Object(J.find)(this.getTabs(),{name:r});if(!o)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var c=ye()("woocommerce-layout__activity-panel-wrapper",{"is-open":t,"is-switching":n});return Object(g.createElement)("div",{className:c,tabIndex:0,role:"tabpanel","aria-label":o.title,onTransitionEnd:this.clearPanel,onAnimationEnd:this.clearPanel},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(r))))}},{key:"renderTab",value:function(e,t){var r=this.state,n=r.currentTab,o=r.isPanelOpen,c=ye()("woocommerce-layout__activity-panel-tab",{"is-active":o&&e.name===n,"has-unread":e.unread}),i=e.name===n,a=-1;return(i||!o&&0===t)&&(a=null),Object(g.createElement)(ze.a,{role:"tab",className:c,tabIndex:a,"aria-selected":i,"aria-controls":"activity-panel-"+e.name,key:"activity-panel-tab-"+e.name,id:"activity-panel-tab-"+e.name,onClick:Object(J.partial)(this.togglePanel,e.name)},e.icon,e.title," ",e.unread&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity",'woocommerce')))}},{key:"render",value:function(){var e=this.getTabs(),t=this.state.mobileOpen,r=Object(J.uniqueId)("activity-panel-header_"),n=ye()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),o=e.some((function(e){return e.unread})),c=o?Object(oe.__)("View Activity Panel, you have unread activity",'woocommerce'):Object(oe.__)("View Activity Panel",'woocommerce');return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:r,className:"screen-reader-text"},Object(oe.__)("Store Activity",'woocommerce')),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":r},Object(g.createElement)(ze.a,{onClick:this.toggleMobile,label:t?Object(oe.__)("Close Activity Panel",'woocommerce'):c,"aria-expanded":t,className:"woocommerce-layout__activity-panel-mobile-toggle"},t?Object(g.createElement)(Ee.a,null):Object(g.createElement)(Ce,{hasUnread:o})),Object(g.createElement)("div",{className:n},Object(g.createElement)(je.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map(this.renderTab)),this.renderPanel())))}}]),r}(g.Component),qe=Object(_e.a)((function(e){return{hasUnreadNotes:function(e){var t=e("wc-api"),r=t.getNotes,n=t.getNotesError,o=t.isGetNotesRequesting,c=(0,e(te.USER_STORE_NAME).getCurrentUser)(),i=parseInt(c&&c.woocommerce_meta&&c.woocommerce_meta.activity_panel_inbox_last_read,10);if(!i)return null;var a={page:1,per_page:1,type:Se.d.noteTypes,orderby:"date",order:"desc"},s=r(a),u=Boolean(n(a)),l=o(a);return u||l?null:s[0]&&new Date(s[0].date_created_gmt+"Z").getTime()>i}(e),hasUnreadOrders:function(e){var t=e("wc-api"),r=t.getItems,n=t.getItemsTotalCount,o=t.getItemsError,c=t.isGetItemsRequesting,i=(0,e(te.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,a=void 0===i?xe.a:i;if(!a.length)return!1;var s={page:1,per_page:1,status:a,_fields:["id"]};r("orders",s);var u=n("orders",s),l=Boolean(o("orders",s)),f=c("orders",s);return l||f?null:u>0}(e),hasUnreadStock:Object(ee.g)("hasLowStock",!1),hasUnapprovedReviews:function(e){var t=e("wc-api"),r=t.getReviewsTotalCount,n=t.getReviewsError,o=t.isGetReviewsRequesting;if("yes"===Object(ee.g)("reviewsEnabled")){var c={page:1,per_page:1,status:"hold"},i=r(c),a=Boolean(n(c)),s=o(c);if(!a&&!s)return i>0}return!1}(e)}}))(we()(Ie));function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Be=function(e){h()(r,e);var t=Ue(r);function r(){var e;return l()(this,r),(e=t.call(this)).state={isScrolled:!1},e.headerRef=Object(g.createRef)(),e.onWindowScroll=e.onWindowScroll.bind(me()(e)),e.updateIsScrolled=e.updateIsScrolled.bind(me()(e)),e.trackLinkClick=e.trackLinkClick.bind(me()(e)),e.updateDocumentTitle=e.updateDocumentTitle.bind(me()(e)),e}return d()(r,[{key:"componentDidMount",value:function(){this.threshold=this.headerRef.current.offsetTop,window.addEventListener("scroll",this.onWindowScroll),this.updateIsScrolled()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onWindowScroll),window.cancelAnimationFrame(this.handle)}},{key:"onWindowScroll",value:function(){this.handle=window.requestAnimationFrame(this.updateIsScrolled)}},{key:"updateIsScrolled",value:function(){var e=window.pageYOffset>this.threshold-20;e!==this.state.isScrolled&&this.setState({isScrolled:e})}},{key:"trackLinkClick",value:function(e){var t=e.target.closest("a").getAttribute("href");Object(Pe.b)("navbar_breadcrumb_click",{href:t,text:e.target.innerText})}},{key:"updateDocumentTitle",value:function(){var e=this.props,t=e.sections;if(!e.isEmbedded){var r=(Array.isArray(t)?t:[t]).map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" &lsaquo; ");document.title=Object(ge.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce",'woocommerce'),r,Object(ee.g)("siteTitle","")))}}},{key:"render",value:function(){var e=this,t=this.props,r=t.sections,n=t.isEmbedded,o=this.state.isScrolled,c=Array.isArray(r)?r:[r];this.updateDocumentTitle();var i=ye()("woocommerce-layout__header",{"is-scrolled":o});return Object(g.createElement)("div",{className:i,ref:this.headerRef},Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},c.map((function(t,r){var o=Array.isArray(t)?Object(g.createElement)(Y.Link,{href:n?Object(ee.f)(t[0]):Object(X.getNewPath)({},t[0],{}),type:n?"wp-admin":"wc-admin",onClick:e.trackLinkClick},t[1]):t;return Object(g.createElement)("span",{key:r},Object(ge.decodeEntities)(o))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(qe,null))}}]),r}(g.Component);Be.propTypes={sections:H.a.node.isRequired,isEmbedded:H.a.bool},Be.defaultProps={isEmbedded:!1};var We=Be;function $e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Ge=function(e){h()(r,e);var t=$e(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),r}(g.Component),Qe=r(76),Ke=r.n(Qe),Ze=r(68),Je=r(19),Ye=r(257),Xe=r(749),et=r(409);var tt=function(e){var t=e.notices,r=e.className,n=e.children,o=e.onRemove,c=void 0===o?J.noop:o,i=Object(Xe.a)(),a=Object(g.useState)((function(){return new WeakMap})),s=Object(Je.a)(a,1)[0],u=Object(Ye.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Ze.a)(Ke.a.mark((function t(r){return Ke.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Ze.a)(Ke.a.mark((function e(t){return Ke.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:i});r=ye()("components-snackbar-list",r);var l=function(e){return function(){return c(e.id)}};return Object(g.createElement)("div",{className:r},n,u.map((function(e){var t=e.item,r=e.key,n=e.props;return Object(g.createElement)(Ye.animated.div,{key:r,style:n},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(et.a,Object(L.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};r(443);function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var nt=function(e){h()(r,e);var t=rt(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.notices,n=e.onRemove,o=ye()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(tt,{notices:r,className:o,onRemove:n})}}]),r}(g.Component);nt.propTypes={className:H.a.string,notices:H.a.array};var ot=Object(O.a)(Object(_e.a)((function(e){return{notices:e("core/notices").getNotices()}})),Object(w.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(nt),ct=r(197);function it(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function at(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?it(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):it(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function st(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var ut=Object(g.lazy)((function(){return Promise.all([r.e(3),r.e(42)]).then(r.bind(null,936))})),lt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(ut,null)),Object(g.createElement)(Ge,null),e)}}]),r}(g.Component),ft=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),r=Object(J.get)(this.props,"location.pathname");t&&r&&t!==r&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,r=e.installedPlugins,n=e.isEmbedded,o=e.isJetpackConnected;if(n){var c=document.location.pathname+document.location.search;Object(Pe.c)(c,{is_embedded:!0})}else{var i=Object(J.get)(this.props,"location.pathname");if(i){var a=i.substring(1).replace(/\//g,"_");0===a.length&&(a=window.wcAdminFeatures.homescreen?"home_screen":"dashboard"),Object(Pe.c)(a,{jetpack_installed:r.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o})}}}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,r=s()(e,["isEmbedded"]),n=this.props.page.breadcrumbs;return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(We,{sections:Object(J.isFunction)(n)?n(this.props):n,isEmbedded:t}),Object(g.createElement)(ot,null),!t&&Object(g.createElement)(lt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(he,r))))}}]),r}(g.Component);ft.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var dt=Object(O.a)(Object(te.withPluginsHydration)(at(at({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(w.withSelect)((function(e,t){if(!t.isEmbedded){var r=e(te.PLUGINS_STORE_NAME),n=r.getActivePlugins,o=r.getInstalledPlugins,c=r.isJetpackConnected;return{activePlugins:n(),isJetpackConnected:c(),installedPlugins:o()}}})))(ft),pt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(X.getHistory)()},Object(g.createElement)(Z,null,function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];if(window.wcAdminFeatures.devdocs&&e.push({container:fe,path:"/devdocs",breadcrumbs:function(e){var r=e.location,n=Object(ce.a)(r.search).component;return[].concat(t,n?[["/devdocs","Documentation"],n]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures["analytics-dashboard"]&&!window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Dashboard",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.homescreen&&e.push({container:de,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics){window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics",'woocommerce')],Object(oe.__)("Overview",'woocommerce')]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"});var r="toplevel_page_wc-admin-path--analytics-".concat(window.wcAdminFeatures.homescreen?"overview":"revenue");e.push({container:ue,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics",'woocommerce')],Object(oe.__)("Settings",'woocommerce')]),wpOpenMenu:r}),e.push({container:se,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:se,path:"/analytics/:report",breadcrumbs:function(e){var r=e.match,n=Object(J.find)(Object(ie.a)(),{report:r.params.report});return n?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics",'woocommerce')],n.title]):[]},wpOpenMenu:r})}return window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing",'woocommerce')],Object(oe.__)("Overview",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),Object(ne.applyFilters)("woocommerce_admin_pages_list",e)}().map((function(e){return Object(g.createElement)(B,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(dt,o()({page:e},t))}})}))))}}]),r}(g.Component),ht=Object(O.a)(Object(Y.useFilters)(["woocommerce_admin_pages_list",ct.REPORTS_FILTER]),window.wcSettings.preloadOptions?Object(te.withOptionsHydration)(at({},window.wcSettings.preloadOptions)):J.identity)(pt),vt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(dt,{page:{breadcrumbs:Object(ee.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),r}(g.Component)},2:function(e,t){!function(){e.exports=this.lodash}()},200:function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return l}));var n=r(0),o=r(48),c=r(111),i=r.n(c),a=r(22),s=i()(a.b),u=function(e){var t=s.getCurrency(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return i()(r)},l=Object(n.createContext)(s)},201:function(e,t){!function(){e.exports=this.wc.number}()},208:function(e,t,r){"use strict";var n=r(0),o=r(88),c={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},i={">=":"min-width","<":"max-width"},a={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(n.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",r=Object(n.useContext)(s),u=!r&&"(".concat(i[t],": ").concat(c[e],"px)"),l=Object(o.a)(u);return r?a[t](c[e],r):l};u.__experimentalWidthProvider=s.Provider,t.a=u},209:function(e,t,r){"use strict";var n=r(0),o=r(32),c=Object(n.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.a,{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=c},21:function(e,t){!function(){e.exports=this.wp.apiFetch}()},210:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,O=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case m:case u:return e;default:return t}}case c:return t}}}function j(e){return z(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=b,t.Memo=m,t.Portal=c,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||z(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return z(e)===l},t.isContextProvider=function(e){return z(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return z(e)===p},t.isFragment=function(e){return z(e)===i},t.isLazy=function(e){return z(e)===b},t.isMemo=function(e){return z(e)===m},t.isPortal=function(e){return z(e)===c},t.isProfiler=function(e){return z(e)===s},t.isStrictMode=function(e){return z(e)===a},t.isSuspense=function(e){return z(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===O||e.$$typeof===w||e.$$typeof===y)},t.typeOf=z},211:function(e,t,r){var n=r(152);e.exports=function(e){if(Array.isArray(e))return n(e)}},212:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},213:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},22:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return p})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return v})),r.d(t,"f",(function(){return m}));var n=r(35),o=r.n(n),c=r(3),i=["wcAdminSettings","preloadSettings"],a="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},s=Object.keys(a).reduce((function(e,t){return i.includes(t)||(e[t]=a[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,d=s.orderStatuses,p=(s.siteTitle,s.wcAssetUrl);function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(c.__)("Mutable settings should be accessed via data store."));var n=s.hasOwnProperty(e)?s[e]:t;return r(n,t)}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(i.includes(e))throw new Error(Object(c.__)("Mutable settings should be mutated via data store."));s[e]=r(t)}function m(e){return(u||"")+e}},23:function(e,t){!function(){e.exports=this.wc.navigation}()},24:function(e,t){!function(){e.exports=this.wc.date}()},257:function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(80)),c=n(r(273)),i=r(13),a=n(i),s=n(r(126)),u=n(r(62)),l={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(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var r;for(r in e)if(!(r in t))return!1;for(r in t)if(e[r]!==t[r])return!1;return!l.und(r)||e===t}};function f(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return l.und(e)||l.nul(e)?t:e}function p(e){return l.und(e)?[]:l.arr(e)?e:[e]}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return l.fun(e)?e.apply(void 0,r):e}function v(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,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return o({to:t},e);var r=Object.keys(e).reduce((function(r,n){var c;return l.und(t[n])?o({},r,((c={})[n]=e[n],c)):r}),{});return o({to:t},r)}var m,b,y=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}(),g=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var r=t.prototype;return r.getValue=function(e){void 0===e&&(e=!1);var t={};for(var r in this.payload){var n=this.payload[r];(!e||n instanceof y)&&(t[r]=n instanceof y?n[e?"getAnimatedValue":"getValue"]():n)}return t},r.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function w(e,t){m={fn:e,transform:t}}function z(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var E,V=function(){return Date.now()};function C(e){E=e}var x,S,P=function(e){return e.current};function _(e){x=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:w,get colorNames(){return b},injectColorNames:z,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return V},injectNow:function(e){V=e},get defaultElement(){return E},injectDefaultElement:C,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:_,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),L=function(e){function t(t,r){var n;return(n=e.call(this)||this).update=void 0,n.payload=t.style?o({},t,{style:x(t.style)}):t,n.update=r,n.attach(),n}return s(t,e),t}(O),A=!1,T=new Set,N=function e(){if(!A)return!1;var t=V(),r=T,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var c;if(n){if(o>=r.length)break;c=r[o++]}else{if((o=r.next()).done)break;c=o.value}for(var i=c,a=!1,s=0;s<i.configs.length;s++){for(var u=i.configs[s],l=void 0,f=void 0,d=0;d<u.animatedValues.length;d++){var p=u.animatedValues[d];if(!p.done){var h=u.fromValues[d],v=u.toValues[d],m=p.lastPosition,b=v instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(b&&(v=v.getValue()),u.immediate)p.setValue(v),p.done=!0;else if("string"!=typeof h&&"string"!=typeof v){if(void 0!==u.duration)m=h+u.easing((t-p.startTime)/u.duration)*(v-h),l=t>=p.startTime+u.duration;else if(u.decay)m=h+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(l=Math.abs(p.lastPosition-m)<.1)&&(v=m);else{f=void 0!==p.lastTime?p.lastTime:t,g=void 0!==p.lastVelocity?p.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),w=0;w<O;++w){m+=1*(g+=1*((-u.tension*(m-v)+-u.friction*g)/u.mass)/1e3)/1e3}var z=!(!u.clamp||0===u.tension)&&(h<v?m>v:m<v),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(v-m)<=u.precision;l=z||j&&M,p.lastVelocity=g,p.lastTime=t}b&&!u.toValues[d].done&&(l=!1),l?(p.value!==v&&(m=v),p.done=!0):a=!0,p.setValue(m),p.lastPosition=m}else p.setValue(v),p.done=!0}}i.props.onFrame&&(i.values[u.name]=u.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),a||(T.delete(i),i.stop(!0))}return T.size?S?S():k(e):A=!1,A};function D(e,t,r){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:r});if(j&&"string"==typeof e.output[0])return j(e);var n=e,o=n.output,c=n.range||[0,1],i=n.extrapolateLeft||n.extrapolate||"extend",a=n.extrapolateRight||n.extrapolate||"extend",s=n.easing||function(e){return e};return function(e){var t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,c);return function(e,t,r,n,o,c,i,a,s){var u=s?s(e):e;if(u<t){if("identity"===i)return u;"clamp"===i&&(u=t)}if(u>r){if("identity"===a)return u;"clamp"===a&&(u=r)}if(n===o)return n;if(t===r)return e<=t?n:o;t===-1/0?u=-u:r===1/0?u-=t:u=(u-t)/(r-t);u=c(u),n===-1/0?u=-u:o===1/0?u+=n:u=u*(o-n)+n;return u}(e,c[t],c[t+1],o[t],o[t+1],s,i,a,n.map)}}var F=function(e){function t(r,n,o,c){var i;return(i=e.call(this)||this).calc=void 0,i.payload=r instanceof g&&!(r instanceof t)?r.getPayload():Array.isArray(r)?r:[r],i.calc=D(n,o,c),i}s(t,e);var r=t.prototype;return r.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},r.updateConfig=function(e,t,r){this.calc=D(e,t,r)},r.interpolate=function(e,r,n){return new t(this,e,r,n)},t}(g);var I=function(e){function t(t){var r;return(r=e.call(this)||this).animatedStyles=new Set,r.value=void 0,r.startPosition=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.startTime=void 0,r.lastTime=void 0,r.done=!1,r.setValue=function(e,t){void 0===t&&(t=!0),r.value=e,t&&r.flush()},r.value=t,r.startPosition=t,r.lastPosition=t,r}s(t,e);var r=t.prototype;return r.flush=function(){0===this.animatedStyles.size&&function e(t,r){"update"in t?r.add(t):t.getChildren().forEach((function(t){return e(t,r)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},r.clearStyles=function(){this.animatedStyles.clear()},r.getValue=function(){return this.value},r.interpolate=function(e,t,r){return new F(this,e,t,r)},t}(y),q=function(e){function t(t){var r;return(r=e.call(this)||this).payload=t.map((function(e){return new I(e)})),r}s(t,e);var r=t.prototype;return r.setValue=function(e,t){var r=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,n){return r.payload[n].setValue(e,t)})):this.payload.forEach((function(r){return r.setValue(e,t)}))},r.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},r.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,B=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=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=v(e),r=t.delay,n=void 0===r?0:r,i=t.to,a=c(t,["delay","to"]);if(l.arr(i)||l.fun(i))this.queue.push(o({},a,{delay:n,to:i}));else if(i){var s={};Object.entries(i).forEach((function(e){var t,r=e[0],c=e[1],i=o({to:(t={},t[r]=c,t),delay:h(n,r)},a),u=s[i.delay]&&s[i.delay].to;s[i.delay]=o({},s[i.delay],i,{to:o({},u,i.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,r=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,n=void 0===t?{}:t,c=e.to,i=void 0===c?{}:c;l.obj(n)&&(r.merged=o({},n,r.merged)),l.obj(i)&&(r.merged=o({},r.merged,i))}));var n=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var a=t.delay,s=c(t,["delay"]),u=function(t){o===i.length-1&&n===r.guid&&t&&(r.idle=!0,r.props.onRest&&r.props.onRest(r.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);a?setTimeout((function(){n===r.guid&&(f?r.runAsync(s,u):r.diff(s).start(u))}),a):f?r.runAsync(s,u):r.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,T.has(t)||T.add(t),A||(A=!0,k(S||N));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,T.has(t)&&T.delete(t)),this},t.runAsync=function(e,t){var r=this,n=(e.delay,c(e,["delay"])),i=this.local,a=Promise.resolve(void 0);if(l.arr(n.to))for(var s=function(e){var t=e,c=o({},n,v(n.to[t]));l.arr(c.config)&&(c.config=c.config[t]),a=a.then((function(){if(i===r.guid)return new Promise((function(e){return r.diff(c).start(e)}))}))},u=0;u<n.to.length;u++)s(u);else if(l.fun(n.to)){var f,d=0;a=a.then((function(){return n.to((function(e){var t=o({},n,v(e));if(l.arr(t.config)&&(t.config=t.config[d]),d++,i===r.guid)return f=new Promise((function(e){return r.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),r.stop(e)})).then((function(){return f}))}))}a.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var r=this.props,n=r.from,c=void 0===n?{}:n,i=r.to,a=void 0===i?{}:i,s=r.config,u=void 0===s?{}:s,f=r.reverse,v=r.attach,m=r.reset,y=r.immediate;if(f){var g=[a,c];c=g[0],a=g[1]}this.merged=o({},c,this.merged,a),this.hasChanged=!1;var O=v&&v(this);if(this.animations=Object.entries(this.merged).reduce((function(e,r){var n=r[0],i=r[1],a=e[n]||{},s=l.num(i),f=l.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!b[i],v=l.arr(i),g=!s&&!v&&!f,w=l.und(c[n])?i:c[n],z=s||v||f?i:1,k=h(u,n);O&&(z=O.animations[n].parent);var M,H=a.parent,E=a.interpolation,C=p(O?z.getPayload():z),x=i;g&&(x=j({range:[0,1],output:[i,i]})(1));var S,P=E&&E.getValue(),_=!l.und(H)&&a.animatedValues.some((function(e){return!e.done})),R=!l.equ(x,P),L=!l.equ(x,a.previous),A=!l.equ(k,a.config);if(m||L&&R||A){var T;if(s||f)H=E=a.parent||new I(w);else if(v)H=E=a.parent||new q(w);else if(g){var N=a.interpolation&&a.interpolation.calc(a.parent.value);N=void 0===N||m?w:N,a.parent?(H=a.parent).setValue(0,!1):H=new I(0);var D={output:[N,i]};a.interpolation?(E=a.interpolation,a.interpolation.updateConfig(D)):E=H.interpolate(D)}return C=p(O?z.getPayload():z),M=p(H.getPayload()),m&&!g&&H.setValue(w,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=_?e.lastVelocity:void 0,e.lastTime=_?e.lastTime:void 0,e.startTime=V(),e.done=!1,e.animatedStyles.clear()})),h(y,n)&&H.setValue(g?z:i,!1),o({},e,((T={})[n]=o({},a,{name:n,parent:H,interpolation:E,animatedValues:M,toValues:C,previous:x,config:k,fromValues:p(H.getValue()),immediate:h(y,n),initialVelocity:d(k.velocity,0),clamp:d(k.clamp,!1),precision:d(k.precision,.01),tension:d(k.tension,170),friction:d(k.friction,26),mass:d(k.mass,1),duration:k.duration,easing:d(k.easing,(function(e){return e})),decay:k.decay}),T))}return R?e:(g&&(H.setValue(1,!1),E.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,o({},e,((S={})[n]=o({},e[n],{previous:x}),S)))}),this.animations),this.hasChanged)for(var w in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[w]=this.animations[w].interpolation,this.values[w]=this.animations[w].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}(),W=function(e,t){var r=i.useRef(!1),n=i.useRef(),o=l.fun(t),c=i.useMemo((function(){var r;return n.current&&(n.current.map((function(e){return e.destroy()})),n.current=void 0),[new Array(e).fill().map((function(e,n){var c=new B,i=o?h(t,n,c):t[n];return 0===n&&(r=i.ref),c.update(i),r||c.start(),c})),r]}),[e]),a=c[0],s=c[1];n.current=a;i.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(n.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return n.current.forEach((function(t){return t.stop(e)}))},get controllers(){return n.current}}}));var u=i.useMemo((function(){return function(e){return n.current.map((function(t,r){t.update(o?h(e,r,t):e[r]),s||t.start()}))}}),[e]);i.useEffect((function(){r.current?o||u(t):s||n.current.forEach((function(e){return e.start()}))})),i.useEffect((function(){return r.current=!0,function(){return n.current.forEach((function(e){return e.destroy()}))}}),[]);var f=n.current.map((function(e){return e.getValues()}));return o?[f,u,function(e){return n.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,r=e.keys,n=void 0===r?function(e){return e}:r,i=c(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,n)},i)};function K(e,t){var r=function(){if(o){if(c>=n.length)return"break";i=n[c++]}else{if((c=n.next()).done)return"break";i=c.value}var r=i.key,a=function(e){return e.key!==r};(l.und(t)||t===r)&&(e.current.instances.delete(r),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},n=e.current.deleted,o=Array.isArray(n),c=0;for(n=o?n:n[Symbol.iterator]();;){var i;if("break"===r())break}e.current.forceUpdate()}var Z=function(e){function t(t){var r;return void 0===t&&(t={}),r=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),r.payload=t,r}return s(t,e),t}(O),J={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},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),re=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),ne=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{6})$/,ae=/^#([0-9a-fA-F]{8})$/;function se(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ue(e,t,r){var n=r<.5?r*(1+t):r+t-r*t,o=2*r-n,c=se(o,n,e+1/3),i=se(o,n,e),a=se(o,n,e-1/3);return Math.round(255*c)<<24|Math.round(255*i)<<16|Math.round(255*a)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function de(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 he(e){var t,r,n="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(r=ie.exec(t))?parseInt(r[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(r=ee.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|255)>>>0:(r=te.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|de(r[4]))>>>0:(r=oe.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=ae.exec(t))?parseInt(r[1],16)>>>0:(r=ce.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=re.exec(t))?(255|ue(fe(r[1]),pe(r[2]),pe(r[3])))>>>0:(r=ne.exec(t))?(ue(fe(r[1]),pe(r[2]),pe(r[3]))|de(r[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var ve=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={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},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(r){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(r,t)]=e[t]})),e}),ye);var we={};_((function(e){return new Z(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(be,he)})),r=t[0].match(ve).map((function(){return[]}));t.forEach((function(e){e.match(ve).forEach((function(e,t){return r[t].push(+e)}))}));var n=t[0].match(ve).map((function(t,n){return D(o({},e,{output:r[n]}))}));return function(e){var r=0;return t[0].replace(ve,(function(){return n[r++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,r,n,o){return"rgba("+Math.round(t)+", "+Math.round(r)+", "+Math.round(n)+", "+o+")"}))}})),z(J),w((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var r=t.style,n=t.children,o=t.scrollTop,i=t.scrollLeft,a=c(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==n&&(e.textContent=n),r)if(r.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,r[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var d in a){var p=s?d:we[d]||(we[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,a[d])}}),(function(e){return e}));var ze,je,ke=(ze=function(e){return i.forwardRef((function(t,r){var n=f(),s=i.useRef(!0),u=i.useRef(null),d=i.useRef(null),p=i.useCallback((function(e){var t=u.current;u.current=new L(e,(function(){var e=!1;d.current&&(e=m.fn(d.current,u.current.getAnimatedValue())),d.current&&!1!==e||n()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),i.useImperativeHandle(r,(function(){return P(d,s,n)})),p(t);var h,v=u.current.getValue(),b=(v.scrollTop,v.scrollLeft,c(v,["scrollTop","scrollLeft"])),y=(h=e,!l.fun(h)||h.prototype instanceof a.Component?function(e){return d.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,r)}:void 0);return a.createElement(e,o({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var r=je?t[0].toLowerCase()+t.substring(1):t;return e[r]=ze(r),e}),ze)}),Me=ke(["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=ke,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=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,r){return e&&new F(e,t,r)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),r=W(1,t?e:[e]),n=r[0],o=r[1],c=r[2];return t?[n[0],o,c]:n},t.useTrail=function(e,t){var r=i.useRef(!1),n=l.fun(t),c=h(t),a=i.useRef(),s=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},c,{config:h(c.config,e),attach:e>0&&function(){return a.current[e-1]}})})),u=s[0],f=s[1],d=s[2],p=i.useMemo((function(){return function(e){return f((function(t,r){e.reverse;var n=e.reverse?t+1:t-1,i=a.current[n];return o({},e,{config:h(e.config||c.config,t),attach:i&&function(){return i}})}))}}),[e,c.reverse]);return i.useEffect((function(){r.current&&!n&&p(t)})),i.useEffect((function(){r.current=!0}),[]),n?[u,p,d]:u},t.useTransition=function(e,t,r){var n=o({items:e,keys:t||function(e){return e}},r),a=Q(n),s=a.lazy,u=void 0!==s&&s,l=(a.unique,a.reset),d=void 0!==l&&l,p=(a.enter,a.leave,a.update,a.onDestroyed),v=(a.keys,a.items,a.onFrame),m=a.onRest,b=a.onStart,y=a.ref,g=c(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),w=i.useRef(!1),z=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!n.ref,instances:!w.current&&new Map,forceUpdate:O});return i.useImperativeHandle(n.ref,(function(){return{start:function(){return Promise.all(Array.from(z.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(z.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(z.current.instances).map((function(e){return e[1]}))}}})),z.current=function(e,t){var r=e.first,n=e.prevProps,i=c(e,["first","prevProps"]),a=Q(t),s=a.items,u=a.keys,l=a.initial,f=a.from,d=a.enter,p=a.leave,v=a.update,m=a.trail,b=void 0===m?0:m,y=a.unique,g=a.config,O=a.order,w=void 0===O?["enter","leave","update"]:O,z=Q(n),j=z.keys,k=z.items,M=o({},i.current),H=[].concat(i.deleted),E=Object.keys(M),V=new Set(E),C=new Set(u),x=u.filter((function(e){return!V.has(e)})),S=i.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),P=u.filter((function(e){return V.has(e)})),_=-b;for(;w.length;){switch(w.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var n=u.indexOf(e),o=s[n],c=r&&void 0!==l?"initial":"enter";M[e]={slot:c,originalKey:e,key:y?String(e):$++,item:o,trail:_+=b,config:h(g,o,c),from:h(r&&void 0!==l?l||{}:f,o),to:h(d,o)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),r=k[t];H.unshift(o({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:_+=b,config:h(g,r,"leave"),to:h(p,r)})),delete M[e]}));break;case"update":P.forEach((function(e){var t=u.indexOf(e),r=s[t];M[e]=o({},M[e],{item:r,slot:"update",trail:_+=b,config:h(g,r,"update"),to:h(v,r)})}))}}var R=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,r=e.left,n=(e.right,c(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===r})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[n],R.slice(t))})),o({},i,{changed:x.length||S.length||P.length,first:r&&0===x.length,transitions:R,current:M,deleted:H,prevProps:t})}(z.current,n),z.current.changed&&z.current.transitions.forEach((function(e){var t=e.slot,r=e.from,n=e.to,c=e.config,i=e.trail,a=e.key,s=e.item;z.current.instances.has(a)||z.current.instances.set(a,new B);var l=z.current.instances.get(a),f=o({},g,{to:n,from:r,config:c,ref:y,onRest:function(r){z.current.mounted&&(e.destroyed&&(y||u||K(z,a),p&&p(s)),!Array.from(z.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&z.current.deleted.length>0&&K(z),m&&m(s,t,r))},onStart:b&&function(){return b(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:i,reset:d&&"enter"===t});l.update(f),z.current.paused||l.start()})),i.useEffect((function(){return z.current.mounted=w.current=!0,function(){z.current.mounted=w.current=!1,Array.from(z.current.instances).map((function(e){return e[1].destroy()})),z.current.instances.clear()}}),[]),z.current.transitions.map((function(e){var t=e.item,r=e.slot,n=e.key;return{item:t,key:n,state:r,props:z.current.instances.get(n).getValues()}}))},t.useChain=function(e,t,r){void 0===r&&(r=1e3);var n=i.useRef();i.useEffect((function(){l.equ(e,n.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,n){var c=e.current;if(c){var i=c.controllers;if(i.length){var a=r*t[n];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,r){var n=t.current;return e.then((function(){return n.start()}))}),Promise.resolve()),n.current=e}))},t.useSprings=W},258:function(e,t,r){var n=r(444);e.exports=p,e.exports.parse=c,e.exports.compile=function(e,t){return a(c(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e,t){for(var r,n=[],c=0,i=0,a="",l=t&&t.delimiter||"/";null!=(r=o.exec(e));){var f=r[0],d=r[1],p=r.index;if(a+=e.slice(i,p),i=p+f.length,d)a+=d[1];else{var h=e[i],v=r[2],m=r[3],b=r[4],y=r[5],g=r[6],O=r[7];a&&(n.push(a),a="");var w=null!=v&&null!=h&&h!==v,z="+"===g||"*"===g,j="?"===g||"*"===g,k=r[2]||l,M=b||y;n.push({name:m||c++,prefix:v||"",delimiter:k,optional:j,repeat:z,partial:w,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&n.push(a),n}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var c="",a=t||{},s=(o||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,d=a[l.name];if(null==d){if(l.optional){l.partial&&(c+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(n(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=s(d[p]),!r[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");c+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(d),!r[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');c+=l.prefix+f}}else c+=l}return c}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,c=!1!==r.end,i="",a=0;a<e.length;a++){var u=e[a];if("string"==typeof u)i+=s(u);else{var d=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+d+p+")*"),i+=p=u.optional?u.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=s(r.delimiter||"/"),v=i.slice(-h.length)===h;return o||(i=(v?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=c?"$":o&&v?"":"(?="+h+"|$)",l(new RegExp("^"+i,f(r)),t)}function p(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(p(e[o],t,r).source);return l(new RegExp("(?:"+n.join("|")+")",f(r)),t)}(e,t,r):function(e,t,r){return d(c(e,r),t,r)}(e,t,r)}},259:function(e,t,r){"use strict";(function(e,n){var o,c=r(413);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var i=Object(c.a)(o);t.a=i}).call(this,r(56),r(446)(e))},26:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},261:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),i=r.n(c),a=r(39),s=r.n(a),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(3),v=r(1),m=r.n(v),b=r(53),y=r(22);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var O=function(e){s()(r,e);var t=g(r);function r(){return o()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e,t,r,n,o=this.props,c=o.className,i=o.isError,a=o.isEmpty;return i?(e=Object(h.__)("There was an error getting your stats. Please try again.",'woocommerce'),t=Object(h.__)("Reload",'woocommerce'),n=function(){window.location.reload()}):a&&(e=Object(h.__)("No results could be found for this date range.",'woocommerce'),t=Object(h.__)("View Orders",'woocommerce'),r=Object(y.f)("edit.php?post_type=shop_order")),Object(p.createElement)(b.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);O.propTypes={className:m.a.string,isError:m.a.bool,isEmpty:m.a.bool},O.defaultProps={className:""},t.a=O},268:function(e,t,r){"use strict";function n(e){return e?e.substr(1).split("&").reduce((function(e,t){var r=t.split("="),n=r[0],o=decodeURIComponent(r[1]);return o=isNaN(Number(o))?o:Number(o),e[n]=o,e}),{}):{}}r.d(t,"a",(function(){return n}))},27:function(e,t){!function(){e.exports=this.wp.url}()},270:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return g}));var n=r(0),o=r(3),c=r(48),i=r(36),a=r.n(i),s=r(22),u=r(66),l=r(108),f=r(53),d=r(43),p=function(e){var t=e.value,r=e.onChange,o=Object(d.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,c=Object(u.parse)(t.replace(/&amp;/g,"&")),i=Object(l.h)(c,o),a=i.period,s=i.compare,p=i.before,h=i.after,v=Object(l.f)(c,o),m={period:a,compare:s,before:p,after:h,primaryDate:v.primary,secondaryDate:v.secondary};return Object(n.createElement)(f.DateRangeFilterPicker,{query:c,onRangeSelect:function(e){r({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:l.k})},h=["processing","on-hold"],v=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports",'woocommerce'),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return v.includes(e.value)}))},{key:"customStatuses",label:Object(o.__)("Custom Statuses",'woocommerce'),options:m.filter((function(e){return!v.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses",'woocommerce'),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports",'woocommerce'),e)}}))}],g=Object(c.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded Statuses:",'woocommerce'),inputType:"checkboxGroup",options:y,helpText:a()({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'),components:{strong:Object(n.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable Statuses:",'woocommerce'),inputType:"checkboxGroup",options:y,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.",'woocommerce'),defaultValue:h},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default Date Range:",'woocommerce'),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'),defaultValue:"period=month&compare=previous_year"}})},273:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},274:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));var n=r(17),o=r.n(n),c=r(108);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){var t=e.per_page,r=e.persisted_query,n=e.query,o=(0,e.select)("wc-api"),i=o.getItems,s=o.getItemsError,u=o.isGetItemsRequesting,l={isRequesting:!1,isError:!1,rows:[]},f=Object(c.f)(n,e.defaultDateRange),d={after:Object(c.a)(f.primary.after,"start"),before:Object(c.a)(f.primary.before,"end"),per_page:t,persisted_query:JSON.stringify(r)},p=i("leaderboards",d);if(u("leaderboards",d))return a(a({},l),{},{isRequesting:!0});if(s("leaderboards",d))return a(a({},l),{},{isError:!0});var h=p.get(e.id);return a(a({},l),{},{rows:h.rows})}function u(e,t,r){var n=e("wc-api"),o=n.getItems,c=n.getItemsError,i=n.isGetItemsRequesting,a={},s=!1,u=!1;return r.forEach((function(e){var r={search:e,per_page:10};o(t,r).forEach((function(e,t){a[t]=e})),i(t,r)&&(s=!0),c(t,r)&&(u=!0)})),{items:a,isRequesting:s,isError:u}}},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},31:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"f",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"a",(function(){return p}));var n=r(6),o=r(15),c=r(2),i=r(3);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,d=39,p=40,h="alt",v="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[v]},primaryShift:function(e){return e()?[b,m]:[v,b]},primaryAlt:function(e){return e()?[h,m]:[v,h]},secondary:function(e){return e()?[b,h,m]:[v,b,h]},access:function(e){return e()?[v,h]:[b,h]},ctrl:function(){return[v]},alt:function(){return[h]},ctrlShift:function(){return[v,b]},shift:function(){return[b]},shiftAlt:function(){return[b,h]}},g=(Object(c.mapValues)(y,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return[].concat(Object(o.a)(e(r)),[t.toLowerCase()]).join("+")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,s=i(),u=(r={},Object(n.a)(r,h,s?"⌥":"Alt"),Object(n.a)(r,v,s?"^":"Ctrl"),Object(n.a)(r,m,"⌘"),Object(n.a)(r,b,s?"⇧":"Shift"),r),l=e(i).reduce((function(e,t){var r=Object(c.get)(u,t,t);return[].concat(Object(o.a)(e),s?[r]:[r,"+"])}),[]),f=Object(c.capitalize)(t);return[].concat(Object(o.a)(l),[f])}})));Object(c.mapValues)(g,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return e(t,r).join("")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,u=s(),l=(r={},Object(n.a)(r,b,"Shift"),Object(n.a)(r,m,u?"Command":"Control"),Object(n.a)(r,v,"Control"),Object(n.a)(r,h,u?"Option":"Alt"),Object(n.a)(r,",",Object(i.__)("Comma")),Object(n.a)(r,".",Object(i.__)("Period")),Object(n.a)(r,"`",Object(i.__)("Backtick")),r);return[].concat(Object(o.a)(e(s)),[t]).map((function(e){return Object(c.capitalize)(Object(c.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[h,v,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(c.mapValues)(y,(function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,o=e(n),i=O(t);return!Object(c.xor)(o,i).length&&(r?t.key===r:Object(c.includes)(o,t.key.toLowerCase()))}}))},32:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l}));var n=r(6),o=r(14),c=r(8),i=r.n(c),a=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=function(e){return Object(a.createElement)("path",e)},l=function(e){var t=e.className,r=e.isPressed,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(o.a)(e,["className","isPressed"]),{className:i()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(a.createElement)("svg",c)}},33:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return u}));var n=r(170),o="/wc-analytics",c="/wc-admin",i="/wc/v1",a={timeout:1*n.b,freshness:30*n.b},s=100,u={pageSize:25,period:"month",compare:"previous_year",noteTypes:"info,warning,marketing"}},35:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},36:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=a(r(13)),c=a(r(148)),i=a(r(151));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var r,i,a,l,f,d,p,h,v=[],m={};for(d=0;d<e.length;d++)if("string"!==(f=e[d]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==n(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){r=t[f.value],a=d;break}v.push(t[f.value])}else v.push(f.value);return r&&(l=function(e,t){var r,n,o=t[e],c=0;for(n=e+1;n<t.length;n++)if((r=t[n]).value===o.value){if("componentOpen"===r.type){c++;continue}if("componentClose"===r.type){if(0===c)return n;c--}}throw new Error("Missing closing component token `"+o.value+"`")}(a,e),p=u(e.slice(a+1,l),t),i=o.default.cloneElement(r,{},p),v.push(i),l<e.length-1&&(h=u(e.slice(l+1),t),v=v.concat(h))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,c.default)(m))}t.default=function(e){var t=e.mixedString,r=e.components,o=e.throwErrors;if(s=t,!r)return t;if("object"!==(void 0===r?"undefined":n(r))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,i.default)(t);try{return u(c,r)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},37:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},38:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},39:function(e,t,r){var n=r(147);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},4:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},40:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return n}))},406:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var c=r(441),i=r(13),a=r(78);e.exports=function(e){var t=e.displayName||e.name,r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),o(r,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,r=this.props,o=r.wrappedRef,c=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["wrappedRef"]);return i.createElement(e,n({},c,{ref:function(e){t.__wrappedInstance=e,t.__domNode=a.findDOMNode(e),o&&o(e)}}))}}]),r}(i.Component);return r.displayName="clickOutside("+t+")",c(r,e)}},407:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),a=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",c,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var o,c=r(13),i=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},408:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),a=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",c,!1,!1,!1].filter(Boolean).join(" ");return i.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.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,c=r(13),i=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},409:function(e,t,r){"use strict";(function(e){var n=r(0),o=r(2),c=r(8),i=r.n(c),a=r(127),s=r(3),u=(r(410),r(67));t.a=Object(n.forwardRef)((function(t,r){var c=t.className,l=t.children,f=t.spokenMessage,d=void 0===f?l:f,p=t.politeness,h=void 0===p?"polite":p,v=t.actions,m=void 0===v?[]:v,b=t.onRemove,y=void 0===b?o.noop:b;!function(e,t){var r="string"==typeof e?e:Object(n.renderToString)(e);Object(n.useEffect)((function(){r&&Object(a.a)(r,t)}),[r,t])}(d,h),Object(n.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=i()(c,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(n.createElement)("div",{ref:r,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(n.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var r=e.label,o=e.onClick,c=e.url;return Object(n.createElement)(u.a,{key:t,href:c,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:"components-snackbar__action"},r)}))))}))}).call(this,r(47))},41:function(e,t,r){var n=r(211),o=r(212),c=r(172),i=r(213);e.exports=function(e){return n(e)||o(e)||c(e)||i()}},410:function(e,t,r){"use strict";(function(e){function n(t){void 0!==e&&e.env}r.d(t,"a",(function(){return n}))}).call(this,r(47))},411:function(e,t,r){"use strict";(function(t){var r="__global_unique_id__";e.exports=function(){return t[r]=(t[r]||0)+1}}).call(this,r(56))},412:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),i=r.n(c),a=r(39),s=r.n(a),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(18),v=r(43);r(445);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var b=function(e){s()(r,e);var t=m(r);function r(){return o()(this,r),t.apply(this,arguments)}return i()(r,[{key:"renderMenuItem",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.slug,o=e.title,c=e.url;return Object(p.createElement)("li",{key:n,className:"woocommerce-navigation__menu-item woocommerce-navigation__menu-item-depth-".concat(r)},Object(p.createElement)("a",{href:c},o),e.children&&e.children.length&&Object(p.createElement)("ul",{className:"woocommerce-navigation__submenu"},e.children.map((function(e){return t.renderMenuItem(e,r+1)}))))}},{key:"render",value:function(){var e=this,t=this.props.items;return Object(p.createElement)("div",{className:"woocommerce-navigation"},Object(p.createElement)("ul",{className:"woocommerce-navigation__menu"},t.map((function(t){return e.renderMenuItem(t)}))))}}]),r}(p.Component);t.a=Object(h.withSelect)((function(e){return{items:e(v.SETTINGS_STORE_NAME).getSetting("wc_admin","wcNavigation")}}))(b)},413:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},418:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),i=r(2),a=r(31),s=r(9),u=r(7),l=r(5),f=r(11),d=r(4),p=r(10),h=r(45);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(p.a)(a,e);var t,r=(t=a,function(){var e,r=Object(d.a)(t);if(v()){var n=Object(d.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(f.a)(this,e)});function a(){var e;return Object(s.a)(this,a),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(a,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(i.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?h.a.tabbable:h.a.focusable).find(this.container),r=this.getFocusableIndex(t,e);return r>-1&&e?{index:r,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var r=e.indexOf(t);if(-1!==r)return r}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,r=this.props,n=r.cycle,o=void 0===n||n,c=r.eventToOffset,a=r.onNavigate,s=void 0===a?i.noop:a,u=r.stopNavigationEvents,l=c(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var d=f.index,p=f.focusables,h=o?function(e,t,r){var n=e+r;return n<0?t+n:n>=t?n-t:n}(d,p.length,l):d+l;h>=0&&h<p.length&&(p[h].focus(),s(h,p[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,r=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({ref:this.bindContainer},Object(i.omit)(r,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),a}(c.Component),b=function(e,t){return Object(c.createElement)(m,Object(n.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(c.forwardRef)(b);t.a=Object(c.forwardRef)((function(e,t){var r=e.role,s=void 0===r?"menu":r,u=e.orientation,l=void 0===u?"vertical":u,f=Object(o.a)(e,["role","orientation"]);return Object(c.createElement)(y,Object(n.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,r=[a.a],n=[a.f];return"horizontal"===l&&(r=[a.d],n=[a.c]),"both"===l&&(r=[a.d,a.a],n=[a.c,a.f]),Object(i.includes)(r,t)?1:Object(i.includes)(n,t)?-1:void 0}},f))}))},42:function(e,t,r){var n=r(35),o=r(62);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},43:function(e,t){!function(){e.exports=this.wc.data}()},434:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0),n=(r(716),r(437),r(199)),o=r(412),c=(r(715),r(43));r.p=e.wcAdminAssets.path;var i=document.getElementById("root"),a=document.getElementById("woocommerce-embedded-navigation"),s=window.wcSettings.currentUserData;if(a){var u=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(u=Object(c.withCurrentUserHydration)(s)(u)),Object(t.render)(Object(t.createElement)(u,null),a),document.getElementById("adminmenumain").classList.add("folded")}if(i){var l=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(c.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(c.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),i)}else{var f=document.getElementById("woocommerce-embedded-root"),d=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.a);s&&(d=Object(c.withCurrentUserHydration)(s)(d)),Object(t.render)(Object(t.createElement)(d,null),f),f.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),h=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),v=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(n.c,null)),p.insertBefore(v,h))}}.call(this,r(56))},436:function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function a(e,t,r,n){var o=t&&t.prototype instanceof l?t:l,c=Object.create(o.prototype),i=new z(n||[]);return c._invoke=function(e,t,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return k()}for(r.method=o,r.arg=c;;){var i=r.delegate;if(i){var a=g(i,r);if(a){if(a===u)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var u={};function l(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(j([])));v&&v!==t&&r.call(v,o)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var n;this._invoke=function(o,c){function i(){return new t((function(n,i){!function n(o,c,i,a){var u=s(e[o],e,c);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,a)}))}a(u.arg)}(o,c,n,i)}))}return n=n?n.then(i,i):i()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,c=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return c.next=c}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[i]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,i in e||(e[i]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(y.prototype),y.prototype[c]=function(){return this},e.AsyncIterator=y,e.async=function(t,r,n,o,c){void 0===c&&(c=Promise);var i=new y(a(t,r,n,o),c);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(m),m[i]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev<c.catchLoc)return n(c.catchLoc,!0);if(this.prev<c.finallyLoc)return n(c.finallyLoc)}else if(a){if(this.prev<c.catchLoc)return n(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return n(c.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===e||"continue"===e)&&c.tryLoc<=t&&t<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=e,i.arg=t,c?(this.method="next",this.next=c.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},437:function(e,t,r){},438:function(e,t,r){},439:function(e,t,r){},440:function(e,t,r){},441:function(e,t,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,r,f){if("string"!=typeof r){if(l){var d=u(r);d&&d!==l&&e(t,d,f)}var p=i(r);a&&(p=p.concat(a(r)));for(var h=0;h<p.length;++h){var v=p[h];if(!(n[v]||o[v]||f&&f[v])){var m=s(r,v);try{c(t,v,m)}catch(e){}}}return t}return t}},442:function(e,t,r){},443:function(e,t,r){},444:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},445:function(e,t,r){},446: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}},45:function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var n={};r.r(n),r.d(n,"find",(function(){return a}));var o={};r.r(o),r.d(o,"isTabbableIndex",(function(){return l})),r.d(o,"find",(function(){return v})),r.d(o,"findPrevious",(function(){return m})),r.d(o,"findNext",(function(){return b}));var c=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function i(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function a(e){var t=e.querySelectorAll(c);return Array.from(t).filter((function(e){return!!i(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var r=document.querySelector('img[usemap="#'+t.name+'"]');return!!r&&i(r)}(e))}))}var s=r(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function p(e,t){var r=u(e.element),n=u(t.element);return r===n?e.index-t.index:r-n}function h(e){return e.filter(l).map(f).sort(p).map(d).reduce((t={},function(e,r){var n=r.nodeName,o=r.type,c=r.checked,i=r.name;if("INPUT"!==n||"radio"!==o||!i)return e.concat(r);var a=t.hasOwnProperty(i);if(!c&&a)return e;if(a){var u=t[i];e=Object(s.without)(e,u)}return t[i]=r,e.concat(r)}),[]);var t}function v(e){return h(a(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),r=t.indexOf(e);return t.length=r,Object(s.last)(h(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),r=t.indexOf(e),n=t.slice(r+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(h(n))}var y={focusable:n,tabbable:o}},46:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},47:function(e,t){var r,n,o=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===c||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:c}catch(e){r=c}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},48:function(e,t){!function(){e.exports=this.wp.hooks}()},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(30);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},5:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},51:function(e,t){function r(e,t,r,n,o,c,i){try{var a=e[c](i),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var i=e.apply(t,n);function a(e){r(i,o,c,a,s,"next",e)}function s(e){r(i,o,c,a,s,"throw",e)}a(void 0)}))}}},53:function(e,t){!function(){e.exports=this.wc.components}()},54:function(e,t,r){"use strict";var n=r(2);t.a=function(e,t){return function(r){var o=e(r),c=r.displayName,i=void 0===c?r.name||"Component":c;return o.displayName="".concat(Object(n.upperFirst)(Object(n.camelCase)(t)),"(").concat(i,")"),o}}},55:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},56:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(48),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.version,c=t.alternative,i=t.plugin,a=t.link,s=t.hint,u=i?" from ".concat(i):"",l=r?" and will be removed".concat(u," in version ").concat(r):"",f=c?" Please use ".concat(c," instead."):"",d=a?" See: ".concat(a):"",p=s?" Note: ".concat(s):"",h="".concat(e," is deprecated").concat(l,".").concat(f).concat(d).concat(p);h in o||(Object(n.doAction)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",(function(){return n}))},62: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}},63:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return p}));var n=r(17),o=r.n(n),c=r(35),i=r.n(c),a=r(87);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=r.n(a)()("wc-admin:tracks");function l(e,t){if(u("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}var f={localStorageKey:function(){return"tracksQueue"},clear:function(){window.localStorage&&window.localStorage.removeItem(f.localStorageKey())},get:function(){if(!window.localStorage)return[];var e=window.localStorage.getItem(f.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[]},add:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!window.localStorage)return u("Unable to queue, running now",{args:t}),void l.apply(null,t||void 0);var n=f.get(),o={args:t};n.push(o),n=n.slice(-100),u("Adding new item to queue.",o),window.localStorage.setItem(f.localStorageKey(),JSON.stringify(n))},process:function(){if(window.localStorage){var e=f.get();f.clear(),u("Processing items in queue.",e),e.forEach((function(e){"object"===i()(e)&&(u("Processing item in queue.",e),l.apply(null,e.args||void 0))}))}}};function d(e,t){f.add(e,t)}function p(e,t){e&&(l("page_view",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({path:e},t)),f.process())}},65:function(e,t,r){"use strict";var n=r(117),o=r(118),c=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return n(e,t);if(c(e)&&c(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=n,e.exports.isShallowEqualArrays=o},66:function(e,t,r){"use strict";var n=r(115),o=r(116),c=r(94);e.exports={formats:c,parse:o,stringify:n}},67:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),i=r(8),a=r.n(i),s=r(2),u=r(59),l=r(97),f=r(96);function d(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,c=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(i)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=["onMouseDown","onClick"];t.a=Object(c.forwardRef)((function(e,t){var r=e.href,i=e.target,p=e.isPrimary,v=e.isLarge,m=e.isSmall,b=e.isTertiary,y=e.isPressed,g=e.isBusy,O=e.isDefault,w=e.isSecondary,z=e.isLink,j=e.isDestructive,k=e.className,M=e.disabled,H=e.icon,E=e.iconSize,V=e.showTooltip,C=e.tooltipPosition,x=e.shortcut,S=e.label,P=e.children,_=e.__experimentalIsFocusable,R=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);O&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var L=a()("components-button",k,{"is-secondary":O||w,"is-primary":p,"is-large":v,"is-small":m,"is-tertiary":b,"is-pressed":y,"is-busy":g,"is-link":z,"is-destructive":j,"has-text":!!H&&!!P,"has-icon":!!H}),A=M&&!_,T=void 0===r||A?"button":"a",N="a"===T?{href:r,target:i}:{type:"button",disabled:A,"aria-pressed":y};if(M&&_){N["aria-disabled"]=!0;var D,F=d(h);try{for(F.s();!(D=F.n()).done;){R[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){F.e(e)}finally{F.f()}}var I=!A&&(V&&S||x||!!S&&(!P||Object(s.isArray)(P)&&!P.length)&&!1!==V),q=Object(c.createElement)(T,Object(n.a)({},N,R,{className:L,"aria-label":R["aria-label"]||S,ref:t}),H&&Object(c.createElement)(f.a,{icon:H,size:E}),P);return I?Object(c.createElement)(l.a,{text:S,shortcut:x,position:C},q):q}))},68:function(e,t,r){"use strict";function n(e,t,r,n,o,c,i){try{var a=e[c](i),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var i=e.apply(t,r);function a(e){n(i,o,c,a,s,"next",e)}function s(e){n(i,o,c,a,s,"throw",e)}a(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return o}))},70:function(e,t,r){"use strict";function n(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}r.d(t,"a",(function(){return n}))},715:function(e,t,r){"use strict";var n=r(18),o=r(170),c=r(259),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var r=f.indexOf(e);f.splice(r,1),l=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,i=o(i,e)}finally{d=!1}for(var t=l=f,r=0;r<t.length;r++){(0,t[r])()}return e}function b(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,m({type:a.REPLACE})}function y(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(h())}return r(),{unsubscribe:t(r)}}})[c.a]=function(){return this},e}return m({type:a.INIT}),(n={dispatch:m,subscribe:v,getState:h,replaceReducer:b})[c.a]=y,n}var l=r(17),f=r.n(l);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={resources:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FRESH_DATA_REQUESTED":return m(e,t);case"FRESH_DATA_RECEIVED":return b(e,t);default:return e}}function m(e,t){return y(e,t.resourceNames.reduce((function(e,r){return e[r]={lastRequested:t.time},e}),{}))}function b(e,t){return y(e,Object.keys(t.resources).reduce((function(e,r){var n=p({},t.resources[r]);return n.data&&(n.lastReceived=t.time),n.error&&(n.lastError=t.time),e[r]=n,e}),{}))}function y(e,t){var r=Object.keys(t).reduce((function(e,r){var n=e[r],o=t[r];return e[r]=p(p({},n),o),e}),p({},e.resources));return p(p({},e),{},{resources:r})}var g=function(e,t){var r=function(e){var t=window.__REDUX_DEVTOOLS_EXTENSION__;return u(v,t&&t({name:e,instanceId:e}))}(e),n=function(e){return{dataRequested:function(t){document.hidden||e.dispatch({type:"FRESH_DATA_REQUESTED",resourceNames:t,time:new Date})},dataReceived:function(t){e.dispatch({type:"FRESH_DATA_RECEIVED",resources:t,time:new Date})}}}(r),c=new o.a(t);return c.setDataHandlers(n),r.subscribe((function(){c.setState(r.getState())})),c},O=r(41),w=r.n(O),z=r(51),j=r.n(z),k=r(3);function M(e,t){var r=JSON.stringify(t,Object.keys(t).sort());return"".concat(e,":").concat(r)}function H(e){return e.substring(0,e.indexOf(":"))}function E(e,t){return H(e)===t}function V(e){var t=e.substring(e.indexOf(":")+1);return JSON.parse(t)}var C={initiateReportExport:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o,c){var i,a,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Object(n.dispatch)("core/notices"),a=i.createNotice,s=M("report-export-".concat(r),c),t.next=4,e.update([s],f()({},s,c));case 4:u=t.sent,(l=u[0][s])&&l.success&&a("success",Object(k.sprintf)(Object(k.__)("Your %s Report will be emailed to you.",'woocommerce'),o)),l&&l.error&&a("error",Object(k.sprintf)(Object(k.__)("There was a problem exporting your %s Report. Please try again.",'woocommerce'),o));case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()}},x=r(21),S=r.n(x),P=r(33);function _(e,t,r){return e.filter((function(e){return e.startsWith("report-export-")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=H(n),c=o.split("-").pop(),i=P.c+"/reports/"+c+"/export",e.prev=3,e.next=6,r({path:i,method:"POST",data:{report_args:t[n],email:!0}});case 6:return a=e.sent,e.abrupt("return",f()({},n,f()({},a.status,a.message)));case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",f()({},n,{error:e.t0}));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}())}var R={mutations:C,operations:{update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(_(e,t,r))}}};function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={updateProductStock:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o){var c,i,a,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Object(n.dispatch)("core/notices"),i=c.createNotice,a=r.stock_quantity,s=M("items-query-products-item",r.id),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:o}))),t.next=6,e.update([s],f()({},s,{id:r.id,type:r.type,parent_id:r.parent_id,stock_quantity:o}));case 6:u=t.sent,(l=u[0][s])&&l.data&&i("success",Object(k.sprintf)(Object(k.__)("%s stock updated.",'woocommerce'),r.name)),l&&l.error&&(i("error",Object(k.sprintf)(Object(k.__)("%s stock could not be updated.",'woocommerce'),r.name)),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:a}))));case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()}},N=r(129),D=r.n(N),F=r(27);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U={"items-query-categories":"products/categories","items-query-customers":"customers","items-query-coupons":"coupons","items-query-leaderboards":"leaderboards","items-query-orders":"orders","items-query-products":"products","items-query-taxes":"taxes"};var B={read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(U[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s,u,l,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=U[n],c=V(r),i=Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),c),a=-1===c.per_page,e.prev=5,e.next=8,t({parse:a,path:i});case 8:if(s=e.sent,!a){e.next=14;break}l=(u=s).length,e.next=18;break;case 14:return e.next=16,s.json();case 16:u=e.sent,l=parseInt(s.headers.get("x-wp-total"),10);case 18:return d=u.map((function(e){return e.id})),p=u.reduce((function(e,t){return e[M("".concat(n,"-item"),t.id)]={data:t},e}),{}),e.abrupt("return",q(f()({},r,{data:d,totalCount:l}),p));case 23:return e.prev=23,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 26:case"end":return e.stop()}}),e,null,[[5,23]])})));return function(t){return e.apply(this,arguments)}}())},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a,n=["items-query-products-item"],o=e.filter((function(e){return n.includes(H(e))}));return o.map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t[n],c=o.id,i=o.parent_id,a=o.type,s=D()(o,["id","parent_id","type"]),u=P.c,e.t0=a,e.next="variation"===e.t0?5:("variable"===e.t0||e.t0,7);break;case 5:return u+="/products/".concat(i,"/variations/").concat(c),e.abrupt("break",8);case 7:u+="/products/".concat(c);case 8:return e.abrupt("return",r({path:u,method:"PUT",data:s}).then((function(e){return f()({},n,{data:e})})).catch((function(e){return f()({},n,{error:e})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},updateLocally:function(e,t){var r=["items-query-products-item"],n=e.filter((function(e){return r.includes(H(e))})),o=M("items-query-products",{page:1,per_page:1,low_in_stock:!0,status:"publish"});return n.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(n={},f()(n,r,{data:t[r]}),f()(n,o,{lastReceived:null}),n));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},W=r(2),$={mutations:T,operations:B,selectors:{getItems:function(e,t){return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,c=M("items-query-".concat(r),n),i=t(o,c).data||[],a=new Map;return i.forEach((function(t){a.set(t,e(M("items-query-".concat(r,"-item"),t)).data)})),a}},getItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).error}},getItemsTotalCount:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).totalCount||0}},isGetItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r),o=e(n),c=o.lastRequested,i=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(i))||c>i}}}},G={"import-status":"reports/import/status","import-totals":"reports/import/totals"};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(G[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=G[n],c=V(r),i={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),Object(W.omit)(c,["timestamp"]))},e.prev=4,e.next=7,t(i);case 7:return a=e.sent,e.next=10,a.json();case 10:return s=e.sent,e.abrupt("return",f()({},r,{data:s}));case 14:return e.prev=14,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 17:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getImportStatus:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("import-status",e);return t(r,n).data||{}}},isGetImportStatusRequesting:function(e){return function(t){var r=M("import-status",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getImportTotals:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=K(K({},e),{},{timestamp:r}),c=M("import-totals",o);return t(n,c).data||{}}}}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t){return e.filter((function(e){return E(e,"note-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/admin/notes"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return i=e.sent,a=parseInt(c.headers.get("x-wp-total"),10),s=i.map((function(e){return e.id})),u=i.reduce((function(e,t){return e[M("note",t.id)]={data:t},e}),{}),e.abrupt("return",Y(f()({},r,{data:s,totalCount:a}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function ee(e,t){return e.filter((function(e){return E(e,"note")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/admin/notes/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}function te(e,t,r){if(e.includes("note")){var n=t.note,o=n.noteId,c=D()(n,["noteId"]);return[r({path:"".concat(P.c,"/admin/notes/").concat(o),method:"PUT",data:c}).then((function(e){var r=f()({},"note:"+o,{data:e});return isNaN(t.note.is_deleted)||(r["note-undo-dismiss"]={isUndoRequesting:!1,isDismissUndoRequesting:!1}),r})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function re(e,t,r){if(e.includes("note")){var n=t.note.noteId;return[r({path:"".concat(P.c,"/admin/notes/delete/").concat(n),method:"DELETE"}).then((function(e){return f()({},"note:"+n,{data:e})})).catch((function(e){return f()({},"note:"+n,{error:e})}))]}return[]}function ne(e,t){return e.includes("note")?[t({path:"".concat(P.c,"/admin/notes/delete/all"),method:"DELETE"}).then((function(e){return e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{})})).catch((function(e){return{error:e}}))]:[]}function oe(e,t,r){return e.includes("note")?[r({path:"".concat(P.c,"/admin/notes/undoremove"),method:"PUT",data:t}).then((function(e){var t=e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{});return t["note-undo-dismiss"]={isUndoRequesting:!1,isDismissAllUndoRequesting:!1},t})).catch((function(e){return e}))]:[]}function ce(e,t,r){if(e.includes("note-action")){var n=t["note-action"],o=n.noteId,c=n.actionId;return[r({path:"".concat(P.c,"/admin/notes/").concat(o,"/action/").concat(c),method:"POST"}).then((function(e){return f()({},"note:"+o,{data:e})})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function ie(e,t){if(e.includes("note")&&(t.note?!isNaN(t.note.is_deleted):!isNaN(t.is_deleted))){var r=!!t.note&&t.note.noteId;return[f()({},"note-undo-dismiss",{isUndoRequesting:!0,isDismissUndoRequesting:r,isDismissAllUndoRequesting:!r})]}return[]}function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var se={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(ee(e,t)),w()(X(e,t)))},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ie(e,t)),w()(te(e,t,r)),w()(ce(e,t,r)))},remove:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(re(e,t,r))},removeAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return w()(ne(e,t))},triggerAction:ce,undoRemoveAll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ie(e,t)),w()(oe(e,t,r)))}},selectors:{getNotes:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("note-query",r),c=t(n,o).data||[],i=c.map((function(t){return e(M("note",t)).data||{}}));return i}},getNotesError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t);return e(r).error}},isGetNotesRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getUndoDismissRequesting:function(e){return function(){return e("note-undo-dismiss")}}},mutations:{updateNote:function(e){return function(t,r){e.update(["note"],f()({},"note",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({noteId:t},r)))}},removeNote:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r){var o,c,i,a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object(n.dispatch)("core/notices"),c=o.createNotice,i="note",a=M("note",r),t.next=5,e.remove([i],f()({},i,{noteId:r}));case 5:s=t.sent,(u=s[0]?s[0][a]:{data:!1,error:!0})&&u.data&&c("success",Object(k.__)("Message dismissed.",'woocommerce'),{actions:[{label:Object(k.__)("Undo",'woocommerce'),onClick:function(){e.update([i],f()({},i,{noteId:r,is_deleted:0}))}}]}),u&&u.error&&c("error",Object(k.__)("Message could not be dismissed.",'woocommerce'));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},removeAllNotes:function(e){return j()(regeneratorRuntime.mark((function t(){var r,o,c,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(n.dispatch)("core/notices"),o=r.createNotice,c="note",t.next=4,e.removeAll([c]);case 4:i=t.sent,(a=i?i[0]:{error:!0}).error?o("error",Object(k.__)("Messages could not be dismissed.",'woocommerce')):o("success",Object(k.__)("All messages dismissed.",'woocommerce'),{actions:[{label:Object(k.__)("Undo",'woocommerce'),onClick:function(){var t=[];for(var r in a)t.push(a[r].data.id);e.undoRemoveAll([c],{notesIds:t,is_deleted:0})}}]});case 7:case"end":return t.stop()}}),t)})))},triggerNoteAction:function(e){return function(t,r){e.update(["note-action"],f()({},"note-action",{noteId:t,actionId:r}))}}}},ue={"report-items-query-orders":"orders","report-items-query-revenue":"revenue","report-items-query-products":"products","report-items-query-categories":"categories","report-items-query-coupons":"coupons","report-items-query-taxes":"taxes","report-items-query-variations":"variations","report-items-query-downloads":"downloads","report-items-query-customers":"customers","report-items-query-stock":"stock","report-items-query-performance-indicators":"performance-indicators"};var le={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(ue[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=ue[n],c=V(r),i={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o),c)},e.prev=4,e.next=7,t(i);case 7:return a=e.sent,e.next=10,a.json();case 10:return s=e.sent,u=parseInt(a.headers.get("x-wp-total"),10),l=parseInt(a.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 16:return e.prev=16,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 19:case"end":return e.stop()}}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportItems:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-items-query-".concat(e),r);return t(n,o)||{}}},getReportItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r);return e(n).error}},isReportItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r),o=e(n),c=o.lastRequested,i=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(i))||c>i}}}},fe=["coupons","downloads","orders","products","revenue","stock","taxes","customers"],de={"report-stats-query-orders":"orders","report-stats-query-revenue":"revenue","report-stats-query-products":"products","report-stats-query-categories":"categories","report-stats-query-downloads":"downloads","report-stats-query-coupons":"coupons","report-stats-query-stock":"stock","report-stats-query-taxes":"taxes","report-stats-query-customers":"customers"};var pe={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(de[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=de[n],c=V(r),i={parse:!1},fe.indexOf(o)>=0?i.path=Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o,"/stats"),c):i.path=Object(F.addQueryArgs)(o,c),e.prev=5,e.next=8,t(i);case 8:return a=e.sent,e.next=11,a.json();case 11:return s=e.sent,u=parseInt(a.headers.get("x-wp-total"),10),l=parseInt(a.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 17:return e.prev=17,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 20:case"end":return e.stop()}}),e,null,[[5,17]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportStats:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-stats-query-".concat(e),r),c=t(n,o)||{};return c}},getReportStatsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r);return e(n).error}},isReportStatsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r),o=e(n),c=o.lastRequested,i=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(i))||c>i}}}};function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t){return e.filter((function(e){return E(e,"review-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/products/reviews"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return i=e.sent,a=parseInt(c.headers.get("x-wp-total"),10),s=i.map((function(e){return e.id})),u=i.reduce((function(e,t){return e[M("review",t.id)]={data:t},e}),{}),e.abrupt("return",ve(f()({},r,{data:s,totalCount:a}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function be(e,t){return e.filter((function(e){return E(e,"review")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/products/reviews/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}var ye={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(be(e,t)),w()(me(e,t)))}},selectors:{getReviews:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("review-query",r),c=t(n,o).data||[],i=c.map((function(t){return e(M("review",t)).data||{}}));return i}},getReviewsError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t);return e(r).error}},getReviewsTotalCount:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("review-query",e);return t(r,n).totalCount||0}},isGetReviewsRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}}}};function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,ze={name:"wcApi",mutations:Oe(Oe(Oe({},R.mutations),$.mutations),se.mutations),selectors:Oe(Oe(Oe(Oe(Oe(Oe({},Z.selectors),$.selectors),se.selectors),le.selectors),pe.selectors),ye.selectors),operations:{read:function(e){return document.hidden?[]:[].concat(w()(Z.operations.read(e)),w()($.operations.read(e)),w()(se.operations.read(e)),w()(le.operations.read(e)),w()(pe.operations.read(e)),w()(ye.operations.read(e)))},update:function(e,t){return[].concat(w()(R.operations.update(e,t)),w()($.operations.update(e,t)),w()(se.operations.update(e,t)))},remove:function(e,t){return w()(se.operations.remove(e,t))},removeAll:function(e){return w()(se.operations.removeAll(e))},updateLocally:function(e,t){return w()($.operations.updateLocally(e,t))},undoRemoveAll:function(e,t){return w()(se.operations.undoRemoveAll(e,t))}}};Object(n.registerGenericStore)("wc-api",{getSelectors:function(){return function(e){return function(e){var t=[];return{selectors:we.getSelectors(t),onComplete:function(){0===t.length?we.clearComponentRequirements(e):we.setComponentRequirements(e,t)},onUnmount:function(){we.clearComponentRequirements(e)}}}(e&&e.component?e.component:e)}},getActions:function(){return we.getMutations()},subscribe:(we=g("wc-api",ze)).subscribe})},716:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"createNotice",(function(){return v})),r.d(n,"createSuccessNotice",(function(){return m})),r.d(n,"createInfoNotice",(function(){return b})),r.d(n,"createErrorNotice",(function(){return y})),r.d(n,"createWarningNotice",(function(){return g})),r.d(n,"removeNotice",(function(){return O}));var o={};r.r(o),r.d(o,"getNotices",(function(){return z}));var c=r(18),i=r(15),a=r(2),s=r(6);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){return function(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var c=t(r[o],n);return c===r[o]?r:l({},r,Object(s.a)({},o,c))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(i.a)(Object(a.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(a.reject)(e,{id:t.id})}return e})),d=r(76),p=r.n(d),h=p.a.mark(v);function v(){var e,t,r,n,o,c,i,s,u,l,f,d,v,m,b,y,g=arguments;return p.a.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,r=g.length>2&&void 0!==g[2]?g[2]:{},n=r.speak,o=void 0===n||n,c=r.isDismissible,i=void 0===c||c,s=r.context,u=void 0===s?"global":s,l=r.id,f=void 0===l?Object(a.uniqueId)(u):l,d=r.actions,v=void 0===d?[]:d,m=r.type,b=void 0===m?"default":m,y=r.__unstableHTML,t=String(t),!o){p.next=8;break}return p.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return p.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:i,actions:v,type:b}};case 10:case"end":return p.stop()}}),h)}function m(e,t){return v("success",e,t)}function b(e,t){return v("info",e,t)}function y(e,t){return v("error",e,t)}function g(e,t){return v("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var w=[];function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||w}var j=r(127),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(c.registerStore)("core/notices",{reducer:f,actions:n,selectors:o,controls:k})},72:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},73:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,c=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:i,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var c=t[n],i=c.obj[c.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],l=i[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:i,prop:u}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],c=0;c<r.length;++c)void 0!==r[c]&&n.push(r[c]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r){if(0===e.length)return e;var n=e;if("symbol"==typeof e?n=Symbol.prototype.toString.call(e):"string"!=typeof e&&(n=String(e)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",i=0;i<n.length;++i){var a=n.charCodeAt(i);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?o+=n.charAt(i):a<128?o+=c[a]:a<2048?o+=c[192|a>>6]+c[128|63&a]:a<55296||a>=57344?o+=c[224|a>>12]+c[128|a>>6&63]+c[128|63&a]:(i+=1,a=65536+((1023&a)<<10|1023&n.charCodeAt(i)),o+=c[240|a>>18]+c[128|a>>12&63]+c[128|a>>6&63]+c[128|63&a])}return o},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)},merge:function e(t,r,c){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(c&&(c.plainObjects||c.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return o(t)&&!o(r)&&(a=i(t,c)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,c):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var i=r[o];return n.call(t,o)?t[o]=e(t[o],i,c):t[o]=i,t}),a)}}},733:function(e,t){!function(){e.exports=this.wc.csvExport}()},749:function(e,t,r){"use strict";(function(e){var n=r(88),o="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,c=e.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(n.a)("(prefers-reduced-motion: reduce)")};t.a=c}).call(this,r(47))},75:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(12),o=r(14),c=r(9),i=r(7),a=r(11),s=r(4),u=r(10),l=r(0),f=r(32);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var p=function(e){Object(u.a)(p,e);var t,r=(t=p,function(){var e,r=Object(s.a)(t);if(d()){var n=Object(s.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(a.a)(this,e)});function p(){return Object(c.a)(this,p),r.apply(this,arguments)}return Object(i.a)(p,[{key:"render",value:function(){var e,t=this.props,r=t.icon,c=t.size,i=void 0===c?20:c,a=t.className,s=Object(o.a)(t,["icon","size","className"]);switch(r){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="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";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+r,a].filter(Boolean).join(" ");return Object(l.createElement)(f.b,Object(n.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.a,{d:e}))}}]),p}(l.Component)},76:function(e,t,r){e.exports=r(436)},78:function(e,t){!function(){e.exports=this.ReactDOM}()},79:function(e,t,r){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},8:function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var c=typeof o;if("string"===c||"number"===c)e.push(o);else if(Array.isArray(o)&&o.length){var i=r.apply(null,o);i&&e.push(i)}else if("object"===c)for(var a in o)t.call(o,a)&&o[a]&&e.push(a)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},80:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},82:function(e,t,r){"use strict";var n=r(12),o=r(19),c=r(14),i=r(0),a=r(8),s=r.n(a),u=r(95),l=r(45),f=r(31),d=r(59),p=r(208),h=r(209),v=r(6);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r,n,o,c,i){var a=t.width,s="rtl"===document.documentElement.dir;"left"===r&&s?r="right":"right"===r&&s&&(r="left"),"left"===n&&s?n="right":"right"===n&&s&&(n="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-a/2>0?a/2:u)+(u+a/2>window.innerWidth?window.innerWidth-u:a/2)},f=e.left;"right"===n?f=e.right:"middle"!==c&&(f=u);var d=e.right;"left"===n?d=e.left:"middle"!==c&&(d=u);var p,h={popoverLeft:f,contentWidth:f-a>0?a:f},v={popoverLeft:d,contentWidth:d+a>window.innerWidth?window.innerWidth-d:a},m=r,b=null;if(!o)if("center"===r&&l.contentWidth===a)m="center";else if("left"===r&&h.contentWidth===a)m="left";else if("right"===r&&v.contentWidth===a)m="right";else{var y="left"===(m=h.contentWidth>v.contentWidth?"left":"right")?h.contentWidth:v.contentWidth;b=y!==a?y:null}if(p="center"===m?l.popoverLeft:"left"===m?h.popoverLeft:v.popoverLeft,i){var g=i.getBoundingClientRect();p=Math.min(p,g.right-a)}return{xAxis:m,popoverLeft:p,contentWidth:b}}function g(e,t,r,n,o,c,i){var a=t.height;if(o){var s=(Object(u.b)(c)||document.body).getBoundingClientRect();if(e.top-a<=s.top)return{yAxis:r,popoverTop:Math.min(e.bottom-i,s.top+a-i)}}var l=e.top+e.height/2;"bottom"===n?l=e.bottom:"top"===n&&(l=e.top);var f={popoverTop:l,contentHeight:(l-a/2>0?a/2:l)+(l+a/2>window.innerHeight?window.innerHeight-l:a/2)},d={popoverTop:e.top,contentHeight:e.top-10-a>0?a:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+a>window.innerHeight?window.innerHeight-10-e.bottom:a},h=r,v=null;if(!o)if("middle"===r&&f.contentHeight===a)h="middle";else if("top"===r&&d.contentHeight===a)h="top";else if("bottom"===r&&p.contentHeight===a)h="bottom";else{var m="top"===(h=d.contentHeight>p.contentHeight?"top":"bottom")?d.contentHeight:p.contentHeight;v=m!==a?m:null}return{yAxis:h,popoverTop:"middle"===h?f.popoverTop:"top"===h?d.popoverTop:p.popoverTop,contentHeight:v}}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",n=arguments.length>3?arguments[3]:void 0,c=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=r.split(" "),u=Object(o.a)(s,3),l=u[0],f=u[1],d=void 0===f?"center":f,p=u[2],h=g(e,t,l,p,n,c,i),v=y(e,t,d,p,n,h.yAxis,a);return b({},v,{},h)}var w=r(86),z=r(83),j=r(9),k=r(7),M=r(11),H=r(4),E=r(10),V=r(84);function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var x=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(C()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){return Object(j.a)(this,n),r.apply(this,arguments)}return Object(k.a)(n,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),n}(i.Component),S=Object(V.a)(x),P=r(67);function _(e){return function(){var t,r=Object(H.a)(e);if(R()){var n=Object(H.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object(M.a)(this,t)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,r=void 0===t?document:t,n=e.className,o=void 0===n?"lockscroll":n,c=0,a=0;function s(e){var t=r.scrollingElement||r.body;e&&(a=t.scrollTop);var n=e?"add":"remove";t.classList[n](o),r.documentElement.classList[n](o),e||(t.scrollTop=a)}function u(){0===c&&s(!0),++c}function l(){1===c&&s(!1),--c}return function(e){Object(E.a)(r,e);var t=_(r);function r(){return Object(j.a)(this,r),t.apply(this,arguments)}return Object(k.a)(r,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),r}(i.Component)}(),A=r(85),T=Object(i.createContext)({slots:{},fills:{},registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){var t=Object(i.useContext)(T),r=t.slots[e]||{},n=t.fills[e],o=Object(i.useMemo)((function(){return n||[]}),[n]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{updateSlot:Object(i.useCallback)((function(r,n){t.updateSlot(e,r,n)}),[e,t.updateSlot]),unregisterSlot:Object(i.useCallback)((function(r){t.unregisterSlot(e,r)}),[e,t.unregisterSlot]),fills:o,registerFill:Object(i.useCallback)((function(r){t.registerFill(e,r)}),[e,t.registerFill]),unregisterFill:Object(i.useCallback)((function(r){t.unregisterFill(e,r)}),[e,t.unregisterFill])})}var F=r(5),I=r(2),q=r(15),U=r(40);function B(e){var t=function(e,t){if("object"!==Object(U.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Object(U.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(U.a)(t)?t:String(t)}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e){var t,r,n,a,s,u,l,f,d,p,h,m,b=e.children,y=(t=Object(i.useState)({}),r=Object(o.a)(t,2),n=r[0],a=r[1],s=Object(i.useState)({}),u=Object(o.a)(s,2),l=u[0],f=u[1],d=Object(i.useCallback)((function(e,t,r){a((function(n){var o=n[e]||{};return $({},n,Object(v.a)({},e,$({},o,{ref:t||o.ref,fillProps:r||o.fillProps||{}})))}))}),[]),p=Object(i.useCallback)((function(e,t){a((function(r){var n=r[e],o=Object(c.a)(r,[e].map(B));return(null==n?void 0:n.ref)===t?o:r}))}),[]),h=Object(i.useCallback)((function(e,t){f((function(r){return $({},r,Object(v.a)({},e,[].concat(Object(q.a)(r[e]||[]),[t])))}))}),[]),m=Object(i.useCallback)((function(e,t){f((function(r){return r[e]?$({},r,Object(v.a)({},e,r[e].filter((function(e){return e!==t})))):r}))}),[]),Object(i.useMemo)((function(){return{slots:n,fills:l,registerSlot:d,updateSlot:d,unregisterSlot:p,registerFill:h,unregisterFill:m}}),[n,l,d,p,h,m]));return Object(i.createElement)(T.Provider,{value:y},b)}function Q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var K=Object(i.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Z=K.Provider,J=K.Consumer;i.Component;function Y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var X=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(Y()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){var e;return Object(j.a)(this,n),(e=r.apply(this,arguments)).bindNode=e.bindNode.bind(Object(F.a)(e)),e}return Object(k.a)(n,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.name,n=t.unregisterSlot,o=t.registerSlot;e.name!==r&&(n(e.name),o(r,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.name,n=e.fillProps,o=void 0===n?{}:n,c=e.getFills,a=Object(I.map)(c(r,this),(function(e){var t=e.occurrence,r=Object(I.isFunction)(e.children)?e.children(o):e.children;return i.Children.map(r,(function(e,r){if(!e||Object(I.isString)(e))return e;var n="".concat(t,"---").concat(e.key||r);return Object(i.cloneElement)(e,{key:n})}))})).filter(Object(I.negate)(i.isEmptyElement));return Object(i.createElement)(i.Fragment,null,Object(I.isFunction)(t)?t(a):a)}}]),n}(i.Component),ee=function(e){return Object(i.createElement)(J,null,(function(t){var r=t.registerSlot,o=t.unregisterSlot,c=t.getFills;return Object(i.createElement)(X,Object(n.a)({},e,{registerSlot:r,unregisterSlot:o,getFills:c}))}))},te=0;function re(e){var t=e.name,r=e.children,n=e.registerFill,c=e.unregisterFill,a=function(e){var t=Object(i.useContext)(K),r=t.getSlot,n=t.subscribe,c=Object(i.useState)(r(e)),a=Object(o.a)(c,2),s=a[0],u=a[1];return Object(i.useEffect)((function(){return u(r(e)),n((function(){u(r(e))}))}),[e]),s}(t),s=Object(i.useRef)({name:t,children:r});return s.current.occurrence||(s.current.occurrence=++te),Object(i.useLayoutEffect)((function(){return n(t,s.current),function(){return c(t,s.current)}}),[]),Object(i.useLayoutEffect)((function(){s.current.children=r,a&&a.forceUpdate()}),[r]),Object(i.useLayoutEffect)((function(){t!==s.current.name&&(c(s.current.name,s.current),s.current.name=t,n(t,s.current))}),[t]),a&&a.node?(Object(I.isFunction)(r)&&(r=r(a.props.fillProps)),Object(i.createPortal)(r,a.node)):null}var ne=function(e){return Object(i.createElement)(J,null,(function(t){var r=t.registerFill,o=t.unregisterFill;return Object(i.createElement)(re,Object(n.a)({},e,{registerFill:r,unregisterFill:o}))}))},oe=r(65),ce=r.n(oe);function ie(e){var t=e.name,r=e.fillProps,o=void 0===r?{}:r,a=e.as,s=void 0===a?"div":a,u=Object(c.a)(e,["name","fillProps","as"]),l=Object(i.useContext)(T),f=Object(i.useRef)(),d=D(t);return Object(i.useLayoutEffect)((function(){return l.registerSlot(t,f,o),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(i.useLayoutEffect)((function(){d.fillProps&&!ce()(d.fillProps,o)&&l.updateSlot(t,f,o)})),Object(i.createElement)(s,Object(n.a)({ref:f},u))}function ae(e){var t=e.name,r=e.children,n=D(t),o=Object(i.useRef)();return Object(i.useEffect)((function(){return n.registerFill(o),function(){n.unregisterFill(o)}}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof r&&(r=r(n.fillProps)),Object(i.createPortal)(r,n.ref.current)):null}function se(e){var t=e.bubblesVirtually,r=Object(c.a)(e,["bubblesVirtually"]);return t?Object(i.createElement)(ie,r):Object(i.createElement)(ee,r)}function ue(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ne,e),Object(i.createElement)(ae,e))}var le=function(e){var t=e.type,r=e.options,n=void 0===r?{}:r,c=e.children;if("appear"===t){var i,a=n.origin,u=(void 0===a?"top":a).split(" "),l=Object(o.a)(u,2),f=l[0],d=l[1],p=void 0===d?"center":d;return c({className:s()("components-animate__appear",(i={},Object(v.a)(i,"is-from-"+p,"center"!==p),Object(v.a)(i,"is-from-"+f,"middle"!==f),i))})}if("slide-in"===t){var h=n.origin,m=void 0===h?"left":h;return c({className:s()("components-animate__slide-in","is-from-"+m)})}return c("loading"===t?{className:s()("components-animate__loading")}:{})},fe=Object(z.a)(Object(w.a)((function(e){return e.children})));function de(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(r){if(!e.current)return;return r(e.current)}if(!1!==n){if(!n)return;if(n instanceof window.Range)return Object(u.a)(n);if(n instanceof window.Element){var c=n.getBoundingClientRect();return o?c:pe(c,n)}var i=n.top,a=n.bottom,s=i.getBoundingClientRect(),l=a.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return o?f:pe(f,n)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:pe(p,d)}}function pe(e,t){var r=window.getComputedStyle(t),n=r.paddingTop,o=r.paddingBottom,c=r.paddingLeft,i=r.paddingRight,a=n?parseInt(n,10):0,s=o?parseInt(o,10):0,u=c?parseInt(c,10):0,l=i?parseInt(i,10):0;return{x:e.left+u,y:e.top+a,width:e.width-u-l,height:e.height-a-s,left:e.left+u,right:e.right-l,top:e.top+a,bottom:e.bottom-s}}function he(e,t,r){r?e.getAttribute(t)!==r&&e.setAttribute(t,r):e.hasAttribute(t)&&e.removeAttribute(t)}function ve(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==r&&(e.style[t]=r)}function me(e,t,r){r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var be=function(e){var t=e.headerTitle,r=e.onClose,a=e.onKeyDown,u=e.children,v=e.className,m=e.noArrow,b=void 0===m||m,y=e.isAlternate,g=e.position,w=void 0===g?"bottom right":g,z=(e.range,e.focusOnMount),j=void 0===z?"firstElement":z,k=e.anchorRef,M=e.shouldAnchorIncludePadding,H=e.anchorRect,E=e.getAnchorRect,V=e.expandOnMobile,C=e.animate,x=void 0===C||C,_=e.onClickOutside,R=e.onFocusOutside,T=e.__unstableSticky,N=e.__unstableSlotName,F=void 0===N?"Popover":N,I=e.__unstableAllowVerticalSubpixelPosition,q=e.__unstableAllowHorizontalSubpixelPosition,U=e.__unstableFixedPosition,B=void 0===U||U,W=e.__unstableBoundaryParent,$=Object(c.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition","__unstableBoundaryParent"]),G=Object(i.useRef)(null),Q=Object(i.useRef)(null),K=Object(i.useRef)(),Z=Object(i.useRef)(),J=Object(p.a)("medium","<"),Y=Object(i.useState)(),X=Object(o.a)(Y,2),ee=X[0],te=X[1],re=D(F),ne=V&&J;b=ne||b,Object(i.useEffect)((function(){if(ne)return me(K.current,"is-without-arrow",b),me(K.current,"is-alternate",y),he(K.current,"data-x-axis"),he(K.current,"data-y-axis"),ve(K.current,"top"),ve(K.current,"left"),ve(Q.current,"maxHeight"),ve(Q.current,"maxWidth"),void ve(K.current,"position");var e,t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(K.current&&Q.current){var r=de(G,H,E,k,M);if(r){Z.current||(Z.current=Q.current.getBoundingClientRect());var n,o,c=0;if(B)ve(K.current,"position");else{ve(K.current,"position","absolute");var i=K.current.offsetParent,a=i.getBoundingClientRect();c=a.top,r=new window.DOMRect(r.left-a.left,r.top-a.top,r.width,r.height)}if(W)n=null===(o=K.current.closest(".popover-slot"))||void 0===o?void 0:o.parentNode;var s=O(r,Z.current,w,T,K.current,c,n),u=s.popoverTop,l=s.popoverLeft,f=s.xAxis,d=s.yAxis,p=s.contentHeight,h=s.contentWidth;"number"==typeof u&&"number"==typeof l&&(t&&I?(ve(K.current,"left",l+"px"),ve(K.current,"top"),ve(K.current,"transform","translateY(".concat(u,"px)"))):t&&q?(ve(K.current,"top",u+"px"),ve(K.current,"left"),ve(K.current,"transform","translate(".concat(l,"px)"))):(ve(K.current,"top",u+"px"),ve(K.current,"left",l+"px"),ve(K.current,"transform"))),me(K.current,"is-without-arrow",b||"center"===f&&"middle"===d),me(K.current,"is-alternate",y),he(K.current,"data-x-axis",f),he(K.current,"data-y-axis",d),ve(Q.current,"maxHeight","number"==typeof p?p+"px":""),ve(Q.current,"maxWidth","number"==typeof h?h+"px":"");var v={top:"bottom",bottom:"top"},m={left:"right",right:"left"},g=v[d]||"middle",z=m[f]||"center";te(z+" "+g)}}},n=window.setTimeout(r),o=window.setInterval(r,500),c=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(r)};window.addEventListener("click",c),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0);var i=I||q;return i&&(t=new window.MutationObserver((function(){return r({subpixels:!0})}))).observe(i,{attributes:!0}),function(){window.clearTimeout(n),window.clearInterval(o),window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0),window.removeEventListener("click",c),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[ne,H,E,k,M,w,T,I,q,W]),function(e,t){Object(i.useEffect)((function(){var r=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var r=l.a.tabbable.find(t.current)[0];r?r.focus():t.current.focus()}}),0);return function(){return clearTimeout(r)}}),[])}(j,Q);var oe=function(e){e.keyCode===f.b&&r&&(e.stopPropagation(),r()),a&&a(e)};var ce=Object(i.createElement)(S,{onFocusOutside:function(e){if(R)R(e);else if(_){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(d.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),_(t)}else r&&r()}},Object(i.createElement)(le,{type:x&&ee?"appear":null,options:{origin:ee}},(function(e){var o=e.className;return Object(i.createElement)(A.a,Object(n.a)({className:s()("components-popover",v,o,{"is-expanded":ne,"is-without-arrow":b,"is-alternate":y})},$,{onKeyDown:oe,ref:K}),ne&&Object(i.createElement)(L,null),ne&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(P.a,{className:"components-popover__close",icon:h.a,onClick:r})),Object(i.createElement)("div",{ref:Q,className:"components-popover__content",tabIndex:"-1"},u))})));return j&&(ce=Object(i.createElement)(fe,null,ce)),re.ref&&(ce=Object(i.createElement)(ue,{name:F},ce)),k||H?ce:Object(i.createElement)("span",{ref:G},ce)};be.Slot=function(e){var t=e.name,r=void 0===t?"Popover":t;return Object(i.createElement)(se,{bubblesVirtually:!0,name:r,className:"popover-slot"})};t.a=be},83:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(5),i=r(11),a=r(4),s=r(10),u=r(0),l=r(54),f=r(31),d=r(45);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=Object(l.a)((function(e){return function(t){Object(s.a)(h,t);var r,l=(r=h,function(){var e,t=Object(a.a)(r);if(p()){var n=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function h(){var e;return Object(n.a)(this,h),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(c.a)(e)),e}return Object(o.a)(h,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=d.a.tabbable.find(this.focusContainRef.current);if(t.length){var r=t[0],n=t[t.length-1];e.shiftKey&&e.target===r?(e.preventDefault(),n.focus()):(e.shiftKey||e.target!==n)&&t.includes(e.target)||(e.preventDefault(),r.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),h}(u.Component)}),"withConstrainedTabbing");t.a=h},84:function(e,t,r){"use strict";var n=r(12),o=r(9),c=r(7),i=r(5),a=r(11),s=r(4),u=r(10),l=r(0),f=r(2),d=r(54);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=["button","submit"];t.a=Object(d.a)((function(e){return function(t){Object(u.a)(v,t);var r,d=(r=v,function(){var e,t=Object(s.a)(r);if(p()){var n=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function v(){var e;return Object(o.a)(this,v),(e=d.apply(this,arguments)).bindNode=e.bindNode.bind(Object(i.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(i.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(i.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(i.a)(e)),e}return Object(c.a)(v,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,r=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(h,e.type)}return!1}(r)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(n.a)({ref:this.bindNode},this.props)))}}]),v}(l.Component)}),"withFocusOutside")},85:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0);function i(e){e.stopPropagation()}t.a=Object(c.forwardRef)((function(e,t){var r=e.children,a=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({},a,{ref:t,onMouseDown:i}),r)}))},86:function(e,t,r){"use strict";var n=r(15),o=r(9),c=r(7),i=r(11),a=r(4),s=r(10),u=r(0),l=r(2),f=r(54),d=r(5);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=Object(u.createContext)({focusHistory:[]}),v=h.Provider,m=h.Consumer;v.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var r=t;return e({})(r)}var f,d=t.onFocusReturn,p=void 0===d?l.stubTrue:d;return function(e){var t=function(t){Object(s.a)(d,t);var r,f=(r=d,function(){var e,t=Object(a.a)(r);if(b()){var n=Object(a.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function d(){var e;return Object(o.a)(this,d),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,r=this.ownFocusedElements;if(t&&!1!==p())for(var o,c=[].concat(Object(n.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(n.a)(r)))),[e]);o=c.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),d}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(r){return Object(u.createElement)(t,{childProps:e,focus:r})}))}}}),"withFocusReturn")},87:function(e,t,r){"use strict";(function(n){var o=r(55)(r(35));t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":(0,o.default)(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=r(119)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(47))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(19),o=r(0);function c(e){var t=Object(o.useState)(e&&window.matchMedia(e).matches),r=Object(n.a)(t,2),c=r[0],i=r[1];return Object(o.useEffect)((function(){if(e){var t=function(){return i(window.matchMedia(e).matches)};t();var r=window.matchMedia(e);return r.addListener(t),function(){r.removeListener(t)}}}),[e]),e&&c}},89:function(e,t,r){"use strict";var n=r(0),o=r(2);t.a=function(e){var t,r,c=e.shortcut,i=e.className;return c?(Object(o.isString)(c)&&(t=c),Object(o.isObject)(c)&&(t=c.display,r=c.ariaLabel),Object(n.createElement)("span",{className:i,"aria-label":r},t)):null}},9:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},94:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,c=r(73),i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=c.assign({default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}}},i)},95:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return i}));r(2);var n=window,o=(n.DOMParser,n.getComputedStyle,window.Node);o.TEXT_NODE,o.ELEMENT_NODE,o.DOCUMENT_POSITION_PRECEDING,o.DOCUMENT_POSITION_FOLLOWING;function c(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var r=t.parentNode,n=Array.from(r.childNodes).indexOf(t);(e=document.createRange()).setStart(r,n),e.setEnd(r,n)}var o=e.getClientRects()[0];if(!o){var c=document.createTextNode("​");(e=e.cloneRange()).insertNode(c),o=e.getClientRects()[0],c.parentNode.removeChild(c)}return o}function i(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return i(e.parentNode)}}},96:function(e,t,r){"use strict";var n=r(6),o=r(12),c=r(14),i=r(0),a=r(32),s=r(75);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=e.icon,r=void 0===t?null:t,n=e.size,u=Object(c.a)(e,["icon","size"]),f=n||20;if("string"==typeof r)return Object(i.createElement)(s.a,Object(o.a)({icon:r,size:f},u));if(r&&s.a===r.type)return Object(i.cloneElement)(r,l({size:f},u));var d=n||24;if("function"==typeof r)return r.prototype instanceof i.Component?Object(i.createElement)(r,l({size:d},u)):r(l({size:d},u));if(r&&("svg"===r.type||r.type===a.b)){var p=l({width:d,height:d},r.props,{},u);return Object(i.createElement)(a.b,p)}return Object(i.isValidElement)(r)?Object(i.cloneElement)(r,l({size:d},u)):r}},97:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(11),i=r(4),a=r(10),s=r(0),u=r(2),l=r(82),f=r(89);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var p=function(e){Object(a.a)(p,e);var t,r=(t=p,function(){var e,r=Object(i.a)(t);if(d()){var n=Object(i.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(c.a)(this,e)});function p(){var e;return Object(n.a)(this,p),(e=r.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var r=this.props.children;if(1===s.Children.count(r)){var n=s.Children.only(r);"function"==typeof n.props[e]&&n.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var r=this;return function(n){if(r.emitToChild(e,n),!(n.currentTarget.disabled||"focus"===n.type&&r.isInMouseDown)){r.delayedSetIsOver.cancel();var o=Object(u.includes)(["focus","mouseenter"],n.type);o!==r.state.isOver&&(t?r.delayedSetIsOver(o):r.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(r){t.emitToChild(e?"onMouseDown":"onMouseUp",r),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.position,n=e.text,o=e.shortcut;if(1!==s.Children.count(t))return t;var c=s.Children.only(t),i=this.state.isOver;return Object(s.cloneElement)(c,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(c.props.children,i&&Object(s.createElement)(l.a,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},n,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),p}(s.Component);t.a=p},98:function(e,t,r){"use strict";r.d(t,"a",(function(){return O})),r.d(t,"c",(function(){return z})),r.d(t,"b",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"d",(function(){return p}));var n=r(12);function o(e){return"/"===e.charAt(0)}function c(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var i=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&o(e),s=t&&o(t),u=a||s;if(e&&o(e)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";if(i.length){var l=i[i.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?c(i,d):".."===p?(c(i,d),f++):f&&(c(i,d),f--)}if(!u)for(;f--;f)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=a(t),o=a(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},u=r(79);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(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 d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function h(e,t,r,o){var c;"string"==typeof e?(c=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var c=t.indexOf("?");return-1!==c&&(r=t.substr(c),t=t.substr(0,c)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(c=Object(n.a)({},e)).pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==t&&void 0===c.state&&(c.state=t));try{c.pathname=decodeURI(c.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(c.key=r),o?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=i(c.pathname,o.pathname)):c.pathname=o.pathname:c.pathname||(c.pathname="/"),c}function v(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 m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var c="function"==typeof e?e(t,r):e;"string"==typeof c?"function"==typeof n?n(c,o):o(!0):o(!1!==c)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,r=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,c=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,v=i.getUserConfirmation,O=void 0===v?y:v,w=i.keyLength,z=void 0===w?6:w,j=e.basename?d(l(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,c=o.pathname+o.search+o.hash;return j&&(c=f(c,j)),h(c,n,r)}function M(){return Math.random().toString(36).substr(2,z)}var H=m();function E(e){Object(n.a)(D,e),D.length=r.length,H.notifyListeners(D.location,D.action)}function V(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,E();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?E({action:"POP",location:e}):function(e){var t=D.location,r=_.indexOf(t.key);-1===r&&(r=0);var n=_.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(x=!0,L(o))}(e)}))}}var P=k(g()),_=[P.key];function R(e){return j+p(e)}function L(e){r.go(e)}var A=0;function T(e){1===(A+=e)&&1===e?(window.addEventListener("popstate",V),c&&window.addEventListener("hashchange",C)):0===A&&(window.removeEventListener("popstate",V),c&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:r.length,action:"POP",location:P,createHref:R,push:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"PUSH",O,(function(e){if(e){var t=R(n),c=n.key,i=n.state;if(o)if(r.pushState({key:c,state:i},null,t),s)window.location.href=t;else{var a=_.indexOf(D.location.key),u=_.slice(0,a+1);u.push(n.key),_=u,E({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"REPLACE",O,(function(e){if(e){var t=R(n),c=n.key,i=n.state;if(o)if(r.replaceState({key:c,state:i},null,t),s)window.location.replace(t);else{var a=_.indexOf(D.location.key);-1!==a&&(_[a]=n.key),E({action:"REPLACE",location:n})}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=H.setPrompt(e);return N||(T(1),N=!0),function(){return N&&(N=!1,T(-1)),t()}},listen:function(e){var t=H.appendListener(e);return T(1),function(){T(-1),t()}}};return D}function w(e,t,r){return Math.min(Math.max(e,t),r)}function z(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,c=void 0===o?["/"]:o,i=t.initialIndex,a=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(n.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function d(){return Math.random().toString(36).substr(2,u)}var v=w(a,0,c.length-1),b=c.map((function(e){return h(e,void 0,"string"==typeof e?d():e.key||d())})),y=p;function g(e){var t=w(O.index+e,0,O.entries.length-1),n=O.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[v],index:v,entries:b,createHref:y,push:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=O.index+1,r=O.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(O.entries[O.index]=n,f({action:"REPLACE",location:n}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}}});
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 r,n,c=t[0],a=t[1],i=0,s=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&s.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(u&&u(t);s.length;)s.shift()()}var r={},n={20:0},o={20:0};function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{0:1,5:1,7:1,8:1,9:1,14:1,19:1,25:1,26:1,29:1,30:1,32:1,34:1,42:1,43:1,44:1,45:1}[e]&&t.push(n[e]=new Promise((function(t,r){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",a=c.p+o,i=document.getElementsByTagName("link"),s=0;s<i.length;s++){var u=(f=i[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===o||u===a))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===o||u===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var o=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=o,delete n[e],d.parentNode.removeChild(d),r(c)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){n[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=a);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=function(e){return c.p+"chunks/"+e+"."+{0:"b613ade91494d4c2a4aa",1:"e1c8e02fb4cc487e41ea",2:"9367ee984c36b762467c",3:"f7c0fca32cdac1ba4add",4:"27a2fa3f1ef8662ba455",5:"88800d5332efd00d661a",6:"1448f4d44ec82e35e704",7:"faa206feece10ddeef4c",8:"16acfdda3ee32511d882",9:"7678440a2bf8e0b752a5",10:"c34bdb3643ebc08cb134",11:"b3e2eb89a0181fa5e2f2",12:"489a50e2cc0a8cb62038",13:"2a0a9c9a9543a94e0408",14:"704d2d25bcf25d90e228",15:"413a29db1c4e7f2eefdb",16:"1a3c8e4420d552b12da0",17:"b72560c96ee6b8cc0379",18:"78f9c9760c28db4b928b",19:"fa18e63feec2f7702031",24:"1d2c0b4dcca1ff64b922",25:"22002b888fd496ab0bcb",26:"9af1b0a1d395a05d5392",29:"613f183c0d8d6d96a7c2",30:"1da8d920210d8e51aaf4",32:"8359029241f4148734e6",34:"1eae1c71b0cf45e6ae0c",42:"cee7c33db46f1ba078f3",43:"358da3f5517bb0e2c2f0",44:"e536ad012d121468cce4",45:"d4b033fe8c12f18923f4",46:"10842de43f92da5a9043",47:"29a2aff1aafb89a2d76b",48:"eb11cd8899cc6d720e4b",49:"2c848b23640e3ac781cf"}[e]+".min.js"}(e);var u=new Error;i=function(t){s.onerror=s.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}o[e]=void 0}};var l=setTimeout((function(){i({type:"timeout",target:s})}),12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var u=i;return c(c.s=434)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,r){e.exports=r(113)()},10:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}r.d(t,"a",(function(){return o}))},101:function(e,t,r){"use strict";var n=r(80),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(62),l=r.n(u),f=r(39),d=r.n(f),p=r(42),h=r.n(p),v=r(26),m=r.n(v),b=r(0),y=r(2),g=r(65),O=r.n(g),w=r(54),z=r(18);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h()(this,r)}}t.a=function(e){return Object(w.a)((function(t){var r={},n=function(n){d()(i,n);var c=j(i);function i(e){var t;return a()(this,i),(t=c.call(this,e)).onStoreChange=t.onStoreChange.bind(l()(t)),t.subscribe(e.registry),t.onUnmounts={},t.mergeProps=t.getNextMergeProps(e),t}return s()(i,[{key:"getNextMergeProps",value:function(t){var n=this,o={},c=[],a={component:this},i=e((function(e){return o[e]||function(e,t,r){var a=t.select(e);if(Object(y.isFunction)(a)){var i=a(r),s=i.selectors,u=i.onComplete,l=i.onUnmount;u&&c.push(u),l&&(n.onUnmounts[e]=l),o[e]=s}else o[e]=a}(e,t.registry,a),o[e]}),t.ownProps)||r;return c.forEach((function(e){return e()})),i}},{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){var e=this;this.canRunSelection=!1,this.unsubscribe(),Object.keys(this.onUnmounts).forEach((function(t){return e.onUnmounts[t]()}))}},{key:"shouldComponentUpdate",value:function(e,t){var r=e.registry!==this.props.registry;r&&(this.unsubscribe(),this.subscribe(e.registry));var n=r||!O()(this.props.ownProps,e.ownProps);if(this.state===t&&!n)return!1;if(n){var o=this.getNextMergeProps(e);O()(this.mergeProps,o)||(this.mergeProps=o)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var e=this.getNextMergeProps(this.props);O()(this.mergeProps,e)||(this.mergeProps=e,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(e){this.unsubscribe=e.subscribe(this.onStoreChange)}},{key:"render",value:function(){return Object(b.createElement)(t,o()({},this.props.ownProps,this.mergeProps))}}]),i}(b.Component);return function(e){return Object(b.createElement)(z.RegistryConsumer,null,(function(t){return Object(b.createElement)(n,{ownProps:e,registry:t})}))}}),"withSelect")}},108:function(e,t,r){"use strict";var n=r(24);r.d(t,"k",(function(){return n.isoDateFormat})),r.d(t,"a",(function(){return n.appendTimestamp})),r.d(t,"h",(function(){return n.getDateParamsFromQuery})),r.d(t,"f",(function(){return n.getCurrentDates})),r.d(t,"j",(function(){return n.getPreviousDate})),r.d(t,"d",(function(){return n.getAllowedIntervalsForQuery})),r.d(t,"i",(function(){return n.getIntervalForQuery})),r.d(t,"e",(function(){return n.getChartTypeForQuery})),r.d(t,"c",(function(){return n.defaultTableDateFormat})),r.d(t,"g",(function(){return n.getDateFormatsForInterval})),r.d(t,"b",(function(){return n.dateValidationMessages}))},109:function(e,t,r){"use strict";function n(e){return function(){return e}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(40),o=r(5);function c(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},111:function(e,t){!function(){e.exports=this.wc.currency}()},113:function(e,t,r){"use strict";var n=r(114);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,c,a){if(a!==n){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={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:c,resetWarningCache:o};return r.PropTypes=r,r}},114:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:function(e,t,r){"use strict";var n=r(73),o=r(94),c=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,i(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,c,a,s,l,f,p,h,v,m,b){var y,g=t;if("function"==typeof l?g=l(r,g):g instanceof Date?g=h(g):"comma"===o&&i(g)&&(g=g.join(",")),null===g){if(c)return s&&!m?s(r,d.encoder,b,"key"):r;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||n.isBuffer(g))return s?[v(m?r:s(r,d.encoder,b,"key"))+"="+v(s(g,d.encoder,b,"value"))]:[v(r)+"="+v(String(g))];var O,w=[];if(void 0===g)return w;if(i(l))O=l;else{var z=Object.keys(g);O=f?z.sort(f):z}for(var j=0;j<O.length;++j){var k=O[j];a&&null===g[k]||(i(g)?u(w,e(g[k],"function"==typeof o?o(r,k):r,o,c,a,s,l,f,p,h,v,m,b)):u(w,e(g[k],r+(p?"."+k:"["+k+"]"),o,c,a,s,l,f,p,h,v,m,b)))}return w};e.exports=function(e,t){var r,n=e,s=function(e){if(!e)return d;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||d.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 r=o.default;if(void 0!==e.format){if(!c.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],a=d.filter;return("function"==typeof e.filter||i(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof s.filter?n=(0,s.filter)("",n):i(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var v=0;v<r.length;++v){var m=r[v];s.skipNulls&&null===n[m]||u(f,p(n[m],m,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},116:function(e,t,r){"use strict";var n=r(73),o=Object.prototype.hasOwnProperty,c=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=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},u=function(e,t){if(c(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},l=function(e,t,r,n){if(e){var c=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(c),u=i?c.slice(0,i.index):c,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(i=a.exec(c))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(i[1])}return i&&l.push("["+c.slice(i.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),c=e.length-1;c>=0;--c){var a,i=e[c];if("[]"===i&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&i!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(l,t,r,n)}};e.exports=function(e,t){var r=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||n.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 r.plainObjects?Object.create(null):{};for(var f="string"==typeof e?function(e,t){var r,l={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,d),h=-1,v=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?v="utf-8":"utf8=%26%2310003%3B"===p[r]&&(v="iso-8859-1"),h=r,r=p.length);for(r=0;r<p.length;++r)if(r!==h){var m,b,y=p[r],g=y.indexOf("]="),O=-1===g?y.indexOf("="):g+1;-1===O?(m=t.decoder(y,a.decoder,v,"key"),b=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,O),a.decoder,v,"key"),b=u(s(y.slice(O+1),t),(function(e){return t.decoder(e,a.decoder,v,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===v&&(b=i(b)),y.indexOf("[]=")>-1&&(b=c(b)?[b]:b),o.call(l,m)?l[m]=n.combine(l[m],b):l[m]=b}return l}(e,r):e,d=r.plainObjects?Object.create(null):{},p=Object.keys(f),h=0;h<p.length;++h){var v=p[h],m=l(v,f[v],r,"string"==typeof e);d=n.merge(d,m,r)}return n.compact(d)}},117:function(e,t,r){"use strict";var n=Object.keys;e.exports=function(e,t){var r,o,c,a,i;if(e===t)return!0;if(r=n(e),o=n(t),r.length!==o.length)return!1;for(c=0;c<r.length;){if(void 0===(i=e[a=r[c]])&&!t.hasOwnProperty(a)||i!==t[a])return!1;c++}return!0}},118:function(e,t,r){"use strict";e.exports=function(e,t){var r;if(e===t)return!0;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}},119:function(e,t,r){"use strict";e.exports=function(e){function t(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){var r;function a(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(a.enabled){var c=a,i=Number(new Date),s=i-(r||i);c.diff=s,c.prev=r,c.curr=i,r=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;u++;var o=n.formatters[r];if("function"==typeof o){var a=t[u];e=o.call(c,a),t.splice(u,1),u--}return e})),n.formatArgs.call(c,t);var l=c.log||n.log;l.apply(c,t)}}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=o,a.extend=c,"function"==typeof n.init&&n.init(a),n.instances.push(a),a}function o(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function c(e,t){var r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){var e=[].concat(n.names.map(a),n.skips.map(a).map((function(e){return"-"+e}))).join(",");return n.enable(""),e},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(t=0;t<o;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var c=n.instances[t];c.enabled=n.enabled(c.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=r(120),Object.keys(e).forEach((function(t){n[t]=e[t]})),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},120:function(e,t){var r=1e3,n=6e4,o=60*n,c=24*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*c;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=c)return a(e,t,c,"day");if(t>=o)return a(e,t,o,"hour");if(t>=n)return a(e,t,n,"minute");if(t>=r)return a(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=c)return Math.round(e/c)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},126:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(70);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var r=document,n=r.body;return n&&n.appendChild(t),t}var c="";function a(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),c===e&&(e+=" "),c=e,e}(e);var r=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}Object(n.a)((function(){var e=document.getElementById("a11y-speak-assertive"),t=document.getElementById("a11y-speak-polite");null===e&&o("assertive"),null===t&&o("polite")}))},129:function(e,t,r){var n=r(273);e.exports=function(e,t){if(null==e)return{};var r,o,c=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},13:function(e,t){!function(){e.exports=this.React}()},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(46);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},147:function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},148:function(e,t,r){"use strict";var n=r(13),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,c=r(109),a=r(149),i=r(150),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function l(e,t,r,n){var c,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===o)return r(n,e,""===t?"."+u(e,0):t),1;var f=0,d=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)f+=l(c=e[p],d+u(c,p),r,n);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var v,m=h.call(e),b=0;!(v=m.next()).done;)f+=l(c=v.value,d+u(c,b++),r,n)}else if("object"===i){0;var y=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function d(e){return(""+e).replace(f,"$&/")}var p,h,v=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=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 y(e,t,r,n){this.result=e,this.keyPrefix=t,this.func=r,this.context=n,this.count=0}function g(e,t,r){var o,a,i=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,i,r,c.thatReturnsArgument):null!=f&&(n.isValidElement(f)&&(o=f,a=s+(!f.key||t&&t.key===f.key?"":d(f.key)+"/")+r,f=n.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),i.push(f))}function O(e,t,r,n,o){var c="";null!=r&&(c=d(r)+"/");var a=y.getPooled(t,c,n,o);!function(e,t,r){null==e||l(e,"",t,r)}(e,g,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,r,n){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)},(h=y).instancePool=[],h.getPooled=p||v,h.poolSize||(h.poolSize=10),h.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(n.isValidElement(e))return i(!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 r in e)O(e[r],t,r,c.thatReturnsArgument);return t}},149:function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,c,a,i){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 u=[r,n,o,c,a,i],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(30);var o=r(49);function c(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},150:function(e,t,r){"use strict";var n=r(109);e.exports=n},151:function(e,t,r){"use strict";function n(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(n)}},152:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},16:function(e,t){!function(){e.exports=this.moment}()},169:function(e,t,r){"use strict";var n=r(2);t.a=n.flowRight},17:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},170:function(e,t,r){"use strict";r.d(t,"a",(function(){return x})),r.d(t,"b",(function(){return M})),r.d(t,"c",(function(){return k}));var n=r(76),o=r.n(n),c=r(68),a=r(12),i=r(87),s=r.n(i),u=r(2);function l(e,t,r,n,o){void 0===r&&(r=500),void 0===n&&(n=3e4),void 0===o&&(o=new Date);var c={updates:[],nextUpdate:n};return function(e,t,r,n){Object.keys(t).forEach((function(o){var c=t[o],a=r[o]||{};!function(e,t,r,n,o){var c=n.lastRequested,a=n.lastReceived,i=c&&(!a||c>a),s=f(r.timeout,n,o),u=d(r.freshness,n,o),l=i&&0>=u?s:u;e.nextUpdate=Math.min(e.nextUpdate,l),l<0&&e.updates.push(t)}(e,o,c,a,n)}))}(c,e,t,o),c.nextUpdate=Math.max(c.nextUpdate,r),c}function f(e,t,r){var n=t.lastRequested||Number.MIN_SAFE_INTEGER,o=t.lastReceived||Number.MIN_SAFE_INTEGER;return e&&n&&n>o?e-(r-n):Number.MAX_SAFE_INTEGER}function d(e,t,r){var n=t.lastReceived;return e&&n?e-(r-n):e?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER}var p=r(46),h="overdue",v="fetching",m="stale",b="fresh",y="notRequired";function g(e){var t=e.state.resources||{},r=e.requirementsByResource;return Object(u.union)(Object.keys(t),Object.keys(r)).reduce((function(n,o){var c=t[o]||{},i=c.data,s=function(e,t){if(!t)return y;var r=t.freshness,n=t.timeout,o=new Date,c=d(r,e,o);if(e&&e.lastRequested>e.lastReceived){return f(n,e,o)<0?h:v}if(c<0)return m;return b}(c,r[o]),l=function(e,t,r){var n=new Date;switch(e){case h:return"Timed out for "+O(-f(r.timeout,t,n));case v:return O(f(r.timeout,t,n))+" until timeout";case m:return"Stale for "+O(-d(r.freshness,t,n));case b:return"Fresh for "+O(d(r.freshness,t,n));case y:default:return"Resource is not fetched directly."}}(s,c,r[o]);if(n[o]={status:s,summary:l,data:i},r[o]){var g=function(e){void 0===e&&(e={});var t=e,r=t.freshness,n=t.timeout,o=Object(p.a)(t,["freshness","timeout"]);return Object(a.a)({freshness:O(r),timeout:O(n)},o)}(r[o]),w=function(e,t){var r=[];return e.forEach((function(e,n){Object(u.find)(e,{resourceName:t})&&r.push(n)})),r.length?r:null}(e.requirementsByComponent,o);n[o].combinedRequirement=g,n[o].componentsRequiring=w}return n}),{})}function O(e){if(!e)return"";var t=Math.floor(e/36e5);e-=36e5*t;var r=Math.floor(e/6e4),n=(e-=6e4*r)/1e3,o="";return o=t?t+" hours ":o,o=r?""+o+r+" mins ":o,o=n?""+o+n+" secs ":o}function w(e){var t=Object.keys(e),r=[],n=0,o=0,c=0,a=0,i=0;t.forEach((function(t){var s=e[t];switch(r=Object(u.union)(r,s.componentsRequiring),s.status){case h:c++;break;case v:a++;break;case m:o++;break;case b:n++;break;case y:i++}}));var s=t.length+" resources, "+r.length+" components ( ";return n&&(s+=n+" fresh "),o&&(s+=o+" stale "),i&&(s+=i+" not required "),c&&(s+=c+" timed out "),a&&(s+=a+" fetching "),s+=")"}var z={};function j(e){!0===window.__FRESH_DATA_DEV_INFO__&&(z[e.getName()]=function(e){var t=function(e){var t=[];return e.requirementsByComponent.forEach((function(e,r){t.push({component:r,requirements:e})})),t}(e),r=g(e);return{summary:w(r),resources:r,components:t}}(e),window.freshData||(window.freshData=z))}var k=1e3,M=60*k,H={freshness:Number.MAX_SAFE_INTEGER,timeout:20*k};function E(e){var t={};return e.forEach((function(e){e.forEach((function(e){var r=e.resourceName,n=Object(p.a)(e,["resourceName"]);!function(e,t,r){var n=e[r]||Object(a.a)({},H);(function(e,t){var r=e.freshness||H.freshness,n=e.timeout||H.timeout,o=t.freshness||Number.MAX_SAFE_INTEGER,c=t.timeout||Number.MAX_SAFE_INTEGER;e.freshness=Math.min(r,o),e.timeout=Math.min(n,c)})(n,t),e[r]=n}(t,n,r)}))})),t}function V(e,t){return window.setTimeout(e,t)}function C(e){return window.clearTimeout(e)}var x=function(e,t,r){var n=this;void 0===t&&(t=V),void 0===r&&(r=C),this.getName=function(){return n.name||"UID_"+n.uid},this.mapOperations=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=function(t,o){var c=e[r];return n.applyOperation(c,t,o)},t}),{})},this.setDataHandlers=function(e){var t=e.dataRequested,r=e.dataReceived;n.dataHandlers={dataRequested:t,dataReceived:r}},this.setState=function(e,t){void 0===t&&(t=new Date),n.state!==e&&(n.state=e,n.updateTimer(t),n.subscriptionCallbacks.forEach((function(e){return e(n)})),j(n))},this.subscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.debug("Attempting to add a subscription callback twice:",e),!1):(n.subscriptionCallbacks.add(e),e)},this.unsubscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.subscriptionCallbacks.delete(e),e):(n.debug("Attempting to remove a callback that is not subscribed:",e),!1)},this.getResource=function(e){return(n.state.resources||{})[e]||{}},this.requireResource=function(e){return function(t,r){return e.push(Object(a.a)({},t,{resourceName:r})),n.getResource(r)}},this.getMutations=function(){return n.mutations},this.getSelectors=function(e){return S(n.selectors,n.getResource,n.requireResource(e))},this.clearComponentRequirements=function(e,t){void 0===t&&(t=new Date),n.requirementsByComponent.delete(e),n.updateRequirementsByResource(t)},this.setComponentRequirements=function(e,t,r){void 0===r&&(r=new Date),n.requirementsByComponent.set(e,t),n.updateRequirementsByResource(r)},this.setComponentData=function(e,t,r){if(void 0===r&&(r=new Date),t){var o=[];t(n.getSelectors(o)),n.setComponentRequirements(e,o,r)}else n.clearComponentRequirements(e,r)},this.updateRequirementsByResource=function(e){void 0===e&&(e=new Date);var t=E(n.requirementsByComponent);Object(u.isEqual)(n.requirementsByResource,t)||(n.requirementsByResource=t,n.updateTimer(e))},this.updateRequirementsData=function(){var e=Object(c.a)(o.a.mark((function e(t){var r,c,a,i,s,f,d,p,h,v,m,b;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.requirementsByComponent,c=n.requirementsByResource,a=n.state,i=n.minUpdate,s=n.maxUpdate,f=a.resources||{},d=r.size,p=Object.keys(c).length,n.debug("Updating requirements for "+d+" components and "+p+" resources."),j(n),Object(u.isEmpty)(c)){e.next=20;break}if(h=l(c,f,i,s,t),v=h.nextUpdate,!((m=h.updates)&&m.length>0)){e.next=15;break}if(b=n.readOperationName,n.operations[b]){e.next=13;break}throw new Error('Operation "'+b+'" not found.');case 13:return e.next=15,n.operations[b](m);case 15:n.debug("Scheduling next update for "+v/1e3+" seconds."),j(n),n.updateTimer(t,v),e.next=21;break;case 20:n.timeoutId&&(n.debug("Unscheduling future updates"),j(n),n.updateTimer(t,null));case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.updateTimer=function(e,t){void 0===t&&(t=void 0);var r=n.requirementsByResource,o=n.state,c=n.minUpdate,a=n.maxUpdate,i=o.resources||{};void 0===t&&(t=l(r,i,c,a,e).nextUpdate),n.timeoutId&&(n.clearTimer(n.timeoutId),n.timeoutId=null),t&&(n.timeoutId=n.setTimer(n.updateRequirementsData,t))},this.applyOperation=function(){var e=Object(c.a)(o.a.mark((function e(t,r,a){var i,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n.dataRequested(r),i=t(r,a)||[],s=Object(u.isArray)(i)?i:[i],l=s.map(function(){var e=Object(c.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return r=e.sent,n.dataReceived(r),e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=7,Promise.all(l);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(0),n.debug("Error caught while applying operation: ",t),e.t0;case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t,r,n){return e.apply(this,arguments)}}(),this.dataRequested=function(e){if(n.dataHandlers)return n.dataHandlers.dataRequested(e),e;n.debug("Data requested before dataHandlers set. Disregarding.")},this.dataReceived=function(e){if(n.dataHandlers)return n.dataHandlers.dataReceived(e),e;n.debug("Data received before dataHandlers set. Disregarding.")};var i=e.operations,f=e.mutations,d=e.selectors,p=e.readOperationName||"read";this.uid=Object(u.uniqueId)(),this.name=e.name,this.debug=s()("fresh-data:api-client["+this.uid+"]"),this.debug("New ApiClient for apiSpec: ",e),this.operations=i&&this.mapOperations(i),this.mutations=f&&S(f,this.operations),this.selectors=d,this.readOperationName=p,this.dataHandlers=null,this.subscriptionCallbacks=new Set,this.requirementsByComponent=new Map,this.requirementsByResource={},this.minUpdate=500,this.maxUpdate=3e4,this.setTimer=t,this.clearTimer=r,this.timeoutId=null,this.state={},j(this)};function S(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return t[n]=e[n].apply(e,r),t}),{})}},172:function(e,t,r){var n=r(152);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},176:function(e,t,r){"use strict";e.exports=r(210)},18:function(e,t){!function(){e.exports=this.wp.data}()},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(49);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}return r}}(e,t)||Object(n.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},194:function(e,t,r){"use strict";var n=r(176),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={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},i={};function s(e){return n.isMemo(e)?a:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var i=s(t),v=s(r),m=0;m<a.length;++m){var b=a[m];if(!(c[b]||n&&n[b]||v&&v[b]||i&&i[b])){var y=d(r,b);try{u(t,b,y)}catch(e){}}}}return t}},196:function(e,t,r){"use strict";var n=r(3),o=r(48),c=r(0),a=r(23),i=r(197),s=Object(a.g)("manageStock","no"),u=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(16)]).then(r.bind(null,738))})),l=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(15)]).then(r.bind(null,739))})),f=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(14)]).then(r.bind(null,742))})),d=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(10)]).then(r.bind(null,737))})),p=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(11)]).then(r.bind(null,741))})),h=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(18)]).then(r.bind(null,740))})),v=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(13)]).then(r.bind(null,743))})),m=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(17)]).then(r.bind(null,735))})),b=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(12)]).then(r.bind(null,736))}));t.a=function(){var e=[{report:"revenue",title:Object(n.__)("Revenue",'woocommerce'),component:u},{report:"products",title:Object(n.__)("Products",'woocommerce'),component:l},{report:"orders",title:Object(n.__)("Orders",'woocommerce'),component:f},{report:"categories",title:Object(n.__)("Categories",'woocommerce'),component:d},{report:"coupons",title:Object(n.__)("Coupons",'woocommerce'),component:p},{report:"taxes",title:Object(n.__)("Taxes",'woocommerce'),component:h},{report:"downloads",title:Object(n.__)("Downloads",'woocommerce'),component:v},"yes"===s?{report:"stock",title:Object(n.__)("Stock",'woocommerce'),component:m}:null,{report:"customers",title:Object(n.__)("Customers",'woocommerce'),component:b},{report:"downloads",title:Object(n.__)("Downloads",'woocommerce'),component:v}].filter(Boolean);return Object(o.applyFilters)(i.REPORTS_FILTER,e)}},197:function(e,t,r){"use strict";r.r(t),r.d(t,"REPORTS_FILTER",(function(){return x}));var n=r(17),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(39),l=r.n(u),f=r(42),d=r.n(f),p=r(26),h=r.n(p),v=r(0),m=r(169),b=r(1),y=r.n(b),g=r(2),O=r(53),w=r(22),z=(r(439),r(261)),j=r(274),k=r(101),M=r(200),H=r(196);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=h()(e);if(t){var o=h()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d()(this,r)}}var x="woocommerce_admin_reports_list",S=function(e){var t=e.params,r=e.path;return t.report||r.replace(/^\/+/,"")},P=function(e){l()(r,e);var t=C(r);function r(){var e;return a()(this,r),(e=t.apply(this,arguments)).state={hasError:!1},e}return s()(r,[{key:"componentDidCatch",value:function(e){this.setState({hasError:!0}),console.warn(e)}},{key:"render",value:function(){if(this.state.hasError)return null;if(this.props.isError)return Object(v.createElement)(z.a,{isError:!0});var e=S(this.props),t=Object(g.find)(Object(H.a)(),{report:e});if(!t)return null;var r=t.component;return Object(v.createElement)(M.a.Provider,{value:Object(M.b)(Object(w.getQuery)())},Object(v.createElement)(r,this.props))}}]),r}(v.Component);P.propTypes={params:y.a.object.isRequired},t.default=Object(m.a)(Object(O.useFilters)(x),Object(k.a)((function(e,t){var r=Object(w.getQuery)();if(!r.search)return{};var n=S(t),c=Object(w.getSearchWords)(r),a="categories"===n&&"single_category"===r.filter?"products":n,i=Object(j.b)(e,a,c),s=i.isError,u=i.isRequesting,l=i.items,f=Object.keys(l);return f.length?{isError:s,isRequesting:u,query:V(V({},t.query),{},o()({},a,f.join(",")))}:{isError:s,isRequesting:u}})))(P)},199:function(e,t,r){"use strict";r.d(t,"c",(function(){return lt})),r.d(t,"b",(function(){return ht})),r.d(t,"a",(function(){return vt}));var n=r(80),o=r.n(n),c=r(17),a=r.n(c),i=r(129),s=r.n(i),u=r(38),l=r.n(u),f=r(37),d=r.n(f),p=r(39),h=r.n(p),v=r(42),m=r.n(v),b=r(26),y=r.n(b),g=r(0),O=r(169),w=r(18),z=r(60),j=r(13),k=r.n(j),M=r(1),H=r.n(M),E=r(98),V=r(126),C=r.n(V),x=r(411),S=r.n(x);function P(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(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var _=k.a.createContext||function(e,t){var r,n,o="__create-react-context-"+S()()+"__",c=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=P(t.props.value),t}C()(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((c=n)===(a=o)?0!==c||1/c==1/a:c!=c&&a!=a)?r=0:(r="function"==typeof t?t(n,o):1073741823,0!==(r|=0)&&this.emitter.set(e.value,r))}var c,a},n.render=function(){return this.props.children},r}(j.Component);c.childContextTypes=((r={})[o]=H.a.object.isRequired,r);var a=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}C()(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},n.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},n.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},n.getValue=function(){return this.context[o]?this.context[o].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(j.Component);return a.contextTypes=((n={})[o]=H.a.object,n),{Provider:c,Consumer:a}},R=r(79),L=r(12),A=r(258),T=r.n(A),N=(r(176),r(46)),D=(r(194),function(e){var t=_();return t.displayName=e,t}("Router")),F=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}Object(z.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},q=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,c=void 0!==o&&o,a=r.strict,i=void 0!==a&&a,s=r.sensitive,u=void 0!==s&&s;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=I[r]||(I[r]={});if(n[e])return n[e];var o=[],c={regexp:T()(e,o,t),keys:o};return q<1e4&&(n[e]=c,q++),c}(r,{end:c,strict:i,sensitive:u}),o=n.regexp,a=n.keys,s=o.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),d=e===l;return c&&!d?null:{path:r,url:"/"===r&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,r){return e[t.name]=f[r],e}),{})}}),null)}var B=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?U(r.pathname,e.props):t.match,o=Object(L.a)({},t,{location:r,match:n}),c=e.props,a=c.children,i=c.component,s=c.render;return Array.isArray(a)&&0===a.length&&(a=null),k.a.createElement(D.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:i?k.a.createElement(i,o):s?s(o):null:"function"==typeof a?a(o):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var r=W(e);return 0!==t.pathname.indexOf(r)?t:Object(L.a)({},t,{pathname:t.pathname.substr(r.length)})}function G(e){return"string"==typeof e?e:Object(E.d)(e)}function Q(e){return function(){Object(R.a)(!1)}}function K(){}k.a.Component;var Z=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r,n,o=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==n&&k.a.isValidElement(e)){r=e;var c=e.props.path||e.props.from;n=c?U(o.pathname,Object(L.a)({},e.props,{path:c})):t.match}})),n?k.a.cloneElement(r,{location:o,computedMatch:n}):null}))},t}(k.a.Component);k.a.useContext;var J=r(2),Y=r(53),X=r(22),ee=r(23),te=r(43),re=(r(438),r(66)),ne=r(48),oe=r(3),ce=r(268),ae=r(196);function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var se=Object(g.lazy)((function(){return Promise.resolve().then(r.bind(null,197))})),ue=Object(g.lazy)((function(){return r.e(19).then(r.bind(null,922))})),le=Object(g.lazy)((function(){return r.e(25).then(r.bind(null,911))})),fe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(47),r.e(29)]).then(r.bind(null,925))})),de=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(6),r.e(30)]).then(r.bind(null,921))})),pe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(48),r.e(34)]).then(r.bind(null,923))})),he=function(e){h()(r,e);var t=ie(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0}},{key:"componentDidUpdate",value:function(e){var t=this.getQuery(e.location.search),r=Object(J.omit)(this.getQuery(e.location.search),"chartType","filter","paged"),n=Object(J.omit)(this.getQuery(this.props.location.search),"chartType","filter","paged");t.paged>1&&!Object(J.isEqual)(r,n)&&Object(X.getHistory)().replace(Object(X.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(re.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.page,r=e.match,n=e.location,o=r.url,c=r.params,a=this.getQuery(n.search);return window.wpNavMenuUrlUpdate(a),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:c,path:o,pathMatch:t.path,query:a}))}}]),r}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ne.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),r=Object(X.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,r){if(/admin.php\?page=wc-admin/.test(e.href)){var n=Object(J.last)(e.href.split("?")),o=Object(re.parse)(n),c=window.wcAdminFeatures.homescreen?"homescreen":"dashboard",a=(o.path||c).replace("/analytics","").replace("/",""),i=r.includes(a),s="admin.php?"+Object(re.stringify)(Object.assign(o,i?{}:t));e.href=s,e.onclick=function(e){e.preventDefault(),Object(X.getHistory)().push(s)}}}(e,r,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.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")}));var r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),n="/"===t?'li > a[href$="'.concat(r,'"], li > a[href*="').concat(r,'?"]'):'li > a[href*="'.concat(r,'"]'),o=document.querySelectorAll(n);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var c=document.querySelector("#"+e.wpOpenMenu);c&&(c.classList.remove("wp-not-current-submenu"),c.classList.add("wp-has-current-submenu"),c.classList.add("wp-menu-open"),c.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ve=r(62),me=r.n(ve),be=r(8),ye=r.n(be),ge=r(72),Oe=(r(440),r(406)),we=r.n(Oe),ze=r(67),je=r(418),ke=r(407),Me=r.n(ke),He=r(408),Ee=r.n(He),Ve=(r(442),function(e){var t=e.height,r=void 0===t?24:t,n=e.width,o=void 0===n?24:n,c=e.hasUnread,a=void 0!==c&&c,i=ye()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":a});return Object(g.createElement)("div",{className:i},Object(g.createElement)("svg",{height:r,width:o,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Ve.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Ce=Ve,xe=r(270),Se=r(33);var Pe=r(63),_e=r(101);function Re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Le=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,792))})),Ae=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(8)]).then(r.bind(null,926))})),Te=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(9)]).then(r.bind(null,928))})),Ne=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,916))})),De=Object(ee.g)("manageStock","no"),Fe=Object(ee.g)("reviewsEnabled","no"),Ie=function(e){h()(r,e);var t=Re(r);function r(){var e;return l()(this,r),(e=t.apply(this,arguments)).togglePanel=e.togglePanel.bind(me()(e)),e.clearPanel=e.clearPanel.bind(me()(e)),e.toggleMobile=e.toggleMobile.bind(me()(e)),e.renderTab=e.renderTab.bind(me()(e)),e.state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},e}return d()(r,[{key:"togglePanel",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab;r&&e===n||Object(Pe.b)("activity_panel_open",{tab:e}),this.setState((function(t){return e===t.currentTab||""===t.currentTab?{isPanelOpen:!t.isPanelOpen,currentTab:e,mobileOpen:!t.isPanelOpen}:{currentTab:e,isPanelSwitching:!0}}))}},{key:"clearPanel",value:function(){this.setState((function(e){return e.isPanelOpen?{isPanelSwitching:!1}:{currentTab:""}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab,o=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");r&&!o&&this.togglePanel(n)}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,r=e.hasUnreadOrders,n=e.hasUnapprovedReviews,o=e.hasUnreadStock,c=e.isEmbedded,a=Object(X.getHistory)().location;return[c||!window.wcAdminFeatures.homescreen||"/"!==a.pathname?{name:"inbox",title:Object(oe.__)("Inbox",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,{name:"orders",title:Object(oe.__)("Orders",'woocommerce'),icon:Object(g.createElement)(Me.a,null),unread:r},"yes"===De?{name:"stock",title:Object(oe.__)("Stock",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:o}:null,"yes"===Fe?{name:"reviews",title:Object(oe.__)("Reviews",'woocommerce'),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:n}:null].filter(Boolean)}},{key:"getPanelContent",value:function(e){switch(e){case"inbox":return Object(g.createElement)(Le,null);case"orders":var t=this.props.hasUnreadOrders;return Object(g.createElement)(Ae,{hasActionableOrders:t});case"stock":return Object(g.createElement)(Te,null);case"reviews":var r=this.props.hasUnapprovedReviews;return Object(g.createElement)(Ne,{hasUnapprovedReviews:r});default:return null}}},{key:"renderPanel",value:function(){var e=this.state,t=e.isPanelOpen,r=e.currentTab,n=e.isPanelSwitching,o=Object(J.find)(this.getTabs(),{name:r});if(!o)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var c=ye()("woocommerce-layout__activity-panel-wrapper",{"is-open":t,"is-switching":n});return Object(g.createElement)("div",{className:c,tabIndex:0,role:"tabpanel","aria-label":o.title,onTransitionEnd:this.clearPanel,onAnimationEnd:this.clearPanel},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(r))))}},{key:"renderTab",value:function(e,t){var r=this.state,n=r.currentTab,o=r.isPanelOpen,c=ye()("woocommerce-layout__activity-panel-tab",{"is-active":o&&e.name===n,"has-unread":e.unread}),a=e.name===n,i=-1;return(a||!o&&0===t)&&(i=null),Object(g.createElement)(ze.a,{role:"tab",className:c,tabIndex:i,"aria-selected":a,"aria-controls":"activity-panel-"+e.name,key:"activity-panel-tab-"+e.name,id:"activity-panel-tab-"+e.name,onClick:Object(J.partial)(this.togglePanel,e.name)},e.icon,e.title," ",e.unread&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity",'woocommerce')))}},{key:"render",value:function(){var e=this.getTabs(),t=this.state.mobileOpen,r=Object(J.uniqueId)("activity-panel-header_"),n=ye()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),o=e.some((function(e){return e.unread})),c=o?Object(oe.__)("View Activity Panel, you have unread activity",'woocommerce'):Object(oe.__)("View Activity Panel",'woocommerce');return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:r,className:"screen-reader-text"},Object(oe.__)("Store Activity",'woocommerce')),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":r},Object(g.createElement)(ze.a,{onClick:this.toggleMobile,label:t?Object(oe.__)("Close Activity Panel",'woocommerce'):c,"aria-expanded":t,className:"woocommerce-layout__activity-panel-mobile-toggle"},t?Object(g.createElement)(Ee.a,null):Object(g.createElement)(Ce,{hasUnread:o})),Object(g.createElement)("div",{className:n},Object(g.createElement)(je.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map(this.renderTab)),this.renderPanel())))}}]),r}(g.Component),qe=Object(O.a)(Object(_e.a)((function(e){return{hasUnreadNotes:function(e){var t=e("wc-api"),r=t.getNotes,n=t.getNotesError,o=t.isGetNotesRequesting,c=(0,e(te.USER_STORE_NAME).getCurrentUser)(),a=parseInt(c&&c.woocommerce_meta&&c.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;var i={page:1,per_page:1,type:Se.d.noteTypes,orderby:"date",order:"desc"},s=r(i),u=Boolean(n(i)),l=o(i);return u||l?null:s[0]&&new Date(s[0].date_created_gmt+"Z").getTime()>a}(e),hasUnreadOrders:function(e){var t=e("wc-api"),r=t.getItems,n=t.getItemsTotalCount,o=t.getItemsError,c=t.isGetItemsRequesting,a=(0,e(te.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,i=void 0===a?xe.a:a;if(!i.length)return!1;var s={page:1,per_page:1,status:i,_fields:["id"]};r("orders",s);var u=n("orders",s),l=Boolean(o("orders",s)),f=c("orders",s);return l||f?null:u>0}(e),hasUnreadStock:Object(ee.g)("hasLowStock",!1),hasUnapprovedReviews:function(e){var t=e("wc-api"),r=t.getReviewsTotalCount,n=t.getReviewsError,o=t.isGetReviewsRequesting;if("yes"===Object(ee.g)("reviewsEnabled")){var c={page:1,per_page:1,status:"hold"},a=r(c),i=Boolean(n(c)),s=o(c);if(!i&&!s)return a>0}return!1}(e)}})),we.a)(Ie);function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Be=function(e){h()(r,e);var t=Ue(r);function r(){var e;return l()(this,r),(e=t.call(this)).state={isScrolled:!1},e.headerRef=Object(g.createRef)(),e.onWindowScroll=e.onWindowScroll.bind(me()(e)),e.updateIsScrolled=e.updateIsScrolled.bind(me()(e)),e.trackLinkClick=e.trackLinkClick.bind(me()(e)),e.updateDocumentTitle=e.updateDocumentTitle.bind(me()(e)),e}return d()(r,[{key:"componentDidMount",value:function(){this.threshold=this.headerRef.current.offsetTop,window.addEventListener("scroll",this.onWindowScroll),this.updateIsScrolled()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onWindowScroll),window.cancelAnimationFrame(this.handle)}},{key:"onWindowScroll",value:function(){this.handle=window.requestAnimationFrame(this.updateIsScrolled)}},{key:"updateIsScrolled",value:function(){var e=window.pageYOffset>this.threshold-20;e!==this.state.isScrolled&&this.setState({isScrolled:e})}},{key:"trackLinkClick",value:function(e){var t=e.target.closest("a").getAttribute("href");Object(Pe.b)("navbar_breadcrumb_click",{href:t,text:e.target.innerText})}},{key:"updateDocumentTitle",value:function(){var e=this.props,t=e.sections;if(!e.isEmbedded){var r=(Array.isArray(t)?t:[t]).map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" &lsaquo; ");document.title=Object(ge.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce",'woocommerce'),r,Object(ee.g)("siteTitle","")))}}},{key:"render",value:function(){var e=this,t=this.props,r=t.sections,n=t.isEmbedded,o=this.state.isScrolled,c=Array.isArray(r)?r:[r];this.updateDocumentTitle();var a=ye()("woocommerce-layout__header",{"is-scrolled":o});return Object(g.createElement)("div",{className:a,ref:this.headerRef},Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},c.map((function(t,r){var o=Array.isArray(t)?Object(g.createElement)(Y.Link,{href:n?Object(ee.f)(t[0]):Object(X.getNewPath)({},t[0],{}),type:n?"wp-admin":"wc-admin",onClick:e.trackLinkClick},t[1]):t;return Object(g.createElement)("span",{key:r},Object(ge.decodeEntities)(o))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(qe,{isEmbedded:n}))}}]),r}(g.Component);Be.propTypes={sections:H.a.node.isRequired,isEmbedded:H.a.bool},Be.defaultProps={isEmbedded:!1};var We=Be;function $e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Ge=function(e){h()(r,e);var t=$e(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),r}(g.Component),Qe=r(76),Ke=r.n(Qe),Ze=r(68),Je=r(19),Ye=r(257),Xe=r(749),et=r(409);var tt=function(e){var t=e.notices,r=e.className,n=e.children,o=e.onRemove,c=void 0===o?J.noop:o,a=Object(Xe.a)(),i=Object(g.useState)((function(){return new WeakMap})),s=Object(Je.a)(i,1)[0],u=Object(Ye.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Ze.a)(Ke.a.mark((function t(r){return Ke.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Ze.a)(Ke.a.mark((function e(t){return Ke.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:a});r=ye()("components-snackbar-list",r);var l=function(e){return function(){return c(e.id)}};return Object(g.createElement)("div",{className:r},n,u.map((function(e){var t=e.item,r=e.key,n=e.props;return Object(g.createElement)(Ye.animated.div,{key:r,style:n},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(et.a,Object(L.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};r(443);function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var nt=function(e){h()(r,e);var t=rt(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.notices,n=e.onRemove,o=ye()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(tt,{notices:r,className:o,onRemove:n})}}]),r}(g.Component);nt.propTypes={className:H.a.string,notices:H.a.array};var ot=Object(O.a)(Object(_e.a)((function(e){return{notices:e("core/notices").getNotices()}})),Object(w.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(nt),ct=r(197);function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function st(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var ut=Object(g.lazy)((function(){return Promise.all([r.e(4),r.e(43)]).then(r.bind(null,927))})),lt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(ut,null)),Object(g.createElement)(Ge,null),e)}}]),r}(g.Component),ft=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),r=Object(J.get)(this.props,"location.pathname");t&&r&&t!==r&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,r=e.installedPlugins,n=e.isEmbedded,o=e.isJetpackConnected;if(n){var c=document.location.pathname+document.location.search;Object(Pe.c)(c,{is_embedded:!0})}else{var a=Object(J.get)(this.props,"location.pathname");if(a){var i=a.substring(1).replace(/\//g,"_");0===i.length&&(i=window.wcAdminFeatures.homescreen?"home_screen":"dashboard"),Object(Pe.c)(i,{jetpack_installed:r.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o})}}}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,r=s()(e,["isEmbedded"]),n=this.props.page.breadcrumbs;return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(We,{sections:Object(J.isFunction)(n)?n(this.props):n,isEmbedded:t}),Object(g.createElement)(ot,null),!t&&Object(g.createElement)(lt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(he,r))))}}]),r}(g.Component);ft.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var dt=Object(O.a)(Object(te.withPluginsHydration)(it(it({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(w.withSelect)((function(e,t){if(!t.isEmbedded){var r=e(te.PLUGINS_STORE_NAME),n=r.getActivePlugins,o=r.getInstalledPlugins,c=r.isJetpackConnected;return{activePlugins:n(),isJetpackConnected:c(),installedPlugins:o()}}})))(ft),pt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(X.getHistory)()},Object(g.createElement)(Z,null,function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];if(window.wcAdminFeatures.devdocs&&e.push({container:fe,path:"/devdocs",breadcrumbs:function(e){var r=e.location,n=Object(ce.b)(r.search).component;return[].concat(t,n?[["/devdocs","Documentation"],n]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures["analytics-dashboard"]&&!window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Dashboard",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.homescreen&&e.push({container:de,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics){window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics",'woocommerce')],Object(oe.__)("Overview",'woocommerce')]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"});var r="toplevel_page_wc-admin-path--analytics-".concat(window.wcAdminFeatures.homescreen?"overview":"revenue");e.push({container:ue,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics",'woocommerce')],Object(oe.__)("Settings",'woocommerce')]),wpOpenMenu:r}),e.push({container:se,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:se,path:"/analytics/:report",breadcrumbs:function(e){var r=e.match,n=Object(J.find)(Object(ae.a)(),{report:r.params.report});return n?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics",'woocommerce')],n.title]):[]},wpOpenMenu:r})}return window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing",'woocommerce')],Object(oe.__)("Overview",'woocommerce')]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),Object(ne.applyFilters)("woocommerce_admin_pages_list",e)}().map((function(e){return Object(g.createElement)(B,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(dt,o()({page:e},t))}})}))))}}]),r}(g.Component),ht=Object(O.a)(Object(Y.useFilters)(["woocommerce_admin_pages_list",ct.REPORTS_FILTER]),window.wcSettings.preloadOptions?Object(te.withOptionsHydration)(it({},window.wcSettings.preloadOptions)):J.identity)(pt),vt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(dt,{page:{breadcrumbs:Object(ee.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),r}(g.Component)},2:function(e,t){!function(){e.exports=this.lodash}()},200:function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return l}));var n=r(0),o=r(48),c=r(111),a=r.n(c),i=r(23),s=a()(i.b),u=function(e){var t=s.getCurrency(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return a()(r)},l=Object(n.createContext)(s)},201:function(e,t){!function(){e.exports=this.wc.number}()},208:function(e,t,r){"use strict";var n=r(0),o=r(88),c={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},a={">=":"min-width","<":"max-width"},i={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(n.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",r=Object(n.useContext)(s),u=!r&&"(".concat(a[t],": ").concat(c[e],"px)"),l=Object(o.a)(u);return r?i[t](c[e],r):l};u.__experimentalWidthProvider=s.Provider,t.a=u},209:function(e,t,r){"use strict";var n=r(0),o=r(32),c=Object(n.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.a,{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=c},21:function(e,t){!function(){e.exports=this.wp.apiFetch}()},210:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,O=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case m:case u:return e;default:return t}}case c:return t}}}function j(e){return z(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=m,t.Portal=c,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||z(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return z(e)===l},t.isContextProvider=function(e){return z(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return z(e)===p},t.isFragment=function(e){return z(e)===a},t.isLazy=function(e){return z(e)===b},t.isMemo=function(e){return z(e)===m},t.isPortal=function(e){return z(e)===c},t.isProfiler=function(e){return z(e)===s},t.isStrictMode=function(e){return z(e)===i},t.isSuspense=function(e){return z(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===O||e.$$typeof===w||e.$$typeof===y)},t.typeOf=z},211:function(e,t,r){var n=r(152);e.exports=function(e){if(Array.isArray(e))return n(e)}},212:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},213:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},22:function(e,t){!function(){e.exports=this.wc.navigation}()},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return p})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return v})),r.d(t,"f",(function(){return m}));var n=r(35),o=r.n(n),c=r(3),a=["wcAdminSettings","preloadSettings"],i="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},s=Object.keys(i).reduce((function(e,t){return a.includes(t)||(e[t]=i[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,d=s.orderStatuses,p=(s.siteTitle,s.wcAssetUrl);function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be accessed via data store."));var n=s.hasOwnProperty(e)?s[e]:t;return r(n,t)}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be mutated via data store."));s[e]=r(t)}function m(e){return(u||"")+e}},24:function(e,t){!function(){e.exports=this.wc.date}()},257:function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(80)),c=n(r(273)),a=r(13),i=n(a),s=n(r(126)),u=n(r(62)),l={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(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var r;for(r in e)if(!(r in t))return!1;for(r in t)if(e[r]!==t[r])return!1;return!l.und(r)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return l.und(e)||l.nul(e)?t:e}function p(e){return l.und(e)?[]:l.arr(e)?e:[e]}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return l.fun(e)?e.apply(void 0,r):e}function v(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,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return o({to:t},e);var r=Object.keys(e).reduce((function(r,n){var c;return l.und(t[n])?o({},r,((c={})[n]=e[n],c)):r}),{});return o({to:t},r)}var m,b,y=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}(),g=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var r=t.prototype;return r.getValue=function(e){void 0===e&&(e=!1);var t={};for(var r in this.payload){var n=this.payload[r];(!e||n instanceof y)&&(t[r]=n instanceof y?n[e?"getAnimatedValue":"getValue"]():n)}return t},r.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function w(e,t){m={fn:e,transform:t}}function z(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var E,V=function(){return Date.now()};function C(e){E=e}var x,S,P=function(e){return e.current};function _(e){x=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:w,get colorNames(){return b},injectColorNames:z,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return V},injectNow:function(e){V=e},get defaultElement(){return E},injectDefaultElement:C,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:_,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),L=function(e){function t(t,r){var n;return(n=e.call(this)||this).update=void 0,n.payload=t.style?o({},t,{style:x(t.style)}):t,n.update=r,n.attach(),n}return s(t,e),t}(O),A=!1,T=new Set,N=function e(){if(!A)return!1;var t=V(),r=T,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var c;if(n){if(o>=r.length)break;c=r[o++]}else{if((o=r.next()).done)break;c=o.value}for(var a=c,i=!1,s=0;s<a.configs.length;s++){for(var u=a.configs[s],l=void 0,f=void 0,d=0;d<u.animatedValues.length;d++){var p=u.animatedValues[d];if(!p.done){var h=u.fromValues[d],v=u.toValues[d],m=p.lastPosition,b=v instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(b&&(v=v.getValue()),u.immediate)p.setValue(v),p.done=!0;else if("string"!=typeof h&&"string"!=typeof v){if(void 0!==u.duration)m=h+u.easing((t-p.startTime)/u.duration)*(v-h),l=t>=p.startTime+u.duration;else if(u.decay)m=h+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(l=Math.abs(p.lastPosition-m)<.1)&&(v=m);else{f=void 0!==p.lastTime?p.lastTime:t,g=void 0!==p.lastVelocity?p.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),w=0;w<O;++w){m+=1*(g+=1*((-u.tension*(m-v)+-u.friction*g)/u.mass)/1e3)/1e3}var z=!(!u.clamp||0===u.tension)&&(h<v?m>v:m<v),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(v-m)<=u.precision;l=z||j&&M,p.lastVelocity=g,p.lastTime=t}b&&!u.toValues[d].done&&(l=!1),l?(p.value!==v&&(m=v),p.done=!0):i=!0,p.setValue(m),p.lastPosition=m}else p.setValue(v),p.done=!0}}a.props.onFrame&&(a.values[u.name]=u.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),i||(T.delete(a),a.stop(!0))}return T.size?S?S():k(e):A=!1,A};function D(e,t,r){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:r});if(j&&"string"==typeof e.output[0])return j(e);var n=e,o=n.output,c=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",i=n.extrapolateRight||n.extrapolate||"extend",s=n.easing||function(e){return e};return function(e){var t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,c);return function(e,t,r,n,o,c,a,i,s){var u=s?s(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>r){if("identity"===i)return u;"clamp"===i&&(u=r)}if(n===o)return n;if(t===r)return e<=t?n:o;t===-1/0?u=-u:r===1/0?u-=t:u=(u-t)/(r-t);u=c(u),n===-1/0?u=-u:o===1/0?u+=n:u=u*(o-n)+n;return u}(e,c[t],c[t+1],o[t],o[t+1],s,a,i,n.map)}}var F=function(e){function t(r,n,o,c){var a;return(a=e.call(this)||this).calc=void 0,a.payload=r instanceof g&&!(r instanceof t)?r.getPayload():Array.isArray(r)?r:[r],a.calc=D(n,o,c),a}s(t,e);var r=t.prototype;return r.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},r.updateConfig=function(e,t,r){this.calc=D(e,t,r)},r.interpolate=function(e,r,n){return new t(this,e,r,n)},t}(g);var I=function(e){function t(t){var r;return(r=e.call(this)||this).animatedStyles=new Set,r.value=void 0,r.startPosition=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.startTime=void 0,r.lastTime=void 0,r.done=!1,r.setValue=function(e,t){void 0===t&&(t=!0),r.value=e,t&&r.flush()},r.value=t,r.startPosition=t,r.lastPosition=t,r}s(t,e);var r=t.prototype;return r.flush=function(){0===this.animatedStyles.size&&function e(t,r){"update"in t?r.add(t):t.getChildren().forEach((function(t){return e(t,r)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},r.clearStyles=function(){this.animatedStyles.clear()},r.getValue=function(){return this.value},r.interpolate=function(e,t,r){return new F(this,e,t,r)},t}(y),q=function(e){function t(t){var r;return(r=e.call(this)||this).payload=t.map((function(e){return new I(e)})),r}s(t,e);var r=t.prototype;return r.setValue=function(e,t){var r=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,n){return r.payload[n].setValue(e,t)})):this.payload.forEach((function(r){return r.setValue(e,t)}))},r.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},r.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,B=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=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=v(e),r=t.delay,n=void 0===r?0:r,a=t.to,i=c(t,["delay","to"]);if(l.arr(a)||l.fun(a))this.queue.push(o({},i,{delay:n,to:a}));else if(a){var s={};Object.entries(a).forEach((function(e){var t,r=e[0],c=e[1],a=o({to:(t={},t[r]=c,t),delay:h(n,r)},i),u=s[a.delay]&&s[a.delay].to;s[a.delay]=o({},s[a.delay],a,{to:o({},u,a.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this},t.start=function(e){var t,r=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,n=void 0===t?{}:t,c=e.to,a=void 0===c?{}:c;l.obj(n)&&(r.merged=o({},n,r.merged)),l.obj(a)&&(r.merged=o({},r.merged,a))}));var n=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var i=t.delay,s=c(t,["delay"]),u=function(t){o===a.length-1&&n===r.guid&&t&&(r.idle=!0,r.props.onRest&&r.props.onRest(r.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);i?setTimeout((function(){n===r.guid&&(f?r.runAsync(s,u):r.diff(s).start(u))}),i):f?r.runAsync(s,u):r.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,T.has(t)||T.add(t),A||(A=!0,k(S||N));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,T.has(t)&&T.delete(t)),this},t.runAsync=function(e,t){var r=this,n=(e.delay,c(e,["delay"])),a=this.local,i=Promise.resolve(void 0);if(l.arr(n.to))for(var s=function(e){var t=e,c=o({},n,v(n.to[t]));l.arr(c.config)&&(c.config=c.config[t]),i=i.then((function(){if(a===r.guid)return new Promise((function(e){return r.diff(c).start(e)}))}))},u=0;u<n.to.length;u++)s(u);else if(l.fun(n.to)){var f,d=0;i=i.then((function(){return n.to((function(e){var t=o({},n,v(e));if(l.arr(t.config)&&(t.config=t.config[d]),d++,a===r.guid)return f=new Promise((function(e){return r.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),r.stop(e)})).then((function(){return f}))}))}i.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var r=this.props,n=r.from,c=void 0===n?{}:n,a=r.to,i=void 0===a?{}:a,s=r.config,u=void 0===s?{}:s,f=r.reverse,v=r.attach,m=r.reset,y=r.immediate;if(f){var g=[i,c];c=g[0],i=g[1]}this.merged=o({},c,this.merged,i),this.hasChanged=!1;var O=v&&v(this);if(this.animations=Object.entries(this.merged).reduce((function(e,r){var n=r[0],a=r[1],i=e[n]||{},s=l.num(a),f=l.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!b[a],v=l.arr(a),g=!s&&!v&&!f,w=l.und(c[n])?a:c[n],z=s||v||f?a:1,k=h(u,n);O&&(z=O.animations[n].parent);var M,H=i.parent,E=i.interpolation,C=p(O?z.getPayload():z),x=a;g&&(x=j({range:[0,1],output:[a,a]})(1));var S,P=E&&E.getValue(),_=!l.und(H)&&i.animatedValues.some((function(e){return!e.done})),R=!l.equ(x,P),L=!l.equ(x,i.previous),A=!l.equ(k,i.config);if(m||L&&R||A){var T;if(s||f)H=E=i.parent||new I(w);else if(v)H=E=i.parent||new q(w);else if(g){var N=i.interpolation&&i.interpolation.calc(i.parent.value);N=void 0===N||m?w:N,i.parent?(H=i.parent).setValue(0,!1):H=new I(0);var D={output:[N,a]};i.interpolation?(E=i.interpolation,i.interpolation.updateConfig(D)):E=H.interpolate(D)}return C=p(O?z.getPayload():z),M=p(H.getPayload()),m&&!g&&H.setValue(w,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=_?e.lastVelocity:void 0,e.lastTime=_?e.lastTime:void 0,e.startTime=V(),e.done=!1,e.animatedStyles.clear()})),h(y,n)&&H.setValue(g?z:a,!1),o({},e,((T={})[n]=o({},i,{name:n,parent:H,interpolation:E,animatedValues:M,toValues:C,previous:x,config:k,fromValues:p(H.getValue()),immediate:h(y,n),initialVelocity:d(k.velocity,0),clamp:d(k.clamp,!1),precision:d(k.precision,.01),tension:d(k.tension,170),friction:d(k.friction,26),mass:d(k.mass,1),duration:k.duration,easing:d(k.easing,(function(e){return e})),decay:k.decay}),T))}return R?e:(g&&(H.setValue(1,!1),E.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,o({},e,((S={})[n]=o({},e[n],{previous:x}),S)))}),this.animations),this.hasChanged)for(var w in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[w]=this.animations[w].interpolation,this.values[w]=this.animations[w].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}(),W=function(e,t){var r=a.useRef(!1),n=a.useRef(),o=l.fun(t),c=a.useMemo((function(){var r;return n.current&&(n.current.map((function(e){return e.destroy()})),n.current=void 0),[new Array(e).fill().map((function(e,n){var c=new B,a=o?h(t,n,c):t[n];return 0===n&&(r=a.ref),c.update(a),r||c.start(),c})),r]}),[e]),i=c[0],s=c[1];n.current=i;a.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(n.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return n.current.forEach((function(t){return t.stop(e)}))},get controllers(){return n.current}}}));var u=a.useMemo((function(){return function(e){return n.current.map((function(t,r){t.update(o?h(e,r,t):e[r]),s||t.start()}))}}),[e]);a.useEffect((function(){r.current?o||u(t):s||n.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return r.current=!0,function(){return n.current.forEach((function(e){return e.destroy()}))}}),[]);var f=n.current.map((function(e){return e.getValues()}));return o?[f,u,function(e){return n.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,r=e.keys,n=void 0===r?function(e){return e}:r,a=c(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,n)},a)};function K(e,t){var r=function(){if(o){if(c>=n.length)return"break";a=n[c++]}else{if((c=n.next()).done)return"break";a=c.value}var r=a.key,i=function(e){return e.key!==r};(l.und(t)||t===r)&&(e.current.instances.delete(r),e.current.transitions=e.current.transitions.filter(i),e.current.deleted=e.current.deleted.filter(i))},n=e.current.deleted,o=Array.isArray(n),c=0;for(n=o?n:n[Symbol.iterator]();;){var a;if("break"===r())break}e.current.forceUpdate()}var Z=function(e){function t(t){var r;return void 0===t&&(t={}),r=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),r.payload=t,r}return s(t,e),t}(O),J={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},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),re=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),ne=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([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})$/,ie=/^#([0-9a-fA-F]{8})$/;function se(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ue(e,t,r){var n=r<.5?r*(1+t):r+t-r*t,o=2*r-n,c=se(o,n,e+1/3),a=se(o,n,e),i=se(o,n,e-1/3);return Math.round(255*c)<<24|Math.round(255*a)<<16|Math.round(255*i)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function de(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 he(e){var t,r,n="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(r=ae.exec(t))?parseInt(r[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(r=ee.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|255)>>>0:(r=te.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|de(r[4]))>>>0:(r=oe.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=ie.exec(t))?parseInt(r[1],16)>>>0:(r=ce.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=re.exec(t))?(255|ue(fe(r[1]),pe(r[2]),pe(r[3])))>>>0:(r=ne.exec(t))?(ue(fe(r[1]),pe(r[2]),pe(r[3]))|de(r[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var ve=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={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},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(r){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(r,t)]=e[t]})),e}),ye);var we={};_((function(e){return new Z(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(be,he)})),r=t[0].match(ve).map((function(){return[]}));t.forEach((function(e){e.match(ve).forEach((function(e,t){return r[t].push(+e)}))}));var n=t[0].match(ve).map((function(t,n){return D(o({},e,{output:r[n]}))}));return function(e){var r=0;return t[0].replace(ve,(function(){return n[r++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,r,n,o){return"rgba("+Math.round(t)+", "+Math.round(r)+", "+Math.round(n)+", "+o+")"}))}})),z(J),w((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var r=t.style,n=t.children,o=t.scrollTop,a=t.scrollLeft,i=c(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==n&&(e.textContent=n),r)if(r.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,r[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var d in i){var p=s?d:we[d]||(we[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,i[d])}}),(function(e){return e}));var ze,je,ke=(ze=function(e){return a.forwardRef((function(t,r){var n=f(),s=a.useRef(!0),u=a.useRef(null),d=a.useRef(null),p=a.useCallback((function(e){var t=u.current;u.current=new L(e,(function(){var e=!1;d.current&&(e=m.fn(d.current,u.current.getAnimatedValue())),d.current&&!1!==e||n()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),a.useImperativeHandle(r,(function(){return P(d,s,n)})),p(t);var h,v=u.current.getValue(),b=(v.scrollTop,v.scrollLeft,c(v,["scrollTop","scrollLeft"])),y=(h=e,!l.fun(h)||h.prototype instanceof i.Component?function(e){return d.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,r)}:void 0);return i.createElement(e,o({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var r=je?t[0].toLowerCase()+t.substring(1):t;return e[r]=ze(r),e}),ze)}),Me=ke(["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=ke,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=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,r){return e&&new F(e,t,r)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),r=W(1,t?e:[e]),n=r[0],o=r[1],c=r[2];return t?[n[0],o,c]:n},t.useTrail=function(e,t){var r=a.useRef(!1),n=l.fun(t),c=h(t),i=a.useRef(),s=W(e,(function(e,t){return 0===e&&(i.current=[]),i.current.push(t),o({},c,{config:h(c.config,e),attach:e>0&&function(){return i.current[e-1]}})})),u=s[0],f=s[1],d=s[2],p=a.useMemo((function(){return function(e){return f((function(t,r){e.reverse;var n=e.reverse?t+1:t-1,a=i.current[n];return o({},e,{config:h(e.config||c.config,t),attach:a&&function(){return a}})}))}}),[e,c.reverse]);return a.useEffect((function(){r.current&&!n&&p(t)})),a.useEffect((function(){r.current=!0}),[]),n?[u,p,d]:u},t.useTransition=function(e,t,r){var n=o({items:e,keys:t||function(e){return e}},r),i=Q(n),s=i.lazy,u=void 0!==s&&s,l=(i.unique,i.reset),d=void 0!==l&&l,p=(i.enter,i.leave,i.update,i.onDestroyed),v=(i.keys,i.items,i.onFrame),m=i.onRest,b=i.onStart,y=i.ref,g=c(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),w=a.useRef(!1),z=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!n.ref,instances:!w.current&&new Map,forceUpdate:O});return a.useImperativeHandle(n.ref,(function(){return{start:function(){return Promise.all(Array.from(z.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(z.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(z.current.instances).map((function(e){return e[1]}))}}})),z.current=function(e,t){var r=e.first,n=e.prevProps,a=c(e,["first","prevProps"]),i=Q(t),s=i.items,u=i.keys,l=i.initial,f=i.from,d=i.enter,p=i.leave,v=i.update,m=i.trail,b=void 0===m?0:m,y=i.unique,g=i.config,O=i.order,w=void 0===O?["enter","leave","update"]:O,z=Q(n),j=z.keys,k=z.items,M=o({},a.current),H=[].concat(a.deleted),E=Object.keys(M),V=new Set(E),C=new Set(u),x=u.filter((function(e){return!V.has(e)})),S=a.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),P=u.filter((function(e){return V.has(e)})),_=-b;for(;w.length;){switch(w.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var n=u.indexOf(e),o=s[n],c=r&&void 0!==l?"initial":"enter";M[e]={slot:c,originalKey:e,key:y?String(e):$++,item:o,trail:_+=b,config:h(g,o,c),from:h(r&&void 0!==l?l||{}:f,o),to:h(d,o)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),r=k[t];H.unshift(o({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:_+=b,config:h(g,r,"leave"),to:h(p,r)})),delete M[e]}));break;case"update":P.forEach((function(e){var t=u.indexOf(e),r=s[t];M[e]=o({},M[e],{item:r,slot:"update",trail:_+=b,config:h(g,r,"update"),to:h(v,r)})}))}}var R=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,r=e.left,n=(e.right,c(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===r})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[n],R.slice(t))})),o({},a,{changed:x.length||S.length||P.length,first:r&&0===x.length,transitions:R,current:M,deleted:H,prevProps:t})}(z.current,n),z.current.changed&&z.current.transitions.forEach((function(e){var t=e.slot,r=e.from,n=e.to,c=e.config,a=e.trail,i=e.key,s=e.item;z.current.instances.has(i)||z.current.instances.set(i,new B);var l=z.current.instances.get(i),f=o({},g,{to:n,from:r,config:c,ref:y,onRest:function(r){z.current.mounted&&(e.destroyed&&(y||u||K(z,i),p&&p(s)),!Array.from(z.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&z.current.deleted.length>0&&K(z),m&&m(s,t,r))},onStart:b&&function(){return b(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:a,reset:d&&"enter"===t});l.update(f),z.current.paused||l.start()})),a.useEffect((function(){return z.current.mounted=w.current=!0,function(){z.current.mounted=w.current=!1,Array.from(z.current.instances).map((function(e){return e[1].destroy()})),z.current.instances.clear()}}),[]),z.current.transitions.map((function(e){var t=e.item,r=e.slot,n=e.key;return{item:t,key:n,state:r,props:z.current.instances.get(n).getValues()}}))},t.useChain=function(e,t,r){void 0===r&&(r=1e3);var n=a.useRef();a.useEffect((function(){l.equ(e,n.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,n){var c=e.current;if(c){var a=c.controllers;if(a.length){var i=r*t[n];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+i})})),e.start()}))}}})):e.reduce((function(e,t,r){var n=t.current;return e.then((function(){return n.start()}))}),Promise.resolve()),n.current=e}))},t.useSprings=W},258:function(e,t,r){var n=r(444);e.exports=p,e.exports.parse=c,e.exports.compile=function(e,t){return i(c(e,t),t)},e.exports.tokensToFunction=i,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e,t){for(var r,n=[],c=0,a=0,i="",l=t&&t.delimiter||"/";null!=(r=o.exec(e));){var f=r[0],d=r[1],p=r.index;if(i+=e.slice(a,p),a=p+f.length,d)i+=d[1];else{var h=e[a],v=r[2],m=r[3],b=r[4],y=r[5],g=r[6],O=r[7];i&&(n.push(i),i="");var w=null!=v&&null!=h&&h!==v,z="+"===g||"*"===g,j="?"===g||"*"===g,k=r[2]||l,M=b||y;n.push({name:m||c++,prefix:v||"",delimiter:k,optional:j,repeat:z,partial:w,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&n.push(i),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function i(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var c="",i=t||{},s=(o||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,d=i[l.name];if(null==d){if(l.optional){l.partial&&(c+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(n(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=s(d[p]),!r[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");c+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(d),!r[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');c+=l.prefix+f}}else c+=l}return c}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,c=!1!==r.end,a="",i=0;i<e.length;i++){var u=e[i];if("string"==typeof u)a+=s(u);else{var d=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+d+p+")*"),a+=p=u.optional?u.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=s(r.delimiter||"/"),v=a.slice(-h.length)===h;return o||(a=(v?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=c?"$":o&&v?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(r)),t)}function p(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(p(e[o],t,r).source);return l(new RegExp("(?:"+n.join("|")+")",f(r)),t)}(e,t,r):function(e,t,r){return d(c(e,r),t,r)}(e,t,r)}},259:function(e,t,r){"use strict";(function(e,n){var o,c=r(413);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(c.a)(o);t.a=a}).call(this,r(56),r(446)(e))},26:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},261:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(3),v=r(1),m=r.n(v),b=r(53),y=r(23);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var O=function(e){s()(r,e);var t=g(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"render",value:function(){var e,t,r,n,o=this.props,c=o.className,a=o.isError,i=o.isEmpty;return a?(e=Object(h.__)("There was an error getting your stats. Please try again.",'woocommerce'),t=Object(h.__)("Reload",'woocommerce'),n=function(){window.location.reload()}):i&&(e=Object(h.__)("No results could be found for this date range.",'woocommerce'),t=Object(h.__)("View Orders",'woocommerce'),r=Object(y.f)("edit.php?post_type=shop_order")),Object(p.createElement)(b.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);O.propTypes={className:m.a.string,isError:m.a.bool,isEmpty:m.a.bool},O.defaultProps={className:""},t.a=O},268:function(e,t,r){"use strict";function n(e){return e?e.substr(1).split("&").reduce((function(e,t){var r=t.split("="),n=r[0],o=decodeURIComponent(r[1]);return o=isNaN(Number(o))?o:Number(o),e[n]=o,e}),{}):{}}function o(){var e="",t=n(window.location.search),r=t.page,o=t.path,c=t.post_type;if(r){var a="wc-admin"===r?"home_screen":r;e=o?o.replace(/\//g,"_").substring(1):a}else c&&(e=c);return e}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}))},27:function(e,t){!function(){e.exports=this.wp.url}()},270:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return g}));var n=r(0),o=r(3),c=r(48),a=r(36),i=r.n(a),s=r(23),u=r(66),l=r(108),f=r(53),d=r(43),p=function(e){var t=e.value,r=e.onChange,o=Object(d.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,c=Object(u.parse)(t.replace(/&amp;/g,"&")),a=Object(l.h)(c,o),i=a.period,s=a.compare,p=a.before,h=a.after,v=Object(l.f)(c,o),m={period:i,compare:s,before:p,after:h,primaryDate:v.primary,secondaryDate:v.secondary};return Object(n.createElement)(f.DateRangeFilterPicker,{query:c,onRangeSelect:function(e){r({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:l.k})},h=["processing","on-hold"],v=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports",'woocommerce'),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return v.includes(e.value)}))},{key:"customStatuses",label:Object(o.__)("Custom Statuses",'woocommerce'),options:m.filter((function(e){return!v.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses",'woocommerce'),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports",'woocommerce'),e)}}))}],g=Object(c.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded Statuses:",'woocommerce'),inputType:"checkboxGroup",options:y,helpText:i()({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'),components:{strong:Object(n.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable Statuses:",'woocommerce'),inputType:"checkboxGroup",options:y,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.",'woocommerce'),defaultValue:h},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default Date Range:",'woocommerce'),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'),defaultValue:"period=month&compare=previous_year"}})},273:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},274:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));var n=r(17),o=r.n(n),c=r(108);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){var t=e.per_page,r=e.persisted_query,n=e.query,o=(0,e.select)("wc-api"),a=o.getItems,s=o.getItemsError,u=o.isGetItemsRequesting,l={isRequesting:!1,isError:!1,rows:[]},f=Object(c.f)(n,e.defaultDateRange),d={after:Object(c.a)(f.primary.after,"start"),before:Object(c.a)(f.primary.before,"end"),per_page:t,persisted_query:JSON.stringify(r)},p=a("leaderboards",d);if(u("leaderboards",d))return i(i({},l),{},{isRequesting:!0});if(s("leaderboards",d))return i(i({},l),{},{isError:!0});var h=p.get(e.id);return i(i({},l),{},{rows:h.rows})}function u(e,t,r){var n=e("wc-api"),o=n.getItems,c=n.getItemsError,a=n.isGetItemsRequesting,i={},s=!1,u=!1;return r.forEach((function(e){var r={search:e,per_page:10};o(t,r).forEach((function(e,t){i[t]=e})),a(t,r)&&(s=!0),c(t,r)&&(u=!0)})),{items:i,isRequesting:s,isError:u}}},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},31:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"f",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"a",(function(){return p}));var n=r(6),o=r(15),c=r(2),a=r(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,d=39,p=40,h="alt",v="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[v]},primaryShift:function(e){return e()?[b,m]:[v,b]},primaryAlt:function(e){return e()?[h,m]:[v,h]},secondary:function(e){return e()?[b,h,m]:[v,b,h]},access:function(e){return e()?[v,h]:[b,h]},ctrl:function(){return[v]},alt:function(){return[h]},ctrlShift:function(){return[v,b]},shift:function(){return[b]},shiftAlt:function(){return[b,h]}},g=(Object(c.mapValues)(y,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(o.a)(e(r)),[t.toLowerCase()]).join("+")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=a(),u=(r={},Object(n.a)(r,h,s?"⌥":"Alt"),Object(n.a)(r,v,s?"^":"Ctrl"),Object(n.a)(r,m,"⌘"),Object(n.a)(r,b,s?"⇧":"Shift"),r),l=e(a).reduce((function(e,t){var r=Object(c.get)(u,t,t);return[].concat(Object(o.a)(e),s?[r]:[r,"+"])}),[]),f=Object(c.capitalize)(t);return[].concat(Object(o.a)(l),[f])}})));Object(c.mapValues)(g,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,r).join("")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,u=s(),l=(r={},Object(n.a)(r,b,"Shift"),Object(n.a)(r,m,u?"Command":"Control"),Object(n.a)(r,v,"Control"),Object(n.a)(r,h,u?"Option":"Alt"),Object(n.a)(r,",",Object(a.__)("Comma")),Object(n.a)(r,".",Object(a.__)("Period")),Object(n.a)(r,"`",Object(a.__)("Backtick")),r);return[].concat(Object(o.a)(e(s)),[t]).map((function(e){return Object(c.capitalize)(Object(c.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[h,v,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(c.mapValues)(y,(function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,o=e(n),a=O(t);return!Object(c.xor)(o,a).length&&(r?t.key===r:Object(c.includes)(o,t.key.toLowerCase()))}}))},32:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l}));var n=r(6),o=r(14),c=r(8),a=r.n(c),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=function(e){return Object(i.createElement)("path",e)},l=function(e){var t=e.className,r=e.isPressed,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(o.a)(e,["className","isPressed"]),{className:a()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(i.createElement)("svg",c)}},33:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return u}));var n=r(170),o="/wc-analytics",c="/wc-admin",a="/wc/v1",i={timeout:1*n.b,freshness:30*n.b},s=100,u={pageSize:25,period:"month",compare:"previous_year",noteTypes:"info,warning,marketing"}},35:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},36:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=i(r(13)),c=i(r(148)),a=i(r(151));function i(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var r,a,i,l,f,d,p,h,v=[],m={};for(d=0;d<e.length;d++)if("string"!==(f=e[d]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==n(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){r=t[f.value],i=d;break}v.push(t[f.value])}else v.push(f.value);return r&&(l=function(e,t){var r,n,o=t[e],c=0;for(n=e+1;n<t.length;n++)if((r=t[n]).value===o.value){if("componentOpen"===r.type){c++;continue}if("componentClose"===r.type){if(0===c)return n;c--}}throw new Error("Missing closing component token `"+o.value+"`")}(i,e),p=u(e.slice(i+1,l),t),a=o.default.cloneElement(r,{},p),v.push(a),l<e.length-1&&(h=u(e.slice(l+1),t),v=v.concat(h))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,c.default)(m))}t.default=function(e){var t=e.mixedString,r=e.components,o=e.throwErrors;if(s=t,!r)return t;if("object"!==(void 0===r?"undefined":n(r))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,a.default)(t);try{return u(c,r)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},37:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},38:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},39:function(e,t,r){var n=r(147);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},4:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},40:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return n}))},406:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var c=r(441),a=r(13),i=r(78);e.exports=function(e){var t=e.displayName||e.name,r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),o(r,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,r=this.props,o=r.wrappedRef,c=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["wrappedRef"]);return a.createElement(e,n({},c,{ref:function(e){t.__wrappedInstance=e,t.__domNode=i.findDOMNode(e),o&&o(e)}}))}}]),r}(a.Component);return r.displayName="clickOutside("+t+")",c(r,e)}},407:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var o,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},408:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{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,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},409:function(e,t,r){"use strict";(function(e){var n=r(0),o=r(2),c=r(8),a=r.n(c),i=r(127),s=r(3),u=(r(410),r(67));t.a=Object(n.forwardRef)((function(t,r){var c=t.className,l=t.children,f=t.spokenMessage,d=void 0===f?l:f,p=t.politeness,h=void 0===p?"polite":p,v=t.actions,m=void 0===v?[]:v,b=t.onRemove,y=void 0===b?o.noop:b;!function(e,t){var r="string"==typeof e?e:Object(n.renderToString)(e);Object(n.useEffect)((function(){r&&Object(i.a)(r,t)}),[r,t])}(d,h),Object(n.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=a()(c,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(n.createElement)("div",{ref:r,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(n.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var r=e.label,o=e.onClick,c=e.url;return Object(n.createElement)(u.a,{key:t,href:c,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:"components-snackbar__action"},r)}))))}))}).call(this,r(47))},41:function(e,t,r){var n=r(211),o=r(212),c=r(172),a=r(213);e.exports=function(e){return n(e)||o(e)||c(e)||a()}},410:function(e,t,r){"use strict";(function(e){function n(t){void 0!==e&&e.env}r.d(t,"a",(function(){return n}))}).call(this,r(47))},411:function(e,t,r){"use strict";(function(t){var r="__global_unique_id__";e.exports=function(){return t[r]=(t[r]||0)+1}}).call(this,r(56))},412:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(18),v=r(43);r(445);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var b=function(e){s()(r,e);var t=m(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"renderMenuItem",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.slug,o=e.title,c=e.url;return Object(p.createElement)("li",{key:n,className:"woocommerce-navigation__menu-item woocommerce-navigation__menu-item-depth-".concat(r)},Object(p.createElement)("a",{href:c},o),e.children&&e.children.length&&Object(p.createElement)("ul",{className:"woocommerce-navigation__submenu"},e.children.map((function(e){return t.renderMenuItem(e,r+1)}))))}},{key:"render",value:function(){var e=this,t=this.props.items;return Object(p.createElement)("div",{className:"woocommerce-navigation"},Object(p.createElement)("ul",{className:"woocommerce-navigation__menu"},t.map((function(t){return e.renderMenuItem(t)}))))}}]),r}(p.Component);t.a=Object(h.withSelect)((function(e){return{items:e(v.SETTINGS_STORE_NAME).getSetting("wc_admin","wcNavigation")}}))(b)},413:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},418:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(2),i=r(31),s=r(9),u=r(7),l=r(5),f=r(11),d=r(4),p=r(10),h=r(45);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(p.a)(i,e);var t,r=(t=i,function(){var e,r=Object(d.a)(t);if(v()){var n=Object(d.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(f.a)(this,e)});function i(){var e;return Object(s.a)(this,i),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(i,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(a.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?h.a.tabbable:h.a.focusable).find(this.container),r=this.getFocusableIndex(t,e);return r>-1&&e?{index:r,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var r=e.indexOf(t);if(-1!==r)return r}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,r=this.props,n=r.cycle,o=void 0===n||n,c=r.eventToOffset,i=r.onNavigate,s=void 0===i?a.noop:i,u=r.stopNavigationEvents,l=c(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var d=f.index,p=f.focusables,h=o?function(e,t,r){var n=e+r;return n<0?t+n:n>=t?n-t:n}(d,p.length,l):d+l;h>=0&&h<p.length&&(p[h].focus(),s(h,p[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,r=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({ref:this.bindContainer},Object(a.omit)(r,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),i}(c.Component),b=function(e,t){return Object(c.createElement)(m,Object(n.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(c.forwardRef)(b);t.a=Object(c.forwardRef)((function(e,t){var r=e.role,s=void 0===r?"menu":r,u=e.orientation,l=void 0===u?"vertical":u,f=Object(o.a)(e,["role","orientation"]);return Object(c.createElement)(y,Object(n.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,r=[i.a],n=[i.f];return"horizontal"===l&&(r=[i.d],n=[i.c]),"both"===l&&(r=[i.d,i.a],n=[i.c,i.f]),Object(a.includes)(r,t)?1:Object(a.includes)(n,t)?-1:void 0}},f))}))},42:function(e,t,r){var n=r(35),o=r(62);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},43:function(e,t){!function(){e.exports=this.wc.data}()},434:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0),n=(r(716),r(437),r(199)),o=r(412),c=(r(715),r(43));r.p=e.wcAdminAssets.path;var a=document.getElementById("root"),i=document.getElementById("woocommerce-embedded-navigation"),s=window.wcSettings.currentUserData;if(i){var u=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(u=Object(c.withCurrentUserHydration)(s)(u)),Object(t.render)(Object(t.createElement)(u,null),i),document.getElementById("adminmenumain").classList.add("folded")}if(a){var l=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(c.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(c.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),a)}else{var f=document.getElementById("woocommerce-embedded-root"),d=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.a);s&&(d=Object(c.withCurrentUserHydration)(s)(d)),Object(t.render)(Object(t.createElement)(d,null),f),f.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),h=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),v=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(n.c,null)),p.insertBefore(v,h))}}.call(this,r(56))},436:function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function i(e,t,r,n){var o=t&&t.prototype instanceof l?t:l,c=Object.create(o.prototype),a=new z(n||[]);return c._invoke=function(e,t,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return k()}for(r.method=o,r.arg=c;;){var a=r.delegate;if(a){var i=g(a,r);if(i){if(i===u)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var u={};function l(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(j([])));v&&v!==t&&r.call(v,o)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var n;this._invoke=function(o,c){function a(){return new t((function(n,a){!function n(o,c,a,i){var u=s(e[o],e,c);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,i)}),(function(e){n("throw",e,a,i)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,i)}))}i(u.arg)}(o,c,n,a)}))}return n=n?n.then(a,a):a()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,c=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return c.next=c}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(y.prototype),y.prototype[c]=function(){return this},e.AsyncIterator=y,e.async=function(t,r,n,o,c){void 0===c&&(c=Promise);var a=new y(i(t,r,n,o),c);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var i=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return n(c.catchLoc,!0);if(this.prev<c.finallyLoc)return n(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return n(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return n(c.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===e||"continue"===e)&&c.tryLoc<=t&&t<=c.finallyLoc&&(c=null);var a=c?c.completion:{};return a.type=e,a.arg=t,c?(this.method="next",this.next=c.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},437:function(e,t,r){},438:function(e,t,r){},439:function(e,t,r){},440:function(e,t,r){},441:function(e,t,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,r,f){if("string"!=typeof r){if(l){var d=u(r);d&&d!==l&&e(t,d,f)}var p=a(r);i&&(p=p.concat(i(r)));for(var h=0;h<p.length;++h){var v=p[h];if(!(n[v]||o[v]||f&&f[v])){var m=s(r,v);try{c(t,v,m)}catch(e){}}}return t}return t}},442:function(e,t,r){},443:function(e,t,r){},444:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},445:function(e,t,r){},446: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}},45:function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var n={};r.r(n),r.d(n,"find",(function(){return i}));var o={};r.r(o),r.d(o,"isTabbableIndex",(function(){return l})),r.d(o,"find",(function(){return v})),r.d(o,"findPrevious",(function(){return m})),r.d(o,"findNext",(function(){return b}));var c=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function i(e){var t=e.querySelectorAll(c);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var r=document.querySelector('img[usemap="#'+t.name+'"]');return!!r&&a(r)}(e))}))}var s=r(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function p(e,t){var r=u(e.element),n=u(t.element);return r===n?e.index-t.index:r-n}function h(e){return e.filter(l).map(f).sort(p).map(d).reduce((t={},function(e,r){var n=r.nodeName,o=r.type,c=r.checked,a=r.name;if("INPUT"!==n||"radio"!==o||!a)return e.concat(r);var i=t.hasOwnProperty(a);if(!c&&i)return e;if(i){var u=t[a];e=Object(s.without)(e,u)}return t[a]=r,e.concat(r)}),[]);var t}function v(e){return h(i(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e);return t.length=r,Object(s.last)(h(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e),n=t.slice(r+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(h(n))}var y={focusable:n,tabbable:o}},46:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},47:function(e,t){var r,n,o=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(r===setTimeout)return setTimeout(e,0);if((r===c||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:c}catch(e){r=c}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=i(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||i(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},48:function(e,t){!function(){e.exports=this.wp.hooks}()},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(30);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},5:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},51:function(e,t){function r(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var a=e.apply(t,n);function i(e){r(a,o,c,i,s,"next",e)}function s(e){r(a,o,c,i,s,"throw",e)}i(void 0)}))}}},53:function(e,t){!function(){e.exports=this.wc.components}()},54:function(e,t,r){"use strict";var n=r(2);t.a=function(e,t){return function(r){var o=e(r),c=r.displayName,a=void 0===c?r.name||"Component":c;return o.displayName="".concat(Object(n.upperFirst)(Object(n.camelCase)(t)),"(").concat(a,")"),o}}},55:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},56:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(48),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.version,c=t.alternative,a=t.plugin,i=t.link,s=t.hint,u=a?" from ".concat(a):"",l=r?" and will be removed".concat(u," in version ").concat(r):"",f=c?" Please use ".concat(c," instead."):"",d=i?" See: ".concat(i):"",p=s?" Note: ".concat(s):"",h="".concat(e," is deprecated").concat(l,".").concat(f).concat(d).concat(p);h in o||(Object(n.doAction)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",(function(){return n}))},62: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}},63:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return p}));var n=r(17),o=r.n(n),c=r(35),a=r.n(c),i=r(87);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=r.n(i)()("wc-admin:tracks");function l(e,t){if(u("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}var f={localStorageKey:function(){return"tracksQueue"},clear:function(){window.localStorage&&window.localStorage.removeItem(f.localStorageKey())},get:function(){if(!window.localStorage)return[];var e=window.localStorage.getItem(f.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[]},add:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!window.localStorage)return u("Unable to queue, running now",{args:t}),void l.apply(null,t||void 0);var n=f.get(),o={args:t};n.push(o),n=n.slice(-100),u("Adding new item to queue.",o),window.localStorage.setItem(f.localStorageKey(),JSON.stringify(n))},process:function(){if(window.localStorage){var e=f.get();f.clear(),u("Processing items in queue.",e),e.forEach((function(e){"object"===a()(e)&&(u("Processing item in queue.",e),l.apply(null,e.args||void 0))}))}}};function d(e,t){f.add(e,t)}function p(e,t){e&&(l("page_view",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({path:e},t)),f.process())}},65:function(e,t,r){"use strict";var n=r(117),o=r(118),c=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return n(e,t);if(c(e)&&c(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=n,e.exports.isShallowEqualArrays=o},66:function(e,t,r){"use strict";var n=r(115),o=r(116),c=r(94);e.exports={formats:c,parse:o,stringify:n}},67:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(8),i=r.n(a),s=r(2),u=r(59),l=r(97),f=r(96);function d(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,c=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=["onMouseDown","onClick"];t.a=Object(c.forwardRef)((function(e,t){var r=e.href,a=e.target,p=e.isPrimary,v=e.isLarge,m=e.isSmall,b=e.isTertiary,y=e.isPressed,g=e.isBusy,O=e.isDefault,w=e.isSecondary,z=e.isLink,j=e.isDestructive,k=e.className,M=e.disabled,H=e.icon,E=e.iconSize,V=e.showTooltip,C=e.tooltipPosition,x=e.shortcut,S=e.label,P=e.children,_=e.__experimentalIsFocusable,R=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);O&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var L=i()("components-button",k,{"is-secondary":O||w,"is-primary":p,"is-large":v,"is-small":m,"is-tertiary":b,"is-pressed":y,"is-busy":g,"is-link":z,"is-destructive":j,"has-text":!!H&&!!P,"has-icon":!!H}),A=M&&!_,T=void 0===r||A?"button":"a",N="a"===T?{href:r,target:a}:{type:"button",disabled:A,"aria-pressed":y};if(M&&_){N["aria-disabled"]=!0;var D,F=d(h);try{for(F.s();!(D=F.n()).done;){R[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){F.e(e)}finally{F.f()}}var I=!A&&(V&&S||x||!!S&&(!P||Object(s.isArray)(P)&&!P.length)&&!1!==V),q=Object(c.createElement)(T,Object(n.a)({},N,R,{className:L,"aria-label":R["aria-label"]||S,ref:t}),H&&Object(c.createElement)(f.a,{icon:H,size:E}),P);return I?Object(c.createElement)(l.a,{text:S,shortcut:x,position:C},q):q}))},68:function(e,t,r){"use strict";function n(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var a=e.apply(t,r);function i(e){n(a,o,c,i,s,"next",e)}function s(e){n(a,o,c,i,s,"throw",e)}i(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return o}))},70:function(e,t,r){"use strict";function n(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}r.d(t,"a",(function(){return n}))},715:function(e,t,r){"use strict";var n=r(18),o=r(170),c=r(259),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var r=f.indexOf(e);f.splice(r,1),l=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,a=o(a,e)}finally{d=!1}for(var t=l=f,r=0;r<t.length;r++){(0,t[r])()}return e}function b(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,m({type:i.REPLACE})}function y(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(h())}return r(),{unsubscribe:t(r)}}})[c.a]=function(){return this},e}return m({type:i.INIT}),(n={dispatch:m,subscribe:v,getState:h,replaceReducer:b})[c.a]=y,n}var l=r(17),f=r.n(l);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={resources:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FRESH_DATA_REQUESTED":return m(e,t);case"FRESH_DATA_RECEIVED":return b(e,t);default:return e}}function m(e,t){return y(e,t.resourceNames.reduce((function(e,r){return e[r]={lastRequested:t.time},e}),{}))}function b(e,t){return y(e,Object.keys(t.resources).reduce((function(e,r){var n=p({},t.resources[r]);return n.data&&(n.lastReceived=t.time),n.error&&(n.lastError=t.time),e[r]=n,e}),{}))}function y(e,t){var r=Object.keys(t).reduce((function(e,r){var n=e[r],o=t[r];return e[r]=p(p({},n),o),e}),p({},e.resources));return p(p({},e),{},{resources:r})}var g=function(e,t){var r=function(e){var t=window.__REDUX_DEVTOOLS_EXTENSION__;return u(v,t&&t({name:e,instanceId:e}))}(e),n=function(e){return{dataRequested:function(t){document.hidden||e.dispatch({type:"FRESH_DATA_REQUESTED",resourceNames:t,time:new Date})},dataReceived:function(t){e.dispatch({type:"FRESH_DATA_RECEIVED",resources:t,time:new Date})}}}(r),c=new o.a(t);return c.setDataHandlers(n),r.subscribe((function(){c.setState(r.getState())})),c},O=r(41),w=r.n(O),z=r(51),j=r.n(z),k=r(3);function M(e,t){var r=JSON.stringify(t,Object.keys(t).sort());return"".concat(e,":").concat(r)}function H(e){return e.substring(0,e.indexOf(":"))}function E(e,t){return H(e)===t}function V(e){var t=e.substring(e.indexOf(":")+1);return JSON.parse(t)}var C={initiateReportExport:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o,c){var a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Object(n.dispatch)("core/notices"),i=a.createNotice,s=M("report-export-".concat(r),c),t.next=4,e.update([s],f()({},s,c));case 4:u=t.sent,(l=u[0][s])&&l.success&&i("success",Object(k.sprintf)(Object(k.__)("Your %s Report will be emailed to you.",'woocommerce'),o)),l&&l.error&&i("error",Object(k.sprintf)(Object(k.__)("There was a problem exporting your %s Report. Please try again.",'woocommerce'),o));case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()}},x=r(21),S=r.n(x),P=r(33);function _(e,t,r){return e.filter((function(e){return e.startsWith("report-export-")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=H(n),c=o.split("-").pop(),a=P.c+"/reports/"+c+"/export",e.prev=3,e.next=6,r({path:a,method:"POST",data:{report_args:t[n],email:!0}});case 6:return i=e.sent,e.abrupt("return",f()({},n,f()({},i.status,i.message)));case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",f()({},n,{error:e.t0}));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}())}var R={mutations:C,operations:{update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(_(e,t,r))}}};function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={updateProductStock:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o){var c,a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Object(n.dispatch)("core/notices"),a=c.createNotice,i=r.stock_quantity,s=M("items-query-products-item",r.id),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:o}))),t.next=6,e.update([s],f()({},s,{id:r.id,type:r.type,parent_id:r.parent_id,stock_quantity:o}));case 6:u=t.sent,(l=u[0][s])&&l.data&&a("success",Object(k.sprintf)(Object(k.__)("%s stock updated.",'woocommerce'),r.name)),l&&l.error&&(a("error",Object(k.sprintf)(Object(k.__)("%s stock could not be updated.",'woocommerce'),r.name)),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:i}))));case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()}},N=r(129),D=r.n(N),F=r(27);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U={"items-query-categories":"products/categories","items-query-customers":"customers","items-query-coupons":"coupons","items-query-leaderboards":"leaderboards","items-query-orders":"orders","items-query-products":"products","items-query-taxes":"taxes"};var B={read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(U[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=U[n],c=V(r),a=Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),c),i=-1===c.per_page,e.prev=5,e.next=8,t({parse:i,path:a});case 8:if(s=e.sent,!i){e.next=14;break}l=(u=s).length,e.next=18;break;case 14:return e.next=16,s.json();case 16:u=e.sent,l=parseInt(s.headers.get("x-wp-total"),10);case 18:return d=u.map((function(e){return e.id})),p=u.reduce((function(e,t){return e[M("".concat(n,"-item"),t.id)]={data:t},e}),{}),e.abrupt("return",q(f()({},r,{data:d,totalCount:l}),p));case 23:return e.prev=23,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 26:case"end":return e.stop()}}),e,null,[[5,23]])})));return function(t){return e.apply(this,arguments)}}())},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a,n=["items-query-products-item"],o=e.filter((function(e){return n.includes(H(e))}));return o.map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t[n],c=o.id,a=o.parent_id,i=o.type,s=D()(o,["id","parent_id","type"]),u=P.c,e.t0=i,e.next="variation"===e.t0?5:("variable"===e.t0||e.t0,7);break;case 5:return u+="/products/".concat(a,"/variations/").concat(c),e.abrupt("break",8);case 7:u+="/products/".concat(c);case 8:return e.abrupt("return",r({path:u,method:"PUT",data:s}).then((function(e){return f()({},n,{data:e})})).catch((function(e){return f()({},n,{error:e})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},updateLocally:function(e,t){var r=["items-query-products-item"],n=e.filter((function(e){return r.includes(H(e))})),o=M("items-query-products",{page:1,per_page:1,low_in_stock:!0,status:"publish"});return n.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(n={},f()(n,r,{data:t[r]}),f()(n,o,{lastReceived:null}),n));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},W=r(2),$={mutations:T,operations:B,selectors:{getItems:function(e,t){return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,c=M("items-query-".concat(r),n),a=t(o,c).data||[],i=new Map;return a.forEach((function(t){i.set(t,e(M("items-query-".concat(r,"-item"),t)).data)})),i}},getItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).error}},getItemsTotalCount:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).totalCount||0}},isGetItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},G={"import-status":"reports/import/status","import-totals":"reports/import/totals"};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(G[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=G[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),Object(W.omit)(c,["timestamp"]))},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,e.abrupt("return",f()({},r,{data:s}));case 14:return e.prev=14,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 17:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getImportStatus:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("import-status",e);return t(r,n).data||{}}},isGetImportStatusRequesting:function(e){return function(t){var r=M("import-status",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getImportTotals:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=K(K({},e),{},{timestamp:r}),c=M("import-totals",o);return t(n,c).data||{}}}}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t){return e.filter((function(e){return E(e,"note-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/admin/notes"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("note",t.id)]={data:t},e}),{}),e.abrupt("return",Y(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function ee(e,t){return e.filter((function(e){return E(e,"note")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/admin/notes/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}function te(e,t,r){if(e.includes("note")){var n=t.note,o=n.noteId,c=D()(n,["noteId"]);return[r({path:"".concat(P.c,"/admin/notes/").concat(o),method:"PUT",data:c}).then((function(e){var r=f()({},"note:"+o,{data:e});return isNaN(t.note.is_deleted)||(r["note-undo-dismiss"]={isUndoRequesting:!1,isDismissUndoRequesting:!1}),r})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function re(e,t,r){if(e.includes("note")){var n=t.note.noteId;return[r({path:"".concat(P.c,"/admin/notes/delete/").concat(n),method:"DELETE"}).then((function(e){return f()({},"note:"+n,{data:e})})).catch((function(e){return f()({},"note:"+n,{error:e})}))]}return[]}function ne(e,t){return e.includes("note")?[t({path:"".concat(P.c,"/admin/notes/delete/all"),method:"DELETE"}).then((function(e){return e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{})})).catch((function(e){return{error:e}}))]:[]}function oe(e,t,r){return e.includes("note")?[r({path:"".concat(P.c,"/admin/notes/undoremove"),method:"PUT",data:t}).then((function(e){var t=e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{});return t["note-undo-dismiss"]={isUndoRequesting:!1,isDismissAllUndoRequesting:!1},t})).catch((function(e){return e}))]:[]}function ce(e,t,r){if(e.includes("note-action")){var n=t["note-action"],o=n.noteId,c=n.actionId;return[r({path:"".concat(P.c,"/admin/notes/").concat(o,"/action/").concat(c),method:"POST"}).then((function(e){return f()({},"note:"+o,{data:e})})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function ae(e,t){if(e.includes("note")&&(t.note?!isNaN(t.note.is_deleted):!isNaN(t.is_deleted))){var r=!!t.note&&t.note.noteId;return[f()({},"note-undo-dismiss",{isUndoRequesting:!0,isDismissUndoRequesting:r,isDismissAllUndoRequesting:!r})]}return[]}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var se={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(ee(e,t)),w()(X(e,t)))},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(te(e,t,r)),w()(ce(e,t,r)))},remove:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(re(e,t,r))},removeAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return w()(ne(e,t))},triggerAction:ce,undoRemoveAll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(oe(e,t,r)))}},selectors:{getNotes:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("note-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("note",t)).data||{}}));return a}},getNotesError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t);return e(r).error}},isGetNotesRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getUndoDismissRequesting:function(e){return function(){return e("note-undo-dismiss")}}},mutations:{updateNote:function(e){return function(t,r){e.update(["note"],f()({},"note",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({noteId:t},r)))}},removeNote:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object(n.dispatch)("core/notices"),c=o.createNotice,a="note",i=M("note",r),t.next=5,e.remove([a],f()({},a,{noteId:r}));case 5:s=t.sent,(u=s[0]?s[0][i]:{data:!1,error:!0})&&u.data&&c("success",Object(k.__)("Message dismissed.",'woocommerce'),{actions:[{label:Object(k.__)("Undo",'woocommerce'),onClick:function(){e.update([a],f()({},a,{noteId:r,is_deleted:0}))}}]}),u&&u.error&&c("error",Object(k.__)("Message could not be dismissed.",'woocommerce'));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},removeAllNotes:function(e){return j()(regeneratorRuntime.mark((function t(){var r,o,c,a,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(n.dispatch)("core/notices"),o=r.createNotice,c="note",t.next=4,e.removeAll([c]);case 4:a=t.sent,(i=a?a[0]:{error:!0}).error?o("error",Object(k.__)("Messages could not be dismissed.",'woocommerce')):o("success",Object(k.__)("All messages dismissed.",'woocommerce'),{actions:[{label:Object(k.__)("Undo",'woocommerce'),onClick:function(){var t=[];for(var r in i)t.push(i[r].data.id);e.undoRemoveAll([c],{notesIds:t,is_deleted:0})}}]});case 7:case"end":return t.stop()}}),t)})))},triggerNoteAction:function(e){return function(t,r){e.update(["note-action"],f()({},"note-action",{noteId:t,actionId:r}))}}}},ue={"report-items-query-orders":"orders","report-items-query-revenue":"revenue","report-items-query-products":"products","report-items-query-categories":"categories","report-items-query-coupons":"coupons","report-items-query-taxes":"taxes","report-items-query-variations":"variations","report-items-query-downloads":"downloads","report-items-query-customers":"customers","report-items-query-stock":"stock","report-items-query-performance-indicators":"performance-indicators"};var le={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(ue[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=ue[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o),c)},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 16:return e.prev=16,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 19:case"end":return e.stop()}}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportItems:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-items-query-".concat(e),r);return t(n,o)||{}}},getReportItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r);return e(n).error}},isReportItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},fe=["coupons","downloads","orders","products","revenue","stock","taxes","customers"],de={"report-stats-query-orders":"orders","report-stats-query-revenue":"revenue","report-stats-query-products":"products","report-stats-query-categories":"categories","report-stats-query-downloads":"downloads","report-stats-query-coupons":"coupons","report-stats-query-stock":"stock","report-stats-query-taxes":"taxes","report-stats-query-customers":"customers"};var pe={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(de[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=de[n],c=V(r),a={parse:!1},fe.indexOf(o)>=0?a.path=Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o,"/stats"),c):a.path=Object(F.addQueryArgs)(o,c),e.prev=5,e.next=8,t(a);case 8:return i=e.sent,e.next=11,i.json();case 11:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 17:return e.prev=17,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 20:case"end":return e.stop()}}),e,null,[[5,17]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportStats:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-stats-query-".concat(e),r),c=t(n,o)||{};return c}},getReportStatsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r);return e(n).error}},isReportStatsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}};function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t){return e.filter((function(e){return E(e,"review-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/products/reviews"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("review",t.id)]={data:t},e}),{}),e.abrupt("return",ve(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function be(e,t){return e.filter((function(e){return E(e,"review")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/products/reviews/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}var ye={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(be(e,t)),w()(me(e,t)))}},selectors:{getReviews:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("review-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("review",t)).data||{}}));return a}},getReviewsError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t);return e(r).error}},getReviewsTotalCount:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("review-query",e);return t(r,n).totalCount||0}},isGetReviewsRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}}}};function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,ze={name:"wcApi",mutations:Oe(Oe(Oe({},R.mutations),$.mutations),se.mutations),selectors:Oe(Oe(Oe(Oe(Oe(Oe({},Z.selectors),$.selectors),se.selectors),le.selectors),pe.selectors),ye.selectors),operations:{read:function(e){return document.hidden?[]:[].concat(w()(Z.operations.read(e)),w()($.operations.read(e)),w()(se.operations.read(e)),w()(le.operations.read(e)),w()(pe.operations.read(e)),w()(ye.operations.read(e)))},update:function(e,t){return[].concat(w()(R.operations.update(e,t)),w()($.operations.update(e,t)),w()(se.operations.update(e,t)))},remove:function(e,t){return w()(se.operations.remove(e,t))},removeAll:function(e){return w()(se.operations.removeAll(e))},updateLocally:function(e,t){return w()($.operations.updateLocally(e,t))},undoRemoveAll:function(e,t){return w()(se.operations.undoRemoveAll(e,t))}}};Object(n.registerGenericStore)("wc-api",{getSelectors:function(){return function(e){return function(e){var t=[];return{selectors:we.getSelectors(t),onComplete:function(){0===t.length?we.clearComponentRequirements(e):we.setComponentRequirements(e,t)},onUnmount:function(){we.clearComponentRequirements(e)}}}(e&&e.component?e.component:e)}},getActions:function(){return we.getMutations()},subscribe:(we=g("wc-api",ze)).subscribe})},716:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"createNotice",(function(){return v})),r.d(n,"createSuccessNotice",(function(){return m})),r.d(n,"createInfoNotice",(function(){return b})),r.d(n,"createErrorNotice",(function(){return y})),r.d(n,"createWarningNotice",(function(){return g})),r.d(n,"removeNotice",(function(){return O}));var o={};r.r(o),r.d(o,"getNotices",(function(){return z}));var c=r(18),a=r(15),i=r(2),s=r(6);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){return function(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var c=t(r[o],n);return c===r[o]?r:l({},r,Object(s.a)({},o,c))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(a.a)(Object(i.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(i.reject)(e,{id:t.id})}return e})),d=r(76),p=r.n(d),h=p.a.mark(v);function v(){var e,t,r,n,o,c,a,s,u,l,f,d,v,m,b,y,g=arguments;return p.a.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,r=g.length>2&&void 0!==g[2]?g[2]:{},n=r.speak,o=void 0===n||n,c=r.isDismissible,a=void 0===c||c,s=r.context,u=void 0===s?"global":s,l=r.id,f=void 0===l?Object(i.uniqueId)(u):l,d=r.actions,v=void 0===d?[]:d,m=r.type,b=void 0===m?"default":m,y=r.__unstableHTML,t=String(t),!o){p.next=8;break}return p.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return p.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:a,actions:v,type:b}};case 10:case"end":return p.stop()}}),h)}function m(e,t){return v("success",e,t)}function b(e,t){return v("info",e,t)}function y(e,t){return v("error",e,t)}function g(e,t){return v("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var w=[];function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||w}var j=r(127),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(c.registerStore)("core/notices",{reducer:f,actions:n,selectors:o,controls:k})},72:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},73:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,c=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var c=t[n],a=c.obj[c.prop],i=Object.keys(a),s=0;s<i.length;++s){var u=i[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:a,prop:u}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],c=0;c<r.length;++c)void 0!==r[c]&&n.push(r[c]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r){if(0===e.length)return e;var n=e;if("symbol"==typeof e?n=Symbol.prototype.toString.call(e):"string"!=typeof e&&(n=String(e)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<n.length;++a){var i=n.charCodeAt(a);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?o+=n.charAt(a):i<128?o+=c[i]:i<2048?o+=c[192|i>>6]+c[128|63&i]:i<55296||i>=57344?o+=c[224|i>>12]+c[128|i>>6&63]+c[128|63&i]:(a+=1,i=65536+((1023&i)<<10|1023&n.charCodeAt(a)),o+=c[240|i>>18]+c[128|i>>12&63]+c[128|i>>6&63]+c[128|63&i])}return o},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)},merge:function e(t,r,c){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(c&&(c.plainObjects||c.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return o(t)&&!o(r)&&(i=a(t,c)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,c):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,c):t[o]=a,t}),i)}}},733:function(e,t){!function(){e.exports=this.wc.csvExport}()},749:function(e,t,r){"use strict";(function(e){var n=r(88),o="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,c=e.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(n.a)("(prefers-reduced-motion: reduce)")};t.a=c}).call(this,r(47))},75:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(12),o=r(14),c=r(9),a=r(7),i=r(11),s=r(4),u=r(10),l=r(0),f=r(32);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var p=function(e){Object(u.a)(p,e);var t,r=(t=p,function(){var e,r=Object(s.a)(t);if(d()){var n=Object(s.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(i.a)(this,e)});function p(){return Object(c.a)(this,p),r.apply(this,arguments)}return Object(a.a)(p,[{key:"render",value:function(){var e,t=this.props,r=t.icon,c=t.size,a=void 0===c?20:c,i=t.className,s=Object(o.a)(t,["icon","size","className"]);switch(r){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="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";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+r,i].filter(Boolean).join(" ");return Object(l.createElement)(f.b,Object(n.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.a,{d:e}))}}]),p}(l.Component)},76:function(e,t,r){e.exports=r(436)},78:function(e,t){!function(){e.exports=this.ReactDOM}()},79:function(e,t,r){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},8:function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var c=typeof o;if("string"===c||"number"===c)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===c)for(var i in o)t.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},80:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},82:function(e,t,r){"use strict";var n=r(12),o=r(19),c=r(14),a=r(0),i=r(8),s=r.n(i),u=r(95),l=r(45),f=r(31),d=r(59),p=r(208),h=r(209),v=r(6);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r,n,o,c,a){var i=t.width,s="rtl"===document.documentElement.dir;"left"===r&&s?r="right":"right"===r&&s&&(r="left"),"left"===n&&s?n="right":"right"===n&&s&&(n="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-i/2>0?i/2:u)+(u+i/2>window.innerWidth?window.innerWidth-u:i/2)},f=e.left;"right"===n?f=e.right:"middle"!==c&&(f=u);var d=e.right;"left"===n?d=e.left:"middle"!==c&&(d=u);var p,h={popoverLeft:f,contentWidth:f-i>0?i:f},v={popoverLeft:d,contentWidth:d+i>window.innerWidth?window.innerWidth-d:i},m=r,b=null;if(!o)if("center"===r&&l.contentWidth===i)m="center";else if("left"===r&&h.contentWidth===i)m="left";else if("right"===r&&v.contentWidth===i)m="right";else{var y="left"===(m=h.contentWidth>v.contentWidth?"left":"right")?h.contentWidth:v.contentWidth;b=y!==i?y:null}if(p="center"===m?l.popoverLeft:"left"===m?h.popoverLeft:v.popoverLeft,a){var g=a.getBoundingClientRect();p=Math.min(p,g.right-i)}return{xAxis:m,popoverLeft:p,contentWidth:b}}function g(e,t,r,n,o,c,a){var i=t.height;if(o){var s=(Object(u.b)(c)||document.body).getBoundingClientRect();if(e.top-i<=s.top)return{yAxis:r,popoverTop:Math.min(e.bottom-a,s.top+i-a)}}var l=e.top+e.height/2;"bottom"===n?l=e.bottom:"top"===n&&(l=e.top);var f={popoverTop:l,contentHeight:(l-i/2>0?i/2:l)+(l+i/2>window.innerHeight?window.innerHeight-l:i/2)},d={popoverTop:e.top,contentHeight:e.top-10-i>0?i:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+i>window.innerHeight?window.innerHeight-10-e.bottom:i},h=r,v=null;if(!o)if("middle"===r&&f.contentHeight===i)h="middle";else if("top"===r&&d.contentHeight===i)h="top";else if("bottom"===r&&p.contentHeight===i)h="bottom";else{var m="top"===(h=d.contentHeight>p.contentHeight?"top":"bottom")?d.contentHeight:p.contentHeight;v=m!==i?m:null}return{yAxis:h,popoverTop:"middle"===h?f.popoverTop:"top"===h?d.popoverTop:p.popoverTop,contentHeight:v}}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",n=arguments.length>3?arguments[3]:void 0,c=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=r.split(" "),u=Object(o.a)(s,3),l=u[0],f=u[1],d=void 0===f?"center":f,p=u[2],h=g(e,t,l,p,n,c,a),v=y(e,t,d,p,n,h.yAxis,i);return b({},v,{},h)}var w=r(86),z=r(83),j=r(9),k=r(7),M=r(11),H=r(4),E=r(10),V=r(84);function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var x=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(C()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){return Object(j.a)(this,n),r.apply(this,arguments)}return Object(k.a)(n,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),n}(a.Component),S=Object(V.a)(x),P=r(67);function _(e){return function(){var t,r=Object(H.a)(e);if(R()){var n=Object(H.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object(M.a)(this,t)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,r=void 0===t?document:t,n=e.className,o=void 0===n?"lockscroll":n,c=0,i=0;function s(e){var t=r.scrollingElement||r.body;e&&(i=t.scrollTop);var n=e?"add":"remove";t.classList[n](o),r.documentElement.classList[n](o),e||(t.scrollTop=i)}function u(){0===c&&s(!0),++c}function l(){1===c&&s(!1),--c}return function(e){Object(E.a)(r,e);var t=_(r);function r(){return Object(j.a)(this,r),t.apply(this,arguments)}return Object(k.a)(r,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),r}(a.Component)}(),A=r(85),T=Object(a.createContext)({slots:{},fills:{},registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){var t=Object(a.useContext)(T),r=t.slots[e]||{},n=t.fills[e],o=Object(a.useMemo)((function(){return n||[]}),[n]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{updateSlot:Object(a.useCallback)((function(r,n){t.updateSlot(e,r,n)}),[e,t.updateSlot]),unregisterSlot:Object(a.useCallback)((function(r){t.unregisterSlot(e,r)}),[e,t.unregisterSlot]),fills:o,registerFill:Object(a.useCallback)((function(r){t.registerFill(e,r)}),[e,t.registerFill]),unregisterFill:Object(a.useCallback)((function(r){t.unregisterFill(e,r)}),[e,t.unregisterFill])})}var F=r(5),I=r(2),q=r(15),U=r(40);function B(e){var t=function(e,t){if("object"!==Object(U.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Object(U.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(U.a)(t)?t:String(t)}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e){var t,r,n,i,s,u,l,f,d,p,h,m,b=e.children,y=(t=Object(a.useState)({}),r=Object(o.a)(t,2),n=r[0],i=r[1],s=Object(a.useState)({}),u=Object(o.a)(s,2),l=u[0],f=u[1],d=Object(a.useCallback)((function(e,t,r){i((function(n){var o=n[e]||{};return $({},n,Object(v.a)({},e,$({},o,{ref:t||o.ref,fillProps:r||o.fillProps||{}})))}))}),[]),p=Object(a.useCallback)((function(e,t){i((function(r){var n=r[e],o=Object(c.a)(r,[e].map(B));return(null==n?void 0:n.ref)===t?o:r}))}),[]),h=Object(a.useCallback)((function(e,t){f((function(r){return $({},r,Object(v.a)({},e,[].concat(Object(q.a)(r[e]||[]),[t])))}))}),[]),m=Object(a.useCallback)((function(e,t){f((function(r){return r[e]?$({},r,Object(v.a)({},e,r[e].filter((function(e){return e!==t})))):r}))}),[]),Object(a.useMemo)((function(){return{slots:n,fills:l,registerSlot:d,updateSlot:d,unregisterSlot:p,registerFill:h,unregisterFill:m}}),[n,l,d,p,h,m]));return Object(a.createElement)(T.Provider,{value:y},b)}function Q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var K=Object(a.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Z=K.Provider,J=K.Consumer;a.Component;function Y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var X=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(Y()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){var e;return Object(j.a)(this,n),(e=r.apply(this,arguments)).bindNode=e.bindNode.bind(Object(F.a)(e)),e}return Object(k.a)(n,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.name,n=t.unregisterSlot,o=t.registerSlot;e.name!==r&&(n(e.name),o(r,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.name,n=e.fillProps,o=void 0===n?{}:n,c=e.getFills,i=Object(I.map)(c(r,this),(function(e){var t=e.occurrence,r=Object(I.isFunction)(e.children)?e.children(o):e.children;return a.Children.map(r,(function(e,r){if(!e||Object(I.isString)(e))return e;var n="".concat(t,"---").concat(e.key||r);return Object(a.cloneElement)(e,{key:n})}))})).filter(Object(I.negate)(a.isEmptyElement));return Object(a.createElement)(a.Fragment,null,Object(I.isFunction)(t)?t(i):i)}}]),n}(a.Component),ee=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerSlot,o=t.unregisterSlot,c=t.getFills;return Object(a.createElement)(X,Object(n.a)({},e,{registerSlot:r,unregisterSlot:o,getFills:c}))}))},te=0;function re(e){var t=e.name,r=e.children,n=e.registerFill,c=e.unregisterFill,i=function(e){var t=Object(a.useContext)(K),r=t.getSlot,n=t.subscribe,c=Object(a.useState)(r(e)),i=Object(o.a)(c,2),s=i[0],u=i[1];return Object(a.useEffect)((function(){return u(r(e)),n((function(){u(r(e))}))}),[e]),s}(t),s=Object(a.useRef)({name:t,children:r});return s.current.occurrence||(s.current.occurrence=++te),Object(a.useLayoutEffect)((function(){return n(t,s.current),function(){return c(t,s.current)}}),[]),Object(a.useLayoutEffect)((function(){s.current.children=r,i&&i.forceUpdate()}),[r]),Object(a.useLayoutEffect)((function(){t!==s.current.name&&(c(s.current.name,s.current),s.current.name=t,n(t,s.current))}),[t]),i&&i.node?(Object(I.isFunction)(r)&&(r=r(i.props.fillProps)),Object(a.createPortal)(r,i.node)):null}var ne=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerFill,o=t.unregisterFill;return Object(a.createElement)(re,Object(n.a)({},e,{registerFill:r,unregisterFill:o}))}))},oe=r(65),ce=r.n(oe);function ae(e){var t=e.name,r=e.fillProps,o=void 0===r?{}:r,i=e.as,s=void 0===i?"div":i,u=Object(c.a)(e,["name","fillProps","as"]),l=Object(a.useContext)(T),f=Object(a.useRef)(),d=D(t);return Object(a.useLayoutEffect)((function(){return l.registerSlot(t,f,o),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(a.useLayoutEffect)((function(){d.fillProps&&!ce()(d.fillProps,o)&&l.updateSlot(t,f,o)})),Object(a.createElement)(s,Object(n.a)({ref:f},u))}function ie(e){var t=e.name,r=e.children,n=D(t),o=Object(a.useRef)();return Object(a.useEffect)((function(){return n.registerFill(o),function(){n.unregisterFill(o)}}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof r&&(r=r(n.fillProps)),Object(a.createPortal)(r,n.ref.current)):null}function se(e){var t=e.bubblesVirtually,r=Object(c.a)(e,["bubblesVirtually"]);return t?Object(a.createElement)(ae,r):Object(a.createElement)(ee,r)}function ue(e){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ne,e),Object(a.createElement)(ie,e))}var le=function(e){var t=e.type,r=e.options,n=void 0===r?{}:r,c=e.children;if("appear"===t){var a,i=n.origin,u=(void 0===i?"top":i).split(" "),l=Object(o.a)(u,2),f=l[0],d=l[1],p=void 0===d?"center":d;return c({className:s()("components-animate__appear",(a={},Object(v.a)(a,"is-from-"+p,"center"!==p),Object(v.a)(a,"is-from-"+f,"middle"!==f),a))})}if("slide-in"===t){var h=n.origin,m=void 0===h?"left":h;return c({className:s()("components-animate__slide-in","is-from-"+m)})}return c("loading"===t?{className:s()("components-animate__loading")}:{})},fe=Object(z.a)(Object(w.a)((function(e){return e.children})));function de(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(r){if(!e.current)return;return r(e.current)}if(!1!==n){if(!n)return;if(n instanceof window.Range)return Object(u.a)(n);if(n instanceof window.Element){var c=n.getBoundingClientRect();return o?c:pe(c,n)}var a=n.top,i=n.bottom,s=a.getBoundingClientRect(),l=i.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return o?f:pe(f,n)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:pe(p,d)}}function pe(e,t){var r=window.getComputedStyle(t),n=r.paddingTop,o=r.paddingBottom,c=r.paddingLeft,a=r.paddingRight,i=n?parseInt(n,10):0,s=o?parseInt(o,10):0,u=c?parseInt(c,10):0,l=a?parseInt(a,10):0;return{x:e.left+u,y:e.top+i,width:e.width-u-l,height:e.height-i-s,left:e.left+u,right:e.right-l,top:e.top+i,bottom:e.bottom-s}}function he(e,t,r){r?e.getAttribute(t)!==r&&e.setAttribute(t,r):e.hasAttribute(t)&&e.removeAttribute(t)}function ve(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==r&&(e.style[t]=r)}function me(e,t,r){r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var be=function(e){var t=e.headerTitle,r=e.onClose,i=e.onKeyDown,u=e.children,v=e.className,m=e.noArrow,b=void 0===m||m,y=e.isAlternate,g=e.position,w=void 0===g?"bottom right":g,z=(e.range,e.focusOnMount),j=void 0===z?"firstElement":z,k=e.anchorRef,M=e.shouldAnchorIncludePadding,H=e.anchorRect,E=e.getAnchorRect,V=e.expandOnMobile,C=e.animate,x=void 0===C||C,_=e.onClickOutside,R=e.onFocusOutside,T=e.__unstableSticky,N=e.__unstableSlotName,F=void 0===N?"Popover":N,I=e.__unstableAllowVerticalSubpixelPosition,q=e.__unstableAllowHorizontalSubpixelPosition,U=e.__unstableFixedPosition,B=void 0===U||U,W=e.__unstableBoundaryParent,$=Object(c.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition","__unstableBoundaryParent"]),G=Object(a.useRef)(null),Q=Object(a.useRef)(null),K=Object(a.useRef)(),Z=Object(a.useRef)(),J=Object(p.a)("medium","<"),Y=Object(a.useState)(),X=Object(o.a)(Y,2),ee=X[0],te=X[1],re=D(F),ne=V&&J;b=ne||b,Object(a.useEffect)((function(){if(ne)return me(K.current,"is-without-arrow",b),me(K.current,"is-alternate",y),he(K.current,"data-x-axis"),he(K.current,"data-y-axis"),ve(K.current,"top"),ve(K.current,"left"),ve(Q.current,"maxHeight"),ve(Q.current,"maxWidth"),void ve(K.current,"position");var e,t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(K.current&&Q.current){var r=de(G,H,E,k,M);if(r){Z.current||(Z.current=Q.current.getBoundingClientRect());var n,o,c=0;if(B)ve(K.current,"position");else{ve(K.current,"position","absolute");var a=K.current.offsetParent,i=a.getBoundingClientRect();c=i.top,r=new window.DOMRect(r.left-i.left,r.top-i.top,r.width,r.height)}if(W)n=null===(o=K.current.closest(".popover-slot"))||void 0===o?void 0:o.parentNode;var s=O(r,Z.current,w,T,K.current,c,n),u=s.popoverTop,l=s.popoverLeft,f=s.xAxis,d=s.yAxis,p=s.contentHeight,h=s.contentWidth;"number"==typeof u&&"number"==typeof l&&(t&&I?(ve(K.current,"left",l+"px"),ve(K.current,"top"),ve(K.current,"transform","translateY(".concat(u,"px)"))):t&&q?(ve(K.current,"top",u+"px"),ve(K.current,"left"),ve(K.current,"transform","translate(".concat(l,"px)"))):(ve(K.current,"top",u+"px"),ve(K.current,"left",l+"px"),ve(K.current,"transform"))),me(K.current,"is-without-arrow",b||"center"===f&&"middle"===d),me(K.current,"is-alternate",y),he(K.current,"data-x-axis",f),he(K.current,"data-y-axis",d),ve(Q.current,"maxHeight","number"==typeof p?p+"px":""),ve(Q.current,"maxWidth","number"==typeof h?h+"px":"");var v={top:"bottom",bottom:"top"},m={left:"right",right:"left"},g=v[d]||"middle",z=m[f]||"center";te(z+" "+g)}}},n=window.setTimeout(r),o=window.setInterval(r,500),c=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(r)};window.addEventListener("click",c),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0);var a=I||q;return a&&(t=new window.MutationObserver((function(){return r({subpixels:!0})}))).observe(a,{attributes:!0}),function(){window.clearTimeout(n),window.clearInterval(o),window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0),window.removeEventListener("click",c),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[ne,H,E,k,M,w,T,I,q,W]),function(e,t){Object(a.useEffect)((function(){var r=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var r=l.a.tabbable.find(t.current)[0];r?r.focus():t.current.focus()}}),0);return function(){return clearTimeout(r)}}),[])}(j,Q);var oe=function(e){e.keyCode===f.b&&r&&(e.stopPropagation(),r()),i&&i(e)};var ce=Object(a.createElement)(S,{onFocusOutside:function(e){if(R)R(e);else if(_){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(d.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),_(t)}else r&&r()}},Object(a.createElement)(le,{type:x&&ee?"appear":null,options:{origin:ee}},(function(e){var o=e.className;return Object(a.createElement)(A.a,Object(n.a)({className:s()("components-popover",v,o,{"is-expanded":ne,"is-without-arrow":b,"is-alternate":y})},$,{onKeyDown:oe,ref:K}),ne&&Object(a.createElement)(L,null),ne&&Object(a.createElement)("div",{className:"components-popover__header"},Object(a.createElement)("span",{className:"components-popover__header-title"},t),Object(a.createElement)(P.a,{className:"components-popover__close",icon:h.a,onClick:r})),Object(a.createElement)("div",{ref:Q,className:"components-popover__content",tabIndex:"-1"},u))})));return j&&(ce=Object(a.createElement)(fe,null,ce)),re.ref&&(ce=Object(a.createElement)(ue,{name:F},ce)),k||H?ce:Object(a.createElement)("span",{ref:G},ce)};be.Slot=function(e){var t=e.name,r=void 0===t?"Popover":t;return Object(a.createElement)(se,{bubblesVirtually:!0,name:r,className:"popover-slot"})};t.a=be},83:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(5),a=r(11),i=r(4),s=r(10),u=r(0),l=r(54),f=r(31),d=r(45);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=Object(l.a)((function(e){return function(t){Object(s.a)(h,t);var r,l=(r=h,function(){var e,t=Object(i.a)(r);if(p()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function h(){var e;return Object(n.a)(this,h),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(c.a)(e)),e}return Object(o.a)(h,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=d.a.tabbable.find(this.focusContainRef.current);if(t.length){var r=t[0],n=t[t.length-1];e.shiftKey&&e.target===r?(e.preventDefault(),n.focus()):(e.shiftKey||e.target!==n)&&t.includes(e.target)||(e.preventDefault(),r.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),h}(u.Component)}),"withConstrainedTabbing");t.a=h},84:function(e,t,r){"use strict";var n=r(12),o=r(9),c=r(7),a=r(5),i=r(11),s=r(4),u=r(10),l=r(0),f=r(2),d=r(54);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=["button","submit"];t.a=Object(d.a)((function(e){return function(t){Object(u.a)(v,t);var r,d=(r=v,function(){var e,t=Object(s.a)(r);if(p()){var n=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function v(){var e;return Object(o.a)(this,v),(e=d.apply(this,arguments)).bindNode=e.bindNode.bind(Object(a.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(a.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(a.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(a.a)(e)),e}return Object(c.a)(v,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,r=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(h,e.type)}return!1}(r)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(n.a)({ref:this.bindNode},this.props)))}}]),v}(l.Component)}),"withFocusOutside")},85:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0);function a(e){e.stopPropagation()}t.a=Object(c.forwardRef)((function(e,t){var r=e.children,i=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({},i,{ref:t,onMouseDown:a}),r)}))},86:function(e,t,r){"use strict";var n=r(15),o=r(9),c=r(7),a=r(11),i=r(4),s=r(10),u=r(0),l=r(2),f=r(54),d=r(5);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var h=Object(u.createContext)({focusHistory:[]}),v=h.Provider,m=h.Consumer;v.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var r=t;return e({})(r)}var f,d=t.onFocusReturn,p=void 0===d?l.stubTrue:d;return function(e){var t=function(t){Object(s.a)(d,t);var r,f=(r=d,function(){var e,t=Object(i.a)(r);if(b()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function d(){var e;return Object(o.a)(this,d),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,r=this.ownFocusedElements;if(t&&!1!==p())for(var o,c=[].concat(Object(n.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(n.a)(r)))),[e]);o=c.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),d}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(r){return Object(u.createElement)(t,{childProps:e,focus:r})}))}}}),"withFocusReturn")},87:function(e,t,r){"use strict";(function(n){var o=r(55)(r(35));t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":(0,o.default)(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=r(119)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(47))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(19),o=r(0);function c(e){var t=Object(o.useState)(e&&window.matchMedia(e).matches),r=Object(n.a)(t,2),c=r[0],a=r[1];return Object(o.useEffect)((function(){if(e){var t=function(){return a(window.matchMedia(e).matches)};t();var r=window.matchMedia(e);return r.addListener(t),function(){r.removeListener(t)}}}),[e]),e&&c}},89:function(e,t,r){"use strict";var n=r(0),o=r(2);t.a=function(e){var t,r,c=e.shortcut,a=e.className;return c?(Object(o.isString)(c)&&(t=c),Object(o.isObject)(c)&&(t=c.display,r=c.ariaLabel),Object(n.createElement)("span",{className:a,"aria-label":r},t)):null}},9:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},94:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,c=r(73),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=c.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},95:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return a}));r(2);var n=window,o=(n.DOMParser,n.getComputedStyle,window.Node);o.TEXT_NODE,o.ELEMENT_NODE,o.DOCUMENT_POSITION_PRECEDING,o.DOCUMENT_POSITION_FOLLOWING;function c(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var r=t.parentNode,n=Array.from(r.childNodes).indexOf(t);(e=document.createRange()).setStart(r,n),e.setEnd(r,n)}var o=e.getClientRects()[0];if(!o){var c=document.createTextNode("​");(e=e.cloneRange()).insertNode(c),o=e.getClientRects()[0],c.parentNode.removeChild(c)}return o}function a(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return a(e.parentNode)}}},96:function(e,t,r){"use strict";var n=r(6),o=r(12),c=r(14),a=r(0),i=r(32),s=r(75);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=e.icon,r=void 0===t?null:t,n=e.size,u=Object(c.a)(e,["icon","size"]),f=n||20;if("string"==typeof r)return Object(a.createElement)(s.a,Object(o.a)({icon:r,size:f},u));if(r&&s.a===r.type)return Object(a.cloneElement)(r,l({size:f},u));var d=n||24;if("function"==typeof r)return r.prototype instanceof a.Component?Object(a.createElement)(r,l({size:d},u)):r(l({size:d},u));if(r&&("svg"===r.type||r.type===i.b)){var p=l({width:d,height:d},r.props,{},u);return Object(a.createElement)(i.b,p)}return Object(a.isValidElement)(r)?Object(a.cloneElement)(r,l({size:d},u)):r}},97:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(11),a=r(4),i=r(10),s=r(0),u=r(2),l=r(82),f=r(89);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var p=function(e){Object(i.a)(p,e);var t,r=(t=p,function(){var e,r=Object(a.a)(t);if(d()){var n=Object(a.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(c.a)(this,e)});function p(){var e;return Object(n.a)(this,p),(e=r.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var r=this.props.children;if(1===s.Children.count(r)){var n=s.Children.only(r);"function"==typeof n.props[e]&&n.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var r=this;return function(n){if(r.emitToChild(e,n),!(n.currentTarget.disabled||"focus"===n.type&&r.isInMouseDown)){r.delayedSetIsOver.cancel();var o=Object(u.includes)(["focus","mouseenter"],n.type);o!==r.state.isOver&&(t?r.delayedSetIsOver(o):r.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(r){t.emitToChild(e?"onMouseDown":"onMouseUp",r),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.position,n=e.text,o=e.shortcut;if(1!==s.Children.count(t))return t;var c=s.Children.only(t),a=this.state.isOver;return Object(s.cloneElement)(c,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(c.props.children,a&&Object(s.createElement)(l.a,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},n,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),p}(s.Component);t.a=p},98:function(e,t,r){"use strict";r.d(t,"a",(function(){return O})),r.d(t,"c",(function(){return z})),r.d(t,"b",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"d",(function(){return p}));var n=r(12);function o(e){return"/"===e.charAt(0)}function c(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var a=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],i=e&&o(e),s=t&&o(t),u=i||s;if(e&&o(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var l=a[a.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?c(a,d):".."===p?(c(a,d),f++):f&&(c(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function i(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=i(t),o=i(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},u=r(79);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(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 d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function h(e,t,r,o){var c;"string"==typeof e?(c=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var c=t.indexOf("?");return-1!==c&&(r=t.substr(c),t=t.substr(0,c)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(c=Object(n.a)({},e)).pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==t&&void 0===c.state&&(c.state=t));try{c.pathname=decodeURI(c.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(c.key=r),o?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=a(c.pathname,o.pathname)):c.pathname=o.pathname:c.pathname||(c.pathname="/"),c}function v(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 m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var c="function"==typeof e?e(t,r):e;"string"==typeof c?"function"==typeof n?n(c,o):o(!0):o(!1!==c)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,r=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,c=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,i=a.forceRefresh,s=void 0!==i&&i,v=a.getUserConfirmation,O=void 0===v?y:v,w=a.keyLength,z=void 0===w?6:w,j=e.basename?d(l(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,c=o.pathname+o.search+o.hash;return j&&(c=f(c,j)),h(c,n,r)}function M(){return Math.random().toString(36).substr(2,z)}var H=m();function E(e){Object(n.a)(D,e),D.length=r.length,H.notifyListeners(D.location,D.action)}function V(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,E();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?E({action:"POP",location:e}):function(e){var t=D.location,r=_.indexOf(t.key);-1===r&&(r=0);var n=_.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(x=!0,L(o))}(e)}))}}var P=k(g()),_=[P.key];function R(e){return j+p(e)}function L(e){r.go(e)}var A=0;function T(e){1===(A+=e)&&1===e?(window.addEventListener("popstate",V),c&&window.addEventListener("hashchange",C)):0===A&&(window.removeEventListener("popstate",V),c&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:r.length,action:"POP",location:P,createHref:R,push:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"PUSH",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.pushState({key:c,state:a},null,t),s)window.location.href=t;else{var i=_.indexOf(D.location.key),u=_.slice(0,i+1);u.push(n.key),_=u,E({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"REPLACE",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.replaceState({key:c,state:a},null,t),s)window.location.replace(t);else{var i=_.indexOf(D.location.key);-1!==i&&(_[i]=n.key),E({action:"REPLACE",location:n})}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=H.setPrompt(e);return N||(T(1),N=!0),function(){return N&&(N=!1,T(-1)),t()}},listen:function(e){var t=H.appendListener(e);return T(1),function(){T(-1),t()}}};return D}function w(e,t,r){return Math.min(Math.max(e,t),r)}function z(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,c=void 0===o?["/"]:o,a=t.initialIndex,i=void 0===a?0:a,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(n.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function d(){return Math.random().toString(36).substr(2,u)}var v=w(i,0,c.length-1),b=c.map((function(e){return h(e,void 0,"string"==typeof e?d():e.key||d())})),y=p;function g(e){var t=w(O.index+e,0,O.entries.length-1),n=O.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[v],index:v,entries:b,createHref:y,push:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=O.index+1,r=O.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(O.entries[O.index]=n,f({action:"REPLACE",location:n}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}}});
packages/woocommerce-admin/dist/chunks/{0.8e26c0dc69c2fbc3b477.min.js → 0.b613ade91494d4c2a4aa.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var a=r(0),n=new WeakMap;function c(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),c=r(8),o=r.n(c),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,c=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:o()("components-visually-hidden",c)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),c=r.n(n),o=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(a.createElement)("div",{className:c()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(o.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(o.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),u),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=c()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},422:function(e,t,r){"use strict";var a=r(6),n=r(14),c=r(0);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},750:function(e,t,r){"use strict";r.d(t,"d",(function(){return j})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"c",(function(){return w})),r.d(t,"b",(function(){return _}));var a=r(17),n=r.n(a),c=r(146),o=r.n(c),i=r(2),s=r(16),l=r.n(s),u=r(108),b=r(23),p=r(33),d=r(750);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e){var t=e.endpoint,r=e.query,a=e.limitBy,c=e.filters,s=void 0===c?[]:c,p=e.advancedFilters,d=void 0===p?{}:p;return r.search?(a||[t]).reduce((function(e,t){return e[t]=r[t],e}),{}):s.map((function(e){return function(e,t,r){var a=r[e.param];if(!a)return{};if("advanced"===a){var c=Object(b.getActiveFiltersFromQuery)(r,t.filters);return 0===c.length?{}:c.map((function(e){return function(e,t){var r=e.filters[t.key];if("Date"!==Object(i.get)(r,["input","component"]))return t;var a=t.rule,n=t.value,c={after:"start",before:"end"};if(Array.isArray(n)){var s=o()(n,2),b=s[0],p=s[1];return Object.assign({},t,{value:[Object(u.a)(l()(b),c.after),Object(u.a)(l()(p),c.before)]})}return Object.assign({},t,{value:Object(u.a)(l()(n),c[a])})}(t,e)})).reduce((function(e,t){var r=t.key,a=t.rule,n=t.value;return e[Object(b.getUrlKey)(r,a)]=n,e}),{match:r.match||"all"})}var s=Object(i.find)(Object(b.flattenFilters)(e.filters),{value:a});if(!s)return{};if(s.settings&&s.settings.param){var p=s.settings.param;return r[p]?n()({},p,r[p]):{}}return n()({},e.param,a)}(e,d,r)})).reduce((function(e,t){return Object.assign(e,t)}),{})}var y=["stock","customers"];function g(e){var t=e.endpoint,r=e.dataType,a=e.query,n=e.fields,c=Object(u.f)(a,e.defaultDateRange),o=Object(u.i)(a),s=O(e),l=c[r].before;return Object(i.includes)(y,t)?m(m({},s),{},{fields:n}):m({order:"asc",interval:o,per_page:p.b,after:Object(u.a)(c[r].after,"start"),before:Object(u.a)(l,"end"),segmentby:a.segmentby,fields:n},s)}function j(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportStats,n=r.getReportStatsError,c=r.isReportStatsRequesting,o={isRequesting:!1,isError:!1,totals:{primary:null,secondary:null}},i=g(m(m({},e),{},{dataType:"primary"})),s=a(t,i);if(c(t,i))return m(m({},o),{},{isRequesting:!0});if(n(t,i))return m(m({},o),{},{isError:!0});var l=s&&s.data&&s.data.totals||null,u=g(m(m({},e),{},{dataType:"secondary"})),b=a(t,u);if(c(t,u))return m(m({},o),{},{isRequesting:!0});if(n(t,u))return m(m({},o),{},{isError:!0});var p=b&&b.data&&b.data.totals||null;return m(m({},o),{},{totals:{primary:l,secondary:p}})}function h(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportStats,n=r.getReportStatsError,c=r.isReportStatsRequesting,o={isEmpty:!1,isError:!1,isRequesting:!1,data:{totals:{},intervals:[]}},s=g(e),l=a(t,s);if(c(t,s))return m(m({},o),{},{isRequesting:!0});if(n(t,s))return m(m({},o),{},{isError:!0});if(function(e,t){return!e||(!e.data||(!(e.data.totals&&!Object(i.isNull)(e.data.totals))||!(Object(i.includes)(y,t)||e.data.intervals&&0!==e.data.intervals.length)))}(l,t))return m(m({},o),{},{isEmpty:!0});var u=l&&l.data&&l.data.totals||null,b=l&&l.data&&l.data.intervals||[];if(l.totalResults>p.b){for(var d=!0,f=!1,O=[],j=Math.ceil(l.totalResults/p.b),h=1,v=2;v<=j;v++){var w=m(m({},s),{},{page:v}),_=a(t,w);if(!c(t,w)){if(n(t,w)){f=!0,d=!1;break}if(O.push(_),++h===j){d=!1;break}}}if(d)return m(m({},o),{},{isRequesting:!0});if(f)return m(m({},o),{},{isError:!0});Object(i.forEach)(O,(function(e){b=b.concat(e.data.intervals)}))}return m(m({},o),{},{data:{totals:u,intervals:b}})}function v(e,t){switch(e){case"currency":return t;case"percent":return".0%";case"number":return",";case"average":return",.2r";default:return","}}function w(e){var t=e.query,r=e.tableQuery,a=void 0===r?{}:r,n=O(e),c=Object(u.f)(t,e.defaultDateRange),o=Object(i.includes)(y,e.endpoint);return m(m({orderby:t.orderby||"date",order:t.order||"desc",after:o?void 0:Object(u.a)(c.primary.after,"start"),before:o?void 0:Object(u.a)(c.primary.before,"end"),page:t.paged||1,per_page:t.per_page||p.d.pageSize},n),a)}function _(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportItems,n=r.getReportItemsError,c=r.isReportItemsRequesting,o=d.c(e),i={query:o,isRequesting:!1,isError:!1,items:{data:[],totalResults:0}},s=a(t,o);return c(t,o)?m(m({},i),{},{isRequesting:!0}):n(t,o)?m(m({},i),{},{isError:!0}):m(m({},i),{},{items:s})}},757:function(e,t,r){"use strict";var a=r(17),n=r.n(a),c=r(38),o=r.n(c),i=r(37),s=r.n(i),l=r(62),u=r.n(l),b=r(39),p=r.n(b),d=r(42),f=r.n(d),m=r(26),O=r.n(m),y=r(0),g=r(1),j=r.n(g),h=r(2),v=r(18),w=r(53),_=r(22),E=r(43),k=r(63),P=r(108),S=r(200);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=O()(e);if(t){var n=O()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return f()(this,r)}}var q=function(e){p()(r,e);var t=D(r);function r(){var e;return o()(this,r),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(k.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({report:t},Object(h.omitBy)(e,h.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(k.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var r=this.props.report;switch(e){case"add":Object(k.b)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(k.b)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":var a=Object.keys(t).reduce((function(e,r){return e[Object(h.snakeCase)(r)]=t[r],e}),{});Object(k.b)("analytics_filters_filter",{report:r,snakeCaseData:a});break;case"clear_all":Object(k.b)("analytics_filters_clear_all",{report:r});break;case"match":Object(k.b)("analytics_filters_all_any",{report:r,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,c=e.showDatePicker,o=e.defaultDateRange,i=Object(P.h)(n,o),s=i.period,l=i.compare,u=i.before,b=i.after,p=Object(P.f)(n,o),d={period:s,compare:l,before:u,after:b,primaryDate:p.primary,secondaryDate:p.secondary},f=this.context;return Object(y.createElement)(w.ReportFilters,{query:n,siteLocale:_.c.siteLocale,currency:f.getCurrency(),path:a,filters:r,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:P.k})}}]),r}(y.Component);q.contextType=S.a,t.a=Object(v.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(q),q.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},759:function(e,t,r){"use strict";var a=r(80),n=r.n(a),c=r(41),o=r.n(c),i=r(17),s=r.n(i),l=r(146),u=r.n(l),b=r(129),p=r.n(b),d=r(0),f=r(772),m=r(67),O=r(48),y=r(169),g=r(45),j=r(18),h=r(2),v=r(3),w=r(8),_=r.n(w),E=r(1),k=r.n(E),P=r(53),S=function(){return Object(d.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(d.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"}))},R=r(23),D=r(733),q=r(43),C=r(261),F=r(750),N=r(33),x=r(101);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Q=r(63);r(897);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var M=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=e.getSummary,c=e.isRequesting,i=e.primaryData,l=e.tableData,b=e.endpoint,y=(e.itemIdField,e.tableQuery,e.compareBy),j=e.searchBy,w=e.labels,E=void 0===w?{}:w,k=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","searchBy","labels"]),F=e.query,x=e.columnPrefsKey,T=l.items,A=l.query,B=F.filter?Object(R.getIdsFromQuery)(F[y]):[],M=Object(d.useState)(B),L=u()(M,2),V=L[0],z=L[1],U=Object(d.useRef)(null),H=Object(q.useUserPreferences)(),K=H.updateUserPreferences,G=p()(H,["updateUserPreferences"]);if(l.isError||i.isError)return Object(d.createElement)(C.a,{isError:!0});var J=[];x&&(J=G&&G[x]?G[x]:J);var W,X,Y,Z,$=function(t){var r=e.ids;z(t?r:[])},ee=function(t,r){var a=e.ids;if(r)z(Object(h.uniq)([a[t]].concat(o()(V))));else{var n=V.indexOf(a[t]);z([].concat(o()(V.slice(0,n)),o()(V.slice(n+1))))}},te=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==V.indexOf(a[t]);return{display:Object(d.createElement)(f.a,{onChange:Object(h.partial)(ee,t),checked:n}),value:!1}},re=c||l.isRequesting||i.isRequesting,ae=Object(h.get)(i,["data","totals"],{}),ne=T.totalResults,ce=ne>0,oe=Object(R.getSearchWords)(F).map((function(e){return{key:e,label:e}})),ie=Object(O.applyFilters)("woocommerce_admin_report_table",{endpoint:b,headers:t(),rows:r(T.data),totals:ae,summary:a?a(ae,ne):null,items:T}),se=ie.headers,le=ie.rows,ue=ie.summary;y&&(le=le.map((function(e,t){return[te(t)].concat(o()(e))})),se=[(W=e.ids,X=void 0===W?[]:W,Y=X.length>0,Z=Y&&X.length===V.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(d.createElement)(f.a,{onChange:$,"aria-label":Object(v.__)("Select All"),checked:Z,disabled:!Y}),required:!0})].concat(o()(se)));var be=function(e,t){return t?e.map((function(e){return I(I({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return I(I({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,J),pe=_()("woocommerce-report-table",{"has-compare":!!y,"has-search":!!j});return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:U,"aria-hidden":!0}),Object(d.createElement)(P.TableCard,n()({className:pe,actions:[y&&Object(d.createElement)(P.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:V.length,helpText:E.helpText||Object(v.__)("Check at least two items below to compare",'woocommerce'),onClick:function(){var t=e.compareParam;y&&Object(R.onQueryChange)("compare")(y,t,V.join(","))},disabled:!ce},E.compareButton||Object(v.__)("Compare",'woocommerce')),j&&Object(d.createElement)(P.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.compareParam,c=t.map((function(e){return e.label.replace(",","%2C")}));c.length?Object(R.updateQueryString)(I(I((r={filter:void 0},s()(r,n,void 0),s()(r,j,void 0),r),a),{},{search:Object(h.uniq)(c).join(",")})):Object(R.updateQueryString)({search:void 0});Object(Q.b)("analytics_table_filter",{report:b})},placeholder:E.placeholder||Object(v.__)("Search by item name",'woocommerce'),selected:oe,showClearButton:!0,type:j,disabled:!ce}),ce&&Object(d.createElement)(m.a,{key:"download",className:"woocommerce-table__download-button",disabled:re,onClick:function(){var a=e.initiateReportExport,n=e.title,c=Object.assign({},F),o=T.data,i=T.totalResults,s="browser";delete c.extended_info,c.search&&delete c[j],o&&o.length===i?Object(D.downloadCSVFile)(Object(D.generateCSVFileName)(n,c),Object(D.generateCSVDataFromTable)(t(),r(o))):(s="email",a(b,n,A)),Object(Q.b)("analytics_table_download",{report:b,rows:i,downloadType:s})}},Object(d.createElement)(S,null),Object(d.createElement)("span",{className:"woocommerce-table__download-button__label"},E.downloadButton||Object(v.__)("Download",'woocommerce')))],headers:be,isLoading:re,onQueryChange:R.onQueryChange,onColumnsChange:function(e,r){var a=t().map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(x){var n=s()({},x,a);K(n)}if(r){var c={report:b,column:r,status:e.includes(r)?"on":"off"};Object(Q.b)("analytics_table_header_toggle",c)}},onSort:function(e,t){Object(R.onQueryChange)("sort")(e,t);var r={report:b,column:e,direction:t};Object(Q.b)("analytics_table_sort",r)},onPageChange:function(e,t){U.current.scrollIntoView();var r=U.current.nextSibling.querySelector(".woocommerce-table__table"),a=g.a.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(Q.b)("analytics_table_go_to_page",{report:b,page:e}):Object(Q.b)("analytics_table_page_click",{report:b,direction:t}))},rows:le,rowsPerPage:parseInt(A.per_page,10)||N.d.pageSize,summary:ue,totalRows:ne},k)))};M.propTypes={baseSearchQuery:k.a.object,compareBy:k.a.string,compareParam:k.a.string,columnPrefsKey:k.a.string,endpoint:k.a.string,extendItemsMethodNames:k.a.shape({getError:k.a.string,isRequesting:k.a.string,load:k.a.string}),getHeadersContent:k.a.func.isRequired,getRowsContent:k.a.func.isRequired,getSummary:k.a.func,itemIdField:k.a.string,labels:k.a.shape({compareButton:k.a.string,downloadButton:k.a.string,helpText:k.a.string,placeholder:k.a.string}),primaryData:k.a.object,searchBy:k.a.string,summaryFields:k.a.arrayOf(k.a.string),tableData:k.a.object.isRequired,tableQuery:k.a.object,title:k.a.string.isRequired},M.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};t.a=Object(y.a)(Object(x.a)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,c=t.itemIdField,o=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,b=t.summaryFields;if(n||o.search&&(!o[r]||!o[r].length))return{};var p=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,d=["variations","categories"].includes(r)?"products":r,f=a?Object(F.a)({endpoint:d,dataType:"primary",query:o,select:e,filters:l,advancedFilters:u,tableQuery:s,defaultDateRange:p,fields:b}):{},m=function(e,t,r){var a=t.extendItemsMethodNames,n=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&n))return r;var o=e("wc-api"),i=o[a.getError],s=o[a.isRequesting],l=o[a.load],u={include:c.map((function(e){return e[n]})).join(","),per_page:c.length},b=l(u),p=!!s&&s(u),d=!!i&&i(u),f=c.map((function(e){var t=Object(h.first)(b.filter((function(t){return e.id===t.id})));return A(A({},e),t)})),m=r.isRequesting||p,O=r.isError||d;return A(A({},r),{},{isRequesting:m,isError:O,items:A(A({},r.items),{},{data:f})})}(e,t,i||Object(F.b)({endpoint:r,query:o,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:f,ids:c?m.items.data.map((function(e){return e[c]})):[],tableData:m,query:I(I({},s),o)}})),Object(j.withDispatch)((function(e){return{initiateReportExport:e("wc-api").initiateReportExport}})))(M)},768:function(e,t,r){"use strict";var a=r(0),n=r(32),c=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=c},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var a=r(12),n=r(14),c=r(0),o=r(112),i=r(422),s=r(768),l=r(171);function u(e){var t=e.label,r=e.className,b=e.heading,p=e.checked,d=e.help,f=e.onChange,m=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),O=Object(o.a)(u),y="inspector-checkbox-control-".concat(O);return Object(c.createElement)(l.a,{label:b,id:y,help:d,className:r},Object(c.createElement)("span",{className:"components-checkbox-control__input-container"},Object(c.createElement)("input",Object(a.a)({id:y,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return f(e.target.checked)},checked:p,"aria-describedby":d?y+"__help":void 0},m)),p?Object(c.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(c.createElement)("label",{className:"components-checkbox-control__label",htmlFor:y},t))}},897:function(e,t,r){}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var a=r(0),n=new WeakMap;function c(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),c=r(8),o=r.n(c),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,c=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:o()("components-visually-hidden",c)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),c=r.n(n),o=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(a.createElement)("div",{className:c()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(o.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(o.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),u),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=c()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},422:function(e,t,r){"use strict";var a=r(6),n=r(14),c=r(0);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},750:function(e,t,r){"use strict";r.d(t,"d",(function(){return j})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"c",(function(){return w})),r.d(t,"b",(function(){return _}));var a=r(17),n=r.n(a),c=r(146),o=r.n(c),i=r(2),s=r(16),l=r.n(s),u=r(108),b=r(22),p=r(33),d=r(750);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e){var t=e.endpoint,r=e.query,a=e.limitBy,c=e.filters,s=void 0===c?[]:c,p=e.advancedFilters,d=void 0===p?{}:p;return r.search?(a||[t]).reduce((function(e,t){return e[t]=r[t],e}),{}):s.map((function(e){return function(e,t,r){var a=r[e.param];if(!a)return{};if("advanced"===a){var c=Object(b.getActiveFiltersFromQuery)(r,t.filters);return 0===c.length?{}:c.map((function(e){return function(e,t){var r=e.filters[t.key];if("Date"!==Object(i.get)(r,["input","component"]))return t;var a=t.rule,n=t.value,c={after:"start",before:"end"};if(Array.isArray(n)){var s=o()(n,2),b=s[0],p=s[1];return Object.assign({},t,{value:[Object(u.a)(l()(b),c.after),Object(u.a)(l()(p),c.before)]})}return Object.assign({},t,{value:Object(u.a)(l()(n),c[a])})}(t,e)})).reduce((function(e,t){var r=t.key,a=t.rule,n=t.value;return e[Object(b.getUrlKey)(r,a)]=n,e}),{match:r.match||"all"})}var s=Object(i.find)(Object(b.flattenFilters)(e.filters),{value:a});if(!s)return{};if(s.settings&&s.settings.param){var p=s.settings.param;return r[p]?n()({},p,r[p]):{}}return n()({},e.param,a)}(e,d,r)})).reduce((function(e,t){return Object.assign(e,t)}),{})}var y=["stock","customers"];function g(e){var t=e.endpoint,r=e.dataType,a=e.query,n=e.fields,c=Object(u.f)(a,e.defaultDateRange),o=Object(u.i)(a),s=O(e),l=c[r].before;return Object(i.includes)(y,t)?m(m({},s),{},{fields:n}):m({order:"asc",interval:o,per_page:p.b,after:Object(u.a)(c[r].after,"start"),before:Object(u.a)(l,"end"),segmentby:a.segmentby,fields:n},s)}function j(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportStats,n=r.getReportStatsError,c=r.isReportStatsRequesting,o={isRequesting:!1,isError:!1,totals:{primary:null,secondary:null}},i=g(m(m({},e),{},{dataType:"primary"})),s=a(t,i);if(c(t,i))return m(m({},o),{},{isRequesting:!0});if(n(t,i))return m(m({},o),{},{isError:!0});var l=s&&s.data&&s.data.totals||null,u=g(m(m({},e),{},{dataType:"secondary"})),b=a(t,u);if(c(t,u))return m(m({},o),{},{isRequesting:!0});if(n(t,u))return m(m({},o),{},{isError:!0});var p=b&&b.data&&b.data.totals||null;return m(m({},o),{},{totals:{primary:l,secondary:p}})}function h(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportStats,n=r.getReportStatsError,c=r.isReportStatsRequesting,o={isEmpty:!1,isError:!1,isRequesting:!1,data:{totals:{},intervals:[]}},s=g(e),l=a(t,s);if(c(t,s))return m(m({},o),{},{isRequesting:!0});if(n(t,s))return m(m({},o),{},{isError:!0});if(function(e,t){return!e||(!e.data||(!(e.data.totals&&!Object(i.isNull)(e.data.totals))||!(Object(i.includes)(y,t)||e.data.intervals&&0!==e.data.intervals.length)))}(l,t))return m(m({},o),{},{isEmpty:!0});var u=l&&l.data&&l.data.totals||null,b=l&&l.data&&l.data.intervals||[];if(l.totalResults>p.b){for(var d=!0,f=!1,O=[],j=Math.ceil(l.totalResults/p.b),h=1,v=2;v<=j;v++){var w=m(m({},s),{},{page:v}),_=a(t,w);if(!c(t,w)){if(n(t,w)){f=!0,d=!1;break}if(O.push(_),++h===j){d=!1;break}}}if(d)return m(m({},o),{},{isRequesting:!0});if(f)return m(m({},o),{},{isError:!0});Object(i.forEach)(O,(function(e){b=b.concat(e.data.intervals)}))}return m(m({},o),{},{data:{totals:u,intervals:b}})}function v(e,t){switch(e){case"currency":return t;case"percent":return".0%";case"number":return",";case"average":return",.2r";default:return","}}function w(e){var t=e.query,r=e.tableQuery,a=void 0===r?{}:r,n=O(e),c=Object(u.f)(t,e.defaultDateRange),o=Object(i.includes)(y,e.endpoint);return m(m({orderby:t.orderby||"date",order:t.order||"desc",after:o?void 0:Object(u.a)(c.primary.after,"start"),before:o?void 0:Object(u.a)(c.primary.before,"end"),page:t.paged||1,per_page:t.per_page||p.d.pageSize},n),a)}function _(e){var t=e.endpoint,r=(0,e.select)("wc-api"),a=r.getReportItems,n=r.getReportItemsError,c=r.isReportItemsRequesting,o=d.c(e),i={query:o,isRequesting:!1,isError:!1,items:{data:[],totalResults:0}},s=a(t,o);return c(t,o)?m(m({},i),{},{isRequesting:!0}):n(t,o)?m(m({},i),{},{isError:!0}):m(m({},i),{},{items:s})}},757:function(e,t,r){"use strict";var a=r(17),n=r.n(a),c=r(38),o=r.n(c),i=r(37),s=r.n(i),l=r(62),u=r.n(l),b=r(39),p=r.n(b),d=r(42),f=r.n(d),m=r(26),O=r.n(m),y=r(0),g=r(1),j=r.n(g),h=r(2),v=r(18),w=r(53),_=r(23),E=r(43),k=r(63),P=r(108),S=r(200);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=O()(e);if(t){var n=O()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return f()(this,r)}}var q=function(e){p()(r,e);var t=D(r);function r(){var e;return o()(this,r),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(k.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({report:t},Object(h.omitBy)(e,h.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(k.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var r=this.props.report;switch(e){case"add":Object(k.b)("analytics_filters_add",{report:r,filter:t.key});break;case"remove":Object(k.b)("analytics_filters_remove",{report:r,filter:t.key});break;case"filter":var a=Object.keys(t).reduce((function(e,r){return e[Object(h.snakeCase)(r)]=t[r],e}),{});Object(k.b)("analytics_filters_filter",{report:r,snakeCaseData:a});break;case"clear_all":Object(k.b)("analytics_filters_clear_all",{report:r});break;case"match":Object(k.b)("analytics_filters_all_any",{report:r,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,c=e.showDatePicker,o=e.defaultDateRange,i=Object(P.h)(n,o),s=i.period,l=i.compare,u=i.before,b=i.after,p=Object(P.f)(n,o),d={period:s,compare:l,before:u,after:b,primaryDate:p.primary,secondaryDate:p.secondary},f=this.context;return Object(y.createElement)(w.ReportFilters,{query:n,siteLocale:_.c.siteLocale,currency:f.getCurrency(),path:a,filters:r,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:P.k})}}]),r}(y.Component);q.contextType=S.a,t.a=Object(v.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(q),q.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},759:function(e,t,r){"use strict";var a=r(80),n=r.n(a),c=r(41),o=r.n(c),i=r(17),s=r.n(i),l=r(146),u=r.n(l),b=r(129),p=r.n(b),d=r(0),f=r(772),m=r(67),O=r(48),y=r(169),g=r(45),j=r(18),h=r(2),v=r(3),w=r(8),_=r.n(w),E=r(1),k=r.n(E),P=r(53),S=function(){return Object(d.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(d.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"}))},R=r(22),D=r(733),q=r(43),C=r(261),F=r(750),N=r(33),x=r(101);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Q=r(63);r(897);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var M=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=e.getSummary,c=e.isRequesting,i=e.primaryData,l=e.tableData,b=e.endpoint,y=(e.itemIdField,e.tableQuery,e.compareBy),j=e.searchBy,w=e.labels,E=void 0===w?{}:w,k=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","searchBy","labels"]),F=e.query,x=e.columnPrefsKey,T=l.items,A=l.query,B=F.filter?Object(R.getIdsFromQuery)(F[y]):[],M=Object(d.useState)(B),L=u()(M,2),V=L[0],z=L[1],U=Object(d.useRef)(null),H=Object(q.useUserPreferences)(),K=H.updateUserPreferences,G=p()(H,["updateUserPreferences"]);if(l.isError||i.isError)return Object(d.createElement)(C.a,{isError:!0});var J=[];x&&(J=G&&G[x]?G[x]:J);var W,X,Y,Z,$=function(t){var r=e.ids;z(t?r:[])},ee=function(t,r){var a=e.ids;if(r)z(Object(h.uniq)([a[t]].concat(o()(V))));else{var n=V.indexOf(a[t]);z([].concat(o()(V.slice(0,n)),o()(V.slice(n+1))))}},te=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==V.indexOf(a[t]);return{display:Object(d.createElement)(f.a,{onChange:Object(h.partial)(ee,t),checked:n}),value:!1}},re=c||l.isRequesting||i.isRequesting,ae=Object(h.get)(i,["data","totals"],{}),ne=T.totalResults,ce=ne>0,oe=Object(R.getSearchWords)(F).map((function(e){return{key:e,label:e}})),ie=Object(O.applyFilters)("woocommerce_admin_report_table",{endpoint:b,headers:t(),rows:r(T.data),totals:ae,summary:a?a(ae,ne):null,items:T}),se=ie.headers,le=ie.rows,ue=ie.summary;y&&(le=le.map((function(e,t){return[te(t)].concat(o()(e))})),se=[(W=e.ids,X=void 0===W?[]:W,Y=X.length>0,Z=Y&&X.length===V.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(d.createElement)(f.a,{onChange:$,"aria-label":Object(v.__)("Select All"),checked:Z,disabled:!Y}),required:!0})].concat(o()(se)));var be=function(e,t){return t?e.map((function(e){return I(I({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return I(I({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,J),pe=_()("woocommerce-report-table",{"has-compare":!!y,"has-search":!!j});return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:U,"aria-hidden":!0}),Object(d.createElement)(P.TableCard,n()({className:pe,actions:[y&&Object(d.createElement)(P.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:V.length,helpText:E.helpText||Object(v.__)("Check at least two items below to compare",'woocommerce'),onClick:function(){var t=e.compareParam;y&&Object(R.onQueryChange)("compare")(y,t,V.join(","))},disabled:!ce},E.compareButton||Object(v.__)("Compare",'woocommerce')),j&&Object(d.createElement)(P.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.compareParam,c=t.map((function(e){return e.label.replace(",","%2C")}));c.length?Object(R.updateQueryString)(I(I((r={filter:void 0},s()(r,n,void 0),s()(r,j,void 0),r),a),{},{search:Object(h.uniq)(c).join(",")})):Object(R.updateQueryString)({search:void 0});Object(Q.b)("analytics_table_filter",{report:b})},placeholder:E.placeholder||Object(v.__)("Search by item name",'woocommerce'),selected:oe,showClearButton:!0,type:j,disabled:!ce}),ce&&Object(d.createElement)(m.a,{key:"download",className:"woocommerce-table__download-button",disabled:re,onClick:function(){var a=e.initiateReportExport,n=e.title,c=Object.assign({},F),o=T.data,i=T.totalResults,s="browser";delete c.extended_info,c.search&&delete c[j],o&&o.length===i?Object(D.downloadCSVFile)(Object(D.generateCSVFileName)(n,c),Object(D.generateCSVDataFromTable)(t(),r(o))):(s="email",a(b,n,A)),Object(Q.b)("analytics_table_download",{report:b,rows:i,downloadType:s})}},Object(d.createElement)(S,null),Object(d.createElement)("span",{className:"woocommerce-table__download-button__label"},E.downloadButton||Object(v.__)("Download",'woocommerce')))],headers:be,isLoading:re,onQueryChange:R.onQueryChange,onColumnsChange:function(e,r){var a=t().map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(x){var n=s()({},x,a);K(n)}if(r){var c={report:b,column:r,status:e.includes(r)?"on":"off"};Object(Q.b)("analytics_table_header_toggle",c)}},onSort:function(e,t){Object(R.onQueryChange)("sort")(e,t);var r={report:b,column:e,direction:t};Object(Q.b)("analytics_table_sort",r)},onPageChange:function(e,t){U.current.scrollIntoView();var r=U.current.nextSibling.querySelector(".woocommerce-table__table"),a=g.a.focusable.find(r);a.length&&a[0].focus(),t&&("goto"===t?Object(Q.b)("analytics_table_go_to_page",{report:b,page:e}):Object(Q.b)("analytics_table_page_click",{report:b,direction:t}))},rows:le,rowsPerPage:parseInt(A.per_page,10)||N.d.pageSize,summary:ue,totalRows:ne},k)))};M.propTypes={baseSearchQuery:k.a.object,compareBy:k.a.string,compareParam:k.a.string,columnPrefsKey:k.a.string,endpoint:k.a.string,extendItemsMethodNames:k.a.shape({getError:k.a.string,isRequesting:k.a.string,load:k.a.string}),getHeadersContent:k.a.func.isRequired,getRowsContent:k.a.func.isRequired,getSummary:k.a.func,itemIdField:k.a.string,labels:k.a.shape({compareButton:k.a.string,downloadButton:k.a.string,helpText:k.a.string,placeholder:k.a.string}),primaryData:k.a.object,searchBy:k.a.string,summaryFields:k.a.arrayOf(k.a.string),tableData:k.a.object.isRequired,tableQuery:k.a.object,title:k.a.string.isRequired},M.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};t.a=Object(y.a)(Object(x.a)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,c=t.itemIdField,o=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,b=t.summaryFields;if(n||o.search&&(!o[r]||!o[r].length))return{};var p=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,d=["variations","categories"].includes(r)?"products":r,f=a?Object(F.a)({endpoint:d,dataType:"primary",query:o,select:e,filters:l,advancedFilters:u,tableQuery:s,defaultDateRange:p,fields:b}):{},m=function(e,t,r){var a=t.extendItemsMethodNames,n=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&n))return r;var o=e("wc-api"),i=o[a.getError],s=o[a.isRequesting],l=o[a.load],u={include:c.map((function(e){return e[n]})).join(","),per_page:c.length},b=l(u),p=!!s&&s(u),d=!!i&&i(u),f=c.map((function(e){var t=Object(h.first)(b.filter((function(t){return e.id===t.id})));return A(A({},e),t)})),m=r.isRequesting||p,O=r.isError||d;return A(A({},r),{},{isRequesting:m,isError:O,items:A(A({},r.items),{},{data:f})})}(e,t,i||Object(F.b)({endpoint:r,query:o,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:f,ids:c?m.items.data.map((function(e){return e[c]})):[],tableData:m,query:I(I({},s),o)}})),Object(j.withDispatch)((function(e){return{initiateReportExport:e("wc-api").initiateReportExport}})))(M)},768:function(e,t,r){"use strict";var a=r(0),n=r(32),c=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=c},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var a=r(12),n=r(14),c=r(0),o=r(112),i=r(422),s=r(768),l=r(171);function u(e){var t=e.label,r=e.className,b=e.heading,p=e.checked,d=e.help,f=e.onChange,m=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),O=Object(o.a)(u),y="inspector-checkbox-control-".concat(O);return Object(c.createElement)(l.a,{label:b,id:y,help:d,className:r},Object(c.createElement)("span",{className:"components-checkbox-control__input-container"},Object(c.createElement)("input",Object(a.a)({id:y,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return f(e.target.checked)},checked:p,"aria-describedby":d?y+"__help":void 0},m)),p?Object(c.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(c.createElement)("label",{className:"components-checkbox-control__label",htmlFor:y},t))}},897:function(e,t,r){}}]);
packages/woocommerce-admin/dist/chunks/10.c34bdb3643ebc08cb134.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{737:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return G}));var o=r(17),c=r.n(o),a=r(38),n=r.n(a),i=r(37),s=r.n(i),l=r(39),m=r.n(l),u=r(42),d=r.n(u),p=r(26),g=r.n(p),b=r(0),y=r(1),_=r.n(y),f=r(3),O=r(48),h=r(751),j=Object(O.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(f.__)("Items Sold",'woocommerce'),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(f.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(f.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),v=Object(O.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(f.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(f.__)("All Categories",'woocommerce'),value:"all"},{label:Object(f.__)("Single Category",'woocommerce'),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:h.a,labels:{placeholder:Object(f.__)("Type to search for a category",'woocommerce'),button:Object(f.__)("Single Category",'woocommerce')}}}]},{label:Object(f.__)("Comparison",'woocommerce'),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:h.a,labels:{helpText:Object(f.__)("Check at least two categories below to compare",'woocommerce'),placeholder:Object(f.__)("Search for categories to compare",'woocommerce'),title:Object(f.__)("Compare Categories",'woocommerce'),update:Object(f.__)("Compare",'woocommerce')}}}]}]),w=Object(O.applyFilters)("woocommerce_admin_category_report_advanced_filters",{}),C=r(62),S=r.n(C),q=r(169),R=r(2),k=r(22),P=r(53),F=r(201),E=r(790),D=r(759),x=r(101),V=r(200);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=g()(e);if(t){var c=g()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var N=function(e){m()(r,e);var t=L(r);function r(e){var o;return n()(this,r),(o=t.call(this,e)).getRowsContent=o.getRowsContent.bind(S()(o)),o.getSummary=o.getSummary.bind(S()(o)),o}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(f.__)("Category",'woocommerce'),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(f.__)("Items Sold",'woocommerce'),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(f.__)("Net Sales",'woocommerce'),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Products",'woocommerce'),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Orders",'woocommerce'),key:"orders_count",isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,o=r.render,c=r.formatDecimal,a=(0,r.getCurrency)();return Object(R.map)(e,(function(e){var r=e.category_id,n=e.items_sold,i=e.net_revenue,s=e.products_count,l=e.orders_count,m=t.props,u=m.categories,d=m.query,p=u.get(r),g=Object(k.getPersistedQuery)(d);return[{display:Object(b.createElement)(E.a,{query:d,category:p,categories:u}),value:p&&p.name},{display:Object(F.formatValue)(a,"number",n),value:n},{display:o(i),value:c(i)},{display:p&&Object(b.createElement)(P.Link,{href:Object(k.getNewPath)(g,"/analytics/categories",{filter:"single_category",categories:p.id}),type:"wc-admin"},Object(F.formatValue)(a,"number",s)),value:s},{display:Object(F.formatValue)(a,"number",l),value:l}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.items_sold,o=void 0===r?0:r,c=e.net_revenue,a=void 0===c?0:c,n=e.orders_count,i=void 0===n?0:n,s=this.context,l=s.formatCurrency,m=s.getCurrency,u=m();return[{label:Object(f._n)("category","categories",t,'woocommerce'),value:Object(F.formatValue)(u,"number",t)},{label:Object(f._n)("item sold","items sold",o,'woocommerce'),value:Object(F.formatValue)(u,"number",o)},{label:Object(f.__)("net sales",'woocommerce'),value:l(a)},{label:Object(f._n)("order","orders",i,'woocommerce'),value:Object(F.formatValue)(u,"number",i)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.isRequesting,c=e.query,a={helpText:Object(f.__)("Check at least two categories below to compare",'woocommerce'),placeholder:Object(f.__)("Search by category name",'woocommerce')};return Object(b.createElement)(D.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:o,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(f.__)("Categories",'woocommerce'),columnPrefsKey:"categories_report_columns",filters:r,advancedFilters:t})}}]),r}(b.Component);N.contextType=V.a;var I=Object(q.a)(Object(x.a)((function(e,t){var r=t.isRequesting,o=t.query;if(r||o.search&&(!o.categories||!o.categories.length))return{};var c=e("wc-api"),a=c.getItems,n=c.getItemsError,i=c.isGetItemsRequesting,s={per_page:-1};return{categories:a("categories",s),isError:Boolean(n("categories",s)),isRequesting:i("categories",s)}})))(N),T=r(755),M=r(754),B=r(756),H=r(789),Q=r(757);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=g()(e);if(t){var c=g()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var G=function(e){m()(r,e);var t=J(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,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(f.__)("%d products",'woocommerce'):Object(f.__)("%d categories",'woocommerce'),mode:o}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,a=this.getChartMeta(),n=a.mode,i=a.itemsLabel,s=a.isSingleCategoryView,l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===n&&(l.segmentby=s?"product":"category"),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Q.a,{query:r,path:o,filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(B.a,{charts:j,endpoint:"products",isRequesting:t,limitProperties:s?["products","categories"]:["categories"],query:l,selectedChart:Object(T.a)(r.chart,j),filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(M.a,{charts:j,filters:v,advancedFilters:w,mode:n,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:o,query:l,isRequesting:t,itemsLabel:i,selectedChart:Object(T.a)(r.chart,j)}),s?Object(b.createElement)(H.a,{isRequesting:t,query:l,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:v,advancedFilters:w}):Object(b.createElement)(I,{isRequesting:t,query:r,filters:v,advancedFilters:w}))}}]),r}(b.Component);G.propTypes={query:_.a.object.isRequired,path:_.a.string.isRequired}}}]);
packages/woocommerce-admin/dist/chunks/{10.741b0732ffd836fa3293.min.js → 11.b3e2eb89a0181fa5e2f2.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{741:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return A}));var n=r(17),a=r.n(n),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),m=r(42),d=r.n(m),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(781),O=r(62),j=r.n(O),_=r(2),R=r(53),w=r(108),q=r(23),C=r(201),D=r(22),k=r(759),P=r(200);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var S=function(e){l()(r,e);var t=E(r);function r(){var e;return c()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(j()(e)),e.getRowsContent=e.getRowsContent.bind(j()(e)),e.getSummary=e.getSummary.bind(j()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Coupon Code",'woocommerce'),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Orders",'woocommerce'),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(h.__)("Amount Discounted",'woocommerce'),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Created",'woocommerce'),key:"created"},{label:Object(h.__)("Expires",'woocommerce'),key:"expires"},{label:Object(h.__)("Type",'woocommerce'),key:"type"}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,n=Object(q.getPersistedQuery)(r),a=Object(D.g)("dateFormat",w.c),o=this.context,c=o.formatCurrency,i=o.formatDecimal,s=o.getCurrency;return Object(_.map)(e,(function(e){var r=e.amount,o=e.coupon_id,u=e.orders_count,l=e.extended_info||{},m=l.code,d=l.date_created,p=l.date_expires,f=l.discount_type,b=Object(q.getNewPath)(n,"/analytics/coupons",{filter:"single_coupon",coupons:o}),g=Object(y.createElement)(R.Link,{href:b,type:"wc-admin"},m),v=Object(q.getNewPath)(n,"/analytics/orders",{filter:"advanced",coupon_includes:o});return[{display:g,value:m},{display:Object(y.createElement)(R.Link,{href:v,type:"wc-admin"},Object(C.formatValue)(s(),"number",u)),value:u},{display:c(r),value:i(r)},{display:Object(y.createElement)(R.Date,{date:d,visibleFormat:a}),value:d},{display:p?Object(y.createElement)(R.Date,{date:p,visibleFormat:a}):Object(h.__)("N/A",'woocommerce'),value:p},{display:t.getCouponType(f),value:f}]}))}},{key:"getSummary",value:function(e){var t=e.coupons_count,r=void 0===t?0:t,n=e.orders_count,a=void 0===n?0:n,o=e.amount,c=void 0===o?0:o,i=this.context,s=i.formatCurrency,u=(0,i.getCurrency)();return[{label:Object(h._n)("coupon","coupons",r,'woocommerce'),value:Object(C.formatValue)(u,"number",r)},{label:Object(h._n)("order","orders",a,'woocommerce'),value:Object(C.formatValue)(u,"number",a)},{label:Object(h.__)("amount discounted",'woocommerce'),value:s(c)}]}},{key:"getCouponType",value:function(e){return{percent:Object(h.__)("Percentage",'woocommerce'),fixed_cart:Object(h.__)("Fixed cart",'woocommerce'),fixed_product:Object(h.__)("Fixed product",'woocommerce')}[e]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.isRequesting,a=e.query;return Object(y.createElement)(k.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:n,itemIdField:"coupon_id",query:a,searchBy:"coupons",tableQuery:{orderby:a.orderby||"orders_count",order:a.order||"desc",extended_info:!0},title:Object(h.__)("Coupons",'woocommerce'),columnPrefsKey:"coupons_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);S.contextType=P.a;var T=S,F=r(755),x=r(754),L=r(756),V=r(757);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var A=function(e){l()(r,e);var t=H(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d coupons",'woocommerce'),mode:t}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,n=e.path,o=this.getChartMeta(),c=o.mode,i=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===c&&(s.segmentby="coupon"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(V.a,{query:r,path:n,filters:v.c,advancedFilters:v.a,report:"coupons"}),Object(y.createElement)(L.a,{charts:v.b,endpoint:"coupons",isRequesting:t,query:s,selectedChart:Object(F.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(x.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:c,endpoint:"coupons",path:n,query:s,isRequesting:t,itemsLabel:i,selectedChart:Object(F.a)(r.chart,v.b)}),Object(y.createElement)(T,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);A.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var n=r(27),a=r(21),o=r.n(a),c=r(2),i=r(23),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(a):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(n.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var m=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,n){return e+"".concat(t.option).concat(n.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3);function a(e){return[e.country,e.state,e.name||Object(n.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var n=r(17),a=r.n(n),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),m=r(42),d=r.n(m),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),j=r.n(O),_=r(108),R=r(53),w=r(43),q=r(200),C=r(750),D=r(261),k=r(101),P=r(23);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var F=function(e){l()(r,e);var t=T(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var n=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:n,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,n=e.secondaryData,a=e.selectedChart,o=e.defaultDateRange,c=Object(_.i)(t),i=Object(_.f)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(_.j)(e.date_start,s.after,u.after,t.compare,c),i=n.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,n=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",n.key],null),secondary:Object(v.get)(r,["data","totals",n.key],null)}}},{key:"renderChart",value:function(e,t,r,n){var a=this.props,o=a.emptySearchResults,c=a.filterParam,i=a.interactiveLegend,s=a.itemsLabel,u=a.legendPosition,l=a.path,m=a.query,d=a.selectedChart,p=a.showHeaderControls,f=a.primaryData,g=Object(_.i)(m),h=Object(_.d)(m),v=Object(_.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),j=this.context,w=j.formatCurrency,q=j.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:c,interactiveLegend:i,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:n,mode:e,path:l,query:m,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(C.e)(d.type,w),chartType:Object(_.e)(m),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(D.a,{isError:!0});var n=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",n,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,n=e.secondaryData;if(!r||r.isError||n.isError)return Object(y.createElement)(D.a,{isError:!0});var a=t||r.isRequesting||n.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",a,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);F.contextType=q.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.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(g.a)(Object(k.a)((function(e,t){var r=t.charts,n=t.endpoint,a=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[n],l=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),o=a.pop();if(o.showFilters(r,n)){var c=Object(P.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(v.find)(c,{value:i})}return e(a,r,n)}(a,i),m=Object(v.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:d,filterParam:m,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(C.a)({endpoint:n,dataType:"primary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===d)return S(S({},f),{},{primaryData:g});var h=Object(C.a)({endpoint:n,dataType:"secondary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(F)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(n.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var n=r(38),a=r.n(n),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),m=r(26),d=r.n(m),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(23),O=r(53),j=r(201),_=r(43),R=r(750),w=r(261),q=r(101),C=r(63),D=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l()(this,r)}}var P=function(e){s()(r,e);var t=k(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,n=r.formatCurrency,a=r.getCurrency;return"currency"===t?n(e):Object(j.formatValue)(a(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,n=r.emptySearchResults,a=r.summaryData.totals,o=n?0:a.primary[e],c=n?0:a.secondary[e];return{delta:Object(j.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,n=t.isRequesting,a=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,s=t.report,u=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(w.a,{isError:!0});if(n||m)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(h.h)(a,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var n=t.onToggle;return r.map((function(t){var r=t.key,a=t.order,c=t.orderby,u=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),a&&(m.order=a);var y=Object(v.getNewPath)(m),b=o.key===r,g=e.getValues(r,l),h=g.delta,j=g.prevValue,_=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:j,selected:b,value:_,onLinkClickCallback:function(){n&&n(),Object(C.b)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);P.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},P.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},P.contextType=D.a,t.a=Object(y.a)(Object(q.a)((function(e,t){var r=t.charts,n=t.endpoint,a=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,s=t.advancedFilters,u=o||[n];if(a)return{};var l=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:n,query:c,select:e,limitBy:u,filters:i,advancedFilters:s,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(P)},781:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var n=r(3),a=r(48),o=r(751),c=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount",'woocommerce'),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(n.__)("All Coupons",'woocommerce'),value:"all"},{label:Object(n.__)("Single Coupon",'woocommerce'),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{placeholder:Object(n.__)("Type to search for a coupon",'woocommerce'),button:Object(n.__)("Single Coupon",'woocommerce')}}}]},{label:Object(n.__)("Comparison",'woocommerce'),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{title:Object(n.__)("Compare Coupon Codes",'woocommerce'),update:Object(n.__)("Compare",'woocommerce'),helpText:Object(n.__)("Check at least two coupon codes below to compare",'woocommerce')}}}]}]),s=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{741:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return A}));var n=r(17),a=r.n(n),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),m=r(42),d=r.n(m),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(781),O=r(62),j=r.n(O),_=r(2),R=r(53),w=r(108),q=r(22),C=r(201),D=r(23),k=r(759),P=r(200);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var S=function(e){l()(r,e);var t=E(r);function r(){var e;return c()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(j()(e)),e.getRowsContent=e.getRowsContent.bind(j()(e)),e.getSummary=e.getSummary.bind(j()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Coupon Code",'woocommerce'),key:"code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Orders",'woocommerce'),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(h.__)("Amount Discounted",'woocommerce'),key:"amount",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Created",'woocommerce'),key:"created"},{label:Object(h.__)("Expires",'woocommerce'),key:"expires"},{label:Object(h.__)("Type",'woocommerce'),key:"type"}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,n=Object(q.getPersistedQuery)(r),a=Object(D.g)("dateFormat",w.c),o=this.context,c=o.formatCurrency,i=o.formatDecimal,s=o.getCurrency;return Object(_.map)(e,(function(e){var r=e.amount,o=e.coupon_id,u=e.orders_count,l=e.extended_info||{},m=l.code,d=l.date_created,p=l.date_expires,f=l.discount_type,b=Object(q.getNewPath)(n,"/analytics/coupons",{filter:"single_coupon",coupons:o}),g=Object(y.createElement)(R.Link,{href:b,type:"wc-admin"},m),v=Object(q.getNewPath)(n,"/analytics/orders",{filter:"advanced",coupon_includes:o});return[{display:g,value:m},{display:Object(y.createElement)(R.Link,{href:v,type:"wc-admin"},Object(C.formatValue)(s(),"number",u)),value:u},{display:c(r),value:i(r)},{display:Object(y.createElement)(R.Date,{date:d,visibleFormat:a}),value:d},{display:p?Object(y.createElement)(R.Date,{date:p,visibleFormat:a}):Object(h.__)("N/A",'woocommerce'),value:p},{display:t.getCouponType(f),value:f}]}))}},{key:"getSummary",value:function(e){var t=e.coupons_count,r=void 0===t?0:t,n=e.orders_count,a=void 0===n?0:n,o=e.amount,c=void 0===o?0:o,i=this.context,s=i.formatCurrency,u=(0,i.getCurrency)();return[{label:Object(h._n)("coupon","coupons",r,'woocommerce'),value:Object(C.formatValue)(u,"number",r)},{label:Object(h._n)("order","orders",a,'woocommerce'),value:Object(C.formatValue)(u,"number",a)},{label:Object(h.__)("amount discounted",'woocommerce'),value:s(c)}]}},{key:"getCouponType",value:function(e){return{percent:Object(h.__)("Percentage",'woocommerce'),fixed_cart:Object(h.__)("Fixed cart",'woocommerce'),fixed_product:Object(h.__)("Fixed product",'woocommerce')}[e]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.isRequesting,a=e.query;return Object(y.createElement)(k.a,{compareBy:"coupons",endpoint:"coupons",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["coupons_count","orders_count","amount"],isRequesting:n,itemIdField:"coupon_id",query:a,searchBy:"coupons",tableQuery:{orderby:a.orderby||"orders_count",order:a.order||"desc",extended_info:!0},title:Object(h.__)("Coupons",'woocommerce'),columnPrefsKey:"coupons_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);S.contextType=P.a;var T=S,F=r(755),x=r(754),L=r(756),V=r(757);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var A=function(e){l()(r,e);var t=H(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-coupons"===e.filter&&e.coupons&&e.coupons.split(",").length>1?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d coupons",'woocommerce'),mode:t}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,n=e.path,o=this.getChartMeta(),c=o.mode,i=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===c&&(s.segmentby="coupon"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(V.a,{query:r,path:n,filters:v.c,advancedFilters:v.a,report:"coupons"}),Object(y.createElement)(L.a,{charts:v.b,endpoint:"coupons",isRequesting:t,query:s,selectedChart:Object(F.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(x.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:c,endpoint:"coupons",path:n,query:s,isRequesting:t,itemsLabel:i,selectedChart:Object(F.a)(r.chart,v.b)}),Object(y.createElement)(T,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);A.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var n=r(27),a=r(21),o=r.n(a),c=r(2),i=r(22),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(a):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(n.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var m=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,n){return e+"".concat(t.option).concat(n.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3);function a(e){return[e.country,e.state,e.name||Object(n.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var n=r(17),a=r.n(n),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),m=r(42),d=r.n(m),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),j=r.n(O),_=r(108),R=r(53),w=r(43),q=r(200),C=r(750),D=r(261),k=r(101),P=r(22);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d()(this,r)}}var F=function(e){l()(r,e);var t=T(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var n=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:n,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,n=e.secondaryData,a=e.selectedChart,o=e.defaultDateRange,c=Object(_.i)(t),i=Object(_.f)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(_.j)(e.date_start,s.after,u.after,t.compare,c),i=n.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,n=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",n.key],null),secondary:Object(v.get)(r,["data","totals",n.key],null)}}},{key:"renderChart",value:function(e,t,r,n){var a=this.props,o=a.emptySearchResults,c=a.filterParam,i=a.interactiveLegend,s=a.itemsLabel,u=a.legendPosition,l=a.path,m=a.query,d=a.selectedChart,p=a.showHeaderControls,f=a.primaryData,g=Object(_.i)(m),h=Object(_.d)(m),v=Object(_.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),j=this.context,w=j.formatCurrency,q=j.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:c,interactiveLegend:i,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:n,mode:e,path:l,query:m,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(C.e)(d.type,w),chartType:Object(_.e)(m),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(D.a,{isError:!0});var n=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",n,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,n=e.secondaryData;if(!r||r.isError||n.isError)return Object(y.createElement)(D.a,{isError:!0});var a=t||r.isRequesting||n.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",a,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);F.contextType=q.a,F.propTypes={filters:j.a.array,isRequesting:j.a.bool,itemsLabel:j.a.string,limitProperties:j.a.array,mode:j.a.string,path:j.a.string.isRequired,primaryData:j.a.object,query:j.a.object.isRequired,secondaryData:j.a.object,selectedChart:j.a.shape({key:j.a.string.isRequired,label:j.a.string.isRequired,order:j.a.oneOf(["asc","desc"]),orderby:j.a.string,type:j.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(g.a)(Object(k.a)((function(e,t){var r=t.charts,n=t.endpoint,a=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[n],l=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),o=a.pop();if(o.showFilters(r,n)){var c=Object(P.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(v.find)(c,{value:i})}return e(a,r,n)}(a,i),m=Object(v.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:d,filterParam:m,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(C.a)({endpoint:n,dataType:"primary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===d)return S(S({},f),{},{primaryData:g});var h=Object(C.a)({endpoint:n,dataType:"secondary",query:i,select:e,limitBy:u,filters:a,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(F)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(n.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var n=r(38),a=r.n(n),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),m=r(26),d=r.n(m),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(22),O=r(53),j=r(201),_=r(43),R=r(750),w=r(261),q=r(101),C=r(63),D=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d()(e);if(t){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l()(this,r)}}var P=function(e){s()(r,e);var t=k(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,n=r.formatCurrency,a=r.getCurrency;return"currency"===t?n(e):Object(j.formatValue)(a(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,n=r.emptySearchResults,a=r.summaryData.totals,o=n?0:a.primary[e],c=n?0:a.secondary[e];return{delta:Object(j.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,n=t.isRequesting,a=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,s=t.report,u=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(w.a,{isError:!0});if(n||m)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(h.h)(a,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var n=t.onToggle;return r.map((function(t){var r=t.key,a=t.order,c=t.orderby,u=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),a&&(m.order=a);var y=Object(v.getNewPath)(m),b=o.key===r,g=e.getValues(r,l),h=g.delta,j=g.prevValue,_=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===d?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:j,selected:b,value:_,onLinkClickCallback:function(){n&&n(),Object(C.b)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);P.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},P.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},P.contextType=D.a,t.a=Object(y.a)(Object(q.a)((function(e,t){var r=t.charts,n=t.endpoint,a=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,s=t.advancedFilters,u=o||[n];if(a)return{};var l=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:n,query:c,select:e,limitBy:u,filters:i,advancedFilters:s,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(P)},781:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var n=r(3),a=r(48),o=r(751),c=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(n.__)("Discounted Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(n.__)("Amount",'woocommerce'),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(n.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(n.__)("All Coupons",'woocommerce'),value:"all"},{label:Object(n.__)("Single Coupon",'woocommerce'),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{placeholder:Object(n.__)("Type to search for a coupon",'woocommerce'),button:Object(n.__)("Single Coupon",'woocommerce')}}}]},{label:Object(n.__)("Comparison",'woocommerce'),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:o.b,labels:{title:Object(n.__)("Compare Coupon Codes",'woocommerce'),update:Object(n.__)("Compare",'woocommerce'),helpText:Object(n.__)("Check at least two coupon codes below to compare",'woocommerce')}}}]}]),s=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})}}]);
packages/woocommerce-admin/dist/chunks/12.489a50e2cc0a8cb62038.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{146:function(e,t,r){var o=r(419),c=r(420),a=r(172),n=r(421);e.exports=function(e,t){return o(e)||c(e,t)||a(e,t)||n()}},419:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},420:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],o=!0,c=!1,a=void 0;try{for(var n,m=e[Symbol.iterator]();!(o=(n=m.next()).done)&&(r.push(n.value),!t||r.length!==t);o=!0);}catch(e){c=!0,a=e}finally{try{o||null==m.return||m.return()}finally{if(c)throw a}}return r}}},421:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},736:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Q}));var o,c=r(17),a=r.n(c),n=r(38),m=r.n(n),l=r(37),i=r.n(l),u=r(39),s=r.n(u),d=r(42),b=r.n(d),_=r(26),f=r.n(_),p=r(0),v=r(1),O=r.n(v),j=r(51),y=r.n(j),w=r(3),g=r(72),h=r(48),S=r(23),x=r(751),R=r(33),C=Object(S.g)("dataEndpoints",{countries:{}}).countries,k=Object(h.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(w.__)("Show",'woocommerce'),staticParams:["paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(w.__)("All Customers",'woocommerce'),value:"all"},{label:Object(w.__)("Single Customer",'woocommerce'),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:x.c,labels:{placeholder:Object(w.__)("Type to search for a customer",'woocommerce'),button:Object(w.__)("Single Customer",'woocommerce')}}}]},{label:Object(w.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),E=Object(h.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(w._x)("Customers Match {{select /}} Filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE",'woocommerce'),filters:{name:{labels:{add:Object(w.__)("Name",'woocommerce'),placeholder:Object(w.__)("Search",'woocommerce'),remove:Object(w.__)("Remove customer name filter",'woocommerce'),rule:Object(w.__)("Select a customer name filter match",'woocommerce'),title:Object(w.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select customer name",'woocommerce')},rules:[{value:"includes",label:Object(w._x)("Includes","customer names",'woocommerce')},{value:"excludes",label:Object(w._x)("Excludes","customer names",'woocommerce')}],input:{component:"Search",type:"customers",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.name}}))}},country:{labels:{add:Object(w.__)("Country / Region",'woocommerce'),placeholder:Object(w.__)("Search",'woocommerce'),remove:Object(w.__)("Remove country / region filter",'woocommerce'),rule:Object(w.__)("Select a country / region filter match",'woocommerce'),title:Object(w.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select country / region",'woocommerce')},rules:[{value:"includes",label:Object(w._x)("Includes","countries",'woocommerce')},{value:"excludes",label:Object(w._x)("Excludes","countries",'woocommerce')}],input:{component:"Search",type:"countries",getLabels:(o=y()(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=C.map((function(e){return{key:e.code,label:Object(g.decodeEntities)(e.name)}})),o=t.split(","),e.next=4,r.filter((function(e){return o.includes(e.key)}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}},username:{labels:{add:Object(w.__)("Username",'woocommerce'),placeholder:Object(w.__)("Search customer username",'woocommerce'),remove:Object(w.__)("Remove customer username filter",'woocommerce'),rule:Object(w.__)("Select a customer username filter match",'woocommerce'),title:Object(w.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select customer username",'woocommerce')},rules:[{value:"includes",label:Object(w._x)("Includes","customer usernames",'woocommerce')},{value:"excludes",label:Object(w._x)("Excludes","customer usernames",'woocommerce')}],input:{component:"Search",type:"usernames",getLabels:x.c}},email:{labels:{add:Object(w.__)("Email",'woocommerce'),placeholder:Object(w.__)("Search customer email",'woocommerce'),remove:Object(w.__)("Remove customer email filter",'woocommerce'),rule:Object(w.__)("Select a customer email filter match",'woocommerce'),title:Object(w.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select customer email",'woocommerce')},rules:[{value:"includes",label:Object(w._x)("Includes","customer emails",'woocommerce')},{value:"excludes",label:Object(w._x)("Excludes","customer emails",'woocommerce')}],input:{component:"Search",type:"emails",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.email}}))}},orders_count:{labels:{add:Object(w.__)("No. of Orders",'woocommerce'),remove:Object(w.__)("Remove order filter",'woocommerce'),rule:Object(w.__)("Select an order count filter match",'woocommerce'),title:Object(w.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}",'woocommerce')},rules:[{value:"max",label:Object(w._x)("Less Than","number of orders",'woocommerce')},{value:"min",label:Object(w._x)("More Than","number of orders",'woocommerce')},{value:"between",label:Object(w._x)("Between","number of orders",'woocommerce')}],input:{component:"Number"}},total_spend:{labels:{add:Object(w.__)("Total Spend",'woocommerce'),remove:Object(w.__)("Remove total spend filter",'woocommerce'),rule:Object(w.__)("Select a total spend filter match",'woocommerce'),title:Object(w.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}",'woocommerce')},rules:[{value:"max",label:Object(w._x)("Less Than","total spend by customer",'woocommerce')},{value:"min",label:Object(w._x)("More Than","total spend by customer",'woocommerce')},{value:"between",label:Object(w._x)("Between","total spend by customer",'woocommerce')}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(w.__)("AOV",'woocommerce'),remove:Object(w.__)("Remove average order value filter",'woocommerce'),rule:Object(w.__)("Select an average order value filter match",'woocommerce'),title:Object(w.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}",'woocommerce')},rules:[{value:"max",label:Object(w._x)("Less Than","average order value of customer",'woocommerce')},{value:"min",label:Object(w._x)("More Than","average order value of customer",'woocommerce')},{value:"between",label:Object(w._x)("Between","average order value of customer",'woocommerce')}],input:{component:"Currency"}},registered:{labels:{add:Object(w.__)("Registered",'woocommerce'),remove:Object(w.__)("Remove registered filter",'woocommerce'),rule:Object(w.__)("Select a registered filter match",'woocommerce'),title:Object(w.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select registered date",'woocommerce')},rules:[{value:"before",label:Object(w._x)("Before","date",'woocommerce')},{value:"after",label:Object(w._x)("After","date",'woocommerce')},{value:"between",label:Object(w._x)("Between","date",'woocommerce')}],input:{component:"Date"}},last_active:{labels:{add:Object(w.__)("Last active",'woocommerce'),remove:Object(w.__)("Remove last active filter",'woocommerce'),rule:Object(w.__)("Select a last active filter match",'woocommerce'),title:Object(w.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(w.__)("Select registered date",'woocommerce')},rules:[{value:"before",label:Object(w._x)("Before","date",'woocommerce')},{value:"after",label:Object(w._x)("After","date",'woocommerce')},{value:"between",label:Object(w._x)("Between","date",'woocommerce')}],input:{component:"Date"}}}}),D=r(62),F=r.n(D),A=r(97),P=r(53),L=r(201),T=r(108),B=r(759),q=r(200);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var I=Object(S.g)("dataEndpoints",{countries:{}}).countries,V=function(e){s()(r,e);var t=N(r);function r(){var e;return m()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(F()(e)),e.getRowsContent=e.getRowsContent.bind(F()(e)),e.getSummary=e.getSummary.bind(F()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(w.__)("Name",'woocommerce'),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(w.__)("Username",'woocommerce'),key:"username",hiddenByDefault:!0},{label:Object(w.__)("Last Active",'woocommerce'),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(w.__)("Sign Up",'woocommerce'),key:"date_registered",isSortable:!0},{label:Object(w.__)("Email",'woocommerce'),key:"email"},{label:Object(w.__)("Orders",'woocommerce'),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(w.__)("Total Spend",'woocommerce'),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(w.__)("AOV",'woocommerce'),screenReaderLabel:Object(w.__)("Average Order Value",'woocommerce'),key:"avg_order_value",isNumeric:!0},{label:Object(w.__)("Country / Region",'woocommerce'),key:"country",isSortable:!0},{label:Object(w.__)("City",'woocommerce'),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Region",'woocommerce'),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Postal Code",'woocommerce'),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}},{key:"getCountryName",value:function(e){return void 0!==I[e]?I[e]:null}},{key:"getRowsContent",value:function(e){var t=this,r=Object(S.g)("dateFormat",T.c),o=this.context,c=o.formatCurrency,a=o.formatDecimal,n=o.getCurrency;return e.map((function(e){var o=e.avg_order_value,m=e.date_last_active,l=e.date_registered,i=e.email,u=e.name,s=e.user_id,d=e.orders_count,b=e.username,_=e.total_spend,f=e.postcode,v=e.city,O=e.state,j=e.country,y=t.getCountryName(j),w=s?Object(p.createElement)(P.Link,{href:Object(S.f)("user-edit.php?user_id="+s),type:"wp-admin"},u):u,g=m?Object(p.createElement)(P.Date,{date:m,visibleFormat:r}):"—",h=l?Object(p.createElement)(P.Date,{date:l,visibleFormat:r}):"—",x=Object(p.createElement)(p.Fragment,null,Object(p.createElement)(A.a,{text:y},Object(p.createElement)("span",{"aria-hidden":"true"},j)),Object(p.createElement)("span",{className:"screen-reader-text"},y));return[{display:w,value:u},{display:b,value:b},{display:g,value:m},{display:h,value:l},{display:Object(p.createElement)("a",{href:"mailto:"+i},i),value:i},{display:Object(L.formatValue)(n(),"number",d),value:d},{display:c(_),value:a(_)},{display:c(o),value:a(o)},{display:x,value:j},{display:v,value:v},{display:O,value:O},{display:f,value:f}]}))}},{key:"getSummary",value:function(e){var t=e.customers_count,r=void 0===t?0:t,o=e.avg_orders_count,c=void 0===o?0:o,a=e.avg_total_spend,n=void 0===a?0:a,m=e.avg_avg_order_value,l=void 0===m?0:m,i=this.context,u=i.formatCurrency,s=(0,i.getCurrency)();return[{label:Object(w._n)("customer","customers",r,'woocommerce'),value:Object(L.formatValue)(s,"number",r)},{label:Object(w._n)("average order","average orders",c,'woocommerce'),value:Object(L.formatValue)(s,"number",c)},{label:Object(w.__)("average lifetime spend",'woocommerce'),value:u(n)},{label:Object(w.__)("average order value",'woocommerce'),value:u(l)}]}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.filters,c=e.advancedFilters;return Object(p.createElement)(B.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:t,itemIdField:"id",query:r,labels:{placeholder:Object(w.__)("Search by customer name",'woocommerce')},searchBy:"customers",title:Object(w.__)("Customers",'woocommerce'),columnPrefsKey:"customers_report_columns",filters:o,advancedFilters:c})}}]),r}(p.Component);V.contextType=q.a;var M=V,H=r(757);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var Q=function(e){s()(r,e);var t=J(r);function r(){return m()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({orderby:"date_last_active",order:"desc"},r);return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H.a,{query:r,path:o,filters:k,showDatePicker:!1,advancedFilters:E,report:"customers"}),Object(p.createElement)(M,{isRequesting:t,query:c,filters:k,advancedFilters:E}))}}]),r}(p.Component);Q.propTypes={query:O.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return p}));var o=r(27),c=r(21),a=r.n(c),n=r(2),m=r(22),l=r(752),i=r(33);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var i={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,i)}).then((function(e){return e.map(t)}))}}var s=u(i.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=u(i.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(i.c+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(i.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(i.c+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}})),p=u((function(e){return i.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,o){return e+"".concat(t.option).concat(o.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(3);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}}}]);
packages/woocommerce-admin/dist/chunks/{12.c99fdc48e6426047a8a3.min.js → 13.2a0a9c9a9543a94e0408.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{743:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(1),b=r.n(f),y=r(783),h=r(62),v=r.n(h),_=r(3),g=r(18),O=r(2),j=r(16),w=r.n(j),R=r(108),D=r(53),q=r(23),S=r(201),k=r(22),C=r(43),P=r(759),E=r(200);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var T=function(e){s()(r,e);var t=x(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(v()(e)),e.getRowsContent=e.getRowsContent.bind(v()(e)),e.getSummary=e.getSummary.bind(v()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Date",'woocommerce'),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("Product Title",'woocommerce'),key:"product",isSortable:!0,required:!0},{label:Object(_.__)("File Name",'woocommerce'),key:"file_name"},{label:Object(_.__)("Order #",'woocommerce'),screenReaderLabel:Object(_.__)("Order Number",'woocommerce'),key:"order_number"},{label:Object(_.__)("Username",'woocommerce'),key:"user_id"},{label:Object(_.__)("IP",'woocommerce'),key:"ip_address"}]}},{key:"getRowsContent",value:function(e){var t=this.props.query,r=Object(q.getPersistedQuery)(t),a=Object(k.g)("dateFormat",R.c);return Object(O.map)(e,(function(e){var t=e._embedded,n=e.date,o=e.file_name,c=e.file_path,i=e.ip_address,s=e.order_id,u=e.order_number,l=e.product_id,d=e.username,m=t.product[0].name,f=Object(q.getNewPath)(r,"/analytics/products",{filter:"single_product",products:l});return[{display:Object(p.createElement)(D.Date,{date:n,visibleFormat:a}),value:n},{display:Object(p.createElement)(D.Link,{href:f,type:"wc-admin"},m),value:m},{display:Object(p.createElement)(D.Link,{href:c,type:"external"},o),value:o},{display:Object(p.createElement)(D.Link,{href:Object(k.f)("post.php?post=".concat(s,"&action=edit")),type:"wp-admin"},u),value:u},{display:d,value:d},{display:i,value:i}]}))}},{key:"getSummary",value:function(e){var t=e.download_count,r=void 0===t?0:t,a=this.props,n=a.query,o=a.defaultDateRange,c=Object(R.f)(n,o),i=w()(c.primary.after),s=w()(c.primary.before).diff(i,"days")+1,u=this.context.getCurrency();return[{label:Object(_._n)("day","days",s,'woocommerce'),value:Object(S.formatValue)(u,"number",s)},{label:Object(_._n)("download","downloads",r,'woocommerce'),value:Object(S.formatValue)(u,"number",r)}]}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(P.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:t,tableQuery:{_embed:!0},title:Object(_.__)("Downloads",'woocommerce'),columnPrefsKey:"downloads_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);T.contextType=E.a;var F=Object(g.withSelect)((function(e){return{defaultDateRange:e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(T),I=r(755),L=r(754),A=r(756),H=r(757);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var V=function(e){s()(r,e);var t=N(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.query,r=e.path;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H.a,{query:t,path:r,filters:y.c,advancedFilters:y.a,report:"downloads"}),Object(p.createElement)(A.a,{charts:y.b,endpoint:"downloads",query:t,selectedChart:Object(I.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(L.a,{charts:y.b,endpoint:"downloads",path:r,query:t,selectedChart:Object(I.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(F,{query:t,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);V.propTypes={query:b.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(23),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),b=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),y=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),b=r(0),y=r(3),h=r(169),v=r(173),_=r(2),g=r(1),O=r.n(g),j=r(108),w=r(53),R=r(43),D=r(200),q=r(750),S=r(261),k=r(101),C=r(23);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var T=function(e){l()(r,e);var t=x(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(j.i)(t),i=Object(j.f)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,h=Object(j.i)(d),v=Object(j.d)(d),_=Object(j.g)(h,f.data.intervals.length),g=o?Object(y.__)("No data for the current search",'woocommerce'):Object(y.__)("No data for the selected date range",'woocommerce'),O=this.context,R=O.formatCurrency,D=O.getCurrency;return Object(b.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:g,filterParam:c,interactiveLegend:i,interval:h,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:_.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:_.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,R),chartType:Object(j.e)(d),valueType:m.type,xFormat:_.xFormat,x2Format:_.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(b.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(b.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(b.Component);T.contextType=D.a,T.propTypes={filters:O.a.array,isRequesting:O.a.bool,itemsLabel:O.a.string,limitProperties:O.a.array,mode:O.a.string,path:O.a.string.isRequired,primaryData:O.a.object,query:O.a.object.isRequired,secondaryData:O.a.object,selectedChart:O.a.shape({key:O.a.string.isRequired,label:O.a.string.isRequired,order:O.a.oneOf(["asc","desc"]),orderby:O.a.string,type:O.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(h.a)(Object(k.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(C.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(_.find)(c,{value:i})}return e(n,r,a)}(n,i),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var b=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!b)return E(E({},f),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),h=Object(q.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});if("item-comparison"===m)return E(E({},f),{},{primaryData:h});var v=Object(q.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});return E(E({},f),{},{primaryData:h,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),b=r(169),y=r(1),h=r.n(y),v=r(108),_=r(23),g=r(53),O=r(201),j=r(43),w=r(750),R=r(261),D=r(101),q=r(63),S=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){s()(r,e);var t=k(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,s=t.report,u=t.defaultDateRange,l=c.isError,d=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||d)return Object(p.createElement)(g.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(v.h)(n,u).compare;return Object(p.createElement)(g.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,u=t.label,l=t.type,d={chart:r};c&&(d.orderby=c),n&&(d.order=n);var b=Object(_.getNewPath)(d),y=o.key===r,h=e.getValues(r,l),v=h.delta,O=h.prevValue,j=h.value;return Object(p.createElement)(g.SummaryNumber,{key:r,delta:v,href:b,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:O,selected:y,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,isRequesting:h.a.bool,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},C.contextType=S.a,t.a=Object(b.a)(Object(D.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:u,filters:i,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(C)},783:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return m}));var a,n,o=r(51),c=r.n(o),i=r(3),s=r(48),u=r(751),l=Object(s.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(i.__)("Downloads",'woocommerce'),type:"number"}]),d=Object(s.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(i.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(i.__)("All Downloads",'woocommerce'),value:"all"},{label:Object(i.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),m=Object(s.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(i._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg",'woocommerce'),filters:{product:{labels:{add:Object(i.__)("Product",'woocommerce'),placeholder:Object(i.__)("Search",'woocommerce'),remove:Object(i.__)("Remove product filter",'woocommerce'),rule:Object(i.__)("Select a product filter match",'woocommerce'),title:Object(i.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select product",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","products",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","products",'woocommerce')}],input:{component:"Search",type:"products",getLabels:u.d}},customer:{labels:{add:Object(i.__)("Username",'woocommerce'),placeholder:Object(i.__)("Search customer username",'woocommerce'),remove:Object(i.__)("Remove customer username filter",'woocommerce'),rule:Object(i.__)("Select a customer username filter match",'woocommerce'),title:Object(i.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select customer username",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","customer usernames",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","customer usernames",'woocommerce')}],input:{component:"Search",type:"usernames",getLabels:u.c}},order:{labels:{add:Object(i.__)("Order #",'woocommerce'),placeholder:Object(i.__)("Search order number",'woocommerce'),remove:Object(i.__)("Remove order number filter",'woocommerce'),rule:Object(i.__)("Select a order number filter match",'woocommerce'),title:Object(i.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select order number",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","order numbers",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","order numbers",'woocommerce')}],input:{component:"Search",type:"orders",getLabels:(n=c()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})}},ip_address:{labels:{add:Object(i.__)("IP Address",'woocommerce'),placeholder:Object(i.__)("Search IP address",'woocommerce'),remove:Object(i.__)("Remove IP address filter",'woocommerce'),rule:Object(i.__)("Select an IP address filter match",'woocommerce'),title:Object(i.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select IP address",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","IP addresses",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","IP addresses",'woocommerce')}],input:{component:"Search",type:"downloadIps",getLabels:(a=c()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}}}})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{743:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return V}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(1),b=r.n(f),y=r(783),h=r(62),v=r.n(h),_=r(3),g=r(18),O=r(2),j=r(16),w=r.n(j),R=r(108),D=r(53),q=r(22),S=r(201),k=r(23),C=r(43),P=r(759),E=r(200);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var T=function(e){s()(r,e);var t=x(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(v()(e)),e.getRowsContent=e.getRowsContent.bind(v()(e)),e.getSummary=e.getSummary.bind(v()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Date",'woocommerce'),key:"date",defaultSort:!0,required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(_.__)("Product Title",'woocommerce'),key:"product",isSortable:!0,required:!0},{label:Object(_.__)("File Name",'woocommerce'),key:"file_name"},{label:Object(_.__)("Order #",'woocommerce'),screenReaderLabel:Object(_.__)("Order Number",'woocommerce'),key:"order_number"},{label:Object(_.__)("Username",'woocommerce'),key:"user_id"},{label:Object(_.__)("IP",'woocommerce'),key:"ip_address"}]}},{key:"getRowsContent",value:function(e){var t=this.props.query,r=Object(q.getPersistedQuery)(t),a=Object(k.g)("dateFormat",R.c);return Object(O.map)(e,(function(e){var t=e._embedded,n=e.date,o=e.file_name,c=e.file_path,i=e.ip_address,s=e.order_id,u=e.order_number,l=e.product_id,d=e.username,m=t.product[0].name,f=Object(q.getNewPath)(r,"/analytics/products",{filter:"single_product",products:l});return[{display:Object(p.createElement)(D.Date,{date:n,visibleFormat:a}),value:n},{display:Object(p.createElement)(D.Link,{href:f,type:"wc-admin"},m),value:m},{display:Object(p.createElement)(D.Link,{href:c,type:"external"},o),value:o},{display:Object(p.createElement)(D.Link,{href:Object(k.f)("post.php?post=".concat(s,"&action=edit")),type:"wp-admin"},u),value:u},{display:d,value:d},{display:i,value:i}]}))}},{key:"getSummary",value:function(e){var t=e.download_count,r=void 0===t?0:t,a=this.props,n=a.query,o=a.defaultDateRange,c=Object(R.f)(n,o),i=w()(c.primary.after),s=w()(c.primary.before).diff(i,"days")+1,u=this.context.getCurrency();return[{label:Object(_._n)("day","days",s,'woocommerce'),value:Object(S.formatValue)(u,"number",s)},{label:Object(_._n)("download","downloads",r,'woocommerce'),value:Object(S.formatValue)(u,"number",r)}]}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(P.a,{endpoint:"downloads",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["download_count"],query:t,tableQuery:{_embed:!0},title:Object(_.__)("Downloads",'woocommerce'),columnPrefsKey:"downloads_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);T.contextType=E.a;var F=Object(g.withSelect)((function(e){return{defaultDateRange:e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(T),I=r(755),L=r(754),A=r(756),H=r(757);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var V=function(e){s()(r,e);var t=N(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.query,r=e.path;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H.a,{query:t,path:r,filters:y.c,advancedFilters:y.a,report:"downloads"}),Object(p.createElement)(A.a,{charts:y.b,endpoint:"downloads",query:t,selectedChart:Object(I.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(L.a,{charts:y.b,endpoint:"downloads",path:r,query:t,selectedChart:Object(I.a)(t.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(F,{query:t,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);V.propTypes={query:b.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(22),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,s=Object(i.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(c,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),b=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),y=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),s=r.n(i),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),b=r(0),y=r(3),h=r(169),v=r(173),_=r(2),g=r(1),O=r.n(g),j=r(108),w=r(53),R=r(43),D=r(200),q=r(750),S=r(261),k=r(101),C=r(22);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var T=function(e){l()(r,e);var t=x(r);function r(){return c()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(_.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(j.i)(t),i=Object(j.f)(t,o),s=i.primary,u=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(_.get)(t,["data","totals",a.key],null),secondary:Object(_.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,h=Object(j.i)(d),v=Object(j.d)(d),_=Object(j.g)(h,f.data.intervals.length),g=o?Object(y.__)("No data for the current search",'woocommerce'):Object(y.__)("No data for the selected date range",'woocommerce'),O=this.context,R=O.formatCurrency,D=O.getCurrency;return Object(b.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:g,filterParam:c,interactiveLegend:i,interval:h,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:_.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:_.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,R),chartType:Object(j.e)(d),valueType:m.type,xFormat:_.xFormat,x2Format:_.x2Format,currency:D()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(b.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(b.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(b.Component);T.contextType=D.a,T.propTypes={filters:O.a.array,isRequesting:O.a.bool,itemsLabel:O.a.string,limitProperties:O.a.array,mode:O.a.string,path:O.a.string.isRequired,primaryData:O.a.object,query:O.a.object.isRequired,secondaryData:O.a.object,selectedChart:O.a.shape({key:O.a.string.isRequired,label:O.a.string.isRequired,order:O.a.oneOf(["asc","desc"]),orderby:O.a.string,type:O.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(h.a)(Object(k.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,s=t.advancedFilters,u=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(C.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(_.find)(c,{value:i})}return e(n,r,a)}(n,i),d=Object(_.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(_.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(_.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var b=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!b)return E(E({},f),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),h=Object(q.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});if("item-comparison"===m)return E(E({},f),{},{primaryData:h});var v=Object(q.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:y});return E(E({},f),{},{primaryData:h,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),s=r.n(i),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),b=r(169),y=r(1),h=r.n(y),v=r(108),_=r(22),g=r(53),O=r(201),j=r(43),w=r(750),R=r(261),D=r(101),q=r(63),S=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){s()(r,e);var t=k(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,s=t.report,u=t.defaultDateRange,l=c.isError,d=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||d)return Object(p.createElement)(g.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(v.h)(n,u).compare;return Object(p.createElement)(g.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,u=t.label,l=t.type,d={chart:r};c&&(d.orderby=c),n&&(d.order=n);var b=Object(_.getNewPath)(d),y=o.key===r,h=e.getValues(r,l),v=h.delta,O=h.prevValue,j=h.value;return Object(p.createElement)(g.SummaryNumber,{key:r,delta:v,href:b,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:O,selected:y,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||i,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:h.a.array.isRequired,endpoint:h.a.string.isRequired,limitProperties:h.a.array,query:h.a.object.isRequired,isRequesting:h.a.bool,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:h.a.object,report:h.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},C.contextType=S.a,t.a=Object(b.a)(Object(D.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:u,filters:i,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(C)},783:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return m}));var a,n,o=r(51),c=r.n(o),i=r(3),s=r(48),u=r(751),l=Object(s.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(i.__)("Downloads",'woocommerce'),type:"number"}]),d=Object(s.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(i.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(i.__)("All Downloads",'woocommerce'),value:"all"},{label:Object(i.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),m=Object(s.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(i._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg",'woocommerce'),filters:{product:{labels:{add:Object(i.__)("Product",'woocommerce'),placeholder:Object(i.__)("Search",'woocommerce'),remove:Object(i.__)("Remove product filter",'woocommerce'),rule:Object(i.__)("Select a product filter match",'woocommerce'),title:Object(i.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select product",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","products",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","products",'woocommerce')}],input:{component:"Search",type:"products",getLabels:u.d}},customer:{labels:{add:Object(i.__)("Username",'woocommerce'),placeholder:Object(i.__)("Search customer username",'woocommerce'),remove:Object(i.__)("Remove customer username filter",'woocommerce'),rule:Object(i.__)("Select a customer username filter match",'woocommerce'),title:Object(i.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select customer username",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","customer usernames",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","customer usernames",'woocommerce')}],input:{component:"Search",type:"usernames",getLabels:u.c}},order:{labels:{add:Object(i.__)("Order #",'woocommerce'),placeholder:Object(i.__)("Search order number",'woocommerce'),remove:Object(i.__)("Remove order number filter",'woocommerce'),rule:Object(i.__)("Select a order number filter match",'woocommerce'),title:Object(i.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select order number",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","order numbers",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","order numbers",'woocommerce')}],input:{component:"Search",type:"orders",getLabels:(n=c()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})}},ip_address:{labels:{add:Object(i.__)("IP Address",'woocommerce'),placeholder:Object(i.__)("Search IP address",'woocommerce'),remove:Object(i.__)("Remove IP address filter",'woocommerce'),rule:Object(i.__)("Select an IP address filter match",'woocommerce'),title:Object(i.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(i.__)("Select IP address",'woocommerce')},rules:[{value:"includes",label:Object(i._x)("Includes","IP addresses",'woocommerce')},{value:"excludes",label:Object(i._x)("Excludes","IP addresses",'woocommerce')}],input:{component:"Search",type:"downloadIps",getLabels:(a=c()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}}}})}}]);
packages/woocommerce-admin/dist/chunks/{13.f2d5d7a32099f6780413.min.js → 14.704d2d25bcf25d90e228.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{742:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(1),f=r.n(b),y=r(780),_=r(755),v=r(62),O=r.n(v),j=r(3),h=r(2),g=r(53),w=r(201),R=r(22),q=r(108),S=r(759),k=r(23),C=r(200);r(899);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){u()(r,e);var t=D(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date",'woocommerce'),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #",'woocommerce'),screenReaderLabel:Object(j.__)("Order Number",'woocommerce'),key:"order_number",required:!0},{label:Object(j.__)("Status",'woocommerce'),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer",'woocommerce'),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)",'woocommerce'),screenReaderLabel:Object(j.__)("Products",'woocommerce'),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold",'woocommerce'),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)",'woocommerce'),screenReaderLabel:Object(j.__)("Coupons",'woocommerce'),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales",'woocommerce'),screenReaderLabel:Object(j.__)("Net Sales",'woocommerce'),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerType",value:function(e){switch(e){case"new":return Object(j._x)("New","customer type",'woocommerce');case"returning":return Object(j._x)("Returning","customer type",'woocommerce');default:return Object(j._x)("N/A","customer type",'woocommerce')}}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(k.getPersistedQuery)(r),n=Object(R.g)("dateFormat",q.c),o=this.context,c=o.render,i=o.getCurrency;return Object(h.map)(e,(function(e){var r=e.currency,o=e.customer_type,u=e.date_created,s=e.net_total,l=e.num_items_sold,m=e.order_id,d=e.order_number,b=e.parent_id,f=e.status,y=e.extended_info||{},_=y.coupons,v=y.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(k.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=_.map((function(e){return{label:e.code,href:Object(k.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:u,visibleFormat:n}),value:u},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(b||m)+"&action=edit"+(b?"#order_refunds":""),type:"wp-admin"},d),value:d},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:f},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:f},{display:t.getCustomerType(o),value:o},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s",'woocommerce'),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s",'woocommerce'),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",l),value:l},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(s,r),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.num_new_customers,n=void 0===a?0:a,o=e.num_returning_customers,c=void 0===o?0:o,i=e.products,u=void 0===i?0:i,s=e.num_items_sold,l=void 0===s?0:s,m=e.coupons_count,d=void 0===m?0:m,p=e.net_revenue,b=void 0===p?0:p,f=this.context,y=f.formatCurrency,_=(0,f.getCurrency)();return[{label:Object(j._n)("order","orders",r,'woocommerce'),value:Object(w.formatValue)(_,"number",r)},{label:Object(j._n)("new customer","new customers",n,'woocommerce'),value:Object(w.formatValue)(_,"number",n)},{label:Object(j._n)("returning customer","returning customers",c,'woocommerce'),value:Object(w.formatValue)(_,"number",c)},{label:Object(j._n)("product","products",u,'woocommerce'),value:Object(w.formatValue)(_,"number",u)},{label:Object(j._n)("item sold","items sold",l,'woocommerce'),value:Object(w.formatValue)(_,"number",l)},{label:Object(j._n)("coupon","coupons",d,'woocommerce'),value:Object(w.formatValue)(_,"number",d)},{label:Object(j.__)("net sales",'woocommerce'),value:y(b)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(S.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","num_new_customers","num_returning_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders",'woocommerce'),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=C.a;var E=x,P=r(754),T=r(756),F=r(757);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){u()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(F.a,{query:r,path:t,filters:y.c,advancedFilters:y.a,report:"orders"}),Object(p.createElement)(T.a,{charts:y.b,endpoint:"orders",query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(P.a,{charts:y.b,endpoint:"orders",path:t,query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(E,{query:r,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(23),u=r(752),s=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,u=Object(i.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var s={include:u.join(","),per_page:u.length};return o()({path:Object(a.addQueryArgs)(c,s)}).then((function(e){return e.map(t)}))}}var m=l(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=l(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=l(s.c+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),u=r.n(i),s=r(39),l=r.n(s),m=r(42),d=r.n(m),p=r(26),b=r.n(p),f=r(0),y=r(3),_=r(169),v=r(173),O=r(2),j=r(1),h=r.n(j),g=r(108),w=r(53),R=r(43),q=r(200),S=r(750),k=r(261),C=r(101),D=r(23);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var n=b()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(g.i)(t),i=Object(g.f)(t,o),u=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(g.j)(e.date_start,u.after,s.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",a.key],null),secondary:Object(O.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,u=n.itemsLabel,s=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,p=n.showHeaderControls,b=n.primaryData,_=Object(g.i)(m),v=Object(g.d)(m),O=Object(g.g)(_,b.data.intervals.length),j=o?Object(y.__)("No data for the current search",'woocommerce'):Object(y.__)("No data for the selected date range",'woocommerce'),h=this.context,R=h.formatCurrency,q=h.getCurrency;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:_,isRequesting:t,itemsLabel:u,legendPosition:s,legendTotals:a,mode:e,path:l,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,R),chartType:Object(g.e)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);T.contextType=q.a,T.propTypes={filters:h.a.array,isRequesting:h.a.bool,itemsLabel:h.a.string,limitProperties:h.a.array,mode:h.a.string,path:h.a.string.isRequired,primaryData:h.a.object,query:h.a.object.isRequired,secondaryData:h.a.object,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(_.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,u=t.advancedFilters,s=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(D.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(n,r,a)}(n,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(o)return b;var f=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),_=Object(S.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});if("item-comparison"===d)return E(E({},b),{},{primaryData:_});var v=Object(S.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});return E(E({},b),{},{primaryData:_,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(3),f=r(169),y=r(1),_=r.n(y),v=r(108),O=r(23),j=r(53),h=r(201),g=r(43),w=r(750),R=r(261),q=r(101),S=r(63),k=r(200);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){u()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(h.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(h.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,u=t.report,s=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||m)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(v.h)(n,s).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,s=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),n&&(m.order=n);var f=Object(O.getNewPath)(m),y=o.key===r,_=e.getValues(r,l),v=_.delta,h=_.prevValue,g=_.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:s,prevLabel:"previous_period"===d?Object(b.__)("Previous Period:",'woocommerce'):Object(b.__)("Previous Year:",'woocommerce'),prevValue:h,selected:y,value:g,onLinkClickCallback:function(){a&&a(),Object(S.b)("analytics_chart_tab_click",{report:u||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:_.a.array.isRequired,endpoint:_.a.string.isRequired,limitProperties:_.a.array,query:_.a.object.isRequired,isRequesting:_.a.bool,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:_.a.object,report:_.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(f.a)(Object(q.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,u=t.advancedFilters,s=o||[a];if(n)return{};var l=s.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:s,filters:i,advancedFilters:u,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(D)},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=r(22),c=r(751),i=Object(n.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders",'woocommerce'),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value",'woocommerce'),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order",'woocommerce'),order:"desc",orderby:"num_items_sold",type:"average"}]),u=Object(n.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders",'woocommerce'),value:"all"},{label:Object(a.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),s=Object(n.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ",'woocommerce'),filters:{status:{labels:{add:Object(a.__)("Order Status",'woocommerce'),remove:Object(a.__)("Remove order status filter",'woocommerce'),rule:Object(a.__)("Select an order status filter match",'woocommerce'),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select an order status",'woocommerce')},rules:[{value:"is",label:Object(a._x)("Is","order status",'woocommerce')},{value:"is_not",label:Object(a._x)("Is Not","order status",'woocommerce')}],input:{component:"SelectControl",options:Object.keys(o.d).map((function(e){return{value:e,label:o.d[e]}}))}},product:{labels:{add:Object(a.__)("Products",'woocommerce'),placeholder:Object(a.__)("Search products",'woocommerce'),remove:Object(a.__)("Remove products filter",'woocommerce'),rule:Object(a.__)("Select a product filter match",'woocommerce'),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select products",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","products",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","products",'woocommerce')}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes",'woocommerce'),placeholder:Object(a.__)("Search coupons",'woocommerce'),remove:Object(a.__)("Remove coupon filter",'woocommerce'),rule:Object(a.__)("Select a coupon filter match",'woocommerce'),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select coupon codes",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","coupon code",'woocommerce')}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type",'woocommerce'),remove:Object(a.__)("Remove customer filter",'woocommerce'),rule:Object(a.__)("Select a customer filter match",'woocommerce'),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select a customer type",'woocommerce')},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New",'woocommerce')},{value:"returning",label:Object(a.__)("Returning",'woocommerce')}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds",'woocommerce'),remove:Object(a.__)("Remove refunds filter",'woocommerce'),rule:Object(a.__)("Select a refund filter match",'woocommerce'),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select a refund type",'woocommerce')},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All",'woocommerce')},{value:"partial",label:Object(a.__)("Partially refunded",'woocommerce')},{value:"full",label:Object(a.__)("Fully refunded",'woocommerce')},{value:"none",label:Object(a.__)("None",'woocommerce')}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates",'woocommerce'),placeholder:Object(a.__)("Search tax rates",'woocommerce'),remove:Object(a.__)("Remove tax rate filter",'woocommerce'),rule:Object(a.__)("Select a tax rate filter match",'woocommerce'),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select tax rates",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","tax rate",'woocommerce')}],input:{component:"Search",type:"taxes",getLabels:c.f}}}})},899:function(e,t,r){}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{742:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(1),f=r.n(b),y=r(780),_=r(755),v=r(62),O=r.n(v),j=r(3),h=r(2),g=r(53),w=r(201),R=r(23),q=r(108),S=r(759),k=r(22),C=r(200);r(899);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){u()(r,e);var t=D(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date",'woocommerce'),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #",'woocommerce'),screenReaderLabel:Object(j.__)("Order Number",'woocommerce'),key:"order_number",required:!0},{label:Object(j.__)("Status",'woocommerce'),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer",'woocommerce'),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)",'woocommerce'),screenReaderLabel:Object(j.__)("Products",'woocommerce'),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold",'woocommerce'),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)",'woocommerce'),screenReaderLabel:Object(j.__)("Coupons",'woocommerce'),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales",'woocommerce'),screenReaderLabel:Object(j.__)("Net Sales",'woocommerce'),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerType",value:function(e){switch(e){case"new":return Object(j._x)("New","customer type",'woocommerce');case"returning":return Object(j._x)("Returning","customer type",'woocommerce');default:return Object(j._x)("N/A","customer type",'woocommerce')}}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(k.getPersistedQuery)(r),n=Object(R.g)("dateFormat",q.c),o=this.context,c=o.render,i=o.getCurrency;return Object(h.map)(e,(function(e){var r=e.currency,o=e.customer_type,u=e.date_created,s=e.net_total,l=e.num_items_sold,m=e.order_id,d=e.order_number,b=e.parent_id,f=e.status,y=e.extended_info||{},_=y.coupons,v=y.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(k.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=_.map((function(e){return{label:e.code,href:Object(k.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:u,visibleFormat:n}),value:u},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(b||m)+"&action=edit"+(b?"#order_refunds":""),type:"wp-admin"},d),value:d},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:f},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:f},{display:t.getCustomerType(o),value:o},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s",'woocommerce'),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s",'woocommerce'),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",l),value:l},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(s,r),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.num_new_customers,n=void 0===a?0:a,o=e.num_returning_customers,c=void 0===o?0:o,i=e.products,u=void 0===i?0:i,s=e.num_items_sold,l=void 0===s?0:s,m=e.coupons_count,d=void 0===m?0:m,p=e.net_revenue,b=void 0===p?0:p,f=this.context,y=f.formatCurrency,_=(0,f.getCurrency)();return[{label:Object(j._n)("order","orders",r,'woocommerce'),value:Object(w.formatValue)(_,"number",r)},{label:Object(j._n)("new customer","new customers",n,'woocommerce'),value:Object(w.formatValue)(_,"number",n)},{label:Object(j._n)("returning customer","returning customers",c,'woocommerce'),value:Object(w.formatValue)(_,"number",c)},{label:Object(j._n)("product","products",u,'woocommerce'),value:Object(w.formatValue)(_,"number",u)},{label:Object(j._n)("item sold","items sold",l,'woocommerce'),value:Object(w.formatValue)(_,"number",l)},{label:Object(j._n)("coupon","coupons",d,'woocommerce'),value:Object(w.formatValue)(_,"number",d)},{label:Object(j.__)("net sales",'woocommerce'),value:y(b)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(S.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","num_new_customers","num_returning_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders",'woocommerce'),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=C.a;var E=x,P=r(754),T=r(756),F=r(757);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){u()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(F.a,{query:r,path:t,filters:y.c,advancedFilters:y.a,report:"orders"}),Object(p.createElement)(T.a,{charts:y.b,endpoint:"orders",query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(P.a,{charts:y.b,endpoint:"orders",path:t,query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(E,{query:r,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(22),u=r(752),s=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,u=Object(i.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var s={include:u.join(","),per_page:u.length};return o()({path:Object(a.addQueryArgs)(c,s)}).then((function(e){return e.map(t)}))}}var m=l(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=l(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=l(s.c+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),u=r.n(i),s=r(39),l=r.n(s),m=r(42),d=r.n(m),p=r(26),b=r.n(p),f=r(0),y=r(3),_=r(169),v=r(173),O=r(2),j=r(1),h=r.n(j),g=r(108),w=r(53),R=r(43),q=r(200),S=r(750),k=r(261),C=r(101),D=r(22);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var n=b()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(g.i)(t),i=Object(g.f)(t,o),u=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(g.j)(e.date_start,u.after,s.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",a.key],null),secondary:Object(O.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,u=n.itemsLabel,s=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,p=n.showHeaderControls,b=n.primaryData,_=Object(g.i)(m),v=Object(g.d)(m),O=Object(g.g)(_,b.data.intervals.length),j=o?Object(y.__)("No data for the current search",'woocommerce'):Object(y.__)("No data for the selected date range",'woocommerce'),h=this.context,R=h.formatCurrency,q=h.getCurrency;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:_,isRequesting:t,itemsLabel:u,legendPosition:s,legendTotals:a,mode:e,path:l,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,R),chartType:Object(g.e)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);T.contextType=q.a,T.propTypes={filters:h.a.array,isRequesting:h.a.bool,itemsLabel:h.a.string,limitProperties:h.a.array,mode:h.a.string,path:h.a.string.isRequired,primaryData:h.a.object,query:h.a.object.isRequired,secondaryData:h.a.object,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(_.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,u=t.advancedFilters,s=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(D.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(n,r,a)}(n,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(o)return b;var f=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),_=Object(S.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});if("item-comparison"===d)return E(E({},b),{},{primaryData:_});var v=Object(S.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});return E(E({},b),{},{primaryData:_,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(3),f=r(169),y=r(1),_=r.n(y),v=r(108),O=r(22),j=r(53),h=r(201),g=r(43),w=r(750),R=r(261),q=r(101),S=r(63),k=r(200);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){u()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(h.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(h.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,u=t.report,s=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||m)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(v.h)(n,s).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,s=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),n&&(m.order=n);var f=Object(O.getNewPath)(m),y=o.key===r,_=e.getValues(r,l),v=_.delta,h=_.prevValue,g=_.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:s,prevLabel:"previous_period"===d?Object(b.__)("Previous Period:",'woocommerce'):Object(b.__)("Previous Year:",'woocommerce'),prevValue:h,selected:y,value:g,onLinkClickCallback:function(){a&&a(),Object(S.b)("analytics_chart_tab_click",{report:u||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:_.a.array.isRequired,endpoint:_.a.string.isRequired,limitProperties:_.a.array,query:_.a.object.isRequired,isRequesting:_.a.bool,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:_.a.object,report:_.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(f.a)(Object(q.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,u=t.advancedFilters,s=o||[a];if(n)return{};var l=s.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:s,filters:i,advancedFilters:u,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(D)},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=r(23),c=r(751),i=Object(n.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders",'woocommerce'),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value",'woocommerce'),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order",'woocommerce'),order:"desc",orderby:"num_items_sold",type:"average"}]),u=Object(n.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders",'woocommerce'),value:"all"},{label:Object(a.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),s=Object(n.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ",'woocommerce'),filters:{status:{labels:{add:Object(a.__)("Order Status",'woocommerce'),remove:Object(a.__)("Remove order status filter",'woocommerce'),rule:Object(a.__)("Select an order status filter match",'woocommerce'),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select an order status",'woocommerce')},rules:[{value:"is",label:Object(a._x)("Is","order status",'woocommerce')},{value:"is_not",label:Object(a._x)("Is Not","order status",'woocommerce')}],input:{component:"SelectControl",options:Object.keys(o.d).map((function(e){return{value:e,label:o.d[e]}}))}},product:{labels:{add:Object(a.__)("Products",'woocommerce'),placeholder:Object(a.__)("Search products",'woocommerce'),remove:Object(a.__)("Remove products filter",'woocommerce'),rule:Object(a.__)("Select a product filter match",'woocommerce'),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select products",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","products",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","products",'woocommerce')}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes",'woocommerce'),placeholder:Object(a.__)("Search coupons",'woocommerce'),remove:Object(a.__)("Remove coupon filter",'woocommerce'),rule:Object(a.__)("Select a coupon filter match",'woocommerce'),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select coupon codes",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","coupon code",'woocommerce')}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type",'woocommerce'),remove:Object(a.__)("Remove customer filter",'woocommerce'),rule:Object(a.__)("Select a customer filter match",'woocommerce'),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select a customer type",'woocommerce')},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New",'woocommerce')},{value:"returning",label:Object(a.__)("Returning",'woocommerce')}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds",'woocommerce'),remove:Object(a.__)("Remove refunds filter",'woocommerce'),rule:Object(a.__)("Select a refund filter match",'woocommerce'),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select a refund type",'woocommerce')},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All",'woocommerce')},{value:"partial",label:Object(a.__)("Partially refunded",'woocommerce')},{value:"full",label:Object(a.__)("Fully refunded",'woocommerce')},{value:"none",label:Object(a.__)("None",'woocommerce')}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates",'woocommerce'),placeholder:Object(a.__)("Search tax rates",'woocommerce'),remove:Object(a.__)("Remove tax rate filter",'woocommerce'),rule:Object(a.__)("Select a tax rate filter match",'woocommerce'),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select tax rates",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","tax rate",'woocommerce')}],input:{component:"Search",type:"taxes",getLabels:c.f}}}})},899:function(e,t,r){}}]);
packages/woocommerce-admin/dist/chunks/14.style.css ADDED
@@ -0,0 +1 @@
 
1
+ .woocommerce-orders-table__status{flex-direction:row-reverse}.woocommerce-orders-table__status .woocommerce-order-status__indicator{margin-right:0;margin-left:8px}
packages/woocommerce-admin/dist/chunks/14.style.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ .woocommerce-orders-table__status{flex-direction:row-reverse}.woocommerce-orders-table__status .woocommerce-order-status__indicator{margin-left:0;margin-right:8px}
packages/woocommerce-admin/dist/chunks/{14.acb3b03c93a24744f0d1.min.js → 15.413a29db1c4e7f2eefdb.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{739:function(e,t,r){"use strict";r.r(t);var o=r(17),a=r.n(o),c=r(38),n=r.n(c),i=r(37),s=r.n(i),l=r(39),u=r.n(l),m=r(42),d=r.n(m),p=r(26),b=r.n(p),_=r(0),y=r(3),f=r(169),v=r(1),O=r.n(v),h=r(779),j=r(755),g=r(789),w=r(754),S=r(261),k=r(756),q=r(62),C=r.n(q),R=r(2),P=r(53),E=r(23),F=r(201),V=r(22),x=r(759),L=r(791),D=r(200);function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var I=Object(V.g)("manageStock","no"),N=Object(V.g)("stockStatuses",{}),M=function(e){u()(r,e);var t=T(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(C()(e)),e.getRowsContent=e.getRowsContent.bind(C()(e)),e.getSummary=e.getSummary.bind(C()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(y.__)("Product / Variation Title",'woocommerce'),key:"name",required:!0,isLeftAligned:!0},{label:Object(y.__)("SKU",'woocommerce'),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(y.__)("Items Sold",'woocommerce'),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Net Sales",'woocommerce'),screenReaderLabel:Object(y.__)("Net Sales",'woocommerce'),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Orders",'woocommerce'),key:"orders_count",isSortable:!0,isNumeric:!0},"yes"===I?{label:Object(y.__)("Status",'woocommerce'),key:"stock_status"}:null,"yes"===I?{label:Object(y.__)("Stock",'woocommerce'),key:"stock",isNumeric:!0}:null].filter(Boolean)}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.props.query,r=Object(E.getPersistedQuery)(t),o=this.context,a=o.formatCurrency,c=o.formatDecimal,n=o.getCurrency;return Object(R.map)(e,(function(e){var o=e.items_sold,i=e.net_revenue,s=e.orders_count,l=e.product_id,u=e.extended_info||{},m=u.stock_status,d=u.stock_quantity,p=u.low_stock_amount,b=u.sku,f=Object(R.get)(e,["extended_info","name"],""),v=Object(E.getNewPath)(r,"/analytics/orders",{filter:"advanced",product_includes:t.products}),O=Object(V.f)("post.php?post=".concat(l,"&action=edit"));return[{display:Object(_.createElement)(P.Link,{href:O,type:"wp-admin"},f),value:f},{display:b,value:b},{display:Object(F.formatValue)(n(),"number",o),value:o},{display:a(i),value:c(i)},{display:Object(_.createElement)(P.Link,{href:v,type:"wc-admin"},s),value:s},"yes"===I?{display:Object(L.a)(m,d,p)?Object(_.createElement)(P.Link,{href:O,type:"wp-admin"},Object(y._x)("Low","Indication of a low quantity",'woocommerce')):N[m],value:N[m]}:null,"yes"===I?{display:d,value:d}:null].filter(Boolean)}))}},{key:"getSummary",value:function(e){var t=e.variations_count,r=void 0===t?0:t,o=e.items_sold,a=void 0===o?0:o,c=e.net_revenue,n=void 0===c?0:c,i=e.orders_count,s=void 0===i?0:i,l=this.context,u=l.formatCurrency,m=(0,l.getCurrency)();return[{label:Object(y._n)("variation sold","variations sold",r,'woocommerce'),value:Object(F.formatValue)(m,"number",r)},{label:Object(y._n)("item sold","items sold",a,'woocommerce'),value:Object(F.formatValue)(m,"number",a)},{label:Object(y.__)("net sales",'woocommerce'),value:u(n)},{label:Object(y._n)("orders","orders",s,'woocommerce'),value:Object(F.formatValue)(m,"number",s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.baseSearchQuery,o=e.filters,a=e.isRequesting,c=e.query,n={helpText:Object(y.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(y.__)("Search by variation name or SKU",'woocommerce')};return Object(_.createElement)(x.a,{baseSearchQuery:r,compareBy:"variations",compareParam:"filter-variations",endpoint:"variations",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,isRequesting:a,itemIdField:"variation_id",labels:n,query:c,getSummary:this.getSummary,summaryFields:["variations_count","items_sold","net_revenue","orders_count"],searchBy:"variations",tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0,products:c.products,variations:c.variations},title:Object(y.__)("Variations",'woocommerce'),columnPrefsKey:"variations_report_columns",filters:o,advancedFilters:t})}}]),r}(_.Component);M.contextType=D.a;var B=M,H=r(101),Q=r(757);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var U=function(e){u()(r,e);var t=J(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props,t=e.query,r=e.isSingleProductView,o=e.isSingleProductVariable,a="compare-products"===t.filter&&t.products&&t.products.split(",").length>1||r&&o?"item-comparison":"time-comparison";return{compareObject:r&&o?"variations":"products",itemsLabel:r&&o?Object(y.__)("%d variations",'woocommerce'):Object(y.__)("%d products",'woocommerce'),mode:a}}},{key:"render",value:function(){var e=this.getChartMeta(),t=e.compareObject,r=e.itemsLabel,o=e.mode,a=this.props,c=a.path,n=a.query,i=a.isError,s=a.isRequesting,l=a.isSingleProductVariable;if(i)return Object(_.createElement)(S.a,{isError:!0});var u=K({},n);return"item-comparison"===o&&(u.segmentby="products"===t?"product":"variation"),Object(_.createElement)(_.Fragment,null,Object(_.createElement)(Q.a,{query:n,path:c,filters:h.c,advancedFilters:h.a,report:"products"}),Object(_.createElement)(k.a,{mode:o,charts:h.b,endpoint:"products",isRequesting:s,query:u,selectedChart:Object(j.a)(n.chart,h.b),filters:h.c,advancedFilters:h.a}),Object(_.createElement)(w.a,{charts:h.b,mode:o,filters:h.c,advancedFilters:h.a,endpoint:"products",isRequesting:s,itemsLabel:r,path:c,query:u,selectedChart:Object(j.a)(u.chart,h.b)}),l?Object(_.createElement)(B,{baseSearchQuery:{filter:"single_product"},isRequesting:s,query:n,filters:h.c,advancedFilters:h.a}):Object(_.createElement)(g.a,{isRequesting:s,query:n,filters:h.c,advancedFilters:h.a}))}}]),r}(_.Component);U.propTypes={path:O.a.string.isRequired,query:O.a.object.isRequired};t.default=Object(f.a)(Object(H.a)((function(e,t){var r=t.query,o=t.isRequesting,a=!r.search&&r.products&&1===r.products.split(",").length;if(o)return{query:K({},r),isSingleProductView:a,isRequesting:o};var c=e("wc-api"),n=c.getItems,i=c.isGetItemsRequesting,s=c.getItemsError;if(a){var l=parseInt(r.products,10),u={include:l},m=n("products",u),d=m&&m.get(l)&&"variable"===m.get(l).type,p=i("products",u),b=Boolean(s("products",u));return{query:K(K({},r),{},{"is-variable":d}),isSingleProductView:a,isSingleProductVariable:d,isRequesting:p,isError:b}}return{query:r,isSingleProductView:a}})))(U)},779:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return u}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_products_report_charts",[{key:"items_sold",label:Object(o.__)("Items Sold",'woocommerce'),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),i={label:Object(o.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Products",'woocommerce'),value:"all"},{label:Object(o.__)("Single Product",'woocommerce'),value:"select_product",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_product",chartMode:"item-comparison",path:["select_product"],settings:{type:"products",param:"products",getLabels:c.d,labels:{placeholder:Object(o.__)("Type to search for a product",'woocommerce'),button:Object(o.__)("Single Product",'woocommerce')}}}]},{label:Object(o.__)("Comparison",'woocommerce'),value:"compare-products",chartMode:"item-comparison",settings:{type:"products",param:"products",getLabels:c.d,labels:{helpText:Object(o.__)("Check at least two products below to compare",'woocommerce'),placeholder:Object(o.__)("Search for products to compare",'woocommerce'),title:Object(o.__)("Compare Products",'woocommerce'),update:Object(o.__)("Compare",'woocommerce')}}}]},s={showFilters:function(e){return"single_product"===e.filter&&!!e.products&&e["is-variable"]},staticParams:["filter","products","chartType","paged","per_page"],param:"filter-variations",filters:[{label:Object(o.__)("All Variations",'woocommerce'),chartMode:"item-comparison",value:"all"},{label:Object(o.__)("Comparison",'woocommerce'),chartMode:"item-comparison",value:"compare-variations",settings:{type:"variations",param:"variations",getLabels:c.g,labels:{helpText:Object(o.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(o.__)("Search for variations to compare",'woocommerce'),title:Object(o.__)("Compare Variations",'woocommerce'),update:Object(o.__)("Compare",'woocommerce')}}}]},l=Object(a.applyFilters)("woocommerce_admin_products_report_filters",[i,s]),u=Object(a.applyFilters)("woocommerce_admin_products_report_advanced_filters",{})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{739:function(e,t,r){"use strict";r.r(t);var o=r(17),a=r.n(o),c=r(38),n=r.n(c),i=r(37),s=r.n(i),l=r(39),u=r.n(l),m=r(42),d=r.n(m),p=r(26),b=r.n(p),_=r(0),y=r(3),f=r(169),v=r(1),O=r.n(v),h=r(779),j=r(755),g=r(789),w=r(754),S=r(261),k=r(756),q=r(62),C=r.n(q),R=r(2),P=r(53),E=r(22),F=r(201),V=r(23),x=r(759),L=r(791),D=r(200);function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var I=Object(V.g)("manageStock","no"),N=Object(V.g)("stockStatuses",{}),M=function(e){u()(r,e);var t=T(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(C()(e)),e.getRowsContent=e.getRowsContent.bind(C()(e)),e.getSummary=e.getSummary.bind(C()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(y.__)("Product / Variation Title",'woocommerce'),key:"name",required:!0,isLeftAligned:!0},{label:Object(y.__)("SKU",'woocommerce'),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(y.__)("Items Sold",'woocommerce'),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Net Sales",'woocommerce'),screenReaderLabel:Object(y.__)("Net Sales",'woocommerce'),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Orders",'woocommerce'),key:"orders_count",isSortable:!0,isNumeric:!0},"yes"===I?{label:Object(y.__)("Status",'woocommerce'),key:"stock_status"}:null,"yes"===I?{label:Object(y.__)("Stock",'woocommerce'),key:"stock",isNumeric:!0}:null].filter(Boolean)}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.props.query,r=Object(E.getPersistedQuery)(t),o=this.context,a=o.formatCurrency,c=o.formatDecimal,n=o.getCurrency;return Object(R.map)(e,(function(e){var o=e.items_sold,i=e.net_revenue,s=e.orders_count,l=e.product_id,u=e.extended_info||{},m=u.stock_status,d=u.stock_quantity,p=u.low_stock_amount,b=u.sku,f=Object(R.get)(e,["extended_info","name"],""),v=Object(E.getNewPath)(r,"/analytics/orders",{filter:"advanced",product_includes:t.products}),O=Object(V.f)("post.php?post=".concat(l,"&action=edit"));return[{display:Object(_.createElement)(P.Link,{href:O,type:"wp-admin"},f),value:f},{display:b,value:b},{display:Object(F.formatValue)(n(),"number",o),value:o},{display:a(i),value:c(i)},{display:Object(_.createElement)(P.Link,{href:v,type:"wc-admin"},s),value:s},"yes"===I?{display:Object(L.a)(m,d,p)?Object(_.createElement)(P.Link,{href:O,type:"wp-admin"},Object(y._x)("Low","Indication of a low quantity",'woocommerce')):N[m],value:N[m]}:null,"yes"===I?{display:d,value:d}:null].filter(Boolean)}))}},{key:"getSummary",value:function(e){var t=e.variations_count,r=void 0===t?0:t,o=e.items_sold,a=void 0===o?0:o,c=e.net_revenue,n=void 0===c?0:c,i=e.orders_count,s=void 0===i?0:i,l=this.context,u=l.formatCurrency,m=(0,l.getCurrency)();return[{label:Object(y._n)("variation sold","variations sold",r,'woocommerce'),value:Object(F.formatValue)(m,"number",r)},{label:Object(y._n)("item sold","items sold",a,'woocommerce'),value:Object(F.formatValue)(m,"number",a)},{label:Object(y.__)("net sales",'woocommerce'),value:u(n)},{label:Object(y._n)("orders","orders",s,'woocommerce'),value:Object(F.formatValue)(m,"number",s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.baseSearchQuery,o=e.filters,a=e.isRequesting,c=e.query,n={helpText:Object(y.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(y.__)("Search by variation name or SKU",'woocommerce')};return Object(_.createElement)(x.a,{baseSearchQuery:r,compareBy:"variations",compareParam:"filter-variations",endpoint:"variations",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,isRequesting:a,itemIdField:"variation_id",labels:n,query:c,getSummary:this.getSummary,summaryFields:["variations_count","items_sold","net_revenue","orders_count"],searchBy:"variations",tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0,products:c.products,variations:c.variations},title:Object(y.__)("Variations",'woocommerce'),columnPrefsKey:"variations_report_columns",filters:o,advancedFilters:t})}}]),r}(_.Component);M.contextType=D.a;var B=M,H=r(101),Q=r(757);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var U=function(e){u()(r,e);var t=J(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props,t=e.query,r=e.isSingleProductView,o=e.isSingleProductVariable,a="compare-products"===t.filter&&t.products&&t.products.split(",").length>1||r&&o?"item-comparison":"time-comparison";return{compareObject:r&&o?"variations":"products",itemsLabel:r&&o?Object(y.__)("%d variations",'woocommerce'):Object(y.__)("%d products",'woocommerce'),mode:a}}},{key:"render",value:function(){var e=this.getChartMeta(),t=e.compareObject,r=e.itemsLabel,o=e.mode,a=this.props,c=a.path,n=a.query,i=a.isError,s=a.isRequesting,l=a.isSingleProductVariable;if(i)return Object(_.createElement)(S.a,{isError:!0});var u=K({},n);return"item-comparison"===o&&(u.segmentby="products"===t?"product":"variation"),Object(_.createElement)(_.Fragment,null,Object(_.createElement)(Q.a,{query:n,path:c,filters:h.c,advancedFilters:h.a,report:"products"}),Object(_.createElement)(k.a,{mode:o,charts:h.b,endpoint:"products",isRequesting:s,query:u,selectedChart:Object(j.a)(n.chart,h.b),filters:h.c,advancedFilters:h.a}),Object(_.createElement)(w.a,{charts:h.b,mode:o,filters:h.c,advancedFilters:h.a,endpoint:"products",isRequesting:s,itemsLabel:r,path:c,query:u,selectedChart:Object(j.a)(u.chart,h.b)}),l?Object(_.createElement)(B,{baseSearchQuery:{filter:"single_product"},isRequesting:s,query:n,filters:h.c,advancedFilters:h.a}):Object(_.createElement)(g.a,{isRequesting:s,query:n,filters:h.c,advancedFilters:h.a}))}}]),r}(_.Component);U.propTypes={path:O.a.string.isRequired,query:O.a.object.isRequired};t.default=Object(f.a)(Object(H.a)((function(e,t){var r=t.query,o=t.isRequesting,a=!r.search&&r.products&&1===r.products.split(",").length;if(o)return{query:K({},r),isSingleProductView:a,isRequesting:o};var c=e("wc-api"),n=c.getItems,i=c.isGetItemsRequesting,s=c.getItemsError;if(a){var l=parseInt(r.products,10),u={include:l},m=n("products",u),d=m&&m.get(l)&&"variable"===m.get(l).type,p=i("products",u),b=Boolean(s("products",u));return{query:K(K({},r),{},{"is-variable":d}),isSingleProductView:a,isSingleProductVariable:d,isRequesting:p,isError:b}}return{query:r,isSingleProductView:a}})))(U)},779:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return u}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_products_report_charts",[{key:"items_sold",label:Object(o.__)("Items Sold",'woocommerce'),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),i={label:Object(o.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Products",'woocommerce'),value:"all"},{label:Object(o.__)("Single Product",'woocommerce'),value:"select_product",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_product",chartMode:"item-comparison",path:["select_product"],settings:{type:"products",param:"products",getLabels:c.d,labels:{placeholder:Object(o.__)("Type to search for a product",'woocommerce'),button:Object(o.__)("Single Product",'woocommerce')}}}]},{label:Object(o.__)("Comparison",'woocommerce'),value:"compare-products",chartMode:"item-comparison",settings:{type:"products",param:"products",getLabels:c.d,labels:{helpText:Object(o.__)("Check at least two products below to compare",'woocommerce'),placeholder:Object(o.__)("Search for products to compare",'woocommerce'),title:Object(o.__)("Compare Products",'woocommerce'),update:Object(o.__)("Compare",'woocommerce')}}}]},s={showFilters:function(e){return"single_product"===e.filter&&!!e.products&&e["is-variable"]},staticParams:["filter","products","chartType","paged","per_page"],param:"filter-variations",filters:[{label:Object(o.__)("All Variations",'woocommerce'),chartMode:"item-comparison",value:"all"},{label:Object(o.__)("Comparison",'woocommerce'),chartMode:"item-comparison",value:"compare-variations",settings:{type:"variations",param:"variations",getLabels:c.g,labels:{helpText:Object(o.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(o.__)("Search for variations to compare",'woocommerce'),title:Object(o.__)("Compare Variations",'woocommerce'),update:Object(o.__)("Compare",'woocommerce')}}}]},l=Object(a.applyFilters)("woocommerce_admin_products_report_filters",[i,s]),u=Object(a.applyFilters)("woocommerce_admin_products_report_advanced_filters",{})}}]);
packages/woocommerce-admin/dist/chunks/{15.69724bccd94e280d4498.min.js → 16.1a3c8e4420d552b12da0.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{738:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return M}));var a=r(38),n=r.n(a),o=r(37),i=r.n(o),s=r(39),c=r.n(s),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),y=r(1),f=r.n(y),b=r(778),v=r(755),g=r(754),h=r(756),_=r(62),O=r.n(_),j=r(3),R=r(173),q=r(169),w=r(2),D=r(108),S=r(53),k=r(201),C=r(22),E=r(43),T=r(33),F=r(759),P=r(101),x=r(750),N=r(200);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var L=function(e){c()(r,e);var t=V(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date",'woocommerce'),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Orders",'woocommerce'),key:"orders_count",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Gross Sales",'woocommerce'),key:"gross_sales",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Returns",'woocommerce'),key:"refunds",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupons",'woocommerce'),key:"coupons",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Net Sales",'woocommerce'),key:"net_revenue",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Taxes",'woocommerce'),key:"taxes",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Shipping",'woocommerce'),key:"shipping",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Total Sales",'woocommerce'),key:"total_sales",required:!1,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Object(C.g)("dateFormat",D.c),r=this.context,a=r.formatCurrency,n=r.render,o=r.formatDecimal,i=r.getCurrency;return e.map((function(e){var r=e.subtotals,s=r.coupons,c=r.gross_sales,u=r.total_sales,l=r.net_revenue,d=r.orders_count,m=r.refunds,y=r.shipping,f=r.taxes,b=Object(p.createElement)(S.Link,{href:"edit.php?post_type=shop_order&m="+Object(R.a)("Ymd",e.date_start),type:"wp-admin"},Object(k.formatValue)(i(),"number",d));return[{display:Object(p.createElement)(S.Date,{date:e.date_start,visibleFormat:t}),value:e.date_start},{display:b,value:Number(d)},{display:n(c),value:o(c)},{display:a(m),value:o(m)},{display:a(s),value:o(s)},{display:n(l),value:o(l)},{display:n(f),value:o(f)},{display:n(y),value:o(y)},{display:n(u),value:o(u)}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.orders_count,a=void 0===r?0:r,n=e.gross_sales,o=void 0===n?0:n,i=e.total_sales,s=void 0===i?0:i,c=e.refunds,u=void 0===c?0:c,l=e.coupons,d=void 0===l?0:l,m=e.taxes,p=void 0===m?0:m,y=e.shipping,f=void 0===y?0:y,b=e.net_revenue,v=void 0===b?0:b,g=this.context,h=g.formatCurrency,_=g.getCurrency,O=_();return[{label:Object(j._n)("day","days",t,'woocommerce'),value:Object(k.formatValue)(O,"number",t)},{label:Object(j._n)("order","orders",a,'woocommerce'),value:Object(k.formatValue)(O,"number",a)},{label:Object(j.__)("gross sales",'woocommerce'),value:h(o)},{label:Object(j.__)("returns",'woocommerce'),value:h(u)},{label:Object(j.__)("coupons",'woocommerce'),value:h(d)},{label:Object(j.__)("net sales",'woocommerce'),value:h(v)},{label:Object(j.__)("taxes",'woocommerce'),value:h(p)},{label:Object(j.__)("shipping",'woocommerce'),value:h(f)},{label:Object(j.__)("total sales",'woocommerce'),value:h(s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.tableData,n=e.query;return Object(p.createElement)(F.a,{endpoint:"revenue",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","gross_sales","total_sales","refunds","coupons","taxes","shipping","net_revenue"],query:n,tableData:a,title:Object(j.__)("Revenue",'woocommerce'),columnPrefsKey:"revenue_report_columns",filters:r,advancedFilters:t})}}]),r}(p.Component);L.contextType=N.a;var H=Object(q.a)(Object(P.a)((function(e,t){var r=t.query,a=t.filters,n=t.advancedFilters,o=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,i=Object(D.f)(r,o),s=e("wc-api"),c=s.getReportStats,u=s.getReportStatsError,l=s.isReportStatsRequesting,d={interval:"day",orderby:r.orderby||"date",order:r.order||"desc",page:r.paged||1,per_page:r.per_page||T.d.pageSize,after:Object(D.a)(i.primary.after,"start"),before:Object(D.a)(i.primary.before,"end")},m=Object(x.c)({endpoint:"revenue",query:r,select:e,tableQuery:d,filters:a,advancedFilters:n}),p=c("revenue",m),y=Boolean(u("revenue",m)),f=l("revenue",m);return{tableData:{items:{data:Object(w.get)(p,["data","intervals"],[]),totalResults:Object(w.get)(p,["totalResults"],0)},isError:y,isRequesting:f,query:d}}})))(L),I=r(757);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var M=function(e){c()(r,e);var t=Y(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(I.a,{query:r,path:t,report:"revenue",filters:b.c,advancedFilters:b.a}),Object(p.createElement)(h.a,{charts:b.b,endpoint:"revenue",query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(g.a,{charts:b.b,endpoint:"revenue",path:t,query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(H,{query:r,filters:b.c,advancedFilters:b.a}))}}]),r}(p.Component);M.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),s=r(37),c=r.n(s),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),y=r.n(p),f=r(0),b=r(3),v=r(169),g=r(173),h=r(2),_=r(1),O=r.n(_),j=r(108),R=r(53),q=r(43),w=r(200),D=r(750),S=r(261),k=r(101),C=r(23);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var P=function(e){l()(r,e);var t=F(r);function r(){return i()(this,r),t.apply(this,arguments)}return c()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(h.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),T({date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),s=Object(j.f)(t,o),c=s.primary,u=s.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,c.after,u.after,t.compare,i),s=a.data.intervals[r];return{date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(h.get)(t,["data","totals",a.key],null),secondary:Object(h.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,s=n.interactiveLegend,c=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,y=n.primaryData,v=Object(j.i)(d),g=Object(j.d)(d),h=Object(j.g)(v,y.data.intervals.length),_=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),O=this.context,q=O.formatCurrency,w=O.getCurrency;return Object(f.createElement)(R.Chart,{allowedIntervals:g,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:s,interval:v,isRequesting:t,itemsLabel:c,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(D.e)(m.type,q),chartType:Object(j.e)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);P.contextType=w.a,P.propTypes={filters:O.a.array,isRequesting:O.a.bool,itemsLabel:O.a.string,limitProperties:O.a.array,mode:O.a.string,path:O.a.string.isRequired,primaryData:O.a.object,query:O.a.object.isRequired,secondaryData:O.a.object,selectedChart:O.a.shape({key:O.a.string.isRequired,label:O.a.string.isRequired,order:O.a.oneOf(["asc","desc"]),orderby:O.a.string,type:O.a.oneOf(["average","number","currency"]).isRequired}).isRequired},P.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(k.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,s=t.query,c=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(C.flattenFilters)(o.filters),s=r[o.param]||o.defaultValue||"all";return Object(h.find)(i,{value:s})}return e(n,r,a)}(n,s),d=Object(h.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(h.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(h.get)(e,["chartMode"])}return null}(l,s)||"time-comparison",p=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,y={mode:m,filterParam:d,defaultDateRange:p};if(o)return y;var f=u.some((function(e){return s[e]&&s[e].length}));if(s.search&&!f)return T(T({},y),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),v=Object(D.a)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});if("item-comparison"===m)return T(T({},y),{},{primaryData:v});var g=Object(D.a)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});return T(T({},y),{},{primaryData:v,secondaryData:g})})))(P)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),s=r(39),c=r.n(s),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),y=r(3),f=r(169),b=r(1),v=r.n(b),g=r(108),h=r(23),_=r(53),O=r(201),j=r(43),R=r(750),q=r(261),w=r(101),D=r(63),S=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){c()(r,e);var t=k(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,s=t.endpoint,c=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(q.a,{isError:!0});if(a||d)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(g.h)(n,u).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var f=Object(h.getNewPath)(d),b=o.key===r,v=e.getValues(r,l),g=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:g,href:f,label:u,prevLabel:"previous_period"===m?Object(y.__)("Previous Period:",'woocommerce'):Object(y.__)("Previous Year:",'woocommerce'),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(D.b)("analytics_chart_tab_click",{report:c||s,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,isRequesting:v.a.bool,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},C.contextType=S.a,t.a=Object(f.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,s=t.filters,c=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:s,advancedFilters:c,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(C)},778:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=Object(n.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(a.__)("Gross Sales",'woocommerce'),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(a.__)("Returns",'woocommerce'),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(a.__)("Coupons",'woocommerce'),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(a.__)("Net Sales",'woocommerce'),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(a.__)("Taxes",'woocommerce'),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(a.__)("Shipping",'woocommerce'),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(a.__)("Total Sales",'woocommerce'),order:"desc",orderby:"total_sales",type:"currency"}]),i=Object(n.applyFilters)("woocommerce_admin_revenue_report_filters",[]),s=Object(n.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{738:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return M}));var a=r(38),n=r.n(a),o=r(37),i=r.n(o),s=r(39),c=r.n(s),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),y=r(1),f=r.n(y),b=r(778),v=r(755),g=r(754),h=r(756),_=r(62),O=r.n(_),j=r(3),R=r(173),q=r(169),w=r(2),D=r(108),S=r(53),k=r(201),C=r(23),E=r(43),T=r(33),F=r(759),P=r(101),x=r(750),N=r(200);function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var L=function(e){c()(r,e);var t=V(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date",'woocommerce'),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Orders",'woocommerce'),key:"orders_count",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Gross Sales",'woocommerce'),key:"gross_sales",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Returns",'woocommerce'),key:"refunds",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupons",'woocommerce'),key:"coupons",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Net Sales",'woocommerce'),key:"net_revenue",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Taxes",'woocommerce'),key:"taxes",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Shipping",'woocommerce'),key:"shipping",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Total Sales",'woocommerce'),key:"total_sales",required:!1,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Object(C.g)("dateFormat",D.c),r=this.context,a=r.formatCurrency,n=r.render,o=r.formatDecimal,i=r.getCurrency;return e.map((function(e){var r=e.subtotals,s=r.coupons,c=r.gross_sales,u=r.total_sales,l=r.net_revenue,d=r.orders_count,m=r.refunds,y=r.shipping,f=r.taxes,b=Object(p.createElement)(S.Link,{href:"edit.php?post_type=shop_order&m="+Object(R.a)("Ymd",e.date_start),type:"wp-admin"},Object(k.formatValue)(i(),"number",d));return[{display:Object(p.createElement)(S.Date,{date:e.date_start,visibleFormat:t}),value:e.date_start},{display:b,value:Number(d)},{display:n(c),value:o(c)},{display:a(m),value:o(m)},{display:a(s),value:o(s)},{display:n(l),value:o(l)},{display:n(f),value:o(f)},{display:n(y),value:o(y)},{display:n(u),value:o(u)}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.orders_count,a=void 0===r?0:r,n=e.gross_sales,o=void 0===n?0:n,i=e.total_sales,s=void 0===i?0:i,c=e.refunds,u=void 0===c?0:c,l=e.coupons,d=void 0===l?0:l,m=e.taxes,p=void 0===m?0:m,y=e.shipping,f=void 0===y?0:y,b=e.net_revenue,v=void 0===b?0:b,g=this.context,h=g.formatCurrency,_=g.getCurrency,O=_();return[{label:Object(j._n)("day","days",t,'woocommerce'),value:Object(k.formatValue)(O,"number",t)},{label:Object(j._n)("order","orders",a,'woocommerce'),value:Object(k.formatValue)(O,"number",a)},{label:Object(j.__)("gross sales",'woocommerce'),value:h(o)},{label:Object(j.__)("returns",'woocommerce'),value:h(u)},{label:Object(j.__)("coupons",'woocommerce'),value:h(d)},{label:Object(j.__)("net sales",'woocommerce'),value:h(v)},{label:Object(j.__)("taxes",'woocommerce'),value:h(p)},{label:Object(j.__)("shipping",'woocommerce'),value:h(f)},{label:Object(j.__)("total sales",'woocommerce'),value:h(s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.tableData,n=e.query;return Object(p.createElement)(F.a,{endpoint:"revenue",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","gross_sales","total_sales","refunds","coupons","taxes","shipping","net_revenue"],query:n,tableData:a,title:Object(j.__)("Revenue",'woocommerce'),columnPrefsKey:"revenue_report_columns",filters:r,advancedFilters:t})}}]),r}(p.Component);L.contextType=N.a;var H=Object(q.a)(Object(P.a)((function(e,t){var r=t.query,a=t.filters,n=t.advancedFilters,o=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,i=Object(D.f)(r,o),s=e("wc-api"),c=s.getReportStats,u=s.getReportStatsError,l=s.isReportStatsRequesting,d={interval:"day",orderby:r.orderby||"date",order:r.order||"desc",page:r.paged||1,per_page:r.per_page||T.d.pageSize,after:Object(D.a)(i.primary.after,"start"),before:Object(D.a)(i.primary.before,"end")},m=Object(x.c)({endpoint:"revenue",query:r,select:e,tableQuery:d,filters:a,advancedFilters:n}),p=c("revenue",m),y=Boolean(u("revenue",m)),f=l("revenue",m);return{tableData:{items:{data:Object(w.get)(p,["data","intervals"],[]),totalResults:Object(w.get)(p,["totalResults"],0)},isError:y,isRequesting:f,query:d}}})))(L),I=r(757);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var M=function(e){c()(r,e);var t=Y(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(I.a,{query:r,path:t,report:"revenue",filters:b.c,advancedFilters:b.a}),Object(p.createElement)(h.a,{charts:b.b,endpoint:"revenue",query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(g.a,{charts:b.b,endpoint:"revenue",path:t,query:r,selectedChart:Object(v.a)(r.chart,b.b),filters:b.c,advancedFilters:b.a}),Object(p.createElement)(H,{query:r,filters:b.c,advancedFilters:b.a}))}}]),r}(p.Component);M.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),s=r(37),c=r.n(s),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),y=r.n(p),f=r(0),b=r(3),v=r(169),g=r(173),h=r(2),_=r(1),O=r.n(_),j=r(108),R=r(53),q=r(43),w=r(200),D=r(750),S=r(261),k=r(101),C=r(22);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var P=function(e){l()(r,e);var t=F(r);function r(){return i()(this,r),t.apply(this,arguments)}return c()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(h.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),T({date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),s=Object(j.f)(t,o),c=s.primary,u=s.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,c.after,u.after,t.compare,i),s=a.data.intervals[r];return{date:Object(g.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(h.get)(t,["data","totals",a.key],null),secondary:Object(h.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,s=n.interactiveLegend,c=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,y=n.primaryData,v=Object(j.i)(d),g=Object(j.d)(d),h=Object(j.g)(v,y.data.intervals.length),_=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),O=this.context,q=O.formatCurrency,w=O.getCurrency;return Object(f.createElement)(R.Chart,{allowedIntervals:g,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:_,filterParam:i,interactiveLegend:s,interval:v,isRequesting:t,itemsLabel:c,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(D.e)(m.type,q),chartType:Object(j.e)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(S.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(S.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);P.contextType=w.a,P.propTypes={filters:O.a.array,isRequesting:O.a.bool,itemsLabel:O.a.string,limitProperties:O.a.array,mode:O.a.string,path:O.a.string.isRequired,primaryData:O.a.object,query:O.a.object.isRequired,secondaryData:O.a.object,selectedChart:O.a.shape({key:O.a.string.isRequired,label:O.a.string.isRequired,order:O.a.oneOf(["asc","desc"]),orderby:O.a.string,type:O.a.oneOf(["average","number","currency"]).isRequired}).isRequired},P.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(v.a)(Object(k.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,s=t.query,c=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(C.flattenFilters)(o.filters),s=r[o.param]||o.defaultValue||"all";return Object(h.find)(i,{value:s})}return e(n,r,a)}(n,s),d=Object(h.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(h.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(h.get)(e,["chartMode"])}return null}(l,s)||"time-comparison",p=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,y={mode:m,filterParam:d,defaultDateRange:p};if(o)return y;var f=u.some((function(e){return s[e]&&s[e].length}));if(s.search&&!f)return T(T({},y),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),v=Object(D.a)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});if("item-comparison"===m)return T(T({},y),{},{primaryData:v});var g=Object(D.a)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:u,filters:n,advancedFilters:c,defaultDateRange:p,fields:b});return T(T({},y),{},{primaryData:v,secondaryData:g})})))(P)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),s=r(39),c=r.n(s),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),y=r(3),f=r(169),b=r(1),v=r.n(b),g=r(108),h=r(22),_=r(53),O=r(201),j=r(43),R=r(750),q=r(261),w=r(101),D=r(63),S=r(200);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var C=function(e){c()(r,e);var t=k(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(O.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(O.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,s=t.endpoint,c=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(q.a,{isError:!0});if(a||d)return Object(p.createElement)(_.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(g.h)(n,u).compare;return Object(p.createElement)(_.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var f=Object(h.getNewPath)(d),b=o.key===r,v=e.getValues(r,l),g=v.delta,O=v.prevValue,j=v.value;return Object(p.createElement)(_.SummaryNumber,{key:r,delta:g,href:f,label:u,prevLabel:"previous_period"===m?Object(y.__)("Previous Period:",'woocommerce'):Object(y.__)("Previous Year:",'woocommerce'),prevValue:O,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(D.b)("analytics_chart_tab_click",{report:c||s,key:r})}})}))}))}}]),r}(p.Component);C.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,isRequesting:v.a.bool,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},C.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},C.contextType=S.a,t.a=Object(f.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,s=t.filters,c=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:s,advancedFilters:c,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(C)},778:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=Object(n.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(a.__)("Gross Sales",'woocommerce'),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(a.__)("Returns",'woocommerce'),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(a.__)("Coupons",'woocommerce'),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(a.__)("Net Sales",'woocommerce'),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(a.__)("Taxes",'woocommerce'),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(a.__)("Shipping",'woocommerce'),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(a.__)("Total Sales",'woocommerce'),order:"desc",orderby:"total_sales",type:"currency"}]),i=Object(n.applyFilters)("woocommerce_admin_revenue_report_filters",[]),s=Object(n.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})}}]);
packages/woocommerce-admin/dist/chunks/17.b72560c96ee6b8cc0379.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{146:function(e,t,r){var o=r(419),n=r(420),c=r(172),a=r(421);e.exports=function(e,t){return o(e)||n(e,t)||c(e,t)||a()}},419:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},420:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],o=!0,n=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(e){n=!0,c=e}finally{try{o||null==i.return||i.return()}finally{if(n)throw c}}return r}}},421:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},735:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return A}));var o=r(38),n=r.n(o),c=r(37),a=r.n(c),i=r(39),u=r.n(i),l=r(42),s=r.n(l),m=r(26),d=r.n(m),f=r(0),b=r(1),p=r.n(b),y=r(3),v=r(48),_=Object(v.applyFilters)("woocommerce_admin_stock_report_filters",[{label:Object(y.__)("Show",'woocommerce'),staticParams:["paged","per_page"],param:"type",showFilters:function(){return!0},filters:[{label:Object(y.__)("All Products",'woocommerce'),value:"all"},{label:Object(y.__)("Out of Stock",'woocommerce'),value:"outofstock"},{label:Object(y.__)("Low Stock",'woocommerce'),value:"lowstock"},{label:Object(y.__)("In Stock",'woocommerce'),value:"instock"},{label:Object(y.__)("On Backorder",'woocommerce'),value:"onbackorder"}]}]),k=Object(v.applyFilters)("woocommerce_admin_stock_report_advanced_filters",{}),w=r(62),j=r.n(w),O=r(72),h=r(53),g=r(22),S=r(201),R=r(23),C=r(759);var q=r(200);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return s()(this,r)}}var E=Object(R.g)("stockStatuses",{}),F=function(e){u()(r,e);var t=x(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(j()(e)),e.getRowsContent=e.getRowsContent.bind(j()(e)),e.getSummary=e.getSummary.bind(j()(e)),e}return a()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(y.__)("Product / Variation",'woocommerce'),key:"title",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(y.__)("SKU",'woocommerce'),key:"sku",isSortable:!0},{label:Object(y.__)("Status",'woocommerce'),key:"stock_status",isSortable:!0,defaultSort:!0},{label:Object(y.__)("Stock",'woocommerce'),key:"stock_quantity",isSortable:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,o=Object(g.getPersistedQuery)(r);return e.map((function(e){var r,n,c,a=e.id,i=e.manage_stock,u=e.parent_id,l=e.sku,s=e.stock_quantity,m=e.stock_status,d=e.low_stock_amount,b=Object(O.decodeEntities)(e.name),p=Object(g.getNewPath)(o,"/analytics/products",{filter:"single_product",products:u||a}),v=Object(f.createElement)(h.Link,{href:p,type:"wc-admin"},b),_=Object(R.f)("post.php?action=edit&post="+(u||a));return[{display:v,value:b},{display:l,value:l},{display:(r=m,c=d,(n=s)&&r&&n<=c==="instock"?Object(f.createElement)(h.Link,{href:_,type:"wp-admin"},Object(y._x)("Low","Indication of a low quantity",'woocommerce')):Object(f.createElement)(h.Link,{href:_,type:"wp-admin"},E[m])),value:m},{display:i?Object(S.formatValue)(t.context.getCurrency(),"number",s):Object(y.__)("N/A",'woocommerce'),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.products,r=void 0===t?0:t,o=e.outofstock,n=void 0===o?0:o,c=e.lowstock,a=void 0===c?0:c,i=e.instock,u=void 0===i?0:i,l=e.onbackorder,s=void 0===l?0:l,m=this.context.getCurrency();return[{label:Object(y._n)("product","products",r,'woocommerce'),value:Object(S.formatValue)(m,"number",r)},{label:Object(y.__)("out of stock",n,'woocommerce'),value:Object(S.formatValue)(m,"number",n)},{label:Object(y.__)("low stock",a,'woocommerce'),value:Object(S.formatValue)("currency, number",a)},{label:Object(y.__)("on backorder",s,'woocommerce'),value:Object(S.formatValue)(m,"number",s)},{label:Object(y.__)("in stock",u,'woocommerce'),value:Object(S.formatValue)(m,"number",u)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.query;return Object(f.createElement)(C.a,{endpoint:"stock",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products","outofstock","lowstock","instock","onbackorder"],query:o,tableQuery:{orderby:o.orderby||"stock_status",order:o.order||"asc",type:o.type||"all"},title:Object(y.__)("Stock",'woocommerce'),filters:r,advancedFilters:t})}}]),r}(f.Component);F.contextType=q.a;var P=F,V=r(757);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return s()(this,r)}}var A=function(e){u()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return a()(r,[{key:"render",value:function(){var e=this.props,t=e.query,r=e.path;return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(V.a,{query:t,path:r,showDatePicker:!1,filters:_,advancedFilters:k,report:"stock"}),Object(f.createElement)(P,{query:t,filters:_,advancedFilters:k}))}}]),r}(f.Component);A.propTypes={query:p.a.object.isRequired}}}]);
packages/woocommerce-admin/dist/chunks/{17.35aa3f3f84dbcf9b57a2.min.js → 18.78f9c9760c28db4b928b.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{740:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(782),O=r(755),_=r(754),j=r(756),R=r(62),x=r.n(R),w=r(2),q=r(53),k=r(23),C=r(752),D=r(201),T=r(759),S=r(200);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code",'woocommerce'),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate",'woocommerce'),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax",'woocommerce'),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax",'woocommerce'),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax",'woocommerce'),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders",'woocommerce'),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrency;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(C.a)(e),p=Object(k.getPersistedQuery)(r),f=Object(k.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(q.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatCurrency,p=(0,d.getCurrency)();return[{label:Object(h._n)("tax code","tax codes",r,'woocommerce'),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax",'woocommerce'),value:m(n)},{label:Object(h.__)("order tax",'woocommerce'),value:m(i)},{label:Object(h.__)("shipping tax",'woocommerce'),value:m(s)},{label:Object(h._n)("order","orders",l,'woocommerce'),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(T.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes",'woocommerce'),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);E.contextType=S.a;var F=E,L=r(757);function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var N=function(e){l()(r,e);var t=H(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes",'woocommerce'),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(L.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(O.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(_.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(O.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);N.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(27),n=r(21),o=r.n(n),i=r(2),c=r(23),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),_=r.n(O),j=r(108),R=r(53),x=r(43),w=r(200),q=r(750),k=r(261),C=r(101),D=r(23);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),c=Object(j.f)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",a.key],null),secondary:Object(v.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(j.i)(d),h=Object(j.d)(d),v=Object(j.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),_=this.context,x=_.formatCurrency,w=_.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,x),chartType:Object(j.e)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);E.contextType=w.a,E.propTypes={filters:_.a.array,isRequesting:_.a.bool,itemsLabel:_.a.string,limitProperties:_.a.array,mode:_.a.string,path:_.a.string.isRequired,primaryData:_.a.object,query:_.a.object.isRequired,secondaryData:_.a.object,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired},E.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(v.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(v.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(q.a)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(q.a)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(E)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),c=r(39),s=r.n(c),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(23),O=r(53),_=r(201),j=r(43),R=r(750),x=r(261),w=r(101),q=r(63),k=r(200);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(_.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(_.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,c=t.endpoint,s=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(x.a,{isError:!0});if(a||d)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(h.h)(n,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var y=Object(v.getNewPath)(d),b=o.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||c,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(y.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,c=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:c,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(D)},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(48),o=r(751),i=r(752),c=r(33),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax",'woocommerce'),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax",'woocommerce'),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax",'woocommerce'),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes",'woocommerce'),value:"all"},{label:Object(a.__)("Comparison",'woocommerce'),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(o.e)(c.c+"/taxes",(function(e){return{id:e.id,label:Object(i.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare",'woocommerce'),placeholder:Object(a.__)("Search for tax codes to compare",'woocommerce'),title:Object(a.__)("Compare Tax Codes",'woocommerce'),update:Object(a.__)("Compare",'woocommerce')}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{740:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(782),O=r(755),_=r(754),j=r(756),R=r(62),x=r.n(R),w=r(2),q=r(53),k=r(22),C=r(752),D=r(201),T=r(759),S=r(200);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code",'woocommerce'),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate",'woocommerce'),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax",'woocommerce'),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax",'woocommerce'),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax",'woocommerce'),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders",'woocommerce'),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrency;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(C.a)(e),p=Object(k.getPersistedQuery)(r),f=Object(k.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(q.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatCurrency,p=(0,d.getCurrency)();return[{label:Object(h._n)("tax code","tax codes",r,'woocommerce'),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax",'woocommerce'),value:m(n)},{label:Object(h.__)("order tax",'woocommerce'),value:m(i)},{label:Object(h.__)("shipping tax",'woocommerce'),value:m(s)},{label:Object(h._n)("order","orders",l,'woocommerce'),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(T.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes",'woocommerce'),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);E.contextType=S.a;var F=E,L=r(757);function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var N=function(e){l()(r,e);var t=H(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes",'woocommerce'),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(L.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(O.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(_.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(O.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);N.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(27),n=r(21),o=r.n(n),i=r(2),c=r(22),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX",'woocommerce'),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),_=r.n(O),j=r(108),R=r(53),x=r(43),w=r(200),q=r(750),k=r(261),C=r(101),D=r(22);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),c=Object(j.f)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",a.key],null),secondary:Object(v.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(j.i)(d),h=Object(j.d)(d),v=Object(j.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search",'woocommerce'):Object(b.__)("No data for the selected date range",'woocommerce'),_=this.context,x=_.formatCurrency,w=_.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,x),chartType:Object(j.e)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);E.contextType=w.a,E.propTypes={filters:_.a.array,isRequesting:_.a.bool,itemsLabel:_.a.string,limitProperties:_.a.array,mode:_.a.string,path:_.a.string.isRequired,primaryData:_.a.object,query:_.a.object.isRequired,secondaryData:_.a.object,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired},E.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(v.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(v.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(q.a)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(q.a)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(E)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),c=r(39),s=r.n(c),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(22),O=r(53),_=r(201),j=r(43),R=r(750),x=r(261),w=r(101),q=r(63),k=r(200);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(_.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(_.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,c=t.endpoint,s=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(x.a,{isError:!0});if(a||d)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(h.h)(n,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var y=Object(v.getNewPath)(d),b=o.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:",'woocommerce'):Object(f.__)("Previous Year:",'woocommerce'),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||c,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(y.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,c=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:c,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(D)},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(48),o=r(751),i=r(752),c=r(33),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax",'woocommerce'),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax",'woocommerce'),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax",'woocommerce'),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes",'woocommerce'),value:"all"},{label:Object(a.__)("Comparison",'woocommerce'),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(o.e)(c.c+"/taxes",(function(e){return{id:e.id,label:Object(i.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare",'woocommerce'),placeholder:Object(a.__)("Search for tax codes to compare",'woocommerce'),title:Object(a.__)("Compare Tax Codes",'woocommerce'),update:Object(a.__)("Compare",'woocommerce')}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
packages/woocommerce-admin/dist/chunks/{18.0243544077f891d2fb5e.min.js → 19.fa18e63feec2f7702031.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(0),n=new WeakMap;function o(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(8),c=r.n(o),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,o=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:c()("components-visually-hidden",o)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),o=r.n(n),c=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,m=e.children;return Object(a.createElement)("div",{className:o()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(c.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(c.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),m),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=o()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},265:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(0);function n(){return Object(a.createElement)("span",{className:"components-spinner"})}},422:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(0);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(15),o=r(14),c=r(0),i=r(2),s=r(112),l=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,p=void 0!==u&&u,d=e.onChange,b=e.options,f=void 0===b?[]:b,h=e.className,O=e.hideLabelFromVision,j=Object(o.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),v=Object(s.a)(m),g="inspector-select-control-".concat(v);return!Object(i.isEmpty)(f)&&Object(c.createElement)(l.a,{label:r,hideLabelFromVision:O,id:g,help:t,className:h},Object(c.createElement)("select",Object(a.a)({id:g,className:"components-select-control__input",onChange:function(e){if(p){var t=Object(n.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));d(t)}else d(e.target.value)},"aria-describedby":t?"".concat(g,"__help"):void 0,multiple:p},j),f.map((function(e,t){return Object(c.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},729:function(e,t,r){"use strict";var a=r(12),n=r(9),o=r(7),c=r(5),i=r(11),s=r(4),l=r(10),m=r(0),u=r(2),p=r(127),d=r(54);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(d.a)((function(e){return function(t){Object(l.a)(f,t);var r,d=(r=f,function(){var e,t=Object(s.a)(r);if(b()){var a=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function f(){var e;return Object(n.a)(this,f),(e=d.apply(this,arguments)).debouncedSpeak=Object(u.debounce)(e.speak.bind(Object(c.a)(e)),500),e}return Object(o.a)(f,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(p.a)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(m.createElement)(e,Object(a.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),f}(m.Component)}),"withSpokenMessages")},768:function(e,t,r){"use strict";var a=r(0),n=r(32),o=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=o},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(14),o=r(0),c=r(112),i=r(422),s=r(768),l=r(171);function m(e){var t=e.label,r=e.className,u=e.heading,p=e.checked,d=e.help,b=e.onChange,f=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),h=Object(c.a)(m),O="inspector-checkbox-control-".concat(h);return Object(o.createElement)(l.a,{label:u,id:O,help:d,className:r},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(a.a)({id:O,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return b(e.target.checked)},checked:p,"aria-describedby":d?O+"__help":void 0},f)),p?Object(o.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:O},t))}},794:function(e,t,r){},795:function(e,t,r){},796:function(e,t,r){},930:function(e,t,r){"use strict";r.r(t);var a=r(80),n=r.n(a),o=r(41),c=r.n(o),i=r(17),s=r.n(i),l=r(0),m=r(3),u=r(67),p=r(169),d=r(18),b=r(53),f=r(43),h=(r(794),r(270)),O=r(38),j=r.n(O),v=r(37),g=r.n(v),y=r(39),_=r.n(y),w=r(42),k=r.n(w),S=r(26),E=r.n(S),D=r(772),I=r(1),P=r.n(I),N=r(2);r(795);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var T=function(e){_()(r,e);var t=C(r);function r(e){var a;return j()(this,r),(a=t.call(this,e)).renderInput=function(){var e=a.props,t=e.handleChange,r=e.name,o=e.inputText,c=e.inputType,i=e.options,s=e.value,m=e.component,p=a.state.disabled;switch(c){case"checkboxGroup":return i.map((function(e){return e.options.length>0&&Object(l.createElement)("div",{className:"woocommerce-setting__options-group",key:e.key,"aria-labelledby":r+"-label"},e.label&&Object(l.createElement)("span",{className:"woocommerce-setting__options-group-label"},e.label),a.renderCheckboxOptions(e.options))}));case"checkbox":return a.renderCheckboxOptions(i);case"button":return Object(l.createElement)(u.a,{isSecondary:!0,onClick:a.handleInputCallback,disabled:p},o);case"component":var d=m;return Object(l.createElement)(d,n()({value:s,onChange:t},a.props));case"text":default:var b=Object(N.uniqueId)(r);return Object(l.createElement)("input",{id:b,type:"text",name:r,onChange:t,value:s,placeholder:o,disabled:p})}},a.handleInputCallback=function(){var e=a.props,t=e.createNotice,r=e.callback;if("function"==typeof r)return new Promise((function(e,n){a.setState({disabled:!0}),r(e,n,t)})).then((function(){a.setState({disabled:!1})})).catch((function(){a.setState({disabled:!1})}))},a.state={disabled:!1},a}return g()(r,[{key:"renderCheckboxOptions",value:function(e){var t=this.props,r=t.handleChange,a=t.name,n=t.value,o=this.state.disabled;return e.map((function(e){return Object(l.createElement)(D.a,{key:a+"-"+e.value,label:e.label,name:a,checked:n&&n.includes(e.value),onChange:function(t){return r({target:{checked:t,name:a,type:"checkbox",value:e.value}})},disabled:o})}))}},{key:"render",value:function(){var e=this.props,t=e.helpText,r=e.label,a=e.name;return Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__label",id:a+"-label"},r),Object(l.createElement)("div",{className:"woocommerce-setting__input"},this.renderInput(),t&&Object(l.createElement)("span",{className:"woocommerce-setting__help"},t)))}}]),r}(l.Component);T.propTypes={callback:P.a.func,handleChange:P.a.func.isRequired,helpText:P.a.oneOfType([P.a.string,P.a.array]),inputText:P.a.string,inputType:P.a.oneOf(["button","checkbox","checkboxGroup","text","component"]),label:P.a.string.isRequired,name:P.a.string.isRequired,options:P.a.arrayOf(P.a.shape({value:P.a.string,label:P.a.string,description:P.a.string,key:P.a.string,options:P.a.array})),value:P.a.oneOfType([P.a.string,P.a.array])};var R=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(T),F=r(62),x=r.n(F),L=r(27),A=r(21),z=r.n(A),V=r(16),M=r.n(V),Y=r(729),q=function(e,t,r){var a={};if(r&&(a.skip_existing=!0),"all"!==t.label)if("custom"===t.label){var n=M()().diff(M()(t.date,e),"days",!0);a.days=Math.floor(n)}else a.days=parseInt(t.label,10);return a},Q=r(170),B=r(33);var H=function(e){var t,r=e.importDate,a=e.onDeletePreviousData,n=e.onReimportData,o=e.onStartImport,c=e.onStopImport,i=e.status;return Object(l.createElement)("div",{className:"woocommerce-settings__actions woocommerce-settings-historical-data__actions"},(t="ready"!==i,["initializing","customers","orders","finalizing"].includes(i)?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{className:"woocommerce-settings-historical-data__action-button",isPrimary:!0,onClick:c},Object(m.__)("Stop Import",'woocommerce')),Object(l.createElement)("div",{className:"woocommerce-setting__help woocommerce-settings-historical-data__action-help"},Object(m.__)("Imported data will not be lost if the import is stopped.",'woocommerce'),Object(l.createElement)("br",null),Object(m.__)("Navigating away from this page will not affect the import.",'woocommerce'))):["ready","nothing"].includes(i)?r?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start",'woocommerce')),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data",'woocommerce'))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start",'woocommerce'))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isSecondary:!0,onClick:n},Object(m.__)("Re-import Data",'woocommerce')),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data",'woocommerce')))))},U=r(720),G=r(108);var W=function(e){var t,r=e.dateFormat,a=e.disabled,n=e.onDateChange,o=e.onPeriodChange,c=e.value,i=function(e){e.date&&e.date.isValid?n(e.date.format(r)):n(e.text)},s=function(e){return e.isValid()&&c.date.length===r.length?e.isAfter(new Date,"day")?G.b.future:null:G.b.invalid};return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__columns"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)(U.a,{label:Object(m.__)("Import Historical Data",'woocommerce'),value:c.label,disabled:a,onChange:function(e){o(e)},options:[{label:"All",value:"all"},{label:"Last 365 days",value:"365"},{label:"Last 90 days",value:"90"},{label:"Last 30 days",value:"30"},{label:"Last 7 days",value:"7"},{label:"Last 24 hours",value:"1"},{label:"Custom",value:"custom"}]})),"custom"===c.label&&(t=M()(c.date,r),Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column-label"},Object(m.__)("Beginning on",'woocommerce')),Object(l.createElement)(b.DatePicker,{date:t.isValid()?t.toDate():null,dateFormat:r,disabled:a,error:s(t),isInvalidDate:function(e){return M()(e).isAfter(new Date,"day")},onUpdate:i,text:c.date}))))};var J=function(e){var t=e.label,r=e.progress,a=e.total,n=Object(m.sprintf)(Object(m.__)("Imported %(label)s",'woocommerce'),{label:t}),o=Object(N.isNil)(a)?null:Object(m.sprintf)(Object(m.__)("%(progress)s of %(total)s",'woocommerce'),{progress:r||0,total:a});return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__progress"},Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},n),o&&Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},o),Object(l.createElement)("progress",{className:"woocommerce-settings-historical-data__progress-bar",max:a,value:r||0}))},K=r(48),X=r(265);var Z=Object(b.useFilters)("woocommerce_admin_import_status")((function(e){var t=e.importDate,r=e.status,a=Object(K.applyFilters)("woocommerce_admin_import_status",{nothing:Object(m.__)("Nothing To Import",'woocommerce'),ready:Object(m.__)("Ready To Import",'woocommerce'),initializing:[Object(m.__)("Initializing",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],customers:[Object(m.__)("Importing Customers",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],orders:[Object(m.__)("Importing Orders",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],finalizing:[Object(m.__)("Finalizing",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],finished:-1===t?Object(m.__)("All historical data imported",'woocommerce'):Object(m.sprintf)(Object(m.__)("Historical data from %s onward imported",'woocommerce'),M()(t).format("YYYY-MM-DD"))});return Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__status"},Object(m.__)("Status:",'woocommerce')+" ",a[r])}));var $=function(e){var t=e.checked,r=e.disabled,a=e.onChange;return Object(l.createElement)(D.a,{className:"woocommerce-settings-historical-data__skip-checkbox",checked:t,disabled:r,label:Object(m.__)("Skip previously imported customers and orders",'woocommerce'),onChange:a})},ee=r(101);r(796);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var re=function(e){_()(r,e);var t=te(r);function r(){return j()(this,r),t.apply(this,arguments)}return g()(r,[{key:"render",value:function(){var e=this.props,t=e.customersProgress,r=e.customersTotal,a=e.dateFormat,n=e.importDate,o=e.inProgress,c=e.onPeriodChange,i=e.onDateChange,s=e.onSkipChange,u=e.onDeletePreviousData,p=e.onReimportData,d=e.onStartImport,f=e.onStopImport,h=e.ordersProgress,O=e.ordersTotal,j=e.period,v=e.skipChecked,g=function(e){var t=e.customersProgress,r=e.customersTotal,a=e.inProgress,n=e.ordersProgress,o=e.ordersTotal;return a?Object(N.isNil)(t)||Object(N.isNil)(n)||Object(N.isNil)(r)||Object(N.isNil)(o)?"initializing":t<r?"customers":n<o?"orders":"finalizing":r>0||o>0?t===r&&n===o?"finished":"ready":"nothing"}({customersProgress:t,customersTotal:r,inProgress:o,ordersProgress:h,ordersTotal:O});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Import Historical Data",'woocommerce')}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__input"},Object(l.createElement)("span",{className:"woocommerce-setting__help"},Object(m.__)("This tool populates historical analytics data by processing customers and orders created prior to activating WooCommerce Admin.",'woocommerce')),"finished"!==g&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(W,{dateFormat:a,disabled:o,onPeriodChange:c,onDateChange:i,value:j}),Object(l.createElement)($,{disabled:o,checked:v,onChange:s}),Object(l.createElement)(J,{label:Object(m.__)("Registered Customers",'woocommerce'),progress:t,total:r}),Object(l.createElement)(J,{label:Object(m.__)("Orders and Refunds",'woocommerce'),progress:h,total:O})),Object(l.createElement)(Z,{importDate:n,status:g})))),Object(l.createElement)(H,{importDate:n,onDeletePreviousData:u,onReimportData:p,onStartImport:d,onStopImport:f,status:g}))}}]),r}(l.Component),ae=Object(ee.a)((function(e,t){var r=e("wc-api"),a=r.getImportStatus,n=r.isGetImportStatusRequesting,o=r.getImportTotals,c=t.activeImport,i=t.dateFormat,s=t.lastImportStartTimestamp,l=t.lastImportStopTimestamp,m=t.onImportStarted,u=t.onImportFinished,p=t.period,d=t.skipChecked,b=void 0!==s&&void 0===l||s>l,f=o(q(i,p,d),l),h=f.customers,O=f.orders,j=a(s,b?{freshness:3*Q.c,timeout:3*Q.c}:B.a),v=j.customers,g=j.imported_from,y=j.is_importing,_=j.orders,w=v||{},k=w.imported,S=w.total,E=_||{},D=E.imported,I=E.total,P=n(s);return Boolean(!s&&!P&&!b&&!0===y)&&m(),Boolean(!P&&b&&!1===y&&(k===S&&S>0||D===I&&I>0))&&u(),c?{customersProgress:k,customersTotal:Object(N.isNil)(S)?h:S,importDate:g,inProgress:b,ordersProgress:D,ordersTotal:Object(N.isNil)(I)?O:I}:{customersTotal:h,importDate:g,ordersTotal:O}}))(re),ne=r(63);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var se=function(e){_()(r,e);var t=ie(r);function r(){var e;return j()(this,r),(e=t.apply(this,arguments)).dateFormat=Object(m.__)("MM/DD/YYYY",'woocommerce'),e.state={activeImport:null,lastImportStartTimestamp:0,lastImportStopTimestamp:0,period:{date:M()().format(e.dateFormat),label:"all"},skipChecked:!0},e.makeQuery=e.makeQuery.bind(x()(e)),e.onImportFinished=e.onImportFinished.bind(x()(e)),e.onImportStarted=e.onImportStarted.bind(x()(e)),e.onDeletePreviousData=e.onDeletePreviousData.bind(x()(e)),e.onReimportData=e.onReimportData.bind(x()(e)),e.onStartImport=e.onStartImport.bind(x()(e)),e.onStopImport=e.onStopImport.bind(x()(e)),e.onDateChange=e.onDateChange.bind(x()(e)),e.onPeriodChange=e.onPeriodChange.bind(x()(e)),e.onSkipChange=e.onSkipChange.bind(x()(e)),e}return g()(r,[{key:"makeQuery",value:function(e,t){var r=this,a=this.props.createNotice;z()({path:e,method:"POST"}).then((function(e){"success"===e.status?a("success",e.message):(a("error",t),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))})).catch((function(e){e&&e.message&&(a("error",e.message),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))}))}},{key:"onImportFinished",value:function(){(0,this.props.debouncedSpeak)("Import complete"),this.setState({lastImportStopTimestamp:Date.now()})}},{key:"onImportStarted",value:function(){var e=this.props,t=e.notes,r=e.updateNote,a=t.find((function(e){return"wc-admin-historical-data"===e.name}));a&&r(a.id,{status:"actioned"}),this.setState({activeImport:!0,lastImportStartTimestamp:Date.now()})}},{key:"onDeletePreviousData",value:function(){var e=Object(m.__)("There was a problem deleting your previous data.",'woocommerce');this.makeQuery("/wc-analytics/reports/import/delete",e),this.setState({activeImport:!1}),Object(ne.b)("analytics_import_delete_previous")}},{key:"onReimportData",value:function(){this.setState({activeImport:!1})}},{key:"onStartImport",value:function(){var e=this.state,t=e.period,r=e.skipChecked,a=Object(L.addQueryArgs)("/wc-analytics/reports/import",q(this.dateFormat,t,r)),n=Object(m.__)("There was a problem rebuilding your report data.",'woocommerce');this.makeQuery(a,n),this.onImportStarted()}},{key:"onStopImport",value:function(){this.setState({lastImportStopTimestamp:Date.now()});var e=Object(m.__)("There was a problem stopping your current import.",'woocommerce');this.makeQuery("/wc-analytics/reports/import/cancel",e)}},{key:"onPeriodChange",value:function(e){this.setState({activeImport:!1,period:ce(ce({},this.state.period),{},{label:e})})}},{key:"onDateChange",value:function(e){this.setState({activeImport:!1,period:{date:e,label:"custom"}})}},{key:"onSkipChange",value:function(e){this.setState({activeImport:!1,skipChecked:e})}},{key:"render",value:function(){var e=this.state,t=e.activeImport,r=e.lastImportStartTimestamp,a=e.lastImportStopTimestamp,n=e.period,o=e.skipChecked;return Object(l.createElement)(ae,{activeImport:t,dateFormat:this.dateFormat,onImportFinished:this.onImportFinished,onImportStarted:this.onImportStarted,lastImportStartTimestamp:r,lastImportStopTimestamp:a,onPeriodChange:this.onPeriodChange,onDateChange:this.onDateChange,onSkipChange:this.onSkipChange,onDeletePreviousData:this.onDeletePreviousData,onReimportData:this.onReimportData,onStartImport:this.onStartImport,onStopImport:this.onStopImport,period:n,skipChecked:o})}}]),r}(l.Component),le=Object(p.a)([Object(ee.a)((function(e){return{notes:(0,e("wc-api").getNotes)({page:1,per_page:B.d.pageSize,type:"update",status:"unactioned"})}})),Object(d.withDispatch)((function(e){return{updateNote:e("wc-api").updateNote}})),Y.a])(se);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.default=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(Object(b.useFilters)("woocommerce_admin_analytics_settings")((function(e){var t=e.createNotice,r=e.query,a=Object(f.useSettings)("wc_admin",["wcAdminSettings"]),o=a.settingsError,i=a.isRequesting,p=a.isDirty,d=a.persistSettings,O=a.updateAndPersistSettings,j=a.updateSettings,v=a.wcAdminSettings,g=Object(l.useRef)(!1);Object(l.useEffect)((function(){function e(e){if(p)return e.returnValue=Object(m.__)("You have unsaved changes. If you proceed, they will be lost.",'woocommerce'),e.returnValue}return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}),[p]),Object(l.useEffect)((function(){i?g.current=!0:!i&&g.current&&(o?t("error",Object(m.__)("There was an error saving your settings. Please try again.",'woocommerce')):t("success",Object(m.__)("Your settings have been successfully saved.",'woocommerce')),g.current=!1)}),[i,o,t]);var y=function(e){var t=e.target,r=t.checked,a=t.name,n=t.type,o=t.value,i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v);i[a]="checkbox"===n?r?[].concat(c()(i[a]),[o]):i[a].filter((function(e){return e!==o})):o,j("wcAdminSettings",i)};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Analytics Settings",'woocommerce')}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object.keys(h.b).map((function(e){return Object(l.createElement)(R,n()({handleChange:y,value:v[e],key:e,name:e},h.b[e]))})),Object(l.createElement)("div",{className:"woocommerce-settings__actions"},Object(l.createElement)(u.a,{isSecondary:!0,onClick:function(){if(window.confirm(Object(m.__)("Are you sure you want to reset all settings to default values?",'woocommerce'))){var e=Object.keys(h.b).reduce((function(e,t){return e[t]=h.b[t].defaultValue,e}),{});O("wcAdminSettings",e),Object(ne.b)("analytics_settings_reset_defaults")}}},Object(m.__)("Reset Defaults",'woocommerce')),Object(l.createElement)(u.a,{isPrimary:!0,isBusy:i,onClick:function(){d(),Object(ne.b)("analytics_settings_save",v),r.period=void 0,r.compare=void 0,r.before=void 0,r.after=void 0,r.interval=void 0,r.type=void 0,window.wpNavMenuUrlUpdate(r)}},Object(m.__)("Save Settings",'woocommerce')))),"true"===r.import?Object(l.createElement)(b.ScrollTo,{offset:"-56"},Object(l.createElement)(le,{createNotice:t})):Object(l.createElement)(le,{createNotice:t}))})))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[19],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(0),n=new WeakMap;function o(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(8),c=r.n(o),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,o=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:c()("components-visually-hidden",o)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),o=r.n(n),c=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,m=e.children;return Object(a.createElement)("div",{className:o()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(c.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(c.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),m),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=o()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},265:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(0);function n(){return Object(a.createElement)("span",{className:"components-spinner"})}},422:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(0);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(15),o=r(14),c=r(0),i=r(2),s=r(112),l=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,p=void 0!==u&&u,d=e.onChange,b=e.options,f=void 0===b?[]:b,h=e.className,O=e.hideLabelFromVision,j=Object(o.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),v=Object(s.a)(m),g="inspector-select-control-".concat(v);return!Object(i.isEmpty)(f)&&Object(c.createElement)(l.a,{label:r,hideLabelFromVision:O,id:g,help:t,className:h},Object(c.createElement)("select",Object(a.a)({id:g,className:"components-select-control__input",onChange:function(e){if(p){var t=Object(n.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));d(t)}else d(e.target.value)},"aria-describedby":t?"".concat(g,"__help"):void 0,multiple:p},j),f.map((function(e,t){return Object(c.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},729:function(e,t,r){"use strict";var a=r(12),n=r(9),o=r(7),c=r(5),i=r(11),s=r(4),l=r(10),m=r(0),u=r(2),p=r(127),d=r(54);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}t.a=Object(d.a)((function(e){return function(t){Object(l.a)(f,t);var r,d=(r=f,function(){var e,t=Object(s.a)(r);if(b()){var a=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function f(){var e;return Object(n.a)(this,f),(e=d.apply(this,arguments)).debouncedSpeak=Object(u.debounce)(e.speak.bind(Object(c.a)(e)),500),e}return Object(o.a)(f,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(p.a)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(m.createElement)(e,Object(a.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),f}(m.Component)}),"withSpokenMessages")},768:function(e,t,r){"use strict";var a=r(0),n=r(32),o=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=o},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(14),o=r(0),c=r(112),i=r(422),s=r(768),l=r(171);function m(e){var t=e.label,r=e.className,u=e.heading,p=e.checked,d=e.help,b=e.onChange,f=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),h=Object(c.a)(m),O="inspector-checkbox-control-".concat(h);return Object(o.createElement)(l.a,{label:u,id:O,help:d,className:r},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(a.a)({id:O,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return b(e.target.checked)},checked:p,"aria-describedby":d?O+"__help":void 0},f)),p?Object(o.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:O},t))}},794:function(e,t,r){},795:function(e,t,r){},796:function(e,t,r){},922:function(e,t,r){"use strict";r.r(t);var a=r(80),n=r.n(a),o=r(41),c=r.n(o),i=r(17),s=r.n(i),l=r(0),m=r(3),u=r(67),p=r(169),d=r(18),b=r(53),f=r(43),h=(r(794),r(270)),O=r(38),j=r.n(O),v=r(37),g=r.n(v),y=r(39),_=r.n(y),w=r(42),k=r.n(w),S=r(26),E=r.n(S),D=r(772),I=r(1),P=r.n(I),N=r(2);r(795);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var T=function(e){_()(r,e);var t=C(r);function r(e){var a;return j()(this,r),(a=t.call(this,e)).renderInput=function(){var e=a.props,t=e.handleChange,r=e.name,o=e.inputText,c=e.inputType,i=e.options,s=e.value,m=e.component,p=a.state.disabled;switch(c){case"checkboxGroup":return i.map((function(e){return e.options.length>0&&Object(l.createElement)("div",{className:"woocommerce-setting__options-group",key:e.key,"aria-labelledby":r+"-label"},e.label&&Object(l.createElement)("span",{className:"woocommerce-setting__options-group-label"},e.label),a.renderCheckboxOptions(e.options))}));case"checkbox":return a.renderCheckboxOptions(i);case"button":return Object(l.createElement)(u.a,{isSecondary:!0,onClick:a.handleInputCallback,disabled:p},o);case"component":var d=m;return Object(l.createElement)(d,n()({value:s,onChange:t},a.props));case"text":default:var b=Object(N.uniqueId)(r);return Object(l.createElement)("input",{id:b,type:"text",name:r,onChange:t,value:s,placeholder:o,disabled:p})}},a.handleInputCallback=function(){var e=a.props,t=e.createNotice,r=e.callback;if("function"==typeof r)return new Promise((function(e,n){a.setState({disabled:!0}),r(e,n,t)})).then((function(){a.setState({disabled:!1})})).catch((function(){a.setState({disabled:!1})}))},a.state={disabled:!1},a}return g()(r,[{key:"renderCheckboxOptions",value:function(e){var t=this.props,r=t.handleChange,a=t.name,n=t.value,o=this.state.disabled;return e.map((function(e){return Object(l.createElement)(D.a,{key:a+"-"+e.value,label:e.label,name:a,checked:n&&n.includes(e.value),onChange:function(t){return r({target:{checked:t,name:a,type:"checkbox",value:e.value}})},disabled:o})}))}},{key:"render",value:function(){var e=this.props,t=e.helpText,r=e.label,a=e.name;return Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__label",id:a+"-label"},r),Object(l.createElement)("div",{className:"woocommerce-setting__input"},this.renderInput(),t&&Object(l.createElement)("span",{className:"woocommerce-setting__help"},t)))}}]),r}(l.Component);T.propTypes={callback:P.a.func,handleChange:P.a.func.isRequired,helpText:P.a.oneOfType([P.a.string,P.a.array]),inputText:P.a.string,inputType:P.a.oneOf(["button","checkbox","checkboxGroup","text","component"]),label:P.a.string.isRequired,name:P.a.string.isRequired,options:P.a.arrayOf(P.a.shape({value:P.a.string,label:P.a.string,description:P.a.string,key:P.a.string,options:P.a.array})),value:P.a.oneOfType([P.a.string,P.a.array])};var R=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(T),F=r(62),x=r.n(F),L=r(27),A=r(21),z=r.n(A),V=r(16),M=r.n(V),Y=r(729),q=function(e,t,r){var a={};if(r&&(a.skip_existing=!0),"all"!==t.label)if("custom"===t.label){var n=M()().diff(M()(t.date,e),"days",!0);a.days=Math.floor(n)}else a.days=parseInt(t.label,10);return a},Q=r(170),B=r(33);var H=function(e){var t,r=e.importDate,a=e.onDeletePreviousData,n=e.onReimportData,o=e.onStartImport,c=e.onStopImport,i=e.status;return Object(l.createElement)("div",{className:"woocommerce-settings__actions woocommerce-settings-historical-data__actions"},(t="ready"!==i,["initializing","customers","orders","finalizing"].includes(i)?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{className:"woocommerce-settings-historical-data__action-button",isPrimary:!0,onClick:c},Object(m.__)("Stop Import",'woocommerce')),Object(l.createElement)("div",{className:"woocommerce-setting__help woocommerce-settings-historical-data__action-help"},Object(m.__)("Imported data will not be lost if the import is stopped.",'woocommerce'),Object(l.createElement)("br",null),Object(m.__)("Navigating away from this page will not affect the import.",'woocommerce'))):["ready","nothing"].includes(i)?r?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start",'woocommerce')),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data",'woocommerce'))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start",'woocommerce'))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isSecondary:!0,onClick:n},Object(m.__)("Re-import Data",'woocommerce')),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data",'woocommerce')))))},U=r(720),G=r(108);var W=function(e){var t,r=e.dateFormat,a=e.disabled,n=e.onDateChange,o=e.onPeriodChange,c=e.value,i=function(e){e.date&&e.date.isValid?n(e.date.format(r)):n(e.text)},s=function(e){return e.isValid()&&c.date.length===r.length?e.isAfter(new Date,"day")?G.b.future:null:G.b.invalid};return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__columns"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)(U.a,{label:Object(m.__)("Import Historical Data",'woocommerce'),value:c.label,disabled:a,onChange:function(e){o(e)},options:[{label:"All",value:"all"},{label:"Last 365 days",value:"365"},{label:"Last 90 days",value:"90"},{label:"Last 30 days",value:"30"},{label:"Last 7 days",value:"7"},{label:"Last 24 hours",value:"1"},{label:"Custom",value:"custom"}]})),"custom"===c.label&&(t=M()(c.date,r),Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column-label"},Object(m.__)("Beginning on",'woocommerce')),Object(l.createElement)(b.DatePicker,{date:t.isValid()?t.toDate():null,dateFormat:r,disabled:a,error:s(t),isInvalidDate:function(e){return M()(e).isAfter(new Date,"day")},onUpdate:i,text:c.date}))))};var J=function(e){var t=e.label,r=e.progress,a=e.total,n=Object(m.sprintf)(Object(m.__)("Imported %(label)s",'woocommerce'),{label:t}),o=Object(N.isNil)(a)?null:Object(m.sprintf)(Object(m.__)("%(progress)s of %(total)s",'woocommerce'),{progress:r||0,total:a});return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__progress"},Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},n),o&&Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},o),Object(l.createElement)("progress",{className:"woocommerce-settings-historical-data__progress-bar",max:a,value:r||0}))},K=r(48),X=r(265);var Z=Object(b.useFilters)("woocommerce_admin_import_status")((function(e){var t=e.importDate,r=e.status,a=Object(K.applyFilters)("woocommerce_admin_import_status",{nothing:Object(m.__)("Nothing To Import",'woocommerce'),ready:Object(m.__)("Ready To Import",'woocommerce'),initializing:[Object(m.__)("Initializing",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],customers:[Object(m.__)("Importing Customers",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],orders:[Object(m.__)("Importing Orders",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],finalizing:[Object(m.__)("Finalizing",'woocommerce'),Object(l.createElement)(X.a,{key:"spinner"})],finished:-1===t?Object(m.__)("All historical data imported",'woocommerce'):Object(m.sprintf)(Object(m.__)("Historical data from %s onward imported",'woocommerce'),M()(t).format("YYYY-MM-DD"))});return Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__status"},Object(m.__)("Status:",'woocommerce')+" ",a[r])}));var $=function(e){var t=e.checked,r=e.disabled,a=e.onChange;return Object(l.createElement)(D.a,{className:"woocommerce-settings-historical-data__skip-checkbox",checked:t,disabled:r,label:Object(m.__)("Skip previously imported customers and orders",'woocommerce'),onChange:a})},ee=r(101);r(796);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var re=function(e){_()(r,e);var t=te(r);function r(){return j()(this,r),t.apply(this,arguments)}return g()(r,[{key:"render",value:function(){var e=this.props,t=e.customersProgress,r=e.customersTotal,a=e.dateFormat,n=e.importDate,o=e.inProgress,c=e.onPeriodChange,i=e.onDateChange,s=e.onSkipChange,u=e.onDeletePreviousData,p=e.onReimportData,d=e.onStartImport,f=e.onStopImport,h=e.ordersProgress,O=e.ordersTotal,j=e.period,v=e.skipChecked,g=function(e){var t=e.customersProgress,r=e.customersTotal,a=e.inProgress,n=e.ordersProgress,o=e.ordersTotal;return a?Object(N.isNil)(t)||Object(N.isNil)(n)||Object(N.isNil)(r)||Object(N.isNil)(o)?"initializing":t<r?"customers":n<o?"orders":"finalizing":r>0||o>0?t===r&&n===o?"finished":"ready":"nothing"}({customersProgress:t,customersTotal:r,inProgress:o,ordersProgress:h,ordersTotal:O});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Import Historical Data",'woocommerce')}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__input"},Object(l.createElement)("span",{className:"woocommerce-setting__help"},Object(m.__)("This tool populates historical analytics data by processing customers and orders created prior to activating WooCommerce Admin.",'woocommerce')),"finished"!==g&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(W,{dateFormat:a,disabled:o,onPeriodChange:c,onDateChange:i,value:j}),Object(l.createElement)($,{disabled:o,checked:v,onChange:s}),Object(l.createElement)(J,{label:Object(m.__)("Registered Customers",'woocommerce'),progress:t,total:r}),Object(l.createElement)(J,{label:Object(m.__)("Orders and Refunds",'woocommerce'),progress:h,total:O})),Object(l.createElement)(Z,{importDate:n,status:g})))),Object(l.createElement)(H,{importDate:n,onDeletePreviousData:u,onReimportData:p,onStartImport:d,onStopImport:f,status:g}))}}]),r}(l.Component),ae=Object(ee.a)((function(e,t){var r=e("wc-api"),a=r.getImportStatus,n=r.isGetImportStatusRequesting,o=r.getImportTotals,c=t.activeImport,i=t.dateFormat,s=t.lastImportStartTimestamp,l=t.lastImportStopTimestamp,m=t.onImportStarted,u=t.onImportFinished,p=t.period,d=t.skipChecked,b=void 0!==s&&void 0===l||s>l,f=o(q(i,p,d),l),h=f.customers,O=f.orders,j=a(s,b?{freshness:3*Q.c,timeout:3*Q.c}:B.a),v=j.customers,g=j.imported_from,y=j.is_importing,_=j.orders,w=v||{},k=w.imported,S=w.total,E=_||{},D=E.imported,I=E.total,P=n(s);return Boolean(!s&&!P&&!b&&!0===y)&&m(),Boolean(!P&&b&&!1===y&&(k===S&&S>0||D===I&&I>0))&&u(),c?{customersProgress:k,customersTotal:Object(N.isNil)(S)?h:S,importDate:g,inProgress:b,ordersProgress:D,ordersTotal:Object(N.isNil)(I)?O:I}:{customersTotal:h,importDate:g,ordersTotal:O}}))(re),ne=r(63);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var se=function(e){_()(r,e);var t=ie(r);function r(){var e;return j()(this,r),(e=t.apply(this,arguments)).dateFormat=Object(m.__)("MM/DD/YYYY",'woocommerce'),e.state={activeImport:null,lastImportStartTimestamp:0,lastImportStopTimestamp:0,period:{date:M()().format(e.dateFormat),label:"all"},skipChecked:!0},e.makeQuery=e.makeQuery.bind(x()(e)),e.onImportFinished=e.onImportFinished.bind(x()(e)),e.onImportStarted=e.onImportStarted.bind(x()(e)),e.onDeletePreviousData=e.onDeletePreviousData.bind(x()(e)),e.onReimportData=e.onReimportData.bind(x()(e)),e.onStartImport=e.onStartImport.bind(x()(e)),e.onStopImport=e.onStopImport.bind(x()(e)),e.onDateChange=e.onDateChange.bind(x()(e)),e.onPeriodChange=e.onPeriodChange.bind(x()(e)),e.onSkipChange=e.onSkipChange.bind(x()(e)),e}return g()(r,[{key:"makeQuery",value:function(e,t){var r=this,a=this.props.createNotice;z()({path:e,method:"POST"}).then((function(e){"success"===e.status?a("success",e.message):(a("error",t),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))})).catch((function(e){e&&e.message&&(a("error",e.message),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))}))}},{key:"onImportFinished",value:function(){(0,this.props.debouncedSpeak)("Import complete"),this.setState({lastImportStopTimestamp:Date.now()})}},{key:"onImportStarted",value:function(){var e=this.props,t=e.notes,r=e.updateNote,a=t.find((function(e){return"wc-admin-historical-data"===e.name}));a&&r(a.id,{status:"actioned"}),this.setState({activeImport:!0,lastImportStartTimestamp:Date.now()})}},{key:"onDeletePreviousData",value:function(){var e=Object(m.__)("There was a problem deleting your previous data.",'woocommerce');this.makeQuery("/wc-analytics/reports/import/delete",e),this.setState({activeImport:!1}),Object(ne.b)("analytics_import_delete_previous")}},{key:"onReimportData",value:function(){this.setState({activeImport:!1})}},{key:"onStartImport",value:function(){var e=this.state,t=e.period,r=e.skipChecked,a=Object(L.addQueryArgs)("/wc-analytics/reports/import",q(this.dateFormat,t,r)),n=Object(m.__)("There was a problem rebuilding your report data.",'woocommerce');this.makeQuery(a,n),this.onImportStarted()}},{key:"onStopImport",value:function(){this.setState({lastImportStopTimestamp:Date.now()});var e=Object(m.__)("There was a problem stopping your current import.",'woocommerce');this.makeQuery("/wc-analytics/reports/import/cancel",e)}},{key:"onPeriodChange",value:function(e){this.setState({activeImport:!1,period:ce(ce({},this.state.period),{},{label:e})})}},{key:"onDateChange",value:function(e){this.setState({activeImport:!1,period:{date:e,label:"custom"}})}},{key:"onSkipChange",value:function(e){this.setState({activeImport:!1,skipChecked:e})}},{key:"render",value:function(){var e=this.state,t=e.activeImport,r=e.lastImportStartTimestamp,a=e.lastImportStopTimestamp,n=e.period,o=e.skipChecked;return Object(l.createElement)(ae,{activeImport:t,dateFormat:this.dateFormat,onImportFinished:this.onImportFinished,onImportStarted:this.onImportStarted,lastImportStartTimestamp:r,lastImportStopTimestamp:a,onPeriodChange:this.onPeriodChange,onDateChange:this.onDateChange,onSkipChange:this.onSkipChange,onDeletePreviousData:this.onDeletePreviousData,onReimportData:this.onReimportData,onStartImport:this.onStartImport,onStopImport:this.onStopImport,period:n,skipChecked:o})}}]),r}(l.Component),le=Object(p.a)([Object(ee.a)((function(e){return{notes:(0,e("wc-api").getNotes)({page:1,per_page:B.d.pageSize,type:"update",status:"unactioned"})}})),Object(d.withDispatch)((function(e){return{updateNote:e("wc-api").updateNote}})),Y.a])(se);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.default=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(Object(b.useFilters)("woocommerce_admin_analytics_settings")((function(e){var t=e.createNotice,r=e.query,a=Object(f.useSettings)("wc_admin",["wcAdminSettings"]),o=a.settingsError,i=a.isRequesting,p=a.isDirty,d=a.persistSettings,O=a.updateAndPersistSettings,j=a.updateSettings,v=a.wcAdminSettings,g=Object(l.useRef)(!1);Object(l.useEffect)((function(){function e(e){if(p)return e.returnValue=Object(m.__)("You have unsaved changes. If you proceed, they will be lost.",'woocommerce'),e.returnValue}return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}),[p]),Object(l.useEffect)((function(){i?g.current=!0:!i&&g.current&&(o?t("error",Object(m.__)("There was an error saving your settings. Please try again.",'woocommerce')):t("success",Object(m.__)("Your settings have been successfully saved.",'woocommerce')),g.current=!1)}),[i,o,t]);var y=function(e){var t=e.target,r=t.checked,a=t.name,n=t.type,o=t.value,i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v);i[a]="checkbox"===n?r?[].concat(c()(i[a]),[o]):i[a].filter((function(e){return e!==o})):o,j("wcAdminSettings",i)};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Analytics Settings",'woocommerce')}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object.keys(h.b).map((function(e){return Object(l.createElement)(R,n()({handleChange:y,value:v[e],key:e,name:e},h.b[e]))})),Object(l.createElement)("div",{className:"woocommerce-settings__actions"},Object(l.createElement)(u.a,{isSecondary:!0,onClick:function(){if(window.confirm(Object(m.__)("Are you sure you want to reset all settings to default values?",'woocommerce'))){var e=Object.keys(h.b).reduce((function(e,t){return e[t]=h.b[t].defaultValue,e}),{});O("wcAdminSettings",e),Object(ne.b)("analytics_settings_reset_defaults")}}},Object(m.__)("Reset Defaults",'woocommerce')),Object(l.createElement)(u.a,{isPrimary:!0,isBusy:i,onClick:function(){d(),Object(ne.b)("analytics_settings_save",v),r.period=void 0,r.compare=void 0,r.before=void 0,r.after=void 0,r.interval=void 0,r.type=void 0,window.wpNavMenuUrlUpdate(r)}},Object(m.__)("Save Settings",'woocommerce')))),"true"===r.import?Object(l.createElement)(b.ScrollTo,{offset:"-56"},Object(l.createElement)(le,{createNotice:t})):Object(l.createElement)(le,{createNotice:t}))})))}}]);
packages/woocommerce-admin/dist/chunks/19.style.css ADDED
@@ -0,0 +1 @@
 
1
+ @media (min-width:783px){.woocommerce-settings__wrapper{padding:0 13px}}.woocommerce-settings__actions{margin-bottom:40px}@media (min-width:1281px){.woocommerce-settings__actions{margin-left:15%}}.woocommerce-settings__actions button{margin-right:16px}.woocommerce-setting{display:flex;margin-bottom:24px}@media (max-width:1280px){.woocommerce-setting{flex-direction:column}}.woocommerce-setting__label{font-size:16px;font-size:1rem;margin-bottom:16px;padding-right:16px;font-weight:700}@media (min-width:1281px){.woocommerce-setting__label{width:15%}}.woocommerce-setting__input{display:flex;flex-direction:column}@media (min-width:1281px){.woocommerce-setting__input{width:35%}.woocommerce-setting__input .woocommerce-filters-filter{width:100%}}.woocommerce-setting__input label{width:100%;display:block;margin-bottom:12px;color:#555d66}.woocommerce-setting__input .woocommerce-filters-filter label{margin-bottom:0}.woocommerce-setting__input button:not(.components-tab-panel__tabs-item){margin-bottom:12px;align-self:flex-start}.woocommerce-setting__input .components-base-control__field{display:flex}.woocommerce-setting__input .woocommerce-filters-date__content-controls{padding-bottom:0}.woocommerce-setting__options-group-label{display:block;font-weight:700;margin-bottom:12px}.woocommerce-setting__help{font-style:italic;color:#6c7781}.woocommerce-settings-historical-data__columns{display:-ms-grid;display:grid;grid-column-gap:24px;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px)}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column{-ms-grid-row-align:end;align-self:end;margin-top:12px}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}@media (max-width:960px){.woocommerce-settings-historical-data__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}}.woocommerce-settings-historical-data__columns .components-base-control__label,.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column-label{margin-bottom:12px}.woocommerce-settings-historical-data__columns .components-select-control__input{height:38px;padding:8px 2px}.woocommerce-settings-historical-data__columns .components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox{margin-top:24px}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field>.components-checkbox-control__label{display:inline-block;margin-bottom:0;width:auto}.woocommerce-settings-historical-data__progress-label{display:inline-block;font-weight:700;margin-bottom:12px;margin-top:24px}.woocommerce-settings-historical-data__progress-label+.woocommerce-settings-historical-data__progress-label{margin-left:.25em}.woocommerce-settings-historical-data__progress-bar{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;height:8px;width:100%;background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-moz-progress-bar{background-color:#0085ba}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-bar{background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-value{background-color:#0085ba}.woocommerce-settings-historical-data__status{display:block;font-weight:700;margin-top:24px}.woocommerce-settings-historical-data__status>.components-spinner{float:none;height:12px;margin-left:6px;margin-right:6px;width:12px}.woocommerce-settings-historical-data__status>.components-spinner:before{left:2px;height:3px;top:2px;transform-origin:4px 4px;width:3px}.woocommerce-settings-historical-data__actions{align-items:center;display:flex}
packages/woocommerce-admin/dist/chunks/19.style.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ @media (min-width:783px){.woocommerce-settings__wrapper{padding:0 13px}}.woocommerce-settings__actions{margin-bottom:40px}@media (min-width:1281px){.woocommerce-settings__actions{margin-right:15%}}.woocommerce-settings__actions button{margin-left:16px}.woocommerce-setting{display:flex;margin-bottom:24px}@media (max-width:1280px){.woocommerce-setting{flex-direction:column}}.woocommerce-setting__label{font-size:16px;font-size:1rem;margin-bottom:16px;padding-left:16px;font-weight:700}@media (min-width:1281px){.woocommerce-setting__label{width:15%}}.woocommerce-setting__input{display:flex;flex-direction:column}@media (min-width:1281px){.woocommerce-setting__input{width:35%}.woocommerce-setting__input .woocommerce-filters-filter{width:100%}}.woocommerce-setting__input label{width:100%;display:block;margin-bottom:12px;color:#555d66}.woocommerce-setting__input .woocommerce-filters-filter label{margin-bottom:0}.woocommerce-setting__input button:not(.components-tab-panel__tabs-item){margin-bottom:12px;align-self:flex-start}.woocommerce-setting__input .components-base-control__field{display:flex}.woocommerce-setting__input .woocommerce-filters-date__content-controls{padding-bottom:0}.woocommerce-setting__options-group-label{display:block;font-weight:700;margin-bottom:12px}.woocommerce-setting__help{font-style:italic;color:#6c7781}.woocommerce-settings-historical-data__columns{display:-ms-grid;display:grid;grid-column-gap:24px;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px)}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column{-ms-grid-row-align:end;align-self:end;margin-top:12px}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}@media (max-width:960px){.woocommerce-settings-historical-data__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}}.woocommerce-settings-historical-data__columns .components-base-control__label,.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column-label{margin-bottom:12px}.woocommerce-settings-historical-data__columns .components-select-control__input{height:38px;padding:8px 2px}.woocommerce-settings-historical-data__columns .components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox{margin-top:24px}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field>.components-checkbox-control__label{display:inline-block;margin-bottom:0;width:auto}.woocommerce-settings-historical-data__progress-label{display:inline-block;font-weight:700;margin-bottom:12px;margin-top:24px}.woocommerce-settings-historical-data__progress-label+.woocommerce-settings-historical-data__progress-label{margin-right:.25em}.woocommerce-settings-historical-data__progress-bar{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;height:8px;width:100%;background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-moz-progress-bar{background-color:#0085ba}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-bar{background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-value{background-color:#0085ba}.woocommerce-settings-historical-data__status{display:block;font-weight:700;margin-top:24px}.woocommerce-settings-historical-data__status>.components-spinner{float:none;height:12px;margin-right:6px;margin-left:6px;width:12px}.woocommerce-settings-historical-data__status>.components-spinner:before{right:2px;height:3px;top:2px;transform-origin:4px 4px;width:3px}.woocommerce-settings-historical-data__actions{align-items:center;display:flex}
packages/woocommerce-admin/dist/chunks/{23.950cf0c14b859edf05cf.min.js → 24.1d2c0b4dcca1ff64b922.min.js} RENAMED
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[23],{112:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e){return Object(r.useMemo)((function(){return function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e)}),[e])}},128:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(8),a=n.n(c),i=n(0);function s(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.as,n=void 0===t?"div":t,c=e.className,l=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},l))}},171:function(e,t,n){"use strict";var r=n(0),o=n(8),c=n.n(o),a=n(128);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",l)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!s&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},422:function(e,t,n){"use strict";var r=n(6),o=n(14),c=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,i=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(c.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){Object(r.a)(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:i,height:i},s))}},721:function(e,t,n){"use strict";var r=n(12),o=n(9),c=n(7),a=n(5),i=n(11),s=n(4),l=n(10),u=n(0),p=n(8),b=n.n(p),d=n(82);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(l.a)(p,e);var t,n=(t=p,function(){var e,n=Object(s.a)(t);if(f()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(i.a)(this,e)});function p(){var e;return Object(o.a)(this,p),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(a.a)(e)),e.close=e.close.bind(Object(a.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(a.a)(e)),e.containerRef=Object(u.createRef)(),e.state={isOpen:!1},e}return Object(c.a)(p,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,c=t.position,a=void 0===c?"bottom right":c,i=t.className,s=t.contentClassName,l=t.expandOnMobile,p=t.headerTitle,f=t.focusOnMount,m=t.popoverProps,O={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(u.createElement)("div",{className:b()("components-dropdown",i),ref:this.containerRef},o(O),e&&Object(u.createElement)(d.a,Object(r.a)({position:a,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:p,focusOnMount:f},m,{className:b()("components-dropdown__content",m?m.className:void 0,s)}),n(O)))}}]),p}(u.Component);t.a=m},724:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(12),o=n(14),c=n(0),a=n(112),i=n(171);function s(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,u=e.help,p=e.className,b=e.onChange,d=e.type,f=void 0===d?"text":d,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(s),h="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:h,help:u,className:p},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:h,value:l,onChange:function(e){return b(e.target.value)},"aria-describedby":u?h+"__help":void 0},m)))}},757:function(e,t,n){"use strict";var r=n(17),o=n.n(r),c=n(38),a=n.n(c),i=n(37),s=n.n(i),l=n(62),u=n.n(l),p=n(39),b=n.n(p),d=n(42),f=n.n(d),m=n(26),O=n.n(m),h=n(0),v=n(1),j=n.n(v),y=n(2),_=n(18),g=n(53),k=n(22),w=n(43),E=n(63),D=n(108),S=n(200);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var C=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(E.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(E.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(E.b)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(E.b)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(E.b)("analytics_filters_filter",{report:n,snakeCaseData:r});break;case"clear_all":Object(E.b)("analytics_filters_clear_all",{report:n});break;case"match":Object(E.b)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(D.h)(o,a),s=i.period,l=i.compare,u=i.before,p=i.after,b=Object(D.f)(o,a),d={period:s,compare:l,before:u,after:p,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(h.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrency(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:D.k})}}]),n}(h.Component);C.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(C),C.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},910:function(e,t,n){"use strict";n.r(t);var r=n(129),o=n.n(r),c=n(17),a=n.n(c),i=n(41),s=n.n(i),l=n(0),u=n(3),p=n(169),b=n(2),d=n(721),f=n(67),m=n(96),O=n(48),h=n(422),v=n(32),j=Object(l.createElement)(v.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(v.a,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(53),_=n(43),g=(n(769),Object(l.lazy)((function(){return Promise.all([n.e(2),n.e(1),n.e(25)]).then(n.bind(null,933))}))),k=Object(l.lazy)((function(){return Promise.all([n.e(3),n.e(31)]).then(n.bind(null,938))})),w=Object(l.lazy)((function(){return n.e(43).then(n.bind(null,928))})),E=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(w,e))},title:Object(u.__)("Performance",'woocommerce'),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(g,e))},title:Object(u.__)("Charts",'woocommerce'),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(k,e))},title:Object(u.__)("Leaderboards",'woocommerce'),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),D=n(80),S=n.n(D),P=n(38),T=n.n(P),C=n(37),R=n.n(C),F=n(62),N=n.n(F),M=n(39),x=n.n(M),B=n(42),V=n.n(B),I=n(26),A=n.n(I),H=n(724);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var U=function(e){x()(n,e);var t=L(n);function n(e){var r;return T()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(N()(r)),r.onMoveDown=r.onMoveDown.bind(N()(r)),r}return R()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(l.createElement)(H.a,{label:Object(u.__)("Section Title",'woocommerce'),onBlur:o,onChange:c,required:!0,value:a})),Object(l.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(l.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up",'woocommerce')),!r&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(l.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down",'woocommerce')),Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:t},Object(l.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section",'woocommerce'))))}}]),n}(l.Component);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var z=function(e){x()(n,e);var t=q(n);function n(e){var r;T()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(N()(r)),r.onTitleChange=r.onTitleChange.bind(N()(r)),r.onTitleBlur=r.onTitleBlur.bind(N()(r)),r}return R()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(l.createElement)("div",{className:"woocommerce-dashboard-section"},Object(l.createElement)(t,S()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:U},n)))}}]),n}(l.Component),G=n(101),J=n(63),Q=n(753),W=n(108),Z=n(757);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=Object(l.lazy)((function(){return Promise.all([n.e(3),n.e(5),n.e(44)]).then(n.bind(null,929))})),$=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(p.a)(Object(G.a)((function(e){var t=e(_.OPTIONS_STORE_NAME).getOption,n={defaultDateRange:e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range};return Object(Q.e)()&&(n.homepageEnabled=window.wcAdminFeatures.homescreen&&"yes"===t("woocommerce_homescreen_enabled"),n.taskListHidden="yes"===t("woocommerce_task_list_hidden"),n.taskListComplete="yes"===t("woocommerce_task_list_complete")),n})))((function(e){var t,n,r,c,a,i,p,O,v,g=e.defaultDateRange,k=e.homepageEnabled,w=e.path,D=e.query,S=e.taskListComplete,P=e.taskListHidden,T=Object(_.useUserPreferences)(),C=T.updateUserPreferences,R=function(e){if(!e||0===e.length)return E;var t=E.map((function(e){return e.key})),n=e.map((function(e){return e.key})),r=new Set([].concat(s()(n),s()(t))),o=[];return r.forEach((function(t){var n=E.find((function(e){return e.key===t}));if(n){var r=e.find((function(e){return e.key===t}));o.push(X(X({},n),r))}})),o}(o()(T,["updateUserPreferences"]).dashboard_sections),F=!k&&Object(Q.e)()&&!P,N=!F||!D.task&&S,M=function(e){C({dashboard_sections:e})},x=function(e,t){var n=R.map((function(n){return n.key===e?X(X({},n),t):n}));M(n)},B=function(e){return function(t){Object(J.b)("dash_section_rename",{key:e}),x(e,{title:t})}},V=function(e,t){return function(){t&&t();var n=R.findIndex((function(t){return e===t.key})),r=R.splice(n,1).shift();r.isVisible=!r.isVisible,R.push(r),r.isVisible?Object(J.b)("dash_section_add",{key:r.key}):Object(J.b)("dash_section_remove",{key:r.key}),M(R)}},I=function e(t,n){var r=R.splice(t,1).shift(),o=t+n;if(R[n<0?o:o-1].isVisible||0===t||t===R.length-1){R.splice(o,0,r),M(R);var c={key:r.key,direction:n>0?"down":"up"};Object(J.b)("dash_section_order_change",c)}else e(t,n+n)};return Object(l.createElement)(l.Fragment,null,F&&Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(Y,{query:D,inline:N})),N&&(n=Object(W.h)(D,g),r=n.period,c=n.compare,a=n.before,i=n.after,p=Object(W.f)(D,g),O={period:r,compare:c,before:a,after:i,primaryDate:p.primary,secondaryDate:p.secondary},v=R.filter((function(e){return e.isVisible})).map((function(e){return e.key})),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z.a,{report:"dashboard",query:D,path:w,dateQuery:O,isoDateFormat:W.k,filters:$}),R.map((function(e,t){return e.isVisible?Object(l.createElement)(z,{component:e.component,hiddenBlocks:e.hiddenBlocks,key:e.key,onChangeHiddenBlocks:(n=e.key,function(e){x(n,{hiddenBlocks:e})}),onTitleUpdate:B(e.key),path:w,query:D,title:e.title,onMove:Object(b.partial)(I,t),onRemove:V(e.key),isFirst:e.key===v[0],isLast:e.key===v[v.length-1]}):null;var n})),0===(t=R.filter((function(e){return!1===e.isVisible}))).length?null:Object(l.createElement)(d.a,{position:"top center",className:"woocommerce-dashboard-section__add-more",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(f.a,{onClick:t,title:Object(u.__)("Add more sections",'woocommerce'),"aria-expanded":n},Object(l.createElement)(h.a,{icon:j}))},renderContent:function(e){var n=e.onToggle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(y.H,null,Object(u.__)("Dashboard Sections",'woocommerce')),Object(l.createElement)("div",{className:"woocommerce-dashboard-section__add-more-choices"},t.map((function(e){return Object(l.createElement)(f.a,{key:e.key,onClick:V(e.key,n),className:"woocommerce-dashboard-section__add-more-btn",title:Object(u.sprintf)(Object(u.__)("Add %s section",'woocommerce'),e.title)},Object(l.createElement)(m.a,{icon:e.icon,size:30}),Object(l.createElement)("span",{className:"woocommerce-dashboard-section__add-more-btn-title"},e.title))}))))}}))))}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[24],{112:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e){return Object(r.useMemo)((function(){return function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e)}),[e])}},128:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(8),a=n.n(c),i=n(0);function s(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.as,n=void 0===t?"div":t,c=e.className,l=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},l))}},171:function(e,t,n){"use strict";var r=n(0),o=n(8),c=n.n(o),a=n(128);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",l)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!s&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},422:function(e,t,n){"use strict";var r=n(6),o=n(14),c=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,i=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(c.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){Object(r.a)(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:i,height:i},s))}},721:function(e,t,n){"use strict";var r=n(12),o=n(9),c=n(7),a=n(5),i=n(11),s=n(4),l=n(10),u=n(0),p=n(8),b=n.n(p),d=n(82);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var m=function(e){Object(l.a)(p,e);var t,n=(t=p,function(){var e,n=Object(s.a)(t);if(f()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(i.a)(this,e)});function p(){var e;return Object(o.a)(this,p),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(a.a)(e)),e.close=e.close.bind(Object(a.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(a.a)(e)),e.containerRef=Object(u.createRef)(),e.state={isOpen:!1},e}return Object(c.a)(p,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,c=t.position,a=void 0===c?"bottom right":c,i=t.className,s=t.contentClassName,l=t.expandOnMobile,p=t.headerTitle,f=t.focusOnMount,m=t.popoverProps,O={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(u.createElement)("div",{className:b()("components-dropdown",i),ref:this.containerRef},o(O),e&&Object(u.createElement)(d.a,Object(r.a)({position:a,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:p,focusOnMount:f},m,{className:b()("components-dropdown__content",m?m.className:void 0,s)}),n(O)))}}]),p}(u.Component);t.a=m},724:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(12),o=n(14),c=n(0),a=n(112),i=n(171);function s(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,u=e.help,p=e.className,b=e.onChange,d=e.type,f=void 0===d?"text":d,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(s),h="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:h,help:u,className:p},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:h,value:l,onChange:function(e){return b(e.target.value)},"aria-describedby":u?h+"__help":void 0},m)))}},757:function(e,t,n){"use strict";var r=n(17),o=n.n(r),c=n(38),a=n.n(c),i=n(37),s=n.n(i),l=n(62),u=n.n(l),p=n(39),b=n.n(p),d=n(42),f=n.n(d),m=n(26),O=n.n(m),h=n(0),v=n(1),j=n.n(v),y=n(2),_=n(18),g=n(53),k=n(23),w=n(43),E=n(63),D=n(108),S=n(200);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var C=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(E.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(E.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(E.b)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(E.b)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(E.b)("analytics_filters_filter",{report:n,snakeCaseData:r});break;case"clear_all":Object(E.b)("analytics_filters_clear_all",{report:n});break;case"match":Object(E.b)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(D.h)(o,a),s=i.period,l=i.compare,u=i.before,p=i.after,b=Object(D.f)(o,a),d={period:s,compare:l,before:u,after:p,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(h.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrency(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:D.k})}}]),n}(h.Component);C.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(C),C.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},910:function(e,t,n){"use strict";n.r(t);var r=n(129),o=n.n(r),c=n(17),a=n.n(c),i=n(41),s=n.n(i),l=n(0),u=n(3),p=n(169),b=n(2),d=n(721),f=n(67),m=n(96),O=n(48),h=n(422),v=n(32),j=Object(l.createElement)(v.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(v.a,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(53),_=n(43),g=(n(769),Object(l.lazy)((function(){return Promise.all([n.e(2),n.e(1),n.e(26)]).then(n.bind(null,924))}))),k=Object(l.lazy)((function(){return Promise.all([n.e(4),n.e(32)]).then(n.bind(null,929))})),w=Object(l.lazy)((function(){return n.e(44).then(n.bind(null,919))})),E=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(w,e))},title:Object(u.__)("Performance",'woocommerce'),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(g,e))},title:Object(u.__)("Charts",'woocommerce'),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(k,e))},title:Object(u.__)("Leaderboards",'woocommerce'),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),D=n(80),S=n.n(D),P=n(38),T=n.n(P),C=n(37),R=n.n(C),F=n(62),N=n.n(F),M=n(39),x=n.n(M),B=n(42),V=n.n(B),I=n(26),A=n.n(I),H=n(724);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var U=function(e){x()(n,e);var t=L(n);function n(e){var r;return T()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(N()(r)),r.onMoveDown=r.onMoveDown.bind(N()(r)),r}return R()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(l.createElement)(H.a,{label:Object(u.__)("Section Title",'woocommerce'),onBlur:o,onChange:c,required:!0,value:a})),Object(l.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(l.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up",'woocommerce')),!r&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(l.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down",'woocommerce')),Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:t},Object(l.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section",'woocommerce'))))}}]),n}(l.Component);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var z=function(e){x()(n,e);var t=q(n);function n(e){var r;T()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(N()(r)),r.onTitleChange=r.onTitleChange.bind(N()(r)),r.onTitleBlur=r.onTitleBlur.bind(N()(r)),r}return R()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(l.createElement)("div",{className:"woocommerce-dashboard-section"},Object(l.createElement)(t,S()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:U},n)))}}]),n}(l.Component),G=n(101),J=n(63),Q=n(753),W=n(108),Z=n(757);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=Object(l.lazy)((function(){return Promise.all([n.e(3),n.e(4),n.e(6),n.e(45)]).then(n.bind(null,920))})),$=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(p.a)(Object(G.a)((function(e){var t=e(_.OPTIONS_STORE_NAME).getOption,n={defaultDateRange:e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range};return Object(Q.e)()&&(n.homepageEnabled=window.wcAdminFeatures.homescreen&&"yes"===t("woocommerce_homescreen_enabled"),n.taskListHidden="yes"===t("woocommerce_task_list_hidden"),n.taskListComplete="yes"===t("woocommerce_task_list_complete")),n})))((function(e){va