diff --git a/wp-content/languages/admin-sv_SE.po b/wp-content/languages/admin-sv_SE.po index 57cb3ce82..6d38ea246 100644 --- a/wp-content/languages/admin-sv_SE.po +++ b/wp-content/languages/admin-sv_SE.po @@ -231,25 +231,25 @@ msgstr "Du måste göra filen %1$s skrivbar innan du kan spara dina ändringar. msgid "Rewrite rules:" msgstr "Omskrivningsregler:" -#: wp-admin/nav-menus.php:1022 +#: wp-admin/nav-menus.php:1038 msgid "List of menu items selected for deletion:" msgstr "Lista med menyobjekt som markerats för borttagning:" -#: wp-admin/nav-menus.php:1020 +#: wp-admin/nav-menus.php:1036 msgid "Remove Selected Items" msgstr "Ta bort markerade objekt" -#: wp-admin/nav-menus.php:987 wp-admin/nav-menus.php:1018 +#: wp-admin/nav-menus.php:999 wp-admin/nav-menus.php:1034 msgid "Bulk Select" msgstr "Välj flera" #. translators: %s: Item name. -#: wp-admin/nav-menus.php:491 +#: wp-admin/nav-menus.php:501 msgid "Deleted menu item: %s." msgstr "Menyobjekt borttaget: %s" #. translators: %s: Item name. -#: wp-admin/nav-menus.php:489 +#: wp-admin/nav-menus.php:499 msgid "item %s" msgstr "objekt: %s" @@ -1406,7 +1406,7 @@ msgstr "Automatiska uppdateringar kan aktiveras eller inaktiveras för huvudvers msgid "Important: Before updating, please back up your database and files. For help with updates, visit the Updating WordPress documentation page." msgstr "Viktigt: Innan du uppdaterar bör du säkerhetskopiera din databas och dina filer. Du hittar hjälp kring uppdateringar i dokumentationens sida uppdatera WordPress." -#: wp-admin/customize.php:203 wp-admin/theme-install.php:389 +#: wp-admin/customize.php:207 wp-admin/theme-install.php:389 #: wp-admin/theme-install.php:436 wp-admin/themes.php:554 #: wp-admin/themes.php:912 wp-admin/themes.php:1128 msgctxt "theme" @@ -2245,7 +2245,7 @@ msgstr "Documentation on Updating WordPress" msgstr "Dokumentation om uppdatering av WordPress" -#: wp-admin/nav-menus.php:653 +#: wp-admin/nav-menus.php:663 msgid "Documentation on Menus" msgstr "Dokumentation om menyer" @@ -2994,7 +2994,7 @@ msgid "Great job!" msgstr "Stiligt!" #: wp-admin/about.php:33 wp-admin/credits.php:34 wp-admin/freedoms.php:37 -#: wp-admin/includes/ms.php:1122 wp-admin/nav-menus.php:691 +#: wp-admin/includes/ms.php:1122 wp-admin/nav-menus.php:701 #: wp-admin/options-privacy.php:143 wp-admin/privacy-policy-guide.php:41 #: wp-admin/privacy.php:31 wp-admin/site-health.php:115 msgid "Secondary menu" @@ -4010,29 +4010,29 @@ msgstr "Du kan inte uppdatera eftersom WordPress %2$s kräv msgid "You cannot update because WordPress %2$s requires PHP version %3$s or higher. You are running version %4$s." msgstr "Du kan inte uppdatera eftersom WordPress %2$s kräver PHP-version %3$s eller senare. Du har version %4$s." -#: wp-admin/nav-menus.php:927 +#: wp-admin/nav-menus.php:937 msgid "Add menu items" msgstr "Lägg till menyval" #. translators: %s: URL to create a new menu. -#: wp-admin/nav-menus.php:893 +#: wp-admin/nav-menus.php:903 msgid "or create a new menu. Don’t forget to save your changes!" msgstr "eller skapa en ny meny. Kom ihåg att spara dina ändringar!" -#: wp-admin/nav-menus.php:840 wp-admin/nav-menus.php:905 +#: wp-admin/nav-menus.php:850 wp-admin/nav-menus.php:915 msgid "Click the Save Menu button to save your changes." msgstr "Klicka på knappen Spara meny för att spara dina ändringar." #. translators: %s: URL to create a new menu. -#: wp-admin/nav-menus.php:828 +#: wp-admin/nav-menus.php:838 msgid "Edit your menu below, or create a new menu. Don’t forget to save your changes!" msgstr "Redigera din meny nedan, eller skapa en ny meny. Kom ihåg att spara dina ändringar!" -#: wp-admin/nav-menus.php:821 +#: wp-admin/nav-menus.php:831 msgid "Fill in the Menu Name and click the Create Menu button to create your first menu." msgstr "Fyll i menyns namn och klicka på knappen Skapa meny för att skapa din första meny." -#: wp-admin/nav-menus.php:820 +#: wp-admin/nav-menus.php:830 msgid "Create your first menu below." msgstr "Skapa din första meny nedan." @@ -5608,11 +5608,11 @@ msgstr "Du har inte behörighet att ta bort användare." msgid "Sorry, you are not allowed to create users." msgstr "Du har inte behörighet att skapa nya användare." -#: wp-admin/customize.php:241 +#: wp-admin/customize.php:245 msgid "The Customizer allows you to preview changes to your site before publishing them. You can navigate to different pages on your site within the preview. Edit shortcuts are shown for some editable elements." msgstr "Anpassaren låter dig förhandsgranska ändringar på din webbplats innan du publicerar dem. Du kan navigera till olika sidor på din webbplats inom förhandsgranskningsfönstret. Redigeringsgenvägar visas för vissa redigerbara element." -#: wp-admin/customize.php:255 +#: wp-admin/customize.php:259 msgctxt "short (~12 characters) label for hide controls button" msgid "Hide Controls" msgstr "Dölj reglage" @@ -5621,7 +5621,7 @@ msgstr "Dölj reglage" msgid "Expand Sidebar" msgstr "Visa sidopanel" -#: wp-admin/nav-menus.php:1052 +#: wp-admin/nav-menus.php:1070 msgid "Display location" msgstr "Visningsplats" @@ -5714,7 +5714,7 @@ msgstr "Repetera" #: wp-admin/includes/class-custom-background.php:100 #: wp-admin/includes/class-custom-image-header.php:137 wp-admin/index.php:112 #: wp-admin/link-manager.php:79 wp-admin/media-new.php:61 wp-admin/media.php:97 -#: wp-admin/my-sites.php:52 wp-admin/nav-menus.php:654 +#: wp-admin/my-sites.php:52 wp-admin/nav-menus.php:664 #: wp-admin/options-discussion.php:32 wp-admin/options-general.php:49 #: wp-admin/options-media.php:41 wp-admin/options-permalink.php:62 #: wp-admin/options-reading.php:53 wp-admin/options-writing.php:53 @@ -5889,7 +5889,7 @@ msgstr "Du har inte behörighet att redigera oregistrerade inställningar för d msgid "Sorry, you are not allowed to manage options for this site." msgstr "Du har inte behörighet att hantera inställningar för den här webbplatsen." -#: wp-admin/nav-menus.php:676 wp-admin/widgets-form.php:393 +#: wp-admin/nav-menus.php:686 wp-admin/widgets-form.php:393 msgid "Manage with Live Preview" msgstr "Hantera med förhandsgranskning live" @@ -6108,7 +6108,7 @@ msgstr "Du har inte behörighet att exportera innehållet på den här webbplats msgid "You can filter the list of posts by post status using the text links above the posts list to only show posts with that status. The default view is to show all posts." msgstr "Du kan filtrera listan av inlägg efter inläggsstatus genom att använda textlänkarna ovanför listan för att endast visa inlägg med specifik status. Som standard visas alla inlägg." -#: wp-admin/customize.php:214 +#: wp-admin/customize.php:218 msgid "Close the Customizer and go back to the previous page" msgstr "Stäng anpassaren och gå tillbaka till föregående sida" @@ -6558,7 +6558,7 @@ msgid "Send User Notification" msgstr "Skicka avisering till användaren" #. translators: %s: Menu name. -#: wp-admin/nav-menus.php:1072 +#: wp-admin/nav-menus.php:1090 msgctxt "menu location" msgid "(Currently set to: %s)" msgstr "(Just nu satt till: %s)" @@ -7243,7 +7243,7 @@ msgid "Show more details" msgstr "Visa mer information" #. translators: %s: Number of menus. -#: wp-admin/nav-menus.php:720 +#: wp-admin/nav-menus.php:730 msgid "Your theme supports %s menu. Select which menu appears in each location." msgid_plural "Your theme supports %s menus. Select which menu appears in each location." msgstr[0] "Ditt tema har stöd för %s meny. Välj vilken meny som ska visas på vilken plats." @@ -7445,7 +7445,7 @@ msgctxt "timezone date format" msgid "Y-m-d H:i:s" msgstr "Y-m-d H:i:s" -#: wp-admin/nav-menus.php:625 +#: wp-admin/nav-menus.php:635 msgid "To add a custom link, expand the Custom Links section, enter a URL and link text, and click Add to Menu" msgstr "Lägg till en anpassad länk genom att expandera sektionen ”Anpassade länkar”, ange URL och länktext och klicka på ”Lägg till i meny”" @@ -8525,18 +8525,18 @@ msgstr "Storlekarna listade nedan anger de maximala måtten i pixlar som kan anv msgid "Comment must be manually approved" msgstr "måste kommentaren godkännas manuellt" -#: wp-admin/nav-menus.php:623 +#: wp-admin/nav-menus.php:633 msgid "Clicking the arrow to the right of any menu item in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab." msgstr "Visa standardinställningar genom att klicka på pilen till höger om ett menyval. Ytterligare inställningar, såsom länkmål, CSS-klasser, länkrelationer och länkbeskrivningar kan aktiveras eller inaktiveras under fliken Skärmalternativ." #. translators: 1: URL to Widgets screen, 2 and 3: The names of the default #. themes. -#: wp-admin/nav-menus.php:592 +#: wp-admin/nav-menus.php:602 msgid "Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Navigation Menu” widget on the Widgets screen. If your theme does not support the navigation menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side." msgstr "Menyer kan visas på fördefinierade platser i ditt tema och även användas i sidopaneler med hjälp av widgeten ”Navigationsmeny” på widgetsidan. Om ditt tema inte har stöd för anpassade menyer (något som standardtemana, %2$s och %3$s har) så kan du lära dig hur man lägger till stödet genom att följa dokumentationen i länken vid sidan om här." #. translators: %s: URL to Widgets screen. -#: wp-admin/nav-menus.php:583 +#: wp-admin/nav-menus.php:593 msgid "Your theme does not natively support menus, but you can use them in sidebars by adding a “Navigation Menu” widget on the Widgets screen." msgstr "Ditt tema saknar inbyggt stöd för anpassade menyer, men du kan använda dem i sidopaneler genom att lägga till widgeten ”Navigationsmeny” på widgetsidan." @@ -8813,7 +8813,7 @@ msgstr "Paketet innehåller inga filer." msgid "To navigate between revisions, drag the slider handle left or right or use the Previous or Next buttons." msgstr "För att bläddra mellan versioner, drar du skjutreglaget i sidled eller använder knapparna Föregående/Nästa." -#: wp-admin/customize.php:147 wp-admin/includes/class-wp-debug-data.php:440 +#: wp-admin/customize.php:151 wp-admin/includes/class-wp-debug-data.php:440 #: wp-admin/includes/dashboard.php:1140 wp-admin/includes/dashboard.php:1339 msgid "Loading…" msgstr "Laddar…" @@ -8830,11 +8830,11 @@ msgstr "Posten du försöker återställa från papperskorgen finns inte längre msgid "The item you are trying to move to the Trash no longer exists." msgstr "Posten du försöker flytta till papperskorgen finns inte längre." -#: wp-admin/nav-menus.php:978 +#: wp-admin/nav-menus.php:988 msgid "Drag the items into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options." msgstr "Dra varje objekt för att sortera dem i önskad ordning. Klicka på pilen till höger om objektet för att visa extra inställningsmöjligheter." -#: wp-admin/nav-menus.php:611 +#: wp-admin/nav-menus.php:621 msgid "If you haven’t yet created any menus, click the ’create a new menu’ link to get started" msgstr "Om du inte skapat några menyer än kan du klicka på länken ”Skapa en ny meny” för att komma igång." @@ -8874,105 +8874,105 @@ msgctxt "Followed by post revision info" msgid "From:" msgstr "Från:" -#: wp-admin/nav-menus.php:794 +#: wp-admin/nav-menus.php:804 msgctxt "menu" msgid "Use new menu" msgstr "Använd ny meny" -#: wp-admin/nav-menus.php:775 +#: wp-admin/nav-menus.php:785 msgctxt "menu" msgid "Edit" msgstr "Redigera" -#: wp-admin/nav-menus.php:744 +#: wp-admin/nav-menus.php:754 msgid "Select a Menu" msgstr "Välj en meny" -#: wp-admin/nav-menus.php:735 +#: wp-admin/nav-menus.php:745 msgid "Assigned Menu" msgstr "Tilldelad meny" -#: wp-admin/nav-menus.php:734 +#: wp-admin/nav-menus.php:744 msgid "Theme Location" msgstr "Temaposition" -#: wp-admin/nav-menus.php:703 +#: wp-admin/nav-menus.php:713 msgid "Manage Locations" msgstr "Hantera positioner" -#: wp-admin/nav-menus.php:692 +#: wp-admin/nav-menus.php:702 msgid "Edit Menus" msgstr "Redigera menyer" -#: wp-admin/nav-menus.php:640 +#: wp-admin/nav-menus.php:650 msgid "To add a new menu instead of assigning an existing one, click the ’Use new menu’ link. Your new menu will be automatically assigned to that theme location" msgstr "För att lägga till en ny meny istället för att tilldela en befintlig, klickar du på länken ”Använd ny meny”. Din nya meny kommer automatiskt att kopplas till temapositionen" -#: wp-admin/nav-menus.php:639 +#: wp-admin/nav-menus.php:649 msgid "To edit a menu currently assigned to a theme location, click the adjacent ’Edit’ link" msgstr "För att redigera en meny som för närvarande är kopplad till någon av temats menypositioner klickar du på den intilliggande länken ”Redigera”" -#: wp-admin/nav-menus.php:638 +#: wp-admin/nav-menus.php:648 msgid "To assign menus to one or more theme locations, select a menu from each location’s drop down. When you’re finished, click Save Changes" msgstr "För att tilldela menyer till en eller flera positioner i temat, välj en meny från vardera positionsmeny. När du är klar, klicka på Spara ändringar" -#: wp-admin/nav-menus.php:637 +#: wp-admin/nav-menus.php:647 msgid "This screen is used for globally assigning menus to locations defined by your theme." msgstr "Denna sida används för att globalt tilldela menyer till positioner definierade i ditt tema." -#: wp-admin/nav-menus.php:632 +#: wp-admin/nav-menus.php:642 msgid "Editing Menus" msgstr "Redigera menyer" -#: wp-admin/nav-menus.php:627 +#: wp-admin/nav-menus.php:637 msgid "Delete a menu item by expanding it and clicking the Remove link" msgstr "Ta bort ett menyval genom att expandera det och klicka på länken ”Ta bort”" -#: wp-admin/nav-menus.php:626 +#: wp-admin/nav-menus.php:636 msgid "To reorganize menu items, drag and drop items with your mouse or use your keyboard. Drag or move a menu item a little to the right to make it a submenu" msgstr "För att ordna dina menyval, dra och släpp valen med musen eller använd tangentbordet. Dra/flytta ett menyval ett litet snäpp till höger för att göra det till ett underval" -#: wp-admin/nav-menus.php:624 +#: wp-admin/nav-menus.php:634 msgid "Add one or several items at once by selecting the checkbox next to each item and clicking Add to Menu" msgstr "Lägg till ett eller flera objekt på en gång genom att markera kryssrutan bredvid varje objekt och klicka på ”Lägg till i meny”" -#: wp-admin/nav-menus.php:622 +#: wp-admin/nav-menus.php:632 msgid "Each navigation menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below." msgstr "Varje navigationsmeny kan innehålla en blandning av länkar till sidor, kategorier, anpassade URL:er eller andra innehållstyper. Menylänkar läggs till genom att man väljer objekt i panelerna till vänster nedan." -#: wp-admin/nav-menus.php:617 +#: wp-admin/nav-menus.php:627 msgid "Menu Management" msgstr "Menyhantering" -#: wp-admin/nav-menus.php:612 +#: wp-admin/nav-menus.php:622 msgid "You can assign theme locations to individual menus by selecting the desired settings at the bottom of the menu editor. To assign menus to all theme locations at once, visit the Manage Locations tab at the top of the screen." msgstr "Du kan tilldela temapositioner för enskilda menyer genom att välja önskade inställningar längst ned i menyredigeraren. För att tilldela menyer till alla temapositioner samtidigt, använder du fliken Hantera positioner längst upp på sidan." -#: wp-admin/nav-menus.php:610 +#: wp-admin/nav-menus.php:620 msgid "To edit an existing menu, choose a menu from the drop down and click Select" msgstr "För att redigera en befintlig meny, välj en meny från rullgardinsmenyn och klicka på ”Välj”" -#: wp-admin/nav-menus.php:609 +#: wp-admin/nav-menus.php:619 msgid "The menu management box at the top of the screen is used to control which menu is opened in the editor below." msgstr "Rutan för menyhantering i sidans övre del styr vilken meny som är öppnad i redigeraren nedan." -#: wp-admin/nav-menus.php:599 +#: wp-admin/nav-menus.php:609 msgid "Add, organize, and modify individual menu items" msgstr "Lägga till, organisera och ändra enskilda menyval" -#: wp-admin/nav-menus.php:598 +#: wp-admin/nav-menus.php:608 msgid "Create, edit, and delete menus" msgstr "Skapa, redigera och ta bort menyer" -#: wp-admin/nav-menus.php:597 wp-admin/themes.php:132 +#: wp-admin/nav-menus.php:607 wp-admin/themes.php:132 msgid "From this screen you can:" msgstr "Från denna sida kan du:" -#: wp-admin/nav-menus.php:589 +#: wp-admin/nav-menus.php:599 msgid "This screen is used for managing your navigation menus." msgstr "Denna sida används för att hantera dina navigationsmenyer." -#: wp-admin/nav-menus.php:442 +#: wp-admin/nav-menus.php:452 msgid "Menu locations updated." msgstr "Positionen för menyn har uppdaterats." @@ -9022,11 +9022,11 @@ msgstr "Nekad: %s" msgid "Capabilities" msgstr "Behörigheter" -#: wp-admin/nav-menus.php:1027 wp-admin/network/settings.php:490 +#: wp-admin/nav-menus.php:1045 wp-admin/network/settings.php:490 msgid "Menu Settings" msgstr "Menyinställningar" -#: wp-admin/nav-menus.php:935 +#: wp-admin/nav-menus.php:945 msgid "Menu structure" msgstr "Menystruktur" @@ -9061,7 +9061,7 @@ msgstr "Du kan inte kasta denna post i papperskorgen. %s redigerar den just nu." msgid "%s has taken over and is currently editing." msgstr "%s har tagit över och redigerar just nu." -#: wp-admin/nav-menus.php:845 +#: wp-admin/nav-menus.php:855 msgid "Select a menu to edit:" msgstr "Välj en meny att redigera:" @@ -9078,15 +9078,15 @@ msgstr "Kalas! Du har klarat dig igenom denna del av installationen. WordPress k msgid "Client version" msgstr "Klientversion" -#: wp-admin/nav-menus.php:1043 +#: wp-admin/nav-menus.php:1061 msgid "Auto add pages" msgstr "Lägg till sidor automatiskt" -#: wp-admin/nav-menus.php:1001 +#: wp-admin/nav-menus.php:1015 msgid "Give your menu a name, then click Create Menu." msgstr "Ge din meny ett namn och klicka på ”Skapa meny”." -#: wp-admin/nav-menus.php:976 +#: wp-admin/nav-menus.php:986 msgid "Edit your default menu by adding or removing items. Drag the items into the order you prefer. Click Create Menu to save your changes." msgstr "Redigera din standardmeny genom att lägga till eller ta bort menyval. Dra i menyvalen för att sortera dem i önskad ordning. Klicka på Skapa meny för att spara dina ändringar." @@ -10525,8 +10525,8 @@ msgstr "Den vänstra navigationsmenyn innehåller länkar till alla administrati #: wp-admin/includes/class-custom-image-header.php:99 #: wp-admin/includes/class-wp-screen.php:853 wp-admin/includes/ms.php:1137 #: wp-admin/index.php:42 wp-admin/link-manager.php:56 wp-admin/media-new.php:48 -#: wp-admin/media.php:85 wp-admin/my-sites.php:43 wp-admin/nav-menus.php:604 -#: wp-admin/nav-menus.php:645 wp-admin/options-discussion.php:23 +#: wp-admin/media.php:85 wp-admin/my-sites.php:43 wp-admin/nav-menus.php:614 +#: wp-admin/nav-menus.php:655 wp-admin/options-discussion.php:23 #: wp-admin/options-general.php:41 wp-admin/options-media.php:33 #: wp-admin/options-permalink.php:22 wp-admin/options-reading.php:24 #: wp-admin/options-writing.php:22 wp-admin/plugin-editor.php:124 @@ -10720,7 +10720,7 @@ msgstr "Inställningarna sparade." #: wp-admin/includes/class-custom-image-header.php:135 #: wp-admin/includes/ms.php:1159 wp-admin/index.php:110 #: wp-admin/link-manager.php:77 wp-admin/media-new.php:59 wp-admin/media.php:95 -#: wp-admin/my-sites.php:50 wp-admin/nav-menus.php:652 +#: wp-admin/my-sites.php:50 wp-admin/nav-menus.php:662 #: wp-admin/options-discussion.php:30 wp-admin/options-general.php:47 #: wp-admin/options-media.php:39 wp-admin/options-permalink.php:59 #: wp-admin/options-reading.php:51 wp-admin/options-writing.php:51 @@ -11758,7 +11758,7 @@ msgstr "Du kan anpassa visningen av denna vy på olika sätt:" msgid "Search Installed Plugins" msgstr "Sök bland installerade tillägg" -#: wp-admin/nav-menus.php:716 +#: wp-admin/nav-menus.php:726 msgid "Your theme supports one menu. Select which menu you would like to use." msgstr "Ditt tema har stöd för en meny. Välj vilken meny du vill använda." @@ -12099,7 +12099,7 @@ msgstr "CSS-klasser (valfritt)" msgid "Link Target" msgstr "Länkmål" -#: wp-admin/nav-menus.php:961 wp-admin/nav-menus.php:1118 +#: wp-admin/nav-menus.php:971 wp-admin/nav-menus.php:1136 msgid "Save Menu" msgstr "Spara meny" @@ -12245,7 +12245,7 @@ msgstr "Denna adress används för administrativa behov. Om du ändrar den komme msgid "View All" msgstr "Visa alla" -#: wp-admin/nav-menus.php:374 wp-admin/nav-menus.php:396 +#: wp-admin/nav-menus.php:384 wp-admin/nav-menus.php:406 msgid "Please enter a valid menu name." msgstr "Ange ett giltigt menynamn." @@ -15210,7 +15210,7 @@ msgstr "Sidhuvudet uppdaterat. Besök din webbplats för att msgid "Custom Header" msgstr "Anpassat sidhuvud" -#: wp-admin/includes/template.php:2487 wp-admin/nav-menus.php:803 +#: wp-admin/includes/template.php:2487 wp-admin/nav-menus.php:813 #: wp-admin/options.php:402 msgid "Save Changes" msgstr "Spara ändringar" diff --git a/wp-content/languages/plugins/akismet-sv_SE.mo b/wp-content/languages/plugins/akismet-sv_SE.mo index f2635549f..adeb099cf 100644 Binary files a/wp-content/languages/plugins/akismet-sv_SE.mo and b/wp-content/languages/plugins/akismet-sv_SE.mo differ diff --git a/wp-content/languages/plugins/akismet-sv_SE.po b/wp-content/languages/plugins/akismet-sv_SE.po index e31971451..f1fed8a8e 100644 --- a/wp-content/languages/plugins/akismet-sv_SE.po +++ b/wp-content/languages/plugins/akismet-sv_SE.po @@ -2,7 +2,7 @@ # This file is distributed under the same license as the Plugins - Akismet Spam Protection - Stable (latest release) package. msgid "" msgstr "" -"PO-Revision-Date: 2021-08-08 19:06:27+0000\n" +"PO-Revision-Date: 2021-08-30 10:27:25+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -11,6 +11,26 @@ msgstr "" "Language: sv_SE\n" "Project-Id-Version: Plugins - Akismet Spam Protection - Stable (latest release)\n" +#: views/notice.php:194 +msgid "Upgrade to %2$s" +msgstr "Uppgradera till %2$s" + +#: views/notice.php:171 +msgid "Since %s, your account made %s API calls, compared to your plan's limit of %s. Learn more about usage limits." +msgstr "Sedan %s har ditt konto gjort %s API-anrop, jämfört med ditt pakets gräns på %s. Läs mer om användingsbegränsningar. " + +#: views/notice.php:160 +msgid "Your account has been restricted" +msgstr "Ditt konto har begränsats" + +#: views/notice.php:156 +msgid "Your Akismet account usage is approaching your plan's limit" +msgstr "Användningen av ditt Akismet-konto närmar sig paketets gräns" + +#: views/notice.php:153 +msgid "Your Akismet account usage is over your plan's limit" +msgstr "Användningen av ditt Akismet-konto överskrider gränsen för ditt paket" + #: views/notice.php:117 msgid "Please enter a new key or contact Akismet support." msgstr "Ange en ny nyckel eller kontakta Akismets support." @@ -46,7 +66,7 @@ msgstr "Akismet kunde inte kontrollera den här kommentaren men kommer automatis msgid "Comment was caught by %s." msgstr "Kommentaren stoppades av %s." -#: class.akismet.php:576 +#: class.akismet.php:588 msgid "Akismet is not configured. Please enter an API key." msgstr "Akismet är inte konfigurerad. Ange en API-nyckel." @@ -62,7 +82,7 @@ msgstr "Ställ in ett annat konto" msgid "Set up your Akismet account to enable spam filtering on this site." msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats." -#: class.akismet-admin.php:1093 +#: class.akismet-admin.php:1120 msgid "Akismet could not recheck your comments for spam." msgstr "Akismet kunde inte kontrollera dina kommentarer igen efter skräppost." @@ -102,7 +122,7 @@ msgstr "Akismet integritetsmeddelande" msgid "Privacy" msgstr "Integritet" -#: class.akismet.php:1612 +#: class.akismet.php:1634 msgid "This site uses Akismet to reduce spam. Learn how your comment data is processed." msgstr "Denna webbplats använder Akismet för att minska skräppost. Lär dig hur din kommentardata bearbetas." @@ -110,7 +130,7 @@ msgstr "Denna webbplats använder Akismet för att minska skräppost. protect your blog from spam. It keeps your site protected even while you sleep. To get started, just go to your Akismet Settings page to set up your API key." msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att skydda din blogg från skräppost. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du bara gå till din inställningssida för Akismet för att konfigurera din API-nyckel." -#: class.akismet-admin.php:1194 +#: class.akismet-admin.php:1221 msgid "Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Your site is fully configured and being protected, even while you sleep." msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att skydda din blogg från skräppost. Din webbplats är färdigkonfigurerad och skyddar din webbplats t.o.m. medan du sover. " -#: class.akismet-admin.php:1086 +#: class.akismet-admin.php:1113 msgid "%s comment was caught as spam." msgid_plural "%s comments were caught as spam." msgstr[0] "%s kommentar bedömdes som skräppost." msgstr[1] "%s kommentarer bedömdes som skräppost." -#: class.akismet-admin.php:1083 +#: class.akismet-admin.php:1110 msgid "No comments were caught as spam." msgstr "Inga kommentarer bedömdes som skräppost." -#: class.akismet-admin.php:1079 +#: class.akismet-admin.php:1106 msgid "Akismet checked %s comment." msgid_plural "Akismet checked %s comments." msgstr[0] "Akismet har kontrollerat %s kommentar." msgstr[1] "Akismet har kontrollerat %s kommentarer." -#: class.akismet-admin.php:1076 +#: class.akismet-admin.php:1103 msgid "There were no comments to check. Akismet will only check comments awaiting moderation." msgstr "Det finns inga kommentarer att kontrollera. Akismet kommer endast att kontrollera kommentarer som inväntar granskning." -#: class.akismet.php:582 +#: class.akismet.php:594 msgid "Comment not found." msgstr "Kommentaren kunde inte hittas." @@ -313,19 +334,19 @@ msgstr "Uppdatera din betalningsinformation." msgid "Almost done - configure Akismet and say goodbye to spam" msgstr "Nästan klart – konfigurera Akismet och vinka adjö till skräppost" -#: class.akismet-admin.php:1009 +#: class.akismet-admin.php:1025 msgid "Akismet has saved you %d minute!" msgid_plural "Akismet has saved you %d minutes!" msgstr[0] "Akismet har sparat dig %d minut!" msgstr[1] "Akismet har sparat dig %d minuter!" -#: class.akismet-admin.php:1007 +#: class.akismet-admin.php:1023 msgid "Akismet has saved you %d hour!" msgid_plural "Akismet has saved you %d hours!" msgstr[0] "Akismet har sparat dig %d timme!" msgstr[1] "Akismet har sparat dig %d timmar!" -#: class.akismet-admin.php:1005 +#: class.akismet-admin.php:1021 msgid "Akismet has saved you %s day!" msgid_plural "Akismet has saved you %s days!" msgstr[0] "Akismet har sparat dig %s dag!" @@ -576,11 +597,11 @@ msgstr[1] "Skräppost blockerad" msgid "Past six months" msgstr "Senaste sex månaderna" -#: class.akismet.php:1371 +#: class.akismet.php:1393 msgid "Please upgrade WordPress to a current version, or downgrade to version 2.4 of the Akismet plugin." msgstr "Uppgradera WordPress till en aktuell version eller nedgradera till version 2.4 av tillägget Akismet." -#: class.akismet.php:1371 +#: class.akismet.php:1393 msgid "Akismet %s requires WordPress %s or higher." msgstr "Akismet %s kräver WordPress %s eller senare." @@ -642,11 +663,11 @@ msgstr "Visa antalet skräpkommentarer som Akismet har fångat" msgid "Akismet Widget" msgstr "Akismet-widget" -#: class.akismet-admin.php:1002 +#: class.akismet-admin.php:1018 msgid "Cleaning up spam takes time." msgstr "Att rensa upp skräppost tar tid." -#: class.akismet-admin.php:895 +#: class.akismet-admin.php:911 msgid "Please check your Akismet configuration and contact your web host if problems persist." msgstr "Kontrollera din konfiguration av Akismet och kontakta ditt webbhotell om problemen kvarstår." @@ -870,7 +891,7 @@ msgstr "Tar bort …" msgid "Remove this URL" msgstr "Ta bort denna URL" -#: class.akismet-admin.php:86 class.akismet-admin.php:1212 +#: class.akismet-admin.php:86 class.akismet-admin.php:1239 msgid "Akismet" msgstr "Akismet" diff --git a/wp-content/languages/plugins/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json b/wp-content/languages/plugins/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json index 72c1e1785..3a1643d98 100644 --- a/wp-content/languages/plugins/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json +++ b/wp-content/languages/plugins/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json @@ -1 +1 @@ -{"translation-revision-date":"2021-08-05 10:17:00+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Video hosting":["Videovisning"],"Your data is being securely backed up as you edit. You have %1$dTB of storage space.":["Dina data s\u00e4kerhetskopieras s\u00e4kert medan du redigerar. Du har %1$d TB lagringsutrymme."],"Your data is being securely backed up as you edit. You have %1$dGB of storage space.":["Dina data s\u00e4kerhetskopieras s\u00e4kert medan du redigerar. Du har %1$d GB lagringsutrymme."],"Jetpack Security":["Jetpack Security"],"Enjoy the peace of mind of complete site protection.":["Njut av tryggheten med ett komplett webbplatsskydd."],"Contact support":["Kontakta supporten"],"Explore themes":["Utforska teman"],"Get access to professionally crafted themes offered on WordPress.com, and customize your site exactly how you like it.":["F\u00e5 \u00e5tkomst till professionellt utformade teman p\u00e5 WordPress.com och anpassa din webbplats precis som du vill ha den."],"Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.":["Jetpack st\u00f6tte p\u00e5 ett fel och kunde inte visa adminpanelen. Prova att uppdatera sidan."],"Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.":["Anslut ditt WordPress.com-konto och uppgradera f\u00f6r att f\u00e5 svar p\u00e5 dina supportfr\u00e5gor snabbare."],"Button caption\u0004Apply license":["Till\u00e4mpa licensen"],"Button caption\u0004Applying\u2026":["Till\u00e4mpar \u2026"],"Jetpack licence key":["Jetpack-licensnyckel"],"If you have a Jetpack license key paste it here to queue it for activation. Once your license is processed your product will appear under \"My Plan\".":["Om du har en Jetpack-licensnyckel, klistra in den h\u00e4r f\u00f6r att k\u00f6a den f\u00f6r aktivering. N\u00e4r din licens har behandlats kommer din produkt att visas under \"Mitt paket\"."],"Jetpack License":["Jetpack-licens"],"Error adding Jetpack license key.":["Det gick inte att l\u00e4gga till Jetpack-licensnyckeln."],"Jetpack license key added. It may take a minute for the license to be processed.":["Jetpack-licensnyckeln lades till. Det kan ta n\u00e5gon minut innan licensen behandlas."],"Get the most out of Jetpack.":["F\u00e5 ut det mesta fr\u00e5n Jetpack."],"Connect your WordPress.com account to upgrade and get Jetpack Search, which helps your visitors instantly find the right content \u2013 right when they need it.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och f\u00e5 Jetpack S\u00f6k, som hj\u00e4lper dina bes\u00f6kare att hitta r\u00e4tt inneh\u00e5ll \u2013 precis n\u00e4r de beh\u00f6ver det."],"Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och f\u00e5 automatiska s\u00e4kerhetskopieringar som h\u00e5ller ditt inneh\u00e5ll s\u00e4kert."],"Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och automatiskt avl\u00e4gsna skr\u00e4ppost fr\u00e5n kommentarer och formul\u00e4r."],"Connect your WordPress.com account to upgrade to Jetpack Scan and protect your site from security threats with automated scanning.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera till Jetpack Scan och skydda din webbplats fr\u00e5n s\u00e4kerhetshot med hj\u00e4lp av automatiserad skanning."],"Connect your WordPress.com<\/a> account to use this feature.":["Anslut ditt WordPress.com<\/a>-konto f\u00f6r att anv\u00e4nda den h\u00e4r funktionen."],"Connect your WordPress.com<\/a> account to keep your site protected from malicious sign in attempts.":["Anslut ditt WordPress.com<\/a>-konto f\u00f6r att skydda din webbplats mot skadliga inloggningsf\u00f6rs\u00f6k."],"Connect your WordPress.com account to view more stats":["Anslut ditt WordPress.com-konto f\u00f6r att visa mer statistik"],"Not now":["Inte just nu."],"Connect to enable the WordPress.com toolbar.":["Anslut f\u00f6r att aktivera WordPress.com-verktygsf\u00e4ltet."],"Connect to enable publishing via email.":["Anslut f\u00f6r att aktivera publicering via e-post."],"Google search":["Google-s\u00f6kning"],"Expand to preview how the SEO settings will look for your homepage on Google, Facebook, and Twitter.":["Expandera f\u00f6r att f\u00f6rhandsvisa hur SEO-inst\u00e4llningarna kommer att se ut f\u00f6r din startsida p\u00e5 Google, Facebook och Twitter."],"Maximum characters reached.":["Maximalt antal tecken uppn\u00e5tt."],"Front Page Meta Description":["Startsidans metabeskrivning"],"Craft a description of your Website: up to 160 characters that will be used in search engine results for your front page, and when your website is shared on social media sites.":["Skapa en beskrivning av din webbplats: upp till 160 tecken som kommer anv\u00e4ndas i s\u00f6kmotorresultaten f\u00f6r webbplatsens startsida och n\u00e4r den delas p\u00e5 sociala medier."],"Expand to edit your front page meta description.":["Expandera f\u00f6r att redigera metabeskrivningen f\u00f6r din webbplats startsida."],"You can set the structure of page titles for different sections of your site. Doing this will change the way your site title is displayed in search engines, social media sites, and browser tabs.":["Du kan konfigurera rubrikstrukturen f\u00f6r olika delar av din webbplats. Att g\u00f6ra detta kommer att f\u00f6r\u00e4ndra hur rubriken f\u00f6r din webbplats visas i s\u00f6kmotorer, p\u00e5 sociala medier och i flikar p\u00e5 webbl\u00e4sare."],"Expand to customize the page title structures of your site.":["Expandera f\u00f6r att anpassa sidrubrikstrukturen f\u00f6r din webbplats."],"Your SEO settings are managed by the following plugin: %s":["Dina s\u00f6kmotoroptimeringar hanteras av f\u00f6ljande till\u00e4gg: %s"],"Preview: %s":["F\u00f6rhandsgranskning: %s"],"Example Title":["Exempelrubrik"],"Tag or Category Name":["Etikett eller kategorinamn"],"Page Title":["Sidrubrik"],"Post Title":["Inl\u00e4ggsrubrik"],"Tagline":["Slogan"],"Site Title":["Webbplatsrubrik"],"Front Page":["Startsida"],"The Like button is a way for people on WordPress.com to show their appreciation for your content.":["Gilla-knappen \u00e4r ett s\u00e4tt f\u00f6r personer p\u00e5 WordPress.com att visa att de uppskattar ditt inneh\u00e5ll."],"Connect to add your social media accounts.":["Anslut f\u00f6r att l\u00e4gga till dina sociala media-konton."],"Connect to enable WordPress.com Secure Sign-On.":["Anslut f\u00f6r att aktivera enkel inloggning med WordPress.com."],"Secure Sign-On":["S\u00e4ker inloggning"],"Connect to set up brute force attack protection.":["Anslut f\u00f6r att konfigurera skydd mot r\u00e5styrkeattacker."],"Settings header\u0004Protect":["Skydda"],"Connect to set up your status alerts.":["Anslut f\u00f6r att konfigurera dina statusaviseringar."],"Connect to configure.":["Anslut f\u00f6r att konfigurera."],"Connect to manage your subscriptions settings.":["Anslut f\u00f6r att hantera dina prenumerationsinst\u00e4llningar."],"This feature is provided by the WordPress.com cloud. %s":["Den h\u00e4r funktionen kommer fr\u00e5n WordPress.com-molnet. %s"],"Let visitors easily share your content":["L\u00e5t bes\u00f6kare enkelt dela ditt inneh\u00e5ll"],"Receive notifications of likes and comments":["F\u00e5 aviseringar om gillamarkeringar och kommentarer"],"Let your subscribers know when you post":["L\u00e5t dina prenumeranter veta n\u00e4r du g\u00f6r nya inl\u00e4gg"],"Automatically promote your posts on social media":["G\u00f6r automatiskt reklam f\u00f6r dina inl\u00e4gg i sociala medier"],"Receive instant downtime alerts":["F\u00e5 direktaviseringar om driftstopp"],"Unlock this and other features":["L\u00e5s upp den h\u00e4r och andra funktioner"],"Unlock %s and other features":["L\u00e5s upp %s och andra funktioner"],"Disconnect your WordPress.com account":["Koppla fr\u00e5n ditt WordPress.com-konto"],"Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och automatiskt avl\u00e4gsna skr\u00e4ppost fr\u00e5n kommentarer och formul\u00e4r."],"Connect your WordPress.com account to upgrade and help visitors quickly find answers with highly relevant instant search results and powerful filtering.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och hj\u00e4lpa bes\u00f6kare att hitta svar snabbt med hj\u00e4lp av relevanta s\u00f6kresultat och kraftfull filtrering."],"Connect your WordPress.com account to upgrade and connect your site to Google Analytics.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och ansluta din webbplats till Google Analytics."],"Connect your WordPress.com account to upgrade for automated scanning and one-click fixes keep your site ahead of security threats.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och f\u00e5 automatiserad skanning och korrigeringar med ett klick som s\u00e4kerst\u00e4ller att din webbplats ligger steget f\u00f6re eventuella s\u00e4kerhetshot."],"Connect your WordPress.com account to upgrade and save every change and get back online quickly with one-click restores.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och spara varje \u00e4ndring samt f\u00e5 m\u00f6jlighet att komma tillbaka online snabbt med \u00e5terst\u00e4llningar med ett klick."],"Connect your WordPress.com account to upgrade and generate income with high-quality adds.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och generera int\u00e4kter med h\u00f6gkvalitativa annonser."],"Connect your WordPress.com account to upgrade for unlimited, ad-free video hosting.":["Anslut ditt WordPress.com-konto f\u00f6r att uppgradera och f\u00e5 obegr\u00e4nsad, reklamfri videovisning."],"A caption for a button to connect a user account to access paid features.\u0004Connect":["Anslut"],"Curious what else Jetpack has to offer? View all Jetpack features<\/ExternalLink>":["Nyfiken p\u00e5 vad Jetpack mer har att erbjuda? Visa alla Jetpack-funktioner<\/ExternalLink>"],"Recommendations skipped":["Rekommendationer hoppades \u00f6ver"],"You didn\u2019t enable any recommended features. To get the most out of Jetpack, enable some recommendations or explore all Jetpack features.":["Du har inte aktiverat n\u00e5gra rekommenderade funktioner. Aktivera n\u00e5gra rekommendationer eller utforska alla Jetpack-funktioner f\u00f6r att f\u00e5 ut det mesta av Jetpack."],"Recommendations enabled":["Rekommendationer aktiverade"],"Nice work! Let\u2019s ensure the features you enabled are configured for your %s.":["Bra jobbat! L\u00e5t oss se till att de funktioner du aktiverat \u00e4r konfigurerade f\u00f6r din %s."],"Explore premium Jetpack product bundles or pick and choose exactly what you need.":["Utforska premiumpaket med Jetpack-produkter eller v\u00e4lj exakt vad du beh\u00f6ver."],"Powerful security, performance, and marketing":["Kraftfull s\u00e4kerhet, prestanda och marknadsf\u00f6ring"],"Recommended premium product":["Rekommenderad premiumprodukt"],"Increase site growth with marketing":["\u00d6ka webbplatsens tillv\u00e4xt med marknadsf\u00f6ring"],"Speed-enhancing performance tools":["Hastighetsf\u00f6rb\u00e4ttrande prestandaverktyg"],"Robust security to keep your site safe":["Robust s\u00e4kerhet f\u00f6r att skydda din webbplats"],"With Jetpack, you have free access<\/strong> to managing your site with WordPress.com<\/a> and the Android and iOS WordPress apps.":["Med Jetpack har du fri tillg\u00e5ng<\/strong> f\u00f6r att hantera din webbplats med WordPress.com<\/a> och WordPress-apparna f\u00f6r Android- och iOS."],"Explore a better editing experience":["Utforska en b\u00e4ttre redigeringsupplevelse"],"Update your site from any device":["Uppdatera din webbplats fr\u00e5n vilken enhet som helst"],"Free stock photo library":["Gratis fotobibliotek"],"Multi-site plugin management":["Till\u00e4ggshantering fr\u00e5n flera platser"],"Manage multiple sites from one dashboard":["Hantera ett flertal webbplatser fr\u00e5n en adminpanel"],"Refined post and page editor":["F\u00f6rfinad inl\u00e4ggs- och sidredigerare"],"Google Play Store download badge":["H\u00e4mtningsikon f\u00f6r Google Play Store"],"Download the WordPress Android mobile app.":["H\u00e4mta mobilappen f\u00f6r WordPress Android."],"Apple App Store download badge":["H\u00e4mtningsikon f\u00f6r Apple App Store"],"Download the WordPress iOS mobile app.":["H\u00e4mta mobilappen f\u00f6r WordPress iOS."],"Manage security on Jetpack.com":["Hantera s\u00e4kerhet p\u00e5 Jetpack.com"],"You can also use your included Activity feature to monitor every change that occurs on your site!":["Du kan ocks\u00e5 anv\u00e4nda din inkluderade aktivitetsfunktion f\u00f6r att \u00f6vervaka alla f\u00f6r\u00e4ndringar som sker p\u00e5 din webbplats!"],"Did you know you can manage all your backups right from Jetpack.com?":["Visste du att du kan hantera alla dina s\u00e4kerhetskopior direkt fr\u00e5n Jetpack.com?"],"Manage your security on Jetpack.com":["Hantera din s\u00e4kerhet p\u00e5 Jetpack.com"],"Enter your server credentials to enable one-click restores included in your plan.":["Ange dina serverautentiseringsuppgifter f\u00f6r att aktivera \u00e5terst\u00e4llning med ett klick som \u00e4r inkluderat i ditt paket."],"Get the most out of your %s. One-click restores ensure you\u2019ll be able to easily restore your site, if anything goes wrong.":["F\u00e5 ut det mesta av din %s. \u00c5terst\u00e4llningar med ett klick s\u00e4kerst\u00e4ller att du enkelt kan \u00e5terst\u00e4lla din webbplats om n\u00e5got g\u00e5r fel."],"Enable one-click restores":["Aktivera \u00e5terst\u00e4llningar med ett klick"],"Real-time Backups":["S\u00e4kerhetskopieringar i realtid"],"WooCommerce":["WooCommerce"],"Install":["Installera"],"Creative Mail":["Creative Mail"],"Other sites may include non-profits, colleges or schools, apps, real-estate, or others.":["\u00d6vriga webbplatser kan inkludera ideella organisationer, h\u00f6gskolor eller skolor, appar, fastigheter eller annat."],"Stores typically include online e-commerce stores selling goods, services, or digital downloads.":["Butiker inkluderar vanligtvis e-handelsbutiker online som s\u00e4ljer varor, tj\u00e4nster eller digitala nedladdningar."],"Business sites usually include shops, services like lawyers, or plumbers, and advertisers or influencers.":["F\u00f6retagswebbplatser inneh\u00e5ller vanligtvis butiker, tj\u00e4nster som advokater eller r\u00f6rmokare och annons\u00f6rer eller influencers."],"Personal sites usually include blogs, resume sites, weddings or other events, and hobby sites.":["Personliga webbplatser inneh\u00e5ller vanligtvis bloggar, CV-webbplatser, br\u00f6llop eller andra evenemang och hobbywebbplatser."],"Install WooCommerce":["Installera WooCommerce"],"We\u2019re partnered with WooCommerce<\/strong> \u2014 a customizable, open-source eCommerce platform built for WordPress. It\u2019s everything you need to start selling products today. Learn more<\/ExternalLink>":["Vi samarbetar med WooCommerce<\/strong> \u2014 en anpassningsbar e-handelsplattform med \u00f6ppen k\u00e4llkod byggd f\u00f6r WordPress. Det \u00e4r allt du beh\u00f6ver f\u00f6r att b\u00f6rja s\u00e4lja produkter idag. L\u00e4s mer<\/ExternalLink>"],"Would you like WooCommerce to power your store?":["Vill du att WooCommerce ska driva din butik?"],"Enable Site Accelerator":["Aktivera webbplatsacceleratorn"],"Faster sites get better ranking in search engines and help keep visitors on your site longer. Site Accelerator<\/strong> will automatically optimize your image and files. Learn more<\/ExternalLink>":["Snabbare webbplatser f\u00e5r b\u00e4ttre ranking i s\u00f6kmotorer och hj\u00e4lper till att h\u00e5lla kvar bes\u00f6kare p\u00e5 din webbplats l\u00e4ngre. Webbplatsacceleratorn<\/strong> kommer automatiskt att optimera dina bilder och filer. L\u00e4s mer<\/ExternalLink>"],"Would you like Site Accelerator to help your site load faster?":["Vill du att webbplatsacceleratorn hj\u00e4lper din webbplats att laddas snabbare?"],"Enable Related Posts":["Aktivera relaterade inl\u00e4gg"],"Displaying Related Posts<\/strong> at the end of your content keeps visitors engaged and on your site longer. Learn more<\/ExternalLink>":["Genom att visa Relaterade inl\u00e4gg<\/strong> i slutet av ditt inneh\u00e5ll h\u00e5lls bes\u00f6karna engagerade och stannar kvar p\u00e5 din webbplats l\u00e4ngre. L\u00e4s mer<\/ExternalLink>"],"Would you like Related Posts to display at the bottom of your content?":["Vill du att relaterade inl\u00e4gg ska visas l\u00e4ngst ner i ditt inneh\u00e5ll?"],"Enable Downtime Monitoring":["Aktivera driftstopps\u00f6vervakning"],"If your site ever goes down, Downtime Monitoring<\/strong> will send you an email or push notitification to let you know. Learn more<\/ExternalLink>":["Om din webbplats skulle sluta fungera kommer Driftstopps\u00f6vervakning<\/strong> att skicka ett e-postmeddelande eller pushmeddelande till dig f\u00f6r meddela dig. L\u00e4s mer<\/ExternalLink>"],"Would you like Downtime Monitoring to notify you if your site goes offline?":["Vill du att driftstopps\u00f6vervakaren ska meddela dig om din webbplats g\u00e5r offline?"],"Install Creative Mail":["Installera Creative Mail"],"The Jetpack Newsletter Form<\/strong> combined with Creative Mail<\/strong> by Constant Contact can help automatically gather subscribers and send them beautiful emails. Learn more<\/ExternalLink>":["Jetpacks nyhetsbrevformul\u00e4r<\/strong> kombinerat med Creative Mail<\/strong> av Constant Contact kan hj\u00e4lpa till att automatiskt samla prenumeranter och skicka vackra e-postmeddelanden till dem. L\u00e4s mer<\/ExternalLink>"],"Would you like to turn site visitors into subscribers with Creative Mail?":["Vill du f\u00f6rvandla webbplatsbes\u00f6kare till prenumeranter med Creative Mail?"],"Navigation item.\u0004Recommendations":["Rekommendationer"],"site":["webbplats"],"personal site":["personlig webbplats"],"business site":["f\u00f6retagswebbplats"],"store":["butik"],"All of Jetpack\u2019s great features await you and we\u2019ll recommend some of our favorites.":["Alla Jetpacks fantastiska funktioner v\u00e4ntar p\u00e5 dig och vi rekommenderar n\u00e5gra av v\u00e5ra favoriter."],"Other":["\u00d6vrigt"],"Store":["Butik"],"Business":["F\u00f6retag"],"Personal":["Personligt"],"This assistant will help you get the most from Jetpack. Tell us more about your goals and we\u2019ll recommend relevant features to help you succeed.":["Denna assistent hj\u00e4lper dig att f\u00e5 ut mesta m\u00f6jliga av Jetpack. Ber\u00e4tta mer om dina m\u00e5l s\u00e5 rekommenderar vi relevanta funktioner som hj\u00e4lper dig att lyckas."],"What type of site is %s?":["Vilken typ av webbplats \u00e4r %s?"],"Jetpack offers support via community forums for any site without a paid product.":["Jetpack erbjuder support via community-forum f\u00f6r webbplatser utan betalprodukter."],"No security threats found. Your site will continue to be monitored for future threats.":["Inga s\u00e4kerhetshot hittades. Din webbplats kommer att forts\u00e4tta att \u00f6vervakas betr\u00e4ffande framtida hot."],"Please finish your setup by entering your server\u2019s credentials.":["Slutf\u00f6r konfigurationen genom att ange dina serverautentiseringsuppgifter."],"Security threat found. Click here<\/a> to fix them immediately.":["S\u00e4kerhetshot hittat. Klicka h\u00e4r<\/a> f\u00f6r att \u00e5tg\u00e4rda det omedelbart.","S\u00e4kerhetshot hittade. Klicka h\u00e4r<\/a> f\u00f6r att \u00e5tg\u00e4rda dem omedelbart."],"Purchase Jetpack Scan to protect your site from security threats with automated scanning.":["K\u00f6p Jetpack Scan f\u00f6r att skydda din webbplats fr\u00e5n s\u00e4kerhetshot med hj\u00e4lp av automatisk skanning."],"VaultPress is not installed, please install<\/a> to enable automatic scanning for security for threats.":["VaultPress \u00e4r inte installerat. Installera<\/a> det f\u00f6r att aktivera automatisk skanning efter s\u00e4kerhetshot."],"VaultPress is not active, please activate<\/a> to enable automatic scanning for security for threats.":["VaultPress \u00e4r inte aktiverat. Aktivera<\/a> det f\u00f6r att aktivera automatisk skanning efter s\u00e4kerhetshot."],"VaultPress is having difficulties scanning. Please make sure your registration key is entered<\/keyLink>. If you require further assistance please contact support<\/supportLink>.":["VaultPress har problem med skanningen. Kontrollera att du har angett din registreringsnyckel<\/keyLink>. Om du beh\u00f6ver ytterligare hj\u00e4lp, kontakta supporten<\/supportLink>."],"Could not activate VaultPress.":["Det gick inte att aktivera VaultPress."],"Activating VaultPress\u2026":["Aktiverar VaultPress..."],"F Y":["F Y"],"F jS":["j F"],"M j":["j M"],"A caption for a button to reconnect Jetpack.\u0004Reconnect Jetpack":["\u00c5teranslut Jetpack"],"Click below to reconnect Jetpack":["Klicka nedan f\u00f6r att \u00e5teransluta Jetpack"],"You should only do this if advised by Site Health tests or Jetpack Support.":["Du b\u00f6r endast g\u00f6ra detta om Site Health-tester eller Jetpack Support rekommenderar det."],"You\u2019ve clicked a link to restore your Jetpack connection.":["Du har klickat p\u00e5 en l\u00e4nk f\u00f6r att \u00e5terst\u00e4lla din Jetpack-anslutning."],"Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the Site Health tool<\/a>.":["Jetpack har \u00e5teranslutits! Du kan kontrollera din Jetpack-anslutnings h\u00e4lsa genom att bes\u00f6ka Site Health-verktyget<\/a>."],"Your site is connected to Jetpack Backup.":["Din webbplats \u00e4r ansluten till Jetpack Backup."],"Your site is connected to VaultPress for backups.":["Din webbplats \u00e4r ansluten till VaultPress f\u00f6r s\u00e4kerhetskopieringar."],"Your site is connected to VaultPress for backups and security scanning.":["Din webbplats \u00e4r ansluten till VaultPress f\u00f6r s\u00e4kerhetskopieringar och s\u00e4kerhetsskanning."],"Your site is connected to Jetpack Backup and Scan.":["Din webbplats \u00e4r ansluten till Jetpack Backup och Scan."],"Automatically clear spam from comments and forms.":["Rensa automatiskt skr\u00e4ppost fr\u00e5n kommentarer och formul\u00e4r."],"Connect your site to Google Analytics.":["Anslut din webbplats till Google Analytics."],"Automated scanning and one-click fixes keep your site ahead of security threats.":["Automatiserad skanning och korrigeringar med ett klick s\u00e4kerst\u00e4ller att din webbplats ligger steget f\u00f6re eventuella s\u00e4kerhetshot."],"Save every change and get back online quickly with one-click restores.":["Spara varje \u00e4ndring och kom tillbaka online snabbt med \u00e5terst\u00e4llningar med ett klick."],"Get unlimited, ad-free video hosting.":["F\u00e5 obegr\u00e4nsade, annonsfria v\u00e4rdtj\u00e4nster f\u00f6r video."],"Twitter profile image":["Twitter-profilbild"],"Jetpack Complete":["Jetpack Complete"],"The most powerful WordPress sites: Top-tier security bundle, enhanced search.":["De mest kraftfulla WordPress-webbplatserna: S\u00e4kerhetspaket i toppklass, f\u00f6rb\u00e4ttrad s\u00f6kning."],"Jetpack Security Real-Time":["Jetpack Security i realtid"],"Additional security for sites with 24\/7 activity. Recommended for eCommerce stores, news organizations, and online forums.":["Ytterligare s\u00e4kerhet f\u00f6r webbplatser med aktivitet dygnet runt. Rekommenderat f\u00f6r e-handel, nyhetsorganisationer och onlineforum."],"Jetpack Security Daily":["Jetpack Security varje dag"],"Enjoy the peace of mind of complete site protection. Great for brochure sites, restaurants, blogs, and resume sites.":["Njut av tryggheten med ett komplett webbplatsskydd. Perfekt f\u00f6r broschyrwebbplatser, restauranger, bloggar och CV-webbplatser."],"Could not activate Akismet.":["Kunde inte aktivera Akismet."],"Activating Akismet\u2026":["Aktiverar Akismet \u2026"],"It looks like your API key has been set globally.":["Det verkar som om din API-nyckel har st\u00e4llts in globalt."],"A valid key has been set in your site's configuration.":["En giltig nyckel har st\u00e4llts in i din webbplats konfiguration."],"There seems to be a problem with your website.":["Det verkar finnas ett problem med din webbplats."],"There was an error disconnecting Jetpack. Error: %s":["Ett fel uppstod n\u00e4r Jetpack kopplades fr\u00e5n. Fel: %s"],"Reconnect to WordPress.com by approving the connection":["\u00c5teranslut till WordPress.com genom att godk\u00e4nna anslutningen"],"Jetpack is powering your site, but to access all of its features you\u2019ll need to connect your account to WordPress.com.":["Jetpack ger kraft \u00e5t din webbplats, men f\u00f6r att f\u00e5 \u00e5tkomst till alla dess funktioner beh\u00f6ver du ansluta ditt konto till WordPress.com."],"Currently in Offline Mode<\/a> (some features are disabled) because: ":["F\u00f6r n\u00e4rvarande i fr\u00e5nkopplat l\u00e4ge<\/a> (vissa funktioner \u00e4r inaktiverade) eftersom: "],"Your site URL is a known local development environment URL":["Din webbplats URL \u00e4r en k\u00e4nd URL fr\u00e5n en lokal utvecklingsmilj\u00f6"],"The %s constant is defined":["Konstanten %s \u00e4r definierad"],"The jetpack_development_mode filter is active":["Filtret jetpack_development_mode filter \u00e4r aktivt"],"Your %2$s Plan includes %1$s. Looks like you also purchased the %3$s product. Consider removing %3$s.":["Ditt %2$s-paket inkluderar %1$s. Det verkar som att du \u00e4ven har k\u00f6pt produkten %3$s. \u00d6verv\u00e4g att ta bort %3$s."],"Restore Connection":["\u00c5terst\u00e4ll anslutning"],"Reconnecting Jetpack":["\u00c5teransluter Jetpack"],"Welcome to Jetpack %s<\/s>!":["V\u00e4lkommen till Jetpack %s<\/s>!"],"%1$s failed to activate. %2$s":["%1$s kunde inte aktiveras. %2$s"],"Activating %s\u2026":["Aktiverar %s\u2026"],"Jetpack Scan Daily<\/em>":["Jetpack Scan Daily<\/em>"],"Connected as %s<\/span>":["Ansluten som %s<\/span>"],"View backup details<\/a>.":["Visa information om s\u00e4kerhetskopiering<\/a>."],"Views: %s":["Visningar: %s"],"Week of %s":["Vecka av %s"]," + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/header/styles.scss b/wp-content/plugins/jetpack/modules/search/customberg/components/header/styles.scss new file mode 100644 index 000000000..741c0eea6 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/header/styles.scss @@ -0,0 +1,42 @@ +@import '../../lib/base-styles'; + +.jp-search-configure-header { + display: flex; + align-items: center; + justify-content: space-between; + height: $header-height; + padding: 0 $grid-unit-20; + overflow: auto; + + @include break-small { + overflow: visible; + } +} + +.jp-search-configure-header__navigable-toolbar-wrapper { + display: flex; + align-items: center; + justify-content: center; +} + +.jp-search-configure-header__title { + font-size: 20px; + padding: 0; + margin: 0 20px 0 0; +} + +.jp-search-configure-header__actions { + display: flex; + + .components-button { + margin-right: $grid-unit-05; + + @include break-small() { + margin-right: $grid-unit-15; + } + } + + .interface-pinned-items .components-button { + margin-right: 0; + } +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/layout/index.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/index.jsx new file mode 100644 index 000000000..e9880acf6 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/index.jsx @@ -0,0 +1,35 @@ +/** + * WordPress dependencies + */ +import { Popover, SlotFillProvider } from '@wordpress/components'; +import { useEffect } from '@wordpress/element'; + +/** + * Internal dependencies + */ +import Interface from './interface'; +import { eventPrefix, initialize, identifySite, recordEvent } from '../../lib/analytics'; +import Sidebar from '../sidebar'; +import { SERVER_OBJECT_NAME } from '../../../instant-search/lib/constants'; +import './styles.scss'; + +/** + * Top-level component for the Gutenberg-style Jetpack Search customization interface. + * + * @returns {Element} component instance + */ +export default function Layout() { + useEffect( () => { + initialize(); + identifySite( window[ SERVER_OBJECT_NAME ].siteId ); + recordEvent( `${ eventPrefix }_page_view` ); + }, [] ); + + return ( + + + + + + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/layout/interface.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/interface.jsx new file mode 100644 index 000000000..de9812edd --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/interface.jsx @@ -0,0 +1,61 @@ +/** + * WordPress dependencies + */ +import { useDispatch, useSelect } from '@wordpress/data'; +import { useEffect } from '@wordpress/element'; +import { __ } from '@wordpress/i18n'; +import { + ComplementaryArea, + InterfaceSkeleton, + store as interfaceStore, +} from '@wordpress/interface'; +import { store as viewportStore } from '@wordpress/viewport'; + +/** + * Internal dependencies + */ +import { COMPLEMENTARY_AREA_SCOPE, OPTIONS_TAB_IDENTIFIER } from '../../lib/constants'; +import AppWrapper from '../app-wrapper'; +import Header from '../header'; +import './styles.scss'; + +const interfaceLabels = { + /* translators: accessibility text for the widgets screen top bar landmark region. */ + header: __( 'Jetpack Search customization top bar', 'jetpack' ), + /* translators: accessibility text for the widgets screen content landmark region. */ + body: __( 'Jetpack Search customization preview', 'jetpack' ), + /* translators: accessibility text for the widgets screen settings landmark region. */ + sidebar: __( 'Jetpack Search customization settings', 'jetpack' ), + /* translators: accessibility text for the widgets screen footer landmark region. */ + footer: __( 'Jetpack Search customization footer', 'jetpack' ), +}; + +/** + * Wraps the InterfaceSkeleton component with necessary parameters. + * + * @returns {Element} component instance + */ +export default function Interface() { + const { hasSidebarEnabled, isLargeViewport } = useSelect( select => ( { + isLargeViewport: select( viewportStore ).isViewportMatch( 'large' ), + hasSidebarEnabled: !! select( interfaceStore ).getActiveComplementaryArea( + COMPLEMENTARY_AREA_SCOPE + ), + } ) ); + + const { enableComplementaryArea, disableComplementaryArea } = useDispatch( interfaceStore ); + useEffect( () => { + isLargeViewport + ? enableComplementaryArea( COMPLEMENTARY_AREA_SCOPE, OPTIONS_TAB_IDENTIFIER ) + : disableComplementaryArea( COMPLEMENTARY_AREA_SCOPE ); + }, [ enableComplementaryArea, disableComplementaryArea, isLargeViewport ] ); + + return ( + } + header={
} + labels={ interfaceLabels } + sidebar={ hasSidebarEnabled && } + /> + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/layout/styles.scss b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/styles.scss new file mode 100644 index 000000000..1d6b5242f --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/layout/styles.scss @@ -0,0 +1,22 @@ +@import '../../lib/base-styles'; + +#jp-search-configure { + .hide-if-no-js { + height: 100vh; + margin: 0; + position: relative; + text-align: center; + width: 100vw; + + .jp-search-loader { + position: absolute; + top: 50%; + left: 50%; + transform: translate( -50%, -50% ); + } + } + + .interface-interface-skeleton__header { + background-color: $white; + } +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.jsx new file mode 100644 index 000000000..e8723ec15 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.jsx @@ -0,0 +1,52 @@ +/** + * WordPress dependencies + */ +// NOTE: Expect this import to break when the exported value is renamed! +import { __experimentalColorGradientControl as ColorGradientControl } from '@wordpress/block-editor'; +import { __ } from '@wordpress/i18n'; +import { useSelect } from '@wordpress/data'; + +/** + * Internal dependencies + */ +import './color-control.scss'; + +/* eslint-disable react/jsx-no-bind */ + +const DEFAULT_COLORS = [ + { name: 'Dull blue', color: '#463ECE' }, + { name: 'Jazzberry jam', color: '#C6446F' }, + { name: 'June bud', color: '#C4D455' }, +]; + +/** + * Color control for use in SidebarOptions tab. + * + * @param {object} props - component properties. + * @param {boolean} props.disabled - disables the control. + * @param {Function} props.onChange - invoked with a new color when the selected color has changed. + * @param {string} props.value - color value prefixed with #. + * @returns {Element} component instance + */ +export default function ColorControl( { disabled, value, onChange } ) { + const colors = useSelect( select => { + const settings = select( 'core/block-editor' ).getSettings() ?? {}; + return Array.isArray( settings?.colors ) && settings.colors.length > 0 + ? settings.colors + : DEFAULT_COLORS; + } ); + + return ( +
+ +
+ ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.scss b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.scss new file mode 100644 index 000000000..cc2b69832 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/color-control.scss @@ -0,0 +1,39 @@ +@import '../../lib/base-styles'; + +// Manually adjust incorrect styles from core. +.jp-search-configure-color-input { + .component-color-indicator { + vertical-align: middle; + } + + .block-editor-color-gradient-control { + fieldset > legend { + margin-bottom: $grid-unit-15; + + > .block-editor-color-gradient-control__color-indicator { + margin-bottom: 0; + } + } + } + + .components-circular-option-picker__option-wrapper { + :focus:after { + top: -4px; + left: -4px; + } + .components-button.is-pressed:focus:not( :disabled ) { + box-shadow: inset 0 0 0 14px !important; + } + } + + .jp-search-configure-sidebar-options--is-disabled & { + .components-button { + pointer-events: none; + cursor: not-allowed; + filter: grayscale( 0.8 ); + } + .components-circular-option-picker__option-wrapper:hover { + transform: scale( 1 ); + } + } +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.jsx new file mode 100644 index 000000000..25c26fa2b --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.jsx @@ -0,0 +1,71 @@ +/** + * WordPress dependencies + */ +import { useMemo } from '@wordpress/element'; +import { CheckboxControl, Notice } from '@wordpress/components'; +import { __ } from '@wordpress/i18n'; + +/** + * Internal dependencies + */ +import './excluded-post-types-control.scss'; + +/* eslint-disable react/jsx-no-bind */ + +const VALID_POST_TYPES = global.JetpackInstantSearchOptions.postTypes; + +/** + * Control for modifying excluded post types. + * + * @param {object} props - component properties. + * @param {boolean} props.disabled - disables the control. + * @param {Function} props.onChange - invoked with new array of excluded post types when the selection has been updated. + * @param {object} props.validPostTypes - { [ postTypeId ]: { name: string, singular_name: string } }. + * @param {string} props.value - excluded post types as a CSV. + * @returns {Element} component instance + */ +export default function ExcludedPostTypesControl( { + disabled, + onChange, + validPostTypes = VALID_POST_TYPES, + value, +} ) { + const validPostTypeNames = useMemo( () => Object.keys( validPostTypes ), [ validPostTypes ] ); + const selectedValues = useMemo( () => { + if ( ! value || ! Array.isArray( value ) ) { + return new Set(); + } + return new Set( value ); + }, [ value ] ); + const isLastUnchecked = selectedValues.size === validPostTypeNames.length - 1; + + const changeHandler = key => isSelected => { + const newValue = new Set( selectedValues ); + isSelected ? newValue.add( key ) : newValue.delete( key ); + onChange( [ ...newValue ] ); + }; + + return ( +
+
+ { __( 'Excluded Post Types', 'jetpack' ) } +
+ { isLastUnchecked && ( + + { /* translators: for excluded post types control; one post type must remain included. */ } + { __( 'You must leave at least one post type unchecked.', 'jetpack' ) } + + ) } + { validPostTypeNames.map( type => ( + + ) ) } +
+ ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.scss b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.scss new file mode 100644 index 000000000..61a26395c --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/excluded-post-types-control.scss @@ -0,0 +1,15 @@ +@import '../../lib/base-styles'; + +.jp-search-configure-excluded-post-types-control { + margin-top: $grid-unit; + + .jp-search-configure-excluded-post-types-control__label { + margin-bottom: $grid-unit; + } + + .components-notice { + margin: $grid-unit 0; + padding-top: $grid-unit-05; + padding-bottom: $grid-unit-05; + } +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/index.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/index.jsx new file mode 100644 index 000000000..8971002ea --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/index.jsx @@ -0,0 +1,113 @@ +/** + * External dependencies + */ +import classNames from 'classnames'; + +/** + * WordPress dependencies + */ +import { __, sprintf } from '@wordpress/i18n'; +import { Button } from '@wordpress/components'; +import { cog } from '@wordpress/icons'; +import { ComplementaryArea, store as interfaceStore } from '@wordpress/interface'; +import { useSelect, useDispatch } from '@wordpress/data'; + +/** + * Internal dependencies + */ +import { + COMPLEMENTARY_AREA_SCOPE, + JP_SEARCH_TAB_IDENTIFIER, + OPTIONS_TAB_IDENTIFIER, +} from '../../lib/constants'; +import SidebarDescription from './sidebar-description'; +import SidebarOptions from './sidebar-options'; +import './styles.scss'; + +/** + * Sidebar tabs. + * + * @param {object} props - Component properties + * @param {string} props.currentTab - Currently selected tab ID. + * @returns {Element} component instance + */ +function Tabs( { currentTab } ) { + return ( +
    +
  • + +
  • +
  • + +
  • +
+ ); +} + +/** + * Sidebar tab. + * + * @param {object} props - Component properties + * @param {string} props.identifier - Identifier. + * @param {string} props.label - Label. + * @param {boolean} props.isActive - Whether the tab is active. + * @returns {Element} component instance + */ +function Tab( { identifier, label, isActive } ) { + const { enableComplementaryArea } = useDispatch( interfaceStore ); + // translators: %s: sidebar label e.g: "Options". + const ariaLabel = isActive ? sprintf( __( '%s (selected)', 'jetpack' ), label ) : label; + return ( + + ); +} + +/** + * Sidebar implemented via ComplementaryArea component. Renders using the slot/fill paradigm. + * + * @returns {Element} component instance + */ +export default function Sidebar() { + const currentTab = useSelect( select => { + const { getActiveComplementaryArea } = select( interfaceStore ); + return getActiveComplementaryArea( COMPLEMENTARY_AREA_SCOPE ) + ? getActiveComplementaryArea( COMPLEMENTARY_AREA_SCOPE ) + : OPTIONS_TAB_IDENTIFIER; + }, [] ); + + return ( + } + headerClassName="jp-search-configure-sidebar__panel-tabs" + icon={ cog } + identifier={ currentTab } + isActiveByDefault + scope={ COMPLEMENTARY_AREA_SCOPE } + /* translators: button label text should, if possible, be under 16 characters. */ + title={ __( 'Settings', 'jetpack' ) } + > + { currentTab === JP_SEARCH_TAB_IDENTIFIER && } + { currentTab === OPTIONS_TAB_IDENTIFIER && } + + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-description.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-description.jsx new file mode 100644 index 000000000..f57cb4853 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-description.jsx @@ -0,0 +1,41 @@ +/** + * WordPress dependencies + */ +import { BlockIcon } from '@wordpress/block-editor'; +import { Button } from '@wordpress/components'; +import { __ } from '@wordpress/i18n'; +import { svg as jetpackColophonSvg } from '../../../instant-search/components/jetpack-colophon'; +import { addQueryArgs } from '@wordpress/url'; + +/** + * Description tab for the sidebar. + * + * @returns {Element} component instance + */ +export default function SidebarDescription() { + return ( +
+ +
+

+ { __( + 'Jetpack Instant Search will allow your visitors to get search results as soon as they start typing. Customize this experience to offer better results that match your site.', + 'jetpack' + ) } +

+ + +
+
+ ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-options.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-options.jsx new file mode 100644 index 000000000..2ec08a49c --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/sidebar-options.jsx @@ -0,0 +1,137 @@ +/** + * External dependencies + */ +import classNames from 'classnames'; + +/** + * WordPress dependencies + */ +import { + Panel, + PanelBody, + RadioControl, + SelectControl, + ToggleControl, +} from '@wordpress/components'; +import { __ } from '@wordpress/i18n'; + +/** + * Internal dependencies + */ +import useSiteLoadingState from '../../hooks/use-loading-state'; +import useEntityRecordState from '../../hooks/use-entity-record-state'; +import useSearchOptions from '../../hooks/use-search-options'; +import ColorControl from './color-control'; +import ExcludedPostTypesControl from './excluded-post-types-control'; +import ThemeControl from './theme-control'; + +/* eslint-disable react/jsx-no-bind */ + +/** + * Customization/configuration tab for the sidebar. + * + * @returns {Element} component instance + */ +export default function SidebarOptions() { + const { + color, + excludedPostTypes, + infiniteScroll, + resultFormat, + setColor, + setExcludedPostTypes, + setInfiniteScroll, + setResultFormat, + setShowLogo, + setSort, + setSortEnabled, + setTheme, + setTrigger, + showLogo, + sort, + sortEnabled, + theme, + trigger, + } = useSearchOptions(); + + const { isSaving } = useEntityRecordState(); + const { isLoading } = useSiteLoadingState(); + const isDisabled = isSaving || isLoading; + + // TODO: ask the user if they attempt to navigate away from the page with pending changes. + + return ( + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/styles.scss b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/styles.scss new file mode 100644 index 000000000..b30823de3 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/styles.scss @@ -0,0 +1,165 @@ +@import '../../lib/base-styles'; + +.components-panel__header.jp-search-configure-sidebar__panel-tabs { + justify-content: flex-start; + padding-left: 0; + padding-right: $grid-unit-05; + border-top: 0; + margin-top: 0; + + ul { + display: flex; + } + li { + margin: 0; + } + .components-button.has-icon { + display: none; + margin-left: auto; + + @include break-medium() { + display: flex; + } + } +} + +.components-button.jp-search-configure-sidebar__panel-tab { + border-radius: 0; + height: 50px - $border-width; + background: transparent; + border: none; + box-shadow: none; + cursor: pointer; + display: inline-block; + padding: 3px 15px; // Use padding to offset the is-active border, this benefits Windows High Contrast mode + margin-left: 0; + font-weight: 400; + color: $gray-900; + + // This pseudo-element "duplicates" the tab label and sets the text to bold. + // This ensures that the tab doesn't change width when selected. + // See: https://github.com/WordPress/gutenberg/pull/9793 + &::after { + content: attr( data-label ); + display: block; + font-weight: 600; + height: 0; + overflow: hidden; + speak: none; + visibility: hidden; + } + + &.is-active { + // The transparent shadow ensures no jumpiness when focus animates on an active tab. + box-shadow: inset 0 0 0 var( --wp-admin-border-width-focus ) transparent, + inset 0 0 -$border-width-tab 0 0 var( --wp-admin-theme-color ); + font-weight: 600; + position: relative; + + // This border appears in Windows High Contrast mode instead of the box-shadow. + &::before { + content: ''; + position: absolute; + top: 0; + bottom: 1px; + right: 0; + left: 0; + border-bottom: $border-width-tab solid transparent; + } + } + + &:focus { + box-shadow: inset 0 0 0 var( --wp-admin-border-width-focus ) var( --wp-admin-theme-color ); + } + + &.is-active:focus { + box-shadow: inset 0 0 0 var( --wp-admin-border-width-focus ) var( --wp-admin-theme-color ), + inset 0 0 -$border-width-tab 0 0 var( --wp-admin-theme-color ); + } +} + +.jp-search-configure-sidebar-description { + display: flex; + padding: $grid-unit-20; + .block-editor-block-icon { + margin-right: $grid-unit-20; + } +} + +.jp-search-configure-sidebar-options { + .components-base-control { + margin-bottom: $grid-unit-30; + + &.components-checkbox-control, + &.components-toggle-control { + margin-bottom: 0; + } + + &:last-child { + margin-bottom: 0; + } + } + + .components-checkbox-control__label { + vertical-align: baseline; + } +} + +.jp-search-configure-result-format-radios { + margin-bottom: 1em; +} + +.jp-search-configure-sidebar-options .jp-search-configure-theme-buttons { + display: flex; + justify-content: space-around; + margin-bottom: $grid-unit-15; + + button.components-button { + display: flex; + height: initial; + flex-direction: column; + + padding-left: $grid-unit * 0.75; + padding-right: $grid-unit * 0.75; + + &:first-child { + margin-right: $grid-unit-05; + } + &:last-child { + margin-left: $grid-unit-05; + } + + svg { + border: 2px solid $white; + border-radius: 3px; + margin-bottom: $grid-unit-05; + } + &.jp-search-configure-theme-button--selected svg { + border-color: $gray-800; + } + } +} + +.jp-search-configure-sidebar-options--is-disabled { + input { + pointer-events: none; + cursor: not-allowed; + } + + input[type='checkbox'], + input[type='radio'] { + background: $gray-300; + border-color: $gray-300; + } + + .components-radio-control__input[type='radio']:checked { + background: $gray-400; + border-color: $gray-400; + } +} + +.components-checkbox-control__input:disabled { + background: $gray-300; + border-color: $gray-300; + cursor: not-allowed; +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-control.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-control.jsx new file mode 100644 index 000000000..3ee4c227f --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-control.jsx @@ -0,0 +1,55 @@ +/** + * External dependencies + */ +import classNames from 'classnames'; + +/** + * WordPress dependencies + */ +import { Button } from '@wordpress/components'; +import { __ } from '@wordpress/i18n'; + +/** + * Internal dependencies + */ +import ThemeIcon from './theme-icon'; + +/* eslint-disable react/jsx-no-bind */ + +/** + * Theme control for use in SidebarOptions tab. + * + * @param {object} props - component properties. + * @param {boolean} props.disabled - disables the control. + * @param {Function} props.onChange - invoked with new theme value when a button is pressed. + * @param {string} props.value - 'dark' or 'light'. + * @returns {Element} component instance + */ +export default function ThemeControl( { disabled, value, onChange } ) { + return ( +
+ + +
+ ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-icon.jsx b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-icon.jsx new file mode 100644 index 000000000..c016ed595 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/components/sidebar/theme-icon.jsx @@ -0,0 +1,20 @@ +/** + * Theme icon for use in SidebarOptions tab. + * + * @param {object} props - component properties. + * @param {string} props.theme - 'dark' or 'light'. + * @returns {Element} component instance + */ +export default function ThemeIcon( { theme } ) { + const fill = theme === 'dark' ? '#000' : '#fff'; + const stroke = theme === 'dark' ? '#4F5861' : '#DDE5EE'; + return ( + + + + + ); +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-entity-record-state.js b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-entity-record-state.js new file mode 100644 index 000000000..905358e95 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-entity-record-state.js @@ -0,0 +1,32 @@ +/** + * External dependencies + */ +import { useCallback } from 'react'; + +/** + * WordPress dependencies + */ +import { useDispatch, useSelect } from '@wordpress/data'; + +/** + * Fetches relevant entity record states for use in the configurator. + * + * @returns {object} relevant entity record values. + */ +export default function useEntityRecordState() { + const { saveEntityRecord, undo, redo } = useDispatch( 'core' ); + const editedEntities = useSelect( select => + select( 'core' ).getEntityRecordEdits( 'root', 'site' ) + ); + const hasUnsavedEdits = editedEntities && Object.keys( editedEntities ).length > 0; + + const isSaving = useSelect( select => select( 'core' ).isSavingEntityRecord( 'root', 'site' ) ); + const hasRedo = useSelect( select => select( 'core' ).hasUndo() ); + const hasUndo = useSelect( select => select( 'core' ).hasRedo() ); + + const saveRecords = useCallback( () => { + hasUnsavedEdits && saveEntityRecord( 'root', 'site', editedEntities ); + }, [ editedEntities, hasUnsavedEdits, saveEntityRecord ] ); + + return { editedEntities, hasRedo, hasUndo, hasUnsavedEdits, isSaving, redo, saveRecords, undo }; +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-loading-state.js b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-loading-state.js new file mode 100644 index 000000000..274b6b6d1 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-loading-state.js @@ -0,0 +1,14 @@ +/** + * WordPress dependencies + */ +import { useSelect } from '@wordpress/data'; + +/** + * Fetches loading state for site values. + * + * @returns {object} isLoading state. + */ +export default function useSiteLoadingState() { + const site = useSelect( select => select( 'core' ).getSite() ); + return { isLoading: ! site }; +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-search-options.js b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-search-options.js new file mode 100644 index 000000000..6bdaaefcd --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/hooks/use-search-options.js @@ -0,0 +1,75 @@ +/** + * External dependencies + */ +import { useMemo } from 'react'; + +/** + * WordPress dependencies + */ +import { useEntityProp } from '@wordpress/core-data'; + +/** + * Fetches values and setters for various search configuration values. + * + * @returns {object} values and setters + */ +export default function useSearchOptions() { + const [ theme, setTheme ] = useEntityProp( 'root', 'site', 'jetpack_search_color_theme' ); + const [ resultFormat, setResultFormat ] = useEntityProp( + 'root', + 'site', + 'jetpack_search_result_format' + ); + const [ sort, setSort ] = useEntityProp( 'root', 'site', 'jetpack_search_default_sort' ); + const [ trigger, setTrigger ] = useEntityProp( 'root', 'site', 'jetpack_search_overlay_trigger' ); + const [ color, setColor ] = useEntityProp( 'root', 'site', 'jetpack_search_highlight_color' ); + const [ sortEnabled, setSortEnabled ] = useEntityProp( + 'root', + 'site', + 'jetpack_search_enable_sort' + ); + const [ infiniteScroll, setInfiniteScroll ] = useEntityProp( + 'root', + 'site', + 'jetpack_search_inf_scroll' + ); + const [ showLogo, setShowLogo ] = useEntityProp( + 'root', + 'site', + 'jetpack_search_show_powered_by' + ); + + const [ excludedPostTypesCsv, setExcludedPostTypesCsv ] = useEntityProp( + 'root', + 'site', + 'jetpack_search_excluded_post_types' + ); + // Excluded Post Types is stored as a CSV string in site options. Convert into array of strings. + // Caveat: csv can be an empty string, which can produces [ '' ] if only csv.split is used. + const excludedPostTypes = useMemo( + () => excludedPostTypesCsv?.split( ',' ).filter( type => type?.length > 0 ), + [ excludedPostTypesCsv ] + ); + const setExcludedPostTypes = postTypesArr => setExcludedPostTypesCsv( postTypesArr.join( ',' ) ); + + return { + color, + excludedPostTypes, + infiniteScroll, + resultFormat, + setColor, + setExcludedPostTypes, + setInfiniteScroll, + setResultFormat, + setShowLogo, + setSort, + setSortEnabled, + setTheme, + setTrigger, + showLogo, + sort, + sortEnabled, + theme, + trigger, + }; +} diff --git a/wp-content/plugins/jetpack/modules/search/customberg/index.jsx b/wp-content/plugins/jetpack/modules/search/customberg/index.jsx index 4151be86d..36de81b93 100644 --- a/wp-content/plugins/jetpack/modules/search/customberg/index.jsx +++ b/wp-content/plugins/jetpack/modules/search/customberg/index.jsx @@ -1,13 +1,14 @@ -/** - * External dependencies - */ -import React from 'react'; - /** * WordPress dependencies */ import { render } from '@wordpress/element'; +/** + * Internal dependencies + */ +import Layout from './components/layout'; +import './styles.scss'; + /** * Collapses wp-admin's sidebar menu for additional space. */ @@ -22,7 +23,7 @@ function collapseWpAdminSidebar() { */ export function initialize( id ) { collapseWpAdminSidebar(); - render(
Customberg is here!
, document.getElementById( id ) ); + render( , document.getElementById( id ) ); } -global.jetpackSearchCustomizeInit = initialize; +global.jetpackSearchConfigureInit = initialize; diff --git a/wp-content/plugins/jetpack/modules/search/customberg/lib/_base-styles.scss b/wp-content/plugins/jetpack/modules/search/customberg/lib/_base-styles.scss new file mode 100644 index 000000000..fc730bd4e --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/lib/_base-styles.scss @@ -0,0 +1,30 @@ +@import '~@wordpress/base-styles/z-index'; + +// Fill in missing z-layer values from a more recent @wordpress/base-styles version. +// TODO: Remove once @wordpress/base-styles is updated. +$z-layers: map-merge( + $z-layers, + ( + '.interface-complementary-area .components-panel': 0, + '.interface-complementary-area .components-panel__header': 1, + '.interface-interface-skeleton__header': 30, + '.interface-interface-skeleton__content': 20, + '.interface-interface-skeleton__sidebar': 100000, + '.interface-interface-skeleton__sidebar {greater than small}': 90, + '.interface-interface-skeleton__footer': 90, + '.interface-interface-skeleton__actions': 100000, + ) +); + +@import '~@wordpress/base-styles/colors'; + +// Add missing color from a more recent @wordpress/base-styles version. +// TODO: Remove once @wordpress/base-styles is updated. +$gray-800: #2f2f2f; +$gray-300: #ddd; + +@import '~@wordpress/base-styles/variables'; +@import '~@wordpress/base-styles/breakpoints'; +@import '~@wordpress/base-styles/mixins'; +@import '~@wordpress/base-styles/animations'; +@import '~@wordpress/block-editor/src/components/colors-gradients/style'; diff --git a/wp-content/plugins/jetpack/modules/search/customberg/lib/analytics.js b/wp-content/plugins/jetpack/modules/search/customberg/lib/analytics.js new file mode 100644 index 000000000..269500463 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/lib/analytics.js @@ -0,0 +1,17 @@ +/** + * Internal dependencies + */ +import { + initializeTracks, + identifySite as identifySiteTracks, + recordEvent as recordEventTracks, +} from '../../instant-search/lib/tracks'; + +// Adhere to following:____ +// (e.g. full event name: "jetpack_search_customberg_save_button_click"). +export const eventPrefix = 'jetpack_search_customberg'; + +// Force enable analytics! Ignore isAnalyticsEnabled flag used by the Instant Search application. +export const initialize = ( ...args ) => initializeTracks( ...args, true ); +export const identifySite = ( ...args ) => identifySiteTracks( ...args, true ); +export const recordEvent = ( ...args ) => recordEventTracks( ...args, true ); diff --git a/wp-content/plugins/jetpack/modules/search/customberg/lib/constants.js b/wp-content/plugins/jetpack/modules/search/customberg/lib/constants.js new file mode 100644 index 000000000..7dd62f4e1 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/lib/constants.js @@ -0,0 +1,3 @@ +export const COMPLEMENTARY_AREA_SCOPE = 'jetpack/search-customization'; +export const JP_SEARCH_TAB_IDENTIFIER = 'jetpack-customize-search/info'; +export const OPTIONS_TAB_IDENTIFIER = 'jetpack-customize-search/options'; diff --git a/wp-content/plugins/jetpack/modules/search/customberg/styles.scss b/wp-content/plugins/jetpack/modules/search/customberg/styles.scss new file mode 100644 index 000000000..ccd280b20 --- /dev/null +++ b/wp-content/plugins/jetpack/modules/search/customberg/styles.scss @@ -0,0 +1,23 @@ +@import './lib/base-styles'; +@import '~@wordpress/interface/src/style'; + +// In order to use mix-blend-mode, this element needs to have an explicitly set background-color +// We scope it to .wp-toolbar to be wp-admin only, to prevent bleed into other implementations +html.wp-toolbar { + background: $white; +} + +.jp-search-configure-sidebar .components-button.interface-complementary-area__pin-unpin-item { + display: none; +} + +// Customberg is an inappropriate place to show a wp-admin notice. +#wpbody-content > .notice { + display: none; +} + +#wpfooter { + display: none; +} + +@include wordpress-admin-schemes(); diff --git a/wp-content/plugins/jetpack/modules/sharedaddy/sharedaddy.php b/wp-content/plugins/jetpack/modules/sharedaddy/sharedaddy.php index bdbf54737..129c08e63 100644 --- a/wp-content/plugins/jetpack/modules/sharedaddy/sharedaddy.php +++ b/wp-content/plugins/jetpack/modules/sharedaddy/sharedaddy.php @@ -241,14 +241,20 @@ function sharing_disable_js() { function sharing_global_resources() { $disable = get_option( 'sharedaddy_disable_resources' ); -?> + ?> - + - /> + %2$s', + ( 1 == $disable ) ? ' checked="checked"' : '', // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison + esc_html__( 'Advanced. If this option is checked, you must include these files in your theme manually for the sharing links to work.', 'jetpack' ) + ); + ?> -' . $quiz . ''; + $quiz = self::do_shortcode( $content ); + $quiz_options = ''; + + if ( self::$quiz_wrapper ) { + $quiz_options = '
+ + + + + + + +
'; + } + + return '
' . $quiz . $quiz_options . '
'; + } + + /** + * Wrap shortcode contents. + * + * @since 10.1 + * + * @param array $atts Shortcode parameters. + * @param string $content Content enclosed by shortcode tags. + * + * @return string + */ + public static function shortcode_wrapper( $atts, $content = null ) { + self::$quiz_wrapper = true; + return '
' . self::do_shortcode( $content ) . '
'; } /** @@ -214,11 +255,21 @@ class Quiz_Shortcode { $content, array( 'tt' => array(), - 'a' => array( 'href' => true ), + 'a' => array( + 'href' => true, + 'class' => true, + 'data-quiz-option' => true, + 'aria-label' => true, + 'role' => 'button', + ), 'pre' => array(), 'strong' => array(), 'i' => array(), + 'svg' => array(), + 'g' => array(), + 'path' => array( 'd' => true ), 'br' => array(), + 'span' => array( 'class' => true ), 'img' => array( 'src' => true ), 'div' => array( 'class' => true, @@ -226,6 +277,7 @@ class Quiz_Shortcode { 'data-track-id' => 1, 'data-a8ctraining' => 1, 'data-username' => 1, + 'tabindex' => false, ), ) ); @@ -244,7 +296,7 @@ class Quiz_Shortcode { */ public static function question_shortcode( $atts, $content = null ) { return isset( $atts['quiz_item'] ) - ? '
' . self::do_shortcode( $content ) . '
' + ? '
' . self::do_shortcode( $content ) . '
' : ''; } diff --git a/wp-content/plugins/jetpack/modules/shortcodes/spotify.php b/wp-content/plugins/jetpack/modules/shortcodes/spotify.php index 561c794a2..3c349a67c 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/spotify.php +++ b/wp-content/plugins/jetpack/modules/shortcodes/spotify.php @@ -48,7 +48,7 @@ function jetpack_spotify_shortcode( $atts = array(), $content = '' ) { // Spotify accepts both URLs and their Spotify ID format, so let them sort it out and validate. $embed_url = add_query_arg( 'uri', rawurlencode( $id ), 'https://embed.spotify.com/' ); - return ''; + return ''; } /** diff --git a/wp-content/plugins/jetpack/modules/sso.php b/wp-content/plugins/jetpack/modules/sso.php index 2326fbc2e..f22d77771 100644 --- a/wp-content/plugins/jetpack/modules/sso.php +++ b/wp-content/plugins/jetpack/modules/sso.php @@ -1,7 +1,6 @@ 'jetpack-sso', 'site_id' => Jetpack_Options::get_option( 'id' ), 'sso_nonce' => $sso_nonce, @@ -965,17 +964,7 @@ class Jetpack_SSO { return $args['sso_nonce']; } - $query = add_query_arg( $args, '' ); - $query = trim( $query, '?' ); - - $url = Redirect::get_url( - 'wpcom-login', - array( - 'query' => $query, - ) - ); - - return $url; + return add_query_arg( $args, 'https://wordpress.com/wp-login.php' ); } /** @@ -1009,17 +998,7 @@ class Jetpack_SSO { return $args['sso_nonce']; } - $query = add_query_arg( $args, '' ); - $query = trim( $query, '?' ); - - $url = Redirect::get_url( - 'wpcom-login', - array( - 'query' => $query, - ) - ); - - return $url; + return add_query_arg( $args, 'https://wordpress.com/wp-login.php' ); } /** diff --git a/wp-content/plugins/jetpack/modules/stats.php b/wp-content/plugins/jetpack/modules/stats.php index 1d82df4c1..7a0397694 100644 --- a/wp-content/plugins/jetpack/modules/stats.php +++ b/wp-content/plugins/jetpack/modules/stats.php @@ -65,6 +65,8 @@ function stats_load() { add_action( 'manage_posts_custom_column', 'jetpack_stats_post_table_cell', 10, 2 ); add_action( 'manage_pages_custom_column', 'jetpack_stats_post_table_cell', 10, 2 ); + require_once __DIR__ . '/stats/class-jetpack-stats-upgrade-nudges.php'; + add_action( 'updating_jetpack_version', array( 'Jetpack_Stats_Upgrade_Nudges', 'unset_nudges_setting' ) ); } /** @@ -547,6 +549,7 @@ if ( -1 == document.location.href.indexOf( 'noheader' ) ) { jQuery( function( $ ) { $.get( document.location.href + '&noheader', function( responseText ) { $( '#stats-loading-wrap' ).replaceWith( responseText ); + $( '#jp-stats-wrap' )[0].dispatchEvent( new Event( 'stats-loaded' ) ); } ); } ); } @@ -1308,8 +1311,10 @@ function stats_dashboard_widget_content() {

' . esc_html( get_the_title( $post['post_id'] ) ) . '', esc_html( number_format_i18n( $post['views'] ) ) ); diff --git a/wp-content/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php b/wp-content/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php index 08bb9d790..138c53e05 100644 --- a/wp-content/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php +++ b/wp-content/plugins/jetpack/modules/stats/class-jetpack-stats-upgrade-nudges.php @@ -36,6 +36,18 @@ class Jetpack_Stats_Upgrade_Nudges { } } + /** + * Unsets the collapse nudges setting. + */ + public static function unset_nudges_setting() { + $stats_options = get_option( 'stats_options' ); + + if ( $stats_options ) { + unset( $stats_options['collapse_nudges'] ); + update_option( 'stats_options', $stats_options ); + } + } + /** * Determines whether Backup is active * @@ -143,16 +155,35 @@ class Jetpack_Stats_Upgrade_Nudges { $title = __( 'Security, performance, and growth tools for %s', 'jetpack' ); } $title = sprintf( $title, get_bloginfo( 'site_name' ) ); + + $aria_expanded = 'true'; + $postbox_closed = ''; + + $stats_options = get_option( 'stats_options' ); + + if ( isset( $stats_options['collapse_nudges'] ) && $stats_options['collapse_nudges'] ) { + $aria_expanded = 'false'; + $postbox_closed = ' closed'; + } + ?>

- +
+
+ +
+
+
+
+ + + + ?>
- + ?> - maybe_reformat_widget( $new_instance ); + $instance = array(); $instance['title'] = sanitize_text_field( $new_instance['title'] ); $instance['search_box_enabled'] = empty( $new_instance['search_box_enabled'] ) ? '0' : '1'; @@ -675,6 +678,32 @@ class Jetpack_Search_Widget extends WP_Widget { return $instance; } + /** + * Reformats the widget instance array to one that is recognized by the `update` function. + * This is only necessary when handling changes from the block-based widget editor. + * + * @param array $widget_instance - Jetpack Search widget instance. + * + * @return array - Potentially reformatted instance compatible with the save function. + */ + protected function maybe_reformat_widget( $widget_instance ) { + if ( isset( $widget_instance['filter_type'] ) || ! isset( $widget_instance['filters'] ) || ! is_array( $widget_instance['filters'] ) ) { + return $widget_instance; + } + + $instance = $widget_instance; + foreach ( $widget_instance['filters'] as $filter ) { + $instance['filter_type'][] = isset( $filter['type'] ) ? $filter['type'] : ''; + $instance['taxonomy_type'][] = isset( $filter['taxonomy'] ) ? $filter['taxonomy'] : ''; + $instance['filter_name'][] = isset( $filter['name'] ) ? $filter['name'] : ''; + $instance['num_filters'][] = isset( $filter['count'] ) ? $filter['count'] : 5; + $instance['date_histogram_field'][] = isset( $filter['field'] ) ? $filter['field'] : ''; + $instance['date_histogram_interval'][] = isset( $filter['interval'] ) ? $filter['interval'] : ''; + } + unset( $instance['filters'] ); + return $instance; + } + /** * Outputs the settings update form. * @@ -896,7 +925,8 @@ class Jetpack_Search_Widget extends WP_Widget { */ public function render_widget_edit_filter( $filter, $is_template = false ) { $args = wp_parse_args( - $filter, array( + $filter, + array( 'name' => '', 'type' => 'taxonomy', 'taxonomy' => '', @@ -1022,6 +1052,6 @@ class Jetpack_Search_Widget extends WP_Widget {

- defaults['icon-size']; + $instance['url-icons'] = array_key_exists( 'url-icons', $new_instance ) ? $new_instance['url-icons'] : array(); if ( in_array( $new_instance['icon-size'], array( 'small', 'medium', 'large' ), true ) ) { $instance['icon-size'] = $new_instance['icon-size']; @@ -217,13 +218,15 @@ class Jetpack_Widget_Social_Icons extends WP_Widget { $instance['new-tab'] = isset( $new_instance['new-tab'] ) ? (bool) $new_instance['new-tab'] : false; $instance['icons'] = array(); - foreach ( $new_instance['url-icons'] as $url ) { - $url = filter_var( $url, FILTER_SANITIZE_URL ); + if ( array_key_exists( 'url-icons', $new_instance ) ) { + foreach ( $new_instance['url-icons'] as $url ) { + $url = filter_var( $url, FILTER_SANITIZE_URL ); - if ( ! empty( $url ) ) { - $instance['icons'][] = array( - 'url' => $url, - ); + if ( ! empty( $url ) ) { + $instance['icons'][] = array( + 'url' => $url, + ); + } } } diff --git a/wp-content/plugins/jetpack/modules/widgets/social-icons/social-icons-admin.js b/wp-content/plugins/jetpack/modules/widgets/social-icons/social-icons-admin.js index 368f6c850..a7598a968 100644 --- a/wp-content/plugins/jetpack/modules/widgets/social-icons/social-icons-admin.js +++ b/wp-content/plugins/jetpack/modules/widgets/social-icons/social-icons-admin.js @@ -56,12 +56,9 @@ event ) { event.preventDefault(); - - var button = $( this ).parents( '.form' ).find( '.widget-control-save' ); - - $( this ).parents( '.jetpack-social-icons-widget-item' ).remove(); - - livePreviewUpdate( button ); + var widgetItem = $( this ).parents( '.jetpack-social-icons-widget-item' ); + widgetItem.find( 'input' ).change(); + widgetItem.remove(); } ); // Event handler for widget open button. diff --git a/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php b/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php index ab5ddff97..f1eb36b99 100644 --- a/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php +++ b/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php @@ -53,6 +53,8 @@ class Jetpack_WooCommerce_Analytics_Universal { // order confirmed. add_action( 'woocommerce_thankyou', array( $this, 'order_process' ), 10, 1 ); add_action( 'woocommerce_after_cart', array( $this, 'remove_from_cart_via_quantity' ), 10, 1 ); + + add_filter( 'woocommerce_checkout_posted_data', array( $this, 'save_checkout_post_data' ), 10, 1 ); } /** @@ -102,7 +104,11 @@ class Jetpack_WooCommerce_Analytics_Universal { private function render_properties_as_js( $properties ) { $js_args_string = ''; foreach ( $properties as $key => $value ) { - $js_args_string = $js_args_string . "'$key': '" . esc_js( $value ) . "', "; + if ( is_array( $value ) ) { + $js_args_string = $js_args_string . "'$key': " . wp_json_encode( $value ) . ','; + } else { + $js_args_string = $js_args_string . "'$key': '" . esc_js( $value ) . "', "; + } } return $js_args_string; } @@ -113,8 +119,24 @@ class Jetpack_WooCommerce_Analytics_Universal { * @param string $event_name The name of the event to record. * @param integer $product_id The id of the product relating to the event. * @param array $properties Optional array of (key => value) event properties. + * + * @return string|void */ public function record_event( $event_name, $product_id, $properties = array() ) { + $js = $this->process_event_properties( $event_name, $product_id, $properties ); + wc_enqueue_js( "_wca.push({$js});" ); + } + + /** + * Compose event properties. + * + * @param string $event_name The name of the event to record. + * @param integer $product_id The id of the product relating to the event. + * @param array $properties Optional array of (key => value) event properties. + * + * @return string|void + */ + public function process_event_properties( $event_name, $product_id, $properties = array() ) { $product = wc_get_product( $product_id ); if ( ! $product instanceof WC_Product ) { return; @@ -126,17 +148,17 @@ class Jetpack_WooCommerce_Analytics_Universal { $this->get_common_properties() ); - wc_enqueue_js( - "_wca.push( { - '_en': '" . esc_js( $event_name ) . "', - 'pi': '" . esc_js( $product_id ) . "', - 'pn': '" . esc_js( $product_details['name'] ) . "', - 'pc': '" . esc_js( $product_details['category'] ) . "', - 'pp': '" . esc_js( $product_details['price'] ) . "', - 'pt': '" . esc_js( $product_details['type'] ) . "'," . - $this->render_properties_as_js( $all_props ) . ' - } );' - ); + $js = "{ + '_en': '" . esc_js( $event_name ) . "', + 'pi': '" . esc_js( $product_id ) . "', + 'pn': '" . esc_js( $product_details['name'] ) . "', + 'pc': '" . esc_js( $product_details['category'] ) . "', + 'pp': '" . esc_js( $product_details['price'] ) . "', + 'pt': '" . esc_js( $product_details['type'] ) . "'," . + $this->render_properties_as_js( $all_props ) . ' + }'; + + return $js; } /** @@ -249,6 +271,33 @@ class Jetpack_WooCommerce_Analytics_Universal { public function checkout_process() { $cart = WC()->cart->get_cart(); + $guest_checkout = ucfirst( get_option( 'woocommerce_enable_guest_checkout', 'No' ) ); + $create_account = ucfirst( get_option( 'woocommerce_enable_signup_and_login_from_checkout', 'No' ) ); + + $enabled_payment_options = array_filter( + WC()->payment_gateways->get_available_payment_gateways(), + function ( $payment_gateway ) { + if ( ! $payment_gateway instanceof WC_Payment_Gateway ) { + return false; + } + + return $payment_gateway->is_available(); + } + ); + + $enabled_payment_options = array_keys( $enabled_payment_options ); + $include_express_payment = false; + + $wcpay_version = get_option( 'woocommerce_woocommerce_payments_version' ); + $has_required_wcpay_version = version_compare( $wcpay_version, '2.9.0', '>=' ); + // Check express payment availablity only if WC Pay is enabled and express checkout (payment request) is enabled. + if ( in_array( 'woocommerce_payments', $enabled_payment_options, true ) && $has_required_wcpay_version ) { + $wcpay_settings = get_option( 'woocommerce_woocommerce_payments_settings', array() ); + if ( array_key_exists( 'payment_request', $wcpay_settings ) && 'yes' === $wcpay_settings['payment_request'] ) { + $include_express_payment = true; + } + } + foreach ( $cart as $cart_item_key => $cart_item ) { /** * This filter is already documented in woocommerce/templates/cart/cart.php @@ -259,13 +308,49 @@ class Jetpack_WooCommerce_Analytics_Universal { continue; } - $this->record_event( - 'woocommerceanalytics_product_checkout', - $product->get_id(), - array( - 'pq' => $cart_item['quantity'], - ) - ); + if ( true === $include_express_payment ) { + $properties = $this->process_event_properties( + 'woocommerceanalytics_product_checkout', + $product->get_id(), + array( + 'pq' => $cart_item['quantity'], + 'payment_options' => $enabled_payment_options, + 'device' => wp_is_mobile() ? 'mobile' : 'desktop', + 'guest_checkout' => 'Yes' === $guest_checkout ? 'Yes' : 'No', + 'create_account' => 'Yes' === $create_account ? 'Yes' : 'No', + 'express_checkout' => 'null', + ) + ); + wc_enqueue_js( + " + // wcpay.payment-request.availability event gets fired twice. + // make sure we push only one event. + var cartItem_{$cart_item_key}_logged = false; + wp.hooks.addAction('wcpay.payment-request.availability', 'wcpay', function(args) { + if ( true === cartItem_{$cart_item_key}_logged ) { + return; + } + var properties = {$properties}; + properties.express_checkout = args.paymentRequestType; + _wca.push(properties); + cartItem_{$cart_item_key}_logged = true; + }); + " + ); + } else { + $this->record_event( + 'woocommerceanalytics_product_checkout', + $product->get_id(), + array( + 'pq' => $cart_item['quantity'], + 'payment_options' => $enabled_payment_options, + 'device' => wp_is_mobile() ? 'mobile' : 'desktop', + 'guest_checkout' => 'Yes' === $guest_checkout ? 'Yes' : 'No', + 'create_account' => 'Yes' === $create_account ? 'Yes' : 'No', + 'express_checkout' => 'null', + ) + ); + } } } @@ -277,6 +362,28 @@ class Jetpack_WooCommerce_Analytics_Universal { public function order_process( $order_id ) { $order = wc_get_order( $order_id ); + $payment_option = $order->get_payment_method(); + + if ( is_object( WC()->session ) ) { + $create_account = true === WC()->session->get( 'wc_checkout_createaccount_used' ) ? 'Y' : 'N'; + } else { + $create_account = 'N'; + } + + $guest_checkout = $order->get_user() ? 'N' : 'Y'; + + $express_checkout = 'null'; + // When the payment option is woocommerce_payment + // See if Google Pay or Apple Pay was used. + if ( 'woocommerce_payments' === $payment_option ) { + $payment_option_title = $order->get_payment_method_title(); + if ( 'Google Pay (WooCommerce Payments)' === $payment_option_title ) { + $express_checkout = array( 'google_pay' ); + } elseif ( 'Apple Pay (WooCommerce Payments)' === $payment_option_title ) { + $express_checkout = array( 'apple_pay' ); + } + } + // loop through products in the order and queue a purchase event. foreach ( $order->get_items() as $order_item ) { $product_id = is_callable( array( $order_item, 'get_product_id' ) ) ? $order_item->get_product_id() : -1; @@ -285,8 +392,13 @@ class Jetpack_WooCommerce_Analytics_Universal { 'woocommerceanalytics_product_purchase', $product_id, array( - 'oi' => $order->get_order_number(), - 'pq' => $order_item->get_quantity(), + 'oi' => $order->get_order_number(), + 'pq' => $order_item->get_quantity(), + 'device' => wp_is_mobile() ? 'mobile' : 'desktop', + 'payment_option' => $payment_option, + 'create_account' => $create_account, + 'guest_checkout' => $guest_checkout, + 'express_checkout' => $express_checkout, ) ); } @@ -495,4 +607,22 @@ class Jetpack_WooCommerce_Analytics_Universal { return $info; } + + /** + * Save createaccount post data to be used in $this->order_process. + * + * @param array $data post data from the checkout page. + * + * @return array + */ + public function save_checkout_post_data( array $data ) { + $session = WC()->session; + if ( is_object( $session ) ) { + if ( isset( $data['createaccount'] ) && ! empty( $data['createaccount'] ) ) { + $session->set( 'wc_checkout_createaccount_used', true ); + $session->save_data(); + } + } + return $data; + } } diff --git a/wp-content/plugins/jetpack/readme.txt b/wp-content/plugins/jetpack/readme.txt index c83a11aa6..1b1627fb2 100644 --- a/wp-content/plugins/jetpack/readme.txt +++ b/wp-content/plugins/jetpack/readme.txt @@ -1,7 +1,7 @@ === Jetpack - WP Security, Backup, Speed, & Growth === Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, biskobe, blobaugh, brbrr, cainm, cena, cfinke, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, davoraltman, daniloercoli, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jblz, jasmussen, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, robertbpugh, roccotripaldi, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, tmoorewp, tyxla, Viper007Bond, westi, yoavf, zinigor Tags: Security, backup, Woo, malware, scan, spam, CDN, search, social -Stable tag: 10.0 +Stable tag: 10.1 Requires at least: 5.7 Requires PHP: 5.6 Tested up to: 5.8 @@ -242,29 +242,55 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file 4. Promote your newest posts, pages, and products across your social media channels. == Changelog == -### 10.0 - 2021-08-03 +### 10.1 - 2021-09-07 +#### Major Enhancements +- Search: add a Gutenberg powered customization interface. + #### Enhancements -- Carousel: add JS-based smooth scroll behavior for the footer buttons. -- Carousel: on image zoom, fade out controls. Fade them back in when sized back to original, or the slide is advanced. +- Carousel: photo info and comment sections stay open once toggled on. +- Carousel: show image info icon even if Exif metadata option is off. +- Carousel: use photo description as caption if caption and title fields are blank. +- Form Block: scroll to subscription message after submitting the form. +- Jetpack Assistant: introduce a new "Product Suggestion" step to inform new users of relevant Jetpack services. +- Search: greater theme compatibility, including label coloring and custom checkbox margins. +- Search: improves handling of breadcrumb display. +- Search: visual, functional, and accessibility improvements to new wp-admin section and customization interface. +- Secure Sign On: remove additional redirect during sign in process. +- Shortcodes: allow wrapping quizzes together with the Quiz shortcode. +- Spotify Shortcode: add lazy loading support. +- Stats: add the ability to collapse the nudges UI. +- Tiled Gallery Block: ensure it can be used when in Offline Mode. +- Widget Visibility: rename taxonomy label "All Pages" in dropdown. #### Improved compatibility -- Carousel: add a Swiper JS param to prevent interaction on the carousel while transitioning between slides. -- Map Block: ensure theme styles do not override map button background colors. -- Search: remove required attribute from search inputs. +- Browser Compatibility: allow use of new JavaScript features not supported by Internet Explorer 11. +- Image CDN: added support for the WEBP format. +- Mailchimp Block: updates terminology to use "Audience" instead of "Lists". +- Media: allow ZIP files to be uploaded to sites via WordPress.com. +- Related Posts: allow shortcodes in Related Posts titles. #### Bug fixes -- Carousel: fix carousel title formatting to prevent issues with quote conversion. -- Comments: fix subsequent commenting when using a social profile. -- Contact Form Block: remove specific form colors to prevent theme style clash. -- Instant Search: fix visual glitch on breadcrumb in Firefox. -- Instant Search: make sure ?s= is set when using filter links. -- Like Button: add title and aria-hidden attributes to the Like button iframe. -- OpenTable Block: fix input width when used in block editor. -- Publicize: avoid PHP notices in edge-cases where no info about a post can be found. -- Search: fix notice issue with WP 5.8's widget editor. -- Select Dropdown Component: add content-box box sizing to prevent global box-sizing conflict. -- SEO Tools: ensure functions are loaded before API endpoint attempts to use them. -- Tiled Gallery: fix blurry display of images much wider than they are high. +- Blocks: fix HTML markup of buttons added to blocks. +- Carousel: fix a bug that changes the cursor to a pointer over all nested blocks. +- Carousel: fix bug preventing user from swiping in gallery when images are configured to link to Attachment Page. +- Carousel: hide UI controls in the carousel for single images. +- Contact Form: disable the Block Editor for contact form submissions. +- Custom CSS: ensure that short CSS is added inline instead of via an external file. +- Dashboard: add a new message to the backup card if the site is too new to have an accurate status. +- Dashboard: ensure that the image CDN does not get enabled by default when using the Site Accelerator toggle while in Offline mode. +- Facebook Page Widget: fix a bug that prevented widget from being added in the wp-admin widget editor. +- Form Block: fix form button alignment in editor. +- Instant Search: ensure box-shadow and text-shadow aren't applied to search buttons. +- Search: fix search widgets not saving in block widget editor. +- Search: fix various issues with scrolling on both desktop and mobile devices. +- Search: fix wrapping issue on super wide screens. +- Search: hide search sub menu on site disconnection. +- Search: improve style specificity for result highlights in Customberg. +- Slideshow Block: fix intermittent issue where next/prev buttons sometimes don't respond to clicks. +- Social Icons: fix being unable to remove icons from widget. +- Social Icons Widget: fix issue in wp-admin widget editor where icons don't save on refresh. +- Stats: allow better translations of page view counts in the Stats widget. +- Video Block: fix resizing so that video block doesn't display black bars on the sides. -------- diff --git a/wp-content/plugins/jetpack/sal/class.json-api-post-base.php b/wp-content/plugins/jetpack/sal/class.json-api-post-base.php index 4531ead92..b7841bc9d 100644 --- a/wp-content/plugins/jetpack/sal/class.json-api-post-base.php +++ b/wp-content/plugins/jetpack/sal/class.json-api-post-base.php @@ -580,7 +580,7 @@ abstract class SAL_Post { 'thumbnails' => array() ); - if ( in_array( $ext, array( 'jpg', 'jpeg', 'png', 'gif' ) ) ) { + if ( in_array( $ext, array( 'jpg', 'jpeg', 'png', 'gif', 'webp' ), true ) ) { $metadata = wp_get_attachment_metadata( $media_item->ID ); if ( isset( $metadata['height'], $metadata['width'] ) ) { $response['height'] = $metadata['height']; diff --git a/wp-content/plugins/jetpack/vendor/autoload.php b/wp-content/plugins/jetpack/vendor/autoload.php index 9341af24e..183d43c25 100644 --- a/wp-content/plugins/jetpack/vendor/autoload.php +++ b/wp-content/plugins/jetpack/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::getLoader(); +return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::getLoader(); diff --git a/wp-content/plugins/jetpack/vendor/autoload_packages.php b/wp-content/plugins/jetpack/vendor/autoload_packages.php index 4b100110d..7cd60bc1b 100644 --- a/wp-content/plugins/jetpack/vendor/autoload_packages.php +++ b/wp-content/plugins/jetpack/vendor/autoload_packages.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md index 8e9ea47df..0ebbfda09 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.5] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- updated annotations versions + ## [1.4.4] - 2021-05-25 ### Changed - Updated package dependencies. @@ -51,6 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Creates the MC Stats package +[1.4.5]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.4...v1.4.5 [1.4.4]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.3...v1.4.4 [1.4.3]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.2...v1.4.3 [1.4.2]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.1...v1.4.2 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php index 512f5fab7..88635fbb1 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php @@ -167,7 +167,8 @@ class A8c_Mc_Stats { /** * Filter the URL used as the Stats tracking pixel. * - * @since 2.3.2 + * @since-jetpack 2.3.2 + * @since 1.0.0 * * @param string $url Base URL used as the Stats tracking pixel. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-abtest/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-abtest/CHANGELOG.md index 983214b8f..09f1f7320 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-abtest/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-abtest/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.10] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + ## [1.9.9] - 2021-07-27 ### Changed - Updated package dependencies. @@ -165,6 +170,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Introduce a simple A/B test package +[1.9.10]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.9...v1.9.10 [1.9.9]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.8...v1.9.9 [1.9.8]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.7...v1.9.8 [1.9.7]: https://github.com/Automattic/jetpack-abtest/compare/v1.9.6...v1.9.7 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/CHANGELOG.md index 9da99a048..2162675b7 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.11.6] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + ## [1.11.5] - 2021-05-25 ### Changed - Updated package dependencies. @@ -104,6 +110,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Statically access asset tools +[1.11.6]: https://github.com/Automattic/jetpack-assets/compare/v1.11.5...v1.11.6 [1.11.5]: https://github.com/Automattic/jetpack-assets/compare/v1.11.4...v1.11.5 [1.11.4]: https://github.com/Automattic/jetpack-assets/compare/v1.11.3...v1.11.4 [1.11.3]: https://github.com/Automattic/jetpack-assets/compare/v1.11.2...v1.11.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php index e14d01ce7..4f9364b99 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-assets/src/class-assets.php @@ -102,7 +102,8 @@ class Assets { * Typically this is done by passing __FILE__ as the argument. * * @return string The URL to the file - * @since 5.6.0 + * @since 1.0.3 + * @since-jetpack 5.6.0 */ public static function get_file_url_for_environment( $min_path, $non_min_path, $package_path = '' ) { $path = ( Jetpack_Constants::is_defined( 'SCRIPT_DEBUG' ) && Jetpack_Constants::get_constant( 'SCRIPT_DEBUG' ) ) @@ -125,7 +126,7 @@ class Assets { /** * Filters the URL for a file passed through the get_file_url_for_environment function. * - * @since 8.1.0 + * @since 1.0.3 * * @package assets * @@ -155,7 +156,7 @@ class Assets { /** * Passes an array of URLs to wp_resource_hints. * - * @since 8.8.0 + * @since 1.5.0 * * @param string|array $urls URLs to hint. * @param string $type One of the supported resource types: dns-prefetch (default), preconnect, prefetch, or prerender. @@ -180,7 +181,7 @@ class Assets { /** * Serve a WordPress.com static resource via a randomized wp.com subdomain. * - * @since 9.3.0 + * @since 1.9.0 * * @param string $url WordPress.com static resource URL. * diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/CHANGELOG.md index 1fb4095a7..5e4eba668 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.3] - 2021-08-31 +### Changed +- Bump changelogger version +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Updated package dependencies. + +## [1.1.2] - 2021-08-12 +### Added +- Add package version tracking. + ## [1.1.1] - 2021-07-27 ### Added - Add a package version constant. @@ -45,6 +55,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add API endpoints and Jetpack Backup package for managing Help… +[1.1.3]: https://github.com/Automattic/jetpack-backup/compare/v1.1.2...v1.1.3 +[1.1.2]: https://github.com/Automattic/jetpack-backup/compare/v1.1.1...v1.1.2 [1.1.1]: https://github.com/Automattic/jetpack-backup/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/Automattic/jetpack-backup/compare/v1.0.6...v1.1.0 [1.0.6]: https://github.com/Automattic/jetpack-backup/compare/v1.0.5...v1.0.6 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php index 5058e46d3..36be425cc 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/actions.php @@ -14,3 +14,6 @@ add_action( 'jetpack_backup_cleanup_helper_scripts', array( 'Automattic\\Jetpack // Register REST routes. add_action( 'rest_api_init', array( 'Automattic\\Jetpack\\Backup\\REST_Controller', 'register_rest_routes' ) ); + +// Set up package version hook. +add_filter( 'jetpack_package_versions', 'Automattic\\Jetpack\\Backup\\Package_Version::send_package_version_to_tracker' ); diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php index 0bf03b9c7..ae760819f 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-backup/src/class-package-version.php @@ -12,6 +12,20 @@ namespace Automattic\Jetpack\Backup; */ class Package_Version { - const PACKAGE_VERSION = '1.1.1'; + const PACKAGE_VERSION = '1.1.3'; + + const PACKAGE_SLUG = 'backup'; + + /** + * Adds the package slug and version to the package version tracker's data. + * + * @param array $package_versions The package version array. + * + * @return array The packge version array. + */ + public static function send_package_version_to_tracker( $package_versions ) { + $package_versions[ self::PACKAGE_SLUG ] = self::PACKAGE_VERSION; + return $package_versions; + } } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/CHANGELOG.md index db0dff47f..387538a33 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.2] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Update annotations versions. + ## [1.4.1] - 2021-06-29 ### Changed - Update docs to replace yarn with pnpm. @@ -56,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Blocks: introduce new package for block management +[1.4.2]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.1...v1.4.2 [1.4.1]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.0...v1.4.1 [1.4.0]: https://github.com/Automattic/jetpack-blocks/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/Automattic/jetpack-blocks/compare/v1.2.2...v1.3.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/src/class-blocks.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/src/class-blocks.php index 8f08eb977..2ddf6f3d9 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/src/class-blocks.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-blocks/src/class-blocks.php @@ -1,7 +1,7 @@ array('lodash', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '8cade94be90d93e52734fec1b539e8aa'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e47a0856407977dae62dc63427b06188'); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css index 31bac6900..cb10ebb7e 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css @@ -1,30 +1,788 @@ -.jp-dashboard-footer { +#jetpack-connection-ui-container .jetpack-cui__header h1 { + text-align: left; + font-size: 4.6em; + line-height: 1.2em; +} +#jetpack-connection-ui-container { + margin: 40px; +} +#jetpack-connection-ui-container p { + font-size: 1.23em; + line-height: 1.5em; +} +@charset "UTF-8"; +/********* RNA styles *********/ +:root { + --font-title-large: 36px; + --font-title-small: 24px; + --font-body: 16px; + --font-label: 12px; + --jp-black: #000000; + --jp-black-80: #2C3338; + --jp-white: #FFFFFF; + --jp-white-off: #F9F9F6; + --jp-gray: #DCDCDE; + --jp-gray-off: #E2E2DF; + --jp-red: #D63639; + --jp-green-primary: #069E08; + --jp-green-secondary: #2FB41F; + --jp-border-radius: 4px; + --jp-menu-border-height: 1px; + --jp-underline-thickness: 2px; +} + +/********* Mixins *********/ +/********* Generic styles *********/ +* { + box-sizing: border-box; +} + +body { + min-height: 100%; + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; +} + +.jp-wrap { display: flex; - flex-flow: row wrap; - justify-content: space-between; align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); width: 100%; - max-width: 65rem; - color: #000; } - @media (max-width: 1250px) { - .jp-dashboard-footer { - width: 95%; } } - @media (max-width: 480px) { - .jp-dashboard-footer { - justify-content: space-around; } } + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} -.jp-dashboard-footer__module-name, -.jp-dashboard-footer__jetpack-symbol { - vertical-align: middle; - display: inline-block; } +.sm-col-span-1 { + grid-column-end: span 1; +} -.jp-dashboard-footer__module-name { - margin-left: 5px; } +.sm-col-span-2 { + grid-column-end: span 2; +} +.sm-col-span-3 { + grid-column-end: span 3; +} + +.sm-col-span-4 { + grid-column-end: span 4; +} + +@media (min-width: 600px) { + .md-col-span-1 { + grid-column-end: span 1; + } + + .md-col-span-2 { + grid-column-end: span 2; + } + + .md-col-span-3 { + grid-column-end: span 3; + } + + .md-col-span-4 { + grid-column-end: span 4; + } + + .md-col-span-5 { + grid-column-end: span 5; + } + + .md-col-span-6 { + grid-column-end: span 6; + } + + .md-col-span-7 { + grid-column-end: span 7; + } + + .md-col-span-8 { + grid-column-end: span 8; + } +} +@media (min-width: 960px) { + .lg-col-span-1 { + grid-column-end: span 1; + } + + .lg-col-span-2 { + grid-column-end: span 2; + } + + .lg-col-span-3 { + grid-column-end: span 3; + } + + .lg-col-span-4 { + grid-column-end: span 4; + } + + .lg-col-span-5 { + grid-column-end: span 5; + } + + .lg-col-span-6 { + grid-column-end: span 6; + } + + .lg-col-span-7 { + grid-column-end: span 7; + } + + .lg-col-span-8 { + grid-column-end: span 8; + } + + .lg-col-span-9 { + grid-column-end: span 9; + } + + .lg-col-span-10 { + grid-column-end: span 10; + } + + .lg-col-span-11 { + grid-column-end: span 11; + } + + .lg-col-span-12 { + grid-column-end: span 12; + } +} +@media (max-width: 960px) { + .md-col-span-0 { + display: none; + } +} +@media (max-width: 600px) { + .sm-col-span-0 { + display: none; + } +} +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.jp-cut { + position: relative; + display: block; + margin: 32px 0; + padding: 16px 64px 16px 24px; + border: 2px solid var(--jp-green-primary); + border-radius: var(--jp-border-radius); + text-decoration: none; +} +.jp-cut span { + display: block; +} +.jp-cut span:last-of-type { + font-weight: 600; +} +.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { + text-decoration: underline; + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-cut:hover:after, .jp-cut:focus:after { + transform: translateY(-50%) translateX(8px); +} +.jp-cut:after { + content: "→"; + position: absolute; + top: 50%; + right: 24px; + font-size: 24px; + font-weight: 600; + color: var(--jp-green-primary); + transform: translateY(-50%); + transition: transform 0.15s ease-out; +} + +.jp-connection-status-card h3 { + font-size: 36px; + line-height: 40px; +} +.jp-connection-status-card a, .jp-connection-status-card a:active, .jp-connection-status-card a:hover { + color: var(--jp-black); +} +.jp-connection-status-card p { + margin: 16px 0; +} +.jp-connection-status-card p, .jp-connection-status-card a, .jp-connection-status-card li { + font-size: 16px; + line-height: 24px; +} +.jp-connection-status-card--status { + display: flex; + align-items: center; +} +.jp-connection-status-card--cloud { + background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI3IiB5PSI5IiB3aWR0aD0iMjgiIGhlaWdodD0iMjEiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMwLjMzMjkgMTcuNjk2N0MzMC4zMzMxIDE3LjY3MDMgMzAuMzMzMyAxNy42NDM3IDMwLjMzMzMgMTcuNjE2OUMzMC4zMzMzIDEzLjM2NDQgMjYuNTcyNSA5LjkxNjk5IDIxLjkzMzMgOS45MTY5OUMxOC4wMTcxIDkuOTE2OTkgMTQuNzI3IDEyLjM3MzUgMTMuNzk2NSAxNS42OTczQzEzLjcwOTIgMTUuNjkzNyAxMy42MjE1IDE1LjY5MTkgMTMuNTMzMyA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Tc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="); + width: 32px; + height: 32px; + margin-left: 11px; +} +.jp-connection-status-card--btn-connect-user { + height: 40px; + font-size: var(--font-body-small); + border-radius: 4px; + background: var(--jp-black) !important; +} +.jp-connection-status-card--avatar { + border: 0; + border-radius: 20px; + width: 32px; + height: 32px; + background-color: var(--jp-white); + background-repeat: no-repeat; + background-size: contain; + margin-left: -10px; + background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI0IiB5PSI0IiB3aWR0aD0iMTciIGhlaWdodD0iMTYiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjI4NSA0QzEwLjA4NTggNCA4LjMwNDU5IDUuNzkgOC4zMDQ1OSA4QzguMzA0NTkgMTAuMjEgMTAuMDg1OCAxMiAxMi4yODUgMTJDMTQuNDg0MSAxMiAxNi4yNjUzIDEwLjIxIDE2LjI2NTMgOEMxNi4yNjUzIDUuNzkgMTQuNDg0MSA0IDEyLjI4NSA0Wk0xNC4yNzUxIDhDMTQuMjc1MSA2LjkgMTMuMzc5NiA2IDEyLjI4NSA2QzExLjE5MDQgNiAxMC4yOTQ4IDYuOSAxMC4yOTQ4IDhDMTAuMjk0OCA5LjEgMTEuMTkwNCAxMCAxMi4yODUgMTBDMTMuMzc5NiAxMCAxNC4yNzUxIDkuMSAxNC4yNzUxIDhaTTE4LjI1NTUgMThDMTguMDU2NSAxNy4yOSAxNC45NzE3IDE2IDEyLjI4NSAxNkM5LjYwODE2IDE2IDYuNTQzMjcgMTcuMjggNi4zMTQ0IDE4SDE4LjI1NTVaTTQuMzI0MjIgMThDNC4zMjQyMiAxNS4zNCA5LjYyODA2IDE0IDEyLjI4NSAxNEMxNC45NDE4IDE0IDIwLjI0NTcgMTUuMzQgMjAuMjQ1NyAxOFYyMEg0LjMyNDIyVjE4WiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swKSI+CjxyZWN0IHg9IjAuMzQzNzUiIHdpZHRoPSIyMy44ODIyIiBoZWlnaHQ9IjI0IiBmaWxsPSIjYTJhYWIyIi8+CjwvZz4KPC9zdmc+Cg=="); +} +.jp-connection-status-card--line { + width: 67px; + height: 0; + border-top: 2px solid #000000; +} +.jp-connection-status-card--line.jp-connection-status-card--site-only { + border-top-style: dashed; +} +.jp-connection-status-card--list { + list-style-type: none; +} +.jp-connection-status-card--list li { + padding-left: 25px; + color: #000; + margin-bottom: 9px; +} +.jp-connection-status-card--list-item-success { + background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==") no-repeat 0 0; +} +.jp-connection-status-card--list-item-error { + color: var(--jp-red) !important; + background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K") no-repeat 0 0; +} +@charset "UTF-8"; +/********* RNA styles *********/ +:root { + --font-title-large: 36px; + --font-title-small: 24px; + --font-body: 16px; + --font-label: 12px; + --jp-black: #000000; + --jp-black-80: #2C3338; + --jp-white: #FFFFFF; + --jp-white-off: #F9F9F6; + --jp-gray: #DCDCDE; + --jp-gray-off: #E2E2DF; + --jp-red: #D63639; + --jp-green-primary: #069E08; + --jp-green-secondary: #2FB41F; + --jp-border-radius: 4px; + --jp-menu-border-height: 1px; + --jp-underline-thickness: 2px; +} + +/********* Mixins *********/ +/********* Generic styles *********/ +* { + box-sizing: border-box; +} + +body { + min-height: 100%; + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; +} + +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.sm-col-span-1 { + grid-column-end: span 1; +} + +.sm-col-span-2 { + grid-column-end: span 2; +} + +.sm-col-span-3 { + grid-column-end: span 3; +} + +.sm-col-span-4 { + grid-column-end: span 4; +} + +@media (min-width: 600px) { + .md-col-span-1 { + grid-column-end: span 1; + } + + .md-col-span-2 { + grid-column-end: span 2; + } + + .md-col-span-3 { + grid-column-end: span 3; + } + + .md-col-span-4 { + grid-column-end: span 4; + } + + .md-col-span-5 { + grid-column-end: span 5; + } + + .md-col-span-6 { + grid-column-end: span 6; + } + + .md-col-span-7 { + grid-column-end: span 7; + } + + .md-col-span-8 { + grid-column-end: span 8; + } +} +@media (min-width: 960px) { + .lg-col-span-1 { + grid-column-end: span 1; + } + + .lg-col-span-2 { + grid-column-end: span 2; + } + + .lg-col-span-3 { + grid-column-end: span 3; + } + + .lg-col-span-4 { + grid-column-end: span 4; + } + + .lg-col-span-5 { + grid-column-end: span 5; + } + + .lg-col-span-6 { + grid-column-end: span 6; + } + + .lg-col-span-7 { + grid-column-end: span 7; + } + + .lg-col-span-8 { + grid-column-end: span 8; + } + + .lg-col-span-9 { + grid-column-end: span 9; + } + + .lg-col-span-10 { + grid-column-end: span 10; + } + + .lg-col-span-11 { + grid-column-end: span 11; + } + + .lg-col-span-12 { + grid-column-end: span 12; + } +} +@media (max-width: 960px) { + .md-col-span-0 { + display: none; + } +} +@media (max-width: 600px) { + .sm-col-span-0 { + display: none; + } +} +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.jp-cut { + position: relative; + display: block; + margin: 32px 0; + padding: 16px 64px 16px 24px; + border: 2px solid var(--jp-green-primary); + border-radius: var(--jp-border-radius); + text-decoration: none; +} +.jp-cut span { + display: block; +} +.jp-cut span:last-of-type { + font-weight: 600; +} +.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { + text-decoration: underline; + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-cut:hover:after, .jp-cut:focus:after { + transform: translateY(-50%) translateX(8px); +} +.jp-cut:after { + content: "→"; + position: absolute; + top: 50%; + right: 24px; + font-size: 24px; + font-weight: 600; + color: var(--jp-green-primary); + transform: translateY(-50%); + transition: transform 0.15s ease-out; +} + +.jp-disconnect-dialog h1 { + margin-top: 0; + line-height: 1.2; + font-size: var(--font-title-large); + font-weight: 600; +} +.jp-disconnect-dialog h2 { + margin: 0; + line-height: 1.2; + font-size: var(--font-title-small); + font-weight: 400; +} +.jp-disconnect-dialog p { + font-size: var(--font-body); +} +.jp-disconnect-dialog__link { + font-size: var(--font-body); + color: var(--jp-black); + text-decoration: underline; + height: auto; + font: inherit; + padding: 0; +} +.jp-disconnect-dialog__link:hover { + color: var(--jp-black); + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-disconnect-dialog__link:focus { + color: var(--jp-black); + box-shadow: none !important; +} +.jp-disconnect-dialog .components-button { + height: 40px; + font-size: var(--font-body-small); + border-radius: 4px; +} +.jp-disconnect-dialog .components-modal__content { + padding: 0; +} +.jp-disconnect-dialog .components-modal__header { + display: none; +} +.jp-disconnect-dialog .jp-row { + align-items: center; +} +.jp-disconnect-dialog__content { + background: var(--jp-white-off); + margin: 0; + padding: 80px; + border-radius: 4px; + text-align: center; +} +.jp-disconnect-dialog__actions { + background: var(--jp-white); + padding: 10px 48px; +} +.jp-disconnect-dialog__btn-dismiss { + background: var(--jp-black) !important; + margin-right: 10px; +} +.jp-disconnect-dialog__btn-disconnect { + background: var(--jp-red) !important; +} +.jp-disconnect-dialog__btn-back-to-wp { + background: var(--jp-black) !important; +} +.jp-disconnect-dialog__button-wrap { + text-align: center; +} +.jp-disconnect-dialog__error { + color: var(--jp-red); +} +.jp-disconnect-dialog__success .components-modal__content { + background: var(--jp-white); + padding: 50px; +} +.jp-disconnect-dialog__success h1 { + margin-top: 20px; +} + +@media (min-width: 960px) { + .jp-disconnect-dialog { + min-width: 900px; + } + .jp-disconnect-dialog__success { + min-width: auto; + } + + .jp-row { + margin-left: 0px; + } +} +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Breakpoint mixins + */ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ +.jp-connect-screen { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + background: #FFFFFF; + box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); + border-radius: 4px; +} +.jp-connect-screen.jp-connect-screen--loading { + display: none; +} +.jp-connect-screen .jp-connect-screen--left, .jp-connect-screen .jp-connect-screen--right { + box-sizing: border-box; +} +.jp-connect-screen .jp-connect-screen--left { + padding: 25px; +} +@media (min-width: 600px) { + .jp-connect-screen .jp-connect-screen--left { + padding: 64px 96px; + } +} +.jp-connect-screen .jp-connect-screen--left .jetpack-logo { + margin-bottom: 24px; +} +.jp-connect-screen .jp-connect-screen--left h2 { + font-style: normal; + font-weight: bold; + font-size: 36px; + line-height: 40px; + color: #000; + margin-top: 32px; + margin-bottom: 0; +} +.jp-connect-screen .jp-connect-screen--left p, .jp-connect-screen .jp-connect-screen--left li { + font-style: normal; + font-weight: normal; + font-size: 16px; + line-height: 24px; +} +.jp-connect-screen .jp-connect-screen--left p { + color: #101517; + margin: 16px 0; +} +.jp-connect-screen .jp-connect-screen--left ul { + list-style-type: none; +} +.jp-connect-screen .jp-connect-screen--left ul li { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat; + background-size: 24px; + padding-left: 30px; + margin-bottom: 9px; + color: #000; +} +.jp-connect-screen .jp-connect-screen--left ul li a { + color: #000; + text-decoration: underline; +} +.jp-connect-screen .jp-connect-screen--left a.jp-connection-screen-icon { + text-decoration: none; + padding-left: 5px; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button { + margin-top: 40px; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button button { + max-width: 100%; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button button:disabled { + color: rgba(255, 255, 255, 0.4); +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-screen--tos { + margin-top: 28px; + max-width: 360px; +} +.jp-connect-screen .jp-connect-screen--right { + padding: 64px 0; +} +.jp-connect-screen .jp-connect-screen--right img { + max-width: 100%; +} +.jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { + float: left; + width: 100%; +} +@media (min-width: 1080px) { + .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { + width: 52%; + } +} +.jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { + float: right; + width: 47%; + background: #F9F9F6; + display: none; +} +@media (min-width: 1080px) { + .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { + display: block; + } +} +.jp-connect-screen .jp-connect-screen--clearfix { + clear: both; +} .jp-connect-button .jp-connect-button--button { background: #000; border-radius: 4px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; font-style: normal; font-weight: 600; font-size: 14px; @@ -32,606 +790,37 @@ text-align: center; width: 264px; height: 40px; - display: block; } - -.jp-connect-screen { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; - background: #FFFFFF; - box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); - border-radius: 4px; } - .jp-connect-screen.jp-connect-screen--loading { - display: none; } - .jp-connect-screen .jp-connect-screen--left, .jp-connect-screen .jp-connect-screen--right { - box-sizing: border-box; } - .jp-connect-screen .jp-connect-screen--left { - padding: 64px 96px; } - .jp-connect-screen .jp-connect-screen--left h2 { - font-style: normal; - font-weight: bold; - font-size: 36px; - line-height: 40px; - color: #000; } - .jp-connect-screen .jp-connect-screen--left p, .jp-connect-screen .jp-connect-screen--left li { - font-style: normal; - font-weight: normal; - font-size: 16px; - line-height: 24px; } - .jp-connect-screen .jp-connect-screen--left p { - color: #101517; } - .jp-connect-screen .jp-connect-screen--left ul { - list-style-type: none; } - .jp-connect-screen .jp-connect-screen--left ul li { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADuSURBVHgB7ZS9DYJAFIDfHT93JSMwAiPoAmhpR22lTqBbmJggbqCyAJZ0xg1YwQ4MeB5GjPIT8KCTL6Hhke9LHgcAPT2NcahOHDLL35agC7hcZeABoIlsStfETfxshKEtbzno/ArQDR0+xwjakJPjCIbhNAy6CTSQp4ityNE0FdC+Tl4eWFMdauWRB4wZdfJiYKMYCmFnZUutLuSFAJHkAQKk8RezK0QE5Clf30Hixr5kyrwBPARjPJKD+zG+iMpTSk+RatMVnyyfDzC2YBhbIvLKQD7y4md5SuWvgq/rlK1LVN4IYpM5rTu6Pf/NA02TfHxOAFa6AAAAAElFTkSuQmCC) no-repeat; - padding-left: 30px; - color: #000; - margin-bottom: 9px; } - .jp-connect-screen .jp-connect-screen--left .jp-connect-button { - margin-top: 40px; } - .jp-connect-screen .jp-connect-screen--left .jp-connnect-screen--tos { - margin-top: 32px; - max-width: 360px; } - .jp-connect-screen .jp-connect-screen--right { - padding: 64px 0; } - .jp-connect-screen .jp-connect-screen--right img { - max-width: 100%; } - .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { - float: left; - width: 50%; } - .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { - float: right; - width: 49%; - background: #F9F9F6; } - .jp-connect-screen .jp-connect-screen--clearfix { - clear: both; } - -.jp-iframe-wrap { - text-align: center; } - -.fade-in { - animation: fadeIn ease 1.5s; - -webkit-animation: fadeIn ease 1.5s; - -moz-animation: fadeIn ease 1.5s; - -o-animation: fadeIn ease 1.5s; - -ms-animation: fadeIn ease 1.5s; } - -@keyframes fadeIn { - 0% { - opacity: 0; } - 100% { - opacity: 1; } } - -@-webkit-keyframes fadeIn { - 0% { - opacity: 0; } - 100% { - opacity: 1; } } - -@charset "UTF-8"; -/********* RNA styles *********/ -:root { - --font-title-large: 36px; - --font-title-small: 24px; - --font-body: 16px; - --font-label: 12px; - --jp-black: #000000; - --jp-black-80: #2C3338; - --jp-white: #FFFFFF; - --jp-white-off: #F9F9F6; - --jp-gray: #DCDCDE; - --jp-gray-off: #E2E2DF; - --jp-red: #D63639; - --jp-green-primary: #069E08; - --jp-green-secondary: #2FB41F; - --jp-border-radius: 4px; - --jp-menu-border-height: 1px; - --jp-underline-thickness: 2px; } - -/********* Mixins *********/ -/********* Generic styles *********/ -* { - box-sizing: border-box; } - -body { - min-height: 100%; - margin: 0; - padding: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.sm-col-span-1 { - grid-column-end: span 1; } - -.sm-col-span-2 { - grid-column-end: span 2; } - -.sm-col-span-3 { - grid-column-end: span 3; } - -.sm-col-span-4 { - grid-column-end: span 4; } - -@media (min-width: 600px) { - .md-col-span-1 { - grid-column-end: span 1; } - .md-col-span-2 { - grid-column-end: span 2; } - .md-col-span-3 { - grid-column-end: span 3; } - .md-col-span-4 { - grid-column-end: span 4; } - .md-col-span-5 { - grid-column-end: span 5; } - .md-col-span-6 { - grid-column-end: span 6; } - .md-col-span-7 { - grid-column-end: span 7; } - .md-col-span-8 { - grid-column-end: span 8; } } - -@media (min-width: 960px) { - .lg-col-span-1 { - grid-column-end: span 1; } - .lg-col-span-2 { - grid-column-end: span 2; } - .lg-col-span-3 { - grid-column-end: span 3; } - .lg-col-span-4 { - grid-column-end: span 4; } - .lg-col-span-5 { - grid-column-end: span 5; } - .lg-col-span-6 { - grid-column-end: span 6; } - .lg-col-span-7 { - grid-column-end: span 7; } - .lg-col-span-8 { - grid-column-end: span 8; } - .lg-col-span-9 { - grid-column-end: span 9; } - .lg-col-span-10 { - grid-column-end: span 10; } - .lg-col-span-11 { - grid-column-end: span 11; } - .lg-col-span-12 { - grid-column-end: span 12; } } - -@media (max-width: 960px) { - .md-col-span-0 { - display: none; } } - -@media (max-width: 600px) { - .sm-col-span-0 { - display: none; } } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.jp-cut { - position: relative; display: block; - margin: 32px 0; - padding: 16px 64px 16px 24px; - border: 2px solid #069E08; - border: 2px solid var(--jp-green-primary); - border-radius: 4px; - border-radius: var(--jp-border-radius); - text-decoration: none; } - .jp-cut span { - display: block; } - .jp-cut span:last-of-type { - font-weight: 600; } - .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { - text-decoration: underline; - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-cut:hover:after, .jp-cut:focus:after { - transform: translateY(-50%) translateX(8px); } - .jp-cut:after { - content: "→"; - position: absolute; - top: 50%; - right: 24px; - font-size: 24px; - font-weight: 600; - color: #069E08; - color: var(--jp-green-primary); - transform: translateY(-50%); - transition: transform 0.15s ease-out; } - -.jp-disconnect-dialog h1 { - margin-top: 0; - line-height: 1.2; - font-size: 36px; - font-size: var(--font-title-large); - font-weight: 600; } - -.jp-disconnect-dialog h2 { - margin: 0; - line-height: 1.2; - font-size: 24px; - font-size: var(--font-title-small); - font-weight: 400; } - -.jp-disconnect-dialog p { - font-size: 16px; - font-size: var(--font-body); } - -.jp-disconnect-dialog__link { - font-size: 16px; - font-size: var(--font-body); - color: #000000; - color: var(--jp-black); - text-decoration: underline; - height: auto; - font: inherit; - padding: 0; } - .jp-disconnect-dialog__link:hover { - color: #000000; - color: var(--jp-black); - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-disconnect-dialog__link:focus { - color: #000000; - color: var(--jp-black); - box-shadow: none !important; } - -.jp-disconnect-dialog .components-button { - height: 40px; - font-size: var(--font-body-small); - border-radius: 4px; } - -.jp-disconnect-dialog .components-modal__content { - padding: 0; } - -.jp-disconnect-dialog .components-modal__header { - display: none; } - -.jp-disconnect-dialog .jp-row { - align-items: center; } - -.jp-disconnect-dialog__content { - background: #F9F9F6; - background: var(--jp-white-off); - margin: 0; - padding: 80px; - border-radius: 4px; - text-align: center; } - -.jp-disconnect-dialog__actions { - background: #FFFFFF; - background: var(--jp-white); - padding: 10px 48px; } - -.jp-disconnect-dialog__btn-dismiss { - background: #000000 !important; - background: var(--jp-black) !important; - margin-right: 10px; } - -.jp-disconnect-dialog__btn-disconnect { - background: #D63639 !important; - background: var(--jp-red) !important; } - -.jp-disconnect-dialog__btn-back-to-wp { - background: #000000 !important; - background: var(--jp-black) !important; } - -.jp-disconnect-dialog__button-wrap { - text-align: center; } - -.jp-disconnect-dialog__error { - color: #D63639; - color: var(--jp-red); } - -.jp-disconnect-dialog__success .components-modal__content { - background: #FFFFFF; - background: var(--jp-white); - padding: 50px; } - -.jp-disconnect-dialog__success h1 { - margin-top: 20px; } - -@media (min-width: 960px) { - .jp-disconnect-dialog { - min-width: 900px; } - .jp-disconnect-dialog__success { - min-width: auto; } - .jp-row { - margin-left: 0px; } } - -@charset "UTF-8"; -/********* RNA styles *********/ -:root { - --font-title-large: 36px; - --font-title-small: 24px; - --font-body: 16px; - --font-label: 12px; - --jp-black: #000000; - --jp-black-80: #2C3338; - --jp-white: #FFFFFF; - --jp-white-off: #F9F9F6; - --jp-gray: #DCDCDE; - --jp-gray-off: #E2E2DF; - --jp-red: #D63639; - --jp-green-primary: #069E08; - --jp-green-secondary: #2FB41F; - --jp-border-radius: 4px; - --jp-menu-border-height: 1px; - --jp-underline-thickness: 2px; } - -/********* Mixins *********/ -/********* Generic styles *********/ -* { - box-sizing: border-box; } - -body { - min-height: 100%; - margin: 0; - padding: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; } - -.jp-wrap { +} +@keyframes rotate-spinner { + 100% { + transform: rotate(360deg); + } +} +.jp-components-spinner { display: flex; align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } +} -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); +.jp-components-spinner__outer, .jp-components-spinner__inner { + margin: auto; + box-sizing: border-box; + border: 0.1em solid transparent; + border-radius: 50%; + animation: 3s linear infinite; + animation-name: rotate-spinner; +} + +.jp-components-spinner__outer { + border-top-color: white; +} + +.jp-components-spinner__inner { width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.sm-col-span-1 { - grid-column-end: span 1; } - -.sm-col-span-2 { - grid-column-end: span 2; } - -.sm-col-span-3 { - grid-column-end: span 3; } - -.sm-col-span-4 { - grid-column-end: span 4; } - -@media (min-width: 600px) { - .md-col-span-1 { - grid-column-end: span 1; } - .md-col-span-2 { - grid-column-end: span 2; } - .md-col-span-3 { - grid-column-end: span 3; } - .md-col-span-4 { - grid-column-end: span 4; } - .md-col-span-5 { - grid-column-end: span 5; } - .md-col-span-6 { - grid-column-end: span 6; } - .md-col-span-7 { - grid-column-end: span 7; } - .md-col-span-8 { - grid-column-end: span 8; } } - -@media (min-width: 960px) { - .lg-col-span-1 { - grid-column-end: span 1; } - .lg-col-span-2 { - grid-column-end: span 2; } - .lg-col-span-3 { - grid-column-end: span 3; } - .lg-col-span-4 { - grid-column-end: span 4; } - .lg-col-span-5 { - grid-column-end: span 5; } - .lg-col-span-6 { - grid-column-end: span 6; } - .lg-col-span-7 { - grid-column-end: span 7; } - .lg-col-span-8 { - grid-column-end: span 8; } - .lg-col-span-9 { - grid-column-end: span 9; } - .lg-col-span-10 { - grid-column-end: span 10; } - .lg-col-span-11 { - grid-column-end: span 11; } - .lg-col-span-12 { - grid-column-end: span 12; } } - -@media (max-width: 960px) { - .md-col-span-0 { - display: none; } } - -@media (max-width: 600px) { - .sm-col-span-0 { - display: none; } } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.jp-cut { - position: relative; - display: block; - margin: 32px 0; - padding: 16px 64px 16px 24px; - border: 2px solid #069E08; - border: 2px solid var(--jp-green-primary); - border-radius: 4px; - border-radius: var(--jp-border-radius); - text-decoration: none; } - .jp-cut span { - display: block; } - .jp-cut span:last-of-type { - font-weight: 600; } - .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { - text-decoration: underline; - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-cut:hover:after, .jp-cut:focus:after { - transform: translateY(-50%) translateX(8px); } - .jp-cut:after { - content: "→"; - position: absolute; - top: 50%; - right: 24px; - font-size: 24px; - font-weight: 600; - color: #069E08; - color: var(--jp-green-primary); - transform: translateY(-50%); - transition: transform 0.15s ease-out; } - -.jp-connection-status-card h3 { - font-size: 36px; - line-height: 40px; } - -.jp-connection-status-card a, .jp-connection-status-card a:active, .jp-connection-status-card a:hover { - color: #000000; - color: var(--jp-black); } - -.jp-connection-status-card p { - margin: 16px 0; } - -.jp-connection-status-card p, .jp-connection-status-card a, .jp-connection-status-card li { - font-size: 16px; - line-height: 24px; } - -.jp-connection-status-card--status { - display: flex;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uMjkwMSAzNC43MjMxIDE1Ljc5MjUgMzAuNzgwNiAxNS4xMTAyTDI5Ljg4NTMgMjAuMjgzNFoiIGZpbGw9IiMxRTFFMUUiLz4KPC9nPgo8L3N2Zz4K"); - width: 42px; - height: 42px; - margin-right: 4px; } - -.jp-connection-status-card--jetpack-logo { - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDMyQzI0LjgzNjYgMzIgMzIgMjQuODM2NiAzMiAxNkMzMiA3LjE2MzQ0IDI0LjgzNjYgMCAxNiAwQzcuMTYzNDQgMCAwIDcuMTYzNDQgMCAxNkMwIDI0LjgzNjYgNy4xNjM0NCAzMiAxNiAzMloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNi43OTM5IDEzLjMxMjVWMjguODI0TDI0Ljc5MzkgMTMuMzEyNUgxNi43OTM5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjE3NTUgMTguNjU2N1YzLjE3NTc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="); - width: 32px; - height: 32px; - margin-left: 11px; } - -.jp-connection-status-card--btn-connect-user { - height: 40px; - font-size: var(--font-body-small); - border-radius: 4px; - background: #000000 !important; - background: var(--jp-black) !important; } - -.jp-connection-status-card--avatar { - border: 0; - border-radius: 20px; - width: 32px; - height: 32px; - background-color: #FFFFFF; - background-color: var(--jp-white); - background-repeat: no-repeat; - background-size: contain; - margin-left: -10px; - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6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-card--line { - width: 67px; - height: 0; - border-top: 2px solid #000000; } - .jp-connection-status-card--line.jp-connection-status-card--site-only { - border-top-style: dashed; } - -.jp-connection-status-card--list { - list-style-type: none; } - .jp-connection-status-card--list li { - padding-left: 25px; - color: #000; - margin-bottom: 9px; } - .jp-connection-status-card--list-item-success { - background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==") no-repeat 0 0; } - .jp-connection-status-card--list-item-error { - color: #D63639 !important; - color: var(--jp-red) !important; - background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K") no-repeat 0 0; } - -#jetpack-connection-ui-container .jetpack-cui__header h1 { - text-align: left; - font-size: 4.6em; - line-height: 1.2em; } - -#jetpack-connection-ui-container { - margin: 40px; } - #jetpack-connection-ui-container p { - font-size: 1.23em; - line-height: 1.5em; } - + height: 100%; + border-top-color: white; + border-right-color: white; + opacity: 0.4; +} /*# sourceMappingURL=index.css.map*/ \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css.map b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css.map index ade39be2f..b20e34a16 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css.map +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-footer/style.scss","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-button/style.scss","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/style.scss","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/in-place-connection/style.scss","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/disconnect-dialog/style.scss","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connection-status-card/style.scss","webpack:///./_inc/components/header/style.scss","webpack:///./_inc/components/admin/style.scss"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,iBAAiB,EAAE;AACnB;AACA;AACA,oCAAoC,EAAE;;AAEtC;AACA;AACA;AACA,wBAAwB;;AAExB;AACA,mBAAmB;;ACrBnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;;ACXjB;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,kBAAkB;AAClB;AACA,2BAA2B;AAC3B;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA,qBAAqB;AACrB;AACA,4BAA4B;AAC5B;AACA,uCAAuC;AACvC;AACA;AACA,2BAA2B;AAC3B;AACA,uBAAuB;AACvB;AACA;AACA,uBAAuB;AACvB;AACA,oBAAoB;AACpB;AACA,sBAAsB;AACtB;AACA;AACA,eAAe;AACf;AACA;AACA;AACA,wBAAwB;AACxB;AACA,gBAAgB;;AChDhB;AACA,qBAAqB;;AAErB;AACA;AACA;AACA;AACA;AACA,kCAAkC;;AAElC;AACA;AACA,eAAe;AACf;AACA,eAAe,EAAE;;AAEjB;AACA;AACA,eAAe;AACf;AACA,eAAe,EAAE;;ACpBjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA,2IAA2I;;AAE3I;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB,EAAE;AACvB;AACA;AACA;AACA;AACA,qBAAqB,EAAE;;AAEvB;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B,EAAE;;AAE9B;AACA;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,6BAA6B;AAC7B;AACA,6BAA6B;AAC7B;AACA,6BAA6B,EAAE;;AAE/B;AACA;AACA,kBAAkB,EAAE;;AAEpB;AACA;AACA,kBAAkB,EAAE;;AAEpB;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB,EAAE;AACvB;AACA;AACA;AACA;AACA,qBAAqB,EAAE;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA,mBAAmB;AACnB;AACA,uBAAuB;AACvB;AACA;AACA;AACA,6DAA6D;AAC7D;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;AAEzC;AACA;AACA;AACA;AACA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA;AACA;AACA,mBAAmB;;AAEnB;AACA;AACA,8BAA8B;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,6DAA6D;AAC7D;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA,qBAAqB;;AAErB;AACA,aAAa;;AAEb;AACA,gBAAgB;;AAEhB;AACA,sBAAsB;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;;AAErB;AACA;AACA;AACA,qBAAqB;;AAErB;AACA;AACA;AACA,qBAAqB;;AAErB;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA,yCAAyC;;AAEzC;AACA,qBAAqB;;AAErB;AACA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA,gBAAgB;;AAEhB;AACA,mBAAmB;;AAEnB;AACA;AACA,qBAAqB;AACrB;AACA,sBAAsB;AACtB;AACA,qBAAqB,EAAE;;AC/QvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA,2IAA2I;;AAE3I;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB,EAAE;AACvB;AACA;AACA;AACA;AACA,qBAAqB,EAAE;;AAEvB;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA,0BAA0B;;AAE1B;AACA;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B,EAAE;;AAE9B;AACA;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,4BAA4B;AAC5B;AACA,6BAA6B;AAC7B;AACA,6BAA6B;AAC7B;AACA,6BAA6B,EAAE;;AAE/B;AACA;AACA,kBAAkB,EAAE;;AAEpB;AACA;AACA,kBAAkB,EAAE;;AAEpB;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB,EAAE;AACvB;AACA;AACA;AACA;AACA,qBAAqB,EAAE;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA,mBAAmB;AACnB;AACA,uBAAuB;AACvB;AACA;AACA;AACA,6DAA6D;AAC7D;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;AAEzC;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA,yBAAyB;;AAEzB;AACA,iBAAiB;;AAEjB;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA,sBAAsB;;AAEtB;AACA,4CAA4C;AAC5C;AACA;AACA,oBAAoB;;AAEpB;AACA,4CAA4C;AAC5C;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;AACA,yCAAyC;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,0mCAA0mC;;AAEtpC;AACA;AACA;AACA,gCAAgC;AAChC;AACA,6BAA6B;;AAE7B;AACA,wBAAwB;AACxB;AACA;AACA;AACA,uBAAuB;AACvB;AACA,wCAAwC,oSAAoS;AAC5U;AACA;AACA;AACA,wCAAwC,ofAAof;;ACjP5hB;AACA;AACA;AACA,qBAAqB;;ACHrB;AACA,eAAe;AACf;AACA;AACA,uBAAuB","file":"index.css","sourcesContent":[".jp-dashboard-footer {\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n max-width: 65rem;\n color: #000; }\n @media (max-width: 1250px) {\n .jp-dashboard-footer {\n width: 95%; } }\n @media (max-width: 480px) {\n .jp-dashboard-footer {\n justify-content: space-around; } }\n\n.jp-dashboard-footer__module-name,\n.jp-dashboard-footer__jetpack-symbol {\n vertical-align: middle;\n display: inline-block; }\n\n.jp-dashboard-footer__module-name {\n margin-left: 5px; }\n",".jp-connect-button .jp-connect-button--button {\n background: #000;\n border-radius: 4px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;\n font-style: normal;\n font-weight: 600;\n font-size: 14px;\n line-height: 18px;\n text-align: center;\n width: 264px;\n height: 40px;\n display: block; }\n",".jp-connect-screen {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;\n background: #FFFFFF;\n box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);\n border-radius: 4px; }\n .jp-connect-screen.jp-connect-screen--loading {\n display: none; }\n .jp-connect-screen .jp-connect-screen--left, .jp-connect-screen .jp-connect-screen--right {\n box-sizing: border-box; }\n .jp-connect-screen .jp-connect-screen--left {\n padding: 64px 96px; }\n .jp-connect-screen .jp-connect-screen--left h2 {\n font-style: normal;\n font-weight: bold;\n font-size: 36px;\n line-height: 40px;\n color: #000; }\n .jp-connect-screen .jp-connect-screen--left p, .jp-connect-screen .jp-connect-screen--left li {\n font-style: normal;\n font-weight: normal;\n font-size: 16px;\n line-height: 24px; }\n .jp-connect-screen .jp-connect-screen--left p {\n color: #101517; }\n .jp-connect-screen .jp-connect-screen--left ul {\n list-style-type: none; }\n .jp-connect-screen .jp-connect-screen--left ul li {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADuSURBVHgB7ZS9DYJAFIDfHT93JSMwAiPoAmhpR22lTqBbmJggbqCyAJZ0xg1YwQ4MeB5GjPIT8KCTL6Hhke9LHgcAPT2NcahOHDLL35agC7hcZeABoIlsStfETfxshKEtbzno/ArQDR0+xwjakJPjCIbhNAy6CTSQp4ityNE0FdC+Tl4eWFMdauWRB4wZdfJiYKMYCmFnZUutLuSFAJHkAQKk8RezK0QE5Clf30Hixr5kyrwBPARjPJKD+zG+iMpTSk+RatMVnyyfDzC2YBhbIvLKQD7y4md5SuWvgq/rlK1LVN4IYpM5rTu6Pf/NA02TfHxOAFa6AAAAAElFTkSuQmCC) no-repeat;\n padding-left: 30px;\n color: #000;\n margin-bottom: 9px; }\n .jp-connect-screen .jp-connect-screen--left .jp-connect-button {\n margin-top: 40px; }\n .jp-connect-screen .jp-connect-screen--left .jp-connnect-screen--tos {\n margin-top: 32px;\n max-width: 360px; }\n .jp-connect-screen .jp-connect-screen--right {\n padding: 64px 0; }\n .jp-connect-screen .jp-connect-screen--right img {\n max-width: 100%; }\n .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left {\n float: left;\n width: 50%; }\n .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right {\n float: right;\n width: 49%;\n background: #F9F9F6; }\n .jp-connect-screen .jp-connect-screen--clearfix {\n clear: both; }\n",".jp-iframe-wrap {\n text-align: center; }\n\n.fade-in {\n animation: fadeIn ease 1.5s;\n -webkit-animation: fadeIn ease 1.5s;\n -moz-animation: fadeIn ease 1.5s;\n -o-animation: fadeIn ease 1.5s;\n -ms-animation: fadeIn ease 1.5s; }\n\n@keyframes fadeIn {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n\n@-webkit-keyframes fadeIn {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n","@charset \"UTF-8\";\n/********* RNA styles *********/\n:root {\n --font-title-large: 36px;\n --font-title-small: 24px;\n --font-body: 16px;\n --font-label: 12px;\n --jp-black: #000000;\n --jp-black-80: #2C3338;\n --jp-white: #FFFFFF;\n --jp-white-off: #F9F9F6;\n --jp-gray: #DCDCDE;\n --jp-gray-off: #E2E2DF;\n --jp-red: #D63639;\n --jp-green-primary: #069E08;\n --jp-green-secondary: #2FB41F;\n --jp-border-radius: 4px;\n --jp-menu-border-height: 1px;\n --jp-underline-thickness: 2px; }\n\n/********* Mixins *********/\n/********* Generic styles *********/\n* {\n box-sizing: border-box; }\n\nbody {\n min-height: 100%;\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen-Sans\", \"Ubuntu\", \"Cantarell\", \"Helvetica Neue\", sans-serif; }\n\n.jp-wrap {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n max-width: 1128px;\n margin: 0 auto; }\n\n.jp-row {\n display: grid;\n grid-gap: 24px;\n grid-template-columns: repeat(4, 1fr);\n width: 100%;\n margin: 0 16px; }\n @media (min-width: 600px) {\n .jp-row {\n grid-template-columns: repeat(8, 1fr);\n margin: 0 18px; } }\n @media (min-width: 960px) {\n .jp-row {\n grid-template-columns: repeat(12, 1fr);\n max-width: 1128px;\n margin: 0 24px; } }\n\n.sm-col-span-1 {\n grid-column-end: span 1; }\n\n.sm-col-span-2 {\n grid-column-end: span 2; }\n\n.sm-col-span-3 {\n grid-column-end: span 3; }\n\n.sm-col-span-4 {\n grid-column-end: span 4; }\n\n@media (min-width: 600px) {\n .md-col-span-1 {\n grid-column-end: span 1; }\n .md-col-span-2 {\n grid-column-end: span 2; }\n .md-col-span-3 {\n grid-column-end: span 3; }\n .md-col-span-4 {\n grid-column-end: span 4; }\n .md-col-span-5 {\n grid-column-end: span 5; }\n .md-col-span-6 {\n grid-column-end: span 6; }\n .md-col-span-7 {\n grid-column-end: span 7; }\n .md-col-span-8 {\n grid-column-end: span 8; } }\n\n@media (min-width: 960px) {\n .lg-col-span-1 {\n grid-column-end: span 1; }\n .lg-col-span-2 {\n grid-column-end: span 2; }\n .lg-col-span-3 {\n grid-column-end: span 3; }\n .lg-col-span-4 {\n grid-column-end: span 4; }\n .lg-col-span-5 {\n grid-column-end: span 5; }\n .lg-col-span-6 {\n grid-column-end: span 6; }\n .lg-col-span-7 {\n grid-column-end: span 7; }\n .lg-col-span-8 {\n grid-column-end: span 8; }\n .lg-col-span-9 {\n grid-column-end: span 9; }\n .lg-col-span-10 {\n grid-column-end: span 10; }\n .lg-col-span-11 {\n grid-column-end: span 11; }\n .lg-col-span-12 {\n grid-column-end: span 12; } }\n\n@media (max-width: 960px) {\n .md-col-span-0 {\n display: none; } }\n\n@media (max-width: 600px) {\n .sm-col-span-0 {\n display: none; } }\n\n.jp-wrap {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n max-width: 1128px;\n margin: 0 auto; }\n\n.jp-row {\n display: grid;\n grid-gap: 24px;\n grid-template-columns: repeat(4, 1fr);\n width: 100%;\n margin: 0 16px; }\n @media (min-width: 600px) {\n .jp-row {\n grid-template-columns: repeat(8, 1fr);\n margin: 0 18px; } }\n @media (min-width: 960px) {\n .jp-row {\n grid-template-columns: repeat(12, 1fr);\n max-width: 1128px;\n margin: 0 24px; } }\n\n.jp-cut {\n position: relative;\n display: block;\n margin: 32px 0;\n padding: 16px 64px 16px 24px;\n border: 2px solid #069E08;\n border: 2px solid var(--jp-green-primary);\n border-radius: 4px;\n border-radius: var(--jp-border-radius);\n text-decoration: none; }\n .jp-cut span {\n display: block; }\n .jp-cut span:last-of-type {\n font-weight: 600; }\n .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type {\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-thickness: var(--jp-underline-thickness); }\n .jp-cut:hover:after, .jp-cut:focus:after {\n transform: translateY(-50%) translateX(8px); }\n .jp-cut:after {\n content: \"→\";\n position: absolute;\n top: 50%;\n right: 24px;\n font-size: 24px;\n font-weight: 600;\n color: #069E08;\n color: var(--jp-green-primary);\n transform: translateY(-50%);\n transition: transform 0.15s ease-out; }\n\n.jp-disconnect-dialog h1 {\n margin-top: 0;\n line-height: 1.2;\n font-size: 36px;\n font-size: var(--font-title-large);\n font-weight: 600; }\n\n.jp-disconnect-dialog h2 {\n margin: 0;\n line-height: 1.2;\n font-size: 24px;\n font-size: var(--font-title-small);\n font-weight: 400; }\n\n.jp-disconnect-dialog p {\n font-size: 16px;\n font-size: var(--font-body); }\n\n.jp-disconnect-dialog__link {\n font-size: 16px;\n font-size: var(--font-body);\n color: #000000;\n color: var(--jp-black);\n text-decoration: underline;\n height: auto;\n font: inherit;\n padding: 0; }\n .jp-disconnect-dialog__link:hover {\n color: #000000;\n color: var(--jp-black);\n text-decoration-thickness: 2px;\n text-decoration-thickness: var(--jp-underline-thickness); }\n .jp-disconnect-dialog__link:focus {\n color: #000000;\n color: var(--jp-black);\n box-shadow: none !important; }\n\n.jp-disconnect-dialog .components-button {\n height: 40px;\n font-size: var(--font-body-small);\n border-radius: 4px; }\n\n.jp-disconnect-dialog .components-modal__content {\n padding: 0; }\n\n.jp-disconnect-dialog .components-modal__header {\n display: none; }\n\n.jp-disconnect-dialog .jp-row {\n align-items: center; }\n\n.jp-disconnect-dialog__content {\n background: #F9F9F6;\n background: var(--jp-white-off);\n margin: 0;\n padding: 80px;\n border-radius: 4px;\n text-align: center; }\n\n.jp-disconnect-dialog__actions {\n background: #FFFFFF;\n background: var(--jp-white);\n padding: 10px 48px; }\n\n.jp-disconnect-dialog__btn-dismiss {\n background: #000000 !important;\n background: var(--jp-black) !important;\n margin-right: 10px; }\n\n.jp-disconnect-dialog__btn-disconnect {\n background: #D63639 !important;\n background: var(--jp-red) !important; }\n\n.jp-disconnect-dialog__btn-back-to-wp {\n background: #000000 !important;\n background: var(--jp-black) !important; }\n\n.jp-disconnect-dialog__button-wrap {\n text-align: center; }\n\n.jp-disconnect-dialog__error {\n color: #D63639;\n color: var(--jp-red); }\n\n.jp-disconnect-dialog__success .components-modal__content {\n background: #FFFFFF;\n background: var(--jp-white);\n padding: 50px; }\n\n.jp-disconnect-dialog__success h1 {\n margin-top: 20px; }\n\n@media (min-width: 960px) {\n .jp-disconnect-dialog {\n min-width: 900px; }\n .jp-disconnect-dialog__success {\n min-width: auto; }\n .jp-row {\n margin-left: 0px; } }\n","@charset \"UTF-8\";\n/********* RNA styles *********/\n:root {\n --font-title-large: 36px;\n --font-title-small: 24px;\n --font-body: 16px;\n --font-label: 12px;\n --jp-black: #000000;\n --jp-black-80: #2C3338;\n --jp-white: #FFFFFF;\n --jp-white-off: #F9F9F6;\n --jp-gray: #DCDCDE;\n --jp-gray-off: #E2E2DF;\n --jp-red: #D63639;\n --jp-green-primary: #069E08;\n --jp-green-secondary: #2FB41F;\n --jp-border-radius: 4px;\n --jp-menu-border-height: 1px;\n --jp-underline-thickness: 2px; }\n\n/********* Mixins *********/\n/********* Generic styles *********/\n* {\n box-sizing: border-box; }\n\nbody {\n min-height: 100%;\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen-Sans\", \"Ubuntu\", \"Cantarell\", \"Helvetica Neue\", sans-serif; }\n\n.jp-wrap {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n max-width: 1128px;\n margin: 0 auto; }\n\n.jp-row {\n display: grid;\n grid-gap: 24px;\n grid-template-columns: repeat(4, 1fr);\n width: 100%;\n margin: 0 16px; }\n @media (min-width: 600px) {\n .jp-row {\n grid-template-columns: repeat(8, 1fr);\n margin: 0 18px; } }\n @media (min-width: 960px) {\n .jp-row {\n grid-template-columns: repeat(12, 1fr);\n max-width: 1128px;\n margin: 0 24px; } }\n\n.sm-col-span-1 {\n grid-column-end: span 1; }\n\n.sm-col-span-2 {\n grid-column-end: span 2; }\n\n.sm-col-span-3 {\n grid-column-end: span 3; }\n\n.sm-col-span-4 {\n grid-column-end: span 4; }\n\n@media (min-width: 600px) {\n .md-col-span-1 {\n grid-column-end: span 1; }\n .md-col-span-2 {\n grid-column-end: span 2; }\n .md-col-span-3 {\n grid-column-end: span 3; }\n .md-col-span-4 {\n grid-column-end: span 4; }\n .md-col-span-5 {\n grid-column-end: span 5; }\n .md-col-span-6 {\n grid-column-end: span 6; }\n .md-col-span-7 {\n grid-column-end: span 7; }\n .md-col-span-8 {\n grid-column-end: span 8; } }\n\n@media (min-width: 960px) {\n .lg-col-span-1 {\n grid-column-end: span 1; }\n .lg-col-span-2 {\n grid-column-end: span 2; }\n .lg-col-span-3 {\n grid-column-end: span 3; }\n .lg-col-span-4 {\n grid-column-end: span 4; }\n .lg-col-span-5 {\n grid-column-end: span 5; }\n .lg-col-span-6 {\n grid-column-end: span 6; }\n .lg-col-span-7 {\n grid-column-end: span 7; }\n .lg-col-span-8 {\n grid-column-end: span 8; }\n .lg-col-span-9 {\n grid-column-end: span 9; }\n .lg-col-span-10 {\n grid-column-end: span 10; }\n .lg-col-span-11 {\n grid-column-end: span 11; }\n .lg-col-span-12 {\n grid-column-end: span 12; } }\n\n@media (max-width: 960px) {\n .md-col-span-0 {\n display: none; } }\n\n@media (max-width: 600px) {\n .sm-col-span-0 {\n display: none; } }\n\n.jp-wrap {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n max-width: 1128px;\n margin: 0 auto; }\n\n.jp-row {\n display: grid;\n grid-gap: 24px;\n grid-template-columns: repeat(4, 1fr);\n width: 100%;\n margin: 0 16px; }\n @media (min-width: 600px) {\n .jp-row {\n grid-template-columns: repeat(8, 1fr);\n margin: 0 18px; } }\n @media (min-width: 960px) {\n .jp-row {\n grid-template-columns: repeat(12, 1fr);\n max-width: 1128px;\n margin: 0 24px; } }\n\n.jp-cut {\n position: relative;\n display: block;\n margin: 32px 0;\n padding: 16px 64px 16px 24px;\n border: 2px solid #069E08;\n border: 2px solid var(--jp-green-primary);\n border-radius: 4px;\n border-radius: var(--jp-border-radius);\n text-decoration: none; }\n .jp-cut span {\n display: block; }\n .jp-cut span:last-of-type {\n font-weight: 600; }\n .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type {\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-thickness: var(--jp-underline-thickness); }\n .jp-cut:hover:after, .jp-cut:focus:after {\n transform: translateY(-50%) translateX(8px); }\n .jp-cut:after {\n content: \"→\";\n position: absolute;\n top: 50%;\n right: 24px;\n font-size: 24px;\n font-weight: 600;\n color: #069E08;\n color: var(--jp-green-primary);\n transform: translateY(-50%);\n transition: transform 0.15s ease-out; }\n\n.jp-connection-status-card h3 {\n font-size: 36px;\n line-height: 40px; }\n\n.jp-connection-status-card a, .jp-connection-status-card a:active, .jp-connection-status-card a:hover {\n color: #000000;\n color: var(--jp-black); }\n\n.jp-connection-status-card p {\n margin: 16px 0; }\n\n.jp-connection-status-card p, .jp-connection-status-card a, .jp-connection-status-card li {\n font-size: 16px;\n line-height: 24px; }\n\n.jp-connection-status-card--status {\n display: flex;\n align-items: center; }\n\n.jp-connection-status-card--cloud {\n background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZ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MxRTFFMUUiLz4KPC9nPgo8L3N2Zz4K\");\n width: 42px;\n height: 42px;\n margin-right: 4px; }\n\n.jp-connection-status-card--jetpack-logo {\n background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDMyQzI0LjgzNjYgMzIgMzIgMjQuODM2NiAzMiAxNkMzMiA3LjE2MzQ0IDI0LjgzNjYgMCAxNiAwQzcuMTYzNDQgMCAwIDcuMTYzNDQgMCAxNkMwIDI0LjgzNjYgNy4xNjM0NCAzMiAxNiAzMloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNi43OTM5IDEzLjMxMjVWMjguODI0TDI0Ljc5MzkgMTMuMzEyNUgxNi43OTM5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjE3NTUgMTguNjU2N1YzLjE3NTc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==\");\n width: 32px;\n height: 32px;\n margin-left: 11px; }\n\n.jp-connection-status-card--btn-connect-user {\n height: 40px;\n font-size: var(--font-body-small);\n border-radius: 4px;\n background: #000000 !important;\n background: var(--jp-black) !important; }\n\n.jp-connection-status-card--avatar {\n border: 0;\n border-radius: 20px;\n width: 32px;\n height: 32px;\n background-color: #FFFFFF;\n background-color: var(--jp-white);\n background-repeat: no-repeat;\n background-size: contain;\n margin-left: -10px;\n background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiB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line.jp-connection-status-card--site-only {\n border-top-style: dashed; }\n\n.jp-connection-status-card--list {\n list-style-type: none; }\n .jp-connection-status-card--list li {\n padding-left: 25px;\n color: #000;\n margin-bottom: 9px; }\n .jp-connection-status-card--list-item-success {\n background: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==\") no-repeat 0 0; }\n .jp-connection-status-card--list-item-error {\n color: #D63639 !important;\n color: var(--jp-red) !important;\n background: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K\") no-repeat 0 0; }\n","#jetpack-connection-ui-container .jetpack-cui__header h1 {\n text-align: left;\n font-size: 4.6em;\n line-height: 1.2em; }\n","#jetpack-connection-ui-container {\n margin: 40px; }\n #jetpack-connection-ui-container p {\n font-size: 1.23em;\n line-height: 1.5em; }\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"index.css","mappings":"AACC;EACC;EACA;EACA;AAAF,C;ACJA;EACC;AACD;AACC;EACC;EACA;AACF,C;ACNA,gBAAgB;ACAhB;AAGA;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;ADHD;;ACMA;AAeA;AAGA;EACC;ADnBD;;ACsBA;EACC;EACA;EACA;EACA;ADnBD;;ACqBA;EACC;EACA;EACA;EACA;EACA;ADlBD;;ACqBA;EACC;EACA;EACA;EACA;EACA;ADlBD;ACrBC;EAkCD;IAQE;IACA;EDjBA;AACF;ACxBC;EA+BD;IAaE;IACA;IACA;EDhBA;AACF;;ACoBC;EACC;ADjBF;;ACgBC;EACC;ADbF;;ACYC;EACC;ADTF;;ACQC;EACC;ADLF;;AClDC;EA6DC;IACC;EDPD;;ECMA;IACC;EDHD;;ECEA;IACC;EDCD;;ECFA;IACC;EDKD;;ECNA;IACC;EDSD;;ECVA;IACC;EDaD;;ECdA;IACC;EDiBD;;EClBA;IACC;EDqBD;AACF;ACjFC;EAkEC;IACC;EDkBD;;ECnBA;IACC;EDsBD;;ECvBA;IACC;ED0BD;;EC3BA;IACC;ED8BD;;EC/BA;IACC;EDkCD;;ECnCA;IACC;EDsCD;;ECvCA;IACC;ED0CD;;EC3CA;IACC;ED8CD;;EC/CA;IACC;EDkDD;;ECnDA;IACC;EDsDD;;ECvDA;IACC;ED0DD;;EC3DA;IACC;ED8DD;AACF;AC3HC;EAkEA;IACC;ED4DA;AACF;ACnIC;EA2EA;IACC;ED2DA;AACF;ACxDA;EACC;EACA;EACA;EACA;EACA;AD0DD;;ACvDA;EACC;EACA;EACA;EACA;EACA;AD0DD;AC9JC;EA+FD;IAQE;IACA;ED2DA;AACF;ACjKC;EA4FD;IAaE;IACA;IACA;ED4DA;AACF;;ACzDA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AD4DD;AC1DC;EACC;AD4DF;AC1DE;EACC;AD4DH;ACpDE;EACC;EACA;ADsDH;ACnDE;EACC;ADqDH;ACjDC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ADmDF;;AArOC;EACC;EACA;AAwOF;AArOC;EACC;AAuOF;AApOC;EACC;AAsOF;AAnOC;EACC;EACA;AAqOF;AAlOC;EACC;EACA;AAoOF;AAjOC;EACC;EACA;EACA;EACA;AAmOF;AAhOC;EACC;EACA;EACA;EACA;AAkOF;AA/NC;EACC;EACA;EACA;EACA;AAiOF;AA9NC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAgOF;AA7NC;EACC;EACA;EACA;AA+NF;AA7NE;EACC;AA+NH;AA3NC;EACC;AA6NF;AA3NE;EACC;EACA;EACA;AA6NH;AA1NE;EACC;AA4NH;AAzNE;EACC;EACA;AA2NH,C;AE/SA,gBAAgB;ADAhB;AAGA;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;ACHD;;ADMA;AAeA;AAGA;EACC;ACnBD;;ADsBA;EACC;EACA;EACA;EACA;ACnBD;;ADqBA;EACC;EACA;EACA;EACA;EACA;AClBD;;ADqBA;EACC;EACA;EACA;EACA;EACA;AClBD;ADrBC;EAkCD;IAQE;IACA;ECjBA;AACF;ADxBC;EA+BD;IAaE;IACA;IACA;EChBA;AACF;;ADoBC;EACC;ACjBF;;ADgBC;EACC;ACbF;;ADYC;EACC;ACTF;;ADQC;EACC;ACLF;;ADlDC;EA6DC;IACC;ECPD;;EDMA;IACC;ECHD;;EDEA;IACC;ECCD;;EDFA;IACC;ECKD;;EDNA;IACC;ECSD;;EDVA;IACC;ECaD;;EDdA;IACC;ECiBD;;EDlBA;IACC;ECqBD;AACF;ADjFC;EAkEC;IACC;ECkBD;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;;;EAAA;AA8DA;;EAAA;AA8BA;;EAAA;AAqCA;;EAAA;AAqBA;;EAAA;AAyKA;;;EAAA;AAcA;;EAAA;ACjYA;EACC;EACA;EACA;EACA;AAmCD;AAjCC;EACC;AAmCF;AAhCC;EACC;AAkCF;AA/BC;EACC;AAiCF;ADdC;ECpBA;IAIE;EAkCD;AACF;AAhCE;EACC;AAkCH;AA/BE;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AAiCH;AA9BE;EACC;EACA;EACA;EACA;AAgCH;AA7BE;EACC;EACA;AA+BH;AA5BE;EACC;AA8BH;AA5BG;EACC;EACA;EACA;EACA;EACA;AA8BJ;AA5BI;EACC;EACA;AA8BL;AAzBE;EACC;EACA;AA2BH;AAxBE;EACC;AA0BH;AAxBG;EACC;AA0BJ;AAxBI;EACC;AA0BL;AArBE;EACC;EACA;AAuBH;AAnBC;EACC;AAqBF;AAnBE;EACC;AAqBH;AAhBE;EACC;EACA;AAkBH;ADpGC;ECgFC;IAKE;EAmBF;AACF;AAhBE;EACC;EACA;EACA;EACA;AAkBH;AD/GC;ECyFC;IAOE;EAmBF;AACF;AAfC;EACC;AAiBF,C;ACzIC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAF,C;ACZA;EACC;IACC;EACA;AACF;AAEA;EACC;EACA;AAAD;;AAGA;EACC;EACA;EACA;EACA;EACA;EACA;AAAD;;AAGA;EACC;AAAD;;AAGA;EACC;EACA;EACA;EACA;EACA;AAAD,C","sources":["webpack://jetpack-connection-manager-ui/./_inc/components/header/style.scss","webpack://jetpack-connection-manager-ui/./_inc/components/admin/style.scss","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connection-status-card/style.scss","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/rna-styles.scss","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/disconnect-dialog/style.scss","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@wordpress+base-styles@3.6.0/node_modules/@wordpress/base-styles/_breakpoints.scss","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@wordpress+base-styles@3.6.0/node_modules/@wordpress/base-styles/_functions.scss","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@wordpress+base-styles@3.6.0/node_modules/@wordpress/base-styles/_mixins.scss","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-screen/style.scss","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-button/style.scss","webpack://jetpack-connection-manager-ui/../../js-packages/components/components/spinner/style.scss"],"sourcesContent":["#jetpack-connection-ui-container .jetpack-cui__header {\n\th1 {\n\t\ttext-align: left;\n\t\tfont-size: 4.6em;\n\t\tline-height: 1.2em;\n\t}\n}\n","#jetpack-connection-ui-container {\n\tmargin: 40px;\n\n\tp {\n\t\tfont-size: 1.23em;\n\t\tline-height: 1.5em;\n\t}\n}\n","@import '../rna-styles';\n\n.jp-connection-status-card {\n\th3 {\n\t\tfont-size: 36px;\n\t\tline-height: 40px;\n\t}\n\n\ta, a:active, a:hover {\n\t\tcolor: var( --jp-black );\n\t}\n\n\tp {\n\t\tmargin: 16px 0;\n\t}\n\n\tp, a, li {\n\t\tfont-size: 16px;\n\t\tline-height: 24px;\n\t}\n\n\t&--status {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t&--cloud {\n\t\tbackground-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI3IiB5PSI5IiB3aWR0aD0iMjgiIGhlaWdodD0iMjEiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZ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E2IDMyQzI0LjgzNjYgMzIgMzIgMjQuODM2NiAzMiAxNkMzMiA3LjE2MzQ0IDI0LjgzNjYgMCAxNiAwQzcuMTYzNDQgMCAwIDcuMTYzNDQgMCAxNkMwIDI0LjgzNjYgNy4xNjM0NCAzMiAxNiAzMloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNi43OTM5IDEzLjMxMjVWMjguODI0TDI0Ljc5MzkgMTMuMzEyNUgxNi43OTM5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjE3NTUgMTguNjU2N1YzLjE3NTc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==\");\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tmargin-left: 11px;\n\t}\n\n\t&--btn-connect-user {\n\t\theight: 40px;\n\t\tfont-size: var( --font-body-small );\n\t\tborder-radius: 4px;\n\t\tbackground: var( --jp-black ) !important;\n\t}\n\n\t&--avatar {\n\t\tborder: 0;\n\t\tborder-radius: 20px;\n\t\twidth: 32px;\n\t\theight: 32px;\n\t\tbackground-color: var( --jp-white );\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: contain;\n\t\tmargin-left: -10px;\n\t\tbackground-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI0IiB5PSI0IiB3aWR0aD0iMTciIGhlaWdodD0iMTYiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjI4NSA0QzEwLjA4NTggNCA4LjMwNDU5IDUuNzkgOC4zMDQ1OSA4QzguMzA0NTkgMTAuMjEgMTAuMDg1OCAxMiAxMi4yODUgMTJDMTQuNDg0MSAxMiAxNi4yNjUzIDEwLjIxIDE2LjI2NTMgOEMxNi4yNjUzIDUuNzkgMTQuNDg0MSA0IDEyLjI4NSA0Wk0xNC4yNzUxIDhDMTQuMjc1MSA2LjkgMTMuMzc5NiA2IDEyLjI4NSA2QzExLjE5MDQgNiAxMC4yOTQ4IDYuOSAxMC4yOTQ4IDhDMTAuMjk0OCA5LjEgMTEuMTkwNCAxMCAxMi4yODUgMTBDMTMuMzc5NiAxMCAxNC4yNzUxIDkuMSAxNC4yNzUxIDhaTTE4LjI1NTUgMThDMTguMDU2NSAxNy4yOSAxNC45NzE3IDE2IDEyLjI4NSAxNkM5LjYwODE2IDE2IDYuNTQzMjcgMTcuMjggNi4zMTQ0IDE4SDE4LjI1NTVaTTQuMzI0MjIgMThDNC4zMjQyMiAxNS4zNCA5LjYyODA2IDE0IDEyLjI4NSAxNEMxNC45NDE4IDE0IDIwLjI0NTcgMTUuMzQgMjAuMjQ1NyAxOFYyMEg0LjMyNDIyVjE4WiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swKSI+CjxyZWN0IHg9IjAuMzQzNzUiIHdpZHRoPSIyMy44ODIyIiBoZWlnaHQ9IjI0IiBmaWxsPSIjYTJhYWIyIi8+CjwvZz4KPC9zdmc+Cg==\");\n\t}\n\n\t&--line {\n\t\twidth: 67px;\n\t\theight: 0;\n\t\tborder-top: 2px solid #000000;\n\n\t\t&.jp-connection-status-card--site-only {\n\t\t\tborder-top-style: dashed;\n\t\t}\n\t}\n\n\t&--list {\n\t\tlist-style-type: none;\n\n\t\tli {\n\t\t\tpadding-left: 25px;\n\t\t\tcolor: #000;\n\t\t\tmargin-bottom: 9px;\n\t\t}\n\n\t\t&-item-success {\n\t\t\tbackground: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==\") no-repeat 0 0;\n\t\t}\n\n\t\t&-item-error {\n\t\t\tcolor: var( --jp-red ) !important;\n\t\t\tbackground: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K\") no-repeat 0 0;\n\t\t}\n\t}\n}\n","/********* RNA styles *********/\n// We should extract this into a package\n\n:root {\n\t--font-title-large: 36px;\n\t--font-title-small: 24px;\n\t--font-body: 16px;\n\t--font-label: 12px;\n\t\n\t--jp-black: #000000;\n\t--jp-black-80: #2C3338;\n\t--jp-white: #FFFFFF;\n\t--jp-white-off: #F9F9F6;\n\t--jp-gray: #DCDCDE;\n\t--jp-gray-off: #E2E2DF;\n\t--jp-red: #D63639;\n\n\t--jp-green-primary: #069E08;\n\t--jp-green-secondary: #2FB41F;\n\n\t--jp-border-radius: 4px;\n\t--jp-menu-border-height: 1px;\n\t--jp-underline-thickness: 2px;\n}\n\n/********* Mixins *********/\n@mixin for-phone-up {\n\t@media (min-width: 600px) { @content; }\n}\n@mixin for-tablet-up {\n\t@media (min-width: 960px) { @content; }\n}\n\n@mixin for-phone-down {\n\t@media (max-width: 600px) { @content; }\n}\n@mixin for-tablet-down {\n\t@media (max-width: 960px) { @content; }\n}\n\n/********* Generic styles *********/\n$wp-gray-dark: #23282D;\n\n* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tmin-height: 100%;\n\tmargin: 0;\n\tpadding: 0;\n\tfont-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen-Sans\", \"Ubuntu\", \"Cantarell\", \"Helvetica Neue\", sans-serif;\n}\n.jp-wrap {\n\tdisplay: flex;\n\talign-items: center;\n\tflex-wrap: wrap;\n\tmax-width: 1128px;\n\tmargin: 0 auto;\n}\n\n.jp-row {\n\tdisplay: grid;\n\tgrid-gap: 24px;\n\tgrid-template-columns: repeat(4, 1fr);\n\twidth: 100%;\n\tmargin: 0 16px;\n\t\n\t@include for-phone-up {\n\t\tgrid-template-columns: repeat(8, 1fr);\n\t\tmargin: 0 18px;\n\t}\n\t\n\t@include for-tablet-up {\n\t\tgrid-template-columns: repeat(12, 1fr);\n\t\tmax-width: 1128px;\n\t\tmargin: 0 24px;\n\t}\n}\n\n@for $i from 1 through 4 {\n\t.sm-col-span-#{$i} {\n\t\tgrid-column-end: span #{$i};\n\t}\n}\n\n@include for-phone-up {\n\t@for $i from 1 through 8 {\n\t\t.md-col-span-#{$i} {\n\t\t\tgrid-column-end: span #{$i};\n\t\t}\n\t}\n}\n\n@include for-tablet-up {\n\t@for $i from 1 through 12 {\n\t\t.lg-col-span-#{$i} {\n\t\t\tgrid-column-end: span #{$i};\n\t\t}\n\t}\n}\n\n@include for-tablet-down {\n\t.md-col-span-0 {\n\t\tdisplay: none;\n\t}\n}\n\n@include for-phone-down {\n\t.sm-col-span-0 {\n\t\tdisplay: none;\n\t}\n}\n\n.jp-wrap {\n\tdisplay: flex;\n\talign-items: center;\n\tflex-wrap: wrap;\n\tmax-width: 1128px;\n\tmargin: 0 auto;\n}\n\n.jp-row {\n\tdisplay: grid;\n\tgrid-gap: 24px;\n\tgrid-template-columns: repeat(4, 1fr);\n\twidth: 100%;\n\tmargin: 0 16px;\n\t\n\t@include for-phone-up {\n\t\tgrid-template-columns: repeat(8, 1fr);\n\t\tmargin: 0 18px;\n\t}\n\t\n\t@include for-tablet-up {\n\t\tgrid-template-columns: repeat(12, 1fr);\n\t\tmax-width: 1128px;\n\t\tmargin: 0 24px;\n\t}\n}\n\n.jp-cut {\n\tposition: relative;\n\tdisplay: block;\n\tmargin: 32px 0;\n\tpadding: 16px 64px 16px 24px;\n\tborder: 2px solid var( --jp-green-primary );\n\tborder-radius: var( --jp-border-radius );\n\ttext-decoration: none;\n\n\tspan {\n\t\tdisplay: block;\n\n\t\t&:last-of-type {\n\t\t\tfont-weight: 600;\n\t\t}\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\t//box-shadow: 0px 0px 40px rgba( 0, 0, 0, 0.08 );\n\n\t\tspan:last-of-type {\n\t\t\ttext-decoration: underline;\n\t\t\ttext-decoration-thickness: var( --jp-underline-thickness );\n\t\t}\n\n\t\t&:after {\n\t\t\ttransform: translateY( -50% ) translateX( 8px );\n\t\t}\n\t}\n\n\t&:after {\n\t\tcontent: \"→\";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tright: 24px;\n\t\tfont-size: 24px;\n\t\tfont-weight: 600;\n\t\tcolor: var( --jp-green-primary );\n\t\ttransform: translateY( -50% );\n\t\ttransition: transform 0.15s ease-out;\n\t}\n}\n","@import '../rna-styles';\n\n.jp-disconnect-dialog {\n\th1 {\n\t\tmargin-top: 0;\n\t\tline-height: 1.2;\n\t\tfont-size: var( --font-title-large );\n\t\tfont-weight: 600;\n\t}\n\n\th2 {\n\t\tmargin: 0;\n\t\tline-height: 1.2;\n\t\tfont-size: var( --font-title-small );\n\t\tfont-weight: 400;\n\t}\n\n\tp {\n\t\tfont-size: var( --font-body );\n\t}\n\n\t&__link{\n\t\tfont-size: var( --font-body );\n\t\tcolor: var( --jp-black );\n\t\ttext-decoration: underline;\n\t\theight: auto;\n\t\tfont: inherit;\n\t\tpadding: 0;\n\n\t\t&:hover {\n\t\t\tcolor: var( --jp-black );\n\t\t\ttext-decoration-thickness: var( --jp-underline-thickness );\n\t\t}\n\n\t\t&:focus {\n\t\t\tcolor: var( --jp-black );\n\t\t\tbox-shadow: none !important;\n\t\t}\n\t}\n\n\t.components-button{\n\t\theight: 40px;\n\t\tfont-size: var( --font-body-small );\n\t\tborder-radius: 4px;\n\t}\n\n\t.components-modal{\n\t\t&__content{\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t&__header{\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t.jp-row {\n\t\talign-items: center;\n\t}\n\n\t&__content{\n\t\tbackground: var( --jp-white-off );\n\t\tmargin: 0;\n\t\tpadding: 80px;\n\t\tborder-radius: 4px;\n\t\ttext-align: center;\n\t}\n\n\t&__actions{\n\t\tbackground: var( --jp-white );\n\t\tpadding: 10px 48px;\n\t}\n\n\t&__btn-dismiss{\n\t\tbackground: var( --jp-black ) !important;\n\t\tmargin-right: 10px;\n\t}\n\n\t&__btn-disconnect{\n\t\tbackground: var( --jp-red ) !important;\n\t}\n\n\t&__btn-back-to-wp{\n\t\tbackground: var( --jp-black ) !important;\n\t}\n\n\t&__button-wrap{\n\t\ttext-align: center;\n\t}\n\n\t&__error{\n\t\tcolor: var( --jp-red );\n\t}\n\n\t&__success{\n\n\t\t.components-modal{\n\n\t\t\t&__content {\n\t\t\t\tbackground: var( --jp-white );\n\t\t\t\tpadding: 50px;\n\t\t\t}\n\t\t}\n\n\t\th1 {\n\t\t\tmargin-top: 20px;\n\t\t}\n\t}\n}\n\n\n@media (min-width: 960px){\n\t.jp-disconnect-dialog{\n\t\tmin-width: 900px;\n\t\t\n\t\t&__success{\n\t\t\tmin-width: auto;\n\t\t}\n\t}\n\n\t.jp-row {\n\t\tmargin-left: 0px;\n\t}\n}\n","/**\n * Breakpoints & Media Queries\n */\n\n// Most used breakpoints\n$break-huge: 1440px;\n$break-wide: 1280px;\n$break-xlarge: 1080px;\n$break-large: 960px;\t// admin sidebar auto folds\n$break-medium: 782px;\t// adminbar goes big\n$break-small: 600px;\n$break-mobile: 480px;\n$break-zoomed-in: 280px;\n\n// All media queries currently in WordPress:\n//\n// min-width: 2000px\n// min-width: 1680px\n// min-width: 1250px\n// max-width: 1120px *\n// max-width: 1000px\n// min-width: 769px and max-width: 1000px\n// max-width: 960px *\n// max-width: 900px\n// max-width: 850px\n// min-width: 800px and max-width: 1499px\n// max-width: 800px\n// max-width: 799px\n// max-width: 782px *\n// max-width: 768px\n// max-width: 640px *\n// max-width: 600px *\n// max-width: 520px\n// max-width: 500px\n// max-width: 480px *\n// max-width: 400px *\n// max-width: 380px\n// max-width: 320px *\n//\n// Those marked * seem to be more commonly used than the others.\n// Let's try and use as few of these as possible, and be mindful about adding new ones, so we don't make the situation worse\n","/**\n* Converts a hex value into the rgb equivalent.\n*\n* @param {string} hex - the hexadecimal value to convert\n* @return {string} comma separated rgb values\n*/\n@function hex-to-rgb($hex) {\n\t@return red($hex), green($hex), blue($hex);\n}\n","@import \"./functions\";\n\n/**\n * Breakpoint mixins\n */\n\n@mixin break-huge() {\n\t@media (min-width: #{ ($break-huge) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-wide() {\n\t@media (min-width: #{ ($break-wide) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-xlarge() {\n\t@media (min-width: #{ ($break-xlarge) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-large() {\n\t@media (min-width: #{ ($break-large) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-medium() {\n\t@media (min-width: #{ ($break-medium) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-small() {\n\t@media (min-width: #{ ($break-small) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-mobile() {\n\t@media (min-width: #{ ($break-mobile) }) {\n\t\t@content;\n\t}\n}\n\n@mixin break-zoomed-in() {\n\t@media (min-width: #{ ($break-zoomed-in) }) {\n\t\t@content;\n\t}\n}\n\n\n/**\n * Long content fade mixin\n *\n * Creates a fading overlay to signify that the content is longer\n * than the space allows.\n */\n\n@mixin long-content-fade($direction: right, $size: 20%, $color: #fff, $edge: 0, $z-index: false) {\n\tcontent: \"\";\n\tdisplay: block;\n\tposition: absolute;\n\t-webkit-touch-callout: none;\n\t-webkit-user-select: none;\n\t-khtml-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\tpointer-events: none;\n\n\t@if $z-index {\n\t\tz-index: $z-index;\n\t}\n\n\t@if $direction == \"bottom\" {\n\t\tbackground: linear-gradient(to top, rgba($color, 0), $color 90%);\n\t\tleft: $edge;\n\t\tright: $edge;\n\t\ttop: $edge;\n\t\tbottom: calc(100% - $size);\n\t\twidth: auto;\n\t}\n\n\t@if $direction == \"top\" {\n\t\tbackground: linear-gradient(to bottom, rgba($color, 0), $color 90%);\n\t\ttop: calc(100% - $size);\n\t\tleft: $edge;\n\t\tright: $edge;\n\t\tbottom: $edge;\n\t\twidth: auto;\n\t}\n\n\t@if $direction == \"left\" {\n\t\tbackground: linear-gradient(to left, rgba($color, 0), $color 90%);\n\t\ttop: $edge;\n\t\tleft: $edge;\n\t\tbottom: $edge;\n\t\tright: auto;\n\t\twidth: $size;\n\t\theight: auto;\n\t}\n\n\t@if $direction == \"right\" {\n\t\tbackground: linear-gradient(to right, rgba($color, 0), $color 90%);\n\t\ttop: $edge;\n\t\tbottom: $edge;\n\t\tright: $edge;\n\t\tleft: auto;\n\t\twidth: $size;\n\t\theight: auto;\n\t}\n}\n\n/**\n * Focus styles.\n */\n\n@mixin block-toolbar-button-style__focus() {\n\tbox-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px $white;\n\n\t// Windows High Contrast mode will show this outline, but not the box-shadow.\n\toutline: 2px solid transparent;\n}\n\n// Tabs, Inputs, Square buttons.\n@mixin input-style__neutral() {\n\tbox-shadow: 0 0 0 transparent;\n\ttransition: box-shadow 0.1s linear;\n\tborder-radius: $radius-block-ui;\n\tborder: $border-width solid $gray-700;\n\t@include reduce-motion(\"transition\");\n}\n\n\n@mixin input-style__focus() {\n\tborder-color: var(--wp-admin-theme-color);\n\tbox-shadow: 0 0 0 ($border-width-focus - $border-width) var(--wp-admin-theme-color);\n\n\t// Windows High Contrast mode will show this outline, but not the box-shadow.\n\toutline: 2px solid transparent;\n}\n\n\n/**\n * Applies editor left position to the selector passed as argument\n */\n\n@mixin editor-left($selector) {\n\t#{$selector} { /* Set left position when auto-fold is not on the body element. */\n\t\tleft: 0;\n\n\t\t@media (min-width: #{ ($break-medium + 1) }) {\n\t\t\tleft: $admin-sidebar-width;\n\t\t}\n\t}\n\n\t.auto-fold #{$selector} { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */\n\t\t@media (min-width: #{ ($break-medium + 1) }) {\n\t\t\tleft: $admin-sidebar-width-collapsed;\n\t\t}\n\n\t\t@media (min-width: #{ ($break-large + 1) }) {\n\t\t\tleft: $admin-sidebar-width;\n\t\t}\n\t}\n\n\t/* Sidebar manually collapsed. */\n\t.folded #{$selector} {\n\t\tleft: 0;\n\n\t\t@media (min-width: #{ ($break-medium + 1) }) {\n\t\t\tleft: $admin-sidebar-width-collapsed;\n\t\t}\n\t}\n\n\tbody.is-fullscreen-mode #{$selector} {\n\t\tleft: 0 !important;\n\t}\n}\n\n/**\n * Styles that are reused verbatim in a few places\n */\n\n// These are additional styles for all captions, when the theme opts in to block styles.\n@mixin caption-style() {\n\tmargin-top: 0.5em;\n\tmargin-bottom: 1em;\n}\n\n@mixin caption-style-theme() {\n\tcolor: #555;\n\tfont-size: $default-font-size;\n\ttext-align: center;\n\n\t.is-dark-theme & {\n\t\tcolor: $light-gray-placeholder;\n\t}\n}\n\n\n/**\n * Allows users to opt-out of animations via OS-level preferences.\n */\n\n@mixin reduce-motion($property: \"\") {\n\n\t@if $property == \"transition\" {\n\t\t@media (prefers-reduced-motion: reduce) {\n\t\t\ttransition-duration: 0s;\n\t\t\ttransition-delay: 0s;\n\t\t}\n\t}\n\n\t@else if $property == \"animation\" {\n\t\t@media (prefers-reduced-motion: reduce) {\n\t\t\tanimation-duration: 1ms;\n\t\t\tanimation-delay: 0s;\n\t\t}\n\t}\n\n\t@else {\n\t\t@media (prefers-reduced-motion: reduce) {\n\t\t\ttransition-duration: 0s;\n\t\t\ttransition-delay: 0s;\n\t\t\tanimation-duration: 1ms;\n\t\t\tanimation-delay: 0s;\n\t\t}\n\t}\n\n}\n\n@mixin input-control {\n\tfont-family: $default-font;\n\tpadding: 6px 8px;\n\t@include input-style__neutral();\n\n\t/* Fonts smaller than 16px causes mobile safari to zoom. */\n\tfont-size: $mobile-text-min-font-size;\n\t/* Override core line-height. To be reviewed. */\n\tline-height: normal;\n\t@include break-small {\n\t\tfont-size: $default-font-size;\n\t\t/* Override core line-height. To be reviewed. */\n\t\tline-height: normal;\n\t}\n\n\t&:focus {\n\t\t@include input-style__focus();\n\t}\n\n\t// Use opacity to work in various editor styles.\n\t&::-webkit-input-placeholder {\n\t\tcolor: $dark-gray-placeholder;\n\t}\n\n\t&::-moz-placeholder {\n\t\topacity: 1; // Necessary because Firefox reduces this from 1.\n\t\tcolor: $dark-gray-placeholder;\n\t}\n\n\t&:-ms-input-placeholder {\n\t\tcolor: $dark-gray-placeholder;\n\t}\n}\n\n@mixin checkbox-control {\n\t@include input-control;\n\tborder: $border-width solid $gray-900;\n\tmargin-right: $grid-unit-15;\n\ttransition: none;\n\tborder-radius: $radius-block-ui;\n\n\t&:focus {\n\t\tbox-shadow: 0 0 0 ($border-width * 2) $white, 0 0 0 ($border-width * 2 + $border-width-focus) var(--wp-admin-theme-color);\n\n\t\t// Only visible in Windows High Contrast mode.\n\t\toutline: 2px solid transparent;\n\t}\n\n\t&:checked {\n\t\tbackground: var(--wp-admin-theme-color);\n\t\tborder-color: var(--wp-admin-theme-color);\n\n\t\t// Hide default checkbox styles in IE.\n\t\t&::-ms-check {\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t&:checked::before,\n\t&[aria-checked=\"mixed\"]::before {\n\t\tmargin: -3px -5px;\n\t\tcolor: $white;\n\n\t\t@include break-medium() {\n\t\t\tmargin: -4px 0 0 -5px;\n\t\t}\n\t}\n\n\t&[aria-checked=\"mixed\"] {\n\t\tbackground: var(--wp-admin-theme-color);\n\t\tborder-color: var(--wp-admin-theme-color);\n\n\t\t&::before {\n\t\t\t// Inherited from `forms.css`.\n\t\t\t// See: https://github.com/WordPress/wordpress-develop/tree/5.1.1/src/wp-admin/css/forms.css#L122-L132\n\t\t\tcontent: \"\\f460\";\n\t\t\tfloat: left;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t\twidth: 16px;\n\t\t\t/* stylelint-disable */\n\t\t\tfont: normal 30px/1 dashicons;\n\t\t\t/* stylelint-enable */\n\t\t\tspeak: none;\n\t\t\t-webkit-font-smoothing: antialiased;\n\t\t\t-moz-osx-font-smoothing: grayscale;\n\n\t\t\t@include break-medium() {\n\t\t\t\tfloat: none;\n\t\t\t\tfont-size: 21px;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@mixin radio-control {\n\t@include input-control;\n\tborder: $border-width solid $gray-900;\n\tmargin-right: $grid-unit-15;\n\ttransition: none;\n\tborder-radius: $radius-round;\n\twidth: $radio-input-size-sm;\n\theight: $radio-input-size-sm;\n\n\t@include break-small() {\n\t\theight: $radio-input-size;\n\t\twidth: $radio-input-size;\n\t}\n\n\t&:checked::before {\n\t\tbox-sizing: inherit;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\ttransform: translate(7px, 7px);\n\t\tmargin: 0;\n\t\tbackground-color: $white;\n\n\t\t// This border serves as a background color in Windows High Contrast mode.\n\t\tborder: 4px solid $white;\n\n\t\t@include break-small() {\n\t\t\ttransform: translate(5px, 5px);\n\t\t}\n\t}\n\n\t&:focus {\n\t\tbox-shadow: 0 0 0 ($border-width * 2) $white, 0 0 0 ($border-width * 2 + $border-width-focus) var(--wp-admin-theme-color);\n\n\t\t// Only visible in Windows High Contrast mode.\n\t\toutline: 2px solid transparent;\n\t}\n\n\t&:checked {\n\t\tbackground: var(--wp-admin-theme-color);\n\t\tborder-color: var(--wp-admin-theme-color);\n\t}\n}\n\n/**\n * Reset default styles for JavaScript UI based pages.\n * This is a WP-admin agnostic reset\n */\n@mixin reset {\n\tbox-sizing: border-box;\n\n\t*,\n\t*::before,\n\t*::after {\n\t\tbox-sizing: inherit;\n\t}\n}\n\n/**\n * Reset the WP Admin page styles for Gutenberg-like pages.\n */\n@mixin wp-admin-reset( $content-container ) {\n\tbackground: $white;\n\n\t#wpcontent {\n\t\tpadding-left: 0;\n\t}\n\n\t#wpbody-content {\n\t\tpadding-bottom: 0;\n\t}\n\n\t/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.\n\t Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */\n\t#wpbody-content > div:not(#{ $content-container }):not(#screen-meta) {\n\t\tdisplay: none;\n\t}\n\n\t#wpfooter {\n\t\tdisplay: none;\n\t}\n\n\t.a11y-speak-region {\n\t\tleft: -1px;\n\t\ttop: -1px;\n\t}\n\n\tul#adminmenu a.wp-has-current-submenu::after,\n\tul#adminmenu > li.current > a.current::after {\n\t\tborder-right-color: $white;\n\t}\n\n\t.media-frame select.attachment-filters:last-of-type {\n\t\twidth: auto;\n\t\tmax-width: 100%;\n\t}\n}\n\n@mixin admin-scheme($color-primary) {\n\t// Define RGB equivalents for use in rgba function.\n\t// Hexadecimal css vars do not work in the rgba function.\n\t--wp-admin-theme-color: #{$color-primary};\n\t--wp-admin-theme-color--rgb: #{hex-to-rgb($color-primary)};\n\t// Darker shades.\n\t--wp-admin-theme-color-darker-10: #{darken($color-primary, 5%)};\n\t--wp-admin-theme-color-darker-10--rgb: #{hex-to-rgb(darken($color-primary, 5%))};\n\t--wp-admin-theme-color-darker-20: #{darken($color-primary, 10%)};\n\t--wp-admin-theme-color-darker-20--rgb: #{hex-to-rgb(darken($color-primary, 10%))};\n\n\t// Focus style width.\n\t// Avoid rounding issues by showing a whole 2px for 1x screens, and 1.5px on high resolution screens.\n\t--wp-admin-border-width-focus: 2px;\n\t@media ( -webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n\t\t--wp-admin-border-width-focus: 1.5px;\n\t}\n}\n\n@mixin wordpress-admin-schemes() {\n\tbody.admin-color-light {\n\t\t@include admin-scheme(#0085ba);\n\t}\n\n\tbody.admin-color-modern {\n\t\t@include admin-scheme(#3858e9);\n\t}\n\n\tbody.admin-color-blue {\n\t\t@include admin-scheme(#096484);\n\t}\n\n\tbody.admin-color-coffee {\n\t\t@include admin-scheme(#46403c);\n\t}\n\n\tbody.admin-color-ectoplasm {\n\t\t@include admin-scheme(#523f6d);\n\t}\n\n\tbody.admin-color-midnight {\n\t\t@include admin-scheme(#e14d43);\n\t}\n\n\tbody.admin-color-ocean {\n\t\t@include admin-scheme(#627c83);\n\t}\n\n\tbody.admin-color-sunrise {\n\t\t@include admin-scheme(#dd823b);\n\t}\n}\n\n@mixin background-colors() {\n\t.has-pale-pink-background-color {\n\t\tbackground-color: #f78da7;\n\t}\n\n\t.has-vivid-red-background-color {\n\t\tbackground-color: #cf2e2e;\n\t}\n\n\t.has-luminous-vivid-orange-background-color {\n\t\tbackground-color: #ff6900;\n\t}\n\n\t.has-luminous-vivid-amber-background-color {\n\t\tbackground-color: #fcb900;\n\t}\n\n\t.has-light-green-cyan-background-color {\n\t\tbackground-color: #7bdcb5;\n\t}\n\n\t.has-vivid-green-cyan-background-color {\n\t\tbackground-color: #00d084;\n\t}\n\n\t.has-pale-cyan-blue-background-color {\n\t\tbackground-color: #8ed1fc;\n\t}\n\n\t.has-vivid-cyan-blue-background-color {\n\t\tbackground-color: #0693e3;\n\t}\n\n\t.has-vivid-purple-background-color {\n\t\tbackground-color: #9b51e0;\n\t}\n\n\t.has-white-background-color {\n\t\tbackground-color: #fff;\n\t}\n\n\t// Deprecated from UI, kept for back-compat.\n\t.has-very-light-gray-background-color {\n\t\tbackground-color: #eee;\n\t}\n\n\t.has-cyan-bluish-gray-background-color {\n\t\tbackground-color: #abb8c3;\n\t}\n\n\t// Deprecated from UI, kept for back-compat.\n\t.has-very-dark-gray-background-color {\n\t\tbackground-color: #313131;\n\t}\n\n\t.has-black-background-color {\n\t\tbackground-color: #000;\n\t}\n}\n\n@mixin foreground-colors() {\n\t.has-pale-pink-color {\n\t\tcolor: #f78da7;\n\t}\n\n\t.has-vivid-red-color {\n\t\tcolor: #cf2e2e;\n\t}\n\n\t.has-luminous-vivid-orange-color {\n\t\tcolor: #ff6900;\n\t}\n\n\t.has-luminous-vivid-amber-color {\n\t\tcolor: #fcb900;\n\t}\n\n\t.has-light-green-cyan-color {\n\t\tcolor: #7bdcb5;\n\t}\n\n\t.has-vivid-green-cyan-color {\n\t\tcolor: #00d084;\n\t}\n\n\t.has-pale-cyan-blue-color {\n\t\tcolor: #8ed1fc;\n\t}\n\n\t.has-vivid-cyan-blue-color {\n\t\tcolor: #0693e3;\n\t}\n\n\t.has-vivid-purple-color {\n\t\tcolor: #9b51e0;\n\t}\n\n\t.has-white-color {\n\t\tcolor: #fff;\n\t}\n\n\t// Deprecated from UI, kept for back-compat.\n\t.has-very-light-gray-color {\n\t\tcolor: #eee;\n\t}\n\n\t.has-cyan-bluish-gray-color {\n\t\tcolor: #abb8c3;\n\t}\n\n\t// Deprecated from UI, kept for back-compat.\n\t.has-very-dark-gray-color {\n\t\tcolor: #313131;\n\t}\n\n\t.has-black-color {\n\t\tcolor: #000;\n\t}\n}\n\n@mixin gradient-colors() {\n\t// Our classes uses the same values we set for gradient value attributes, and we can not use spacing because of WP multi site kses rule.\n\n\t/* stylelint-disable function-comma-space-after */\n\t.has-vivid-cyan-blue-to-vivid-purple-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);\n\t}\n\n\t.has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%);\n\t}\n\n\t.has-light-green-cyan-to-vivid-green-cyan-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);\n\t}\n\n\t.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);\n\t}\n\n\t.has-luminous-vivid-orange-to-vivid-red-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);\n\t}\n\n\t.has-very-light-gray-to-cyan-bluish-gray-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);\n\t}\n\n\t.has-cool-to-warm-spectrum-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);\n\t}\n\n\t.has-blush-light-purple-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);\n\t}\n\n\t.has-blush-bordeaux-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);\n\t}\n\n\t.has-purple-crush-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(52,226,228) 0%,rgb(71,33,251) 50%,rgb(171,29,254) 100%);\n\t}\n\n\t.has-luminous-dusk-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);\n\t}\n\n\t.has-hazy-dawn-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(250,172,168) 0%,rgb(218,208,236) 100%);\n\t}\n\n\t.has-pale-ocean-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);\n\t}\n\n\t.has-electric-grass-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);\n\t}\n\n\t.has-subdued-olive-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(250,250,225) 0%,rgb(103,166,113) 100%);\n\t}\n\n\t.has-atomic-cream-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(253,215,154) 0%,rgb(0,74,89) 100%);\n\t}\n\n\t.has-nightshade-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(51,9,104) 0%,rgb(49,205,207) 100%);\n\t}\n\n\t.has-midnight-gradient-background {\n\t\tbackground: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);\n\t}\n\t/* stylelint-enable function-comma-space-after */\n}\n","@import '@wordpress/base-styles/breakpoints';\n@import '@wordpress/base-styles/mixins';\n\n.jp-connect-screen {\n\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;\n\tbackground: #FFFFFF;\n\tbox-shadow: 0 0 40px rgba(0, 0, 0, 0.08);\n\tborder-radius: 4px;\n\n\t&.jp-connect-screen--loading {\n\t\tdisplay: none;\n\t}\n\n\t.jp-connect-screen--left, .jp-connect-screen--right {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.jp-connect-screen--left {\n\t\tpadding: 25px;\n\n\t\t@include break-small {\n\t\t\tpadding: 64px 96px;\n\t\t}\n\n\t\t.jetpack-logo {\n\t\t\tmargin-bottom: 24px;\n\t\t}\n\n\t\th2 {\n\t\t\tfont-style: normal;\n\t\t\tfont-weight: bold;\n\t\t\tfont-size: 36px;\n\t\t\tline-height: 40px;\n\t\t\tcolor: #000;\n\t\t\tmargin-top: 32px;\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tp, li {\n\t\t\tfont-style: normal;\n\t\t\tfont-weight: normal;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 24px;\n\t\t}\n\n\t\tp {\n\t\t\tcolor: #101517;\n\t\t\tmargin: 16px 0;\n\t\t}\n\n\t\tul {\n\t\t\tlist-style-type: none;\n\n\t\t\tli {\n\t\t\t\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;\n\t\t\t\tbackground-size: 24px;\n\t\t\t\tpadding-left: 30px;\n\t\t\t\tmargin-bottom: 9px;\n\t\t\t\tcolor: #000;\n\n\t\t\t\ta {\n\t\t\t\t\tcolor: #000;\n\t\t\t\t\ttext-decoration: underline;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ta.jp-connection-screen-icon {\n\t\t\ttext-decoration: none;\n\t\t\tpadding-left: 5px;\n\t\t}\n\n\t\t.jp-connect-button {\n\t\t\tmargin-top: 40px;\n\n\t\t\tbutton {\n\t\t\t\tmax-width: 100%;\n\n\t\t\t\t&:disabled {\n\t\t\t\t\tcolor: hsla(0,0%,100%,.4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.jp-connect-screen--tos {\n\t\t\tmargin-top: 28px;\n\t\t\tmax-width: 360px;\n\t\t}\n\t}\n\n\t.jp-connect-screen--right {\n\t\tpadding: 64px 0;\n\n\t\timg {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n\n\t&.jp-connect-screen--two-columns {\n\t\t.jp-connect-screen--left {\n\t\t\tfloat: left;\n\t\t\twidth: 100%;\n\n\t\t\t@include break-xlarge {\n\t\t\t\twidth: 52%;\n\t\t\t}\n\t\t}\n\n\t\t.jp-connect-screen--right {\n\t\t\tfloat: right;\n\t\t\twidth: 47%;\n\t\t\tbackground: #F9F9F6;\n\t\t\tdisplay: none;\n\n\t\t\t@include break-xlarge {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t.jp-connect-screen--clearfix {\n\t\tclear: both;\n\t}\n}\n",".jp-connect-button {\n\t.jp-connect-button--button {\n\t\tbackground: #000;\n\t\tborder-radius: 4px;\n\t\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;\n\t\tfont-style: normal;\n\t\tfont-weight: 600;\n\t\tfont-size: 14px;\n\t\tline-height: 18px;\n\t\ttext-align: center;\n\t\twidth: 264px;\n\t\theight: 40px;\n\t\tdisplay: block;\n\t}\n}\n","@keyframes rotate-spinner {\n\t100% {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n\n.jp-components-spinner {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.jp-components-spinner__outer, .jp-components-spinner__inner {\n\tmargin: auto;\n\tbox-sizing: border-box;\n\tborder: 0.1em solid transparent;\n\tborder-radius: 50%;\n\tanimation: 3s linear infinite;\n\tanimation-name: rotate-spinner;\n}\n\n.jp-components-spinner__outer {\n\tborder-top-color: white;\n}\n\n.jp-components-spinner__inner {\n\twidth: 100%;\n\theight: 100%;\n\tborder-top-color: white;\n\tborder-right-color: white;\n\topacity: 0.4;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js index f388960fd..d57da8459 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js @@ -1,97 +1,11 @@ -(function(e, a) { for(var i in a) e[i] = a[i]; }(window, /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./_inc/admin.jsx"); -/******/ }) -/************************************************************************/ -/******/ ({ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js": -/*!******************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! - \******************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayLikeToArray.js": +/*!*****************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! + \*****************************************************************************************************************/ +/***/ ((module) => { function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; @@ -104,32 +18,30 @@ function _arrayLikeToArray(arr, len) { } module.exports = _arrayLikeToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js": -/*!****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! - \****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayWithHoles.js": +/*!***************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! + \***************************************************************************************************************/ +/***/ ((module) => { function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } module.exports = _arrayWithHoles; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js": -/*!***********************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! - \***********************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/assertThisInitialized.js": +/*!**********************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! + \**********************************************************************************************************************/ +/***/ ((module) => { function _assertThisInitialized(self) { if (self === void 0) { @@ -140,16 +52,15 @@ function _assertThisInitialized(self) { } module.exports = _assertThisInitialized; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck.js": -/*!****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***! - \****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js": +/*!***************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js ***! + \***************************************************************************************************************/ +/***/ ((module) => { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { @@ -158,25 +69,24 @@ function _classCallCheck(instance, Constructor) { } module.exports = _classCallCheck; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/construct.js": -/*!***********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/construct.js ***! - \***********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/construct.js": +/*!**********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/construct.js ***! + \**********************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); -var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { module.exports = _construct = Reflect.construct; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; } else { module.exports = _construct = function _construct(Parent, args, Class) { var a = [null]; @@ -187,23 +97,22 @@ function _construct(Parent, args, Class) { return instance; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; } return _construct.apply(null, arguments); } module.exports = _construct; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createClass.js": -/*!*************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createClass.js ***! - \*************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass.js": +/*!************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass.js ***! + \************************************************************************************************************/ +/***/ ((module) => { function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { @@ -222,22 +131,21 @@ function _createClass(Constructor, protoProps, staticProps) { } module.exports = _createClass; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper.js": -/*!*************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper.js ***! - \*************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper.js": +/*!************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper.js ***! + \************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js"); +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/getPrototypeOf.js"); -var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); -var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); +var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); function _createSuper(Derived) { var hasNativeReflectConstruct = isNativeReflectConstruct(); @@ -257,16 +165,15 @@ function _createSuper(Derived) { } module.exports = _createSuper; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty.js": -/*!****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty.js ***! - \****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js": +/*!***************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js ***! + \***************************************************************************************************************/ +/***/ ((module) => { function _defineProperty(obj, key, value) { if (key in obj) { @@ -284,16 +191,15 @@ function _defineProperty(obj, key, value) { } module.exports = _defineProperty; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js": -/*!*********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js ***! - \*********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends.js": +/*!********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends.js ***! + \********************************************************************************************************/ +/***/ ((module) => { function _extends() { module.exports = _extends = Object.assign || function (target) { @@ -310,43 +216,41 @@ function _extends() { return target; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; return _extends.apply(this, arguments); } module.exports = _extends; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js": -/*!****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! - \****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/getPrototypeOf.js": +/*!***************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! + \***************************************************************************************************************/ +/***/ ((module) => { function _getPrototypeOf(o) { module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; return _getPrototypeOf(o); } module.exports = _getPrototypeOf; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits.js": -/*!**********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits.js ***! - \**********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits.js": +/*!*********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits.js ***! + \*********************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { @@ -364,32 +268,30 @@ function _inherits(subClass, superClass) { } module.exports = _inherits; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeFunction.js": -/*!******************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeFunction.js ***! - \******************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeFunction.js": +/*!*****************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeFunction.js ***! + \*****************************************************************************************************************/ +/***/ ((module) => { function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } module.exports = _isNativeFunction; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": -/*!**************************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! - \**************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": +/*!*************************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! + \*************************************************************************************************************************/ +/***/ ((module) => { function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -405,19 +307,18 @@ function _isNativeReflectConstruct() { } module.exports = _isNativeReflectConstruct; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": -/*!**********************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! - \**********************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": +/*!*********************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! + \*********************************************************************************************************************/ +/***/ ((module) => { function _iterableToArrayLimit(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; @@ -447,34 +348,32 @@ function _iterableToArrayLimit(arr, i) { } module.exports = _iterableToArrayLimit; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/nonIterableRest.js": -/*!*****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***! - \*****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/nonIterableRest.js": +/*!****************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/nonIterableRest.js ***! + \****************************************************************************************************************/ +/***/ ((module) => { function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } module.exports = _nonIterableRest; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2.js": -/*!***************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2.js ***! - \***************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js": +/*!**************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js ***! + \**************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var defineProperty = __webpack_require__(/*! ./defineProperty.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty.js"); +var defineProperty = __webpack_require__(/*! ./defineProperty.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js"); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); @@ -515,18 +414,17 @@ function _objectSpread2(target) { } module.exports = _objectSpread2; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js": -/*!*************************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! - \*************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutProperties.js": +/*!************************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! + \************************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); +var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -548,16 +446,15 @@ function _objectWithoutProperties(source, excluded) { } module.exports = _objectWithoutProperties; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": -/*!******************************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! - \******************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": +/*!*****************************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! + \*****************************************************************************************************************************/ +/***/ ((module) => { function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; @@ -575,40 +472,40 @@ function _objectWithoutPropertiesLoose(source, excluded) { } module.exports = _objectWithoutPropertiesLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": -/*!***************************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! - \***************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": +/*!**************************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! + \**************************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]; +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/typeof.js").default; -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js"); +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/assertThisInitialized.js"); function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); } return assertThisInitialized(self); } module.exports = _possibleConstructorReturn; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js": -/*!****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! - \****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js": +/*!***************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! + \***************************************************************************************************************/ +/***/ ((module) => { function _setPrototypeOf(o, p) { module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { @@ -616,45 +513,43 @@ function _setPrototypeOf(o, p) { return o; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; return _setPrototypeOf(o, p); } module.exports = _setPrototypeOf; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js": -/*!***************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js ***! - \***************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js": +/*!**************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js ***! + \**************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js"); +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayWithHoles.js"); -var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); -var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/nonIterableRest.js"); +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/nonIterableRest.js"); function _slicedToArray(arr, i) { return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); } module.exports = _slicedToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/typeof.js": -/*!********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/typeof.js ***! - \********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/typeof.js": +/*!*******************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/typeof.js ***! + \*******************************************************************************************************/ +/***/ ((module) => { function _typeof(obj) { "@babel/helpers - typeof"; @@ -664,31 +559,30 @@ function _typeof(obj) { return typeof obj; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; } else { module.exports = _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; } return _typeof(obj); } module.exports = _typeof; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": -/*!****************************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! - \****************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": +/*!***************************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! + \***************************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); function _unsupportedIterableToArray(o, minLen) { if (!o) return; @@ -700,24 +594,23 @@ function _unsupportedIterableToArray(o, minLen) { } module.exports = _unsupportedIterableToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), -/***/ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/wrapNativeSuper.js": -/*!*****************************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! - \*****************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/wrapNativeSuper.js": +/*!****************************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! + \****************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js"); +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/getPrototypeOf.js"); -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js"); -var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeFunction.js"); +var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeFunction.js"); -var construct = __webpack_require__(/*! ./construct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/construct.js"); +var construct = __webpack_require__(/*! ./construct.js */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/construct.js"); function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; @@ -750,21 +643,20 @@ function _wrapNativeSuper(Class) { return setPrototypeOf(Wrapper, Class); }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports.default = module.exports, module.exports.__esModule = true; return _wrapNativeSuper(Class); } module.exports = _wrapNativeSuper; -module.exports["default"] = module.exports, module.exports.__esModule = true; +module.exports.default = module.exports, module.exports.__esModule = true; /***/ }), /***/ "../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js": -/*!**************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!*************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js ***! + \*************************************************************************************/ +/***/ ((module, exports) => { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2018 Jed Watson. @@ -820,19 +712,109 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { return classNames; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} }()); +/***/ }), + +/***/ "../../js-packages/components/components/spinner/style.scss": +/*!******************************************************************!*\ + !*** ../../js-packages/components/components/spinner/style.scss ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "../../js-packages/connection/components/connect-button/style.scss": +/*!*************************************************************************!*\ + !*** ../../js-packages/connection/components/connect-button/style.scss ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "../../js-packages/connection/components/connect-screen/style.scss": +/*!*************************************************************************!*\ + !*** ../../js-packages/connection/components/connect-screen/style.scss ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "../../js-packages/connection/components/connection-status-card/style.scss": +/*!*********************************************************************************!*\ + !*** ../../js-packages/connection/components/connection-status-card/style.scss ***! + \*********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "../../js-packages/connection/components/disconnect-dialog/style.scss": +/*!****************************************************************************!*\ + !*** ../../js-packages/connection/components/disconnect-dialog/style.scss ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./_inc/components/admin/style.scss": +/*!******************************************!*\ + !*** ./_inc/components/admin/style.scss ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./_inc/components/header/style.scss": +/*!*******************************************!*\ + !*** ./_inc/components/header/style.scss ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + /***/ }), /***/ "../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js": -/*!********************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!*******************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js ***! + \*******************************************************************************************/ +/***/ ((module) => { "use strict"; /* @@ -930,11 +912,10 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) { /***/ }), /***/ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/checkPropTypes.js": -/*!************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/checkPropTypes.js ***! - \************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!***********************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/checkPropTypes.js ***! + \***********************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** @@ -1044,11 +1025,10 @@ module.exports = checkPropTypes; /***/ }), /***/ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js": -/*!**********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js ***! - \**********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!*********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js ***! + \*********************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** @@ -1120,11 +1100,10 @@ module.exports = function() { /***/ }), /***/ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithTypeCheckers.js": -/*!*********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithTypeCheckers.js ***! - \*********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithTypeCheckers.js ***! + \********************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** @@ -1723,11 +1702,10 @@ module.exports = function(isValidElement, throwOnDirectAccess) { /***/ }), /***/ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js": -/*!***************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!**************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js ***! + \**************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -1753,11 +1731,10 @@ if (undefined !== 'production') { /***/ }), /***/ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js": -/*!**********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js ***! - \**********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!*********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js ***! + \*********************************************************************************************************/ +/***/ ((module) => { "use strict"; /** @@ -1777,11 +1754,10 @@ module.exports = ReactPropTypesSecret; /***/ }), /***/ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js": -/*!*******************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js ***! - \*******************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!******************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js ***! + \******************************************************************************************************/ +/***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React v16.13.1 @@ -1970,11 +1946,10 @@ exports.typeOf = typeOf; /***/ }), /***/ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js": -/*!**********************************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js ***! - \**********************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!*********************************************************************************************************!*\ + !*** ../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js ***! + \*********************************************************************************************************/ +/***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React v16.13.1 @@ -1997,11 +1972,10 @@ exports.isValidElementType=function(a){return"string"===typeof a||"function"===t /***/ }), /***/ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js": -/*!************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*!***********************************************************************************!*\ + !*** ../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js ***! + \***********************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -2015,26 +1989,34 @@ if (undefined === 'production') { /***/ }), -/***/ "../../js-packages/components/components/automattic-byline-logo/index.jsx": -/*!*********************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/components/automattic-byline-logo/index.jsx ***! - \*********************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/api/index.jsx": +/*!***************************************!*\ + !*** ../../js-packages/api/index.jsx ***! + \***************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return AutomatticBylineLogo; }); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js"); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "JsonParseError": () => (/* binding */ JsonParseError), +/* harmony export */ "JsonParseAfterRedirectError": () => (/* binding */ JsonParseAfterRedirectError), +/* harmony export */ "Api404Error": () => (/* binding */ Api404Error), +/* harmony export */ "Api404AfterRedirectError": () => (/* binding */ Api404AfterRedirectError), +/* harmony export */ "FetchNetworkError": () => (/* binding */ FetchNetworkError), +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/wrapNativeSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/wrapNativeSuper.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash"); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__); + + @@ -2042,307 +2024,706 @@ __webpack_require__.r(__webpack_exports__); * External dependencies */ - - /** - * AutomatticBylineLogo component definition. + * Helps create new custom error classes to better notify upper layers. * - * @param {object} props - Component properties. - * @param {string} props.title - Title for SVG. - * @param {number} props.height - Height for SVG. - * @param {number} props.className - Additional className for the a wrapper, default only: `jp-automattic-byline-logo`. - * - * @returns {React.Component} AutomatticBylineLogo component. + * @param {string} name - the Error name that will be availble in Error.name + * @returns {Error} a new custom error class. */ -function AutomatticBylineLogo(_ref) { - var _ref$title = _ref.title, - title = _ref$title === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('An Automattic Airline', 'jetpack') : _ref$title, - _ref$height = _ref.height, - height = _ref$height === void 0 ? 7 : _ref$height, - _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - otherProps = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, ["title", "height", "className"]); +function createCustomError(name) { + var CustomError = /*#__PURE__*/function (_Error) { + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1___default()(CustomError, _Error); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("svg", _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ - role: "img", - x: "0", - y: "0", - viewBox: "0 0 935 38.2", - enableBackground: "new 0 0 935 38.2", - "aria-labelledby": "jp-automattic-byline-logo-title", - height: height, - className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('jp-automattic-byline-logo', className) - }, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("title", { - id: "jp-automattic-byline-logo-title" - }, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("path", { - d: "M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("path", { - d: "M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("path", { - d: "M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z" - })); + var _super = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2___default()(CustomError); + + function CustomError() { + var _this; + + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, CustomError); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + _this = _super.call.apply(_super, [this].concat(args)); + _this.name = name; + return _this; + } + + return CustomError; + }( /*#__PURE__*/_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3___default()(Error)); + + return CustomError; +} + +var JsonParseError = createCustomError('JsonParseError'); +var JsonParseAfterRedirectError = createCustomError('JsonParseAfterRedirectError'); +var Api404Error = createCustomError('Api404Error'); +var Api404AfterRedirectError = createCustomError('Api404AfterRedirectError'); +var FetchNetworkError = createCustomError('FetchNetworkError'); +/** + * Create a Jetpack Rest Api Client + * + * @param {string} root - The API root + * @param {string} nonce - The API Nonce + */ + +function JetpackRestApiClient(root, nonce) { + var apiRoot = root, + headers = { + 'X-WP-Nonce': nonce + }, + getParams = { + credentials: 'same-origin', + headers: headers + }, + postParams = { + method: 'post', + credentials: 'same-origin', + headers: (0,lodash__WEBPACK_IMPORTED_MODULE_4__.assign)({}, headers, { + 'Content-type': 'application/json' + }) + }, + cacheBusterCallback = addCacheBuster; + var methods = { + setApiRoot: function setApiRoot(newRoot) { + apiRoot = newRoot; + }, + setApiNonce: function setApiNonce(newNonce) { + headers = { + 'X-WP-Nonce': newNonce + }; + getParams = { + credentials: 'same-origin', + headers: headers + }; + postParams = { + method: 'post', + credentials: 'same-origin', + headers: (0,lodash__WEBPACK_IMPORTED_MODULE_4__.assign)({}, headers, { + 'Content-type': 'application/json' + }) + }; + }, + setCacheBusterCallback: function setCacheBusterCallback(callback) { + cacheBusterCallback = callback; + }, + registerSite: function registerSite(registrationNonce, redirectUri) { + var params = { + registration_nonce: registrationNonce, + no_iframe: true + }; + + if (null !== redirectUri) { + params.redirect_uri = redirectUri; + } + + return postRequest("".concat(apiRoot, "jetpack/v4/connection/register"), postParams, { + body: JSON.stringify(params) + }).then(checkStatus).then(parseJsonResponse); + }, + fetchAuthorizationUrl: function fetchAuthorizationUrl(redirectUri) { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/authorize_url?no_iframe=1&redirect_uri=").concat(encodeURIComponent(redirectUri)), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchSiteConnectionData: function fetchSiteConnectionData() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/data"), getParams).then(parseJsonResponse); + }, + fetchSiteConnectionStatus: function fetchSiteConnectionStatus() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection"), getParams).then(parseJsonResponse); + }, + fetchSiteConnectionTest: function fetchSiteConnectionTest() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/test"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchUserConnectionData: function fetchUserConnectionData() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/data"), getParams).then(parseJsonResponse); + }, + fetchUserTrackingSettings: function fetchUserTrackingSettings() { + return getRequest("".concat(apiRoot, "jetpack/v4/tracking/settings"), getParams).then(checkStatus).then(parseJsonResponse); + }, + updateUserTrackingSettings: function updateUserTrackingSettings(newSettings) { + return postRequest("".concat(apiRoot, "jetpack/v4/tracking/settings"), postParams, { + body: JSON.stringify(newSettings) + }).then(checkStatus).then(parseJsonResponse); + }, + disconnectSite: function disconnectSite() { + return postRequest("".concat(apiRoot, "jetpack/v4/connection"), postParams, { + body: JSON.stringify({ + isActive: false + }) + }).then(checkStatus).then(parseJsonResponse); + }, + fetchConnectUrl: function fetchConnectUrl() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/url"), getParams).then(checkStatus).then(parseJsonResponse); + }, + unlinkUser: function unlinkUser() { + return postRequest("".concat(apiRoot, "jetpack/v4/connection/user"), postParams, { + body: JSON.stringify({ + linked: false + }) + }).then(checkStatus).then(parseJsonResponse); + }, + reconnect: function reconnect() { + return postRequest("".concat(apiRoot, "jetpack/v4/connection/reconnect"), postParams).then(checkStatus).then(parseJsonResponse); + }, + fetchConnectedPlugins: function fetchConnectedPlugins() { + return getRequest("".concat(apiRoot, "jetpack/v4/connection/plugins"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchModules: function fetchModules() { + return getRequest("".concat(apiRoot, "jetpack/v4/module/all"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchModule: function fetchModule(slug) { + return getRequest("".concat(apiRoot, "jetpack/v4/module/").concat(slug), getParams).then(checkStatus).then(parseJsonResponse); + }, + activateModule: function activateModule(slug) { + return postRequest("".concat(apiRoot, "jetpack/v4/module/").concat(slug, "/active"), postParams, { + body: JSON.stringify({ + active: true + }) + }).then(checkStatus).then(parseJsonResponse); + }, + deactivateModule: function deactivateModule(slug) { + return postRequest("".concat(apiRoot, "jetpack/v4/module/").concat(slug, "/active"), postParams, { + body: JSON.stringify({ + active: false + }) + }); + }, + updateModuleOptions: function updateModuleOptions(slug, newOptionValues) { + return postRequest("".concat(apiRoot, "jetpack/v4/module/").concat(slug), postParams, { + body: JSON.stringify(newOptionValues) + }).then(checkStatus).then(parseJsonResponse); + }, + updateSettings: function updateSettings(newOptionValues) { + return postRequest("".concat(apiRoot, "jetpack/v4/settings"), postParams, { + body: JSON.stringify(newOptionValues) + }).then(checkStatus).then(parseJsonResponse); + }, + getProtectCount: function getProtectCount() { + return getRequest("".concat(apiRoot, "jetpack/v4/module/protect/data"), getParams).then(checkStatus).then(parseJsonResponse); + }, + resetOptions: function resetOptions(options) { + return postRequest("".concat(apiRoot, "jetpack/v4/options/").concat(options), postParams, { + body: JSON.stringify({ + reset: true + }) + }).then(checkStatus).then(parseJsonResponse); + }, + activateVaultPress: function activateVaultPress() { + return postRequest("".concat(apiRoot, "jetpack/v4/plugins"), postParams, { + body: JSON.stringify({ + slug: 'vaultpress', + status: 'active' + }) + }).then(checkStatus).then(parseJsonResponse); + }, + getVaultPressData: function getVaultPressData() { + return getRequest("".concat(apiRoot, "jetpack/v4/module/vaultpress/data"), getParams).then(checkStatus).then(parseJsonResponse); + }, + installPlugin: function installPlugin(slug, source) { + var props = { + slug: slug, + status: 'active' + }; + + if (source) { + props.source = source; + } + + return postRequest("".concat(apiRoot, "jetpack/v4/plugins"), postParams, { + body: JSON.stringify(props) + }).then(checkStatus).then(parseJsonResponse); + }, + activateAkismet: function activateAkismet() { + return postRequest("".concat(apiRoot, "jetpack/v4/plugins"), postParams, { + body: JSON.stringify({ + slug: 'akismet', + status: 'active' + }) + }).then(checkStatus).then(parseJsonResponse); + }, + getAkismetData: function getAkismetData() { + return getRequest("".concat(apiRoot, "jetpack/v4/module/akismet/data"), getParams).then(checkStatus).then(parseJsonResponse); + }, + checkAkismetKey: function checkAkismetKey() { + return getRequest("".concat(apiRoot, "jetpack/v4/module/akismet/key/check"), getParams).then(checkStatus).then(parseJsonResponse); + }, + checkAkismetKeyTyped: function checkAkismetKeyTyped(apiKey) { + return postRequest("".concat(apiRoot, "jetpack/v4/module/akismet/key/check"), postParams, { + body: JSON.stringify({ + api_key: apiKey + }) + }).then(checkStatus).then(parseJsonResponse); + }, + fetchStatsData: function fetchStatsData(range) { + return getRequest(statsDataUrl(range), getParams).then(checkStatus).then(parseJsonResponse).then(handleStatsResponseError); + }, + getPluginUpdates: function getPluginUpdates() { + return getRequest("".concat(apiRoot, "jetpack/v4/updates/plugins"), getParams).then(checkStatus).then(parseJsonResponse); + }, + getPlans: function getPlans() { + return getRequest("".concat(apiRoot, "jetpack/v4/plans"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchSettings: function fetchSettings() { + return getRequest("".concat(apiRoot, "jetpack/v4/settings"), getParams).then(checkStatus).then(parseJsonResponse); + }, + updateSetting: function updateSetting(updatedSetting) { + return postRequest("".concat(apiRoot, "jetpack/v4/settings"), postParams, { + body: JSON.stringify(updatedSetting) + }).then(checkStatus).then(parseJsonResponse); + }, + fetchSiteData: function fetchSiteData() { + return getRequest("".concat(apiRoot, "jetpack/v4/site"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + fetchSiteFeatures: function fetchSiteFeatures() { + return getRequest("".concat(apiRoot, "jetpack/v4/site/features"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + fetchSiteProducts: function fetchSiteProducts() { + return getRequest("".concat(apiRoot, "jetpack/v4/site/products"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchSitePurchases: function fetchSitePurchases() { + return getRequest("".concat(apiRoot, "jetpack/v4/site/purchases"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + fetchSiteBenefits: function fetchSiteBenefits() { + return getRequest("".concat(apiRoot, "jetpack/v4/site/benefits"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + fetchSetupQuestionnaire: function fetchSetupQuestionnaire() { + return getRequest("".concat(apiRoot, "jetpack/v4/setup/questionnaire"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchRecommendationsData: function fetchRecommendationsData() { + return getRequest("".concat(apiRoot, "jetpack/v4/recommendations/data"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchRecommendationsProductSuggestions: function fetchRecommendationsProductSuggestions() { + return getRequest("".concat(apiRoot, "jetpack/v4/recommendations/product-suggestions"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchRecommendationsUpsell: function fetchRecommendationsUpsell() { + return getRequest("".concat(apiRoot, "jetpack/v4/recommendations/upsell"), getParams).then(checkStatus).then(parseJsonResponse); + }, + saveRecommendationsData: function saveRecommendationsData(data) { + return postRequest("".concat(apiRoot, "jetpack/v4/recommendations/data"), postParams, { + body: JSON.stringify({ + data: data + }) + }).then(checkStatus); + }, + fetchProducts: function fetchProducts() { + return getRequest("".concat(apiRoot, "jetpack/v4/products"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchRewindStatus: function fetchRewindStatus() { + return getRequest("".concat(apiRoot, "jetpack/v4/rewind"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + fetchScanStatus: function fetchScanStatus() { + return getRequest("".concat(apiRoot, "jetpack/v4/scan"), getParams).then(checkStatus).then(parseJsonResponse).then(function (body) { + return JSON.parse(body.data); + }); + }, + dismissJetpackNotice: function dismissJetpackNotice(notice) { + return postRequest("".concat(apiRoot, "jetpack/v4/notice/").concat(notice), postParams, { + body: JSON.stringify({ + dismissed: true + }) + }).then(checkStatus).then(parseJsonResponse); + }, + fetchPluginsData: function fetchPluginsData() { + return getRequest("".concat(apiRoot, "jetpack/v4/plugins"), getParams).then(checkStatus).then(parseJsonResponse); + }, + fetchVerifySiteGoogleStatus: function fetchVerifySiteGoogleStatus(keyringId) { + var request = keyringId !== null ? getRequest("".concat(apiRoot, "jetpack/v4/verify-site/google/").concat(keyringId), getParams) : getRequest("".concat(apiRoot, "jetpack/v4/verify-site/google"), getParams); + return request.then(checkStatus).then(parseJsonResponse); + }, + verifySiteGoogle: function verifySiteGoogle(keyringId) { + return postRequest("".concat(apiRoot, "jetpack/v4/verify-site/google"), postParams, { + body: JSON.stringify({ + keyring_id: keyringId + }) + }).then(checkStatus).then(parseJsonResponse); + }, + sendMobileLoginEmail: function sendMobileLoginEmail() { + return postRequest("".concat(apiRoot, "jetpack/v4/mobile/send-login-email"), postParams).then(checkStatus).then(parseJsonResponse); + }, + submitSurvey: function submitSurvey(surveyResponse) { + return postRequest("".concat(apiRoot, "jetpack/v4/marketing/survey"), postParams, { + body: JSON.stringify(surveyResponse) + }).then(checkStatus).then(parseJsonResponse); + }, + saveSetupQuestionnaire: function saveSetupQuestionnaire(props) { + return postRequest("".concat(apiRoot, "jetpack/v4/setup/questionnaire"), postParams, { + body: JSON.stringify(props) + }).then(checkStatus).then(parseJsonResponse); + }, + updateLicensingError: function updateLicensingError(props) { + return postRequest("".concat(apiRoot, "jetpack/v4/licensing/error"), postParams, { + body: JSON.stringify(props) + }).then(checkStatus).then(parseJsonResponse); + }, + updateLicenseKey: function updateLicenseKey(license) { + return postRequest("".concat(apiRoot, "jetpack/v4/licensing/set-license"), postParams, { + body: JSON.stringify({ + license: license + }) + }).then(checkStatus).then(parseJsonResponse); + }, + updateRecommendationsStep: function updateRecommendationsStep(step) { + return postRequest("".concat(apiRoot, "jetpack/v4/recommendations/step"), postParams, { + body: JSON.stringify({ + step: step + }) + }).then(checkStatus); + } + }; + /** + * The default callback to add a cachebuster parameter to route + * + * @param {string} route - the route + * @returns {string} - the route with the cachebuster appended + */ + + function addCacheBuster(route) { + var parts = route.split('?'), + query = parts.length > 1 ? parts[1] : '', + args = query.length ? query.split('&') : []; + args.push('_cacheBuster=' + new Date().getTime()); + return parts[0] + '?' + args.join('&'); + } + /** + * Generate a request promise for the route and params. Automatically adds a cachebuster. + * + * @param {string} route - the route + * @param {object} params - the params + * @returns {Promise} - the http request promise + */ + + + function getRequest(route, params) { + return fetch(cacheBusterCallback(route), params); + } + /** + * Generate a POST request promise for the route and params. Automatically adds a cachebuster. + * + * @param {string} route - the route + * @param {object} params - the params + * @param {string} body - the body + * @returns {Promise} - the http response promise + */ + + + function postRequest(route, params, body) { + return fetch(route, (0,lodash__WEBPACK_IMPORTED_MODULE_4__.assign)({}, params, body))["catch"](catchNetworkErrors); + } + /** + * Returns the stats data URL for the given date range + * + * @param {string} range - the range + * @returns {string} - the stats URL + */ + + + function statsDataUrl(range) { + var url = "".concat(apiRoot, "jetpack/v4/module/stats/data"); + + if (url.indexOf('?') !== -1) { + url = url + "&range=".concat(encodeURIComponent(range)); + } else { + url = url + "?range=".concat(encodeURIComponent(range)); + } + + return url; + } + /** + * Returns stats data if possible, otherwise an empty object + * + * @param {object} statsData - the stats data or error + * @returns {object} - the handled stats data + */ + + + function handleStatsResponseError(statsData) { + // If we get a .response property, it means that .com's response is errory. + // Probably because the site does not have stats yet. + var responseOk = statsData.general && statsData.general.response === undefined || statsData.week && statsData.week.response === undefined || statsData.month && statsData.month.response === undefined; + return responseOk ? statsData : {}; + } + + (0,lodash__WEBPACK_IMPORTED_MODULE_4__.assign)(this, methods); +} + +var restApi = new JetpackRestApiClient(); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (restApi); +/** + * Check the status of the response. Throw an error if it was not OK + * + * @param {Response} response - the API response + * @returns {Promise} - a promise to return the parsed JSON body as an object + */ + +function checkStatus(response) { + // Regular success responses + if (response.status >= 200 && response.status < 300) { + return response; + } + + if (response.status === 404) { + return new Promise(function () { + var err = response.redirected ? new Api404AfterRedirectError(response.redirected) : new Api404Error(); + throw err; + }); + } + + return response.json()["catch"](function (e) { + return catchJsonParseError(e); + }).then(function (json) { + var error = new Error("".concat(json.message, " (Status ").concat(response.status, ")")); + error.response = json; + error.name = 'ApiError'; + throw error; + }); +} +/** + * Parse the JSON response + * + * @param {Response} response - the response object + * @returns {Promise} - promise to return the parsed json object + */ + + +function parseJsonResponse(response) { + return response.json()["catch"](function (e) { + return catchJsonParseError(e, response.redirected, response.url); + }); +} +/** + * Throw appropriate exception given an API error + * + * @param {Error} e - the error + * @param {boolean} redirected - are we being redirected? + * @param {string} url - the URL that returned the error + */ + + +function catchJsonParseError(e, redirected, url) { + var err = redirected ? new JsonParseAfterRedirectError(url) : new JsonParseError(); + throw err; +} +/** + * Catches TypeError coming from the Fetch API implementation + */ + + +function catchNetworkErrors() { + //Either one of: + // * A preflight error like a redirection to an external site (which results in a CORS) + // * A preflight error like ERR_TOO_MANY_REDIRECTS + throw new FetchNetworkError(); } /***/ }), -/***/ "../../js-packages/components/components/jetpack-footer/index.jsx": -/*!*************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-footer/index.jsx ***! - \*************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/components/components/jetpack-logo/index.jsx": +/*!**********************************************************************!*\ + !*** ../../js-packages/components/components/jetpack-logo/index.jsx ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return JetpackFooter; }); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ "../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js"); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _automattic_byline_logo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../automattic-byline-logo */ "../../js-packages/components/components/automattic-byline-logo/index.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/components/components/jetpack-footer/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var _jetpack_logo__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../jetpack-logo */ "../../js-packages/components/components/jetpack-logo/index.jsx"); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutProperties */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); +/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js"); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__); + + + + +var _excluded = ["logoColor", "showText", "className"]; + /** * External dependencies */ +/** + * WordPress dependencies + */ + + +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__.__; + +var JetpackLogo = /*#__PURE__*/function (_React$Component) { + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default()(JetpackLogo, _React$Component); + + var _super = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5___default()(JetpackLogo); + + function JetpackLogo() { + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default()(this, JetpackLogo); + + return _super.apply(this, arguments); + } + + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(JetpackLogo, [{ + key: "render", + value: function render() { + var _this$props = this.props, + logoColor = _this$props.logoColor, + showText = _this$props.showText, + className = _this$props.className, + otherProps = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_this$props, _excluded); + + var viewBox = showText ? '0 0 118 32' : '0 0 32 32'; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("svg", _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ + xmlns: "http://www.w3.org/2000/svg", + x: "0px", + y: "0px", + viewBox: viewBox, + className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('jetpack-logo', className), + "aria-labelledby": "jetpack-logo-title" + }, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("title", { + id: "jetpack-logo-title" + }, __('Jetpack Logo', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + fill: logoColor, + d: "M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z" + }), showText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(react__WEBPACK_IMPORTED_MODULE_8__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z" + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement("path", { + d: "M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z" + }))); + } + }]); + + return JetpackLogo; +}((react__WEBPACK_IMPORTED_MODULE_8___default().Component)); + +_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default()(JetpackLogo, "propTypes", { + className: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string), + width: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number), + height: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().number), + showText: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool), + logoColor: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string) +}); + +_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default()(JetpackLogo, "defaultProps", { + className: '', + height: 32, + showText: true, + logoColor: '#00BE28' +}); + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JetpackLogo); + +/***/ }), + +/***/ "../../js-packages/components/components/spinner/index.jsx": +/*!*****************************************************************!*\ + !*** ../../js-packages/components/components/spinner/index.jsx ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); +/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/components/components/spinner/style.scss"); +/** + * External dependencies + */ + + /** * Internal dependencies */ +var Spinner = function Spinner(props) { + var className = props.className + ' jp-components-spinner'; + var style = { + width: props.size, + height: props.size, + fontSize: props.size // allows border-width to be specified in em units -/** - * JetpackFooter component definition. - * - * @param {object} props - Component properties. - * @param {object} props.a8cLogoHref - Link for 'An Automattic Airline'. - * @param {object} props.moduleName - Name of the module, e.g. 'Jetpack Search'. - * @param {object} props.className - additional className of the wrapper, default only: `jp-dashboard-footer`. - * - * @returns {React.Component} JetpackFooter component. - */ - -function JetpackFooter(_ref) { - var a8cLogoHref = _ref.a8cLogoHref, - _ref$moduleName = _ref.moduleName, - moduleName = _ref$moduleName === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Jetpack', 'jetpack') : _ref$moduleName, - _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - otherProps = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, ["a8cLogoHref", "moduleName", "className"]); - - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ - className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('jp-dashboard-footer', className) - }, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { - className: "jp-dashboard-footer__footer-left" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_jetpack_logo__WEBPACK_IMPORTED_MODULE_7__["default"], { - logoColor: "#000", - showText: false, - height: "16", - className: "jp-dashboard-footer__jetpack-symbol" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span", { - className: "jp-dashboard-footer__module-name" - }, moduleName)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { - className: "jp-dashboard-footer__footer-right" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("a", { - href: a8cLogoHref - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_automattic_byline_logo__WEBPACK_IMPORTED_MODULE_5__["default"], null)))); -} - -/***/ }), - -/***/ "../../js-packages/components/components/jetpack-footer/style.scss": -/*!**************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-footer/style.scss ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - -/***/ "../../js-packages/components/components/jetpack-logo/index.jsx": -/*!***********************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-logo/index.jsx ***! - \***********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createClass */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createClass.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); -/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js"); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__); - - - - - - - - -/** - * External dependencies - */ - - - - -var JetpackLogo = /*#__PURE__*/function (_React$Component) { - _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default()(JetpackLogo, _React$Component); - - var _super = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_5___default()(JetpackLogo); - - function JetpackLogo() { - _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default()(this, JetpackLogo); - - return _super.apply(this, arguments); - } - - _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(JetpackLogo, [{ - key: "render", - value: function render() { - var _this$props = this.props, - logoColor = _this$props.logoColor, - showText = _this$props.showText, - className = _this$props.className, - otherProps = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_this$props, ["logoColor", "showText", "className"]); - - var viewBox = showText ? '0 0 118 32' : '0 0 32 32'; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("svg", _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ - xmlns: "http://www.w3.org/2000/svg", - x: "0px", - y: "0px", - viewBox: viewBox, - className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('jetpack-logo', className) - }, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - fill: logoColor, - d: "M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z" - }), showText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_8__["Fragment"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("path", { - d: "M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z" - }))); - } - }]); - - return JetpackLogo; -}(react__WEBPACK_IMPORTED_MODULE_8___default.a.Component); - -_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default()(JetpackLogo, "propTypes", { - className: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string, - width: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.number, - height: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.number, - showText: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.bool, - logoColor: prop_types__WEBPACK_IMPORTED_MODULE_7___default.a.string -}); - -_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default()(JetpackLogo, "defaultProps", { - className: '', - height: 32, - showText: true, - logoColor: '#00BE28' -}); - -/* harmony default export */ __webpack_exports__["default"] = (JetpackLogo); - -/***/ }), - -/***/ "../../js-packages/components/index.jsx": -/*!***********************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/index.jsx ***! - \***********************************************************************************/ -/*! exports provided: JetpackLogo, getRedirectUrl, AutomatticBylineLogo, JetpackFooter */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _components_jetpack_logo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/jetpack-logo */ "../../js-packages/components/components/jetpack-logo/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JetpackLogo", function() { return _components_jetpack_logo__WEBPACK_IMPORTED_MODULE_0__["default"]; }); - -/* harmony import */ var _tools_jp_redirect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tools/jp-redirect */ "../../js-packages/components/tools/jp-redirect/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getRedirectUrl", function() { return _tools_jp_redirect__WEBPACK_IMPORTED_MODULE_1__["default"]; }); - -/* harmony import */ var _components_automattic_byline_logo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/automattic-byline-logo */ "../../js-packages/components/components/automattic-byline-logo/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AutomatticBylineLogo", function() { return _components_automattic_byline_logo__WEBPACK_IMPORTED_MODULE_2__["default"]; }); - -/* harmony import */ var _components_jetpack_footer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/jetpack-footer */ "../../js-packages/components/components/jetpack-footer/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JetpackFooter", function() { return _components_jetpack_footer__WEBPACK_IMPORTED_MODULE_3__["default"]; }); - -/* -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - - - + }; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { + className: className + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { + className: "jp-components-spinner__outer", + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { + className: "jp-components-spinner__inner" + }))); +}; +Spinner.propTypes = { + className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), + size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number) +}; +Spinner.defaultProps = { + size: 20, + className: '' +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Spinner); /***/ }), /***/ "../../js-packages/components/tools/jp-redirect/index.jsx": -/*!*****************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/components/tools/jp-redirect/index.jsx ***! - \*****************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!****************************************************************!*\ + !*** ../../js-packages/components/tools/jp-redirect/index.jsx ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return getRedirectUrl; }); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ getRedirectUrl) +/* harmony export */ }); /* global jetpack_redirects */ /** @@ -2355,18 +2736,15 @@ __webpack_require__.r(__webpack_exports__); * Note: if using full URL, query parameters and anchor must be passed in args. Any querystring of url fragment in the URL will be discarded. * * @since 0.2.0 - * * @param {string} source - The URL handler registered in the server or the full destination URL (starting with https://). * @param {object} args - { * * Additional arguments to build the url. This is not a complete list as any argument passed here will be sent to as a query parameter to the Redirect server. These parameters will not necessarily be passed over to the final destination URL. If you want to add a parameter to the final destination URL, use the `query` argument. - * * @type {string} site URL of the current site. Will default to the value of jetpack_redirects.currentSiteRawUrl, if available. * @type {string} path Additional path to be appended to the URL * @type {string} query Query parameters to be added to the final destination URL. should be in query string format (e.g. 'key=value&foo=bar'). * @type {string} anchor Anchor to be added to the URL * } - * * @returns {string} The redirect URL */ function getRedirectUrl(source) { @@ -2410,16 +2788,18 @@ function getRedirectUrl(source) { /***/ }), /***/ "../../js-packages/connection/components/connect-button/index.jsx": -/*!*************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-button/index.jsx ***! - \*************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!************************************************************************!*\ + !*** ../../js-packages/connection/components/connect-button/index.jsx ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); @@ -2428,10 +2808,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../tools/jetpack-rest-api-client */ "../../js-packages/connection/tools/jetpack-rest-api-client/index.jsx"); -/* harmony import */ var _connect_user__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../connect-user */ "../../js-packages/connection/components/connect-user/index.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connect-button/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @automattic/jetpack-api */ "../../js-packages/api/index.jsx"); +/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/components/spinner/index.jsx"); +/* harmony import */ var _connect_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../connect-user */ "../../js-packages/connection/components/connect-user/index.jsx"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connect-button/style.scss"); /** @@ -2439,6 +2819,9 @@ __webpack_require__.r(__webpack_exports__); */ +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__; + + /** @@ -2447,7 +2830,6 @@ __webpack_require__.r(__webpack_exports__); - /** * The RNA connection component. * @@ -2459,37 +2841,28 @@ __webpack_require__.r(__webpack_exports__); * @param {Function} props.onRegistered -- The callback to be called upon registration success. * @param {string} props.redirectUri -- The redirect admin URI. * @param {string} props.from -- Where the connection request is coming from. - * @param {Function} props.statusCallback -- Callback to pull connection status from the component. - * + * @param {object} props.connectionStatus -- The connection status object. + * @param {boolean} props.connectionStatusIsFetching -- The flag indicating that connection status is being fetched. + * @param {boolean} props.autoTrigger -- Whether to initiate the connection process automatically upon rendering the component. * @returns {React.Component} The RNA connection component. */ var ConnectButton = function ConnectButton(props) { - var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), isRegistering = _useState2[0], setIsRegistering = _useState2[1]; - var _useState3 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), isUserConnecting = _useState4[0], setIsUserConnecting = _useState4[1]; - var _useState5 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(null), - _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), + var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null), + _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), authorizationUrl = _useState6[0], setAuthorizationUrl = _useState6[1]; - var _useState7 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState8 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState7, 2), - isFetchingConnectionStatus = _useState8[0], - setIsFetchingConnectionStatus = _useState8[1]; - - var _useState9 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])({}), - _useState10 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState9, 2), - connectionStatus = _useState10[0], - setConnectionStatus = _useState10[1]; - var apiRoot = props.apiRoot, apiNonce = props.apiNonce, connectLabel = props.connectLabel, @@ -2497,36 +2870,22 @@ var ConnectButton = function ConnectButton(props) { registrationNonce = props.registrationNonce, redirectUri = props.redirectUri, from = props.from, - statusCallback = props.statusCallback; + connectionStatus = props.connectionStatus, + connectionStatusIsFetching = props.connectionStatusIsFetching, + autoTrigger = props.autoTrigger; /** * Initialize the REST API. */ - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_5__["default"].setApiRoot(apiRoot); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_5__["default"].setApiNonce(apiNonce); + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.setApiRoot(apiRoot); + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.setApiNonce(apiNonce); }, [apiRoot, apiNonce]); - /** - * Fetch the connection status on the first render. - * To be only run once. - */ - - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - setIsFetchingConnectionStatus(true); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_5__["default"].fetchSiteConnectionStatus().then(function (response) { - setIsFetchingConnectionStatus(false); - setConnectionStatus(response); - })["catch"](function (error) { - setIsFetchingConnectionStatus(false); - throw error; - }); - }, []); // eslint-disable-line react-hooks/exhaustive-deps - /** * Initialize the site registration process. */ - var registerSite = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var registerSite = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); if (connectionStatus.isRegistered) { @@ -2535,7 +2894,7 @@ var ConnectButton = function ConnectButton(props) { } setIsRegistering(true); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_5__["default"].registerSite(registrationNonce, redirectUri).then(function (response) { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.registerSite(registrationNonce, redirectUri).then(function (response) { setIsRegistering(false); if (onRegistered) { @@ -2549,20 +2908,25 @@ var ConnectButton = function ConnectButton(props) { throw error; }); }, [setIsRegistering, setAuthorizationUrl, connectionStatus, onRegistered, registrationNonce, redirectUri]); - var statusCallbackWrapped = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function () { - if (statusCallback && {}.toString.call(statusCallback) === '[object Function]') { - return statusCallback(connectionStatus); + /** + * Auto-trigger the flow, only do it once. + */ + + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { + if (autoTrigger && !isRegistering && !isUserConnecting) { + registerSite(); } - }, [connectionStatus, statusCallback]); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, []); // eslint-disable-line react-hooks/exhaustive-deps + + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connect-button" - }, statusCallbackWrapped(), isFetchingConnectionStatus && "Loading...", (!connectionStatus.isRegistered || !connectionStatus.isUserConnected) && !isFetchingConnectionStatus && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Button"], { + }, connectionStatusIsFetching && "Loading...", (!connectionStatus.isRegistered || !connectionStatus.isUserConnected) && !connectionStatusIsFetching && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, { className: "jp-connect-button--button", label: connectLabel, onClick: registerSite, isPrimary: true, disabled: isRegistering || isUserConnecting - }, connectLabel), isUserConnecting && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_connect_user__WEBPACK_IMPORTED_MODULE_6__["default"], { + }, isRegistering || isUserConnecting ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_7__.default, null) : connectLabel), isUserConnecting && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_connect_user__WEBPACK_IMPORTED_MODULE_8__.default, { connectUrl: authorizationUrl, redirectUri: redirectUri, from: from @@ -2570,41 +2934,35 @@ var ConnectButton = function ConnectButton(props) { }; ConnectButton.propTypes = { - connectLabel: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, - apiRoot: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - apiNonce: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - onRegistered: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, - from: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, - redirectUri: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - registrationNonce: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired + connectLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), + apiRoot: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + apiNonce: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + onRegistered: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func), + from: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), + redirectUri: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + registrationNonce: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + autoTrigger: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool) }; ConnectButton.defaultProps = { - connectLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Connect', 'jetpack') + connectLabel: __('Connect', 'jetpack'), + redirectUri: null, + autoTrigger: false }; -/* harmony default export */ __webpack_exports__["default"] = (ConnectButton); - -/***/ }), - -/***/ "../../js-packages/connection/components/connect-button/style.scss": -/*!**************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-button/style.scss ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConnectButton); /***/ }), /***/ "../../js-packages/connection/components/connect-screen/image-slider.jsx": -/*!********************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/image-slider.jsx ***! - \********************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!*******************************************************************************!*\ + !*** ../../js-packages/connection/components/connect-screen/image-slider.jsx ***! + \*******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); @@ -2620,7 +2978,6 @@ __webpack_require__.r(__webpack_exports__); * @param {object} props -- The properties. * @param {Array} props.images -- Images to display on the right side. * @param {string} props.assetBaseUrl -- The assets base URL - * * @returns {React.Component} The `ImageSlider` component. */ @@ -2634,51 +2991,54 @@ var ImageSlider = function ImageSlider(props) { var imagesHTML = []; images.forEach(function (image) { - return imagesHTML.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", { + return imagesHTML.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("img", { src: assetBaseUrl + image, alt: "" }))); }); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "jp-connect-screen--image-slider" }, imagesHTML); }; ImageSlider.propTypes = { - images: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string).isRequired, - assetBaseUrl: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string + images: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)).isRequired, + assetBaseUrl: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string) }; ImageSlider.defaultProps = { assetBaseUrl: '' }; -/* harmony default export */ __webpack_exports__["default"] = (ImageSlider); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImageSlider); /***/ }), /***/ "../../js-packages/connection/components/connect-screen/index.jsx": -/*!*************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/index.jsx ***! - \*************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!************************************************************************!*\ + !*** ../../js-packages/connection/components/connect-screen/index.jsx ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/index.jsx"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var _connect_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../connect-button */ "../../js-packages/connection/components/connect-button/index.jsx"); -/* harmony import */ var _image_slider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./image-slider */ "../../js-packages/connection/components/connect-screen/image-slider.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connect-screen/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/components/jetpack-logo/index.jsx"); +/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/tools/jp-redirect/index.jsx"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _connect_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../connect-button */ "../../js-packages/connection/components/connect-button/index.jsx"); +/* harmony import */ var _with_connection_status__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../with-connection-status */ "../../js-packages/connection/components/with-connection-status/index.jsx"); +/* harmony import */ var _image_slider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./image-slider */ "../../js-packages/connection/components/connect-screen/image-slider.jsx"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connect-screen/style.scss"); /** @@ -2687,6 +3047,7 @@ __webpack_require__.r(__webpack_exports__); +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__; /** @@ -2696,6 +3057,8 @@ __webpack_require__.r(__webpack_exports__); + +var ConnectButtonWithConnectionStatus = (0,_with_connection_status__WEBPACK_IMPORTED_MODULE_6__.default)(_connect_button__WEBPACK_IMPORTED_MODULE_7__.default); /** * The Connection Screen component. * @@ -2709,12 +3072,13 @@ __webpack_require__.r(__webpack_exports__); * @param {Function} props.statusCallback -- Callback to pull connection status from the component. * @param {Array} props.images -- Images to display on the right side. * @param {string} props.assetBaseUrl -- The assets base URL. - * + * @param {boolean} props.autoTrigger -- Whether to initiate the connection process automatically upon rendering the component. * @returns {React.Component} The `ConnectScreen` component. */ var ConnectScreen = function ConnectScreen(props) { var title = props.title, + buttonLabel = props.buttonLabel, apiRoot = props.apiRoot, apiNonce = props.apiNonce, registrationNonce = props.registrationNonce, @@ -2723,103 +3087,101 @@ var ConnectScreen = function ConnectScreen(props) { statusCallback = props.statusCallback, images = props.images, children = props.children, - assetBaseUrl = props.assetBaseUrl; + assetBaseUrl = props.assetBaseUrl, + autoTrigger = props.autoTrigger; var showImageSlider = images.length; - var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])({}), - _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}), + _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), connectionStatus = _useState2[0], setConnectionStatus = _useState2[1]; - var statusHandler = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (status) { + var statusHandler = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (status) { setConnectionStatus(status); if (statusCallback && {}.toString.call(statusCallback) === '[object Function]') { return statusCallback(status); } }, [statusCallback, setConnectionStatus]); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: 'jp-connect-screen' + (showImageSlider ? ' jp-connect-screen--two-columns' : '') + (connectionStatus.hasOwnProperty('isRegistered') ? '' : ' jp-connect-screen--loading') - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connect-screen--left" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_4__["JetpackLogo"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("h2", null, title), children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_connect_button__WEBPACK_IMPORTED_MODULE_6__["default"], { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_8__.default, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("h2", null, title), children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ConnectButtonWithConnectionStatus, { apiRoot: apiRoot, apiNonce: apiNonce, registrationNonce: registrationNonce, from: from, redirectUri: redirectUri, statusCallback: statusHandler, - connectLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Set up Jetpack', 'jetpack') - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { - className: "jp-connnect-screen--tos" - }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createInterpolateElement"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('By clicking the button above, you agree to our Terms of Service and to share details with WordPress.com.', 'jetpack'), { - tosLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a", { - href: Object(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_4__["getRedirectUrl"])('wpcom-tos'), + connectLabel: buttonLabel, + autoTrigger: autoTrigger + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { + className: "jp-connect-screen--tos" + }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createInterpolateElement)(__('By clicking the button above, you agree to our Terms of Service and to share details with WordPress.com.', 'jetpack'), { + tosLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", { + href: (0,_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_9__.default)('wpcom-tos'), rel: "noopener noreferrer", target: "_blank" }), - shareDetailsLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a", { - href: Object(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_4__["getRedirectUrl"])('jetpack-support-what-data-does-jetpack-sync'), + shareDetailsLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", { + href: (0,_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_9__.default)('jetpack-support-what-data-does-jetpack-sync'), rel: "noopener noreferrer", target: "_blank" }) - }))), showImageSlider && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }))), showImageSlider ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connect-screen--right" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_image_slider__WEBPACK_IMPORTED_MODULE_7__["default"], { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_image_slider__WEBPACK_IMPORTED_MODULE_10__.default, { images: images, assetBaseUrl: assetBaseUrl - })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + })) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connect-screen--clearfix" })); }; ConnectScreen.propTypes = { - title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - body: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - apiRoot: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - apiNonce: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - from: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - redirectUri: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - registrationNonce: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - statusCallback: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, - images: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string), - assetBaseUrl: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string + title: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + body: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + apiRoot: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + apiNonce: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + from: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + redirectUri: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + registrationNonce: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + statusCallback: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), + images: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)), + assetBaseUrl: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + autoTrigger: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool) }; ConnectScreen.defaultProps = { - title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Over 5 million WordPress sites are faster and more secure', 'jetpack'), - images: [] + title: __('Over 5 million WordPress sites are faster and more secure', 'jetpack'), + buttonLabel: __('Set up Jetpack', 'jetpack'), + images: [], + redirectUri: null, + autoTrigger: false }; -/* harmony default export */ __webpack_exports__["default"] = (ConnectScreen); - -/***/ }), - -/***/ "../../js-packages/connection/components/connect-screen/style.scss": -/*!**************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/style.scss ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConnectScreen); /***/ }), /***/ "../../js-packages/connection/components/connect-user/index.jsx": -/*!***********************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-user/index.jsx ***! - \***********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!**********************************************************************!*\ + !*** ../../js-packages/connection/components/connect-user/index.jsx ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../tools/jetpack-rest-api-client */ "../../js-packages/connection/tools/jetpack-rest-api-client/index.jsx"); +/* harmony import */ var _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @automattic/jetpack-api */ "../../js-packages/api/index.jsx"); /** @@ -2827,10 +3189,6 @@ __webpack_require__.r(__webpack_exports__); */ -/** - * Internal dependencies - */ - /** * The user connection component. @@ -2840,7 +3198,6 @@ __webpack_require__.r(__webpack_exports__); * @param {string} props.connectUrl -- The authorization URL (no-iframe). * @param {string} props.redirectUri -- The redirect admin URI. * @param {string} props.from -- Where the connection request is coming from. - * * @returns {null} -- Nothing to return. */ @@ -2850,8 +3207,8 @@ var ConnectUser = function ConnectUser(props) { redirectUri = props.redirectUri, from = props.from; - var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(null), - _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null), + _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), authorizationUrl = _useState2[0], setAuthorizationUrl = _useState2[1]; @@ -2864,9 +3221,9 @@ var ConnectUser = function ConnectUser(props) { */ - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { if (!authorizationUrl) { - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_3__["default"].fetchAuthorizationUrl(redirectUri).then(function (response) { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_3__.default.fetchAuthorizationUrl(redirectUri).then(function (response) { return setAuthorizationUrl(response.authorizeUrl); })["catch"](function (error) { throw error; @@ -2883,31 +3240,34 @@ var ConnectUser = function ConnectUser(props) { }; ConnectUser.propTypes = { - connectUrl: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - redirectUri: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - from: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - redirectFunc: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func + connectUrl: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + redirectUri: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + from: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + redirectFunc: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func) }; ConnectUser.defaultProps = { redirectFunc: function redirectFunc(url) { return window.location.assign(url); - } + }, + redirectUri: null }; -/* harmony default export */ __webpack_exports__["default"] = (ConnectUser); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConnectUser); /***/ }), /***/ "../../js-packages/connection/components/connection-status-card/index.jsx": -/*!*********************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connection-status-card/index.jsx ***! - \*********************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!********************************************************************************!*\ + !*** ../../js-packages/connection/components/connection-status-card/index.jsx ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); @@ -2916,11 +3276,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _connect_user__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../connect-user */ "../../js-packages/connection/components/connect-user/index.jsx"); -/* harmony import */ var _disconnect_dialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../disconnect-dialog */ "../../js-packages/connection/components/disconnect-dialog/index.jsx"); -/* harmony import */ var _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../tools/jetpack-rest-api-client */ "../../js-packages/connection/tools/jetpack-rest-api-client/index.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connection-status-card/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @automattic/jetpack-api */ "../../js-packages/api/index.jsx"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var _connect_user__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../connect-user */ "../../js-packages/connection/components/connect-user/index.jsx"); +/* harmony import */ var _disconnect_dialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../disconnect-dialog */ "../../js-packages/connection/components/disconnect-dialog/index.jsx"); +/* harmony import */ var _state_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../state/store */ "../../js-packages/connection/state/store.jsx"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/connection-status-card/style.scss"); /** @@ -2928,6 +3290,9 @@ __webpack_require__.r(__webpack_exports__); */ +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__; + + /** @@ -2950,7 +3315,6 @@ __webpack_require__.r(__webpack_exports__); * @param {string} props.title -- The Card title. * @param {string} props.connectionInfoText -- The text that will be displayed under the title, containing info how to leverage the connection. * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success. - * * @returns {React.Component} The `ConnectionStatusCard` component. */ @@ -2964,38 +3328,41 @@ var ConnectionStatusCard = function ConnectionStatusCard(props) { connectionInfoText = props.connectionInfoText, onDisconnected = props.onDisconnected; - var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), isFetchingConnectionData = _useState2[0], setIsFetchingConnectionData = _useState2[1]; - var _useState3 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])({}), - _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}), + _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), connectedUserData = _useState4[0], setConnectedUserData = _useState4[1]; - var _useState5 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), + var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), isUserConnecting = _useState6[0], setIsUserConnecting = _useState6[1]; - var avatarRef = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(); + var _useDispatch = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_6__.useDispatch)(_state_store__WEBPACK_IMPORTED_MODULE_8__.STORE_ID), + setConnectionStatus = _useDispatch.setConnectionStatus; + + var avatarRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(); /** * Initialize the REST API. */ - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].setApiRoot(apiRoot); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].setApiNonce(apiNonce); + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.setApiRoot(apiRoot); + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.setApiNonce(apiNonce); }, [apiRoot, apiNonce]); /** * Fetch the connection data on the first render. * To be only run once. */ - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { setIsFetchingConnectionData(true); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].fetchSiteConnectionData().then(function (response) { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_5__.default.fetchSiteConnectionData().then(function (response) { var _response$currentUser, _response$currentUser2, _response$currentUser3; setIsFetchingConnectionData(false); @@ -3010,93 +3377,89 @@ var ConnectionStatusCard = function ConnectionStatusCard(props) { throw error; }); }, [setIsFetchingConnectionData, setConnectedUserData]); - var onDisconnectedCallback = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var onDisconnectedCallback = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); + setConnectionStatus({ + isActive: false, + isRegistered: false, + isUserConnected: false + }); - if (onDisconnected) { + if (onDisconnected && {}.toString.call(onDisconnected) === '[object Function]') { onDisconnected(); } - }, [onDisconnected]); // Prevent component from rendering if site is not connected. + }, [onDisconnected, setConnectionStatus]); // Prevent component from rendering if site is not connected. if (!isRegistered) { return null; } - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connection-status-card" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("h3", null, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("p", null, connectionInfoText), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("h3", null, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("p", null, connectionInfoText), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connection-status-card--status" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connection-status-card--cloud" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: 'jp-connection-status-card--line' + (isUserConnected ? '' : ' jp-connection-status-card--site-only') - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connection-status-card--jetpack-logo" - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-connection-status-card--avatar", ref: avatarRef - })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("ul", { + })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("ul", { className: "jp-connection-status-card--list" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("li", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("li", { className: "jp-connection-status-card--list-item-success" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Site connected.', 'jetpack'), "\xA0", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_disconnect_dialog__WEBPACK_IMPORTED_MODULE_6__["default"], { + }, __('Site connected.', 'jetpack'), "\xA0", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_disconnect_dialog__WEBPACK_IMPORTED_MODULE_9__.default, { apiRoot: apiRoot, apiNonce: apiNonce, onDisconnected: onDisconnectedCallback - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("h2", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Jetpack is currently powering multiple products on your site.', 'jetpack'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("br", null), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Once you disconnect Jetpack, these will no longer work.', 'jetpack')))), isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("li", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("h2", null, __('Jetpack is currently powering multiple products on your site.', 'jetpack'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("br", null), __('Once you disconnect Jetpack, these will no longer work.', 'jetpack')))), isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("li", { className: "jp-connection-status-card--list-item-success" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Logged in as', 'jetpack'), " ", connectedUserData === null || connectedUserData === void 0 ? void 0 : connectedUserData.display_name), !isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("li", { + }, __('Logged in as', 'jetpack'), " ", connectedUserData === null || connectedUserData === void 0 ? void 0 : connectedUserData.display_name), !isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("li", { className: "jp-connection-status-card--list-item-error" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Your WordPress.com account is not connected.', 'jetpack'))), !isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Button"], { + }, __('Your WordPress.com account is not connected.', 'jetpack'))), !isUserConnected && !isFetchingConnectionData && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, { isPrimary: true, disabled: isUserConnecting, onClick: setIsUserConnecting, className: "jp-connection-status-card--btn-connect-user" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Connect your WordPress.com account', 'jetpack')), isUserConnecting && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_connect_user__WEBPACK_IMPORTED_MODULE_5__["default"], { + }, __('Connect your WordPress.com account', 'jetpack')), isUserConnecting && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_connect_user__WEBPACK_IMPORTED_MODULE_10__.default, { redirectUri: redirectUri })); }; ConnectionStatusCard.propTypes = { - apiRoot: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - apiNonce: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - isRegistered: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool.isRequired, - isUserConnected: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool.isRequired, - redirectUri: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired, - title: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, - connectionInfoText: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, - onDisconnected: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func + apiRoot: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + apiNonce: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + isRegistered: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool.isRequired), + isUserConnected: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool.isRequired), + redirectUri: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string.isRequired), + title: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), + connectionInfoText: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), + onDisconnected: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func) }; ConnectionStatusCard.defaultProps = { - title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Connection', 'jetpack'), - connectionInfoText: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Leverages the Jetpack Cloud for more features on your side.', 'jetpack') + title: __('Connection', 'jetpack'), + connectionInfoText: __('Leverages the Jetpack Cloud for more features on your side.', 'jetpack') }; -/* harmony default export */ __webpack_exports__["default"] = (ConnectionStatusCard); - -/***/ }), - -/***/ "../../js-packages/connection/components/connection-status-card/style.scss": -/*!**********************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connection-status-card/style.scss ***! - \**********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConnectionStatusCard); /***/ }), /***/ "../../js-packages/connection/components/disconnect-dialog/index.jsx": -/*!****************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/disconnect-dialog/index.jsx ***! - \****************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/*!***************************************************************************!*\ + !*** ../../js-packages/connection/components/disconnect-dialog/index.jsx ***! + \***************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); @@ -3105,12 +3468,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/index.jsx"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../tools/jetpack-rest-api-client */ "../../js-packages/connection/tools/jetpack-rest-api-client/index.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/disconnect-dialog/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/tools/jp-redirect/index.jsx"); +/* harmony import */ var _automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @automattic/jetpack-components */ "../../js-packages/components/components/jetpack-logo/index.jsx"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @automattic/jetpack-api */ "../../js-packages/api/index.jsx"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/disconnect-dialog/style.scss"); /** @@ -3119,6 +3482,8 @@ __webpack_require__.r(__webpack_exports__); +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__; + @@ -3127,7 +3492,6 @@ __webpack_require__.r(__webpack_exports__); */ - /** * The RNA Disconnect Dialog component. * @@ -3138,28 +3502,27 @@ __webpack_require__.r(__webpack_exports__); * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success. * @param {Function} props.onError -- The callback to be called upon disconnection failure. * @param {Function} props.errorMessage -- The error message to display upon disconnection failure. - * * @returns {React.Component} The `DisconnectDialog` component. */ var DisconnectDialog = function DisconnectDialog(props) { - var _useState = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState2 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState, 2), isOpen = _useState2[0], setOpen = _useState2[1]; - var _useState3 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState4 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState3, 2), isDisconnecting = _useState4[0], setIsDisconnecting = _useState4[1]; - var _useState5 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), + var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState6 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState5, 2), isDisconnected = _useState6[0], setIsDisconnected = _useState6[1]; - var _useState7 = Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState8 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState7, 2), + var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), + _useState8 = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState7, 2), disconnectError = _useState8[0], setDisconnectError = _useState8[1]; @@ -3174,15 +3537,15 @@ var DisconnectDialog = function DisconnectDialog(props) { * Initialize the REST API. */ - Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].setApiRoot(apiRoot); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].setApiNonce(apiNonce); + (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_6__.default.setApiRoot(apiRoot); + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_6__.default.setApiNonce(apiNonce); }, [apiRoot, apiNonce]); /** * Open the Disconnect Dialog. */ - var openModal = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var openModal = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); setOpen(true); }, [setOpen]); @@ -3190,7 +3553,7 @@ var DisconnectDialog = function DisconnectDialog(props) { * Close the Disconnect Dialog. */ - var closeModal = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var closeModal = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); setOpen(false); }, [setOpen]); @@ -3198,11 +3561,11 @@ var DisconnectDialog = function DisconnectDialog(props) { * Disconnect - Triggered upon clicking the 'Disconnect' button. */ - var disconnect = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var disconnect = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); setDisconnectError(false); setIsDisconnecting(true); - _tools_jetpack_rest_api_client__WEBPACK_IMPORTED_MODULE_7__["default"].disconnectSite().then(function () { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_6__.default.disconnectSite().then(function () { setIsDisconnecting(false); setIsDisconnected(true); })["catch"](function (error) { @@ -3219,7 +3582,7 @@ var DisconnectDialog = function DisconnectDialog(props) { * Triggered upon clicking the 'Back To WordPress' button. */ - var backToWordpress = Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(function (e) { + var backToWordpress = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (e) { e && e.preventDefault(); if (onDisconnected) { @@ -3228,11 +3591,11 @@ var DisconnectDialog = function DisconnectDialog(props) { closeModal(); }, [onDisconnected, closeModal]); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_1___default.a.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Button"], { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, { variant: "link", onClick: openModal, className: "jp-disconnect-dialog__link" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Disconnect', 'jetpack')), isOpen && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Modal"], { + }, __('Disconnect', 'jetpack')), isOpen && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Modal, { title: "", contentLabel: title, aria: { @@ -3243,97 +3606,90 @@ var DisconnectDialog = function DisconnectDialog(props) { shouldCloseOnEsc: false, isDismissible: false, className: 'jp-disconnect-dialog' + (isDisconnected ? ' jp-disconnect-dialog__success' : '') - }, !isDisconnected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, !isDisconnected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-disconnect-dialog__content" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("h1", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("h1", { id: "jp-disconnect-dialog__heading" - }, title), children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, title), children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-disconnect-dialog__actions" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-row" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "lg-col-span-8 md-col-span-8 sm-col-span-4" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("p", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createInterpolateElement"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Need help? Learn more about the Jetpack connection or contact Jetpack support', 'jetpack'), { - strong: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("strong", null), - jpConnectionInfoLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a", { - href: Object(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_5__["getRedirectUrl"])('why-the-wordpress-com-connection-is-important-for-jetpack'), + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("p", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.createInterpolateElement)(__('Need help? Learn more about the Jetpack connection or contact Jetpack support', 'jetpack'), { + strong: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("strong", null), + jpConnectionInfoLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", { + href: (0,_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_8__.default)('why-the-wordpress-com-connection-is-important-for-jetpack'), rel: "noopener noreferrer", target: "_blank", className: "jp-disconnect-dialog__link" }), - jpSupportLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a", { - href: Object(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_5__["getRedirectUrl"])('jetpack-support'), + jpSupportLink: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", { + href: (0,_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_8__.default)('jetpack-support'), rel: "noopener noreferrer", target: "_blank", className: "jp-disconnect-dialog__link" }) - }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { + }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: "jp-disconnect-dialog__button-wrap lg-col-span-4 md-col-span-8 sm-col-span-4" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Button"], { + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, { isPrimary: true, disabled: isDisconnecting, onClick: closeModal, className: "jp-disconnect-dialog__btn-dismiss" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Stay connected', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Button"], { + }, __('Stay connected', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, { isPrimary: true, disabled: isDisconnecting, onClick: disconnect, className: "jp-disconnect-dialog__btn-disconnect" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Disconnect', 'jetpack')))), disconnectError && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("p", { + }, __('Disconnect', 'jetpack')))), disconnectError && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("p", { className: "jp-disconnect-dialog__error" - }, errorMessage))), isDisconnected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_5__["JetpackLogo"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("h1", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createInterpolateElement"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Jetpack has been
successfully disconnected.', 'jetpack'), { - br: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("br", null) - })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Button"], { + }, errorMessage))), isDisconnected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_automattic_jetpack_components__WEBPACK_IMPORTED_MODULE_9__.default, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("h1", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.createInterpolateElement)(__('Jetpack has been
successfully disconnected.', 'jetpack'), { + br: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("br", null) + })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, { isPrimary: true, onClick: backToWordpress, className: "jp-disconnect-dialog__btn-back-to-wp" - }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Back to WordPress', 'jetpack'))))); + }, __('Back to WordPress', 'jetpack'))))); }; DisconnectDialog.propTypes = { - apiRoot: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - apiNonce: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - onDisconnected: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, - onError: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, - errorMessage: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string + apiRoot: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + apiNonce: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired), + title: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), + onDisconnected: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), + onError: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), + errorMessage: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string) }; DisconnectDialog.defaultProps = { - title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Are you sure you want to disconnect?', 'jetpack'), - errorMessage: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Failed to disconnect. Please try again.', 'jetpack') + title: __('Are you sure you want to disconnect?', 'jetpack'), + errorMessage: __('Failed to disconnect. Please try again.', 'jetpack') }; -/* harmony default export */ __webpack_exports__["default"] = (DisconnectDialog); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DisconnectDialog); /***/ }), -/***/ "../../js-packages/connection/components/disconnect-dialog/style.scss": -/*!*****************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/disconnect-dialog/style.scss ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - -/***/ "../../js-packages/connection/components/in-place-connection/index.jsx": -/*!******************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/in-place-connection/index.jsx ***! - \******************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/connection/components/with-connection-status/index.jsx": +/*!********************************************************************************!*\ + !*** ../../js-packages/connection/components/with-connection-status/index.jsx ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js"); -/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "../../js-packages/connection/components/in-place-connection/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_3__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @automattic/jetpack-api */ "../../js-packages/api/index.jsx"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _state_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../state/store */ "../../js-packages/connection/state/store.jsx"); + + /** * External dependencies */ @@ -3346,255 +3702,292 @@ __webpack_require__.r(__webpack_exports__); /** - * The in-place connection component. + * Fetch the connection status and update the state accordingly. * - * @param {object} props -- The properties. - * @param {string} props.title -- Element title. - * @param {boolean} props.isLoading -- Whether the element is still loading. - * @param {string|number} props.width -- Iframe width. - * @param {string|number} props.height -- Iframe height. - * @param {boolean} props.displayTOS -- Whether the site has connection owner connected. - * @param {boolean} props.scrollToIframe -- Whether we need to auto-scroll the window upon element rendering. - * @param {string} props.connectUrl -- The connection URL. - * @param {Function} props.onComplete -- The callback to be called upon complete of the connection process. - * @param {Function} props.onThirdPartyCookiesBlocked -- The callback to be called if third-party cookies are disabled. - * @param {string} props.location -- Component location identifier passed to WP.com. - * - * @returns {React.Component} The in-place connection component. + * @param {string} apiRoot - API root URL. + * @param {string} apiNonce - API Nonce. + * @param {Function} onSuccess - Callback that's called upon successfully fetching the connection status. + * @param {Function} onError - Callback that's called in case of fetching error. */ -var InPlaceConnection = function InPlaceConnection(props) { - var title = props.title, - isLoading = props.isLoading, - width = props.width, - displayTOS = props.displayTOS, - scrollToIframe = props.scrollToIframe, - connectUrl = props.connectUrl, - onComplete = props.onComplete, - onThirdPartyCookiesBlocked = props.onThirdPartyCookiesBlocked, - location = props.location; - var height = props.height; - var iframeWrapRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(); - var iframeRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(); +var fetchConnectionStatus = function fetchConnectionStatus(apiRoot, apiNonce, onSuccess, onError) { + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_2__.default.setApiRoot(apiRoot); + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_2__.default.setApiNonce(apiNonce); + _automattic_jetpack_api__WEBPACK_IMPORTED_MODULE_2__.default.fetchSiteConnectionStatus().then(onSuccess)["catch"](onError); +}; +/** + * Higher order component to fetch connection status and pass it further as a parameter. + * + * @param {React.Component} WrappedComponent - The component that needs connection status. + * @returns {React.Component} The higher order component. + */ + + +var withConnectionStatus = function withConnectionStatus(WrappedComponent) { /** - * Handles messages received from inside the iframe. + * The `WrappedComponent` with connection status passed into it. * - * @param {object} e -- Event object. + * @param {object} props -- The properties. + * @param {Function} props.statusCallback -- Callback to pull connection status from the component. + * @returns {React.Component} The higher order component. */ + return function (props) { + var apiRoot = props.apiRoot, + apiNonce = props.apiNonce, + statusCallback = props.statusCallback; + var connectionStatus = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.useSelect)(function (select) { + return select(_state_store__WEBPACK_IMPORTED_MODULE_4__.STORE_ID).getConnectionStatus(); + }, []); - var receiveData = function receiveData(e) { - if (!iframeRef.current || e.source !== iframeRef.current.contentWindow) { - return; + var _useDispatch = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.useDispatch)(_state_store__WEBPACK_IMPORTED_MODULE_4__.STORE_ID), + setConnectionStatus = _useDispatch.setConnectionStatus, + setConnectionStatusIsFetching = _useDispatch.setConnectionStatusIsFetching; + + var connectionStatusIsFetching = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.useSelect)(function (select) { + return select(_state_store__WEBPACK_IMPORTED_MODULE_4__.STORE_ID).getConnectionStatusIsFetching(); + }, []); + var hasConnectionStatus = connectionStatus.hasOwnProperty('isActive'); + var onSuccess = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (response) { + setConnectionStatus(response); + setConnectionStatusIsFetching(false); + }, [setConnectionStatus, setConnectionStatusIsFetching]); + var onError = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (error) { + setConnectionStatusIsFetching(false); + throw error; + }, [setConnectionStatusIsFetching]); + var statusCallbackWrapped = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () { + if (statusCallback && {}.toString.call(statusCallback) === '[object Function]') { + return statusCallback(connectionStatus); + } + }, [connectionStatus, statusCallback]); + + if (!hasConnectionStatus && !connectionStatusIsFetching) { + setConnectionStatusIsFetching(true); + fetchConnectionStatus(apiRoot, apiNonce, onSuccess, onError); } - switch (e.data) { - case 'close': - // Remove listener, our job here is done. - window.removeEventListener('message', receiveData); - - if (onComplete) { - onComplete(); - } - - break; - - case 'wpcom_nocookie': - // Third-party cookies blocked. - if (onThirdPartyCookiesBlocked) { - onThirdPartyCookiesBlocked(); - } - - break; - } + hasConnectionStatus && !connectionStatusIsFetching && statusCallbackWrapped(); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(WrappedComponent, _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ + connectionStatus: connectionStatus, + connectionStatusIsFetching: connectionStatusIsFetching + }, props)); }; - - Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])( - /** - * The component initialization. - */ - function () { - // Scroll to the iframe container - if (scrollToIframe) { - window.scrollTo(0, iframeWrapRef.current.offsetTop - 10); - } // Add an event listener to identify successful authorization via iframe. - - - window.addEventListener('message', receiveData); - }); // The URL looks like https://jetpack.wordpress.com/jetpack.authorize_iframe/1/. We need to include the trailing - // slash below so that we don't end up with something like /jetpack.authorize_iframe_iframe/ - - var src = connectUrl.replace('authorize/', 'authorize_iframe/'); - - if (!src.includes('?')) { - src += '?'; - } - - if (displayTOS) { - src += '&display-tos'; - height = (parseInt(height) + 50).toString(); - } - - src += '&iframe_height=' + parseInt(height); - - if (location) { - src += '&iframe_source=' + location; - } - - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { - className: "dops-card fade-in jp-iframe-wrap", - ref: iframeWrapRef - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h1", null, title), isLoading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Loading…', 'jetpack')) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("iframe", { - title: title, - width: width, - height: height, - src: src, - ref: iframeRef - })); }; -InPlaceConnection.propTypes = { - title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - isLoading: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, - width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, - connectUrl: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired, - displayTOS: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool.isRequired, - scrollToIframe: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, - onComplete: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, - onThirdPartyCookiesBlocked: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, - location: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string -}; -InPlaceConnection.defaultProps = { - isLoading: false, - height: '300', - width: '100%', - scrollToIframe: false -}; -/* harmony default export */ __webpack_exports__["default"] = (InPlaceConnection); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withConnectionStatus); /***/ }), -/***/ "../../js-packages/connection/components/in-place-connection/style.scss": -/*!*******************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/in-place-connection/style.scss ***! - \*******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - -/***/ "../../js-packages/connection/helpers/third-party-cookies-fallback.jsx": -/*!******************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/helpers/third-party-cookies-fallback.jsx ***! - \******************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/connection/components/with-connection-status/state/actions.jsx": +/*!****************************************************************************************!*\ + !*** ../../js-packages/connection/components/with-connection-status/state/actions.jsx ***! + \****************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/** - * Performs the fallback redirect if third-party cookies are not available. - * - * @param {string} fallbackURL -- The fallback URL. - */ -var thirdPartyCookiesFallback = function thirdPartyCookiesFallback(fallbackURL) { - window.location.replace(fallbackURL); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "SET_CONNECTION_STATUS": () => (/* binding */ SET_CONNECTION_STATUS), +/* harmony export */ "SET_CONNECTION_STATUS_IS_FETCHING": () => (/* binding */ SET_CONNECTION_STATUS_IS_FETCHING), +/* harmony export */ "default": () => (/* binding */ connectionStatusActions) +/* harmony export */ }); +var SET_CONNECTION_STATUS = 'SET_CONNECTION_STATUS'; +var SET_CONNECTION_STATUS_IS_FETCHING = 'SET_CONNECTION_STATUS_IS_FETCHING'; +var connectionStatusActions = { + setConnectionStatus: function setConnectionStatus(connectionStatus) { + return { + type: SET_CONNECTION_STATUS, + connectionStatus: connectionStatus + }; + }, + setConnectionStatusIsFetching: function setConnectionStatusIsFetching(isFetching) { + return { + type: SET_CONNECTION_STATUS_IS_FETCHING, + isFetching: isFetching + }; + } }; -/* harmony default export */ __webpack_exports__["default"] = (thirdPartyCookiesFallback); /***/ }), -/***/ "../../js-packages/connection/index.jsx": -/*!***********************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/index.jsx ***! - \***********************************************************************************/ -/*! exports provided: ConnectScreen, ConnectButton, InPlaceConnection, ConnectUser, ConnectionStatusCard, DisconnectDialog, thirdPartyCookiesFallbackHelper */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/connection/components/with-connection-status/state/reducers.jsx": +/*!*****************************************************************************************!*\ + !*** ../../js-packages/connection/components/with-connection-status/state/reducers.jsx ***! + \*****************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _components_connect_screen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/connect-screen */ "../../js-packages/connection/components/connect-screen/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectScreen", function() { return _components_connect_screen__WEBPACK_IMPORTED_MODULE_0__["default"]; }); - -/* harmony import */ var _components_connect_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/connect-button */ "../../js-packages/connection/components/connect-button/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectButton", function() { return _components_connect_button__WEBPACK_IMPORTED_MODULE_1__["default"]; }); - -/* harmony import */ var _components_in_place_connection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/in-place-connection */ "../../js-packages/connection/components/in-place-connection/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InPlaceConnection", function() { return _components_in_place_connection__WEBPACK_IMPORTED_MODULE_2__["default"]; }); - -/* harmony import */ var _components_connect_user__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/connect-user */ "../../js-packages/connection/components/connect-user/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectUser", function() { return _components_connect_user__WEBPACK_IMPORTED_MODULE_3__["default"]; }); - -/* harmony import */ var _components_connection_status_card__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/connection-status-card */ "../../js-packages/connection/components/connection-status-card/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectionStatusCard", function() { return _components_connection_status_card__WEBPACK_IMPORTED_MODULE_4__["default"]; }); - -/* harmony import */ var _components_disconnect_dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/disconnect-dialog */ "../../js-packages/connection/components/disconnect-dialog/index.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DisconnectDialog", function() { return _components_disconnect_dialog__WEBPACK_IMPORTED_MODULE_5__["default"]; }); - -/* harmony import */ var _helpers_third_party_cookies_fallback__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers/third-party-cookies-fallback */ "../../js-packages/connection/helpers/third-party-cookies-fallback.jsx"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thirdPartyCookiesFallbackHelper", function() { return _helpers_third_party_cookies_fallback__WEBPACK_IMPORTED_MODULE_6__["default"]; }); - -/* -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - -/** - * Components. - */ - - - - +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "connectionStatus": () => (/* binding */ connectionStatus), +/* harmony export */ "connectionStatusIsFetching": () => (/* binding */ connectionStatusIsFetching) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "../../js-packages/connection/components/with-connection-status/state/actions.jsx"); /** - * Helpers. + * Internal dependencies */ +var connectionStatus = function connectionStatus() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case _actions__WEBPACK_IMPORTED_MODULE_1__.SET_CONNECTION_STATUS: + return _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, state), action.connectionStatus); + } + + return state; +}; + +var connectionStatusIsFetching = function connectionStatusIsFetching() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case _actions__WEBPACK_IMPORTED_MODULE_1__.SET_CONNECTION_STATUS_IS_FETCHING: + return action.isFetching; + } + + return state; +}; + + /***/ }), -/***/ "../../js-packages/connection/tools/jetpack-rest-api-client/index.jsx": -/*!*****************************************************************************************************************!*\ - !*** /home/runner/work/jetpack/jetpack/projects/js-packages/connection/tools/jetpack-rest-api-client/index.jsx ***! - \*****************************************************************************************************************/ -/*! exports provided: JsonParseError, JsonParseAfterRedirectError, Api404Error, Api404AfterRedirectError, FetchNetworkError, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ "../../js-packages/connection/components/with-connection-status/state/selectors.jsx": +/*!******************************************************************************************!*\ + !*** ../../js-packages/connection/components/with-connection-status/state/selectors.jsx ***! + \******************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JsonParseError", function() { return JsonParseError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JsonParseAfterRedirectError", function() { return JsonParseAfterRedirectError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Api404Error", function() { return Api404Error; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Api404AfterRedirectError", function() { return Api404AfterRedirectError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FetchNetworkError", function() { return FetchNetworkError; }); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/wrapNativeSuper */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/wrapNativeSuper.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash"); -/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var connectionSelectors = { + getConnectionStatus: function getConnectionStatus(state) { + return state.connectionStatus || {}; + }, + getConnectionStatusIsFetching: function getConnectionStatusIsFetching(state) { + return state.connectionStatusIsFetching || false; + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (connectionSelectors); +/***/ }), + +/***/ "../../js-packages/connection/state/actions.jsx": +/*!******************************************************!*\ + !*** ../../js-packages/connection/state/actions.jsx ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _components_with_connection_status_state_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/with-connection-status/state/actions */ "../../js-packages/connection/components/with-connection-status/state/actions.jsx"); + + +/** + * Internal dependencies + */ + + +var actions = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _components_with_connection_status_state_actions__WEBPACK_IMPORTED_MODULE_1__.default); + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (actions); + +/***/ }), + +/***/ "../../js-packages/connection/state/reducers.jsx": +/*!*******************************************************!*\ + !*** ../../js-packages/connection/state/reducers.jsx ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _components_with_connection_status_state_reducers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/with-connection-status/state/reducers */ "../../js-packages/connection/components/with-connection-status/state/reducers.jsx"); +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + +var reducers = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_0__.combineReducers)({ + connectionStatus: _components_with_connection_status_state_reducers__WEBPACK_IMPORTED_MODULE_1__.connectionStatus, + connectionStatusIsFetching: _components_with_connection_status_state_reducers__WEBPACK_IMPORTED_MODULE_1__.connectionStatusIsFetching +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reducers); + +/***/ }), + +/***/ "../../js-packages/connection/state/selectors.jsx": +/*!********************************************************!*\ + !*** ../../js-packages/connection/state/selectors.jsx ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _components_with_connection_status_state_selectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/with-connection-status/state/selectors */ "../../js-packages/connection/components/with-connection-status/state/selectors.jsx"); + + +/** + * Internal dependencies + */ + + +var selectors = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _components_with_connection_status_state_selectors__WEBPACK_IMPORTED_MODULE_1__.default); + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (selectors); + +/***/ }), + +/***/ "../../js-packages/connection/state/store-holder.jsx": +/*!***********************************************************!*\ + !*** ../../js-packages/connection/state/store-holder.jsx ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__); @@ -3603,240 +3996,75 @@ __webpack_require__.r(__webpack_exports__); * External dependencies */ -/** - * Helps create new custom error classes to better notify upper layers. - * - * @param {string} name - The Error name that will be available in `Error.name`. - * @returns {Error} a new custom error class. - */ -function createCustomError(name) { - var CustomError = /*#__PURE__*/function (_Error) { - _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_1___default()(CustomError, _Error); +var storeHolder = /*#__PURE__*/function () { + function storeHolder() { + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, storeHolder); + } - var _super = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_createSuper__WEBPACK_IMPORTED_MODULE_2___default()(CustomError); - - function CustomError() { - var _this; - - _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, CustomError); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; + _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(storeHolder, null, [{ + key: "mayBeInit", + value: function mayBeInit(storeId, storeConfig) { + if (null === storeHolder.store) { + storeHolder.store = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.createReduxStore)(storeId, storeConfig); + (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_3__.register)(storeHolder.store); } - - _this = _super.call.apply(_super, [this].concat(args)); - _this.name = name; - return _this; } + }]); - return CustomError; - }( /*#__PURE__*/_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_wrapNativeSuper__WEBPACK_IMPORTED_MODULE_3___default()(Error)); + return storeHolder; +}(); - return CustomError; -} +_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(storeHolder, "store", null); -var JsonParseError = createCustomError('JsonParseError'); -var JsonParseAfterRedirectError = createCustomError('JsonParseAfterRedirectError'); -var Api404Error = createCustomError('Api404Error'); -var Api404AfterRedirectError = createCustomError('Api404AfterRedirectError'); -var FetchNetworkError = createCustomError('FetchNetworkError'); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (storeHolder); + +/***/ }), + +/***/ "../../js-packages/connection/state/store.jsx": +/*!****************************************************!*\ + !*** ../../js-packages/connection/state/store.jsx ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "STORE_ID": () => (/* binding */ STORE_ID) +/* harmony export */ }); +/* harmony import */ var _reducers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reducers */ "../../js-packages/connection/state/reducers.jsx"); +/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./actions */ "../../js-packages/connection/state/actions.jsx"); +/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./selectors */ "../../js-packages/connection/state/selectors.jsx"); +/* harmony import */ var _store_holder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store-holder */ "../../js-packages/connection/state/store-holder.jsx"); /** - * Jetpack REST API Client. - * - * @param {string} root - The API root URL. - * @param {string} nonce - The API nonce. - * @class - */ - -function JetpackRestApiClient(root, nonce) { - var apiRoot = root, - headers = { - 'X-WP-Nonce': nonce - }, - getParams = { - credentials: 'same-origin', - headers: headers - }, - postParams = { - method: 'post', - credentials: 'same-origin', - headers: Object(lodash__WEBPACK_IMPORTED_MODULE_4__["assign"])({}, headers, { - 'Content-type': 'application/json' - }) - }; - var methods = { - setApiRoot: function setApiRoot(newRoot) { - apiRoot = newRoot; - }, - setApiNonce: function setApiNonce(newNonce) { - headers = { - 'X-WP-Nonce': newNonce - }; - getParams = { - credentials: 'same-origin', - headers: headers - }; - postParams = { - method: 'post', - credentials: 'same-origin', - headers: Object(lodash__WEBPACK_IMPORTED_MODULE_4__["assign"])({}, headers, { - 'Content-type': 'application/json' - }) - }; - }, - registerSite: function registerSite(registrationNonce, redirectUri) { - return postRequest("".concat(apiRoot, "jetpack/v4/connection/register"), postParams, { - body: JSON.stringify({ - registration_nonce: registrationNonce, - no_iframe: true, - redirect_uri: redirectUri - }) - }).then(checkStatus).then(parseJsonResponse); - }, - fetchAuthorizationUrl: function fetchAuthorizationUrl(redirectUri) { - return getRequest("".concat(apiRoot, "jetpack/v4/connection/authorize_url?no_iframe=1&redirect_uri=").concat(encodeURIComponent(redirectUri)), getParams).then(checkStatus).then(parseJsonResponse); - }, - fetchSiteConnectionStatus: function fetchSiteConnectionStatus() { - return getRequest("".concat(apiRoot, "jetpack/v4/connection"), getParams).then(parseJsonResponse); - }, - fetchSiteConnectionData: function fetchSiteConnectionData() { - return getRequest("".concat(apiRoot, "jetpack/v4/connection/data"), getParams).then(parseJsonResponse); - }, - disconnectSite: function disconnectSite() { - return postRequest("".concat(apiRoot, "jetpack/v4/connection"), postParams, { - body: JSON.stringify({ - isActive: false - }) - }).then(checkStatus).then(parseJsonResponse); - } - }; - /** - * Add the cache buster value to the URL. - * - * @param {string} route - The API route URL. - * @returns {string} The API route URL with cache buster added. - */ - - function addCacheBuster(route) { - var parts = route.split('?'), - query = parts.length > 1 ? parts[1] : '', - args = query.length ? query.split('&') : []; - args.push('_cacheBuster=' + new Date().getTime()); - return parts[0] + '?' + args.join('&'); - } - /** - * Perform a GET API request. - * - * @param {string} route - The API route. - * @param {object} params - The request params. - * @returns {Promise} The request result promise. - */ - - - function getRequest(route, params) { - return fetch(addCacheBuster(route), params); - } - /** - * Perform a GET API request. - * - * @param {string} route - The API route. - * @param {object} params - The request params. - * @param {object} [body] - The request body. - * @returns {Promise} The request result promise. - */ - - - function postRequest(route, params, body) { - return fetch(route, Object(lodash__WEBPACK_IMPORTED_MODULE_4__["assign"])({}, params, body))["catch"](catchNetworkErrors); - } - - Object(lodash__WEBPACK_IMPORTED_MODULE_4__["assign"])(this, methods); -} -/** - * Check the response status. - * - * @param {object} response - The API response. - * @returns {Promise} - The status promise. + * Internal dependencies */ -function checkStatus(response) { - // Regular success responses - if (response.status >= 200 && response.status < 300) { - return response; - } - - if (response.status === 404) { - return new Promise(function () { - var err = response.redirected ? new Api404AfterRedirectError(response.redirected) : new Api404Error(); - throw err; - }); - } - - return response.json()["catch"](function (e) { - return catchJsonParseError(e); - }).then(function (json) { - var error = new Error("".concat(json.message, " (Status ").concat(response.status, ")")); - error.response = json; - error.name = 'ApiError'; - throw error; - }); -} -/** - * Parse JSON response. - * - * @param {string} response - The JSON string. - * @returns {object} The parsed JSON object. - */ -function parseJsonResponse(response) { - return response.json()["catch"](function (e) { - return catchJsonParseError(e, response.redirected, response.url); - }); -} -/** - * Catch a JSON parse error. - * - * @param {object} e - The error. - * @param {boolean} redirected - Whether it is an "after redirect" parse error. - * @param {string} url - The redirect URL. - */ +var STORE_ID = 'jetpack-connection'; +_store_holder__WEBPACK_IMPORTED_MODULE_0__.default.mayBeInit(STORE_ID, { + reducer: _reducers__WEBPACK_IMPORTED_MODULE_1__.default, + actions: _actions__WEBPACK_IMPORTED_MODULE_2__.default, + selectors: _selectors__WEBPACK_IMPORTED_MODULE_3__.default +}); -function catchJsonParseError(e, redirected, url) { - var err = redirected ? new JsonParseAfterRedirectError(url) : new JsonParseError(); - throw err; -} -/** - * Catches TypeError coming from the Fetch API implementation - */ - - -function catchNetworkErrors() { - //Either one of: - // * A preflight error like a redirection to an external site (which results in a CORS) - // * A preflight error like ERR_TOO_MANY_REDIRECTS - throw new FetchNetworkError(); -} - -var restApi = new JetpackRestApiClient(); -/* harmony default export */ __webpack_exports__["default"] = (restApi); - /***/ }), /***/ "./_inc/actions/connection-status.js": /*!*******************************************!*\ !*** ./_inc/actions/connection-status.js ***! \*******************************************/ -/*! exports provided: SET_CONNECTION_STATUS, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SET_CONNECTION_STATUS", function() { return SET_CONNECTION_STATUS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return connectionStatusActions; }); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "SET_CONNECTION_STATUS": () => (/* binding */ SET_CONNECTION_STATUS), +/* harmony export */ "default": () => (/* binding */ connectionStatusActions) +/* harmony export */ }); var SET_CONNECTION_STATUS = 'SET_CONNECTION_STATUS'; var connectionStatusActions = { setConnectionStatus: function setConnectionStatus(connectionStatus) { @@ -3854,13 +4082,15 @@ var connectionStatusActions = { /*!*******************************!*\ !*** ./_inc/actions/index.js ***! \*******************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _connection_status__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connection-status */ "./_inc/actions/connection-status.js"); @@ -3869,20 +4099,551 @@ __webpack_require__.r(__webpack_exports__); */ -var actions = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _connection_status__WEBPACK_IMPORTED_MODULE_1__["default"]); +var actions = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _connection_status__WEBPACK_IMPORTED_MODULE_1__.default); -/* harmony default export */ __webpack_exports__["default"] = (actions); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (actions); /***/ }), -/***/ "./_inc/admin.jsx": +/***/ "./_inc/components/admin/index.jsx": +/*!*****************************************!*\ + !*** ./_inc/components/admin/index.jsx ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ Admin) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @automattic/jetpack-connection */ "../../js-packages/connection/components/connection-status-card/index.jsx"); +/* harmony import */ var _automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @automattic/jetpack-connection */ "../../js-packages/connection/components/connect-screen/index.jsx"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../store */ "./_inc/store.js"); +/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../header */ "./_inc/components/header/index.jsx"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "./_inc/components/admin/style.scss"); +/* harmony import */ var _assets_connect_right_png__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./assets/connect-right.png */ "./_inc/components/admin/assets/connect-right.png"); +/** + * External dependencies + */ + + + + +/** + * Internal dependencies + */ + +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__; + + + + +/** + * The Connection IU Admin App. + * + * @returns {object} The Admin component. + */ + +function Admin() { + var APINonce = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(function (select) { + return select(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID).getAPINonce(); + }, []); + var APIRoot = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(function (select) { + return select(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID).getAPIRoot(); + }, []); + var registrationNonce = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(function (select) { + return select(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID).getRegistrationNonce(); + }, []); + var assetBuildUrl = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(function (select) { + return select(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID).getAssetBuildUrl(); + }, []); + var connectionStatus = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(function (select) { + return select(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID).getConnectionStatus(); + }, []); + + var _useDispatch = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_store__WEBPACK_IMPORTED_MODULE_3__.STORE_ID), + setConnectionStatus = _useDispatch.setConnectionStatus; + + var statusCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (status) { + setConnectionStatus(status); + }, [setConnectionStatus]); + var onDisconnectedCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () { + setConnectionStatus({ + isActive: false, + isRegistered: false, + isUserConnected: false + }); + }, [setConnectionStatus]); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_header__WEBPACK_IMPORTED_MODULE_4__.default, null), connectionStatus.isRegistered && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_7__.default, { + isRegistered: connectionStatus.isRegistered, + isUserConnected: connectionStatus.isUserConnected, + apiRoot: APIRoot, + apiNonce: APINonce, + onDisconnected: onDisconnectedCallback, + redirectUri: "tools.php?page=wpcom-connection-manager" + }), !connectionStatus.isRegistered && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_8__.default, { + apiRoot: APIRoot, + apiNonce: APINonce, + registrationNonce: registrationNonce, + from: "connection-ui", + redirectUri: "tools.php?page=wpcom-connection-manager", + statusCallback: statusCallback, + images: [_assets_connect_right_png__WEBPACK_IMPORTED_MODULE_6__], + assetBaseUrl: assetBuildUrl + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", null, __("Secure and speed up your site for free with Jetpack's powerful WordPress tools.", 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("ul", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, __('Measure your impact with beautiful stats', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, __('Speed up your site with optimized images', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, __('Protect your site against bot attacks', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, __('Get notifications if your site goes offline', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, __('Enhance your site with dozens of other features', 'jetpack'))))); +} + +/***/ }), + +/***/ "./_inc/components/header/index.jsx": +/*!******************************************!*\ + !*** ./_inc/components/header/index.jsx ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./_inc/components/header/style.scss"); +/** + * External dependencies + */ + + +/** + * Internal dependencies + */ + +var __ = _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__; + +/** + * The Connection UI header. + * + * @returns {object} The header component. + */ + +var Header = function Header() { + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { + className: "jetpack-cui__header" + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h1", null, __('Connection Manager', 'jetpack'))); +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Header); + +/***/ }), + +/***/ "./_inc/reducers/api.js": +/*!******************************!*\ + !*** ./_inc/reducers/api.js ***! + \******************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var API = function API() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return state; +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (API); + +/***/ }), + +/***/ "./_inc/reducers/assets.js": +/*!*********************************!*\ + !*** ./_inc/reducers/assets.js ***! + \*********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var assets = function assets() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return state; +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assets); + +/***/ }), + +/***/ "./_inc/reducers/connection-status.js": +/*!********************************************!*\ + !*** ./_inc/reducers/connection-status.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _actions_connection_status__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actions/connection-status */ "./_inc/actions/connection-status.js"); +/** + * Internal dependencies + */ + + +var connectionStatus = function connectionStatus() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case _actions_connection_status__WEBPACK_IMPORTED_MODULE_0__.SET_CONNECTION_STATUS: + return action.connectionStatus; + } + + return state; +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (connectionStatus); + +/***/ }), + +/***/ "./_inc/reducers/index.js": +/*!********************************!*\ + !*** ./_inc/reducers/index.js ***! + \********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _connection_status__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connection-status */ "./_inc/reducers/connection-status.js"); +/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api */ "./_inc/reducers/api.js"); +/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assets */ "./_inc/reducers/assets.js"); +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + + +var reducer = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_0__.combineReducers)({ + connectionStatus: _connection_status__WEBPACK_IMPORTED_MODULE_1__.default, + API: _api__WEBPACK_IMPORTED_MODULE_2__.default, + assets: _assets__WEBPACK_IMPORTED_MODULE_3__.default +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reducer); + +/***/ }), + +/***/ "./_inc/selectors/api.js": +/*!*******************************!*\ + !*** ./_inc/selectors/api.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var APISelectors = { + getAPIRoot: function getAPIRoot(state) { + return state.API.WP_API_root || null; + }, + getAPINonce: function getAPINonce(state) { + return state.API.WP_API_nonce || null; + }, + getRegistrationNonce: function getRegistrationNonce(state) { + return state.API.registrationNonce || null; + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (APISelectors); + +/***/ }), + +/***/ "./_inc/selectors/assets.js": +/*!**********************************!*\ + !*** ./_inc/selectors/assets.js ***! + \**********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var assetsSelectors = { + getAssetBuildUrl: function getAssetBuildUrl(state) { + return state.assets.buildUrl || null; + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assetsSelectors); + +/***/ }), + +/***/ "./_inc/selectors/connection-status.js": +/*!*********************************************!*\ + !*** ./_inc/selectors/connection-status.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var connectionSelectors = { + getConnectionStatus: function getConnectionStatus(state) { + return state.connectionStatus || {}; + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (connectionSelectors); + +/***/ }), + +/***/ "./_inc/selectors/index.js": +/*!*********************************!*\ + !*** ./_inc/selectors/index.js ***! + \*********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js"); +/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _connection_status__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connection-status */ "./_inc/selectors/connection-status.js"); +/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api */ "./_inc/selectors/api.js"); +/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assets */ "./_inc/selectors/assets.js"); + + +/** + * Internal dependencies + */ + + + + +var selectors = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_15_3_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _connection_status__WEBPACK_IMPORTED_MODULE_1__.default), _api__WEBPACK_IMPORTED_MODULE_2__.default), _assets__WEBPACK_IMPORTED_MODULE_3__.default); + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (selectors); + +/***/ }), + +/***/ "./_inc/store.js": +/*!***********************!*\ + !*** ./_inc/store.js ***! + \***********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "STORE_ID": () => (/* binding */ STORE_ID), +/* harmony export */ "storeConfig": () => (/* binding */ storeConfig) +/* harmony export */ }); +/* harmony import */ var _reducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducers */ "./_inc/reducers/index.js"); +/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "./_inc/actions/index.js"); +/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ "./_inc/selectors/index.js"); +/** + * Internal dependencies + */ + + + +var STORE_ID = 'jetpack-connection-ui'; +var storeConfig = { + reducer: _reducers__WEBPACK_IMPORTED_MODULE_0__.default, + actions: _actions__WEBPACK_IMPORTED_MODULE_1__.default, + selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__.default, + initialState: window.CUI_INITIAL_STATE || {} +}; + +/***/ }), + +/***/ "./_inc/components/admin/assets/connect-right.png": +/*!********************************************************!*\ + !*** ./_inc/components/admin/assets/connect-right.png ***! + \********************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = "/" + "images/connect-right-f27775ac15cf885713c2.png"; + +/***/ }), + +/***/ "react": +/*!************************!*\ + !*** external "React" ***! + \************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["React"]; + +/***/ }), + +/***/ "react-dom": +/*!***************************!*\ + !*** external "ReactDOM" ***! + \***************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["ReactDOM"]; + +/***/ }), + +/***/ "lodash": +/*!*************************!*\ + !*** external "lodash" ***! + \*************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["lodash"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +"use strict"; +module.exports = window["wp"]["i18n"]; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be in strict mode. +(() => { +"use strict"; /*!************************!*\ !*** ./_inc/admin.jsx ***! \************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "react-dom"); /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_0__); @@ -3904,7 +4665,8 @@ __webpack_require__.r(__webpack_exports__); -Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["registerStore"])(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"], _store__WEBPACK_IMPORTED_MODULE_4__["storeConfig"]); +var store = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.createReduxStore)(_store__WEBPACK_IMPORTED_MODULE_4__.STORE_ID, _store__WEBPACK_IMPORTED_MODULE_4__.storeConfig); +(0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.register)(store); /** * The initial renderer function. */ @@ -3916,478 +4678,15 @@ function render() { return; } - react_dom__WEBPACK_IMPORTED_MODULE_0___default.a.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_components_admin__WEBPACK_IMPORTED_MODULE_3__["default"], null), container); + react_dom__WEBPACK_IMPORTED_MODULE_0___default().render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_components_admin__WEBPACK_IMPORTED_MODULE_3__.default, null), container); } render(); +})(); -/***/ }), - -/***/ "./_inc/components/admin/assets/connect-right.png": -/*!********************************************************!*\ - !*** ./_inc/components/admin/assets/connect-right.png ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__.p + "images/connect-right-d53058f843bf7071f1859f89639782c1.png"; - -/***/ }), - -/***/ "./_inc/components/admin/index.jsx": -/*!*****************************************!*\ - !*** ./_inc/components/admin/index.jsx ***! - \*****************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Admin; }); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); -/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @automattic/jetpack-connection */ "../../js-packages/connection/index.jsx"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../store */ "./_inc/store.js"); -/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../header */ "./_inc/components/header/index.jsx"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./style.scss */ "./_inc/components/admin/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var _assets_connect_right_png__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./assets/connect-right.png */ "./_inc/components/admin/assets/connect-right.png"); -/* harmony import */ var _assets_connect_right_png__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_assets_connect_right_png__WEBPACK_IMPORTED_MODULE_7__); -/** - * External dependencies - */ - - - - -/** - * Internal dependencies - */ - - - - - -/** - * The Connection IU Admin App. - * - * @returns {object} The Admin component. - */ - -function Admin() { - var APINonce = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(function (select) { - return select(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]).getAPINonce(); - }, []); - var APIRoot = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(function (select) { - return select(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]).getAPIRoot(); - }, []); - var registrationNonce = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(function (select) { - return select(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]).getRegistrationNonce(); - }, []); - var assetBuildUrl = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(function (select) { - return select(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]).getAssetBuildUrl(); - }, []); - var connectionStatus = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(function (select) { - return select(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]).getConnectionStatus(); - }, []); - - var _useDispatch = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_4__["STORE_ID"]), - setConnectionStatus = _useDispatch.setConnectionStatus; - - var statusCallback = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (status) { - setConnectionStatus(status); - }, [setConnectionStatus]); - var onDisconnectedCallback = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { - setConnectionStatus({ - isActive: false, - isRegistered: false, - isUserConnected: false - }); - }, [setConnectionStatus]); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_header__WEBPACK_IMPORTED_MODULE_5__["default"], null), connectionStatus.isRegistered && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_2__["ConnectionStatusCard"], { - isRegistered: connectionStatus.isRegistered, - isUserConnected: connectionStatus.isUserConnected, - apiRoot: APIRoot, - apiNonce: APINonce, - onDisconnected: onDisconnectedCallback, - redirectUri: "tools.php?page=wpcom-connection-manager" - }), !connectionStatus.isRegistered && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_automattic_jetpack_connection__WEBPACK_IMPORTED_MODULE_2__["ConnectScreen"], { - apiRoot: APIRoot, - apiNonce: APINonce, - registrationNonce: registrationNonce, - from: "connection-ui", - redirectUri: "tools.php?page=wpcom-connection-manager", - statusCallback: statusCallback, - images: [_assets_connect_right_png__WEBPACK_IMPORTED_MODULE_7___default.a], - assetBaseUrl: assetBuildUrl - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])("Secure and speed up your site for free with Jetpack's powerful WordPress tools.", 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("ul", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Measure your impact with beautiful stats', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Speed up your site with optimized images', 'jetpack')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Protect your site against bot attacs', 'jetpacks')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Get notifications if your site goes offline', 'jetpacks')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Enhance your site with dozens of other features', 'jetpack'))))); -} - -/***/ }), - -/***/ "./_inc/components/admin/style.scss": -/*!******************************************!*\ - !*** ./_inc/components/admin/style.scss ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - -/***/ "./_inc/components/header/index.jsx": -/*!******************************************!*\ - !*** ./_inc/components/header/index.jsx ***! - \******************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./_inc/components/header/style.scss"); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_2__); -/** - * External dependencies - */ - - -/** - * Internal dependencies - */ - - -/** - * The Connection UI header. - * - * @returns {object} The header component. - */ - -var Header = function Header() { - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { - className: "jetpack-cui__header" - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h1", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Connection Manager', 'jetpack'))); -}; - -/* harmony default export */ __webpack_exports__["default"] = (Header); - -/***/ }), - -/***/ "./_inc/components/header/style.scss": -/*!*******************************************!*\ - !*** ./_inc/components/header/style.scss ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - -/***/ "./_inc/reducers/api.js": -/*!******************************!*\ - !*** ./_inc/reducers/api.js ***! - \******************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -var API = function API() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return state; -}; - -/* harmony default export */ __webpack_exports__["default"] = (API); - -/***/ }), - -/***/ "./_inc/reducers/assets.js": -/*!*********************************!*\ - !*** ./_inc/reducers/assets.js ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -var assets = function assets() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return state; -}; - -/* harmony default export */ __webpack_exports__["default"] = (assets); - -/***/ }), - -/***/ "./_inc/reducers/connection-status.js": -/*!********************************************!*\ - !*** ./_inc/reducers/connection-status.js ***! - \********************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _actions_connection_status__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actions/connection-status */ "./_inc/actions/connection-status.js"); -/** - * Internal dependencies - */ - - -var connectionStatus = function connectionStatus() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case _actions_connection_status__WEBPACK_IMPORTED_MODULE_0__["SET_CONNECTION_STATUS"]: - return action.connectionStatus; - } - - return state; -}; - -/* harmony default export */ __webpack_exports__["default"] = (connectionStatus); - -/***/ }), - -/***/ "./_inc/reducers/index.js": -/*!********************************!*\ - !*** ./_inc/reducers/index.js ***! - \********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); -/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _connection_status__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connection-status */ "./_inc/reducers/connection-status.js"); -/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api */ "./_inc/reducers/api.js"); -/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assets */ "./_inc/reducers/assets.js"); -/** - * External dependencies - */ - -/** - * Internal dependencies - */ - - - - -var reducer = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["combineReducers"])({ - connectionStatus: _connection_status__WEBPACK_IMPORTED_MODULE_1__["default"], - API: _api__WEBPACK_IMPORTED_MODULE_2__["default"], - assets: _assets__WEBPACK_IMPORTED_MODULE_3__["default"] -}); -/* harmony default export */ __webpack_exports__["default"] = (reducer); - -/***/ }), - -/***/ "./_inc/selectors/api.js": -/*!*******************************!*\ - !*** ./_inc/selectors/api.js ***! - \*******************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -var APISelectors = { - getAPIRoot: function getAPIRoot(state) { - return state.API.WP_API_root || null; - }, - getAPINonce: function getAPINonce(state) { - return state.API.WP_API_nonce || null; - }, - getRegistrationNonce: function getRegistrationNonce(state) { - return state.API.registrationNonce || null; - } -}; -/* harmony default export */ __webpack_exports__["default"] = (APISelectors); - -/***/ }), - -/***/ "./_inc/selectors/assets.js": -/*!**********************************!*\ - !*** ./_inc/selectors/assets.js ***! - \**********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -var assetsSelectors = { - getAssetBuildUrl: function getAssetBuildUrl(state) { - return state.assets.buildUrl || null; - } -}; -/* harmony default export */ __webpack_exports__["default"] = (assetsSelectors); - -/***/ }), - -/***/ "./_inc/selectors/connection-status.js": -/*!*********************************************!*\ - !*** ./_inc/selectors/connection-status.js ***! - \*********************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -var connectionSelectors = { - getConnectionStatus: function getConnectionStatus(state) { - return state.connectionStatus || {}; - } -}; -/* harmony default export */ __webpack_exports__["default"] = (connectionSelectors); - -/***/ }), - -/***/ "./_inc/selectors/index.js": -/*!*********************************!*\ - !*** ./_inc/selectors/index.js ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! /home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2 */ "../../../node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2.js"); -/* harmony import */ var _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _connection_status__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connection-status */ "./_inc/selectors/connection-status.js"); -/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api */ "./_inc/selectors/api.js"); -/* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assets */ "./_inc/selectors/assets.js"); - - -/** - * Internal dependencies - */ - - - - -var selectors = _home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()(_home_runner_work_jetpack_jetpack_node_modules_pnpm_babel_runtime_7_14_0_node_modules_babel_runtime_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_0___default()({}, _connection_status__WEBPACK_IMPORTED_MODULE_1__["default"]), _api__WEBPACK_IMPORTED_MODULE_2__["default"]), _assets__WEBPACK_IMPORTED_MODULE_3__["default"]); - -/* harmony default export */ __webpack_exports__["default"] = (selectors); - -/***/ }), - -/***/ "./_inc/store.js": -/*!***********************!*\ - !*** ./_inc/store.js ***! - \***********************/ -/*! exports provided: STORE_ID, storeConfig */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "STORE_ID", function() { return STORE_ID; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "storeConfig", function() { return storeConfig; }); -/* harmony import */ var _reducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducers */ "./_inc/reducers/index.js"); -/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "./_inc/actions/index.js"); -/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ "./_inc/selectors/index.js"); -/** - * Internal dependencies - */ - - - -var STORE_ID = 'jetpack-connection-ui'; -var storeConfig = { - reducer: _reducers__WEBPACK_IMPORTED_MODULE_0__["default"], - actions: _actions__WEBPACK_IMPORTED_MODULE_1__["default"], - selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__["default"], - initialState: window.CUI_INITIAL_STATE || {} -}; - -/***/ }), - -/***/ "@wordpress/components": -/*!************************************!*\ - !*** external ["wp","components"] ***! - \************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["wp"]["components"]; }()); - -/***/ }), - -/***/ "@wordpress/data": -/*!******************************!*\ - !*** external ["wp","data"] ***! - \******************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["wp"]["data"]; }()); - -/***/ }), - -/***/ "@wordpress/element": -/*!*********************************!*\ - !*** external ["wp","element"] ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["wp"]["element"]; }()); - -/***/ }), - -/***/ "@wordpress/i18n": -/*!******************************!*\ - !*** external ["wp","i18n"] ***! - \******************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["wp"]["i18n"]; }()); - -/***/ }), - -/***/ "lodash": -/*!*************************!*\ - !*** external "lodash" ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["lodash"]; }()); - -/***/ }), - -/***/ "react": -/*!************************!*\ - !*** external "React" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["React"]; }()); - -/***/ }), - -/***/ "react-dom": -/*!***************************!*\ - !*** external "ReactDOM" ***! - \***************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -(function() { module.exports = window["ReactDOM"]; }()); - -/***/ }) - -/******/ }))); +var __webpack_export_target__ = window; +for(var i in __webpack_exports__) __webpack_export_target__[i] = __webpack_exports__[i]; +if(__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true }); +/******/ })() +; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js.map b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js.map index 1278168a0..bf60aa1f9 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js.map +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/construct.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createClass.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/createSuper.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/defineProperty.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/extends.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/inherits.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeFunction.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectSpread2.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/slicedToArray.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/typeof.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/@babel+runtime@7.14.0/node_modules/@babel/runtime/helpers/wrapNativeSuper.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/checkPropTypes.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithTypeCheckers.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","webpack:////home/runner/work/jetpack/jetpack/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/components/automattic-byline-logo/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-footer/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-footer/style.scss?19b2","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/components/jetpack-logo/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/components/tools/jp-redirect/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-button/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-button/style.scss?26ba","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/image-slider.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-screen/style.scss?e60d","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connect-user/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connection-status-card/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/connection-status-card/style.scss?9330","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/disconnect-dialog/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/disconnect-dialog/style.scss?238d","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/in-place-connection/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/components/in-place-connection/style.scss?0932","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/helpers/third-party-cookies-fallback.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/index.jsx","webpack:////home/runner/work/jetpack/jetpack/projects/js-packages/connection/tools/jetpack-rest-api-client/index.jsx","webpack:///./_inc/actions/connection-status.js","webpack:///./_inc/actions/index.js","webpack:///./_inc/admin.jsx","webpack:///./_inc/components/admin/assets/connect-right.png","webpack:///./_inc/components/admin/index.jsx","webpack:///./_inc/components/admin/style.scss?70c0","webpack:///./_inc/components/header/index.jsx","webpack:///./_inc/components/header/style.scss?0545","webpack:///./_inc/reducers/api.js","webpack:///./_inc/reducers/assets.js","webpack:///./_inc/reducers/connection-status.js","webpack:///./_inc/reducers/index.js","webpack:///./_inc/selectors/api.js","webpack:///./_inc/selectors/assets.js","webpack:///./_inc/selectors/connection-status.js","webpack:///./_inc/selectors/index.js","webpack:///./_inc/store.js","webpack:///external [\"wp\",\"components\"]","webpack:///external [\"wp\",\"data\"]","webpack:///external [\"wp\",\"element\"]","webpack:///external [\"wp\",\"i18n\"]","webpack:///external \"lodash\"","webpack:///external \"React\"","webpack:///external \"ReactDOM\""],"names":["AutomatticBylineLogo","title","__","height","className","otherProps","classnames","JetpackFooter","a8cLogoHref","moduleName","JetpackLogo","props","logoColor","showText","viewBox","React","Component","PropTypes","string","width","number","bool","getRedirectUrl","source","args","queryVars","calypsoEnv","window","Initial_State","search","parsedUrl","URL","host","pathname","url","encodeURIComponent","Object","keys","map","argName","includes","jetpack_redirects","hasOwnProperty","site","currentSiteRawUrl","calypso_env","queryString","key","join","ConnectButton","useState","isRegistering","setIsRegistering","isUserConnecting","setIsUserConnecting","authorizationUrl","setAuthorizationUrl","isFetchingConnectionStatus","setIsFetchingConnectionStatus","connectionStatus","setConnectionStatus","apiRoot","apiNonce","connectLabel","onRegistered","registrationNonce","redirectUri","from","statusCallback","useEffect","restApi","setApiRoot","setApiNonce","fetchSiteConnectionStatus","then","response","error","registerSite","useCallback","e","preventDefault","isRegistered","authorizeUrl","statusCallbackWrapped","toString","call","isUserConnected","propTypes","isRequired","func","defaultProps","ImageSlider","images","assetBaseUrl","length","imagesHTML","forEach","image","push","arrayOf","ConnectScreen","children","showImageSlider","statusHandler","status","createInterpolateElement","tosLink","shareDetailsLink","body","ConnectUser","redirectFunc","connectUrl","fetchAuthorizationUrl","location","assign","ConnectionStatusCard","connectionInfoText","onDisconnected","isFetchingConnectionData","setIsFetchingConnectionData","connectedUserData","setConnectedUserData","avatarRef","useRef","fetchSiteConnectionData","currentUser","wpcomUser","avatar","current","style","backgroundImage","onDisconnectedCallback","display_name","DisconnectDialog","isOpen","setOpen","isDisconnecting","setIsDisconnecting","isDisconnected","setIsDisconnected","disconnectError","setDisconnectError","onError","errorMessage","openModal","closeModal","disconnect","disconnectSite","backToWordpress","labelledby","strong","jpConnectionInfoLink","jpSupportLink","br","InPlaceConnection","isLoading","displayTOS","scrollToIframe","onComplete","onThirdPartyCookiesBlocked","iframeWrapRef","iframeRef","receiveData","contentWindow","data","removeEventListener","scrollTo","offsetTop","addEventListener","src","replace","parseInt","thirdPartyCookiesFallback","fallbackURL","createCustomError","name","CustomError","Error","JsonParseError","JsonParseAfterRedirectError","Api404Error","Api404AfterRedirectError","FetchNetworkError","JetpackRestApiClient","root","nonce","headers","getParams","credentials","postParams","method","methods","newRoot","newNonce","postRequest","JSON","stringify","registration_nonce","no_iframe","redirect_uri","checkStatus","parseJsonResponse","getRequest","isActive","addCacheBuster","route","parts","split","query","Date","getTime","params","fetch","catchNetworkErrors","Promise","err","redirected","json","catchJsonParseError","message","SET_CONNECTION_STATUS","connectionStatusActions","type","actions","registerStore","STORE_ID","storeConfig","render","container","document","getElementById","ReactDOM","Admin","APINonce","useSelect","select","getAPINonce","APIRoot","getAPIRoot","getRegistrationNonce","assetBuildUrl","getAssetBuildUrl","getConnectionStatus","useDispatch","ConnectRight","Header","API","state","assets","action","reducer","combineReducers","APISelectors","WP_API_root","WP_API_nonce","assetsSelectors","buildUrl","connectionSelectors","selectors","initialState","CUI_INITIAL_STATE"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA;AACA;;AAEA,wCAAwC,SAAS;AACjD;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACXA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACPA,qBAAqB,mBAAO,CAAC,oIAAqB;;AAElD,+BAA+B,mBAAO,CAAC,wJAA+B;;AAEtE;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACzBA;AACA,iBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACjBA,qBAAqB,mBAAO,CAAC,oIAAqB;;AAElD,+BAA+B,mBAAO,CAAC,wJAA+B;;AAEtE,gCAAgC,mBAAO,CAAC,0JAAgC;;AAExE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;AChBA;AACA;AACA,mBAAmB,sBAAsB;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACTA,qBAAqB,mBAAO,CAAC,oIAAqB;;AAElD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,6E;;;;;;;;;;;AClBA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA,gFAAgF;AAChF;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACdA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,2BAA2B,+BAA+B;AAC1D;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;AC/BA;AACA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACLA,qBAAqB,mBAAO,CAAC,oIAAqB;;AAElD;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;ACzCA,mCAAmC,mBAAO,CAAC,gKAAm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AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,EAAE,UAAU,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,oGAAC;AACJ,EAAE,MAAM,EAEN;AACF,CAAC;;;;;;;;;;;;;ACzDD;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gBAAgB,sBAAsB;AACtC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,oBAAoB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,SAAoB;AACxB,6BAA6B,mBAAO,CAAC,qIAA4B;AACjE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB;AACA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4GAA4G;AAC5G;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;AACA;;AAEA;;;;;;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,2BAA2B,mBAAO,CAAC,qIAA4B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,6FAAU;AAChC,aAAa,mBAAO,CAAC,0GAAe;;AAEpC,2BAA2B,mBAAO,CAAC,qIAA4B;AAC/D,qBAAqB,mBAAO,CAAC,iHAAkB;;AAE/C;AACA;;AAEA,IAAI,SAAoB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,0CAA0C;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,6BAA6B;AAC7B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,SAAoB;AAC5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,SAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,SAAoB;AAC9B;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,2BAA2B;AAChD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;;AAEA,mBAAmB,gCAAgC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,gCAAgC;AACrD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;AC9kBA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,SAAoB;AACxB,gBAAgB,mBAAO,CAAC,6FAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,mIAA2B;AACtD,CAAC;AACD;AACA;AACA,mBAAmB,mBAAO,CAAC,qIAA4B;AACvD;;;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,SAAoB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;;AAEhD;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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AAkC,EAAE,I;;;;;;;;;;;ACAjD,aAAa,qCAAqC,EAAE,I","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./_inc/admin.jsx\");\n","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nvar possibleConstructorReturn = require(\"./possibleConstructorReturn.js\");\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return possibleConstructorReturn(this, result);\n };\n}\n\nmodule.exports = _createSuper;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArrayLimit(arr, i) {\n var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]);\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var defineProperty = require(\"./defineProperty.js\");\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectSpread2;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var _typeof = require(\"@babel/runtime/helpers/typeof\")[\"default\"];\n\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeFunction = require(\"./isNativeFunction.js\");\n\nvar construct = require(\"./construct.js\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * External dependencies\n */\nimport React from 'react';\nimport classnames from 'classnames';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * AutomatticBylineLogo component definition.\n *\n * @param {object} props - Component properties.\n * @param {string} props.title - Title for SVG.\n * @param {number} props.height - Height for SVG.\n * @param {number} props.className - Additional className for the a wrapper, default only: `jp-automattic-byline-logo`.\n *\n * @returns {React.Component} AutomatticBylineLogo component.\n */\nexport default function AutomatticBylineLogo( {\n\ttitle = __( 'An Automattic Airline', 'jetpack' ),\n\theight = 7,\n\tclassName = '',\n\t...otherProps\n} ) {\n\treturn (\n\t\t\n\t\t\t{ title }\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n","/**\n * External dependencies\n */\nimport React from 'react';\nimport { __ } from '@wordpress/i18n';\nimport classnames from 'classnames';\n\n/**\n * Internal dependencies\n */\nimport AutomatticBylineLogo from '../automattic-byline-logo';\nimport './style.scss';\nimport JetpackLogo from '../jetpack-logo';\n\n/**\n * JetpackFooter component definition.\n *\n * @param {object} props - Component properties.\n * @param {object} props.a8cLogoHref - Link for 'An Automattic Airline'.\n * @param {object} props.moduleName - Name of the module, e.g. 'Jetpack Search'.\n * @param {object} props.className - additional className of the wrapper, default only: `jp-dashboard-footer`.\n *\n * @returns {React.Component} JetpackFooter component.\n */\nexport default function JetpackFooter( {\n\ta8cLogoHref,\n\tmoduleName = __( 'Jetpack', 'jetpack' ),\n\tclassName = '',\n\t...otherProps\n} ) {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t{ moduleName }\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport PropTypes from 'prop-types';\nimport React, { Fragment } from 'react';\nimport classnames from 'classnames';\n\nclass JetpackLogo extends React.Component {\n\tstatic propTypes = {\n\t\tclassName: PropTypes.string,\n\t\twidth: PropTypes.number,\n\t\theight: PropTypes.number,\n\t\tshowText: PropTypes.bool,\n\t\tlogoColor: PropTypes.string,\n\t};\n\n\tstatic defaultProps = {\n\t\tclassName: '',\n\t\theight: 32,\n\t\tshowText: true,\n\t\tlogoColor: '#00BE28',\n\t};\n\n\trender() {\n\t\tconst { logoColor, showText, className, ...otherProps } = this.props;\n\t\tconst viewBox = showText ? '0 0 118 32' : '0 0 32 32';\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t{ showText && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default JetpackLogo;\n","/*\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n*/\n\nexport { default as JetpackLogo } from './components/jetpack-logo';\nexport { default as getRedirectUrl } from './tools/jp-redirect';\nexport { default as AutomatticBylineLogo } from './components/automattic-byline-logo';\nexport { default as JetpackFooter } from './components/jetpack-footer';\n","/* global jetpack_redirects */\n/**\n * Builds an URL using the jetpack.com/redirect/ service\n *\n * If $source is a simple slug, it will be sent using the source query parameter. e.g. jetpack.com/redirect/?source=slug\n *\n * If $source is a full URL, starting with https://, it will be sent using the url query parameter. e.g. jetpack.com/redirect/?url=https://wordpress.com\n *\n * Note: if using full URL, query parameters and anchor must be passed in args. Any querystring of url fragment in the URL will be discarded.\n *\n * @since 0.2.0\n *\n * @param {string} source - The URL handler registered in the server or the full destination URL (starting with https://).\n * @param {object} args - {\n *\n * Additional arguments to build the url. This is not a complete list as any argument passed here will be sent to as a query parameter to the Redirect server. These parameters will not necessarily be passed over to the final destination URL. If you want to add a parameter to the final destination URL, use the `query` argument.\n *\n * @type {string} site URL of the current site. Will default to the value of jetpack_redirects.currentSiteRawUrl, if available.\n * @type {string} path Additional path to be appended to the URL\n * @type {string} query Query parameters to be added to the final destination URL. should be in query string format (e.g. 'key=value&foo=bar').\n * @type {string} anchor Anchor to be added to the URL\n * }\n *\n * @returns {string} The redirect URL\n */\nexport default function getRedirectUrl( source, args = {} ) {\n\tconst queryVars = {};\n\n\tlet calypsoEnv;\n\tif ( typeof window !== 'undefined' ) {\n\t\tcalypsoEnv = window.Initial_State?.calypsoEnv;\n\t}\n\n\tif ( source.search( 'https://' ) === 0 ) {\n\t\tconst parsedUrl = new URL( source );\n\n\t\t// discard any query and fragments.\n\t\tsource = `https://${ parsedUrl.host }${ parsedUrl.pathname }`;\n\t\tqueryVars.url = encodeURIComponent( source );\n\t} else {\n\t\tqueryVars.source = encodeURIComponent( source );\n\t}\n\n\tObject.keys( args ).map( argName => {\n\t\tqueryVars[ argName ] = encodeURIComponent( args[ argName ] );\n\t} );\n\n\tif (\n\t\t! Object.keys( queryVars ).includes( 'site' ) &&\n\t\ttypeof jetpack_redirects !== 'undefined' &&\n\t\tjetpack_redirects.hasOwnProperty( 'currentSiteRawUrl' )\n\t) {\n\t\tqueryVars.site = jetpack_redirects.currentSiteRawUrl;\n\t}\n\n\tif ( calypsoEnv ) {\n\t\tqueryVars.calypso_env = calypsoEnv;\n\t}\n\n\tconst queryString = Object.keys( queryVars )\n\t\t.map( key => key + '=' + queryVars[ key ] )\n\t\t.join( '&' );\n\n\treturn `https://jetpack.com/redirect/?` + queryString;\n}\n","/**\n * External dependencies\n */\nimport React, { useEffect, useCallback, useState } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport PropTypes from 'prop-types';\n\n/**\n * Internal dependencies\n */\nimport restApi from '../../tools/jetpack-rest-api-client';\nimport ConnectUser from '../connect-user';\nimport './style.scss';\n\n/**\n * The RNA connection component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.connectLabel -- The \"Connect\" button label.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.registrationNonce -- Separate registration nonce, required.\n * @param {Function} props.onRegistered -- The callback to be called upon registration success.\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n * @param {Function} props.statusCallback -- Callback to pull connection status from the component.\n *\n * @returns {React.Component} The RNA connection component.\n */\nconst ConnectButton = props => {\n\tconst [ isRegistering, setIsRegistering ] = useState( false );\n\tconst [ isUserConnecting, setIsUserConnecting ] = useState( false );\n\n\tconst [ authorizationUrl, setAuthorizationUrl ] = useState( null );\n\n\tconst [ isFetchingConnectionStatus, setIsFetchingConnectionStatus ] = useState( false );\n\tconst [ connectionStatus, setConnectionStatus ] = useState( {} );\n\n\tconst {\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tconnectLabel,\n\t\tonRegistered,\n\t\tregistrationNonce,\n\t\tredirectUri,\n\t\tfrom,\n\t\tstatusCallback,\n\t} = props;\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Fetch the connection status on the first render.\n\t * To be only run once.\n\t */\n\tuseEffect( () => {\n\t\tsetIsFetchingConnectionStatus( true );\n\n\t\trestApi\n\t\t\t.fetchSiteConnectionStatus()\n\t\t\t.then( response => {\n\t\t\t\tsetIsFetchingConnectionStatus( false );\n\t\t\t\tsetConnectionStatus( response );\n\t\t\t} )\n\t\t\t.catch( error => {\n\t\t\t\tsetIsFetchingConnectionStatus( false );\n\t\t\t\tthrow error;\n\t\t\t} );\n\t}, [] ); // eslint-disable-line react-hooks/exhaustive-deps\n\n\t/**\n\t * Initialize the site registration process.\n\t */\n\tconst registerSite = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tif ( connectionStatus.isRegistered ) {\n\t\t\t\tsetIsUserConnecting( true );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetIsRegistering( true );\n\n\t\t\trestApi\n\t\t\t\t.registerSite( registrationNonce, redirectUri )\n\t\t\t\t.then( response => {\n\t\t\t\t\tsetIsRegistering( false );\n\n\t\t\t\t\tif ( onRegistered ) {\n\t\t\t\t\t\tonRegistered( response );\n\t\t\t\t\t}\n\n\t\t\t\t\tsetAuthorizationUrl( response.authorizeUrl );\n\t\t\t\t\tsetIsUserConnecting( true );\n\t\t\t\t} )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tsetIsRegistering( false );\n\t\t\t\t\tthrow error;\n\t\t\t\t} );\n\t\t},\n\t\t[\n\t\t\tsetIsRegistering,\n\t\t\tsetAuthorizationUrl,\n\t\t\tconnectionStatus,\n\t\t\tonRegistered,\n\t\t\tregistrationNonce,\n\t\t\tredirectUri,\n\t\t]\n\t);\n\n\tconst statusCallbackWrapped = useCallback( () => {\n\t\tif ( statusCallback && {}.toString.call( statusCallback ) === '[object Function]' ) {\n\t\t\treturn statusCallback( connectionStatus );\n\t\t}\n\t}, [ connectionStatus, statusCallback ] );\n\n\treturn (\n\t\t
\n\t\t\t{ statusCallbackWrapped() }\n\n\t\t\t{ isFetchingConnectionStatus && `Loading...` }\n\n\t\t\t{ ( ! connectionStatus.isRegistered || ! connectionStatus.isUserConnected ) &&\n\t\t\t\t! isFetchingConnectionStatus && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ connectLabel }\n\t\t\t\t\t\n\t\t\t\t) }\n\n\t\t\t{ isUserConnecting && (\n\t\t\t\t\n\t\t\t) }\n\t\t
\n\t);\n};\n\nConnectButton.propTypes = {\n\tconnectLabel: PropTypes.string,\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tonRegistered: PropTypes.func,\n\tfrom: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tregistrationNonce: PropTypes.string.isRequired,\n};\n\nConnectButton.defaultProps = {\n\tconnectLabel: __( 'Connect', 'jetpack' ),\n};\n\nexport default ConnectButton;\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * The ImageSlider component.\n *\n * @param {object} props -- The properties.\n * @param {Array} props.images -- Images to display on the right side.\n * @param {string} props.assetBaseUrl -- The assets base URL\n *\n * @returns {React.Component} The `ImageSlider` component.\n */\nconst ImageSlider = props => {\n\tconst { images, assetBaseUrl } = props;\n\n\tif ( ! images.length ) {\n\t\treturn null;\n\t}\n\n\tconst imagesHTML = [];\n\timages.forEach( image =>\n\t\timagesHTML.push(\n\t\t\t\n\t\t\t\t\"\"\n\t\t\t\n\t\t)\n\t);\n\n\treturn
{ imagesHTML }
;\n};\n\nImageSlider.propTypes = {\n\timages: PropTypes.arrayOf( PropTypes.string ).isRequired,\n\tassetBaseUrl: PropTypes.string,\n};\n\nImageSlider.defaultProps = {\n\tassetBaseUrl: '',\n};\n\nexport default ImageSlider;\n","/**\n * External dependencies\n */\nimport React, { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport { JetpackLogo, getRedirectUrl } from '@automattic/jetpack-components';\nimport { createInterpolateElement } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport ConnectButton from '../connect-button';\nimport ImageSlider from './image-slider';\nimport './style.scss';\n\n/**\n * The Connection Screen component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.registrationNonce -- Separate registration nonce, required.\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n * @param {string} props.title -- Page title.\n * @param {Function} props.statusCallback -- Callback to pull connection status from the component.\n * @param {Array} props.images -- Images to display on the right side.\n * @param {string} props.assetBaseUrl -- The assets base URL.\n *\n * @returns {React.Component} The `ConnectScreen` component.\n */\nconst ConnectScreen = props => {\n\tconst {\n\t\ttitle,\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tregistrationNonce,\n\t\tfrom,\n\t\tredirectUri,\n\t\tstatusCallback,\n\t\timages,\n\t\tchildren,\n\t\tassetBaseUrl,\n\t} = props;\n\n\tconst showImageSlider = images.length;\n\n\tconst [ connectionStatus, setConnectionStatus ] = useState( {} );\n\n\tconst statusHandler = useCallback(\n\t\tstatus => {\n\t\t\tsetConnectionStatus( status );\n\n\t\t\tif ( statusCallback && {}.toString.call( statusCallback ) === '[object Function]' ) {\n\t\t\t\treturn statusCallback( status );\n\t\t\t}\n\t\t},\n\t\t[ statusCallback, setConnectionStatus ]\n\t);\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t

{ title }

\n\n\t\t\t\t{ children }\n\n\t\t\t\t\n\n\t\t\t\t
\n\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t__(\n\t\t\t\t\t\t\t'By clicking the button above, you agree to our Terms of Service and to share details with WordPress.com.',\n\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t),\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttosLink: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tshareDetailsLink: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t}\n\t\t\t\t\t) }\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t{ showImageSlider && (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t) }\n\n\t\t\t
\n\t\t\n\t);\n};\n\nConnectScreen.propTypes = {\n\ttitle: PropTypes.string,\n\tbody: PropTypes.string,\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tfrom: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tregistrationNonce: PropTypes.string.isRequired,\n\tstatusCallback: PropTypes.func,\n\timages: PropTypes.arrayOf( PropTypes.string ),\n\tassetBaseUrl: PropTypes.string,\n};\n\nConnectScreen.defaultProps = {\n\ttitle: __( 'Over 5 million WordPress sites are faster and more secure', 'jetpack' ),\n\timages: [],\n};\n\nexport default ConnectScreen;\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * Internal dependencies\n */\nimport restApi from '../../tools/jetpack-rest-api-client';\n\n/**\n * The user connection component.\n *\n * @param {object} props -- The properties.\n * @param {Function} props.redirectFunc -- The redirect function (`window.location.assign()` by default).\n * @param {string} props.connectUrl -- The authorization URL (no-iframe).\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n *\n * @returns {null} -- Nothing to return.\n */\nconst ConnectUser = props => {\n\tconst { redirectFunc, connectUrl, redirectUri, from } = props;\n\n\tconst [ authorizationUrl, setAuthorizationUrl ] = useState( null );\n\n\tif ( connectUrl && connectUrl !== authorizationUrl ) {\n\t\tsetAuthorizationUrl( connectUrl );\n\t}\n\n\t/**\n\t * Fetch the authorization URL on the first render.\n\t * To be only run once.\n\t */\n\tuseEffect( () => {\n\t\tif ( ! authorizationUrl ) {\n\t\t\trestApi\n\t\t\t\t.fetchAuthorizationUrl( redirectUri )\n\t\t\t\t.then( response => setAuthorizationUrl( response.authorizeUrl ) )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tthrow error;\n\t\t\t\t} );\n\t\t}\n\t}, [] ); // eslint-disable-line react-hooks/exhaustive-deps\n\n\tif ( ! authorizationUrl ) {\n\t\treturn null;\n\t}\n\n\tredirectFunc(\n\t\tauthorizationUrl +\n\t\t\t( from\n\t\t\t\t? ( authorizationUrl.includes( '?' ) ? '&' : '?' ) + 'from=' + encodeURIComponent( from )\n\t\t\t\t: '' )\n\t);\n\treturn null;\n};\n\nConnectUser.propTypes = {\n\tconnectUrl: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tfrom: PropTypes.string,\n\tredirectFunc: PropTypes.func,\n};\n\nConnectUser.defaultProps = {\n\tredirectFunc: url => window.location.assign( url ),\n};\n\nexport default ConnectUser;\n","/**\n * External dependencies\n */\nimport React, { useEffect, useState, useCallback, useRef } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport PropTypes from 'prop-types';\n\n/**\n * Internal dependencies\n */\nimport ConnectUser from '../connect-user';\nimport DisconnectDialog from '../disconnect-dialog';\nimport restApi from '../../tools/jetpack-rest-api-client';\nimport './style.scss';\n\n/**\n * The RNA Connection Status Card component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {boolean} props.isRegistered -- Whether a site level connection has already been established, required. If not, the component will not render.\n * @param {string} props.isUserConnected -- Whether the current user has connected their WordPress.com account, required.\n * @param {string} props.redirectUri -- The redirect admin URI after the user has connected their WordPress.com account.\n * @param {string} props.title -- The Card title.\n * @param {string} props.connectionInfoText -- The text that will be displayed under the title, containing info how to leverage the connection.\n * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success.\n *\n * @returns {React.Component} The `ConnectionStatusCard` component.\n */\n\nconst ConnectionStatusCard = props => {\n\tconst {\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tisRegistered,\n\t\tisUserConnected,\n\t\tredirectUri,\n\t\ttitle,\n\t\tconnectionInfoText,\n\t\tonDisconnected,\n\t} = props;\n\n\tconst [ isFetchingConnectionData, setIsFetchingConnectionData ] = useState( false );\n\tconst [ connectedUserData, setConnectedUserData ] = useState( {} );\n\tconst [ isUserConnecting, setIsUserConnecting ] = useState( false );\n\n\tconst avatarRef = useRef();\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Fetch the connection data on the first render.\n\t * To be only run once.\n\t */\n\tuseEffect( () => {\n\t\tsetIsFetchingConnectionData( true );\n\n\t\trestApi\n\t\t\t.fetchSiteConnectionData()\n\t\t\t.then( response => {\n\t\t\t\tsetIsFetchingConnectionData( false );\n\t\t\t\tsetConnectedUserData( response.currentUser?.wpcomUser );\n\t\t\t\tconst avatar = response.currentUser?.wpcomUser?.avatar;\n\t\t\t\tif ( avatar ) {\n\t\t\t\t\tavatarRef.current.style.backgroundImage = `url('${ avatar }')`;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.catch( error => {\n\t\t\t\tsetIsFetchingConnectionData( false );\n\t\t\t\tthrow error;\n\t\t\t} );\n\t}, [ setIsFetchingConnectionData, setConnectedUserData ] );\n\n\tconst onDisconnectedCallback = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tif ( onDisconnected ) {\n\t\t\t\tonDisconnected();\n\t\t\t}\n\t\t},\n\t\t[ onDisconnected ]\n\t);\n\n\t// Prevent component from rendering if site is not connected.\n\tif ( ! isRegistered ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t
\n\t\t\t

{ title }

\n\n\t\t\t

{ connectionInfoText }

\n\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t\t\t{ __( 'Site connected.', 'jetpack' ) } \n\t\t\t\t\t\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{ __( 'Jetpack is currently powering multiple products on your site.', 'jetpack' ) }\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{ __( 'Once you disconnect Jetpack, these will no longer work.', 'jetpack' ) }\n\t\t\t\t\t\t

    \n\t\t\t\t\t\n\t\t\t\t
  • \n\n\t\t\t\t{ isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\t
  • \n\t\t\t\t\t\t{ __( 'Logged in as', 'jetpack' ) } { connectedUserData?.display_name }\n\t\t\t\t\t
  • \n\t\t\t\t) }\n\n\t\t\t\t{ ! isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\t
  • \n\t\t\t\t\t\t{ __( 'Your WordPress.com account is not connected.', 'jetpack' ) }\n\t\t\t\t\t
  • \n\t\t\t\t) }\n\t\t\t
\n\n\t\t\t{ ! isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\n\t\t\t\t\t{ __( 'Connect your WordPress.com account', 'jetpack' ) }\n\t\t\t\t\n\t\t\t) }\n\n\t\t\t{ isUserConnecting && }\n\t\t\n\t);\n};\n\nConnectionStatusCard.propTypes = {\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tisRegistered: PropTypes.bool.isRequired,\n\tisUserConnected: PropTypes.bool.isRequired,\n\tredirectUri: PropTypes.string.isRequired,\n\ttitle: PropTypes.string,\n\tconnectionInfoText: PropTypes.string,\n\tonDisconnected: PropTypes.func,\n};\n\nConnectionStatusCard.defaultProps = {\n\ttitle: __( 'Connection', 'jetpack' ),\n\tconnectionInfoText: __(\n\t\t'Leverages the Jetpack Cloud for more features on your side.',\n\t\t'jetpack'\n\t),\n};\n\nexport default ConnectionStatusCard;\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport React, { useEffect, useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport { Button, Modal } from '@wordpress/components';\nimport { JetpackLogo, getRedirectUrl } from '@automattic/jetpack-components';\nimport { createInterpolateElement } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport restApi from '../../tools/jetpack-rest-api-client';\nimport './style.scss';\n\n/**\n * The RNA Disconnect Dialog component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.title -- The modal title.\n * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success.\n * @param {Function} props.onError -- The callback to be called upon disconnection failure.\n * @param {Function} props.errorMessage -- The error message to display upon disconnection failure.\n *\n * @returns {React.Component} The `DisconnectDialog` component.\n */\n\nconst DisconnectDialog = props => {\n\tconst [ isOpen, setOpen ] = useState( false );\n\n\tconst [ isDisconnecting, setIsDisconnecting ] = useState( false );\n\tconst [ isDisconnected, setIsDisconnected ] = useState( false );\n\tconst [ disconnectError, setDisconnectError ] = useState( false );\n\n\tconst { apiRoot, apiNonce, title, onDisconnected, onError, errorMessage, children } = props;\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Open the Disconnect Dialog.\n\t */\n\tconst openModal = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\t\t\tsetOpen( true );\n\t\t},\n\t\t[ setOpen ]\n\t);\n\n\t/**\n\t * Close the Disconnect Dialog.\n\t */\n\tconst closeModal = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\t\t\tsetOpen( false );\n\t\t},\n\t\t[ setOpen ]\n\t);\n\n\t/**\n\t * Disconnect - Triggered upon clicking the 'Disconnect' button.\n\t */\n\tconst disconnect = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tsetDisconnectError( false );\n\t\t\tsetIsDisconnecting( true );\n\n\t\t\trestApi\n\t\t\t\t.disconnectSite()\n\t\t\t\t.then( () => {\n\t\t\t\t\tsetIsDisconnecting( false );\n\n\t\t\t\t\tsetIsDisconnected( true );\n\t\t\t\t} )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tsetIsDisconnecting( false );\n\t\t\t\t\tsetDisconnectError( error );\n\n\t\t\t\t\tif ( onError ) {\n\t\t\t\t\t\tonError( error );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t},\n\t\t[ setIsDisconnecting, setIsDisconnected, setDisconnectError, onError ]\n\t);\n\n\t/**\n\t * Close modal and fire 'onDisconnected' callback if exists.\n\t * Triggered upon clicking the 'Back To WordPress' button.\n\t */\n\tconst backToWordpress = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tif ( onDisconnected ) {\n\t\t\t\tonDisconnected();\n\t\t\t}\n\n\t\t\tcloseModal();\n\t\t},\n\t\t[ onDisconnected, closeModal ]\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\n\t\t\t{ isOpen && (\n\t\t\t\t\n\t\t\t\t\t{ ! isDisconnected && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

{ title }

\n\n\t\t\t\t\t\t\t\t{ children }\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t\t\t\t\t\t\t__(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'Need help? Learn more about the Jetpack connection or contact Jetpack support',\n\t\t\t\t\t\t\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tstrong: ,\n\t\t\t\t\t\t\t\t\t\t\t\t\tjpConnectionInfoLink: (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t\tjpSupportLink: (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{ __( 'Stay connected', 'jetpack' ) }\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{ __( 'Disconnect', 'jetpack' ) }\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{ disconnectError && (\n\t\t\t\t\t\t\t\t\t

{ errorMessage }

\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isDisconnected && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t\t\t\t__( 'Jetpack has been
successfully disconnected.', 'jetpack' ),\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tbr:
,\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{ __( 'Back to WordPress', 'jetpack' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\t\t\t\t\n\t\t\t) }\n\t\t\n\t);\n};\n\nDisconnectDialog.propTypes = {\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\ttitle: PropTypes.string,\n\tonDisconnected: PropTypes.func,\n\tonError: PropTypes.func,\n\terrorMessage: PropTypes.string,\n};\n\nDisconnectDialog.defaultProps = {\n\ttitle: __( 'Are you sure you want to disconnect?', 'jetpack' ),\n\terrorMessage: __( 'Failed to disconnect. Please try again.', 'jetpack' ),\n};\n\nexport default DisconnectDialog;\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport React, { useEffect, useRef } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport PropTypes from 'prop-types';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\n/**\n * The in-place connection component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.title -- Element title.\n * @param {boolean} props.isLoading -- Whether the element is still loading.\n * @param {string|number} props.width -- Iframe width.\n * @param {string|number} props.height -- Iframe height.\n * @param {boolean} props.displayTOS -- Whether the site has connection owner connected.\n * @param {boolean} props.scrollToIframe -- Whether we need to auto-scroll the window upon element rendering.\n * @param {string} props.connectUrl -- The connection URL.\n * @param {Function} props.onComplete -- The callback to be called upon complete of the connection process.\n * @param {Function} props.onThirdPartyCookiesBlocked -- The callback to be called if third-party cookies are disabled.\n * @param {string} props.location -- Component location identifier passed to WP.com.\n *\n * @returns {React.Component} The in-place connection component.\n */\nconst InPlaceConnection = props => {\n\tconst {\n\t\ttitle,\n\t\tisLoading,\n\t\twidth,\n\t\tdisplayTOS,\n\t\tscrollToIframe,\n\t\tconnectUrl,\n\t\tonComplete,\n\t\tonThirdPartyCookiesBlocked,\n\t\tlocation,\n\t} = props;\n\tlet { height } = props;\n\n\tconst iframeWrapRef = useRef();\n\tconst iframeRef = useRef();\n\n\t/**\n\t * Handles messages received from inside the iframe.\n\t *\n\t * @param {object} e -- Event object.\n\t */\n\tconst receiveData = e => {\n\t\tif ( ! iframeRef.current || e.source !== iframeRef.current.contentWindow ) {\n\t\t\treturn;\n\t\t}\n\n\t\tswitch ( e.data ) {\n\t\t\tcase 'close':\n\t\t\t\t// Remove listener, our job here is done.\n\t\t\t\twindow.removeEventListener( 'message', receiveData );\n\n\t\t\t\tif ( onComplete ) {\n\t\t\t\t\tonComplete();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'wpcom_nocookie':\n\t\t\t\t// Third-party cookies blocked.\n\t\t\t\tif ( onThirdPartyCookiesBlocked ) {\n\t\t\t\t\tonThirdPartyCookiesBlocked();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\tuseEffect(\n\t\t/**\n\t\t * The component initialization.\n\t\t */\n\t\t() => {\n\t\t\t// Scroll to the iframe container\n\t\t\tif ( scrollToIframe ) {\n\t\t\t\twindow.scrollTo( 0, iframeWrapRef.current.offsetTop - 10 );\n\t\t\t}\n\n\t\t\t// Add an event listener to identify successful authorization via iframe.\n\t\t\twindow.addEventListener( 'message', receiveData );\n\t\t}\n\t);\n\n\t// The URL looks like https://jetpack.wordpress.com/jetpack.authorize_iframe/1/. We need to include the trailing\n\t// slash below so that we don't end up with something like /jetpack.authorize_iframe_iframe/\n\tlet src = connectUrl.replace( 'authorize/', 'authorize_iframe/' );\n\n\tif ( ! src.includes( '?' ) ) {\n\t\tsrc += '?';\n\t}\n\n\tif ( displayTOS ) {\n\t\tsrc += '&display-tos';\n\t\theight = ( parseInt( height ) + 50 ).toString();\n\t}\n\n\tsrc += '&iframe_height=' + parseInt( height );\n\n\tif ( location ) {\n\t\tsrc += '&iframe_source=' + location;\n\t}\n\n\treturn (\n\t\t
\n\t\t\t

{ title }

\n\t\t\t{ isLoading ? (\n\t\t\t\t

{ __( 'Loading…', 'jetpack' ) }

\n\t\t\t) : (\n\t\t\t\t\n\t\t\t) }\n\t\t
\n\t);\n};\n\nInPlaceConnection.propTypes = {\n\ttitle: PropTypes.string.isRequired,\n\tisLoading: PropTypes.bool,\n\twidth: PropTypes.string,\n\theight: PropTypes.string,\n\tconnectUrl: PropTypes.string.isRequired,\n\tdisplayTOS: PropTypes.bool.isRequired,\n\tscrollToIframe: PropTypes.bool,\n\tonComplete: PropTypes.func,\n\tonThirdPartyCookiesBlocked: PropTypes.func,\n\tlocation: PropTypes.string,\n};\n\nInPlaceConnection.defaultProps = {\n\tisLoading: false,\n\theight: '300',\n\twidth: '100%',\n\tscrollToIframe: false,\n};\n\nexport default InPlaceConnection;\n","// extracted by mini-css-extract-plugin","/**\n * Performs the fallback redirect if third-party cookies are not available.\n *\n * @param {string} fallbackURL -- The fallback URL.\n */\nconst thirdPartyCookiesFallback = fallbackURL => {\n\twindow.location.replace( fallbackURL );\n};\n\nexport default thirdPartyCookiesFallback;\n","/*\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n*/\n/**\n * Components.\n */\nexport { default as ConnectScreen } from './components/connect-screen';\nexport { default as ConnectButton } from './components/connect-button';\nexport { default as InPlaceConnection } from './components/in-place-connection';\nexport { default as ConnectUser } from './components/connect-user';\nexport { default as ConnectionStatusCard } from './components/connection-status-card';\nexport { default as DisconnectDialog } from './components/disconnect-dialog';\n\n/**\n * Helpers.\n */\nexport { default as thirdPartyCookiesFallbackHelper } from './helpers/third-party-cookies-fallback';\n","/**\n * External dependencies\n */\nimport { assign } from 'lodash';\n\n/**\n * Helps create new custom error classes to better notify upper layers.\n *\n * @param {string} name - The Error name that will be available in `Error.name`.\n * @returns {Error} a new custom error class.\n */\nfunction createCustomError( name ) {\n\tclass CustomError extends Error {\n\t\tconstructor( ...args ) {\n\t\t\tsuper( ...args );\n\t\t\tthis.name = name;\n\t\t}\n\t}\n\treturn CustomError;\n}\n\nexport const JsonParseError = createCustomError( 'JsonParseError' );\nexport const JsonParseAfterRedirectError = createCustomError( 'JsonParseAfterRedirectError' );\nexport const Api404Error = createCustomError( 'Api404Error' );\nexport const Api404AfterRedirectError = createCustomError( 'Api404AfterRedirectError' );\nexport const FetchNetworkError = createCustomError( 'FetchNetworkError' );\n\n/**\n * Jetpack REST API Client.\n *\n * @param {string} root - The API root URL.\n * @param {string} nonce - The API nonce.\n * @class\n */\nfunction JetpackRestApiClient( root, nonce ) {\n\tlet apiRoot = root,\n\t\theaders = {\n\t\t\t'X-WP-Nonce': nonce,\n\t\t},\n\t\tgetParams = {\n\t\t\tcredentials: 'same-origin',\n\t\t\theaders,\n\t\t},\n\t\tpostParams = {\n\t\t\tmethod: 'post',\n\t\t\tcredentials: 'same-origin',\n\t\t\theaders: assign( {}, headers, {\n\t\t\t\t'Content-type': 'application/json',\n\t\t\t} ),\n\t\t};\n\n\tconst methods = {\n\t\tsetApiRoot( newRoot ) {\n\t\t\tapiRoot = newRoot;\n\t\t},\n\t\tsetApiNonce( newNonce ) {\n\t\t\theaders = {\n\t\t\t\t'X-WP-Nonce': newNonce,\n\t\t\t};\n\t\t\tgetParams = {\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\theaders: headers,\n\t\t\t};\n\t\t\tpostParams = {\n\t\t\t\tmethod: 'post',\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\theaders: assign( {}, headers, {\n\t\t\t\t\t'Content-type': 'application/json',\n\t\t\t\t} ),\n\t\t\t};\n\t\t},\n\n\t\tregisterSite: ( registrationNonce, redirectUri ) =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/connection/register`, postParams, {\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tregistration_nonce: registrationNonce,\n\t\t\t\t\tno_iframe: true,\n\t\t\t\t\tredirect_uri: redirectUri,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchAuthorizationUrl: redirectUri =>\n\t\t\tgetRequest(\n\t\t\t\t`${ apiRoot }jetpack/v4/connection/authorize_url?no_iframe=1&redirect_uri=${ encodeURIComponent(\n\t\t\t\t\tredirectUri\n\t\t\t\t) }`,\n\t\t\t\tgetParams\n\t\t\t)\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchSiteConnectionStatus: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection`, getParams ).then( parseJsonResponse ),\n\n\t\tfetchSiteConnectionData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/data`, getParams ).then( parseJsonResponse ),\n\n\t\tdisconnectSite: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/connection`, postParams, {\n\t\t\t\tbody: JSON.stringify( { isActive: false } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\t};\n\n\t/**\n\t * Add the cache buster value to the URL.\n\t *\n\t * @param {string} route - The API route URL.\n\t * @returns {string} The API route URL with cache buster added.\n\t */\n\tfunction addCacheBuster( route ) {\n\t\tconst parts = route.split( '?' ),\n\t\t\tquery = parts.length > 1 ? parts[ 1 ] : '',\n\t\t\targs = query.length ? query.split( '&' ) : [];\n\n\t\targs.push( '_cacheBuster=' + new Date().getTime() );\n\n\t\treturn parts[ 0 ] + '?' + args.join( '&' );\n\t}\n\n\t/**\n\t * Perform a GET API request.\n\t *\n\t * @param {string} route - The API route.\n\t * @param {object} params - The request params.\n\t * @returns {Promise} The request result promise.\n\t */\n\tfunction getRequest( route, params ) {\n\t\treturn fetch( addCacheBuster( route ), params );\n\t}\n\n\t/**\n\t * Perform a GET API request.\n\t *\n\t * @param {string} route - The API route.\n\t * @param {object} params - The request params.\n\t * @param {object} [body] - The request body.\n\t * @returns {Promise} The request result promise.\n\t */\n\tfunction postRequest( route, params, body ) {\n\t\treturn fetch( route, assign( {}, params, body ) ).catch( catchNetworkErrors );\n\t}\n\n\tassign( this, methods );\n}\n\n/**\n * Check the response status.\n *\n * @param {object} response - The API response.\n * @returns {Promise} - The status promise.\n */\nfunction checkStatus( response ) {\n\t// Regular success responses\n\tif ( response.status >= 200 && response.status < 300 ) {\n\t\treturn response;\n\t}\n\n\tif ( response.status === 404 ) {\n\t\treturn new Promise( () => {\n\t\t\tconst err = response.redirected\n\t\t\t\t? new Api404AfterRedirectError( response.redirected )\n\t\t\t\t: new Api404Error();\n\t\t\tthrow err;\n\t\t} );\n\t}\n\n\treturn response\n\t\t.json()\n\t\t.catch( e => catchJsonParseError( e ) )\n\t\t.then( json => {\n\t\t\tconst error = new Error( `${ json.message } (Status ${ response.status })` );\n\t\t\terror.response = json;\n\t\t\terror.name = 'ApiError';\n\t\t\tthrow error;\n\t\t} );\n}\n\n/**\n * Parse JSON response.\n *\n * @param {string} response - The JSON string.\n * @returns {object} The parsed JSON object.\n */\nfunction parseJsonResponse( response ) {\n\treturn response.json().catch( e => catchJsonParseError( e, response.redirected, response.url ) );\n}\n\n/**\n * Catch a JSON parse error.\n *\n * @param {object} e - The error.\n * @param {boolean} redirected - Whether it is an \"after redirect\" parse error.\n * @param {string} url - The redirect URL.\n */\nfunction catchJsonParseError( e, redirected, url ) {\n\tconst err = redirected ? new JsonParseAfterRedirectError( url ) : new JsonParseError();\n\tthrow err;\n}\n\n/**\n * Catches TypeError coming from the Fetch API implementation\n */\nfunction catchNetworkErrors() {\n\t//Either one of:\n\t// * A preflight error like a redirection to an external site (which results in a CORS)\n\t// * A preflight error like ERR_TOO_MANY_REDIRECTS\n\tthrow new FetchNetworkError();\n}\n\nconst restApi = new JetpackRestApiClient();\n\nexport default restApi;\n","const SET_CONNECTION_STATUS = 'SET_CONNECTION_STATUS';\n\nconst connectionStatusActions = {\n\tsetConnectionStatus: connectionStatus => {\n\t\treturn { type: SET_CONNECTION_STATUS, connectionStatus };\n\t},\n};\n\nexport { SET_CONNECTION_STATUS, connectionStatusActions as default };\n","/**\n * Internal dependencies\n */\nimport connectionStatusActions from './connection-status';\n\nconst actions = {\n\t...connectionStatusActions,\n};\n\nexport default actions;\n","/**\n * External dependencies\n */\nimport ReactDOM from 'react-dom';\nimport React from 'react';\nimport { registerStore } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport Admin from './components/admin';\nimport { STORE_ID, storeConfig } from './store';\n\nregisterStore( STORE_ID, storeConfig );\n\n/**\n * The initial renderer function.\n */\nfunction render() {\n\tconst container = document.getElementById( 'jetpack-connection-ui-container' );\n\n\tif ( null === container ) {\n\t\treturn;\n\t}\n\n\tReactDOM.render( , container );\n}\n\nrender();\n","module.exports = __webpack_public_path__ + \"images/connect-right-d53058f843bf7071f1859f89639782c1.png\";","/**\n * External dependencies\n */\nimport React, { useCallback } from 'react';\nimport { useSelect, useDispatch } from '@wordpress/data';\n\nimport { ConnectionStatusCard, ConnectScreen } from '@automattic/jetpack-connection';\n\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport { STORE_ID } from '../../store';\nimport Header from '../header';\nimport './style.scss';\nimport ConnectRight from './assets/connect-right.png';\n\n/**\n * The Connection IU Admin App.\n *\n * @returns {object} The Admin component.\n */\nexport default function Admin() {\n\tconst APINonce = useSelect( select => select( STORE_ID ).getAPINonce(), [] );\n\tconst APIRoot = useSelect( select => select( STORE_ID ).getAPIRoot(), [] );\n\tconst registrationNonce = useSelect( select => select( STORE_ID ).getRegistrationNonce(), [] );\n\tconst assetBuildUrl = useSelect( select => select( STORE_ID ).getAssetBuildUrl(), [] );\n\n\tconst connectionStatus = useSelect( select => select( STORE_ID ).getConnectionStatus(), [] );\n\tconst { setConnectionStatus } = useDispatch( STORE_ID );\n\n\tconst statusCallback = useCallback(\n\t\tstatus => {\n\t\t\tsetConnectionStatus( status );\n\t\t},\n\t\t[ setConnectionStatus ]\n\t);\n\n\tconst onDisconnectedCallback = useCallback( () => {\n\t\tsetConnectionStatus( { isActive: false, isRegistered: false, isUserConnected: false } );\n\t}, [ setConnectionStatus ] );\n\n\treturn (\n\t\t\n\t\t\t
\n\n\t\t\t{ connectionStatus.isRegistered && (\n\t\t\t\t\n\t\t\t) }\n\n\t\t\t{ ! connectionStatus.isRegistered && (\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\"Secure and speed up your site for free with Jetpack's powerful WordPress tools.\",\n\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t) }\n\t\t\t\t\t

\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • { __( 'Measure your impact with beautiful stats', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Speed up your site with optimized images', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Protect your site against bot attacs', 'jetpacks' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Get notifications if your site goes offline', 'jetpacks' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Enhance your site with dozens of other features', 'jetpack' ) }
  • \n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t) }\n\t\t\n\t);\n}\n","// extracted by mini-css-extract-plugin","/**\n * External dependencies\n */\nimport React from 'react';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\n/**\n * The Connection UI header.\n *\n * @returns {object} The header component.\n */\nconst Header = () => {\n\treturn (\n\t\t
\n\t\t\t

{ __( 'Connection Manager', 'jetpack' ) }

\n\t\t
\n\t);\n};\n\nexport default Header;\n","// extracted by mini-css-extract-plugin","const API = ( state = {} ) => {\n\treturn state;\n};\n\nexport default API;\n","const assets = ( state = {} ) => {\n\treturn state;\n};\n\nexport default assets;\n","/**\n * Internal dependencies\n */\nimport { SET_CONNECTION_STATUS } from '../actions/connection-status';\n\nconst connectionStatus = ( state = {}, action ) => {\n\tswitch ( action.type ) {\n\t\tcase SET_CONNECTION_STATUS:\n\t\t\treturn action.connectionStatus;\n\t}\n\n\treturn state;\n};\n\nexport default connectionStatus;\n","/**\n * External dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport connectionStatus from './connection-status';\nimport API from './api';\nimport assets from './assets';\n\nconst reducer = combineReducers( {\n\tconnectionStatus,\n\tAPI,\n\tassets,\n} );\n\nexport default reducer;\n","const APISelectors = {\n\tgetAPIRoot: state => state.API.WP_API_root || null,\n\tgetAPINonce: state => state.API.WP_API_nonce || null,\n\tgetRegistrationNonce: state => state.API.registrationNonce || null,\n};\n\nexport default APISelectors;\n","const assetsSelectors = {\n\tgetAssetBuildUrl: state => state.assets.buildUrl || null,\n};\n\nexport default assetsSelectors;\n","const connectionSelectors = {\n\tgetConnectionStatus: state => state.connectionStatus || {},\n};\n\nexport default connectionSelectors;\n","/**\n * Internal dependencies\n */\nimport connectionSelectors from './connection-status';\nimport APISelectors from './api';\nimport assetsSelectors from './assets';\n\nconst selectors = {\n\t...connectionSelectors,\n\t...APISelectors,\n\t...assetsSelectors,\n};\n\nexport default selectors;\n","/**\n * Internal dependencies\n */\nimport reducer from './reducers';\nimport actions from './actions';\nimport selectors from './selectors';\n\nexport const STORE_ID = 'jetpack-connection-ui';\nexport const storeConfig = {\n\treducer,\n\tactions,\n\tselectors,\n\tinitialState: window.CUI_INITIAL_STATE || {},\n};\n","(function() { module.exports = window[\"wp\"][\"components\"]; }());","(function() { module.exports = window[\"wp\"][\"data\"]; }());","(function() { module.exports = window[\"wp\"][\"element\"]; }());","(function() { module.exports = window[\"wp\"][\"i18n\"]; }());","(function() { module.exports = window[\"lodash\"]; }());","(function() { module.exports = window[\"React\"]; }());","(function() { module.exports = window[\"ReactDOM\"]; }());"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"index.js","mappings":";;;;;;;;;AAAA;AACA;;AAEA,yCAAyC,SAAS;AAClD;AACA;;AAEA;AACA;;AAEA;AACA,sBAAyB,mBAAmB,yBAAyB;;;;;;;;;;ACXrE;AACA;AACA;;AAEA;AACA,sBAAyB,mBAAmB,yBAAyB;;;;;;;;;;ACLrE;AACA;AACA;AACA;;AAEA;AACA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;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK,EAEN;AACF,CAAC;;;;;;;;;;;;;ACzDD;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,SAAoB;AACxB,6BAA6B,mBAAO,CAAC,qIAA4B;AACjE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,WAAW;AACtB;AACA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAA6G;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;AACA;;AAEA;;;;;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,2BAA2B,mBAAO,CAAC,qIAA4B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,6FAAU;AAChC,aAAa,mBAAO,CAAC,0GAAe;;AAEpC,2BAA2B,mBAAO,CAAC,qIAA4B;AAC/D,qBAAqB,mBAAO,CAAC,iHAAkB;;AAE/C;AACA;;AAEA,IAAI,SAAoB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,8BAA8B;AAC9B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,SAAoB;AAC5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,SAAS,SAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,SAAoB;AAC9B;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,SAAoB;AAC1B;AACA;;AAEA,oBAAoB,gCAAgC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,gCAAgC;AACtD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;AC9kBA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,SAAoB;AACxB,gBAAgB,mBAAO,CAAC,6FAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,mIAA2B;AACtD,EAAE;AACF;AACA;AACA,mBAAmB,mBAAO,CAAC,qIAA4B;AACvD;;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,SAAoB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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zB,CAAlB;;AAEA,MAAK,SAASF,SAAd,EAA0B;AACzB;AACA;;AAEDF,EAAAA,uDAAA,eAAiB,2DAAC,sDAAD,OAAjB,EAA4BE,SAA5B;AACA;;AAEDD,MAAM,G","sources":["webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/classCallCheck.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/construct.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createClass.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/createSuper.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/defineProperty.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/extends.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/inherits.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeFunction.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectSpread2.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/slicedToArray.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/typeof.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/@babel+runtime@7.15.3/node_modules/@babel/runtime/helpers/wrapNativeSuper.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js","webpack://jetpack-connection-manager-ui/../../js-packages/components/components/spinner/style.scss?6900","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-button/style.scss?e2bf","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-screen/style.scss?ac4a","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connection-status-card/style.scss?70d3","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/disconnect-dialog/style.scss?f37f","webpack://jetpack-connection-manager-ui/./_inc/components/admin/style.scss?aa5b","webpack://jetpack-connection-manager-ui/./_inc/components/header/style.scss?8d4e","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/checkPropTypes.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithThrowingShims.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/factoryWithTypeCheckers.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/index.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/prop-types@15.7.2/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","webpack://jetpack-connection-manager-ui/../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","webpack://jetpack-connection-manager-ui/../../js-packages/api/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/components/components/jetpack-logo/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/components/components/spinner/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/components/tools/jp-redirect/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-button/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-screen/image-slider.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-screen/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connect-user/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/connection-status-card/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/disconnect-dialog/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/with-connection-status/index.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/with-connection-status/state/actions.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/with-connection-status/state/reducers.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/components/with-connection-status/state/selectors.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/state/actions.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/state/reducers.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/state/selectors.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/state/store-holder.jsx","webpack://jetpack-connection-manager-ui/../../js-packages/connection/state/store.jsx","webpack://jetpack-connection-manager-ui/./_inc/actions/connection-status.js","webpack://jetpack-connection-manager-ui/./_inc/actions/index.js","webpack://jetpack-connection-manager-ui/./_inc/components/admin/index.jsx","webpack://jetpack-connection-manager-ui/./_inc/components/header/index.jsx","webpack://jetpack-connection-manager-ui/./_inc/reducers/api.js","webpack://jetpack-connection-manager-ui/./_inc/reducers/assets.js","webpack://jetpack-connection-manager-ui/./_inc/reducers/connection-status.js","webpack://jetpack-connection-manager-ui/./_inc/reducers/index.js","webpack://jetpack-connection-manager-ui/./_inc/selectors/api.js","webpack://jetpack-connection-manager-ui/./_inc/selectors/assets.js","webpack://jetpack-connection-manager-ui/./_inc/selectors/connection-status.js","webpack://jetpack-connection-manager-ui/./_inc/selectors/index.js","webpack://jetpack-connection-manager-ui/./_inc/store.js","webpack://jetpack-connection-manager-ui/external \"React\"","webpack://jetpack-connection-manager-ui/external \"ReactDOM\"","webpack://jetpack-connection-manager-ui/external \"lodash\"","webpack://jetpack-connection-manager-ui/external [\"wp\",\"components\"]","webpack://jetpack-connection-manager-ui/external [\"wp\",\"data\"]","webpack://jetpack-connection-manager-ui/external [\"wp\",\"element\"]","webpack://jetpack-connection-manager-ui/external [\"wp\",\"i18n\"]","webpack://jetpack-connection-manager-ui/webpack/bootstrap","webpack://jetpack-connection-manager-ui/webpack/runtime/compat get default export","webpack://jetpack-connection-manager-ui/webpack/runtime/define property getters","webpack://jetpack-connection-manager-ui/webpack/runtime/hasOwnProperty shorthand","webpack://jetpack-connection-manager-ui/webpack/runtime/make namespace object","webpack://jetpack-connection-manager-ui/./_inc/admin.jsx"],"sourcesContent":["function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nvar possibleConstructorReturn = require(\"./possibleConstructorReturn.js\");\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return possibleConstructorReturn(this, result);\n };\n}\n\nmodule.exports = _createSuper;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var defineProperty = require(\"./defineProperty.js\");\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectSpread2;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var _typeof = require(\"@babel/runtime/helpers/typeof\")[\"default\"];\n\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeFunction = require(\"./isNativeFunction.js\");\n\nvar construct = require(\"./construct.js\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * External dependencies\n */\nimport { assign } from 'lodash';\n\n/**\n * Helps create new custom error classes to better notify upper layers.\n *\n * @param {string} name - the Error name that will be availble in Error.name\n * @returns {Error} a new custom error class.\n */\nfunction createCustomError( name ) {\n\tclass CustomError extends Error {\n\t\tconstructor( ...args ) {\n\t\t\tsuper( ...args );\n\t\t\tthis.name = name;\n\t\t}\n\t}\n\treturn CustomError;\n}\n\nexport const JsonParseError = createCustomError( 'JsonParseError' );\nexport const JsonParseAfterRedirectError = createCustomError( 'JsonParseAfterRedirectError' );\nexport const Api404Error = createCustomError( 'Api404Error' );\nexport const Api404AfterRedirectError = createCustomError( 'Api404AfterRedirectError' );\nexport const FetchNetworkError = createCustomError( 'FetchNetworkError' );\n\n/**\n * Create a Jetpack Rest Api Client\n *\n * @param {string} root - The API root\n * @param {string} nonce - The API Nonce\n */\nfunction JetpackRestApiClient( root, nonce ) {\n\tlet apiRoot = root,\n\t\theaders = {\n\t\t\t'X-WP-Nonce': nonce,\n\t\t},\n\t\tgetParams = {\n\t\t\tcredentials: 'same-origin',\n\t\t\theaders,\n\t\t},\n\t\tpostParams = {\n\t\t\tmethod: 'post',\n\t\t\tcredentials: 'same-origin',\n\t\t\theaders: assign( {}, headers, {\n\t\t\t\t'Content-type': 'application/json',\n\t\t\t} ),\n\t\t},\n\t\tcacheBusterCallback = addCacheBuster;\n\n\tconst methods = {\n\t\tsetApiRoot( newRoot ) {\n\t\t\tapiRoot = newRoot;\n\t\t},\n\t\tsetApiNonce( newNonce ) {\n\t\t\theaders = {\n\t\t\t\t'X-WP-Nonce': newNonce,\n\t\t\t};\n\t\t\tgetParams = {\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\theaders: headers,\n\t\t\t};\n\t\t\tpostParams = {\n\t\t\t\tmethod: 'post',\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\theaders: assign( {}, headers, {\n\t\t\t\t\t'Content-type': 'application/json',\n\t\t\t\t} ),\n\t\t\t};\n\t\t},\n\t\tsetCacheBusterCallback: callback => {\n\t\t\tcacheBusterCallback = callback;\n\t\t},\n\n\t\tregisterSite: ( registrationNonce, redirectUri ) => {\n\t\t\tconst params = {\n\t\t\t\tregistration_nonce: registrationNonce,\n\t\t\t\tno_iframe: true,\n\t\t\t};\n\n\t\t\tif ( null !== redirectUri ) {\n\t\t\t\tparams.redirect_uri = redirectUri;\n\t\t\t}\n\n\t\t\treturn postRequest( `${ apiRoot }jetpack/v4/connection/register`, postParams, {\n\t\t\t\tbody: JSON.stringify( params ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse );\n\t\t},\n\n\t\tfetchAuthorizationUrl: redirectUri =>\n\t\t\tgetRequest(\n\t\t\t\t`${ apiRoot }jetpack/v4/connection/authorize_url?no_iframe=1&redirect_uri=${ encodeURIComponent(\n\t\t\t\t\tredirectUri\n\t\t\t\t) }`,\n\t\t\t\tgetParams\n\t\t\t)\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchSiteConnectionData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/data`, getParams ).then( parseJsonResponse ),\n\n\t\tfetchSiteConnectionStatus: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection`, getParams ).then( parseJsonResponse ),\n\n\t\tfetchSiteConnectionTest: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/test`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchUserConnectionData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/data`, getParams ).then( parseJsonResponse ),\n\n\t\tfetchUserTrackingSettings: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/tracking/settings`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateUserTrackingSettings: newSettings =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/tracking/settings`, postParams, {\n\t\t\t\tbody: JSON.stringify( newSettings ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tdisconnectSite: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/connection`, postParams, {\n\t\t\t\tbody: JSON.stringify( { isActive: false } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchConnectUrl: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/url`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tunlinkUser: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/connection/user`, postParams, {\n\t\t\t\tbody: JSON.stringify( { linked: false } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\treconnect: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/connection/reconnect`, postParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchConnectedPlugins: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/connection/plugins`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchModules: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/all`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchModule: slug =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/${ slug }`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tactivateModule: slug =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/module/${ slug }/active`, postParams, {\n\t\t\t\tbody: JSON.stringify( { active: true } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tdeactivateModule: slug =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/module/${ slug }/active`, postParams, {\n\t\t\t\tbody: JSON.stringify( { active: false } ),\n\t\t\t} ),\n\n\t\tupdateModuleOptions: ( slug, newOptionValues ) =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/module/${ slug }`, postParams, {\n\t\t\t\tbody: JSON.stringify( newOptionValues ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateSettings: newOptionValues =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/settings`, postParams, {\n\t\t\t\tbody: JSON.stringify( newOptionValues ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tgetProtectCount: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/protect/data`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tresetOptions: options =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/options/${ options }`, postParams, {\n\t\t\t\tbody: JSON.stringify( { reset: true } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tactivateVaultPress: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/plugins`, postParams, {\n\t\t\t\tbody: JSON.stringify( { slug: 'vaultpress', status: 'active' } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tgetVaultPressData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/vaultpress/data`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tinstallPlugin: ( slug, source ) => {\n\t\t\tconst props = { slug, status: 'active' };\n\n\t\t\tif ( source ) {\n\t\t\t\tprops.source = source;\n\t\t\t}\n\n\t\t\treturn postRequest( `${ apiRoot }jetpack/v4/plugins`, postParams, {\n\t\t\t\tbody: JSON.stringify( props ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse );\n\t\t},\n\n\t\tactivateAkismet: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/plugins`, postParams, {\n\t\t\t\tbody: JSON.stringify( { slug: 'akismet', status: 'active' } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tgetAkismetData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/akismet/data`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tcheckAkismetKey: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/module/akismet/key/check`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tcheckAkismetKeyTyped: apiKey =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/module/akismet/key/check`, postParams, {\n\t\t\t\tbody: JSON.stringify( { api_key: apiKey } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchStatsData: range =>\n\t\t\tgetRequest( statsDataUrl( range ), getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( handleStatsResponseError ),\n\n\t\tgetPluginUpdates: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/updates/plugins`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tgetPlans: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/plans`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchSettings: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/settings`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateSetting: updatedSetting =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/settings`, postParams, {\n\t\t\t\tbody: JSON.stringify( updatedSetting ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchSiteData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/site`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tfetchSiteFeatures: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/site/features`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tfetchSiteProducts: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/site/products`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchSitePurchases: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/site/purchases`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tfetchSiteBenefits: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/site/benefits`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tfetchSetupQuestionnaire: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/setup/questionnaire`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchRecommendationsData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/recommendations/data`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchRecommendationsProductSuggestions: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/recommendations/product-suggestions`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchRecommendationsUpsell: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/recommendations/upsell`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tsaveRecommendationsData: data =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/recommendations/data`, postParams, {\n\t\t\t\tbody: JSON.stringify( { data } ),\n\t\t\t} ).then( checkStatus ),\n\n\t\tfetchProducts: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/products`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchRewindStatus: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/rewind`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tfetchScanStatus: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/scan`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse )\n\t\t\t\t.then( body => JSON.parse( body.data ) ),\n\n\t\tdismissJetpackNotice: notice =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/notice/${ notice }`, postParams, {\n\t\t\t\tbody: JSON.stringify( { dismissed: true } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchPluginsData: () =>\n\t\t\tgetRequest( `${ apiRoot }jetpack/v4/plugins`, getParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tfetchVerifySiteGoogleStatus: keyringId => {\n\t\t\tconst request =\n\t\t\t\tkeyringId !== null\n\t\t\t\t\t? getRequest( `${ apiRoot }jetpack/v4/verify-site/google/${ keyringId }`, getParams )\n\t\t\t\t\t: getRequest( `${ apiRoot }jetpack/v4/verify-site/google`, getParams );\n\n\t\t\treturn request.then( checkStatus ).then( parseJsonResponse );\n\t\t},\n\n\t\tverifySiteGoogle: keyringId =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/verify-site/google`, postParams, {\n\t\t\t\tbody: JSON.stringify( { keyring_id: keyringId } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tsendMobileLoginEmail: () =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/mobile/send-login-email`, postParams )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tsubmitSurvey: surveyResponse =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/marketing/survey`, postParams, {\n\t\t\t\tbody: JSON.stringify( surveyResponse ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tsaveSetupQuestionnaire: props =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/setup/questionnaire`, postParams, {\n\t\t\t\tbody: JSON.stringify( props ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateLicensingError: props =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/licensing/error`, postParams, {\n\t\t\t\tbody: JSON.stringify( props ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateLicenseKey: license =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/licensing/set-license`, postParams, {\n\t\t\t\tbody: JSON.stringify( { license } ),\n\t\t\t} )\n\t\t\t\t.then( checkStatus )\n\t\t\t\t.then( parseJsonResponse ),\n\n\t\tupdateRecommendationsStep: step =>\n\t\t\tpostRequest( `${ apiRoot }jetpack/v4/recommendations/step`, postParams, {\n\t\t\t\tbody: JSON.stringify( { step } ),\n\t\t\t} ).then( checkStatus ),\n\t};\n\n\t/**\n\t * The default callback to add a cachebuster parameter to route\n\t *\n\t * @param {string} route - the route\n\t * @returns {string} - the route with the cachebuster appended\n\t */\n\tfunction addCacheBuster( route ) {\n\t\tconst parts = route.split( '?' ),\n\t\t\tquery = parts.length > 1 ? parts[ 1 ] : '',\n\t\t\targs = query.length ? query.split( '&' ) : [];\n\n\t\targs.push( '_cacheBuster=' + new Date().getTime() );\n\n\t\treturn parts[ 0 ] + '?' + args.join( '&' );\n\t}\n\n\t/**\n\t * Generate a request promise for the route and params. Automatically adds a cachebuster.\n\t *\n\t * @param {string} route - the route\n\t * @param {object} params - the params\n\t * @returns {Promise} - the http request promise\n\t */\n\tfunction getRequest( route, params ) {\n\t\treturn fetch( cacheBusterCallback( route ), params );\n\t}\n\n\t/**\n\t * Generate a POST request promise for the route and params. Automatically adds a cachebuster.\n\t *\n\t * @param {string} route - the route\n\t * @param {object} params - the params\n\t * @param {string} body - the body\n\t * @returns {Promise} - the http response promise\n\t */\n\tfunction postRequest( route, params, body ) {\n\t\treturn fetch( route, assign( {}, params, body ) ).catch( catchNetworkErrors );\n\t}\n\n\t/**\n\t * Returns the stats data URL for the given date range\n\t *\n\t * @param {string} range - the range\n\t * @returns {string} - the stats URL\n\t */\n\tfunction statsDataUrl( range ) {\n\t\tlet url = `${ apiRoot }jetpack/v4/module/stats/data`;\n\t\tif ( url.indexOf( '?' ) !== -1 ) {\n\t\t\turl = url + `&range=${ encodeURIComponent( range ) }`;\n\t\t} else {\n\t\t\turl = url + `?range=${ encodeURIComponent( range ) }`;\n\t\t}\n\t\treturn url;\n\t}\n\n\t/**\n\t * Returns stats data if possible, otherwise an empty object\n\t *\n\t * @param {object} statsData - the stats data or error\n\t * @returns {object} - the handled stats data\n\t */\n\tfunction handleStatsResponseError( statsData ) {\n\t\t// If we get a .response property, it means that .com's response is errory.\n\t\t// Probably because the site does not have stats yet.\n\t\tconst responseOk =\n\t\t\t( statsData.general && statsData.general.response === undefined ) ||\n\t\t\t( statsData.week && statsData.week.response === undefined ) ||\n\t\t\t( statsData.month && statsData.month.response === undefined );\n\t\treturn responseOk ? statsData : {};\n\t}\n\n\tassign( this, methods );\n}\n\nconst restApi = new JetpackRestApiClient();\n\nexport default restApi;\n\n/**\n * Check the status of the response. Throw an error if it was not OK\n *\n * @param {Response} response - the API response\n * @returns {Promise} - a promise to return the parsed JSON body as an object\n */\nfunction checkStatus( response ) {\n\t// Regular success responses\n\tif ( response.status >= 200 && response.status < 300 ) {\n\t\treturn response;\n\t}\n\n\tif ( response.status === 404 ) {\n\t\treturn new Promise( () => {\n\t\t\tconst err = response.redirected\n\t\t\t\t? new Api404AfterRedirectError( response.redirected )\n\t\t\t\t: new Api404Error();\n\t\t\tthrow err;\n\t\t} );\n\t}\n\n\treturn response\n\t\t.json()\n\t\t.catch( e => catchJsonParseError( e ) )\n\t\t.then( json => {\n\t\t\tconst error = new Error( `${ json.message } (Status ${ response.status })` );\n\t\t\terror.response = json;\n\t\t\terror.name = 'ApiError';\n\t\t\tthrow error;\n\t\t} );\n}\n\n/**\n * Parse the JSON response\n *\n * @param {Response} response - the response object\n * @returns {Promise} - promise to return the parsed json object\n */\nfunction parseJsonResponse( response ) {\n\treturn response.json().catch( e => catchJsonParseError( e, response.redirected, response.url ) );\n}\n\n/**\n * Throw appropriate exception given an API error\n *\n * @param {Error} e - the error\n * @param {boolean} redirected - are we being redirected?\n * @param {string} url - the URL that returned the error\n */\nfunction catchJsonParseError( e, redirected, url ) {\n\tconst err = redirected ? new JsonParseAfterRedirectError( url ) : new JsonParseError();\n\tthrow err;\n}\n\n/**\n * Catches TypeError coming from the Fetch API implementation\n */\nfunction catchNetworkErrors() {\n\t//Either one of:\n\t// * A preflight error like a redirection to an external site (which results in a CORS)\n\t// * A preflight error like ERR_TOO_MANY_REDIRECTS\n\tthrow new FetchNetworkError();\n}\n","/**\n * External dependencies\n */\nimport PropTypes from 'prop-types';\nimport React, { Fragment } from 'react';\nimport classnames from 'classnames';\n\n/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nclass JetpackLogo extends React.Component {\n\tstatic propTypes = {\n\t\tclassName: PropTypes.string,\n\t\twidth: PropTypes.number,\n\t\theight: PropTypes.number,\n\t\tshowText: PropTypes.bool,\n\t\tlogoColor: PropTypes.string,\n\t};\n\n\tstatic defaultProps = {\n\t\tclassName: '',\n\t\theight: 32,\n\t\tshowText: true,\n\t\tlogoColor: '#00BE28',\n\t};\n\n\trender() {\n\t\tconst { logoColor, showText, className, ...otherProps } = this.props;\n\t\tconst viewBox = showText ? '0 0 118 32' : '0 0 32 32';\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{ __( 'Jetpack Logo', 'jetpack' ) }\n\t\t\t\t\n\t\t\t\t{ showText && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default JetpackLogo;\n","/**\n * External dependencies\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\nconst Spinner = props => {\n\tconst className = props.className + ' jp-components-spinner';\n\n\tconst style = {\n\t\twidth: props.size,\n\t\theight: props.size,\n\t\tfontSize: props.size, // allows border-width to be specified in em units\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nSpinner.propTypes = {\n\tclassName: PropTypes.string,\n\tsize: PropTypes.number,\n};\n\nSpinner.defaultProps = {\n\tsize: 20,\n\tclassName: '',\n};\n\nexport default Spinner;\n","/* global jetpack_redirects */\n/**\n * Builds an URL using the jetpack.com/redirect/ service\n *\n * If $source is a simple slug, it will be sent using the source query parameter. e.g. jetpack.com/redirect/?source=slug\n *\n * If $source is a full URL, starting with https://, it will be sent using the url query parameter. e.g. jetpack.com/redirect/?url=https://wordpress.com\n *\n * Note: if using full URL, query parameters and anchor must be passed in args. Any querystring of url fragment in the URL will be discarded.\n *\n * @since 0.2.0\n * @param {string} source - The URL handler registered in the server or the full destination URL (starting with https://).\n * @param {object} args - {\n *\n * Additional arguments to build the url. This is not a complete list as any argument passed here will be sent to as a query parameter to the Redirect server. These parameters will not necessarily be passed over to the final destination URL. If you want to add a parameter to the final destination URL, use the `query` argument.\n * @type {string} site URL of the current site. Will default to the value of jetpack_redirects.currentSiteRawUrl, if available.\n * @type {string} path Additional path to be appended to the URL\n * @type {string} query Query parameters to be added to the final destination URL. should be in query string format (e.g. 'key=value&foo=bar').\n * @type {string} anchor Anchor to be added to the URL\n * }\n * @returns {string} The redirect URL\n */\nexport default function getRedirectUrl( source, args = {} ) {\n\tconst queryVars = {};\n\n\tlet calypsoEnv;\n\tif ( typeof window !== 'undefined' ) {\n\t\tcalypsoEnv = window.Initial_State?.calypsoEnv;\n\t}\n\n\tif ( source.search( 'https://' ) === 0 ) {\n\t\tconst parsedUrl = new URL( source );\n\n\t\t// discard any query and fragments.\n\t\tsource = `https://${ parsedUrl.host }${ parsedUrl.pathname }`;\n\t\tqueryVars.url = encodeURIComponent( source );\n\t} else {\n\t\tqueryVars.source = encodeURIComponent( source );\n\t}\n\n\tObject.keys( args ).map( argName => {\n\t\tqueryVars[ argName ] = encodeURIComponent( args[ argName ] );\n\t} );\n\n\tif (\n\t\t! Object.keys( queryVars ).includes( 'site' ) &&\n\t\ttypeof jetpack_redirects !== 'undefined' &&\n\t\tjetpack_redirects.hasOwnProperty( 'currentSiteRawUrl' )\n\t) {\n\t\tqueryVars.site = jetpack_redirects.currentSiteRawUrl;\n\t}\n\n\tif ( calypsoEnv ) {\n\t\tqueryVars.calypso_env = calypsoEnv;\n\t}\n\n\tconst queryString = Object.keys( queryVars )\n\t\t.map( key => key + '=' + queryVars[ key ] )\n\t\t.join( '&' );\n\n\treturn `https://jetpack.com/redirect/?` + queryString;\n}\n","/**\n * External dependencies\n */\nimport React, { useEffect, useCallback, useState } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport PropTypes from 'prop-types';\nimport restApi from '@automattic/jetpack-api';\nimport { Spinner } from '@automattic/jetpack-components';\n\n/**\n * Internal dependencies\n */\nimport ConnectUser from '../connect-user';\nimport './style.scss';\n\n/**\n * The RNA connection component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.connectLabel -- The \"Connect\" button label.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.registrationNonce -- Separate registration nonce, required.\n * @param {Function} props.onRegistered -- The callback to be called upon registration success.\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n * @param {object} props.connectionStatus -- The connection status object.\n * @param {boolean} props.connectionStatusIsFetching -- The flag indicating that connection status is being fetched.\n * @param {boolean} props.autoTrigger -- Whether to initiate the connection process automatically upon rendering the component.\n * @returns {React.Component} The RNA connection component.\n */\nconst ConnectButton = props => {\n\tconst [ isRegistering, setIsRegistering ] = useState( false );\n\tconst [ isUserConnecting, setIsUserConnecting ] = useState( false );\n\n\tconst [ authorizationUrl, setAuthorizationUrl ] = useState( null );\n\n\tconst {\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tconnectLabel,\n\t\tonRegistered,\n\t\tregistrationNonce,\n\t\tredirectUri,\n\t\tfrom,\n\t\tconnectionStatus,\n\t\tconnectionStatusIsFetching,\n\t\tautoTrigger,\n\t} = props;\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Initialize the site registration process.\n\t */\n\tconst registerSite = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tif ( connectionStatus.isRegistered ) {\n\t\t\t\tsetIsUserConnecting( true );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetIsRegistering( true );\n\n\t\t\trestApi\n\t\t\t\t.registerSite( registrationNonce, redirectUri )\n\t\t\t\t.then( response => {\n\t\t\t\t\tsetIsRegistering( false );\n\n\t\t\t\t\tif ( onRegistered ) {\n\t\t\t\t\t\tonRegistered( response );\n\t\t\t\t\t}\n\n\t\t\t\t\tsetAuthorizationUrl( response.authorizeUrl );\n\t\t\t\t\tsetIsUserConnecting( true );\n\t\t\t\t} )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tsetIsRegistering( false );\n\t\t\t\t\tthrow error;\n\t\t\t\t} );\n\t\t},\n\t\t[\n\t\t\tsetIsRegistering,\n\t\t\tsetAuthorizationUrl,\n\t\t\tconnectionStatus,\n\t\t\tonRegistered,\n\t\t\tregistrationNonce,\n\t\t\tredirectUri,\n\t\t]\n\t);\n\n\t/**\n\t * Auto-trigger the flow, only do it once.\n\t */\n\tuseEffect( () => {\n\t\tif ( autoTrigger && ! isRegistering && ! isUserConnecting ) {\n\t\t\tregisterSite();\n\t\t}\n\t}, [] ); // eslint-disable-line react-hooks/exhaustive-deps\n\n\treturn (\n\t\t
\n\t\t\t{ connectionStatusIsFetching && `Loading...` }\n\n\t\t\t{ ( ! connectionStatus.isRegistered || ! connectionStatus.isUserConnected ) &&\n\t\t\t\t! connectionStatusIsFetching && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ isRegistering || isUserConnecting ? : connectLabel }\n\t\t\t\t\t\n\t\t\t\t) }\n\n\t\t\t{ isUserConnecting && (\n\t\t\t\t\n\t\t\t) }\n\t\t
\n\t);\n};\n\nConnectButton.propTypes = {\n\tconnectLabel: PropTypes.string,\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tonRegistered: PropTypes.func,\n\tfrom: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tregistrationNonce: PropTypes.string.isRequired,\n\tautoTrigger: PropTypes.bool,\n};\n\nConnectButton.defaultProps = {\n\tconnectLabel: __( 'Connect', 'jetpack' ),\n\tredirectUri: null,\n\tautoTrigger: false,\n};\n\nexport default ConnectButton;\n","/**\n * External dependencies\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * The ImageSlider component.\n *\n * @param {object} props -- The properties.\n * @param {Array} props.images -- Images to display on the right side.\n * @param {string} props.assetBaseUrl -- The assets base URL\n * @returns {React.Component} The `ImageSlider` component.\n */\nconst ImageSlider = props => {\n\tconst { images, assetBaseUrl } = props;\n\n\tif ( ! images.length ) {\n\t\treturn null;\n\t}\n\n\tconst imagesHTML = [];\n\timages.forEach( image =>\n\t\timagesHTML.push(\n\t\t\t\n\t\t\t\t\"\"\n\t\t\t\n\t\t)\n\t);\n\n\treturn
{ imagesHTML }
;\n};\n\nImageSlider.propTypes = {\n\timages: PropTypes.arrayOf( PropTypes.string ).isRequired,\n\tassetBaseUrl: PropTypes.string,\n};\n\nImageSlider.defaultProps = {\n\tassetBaseUrl: '',\n};\n\nexport default ImageSlider;\n","/**\n * External dependencies\n */\nimport React, { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport { JetpackLogo, getRedirectUrl } from '@automattic/jetpack-components';\nimport { createInterpolateElement } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport ConnectButton from '../connect-button';\nimport withConnectionStatus from '../with-connection-status';\nimport ImageSlider from './image-slider';\nimport './style.scss';\n\nconst ConnectButtonWithConnectionStatus = withConnectionStatus( ConnectButton );\n\n/**\n * The Connection Screen component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.registrationNonce -- Separate registration nonce, required.\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n * @param {string} props.title -- Page title.\n * @param {Function} props.statusCallback -- Callback to pull connection status from the component.\n * @param {Array} props.images -- Images to display on the right side.\n * @param {string} props.assetBaseUrl -- The assets base URL.\n * @param {boolean} props.autoTrigger -- Whether to initiate the connection process automatically upon rendering the component.\n * @returns {React.Component} The `ConnectScreen` component.\n */\nconst ConnectScreen = props => {\n\tconst {\n\t\ttitle,\n\t\tbuttonLabel,\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tregistrationNonce,\n\t\tfrom,\n\t\tredirectUri,\n\t\tstatusCallback,\n\t\timages,\n\t\tchildren,\n\t\tassetBaseUrl,\n\t\tautoTrigger,\n\t} = props;\n\n\tconst showImageSlider = images.length;\n\n\tconst [ connectionStatus, setConnectionStatus ] = useState( {} );\n\n\tconst statusHandler = useCallback(\n\t\tstatus => {\n\t\t\tsetConnectionStatus( status );\n\n\t\t\tif ( statusCallback && {}.toString.call( statusCallback ) === '[object Function]' ) {\n\t\t\t\treturn statusCallback( status );\n\t\t\t}\n\t\t},\n\t\t[ statusCallback, setConnectionStatus ]\n\t);\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t

{ title }

\n\n\t\t\t\t{ children }\n\n\t\t\t\t\n\n\t\t\t\t
\n\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t__(\n\t\t\t\t\t\t\t'By clicking the button above, you agree to our Terms of Service and to share details with WordPress.com.',\n\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t),\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttosLink: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tshareDetailsLink: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t}\n\t\t\t\t\t) }\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t{ showImageSlider ? (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t) : null }\n\n\t\t\t
\n\t\t
\n\t);\n};\n\nConnectScreen.propTypes = {\n\ttitle: PropTypes.string,\n\tbody: PropTypes.string,\n\tbuttonLabel: PropTypes.string,\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tfrom: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tregistrationNonce: PropTypes.string.isRequired,\n\tstatusCallback: PropTypes.func,\n\timages: PropTypes.arrayOf( PropTypes.string ),\n\tassetBaseUrl: PropTypes.string,\n\tautoTrigger: PropTypes.bool,\n};\n\nConnectScreen.defaultProps = {\n\ttitle: __( 'Over 5 million WordPress sites are faster and more secure', 'jetpack' ),\n\tbuttonLabel: __( 'Set up Jetpack', 'jetpack' ),\n\timages: [],\n\tredirectUri: null,\n\tautoTrigger: false,\n};\n\nexport default ConnectScreen;\n","/**\n * External dependencies\n */\nimport { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport restApi from '@automattic/jetpack-api';\n\n/**\n * The user connection component.\n *\n * @param {object} props -- The properties.\n * @param {Function} props.redirectFunc -- The redirect function (`window.location.assign()` by default).\n * @param {string} props.connectUrl -- The authorization URL (no-iframe).\n * @param {string} props.redirectUri -- The redirect admin URI.\n * @param {string} props.from -- Where the connection request is coming from.\n * @returns {null} -- Nothing to return.\n */\nconst ConnectUser = props => {\n\tconst { redirectFunc, connectUrl, redirectUri, from } = props;\n\n\tconst [ authorizationUrl, setAuthorizationUrl ] = useState( null );\n\n\tif ( connectUrl && connectUrl !== authorizationUrl ) {\n\t\tsetAuthorizationUrl( connectUrl );\n\t}\n\n\t/**\n\t * Fetch the authorization URL on the first render.\n\t * To be only run once.\n\t */\n\tuseEffect( () => {\n\t\tif ( ! authorizationUrl ) {\n\t\t\trestApi\n\t\t\t\t.fetchAuthorizationUrl( redirectUri )\n\t\t\t\t.then( response => setAuthorizationUrl( response.authorizeUrl ) )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tthrow error;\n\t\t\t\t} );\n\t\t}\n\t}, [] ); // eslint-disable-line react-hooks/exhaustive-deps\n\n\tif ( ! authorizationUrl ) {\n\t\treturn null;\n\t}\n\n\tredirectFunc(\n\t\tauthorizationUrl +\n\t\t\t( from\n\t\t\t\t? ( authorizationUrl.includes( '?' ) ? '&' : '?' ) + 'from=' + encodeURIComponent( from )\n\t\t\t\t: '' )\n\t);\n\treturn null;\n};\n\nConnectUser.propTypes = {\n\tconnectUrl: PropTypes.string,\n\tredirectUri: PropTypes.string.isRequired,\n\tfrom: PropTypes.string,\n\tredirectFunc: PropTypes.func,\n};\n\nConnectUser.defaultProps = {\n\tredirectFunc: url => window.location.assign( url ),\n\tredirectUri: null,\n};\n\nexport default ConnectUser;\n","/**\n * External dependencies\n */\nimport React, { useEffect, useState, useCallback, useRef } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport { Button } from '@wordpress/components';\nimport PropTypes from 'prop-types';\nimport restApi from '@automattic/jetpack-api';\nimport { useDispatch } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport ConnectUser from '../connect-user';\nimport DisconnectDialog from '../disconnect-dialog';\nimport { STORE_ID } from '../../state/store';\nimport './style.scss';\n\n/**\n * The RNA Connection Status Card component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {boolean} props.isRegistered -- Whether a site level connection has already been established, required. If not, the component will not render.\n * @param {string} props.isUserConnected -- Whether the current user has connected their WordPress.com account, required.\n * @param {string} props.redirectUri -- The redirect admin URI after the user has connected their WordPress.com account.\n * @param {string} props.title -- The Card title.\n * @param {string} props.connectionInfoText -- The text that will be displayed under the title, containing info how to leverage the connection.\n * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success.\n * @returns {React.Component} The `ConnectionStatusCard` component.\n */\n\nconst ConnectionStatusCard = props => {\n\tconst {\n\t\tapiRoot,\n\t\tapiNonce,\n\t\tisRegistered,\n\t\tisUserConnected,\n\t\tredirectUri,\n\t\ttitle,\n\t\tconnectionInfoText,\n\t\tonDisconnected,\n\t} = props;\n\n\tconst [ isFetchingConnectionData, setIsFetchingConnectionData ] = useState( false );\n\tconst [ connectedUserData, setConnectedUserData ] = useState( {} );\n\tconst [ isUserConnecting, setIsUserConnecting ] = useState( false );\n\tconst { setConnectionStatus } = useDispatch( STORE_ID );\n\n\tconst avatarRef = useRef();\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Fetch the connection data on the first render.\n\t * To be only run once.\n\t */\n\tuseEffect( () => {\n\t\tsetIsFetchingConnectionData( true );\n\n\t\trestApi\n\t\t\t.fetchSiteConnectionData()\n\t\t\t.then( response => {\n\t\t\t\tsetIsFetchingConnectionData( false );\n\t\t\t\tsetConnectedUserData( response.currentUser?.wpcomUser );\n\t\t\t\tconst avatar = response.currentUser?.wpcomUser?.avatar;\n\t\t\t\tif ( avatar ) {\n\t\t\t\t\tavatarRef.current.style.backgroundImage = `url('${ avatar }')`;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.catch( error => {\n\t\t\t\tsetIsFetchingConnectionData( false );\n\t\t\t\tthrow error;\n\t\t\t} );\n\t}, [ setIsFetchingConnectionData, setConnectedUserData ] );\n\n\tconst onDisconnectedCallback = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tsetConnectionStatus( { isActive: false, isRegistered: false, isUserConnected: false } );\n\n\t\t\tif ( onDisconnected && {}.toString.call( onDisconnected ) === '[object Function]' ) {\n\t\t\t\tonDisconnected();\n\t\t\t}\n\t\t},\n\t\t[ onDisconnected, setConnectionStatus ]\n\t);\n\n\t// Prevent component from rendering if site is not connected.\n\tif ( ! isRegistered ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t
\n\t\t\t

{ title }

\n\n\t\t\t

{ connectionInfoText }

\n\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t\t\t{ __( 'Site connected.', 'jetpack' ) } \n\t\t\t\t\t\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{ __( 'Jetpack is currently powering multiple products on your site.', 'jetpack' ) }\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{ __( 'Once you disconnect Jetpack, these will no longer work.', 'jetpack' ) }\n\t\t\t\t\t\t

    \n\t\t\t\t\t\n\t\t\t\t
  • \n\n\t\t\t\t{ isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\t
  • \n\t\t\t\t\t\t{ __( 'Logged in as', 'jetpack' ) } { connectedUserData?.display_name }\n\t\t\t\t\t
  • \n\t\t\t\t) }\n\n\t\t\t\t{ ! isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\t
  • \n\t\t\t\t\t\t{ __( 'Your WordPress.com account is not connected.', 'jetpack' ) }\n\t\t\t\t\t
  • \n\t\t\t\t) }\n\t\t\t
\n\n\t\t\t{ ! isUserConnected && ! isFetchingConnectionData && (\n\t\t\t\t\n\t\t\t\t\t{ __( 'Connect your WordPress.com account', 'jetpack' ) }\n\t\t\t\t\n\t\t\t) }\n\n\t\t\t{ isUserConnecting && }\n\t\t\n\t);\n};\n\nConnectionStatusCard.propTypes = {\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\tisRegistered: PropTypes.bool.isRequired,\n\tisUserConnected: PropTypes.bool.isRequired,\n\tredirectUri: PropTypes.string.isRequired,\n\ttitle: PropTypes.string,\n\tconnectionInfoText: PropTypes.string,\n\tonDisconnected: PropTypes.func,\n};\n\nConnectionStatusCard.defaultProps = {\n\ttitle: __( 'Connection', 'jetpack' ),\n\tconnectionInfoText: __(\n\t\t'Leverages the Jetpack Cloud for more features on your side.',\n\t\t'jetpack'\n\t),\n};\n\nexport default ConnectionStatusCard;\n","/**\n * External dependencies\n */\nimport React, { useEffect, useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport { Button, Modal } from '@wordpress/components';\nimport { JetpackLogo, getRedirectUrl } from '@automattic/jetpack-components';\nimport { createInterpolateElement } from '@wordpress/element';\nimport restApi from '@automattic/jetpack-api';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\n/**\n * The RNA Disconnect Dialog component.\n *\n * @param {object} props -- The properties.\n * @param {string} props.apiRoot -- API root URL, required.\n * @param {string} props.apiNonce -- API Nonce, required.\n * @param {string} props.title -- The modal title.\n * @param {Function} props.onDisconnected -- The callback to be called upon disconnection success.\n * @param {Function} props.onError -- The callback to be called upon disconnection failure.\n * @param {Function} props.errorMessage -- The error message to display upon disconnection failure.\n * @returns {React.Component} The `DisconnectDialog` component.\n */\n\nconst DisconnectDialog = props => {\n\tconst [ isOpen, setOpen ] = useState( false );\n\n\tconst [ isDisconnecting, setIsDisconnecting ] = useState( false );\n\tconst [ isDisconnected, setIsDisconnected ] = useState( false );\n\tconst [ disconnectError, setDisconnectError ] = useState( false );\n\n\tconst { apiRoot, apiNonce, title, onDisconnected, onError, errorMessage, children } = props;\n\n\t/**\n\t * Initialize the REST API.\n\t */\n\tuseEffect( () => {\n\t\trestApi.setApiRoot( apiRoot );\n\t\trestApi.setApiNonce( apiNonce );\n\t}, [ apiRoot, apiNonce ] );\n\n\t/**\n\t * Open the Disconnect Dialog.\n\t */\n\tconst openModal = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\t\t\tsetOpen( true );\n\t\t},\n\t\t[ setOpen ]\n\t);\n\n\t/**\n\t * Close the Disconnect Dialog.\n\t */\n\tconst closeModal = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\t\t\tsetOpen( false );\n\t\t},\n\t\t[ setOpen ]\n\t);\n\n\t/**\n\t * Disconnect - Triggered upon clicking the 'Disconnect' button.\n\t */\n\tconst disconnect = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tsetDisconnectError( false );\n\t\t\tsetIsDisconnecting( true );\n\n\t\t\trestApi\n\t\t\t\t.disconnectSite()\n\t\t\t\t.then( () => {\n\t\t\t\t\tsetIsDisconnecting( false );\n\n\t\t\t\t\tsetIsDisconnected( true );\n\t\t\t\t} )\n\t\t\t\t.catch( error => {\n\t\t\t\t\tsetIsDisconnecting( false );\n\t\t\t\t\tsetDisconnectError( error );\n\n\t\t\t\t\tif ( onError ) {\n\t\t\t\t\t\tonError( error );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t},\n\t\t[ setIsDisconnecting, setIsDisconnected, setDisconnectError, onError ]\n\t);\n\n\t/**\n\t * Close modal and fire 'onDisconnected' callback if exists.\n\t * Triggered upon clicking the 'Back To WordPress' button.\n\t */\n\tconst backToWordpress = useCallback(\n\t\te => {\n\t\t\te && e.preventDefault();\n\n\t\t\tif ( onDisconnected ) {\n\t\t\t\tonDisconnected();\n\t\t\t}\n\n\t\t\tcloseModal();\n\t\t},\n\t\t[ onDisconnected, closeModal ]\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\n\t\t\t{ isOpen && (\n\t\t\t\t\n\t\t\t\t\t{ ! isDisconnected && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

{ title }

\n\n\t\t\t\t\t\t\t\t{ children }\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t\t\t\t\t\t\t__(\n\t\t\t\t\t\t\t\t\t\t\t\t\t'Need help? Learn more about the Jetpack connection or contact Jetpack support',\n\t\t\t\t\t\t\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tstrong: ,\n\t\t\t\t\t\t\t\t\t\t\t\t\tjpConnectionInfoLink: (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t\tjpSupportLink: (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{ __( 'Stay connected', 'jetpack' ) }\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{ __( 'Disconnect', 'jetpack' ) }\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{ disconnectError && (\n\t\t\t\t\t\t\t\t\t

{ errorMessage }

\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isDisconnected && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t{ createInterpolateElement(\n\t\t\t\t\t\t\t\t\t__( 'Jetpack has been
successfully disconnected.', 'jetpack' ),\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tbr:
,\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{ __( 'Back to WordPress', 'jetpack' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\t\t\t\t\n\t\t\t) }\n\t\t\n\t);\n};\n\nDisconnectDialog.propTypes = {\n\tapiRoot: PropTypes.string.isRequired,\n\tapiNonce: PropTypes.string.isRequired,\n\ttitle: PropTypes.string,\n\tonDisconnected: PropTypes.func,\n\tonError: PropTypes.func,\n\terrorMessage: PropTypes.string,\n};\n\nDisconnectDialog.defaultProps = {\n\ttitle: __( 'Are you sure you want to disconnect?', 'jetpack' ),\n\terrorMessage: __( 'Failed to disconnect. Please try again.', 'jetpack' ),\n};\n\nexport default DisconnectDialog;\n","/**\n * External dependencies\n */\nimport React, { useCallback } from 'react';\nimport restApi from '@automattic/jetpack-api';\nimport { useSelect, useDispatch } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { STORE_ID } from '../../state/store';\n\n/**\n * Fetch the connection status and update the state accordingly.\n *\n * @param {string} apiRoot - API root URL.\n * @param {string} apiNonce - API Nonce.\n * @param {Function} onSuccess - Callback that's called upon successfully fetching the connection status.\n * @param {Function} onError - Callback that's called in case of fetching error.\n */\nconst fetchConnectionStatus = ( apiRoot, apiNonce, onSuccess, onError ) => {\n\trestApi.setApiRoot( apiRoot );\n\trestApi.setApiNonce( apiNonce );\n\n\trestApi.fetchSiteConnectionStatus().then( onSuccess ).catch( onError );\n};\n\n/**\n * Higher order component to fetch connection status and pass it further as a parameter.\n *\n * @param {React.Component} WrappedComponent - The component that needs connection status.\n * @returns {React.Component} The higher order component.\n */\nconst withConnectionStatus = WrappedComponent => {\n\t/**\n\t * The `WrappedComponent` with connection status passed into it.\n\t *\n\t * @param {object} props -- The properties.\n\t * @param {Function} props.statusCallback -- Callback to pull connection status from the component.\n\t * @returns {React.Component} The higher order component.\n\t */\n\treturn props => {\n\t\tconst { apiRoot, apiNonce, statusCallback } = props;\n\n\t\tconst connectionStatus = useSelect( select => select( STORE_ID ).getConnectionStatus(), [] );\n\t\tconst { setConnectionStatus, setConnectionStatusIsFetching } = useDispatch( STORE_ID );\n\n\t\tconst connectionStatusIsFetching = useSelect(\n\t\t\tselect => select( STORE_ID ).getConnectionStatusIsFetching(),\n\t\t\t[]\n\t\t);\n\n\t\tconst hasConnectionStatus = connectionStatus.hasOwnProperty( 'isActive' );\n\n\t\tconst onSuccess = useCallback(\n\t\t\tresponse => {\n\t\t\t\tsetConnectionStatus( response );\n\t\t\t\tsetConnectionStatusIsFetching( false );\n\t\t\t},\n\t\t\t[ setConnectionStatus, setConnectionStatusIsFetching ]\n\t\t);\n\n\t\tconst onError = useCallback(\n\t\t\terror => {\n\t\t\t\tsetConnectionStatusIsFetching( false );\n\t\t\t\tthrow error;\n\t\t\t},\n\t\t\t[ setConnectionStatusIsFetching ]\n\t\t);\n\n\t\tconst statusCallbackWrapped = useCallback( () => {\n\t\t\tif ( statusCallback && {}.toString.call( statusCallback ) === '[object Function]' ) {\n\t\t\t\treturn statusCallback( connectionStatus );\n\t\t\t}\n\t\t}, [ connectionStatus, statusCallback ] );\n\n\t\tif ( ! hasConnectionStatus && ! connectionStatusIsFetching ) {\n\t\t\tsetConnectionStatusIsFetching( true );\n\n\t\t\tfetchConnectionStatus( apiRoot, apiNonce, onSuccess, onError );\n\t\t}\n\n\t\thasConnectionStatus && ! connectionStatusIsFetching && statusCallbackWrapped();\n\n\t\treturn (\n\t\t\t\n\t\t);\n\t};\n};\n\nexport default withConnectionStatus;\n","const SET_CONNECTION_STATUS = 'SET_CONNECTION_STATUS';\nconst SET_CONNECTION_STATUS_IS_FETCHING = 'SET_CONNECTION_STATUS_IS_FETCHING';\n\nconst connectionStatusActions = {\n\tsetConnectionStatus: connectionStatus => {\n\t\treturn { type: SET_CONNECTION_STATUS, connectionStatus };\n\t},\n\tsetConnectionStatusIsFetching: isFetching => {\n\t\treturn { type: SET_CONNECTION_STATUS_IS_FETCHING, isFetching };\n\t},\n};\n\nexport {\n\tSET_CONNECTION_STATUS,\n\tSET_CONNECTION_STATUS_IS_FETCHING,\n\tconnectionStatusActions as default,\n};\n","/**\n * Internal dependencies\n */\nimport { SET_CONNECTION_STATUS, SET_CONNECTION_STATUS_IS_FETCHING } from './actions';\n\nconst connectionStatus = ( state = {}, action ) => {\n\tswitch ( action.type ) {\n\t\tcase SET_CONNECTION_STATUS:\n\t\t\treturn { ...state, ...action.connectionStatus };\n\t}\n\n\treturn state;\n};\n\nconst connectionStatusIsFetching = ( state = false, action ) => {\n\tswitch ( action.type ) {\n\t\tcase SET_CONNECTION_STATUS_IS_FETCHING:\n\t\t\treturn action.isFetching;\n\t}\n\n\treturn state;\n};\n\nexport { connectionStatus, connectionStatusIsFetching };\n","const connectionSelectors = {\n\tgetConnectionStatus: state => state.connectionStatus || {},\n\tgetConnectionStatusIsFetching: state => state.connectionStatusIsFetching || false,\n};\n\nexport default connectionSelectors;\n","/**\n * Internal dependencies\n */\nimport connectionStatusActions from '../components/with-connection-status/state/actions';\n\nconst actions = {\n\t...connectionStatusActions,\n};\n\nexport default actions;\n","/**\n * External dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport {\n\tconnectionStatus,\n\tconnectionStatusIsFetching,\n} from '../components/with-connection-status/state/reducers';\n\nconst reducers = combineReducers( {\n\tconnectionStatus,\n\tconnectionStatusIsFetching,\n} );\n\nexport default reducers;\n","/**\n * Internal dependencies\n */\nimport connectionSelectors from '../components/with-connection-status/state/selectors';\n\nconst selectors = {\n\t...connectionSelectors,\n};\n\nexport default selectors;\n","/**\n * External dependencies\n */\nimport { createReduxStore, register } from '@wordpress/data';\n\nclass storeHolder {\n\tstatic store = null;\n\n\tstatic mayBeInit( storeId, storeConfig ) {\n\t\tif ( null === storeHolder.store ) {\n\t\t\tstoreHolder.store = createReduxStore( storeId, storeConfig );\n\t\t\tregister( storeHolder.store );\n\t\t}\n\t}\n}\n\nexport default storeHolder;\n","/**\n * Internal dependencies\n */\nimport reducer from './reducers';\nimport actions from './actions';\nimport selectors from './selectors';\nimport storeHolder from './store-holder';\n\nconst STORE_ID = 'jetpack-connection';\n\nstoreHolder.mayBeInit( STORE_ID, {\n\treducer,\n\tactions,\n\tselectors,\n} );\n\nexport { STORE_ID };\n","const SET_CONNECTION_STATUS = 'SET_CONNECTION_STATUS';\n\nconst connectionStatusActions = {\n\tsetConnectionStatus: connectionStatus => {\n\t\treturn { type: SET_CONNECTION_STATUS, connectionStatus };\n\t},\n};\n\nexport { SET_CONNECTION_STATUS, connectionStatusActions as default };\n","/**\n * Internal dependencies\n */\nimport connectionStatusActions from './connection-status';\n\nconst actions = {\n\t...connectionStatusActions,\n};\n\nexport default actions;\n","/**\n * External dependencies\n */\nimport React, { useCallback } from 'react';\nimport { useSelect, useDispatch } from '@wordpress/data';\n\nimport { ConnectionStatusCard, ConnectScreen } from '@automattic/jetpack-connection';\n\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport { STORE_ID } from '../../store';\nimport Header from '../header';\nimport './style.scss';\nimport ConnectRight from './assets/connect-right.png';\n\n/**\n * The Connection IU Admin App.\n *\n * @returns {object} The Admin component.\n */\nexport default function Admin() {\n\tconst APINonce = useSelect( select => select( STORE_ID ).getAPINonce(), [] );\n\tconst APIRoot = useSelect( select => select( STORE_ID ).getAPIRoot(), [] );\n\tconst registrationNonce = useSelect( select => select( STORE_ID ).getRegistrationNonce(), [] );\n\tconst assetBuildUrl = useSelect( select => select( STORE_ID ).getAssetBuildUrl(), [] );\n\n\tconst connectionStatus = useSelect( select => select( STORE_ID ).getConnectionStatus(), [] );\n\tconst { setConnectionStatus } = useDispatch( STORE_ID );\n\n\tconst statusCallback = useCallback(\n\t\tstatus => {\n\t\t\tsetConnectionStatus( status );\n\t\t},\n\t\t[ setConnectionStatus ]\n\t);\n\n\tconst onDisconnectedCallback = useCallback( () => {\n\t\tsetConnectionStatus( { isActive: false, isRegistered: false, isUserConnected: false } );\n\t}, [ setConnectionStatus ] );\n\n\treturn (\n\t\t\n\t\t\t
\n\n\t\t\t{ connectionStatus.isRegistered && (\n\t\t\t\t\n\t\t\t) }\n\n\t\t\t{ ! connectionStatus.isRegistered && (\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\"Secure and speed up your site for free with Jetpack's powerful WordPress tools.\",\n\t\t\t\t\t\t\t'jetpack'\n\t\t\t\t\t\t) }\n\t\t\t\t\t

\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • { __( 'Measure your impact with beautiful stats', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Speed up your site with optimized images', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Protect your site against bot attacks', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Get notifications if your site goes offline', 'jetpack' ) }
  • \n\t\t\t\t\t\t
  • { __( 'Enhance your site with dozens of other features', 'jetpack' ) }
  • \n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t) }\n\t\t\n\t);\n}\n","/**\n * External dependencies\n */\nimport React from 'react';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport './style.scss';\n\n/**\n * The Connection UI header.\n *\n * @returns {object} The header component.\n */\nconst Header = () => {\n\treturn (\n\t\t
\n\t\t\t

{ __( 'Connection Manager', 'jetpack' ) }

\n\t\t
\n\t);\n};\n\nexport default Header;\n","const API = ( state = {} ) => {\n\treturn state;\n};\n\nexport default API;\n","const assets = ( state = {} ) => {\n\treturn state;\n};\n\nexport default assets;\n","/**\n * Internal dependencies\n */\nimport { SET_CONNECTION_STATUS } from '../actions/connection-status';\n\nconst connectionStatus = ( state = {}, action ) => {\n\tswitch ( action.type ) {\n\t\tcase SET_CONNECTION_STATUS:\n\t\t\treturn action.connectionStatus;\n\t}\n\n\treturn state;\n};\n\nexport default connectionStatus;\n","/**\n * External dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport connectionStatus from './connection-status';\nimport API from './api';\nimport assets from './assets';\n\nconst reducer = combineReducers( {\n\tconnectionStatus,\n\tAPI,\n\tassets,\n} );\n\nexport default reducer;\n","const APISelectors = {\n\tgetAPIRoot: state => state.API.WP_API_root || null,\n\tgetAPINonce: state => state.API.WP_API_nonce || null,\n\tgetRegistrationNonce: state => state.API.registrationNonce || null,\n};\n\nexport default APISelectors;\n","const assetsSelectors = {\n\tgetAssetBuildUrl: state => state.assets.buildUrl || null,\n};\n\nexport default assetsSelectors;\n","const connectionSelectors = {\n\tgetConnectionStatus: state => state.connectionStatus || {},\n};\n\nexport default connectionSelectors;\n","/**\n * Internal dependencies\n */\nimport connectionSelectors from './connection-status';\nimport APISelectors from './api';\nimport assetsSelectors from './assets';\n\nconst selectors = {\n\t...connectionSelectors,\n\t...APISelectors,\n\t...assetsSelectors,\n};\n\nexport default selectors;\n","/**\n * Internal dependencies\n */\nimport reducer from './reducers';\nimport actions from './actions';\nimport selectors from './selectors';\n\nexport const STORE_ID = 'jetpack-connection-ui';\nexport const storeConfig = {\n\treducer,\n\tactions,\n\tselectors,\n\tinitialState: window.CUI_INITIAL_STATE || {},\n};\n","module.exports = window[\"React\"];","module.exports = window[\"ReactDOM\"];","module.exports = window[\"lodash\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * External dependencies\n */\nimport ReactDOM from 'react-dom';\nimport React from 'react';\nimport { createReduxStore, register } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport Admin from './components/admin';\nimport { STORE_ID, storeConfig } from './store';\n\nconst store = createReduxStore( STORE_ID, storeConfig );\nregister( store );\n\n/**\n * The initial renderer function.\n */\nfunction render() {\n\tconst container = document.getElementById( 'jetpack-connection-ui-container' );\n\n\tif ( null === container ) {\n\t\treturn;\n\t}\n\n\tReactDOM.render( , container );\n}\n\nrender();\n"],"names":["assign","createCustomError","name","CustomError","args","Error","JsonParseError","JsonParseAfterRedirectError","Api404Error","Api404AfterRedirectError","FetchNetworkError","JetpackRestApiClient","root","nonce","apiRoot","headers","getParams","credentials","postParams","method","cacheBusterCallback","addCacheBuster","methods","setApiRoot","newRoot","setApiNonce","newNonce","setCacheBusterCallback","callback","registerSite","registrationNonce","redirectUri","params","registration_nonce","no_iframe","redirect_uri","postRequest","body","JSON","stringify","then","checkStatus","parseJsonResponse","fetchAuthorizationUrl","getRequest","encodeURIComponent","fetchSiteConnectionData","fetchSiteConnectionStatus","fetchSiteConnectionTest","fetchUserConnectionData","fetchUserTrackingSettings","updateUserTrackingSettings","newSettings","disconnectSite","isActive","fetchConnectUrl","unlinkUser","linked","reconnect","fetchConnectedPlugins","fetchModules","fetchModule","slug","activateModule","active","deactivateModule","updateModuleOptions","newOptionValues","updateSettings","getProtectCount","resetOptions","options","reset","activateVaultPress","status","getVaultPressData","installPlugin","source","props","activateAkismet","getAkismetData","checkAkismetKey","checkAkismetKeyTyped","apiKey","api_key","fetchStatsData","range","statsDataUrl","handleStatsResponseError","getPluginUpdates","getPlans","fetchSettings","updateSetting","updatedSetting","fetchSiteData","parse","data","fetchSiteFeatures","fetchSiteProducts","fetchSitePurchases","fetchSiteBenefits","fetchSetupQuestionnaire","fetchRecommendationsData","fetchRecommendationsProductSuggestions","fetchRecommendationsUpsell","saveRecommendationsData","fetchProducts","fetchRewindStatus","fetchScanStatus","dismissJetpackNotice","notice","dismissed","fetchPluginsData","fetchVerifySiteGoogleStatus","keyringId","request","verifySiteGoogle","keyring_id","sendMobileLoginEmail","submitSurvey","surveyResponse","saveSetupQuestionnaire","updateLicensingError","updateLicenseKey","license","updateRecommendationsStep","step","route","parts","split","query","length","push","Date","getTime","join","fetch","catchNetworkErrors","url","indexOf","statsData","responseOk","general","response","undefined","week","month","restApi","Promise","err","redirected","json","e","catchJsonParseError","error","message","PropTypes","React","Fragment","classnames","JetpackLogo","logoColor","showText","className","otherProps","viewBox","__","Component","string","width","number","height","bool","Spinner","style","size","fontSize","propTypes","defaultProps","getRedirectUrl","queryVars","calypsoEnv","window","Initial_State","search","parsedUrl","URL","host","pathname","Object","keys","map","argName","includes","jetpack_redirects","hasOwnProperty","site","currentSiteRawUrl","calypso_env","queryString","key","useEffect","useCallback","useState","Button","ConnectUser","ConnectButton","isRegistering","setIsRegistering","isUserConnecting","setIsUserConnecting","authorizationUrl","setAuthorizationUrl","apiNonce","connectLabel","onRegistered","from","connectionStatus","connectionStatusIsFetching","autoTrigger","preventDefault","isRegistered","authorizeUrl","isUserConnected","isRequired","func","ImageSlider","images","assetBaseUrl","imagesHTML","forEach","image","arrayOf","createInterpolateElement","withConnectionStatus","ConnectButtonWithConnectionStatus","ConnectScreen","title","buttonLabel","statusCallback","children","showImageSlider","setConnectionStatus","statusHandler","toString","call","tosLink","shareDetailsLink","redirectFunc","connectUrl","location","useRef","useDispatch","DisconnectDialog","STORE_ID","ConnectionStatusCard","connectionInfoText","onDisconnected","isFetchingConnectionData","setIsFetchingConnectionData","connectedUserData","setConnectedUserData","avatarRef","currentUser","wpcomUser","avatar","current","backgroundImage","onDisconnectedCallback","display_name","Modal","isOpen","setOpen","isDisconnecting","setIsDisconnecting","isDisconnected","setIsDisconnected","disconnectError","setDisconnectError","onError","errorMessage","openModal","closeModal","disconnect","backToWordpress","labelledby","strong","jpConnectionInfoLink","jpSupportLink","br","useSelect","fetchConnectionStatus","onSuccess","WrappedComponent","select","getConnectionStatus","setConnectionStatusIsFetching","getConnectionStatusIsFetching","hasConnectionStatus","statusCallbackWrapped","SET_CONNECTION_STATUS","SET_CONNECTION_STATUS_IS_FETCHING","connectionStatusActions","type","isFetching","default","state","action","connectionSelectors","actions","combineReducers","reducers","selectors","createReduxStore","register","storeHolder","storeId","storeConfig","store","reducer","mayBeInit","Header","ConnectRight","Admin","APINonce","getAPINonce","APIRoot","getAPIRoot","getRegistrationNonce","assetBuildUrl","getAssetBuildUrl","API","assets","APISelectors","WP_API_root","WP_API_nonce","assetsSelectors","buildUrl","initialState","CUI_INITIAL_STATE","ReactDOM","render","container","document","getElementById"],"sourceRoot":""} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.rtl.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.rtl.css index d47ab631f..221cf46a6 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.rtl.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/build/index.rtl.css @@ -1,30 +1,788 @@ -.jp-dashboard-footer { +#jetpack-connection-ui-container .jetpack-cui__header h1 { + text-align: right; + font-size: 4.6em; + line-height: 1.2em; +} +#jetpack-connection-ui-container { + margin: 40px; +} +#jetpack-connection-ui-container p { + font-size: 1.23em; + line-height: 1.5em; +} +@charset "UTF-8"; +/********* RNA styles *********/ +:root { + --font-title-large: 36px; + --font-title-small: 24px; + --font-body: 16px; + --font-label: 12px; + --jp-black: #000000; + --jp-black-80: #2C3338; + --jp-white: #FFFFFF; + --jp-white-off: #F9F9F6; + --jp-gray: #DCDCDE; + --jp-gray-off: #E2E2DF; + --jp-red: #D63639; + --jp-green-primary: #069E08; + --jp-green-secondary: #2FB41F; + --jp-border-radius: 4px; + --jp-menu-border-height: 1px; + --jp-underline-thickness: 2px; +} + +/********* Mixins *********/ +/********* Generic styles *********/ +* { + box-sizing: border-box; +} + +body { + min-height: 100%; + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; +} + +.jp-wrap { display: flex; - flex-flow: row wrap; - justify-content: space-between; align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); width: 100%; - max-width: 65rem; - color: #000; } - @media (max-width: 1250px) { - .jp-dashboard-footer { - width: 95%; } } - @media (max-width: 480px) { - .jp-dashboard-footer { - justify-content: space-around; } } + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} -.jp-dashboard-footer__module-name, -.jp-dashboard-footer__jetpack-symbol { - vertical-align: middle; - display: inline-block; } +.sm-col-span-1 { + grid-column-end: span 1; +} -.jp-dashboard-footer__module-name { - margin-right: 5px; } +.sm-col-span-2 { + grid-column-end: span 2; +} +.sm-col-span-3 { + grid-column-end: span 3; +} + +.sm-col-span-4 { + grid-column-end: span 4; +} + +@media (min-width: 600px) { + .md-col-span-1 { + grid-column-end: span 1; + } + + .md-col-span-2 { + grid-column-end: span 2; + } + + .md-col-span-3 { + grid-column-end: span 3; + } + + .md-col-span-4 { + grid-column-end: span 4; + } + + .md-col-span-5 { + grid-column-end: span 5; + } + + .md-col-span-6 { + grid-column-end: span 6; + } + + .md-col-span-7 { + grid-column-end: span 7; + } + + .md-col-span-8 { + grid-column-end: span 8; + } +} +@media (min-width: 960px) { + .lg-col-span-1 { + grid-column-end: span 1; + } + + .lg-col-span-2 { + grid-column-end: span 2; + } + + .lg-col-span-3 { + grid-column-end: span 3; + } + + .lg-col-span-4 { + grid-column-end: span 4; + } + + .lg-col-span-5 { + grid-column-end: span 5; + } + + .lg-col-span-6 { + grid-column-end: span 6; + } + + .lg-col-span-7 { + grid-column-end: span 7; + } + + .lg-col-span-8 { + grid-column-end: span 8; + } + + .lg-col-span-9 { + grid-column-end: span 9; + } + + .lg-col-span-10 { + grid-column-end: span 10; + } + + .lg-col-span-11 { + grid-column-end: span 11; + } + + .lg-col-span-12 { + grid-column-end: span 12; + } +} +@media (max-width: 960px) { + .md-col-span-0 { + display: none; + } +} +@media (max-width: 600px) { + .sm-col-span-0 { + display: none; + } +} +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.jp-cut { + position: relative; + display: block; + margin: 32px 0; + padding: 16px 24px 16px 64px; + border: 2px solid var(--jp-green-primary); + border-radius: var(--jp-border-radius); + text-decoration: none; +} +.jp-cut span { + display: block; +} +.jp-cut span:last-of-type { + font-weight: 600; +} +.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { + text-decoration: underline; + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-cut:hover:after, .jp-cut:focus:after { + transform: translateY(-50%) translateX(-8px); +} +.jp-cut:after { + content: "→"; + position: absolute; + top: 50%; + left: 24px; + font-size: 24px; + font-weight: 600; + color: var(--jp-green-primary); + transform: translateY(-50%); + transition: transform 0.15s ease-out; +} + +.jp-connection-status-card h3 { + font-size: 36px; + line-height: 40px; +} +.jp-connection-status-card a, .jp-connection-status-card a:active, .jp-connection-status-card a:hover { + color: var(--jp-black); +} +.jp-connection-status-card p { + margin: 16px 0; +} +.jp-connection-status-card p, .jp-connection-status-card a, .jp-connection-status-card li { + font-size: 16px; + line-height: 24px; +} +.jp-connection-status-card--status { + display: flex; + align-items: center; +} +.jp-connection-status-card--cloud { + background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI3IiB5PSI5IiB3aWR0aD0iMjgiIGhlaWdodD0iMjEiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZl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2NiAzMiAxNkMzMiA3LjE2MzQ0IDI0LjgzNjYgMCAxNiAwQzcuMTYzNDQgMCAwIDcuMTYzNDQgMCAxNkMwIDI0LjgzNjYgNy4xNjM0NCAzMiAxNiAzMloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNi43OTM5IDEzLjMxMjVWMjguODI0TDI0Ljc5MzkgMTMuMzEyNUgxNi43OTM5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjE3NTUgMTguNjU2N1YzLjE3NTc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="); + width: 32px; + height: 32px; + margin-right: 11px; +} +.jp-connection-status-card--btn-connect-user { + height: 40px; + font-size: var(--font-body-small); + border-radius: 4px; + background: var(--jp-black) !important; +} +.jp-connection-status-card--avatar { + border: 0; + border-radius: 20px; + width: 32px; + height: 32px; + background-color: var(--jp-white); + background-repeat: no-repeat; + background-size: contain; + margin-right: -10px; + background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI0IiB5PSI0IiB3aWR0aD0iMTciIGhlaWdodD0iMTYiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjI4NSA0QzEwLjA4NTggNCA4LjMwNDU5IDUuNzkgOC4zMDQ1OSA4QzguMzA0NTkgMTAuMjEgMTAuMDg1OCAxMiAxMi4yODUgMTJDMTQuNDg0MSAxMiAxNi4yNjUzIDEwLjIxIDE2LjI2NTMgOEMxNi4yNjUzIDUuNzkgMTQuNDg0MSA0IDEyLjI4NSA0Wk0xNC4yNzUxIDhDMTQuMjc1MSA2LjkgMTMuMzc5NiA2IDEyLjI4NSA2QzExLjE5MDQgNiAxMC4yOTQ4IDYuOSAxMC4yOTQ4IDhDMTAuMjk0OCA5LjEgMTEuMTkwNCAxMCAxMi4yODUgMTBDMTMuMzc5NiAxMCAxNC4yNzUxIDkuMSAxNC4yNzUxIDhaTTE4LjI1NTUgMThDMTguMDU2NSAxNy4yOSAxNC45NzE3IDE2IDEyLjI4NSAxNkM5LjYwODE2IDE2IDYuNTQzMjcgMTcuMjggNi4zMTQ0IDE4SDE4LjI1NTVaTTQuMzI0MjIgMThDNC4zMjQyMiAxNS4zNCA5LjYyODA2IDE0IDEyLjI4NSAxNEMxNC45NDE4IDE0IDIwLjI0NTcgMTUuMzQgMjAuMjQ1NyAxOFYyMEg0LjMyNDIyVjE4WiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swKSI+CjxyZWN0IHg9IjAuMzQzNzUiIHdpZHRoPSIyMy44ODIyIiBoZWlnaHQ9IjI0IiBmaWxsPSIjYTJhYWIyIi8+CjwvZz4KPC9zdmc+Cg=="); +} +.jp-connection-status-card--line { + width: 67px; + height: 0; + border-top: 2px solid #000000; +} +.jp-connection-status-card--line.jp-connection-status-card--site-only { + border-top-style: dashed; +} +.jp-connection-status-card--list { + list-style-type: none; +} +.jp-connection-status-card--list li { + padding-right: 25px; + color: #000; + margin-bottom: 9px; +} +.jp-connection-status-card--list-item-success { + background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==") no-repeat 100% 0; +} +.jp-connection-status-card--list-item-error { + color: var(--jp-red) !important; + background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K") no-repeat 100% 0; +} +@charset "UTF-8"; +/********* RNA styles *********/ +:root { + --font-title-large: 36px; + --font-title-small: 24px; + --font-body: 16px; + --font-label: 12px; + --jp-black: #000000; + --jp-black-80: #2C3338; + --jp-white: #FFFFFF; + --jp-white-off: #F9F9F6; + --jp-gray: #DCDCDE; + --jp-gray-off: #E2E2DF; + --jp-red: #D63639; + --jp-green-primary: #069E08; + --jp-green-secondary: #2FB41F; + --jp-border-radius: 4px; + --jp-menu-border-height: 1px; + --jp-underline-thickness: 2px; +} + +/********* Mixins *********/ +/********* Generic styles *********/ +* { + box-sizing: border-box; +} + +body { + min-height: 100%; + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; +} + +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.sm-col-span-1 { + grid-column-end: span 1; +} + +.sm-col-span-2 { + grid-column-end: span 2; +} + +.sm-col-span-3 { + grid-column-end: span 3; +} + +.sm-col-span-4 { + grid-column-end: span 4; +} + +@media (min-width: 600px) { + .md-col-span-1 { + grid-column-end: span 1; + } + + .md-col-span-2 { + grid-column-end: span 2; + } + + .md-col-span-3 { + grid-column-end: span 3; + } + + .md-col-span-4 { + grid-column-end: span 4; + } + + .md-col-span-5 { + grid-column-end: span 5; + } + + .md-col-span-6 { + grid-column-end: span 6; + } + + .md-col-span-7 { + grid-column-end: span 7; + } + + .md-col-span-8 { + grid-column-end: span 8; + } +} +@media (min-width: 960px) { + .lg-col-span-1 { + grid-column-end: span 1; + } + + .lg-col-span-2 { + grid-column-end: span 2; + } + + .lg-col-span-3 { + grid-column-end: span 3; + } + + .lg-col-span-4 { + grid-column-end: span 4; + } + + .lg-col-span-5 { + grid-column-end: span 5; + } + + .lg-col-span-6 { + grid-column-end: span 6; + } + + .lg-col-span-7 { + grid-column-end: span 7; + } + + .lg-col-span-8 { + grid-column-end: span 8; + } + + .lg-col-span-9 { + grid-column-end: span 9; + } + + .lg-col-span-10 { + grid-column-end: span 10; + } + + .lg-col-span-11 { + grid-column-end: span 11; + } + + .lg-col-span-12 { + grid-column-end: span 12; + } +} +@media (max-width: 960px) { + .md-col-span-0 { + display: none; + } +} +@media (max-width: 600px) { + .sm-col-span-0 { + display: none; + } +} +.jp-wrap { + display: flex; + align-items: center; + flex-wrap: wrap; + max-width: 1128px; + margin: 0 auto; +} + +.jp-row { + display: grid; + grid-gap: 24px; + grid-template-columns: repeat(4, 1fr); + width: 100%; + margin: 0 16px; +} +@media (min-width: 600px) { + .jp-row { + grid-template-columns: repeat(8, 1fr); + margin: 0 18px; + } +} +@media (min-width: 960px) { + .jp-row { + grid-template-columns: repeat(12, 1fr); + max-width: 1128px; + margin: 0 24px; + } +} + +.jp-cut { + position: relative; + display: block; + margin: 32px 0; + padding: 16px 24px 16px 64px; + border: 2px solid var(--jp-green-primary); + border-radius: var(--jp-border-radius); + text-decoration: none; +} +.jp-cut span { + display: block; +} +.jp-cut span:last-of-type { + font-weight: 600; +} +.jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { + text-decoration: underline; + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-cut:hover:after, .jp-cut:focus:after { + transform: translateY(-50%) translateX(-8px); +} +.jp-cut:after { + content: "→"; + position: absolute; + top: 50%; + left: 24px; + font-size: 24px; + font-weight: 600; + color: var(--jp-green-primary); + transform: translateY(-50%); + transition: transform 0.15s ease-out; +} + +.jp-disconnect-dialog h1 { + margin-top: 0; + line-height: 1.2; + font-size: var(--font-title-large); + font-weight: 600; +} +.jp-disconnect-dialog h2 { + margin: 0; + line-height: 1.2; + font-size: var(--font-title-small); + font-weight: 400; +} +.jp-disconnect-dialog p { + font-size: var(--font-body); +} +.jp-disconnect-dialog__link { + font-size: var(--font-body); + color: var(--jp-black); + text-decoration: underline; + height: auto; + font: inherit; + padding: 0; +} +.jp-disconnect-dialog__link:hover { + color: var(--jp-black); + text-decoration-thickness: var(--jp-underline-thickness); +} +.jp-disconnect-dialog__link:focus { + color: var(--jp-black); + box-shadow: none !important; +} +.jp-disconnect-dialog .components-button { + height: 40px; + font-size: var(--font-body-small); + border-radius: 4px; +} +.jp-disconnect-dialog .components-modal__content { + padding: 0; +} +.jp-disconnect-dialog .components-modal__header { + display: none; +} +.jp-disconnect-dialog .jp-row { + align-items: center; +} +.jp-disconnect-dialog__content { + background: var(--jp-white-off); + margin: 0; + padding: 80px; + border-radius: 4px; + text-align: center; +} +.jp-disconnect-dialog__actions { + background: var(--jp-white); + padding: 10px 48px; +} +.jp-disconnect-dialog__btn-dismiss { + background: var(--jp-black) !important; + margin-left: 10px; +} +.jp-disconnect-dialog__btn-disconnect { + background: var(--jp-red) !important; +} +.jp-disconnect-dialog__btn-back-to-wp { + background: var(--jp-black) !important; +} +.jp-disconnect-dialog__button-wrap { + text-align: center; +} +.jp-disconnect-dialog__error { + color: var(--jp-red); +} +.jp-disconnect-dialog__success .components-modal__content { + background: var(--jp-white); + padding: 50px; +} +.jp-disconnect-dialog__success h1 { + margin-top: 20px; +} + +@media (min-width: 960px) { + .jp-disconnect-dialog { + min-width: 900px; + } + .jp-disconnect-dialog__success { + min-width: auto; + } + + .jp-row { + margin-right: 0px; + } +} +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Breakpoint mixins + */ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ +.jp-connect-screen { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; + background: #FFFFFF; + box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); + border-radius: 4px; +} +.jp-connect-screen.jp-connect-screen--loading { + display: none; +} +.jp-connect-screen .jp-connect-screen--left, .jp-connect-screen .jp-connect-screen--right { + box-sizing: border-box; +} +.jp-connect-screen .jp-connect-screen--left { + padding: 25px; +} +@media (min-width: 600px) { + .jp-connect-screen .jp-connect-screen--left { + padding: 64px 96px; + } +} +.jp-connect-screen .jp-connect-screen--left .jetpack-logo { + margin-bottom: 24px; +} +.jp-connect-screen .jp-connect-screen--left h2 { + font-style: normal; + font-weight: bold; + font-size: 36px; + line-height: 40px; + color: #000; + margin-top: 32px; + margin-bottom: 0; +} +.jp-connect-screen .jp-connect-screen--left p, .jp-connect-screen .jp-connect-screen--left li { + font-style: normal; + font-weight: normal; + font-size: 16px; + line-height: 24px; +} +.jp-connect-screen .jp-connect-screen--left p { + color: #101517; + margin: 16px 0; +} +.jp-connect-screen .jp-connect-screen--left ul { + list-style-type: none; +} +.jp-connect-screen .jp-connect-screen--left ul li { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat; + background-size: 24px; + padding-right: 30px; + margin-bottom: 9px; + color: #000; +} +.jp-connect-screen .jp-connect-screen--left ul li a { + color: #000; + text-decoration: underline; +} +.jp-connect-screen .jp-connect-screen--left a.jp-connection-screen-icon { + text-decoration: none; + padding-right: 5px; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button { + margin-top: 40px; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button button { + max-width: 100%; +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-button button:disabled { + color: rgba(255, 255, 255, 0.4); +} +.jp-connect-screen .jp-connect-screen--left .jp-connect-screen--tos { + margin-top: 28px; + max-width: 360px; +} +.jp-connect-screen .jp-connect-screen--right { + padding: 64px 0; +} +.jp-connect-screen .jp-connect-screen--right img { + max-width: 100%; +} +.jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { + float: right; + width: 100%; +} +@media (min-width: 1080px) { + .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { + width: 52%; + } +} +.jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { + float: left; + width: 47%; + background: #F9F9F6; + display: none; +} +@media (min-width: 1080px) { + .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { + display: block; + } +} +.jp-connect-screen .jp-connect-screen--clearfix { + clear: both; +} .jp-connect-button .jp-connect-button--button { background: #000; border-radius: 4px; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; font-style: normal; font-weight: 600; font-size: 14px; @@ -32,603 +790,35 @@ text-align: center; width: 264px; height: 40px; - display: block; } - -.jp-connect-screen { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; - background: #FFFFFF; - box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); - border-radius: 4px; } - .jp-connect-screen.jp-connect-screen--loading { - display: none; } - .jp-connect-screen .jp-connect-screen--left, .jp-connect-screen .jp-connect-screen--right { - box-sizing: border-box; } - .jp-connect-screen .jp-connect-screen--left { - padding: 64px 96px; } - .jp-connect-screen .jp-connect-screen--left h2 { - font-style: normal; - font-weight: bold; - font-size: 36px; - line-height: 40px; - color: #000; } - .jp-connect-screen .jp-connect-screen--left p, .jp-connect-screen .jp-connect-screen--left li { - font-style: normal; - font-weight: normal; - font-size: 16px; - line-height: 24px; } - .jp-connect-screen .jp-connect-screen--left p { - color: #101517; } - .jp-connect-screen .jp-connect-screen--left ul { - list-style-type: none; } - .jp-connect-screen .jp-connect-screen--left ul li { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADuSURBVHgB7ZS9DYJAFIDfHT93JSMwAiPoAmhpR22lTqBbmJggbqCyAJZ0xg1YwQ4MeB5GjPIT8KCTL6Hhke9LHgcAPT2NcahOHDLL35agC7hcZeABoIlsStfETfxshKEtbzno/ArQDR0+xwjakJPjCIbhNAy6CTSQp4ityNE0FdC+Tl4eWFMdauWRB4wZdfJiYKMYCmFnZUutLuSFAJHkAQKk8RezK0QE5Clf30Hixr5kyrwBPARjPJKD+zG+iMpTSk+RatMVnyyfDzC2YBhbIvLKQD7y4md5SuWvgq/rlK1LVN4IYpM5rTu6Pf/NA02TfHxOAFa6AAAAAElFTkSuQmCC) no-repeat; - padding-right: 30px; - color: #000; - margin-bottom: 9px; } - .jp-connect-screen .jp-connect-screen--left .jp-connect-button { - margin-top: 40px; } - .jp-connect-screen .jp-connect-screen--left .jp-connnect-screen--tos { - margin-top: 32px; - max-width: 360px; } - .jp-connect-screen .jp-connect-screen--right { - padding: 64px 0; } - .jp-connect-screen .jp-connect-screen--right img { - max-width: 100%; } - .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--left { - float: right; - width: 50%; } - .jp-connect-screen.jp-connect-screen--two-columns .jp-connect-screen--right { - float: left; - width: 49%; - background: #F9F9F6; } - .jp-connect-screen .jp-connect-screen--clearfix { - clear: both; } - -.jp-iframe-wrap { - text-align: center; } - -.fade-in { - animation: fadeIn ease 1.5s; - -webkit-animation: fadeIn ease 1.5s; - -moz-animation: fadeIn ease 1.5s; - -o-animation: fadeIn ease 1.5s; - -ms-animation: fadeIn ease 1.5s; } - -@keyframes fadeIn { - 0% { - opacity: 0; } - 100% { - opacity: 1; } } - -@-webkit-keyframes fadeIn { - 0% { - opacity: 0; } - 100% { - opacity: 1; } } - -@charset "UTF-8"; -/********* RNA styles *********/ -:root { - --font-title-large: 36px; - --font-title-small: 24px; - --font-body: 16px; - --font-label: 12px; - --jp-black: #000000; - --jp-black-80: #2C3338; - --jp-white: #FFFFFF; - --jp-white-off: #F9F9F6; - --jp-gray: #DCDCDE; - --jp-gray-off: #E2E2DF; - --jp-red: #D63639; - --jp-green-primary: #069E08; - --jp-green-secondary: #2FB41F; - --jp-border-radius: 4px; - --jp-menu-border-height: 1px; - --jp-underline-thickness: 2px; } - -/********* Mixins *********/ -/********* Generic styles *********/ -* { - box-sizing: border-box; } - -body { - min-height: 100%; - margin: 0; - padding: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.sm-col-span-1 { - grid-column-end: span 1; } - -.sm-col-span-2 { - grid-column-end: span 2; } - -.sm-col-span-3 { - grid-column-end: span 3; } - -.sm-col-span-4 { - grid-column-end: span 4; } - -@media (min-width: 600px) { - .md-col-span-1 { - grid-column-end: span 1; } - .md-col-span-2 { - grid-column-end: span 2; } - .md-col-span-3 { - grid-column-end: span 3; } - .md-col-span-4 { - grid-column-end: span 4; } - .md-col-span-5 { - grid-column-end: span 5; } - .md-col-span-6 { - grid-column-end: span 6; } - .md-col-span-7 { - grid-column-end: span 7; } - .md-col-span-8 { - grid-column-end: span 8; } } - -@media (min-width: 960px) { - .lg-col-span-1 { - grid-column-end: span 1; } - .lg-col-span-2 { - grid-column-end: span 2; } - .lg-col-span-3 { - grid-column-end: span 3; } - .lg-col-span-4 { - grid-column-end: span 4; } - .lg-col-span-5 { - grid-column-end: span 5; } - .lg-col-span-6 { - grid-column-end: span 6; } - .lg-col-span-7 { - grid-column-end: span 7; } - .lg-col-span-8 { - grid-column-end: span 8; } - .lg-col-span-9 { - grid-column-end: span 9; } - .lg-col-span-10 { - grid-column-end: span 10; } - .lg-col-span-11 { - grid-column-end: span 11; } - .lg-col-span-12 { - grid-column-end: span 12; } } - -@media (max-width: 960px) { - .md-col-span-0 { - display: none; } } - -@media (max-width: 600px) { - .sm-col-span-0 { - display: none; } } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.jp-cut { - position: relative; display: block; - margin: 32px 0; - padding: 16px 24px 16px 64px; - border: 2px solid #069E08; - border: 2px solid var(--jp-green-primary); - border-radius: 4px; - border-radius: var(--jp-border-radius); - text-decoration: none; } - .jp-cut span { - display: block; } - .jp-cut span:last-of-type { - font-weight: 600; } - .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { - text-decoration: underline; - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-cut:hover:after, .jp-cut:focus:after { - transform: translateY(-50%) translateX(-8px); } - .jp-cut:after { - content: "→"; - position: absolute; - top: 50%; - left: 24px; - font-size: 24px; - font-weight: 600; - color: #069E08; - color: var(--jp-green-primary); - transform: translateY(-50%); - transition: transform 0.15s ease-out; } - -.jp-disconnect-dialog h1 { - margin-top: 0; - line-height: 1.2; - font-size: 36px; - font-size: var(--font-title-large); - font-weight: 600; } - -.jp-disconnect-dialog h2 { - margin: 0; - line-height: 1.2; - font-size: 24px; - font-size: var(--font-title-small); - font-weight: 400; } - -.jp-disconnect-dialog p { - font-size: 16px; - font-size: var(--font-body); } - -.jp-disconnect-dialog__link { - font-size: 16px; - font-size: var(--font-body); - color: #000000; - color: var(--jp-black); - text-decoration: underline; - height: auto; - font: inherit; - padding: 0; } - .jp-disconnect-dialog__link:hover { - color: #000000; - color: var(--jp-black); - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-disconnect-dialog__link:focus { - color: #000000; - color: var(--jp-black); - box-shadow: none !important; } - -.jp-disconnect-dialog .components-button { - height: 40px; - font-size: var(--font-body-small); - border-radius: 4px; } - -.jp-disconnect-dialog .components-modal__content { - padding: 0; } - -.jp-disconnect-dialog .components-modal__header { - display: none; } - -.jp-disconnect-dialog .jp-row { - align-items: center; } - -.jp-disconnect-dialog__content { - background: #F9F9F6; - background: var(--jp-white-off); - margin: 0; - padding: 80px; - border-radius: 4px; - text-align: center; } - -.jp-disconnect-dialog__actions { - background: #FFFFFF; - background: var(--jp-white); - padding: 10px 48px; } - -.jp-disconnect-dialog__btn-dismiss { - background: #000000 !important; - background: var(--jp-black) !important; - margin-left: 10px; } - -.jp-disconnect-dialog__btn-disconnect { - background: #D63639 !important; - background: var(--jp-red) !important; } - -.jp-disconnect-dialog__btn-back-to-wp { - background: #000000 !important; - background: var(--jp-black) !important; } - -.jp-disconnect-dialog__button-wrap { - text-align: center; } - -.jp-disconnect-dialog__error { - color: #D63639; - color: var(--jp-red); } - -.jp-disconnect-dialog__success .components-modal__content { - background: #FFFFFF; - background: var(--jp-white); - padding: 50px; } - -.jp-disconnect-dialog__success h1 { - margin-top: 20px; } - -@media (min-width: 960px) { - .jp-disconnect-dialog { - min-width: 900px; } - .jp-disconnect-dialog__success { - min-width: auto; } - .jp-row { - margin-right: 0px; } } - -@charset "UTF-8"; -/********* RNA styles *********/ -:root { - --font-title-large: 36px; - --font-title-small: 24px; - --font-body: 16px; - --font-label: 12px; - --jp-black: #000000; - --jp-black-80: #2C3338; - --jp-white: #FFFFFF; - --jp-white-off: #F9F9F6; - --jp-gray: #DCDCDE; - --jp-gray-off: #E2E2DF; - --jp-red: #D63639; - --jp-green-primary: #069E08; - --jp-green-secondary: #2FB41F; - --jp-border-radius: 4px; - --jp-menu-border-height: 1px; - --jp-underline-thickness: 2px; } - -/********* Mixins *********/ -/********* Generic styles *********/ -* { - box-sizing: border-box; } - -body { - min-height: 100%; - margin: 0; - padding: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; } - -.jp-wrap { +} +@keyframes rotate-spinner { + 100% { + transform: rotate(-360deg); + } +} +.jp-components-spinner { display: flex; align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } +} -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); +.jp-components-spinner__outer, .jp-components-spinner__inner { + margin: auto; + box-sizing: border-box; + border: 0.1em solid transparent; + border-radius: 50%; + animation: 3s linear infinite; + animation-name: rotate-spinner; +} + +.jp-components-spinner__outer { + border-top-color: white; +} + +.jp-components-spinner__inner { width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.sm-col-span-1 { - grid-column-end: span 1; } - -.sm-col-span-2 { - grid-column-end: span 2; } - -.sm-col-span-3 { - grid-column-end: span 3; } - -.sm-col-span-4 { - grid-column-end: span 4; } - -@media (min-width: 600px) { - .md-col-span-1 { - grid-column-end: span 1; } - .md-col-span-2 { - grid-column-end: span 2; } - .md-col-span-3 { - grid-column-end: span 3; } - .md-col-span-4 { - grid-column-end: span 4; } - .md-col-span-5 { - grid-column-end: span 5; } - .md-col-span-6 { - grid-column-end: span 6; } - .md-col-span-7 { - grid-column-end: span 7; } - .md-col-span-8 { - grid-column-end: span 8; } } - -@media (min-width: 960px) { - .lg-col-span-1 { - grid-column-end: span 1; } - .lg-col-span-2 { - grid-column-end: span 2; } - .lg-col-span-3 { - grid-column-end: span 3; } - .lg-col-span-4 { - grid-column-end: span 4; } - .lg-col-span-5 { - grid-column-end: span 5; } - .lg-col-span-6 { - grid-column-end: span 6; } - .lg-col-span-7 { - grid-column-end: span 7; } - .lg-col-span-8 { - grid-column-end: span 8; } - .lg-col-span-9 { - grid-column-end: span 9; } - .lg-col-span-10 { - grid-column-end: span 10; } - .lg-col-span-11 { - grid-column-end: span 11; } - .lg-col-span-12 { - grid-column-end: span 12; } } - -@media (max-width: 960px) { - .md-col-span-0 { - display: none; } } - -@media (max-width: 600px) { - .sm-col-span-0 { - display: none; } } - -.jp-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; - max-width: 1128px; - margin: 0 auto; } - -.jp-row { - display: grid; - grid-gap: 24px; - grid-template-columns: repeat(4, 1fr); - width: 100%; - margin: 0 16px; } - @media (min-width: 600px) { - .jp-row { - grid-template-columns: repeat(8, 1fr); - margin: 0 18px; } } - @media (min-width: 960px) { - .jp-row { - grid-template-columns: repeat(12, 1fr); - max-width: 1128px; - margin: 0 24px; } } - -.jp-cut { - position: relative; - display: block; - margin: 32px 0; - padding: 16px 24px 16px 64px; - border: 2px solid #069E08; - border: 2px solid var(--jp-green-primary); - border-radius: 4px; - border-radius: var(--jp-border-radius); - text-decoration: none; } - .jp-cut span { - display: block; } - .jp-cut span:last-of-type { - font-weight: 600; } - .jp-cut:hover span:last-of-type, .jp-cut:focus span:last-of-type { - text-decoration: underline; - text-decoration-thickness: 2px; - text-decoration-thickness: var(--jp-underline-thickness); } - .jp-cut:hover:after, .jp-cut:focus:after { - transform: translateY(-50%) translateX(-8px); } - .jp-cut:after { - content: "→"; - position: absolute; - top: 50%; - left: 24px; - font-size: 24px; - font-weight: 600; - color: #069E08; - color: var(--jp-green-primary); - transform: translateY(-50%); - transition: transform 0.15s ease-out; } - -.jp-connection-status-card h3 { - font-size: 36px; - line-height: 40px; } - -.jp-connection-status-card a, .jp-connection-status-card a:active, .jp-connection-status-card a:hover { - color: #000000; - color: var(--jp-black); } - -.jp-connection-status-card p { - margin: 16px 0; } - -.jp-connection-status-card p, .jp-connection-status-card a, .jp-connection-status-card li { - font-size: 16px; - line-height: 24px; } - -.jp-connection-status-card--status { - display: flex; - align-items: center; } - -.jp-connection-status-card--cloud { - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI3IiB5PSI5IiB3aWR0aD0iMjgiIGhlaWdodD0iMjEiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMwLjMzMjkgMTcuNjk2N0MzMC4zMzMxIDE3LjY3MDMgMzAuMzMzMyAxNy42NDM3IDMwLjMzMzMgMTcuNjE2OUMzMC4zMzMzIDEzLjM2NDQgMjYuNTcyNSA5LjkxNjk5IDIxLjkzMzMgOS45MTY5OUMxOC4wMTcxIDkuOTE2OTkgMTQuNzI3IDEyLjM3MzUgMTMuNzk2NSAxNS42OTczQzEzLjcwOTIgMTUuNjkzNyAxMy42MjE1IDE1LjY5MTkgMTMuNTMzMyAxNS42OTE5QzkuOTI1MDcgMTUuNjkxOSA3IDE4LjcwODQgNyAyMi40Mjk0QzcgMjYuMTUwNCA5LjkyNTA3IDI5LjE2NjkgMTMuNTMzMyAyOS4xNjY5TDEz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aTTMyLjM3NDMgMjMuMzkxOUMzMi4zNzQzIDI1LjIwODIgMzAuOTY2OCAyNi41NDE5IDI5LjM5OTMgMjYuNTQxOVYzMS43OTE5QzM0LjAxNzQgMzEuNzkxOSAzNy42MjQzIDI3Ljk1NDMgMzcuNjI0MyAyMy4zOTE5SDMyLjM3NDNaTTI5Ljg4NTMgMjAuMjgzNEMzMS4yMzk2IDIwLjUxNzcgMzIuMzc0MyAyMS43NzA5IDMyLjM3NDMgMjMuMzkxOUgzNy42MjQzQzM3LjYyNDMgMTkuMjkwMSAzNC43MjMxIDE1Ljc5MjUgMzAuNzgwNiAxNS4xMTAyTDI5Ljg4NTMgMjAuMjgzNFoiIGZpbGw9IiMxRTFFMUUiLz4KPC9nPgo8L3N2Zz4K"); - width: 42px; - height: 42px; - margin-left: 4px; } - -.jp-connection-status-card--jetpack-logo { - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDMyQzI0LjgzNjYgMzIgMzIgMjQuODM2NiAzMiAxNkMzMiA3LjE2MzQ0IDI0LjgzNjYgMCAxNiAwQzcuMTYzNDQgMCAwIDcuMTYzNDQgMCAxNkMwIDI0LjgzNjYgNy4xNjM0NCAzMiAxNiAzMloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNi43OTM5IDEzLjMxMjVWMjguODI0TDI0Ljc5MzkgMTMuMzEyNUgxNi43OTM5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjE3NTUgMTguNjU2N1YzLjE3NTc4TDcuMjA2MDUgMTguNjU2N0gxNS4xNzU1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="); - width: 32px; - height: 32px; - margin-right: 11px; } - -.jp-connection-status-card--btn-connect-user { - height: 40px; - font-size: var(--font-body-small); - border-radius: 4px; - background: #000000 !important; - background: var(--jp-black) !important; } - -.jp-connection-status-card--avatar { - border: 0; - border-radius: 20px; - width: 32px; - height: 32px; - background-color: #FFFFFF; - background-color: var(--jp-white); - background-repeat: no-repeat; - background-size: contain; - margin-right: -10px; - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swIiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSI0IiB5PSI0IiB3aWR0aD0iMTciIGhlaWdodD0iMTYiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjI4NSA0QzEwLjA4NTggNCA4LjMwNDU5IDUuNzkgOC4zMDQ1OSA4QzguMzA0NTkgMTAuMjEgMTAuMDg1OCAxMiAxMi4yODUgMTJDMTQuNDg0MSAxMiAxNi4yNjUzIDEwLjIxIDE2LjI2NTMgOEMxNi4yNjUzIDUuNzkgMTQuNDg0MSA0IDEyLjI4NSA0Wk0xNC4yNzUxIDhDMTQuMjc1MSA2LjkgMTMuMzc5NiA2IDEyLjI4NSA2QzExLjE5MDQgNiAxMC4yOTQ4IDYuOSAxMC4yOTQ4IDhDMTAuMjk0OCA5LjEgMTEuMTkwNCAxMCAxMi4yODUgMTBDMTMuMzc5NiAxMCAxNC4yNzUxIDkuMSAxNC4yNzUxIDhaTTE4LjI1NTUgMThDMTguMDU2NSAxNy4yOSAxNC45NzE3IDE2IDEyLjI4NSAxNkM5LjYwODE2IDE2IDYuNTQzMjcgMTcuMjggNi4zMTQ0IDE4SDE4LjI1NTVaTTQuMzI0MjIgMThDNC4zMjQyMiAxNS4zNCA5LjYyODA2IDE0IDEyLjI4NSAxNEMxNC45NDE4IDE0IDIwLjI0NTcgMTUuMzQgMjAuMjQ1NyAxOFYyMEg0LjMyNDIyVjE4WiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swKSI+CjxyZWN0IHg9IjAuMzQzNzUiIHdpZHRoPSIyMy44ODIyIiBoZWlnaHQ9IjI0IiBmaWxsPSIjYTJhYWIyIi8+CjwvZz4KPC9zdmc+Cg=="); } - -.jp-connection-status-card--line { - width: 67px; - height: 0; - border-top: 2px solid #000000; } - .jp-connection-status-card--line.jp-connection-status-card--site-only { - border-top-style: dashed; } - -.jp-connection-status-card--list { - list-style-type: none; } - .jp-connection-status-card--list li { - padding-right: 25px; - color: #000; - margin-bottom: 9px; } - .jp-connection-status-card--list-item-success { - background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzNDggNi4wMDAwM0wxMC4wMzQyIDE3Ljk3MDNMNC44NzMxIDE0LjEzMjgiIHN0cm9rZT0iIzFFMUUxRSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==") no-repeat 100% 0; } - .jp-connection-status-card--list-item-error { - color: #D63639 !important; - color: var(--jp-red) !important; - background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIwQzE2LjQxODMgMjAgMjAgMTYuNDE4MyAyMCAxMkMyMCA3LjU4MTcyIDE2LjQxODMgNCAxMiA0QzcuNTgxNzIgNCA0IDcuNTgxNzIgNCAxMkM0IDE2LjQxODMgNy41ODE3MiAyMCAxMiAyMFoiIHN0cm9rZT0iI0Q2MzYzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPHBhdGggZD0iTTEzIDdIMTFWMTNIMTNWN1oiIGZpbGw9IiNENjM2MzkiLz4KPHBhdGggZD0iTTEzIDE1SDExVjE3SDEzVjE1WiIgZmlsbD0iI0Q2MzYzOSIvPgo8L3N2Zz4K") no-repeat 100% 0; } - -#jetpack-connection-ui-container .jetpack-cui__header h1 { - text-align: right; - font-size: 4.6em; - line-height: 1.2em; } - -#jetpack-connection-ui-container { - margin: 40px; } - #jetpack-connection-ui-container p { - font-size: 1.23em; - line-height: 1.5em; } \ No newline at end of file + height: 100%; + border-top-color: white; + border-left-color: white; + opacity: 0.4; +} diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-admin.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-admin.php index ac357b664..d49e6cf37 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-admin.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-admin.php @@ -23,7 +23,7 @@ class Admin { /** * Action called after initializing Connection UI Admin resources. * - * @since 9.8.0 + * @since 1.1.0 */ do_action( 'jetpack_on_connection_ui_init' ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-initial-state.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-initial-state.php index 8fa2d5998..0997a0d6f 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-initial-state.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection-ui/src/class-initial-state.php @@ -7,9 +7,6 @@ namespace Automattic\Jetpack\ConnectionUI; -use Automattic\Jetpack\Constants; -use Automattic\Jetpack\Device_Detection\User_Agent_Info; - /** * The React initial state. */ @@ -33,31 +30,6 @@ class Initial_State { ); } - /** - * Whether we can the connection iframe. - * - * @return bool - */ - private function can_use_connection_iframe() { - global $is_safari; - - /** - * Filters whether the connection manager should use the iframe authorization - * flow instead of the regular redirect-based flow. - * - * @since 8.3.0 - * - * @param Boolean $is_iframe_flow_used should the iframe flow be used, defaults to false. - */ - $iframe_flow = apply_filters( 'jetpack_use_iframe_authorization_flow', false ); - - if ( ! $iframe_flow ) { - return false; - } - - return ! $is_safari && ! User_Agent_Info::is_opera_desktop() && ! Constants::is_true( 'JETPACK_SHOULD_NOT_USE_CONNECTION_IFRAME' ); - } - /** * Render the initial state into a JavaScript variable. * diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/CHANGELOG.md index f72ea1588..c7fd2a9bf 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.30.4] - 2021-09-02 +### Fixed +- Remove invalid user token before reconnect. + +## [1.30.3] - 2021-08-30 +### Added +- Limit repeated failed attempts to update remote DNA package versions. + +### Changed +- Make sure generated secrets have the required length +- Remove tracked package versions when disconnecting the site. +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + +## [1.30.2] - 2021-08-12 +### Added +- Add package version tracking. + ## [1.30.1] - 2021-07-27 ### Added - Add a package version constant. @@ -393,6 +412,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Separate the connection library into its own package. +[1.30.4]: https://github.com/Automattic/jetpack-connection/compare/v1.30.3...v1.30.4 +[1.30.3]: https://github.com/Automattic/jetpack-connection/compare/v1.30.2...v1.30.3 +[1.30.2]: https://github.com/Automattic/jetpack-connection/compare/v1.30.1...v1.30.2 [1.30.1]: https://github.com/Automattic/jetpack-connection/compare/v1.30.0...v1.30.1 [1.30.0]: https://github.com/Automattic/jetpack-connection/compare/v1.29.0...v1.30.0 [1.29.0]: https://github.com/Automattic/jetpack-connection/compare/v1.28.0...v1.29.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php index e1c52b7a8..6c86d2957 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php @@ -4,8 +4,9 @@ * * @package automattic/jetpack-connection * - * @since 1.5 - * @since 7.7 Moved to the jetpack-connection package. + * @since 1.7.0 + * @since-jetpack 1.5 + * @since-jetpack 7.7 Moved to the jetpack-connection package. */ use Automattic\Jetpack\Connection\Client; diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php index 31db1c7fc..3c52f05d4 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php @@ -4,8 +4,9 @@ * * @package automattic/jetpack-connection * - * @since 1.5 - * @since 7.7 Moved to the jetpack-connection package. + * @since 1.7.0 + * @since-jetpack 1.5 + * @since-jetpack 7.7 Moved to the jetpack-connection package. */ /** diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php index 74f113f23..125aa20a6 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php @@ -341,7 +341,7 @@ class Jetpack_Signature { * It will analyze the current request, as well as some Jetpack constants, to return the string * to be concatenated in the URL representing the port of the current request. * - * @since 9.2.0 + * @since 1.8.4 * * @return string The port to be used in the signature */ @@ -382,7 +382,7 @@ class Jetpack_Signature { /** * Sanitizes a variable checking if it's a valid port number, which can be an integer or a numeric string * - * @since 9.2.0 + * @since 1.8.4 * * @param mixed $port_number Variable representing a port number. * @return string Always a string with a valid port number, or an empty string if input is invalid diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php index 3d0884428..7a115dfbf 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php @@ -80,7 +80,8 @@ class Jetpack_XMLRPC_Server { /** * Filters the XML-RPC methods available to Jetpack for authenticated users. * - * @since 1.1.0 + * @since 1.7.0 + * @since-jetpack 1.1.0 * * @param array $jetpack_methods XML-RPC methods available to the Jetpack Server. * @param array $core_methods Available core XML-RPC methods. @@ -92,8 +93,9 @@ class Jetpack_XMLRPC_Server { /** * Filters the XML-RPC methods available to Jetpack for requests signed both with a blog token or a user token. * - * @since 3.0.0 - * @since 9.6.0 Introduced the $user parameter. + * @since 1.7.0 + * @since 1.9.5 Introduced the $user parameter. + * @since-jetpack 3.0.0 * * @param array $jetpack_methods XML-RPC methods available to the Jetpack Server. * @param array $core_methods Available core XML-RPC methods. @@ -213,7 +215,8 @@ class Jetpack_XMLRPC_Server { * - remote_provision * - get_user. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param String $action the action name, i.e., 'remote_authorize'. * @param String $stage the execution stage, can be 'begin', 'success', 'error', etc. @@ -380,7 +383,7 @@ class Jetpack_XMLRPC_Server { * * @param string $redirect_uri The Redirect URI * - * @since 9.8.0 + * @since 1.9.7 */ $redirect_uri = apply_filters( 'jetpack_xmlrpc_remote_register_redirect_uri', admin_url() ); @@ -411,7 +414,7 @@ class Jetpack_XMLRPC_Server { * @param array $request An array containing at minimum a nonce key and a local_username key. * @param \WP_User $user The local authenticated user. * - * @since 9.8.0 + * @since 1.9.7 */ $response = apply_filters( 'jetpack_remote_xmlrpc_provision_response', $response, $request, $user ); @@ -492,7 +495,7 @@ class Jetpack_XMLRPC_Server { /** * Hook fired at the end of the jetpack.remoteConnect XML-RPC callback * - * @since 9.8.0 + * @since 1.9.7 */ do_action( 'jetpack_remote_connect_end' ); @@ -727,7 +730,8 @@ class Jetpack_XMLRPC_Server { /** * Fired when we want to log an event to the Jetpack event log. * - * @since 7.7.0 + * @since 1.7.0 + * @since-jetpack 7.7.0 * * @param string $code Unique name for the event. * @param string $data Optional data about the event. @@ -742,7 +746,7 @@ class Jetpack_XMLRPC_Server { /** * Returns any object that is able to be synced. * - * @deprecated since 7.8.0 + * @deprecated since jetpack 7.8.0 * @see Automattic\Jetpack\Sync\Sender::sync_object() * * @param array $args the synchronized object parameters. @@ -789,13 +793,13 @@ class Jetpack_XMLRPC_Server { * * Disconnect this blog from the connected wordpress.com account * - * @deprecated since 9.6.0 + * @deprecated since 1.25.0 * @see Jetpack_XMLRPC_Methods::disconnect_blog() in the Jetpack plugin * * @return boolean */ public function disconnect_blog() { - _deprecated_function( __METHOD__, 'jetpack-9.6', 'Jetpack_XMLRPC_Methods::disconnect_blog()' ); + _deprecated_function( __METHOD__, '1.25.0', 'Jetpack_XMLRPC_Methods::disconnect_blog()' ); if ( class_exists( 'Jetpack_XMLRPC_Methods' ) ) { return Jetpack_XMLRPC_Methods::disconnect_blog(); } @@ -807,13 +811,13 @@ class Jetpack_XMLRPC_Server { * * Returns what features are available. Uses the slug of the module files. * - * @deprecated since 9.6.0 + * @deprecated since 1.25.0 * @see Jetpack_XMLRPC_Methods::features_available() in the Jetpack plugin * * @return array */ public function features_available() { - _deprecated_function( __METHOD__, 'jetpack-9.6', 'Jetpack_XMLRPC_Methods::features_available()' ); + _deprecated_function( __METHOD__, '1.25.0', 'Jetpack_XMLRPC_Methods::features_available()' ); if ( class_exists( 'Jetpack_XMLRPC_Methods' ) ) { return Jetpack_XMLRPC_Methods::features_available(); } @@ -825,13 +829,13 @@ class Jetpack_XMLRPC_Server { * * Returns what features are enabled. Uses the slug of the modules files. * - * @deprecated since 9.6.0 + * @deprecated since 1.25.0 * @see Jetpack_XMLRPC_Methods::features_enabled() in the Jetpack plugin * * @return array */ public function features_enabled() { - _deprecated_function( __METHOD__, 'jetpack-9.6', 'Jetpack_XMLRPC_Methods::features_enabled()' ); + _deprecated_function( __METHOD__, '1.25.0', 'Jetpack_XMLRPC_Methods::features_enabled()' ); if ( class_exists( 'Jetpack_XMLRPC_Methods' ) ) { return Jetpack_XMLRPC_Methods::features_enabled(); } @@ -843,13 +847,13 @@ class Jetpack_XMLRPC_Server { * * Serve a JSON API request. * - * @deprecated since 9.6.0 + * @deprecated since 1.25.0 * @see Jetpack_XMLRPC_Methods::json_api() in the Jetpack plugin * * @param array $args request arguments. */ public function json_api( $args = array() ) { - _deprecated_function( __METHOD__, 'jetpack-9.6', 'Jetpack_XMLRPC_Methods::json_api()' ); + _deprecated_function( __METHOD__, '1.25.0', 'Jetpack_XMLRPC_Methods::json_api()' ); if ( class_exists( 'Jetpack_XMLRPC_Methods' ) ) { return Jetpack_XMLRPC_Methods::json_api( $args ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php index de77dfc4f..5619398d1 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/legacy/load-ixr.php @@ -5,7 +5,8 @@ * Here we ensure that they are loaded before we declare our implementations. * * @package automattic/jetpack-connection - * @since 7.7 + * @since 1.7.0 + * @since-jetpack 7.7.0 */ if ( defined( 'ABSPATH' ) && defined( 'WPINC' ) ) { diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php index bd2840249..a58ee5d35 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php @@ -215,7 +215,8 @@ class Client { * Return `true` to ENABLE SSL verification, return `false` * to DISABLE SSL verification. * - * @since 3.6.0 + * @since 1.7.0 + * @since-jetpack 3.6.0 * * @param bool Whether to force `sslverify` or not. */ @@ -467,10 +468,10 @@ class Client { * * @return string Always 'https'. * - * @deprecated 9.1.0 WP.com API no longer supports requests using `http://`. + * @deprecated 1.19.2 WP.com API no longer supports requests using `http://`. */ public static function protocol() { - _deprecated_function( __METHOD__, 'jetpack-9.1.0' ); + _deprecated_function( __METHOD__, '1.19.2' ); return 'https'; } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-error-handler.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-error-handler.php index 73051acfb..5a09d207c 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-error-handler.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-error-handler.php @@ -38,14 +38,14 @@ namespace Automattic\Jetpack\Connection; * * positive integer for user tokens * * 'invalid' for malformed tokens * - * @since 8.7.0 + * @since 1.14.2 */ class Error_Handler { /** * The name of the option that stores the errors * - * @since 8.7.0 + * @since 1.14.2 * * @var string */ @@ -54,7 +54,7 @@ class Error_Handler { /** * The name of the option that stores the errors * - * @since 8.7.0 + * @since 1.14.2 * * @var string */ @@ -63,7 +63,7 @@ class Error_Handler { /** * The prefix of the transient that controls the gate for each error code * - * @since 8.7.0 + * @since 1.14.2 * * @var string */ @@ -72,7 +72,7 @@ class Error_Handler { /** * Time in seconds a test should live in the database before being discarded * - * @since 8.7.0 + * @since 1.14.2 */ const ERROR_LIFE_TIME = DAY_IN_SECONDS; @@ -87,7 +87,7 @@ class Error_Handler { /** * List of known errors. Only error codes in this list will be handled * - * @since 8.7.0 + * @since 1.14.2 * * @var array */ @@ -119,7 +119,7 @@ class Error_Handler { /** * Holds the instance of this singleton class * - * @since 8.7.0 + * @since 1.14.2 * * @var Error_Handler $instance */ @@ -128,7 +128,7 @@ class Error_Handler { /** * Initialize instance, hookds and load verified errors handlers * - * @since 8.7.0 + * @since 1.14.2 */ private function __construct() { defined( 'JETPACK__ERRORS_PUBLIC_KEY' ) || define( 'JETPACK__ERRORS_PUBLIC_KEY', 'KdZY80axKX+nWzfrOcizf0jqiFHnrWCl9X8yuaClKgM=' ); @@ -149,7 +149,7 @@ class Error_Handler { /** * Gets the list of verified errors and act upon them * - * @since 8.7.0 + * @since 1.14.2 * * @return void */ @@ -183,7 +183,7 @@ class Error_Handler { /** * Gets the instance of this singleton class * - * @since 8.7.0 + * @since 1.14.2 * * @return Error_Handler $instance */ @@ -197,7 +197,7 @@ class Error_Handler { /** * Keep track of a connection error that was encountered * - * @since 8.7.0 + * @since 1.14.2 * * @param \WP_Error $error the error object. * @param boolean $force Force the report, even if should_report_error is false. @@ -217,7 +217,7 @@ class Error_Handler { * * This protects the site (and WPCOM) against over loads. * - * @since 8.7.0 + * @since 1.14.2 * * @param \WP_Error $error the error object. * @return boolean $should_report True if gate is open and the error should be reported. @@ -236,7 +236,7 @@ class Error_Handler { * * This filter is useful for unit testing * - * @since 8.7.0 + * @since 1.14.2 * * @param boolean $bypass_gate whether to bypass the gate. Default is false, do not bypass. */ @@ -258,7 +258,7 @@ class Error_Handler { /** * Stores the error in the database so we know there is an issue and can inform the user * - * @since 8.7.0 + * @since 1.14.2 * * @param \WP_Error $error the error object. * @return boolean|array False if stored errors were not updated and the error array if it was successfully stored. @@ -294,7 +294,7 @@ class Error_Handler { /** * Converts a WP_Error object in the array representation we store in the database * - * @since 8.7.0 + * @since 1.14.2 * * @param \WP_Error $error the error object. * @return boolean|array False if error is invalid or the error array @@ -331,7 +331,7 @@ class Error_Handler { /** * Sends the error to WP.com to be verified * - * @since 8.7.0 + * @since 1.14.2 * * @param array $error_array The array representation of the error as it is stored in the database. * @return bool @@ -360,7 +360,7 @@ class Error_Handler { /** * Encrypt data to be sent over to WP.com * - * @since 8.7.0 + * @since 1.14.2 * * @param array|string $data the data to be encoded. * @return boolean|string The encoded string on success, false on failure @@ -385,7 +385,7 @@ class Error_Handler { /** * Extracts the user ID from a token * - * @since 8.7.0 + * @since 1.14.2 * * @param string $token the token used to make the xml-rpc request. * @return string $the user id or `invalid` if user id not present. @@ -406,7 +406,7 @@ class Error_Handler { /** * Gets the reported errors stored in the database * - * @since 8.7.0 + * @since 1.14.2 * * @return array $errors */ @@ -426,7 +426,7 @@ class Error_Handler { /** * Gets the verified errors stored in the database * - * @since 8.7.0 + * @since 1.14.2 * * @return array $errors */ @@ -450,7 +450,7 @@ class Error_Handler { * Whenever a new error is stored to the database or verified, this will be triggered and the * expired error will be permantently removed from the database * - * @since 8.7.0 + * @since 1.14.2 * * @param array $errors array of errors as stored in the database. * @return array @@ -476,7 +476,7 @@ class Error_Handler { /** * Delete all stored and verified errors from the database * - * @since 8.7.0 + * @since 1.14.2 * * @return void */ @@ -503,7 +503,7 @@ class Error_Handler { /** * Delete the reported errors stored in the database * - * @since 8.7.0 + * @since 1.14.2 * * @return boolean True, if option is successfully deleted. False on failure. */ @@ -514,7 +514,7 @@ class Error_Handler { /** * Delete the verified errors stored in the database * - * @since 8.7.0 + * @since 1.14.2 * * @return boolean True, if option is successfully deleted. False on failure. */ @@ -527,7 +527,7 @@ class Error_Handler { * * Receives a nonce and finds the related error. * - * @since 8.7.0 + * @since 1.14.2 * * @param string $nonce The nonce created for the error we want to get. * @return null|array Returns the error array representation or null if error not found. @@ -547,7 +547,7 @@ class Error_Handler { /** * Adds an error to the verified error list * - * @since 8.7.0 + * @since 1.14.2 * * @param array $error The error array, as it was saved in the unverified errors list. * @return void @@ -571,7 +571,7 @@ class Error_Handler { /** * Register REST API end point for error hanlding. * - * @since 8.7.0 + * @since 1.14.2 * * @return void */ @@ -596,7 +596,7 @@ class Error_Handler { /** * Handles verification that a xml rpc error is legit and came from WordPres.com * - * @since 8.7.0 + * @since 1.14.2 * * @param \WP_REST_Request $request The request sent to the WP REST API. * diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php index 74b96f51b..64ab116d8 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-manager.php @@ -49,7 +49,7 @@ class Manager { * * Use Manager::add_register_request_param to add values to this array. * - * @since 9.7.0 + * @since 1.26.0 * @var array */ private static $extra_register_params = array(); @@ -94,6 +94,7 @@ class Manager { if ( $manager->is_connected() ) { add_filter( 'xmlrpc_methods', array( $manager, 'public_xmlrpc_methods' ) ); + add_filter( 'plugins_loaded', array( new Package_Version_Tracker(), 'maybe_update_package_versions' ) ); } add_action( 'rest_api_init', array( $manager, 'initialize_rest_api_registration_connector' ) ); @@ -108,12 +109,15 @@ class Manager { add_filter( 'jetpack_heartbeat_stats_array', array( $manager, 'add_stats_to_heartbeat' ) ); Webhooks::init( $manager ); + + // Set up package version hook. + add_filter( 'jetpack_package_versions', __NAMESPACE__ . '\Package_Version::send_package_version_to_tracker' ); } /** * Sets up the XMLRPC request handlers. * - * @since 9.6.0 Deprecate $is_active param. + * @since 1.25.0 Deprecate $is_active param. * * @param array $request_params incoming request parameters. * @param bool $has_connected_owner Whether the site has a connected owner. @@ -218,7 +222,8 @@ class Manager { /** * Filters the class used for handling XML-RPC requests. * - * @since 3.1.0 + * @since 1.7.0 + * @since-jetpack 3.1.0 * * @param string $class The name of the XML-RPC server class. */ @@ -313,7 +318,8 @@ class Manager { /** * Action for logging XMLRPC signature verification errors. This data is sensitive. * - * @since 7.5.0 + * @since 1.7.0 + * @since-jetpack 7.5.0 * * @param WP_Error $signature_verification_error The verification error */ @@ -477,7 +483,8 @@ class Manager { /** * Action for additional token checking. * - * @since 7.7.0 + * @since 1.7.0 + * @since-jetpack 7.7.0 * * @param array $post_data request data. * @param array $token_data token data. @@ -497,11 +504,11 @@ class Manager { /** * Returns true if the current site is connected to WordPress.com and has the minimum requirements to enable Jetpack UI. * - * This method is deprecated since Jetpack 9.6.0. Please use has_connected_owner instead. + * This method is deprecated since version 1.25.0 of this package. Please use has_connected_owner instead. * * Since this method has a wide spread use, we decided not to throw any deprecation warnings for now. * - * @deprecated 9.6.0 + * @deprecated 1.25.0 * @see Manager::has_connected_owner * @return Boolean is the site connected? */ @@ -522,13 +529,13 @@ class Manager { * Returns true if the site has both a token and a blog id, which indicates a site has been registered. * * @access public - * @deprecated 9.2.0 Use is_connected instead + * @deprecated 1.12.1 Use is_connected instead * @see Manager::is_connected * * @return bool */ public function is_registered() { - _deprecated_function( __METHOD__, 'jetpack-9.2' ); + _deprecated_function( __METHOD__, '1.12.1' ); return $this->is_connected(); } @@ -536,7 +543,7 @@ class Manager { * Returns true if the site has both a token and a blog id, which indicates a site has been connected. * * @access public - * @since 9.2.0 + * @since 1.21.1 * * @return bool */ @@ -550,7 +557,7 @@ class Manager { * Returns true if the site has at least one connected administrator. * * @access public - * @since 9.2.0 + * @since 1.21.1 * * @return bool */ @@ -562,7 +569,7 @@ class Manager { * Returns true if the site has any connected user. * * @access public - * @since 9.2.0 + * @since 1.21.1 * * @return bool */ @@ -613,7 +620,7 @@ class Manager { * Returns true if the site has a connected Blog owner (master_user). * * @access public - * @since 9.2.0 + * @since 1.21.1 * * @return bool */ @@ -627,13 +634,13 @@ class Manager { * Note that we are explicitly checking for the existence of the master_user option in order to account for cases where we don't have any user tokens (user-level connection) but the master_user option is set, which could be the result of a problematic user connection. * * @access public - * @since 9.6.0 - * @deprecated 9.8.0 + * @since 1.25.0 + * @deprecated 1.27.0 * * @return bool */ public function is_userless() { - _deprecated_function( __METHOD__, 'jetpack-9.8.0', 'Automattic\\Jetpack\\Connection\\Manager::is_site_connection' ); + _deprecated_function( __METHOD__, '1.27.0', 'Automattic\\Jetpack\\Connection\\Manager::is_site_connection' ); return $this->is_site_connection(); } @@ -643,7 +650,7 @@ class Manager { * Note that we are explicitly checking for the existence of the master_user option in order to account for cases where we don't have any user tokens (user-level connection) but the master_user option is set, which could be the result of a problematic user connection. * * @access public - * @since 9.8.0 + * @since 1.27.0 * * @return bool */ @@ -814,35 +821,38 @@ class Manager { * * @param Integer $user_id the user identifier. * @param bool $can_overwrite_primary_user Allow for the primary user to be disconnected. + * @param bool $force_disconnect_locally Disconnect user locally even if we were unable to disconnect them from WP.com. * @return Boolean Whether the disconnection of the user was successful. */ - public function disconnect_user( $user_id = null, $can_overwrite_primary_user = false ) { + public function disconnect_user( $user_id = null, $can_overwrite_primary_user = false, $force_disconnect_locally = false ) { $user_id = empty( $user_id ) ? get_current_user_id() : (int) $user_id; // Attempt to disconnect the user from WordPress.com. $is_disconnected_from_wpcom = $this->unlink_user_from_wpcom( $user_id ); - if ( ! $is_disconnected_from_wpcom ) { - return false; + + $is_disconnected_locally = false; + if ( $is_disconnected_from_wpcom || $force_disconnect_locally ) { + // Disconnect the user locally. + $is_disconnected_locally = $this->get_tokens()->disconnect_user( $user_id, $can_overwrite_primary_user ); + + if ( $is_disconnected_locally ) { + // Delete cached connected user data. + $transient_key = "jetpack_connected_user_data_$user_id"; + delete_transient( $transient_key ); + + /** + * Fires after the current user has been unlinked from WordPress.com. + * + * @since 1.7.0 + * @since-jetpack 4.1.0 + * + * @param int $user_id The current user's ID. + */ + do_action( 'jetpack_unlinked_user', $user_id ); + } } - // Disconnect the user locally. - $is_disconnected_locally = $this->get_tokens()->disconnect_user( $user_id, $can_overwrite_primary_user ); - if ( $is_disconnected_locally ) { - // Delete cached connected user data. - $transient_key = "jetpack_connected_user_data_$user_id"; - delete_transient( $transient_key ); - - /** - * Fires after the current user has been unlinked from WordPress.com. - * - * @since 4.1.0 - * - * @param int $user_id The current user's ID. - */ - do_action( 'jetpack_unlinked_user', $user_id ); - } - - return $is_disconnected_locally; + return $is_disconnected_from_wpcom && $is_disconnected_locally; } /** @@ -869,7 +879,7 @@ class Manager { /** * Update the connection owner. * - * @since 9.9.0 + * @since 1.29.0 * * @param Integer $new_owner_id The ID of the user to become the connection owner. * @@ -925,7 +935,7 @@ class Manager { /** * Request to WPCOM to update the connection owner. * - * @since 9.9.0 + * @since 1.29.0 * * @param Integer $new_owner_id The ID of the user to become the connection owner. * @@ -965,7 +975,7 @@ class Manager { * Filters whether the connection manager should use the iframe authorization * flow instead of the regular redirect-based flow. * - * @since 8.3.0 + * @since 1.9.0 * * @param Boolean $is_iframe_flow_used should the iframe flow be used, defaults to false. */ @@ -979,7 +989,8 @@ class Manager { /** * Filters the API URL that Jetpack uses for server communication. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param String $url the generated URL. * @param String $relative_url the relative URL that was passed as an argument. @@ -1050,7 +1061,8 @@ class Manager { /** * Filters the request body for additional property addition. * - * @since 7.7.0 + * @since 1.7.0 + * @since-jetpack 7.7.0 * * @param array $post_data request data. * @param Array $token_data token data. @@ -1154,7 +1166,8 @@ class Manager { /** * Fires when a site is registered on WordPress.com. * - * @since 3.7.0 + * @since 1.7.0 + * @since-jetpack 3.7.0 * * @param int $json->jetpack_id Jetpack Blog ID. * @param string $json->jetpack_secret Jetpack Blog Token. @@ -1171,7 +1184,8 @@ class Manager { /** * Fires when a user token is sent along with the registration data. * - * @since 7.6.0 + * @since 1.7.0 + * @since-jetpack 7.6.0 * * @param object $token the administrator token for the newly registered site. */ @@ -1197,7 +1211,7 @@ class Manager { /** * Action fired when the user attempts the registration. * - * @since 9.7.0 + * @since 1.26.0 */ $pre_register = apply_filters( 'jetpack_pre_register', null ); @@ -1231,7 +1245,7 @@ class Manager { /** * Adds a parameter to the register request body * - * @since 9.7.0 + * @since 1.26.0 * * @param string $name The name of the parameter to be added. * @param string $value The value of the parameter to be added. @@ -1250,7 +1264,8 @@ class Manager { * Takes the response from the Jetpack register new site endpoint and * verifies it worked properly. * - * @since 2.6 + * @since 1.7.0 + * @since-jetpack 2.6.0 * * @param Mixed $response the response object, or the error object. * @return string|WP_Error A JSON object on success or WP_Error on failures @@ -1332,11 +1347,11 @@ class Manager { * @param string $nonce the nonce value. * @return bool whether the nonce is unique or not. * - * @deprecated since 9.5.0 + * @deprecated since 1.24.0 * @see Nonce_Handler::add() */ public function add_nonce( $timestamp, $nonce ) { - _deprecated_function( __METHOD__, 'jetpack-9.5.0', 'Automattic\\Jetpack\\Connection\\Nonce_Handler::add' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Nonce_Handler::add' ); return ( new Nonce_Handler() )->add( $timestamp, $nonce ); } @@ -1347,11 +1362,11 @@ class Manager { * * @param bool $all whether to clean even non-expired nonces. * - * @deprecated since 9.5.0 + * @deprecated since 1.24.0 * @see Nonce_Handler::clean_all() */ public function clean_nonces( $all = false ) { - _deprecated_function( __METHOD__, 'jetpack-9.5.0', 'Automattic\\Jetpack\\Connection\\Nonce_Handler::clean_all' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Nonce_Handler::clean_all' ); ( new Nonce_Handler() )->clean_all( $all ? PHP_INT_MAX : ( time() - Nonce_Handler::LIFETIME ) ); } @@ -1378,7 +1393,7 @@ class Manager { /** * Filters the jetpack_disconnect capability. * - * @since 8.7.0 + * @since 1.14.2 * * @param array An array containing the capability name. */ @@ -1402,7 +1417,8 @@ class Manager { * * Based on local php max_execution_time in php.ini * - * @since 5.4 + * @since 1.7.0 + * @since-jetpack 5.4.0 * @return int **/ public function get_max_execution_time() { @@ -1418,7 +1434,8 @@ class Manager { /** * Sets a minimum request timeout, and returns the current timeout * - * @since 5.4 + * @since 1.7.0 + * @since-jetpack 5.4.0 * @param Integer $min_timeout the minimum timeout value. **/ public function set_min_time_limit( $min_timeout ) { @@ -1436,7 +1453,8 @@ class Manager { * - Earliest admin user registration date. * - Earliest date of post of any post type. * - * @since 7.2.0 + * @since 1.7.0 + * @since-jetpack 7.2.0 * * @return string Assumed site creation date and time. */ @@ -1518,27 +1536,27 @@ class Manager { /** * Returns two secret tokens and the end of life timestamp for them. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Secrets->get() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Secrets->get() instead. * * @param String $action The action name. * @param Integer $user_id The user identifier. * @return string|array an array of secrets or an error string. */ public function get_secrets( $action, $user_id ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Secrets->get' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Secrets->get' ); return ( new Secrets() )->get( $action, $user_id ); } /** * Deletes secret tokens in case they, for example, have expired. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Secrets->delete() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Secrets->delete() instead. * * @param String $action The action name. * @param Integer $user_id The user identifier. */ public function delete_secrets( $action, $user_id ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Secrets->delete' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Secrets->delete' ); ( new Secrets() )->delete( $action, $user_id ); } @@ -1563,7 +1581,7 @@ class Manager { * Fires upon the disconnect attempt. * Return `false` to prevent the disconnect. * - * @since 8.7.0 + * @since 1.14.2 */ if ( ! apply_filters( 'jetpack_connection_delete_all_tokens', true ) ) { return false; @@ -1610,7 +1628,7 @@ class Manager { * Fires upon the disconnect attempt. * Return `false` to prevent the disconnect. * - * @since 8.7.0 + * @since 1.14.2 */ if ( ! apply_filters( 'jetpack_connection_disconnect_site_wpcom', true, $this ) ) { return false; @@ -1715,21 +1733,21 @@ class Manager { /** * Perform the API request to validate the blog and user tokens. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->validate_tokens() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Tokens->validate_tokens() instead. * * @param int|null $user_id ID of the user we need to validate token for. Current user's ID by default. * * @return array|false|WP_Error The API response: `array( 'blog_token_is_healthy' => true|false, 'user_token_is_healthy' => true|false )`. */ public function validate_tokens( $user_id = null ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->validate' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Tokens->validate' ); return $this->get_tokens()->validate( $user_id ); } /** * Verify a Previously Generated Secret. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Secrets->verify() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Secrets->verify() instead. * * @param string $action The type of secret to verify. * @param string $secret_1 The secret string to compare to what is stored. @@ -1737,7 +1755,7 @@ class Manager { * @return \WP_Error|string WP_Error on failure, secret_2 on success. */ public function verify_secrets( $action, $secret_1, $user_id ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Secrets->verify' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Secrets->verify' ); return ( new Secrets() )->verify( $action, $secret_1, $user_id ); } @@ -1780,7 +1798,8 @@ class Manager { * Filter the URL of the first time the user gets redirected back to your site for connection * data processing. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param string $redirect_url Defaults to the site admin URL. */ @@ -1790,7 +1809,8 @@ class Manager { * Filter the URL to redirect the user back to when the authorization process * is complete. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param string $redirect_url Defaults to the site URL. */ @@ -1803,7 +1823,8 @@ class Manager { * 'calypso' completes authorization on wordpress.com/jetpack/connect * while 'jetpack' ( or any other value ) completes the authorization at jetpack.wordpress.com. * - * @since 4.3.3 + * @since 1.7.0 + * @since-jetpack 4.3.3 * * @param string $auth_type Defaults to 'calypso', can also be 'jetpack'. */ @@ -1812,7 +1833,8 @@ class Manager { /** * Filters the user connection request data for additional property addition. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param array $request_data request data. */ @@ -1866,7 +1888,8 @@ class Manager { /** * Action fired when user authorization starts. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 */ do_action( 'jetpack_authorize_starting' ); @@ -1924,7 +1947,8 @@ class Manager { /** * Fires after user has successfully received an auth token. * - * @since 3.9.0 + * @since 1.7.0 + * @since-jetpack 3.9.0 */ do_action( 'jetpack_user_authorized' ); @@ -1932,7 +1956,8 @@ class Manager { /** * Action fired when a secondary user has been authorized. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 */ do_action( 'jetpack_authorize_ending_linked' ); return 'linked'; @@ -1941,7 +1966,8 @@ class Manager { /** * Action fired when the master user has been authorized. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param array $data The request data. */ @@ -1976,6 +2002,9 @@ class Manager { $this->delete_all_connection_tokens( true ); + // Remove tracked package versions, since they depend on the Jetpack Connection. + delete_option( Package_Version_Tracker::PACKAGE_VERSION_OPTION ); + $jetpack_unique_connection = \Jetpack_Options::get_option( 'unique_connection' ); if ( $jetpack_unique_connection ) { // Check then record unique disconnection if site has never been disconnected previously. @@ -2035,7 +2064,8 @@ class Manager { * * Allows site administrators with domains that fail gethostname-based checks to pass the request to WP.com * - * @since 4.1.0 + * @since 1.7.0 + * @since-jetpack 4.1.0 * * @param bool If the check should be skipped. Default false. */ @@ -2110,7 +2140,7 @@ class Manager { /** * Gets the requested token. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->get_access_token() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Tokens->get_access_token() instead. * * @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token. * @param string|false $token_key If provided, check that the token matches the provided input. @@ -2121,7 +2151,7 @@ class Manager { * @see $this->get_tokens()->get_access_token() */ public function get_access_token( $user_id = false, $token_key = false, $suppress_errors = true ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->get_access_token' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Tokens->get_access_token' ); return $this->get_tokens()->get_access_token( $user_id, $token_key, $suppress_errors ); } @@ -2400,20 +2430,20 @@ class Manager { */ public function refresh_user_token() { ( new Tracking() )->record_user_event( 'restore_connection_refresh_user_token' ); - $this->disconnect_user( null, true ); + $this->disconnect_user( null, true, true ); return true; } /** * Fetches a signed token. * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->get_signed_token() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Tokens->get_signed_token() instead. * * @param object $token the token. * @return WP_Error|string a signed token */ public function get_signed_token( $token ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->get_signed_token' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Tokens->get_signed_token' ); return $this->get_tokens()->get_signed_token( $token ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version-tracker.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version-tracker.php new file mode 100644 index 000000000..096eee3cb --- /dev/null +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version-tracker.php @@ -0,0 +1,107 @@ + $version ) { + if ( ! is_string( $package ) || ! is_string( $version ) ) { + unset( $filter_versions[ $package ] ); + } + } + + if ( ! is_array( $option_versions ) + || count( array_diff_assoc( $filter_versions, $option_versions ) ) + || count( array_diff_assoc( $option_versions, $filter_versions ) ) + ) { + $this->update_package_versions_option( $filter_versions ); + } + } + + /** + * Updates the package versions: + * - Sends the updated package versions to wpcom. + * - Updates the 'jetpack_package_versions' option. + * + * @param array $package_versions The package versions. + */ + protected function update_package_versions_option( $package_versions ) { + $site_id = \Jetpack_Options::get_option( 'id' ); + + $last_failed_attempt_within_hour = get_transient( self::CACHED_FAILED_REQUEST_KEY ); + + if ( $last_failed_attempt_within_hour ) { + return; + } + + $body = wp_json_encode( + array( + 'package_versions' => $package_versions, + ) + ); + + $response = Client::wpcom_json_api_request_as_blog( + sprintf( '/sites/%d/jetpack-package-versions', $site_id ), + '2', + array( + 'headers' => array( 'content-type' => 'application/json' ), + 'method' => 'POST', + ), + $body, + 'wpcom' + ); + + if ( 200 === wp_remote_retrieve_response_code( $response ) ) { + update_option( self::PACKAGE_VERSION_OPTION, $package_versions ); + } else { + set_transient( self::CACHED_FAILED_REQUEST_KEY, time(), self::CACHED_FAILED_REQUEST_EXPIRATION ); + } + } + +} diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php index 71eaf01a5..bf6400232 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-package-version.php @@ -12,5 +12,19 @@ namespace Automattic\Jetpack\Connection; */ class Package_Version { - const PACKAGE_VERSION = '1.30.1'; + const PACKAGE_VERSION = '1.30.4'; + + const PACKAGE_SLUG = 'connection'; + + /** + * Adds the package slug and version to the package version tracker's data. + * + * @param array $package_versions The package version array. + * + * @return array The packge version array. + */ + public static function send_package_version_to_tracker( $package_versions ) { + $package_versions[ self::PACKAGE_SLUG ] = self::PACKAGE_VERSION; + return $package_versions; + } } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-authentication.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-authentication.php index 675fd640e..c833be5a3 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-authentication.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-authentication.php @@ -15,7 +15,7 @@ class Rest_Authentication { /** * The rest authentication status. * - * @since 8.9.0 + * @since 1.17.0 * @var boolean */ private $rest_authentication_status = null; @@ -25,7 +25,7 @@ class Rest_Authentication { * Can be either 'user' or 'blog' depending on whether the request * is signed with a user or a blog token. * - * @since 9.9.0 + * @since 1.29.0 * @var string */ private $rest_authentication_type = null; @@ -33,7 +33,7 @@ class Rest_Authentication { /** * The Manager object. * - * @since 8.9.0 + * @since 1.17.0 * @var Object */ private $connection_manager = null; @@ -41,7 +41,7 @@ class Rest_Authentication { /** * Holds the singleton instance of this class * - * @since 8.9.0 + * @since 1.17.0 * @var Object */ private static $instance = false; @@ -49,7 +49,7 @@ class Rest_Authentication { /** * Flag used to avoid determine_current_user filter to enter an infinite loop * - * @since 9.7.0 + * @since 1.26.0 * @var boolean */ private $doing_determine_current_user_filter = false; @@ -208,7 +208,7 @@ class Rest_Authentication { /** * Whether the request was signed with a blog token. * - * @since 9.9.0 + * @since 1.29.0 * * @return bool True if the request was signed with a valid blog token, false otherwise. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php index 21e6f8aee..fd7335f1a 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-rest-connector.php @@ -257,7 +257,8 @@ class REST_Connector { /** * Handles verification that a site is registered. * - * @since 5.4.0 + * @since 1.7.0 + * @since-jetpack 5.4.0 * * @param WP_REST_Request $request The request sent to the WP REST API. * @@ -272,7 +273,8 @@ class REST_Connector { /** * Handles verification that a site is registered * - * @since 5.4.0 + * @since 1.7.0 + * @since-jetpack 5.4.0 * * @param WP_REST_Request $request The request sent to the WP REST API. * @@ -292,7 +294,8 @@ class REST_Connector { /** * Get connection status for this Jetpack site. * - * @since 4.3.0 + * @since 1.7.0 + * @since-jetpack 4.3.0 * * @param bool $rest_response Should we return a rest response or a simple array. Default to rest response. * @@ -322,7 +325,7 @@ class REST_Connector { /** * Filters the connection status data. * - * @since 9.6.0 + * @since 1.25.0 * * @param array An array containing the connection status data. */ @@ -340,7 +343,7 @@ class REST_Connector { /** * Get plugins connected to the Jetpack. * - * @since 8.6.0 + * @since 1.13.1 * * @return WP_REST_Response|WP_Error Response or error object, depending on the request result. */ @@ -364,7 +367,7 @@ class REST_Connector { /** * Verify that user can view Jetpack admin page and can activate plugins. * - * @since 8.8.0 + * @since 1.15.0 * * @return bool|WP_Error Whether user has the capability 'activate_plugins'. */ @@ -540,7 +543,7 @@ class REST_Connector { /** * Verify that user is allowed to disconnect Jetpack. * - * @since 8.8.0 + * @since 1.15.0 * * @return bool|WP_Error Whether user has the capability 'jetpack_disconnect'. */ @@ -564,7 +567,7 @@ class REST_Connector { /** * The endpoint tried to partially or fully reconnect the website to WP.com. * - * @since 8.8.0 + * @since 1.15.0 * * @return \WP_REST_Response|WP_Error */ @@ -593,7 +596,7 @@ class REST_Connector { /** * Action fired when reconnection has completed successfully. * - * @since 9.0.0 + * @since 1.18.1 */ do_action( 'jetpack_reconnection_completed' ); break; @@ -608,7 +611,7 @@ class REST_Connector { /** * Verify that user is allowed to connect Jetpack. * - * @since 9.7.0 + * @since 1.26.0 * * @return bool|WP_Error Whether user has the capability 'jetpack_connect'. */ @@ -623,7 +626,8 @@ class REST_Connector { /** * The endpoint tried to partially or fully reconnect the website to WP.com. * - * @since 7.7.0 + * @since 1.7.0 + * @since-jetpack 7.7.0 * * @param \WP_REST_Request $request The request sent to the WP REST API. * @@ -663,7 +667,7 @@ class REST_Connector { * Filters the response of jetpack/v4/connection/register endpoint * * @param array $response Array response - * @since 9.8.0 + * @since 1.27.0 */ $response_body = apply_filters( 'jetpack_register_site_rest_response', @@ -682,7 +686,7 @@ class REST_Connector { /** * Get the authorization URL. * - * @since 9.8.0 + * @since 1.27.0 * * @param \WP_REST_Request $request The request sent to the WP REST API. * @@ -711,7 +715,7 @@ class REST_Connector { /** * The endpoint tried to partially or fully reconnect the website to WP.com. * - * @since 9.9.0 + * @since 1.29.0 * * @param \WP_REST_Request $request The request sent to the WP REST API. * @@ -745,7 +749,7 @@ class REST_Connector { /** * Fires when the user token gets successfully replaced. * - * @since 9.9.0 + * @since 1.29.0 * * @param int $user_id User ID. * @param string $token New user token. @@ -784,7 +788,7 @@ class REST_Connector { /** * Verify that the API client is allowed to replace user token. * - * @since 9.9.0 + * @since 1.29.0 * * @return bool|WP_Error. */ @@ -797,7 +801,7 @@ class REST_Connector { /** * Change the connection owner. * - * @since 9.9.0 + * @since 1.29.0 * * @param WP_REST_Request $request The request sent to the WP REST API. * @@ -822,8 +826,9 @@ class REST_Connector { /** * Check that user has permission to change the master user. * - * @since 6.2.0 - * @since 7.7.0 Update so that any user with jetpack_disconnect privs can set owner. + * @since 1.7.0 + * @since-jetpack 6.2.0 + * @since-jetpack 7.7.0 Update so that any user with jetpack_disconnect privs can set owner. * * @return bool|WP_Error True if user is able to change master user. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-secrets.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-secrets.php index ae5195de1..aec3ae155 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-secrets.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-secrets.php @@ -34,7 +34,17 @@ class Secrets { * @return String $secret value. */ private function secret_callable_method() { - return wp_generate_password( 32, false ); + $secret = wp_generate_password( 32, false ); + + // Some sites may hook into the random_password filter and make the password shorter, let's make sure our secret has the required length. + $attempts = 1; + $secret_length = strlen( $secret ); + while ( $secret_length < 32 && $attempts < 32 ) { + $attempts++; + $secret .= wp_generate_password( 32, false ); + $secret_length = strlen( $secret ); + } + return (string) substr( $secret, 0, 32 ); } /** @@ -140,7 +150,8 @@ class Secrets { /** * We've begun verifying the previously generated secret. * - * @since 7.5.0 + * @since 1.7.0 + * @since-jetpack 7.5.0 * * @param string $action The type of secret to verify. * @param \WP_User $user The user object. @@ -151,7 +162,8 @@ class Secrets { /** * Verifying of the previously generated secret has failed. * - * @since 7.5.0 + * @since 1.7.0 + * @since-jetpack 7.5.0 * * @param string $action The type of secret to verify. * @param \WP_User $user The user object. @@ -256,7 +268,8 @@ class Secrets { /** * We've succeeded at verifying the previously generated secret. * - * @since 7.5.0 + * @since 1.7.0 + * @since-jetpack 7.5.0 * * @param string $action The type of secret to verify. * @param \WP_User $user The user object. diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-tokens.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-tokens.php index c20f3c217..0b60b597f 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-tokens.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-tokens.php @@ -131,7 +131,8 @@ class Tokens { * Filter the URL of the first time the user gets redirected back to your site for connection * data processing. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param string $redirect_url Defaults to the site admin URL. */ @@ -143,7 +144,8 @@ class Tokens { * Filter the URL to redirect the user back to when the authentication process * is complete. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param string $redirect_url Defaults to the site URL. */ @@ -164,7 +166,8 @@ class Tokens { /** * Filters the token request data. * - * @since 8.0.0 + * @since 1.7.0 + * @since-jetpack 8.0.0 * * @param array $request_data request data. */ @@ -498,7 +501,7 @@ class Tokens { * Returns an array of user_id's that have user tokens for communicating with wpcom. * Able to select by specific capability. * - * @deprecated 9.9.1 + * @deprecated 1.30.0 * @see Manager::get_connected_users * * @param string $capability The capability of the user. @@ -506,7 +509,7 @@ class Tokens { * @return array Array of WP_User objects if found. */ public function get_connected_users( $capability = 'any', $limit = null ) { - _deprecated_function( __METHOD__, 'jetpack-9.9.1' ); + _deprecated_function( __METHOD__, '1.30.0' ); return ( new Manager( 'jetpack' ) )->get_connected_users( $capability, $limit ); } @@ -568,7 +571,7 @@ class Tokens { /** * Gets the list of user tokens * - * @since 9.9.1 + * @since 1.30.0 * * @return bool|array An array of user tokens where keys are user IDs and values are the tokens. False if no user token is found. */ @@ -579,7 +582,7 @@ class Tokens { /** * Updates the option that stores the user tokens * - * @since 9.9.1 + * @since 1.30.0 * * @param array $tokens An array of user tokens where keys are user IDs and values are the tokens. * @return bool Was the option successfully updated? diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php index dd9ea3ecb..f9a291760 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-urls.php @@ -148,7 +148,8 @@ class Urls { /** * Allows overriding of the home_url value that is synced back to WordPress.com. * - * @since 5.2.0 + * @since 1.7.0 + * @since-jetpack 5.2.0 * * @param string $home_url */ @@ -166,7 +167,8 @@ class Urls { /** * Allows overriding of the site_url value that is synced back to WordPress.com. * - * @since 5.2.0 + * @since 1.7.0 + * @since-jetpack 5.2.0 * * @param string $site_url */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php index 6e0ac23de..d5ca5adbf 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-utils.php @@ -25,17 +25,17 @@ class Utils { * @param string $url The url. * @return string The exact same url. * - * @deprecated 9.1.0 Jetpack can't function properly on servers that don't support outbound HTTPS requests. + * @deprecated 1.19.2 Jetpack can't function properly on servers that don't support outbound HTTPS requests. */ public static function fix_url_for_bad_hosts( $url ) { - _deprecated_function( __METHOD__, 'jetpack-9.1.0' ); + _deprecated_function( __METHOD__, '1.19.2' ); return $url; } /** * Enters a user token into the user_tokens option * - * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->update_user_token() instead. + * @deprecated 1.24.0 Use Automattic\Jetpack\Connection\Tokens->update_user_token() instead. * * @param int $user_id The user id. * @param string $token The user token. @@ -43,7 +43,7 @@ class Utils { * @return bool */ public static function update_user_token( $user_id, $token, $is_master_user ) { - _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->update_user_token' ); + _deprecated_function( __METHOD__, '1.24.0', 'Automattic\\Jetpack\\Connection\\Tokens->update_user_token' ); return ( new Tokens() )->update_user_token( $user_id, $token, $is_master_user ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-webhooks.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-webhooks.php index 1de5d97d3..72225d195 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-webhooks.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-webhooks.php @@ -104,7 +104,8 @@ class Webhooks { * * @param int Jetpack Blog ID. * - * @since 4.2.0 + * @since 1.7.0 + * @since-jetpack 4.2.0 */ do_action( 'jetpack_client_authorized', Jetpack_Options::get_option( 'id' ) ); diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php index 176c85239..804f38481 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-connection/src/interface-manager.php @@ -11,7 +11,7 @@ namespace Automattic\Jetpack\Connection; /** * This interface is no longer used and is now deprecated. * - * @deprecated since 7.8 + * @deprecated since jetpack 7.8 */ interface Manager_Interface { } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/CHANGELOG.md index cfcf47722..70cf8b78e 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.6.6] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Updated versions in annotations + ## [1.6.5] - 2021-05-25 ### Changed - Updated package dependencies. @@ -78,6 +84,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Finish the constants package +[1.6.6]: https://github.com/Automattic/jetpack-constants/compare/v1.6.5...v1.6.6 [1.6.5]: https://github.com/Automattic/jetpack-constants/compare/v1.6.4...v1.6.5 [1.6.4]: https://github.com/Automattic/jetpack-constants/compare/v1.6.3...v1.6.4 [1.6.3]: https://github.com/Automattic/jetpack-constants/compare/v1.6.2...v1.6.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php index d7bdbcb1f..8798328a9 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-constants/src/class-constants.php @@ -80,7 +80,7 @@ class Constants { /** * Filters the value of the constant. * - * @since 8.5.0 + * @since 1.2.0 * * @param null The constant value to be filtered. The default is null. * @param String $name The constant name. diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/CHANGELOG.md index 0759e11a9..ebb2e98e7 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.3] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Updated versions in annotations. + ## [1.4.2] - 2021-05-25 ### Changed - Updated package dependencies. @@ -56,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moving jetpack_is_mobile into a package +[1.4.3]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.2...v1.4.3 [1.4.2]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.1...v1.4.2 [1.4.1]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.0...v1.4.1 [1.4.0]: https://github.com/Automattic/jetpack-device-detection/compare/v1.3.2...v1.4.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/src/class-device-detection.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/src/class-device-detection.php index caf789e69..6760c4efe 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/src/class-device-detection.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-device-detection/src/class-device-detection.php @@ -51,7 +51,7 @@ class Device_Detection { /** * Filter the value of Device_Detection::get_info. * - * @since 8.7.0 + * @since 1.0.0 * * @param array $info Array of device information. * @param string $ua User agent string passed to Device_Detection::get_info. diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-error/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-error/CHANGELOG.md index d1f85e1ae..bc33d614e 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-error/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-error/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.6] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + ## [1.3.5] - 2021-05-25 ### Changed - Updated package dependencies. @@ -61,6 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Introduce a jetpack-error package +[1.3.6]: https://github.com/Automattic/jetpack-error/compare/v1.3.5...v1.3.6 [1.3.5]: https://github.com/Automattic/jetpack-error/compare/v1.3.4...v1.3.5 [1.3.4]: https://github.com/Automattic/jetpack-error/compare/v1.3.3...v1.3.4 [1.3.3]: https://github.com/Automattic/jetpack-error/compare/v1.3.2...v1.3.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/CHANGELOG.md index 5a0df4c3e..b256776aa 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.10] - 2021-09-03 +- Clean up doc blocks. + +## [1.3.9] - 2021-08-30 +### Changed +- Updated versions in annotations + ## [1.3.8] - 2021-06-15 ### Changed - Updated package dependencies. @@ -68,6 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use new heartbeat package - Creates the Jetpack Heartbeat package +[1.3.10]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.9...v1.3.10 +[1.3.9]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.8...v1.3.9 [1.3.8]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.7...v1.3.8 [1.3.7]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.6...v1.3.7 [1.3.6]: https://github.com/Automattic/jetpack-heartbeat/compare/v1.3.5...v1.3.6 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php index 6330df9c1..456c71612 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-heartbeat/src/class-heartbeat.php @@ -18,7 +18,8 @@ class Heartbeat { /** * Holds the singleton instance of this class * - * @since 2.3.3 + * @since 1.0.0 + * @since-jetpack 2.3.3 * @var Heartbeat */ private static $instance = false; @@ -33,7 +34,8 @@ class Heartbeat { /** * Singleton * - * @since 2.3.3 + * @since 1.0.0 + * @since-jetpack 2.3.3 * @static * @return Heartbeat */ @@ -48,7 +50,8 @@ class Heartbeat { /** * Constructor for singleton * - * @since 2.3.3 + * @since 1.0.0 + * @since-jetpack 2.3.3 */ private function __construct() { @@ -75,7 +78,8 @@ class Heartbeat { /** * Method that gets executed on the wp-cron call * - * @since 2.3.3 + * @since 1.0.0 + * @since-jetpack 2.3.3 * @global string $wp_version */ public function cron_exec() { @@ -178,7 +182,7 @@ class Heartbeat { * Handles the response for the jetpack.getHeartbeatData xmlrpc method * * @param array $params The parameters received in the request. - * @return array $params all the stats that hearbeat handles. + * @return array $params all the stats that heartbeat handles. */ public static function xmlrpc_data_response( $params = array() ) { // The WordPress XML-RPC server sets a default param of array() diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/CHANGELOG.md index f88567678..2e14dbe19 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.5] - 2021-08-31 +### Changed +- Updated package dependencies. + +## [0.2.4] - 2021-08-30 +### Changed +- Bump changelogger version +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions +- Update to latest webpack, webpack-cli and calypso-build +- Use Node 16.7.0 in tooling. This shouldn't change the behavior of the code itself. + +## [0.2.3] - 2021-08-12 +### Changed +- Updated package dependencies + ## [0.2.2] - 2021-07-27 ### Added - Add jetpack_connection_disconnect_site_wpcom filter. @@ -29,6 +45,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Use Connection/Urls for home_url and site_url functions migrated from Sync. +[0.2.5]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.2.4...v0.2.5 +[0.2.4]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.2.3...v0.2.4 +[0.2.3]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.1.0...v0.2.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar-rtl.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar-rtl.css index d539836d9..cb2ec6706 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar-rtl.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar-rtl.css @@ -15,7 +15,7 @@ #wpadminbar #wp-admin-bar-jetpack-idc .dashicons { color: #1d2327; - font-family: 'dashicons'; + font-family: "dashicons"; } #wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before { @@ -28,4 +28,4 @@ #wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar { background: #f0f0f1; -} +} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar.css index 47a61d0fc..2e0404d57 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-admin-bar.css @@ -15,7 +15,7 @@ #wpadminbar #wp-admin-bar-jetpack-idc .dashicons { color: #1d2327; - font-family: 'dashicons'; + font-family: "dashicons"; } #wpadminbar #wp-admin-bar-jetpack-idc .dashicons:before { @@ -29,5 +29,4 @@ #wpadminbar #wp-admin-bar-jetpack-idc:hover .jp-idc-admin-bar { background: #f0f0f1; } - -/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJqZXRwYWNrLWlkYy1hZG1pbi1iYXIuY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIVxuKiBEbyBub3QgbW9kaWZ5IHRoaXMgZmlsZSBkaXJlY3RseS4gIEl0IGlzIGNvbXBpbGVkIFNBU1MgY29kZS5cbiovXG4jd3AtYWRtaW4tYmFyLWpldHBhY2staWRjLmhpZGUge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4jd3AtYWRtaW4tYmFyLWpldHBhY2staWRjIC5qcC1pZGMtYWRtaW4tYmFyIHtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogMnB4O1xuICBjb2xvcjogIzFkMjMyNztcbiAgcGFkZGluZzogNHB4IDhweDtcbiAgZm9udC1zaXplOiAxMnB4O1xufVxuXG4jd3BhZG1pbmJhciAjd3AtYWRtaW4tYmFyLWpldHBhY2staWRjIC5kYXNoaWNvbnMge1xuICBjb2xvcjogIzFkMjMyNztcbiAgZm9udC1mYW1pbHk6ICdkYXNoaWNvbnMnO1xufVxuXG4jd3BhZG1pbmJhciAjd3AtYWRtaW4tYmFyLWpldHBhY2staWRjIC5kYXNoaWNvbnM6YmVmb3JlIHtcbiAgZm9udC1zaXplOiAxNnB4O1xufVxuXG4jd3BhZG1pbmJhciAjd3AtYWRtaW4tYmFyLWpldHBhY2staWRjOmhvdmVyIC5hYi1pdGVtIHtcbiAgYmFja2dyb3VuZDogaW5oZXJpdDtcbn1cblxuI3dwYWRtaW5iYXIgI3dwLWFkbWluLWJhci1qZXRwYWNrLWlkYzpob3ZlciAuanAtaWRjLWFkbWluLWJhciB7XG4gIGJhY2tncm91bmQ6ICNmMGYwZjE7XG59XG4iXSwiZmlsZSI6ImpldHBhY2staWRjLWFkbWluLWJhci5jc3MifQ== */ +/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJqZXRwYWNrLWlkYy1hZG1pbi1iYXIuY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIVxuKiBEbyBub3QgbW9kaWZ5IHRoaXMgZmlsZSBkaXJlY3RseS4gIEl0IGlzIGNvbXBpbGVkIFNBU1MgY29kZS5cbiovXG4jd3AtYWRtaW4tYmFyLWpldHBhY2staWRjLmhpZGUge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4jd3AtYWRtaW4tYmFyLWpldHBhY2staWRjIC5qcC1pZGMtYWRtaW4tYmFyIHtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogMnB4O1xuICBjb2xvcjogIzFkMjMyNztcbiAgcGFkZGluZzogNHB4IDhweDtcbiAgZm9udC1zaXplOiAxMnB4O1xufVxuXG4jd3BhZG1pbmJhciAjd3AtYWRtaW4tYmFyLWpldHBhY2staWRjIC5kYXNoaWNvbnMge1xuICBjb2xvcjogIzFkMjMyNztcbiAgZm9udC1mYW1pbHk6IFwiZGFzaGljb25zXCI7XG59XG5cbiN3cGFkbWluYmFyICN3cC1hZG1pbi1iYXItamV0cGFjay1pZGMgLmRhc2hpY29uczpiZWZvcmUge1xuICBmb250LXNpemU6IDE2cHg7XG59XG5cbiN3cGFkbWluYmFyICN3cC1hZG1pbi1iYXItamV0cGFjay1pZGM6aG92ZXIgLmFiLWl0ZW0ge1xuICBiYWNrZ3JvdW5kOiBpbmhlcml0O1xufVxuXG4jd3BhZG1pbmJhciAjd3AtYWRtaW4tYmFyLWpldHBhY2staWRjOmhvdmVyIC5qcC1pZGMtYWRtaW4tYmFyIHtcbiAgYmFja2dyb3VuZDogI2YwZjBmMTtcbn0iXSwiZmlsZSI6ImpldHBhY2staWRjLWFkbWluLWJhci5jc3MifQ== */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-rtl.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-rtl.css index c3ef5e248..cae602ed5 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-rtl.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc-rtl.css @@ -35,7 +35,6 @@ https://github.com/thoughtbot/bourbon padding-bottom: 16px; padding-top: 0; } - .jp-idc-notice.is-non-admin { padding-bottom: 0; } @@ -49,7 +48,6 @@ https://github.com/thoughtbot/bourbon margin-top: 48px; } } - .jp-idc-notice p { margin: 0; padding: 0; @@ -63,11 +61,9 @@ https://github.com/thoughtbot/bourbon color: #0087be; text-decoration: none; } - .jp-idc-notice a:not(.dops-notice__action):visited { color: #0087be; } - .jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active { color: #5d9bd0; } @@ -92,7 +88,6 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step { display: none; } - .jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step { display: inline-block; } @@ -139,7 +134,6 @@ https://github.com/thoughtbot/bourbon margin: 4px 0 0; } } - .jp-idc-notice__action { border: 1px solid #eeeeee; border-radius: 4px; @@ -157,21 +151,24 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice__actions { display: flex; } + .jp-idc-notice__action { flex: 1; margin: 0 0 0 8px; } + .jp-idc-notice__action:last-child { margin: 0 8px 0 0; } + .jp-idc-notice__action:first-child { padding-left: 24px; } + .jp-idc-notice__action:last-child { padding-right: 24px; } } - .jp-idc-notice .jp-idc-notice__action__explanation { margin: 0 0 16px 0; } @@ -190,11 +187,11 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice__separator { margin: 0 -12px 0 -12px; } + .jp-idc-notice.is-dismissible .jp-idc-notice__separator { margin-left: -38px; } } - .jp-idc-notice .jp-idc-notice__unsure-prompt { margin: 16px 0 0; } @@ -202,7 +199,6 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice .jp-idc-error__notice { display: none; } - .jp-idc-notice .jp-idc-error__notice .dops-notice__icon { height: auto; width: auto; @@ -212,4 +208,4 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice .jp-idc-error__notice .dops-notice__text { line-height: 24px; } -} +} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc.css b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc.css index ba2793883..134e0ee09 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc.css +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/css/jetpack-idc.css @@ -35,7 +35,6 @@ https://github.com/thoughtbot/bourbon padding-bottom: 16px; padding-top: 0; } - .jp-idc-notice.is-non-admin { padding-bottom: 0; } @@ -49,7 +48,6 @@ https://github.com/thoughtbot/bourbon margin-top: 48px; } } - .jp-idc-notice p { margin: 0; padding: 0; @@ -63,11 +61,9 @@ https://github.com/thoughtbot/bourbon color: #0087be; text-decoration: none; } - .jp-idc-notice a:not(.dops-notice__action):visited { color: #0087be; } - .jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active { color: #5d9bd0; } @@ -92,7 +88,6 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step { display: none; } - .jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step { display: inline-block; } @@ -139,7 +134,6 @@ https://github.com/thoughtbot/bourbon margin: 4px 0 0; } } - .jp-idc-notice__action { border: 1px solid #eeeeee; border-radius: 4px; @@ -157,21 +151,24 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice__actions { display: flex; } + .jp-idc-notice__action { flex: 1; margin: 0 8px 0 0; } + .jp-idc-notice__action:last-child { margin: 0 0 0 8px; } + .jp-idc-notice__action:first-child { padding-right: 24px; } + .jp-idc-notice__action:last-child { padding-left: 24px; } } - .jp-idc-notice .jp-idc-notice__action__explanation { margin: 0 0 16px 0; } @@ -190,11 +187,11 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice__separator { margin: 0 -12px 0 -12px; } + .jp-idc-notice.is-dismissible .jp-idc-notice__separator { margin-right: -38px; } } - .jp-idc-notice .jp-idc-notice__unsure-prompt { margin: 16px 0 0; } @@ -202,7 +199,6 @@ https://github.com/thoughtbot/bourbon .jp-idc-notice .jp-idc-error__notice { display: none; } - .jp-idc-notice .jp-idc-error__notice .dops-notice__icon { height: auto; width: auto; @@ -213,5 +209,4 @@ https://github.com/thoughtbot/bourbon line-height: 24px; } } - -/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJqZXRwYWNrLWlkYy5jc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLyohXG4qIERvIG5vdCBtb2RpZnkgdGhpcyBmaWxlIGRpcmVjdGx5LiAgSXQgaXMgY29tcGlsZWQgU0FTUyBjb2RlLlxuKi9cbkBjaGFyc2V0IFwiVVRGLThcIjtcbi8qXG5UaGUgTUlUIExpY2Vuc2UgKE1JVClcblxuQ29weXJpZ2h0IMKpIDIwMTHigJMyMDE1IHRob3VnaHRib3QsIGluYy5cblxuUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBvZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weSBvZiB0aGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkXG5kb2N1bWVudGF0aW9uIGZpbGVzICh0aGUg4oCcU29mdHdhcmXigJ0pLCB0byBkZWFsIGluIHRoZSBTb2Z0d2FyZSB3aXRob3V0IHJlc3RyaWN0aW9uLCBpbmNsdWRpbmcgd2l0aG91dCBsaW1pdGF0aW9uIHRoZVxucmlnaHRzIHRvIHVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwgcHVibGlzaCwgZGlzdHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwgY29waWVzIG9mIHRoZSBTb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pwLWlkYy1ub3RpY2UgLmpwLWlkYy1ub3RpY2VfX3Vuc3VyZS1wcm9tcHQge1xuICBtYXJnaW46IDE2cHggMCAwO1xufVxuXG4uanAtaWRjLW5vdGljZSAuanAtaWRjLWVycm9yX19ub3RpY2Uge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uanAtaWRjLW5vdGljZSAuanAtaWRjLWVycm9yX19ub3RpY2UgLmRvcHMtbm90aWNlX19pY29uIHtcbiAgaGVpZ2h0OiBhdXRvO1xuICB3aWR0aDogYXV0bztcbn1cblxuQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2ODNweCkge1xuICAuanAtaWRjLW5vdGljZSAuanAtaWRjLWVycm9yX19ub3RpY2UgLmRvcHMtbm90aWNlX190ZXh0IHtcbiAgICBsaW5lLWhlaWdodDogMjRweDtcbiAgfVxufVxuIl0sImZpbGUiOiJqZXRwYWNrLWlkYy5jc3MifQ== */ +/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyJqZXRwYWNrLWlkYy5jc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLyohXG4qIERvIG5vdCBtb2RpZnkgdGhpcyBmaWxlIGRpcmVjdGx5LiAgSXQgaXMgY29tcGlsZWQgU0FTUyBjb2RlLlxuKi9cbkBjaGFyc2V0IFwiVVRGLThcIjtcbi8qXG5UaGUgTUlUIExpY2Vuc2UgKE1JVClcblxuQ29weXJpZ2h0IMKpIDIwMTHigJMyMDE1IHRob3VnaHRib3QsIGluYy5cblxuUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBvZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weSBvZiB0aGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkXG5kb2N1bWVudGF0aW9uIGZpbGVzICh0aGUg4oCcU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cC1pZGMtbm90aWNlX19zZXBhcmF0b3Ige1xuICAgIG1hcmdpbjogMCAtMTJweCAwIC0xMnB4O1xuICB9XG5cbiAgLmpwLWlkYy1ub3RpY2UuaXMtZGlzbWlzc2libGUgLmpwLWlkYy1ub3RpY2VfX3NlcGFyYXRvciB7XG4gICAgbWFyZ2luLXJpZ2h0OiAtMzhweDtcbiAgfVxufVxuLmpwLWlkYy1ub3RpY2UgLmpwLWlkYy1ub3RpY2VfX3Vuc3VyZS1wcm9tcHQge1xuICBtYXJnaW46IDE2cHggMCAwO1xufVxuXG4uanAtaWRjLW5vdGljZSAuanAtaWRjLWVycm9yX19ub3RpY2Uge1xuICBkaXNwbGF5OiBub25lO1xufVxuLmpwLWlkYy1ub3RpY2UgLmpwLWlkYy1lcnJvcl9fbm90aWNlIC5kb3BzLW5vdGljZV9faWNvbiB7XG4gIGhlaWdodDogYXV0bztcbiAgd2lkdGg6IGF1dG87XG59XG5cbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjgzcHgpIHtcbiAgLmpwLWlkYy1ub3RpY2UgLmpwLWlkYy1lcnJvcl9fbm90aWNlIC5kb3BzLW5vdGljZV9fdGV4dCB7XG4gICAgbGluZS1oZWlnaHQ6IDI0cHg7XG4gIH1cbn0iXSwiZmlsZSI6ImpldHBhY2staWRjLmNzcyJ9 */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.asset.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.asset.php index 674c255b1..e126597fc 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.asset.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.asset.php @@ -1 +1 @@ - array(), 'version' => '3216b85b073112653ac299276e708d6d'); \ No newline at end of file + array(), 'version' => '89fd581e2d2e605c58e40bb51d1946c2'); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.js b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.js index 5f433d250..dfa181ba5 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.js +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/build/index.js @@ -1 +1 @@ -!function(e,n){for(var t in n)e[t]=n[t]}(window,function(e){function n(i){if(t[i])return t[i].exports;var c=t[i]={i:i,l:!1,exports:{}};return e[i].call(c.exports,c,c.exports,n),c.l=!0,c.exports}var t={};return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(i,c,function(n){return e[n]}.bind(null,c));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(){!function(e){function n(){l.prop("disabled",!0)}function t(){l.prop("disabled",!1)}function i(){k.hide(),a("confirm_safe_mode"),n(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/confirm-safe-mode",data:{},success:function(){u.hide(),_.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){b="confirm",r(e),t()}})}function c(){k.hide(),a("migrate"),n(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/migrate",data:{},success:function(){u.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){b="migrate",r(e),t()}})}function o(){k.hide(),a("start_fresh"),n(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/start-fresh",data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){b="start-fresh",r(e),t()}})}function r(n){var t=e(".jp-idc-error__desc");n&&n.responseJSON&&n.responseJSON.message?t.html(n.responseJSON.message):t.html(""),k.css("display","flex")}function a(e,n){(void 0===n||"object"!=typeof n)&&(n={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=0===(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?e:"jetpack_idc_"+e,analytics.tracks.recordEvent(e,n),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}var s=idcL10n.nonce,d=idcL10n.currentUrl,f=idcL10n.apiRoot,u=e(".jp-idc-notice"),l=e(".jp-idc-notice .dops-button"),p=idcL10n.tracksUserData,m=idcL10n.tracksEventData,_=e("#wp-admin-bar-jetpack-idc"),j=e("#jp-idc-confirm-safe-mode-action"),h=e("#jp-idc-fix-connection-action"),y=e("#jp-idc-migrate-action"),w=e("#jp-idc-reconnect-site-action"),k=e(".jp-idc-error__notice"),b=!1;"undefined"!=typeof analytics&&analytics.initialize(p.userid,p.username),m.isAdmin?a("notice_view"):a("non_admin_notice_view",{page:m.currentScreen}),function(e){e=void 0!==e&&e,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(a("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",d):e&&(window.location.href=d))}(),u.on("click",".notice-dismiss",(function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),a("non_admin_notice_dismiss",{page:m.currentScreen})})),u.on("click","#jp-idc-error__action",(function(){switch(k.hide(),b){case"confirm":i();break;case"start-fresh":o();break;case"migrate":c()}})),j.on("click",i),h.on("click",(function(){k.hide(),a("fix_connection"),u.addClass("jp-idc-show-second-step")})),w.on("click",o),y.on("click",c)}(jQuery)}])); \ No newline at end of file +(()=>{var e={};!function(e){function i(){l.prop("disabled",!0)}function c(){l.prop("disabled",!1)}function n(){y.hide(),r("confirm_safe_mode"),i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/confirm-safe-mode",data:{},success:function(){p.hide(),m.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){v="confirm",a(e),c()}})}function o(){y.hide(),r("migrate"),i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/migrate",data:{},success:function(){p.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){v="migrate",a(e),c()}})}function t(){y.hide(),r("start_fresh"),i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",s)},url:f+"jetpack/v4/identity-crisis/start-fresh",data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){v="start-fresh",a(e),c()}})}function a(i){var c=e(".jp-idc-error__desc");i&&i.responseJSON&&i.responseJSON.message?c.html(i.responseJSON.message):c.html(""),y.css("display","flex")}function r(e,i){(void 0===i||"object"!=typeof i)&&(i={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=0===(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?e:"jetpack_idc_"+e,analytics.tracks.recordEvent(e,i),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}var s=idcL10n.nonce,d=idcL10n.currentUrl,f=idcL10n.apiRoot,p=e(".jp-idc-notice"),l=e(".jp-idc-notice .dops-button"),u=idcL10n.tracksUserData,_=idcL10n.tracksEventData,m=e("#wp-admin-bar-jetpack-idc"),h=e("#jp-idc-confirm-safe-mode-action"),j=e("#jp-idc-fix-connection-action"),k=e("#jp-idc-migrate-action"),w=e("#jp-idc-reconnect-site-action"),y=e(".jp-idc-error__notice"),v=!1;"undefined"!=typeof analytics&&analytics.initialize(u.userid,u.username),_.isAdmin?r("notice_view"):r("non_admin_notice_view",{page:_.currentScreen}),function(e){e=void 0!==e&&e,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(r("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",d):e&&(window.location.href=d))}(),p.on("click",".notice-dismiss",(function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),r("non_admin_notice_dismiss",{page:_.currentScreen})})),p.on("click","#jp-idc-error__action",(function(){switch(y.hide(),v){case"confirm":n();break;case"start-fresh":t();break;case"migrate":o()}})),h.on("click",n),j.on("click",(function(){y.hide(),r("fix_connection"),p.addClass("jp-idc-show-second-step")})),w.on("click",t),k.on("click",o)}(jQuery);var i=window;for(var c in e)i[c]=e[c];e.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php index f73a21c51..1203971ba 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php @@ -20,14 +20,15 @@ use WP_Error; /** * This class will handle everything involved with fixing an Identity Crisis. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ class Identity_Crisis { /** * Package Version */ - const PACKAGE_VERSION = '0.2.2'; + const PACKAGE_VERSION = '0.2.5'; /** * Instance of the object. @@ -301,9 +302,10 @@ class Identity_Crisis { * Checks whether the sync_error_idc option is valid or not, and if not, will do cleanup. * * @return bool - * @since 5.4.0 Do not call get_sync_error_idc_option() unless site is in IDC + * @since-jetpack 5.4.0 Do not call get_sync_error_idc_option() unless site is in IDC * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ public static function validate_sync_error_idc_option() { $is_valid = false; @@ -335,7 +337,8 @@ class Identity_Crisis { * * @param bool $is_valid If the sync_error_idc is valid or not. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ $is_valid = (bool) apply_filters( 'jetpack_sync_error_idc_validation', $is_valid ); @@ -356,7 +359,8 @@ class Identity_Crisis { * @param string $url URL to parse. * * @return WP_Error|string - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ public static function normalize_url_protocol_agnostic( $url ) { $parsed_url = wp_parse_url( trailingslashit( esc_url_raw( $url ) ) ); @@ -383,8 +387,9 @@ class Identity_Crisis { * @param array $response HTTP response. * * @return array Array of the local urls, wpcom urls, and error code. - * @since 4.4.0 - * @since 5.4.0 Add transient since home/siteurl retrieved directly from DB. + * @since 0.2.0 + * @since-jetpack 4.4.0 + * @since-jetpack 5.4.0 Add transient since home/siteurl retrieved directly from DB. */ public static function get_sync_error_idc_option( $response = array() ) { // Since the local options will hit the database directly, store the values @@ -425,7 +430,8 @@ class Identity_Crisis { * If set to true, the site will be put into staging mode. * * @return bool - * @since 4.3.2 + * @since 0.2.0 + * @since-jetpack 4.3.2 */ public static function sync_idc_optin() { if ( Constants::is_defined( 'JETPACK_SYNC_IDC_OPTIN' ) ) { @@ -441,7 +447,8 @@ class Identity_Crisis { * * @param bool $default Whether the site is opted in to IDC mitigation. * - * @since 4.3.2 + * @since 0.2.0 + * @since-jetpack 4.3.2 */ return (bool) apply_filters( 'jetpack_sync_idc_optin', $default ); } @@ -750,7 +757,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_first_step_header_lead', $html ); } @@ -775,7 +783,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_first_step_header_explanation', $html ); } @@ -801,7 +810,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_confirm_safe_mode_explanation', $html ); } @@ -819,7 +829,8 @@ class Identity_Crisis { * * @param string $string The string to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_confirm_safe_mode_button_text', $string ); } @@ -845,7 +856,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_first_fix_connection_explanation', $html ); } @@ -863,7 +875,8 @@ class Identity_Crisis { * * @param string $string The string to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_first_step_fix_connection_button_text', $string ); } @@ -886,7 +899,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_second_step_header_lead', $string ); } @@ -914,7 +928,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_migrate_site_explanation', $html ); } @@ -932,7 +947,8 @@ class Identity_Crisis { * * @param string $string The string to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_migrate_site_button_text', $string ); } @@ -960,7 +976,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_start_fresh_explanation', $html ); } @@ -978,7 +995,8 @@ class Identity_Crisis { * * @param string $string The string to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_start_fresh_button_text', $string ); } @@ -1003,7 +1021,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_unsure_prompt', $html ); } @@ -1028,7 +1047,8 @@ class Identity_Crisis { * * @param string $html The HTML to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_non_admin_notice_text', $html ); } @@ -1046,7 +1066,8 @@ class Identity_Crisis { * * @param string $string The string to be displayed. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 */ return apply_filters( 'jetpack_idc_non_admin_contact_admin_text', $string ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php index 1361aea1b..d2cd7b87a 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php @@ -15,7 +15,7 @@ use WP_REST_Server; /** * This class will handle Identity Crisis Endpoints * - * @since 9.9.0 + * @since 0.2.0 */ class REST_Endpoints { @@ -62,7 +62,8 @@ class REST_Endpoints { /** * Handles identity crisis mitigation, confirming safe mode for this site. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 * * @return bool | WP_Error True if option is properly set. */ @@ -86,7 +87,8 @@ class REST_Endpoints { /** * Handles identity crisis mitigation, migrating stats and subscribers from old url to this, new url. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 * * @return bool | WP_Error True if option is properly set. */ @@ -120,7 +122,8 @@ class REST_Endpoints { * It will first will disconnect the site without phoning home as to not disturb the production site. * It then builds a fresh connection URL and sends it back along with the response. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 * @return WP_REST_Response|WP_Error */ public static function start_fresh_connection() { @@ -128,7 +131,7 @@ class REST_Endpoints { * Fires when Users have requested through Identity Crisis for the connection to be reset. * Should be used to disconnect any connections and reset options. * - * @since 9.9.0 + * @since 0.2.0 */ do_action( 'jetpack_idc_disconnect' ); @@ -142,7 +145,7 @@ class REST_Endpoints { /** * Filters the connection url that users should be redirected to for re-establishing their connection. * - * @since 9.9.0 + * @since 0.2.0 * * @param WP_REST_Response|WP_Error $connection_url Connection URL user should be redirected to. */ @@ -152,7 +155,8 @@ class REST_Endpoints { /** * Verify that user can mitigate an identity crisis. * - * @since 4.4.0 + * @since 0.2.0 + * @since-jetpack 4.4.0 * * @return bool Whether user has capability 'jetpack_disconnect'. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/CHANGELOG.md index 6253859ea..79d1cf9b9 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/CHANGELOG.md @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.0] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Update annotations versions. +- Updated package dependencies. +- Update to latest webpack, webpack-cli and calypso-build. +- Upgrade to Webpack 5. +- Use Node 16.7.0 in tooling. + +### Removed +- Removed IE11 support. + ## [1.16.2] - 2021-07-27 ### Changed - Updated package dependencies. @@ -288,6 +301,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update Jetpack to use new JITM package +[2.0.0]: https://github.com/Automattic/jetpack-jitm/compare/v1.16.2...v2.0.0 [1.16.2]: https://github.com/Automattic/jetpack-jitm/compare/v1.16.1...v1.16.2 [1.16.1]: https://github.com/Automattic/jetpack-jitm/compare/v1.16.0...v1.16.1 [1.16.0]: https://github.com/Automattic/jetpack-jitm/compare/v1.15.1...v1.16.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php index 6dd56f599..5c021ee42 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-jitm.php @@ -15,11 +15,12 @@ use Automattic\Jetpack\Status; /** * Jetpack just in time messaging through out the admin * - * @since 5.6.0 + * @since 1.1.0 + * @since-jetpack 5.6.0 */ class JITM { - const PACKAGE_VERSION = '1.16.2'; + const PACKAGE_VERSION = '2.0.0'; /** * The configuration method that is called from the jetpack-config package. @@ -70,7 +71,7 @@ class JITM { * Fires when the JITMs are registered. This action is used to ensure that * JITMs are registered only once. * - * @since 9.8.0 + * @since 1.16.0 */ do_action( 'jetpack_registered_jitms' ); } @@ -85,8 +86,9 @@ class JITM { /** * Filter to turn off all just in time messages * - * @since 3.7.0 - * @since 5.4.0 Correct docblock to reflect default arg value + * @since 1.1.0 + * @since-jetpack 3.7.0 + * @since-jetpack 5.4.0 Correct docblock to reflect default arg value * * @param bool true Whether to show just in time messages. */ @@ -105,7 +107,8 @@ class JITM { /** * Prepare actions according to screen and post type. * - * @since 3.8.2 + * @since 1.1.0 + * @since-jetpack 3.8.2 * * @uses Jetpack_Autoupdate::get_possible_failures() * @@ -115,7 +118,7 @@ class JITM { /** * Filter to hide JITMs on certain screens. * - * @since 9.5.0 + * @since 1.14.0 * * @param bool true Whether to show just in time messages. * @param string $string->id The ID of the current screen. @@ -169,7 +172,8 @@ class JITM { /** * Is the current page a block editor page? * - * @since 8.0.0 + * @since 1.1.0 + * @since-jetpack 8.0.0 */ public function is_gutenberg_page() { $current_screen = get_current_screen(); diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php index 4b60ec1a6..3d2bbc60f 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php @@ -18,7 +18,9 @@ use Automattic\Jetpack\Tracking; /** * Jetpack just in time messaging through out the admin * - * @since 5.6.0 + * @since 1.1.0 + * + * @since-jetpack 5.6.0 */ class Post_Connection_JITM extends JITM { @@ -41,7 +43,8 @@ class Post_Connection_JITM extends JITM { /** * Prepare actions according to screen and post type. * - * @since 3.8.2 + * @since 1.1.0 + * @since-jetpack 3.8.2 * * @uses Jetpack_Autoupdate::get_possible_failures() * @@ -394,7 +397,8 @@ class Post_Connection_JITM extends JITM { /** * Filter to turn off jitm caching * - * @since 5.4.0 + * @since 1.1.0 + * @since-jetpack 5.4.0 * * @param bool true Whether to cache just in time messages */ @@ -449,8 +453,9 @@ class Post_Connection_JITM extends JITM { /** * Allow adding your own custom JITMs after a set of JITMs has been received. * - * @since 6.9.0 - * @since 8.3.0 - Added Message path. + * @since 1.1.0 + * @since-jetpack 6.9.0 + * @since-jetpack 8.3.0 - Added Message path. * * @param array $envelopes array of existing JITMs. * @param string $message_path The message path to ask for. diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php index 1903dfd75..6a7798731 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php @@ -26,7 +26,7 @@ class Pre_Connection_JITM extends JITM { * This filter allows plugins to add pre-connection JITMs that will be * displayed by the JITM package. * - * @since 9.6.0 + * @since 1.14.1 * * @param array An array of pre-connection messages. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.min.js b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.min.js index c890e4502..62bf4cf45 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.min.js +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-jitm/src/js/jetpack-jitm.min.js @@ -1 +1 @@ -!function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=0)}([function(t,e){jQuery(document).ready((function(t){var e={default:function(e){var a='
';if(a+='
',a+='
'+e.content.icon+"
",a+='
',a+='
'+e.content.message+"
",e.content.description&&""!==e.content.description){if(a+='
'+e.content.description,e.content.list.length>0){a+='
"}if(a+="
",a+="
",a+='
',e.activate_module&&(a+='"),e.CTA.message){var r="jitm-button is-compact jptracks";e.CTA.primary&&null===e.activate_module&&(r+=" is-primary");var o=e.CTA.ajax_action;a+='
',a+='"+e.CTA.message+"",a+="
"}return a+="
",e.is_dismissible&&(a+=''),t(a+="
")}},a=function(){t(".jetpack-jitm-message").each((function(){var a=t(this),n=a.data("message-path"),i=a.data("query"),r=a.data("redirect"),o=location.hash;"_dashboard"!==(o=o.replace(/#\//,"_"))&&(n=n.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var c=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:n,query:i,full_jp_logo_exists:c,_wpnonce:a.data("nonce")}).then((function(n){"object"==typeof n&&n[1]&&(n=[n[1]]),0!==n.length&&n[0].content&&function(a,n,i){var r;(r=n.template)&&e[r]||(r="default"),n.url=n.url+"&redirect="+i;var o,c=e[r](n);c.find(".jitm-banner__dismiss").click((o=c,function(e){e.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:n.id,feature_class:n.feature_class}})})),t("#jp-admin-notices").length>0?(a.innerHTML=c,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(c),c.prependTo(t("#jp-admin-notices"))):a.replaceWith(c),c.find("#jitm-banner__activate a").click((function(){var e=t(this);if(e.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+e.data("module")+"/active",method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",a.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){c.fadeOut("slow")}),2e3)}))})),c.find(".jitm-button[data-ajax-action]").click((function(e){e.preventDefault();var n=t(this);return n.attr("disabled",!0),t.post(window.ajaxurl,{action:n.data("ajax-action"),_nonce:a.data("ajax-nonce")}).done((function(){c.fadeOut("slow")})).fail((function(){n.attr("disabled",!1)})),!1}))}(a,n[0],r)}))}))};a(),t(window).bind("hashchange",(function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var e=document.querySelector(".jitm-card");e&&e.remove(),a()}}))}))}]); \ No newline at end of file +jQuery(document).ready((function(t){var a={default:function(a){var e='
';if(e+='
',e+='
'+a.content.icon+"
",e+='
',e+='
'+a.content.message+"
",a.content.description&&""!==a.content.description){if(e+='
'+a.content.description,a.content.list.length>0){e+='
"}if(e+="
",e+="
",e+='
',a.activate_module&&(e+='"),a.CTA.message){var c="jitm-button is-compact jptracks";a.CTA.primary&&null===a.activate_module&&(c+=" is-primary");var o=a.CTA.ajax_action;e+='
',e+='"+a.CTA.message+"",e+="
"}return e+="
",a.is_dismissible&&(e+=''),t(e+="
")}},e=function(){t(".jetpack-jitm-message").each((function(){var e=t(this),i=e.data("message-path"),n=e.data("query"),c=e.data("redirect"),o=location.hash;"_dashboard"!==(o=o.replace(/#\//,"_"))&&(i=i.replace("toplevel_page_jetpack","toplevel_page_jetpack"+o));var r=!!t(".jetpack-logo__masthead").length;t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:i,query:n,full_jp_logo_exists:r,_wpnonce:e.data("nonce")}).then((function(i){"object"==typeof i&&i[1]&&(i=[i[1]]),0!==i.length&&i[0].content&&function(e,i,n){var c;(c=i.template)&&a[c]||(c="default"),i.url=i.url+"&redirect="+n;var o,r=a[c](i);r.find(".jitm-banner__dismiss").click((o=r,function(a){a.preventDefault(),o.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",window.jitm_config.nonce)},data:{id:i.id,feature_class:i.feature_class}})})),t("#jp-admin-notices").length>0?(e.innerHTML=r,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(r),r.prependTo(t("#jp-admin-notices"))):e.replaceWith(r),r.find("#jitm-banner__activate a").click((function(){var a=t(this);if(a.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+a.data("module")+"/active",method:"POST",beforeSend:function(a){a.setRequestHeader("X-WP-Nonce",e.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done((function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout((function(){r.fadeOut("slow")}),2e3)}))})),r.find(".jitm-button[data-ajax-action]").click((function(a){a.preventDefault();var i=t(this);return i.attr("disabled",!0),t.post(window.ajaxurl,{action:i.data("ajax-action"),_nonce:e.data("ajax-nonce")}).done((function(){r.fadeOut("slow")})).fail((function(){i.attr("disabled",!1)})),!1}))}(e,i[0],c)}))}))};e(),t(window).bind("hashchange",(function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var a=document.querySelector(".jitm-card");a&&a.remove(),e()}}))})); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/CHANGELOG.md index 86fad0313..a94279a81 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.0] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Update annotations versions. +- Update to latest webpack, webpack-cli and calypso-build. +- Use Node 16.7.0 in tooling. This shouldn't change the behavior of the code itself. + +### Removed +- Removed IE11 support. + +## [1.5.1] - 2021-08-10 +### Changed +- Updated package dependencies + ## [1.5.0] - 2021-06-29 ### Changed - Build using calypso-build, and use the intersection-observer npm module instead of bundling a copy. @@ -92,6 +107,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Lazy Images: Move into a package +[2.0.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.5.1...v2.0.0 +[1.5.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.4...v1.5.0 [1.4.4]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.3...v1.4.4 [1.4.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.2...v1.4.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/dist/intersection-observer.js b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/dist/intersection-observer.js index fcf8667ba..78d37b92e 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/dist/intersection-observer.js +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/dist/intersection-observer.js @@ -1 +1 @@ -!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([,function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),u(t,"resize",o,!0)),u(e,"scroll",o,!0),s&&s.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=c){var a=i(e);a&&this._monitorIntersections(a.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==e)return!0}return!1}))){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),e!=o){var s=i(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!v)break;b=b&&p(b)}return v}},s.prototype._getRootRect=function(){var e;if(this.root&&!d(this.root))e=c(this.root);else{var n=d(this.root)?this.root:t,o=n.documentElement,i=n.body;e={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i0}});else{var t=function(t){for(var e=window.document,o=i(e);o;)o=i(e=o.ownerDocument);return e}(),e=[],o=null,n=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(t,o){n=t&&o?l(t,o):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,n=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,o){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==o[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var o=e.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=o.setInterval(n,this.POLL_INTERVAL):(h(o,"resize",n,!0),h(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(s=new o.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),u(t,"resize",n,!0)),u(e,"scroll",n,!0),s&&s.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=c){var a=i(e);a&&this._monitorIntersections(a.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var o=this._monitoringDocuments.indexOf(e);if(-1!=o){var n=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==e)return!0;for(;o&&o!=n;){var r=i(o);if((o=r&&r.ownerDocument)==e)return!0}return!1}))){var r=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),r(),e!=n){var s=i(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!v)break;_=_&&p(_)}return v}},s.prototype._getRootRect=function(){var e;if(this.root&&!d(this.root))e=c(this.root);else{var o=d(this.root)?this.root:t,n=o.documentElement,i=o.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,o){return"px"==e.unit?e.value:e.value*(o%2?t.width:t.height)/100})),o={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return o.width=o.right-o.left,o.height=o.bottom-o.top,o},s.prototype._hasCrossedThreshold=function(t,e){var o=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i0;)s(e[0])}function l(t){for(var a=0;a0&&(n.unobserve(r.target),s(r.target))}0===e.length&&n.disconnect()}function c(){if(!t&&(e.length>0||r.length>0)){(t=document.createElement("div")).id="loadingWarning",t.style.fontWeight="bold",t.innerText=jetpackLazyImagesL10n.loading_warning;var n=document.createElement("style");n.innerHTML="#loadingWarning { display: none; }\n@media print {\n#loadingWarning { display: block; }\nbody > #loadingWarning ~ * { display: none !important; }\n}",t.appendChild(n),i.insertBefore(t,i.firstChild)}e.length>0&&d(),t&&alert(jetpackLazyImagesL10n.loading_warning)}function s(t){var n;if(t instanceof HTMLImageElement){var a=t.getAttribute("data-lazy-srcset"),i=t.getAttribute("data-lazy-sizes");t.removeAttribute("data-lazy-srcset"),t.removeAttribute("data-lazy-sizes"),t.removeAttribute("data-lazy-src"),t.classList.add("jetpack-lazy-image--handled"),t.setAttribute("data-lazy-loaded",1),i&&t.setAttribute("sizes",i),a?t.setAttribute("srcset",a):t.removeAttribute("srcset"),t.setAttribute("loading","eager"),r.push(t);var o=e.indexOf(t);o>=0&&e.splice(o,1),t.complete?u.call(t,null):(t.addEventListener("load",u,{once:!0}),t.addEventListener("error",u,{once:!0}));try{n=new Event("jetpack-lazy-loaded-image",{bubbles:!0,cancelable:!0})}catch(d){(n=document.createEvent("Event")).initEvent("jetpack-lazy-loaded-image",!0,!0)}t.dispatchEvent(n)}}function u(){var n=r.indexOf(this);n>=0&&r.splice(n,1),t&&0===e.length&&0===r.length&&(t.parentNode.removeChild(t),t=null)}i&&(i.addEventListener("is.post-load",o),i.addEventListener("jetpack-lazy-images-load",o))};"interactive"===document.readyState||"complete"===document.readyState?n():document.addEventListener("DOMContentLoaded",n)}])); \ No newline at end of file +!function(){var e={},t=function(){var e,t,n,a={rootMargin:"200px 0px",threshold:.01},i=[];d();var r=document.querySelector("body");function d(){e=[].slice.call(document.querySelectorAll("img.jetpack-lazy-image:not(.jetpack-lazy-image--handled)")),n&&n.disconnect(),"IntersectionObserver"in window?(n=new IntersectionObserver(l,a),e.forEach((function(e){e.getAttribute("data-lazy-loaded")||n.observe(e)})),window.addEventListener("beforeprint",c),window.matchMedia&&window.matchMedia("print").addListener((function(e){e.matches&&c()}))):o()}function o(){for(n&&n.disconnect();e.length>0;)s(e[0])}function l(t){for(var a=0;a0&&(n.unobserve(i.target),s(i.target))}0===e.length&&n.disconnect()}function c(){if(!t&&(e.length>0||i.length>0)){(t=document.createElement("div")).id="loadingWarning",t.style.fontWeight="bold",t.innerText=jetpackLazyImagesL10n.loading_warning;var n=document.createElement("style");n.innerHTML="#loadingWarning { display: none; }\n@media print {\n#loadingWarning { display: block; }\nbody > #loadingWarning ~ * { display: none !important; }\n}",t.appendChild(n),r.insertBefore(t,r.firstChild)}e.length>0&&o(),t&&alert(jetpackLazyImagesL10n.loading_warning)}function s(t){var n;if(t instanceof HTMLImageElement){var a=t.getAttribute("data-lazy-srcset"),r=t.getAttribute("data-lazy-sizes");t.removeAttribute("data-lazy-srcset"),t.removeAttribute("data-lazy-sizes"),t.removeAttribute("data-lazy-src"),t.classList.add("jetpack-lazy-image--handled"),t.setAttribute("data-lazy-loaded",1),r&&t.setAttribute("sizes",r),a?t.setAttribute("srcset",a):t.removeAttribute("srcset"),t.setAttribute("loading","eager"),i.push(t);var d=e.indexOf(t);d>=0&&e.splice(d,1),t.complete?g.call(t,null):(t.addEventListener("load",g,{once:!0}),t.addEventListener("error",g,{once:!0}));try{n=new Event("jetpack-lazy-loaded-image",{bubbles:!0,cancelable:!0})}catch(o){(n=document.createEvent("Event")).initEvent("jetpack-lazy-loaded-image",!0,!0)}t.dispatchEvent(n)}}function g(){var n=i.indexOf(this);n>=0&&i.splice(n,1),t&&0===e.length&&0===i.length&&(t.parentNode.removeChild(t),t=null)}r&&(r.addEventListener("is.post-load",d),r.addEventListener("jetpack-lazy-images-load",d))};"interactive"===document.readyState||"complete"===document.readyState?t():document.addEventListener("DOMContentLoaded",t);var n=window;for(var a in e)n[a]=e[a];e.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})}(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/lazy-images.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/lazy-images.php index 74e6b3874..e6b006568 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/lazy-images.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/lazy-images.php @@ -3,7 +3,8 @@ /** * The Lazy Images package. * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 * * This package has been lifted from the Jetpack modules folder and adapted to be * an standalone package reusable outside Jetpack. @@ -26,14 +27,16 @@ namespace Automattic\Jetpack; /** * Class Automattic\Jetpack\Jetpack_Lazy_Images * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 */ class Jetpack_Lazy_Images { /** * The assets version. * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 * * @var string Assets version. */ @@ -42,7 +45,8 @@ class Jetpack_Lazy_Images { /** * Class instance. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @var null */ @@ -51,7 +55,8 @@ class Jetpack_Lazy_Images { /** * Singleton implementation. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return object The class instance. */ @@ -66,7 +71,8 @@ class Jetpack_Lazy_Images { /** * Check if the request is a AMP request. * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 * * @return bool */ @@ -76,7 +82,8 @@ class Jetpack_Lazy_Images { /** * Returns true if the current request should return valid AMP content. * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 * * @param boolean $is_amp_request Is this request supposed to return valid AMP content? */ @@ -86,7 +93,8 @@ class Jetpack_Lazy_Images { /** * Registers actions. * - * @since 8.8 + * @since 1.0.0 + * @since-jetpack 8.8.0 * * @return void */ @@ -103,7 +111,8 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param bool true Whether lazy image loading should occur. */ @@ -128,7 +137,8 @@ class Jetpack_Lazy_Images { /** * Setup filters. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return void */ @@ -144,7 +154,8 @@ class Jetpack_Lazy_Images { /** * Remove filters. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return void */ @@ -160,7 +171,8 @@ class Jetpack_Lazy_Images { /** * Ensure that our lazy image attributes are not filtered out of image tags. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param array $allowed_tags The allowed tags and their attributes. * @return array @@ -188,7 +200,8 @@ class Jetpack_Lazy_Images { /** * Add image placeholders. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param string $content Content. * @return string @@ -214,7 +227,8 @@ class Jetpack_Lazy_Images { * Returns true when a given string of classes contains a class signifying lazy images. * should not process the image. * - * @since 5.9.0 + * @since 1.0.0 + * @since-jetpack 5.9.0 * * @param string $classes A string of space-separated classes. * @return bool @@ -230,8 +244,9 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @since 5.9.0 - * @deprecated 8.7.0 Use jetpack_lazy_images_blocked_classes + * @since 1.0.0 + * @since-jetpack 5.9.0 + * @deprecated-jetpack 8.7.0 Use jetpack_lazy_images_blocked_classes * * @param array An array of strings where each string is a class. */ @@ -242,7 +257,8 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @since 8.7.0 + * @since 1.0.0 + * @since-jetpack 8.7.0 * * @param array An array of strings where each string is a class. */ @@ -264,7 +280,8 @@ class Jetpack_Lazy_Images { /** * Processes images in content by acting as the preg_replace_callback. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param array $matches Matches. * @@ -295,7 +312,8 @@ class Jetpack_Lazy_Images { * Given an array of image attributes, updates the `src`, `srcset`, and `sizes` attributes so * that they load lazily. * - * @since 5.7.0 + * @since 1.0.0 + * @since-jetpack 5.7.0 * * @param array $attributes Attributes. * @@ -319,8 +337,9 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @deprecated 6.5.0 Use jetpack_lazy_images_skip_image_with_attributes instead. - * @since 5.9.0 + * @since 1.0.0 + * @since-jetpack 5.9.0 + * @deprecated-jetpack 6.5.0 Use jetpack_lazy_images_skip_image_with_attributes instead. * * @param bool Default to not skip processing the current image. * @param array An array of attributes via wp_kses_hair() for the current image. @@ -334,8 +353,9 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @since 6.5.0 Filter name was updated from jetpack_lazy_images_skip_image_with_atttributes to correct typo. - * @since 5.9.0 + * @since 1.0.0 + * @since-jetpack 5.9.0 + * @since-jetpack 6.5.0 Filter name was updated from jetpack_lazy_images_skip_image_with_atttributes to correct typo. * * @param bool Default to not skip processing the current image. * @param array An array of attributes via wp_kses_hair() for the current image. @@ -376,7 +396,8 @@ class Jetpack_Lazy_Images { * * @package automattic/jetpack-lazy-images * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param array An array containing the attributes for the image, where the key is the attribute name * and the value is the attribute value. @@ -388,7 +409,8 @@ class Jetpack_Lazy_Images { * Adds JavaScript to check if the current browser supports JavaScript as well as some styles to hide lazy * images when the browser does not support JavaScript. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return void */ @@ -411,7 +433,8 @@ class Jetpack_Lazy_Images { /** * Retrieves the placeholder image after running it through the lazyload_images_placeholder_image filter. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return string The placeholder image source. */ @@ -424,8 +447,9 @@ class Jetpack_Lazy_Images { * * @module lazy-images * - * @since 5.6.0 - * @since 6.5.0 Default image is now a base64 encoded transparent gif. + * @since 1.0.0 + * @since-jetpack 5.6.0 + * @since-jetpack 6.5.0 Default image is now a base64 encoded transparent gif. * * @param string The URL to the placeholder image. */ @@ -438,7 +462,8 @@ class Jetpack_Lazy_Images { /** * Flatter KSES hair data. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param array $attributes Attributes. * @@ -455,7 +480,8 @@ class Jetpack_Lazy_Images { /** * Build attributes string. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @param array $attributes Attributes. * @@ -476,7 +502,8 @@ class Jetpack_Lazy_Images { /** * Enqueue assets. * - * @since 5.6.0 + * @since 1.0.0 + * @since-jetpack 5.6.0 * * @return void */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/webpack.config.js b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/webpack.config.js new file mode 100644 index 000000000..4b35a3e57 --- /dev/null +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/webpack.config.js @@ -0,0 +1,31 @@ +/** + * External dependencies + */ +const getBaseWebpackConfig = require( '@automattic/calypso-build/webpack.config.js' ); +const path = require( 'path' ); + +const baseConfig = getBaseWebpackConfig( + { WP: false }, + { + entry: {}, // We'll override later + 'output-filename': '[name].js', + 'output-path': path.join( __dirname, './dist' ), + } +); + +module.exports = [ + { + ...baseConfig, + resolve: { + ...baseConfig.resolve, + modules: [ 'node_modules' ], + }, + entry: { + 'lazy-images': path.join( __dirname, './src/js/lazy-images.js' ), + 'intersection-observer': path.join( + __dirname, + './node_modules/intersection-observer/intersection-observer.js' + ), + }, + }, +]; diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/CHANGELOG.md index 922a94c9a..b68d5982a 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.5] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- Updated versions in annotations. + ## [1.4.4] - 2021-07-27 ### Changed - Updated package dependencies. @@ -101,6 +107,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Licensing: Add support for Jetpack licenses +[1.4.5]: https://github.com/Automattic/jetpack-licensing/compare/v1.4.4...v1.4.5 [1.4.4]: https://github.com/Automattic/jetpack-licensing/compare/v1.4.3...v1.4.4 [1.4.3]: https://github.com/Automattic/jetpack-licensing/compare/v1.4.2...v1.4.3 [1.4.2]: https://github.com/Automattic/jetpack-licensing/compare/v1.4.1...v1.4.2 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/src/class-licensing.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/src/class-licensing.php index a9903e8b0..7263a35b9 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/src/class-licensing.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-licensing/src/class-licensing.php @@ -16,7 +16,7 @@ use WP_Error; * Class Licensing. * Helper class that is responsible for attaching licenses to the current site. * - * @since 9.0.0 + * @since 1.1.1 */ class Licensing { /** @@ -236,14 +236,14 @@ class Licensing { /** * Is the current user allowed to use the Licensing Input UI? * - * @since 9.6.0 + * @since 1.4.0 * @return bool */ public static function is_licensing_input_enabled() { /** * Filter that checks if the user is allowed to see the Licensing UI. `true` enables it. * - * @since 9.6.0 + * @since 1.4.0 * * @param bool False by default. */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/CHANGELOG.md index 3b91d8ac2..cb9f18889 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.6] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + ## [1.5.5] - 2021-05-25 ### Changed - Updated package dependencies. @@ -74,6 +80,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Add a basic Jetpack Logo package +[1.5.6]: https://github.com/Automattic/jetpack-logo/compare/v1.5.5...v1.5.6 [1.5.5]: https://github.com/Automattic/jetpack-logo/compare/v1.5.4...v1.5.5 [1.5.4]: https://github.com/Automattic/jetpack-logo/compare/v1.5.3...v1.5.4 [1.5.3]: https://github.com/Automattic/jetpack-logo/compare/v1.5.2...v1.5.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php index 02f3c8a80..45e4e4cbc 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-logo/src/class-logo.php @@ -45,7 +45,8 @@ class Logo { /** * Return string containing the Jetpack logo. * - * @since 7.5.0 + * @since 1.1.4 + * @since-jetpack 7.5.0 * * @param bool $logotype Should we use the full logotype (logo + text). Default to false. * diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/CHANGELOG.md index 4c97f4025..241b45af1 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.13.1] - 2021-08-30 +### Changed +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + ## [1.13.0] - 2021-06-15 ### Changed - Added 'purchaseToken' option for logged out user purchases on WordPress.com. @@ -111,6 +116,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release +[1.13.1]: https://github.com/Automattic/jetpack-options/compare/v1.13.0...v1.13.1 [1.13.0]: https://github.com/Automattic/jetpack-options/compare/v1.12.1...v1.13.0 [1.12.1]: https://github.com/Automattic/jetpack-options/compare/v1.12.0...v1.12.1 [1.12.0]: https://github.com/Automattic/jetpack-options/compare/v1.11.4...v1.12.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php index b045d51fb..0b9860c2c 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-options/legacy/class-jetpack-options.php @@ -188,7 +188,7 @@ class Jetpack_Options { * Filter Jetpack Options. * Can be useful in environments when Jetpack is running with a different setup * - * @since 8.8.0 + * @since 1.7.0 * * @param string $value The value from the database. * @param string $name Option name, _without_ `jetpack_%` prefix. @@ -286,7 +286,8 @@ class Jetpack_Options { /** * Fires before Jetpack updates a specific option. * - * @since 3.0.0 + * @since 1.1.2 + * @since-jetpack 3.0.0 * * @param str $name The name of the option being updated. * @param mixed $value The new value of the option. @@ -482,7 +483,8 @@ class Jetpack_Options { /** * Gets an option via $wpdb query. * - * @since 5.4.0 + * @since 1.1.2 + * @since-jetpack 5.4.0 * * @param string $name Option name. * @param mixed $default Default option value if option is not found. @@ -526,7 +528,8 @@ class Jetpack_Options { /** * Allows to disable particular raw options. * - * @since 5.5.0 + * @since 1.1.2 + * @since-jetpack 5.5.0 * * @param array $disabled_raw_options An array of option names that you can selectively blocklist from being managed via direct database queries. */ @@ -537,7 +540,8 @@ class Jetpack_Options { /** * Gets all known options that are used by Jetpack and managed by Jetpack_Options. * - * @since 5.4.0 + * @since 1.1.2 + * @since-jetpack 5.4.0 * * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com. * @return array An array of all options managed via the Jetpack_Options class. @@ -581,7 +585,8 @@ class Jetpack_Options { /** * Get all options that are not managed by the Jetpack_Options class that are used by Jetpack. * - * @since 5.4.0 + * @since 1.1.2 + * @since-jetpack 5.4.0 * * @return array */ @@ -635,7 +640,8 @@ class Jetpack_Options { /** * Gets all options that can be safely reset by CLI. * - * @since 5.4.0 + * @since 1.1.2 + * @since-jetpack 5.4.0 * * @return array array Associative array containing jp_options which are managed by the Jetpack_Options class and wp_options which are not. */ @@ -655,7 +661,8 @@ class Jetpack_Options { /** * Delete all known options * - * @since 5.4.0 + * @since 1.1.2 + * @since-jetpack 5.4.0 * * @return void */ diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/CHANGELOG.md index c5e36ecfe..98362bd60 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.2] - 2021-08-31 +### Changed +- Run composer update on test-php command instead of phpunit. +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions. + ## [1.5.1] - 2021-05-25 ### Changed - Updated package dependencies. @@ -68,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add partner subsidiary id to upgrade URLs. +[1.5.2]: https://github.com/Automattic/jetpack-partner/compare/v1.5.1...v1.5.2 [1.5.1]: https://github.com/Automattic/jetpack-partner/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/Automattic/jetpack-partner/compare/v1.4.3...v1.5.0 [1.4.3]: https://github.com/Automattic/jetpack-partner/compare/v1.4.2...v1.4.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php index 135838dd0..bec501bcc 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-partner/src/class-partner.php @@ -10,7 +10,7 @@ namespace Automattic\Jetpack; /** * This class introduces functionality used by Jetpack hosting partners. * - * @since 8.1.0 + * @since 1.0.0 */ class Partner { @@ -27,7 +27,7 @@ class Partner { /** * Singleton instance. * - * @since 8.1.0 + * @since 1.0.0 * * @var Partner This class instance. */ @@ -43,7 +43,7 @@ class Partner { * Initializes the class or returns the singleton. * * @return Partner | false - * @since 8.1.0 + * @since 1.0.0 */ public static function init() { if ( is_null( self::$instance ) ) { @@ -88,7 +88,7 @@ class Partner { * @param array $params The parameters array. * * @return array - * @since 9.7.0 + * @since 1.5.0 */ public function add_subsidiary_id_to_params_array( $params ) { if ( ! is_array( $params ) ) { @@ -103,7 +103,7 @@ class Partner { * @param array $params The parameters array. * * @return array - * @since 9.7.0 + * @since 1.5.0 */ public function add_affiliate_code_to_params_array( $params ) { if ( ! is_array( $params ) ) { @@ -119,7 +119,7 @@ class Partner { * @param string $url The URL where the partner subsidiary id will be added. * * @return string The passed URL with the partner code added. - * @since 8.1.0 + * @since 1.0.0 */ public function add_code_as_query_arg( $type, $url ) { return add_query_arg( $this->get_code_as_array( $type ), $url ); @@ -130,7 +130,7 @@ class Partner { * * @param string $type The partner code. * @return array - * @since 9.7.0 + * @since 1.5.0 */ private function get_code_as_array( $type ) { switch ( $type ) { @@ -159,7 +159,7 @@ class Partner { * @param string $type This can be either 'affiliate' or 'subsidiary'. Returns empty string when code is unknown. * * @return string The partner code. - * @since 8.1.0 + * @since 1.0.0 */ public function get_partner_code( $type ) { switch ( $type ) { @@ -169,7 +169,8 @@ class Partner { * * @param string $affiliate_code The affiliate code, blank by default. * - * @since 6.9.0 + * @since 1.0.0 + * @since-jetpack 6.9.0 */ return apply_filters( 'jetpack_affiliate_code', get_option( 'jetpack_affiliate_code', '' ) ); case self::SUBSIDIARY_CODE: @@ -178,7 +179,7 @@ class Partner { * * @param string $subsidiary_id The partner subsidiary id, blank by default. * - * @since 8.1.0 + * @since 1.0.0 */ return apply_filters( 'jetpack_partner_subsidiary_id', diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-password-checker/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-password-checker/CHANGELOG.md index 0ed7f019a..06f898e3b 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-password-checker/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-password-checker/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.3] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + ## [0.1.2] - 2021-05-25 ### Fixed - Avoid checking in vendor directory. @@ -20,5 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in. +[0.1.3]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/Automattic/jetpack-password-checker/compare/v0.1.0...v0.1.1 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-redirect/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-redirect/CHANGELOG.md index a7b9d6074..21c1adc36 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-redirect/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-redirect/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.7.1] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + ## [1.7.0] - 2021-06-29 ### Changed - Allow any argument to be passed. @@ -79,6 +84,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Create Jetpack Redirect package +[1.7.1]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.0...v1.7.1 [1.7.0]: https://github.com/Automattic/jetpack-redirect/compare/v1.6.1...v1.7.0 [1.6.1]: https://github.com/Automattic/jetpack-redirect/compare/v1.6.0...v1.6.1 [1.6.0]: https://github.com/Automattic/jetpack-redirect/compare/v1.5.5...v1.6.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-roles/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-roles/CHANGELOG.md index 312e2ea77..f8765688c 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-roles/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-roles/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.6] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + ## [1.4.5] - 2021-05-25 ### Changed - Updated package dependencies. @@ -72,6 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Jetpack DNA: Introduce a Roles package +[1.4.6]: https://github.com/Automattic/jetpack-roles/compare/v1.4.5...v1.4.6 [1.4.5]: https://github.com/Automattic/jetpack-roles/compare/v1.4.4...v1.4.5 [1.4.4]: https://github.com/Automattic/jetpack-roles/compare/v1.4.3...v1.4.4 [1.4.3]: https://github.com/Automattic/jetpack-roles/compare/v1.4.2...v1.4.3 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/CHANGELOG.md index f804a1da7..fd5ea57ec 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.8.1] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + ## [1.8.0] - 2021-06-15 ### Changed - Update callback to Jetpack to new Identity_Crisis class. @@ -102,6 +108,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Introduce a status package +[1.8.1]: https://github.com/Automattic/jetpack-status/compare/v1.8.0...v1.8.1 [1.8.0]: https://github.com/Automattic/jetpack-status/compare/v1.7.6...v1.8.0 [1.7.6]: https://github.com/Automattic/jetpack-status/compare/v1.7.5...v1.7.6 [1.7.5]: https://github.com/Automattic/jetpack-status/compare/v1.7.4...v1.7.5 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php index f71eec04d..ab5f2a98f 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-status/src/class-status.php @@ -18,12 +18,12 @@ class Status { /** * Is Jetpack in development (offline) mode? * - * @deprecated 8.8.0 Use Status->is_offline_mode(). + * @deprecated 1.3.0 Use Status->is_offline_mode(). * * @return bool Whether Jetpack's offline mode is active. */ public function is_development_mode() { - _deprecated_function( __FUNCTION__, 'Jetpack 8.8.0', 'Automattic\Jetpack\Status->is_offline_mode' ); + _deprecated_function( __FUNCTION__, '1.3.0', 'Automattic\Jetpack\Status->is_offline_mode' ); return $this->is_offline_mode(); } @@ -32,7 +32,7 @@ class Status { * * This was formerly called "Development Mode", but sites "in development" aren't always offline/localhost. * - * @since 8.8.0 + * @since 1.3.0 * * @return bool Whether Jetpack's offline mode is active. */ @@ -53,12 +53,13 @@ class Status { * @see https://jetpack.com/support/development-mode/ * @todo Update documentation ^^. * - * @since 2.2.1 - * @deprecated 8.8.0 + * @since 1.1.1 + * @since-jetpack 2.2.1 + * @deprecated 1.3.0 * * @param bool $offline_mode Is Jetpack's offline mode active. */ - $offline_mode = (bool) apply_filters_deprecated( 'jetpack_development_mode', array( $offline_mode ), '8.8.0', 'jetpack_offline_mode' ); + $offline_mode = (bool) apply_filters_deprecated( 'jetpack_development_mode', array( $offline_mode ), '1.3.0', 'jetpack_offline_mode' ); /** * Filters Jetpack's offline mode. @@ -66,7 +67,7 @@ class Status { * @see https://jetpack.com/support/development-mode/ * @todo Update documentation ^^. * - * @since 8.8.0 + * @since 1.3.0 * * @param bool $offline_mode Is Jetpack's offline mode active. */ @@ -80,13 +81,13 @@ class Status { * * This will make Jetpack act as if there were no connected users, but only a site connection (aka blog token) * - * @since 9.2.0 - * @deprecated 9.7.0 Since this version, Jetpack connection is considered active after registration, making no_user_testing_mode obsolete. + * @since 1.6.0 + * @deprecated 1.7.5 Since this version, Jetpack connection is considered active after registration, making no_user_testing_mode obsolete. * * @return bool Whether Jetpack's No User Testing Mode is active. */ public function is_no_user_testing_mode() { - _deprecated_function( __METHOD__, 'jetpack-9.7.0' ); + _deprecated_function( __METHOD__, '1.7.5' ); return true; } @@ -132,7 +133,7 @@ class Status { /** * If the site is a local site. * - * @since 8.8.0 + * @since 1.3.0 * * @return bool */ @@ -168,7 +169,7 @@ class Status { /** * Filters is_local_site check. * - * @since 8.8.0 + * @since 1.3.0 * * @param bool $is_local If the current site is a local site. */ @@ -212,7 +213,8 @@ class Status { /** * Filters the flags of known staging sites. * - * @since 3.9.0 + * @since 1.1.1 + * @since-jetpack 3.9.0 * * @param array $known_staging { * An array of arrays that each are used to check if the current site is staging. @@ -247,7 +249,8 @@ class Status { /** * Filters is_staging_site check. * - * @since 3.9.0 + * @since 1.1.1 + * @since-jetpack 3.9.0 * * @param bool $is_staging If the current site is a staging site. */ @@ -259,7 +262,7 @@ class Status { * * Strips http:// or https:// from a url, replaces forward slash with ::. * - * @since 9.2.0 + * @since 1.6.0 * * @param string $url Optional. URL to build the site suffix from. Default: Home URL. * diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/CHANGELOG.md index 338912809..ccad9d1d3 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/CHANGELOG.md @@ -5,7 +5,31 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.26.1] - 2021-09-03 +### Fixed +- Add better checks if the WooCommerce tables should be enabled for checksum/fix. +- Prevent PHP notices on queue_pull if all args are not set. + +## [1.26.0] - 2021-08-30 +### Added +- Add support for WooCommerce table to the checksum/fix process. +- Enable support for utf8 conversion during checksum calculation. + +### Changed +- Don't run composer install on regular phpunit script +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). + +### Fixed +- Sync Checksums - ensure last object is included in histogram + +## [1.25.0] - 2021-08-12 +### Added +- Add package version tracking. +- Add `wpcom_is_fse_activated` to sync list +- Made /sync/object endpoint accessible over POST, not only GET, to allow fetching more items in a single request. + ## [1.24.2] - 2021-08-02 + - Reverted: Sync option for the Carousel to display colorized slide background. ## [1.24.1] - 2021-07-29 @@ -443,6 +467,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Move sync to a classmapped package +[1.26.1]: https://github.com/Automattic/jetpack-sync/compare/v1.26.0...v1.26.1 +[1.26.0]: https://github.com/Automattic/jetpack-sync/compare/v1.25.0...v1.26.0 +[1.25.0]: https://github.com/Automattic/jetpack-sync/compare/v1.24.2...v1.25.0 [1.24.2]: https://github.com/Automattic/jetpack-sync/compare/v1.24.1...v1.24.2 [1.24.1]: https://github.com/Automattic/jetpack-sync/compare/v1.24.0...v1.24.1 [1.24.0]: https://github.com/Automattic/jetpack-sync/compare/v1.23.3...v1.24.0 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php index 675c5fb50..ba3b1cbc1 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-defaults.php @@ -168,6 +168,7 @@ class Defaults { 'wp_mobile_featured_images', 'wp_mobile_app_promos', 'wp_page_for_privacy_policy', + 'wpcom_is_fse_activated', 'wpcom_publish_posts_with_markdown', 'wpcom_publish_comments_with_markdown', ); diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php index efdce32b8..1fb5aa443 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-main.php @@ -36,6 +36,9 @@ class Main { // Initialize Identity Crisis. add_action( 'plugins_loaded', array( 'Automattic\\Jetpack\\Identity_Crisis', 'init' ) ); + + // Set up package version hook. + add_filter( 'jetpack_package_versions', __NAMESPACE__ . '\Package_Version::send_package_version_to_tracker' ); } /** diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php index bddae9392..d2dc732ff 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-package-version.php @@ -12,5 +12,19 @@ namespace Automattic\Jetpack\Sync; */ class Package_Version { - const PACKAGE_VERSION = '1.24.2'; + const PACKAGE_VERSION = '1.26.1'; + + const PACKAGE_SLUG = 'sync'; + + /** + * Adds the package slug and version to the package version tracker's data. + * + * @param array $package_versions The package version array. + * + * @return array The packge version array. + */ + public static function send_package_version_to_tracker( $package_versions ) { + $package_versions[ self::PACKAGE_SLUG ] = self::PACKAGE_VERSION; + return $package_versions; + } } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php index c584e3332..840ce4346 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-replicastore.php @@ -1171,18 +1171,20 @@ class Replicastore implements Replicastore_Interface { * * @access public * + * @param boolean $perform_text_conversion If text fields should be UTF8 converted. + * * @return array Checksums. */ - public function checksum_all() { - $post_checksum = $this->checksum_histogram( 'posts' ); - $comments_checksum = $this->checksum_histogram( 'comments' ); - $post_meta_checksum = $this->checksum_histogram( 'postmeta' ); - $comment_meta_checksum = $this->checksum_histogram( 'commentmeta' ); - $terms_checksum = $this->checksum_histogram( 'terms' ); - $term_relationships_checksum = $this->checksum_histogram( 'term_relationships' ); - $term_taxonomy_checksum = $this->checksum_histogram( 'term_taxonomy' ); + public function checksum_all( $perform_text_conversion = false ) { + $post_checksum = $this->checksum_histogram( 'posts', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $comments_checksum = $this->checksum_histogram( 'comments', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $post_meta_checksum = $this->checksum_histogram( 'postmeta', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $comment_meta_checksum = $this->checksum_histogram( 'commentmeta', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $terms_checksum = $this->checksum_histogram( 'terms', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $term_relationships_checksum = $this->checksum_histogram( 'term_relationships', null, null, null, null, true, '', false, false, $perform_text_conversion ); + $term_taxonomy_checksum = $this->checksum_histogram( 'term_taxonomy', null, null, null, null, true, '', false, false, $perform_text_conversion ); - return array( + $result = array( 'posts' => $this->summarize_checksum_histogram( $post_checksum ), 'comments' => $this->summarize_checksum_histogram( $comments_checksum ), 'post_meta' => $this->summarize_checksum_histogram( $post_meta_checksum ), @@ -1191,6 +1193,46 @@ class Replicastore implements Replicastore_Interface { 'term_relationships' => $this->summarize_checksum_histogram( $term_relationships_checksum ), 'term_taxonomy' => $this->summarize_checksum_histogram( $term_taxonomy_checksum ), ); + + /** + * WooCommerce tables + */ + + /** + * On WordPress.com, we can't directly check if the site has support for WooCommerce. + * Having the option to override the functionality here helps with syncing WooCommerce tables. + * + * @since 10.1 + * + * @param bool If we should we force-enable WooCommerce tables support. + */ + $force_woocommerce_support = apply_filters( 'jetpack_table_checksum_force_enable_woocommerce', false ); + + if ( $force_woocommerce_support || class_exists( 'WooCommerce' ) ) { + /** + * Guard in Try/Catch as it's possible for the WooCommerce class to exist, but + * the tables to not. If we don't do this, the response will be just the exception, without + * returning any valid data. This will prevent us from ever performing a checksum/fix + * for sites like this. + * It's better to just skip the tables in the response, instead of completely failing. + */ + + try { + $woocommerce_order_items_checksum = $this->checksum_histogram( 'woocommerce_order_items' ); + $result['woocommerce_order_items'] = $this->summarize_checksum_histogram( $woocommerce_order_items_checksum ); + } catch ( Exception $ex ) { + $result['woocommerce_order_items'] = null; + } + + try { + $woocommerce_order_itemmeta_checksum = $this->checksum_histogram( 'woocommerce_order_itemmeta' ); + $result['woocommerce_order_itemmeta'] = $this->summarize_checksum_histogram( $woocommerce_order_itemmeta_checksum ); + } catch ( Exception $ex ) { + $result['woocommerce_order_itemmeta'] = null; + } + } + + return $result; } /** @@ -1248,25 +1290,26 @@ class Replicastore implements Replicastore_Interface { * * @access public * - * @param string $table Object type. - * @param null $buckets Number of buckets to split the objects to. - * @param null $start_id Minimum object ID. - * @param null $end_id Maximum object ID. - * @param null $columns Table columns to calculate the checksum from. - * @param bool $strip_non_ascii Whether to strip non-ASCII characters. - * @param string $salt Salt, used for $wpdb->prepare()'s args. - * @param bool $only_range_edges Only return the range edges and not the actual checksums. - * @param bool $detailed_drilldown If the call should return a detailed drilldown for the checksum or only the checksum. + * @param string $table Object type. + * @param null $buckets Number of buckets to split the objects to. + * @param null $start_id Minimum object ID. + * @param null $end_id Maximum object ID. + * @param null $columns Table columns to calculate the checksum from. + * @param bool $strip_non_ascii Whether to strip non-ASCII characters. + * @param string $salt Salt, used for $wpdb->prepare()'s args. + * @param bool $only_range_edges Only return the range edges and not the actual checksums. + * @param bool $detailed_drilldown If the call should return a detailed drilldown for the checksum or only the checksum. + * @param bool $perform_text_conversion If text fields should be converted to UTF8 during the checksum calculation. * * @return array|WP_Error The checksum histogram. * @throws Exception Throws an exception if data validation fails inside `Table_Checksum` calls. */ - public function checksum_histogram( $table, $buckets = null, $start_id = null, $end_id = null, $columns = null, $strip_non_ascii = true, $salt = '', $only_range_edges = false, $detailed_drilldown = false ) { + public function checksum_histogram( $table, $buckets = null, $start_id = null, $end_id = null, $columns = null, $strip_non_ascii = true, $salt = '', $only_range_edges = false, $detailed_drilldown = false, $perform_text_conversion = false ) { global $wpdb; $wpdb->queries = array(); try { - $checksum_table = new Table_Checksum( $table, $salt ); + $checksum_table = new Table_Checksum( $table, $salt, $perform_text_conversion ); } catch ( Exception $ex ) { return new WP_Error( 'checksum_disabled', $ex->getMessage() ); } @@ -1318,7 +1361,7 @@ class Replicastore implements Replicastore_Interface { $previous_max_id = $ids_range['max_range'] + 1; // If we've reached the max_range lets bail out. - if ( $previous_max_id >= $range_edges['max_range'] ) { + if ( $previous_max_id > $range_edges['max_range'] ) { break; } } while ( true ); @@ -1378,6 +1421,7 @@ class Replicastore implements Replicastore_Interface { switch ( $table ) { case 'postmeta': case 'commentmeta': + case 'order_itemmeta': $bucket_size = 1000; // Meta bucket size is restricted to 1000 items. } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-endpoints.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-endpoints.php index 84ac373c4..3817bad5c 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-endpoints.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-endpoints.php @@ -121,7 +121,7 @@ class REST_Endpoints { 'jetpack/v4', '/sync/object', array( - 'methods' => WP_REST_Server::READABLE, + 'methods' => WP_REST_Server::ALLMETHODS, 'callback' => __CLASS__ . '::get_sync_objects', 'permission_callback' => __CLASS__ . '::verify_default_permissions', 'args' => array( @@ -233,6 +233,13 @@ class REST_Endpoints { 'methods' => WP_REST_Server::READABLE, 'callback' => __CLASS__ . '::data_check', 'permission_callback' => __CLASS__ . '::verify_default_permissions', + 'args' => array( + 'perform_text_conversion' => array( + 'description' => __( 'If text fields should be converted to UTF8 in checksum calculation.', 'jetpack' ), + 'type' => 'boolean', + 'required' => false, + ), + ), ) ); @@ -245,51 +252,56 @@ class REST_Endpoints { 'callback' => __CLASS__ . '::data_histogram', 'permission_callback' => __CLASS__ . '::verify_default_permissions', 'args' => array( - 'columns' => array( + 'columns' => array( 'description' => __( 'Column mappings', 'jetpack' ), 'type' => 'array', 'required' => false, ), - 'object_type' => array( + 'object_type' => array( 'description' => __( 'Object Type', 'jetpack' ), 'type' => 'string', 'required' => false, ), - 'buckets' => array( + 'buckets' => array( 'description' => __( 'Number of histogram buckets.', 'jetpack' ), 'type' => 'int', 'required' => false, ), - 'start_id' => array( + 'start_id' => array( 'description' => __( 'Start ID for the histogram', 'jetpack' ), 'type' => 'int', 'required' => false, ), - 'end_id' => array( + 'end_id' => array( 'description' => __( 'End ID for the histogram', 'jetpack' ), 'type' => 'int', 'required' => false, ), - 'strip_non_ascii' => array( + 'strip_non_ascii' => array( 'description' => __( 'Strip non-ascii characters?', 'jetpack' ), 'type' => 'boolean', 'required' => false, ), - 'shared_salt' => array( + 'shared_salt' => array( 'description' => __( 'Shared Salt to use when generating checksum', 'jetpack' ), 'type' => 'string', 'required' => false, ), - 'only_range_edges' => array( + 'only_range_edges' => array( 'description' => __( 'Should only range endges be returned', 'jetpack' ), 'type' => 'boolean', 'required' => false, ), - 'detailed_drilldown' => array( + 'detailed_drilldown' => array( 'description' => __( 'Do we want the checksum or object ids.', 'jetpack' ), 'type' => 'boolean', 'required' => false, ), + 'perform_text_conversion' => array( + 'description' => __( 'If text fields should be converted to UTF8 in checksum calculation.', 'jetpack' ), + 'type' => 'boolean', + 'required' => false, + ), ), ) ); @@ -356,13 +368,21 @@ class REST_Endpoints { * * @since 9.9.0 * + * @param \WP_REST_Request $request The request sent to the WP REST API. + * * @return \WP_REST_Response */ - public static function data_check() { + public static function data_check( $request ) { // Disable Sync during this call, so we can resolve faster. Actions::mark_sync_read_only(); $store = new Replicastore(); - return rest_ensure_response( $store->checksum_all() ); + + $perform_text_conversion = false; + if ( true === $request->get_param( 'perform_text_conversion' ) ) { + $perform_text_conversion = true; + } + + return rest_ensure_response( $store->checksum_all( $perform_text_conversion ) ); } /** @@ -389,6 +409,10 @@ class REST_Endpoints { $args['strip_non_ascii'] = true; } + if ( true !== $args['perform_text_conversion'] ) { + $args['perform_text_conversion'] = false; + } + /** * Hack: nullify the values of `start_id` and `end_id` if we're only requesting ranges. * @@ -405,7 +429,7 @@ class REST_Endpoints { } $store = new Replicastore(); - $histogram = $store->checksum_histogram( $args['object_type'], $args['buckets'], $args['start_id'], $args['end_id'], $args['columns'], $args['strip_non_ascii'], $args['shared_salt'], $args['only_range_edges'], $args['detailed_drilldown'] ); + $histogram = $store->checksum_histogram( $args['object_type'], $args['buckets'], $args['start_id'], $args['end_id'], $args['columns'], $args['strip_non_ascii'], $args['shared_salt'], $args['only_range_edges'], $args['detailed_drilldown'], $args['perform_text_conversion'] ); return rest_ensure_response( array( diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-sender.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-sender.php index 7b1cf6410..e88bc24ba 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-sender.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-rest-sender.php @@ -44,7 +44,7 @@ class REST_Sender { // try to give ourselves as much time as possible. set_time_limit( 0 ); - if ( $args['pop'] ) { + if ( ! empty( $args['pop'] ) ) { $buffer = new Queue_Buffer( 'pop', $queue->pop( $number_of_items ) ); } else { // let's delete the checkin state. @@ -62,15 +62,17 @@ class REST_Sender { return new WP_Error( 'buffer_non-object', 'Buffer is not an object', 400 ); } + $encode = isset( $args['encode'] ) ? $args['encode'] : true; + Settings::set_is_syncing( true ); - list( $items_to_send, $skipped_items_ids ) = $sender->get_items_to_send( $buffer, $args['encode'] ); + list( $items_to_send, $skipped_items_ids ) = $sender->get_items_to_send( $buffer, $encode ); Settings::set_is_syncing( false ); return array( 'buffer_id' => $buffer->id, 'items' => $items_to_send, 'skipped_items' => $skipped_items_ids, - 'codec' => $args['encode'] ? $sender->get_codec()->name() : null, + 'codec' => $encode ? $sender->get_codec()->name() : null, 'sent_timestamp' => time(), ); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php index 6d7c9701a..a923fbf38 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/class-settings.php @@ -367,6 +367,30 @@ class Settings { ); } + /** + * Returns SQL-escaped values for allowed order_item meta keys. + * + * @access public + * @static + * + * @return array Meta keys filter values + */ + public static function get_allowed_order_itemmeta_structured() { + // Make sure that we only try to add the properties when the class exists. + if ( ! class_exists( '\Automattic\Jetpack\Sync\Modules\WooCommerce' ) ) { + return array(); + } + + $values = \Automattic\Jetpack\Sync\Modules\WooCommerce::$order_item_meta_whitelist; + + return array( + 'meta_key' => array( + 'operator' => 'IN', + 'values' => array_map( 'esc_sql', $values ), + ), + ); + } + /** * Returns escaped SQL for comments, excluding any spam comments. * Can be injected directly into a WHERE clause. diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php index f6c37b96d..d1bc5b322 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php @@ -7,6 +7,8 @@ namespace Automattic\Jetpack\Sync\Modules; +use WP_Error; + /** * Class to handle sync for WooCommerce. */ @@ -18,7 +20,7 @@ class WooCommerce extends Module { * * @var array */ - private $order_item_meta_whitelist = array( + public static $order_item_meta_whitelist = array( // See https://github.com/woocommerce/woocommerce/blob/master/includes/data-stores/class-wc-order-item-product-store.php#L20 . '_product_id', '_variation_id', @@ -219,7 +221,7 @@ class WooCommerce extends Module { return array( $order_items, - $this->get_metadata( $order_item_ids, 'order_item', $this->order_item_meta_whitelist ), + $this->get_metadata( $order_item_ids, 'order_item', static::$order_item_meta_whitelist ), ); } @@ -556,4 +558,55 @@ class WooCommerce extends Module { private static $wc_comment_meta_whitelist = array( 'rating', ); + + /** + * Return a list of objects by their type and IDs + * + * @param string $object_type Object type. + * @param array $ids IDs of objects to return. + * + * @access public + * + * @return array|object|WP_Error|null + */ + public function get_objects_by_id( $object_type, $ids ) { + switch ( $object_type ) { + case 'order_item': + return $this->get_order_item_by_ids( $ids ); + } + + return new WP_Error( 'unsupported_object_type', 'Unsupported object type' ); + } + + /** + * Returns a list of order_item objects by their IDs. + * + * @param array $ids List of order_item IDs to fetch. + * + * @access public + * + * @return array|object|null + */ + public function get_order_item_by_ids( $ids ) { + global $wpdb; + + if ( ! is_array( $ids ) ) { + return array(); + } + + // Make sure the IDs are numeric and are non-zero. + $ids = array_filter( array_map( 'intval', $ids ) ); + + if ( empty( $ids ) ) { + return array(); + } + + // Prepare the placeholders for the prepared query below. + $placeholders = implode( ',', array_fill( 0, count( $ids ), '%d' ) ); + + $query = "SELECT * FROM {$this->order_item_table_name} WHERE order_item_id IN ( $placeholders )"; + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared + return $wpdb->get_results( $wpdb->prepare( $query, $ids ), ARRAY_A ); + } } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php index 2f6290c67..c1c74a69e 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php @@ -31,6 +31,13 @@ class Table_Checksum { */ public $table_configuration = array(); + /** + * Perform Text Conversion to UTF8. + * + * @var boolean + */ + private $perform_text_conversion = false; + /** * Field to be used for range queries. * @@ -52,6 +59,13 @@ class Table_Checksum { */ public $checksum_fields = array(); + /** + * Field(s) to be used in generating the checksum value that need utf8 conversion. + * + * @var array + */ + public $checksum_text_fields = array(); + /** * Default filter values for the table * @@ -108,15 +122,23 @@ class Table_Checksum { */ private $table_join_field = null; + /** + * Some tables might not exist on the remote, and we want to verify they exist, before trying to query them. + * + * @var callable + */ + private $is_table_enabled_callback = false; + /** * Table_Checksum constructor. * - * @param string $table The table to calculate checksums for. - * @param string $salt Optional salt to add to the checksum. + * @param string $table The table to calculate checksums for. + * @param string $salt Optional salt to add to the checksum. + * @param boolean $perform_text_conversion If text fields should be UTF8 converted. * * @throws Exception Throws exception from inner functions. */ - public function __construct( $table, $salt = null ) { + public function __construct( $table, $salt = null, $perform_text_conversion = false ) { if ( ! Sync\Settings::is_checksum_enabled() ) { throw new Exception( 'Checksums are currently disabled.' ); @@ -126,6 +148,8 @@ class Table_Checksum { $this->default_tables = $this->get_default_tables(); + $this->perform_text_conversion = $perform_text_conversion; + // TODO change filters to allow the array format. // TODO add get_fields or similar method to get things out of the table. // TODO extract this configuration in a better way, still make it work with `$wpdb` names. @@ -139,6 +163,13 @@ class Table_Checksum { $this->prepare_fields( $this->table_configuration ); + // Run any callbacks to check if a table is enabled or not. + if ( + is_callable( $this->is_table_enabled_callback ) + && ! call_user_func( $this->is_table_enabled_callback, $table ) + ) { + throw new Exception( "Unable to use table name: $table" ); + } } /** @@ -150,24 +181,24 @@ class Table_Checksum { global $wpdb; return array( - 'posts' => array( + 'posts' => array( 'table' => $wpdb->posts, 'range_field' => 'ID', 'key_fields' => array( 'ID' ), 'checksum_fields' => array( 'post_modified_gmt' ), 'filter_values' => Sync\Settings::get_disallowed_post_types_structured(), ), - 'postmeta' => array( - 'table' => $wpdb->postmeta, - 'range_field' => 'post_id', - 'key_fields' => array( 'post_id', 'meta_key' ), - 'checksum_fields' => array( 'meta_key', 'meta_value' ), - 'filter_values' => Sync\Settings::get_allowed_post_meta_structured(), - 'parent_table' => 'posts', - 'parent_join_field' => 'ID', - 'table_join_field' => 'post_id', + 'postmeta' => array( + 'table' => $wpdb->postmeta, + 'range_field' => 'post_id', + 'key_fields' => array( 'post_id', 'meta_key' ), + 'checksum_text_fields' => array( 'meta_key', 'meta_value' ), + 'filter_values' => Sync\Settings::get_allowed_post_meta_structured(), + 'parent_table' => 'posts', + 'parent_join_field' => 'ID', + 'table_join_field' => 'post_id', ), - 'comments' => array( + 'comments' => array( 'table' => $wpdb->comments, 'range_field' => 'comment_ID', 'key_fields' => array( 'comment_ID' ), @@ -186,31 +217,32 @@ class Table_Checksum { ), ), ), - 'commentmeta' => array( - 'table' => $wpdb->commentmeta, - 'range_field' => 'comment_id', - 'key_fields' => array( 'comment_id', 'meta_key' ), - 'checksum_fields' => array( 'meta_key', 'meta_value' ), - 'filter_values' => Sync\Settings::get_allowed_comment_meta_structured(), - 'parent_table' => 'comments', - 'parent_join_field' => 'comment_ID', - 'table_join_field' => 'comment_id', + 'commentmeta' => array( + 'table' => $wpdb->commentmeta, + 'range_field' => 'comment_id', + 'key_fields' => array( 'comment_id', 'meta_key' ), + 'checksum_text_fields' => array( 'meta_key', 'meta_value' ), + 'filter_values' => Sync\Settings::get_allowed_comment_meta_structured(), + 'parent_table' => 'comments', + 'parent_join_field' => 'comment_ID', + 'table_join_field' => 'comment_id', ), - 'terms' => array( - 'table' => $wpdb->terms, - 'range_field' => 'term_id', - 'key_fields' => array( 'term_id' ), - 'checksum_fields' => array( 'term_id', 'name', 'slug' ), - 'parent_table' => 'term_taxonomy', + 'terms' => array( + 'table' => $wpdb->terms, + 'range_field' => 'term_id', + 'key_fields' => array( 'term_id' ), + 'checksum_fields' => array( 'term_id' ), + 'checksum_text_fields' => array( 'name', 'slug' ), + 'parent_table' => 'term_taxonomy', ), - 'termmeta' => array( - 'table' => $wpdb->termmeta, - 'range_field' => 'term_id', - 'key_fields' => array( 'term_id', 'meta_key' ), - 'checksum_fields' => array( 'meta_key', 'meta_value' ), - 'parent_table' => 'term_taxonomy', + 'termmeta' => array( + 'table' => $wpdb->termmeta, + 'range_field' => 'term_id', + 'key_fields' => array( 'term_id', 'meta_key' ), + 'checksum_text_fields' => array( 'meta_key', 'meta_value' ), + 'parent_table' => 'term_taxonomy', ), - 'term_relationships' => array( + 'term_relationships' => array( 'table' => $wpdb->term_relationships, 'range_field' => 'object_id', 'key_fields' => array( 'object_id' ), @@ -219,15 +251,35 @@ class Table_Checksum { 'parent_join_field' => 'term_taxonomy_id', 'table_join_field' => 'term_taxonomy_id', ), - 'term_taxonomy' => array( - 'table' => $wpdb->term_taxonomy, - 'range_field' => 'term_taxonomy_id', - 'key_fields' => array( 'term_taxonomy_id' ), - 'checksum_fields' => array( 'term_taxonomy_id', 'term_id', 'taxonomy', 'description', 'parent' ), - 'filter_values' => Sync\Settings::get_allowed_taxonomies_structured(), + 'term_taxonomy' => array( + 'table' => $wpdb->term_taxonomy, + 'range_field' => 'term_taxonomy_id', + 'key_fields' => array( 'term_taxonomy_id' ), + 'checksum_fields' => array( 'term_taxonomy_id', 'term_id', 'parent' ), + 'checksum_text_fields' => array( 'taxonomy', 'description' ), + 'filter_values' => Sync\Settings::get_allowed_taxonomies_structured(), + ), + 'links' => $wpdb->links, // TODO describe in the array format or add exceptions. + 'options' => $wpdb->options, // TODO describe in the array format or add exceptions. + 'woocommerce_order_items' => array( + 'table' => "{$wpdb->prefix}woocommerce_order_items", + 'range_field' => 'order_item_id', + 'key_fields' => array( 'order_item_id' ), + 'checksum_fields' => array( 'order_id' ), + 'checksum_text_fields' => array( 'order_item_name', 'order_item_type' ), + 'is_table_enabled_callback' => array( $this, 'enable_woocommerce_tables' ), + ), + 'woocommerce_order_itemmeta' => array( + 'table' => "{$wpdb->prefix}woocommerce_order_itemmeta", + 'range_field' => 'order_item_id', + 'key_fields' => array( 'order_item_id', 'meta_key' ), + 'checksum_text_fields' => array( 'meta_key', 'meta_value' ), + 'filter_values' => Sync\Settings::get_allowed_order_itemmeta_structured(), + 'parent_table' => 'woocommerce_order_items', + 'parent_join_field' => 'order_item_id', + 'table_join_field' => 'order_item_id', + 'is_table_enabled_callback' => array( $this, 'enable_woocommerce_tables' ), ), - 'links' => $wpdb->links, // TODO describe in the array format or add exceptions. - 'options' => $wpdb->options, // TODO describe in the array format or add exceptions. ); } @@ -237,14 +289,16 @@ class Table_Checksum { * @param array $table_configuration The table configuration array. */ private function prepare_fields( $table_configuration ) { - $this->key_fields = $table_configuration['key_fields']; - $this->range_field = $table_configuration['range_field']; - $this->checksum_fields = $table_configuration['checksum_fields']; - $this->filter_values = isset( $table_configuration['filter_values'] ) ? $table_configuration['filter_values'] : null; - $this->additional_filter_sql = ! empty( $table_configuration['filter_sql'] ) ? $table_configuration['filter_sql'] : ''; - $this->parent_table = isset( $table_configuration['parent_table'] ) ? $table_configuration['parent_table'] : null; - $this->parent_join_field = isset( $table_configuration['parent_join_field'] ) ? $table_configuration['parent_join_field'] : $table_configuration['range_field']; - $this->table_join_field = isset( $table_configuration['table_join_field'] ) ? $table_configuration['table_join_field'] : $table_configuration['range_field']; + $this->key_fields = $table_configuration['key_fields']; + $this->range_field = $table_configuration['range_field']; + $this->checksum_fields = isset( $table_configuration['checksum_fields'] ) ? $table_configuration['checksum_fields'] : array(); + $this->checksum_text_fields = isset( $table_configuration['checksum_text_fields'] ) ? $table_configuration['checksum_text_fields'] : array(); + $this->filter_values = isset( $table_configuration['filter_values'] ) ? $table_configuration['filter_values'] : null; + $this->additional_filter_sql = ! empty( $table_configuration['filter_sql'] ) ? $table_configuration['filter_sql'] : ''; + $this->parent_table = isset( $table_configuration['parent_table'] ) ? $table_configuration['parent_table'] : null; + $this->parent_join_field = isset( $table_configuration['parent_join_field'] ) ? $table_configuration['parent_join_field'] : $table_configuration['range_field']; + $this->table_join_field = isset( $table_configuration['table_join_field'] ) ? $table_configuration['table_join_field'] : $table_configuration['range_field']; + $this->is_table_enabled_callback = isset( $table_configuration['is_table_enabled_callback'] ) ? $table_configuration['is_table_enabled_callback'] : false; } /** @@ -264,8 +318,6 @@ class Table_Checksum { throw new Exception( "Invalid table name: $table not allowed" ); } - // TODO other checks if such are needed. - return $this->allowed_tables[ $table ]['table']; } @@ -322,7 +374,7 @@ class Table_Checksum { * @throws Exception Throw an exception on failure to validate in the internal functions. */ private function validate_input() { - $fields = array_merge( array( $this->range_field ), $this->key_fields, $this->checksum_fields ); + $fields = array_merge( array( $this->range_field ), $this->key_fields, $this->checksum_fields, $this->checksum_text_fields ); $this->validate_fields( $fields ); $this->validate_fields_against_table( $fields ); @@ -467,6 +519,19 @@ class Table_Checksum { foreach ( $this->checksum_fields as $field ) { $checksum_fields[] = $this->table . '.' . $field; } + // Apply utf8 conversion if enabled. + if ( $this->perform_text_conversion ) { + // Convert text fields to allow for encoding discrepancies as WP.com is latin1. + foreach ( $this->checksum_text_fields as $field ) { + $checksum_fields[] = 'CONVERT(' . $this->table . '.' . $field . ' using utf8 )'; + } + } else { + // Conversion disabled, default to table prefixing. + foreach ( $this->checksum_text_fields as $field ) { + $checksum_fields[] = $this->table . '.' . $field; + } + } + $checksum_fields_string = implode( ',', array_merge( $checksum_fields, array( $salt ) ) ); $additional_fields = ''; @@ -699,4 +764,37 @@ class Table_Checksum { return $this->prepare_results_for_output( $result ); } } + + /** + * Make sure the WooCommerce tables should be enabled for Checksum/Fix. + * + * @return bool + */ + private function enable_woocommerce_tables() { + /** + * On WordPress.com, we can't directly check if the site has support for WooCommerce. + * Having the option to override the functionality here helps with syncing WooCommerce tables. + * + * @since 10.1 + * + * @param bool If we should we force-enable WooCommerce tables support. + */ + $force_woocommerce_support = apply_filters( 'jetpack_table_checksum_force_enable_woocommerce', false ); + + // If we're forcing WooCommerce tables support, there's no need to check further. + // This is used on WordPress.com. + if ( $force_woocommerce_support ) { + return true; + } + + // No need to proceed if WooCommerce is not available. + if ( ! class_exists( 'WooCommerce' ) ) { + return false; + } + + // TODO more checks if needed. Probably query the DB to make sure the tables exist. + + return true; + } + } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/CHANGELOG.md index ca72ffaf6..3e5e65e06 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/CHANGELOG.md @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.9] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + ## [1.9.8] - 2021-06-15 + - Updated package dependencies. ## [1.9.7] - 2021-05-25 @@ -137,6 +144,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Package: Create new TOS package +[1.9.9]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.8...v1.9.9 [1.9.8]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.7...v1.9.8 [1.9.7]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.6...v1.9.7 [1.9.6]: https://github.com/Automattic/jetpack-terms-of-service/compare/v1.9.5...v1.9.6 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php index ec6d566e4..54bdbf1ed 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-terms-of-service/src/class-terms-of-service.php @@ -28,7 +28,8 @@ class Terms_Of_Service { /** * Acton fired when the master user has agreed to the terms of service. * - * @since 7.9.0 + * @since 1.0.4 + * @since-jetpack 7.9.0 */ do_action( 'jetpack_agreed_to_terms_of_service' ); } @@ -41,7 +42,8 @@ class Terms_Of_Service { /** * Acton fired when the master user has revoked their agreement to the terms of service. * - * @since 7.9.1 + * @since 1.0.4 + * @since-jetpack 7.9.1 */ do_action( 'jetpack_reject_terms_of_service' ); } @@ -52,7 +54,7 @@ class Terms_Of_Service { * The following conditions have to be met in order to agree to the terms of service. * 1. The master user has gone though the connect flow. * 2. The site is not in dev mode. - * 3. The master user of the site is still connected (deprecated @since 8.9.0). + * 3. The master user of the site is still connected (deprecated @since 1.4.0). * * @return bool */ @@ -61,12 +63,12 @@ class Terms_Of_Service { return false; } /** - * Before 8.9.0 we used to also check if the master user of the site is connected + * Before 1.4.0 we used to also check if the master user of the site is connected * by calling the Connection related `is_active` method. - * As of 8.9.0 we have removed this check in order to resolve the + * As of 1.4.0 we have removed this check in order to resolve the * circular dependencies it was introducing to composer packages. * - * @since 8.9.0 + * @since 1.4.0 */ return $this->get_raw_has_agreed(); } diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/CHANGELOG.md b/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/CHANGELOG.md index 70cad4b77..135a48745 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/CHANGELOG.md +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.13.9] - 2021-08-30 +### Changed +- Run composer update on test-php command instead of phpunit +- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). +- update annotations versions + +## [1.13.8] - 2021-08-10 +### Added +- adding Readme to the tracking package + ## [1.13.7] - 2021-06-15 ### Changed - Updated package dependencies. @@ -149,6 +159,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Create package for Jetpack Tracking +[1.13.9]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.8...v1.13.9 +[1.13.8]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.7...v1.13.8 [1.13.7]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.6...v1.13.7 [1.13.6]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.5...v1.13.6 [1.13.5]: https://github.com/Automattic/jetpack-tracking/compare/v1.13.4...v1.13.5 diff --git a/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php b/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php index a01dc0b45..f3f5c34c7 100644 --- a/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php +++ b/wp-content/plugins/jetpack/vendor/automattic/jetpack-tracking/src/class-tracking.php @@ -14,7 +14,7 @@ class Tracking { /** * The assets version. * - * @since 9.4.0 + * @since 1.13.1 * * @var string Assets version. */ diff --git a/wp-content/plugins/jetpack/vendor/composer/InstalledVersions.php b/wp-content/plugins/jetpack/vendor/composer/InstalledVersions.php index 53ac21231..9b3f167cf 100644 --- a/wp-content/plugins/jetpack/vendor/composer/InstalledVersions.php +++ b/wp-content/plugins/jetpack/vendor/composer/InstalledVersions.php @@ -48,57 +48,57 @@ private static $installed = array ( ), 'automattic/jetpack-a8c-mc-stats' => array ( - 'pretty_version' => 'v1.4.4', - 'version' => '1.4.4.0', + 'pretty_version' => 'v1.4.5', + 'version' => '1.4.5.0', 'aliases' => array ( ), - 'reference' => '59df714196e8ac4fd69a4ddedcb9dbeb12e7ecb5', + 'reference' => '5307c1526b153520bad42d459dcf42074cf28f5c', ), 'automattic/jetpack-abtest' => array ( - 'pretty_version' => 'v1.9.9', - 'version' => '1.9.9.0', + 'pretty_version' => 'v1.9.10', + 'version' => '1.9.10.0', 'aliases' => array ( ), - 'reference' => '426a5e252ccab742af8c58cdcf16c8367c16a3a3', + 'reference' => '871c178a5bc23492b6a3d93e8bea328a7d300a27', ), 'automattic/jetpack-assets' => array ( - 'pretty_version' => 'v1.11.5', - 'version' => '1.11.5.0', + 'pretty_version' => 'v1.11.6', + 'version' => '1.11.6.0', 'aliases' => array ( ), - 'reference' => '88f04c6eb63ee4ce801735c03f7db5cae05e79bc', + 'reference' => '66772f66b59dbec3320d917a490ca2b4f10c86f9', ), 'automattic/jetpack-autoloader' => array ( - 'pretty_version' => 'v2.10.3', - 'version' => '2.10.3.0', + 'pretty_version' => 'v2.10.5', + 'version' => '2.10.5.0', 'aliases' => array ( ), - 'reference' => 'aab966d6f2c8fd6669d6f5b1378d8ced5fd665b4', + 'reference' => 'ec66177eefa1126d5319f3135ff3a7185e21a0ba', ), 'automattic/jetpack-backup' => array ( - 'pretty_version' => 'v1.1.1', - 'version' => '1.1.1.0', + 'pretty_version' => 'v1.1.3', + 'version' => '1.1.3.0', 'aliases' => array ( ), - 'reference' => '1ec002e2e621218ac27fb07faae0ce52727a6816', + 'reference' => 'bb32f306d7ed6df80712850546481980d851c06c', ), 'automattic/jetpack-blocks' => array ( - 'pretty_version' => 'v1.4.1', - 'version' => '1.4.1.0', + 'pretty_version' => 'v1.4.2', + 'version' => '1.4.2.0', 'aliases' => array ( ), - 'reference' => '2d8e214bb64856cc4e2413af2e3252c241c668ca', + 'reference' => 'a041993be7435ca6e372c6f006086818180779fe', ), 'automattic/jetpack-compat' => array ( @@ -111,192 +111,192 @@ private static $installed = array ( ), 'automattic/jetpack-config' => array ( - 'pretty_version' => 'v1.4.6', - 'version' => '1.4.6.0', + 'pretty_version' => 'v1.4.7', + 'version' => '1.4.7.0', 'aliases' => array ( ), - 'reference' => '98f8080550901a8a29daf466ee75a4906c5f1ef0', + 'reference' => '219ec1addd3f9e28f3ec3aa8b55d8a4e031bc955', ), 'automattic/jetpack-connection' => array ( - 'pretty_version' => 'v1.30.1', - 'version' => '1.30.1.0', + 'pretty_version' => 'v1.30.4', + 'version' => '1.30.4.0', 'aliases' => array ( ), - 'reference' => 'c73a279ff07bdd343c8129ca40f56a6eb2b9273c', + 'reference' => '81e3762de3eb3478c6f29491b198141a10eee21f', ), 'automattic/jetpack-connection-ui' => array ( - 'pretty_version' => 'v1.3.0', - 'version' => '1.3.0.0', + 'pretty_version' => 'v1.4.0', + 'version' => '1.4.0.0', 'aliases' => array ( ), - 'reference' => 'a6ce83b175600073786753bf79a9cd6f793dc334', + 'reference' => 'fcad49e5d89a40033303e3c2537070d19cc50e51', ), 'automattic/jetpack-constants' => array ( - 'pretty_version' => 'v1.6.5', - 'version' => '1.6.5.0', + 'pretty_version' => 'v1.6.6', + 'version' => '1.6.6.0', 'aliases' => array ( ), - 'reference' => '1e02eebb828c6701f3bf97fa8404e9fc85d3fb63', + 'reference' => 'f72c4292cd5a31ec1acb65e9f7656ba2378ef7cf', ), 'automattic/jetpack-device-detection' => array ( - 'pretty_version' => 'v1.4.2', - 'version' => '1.4.2.0', + 'pretty_version' => 'v1.4.3', + 'version' => '1.4.3.0', 'aliases' => array ( ), - 'reference' => '6f7c0560cac114a99066a703cf66813e325e8630', + 'reference' => 'b45210f06260f97cb351dd2dd1953ff7ee9f60b9', ), 'automattic/jetpack-error' => array ( - 'pretty_version' => 'v1.3.5', - 'version' => '1.3.5.0', + 'pretty_version' => 'v1.3.6', + 'version' => '1.3.6.0', 'aliases' => array ( ), - 'reference' => 'f81fa17c2afb559dd12c52dae8aedb44da6a4195', + 'reference' => '9846f224dfb3c16d1897e460ea62df8529dc016c', ), 'automattic/jetpack-heartbeat' => array ( - 'pretty_version' => 'v1.3.8', - 'version' => '1.3.8.0', + 'pretty_version' => 'v1.3.10', + 'version' => '1.3.10.0', 'aliases' => array ( ), - 'reference' => 'ed630c4a9271d5ce2bba15eec4ff32c448330b67', + 'reference' => 'caade9254cbde292b62b3959547a30a0d80b90da', ), 'automattic/jetpack-identity-crisis' => array ( - 'pretty_version' => 'v0.2.2', - 'version' => '0.2.2.0', + 'pretty_version' => 'v0.2.5', + 'version' => '0.2.5.0', 'aliases' => array ( ), - 'reference' => 'f9e76478f8df130238f0843fd53472fff0b7e76e', + 'reference' => '87b3cc40730a4440dac49bcecfebe0eda2dc5911', ), 'automattic/jetpack-jitm' => array ( - 'pretty_version' => 'v1.16.2', - 'version' => '1.16.2.0', + 'pretty_version' => 'v2.0.0', + 'version' => '2.0.0.0', 'aliases' => array ( ), - 'reference' => '3276a4cf55b739c8c42448fd33f16f26ab766aaa', + 'reference' => 'fcca2c18962f5642db3b2e33dc6e4ba14a55234b', ), 'automattic/jetpack-lazy-images' => array ( - 'pretty_version' => 'v1.5.0', - 'version' => '1.5.0.0', + 'pretty_version' => 'v2.0.0', + 'version' => '2.0.0.0', 'aliases' => array ( ), - 'reference' => '27d9a86239c61093557d9256bf9d46e589b384cc', + 'reference' => '317421400c08d4fed1344fa246a083609dd6fdf0', ), 'automattic/jetpack-licensing' => - array ( - 'pretty_version' => 'v1.4.4', - 'version' => '1.4.4.0', - 'aliases' => - array ( - ), - 'reference' => '1355affaf0dabb72a55a75ed89159e567e458a20', - ), - 'automattic/jetpack-logo' => - array ( - 'pretty_version' => 'v1.5.5', - 'version' => '1.5.5.0', - 'aliases' => - array ( - ), - 'reference' => '4b4a24e30ac76beea19a4d75b451e2b7a287db4c', - ), - 'automattic/jetpack-options' => - array ( - 'pretty_version' => 'v1.13.0', - 'version' => '1.13.0.0', - 'aliases' => - array ( - ), - 'reference' => '2606ae27f9b4336ca1b34ee9ecd99ac658ef30fc', - ), - 'automattic/jetpack-partner' => - array ( - 'pretty_version' => 'v1.5.1', - 'version' => '1.5.1.0', - 'aliases' => - array ( - ), - 'reference' => 'c5836805d2dd2367264408260d1f51a0a82a0203', - ), - 'automattic/jetpack-password-checker' => - array ( - 'pretty_version' => 'v0.1.2', - 'version' => '0.1.2.0', - 'aliases' => - array ( - ), - 'reference' => '408bf765942578276da69b10c2600564773dceee', - ), - 'automattic/jetpack-redirect' => - array ( - 'pretty_version' => 'v1.7.0', - 'version' => '1.7.0.0', - 'aliases' => - array ( - ), - 'reference' => '8320a82f8daee5127a2c3e19cb4e2566ba4c94bb', - ), - 'automattic/jetpack-roles' => array ( 'pretty_version' => 'v1.4.5', 'version' => '1.4.5.0', 'aliases' => array ( ), - 'reference' => 'd04bbd4e012516d280a610e3961edef5cf241722', + 'reference' => '2f8b4b568212722df9398a72f61dea31b54c11a5', + ), + 'automattic/jetpack-logo' => + array ( + 'pretty_version' => 'v1.5.6', + 'version' => '1.5.6.0', + 'aliases' => + array ( + ), + 'reference' => '34010217e32cd209a7b7ec105f9b668aa6681c4e', + ), + 'automattic/jetpack-options' => + array ( + 'pretty_version' => 'v1.13.1', + 'version' => '1.13.1.0', + 'aliases' => + array ( + ), + 'reference' => 'fd3d213bc4d7597ea2d5f24adbf111028db46496', + ), + 'automattic/jetpack-partner' => + array ( + 'pretty_version' => 'v1.5.2', + 'version' => '1.5.2.0', + 'aliases' => + array ( + ), + 'reference' => '96dccb4a2b842c87010e51949a34d14a1b18b93e', + ), + 'automattic/jetpack-password-checker' => + array ( + 'pretty_version' => 'v0.1.3', + 'version' => '0.1.3.0', + 'aliases' => + array ( + ), + 'reference' => '237443544c10f174fa73ba46d5eb2bb2e53e3aff', + ), + 'automattic/jetpack-redirect' => + array ( + 'pretty_version' => 'v1.7.1', + 'version' => '1.7.1.0', + 'aliases' => + array ( + ), + 'reference' => '1607360c2f8b4e14d97cb3a22aee8e1565d96f80', + ), + 'automattic/jetpack-roles' => + array ( + 'pretty_version' => 'v1.4.6', + 'version' => '1.4.6.0', + 'aliases' => + array ( + ), + 'reference' => '1b67fb3d17842d54ee6242fbd665417ce9b3d497', ), 'automattic/jetpack-status' => array ( - 'pretty_version' => 'v1.8.0', - 'version' => '1.8.0.0', + 'pretty_version' => 'v1.8.1', + 'version' => '1.8.1.0', 'aliases' => array ( ), - 'reference' => '9da88ee253d69e4948c76e4080435aca23c65dbb', + 'reference' => 'f3f26d5effc09709e5b52290cc7e3dd2c5861b14', ), 'automattic/jetpack-sync' => array ( - 'pretty_version' => 'v1.24.2', - 'version' => '1.24.2.0', + 'pretty_version' => 'v1.26.1', + 'version' => '1.26.1.0', 'aliases' => array ( ), - 'reference' => '08ddb52e2118daa59541dadedb87a25febf12ef5', + 'reference' => 'f60b01c93ac9408fd9121bb5bd8a1ba7a6b33dd4', ), 'automattic/jetpack-terms-of-service' => array ( - 'pretty_version' => 'v1.9.8', - 'version' => '1.9.8.0', + 'pretty_version' => 'v1.9.9', + 'version' => '1.9.9.0', 'aliases' => array ( ), - 'reference' => '9ebb094dc1243b36c449ecb37a858511c9b41759', + 'reference' => '96667ee94d2a1b47a3a054af0af909ba7d4b0707', ), 'automattic/jetpack-tracking' => array ( - 'pretty_version' => 'v1.13.7', - 'version' => '1.13.7.0', + 'pretty_version' => 'v1.13.9', + 'version' => '1.13.9.0', 'aliases' => array ( ), - 'reference' => '8fd3b9aef38dd2dd9b072dfd9af5b9a3278b20b6', + 'reference' => 'fe019c0cee900559e21d7a98d564177a373b1016', ), 'nojimage/twitter-text-php' => array ( diff --git a/wp-content/plugins/jetpack/vendor/composer/autoload_classmap.php b/wp-content/plugins/jetpack/vendor/composer/autoload_classmap.php index 0e190ef58..84390b431 100644 --- a/wp-content/plugins/jetpack/vendor/composer/autoload_classmap.php +++ b/wp-content/plugins/jetpack/vendor/composer/autoload_classmap.php @@ -28,6 +28,7 @@ return array( 'Automattic\\Jetpack\\Connection\\Manager_Interface' => $vendorDir . '/automattic/jetpack-connection/src/interface-manager.php', 'Automattic\\Jetpack\\Connection\\Nonce_Handler' => $vendorDir . '/automattic/jetpack-connection/src/class-nonce-handler.php', 'Automattic\\Jetpack\\Connection\\Package_Version' => $vendorDir . '/automattic/jetpack-connection/src/class-package-version.php', + 'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => $vendorDir . '/automattic/jetpack-connection/src/class-package-version-tracker.php', 'Automattic\\Jetpack\\Connection\\Plugin' => $vendorDir . '/automattic/jetpack-connection/src/class-plugin.php', 'Automattic\\Jetpack\\Connection\\Plugin_Storage' => $vendorDir . '/automattic/jetpack-connection/src/class-plugin-storage.php', 'Automattic\\Jetpack\\Connection\\REST_Connector' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-connector.php', diff --git a/wp-content/plugins/jetpack/vendor/composer/autoload_real.php b/wp-content/plugins/jetpack/vendor/composer/autoload_real.php index 96295c024..0a2d3c0eb 100644 --- a/wp-content/plugins/jetpack/vendor/composer/autoload_real.php +++ b/wp-content/plugins/jetpack/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 +class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1 { private static $loader; @@ -24,15 +24,15 @@ class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::getInitializer($loader)); } else { $classMap = require __DIR__ . '/autoload_classmap.php'; if ($classMap) { @@ -44,19 +44,19 @@ class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0($fileIdentifier, $file); + composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1($fileIdentifier, $file); } return $loader; } } -function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0($fileIdentifier, $file) +function composerRequiref11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/wp-content/plugins/jetpack/vendor/composer/autoload_static.php b/wp-content/plugins/jetpack/vendor/composer/autoload_static.php index 5d9e99a8e..59ac84fd5 100644 --- a/wp-content/plugins/jetpack/vendor/composer/autoload_static.php +++ b/wp-content/plugins/jetpack/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 +class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1 { public static $files = array ( 'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => __DIR__ . '/..' . '/automattic/jetpack-connection/legacy/load-ixr.php', @@ -59,6 +59,7 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 'Automattic\\Jetpack\\Connection\\Manager_Interface' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/interface-manager.php', 'Automattic\\Jetpack\\Connection\\Nonce_Handler' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-nonce-handler.php', 'Automattic\\Jetpack\\Connection\\Package_Version' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-package-version.php', + 'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-package-version-tracker.php', 'Automattic\\Jetpack\\Connection\\Plugin' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-plugin.php', 'Automattic\\Jetpack\\Connection\\Plugin_Storage' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-plugin-storage.php', 'Automattic\\Jetpack\\Connection\\REST_Connector' => __DIR__ . '/..' . '/automattic/jetpack-connection/src/class-rest-connector.php', @@ -167,10 +168,10 @@ class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::$prefixDirsPsr4; - $loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::$prefixesPsr0; - $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::$prefixesPsr0; + $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1::$classMap; }, null, ClassLoader::class); } diff --git a/wp-content/plugins/jetpack/vendor/composer/installed.json b/wp-content/plugins/jetpack/vendor/composer/installed.json index c9a9e67cf..69c2a3a7a 100644 --- a/wp-content/plugins/jetpack/vendor/composer/installed.json +++ b/wp-content/plugins/jetpack/vendor/composer/installed.json @@ -2,24 +2,24 @@ "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", - "version": "v1.4.4", - "version_normalized": "1.4.4.0", + "version": "v1.4.5", + "version_normalized": "1.4.5.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-a8c-mc-stats.git", - "reference": "59df714196e8ac4fd69a4ddedcb9dbeb12e7ecb5" + "reference": "5307c1526b153520bad42d459dcf42074cf28f5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/59df714196e8ac4fd69a4ddedcb9dbeb12e7ecb5", - "reference": "59df714196e8ac4fd69a4ddedcb9dbeb12e7ecb5", + "url": "https://api.github.com/repos/Automattic/jetpack-a8c-mc-stats/zipball/5307c1526b153520bad42d459dcf42074cf28f5c", + "reference": "5307c1526b153520bad42d459dcf42074cf28f5c", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:12+00:00", + "time": "2021-08-30T14:18:51+00:00", "type": "library", "extra": { "autotagger": true, @@ -43,23 +43,23 @@ ], "description": "Used to record internal usage stats for Automattic. Not visible to site owners.", "support": { - "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v1.4.4" + "source": "https://github.com/Automattic/jetpack-a8c-mc-stats/tree/v1.4.5" }, "install-path": "../automattic/jetpack-a8c-mc-stats" }, { "name": "automattic/jetpack-abtest", - "version": "v1.9.9", - "version_normalized": "1.9.9.0", + "version": "v1.9.10", + "version_normalized": "1.9.10.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-abtest.git", - "reference": "426a5e252ccab742af8c58cdcf16c8367c16a3a3" + "reference": "871c178a5bc23492b6a3d93e8bea328a7d300a27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-abtest/zipball/426a5e252ccab742af8c58cdcf16c8367c16a3a3", - "reference": "426a5e252ccab742af8c58cdcf16c8367c16a3a3", + "url": "https://api.github.com/repos/Automattic/jetpack-abtest/zipball/871c178a5bc23492b6a3d93e8bea328a7d300a27", + "reference": "871c178a5bc23492b6a3d93e8bea328a7d300a27", "shasum": "" }, "require": { @@ -69,9 +69,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:16:01+00:00", + "time": "2021-08-31T17:20:49+00:00", "type": "library", "extra": { "autotagger": true, @@ -95,23 +95,23 @@ ], "description": "Provides an interface to the WP.com A/B tests.", "support": { - "source": "https://github.com/Automattic/jetpack-abtest/tree/v1.9.9" + "source": "https://github.com/Automattic/jetpack-abtest/tree/v1.9.10" }, "install-path": "../automattic/jetpack-abtest" }, { "name": "automattic/jetpack-assets", - "version": "v1.11.5", - "version_normalized": "1.11.5.0", + "version": "v1.11.6", + "version_normalized": "1.11.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-assets.git", - "reference": "88f04c6eb63ee4ce801735c03f7db5cae05e79bc" + "reference": "66772f66b59dbec3320d917a490ca2b4f10c86f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/88f04c6eb63ee4ce801735c03f7db5cae05e79bc", - "reference": "88f04c6eb63ee4ce801735c03f7db5cae05e79bc", + "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/66772f66b59dbec3320d917a490ca2b4f10c86f9", + "reference": "66772f66b59dbec3320d917a490ca2b4f10c86f9", "shasum": "" }, "require": { @@ -120,9 +120,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:55+00:00", + "time": "2021-08-30T14:19:15+00:00", "type": "library", "extra": { "autotagger": true, @@ -146,23 +146,23 @@ ], "description": "Asset management utilities for Jetpack ecosystem packages", "support": { - "source": "https://github.com/Automattic/jetpack-assets/tree/v1.11.5" + "source": "https://github.com/Automattic/jetpack-assets/tree/v1.11.6" }, "install-path": "../automattic/jetpack-assets" }, { "name": "automattic/jetpack-autoloader", - "version": "v2.10.3", - "version_normalized": "2.10.3.0", + "version": "v2.10.5", + "version_normalized": "2.10.5.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-autoloader.git", - "reference": "aab966d6f2c8fd6669d6f5b1378d8ced5fd665b4" + "reference": "ec66177eefa1126d5319f3135ff3a7185e21a0ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/aab966d6f2c8fd6669d6f5b1378d8ced5fd665b4", - "reference": "aab966d6f2c8fd6669d6f5b1378d8ced5fd665b4", + "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/ec66177eefa1126d5319f3135ff3a7185e21a0ba", + "reference": "ec66177eefa1126d5319f3135ff3a7185e21a0ba", "shasum": "" }, "require": { @@ -170,9 +170,9 @@ }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:16+00:00", + "time": "2021-08-31T17:20:29+00:00", "type": "composer-plugin", "extra": { "autotagger": true, @@ -200,35 +200,35 @@ ], "description": "Creates a custom autoloader for a plugin or theme.", "support": { - "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.10.3" + "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.10.5" }, "install-path": "../automattic/jetpack-autoloader" }, { "name": "automattic/jetpack-backup", - "version": "v1.1.1", - "version_normalized": "1.1.1.0", + "version": "v1.1.3", + "version_normalized": "1.1.3.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-backup.git", - "reference": "1ec002e2e621218ac27fb07faae0ce52727a6816" + "reference": "bb32f306d7ed6df80712850546481980d851c06c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-backup/zipball/1ec002e2e621218ac27fb07faae0ce52727a6816", - "reference": "1ec002e2e621218ac27fb07faae0ce52727a6816", + "url": "https://api.github.com/repos/Automattic/jetpack-backup/zipball/bb32f306d7ed6df80712850546481980d851c06c", + "reference": "bb32f306d7ed6df80712850546481980d851c06c", "shasum": "" }, "require": { "automattic/jetpack-connection": "^1.30", - "automattic/jetpack-sync": "^1.24" + "automattic/jetpack-sync": "^1.26" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:16:21+00:00", + "time": "2021-08-31T17:20:58+00:00", "type": "library", "extra": { "autotagger": true, @@ -258,32 +258,32 @@ ], "description": "Tools to assist with backing up Jetpack sites.", "support": { - "source": "https://github.com/Automattic/jetpack-backup/tree/v1.1.1" + "source": "https://github.com/Automattic/jetpack-backup/tree/v1.1.3" }, "install-path": "../automattic/jetpack-backup" }, { "name": "automattic/jetpack-blocks", - "version": "v1.4.1", - "version_normalized": "1.4.1.0", + "version": "v1.4.2", + "version_normalized": "1.4.2.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-blocks.git", - "reference": "2d8e214bb64856cc4e2413af2e3252c241c668ca" + "reference": "a041993be7435ca6e372c6f006086818180779fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-blocks/zipball/2d8e214bb64856cc4e2413af2e3252c241c668ca", - "reference": "2d8e214bb64856cc4e2413af2e3252c241c668ca", + "url": "https://api.github.com/repos/Automattic/jetpack-blocks/zipball/a041993be7435ca6e372c6f006086818180779fe", + "reference": "a041993be7435ca6e372c6f006086818180779fe", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "dev-master", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-29T15:33:31+00:00", + "time": "2021-08-31T17:20:30+00:00", "type": "library", "extra": { "autotagger": true, @@ -307,7 +307,7 @@ ], "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", "support": { - "source": "https://github.com/Automattic/jetpack-blocks/tree/v1.4.1" + "source": "https://github.com/Automattic/jetpack-blocks/tree/v1.4.2" }, "install-path": "../automattic/jetpack-blocks" }, @@ -362,23 +362,23 @@ }, { "name": "automattic/jetpack-config", - "version": "v1.4.6", - "version_normalized": "1.4.6.0", + "version": "v1.4.7", + "version_normalized": "1.4.7.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-config.git", - "reference": "98f8080550901a8a29daf466ee75a4906c5f1ef0" + "reference": "219ec1addd3f9e28f3ec3aa8b55d8a4e031bc955" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/98f8080550901a8a29daf466ee75a4906c5f1ef0", - "reference": "98f8080550901a8a29daf466ee75a4906c5f1ef0", + "url": "https://api.github.com/repos/Automattic/jetpack-config/zipball/219ec1addd3f9e28f3ec3aa8b55d8a4e031bc955", + "reference": "219ec1addd3f9e28f3ec3aa8b55d8a4e031bc955", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2" }, - "time": "2021-05-25T16:35:27+00:00", + "time": "2021-08-31T17:20:32+00:00", "type": "library", "extra": { "autotagger": true, @@ -402,23 +402,23 @@ ], "description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.", "support": { - "source": "https://github.com/Automattic/jetpack-config/tree/v1.4.6" + "source": "https://github.com/Automattic/jetpack-config/tree/v1.4.7" }, "install-path": "../automattic/jetpack-config" }, { "name": "automattic/jetpack-connection", - "version": "v1.30.1", - "version_normalized": "1.30.1.0", + "version": "v1.30.4", + "version_normalized": "1.30.4.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-connection.git", - "reference": "c73a279ff07bdd343c8129ca40f56a6eb2b9273c" + "reference": "81e3762de3eb3478c6f29491b198141a10eee21f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/c73a279ff07bdd343c8129ca40f56a6eb2b9273c", - "reference": "c73a279ff07bdd343c8129ca40f56a6eb2b9273c", + "url": "https://api.github.com/repos/Automattic/jetpack-connection/zipball/81e3762de3eb3478c6f29491b198141a10eee21f", + "reference": "81e3762de3eb3478c6f29491b198141a10eee21f", "shasum": "" }, "require": { @@ -436,9 +436,9 @@ "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:15:57+00:00", + "time": "2021-09-02T21:19:22+00:00", "type": "library", "extra": { "autotagger": true, @@ -469,23 +469,23 @@ ], "description": "Everything needed to connect to the Jetpack infrastructure", "support": { - "source": "https://github.com/Automattic/jetpack-connection/tree/v1.30.1" + "source": "https://github.com/Automattic/jetpack-connection/tree/v1.30.4" }, "install-path": "../automattic/jetpack-connection" }, { "name": "automattic/jetpack-connection-ui", - "version": "v1.3.0", - "version_normalized": "1.3.0.0", + "version": "v1.4.0", + "version_normalized": "1.4.0.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-connection-ui.git", - "reference": "a6ce83b175600073786753bf79a9cd6f793dc334" + "reference": "fcad49e5d89a40033303e3c2537070d19cc50e51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-connection-ui/zipball/a6ce83b175600073786753bf79a9cd6f793dc334", - "reference": "a6ce83b175600073786753bf79a9cd6f793dc334", + "url": "https://api.github.com/repos/Automattic/jetpack-connection-ui/zipball/fcad49e5d89a40033303e3c2537070d19cc50e51", + "reference": "fcad49e5d89a40033303e3c2537070d19cc50e51", "shasum": "" }, "require": { @@ -496,7 +496,7 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2" }, - "time": "2021-07-27T20:16:05+00:00", + "time": "2021-08-31T17:20:51+00:00", "type": "library", "extra": { "autotagger": true, @@ -505,7 +505,7 @@ "link-template": "https://github.com/Automattic/jetpack-connection-ui/compare/v${old}...v${new}" }, "branch-alias": { - "dev-master": "1.3.x-dev" + "dev-master": "1.4.x-dev" } }, "installation-source": "dist", @@ -520,31 +520,31 @@ ], "description": "Jetpack Connection UI", "support": { - "source": "https://github.com/Automattic/jetpack-connection-ui/tree/v1.3.0" + "source": "https://github.com/Automattic/jetpack-connection-ui/tree/v1.4.0" }, "install-path": "../automattic/jetpack-connection-ui" }, { "name": "automattic/jetpack-constants", - "version": "v1.6.5", - "version_normalized": "1.6.5.0", + "version": "v1.6.6", + "version_normalized": "1.6.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-constants.git", - "reference": "1e02eebb828c6701f3bf97fa8404e9fc85d3fb63" + "reference": "f72c4292cd5a31ec1acb65e9f7656ba2378ef7cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/1e02eebb828c6701f3bf97fa8404e9fc85d3fb63", - "reference": "1e02eebb828c6701f3bf97fa8404e9fc85d3fb63", + "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/f72c4292cd5a31ec1acb65e9f7656ba2378ef7cf", + "reference": "f72c4292cd5a31ec1acb65e9f7656ba2378ef7cf", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:30+00:00", + "time": "2021-08-30T14:18:59+00:00", "type": "library", "extra": { "autotagger": true, @@ -568,30 +568,30 @@ ], "description": "A wrapper for defining constants in a more testable way.", "support": { - "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.5" + "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.6" }, "install-path": "../automattic/jetpack-constants" }, { "name": "automattic/jetpack-device-detection", - "version": "v1.4.2", - "version_normalized": "1.4.2.0", + "version": "v1.4.3", + "version_normalized": "1.4.3.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-device-detection.git", - "reference": "6f7c0560cac114a99066a703cf66813e325e8630" + "reference": "b45210f06260f97cb351dd2dd1953ff7ee9f60b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/6f7c0560cac114a99066a703cf66813e325e8630", - "reference": "6f7c0560cac114a99066a703cf66813e325e8630", + "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/b45210f06260f97cb351dd2dd1953ff7ee9f60b9", + "reference": "b45210f06260f97cb351dd2dd1953ff7ee9f60b9", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:33+00:00", + "time": "2021-08-31T17:20:34+00:00", "type": "library", "extra": { "autotagger": true, @@ -615,30 +615,30 @@ ], "description": "A way to detect device types based on User-Agent header.", "support": { - "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.2" + "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.3" }, "install-path": "../automattic/jetpack-device-detection" }, { "name": "automattic/jetpack-error", - "version": "v1.3.5", - "version_normalized": "1.3.5.0", + "version": "v1.3.6", + "version_normalized": "1.3.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-error.git", - "reference": "f81fa17c2afb559dd12c52dae8aedb44da6a4195" + "reference": "9846f224dfb3c16d1897e460ea62df8529dc016c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-error/zipball/f81fa17c2afb559dd12c52dae8aedb44da6a4195", - "reference": "f81fa17c2afb559dd12c52dae8aedb44da6a4195", + "url": "https://api.github.com/repos/Automattic/jetpack-error/zipball/9846f224dfb3c16d1897e460ea62df8529dc016c", + "reference": "9846f224dfb3c16d1897e460ea62df8529dc016c", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:36+00:00", + "time": "2021-08-31T17:20:36+00:00", "type": "library", "extra": { "autotagger": true, @@ -662,23 +662,23 @@ ], "description": "Jetpack Error - a wrapper around WP_Error.", "support": { - "source": "https://github.com/Automattic/jetpack-error/tree/v1.3.5" + "source": "https://github.com/Automattic/jetpack-error/tree/v1.3.6" }, "install-path": "../automattic/jetpack-error" }, { "name": "automattic/jetpack-heartbeat", - "version": "v1.3.8", - "version_normalized": "1.3.8.0", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-heartbeat.git", - "reference": "ed630c4a9271d5ce2bba15eec4ff32c448330b67" + "reference": "caade9254cbde292b62b3959547a30a0d80b90da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-heartbeat/zipball/ed630c4a9271d5ce2bba15eec4ff32c448330b67", - "reference": "ed630c4a9271d5ce2bba15eec4ff32c448330b67", + "url": "https://api.github.com/repos/Automattic/jetpack-heartbeat/zipball/caade9254cbde292b62b3959547a30a0d80b90da", + "reference": "caade9254cbde292b62b3959547a30a0d80b90da", "shasum": "" }, "require": { @@ -688,7 +688,7 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2" }, - "time": "2021-06-15T19:25:45+00:00", + "time": "2021-09-03T16:20:06+00:00", "type": "library", "extra": { "autotagger": true, @@ -712,23 +712,23 @@ ], "description": "This adds a cronjob that sends a batch of internal automattic stats to wp.com once a day", "support": { - "source": "https://github.com/Automattic/jetpack-heartbeat/tree/v1.3.8" + "source": "https://github.com/Automattic/jetpack-heartbeat/tree/v1.3.10" }, "install-path": "../automattic/jetpack-heartbeat" }, { "name": "automattic/jetpack-identity-crisis", - "version": "v0.2.2", - "version_normalized": "0.2.2.0", + "version": "v0.2.5", + "version_normalized": "0.2.5.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-identity-crisis.git", - "reference": "f9e76478f8df130238f0843fd53472fff0b7e76e" + "reference": "87b3cc40730a4440dac49bcecfebe0eda2dc5911" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-identity-crisis/zipball/f9e76478f8df130238f0843fd53472fff0b7e76e", - "reference": "f9e76478f8df130238f0843fd53472fff0b7e76e", + "url": "https://api.github.com/repos/Automattic/jetpack-identity-crisis/zipball/87b3cc40730a4440dac49bcecfebe0eda2dc5911", + "reference": "87b3cc40730a4440dac49bcecfebe0eda2dc5911", "shasum": "" }, "require": { @@ -742,9 +742,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:16:08+00:00", + "time": "2021-08-31T17:20:52+00:00", "type": "library", "extra": { "autotagger": true, @@ -771,23 +771,23 @@ ], "description": "Identity Crisis.", "support": { - "source": "https://github.com/Automattic/jetpack-identity-crisis/tree/v0.2.2" + "source": "https://github.com/Automattic/jetpack-identity-crisis/tree/v0.2.5" }, "install-path": "../automattic/jetpack-identity-crisis" }, { "name": "automattic/jetpack-jitm", - "version": "v1.16.2", - "version_normalized": "1.16.2.0", + "version": "v2.0.0", + "version_normalized": "2.0.0.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-jitm.git", - "reference": "3276a4cf55b739c8c42448fd33f16f26ab766aaa" + "reference": "fcca2c18962f5642db3b2e33dc6e4ba14a55234b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-jitm/zipball/3276a4cf55b739c8c42448fd33f16f26ab766aaa", - "reference": "3276a4cf55b739c8c42448fd33f16f26ab766aaa", + "url": "https://api.github.com/repos/Automattic/jetpack-jitm/zipball/fcca2c18962f5642db3b2e33dc6e4ba14a55234b", + "reference": "fcca2c18962f5642db3b2e33dc6e4ba14a55234b", "shasum": "" }, "require": { @@ -805,9 +805,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:16:11+00:00", + "time": "2021-08-31T17:20:53+00:00", "type": "library", "extra": { "autotagger": true, @@ -819,7 +819,7 @@ "link-template": "https://github.com/Automattic/jetpack-jitm/compare/v${old}...v${new}" }, "branch-alias": { - "dev-master": "1.16.x-dev" + "dev-master": "2.0.x-dev" } }, "installation-source": "dist", @@ -834,23 +834,23 @@ ], "description": "Just in time messages for Jetpack", "support": { - "source": "https://github.com/Automattic/jetpack-jitm/tree/v1.16.2" + "source": "https://github.com/Automattic/jetpack-jitm/tree/v2.0.0" }, "install-path": "../automattic/jetpack-jitm" }, { "name": "automattic/jetpack-lazy-images", - "version": "v1.5.0", - "version_normalized": "1.5.0.0", + "version": "v2.0.0", + "version_normalized": "2.0.0.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-lazy-images.git", - "reference": "27d9a86239c61093557d9256bf9d46e589b384cc" + "reference": "317421400c08d4fed1344fa246a083609dd6fdf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-lazy-images/zipball/27d9a86239c61093557d9256bf9d46e589b384cc", - "reference": "27d9a86239c61093557d9256bf9d46e589b384cc", + "url": "https://api.github.com/repos/Automattic/jetpack-lazy-images/zipball/317421400c08d4fed1344fa246a083609dd6fdf0", + "reference": "317421400c08d4fed1344fa246a083609dd6fdf0", "shasum": "" }, "require": { @@ -860,9 +860,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-29T15:33:47+00:00", + "time": "2021-08-31T17:20:46+00:00", "type": "library", "extra": { "autotagger": true, @@ -871,7 +871,7 @@ "link-template": "https://github.com/Automattic/jetpack-lazy-images/compare/v${old}...v${new}" }, "branch-alias": { - "dev-master": "1.5.x-dev" + "dev-master": "2.0.x-dev" } }, "installation-source": "dist", @@ -886,23 +886,23 @@ ], "description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.", "support": { - "source": "https://github.com/Automattic/jetpack-lazy-images/tree/v1.5.0" + "source": "https://github.com/Automattic/jetpack-lazy-images/tree/v2.0.0" }, "install-path": "../automattic/jetpack-lazy-images" }, { "name": "automattic/jetpack-licensing", - "version": "v1.4.4", - "version_normalized": "1.4.4.0", + "version": "v1.4.5", + "version_normalized": "1.4.5.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-licensing.git", - "reference": "1355affaf0dabb72a55a75ed89159e567e458a20" + "reference": "2f8b4b568212722df9398a72f61dea31b54c11a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-licensing/zipball/1355affaf0dabb72a55a75ed89159e567e458a20", - "reference": "1355affaf0dabb72a55a75ed89159e567e458a20", + "url": "https://api.github.com/repos/Automattic/jetpack-licensing/zipball/2f8b4b568212722df9398a72f61dea31b54c11a5", + "reference": "2f8b4b568212722df9398a72f61dea31b54c11a5", "shasum": "" }, "require": { @@ -912,9 +912,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-07-27T20:16:15+00:00", + "time": "2021-08-31T17:20:54+00:00", "type": "library", "extra": { "autotagger": true, @@ -938,30 +938,30 @@ ], "description": "Everything needed to manage Jetpack licenses client-side.", "support": { - "source": "https://github.com/Automattic/jetpack-licensing/tree/v1.4.4" + "source": "https://github.com/Automattic/jetpack-licensing/tree/v1.4.5" }, "install-path": "../automattic/jetpack-licensing" }, { "name": "automattic/jetpack-logo", - "version": "v1.5.5", - "version_normalized": "1.5.5.0", + "version": "v1.5.6", + "version_normalized": "1.5.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-logo.git", - "reference": "4b4a24e30ac76beea19a4d75b451e2b7a287db4c" + "reference": "34010217e32cd209a7b7ec105f9b668aa6681c4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/4b4a24e30ac76beea19a4d75b451e2b7a287db4c", - "reference": "4b4a24e30ac76beea19a4d75b451e2b7a287db4c", + "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/34010217e32cd209a7b7ec105f9b668aa6681c4e", + "reference": "34010217e32cd209a7b7ec105f9b668aa6681c4e", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:39+00:00", + "time": "2021-08-30T14:19:04+00:00", "type": "library", "extra": { "autotagger": true, @@ -985,23 +985,23 @@ ], "description": "A logo for Jetpack", "support": { - "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.5" + "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.6" }, "install-path": "../automattic/jetpack-logo" }, { "name": "automattic/jetpack-options", - "version": "v1.13.0", - "version_normalized": "1.13.0.0", + "version": "v1.13.1", + "version_normalized": "1.13.1.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-options.git", - "reference": "2606ae27f9b4336ca1b34ee9ecd99ac658ef30fc" + "reference": "fd3d213bc4d7597ea2d5f24adbf111028db46496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-options/zipball/2606ae27f9b4336ca1b34ee9ecd99ac658ef30fc", - "reference": "2606ae27f9b4336ca1b34ee9ecd99ac658ef30fc", + "url": "https://api.github.com/repos/Automattic/jetpack-options/zipball/fd3d213bc4d7597ea2d5f24adbf111028db46496", + "reference": "fd3d213bc4d7597ea2d5f24adbf111028db46496", "shasum": "" }, "require": { @@ -1009,9 +1009,9 @@ }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-15T19:25:39+00:00", + "time": "2021-08-30T14:19:17+00:00", "type": "library", "extra": { "autotagger": true, @@ -1035,31 +1035,31 @@ ], "description": "A wrapper for wp-options to manage specific Jetpack options.", "support": { - "source": "https://github.com/Automattic/jetpack-options/tree/v1.13.0" + "source": "https://github.com/Automattic/jetpack-options/tree/v1.13.1" }, "install-path": "../automattic/jetpack-options" }, { "name": "automattic/jetpack-partner", - "version": "v1.5.1", - "version_normalized": "1.5.1.0", + "version": "v1.5.2", + "version_normalized": "1.5.2.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-partner.git", - "reference": "c5836805d2dd2367264408260d1f51a0a82a0203" + "reference": "96dccb4a2b842c87010e51949a34d14a1b18b93e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-partner/zipball/c5836805d2dd2367264408260d1f51a0a82a0203", - "reference": "c5836805d2dd2367264408260d1f51a0a82a0203", + "url": "https://api.github.com/repos/Automattic/jetpack-partner/zipball/96dccb4a2b842c87010e51949a34d14a1b18b93e", + "reference": "96dccb4a2b842c87010e51949a34d14a1b18b93e", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:42+00:00", + "time": "2021-08-31T17:20:38+00:00", "type": "library", "extra": { "autotagger": true, @@ -1083,31 +1083,31 @@ ], "description": "Support functions for Jetpack hosting partners.", "support": { - "source": "https://github.com/Automattic/jetpack-partner/tree/v1.5.1" + "source": "https://github.com/Automattic/jetpack-partner/tree/v1.5.2" }, "install-path": "../automattic/jetpack-partner" }, { "name": "automattic/jetpack-password-checker", - "version": "v0.1.2", - "version_normalized": "0.1.2.0", + "version": "v0.1.3", + "version_normalized": "0.1.3.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-password-checker.git", - "reference": "408bf765942578276da69b10c2600564773dceee" + "reference": "237443544c10f174fa73ba46d5eb2bb2e53e3aff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-password-checker/zipball/408bf765942578276da69b10c2600564773dceee", - "reference": "408bf765942578276da69b10c2600564773dceee", + "url": "https://api.github.com/repos/Automattic/jetpack-password-checker/zipball/237443544c10f174fa73ba46d5eb2bb2e53e3aff", + "reference": "237443544c10f174fa73ba46d5eb2bb2e53e3aff", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:44+00:00", + "time": "2021-08-30T14:19:07+00:00", "type": "library", "extra": { "autotagger": true, @@ -1131,23 +1131,23 @@ ], "description": "Password Checker.", "support": { - "source": "https://github.com/Automattic/jetpack-password-checker/tree/v0.1.2" + "source": "https://github.com/Automattic/jetpack-password-checker/tree/v0.1.3" }, "install-path": "../automattic/jetpack-password-checker" }, { "name": "automattic/jetpack-redirect", - "version": "v1.7.0", - "version_normalized": "1.7.0.0", + "version": "v1.7.1", + "version_normalized": "1.7.1.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-redirect.git", - "reference": "8320a82f8daee5127a2c3e19cb4e2566ba4c94bb" + "reference": "1607360c2f8b4e14d97cb3a22aee8e1565d96f80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/8320a82f8daee5127a2c3e19cb4e2566ba4c94bb", - "reference": "8320a82f8daee5127a2c3e19cb4e2566ba4c94bb", + "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/1607360c2f8b4e14d97cb3a22aee8e1565d96f80", + "reference": "1607360c2f8b4e14d97cb3a22aee8e1565d96f80", "shasum": "" }, "require": { @@ -1156,9 +1156,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-29T15:33:42+00:00", + "time": "2021-08-30T14:19:19+00:00", "type": "library", "extra": { "autotagger": true, @@ -1182,31 +1182,31 @@ ], "description": "Utilities to build URLs to the jetpack.com/redirect/ service", "support": { - "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.0" + "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.1" }, "install-path": "../automattic/jetpack-redirect" }, { "name": "automattic/jetpack-roles", - "version": "v1.4.5", - "version_normalized": "1.4.5.0", + "version": "v1.4.6", + "version_normalized": "1.4.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-roles.git", - "reference": "d04bbd4e012516d280a610e3961edef5cf241722" + "reference": "1b67fb3d17842d54ee6242fbd665417ce9b3d497" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/d04bbd4e012516d280a610e3961edef5cf241722", - "reference": "d04bbd4e012516d280a610e3961edef5cf241722", + "url": "https://api.github.com/repos/Automattic/jetpack-roles/zipball/1b67fb3d17842d54ee6242fbd665417ce9b3d497", + "reference": "1b67fb3d17842d54ee6242fbd665417ce9b3d497", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-05-25T16:35:47+00:00", + "time": "2021-08-30T14:19:09+00:00", "type": "library", "extra": { "autotagger": true, @@ -1230,31 +1230,31 @@ ], "description": "Utilities, related with user roles and capabilities.", "support": { - "source": "https://github.com/Automattic/jetpack-roles/tree/v1.4.5" + "source": "https://github.com/Automattic/jetpack-roles/tree/v1.4.6" }, "install-path": "../automattic/jetpack-roles" }, { "name": "automattic/jetpack-status", - "version": "v1.8.0", - "version_normalized": "1.8.0.0", + "version": "v1.8.1", + "version_normalized": "1.8.1.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-status.git", - "reference": "9da88ee253d69e4948c76e4080435aca23c65dbb" + "reference": "f3f26d5effc09709e5b52290cc7e3dd2c5861b14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/9da88ee253d69e4948c76e4080435aca23c65dbb", - "reference": "9da88ee253d69e4948c76e4080435aca23c65dbb", + "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/f3f26d5effc09709e5b52290cc7e3dd2c5861b14", + "reference": "f3f26d5effc09709e5b52290cc7e3dd2c5861b14", "shasum": "" }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-15T19:25:35+00:00", + "time": "2021-08-30T14:19:10+00:00", "type": "library", "extra": { "autotagger": true, @@ -1278,23 +1278,23 @@ ], "description": "Used to retrieve information about the current status of Jetpack and the site overall.", "support": { - "source": "https://github.com/Automattic/jetpack-status/tree/v1.8.0" + "source": "https://github.com/Automattic/jetpack-status/tree/v1.8.1" }, "install-path": "../automattic/jetpack-status" }, { "name": "automattic/jetpack-sync", - "version": "v1.24.2", - "version_normalized": "1.24.2.0", + "version": "v1.26.1", + "version_normalized": "1.26.1.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-sync.git", - "reference": "08ddb52e2118daa59541dadedb87a25febf12ef5" + "reference": "f60b01c93ac9408fd9121bb5bd8a1ba7a6b33dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-sync/zipball/08ddb52e2118daa59541dadedb87a25febf12ef5", - "reference": "08ddb52e2118daa59541dadedb87a25febf12ef5", + "url": "https://api.github.com/repos/Automattic/jetpack-sync/zipball/f60b01c93ac9408fd9121bb5bd8a1ba7a6b33dd4", + "reference": "f60b01c93ac9408fd9121bb5bd8a1ba7a6b33dd4", "shasum": "" }, "require": { @@ -1310,9 +1310,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-08-02T21:55:48+00:00", + "time": "2021-09-03T16:20:18+00:00", "type": "library", "extra": { "autotagger": true, @@ -1324,7 +1324,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-master": "1.24.x-dev" + "dev-master": "1.26.x-dev" } }, "installation-source": "dist", @@ -1339,23 +1339,23 @@ ], "description": "Everything needed to allow syncing to the WP.com infrastructure.", "support": { - "source": "https://github.com/Automattic/jetpack-sync/tree/v1.24.2" + "source": "https://github.com/Automattic/jetpack-sync/tree/v1.26.1" }, "install-path": "../automattic/jetpack-sync" }, { "name": "automattic/jetpack-terms-of-service", - "version": "v1.9.8", - "version_normalized": "1.9.8.0", + "version": "v1.9.9", + "version_normalized": "1.9.9.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-terms-of-service.git", - "reference": "9ebb094dc1243b36c449ecb37a858511c9b41759" + "reference": "96667ee94d2a1b47a3a054af0af909ba7d4b0707" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-terms-of-service/zipball/9ebb094dc1243b36c449ecb37a858511c9b41759", - "reference": "9ebb094dc1243b36c449ecb37a858511c9b41759", + "url": "https://api.github.com/repos/Automattic/jetpack-terms-of-service/zipball/96667ee94d2a1b47a3a054af0af909ba7d4b0707", + "reference": "96667ee94d2a1b47a3a054af0af909ba7d4b0707", "shasum": "" }, "require": { @@ -1365,9 +1365,9 @@ "require-dev": { "automattic/jetpack-changelogger": "^1.2", "brain/monkey": "2.6.0", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-15T19:25:48+00:00", + "time": "2021-08-30T14:19:27+00:00", "type": "library", "extra": { "autotagger": true, @@ -1391,23 +1391,23 @@ ], "description": "Everything need to manage the terms of service state", "support": { - "source": "https://github.com/Automattic/jetpack-terms-of-service/tree/v1.9.8" + "source": "https://github.com/Automattic/jetpack-terms-of-service/tree/v1.9.9" }, "install-path": "../automattic/jetpack-terms-of-service" }, { "name": "automattic/jetpack-tracking", - "version": "v1.13.7", - "version_normalized": "1.13.7.0", + "version": "v1.13.9", + "version_normalized": "1.13.9.0", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-tracking.git", - "reference": "8fd3b9aef38dd2dd9b072dfd9af5b9a3278b20b6" + "reference": "fe019c0cee900559e21d7a98d564177a373b1016" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-tracking/zipball/8fd3b9aef38dd2dd9b072dfd9af5b9a3278b20b6", - "reference": "8fd3b9aef38dd2dd9b072dfd9af5b9a3278b20b6", + "url": "https://api.github.com/repos/Automattic/jetpack-tracking/zipball/fe019c0cee900559e21d7a98d564177a373b1016", + "reference": "fe019c0cee900559e21d7a98d564177a373b1016", "shasum": "" }, "require": { @@ -1418,9 +1418,9 @@ }, "require-dev": { "automattic/jetpack-changelogger": "^1.2", - "yoast/phpunit-polyfills": "0.2.0" + "yoast/phpunit-polyfills": "1.0.1" }, - "time": "2021-06-15T19:25:51+00:00", + "time": "2021-08-30T14:19:28+00:00", "type": "library", "extra": { "autotagger": true, @@ -1445,7 +1445,7 @@ ], "description": "Tracking for Jetpack", "support": { - "source": "https://github.com/Automattic/jetpack-tracking/tree/v1.13.7" + "source": "https://github.com/Automattic/jetpack-tracking/tree/v1.13.9" }, "install-path": "../automattic/jetpack-tracking" }, diff --git a/wp-content/plugins/jetpack/vendor/composer/installed.php b/wp-content/plugins/jetpack/vendor/composer/installed.php index 0a240905c..8b7aa189b 100644 --- a/wp-content/plugins/jetpack/vendor/composer/installed.php +++ b/wp-content/plugins/jetpack/vendor/composer/installed.php @@ -22,57 +22,57 @@ ), 'automattic/jetpack-a8c-mc-stats' => array ( - 'pretty_version' => 'v1.4.4', - 'version' => '1.4.4.0', + 'pretty_version' => 'v1.4.5', + 'version' => '1.4.5.0', 'aliases' => array ( ), - 'reference' => '59df714196e8ac4fd69a4ddedcb9dbeb12e7ecb5', + 'reference' => '5307c1526b153520bad42d459dcf42074cf28f5c', ), 'automattic/jetpack-abtest' => array ( - 'pretty_version' => 'v1.9.9', - 'version' => '1.9.9.0', + 'pretty_version' => 'v1.9.10', + 'version' => '1.9.10.0', 'aliases' => array ( ), - 'reference' => '426a5e252ccab742af8c58cdcf16c8367c16a3a3', + 'reference' => '871c178a5bc23492b6a3d93e8bea328a7d300a27', ), 'automattic/jetpack-assets' => array ( - 'pretty_version' => 'v1.11.5', - 'version' => '1.11.5.0', + 'pretty_version' => 'v1.11.6', + 'version' => '1.11.6.0', 'aliases' => array ( ), - 'reference' => '88f04c6eb63ee4ce801735c03f7db5cae05e79bc', + 'reference' => '66772f66b59dbec3320d917a490ca2b4f10c86f9', ), 'automattic/jetpack-autoloader' => array ( - 'pretty_version' => 'v2.10.3', - 'version' => '2.10.3.0', + 'pretty_version' => 'v2.10.5', + 'version' => '2.10.5.0', 'aliases' => array ( ), - 'reference' => 'aab966d6f2c8fd6669d6f5b1378d8ced5fd665b4', + 'reference' => 'ec66177eefa1126d5319f3135ff3a7185e21a0ba', ), 'automattic/jetpack-backup' => array ( - 'pretty_version' => 'v1.1.1', - 'version' => '1.1.1.0', + 'pretty_version' => 'v1.1.3', + 'version' => '1.1.3.0', 'aliases' => array ( ), - 'reference' => '1ec002e2e621218ac27fb07faae0ce52727a6816', + 'reference' => 'bb32f306d7ed6df80712850546481980d851c06c', ), 'automattic/jetpack-blocks' => array ( - 'pretty_version' => 'v1.4.1', - 'version' => '1.4.1.0', + 'pretty_version' => 'v1.4.2', + 'version' => '1.4.2.0', 'aliases' => array ( ), - 'reference' => '2d8e214bb64856cc4e2413af2e3252c241c668ca', + 'reference' => 'a041993be7435ca6e372c6f006086818180779fe', ), 'automattic/jetpack-compat' => array ( @@ -85,192 +85,192 @@ ), 'automattic/jetpack-config' => array ( - 'pretty_version' => 'v1.4.6', - 'version' => '1.4.6.0', + 'pretty_version' => 'v1.4.7', + 'version' => '1.4.7.0', 'aliases' => array ( ), - 'reference' => '98f8080550901a8a29daf466ee75a4906c5f1ef0', + 'reference' => '219ec1addd3f9e28f3ec3aa8b55d8a4e031bc955', ), 'automattic/jetpack-connection' => array ( - 'pretty_version' => 'v1.30.1', - 'version' => '1.30.1.0', + 'pretty_version' => 'v1.30.4', + 'version' => '1.30.4.0', 'aliases' => array ( ), - 'reference' => 'c73a279ff07bdd343c8129ca40f56a6eb2b9273c', + 'reference' => '81e3762de3eb3478c6f29491b198141a10eee21f', ), 'automattic/jetpack-connection-ui' => array ( - 'pretty_version' => 'v1.3.0', - 'version' => '1.3.0.0', + 'pretty_version' => 'v1.4.0', + 'version' => '1.4.0.0', 'aliases' => array ( ), - 'reference' => 'a6ce83b175600073786753bf79a9cd6f793dc334', + 'reference' => 'fcad49e5d89a40033303e3c2537070d19cc50e51', ), 'automattic/jetpack-constants' => array ( - 'pretty_version' => 'v1.6.5', - 'version' => '1.6.5.0', + 'pretty_version' => 'v1.6.6', + 'version' => '1.6.6.0', 'aliases' => array ( ), - 'reference' => '1e02eebb828c6701f3bf97fa8404e9fc85d3fb63', + 'reference' => 'f72c4292cd5a31ec1acb65e9f7656ba2378ef7cf', ), 'automattic/jetpack-device-detection' => array ( - 'pretty_version' => 'v1.4.2', - 'version' => '1.4.2.0', + 'pretty_version' => 'v1.4.3', + 'version' => '1.4.3.0', 'aliases' => array ( ), - 'reference' => '6f7c0560cac114a99066a703cf66813e325e8630', + 'reference' => 'b45210f06260f97cb351dd2dd1953ff7ee9f60b9', ), 'automattic/jetpack-error' => array ( - 'pretty_version' => 'v1.3.5', - 'version' => '1.3.5.0', + 'pretty_version' => 'v1.3.6', + 'version' => '1.3.6.0', 'aliases' => array ( ), - 'reference' => 'f81fa17c2afb559dd12c52dae8aedb44da6a4195', + 'reference' => '9846f224dfb3c16d1897e460ea62df8529dc016c', ), 'automattic/jetpack-heartbeat' => array ( - 'pretty_version' => 'v1.3.8', - 'version' => '1.3.8.0', + 'pretty_version' => 'v1.3.10', + 'version' => '1.3.10.0', 'aliases' => array ( ), - 'reference' => 'ed630c4a9271d5ce2bba15eec4ff32c448330b67', + 'reference' => 'caade9254cbde292b62b3959547a30a0d80b90da', ), 'automattic/jetpack-identity-crisis' => array ( - 'pretty_version' => 'v0.2.2', - 'version' => '0.2.2.0', + 'pretty_version' => 'v0.2.5', + 'version' => '0.2.5.0', 'aliases' => array ( ), - 'reference' => 'f9e76478f8df130238f0843fd53472fff0b7e76e', + 'reference' => '87b3cc40730a4440dac49bcecfebe0eda2dc5911', ), 'automattic/jetpack-jitm' => array ( - 'pretty_version' => 'v1.16.2', - 'version' => '1.16.2.0', + 'pretty_version' => 'v2.0.0', + 'version' => '2.0.0.0', 'aliases' => array ( ), - 'reference' => '3276a4cf55b739c8c42448fd33f16f26ab766aaa', + 'reference' => 'fcca2c18962f5642db3b2e33dc6e4ba14a55234b', ), 'automattic/jetpack-lazy-images' => array ( - 'pretty_version' => 'v1.5.0', - 'version' => '1.5.0.0', + 'pretty_version' => 'v2.0.0', + 'version' => '2.0.0.0', 'aliases' => array ( ), - 'reference' => '27d9a86239c61093557d9256bf9d46e589b384cc', + 'reference' => '317421400c08d4fed1344fa246a083609dd6fdf0', ), 'automattic/jetpack-licensing' => - array ( - 'pretty_version' => 'v1.4.4', - 'version' => '1.4.4.0', - 'aliases' => - array ( - ), - 'reference' => '1355affaf0dabb72a55a75ed89159e567e458a20', - ), - 'automattic/jetpack-logo' => - array ( - 'pretty_version' => 'v1.5.5', - 'version' => '1.5.5.0', - 'aliases' => - array ( - ), - 'reference' => '4b4a24e30ac76beea19a4d75b451e2b7a287db4c', - ), - 'automattic/jetpack-options' => - array ( - 'pretty_version' => 'v1.13.0', - 'version' => '1.13.0.0', - 'aliases' => - array ( - ), - 'reference' => '2606ae27f9b4336ca1b34ee9ecd99ac658ef30fc', - ), - 'automattic/jetpack-partner' => - array ( - 'pretty_version' => 'v1.5.1', - 'version' => '1.5.1.0', - 'aliases' => - array ( - ), - 'reference' => 'c5836805d2dd2367264408260d1f51a0a82a0203', - ), - 'automattic/jetpack-password-checker' => - array ( - 'pretty_version' => 'v0.1.2', - 'version' => '0.1.2.0', - 'aliases' => - array ( - ), - 'reference' => '408bf765942578276da69b10c2600564773dceee', - ), - 'automattic/jetpack-redirect' => - array ( - 'pretty_version' => 'v1.7.0', - 'version' => '1.7.0.0', - 'aliases' => - array ( - ), - 'reference' => '8320a82f8daee5127a2c3e19cb4e2566ba4c94bb', - ), - 'automattic/jetpack-roles' => array ( 'pretty_version' => 'v1.4.5', 'version' => '1.4.5.0', 'aliases' => array ( ), - 'reference' => 'd04bbd4e012516d280a610e3961edef5cf241722', + 'reference' => '2f8b4b568212722df9398a72f61dea31b54c11a5', + ), + 'automattic/jetpack-logo' => + array ( + 'pretty_version' => 'v1.5.6', + 'version' => '1.5.6.0', + 'aliases' => + array ( + ), + 'reference' => '34010217e32cd209a7b7ec105f9b668aa6681c4e', + ), + 'automattic/jetpack-options' => + array ( + 'pretty_version' => 'v1.13.1', + 'version' => '1.13.1.0', + 'aliases' => + array ( + ), + 'reference' => 'fd3d213bc4d7597ea2d5f24adbf111028db46496', + ), + 'automattic/jetpack-partner' => + array ( + 'pretty_version' => 'v1.5.2', + 'version' => '1.5.2.0', + 'aliases' => + array ( + ), + 'reference' => '96dccb4a2b842c87010e51949a34d14a1b18b93e', + ), + 'automattic/jetpack-password-checker' => + array ( + 'pretty_version' => 'v0.1.3', + 'version' => '0.1.3.0', + 'aliases' => + array ( + ), + 'reference' => '237443544c10f174fa73ba46d5eb2bb2e53e3aff', + ), + 'automattic/jetpack-redirect' => + array ( + 'pretty_version' => 'v1.7.1', + 'version' => '1.7.1.0', + 'aliases' => + array ( + ), + 'reference' => '1607360c2f8b4e14d97cb3a22aee8e1565d96f80', + ), + 'automattic/jetpack-roles' => + array ( + 'pretty_version' => 'v1.4.6', + 'version' => '1.4.6.0', + 'aliases' => + array ( + ), + 'reference' => '1b67fb3d17842d54ee6242fbd665417ce9b3d497', ), 'automattic/jetpack-status' => array ( - 'pretty_version' => 'v1.8.0', - 'version' => '1.8.0.0', + 'pretty_version' => 'v1.8.1', + 'version' => '1.8.1.0', 'aliases' => array ( ), - 'reference' => '9da88ee253d69e4948c76e4080435aca23c65dbb', + 'reference' => 'f3f26d5effc09709e5b52290cc7e3dd2c5861b14', ), 'automattic/jetpack-sync' => array ( - 'pretty_version' => 'v1.24.2', - 'version' => '1.24.2.0', + 'pretty_version' => 'v1.26.1', + 'version' => '1.26.1.0', 'aliases' => array ( ), - 'reference' => '08ddb52e2118daa59541dadedb87a25febf12ef5', + 'reference' => 'f60b01c93ac9408fd9121bb5bd8a1ba7a6b33dd4', ), 'automattic/jetpack-terms-of-service' => array ( - 'pretty_version' => 'v1.9.8', - 'version' => '1.9.8.0', + 'pretty_version' => 'v1.9.9', + 'version' => '1.9.9.0', 'aliases' => array ( ), - 'reference' => '9ebb094dc1243b36c449ecb37a858511c9b41759', + 'reference' => '96667ee94d2a1b47a3a054af0af909ba7d4b0707', ), 'automattic/jetpack-tracking' => array ( - 'pretty_version' => 'v1.13.7', - 'version' => '1.13.7.0', + 'pretty_version' => 'v1.13.9', + 'version' => '1.13.9.0', 'aliases' => array ( ), - 'reference' => '8fd3b9aef38dd2dd9b072dfd9af5b9a3278b20b6', + 'reference' => 'fe019c0cee900559e21d7a98d564177a373b1016', ), 'nojimage/twitter-text-php' => array ( diff --git a/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php b/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php index e1a6b391e..afdd1ee1c 100644 --- a/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php +++ b/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_classmap.php @@ -6,500 +6,504 @@ $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); return array( + 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array( + 'version' => '2.10.5.0', + 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php' + ), + 'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array( + 'version' => '2.10.5.0', + 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php' + ), 'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array( - 'version' => '2.10.3.0', + 'version' => '2.10.5.0', 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php' ), 'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array( - 'version' => '2.10.3.0', + 'version' => '2.10.5.0', 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php' ), - 'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array( - 'version' => '2.10.3.0', - 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php' - ), 'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array( - 'version' => '2.10.3.0', + 'version' => '2.10.5.0', 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php' ), - 'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array( - 'version' => '2.10.3.0', - 'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php' - ), 'Twitter\\Text\\HitHighlighter' => array( 'version' => '3.1.2.0', 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/HitHighlighter.php' ), - 'Twitter\\Text\\Extractor' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Extractor.php' - ), - 'Twitter\\Text\\Regex' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Regex.php' - ), - 'Twitter\\Text\\EmojiRegex' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/EmojiRegex.php' - ), 'Twitter\\Text\\Configuration' => array( 'version' => '3.1.2.0', 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Configuration.php' ), - 'Twitter\\Text\\TldLists' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/TldLists.php' - ), - 'Twitter\\Text\\Parser' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Parser.php' - ), - 'Twitter\\Text\\Validator' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Validator.php' - ), - 'Twitter\\Text\\StringUtils' => array( - 'version' => '3.1.2.0', - 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/StringUtils.php' - ), 'Twitter\\Text\\Autolink' => array( 'version' => '3.1.2.0', 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Autolink.php' ), + 'Twitter\\Text\\StringUtils' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/StringUtils.php' + ), + 'Twitter\\Text\\EmojiRegex' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/EmojiRegex.php' + ), + 'Twitter\\Text\\TldLists' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/TldLists.php' + ), + 'Twitter\\Text\\Regex' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Regex.php' + ), + 'Twitter\\Text\\Parser' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Parser.php' + ), 'Twitter\\Text\\ParseResults' => array( 'version' => '3.1.2.0', 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/ParseResults.php' ), + 'Twitter\\Text\\Extractor' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Extractor.php' + ), + 'Twitter\\Text\\Validator' => array( + 'version' => '3.1.2.0', + 'path' => $vendorDir . '/nojimage/twitter-text-php/lib/Twitter/Text/Validator.php' + ), 'Automattic\\Jetpack\\Plugin\\Tracking' => array( 'version' => 'dev-master', 'path' => $baseDir . '/src/class-tracking.php' ), 'Automattic\\Jetpack\\Licensing' => array( - 'version' => '1.4.4.0', + 'version' => '1.4.5.0', 'path' => $vendorDir . '/automattic/jetpack-licensing/src/class-licensing.php' ), 'Automattic\\Jetpack\\Jetpack_Lazy_Images' => array( - 'version' => '1.5.0.0', + 'version' => '2.0.0.0', 'path' => $vendorDir . '/automattic/jetpack-lazy-images/src/lazy-images.php' ), - 'Automattic\\Jetpack\\JITMS\\JITM' => array( - 'version' => '1.16.2.0', - 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-jitm.php' - ), - 'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => array( - 'version' => '1.16.2.0', - 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-rest-api-endpoints.php' - ), 'Automattic\\Jetpack\\JITMS\\Post_Connection_JITM' => array( - 'version' => '1.16.2.0', + 'version' => '2.0.0.0', 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-post-connection-jitm.php' ), 'Automattic\\Jetpack\\JITMS\\Pre_Connection_JITM' => array( - 'version' => '1.16.2.0', + 'version' => '2.0.0.0', 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-pre-connection-jitm.php' ), - 'Automattic\\Jetpack\\ConnectionUI\\Initial_State' => array( - 'version' => '1.3.0.0', - 'path' => $vendorDir . '/automattic/jetpack-connection-ui/src/class-initial-state.php' + 'Automattic\\Jetpack\\JITMS\\JITM' => array( + 'version' => '2.0.0.0', + 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-jitm.php' + ), + 'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => array( + 'version' => '2.0.0.0', + 'path' => $vendorDir . '/automattic/jetpack-jitm/src/class-rest-api-endpoints.php' ), 'Automattic\\Jetpack\\ConnectionUI\\Admin' => array( - 'version' => '1.3.0.0', + 'version' => '1.4.0.0', 'path' => $vendorDir . '/automattic/jetpack-connection-ui/src/class-admin.php' ), + 'Automattic\\Jetpack\\ConnectionUI\\Initial_State' => array( + 'version' => '1.4.0.0', + 'path' => $vendorDir . '/automattic/jetpack-connection-ui/src/class-initial-state.php' + ), 'Automattic\\Jetpack\\Config' => array( - 'version' => '1.4.6.0', + 'version' => '1.4.7.0', 'path' => $vendorDir . '/automattic/jetpack-config/src/class-config.php' ), - 'Automattic\\Jetpack\\Abtest' => array( - 'version' => '1.9.9.0', - 'path' => $vendorDir . '/automattic/jetpack-abtest/src/class-abtest.php' - ), - 'Jetpack_Sync_Actions' => array( - 'version' => '1.6.5.0', - 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php' - ), - 'Jetpack_Sync_Settings' => array( - 'version' => '1.6.5.0', - 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php' - ), - 'JetpackTracking' => array( - 'version' => '1.6.5.0', - 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpacktracking.php' - ), - 'Jetpack_Client' => array( - 'version' => '1.6.5.0', - 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-client.php' - ), 'Jetpack_Sync_Modules' => array( 'version' => '1.6.5.0', 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-modules.php' ), + 'Jetpack_Client' => array( + 'version' => '1.6.5.0', + 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-client.php' + ), + 'Jetpack_Sync_Settings' => array( + 'version' => '1.6.5.0', + 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-settings.php' + ), + 'Jetpack_Sync_Actions' => array( + 'version' => '1.6.5.0', + 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpack-sync-actions.php' + ), + 'JetpackTracking' => array( + 'version' => '1.6.5.0', + 'path' => $vendorDir . '/automattic/jetpack-compat/legacy/class-jetpacktracking.php' + ), 'Automattic\\Jetpack\\Blocks' => array( - 'version' => '1.4.1.0', + 'version' => '1.4.2.0', 'path' => $vendorDir . '/automattic/jetpack-blocks/src/class-blocks.php' ), + 'Automattic\\Jetpack\\Backup\\Package_Version' => array( + 'version' => '1.1.3.0', + 'path' => $vendorDir . '/automattic/jetpack-backup/src/class-package-version.php' + ), 'Automattic\\Jetpack\\Backup\\REST_Controller' => array( - 'version' => '1.1.1.0', + 'version' => '1.1.3.0', 'path' => $vendorDir . '/automattic/jetpack-backup/src/class-rest-controller.php' ), 'Automattic\\Jetpack\\Backup\\Helper_Script_Manager' => array( - 'version' => '1.1.1.0', + 'version' => '1.1.3.0', 'path' => $vendorDir . '/automattic/jetpack-backup/src/class-helper-script-manager.php' ), - 'Automattic\\Jetpack\\Backup\\Package_Version' => array( - 'version' => '1.1.1.0', - 'path' => $vendorDir . '/automattic/jetpack-backup/src/class-package-version.php' + 'Automattic\\Jetpack\\Abtest' => array( + 'version' => '1.9.10.0', + 'path' => $vendorDir . '/automattic/jetpack-abtest/src/class-abtest.php' ), 'Automattic\\Jetpack\\Partner' => array( - 'version' => '1.5.1.0', + 'version' => '1.5.2.0', 'path' => $vendorDir . '/automattic/jetpack-partner/src/class-partner.php' ), 'Automattic\\Jetpack\\Sync\\Utils' => array( - 'version' => '1.24.2.0', + 'version' => '1.26.1.0', 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-utils.php' ), - 'Automattic\\Jetpack\\Sync\\Users' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-users.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-users.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-menus.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-terms.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-term-relationships.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-comments.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-options.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-constants.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-network-options.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-themes.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Stats' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-stats.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-protect.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-import.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-woocommerce.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-meta.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Attachments' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-attachments.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-updates.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-callables.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-plugins.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Module' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-module.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-posts.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-wp-super-cache.php' - ), - 'Automattic\\Jetpack\\Sync\\Server' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-server.php' - ), - 'Automattic\\Jetpack\\Sync\\Actions' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-actions.php' - ), - 'Automattic\\Jetpack\\Sync\\Main' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-main.php' - ), - 'Automattic\\Jetpack\\Sync\\Simple_Codec' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-simple-codec.php' - ), - 'Automattic\\Jetpack\\Sync\\Queue' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-queue.php' - ), - 'Automattic\\Jetpack\\Sync\\Functions' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-functions.php' - ), - 'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-replicastore.php' - ), - 'Automattic\\Jetpack\\Sync\\Lock' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-lock.php' - ), - 'Automattic\\Jetpack\\Sync\\Replicastore' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-replicastore.php' - ), - 'Automattic\\Jetpack\\Sync\\Settings' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-settings.php' - ), - 'Automattic\\Jetpack\\Sync\\Listener' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-listener.php' - ), - 'Automattic\\Jetpack\\Sync\\Sender' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-sender.php' - ), - 'Automattic\\Jetpack\\Sync\\Codec_Interface' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-codec.php' - ), - 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-json-deflate-array-codec.php' - ), - 'Automattic\\Jetpack\\Sync\\Modules' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-modules.php' - ), - 'Automattic\\Jetpack\\Sync\\REST_Endpoints' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-rest-endpoints.php' - ), - 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/replicastore/class-table-checksum.php' - ), 'Automattic\\Jetpack\\Sync\\Health' => array( - 'version' => '1.24.2.0', + 'version' => '1.26.1.0', 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-health.php' ), + 'Automattic\\Jetpack\\Sync\\Sender' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-sender.php' + ), + 'Automattic\\Jetpack\\Sync\\Main' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-main.php' + ), + 'Automattic\\Jetpack\\Sync\\Queue' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-queue.php' + ), 'Automattic\\Jetpack\\Sync\\Package_Version' => array( - 'version' => '1.24.2.0', + 'version' => '1.26.1.0', 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-package-version.php' ), + 'Automattic\\Jetpack\\Sync\\Replicastore' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-replicastore.php' + ), + 'Automattic\\Jetpack\\Sync\\Lock' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-lock.php' + ), + 'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-replicastore.php' + ), + 'Automattic\\Jetpack\\Sync\\REST_Endpoints' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-rest-endpoints.php' + ), + 'Automattic\\Jetpack\\Sync\\Simple_Codec' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-simple-codec.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-modules.php' + ), + 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-json-deflate-array-codec.php' + ), + 'Automattic\\Jetpack\\Sync\\Settings' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-settings.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-protect.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-plugins.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-wp-super-cache.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-term-relationships.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-callables.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-posts.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-woocommerce.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-terms.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-menus.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Import' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-import.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Stats' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-stats.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Attachments' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-attachments.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-constants.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-meta.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Module' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-module.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Options' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-options.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Users' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-users.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-comments.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-themes.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-network-options.php' + ), + 'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/modules/class-updates.php' + ), + 'Automattic\\Jetpack\\Sync\\Users' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-users.php' + ), + 'Automattic\\Jetpack\\Sync\\Actions' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-actions.php' + ), 'Automattic\\Jetpack\\Sync\\REST_Sender' => array( - 'version' => '1.24.2.0', + 'version' => '1.26.1.0', 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-rest-sender.php' ), - 'Automattic\\Jetpack\\Sync\\Defaults' => array( - 'version' => '1.24.2.0', - 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-defaults.php' + 'Automattic\\Jetpack\\Sync\\Server' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-server.php' + ), + 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/replicastore/class-table-checksum.php' + ), + 'Automattic\\Jetpack\\Sync\\Codec_Interface' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/interface-codec.php' ), 'Automattic\\Jetpack\\Sync\\Queue_Buffer' => array( - 'version' => '1.24.2.0', + 'version' => '1.26.1.0', 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-queue-buffer.php' ), + 'Automattic\\Jetpack\\Sync\\Defaults' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-defaults.php' + ), + 'Automattic\\Jetpack\\Sync\\Functions' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-functions.php' + ), + 'Automattic\\Jetpack\\Sync\\Listener' => array( + 'version' => '1.26.1.0', + 'path' => $vendorDir . '/automattic/jetpack-sync/src/class-listener.php' + ), 'Automattic\\Jetpack\\Error' => array( - 'version' => '1.3.5.0', + 'version' => '1.3.6.0', 'path' => $vendorDir . '/automattic/jetpack-error/src/class-error.php' ), 'Automattic\\Jetpack\\Device_Detection' => array( - 'version' => '1.4.2.0', + 'version' => '1.4.3.0', 'path' => $vendorDir . '/automattic/jetpack-device-detection/src/class-device-detection.php' ), 'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => array( - 'version' => '1.4.2.0', + 'version' => '1.4.3.0', 'path' => $vendorDir . '/automattic/jetpack-device-detection/src/class-user-agent-info.php' ), 'Automattic\\Jetpack\\IdentityCrisis\\REST_Endpoints' => array( - 'version' => '0.2.2.0', + 'version' => '0.2.5.0', 'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php' ), 'Automattic\\Jetpack\\Identity_Crisis' => array( - 'version' => '0.2.2.0', + 'version' => '0.2.5.0', 'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-identity-crisis.php' ), 'Automattic\\Jetpack\\Password_Checker' => array( - 'version' => '0.1.2.0', + 'version' => '0.1.3.0', 'path' => $vendorDir . '/automattic/jetpack-password-checker/src/class-password-checker.php' ), 'Automattic\\Jetpack\\Assets\\Logo' => array( - 'version' => '1.5.5.0', + 'version' => '1.5.6.0', 'path' => $vendorDir . '/automattic/jetpack-logo/src/class-logo.php' ), + 'Jetpack_XMLRPC_Server' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php' + ), 'Jetpack_Signature' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-signature.php' ), 'Jetpack_IXR_ClientMulticall' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php' ), - 'Jetpack_XMLRPC_Server' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php' - ), 'Jetpack_IXR_Client' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php' ), 'Automattic\\Jetpack\\Connection\\Utils' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-utils.php' ), - 'Automattic\\Jetpack\\Connection\\Client' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-client.php' - ), - 'Automattic\\Jetpack\\Connection\\Nonce_Handler' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-nonce-handler.php' - ), 'Automattic\\Jetpack\\Connection\\Plugin' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-plugin.php' ), - 'Automattic\\Jetpack\\Connection\\Tokens' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-tokens.php' + 'Automattic\\Jetpack\\Connection\\Error_Handler' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-error-handler.php' ), 'Automattic\\Jetpack\\Connection\\Manager' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-manager.php' ), 'Automattic\\Jetpack\\Connection\\Urls' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-urls.php' ), - 'Automattic\\Jetpack\\Connection\\REST_Connector' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-connector.php' - ), - 'Automattic\\Jetpack\\Connection\\Manager_Interface' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/interface-manager.php' - ), - 'Automattic\\Jetpack\\Connection\\Webhooks' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-webhooks.php' - ), - 'Automattic\\Jetpack\\Connection\\Rest_Authentication' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-authentication.php' - ), - 'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-xmlrpc-async-call.php' - ), - 'Automattic\\Jetpack\\Connection\\Secrets' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-secrets.php' - ), 'Automattic\\Jetpack\\Connection\\Package_Version' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-package-version.php' ), - 'Automattic\\Jetpack\\Connection\\Error_Handler' => array( - 'version' => '1.30.1.0', - 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-error-handler.php' - ), 'Automattic\\Jetpack\\Connection\\Plugin_Storage' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-plugin-storage.php' ), + 'Automattic\\Jetpack\\Connection\\Client' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-client.php' + ), + 'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-package-version-tracker.php' + ), + 'Automattic\\Jetpack\\Connection\\Manager_Interface' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/interface-manager.php' + ), + 'Automattic\\Jetpack\\Connection\\Secrets' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-secrets.php' + ), + 'Automattic\\Jetpack\\Connection\\Tokens' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-tokens.php' + ), + 'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-xmlrpc-async-call.php' + ), + 'Automattic\\Jetpack\\Connection\\REST_Connector' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-connector.php' + ), + 'Automattic\\Jetpack\\Connection\\Nonce_Handler' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-nonce-handler.php' + ), + 'Automattic\\Jetpack\\Connection\\Rest_Authentication' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-rest-authentication.php' + ), 'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-xmlrpc-connector.php' ), + 'Automattic\\Jetpack\\Connection\\Webhooks' => array( + 'version' => '1.30.4.0', + 'path' => $vendorDir . '/automattic/jetpack-connection/src/class-webhooks.php' + ), 'Automattic\\Jetpack\\Redirect' => array( - 'version' => '1.7.0.0', + 'version' => '1.7.1.0', 'path' => $vendorDir . '/automattic/jetpack-redirect/src/class-redirect.php' ), 'Automattic\\Jetpack\\Heartbeat' => array( - 'version' => '1.3.8.0', + 'version' => '1.3.10.0', 'path' => $vendorDir . '/automattic/jetpack-heartbeat/src/class-heartbeat.php' ), 'Automattic\\Jetpack\\Roles' => array( - 'version' => '1.4.5.0', + 'version' => '1.4.6.0', 'path' => $vendorDir . '/automattic/jetpack-roles/src/class-roles.php' ), - 'Jetpack_Tracks_Client' => array( - 'version' => '1.13.7.0', - 'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php' - ), 'Jetpack_Tracks_Event' => array( - 'version' => '1.13.7.0', + 'version' => '1.13.9.0', 'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-event.php' ), + 'Jetpack_Tracks_Client' => array( + 'version' => '1.13.9.0', + 'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php' + ), 'Automattic\\Jetpack\\Tracking' => array( - 'version' => '1.13.7.0', + 'version' => '1.13.9.0', 'path' => $vendorDir . '/automattic/jetpack-tracking/src/class-tracking.php' ), 'Automattic\\Jetpack\\Assets' => array( - 'version' => '1.11.5.0', + 'version' => '1.11.6.0', 'path' => $vendorDir . '/automattic/jetpack-assets/src/class-assets.php' ), 'Automattic\\Jetpack\\A8c_Mc_Stats' => array( - 'version' => '1.4.4.0', + 'version' => '1.4.5.0', 'path' => $vendorDir . '/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php' ), 'Automattic\\Jetpack\\Terms_Of_Service' => array( - 'version' => '1.9.8.0', + 'version' => '1.9.9.0', 'path' => $vendorDir . '/automattic/jetpack-terms-of-service/src/class-terms-of-service.php' ), 'Automattic\\Jetpack\\Status' => array( - 'version' => '1.8.0.0', + 'version' => '1.8.1.0', 'path' => $vendorDir . '/automattic/jetpack-status/src/class-status.php' ), 'Jetpack_Options' => array( - 'version' => '1.13.0.0', + 'version' => '1.13.1.0', 'path' => $vendorDir . '/automattic/jetpack-options/legacy/class-jetpack-options.php' ), 'Automattic\\Jetpack\\Constants' => array( - 'version' => '1.6.5.0', + 'version' => '1.6.6.0', 'path' => $vendorDir . '/automattic/jetpack-constants/src/class-constants.php' ), ); diff --git a/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php b/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php index 25942429f..9917b39c5 100644 --- a/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php +++ b/wp-content/plugins/jetpack/vendor/composer/jetpack_autoload_filemap.php @@ -7,11 +7,11 @@ $baseDir = dirname($vendorDir); return array( 'bce4ecd6aabb2a2948e06d0e2c4ea9a6' => array( - 'version' => '1.30.1.0', + 'version' => '1.30.4.0', 'path' => $vendorDir . '/automattic/jetpack-connection/legacy/load-ixr.php' ), 'd4eb94df91a729802d18373ee8cdc79f' => array( - 'version' => '1.1.1.0', + 'version' => '1.1.3.0', 'path' => $vendorDir . '/automattic/jetpack-backup/actions.php' ), '009de6aaa0d497eacea41fab13fc05f1' => array( diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php index 811edef55..c717e9ef1 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php index 4e857036f..901bace4f 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader-locator.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php index 25c7c0cfa..410f612ba 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-autoloader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-container.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-container.php index 4753f10a6..e84b2f95f 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-container.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-container.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php index cadee2dff..7ff661075 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-hook-manager.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php index 63dc99ab8..4cc1689a6 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-latest-autoloader-guard.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php index 6fe5836ac..13957d20b 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-manifest-reader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php index fd2ac0e00..8a67a763f 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-path-processor.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php index 8d50bec92..ae7c1a0fe 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php index 405422fca..bc9172fa1 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugin-locator.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php index 9ef3e7b03..2759772ae 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-plugins-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php index 1441e2947..dbd96eb60 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-shutdown-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php index 5ba1db600..4c1bdf67f 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-loader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore diff --git a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php index 7330c266d..7f3762ef3 100644 --- a/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php +++ b/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-version-selector.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_0; +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ10_1; // phpcs:ignore