diff --git a/composer.json b/composer.json index 26dc29ad..0bd00064 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "automattic/jetpack-composer-plugin": "^2.0.3", "automattic/jetpack-config": "^2.0.4", "automattic/jetpack-connection": "^5.1.5", - "automattic/jetpack-my-jetpack": "^4.35.17-alpha", + "automattic/jetpack-my-jetpack": "^4.36.0-alpha", "automattic/jetpack-search": "^0.45.11", "automattic/jetpack-stats": "^0.13.4", "automattic/jetpack-status": "^4.0.2", diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md index eeb5bb47..9665ed60 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md @@ -5,13 +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). -## [4.35.17-alpha] - unreleased +## [4.36.0-alpha] - unreleased This is an alpha version! The changes listed here are not final. ### Changed - Skip pricing page when connecting via block editor +### Removed +- My Jetpack: remove A/B test code in My Jetpack + ## [4.35.16] - 2024-10-29 ### Changed - Components: Add __nextHasNoMarginBottom to BaseControl-based components, preventing deprecation notices. [#39877] @@ -1795,7 +1798,7 @@ This is an alpha version! The changes listed here are not final. ### Added - Created package -[4.35.17-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.16...4.35.17-alpha +[4.36.0-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.16...4.36.0-alpha [4.35.16]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.15...4.35.16 [4.35.15]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.14...4.35.15 [4.35.14]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.13...4.35.14 diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php index 2cacb641..29cef1a6 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'df718d60805a2cafff4a'); + array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '3d5a5fafd1ac4e418394'); diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js index e79df9ce..fb34276a 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js @@ -16,9 +16,9 @@ __("Hey, %s","jetpack-my-jetpack"),t)),h().createElement("h2",{className:g.A.hea __("(opens in a new tab)","jetpack-my-jetpack"))))))}},5242:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(7723),c=a(2822),r=a(5975),s=a(5519),i=a(9696),l=a(6579);const __=n.__,o=()=>React.createElement(React.Fragment,null,React.createElement("div",{className:i.A["account-description"]},__("On the next screen, you can connect with an existing account from any of these services or create a new one.","jetpack-my-jetpack")),React.createElement("ul",{className:i.A["account-images"],role:"list"},React.createElement("li",null,React.createElement("img",{src:l,className:i.A.wordpress,alt:"WordPress.com"})),React.createElement("li",null,React.createElement("img",{src:s,className:i.A.google,alt:"Google"})),React.createElement("li",null,React.createElement("img",{src:c,className:i.A.apple,alt:"Apple"})),React.createElement("li",null,React.createElement("img",{src:r,className:i.A.github,alt:"GitHub"}))))},1499:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(2947),c=a(5918),r=a(8509),s=a(7723),i=a(1870),l=a(5994),o=a(2191),u=a(5403),m=a(5242),d=a(9696);const __=s.__,p=()=>{const e=(0,l.A)(),{apiRoot:t,apiNonce:a,registrationNonce:s}=(0,i.A)();return React.createElement(n.A,{showHeader:!1,showBackground:!1},React.createElement(c.A,{horizontalSpacing:8,horizontalGap:0},React.createElement(r.A,{className:d.A["relative-col"]},React.createElement(o.A,{className:d.A["close-link"],accessibleName:__("Go back to previous screen","jetpack-my-jetpack")})),React.createElement(r.A,null,React.createElement(u.A,{from:"my-jetpack",redirectUri:e,apiRoot:t,apiNonce:a,registrationNonce:s,footer:React.createElement(m.A,null)}))))}},4596:(e,t,a)=>{"use strict";a.d(t,{A:()=>C});var n=a(7425),c=a(1112),r=a(3924),s=a(9384),i=a(7143),l=a(7723),o=a(3883),u=a(9783),m=a(7827),d=a(1113),p=a(3022),h=a(1609),g=a(4923),v=a(8242),f=a(8117),w=a(4526),E=a(1870),k=a(5042),y=a(3168),A=a(7757),b=a(7319),j=a(7193);const __=l.__,R=({text:e,actionText:t,onClick:a,status:c="success"})=>{let r=o.A,s="";return"success"===c&&(r=o.A,s=j.A.success),"error"===c&&(r=u.A,s=j.A.error),"warning"===c&&(r=u.A,s=j.A.warning),"unlock"===c&&(r=m.A,s=j.A.unlock),React.createElement("div",{className:j.A["list-item"]},React.createElement(n.Ay,{className:(0,p.A)(j.A["list-item-text"],s)},React.createElement(d.A,{icon:r}),e),t&&"success"!==c&&React.createElement(_,{actionText:t,onClick:a}))},_=({actionText:e,onClick:t})=>React.createElement(c.A,{variant:"link",weight:"regular",onClick:t},e),C=({apiRoot:e,apiNonce:t,redirectUri:a=null,title:o=__("Connection","jetpack-my-jetpack"),connectionInfoText:u=__("Jetpack connects your site and user account to the WordPress.com cloud to provide more powerful features.","jetpack-my-jetpack"),onDisconnected:m,connectedPlugins:d,connectedSiteId:C,context:x,onConnectUser:N=null})=>{const{isRegistered:z,isUserConnected:S,userConnectionData:M}=(0,E.A)({redirectUri:a}),{recordEvent:L}=(0,w.A)(),[P,V]=(0,h.useState)(!1),{setConnectionStatus:H,setUserIsConnecting:I}=(0,i.useDispatch)(s.CONNECTION_STORE_ID),B=N||I,O=M.currentUser?.wpcomUser?.avatar,{lifecycleStats:T}=(0,v.A$)(),{brokenModules:F}=T||{},U=(0,g.V)(),D=(0,f.A)(U).length>0,q=F?.needs_user_connection.length>0,J=F?.needs_site_connection.length>0,G=(0,h.useMemo)((()=>({user_connection_broken_modules:F?.needs_user_connection.join(", "),site_connection_broken_modules:F?.needs_site_connection.join(", ")})),[F]),$=(0,h.useCallback)((e=>t=>{t&&t.preventDefault(),L("jetpack_myjetpack_connection_manage_dialog_click",{...G,connection_type:e}),V(!0)}),[L,V,G]),W=$("user"),Q=$("site"),K=(0,h.useCallback)((e=>{e&&e.preventDefault(),V(!1)}),[V]),Z=(0,h.useCallback)((e=>{e&&e.preventDefault(),H({isActive:!1,isRegistered:!1,isUserConnected:!1}),m?.()}),[m,H]),Y=(0,h.useCallback)((()=>{L("jetpack_myjetpack_connection_learnmore_link_click",G)}),[L,G]),X=(0,h.useCallback)((e=>{e&&e.preventDefault(),L("jetpack_myjetpack_connection_connect_user_click",G),B()}),[B,L,G]),ee=(({isRegistered:e,hasSiteConnectionBrokenModules:t,handleConnectUser:a,openManageSiteConnectionDialog:n})=>e?{onClick:n,text:__("Site connected.","jetpack-my-jetpack"),actionText:__("Manage","jetpack-my-jetpack"),status:"success"}:t?{onClick:a,text:__("Missing site connection to enable some features.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"}:{onClick:a,text:__("Start with Jetpack.","jetpack-my-jetpack"),actionText:__("Connect your site with one click","jetpack-my-jetpack"),status:"warning"})({isRegistered:z,hasSiteConnectionBrokenModules:J,handleConnectUser:X,openManageSiteConnectionDialog:Q}),te=(({hasProductsThatRequireUserConnection:e,hasUserConnectionBrokenModules:t,isUserConnected:a,userConnectionData:n,openManageUserConnectionDialog:c,handleConnectUser:r})=>{if(!e&&!t&&!a)return{onClick:r,text:__("Unlock more of Jetpack","jetpack-my-jetpack"),actionText:__("Sign in","jetpack-my-jetpack"),status:"unlock"};if(e&&!a&&!t)return{onClick:r,text:__("Some features require authentication.","jetpack-my-jetpack"),actionText:__("Sign in","jetpack-my-jetpack"),status:"warning"};if(t)return{onClick:r,text:__("Missing authentication to enable all features.","jetpack-my-jetpack"),actionText:__("Sign in","jetpack-my-jetpack"),status:"error"};let s=null;return s=n.currentUser?.isMaster?n.currentUser?.wpcomUser?.display_name?(0,l.sprintf)(/* translators: placeholder is user name */ __("Connected as %1$s (Owner).","jetpack-my-jetpack"),n.currentUser?.wpcomUser?.display_name):__("User connected (Owner).","jetpack-my-jetpack"):n.currentUser?.wpcomUser?.display_name?(0,l.sprintf)(/* translators: placeholder is user name */ __("Connected as %1$s.","jetpack-my-jetpack"),n.currentUser?.wpcomUser?.display_name):__("User connected.","jetpack-my-jetpack"),{onClick:c,actionText:__("Manage","jetpack-my-jetpack"),text:s,status:"success"}})({hasProductsThatRequireUserConnection:D,hasUserConnectionBrokenModules:q,isUserConnected:S,userConnectionData:M,openManageUserConnectionDialog:W,handleConnectUser:X});return React.createElement("div",{id:"dylan",className:j.A["connection-status-card"]},React.createElement(n.H3,null,o),React.createElement(n.Ay,{variant:"body",mb:3},`${u} `,React.createElement(c.A,{href:(0,r.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),variant:"link",weight:"regular",isExternalLink:!0,onClick:Y},__("Learn more about connections","jetpack-my-jetpack"))),React.createElement("div",{className:j.A.status},React.createElement("img",{src:k,alt:"",className:j.A.cloud}),React.createElement("div",{className:(0,p.A)(j.A.line,z?"":J?j.A.error:j.A.warning)}),React.createElement("div",{className:j.A["avatar-wrapper"]},React.createElement("img",{src:z?b:A,alt:"",className:j.A.jetpack}),(D||q)&&React.createElement("img",{src:S&&O?O:y,alt:"",className:j.A.avatar})),"success"===ee?.status&&ee?.actionText&&React.createElement("div",{className:j.A["connect-action"]},React.createElement(_,{onClick:ee?.onClick,actionText:ee?.actionText}))),React.createElement("div",null,React.createElement(R,ee),z&&React.createElement(R,te),S&&M?.connectionOwner&&!M.currentUser?.isMaster&&React.createElement(R,{text:(0,l.sprintf)(/* translators: placeholder is the username of the Jetpack connection owner */ -__("Also connected: %s (Owner).","jetpack-my-jetpack"),M.connectionOwner)})),React.createElement(s.ManageConnectionDialog,{apiRoot:e,apiNonce:t,onDisconnected:Z,connectedPlugins:d,connectedSiteId:C,connectedUser:M,isOpen:P,onClose:K,context:x}))}},3593:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(8837),c=a(4923),r=a(8117),s=a(1870),i=a(3981),l=a(4596);function o(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:a,connectedPlugins:o}=(0,s.A)(),u=(0,i.A)(n.NM.Connection),m=(0,c.V)(),d=(0,r.A)(m);return React.createElement(l.A,{apiRoot:e,apiNonce:t,redirectUri:a,onConnectUser:u,connectedPlugins:o,requiresUserConnection:d.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5167:(e,t,a)=>{"use strict";a.d(t,{A:()=>v});var n=a(5918),c=a(8509),r=a(7425),s=a(6427),i=a(6087),l=a(7723),o=a(2778),u=a(1609),m=a(3804),d=a(4526),p=a(3542),h=a(9674),g=a(6225);const __=l.__,_n=l._n,v=({welcomeFlowExperimentVariation:e})=>{const{recordEvent:t}=(0,d.A)(),{recommendedModules:a,isFirstRun:l,redoEvaluation:v,removeEvaluationResult:f}=(0,m.A)(),w="treatment"===e,E=(0,u.useCallback)((()=>{t("jetpack_myjetpack_evaluation_recommendations_explore_all_plans_click")}),[t]),k=_n("Our recommendation for you","Our recommendations for you",a.length,"jetpack-my-jetpack"),y=__("Recommended for your site","jetpack-my-jetpack"),A=__("Redo","jetpack-my-jetpack"),b=__("Customize recommendations","jetpack-my-jetpack"),j=__("Dismiss","jetpack-my-jetpack"),R=__("Close","jetpack-my-jetpack"),_=__("Start over? Analyze again for fresh recommendations!","jetpack-my-jetpack"),C=__("Find your perfect match by letting us know what you’re looking for!","jetpack-my-jetpack");return(0,u.useEffect)((()=>{t("jetpack_myjetpack_evaluation_recommendations_view",{modules:a})}),[a,t]),React.createElement(n.A,{horizontalGap:2,horizontalSpacing:6},React.createElement(c.A,null,React.createElement(s.Flex,null,React.createElement(s.FlexItem,null,React.createElement(r.Ay,{variant:"headline-small",className:g.A.title},w&&l?y:k),!w&&React.createElement(r.Ay,null,__("Here are the tools that we think will help you reach your website goals:","jetpack-my-jetpack"))),React.createElement(s.FlexItem,null,React.createElement(s.DropdownMenu,{menuProps:{className:g.A["dropdown-menu"]},popoverProps:{position:"bottom left"},icon:o.A,label:__("Recommendations menu","jetpack-my-jetpack"),controls:[{title:w&&l?b:A,onClick:v},{title:w&&l?R:j,onClick:f}]})))),React.createElement(c.A,null,React.createElement(n.A,{tagName:"ul",className:g.A["recommendations-list"],horizontalGap:4,horizontalSpacing:2,fluid:!0},a.map((e=>{const t=h.z[e];return t&&React.createElement(c.A,{tagName:"li",key:e,lg:4},React.createElement(t,{recommendation:!0}))})))),w&&React.createElement(c.A,null,React.createElement(s.Flex,null,React.createElement(s.FlexItem,null,React.createElement(r.Ay,{variant:"body"},(0,i.createInterpolateElement)(l?C:_,{link:React.createElement(s.Button,{variant:"link",className:g.A["evaluation-footer-link"],onClick:v})}))),React.createElement(s.FlexItem,null,React.createElement(r.Ay,{variant:"body"},React.createElement(s.Button,{variant:"link",className:g.A["evaluation-footer-link"],href:(0,p.A)(),onClick:E},__("Explore all Jetpack plans","jetpack-my-jetpack")))))))}},1617:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7723),c=a(1113),r=a(7474),s=a(1609),i=a.n(s),l=a(28),o=a(8870);const __=n.__;const u=function({onClick:e=()=>{},reload:t}){const a=t?"/?reload=true":"/";return i().createElement(l.N_,{to:a,className:o.A.link,onClick:e},i().createElement(c.A,{icon:r.A,className:o.A.icon}),__("Go back","jetpack-my-jetpack"))}},1651:(e,t,a)=>{"use strict";a.d(t,{k:()=>m});var n=a(1112),c=a(8478),r=a(6427),s=a(8443),i=a(7723),l=a(3022),o=a(1609),u=a(9331);a(4800);const __=i.__;function m({productName:e,giftedDate:t}){const[a,m]=(0,o.useState)(!1),d=(0,o.useCallback)((()=>m(!0)),[m]),p={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,o.useCallback)((()=>m(!1)),[m]),className:u.A.container},h=(0,l.A)(u.A.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(n.A,{variant:"link",onClick:d},React.createElement(c.sT,{className:u.A.logo})),React.createElement("div",{className:u.A.helper},a&&React.createElement(r.Popover,p,React.createElement("div",null,React.createElement("div",{className:u.A.title},e),React.createElement("div",{className:u.A.content},(0,i.sprintf)( +__("Also connected: %s (Owner).","jetpack-my-jetpack"),M.connectionOwner)})),React.createElement(s.ManageConnectionDialog,{apiRoot:e,apiNonce:t,onDisconnected:Z,connectedPlugins:d,connectedSiteId:C,connectedUser:M,isOpen:P,onClose:K,context:x}))}},3593:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(8837),c=a(4923),r=a(8117),s=a(1870),i=a(3981),l=a(4596);function o(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:a,connectedPlugins:o}=(0,s.A)(),u=(0,i.A)(n.NM.Connection),m=(0,c.V)(),d=(0,r.A)(m);return React.createElement(l.A,{apiRoot:e,apiNonce:t,redirectUri:a,onConnectUser:u,connectedPlugins:o,requiresUserConnection:d.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5167:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(5918),c=a(8509),r=a(7425),s=a(6427),i=a(7723),l=a(2778),o=a(1609),u=a(3804),m=a(4526),d=a(9674),p=a(6225);const __=i.__,_n=i._n,h=()=>{const{recordEvent:e}=(0,m.A)(),{recommendedModules:t,redoEvaluation:a,removeEvaluationResult:i}=(0,u.A)(),h=_n("Our recommendation for you","Our recommendations for you",t.length,"jetpack-my-jetpack"),g=__("Redo","jetpack-my-jetpack"),v=__("Dismiss","jetpack-my-jetpack");return(0,o.useEffect)((()=>{e("jetpack_myjetpack_evaluation_recommendations_view",{modules:t})}),[t,e]),React.createElement(n.A,{horizontalGap:2,horizontalSpacing:6},React.createElement(c.A,null,React.createElement(s.Flex,null,React.createElement(s.FlexItem,null,React.createElement(r.Ay,{variant:"headline-small",className:p.A.title},h),React.createElement(r.Ay,null,__("Here are the tools that we think will help you reach your website goals:","jetpack-my-jetpack"))),React.createElement(s.FlexItem,null,React.createElement(s.DropdownMenu,{menuProps:{className:p.A["dropdown-menu"]},popoverProps:{position:"bottom left"},icon:l.A,label:__("Recommendations menu","jetpack-my-jetpack"),controls:[{title:g,onClick:a},{title:v,onClick:i}]})))),React.createElement(c.A,null,React.createElement(n.A,{tagName:"ul",className:p.A["recommendations-list"],horizontalGap:4,horizontalSpacing:2,fluid:!0},t.map((e=>{const t=d.z[e];return t&&React.createElement(c.A,{tagName:"li",key:e,lg:4},React.createElement(t,{recommendation:!0}))})))))}},1617:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7723),c=a(1113),r=a(7474),s=a(1609),i=a.n(s),l=a(28),o=a(8870);const __=n.__;const u=function({onClick:e=()=>{},reload:t}){const a=t?"/?reload=true":"/";return i().createElement(l.N_,{to:a,className:o.A.link,onClick:e},i().createElement(c.A,{icon:r.A,className:o.A.icon}),__("Go back","jetpack-my-jetpack"))}},1651:(e,t,a)=>{"use strict";a.d(t,{k:()=>m});var n=a(1112),c=a(8478),r=a(6427),s=a(8443),i=a(7723),l=a(3022),o=a(1609),u=a(9331);a(4800);const __=i.__;function m({productName:e,giftedDate:t}){const[a,m]=(0,o.useState)(!1),d=(0,o.useCallback)((()=>m(!0)),[m]),p={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,o.useCallback)((()=>m(!1)),[m]),className:u.A.container},h=(0,l.A)(u.A.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(n.A,{variant:"link",onClick:d},React.createElement(c.sT,{className:u.A.logo})),React.createElement("div",{className:u.A.helper},a&&React.createElement(r.Popover,p,React.createElement("div",null,React.createElement("div",{className:u.A.title},e),React.createElement("div",{className:u.A.content},(0,i.sprintf)( // translators: %1$s is a product name, %2$s is the date the product was gifted. -__("%1$s was gifted on %2$s. It gives you access to a lifetime subscription of Jetpack VaultPress Backup and Jetpack Scan.","jetpack-my-jetpack"),e,(0,s.dateI18n)("F j, Y",t)))))))}},6894:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6427),c=a(1609),r=a.n(c),s=a(146);const i=function(){const[e,t]=(0,c.useState)(!0),a=(0,c.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:i,isSafeModeConfirmed:l}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!i||l?null:r().createElement(n.Modal,{onRequestClose:a,overlayClassName:s.A.modal},r().createElement("div",{id:i,className:s.A.container}))}},2660:(e,t,a)=>{"use strict";a.d(t,{I:()=>l});var n=a(1883),c=a(6427),r=a(9491),s=a(1609),i=a(4526);a(6632);const l=({children:e,className:t,icon:a="info-outline",iconSize:l=14,tracksEventName:o,tracksEventProps:u={}})=>{const{recordEvent:m}=(0,i.A)(),d=(0,s.useRef)(),p=(0,r.useViewportMatch)("medium","<"),[h,g]=(0,s.useState)(!1),v=(0,s.useCallback)((()=>g((e=>(!0==!e&&o&&m(`jetpack_${o}`,{page:"my-jetpack",...u}),!e)))),[m,o,u]),f=(0,s.useCallback)((()=>{d.current&&!d.current.contains(d.current.ownerDocument.activeElement)&&g(!1)}),[g,d]);return React.createElement("span",{className:t},React.createElement("button",{className:"info-tooltip__button",onClick:v,ref:d},React.createElement(n.A,{icon:a,size:l})),h&&React.createElement(c.Popover,{placement:p?"top-end":"right",noArrow:!1,offset:10,focusOnMount:"container",onClose:f},React.createElement("div",{className:"info-tooltip__content"},e)))}},3449:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7506),c=a(3924),r=a(7723),s=a(1609),i=a.n(s),l=a(4526),o=a(4576);const __=r.__,u=e=>{const{isAgencyAccount:t=!1}=e,{recordEvent:a}=(0,l.A)();(0,s.useEffect)((()=>{a("jetpack_myjetpack_manage_banner_view",{})}),[a]);const r=(0,s.useCallback)((e=>{a("jetpack_myjetpack_manage_banner_click",{target:e,feature:"manage"})}),[a]),u=(0,s.useCallback)((()=>{r("jp-agencies-register-interest")}),[r]);return i().createElement(n.A,{icon:o,title:__("Manage client sites and grow your business","jetpack-my-jetpack"),description:__("Are you an agency or freelancer? We’re working on a new partnership program bringing together the best of Jetpack, Woo, WordPress.com, and Pressable. Get bulk discounts, referral commissions, and more.","jetpack-my-jetpack"),primaryCtaLabel:__("Sign up now","jetpack-my-jetpack"),primaryCtaURL:(0,c.A)("jetpack-for-agencies-register-interest"),primaryCtaIsExternalLink:!0,primaryCtaOnClick:u})}},2912:(e,t,a)=>{"use strict";a.d(t,{A:()=>L});var n=a(6072),c=a.n(n),r=a(442),s=a(8089),i=a(7656),l=a(2947),o=a(5918),u=a(8509),m=a(5640),d=a(8587),p=a(3022),h=a(1609),g=a(6007),v=a(1504),f=a(3804),w=a(280),E=a(8242),k=a(9812),y=a(4526),A=a(1870),b=a(7436),j=a(3593),R=a(5167),_=a(6894),C=a(3449),x=a(3958),N=a(5487),z=a(8388),S=a(5055);const M=({message:e,title:t,options:a})=>{const{recordEvent:n}=(0,y.A)();(0,h.useEffect)((()=>{const e=a?.tracksArgs||{};n("jetpack_myjetpack_global_notice_view",{notice_id:a.id,...e})}),[a.id,n,a?.tracksArgs]);const[l]=(0,r.A)(["md"],[">"]),o=a.actions?.map((e=>React.createElement(s.A,c()({key:e.key||e.label,customClass:S.A.cta},e))));return React.createElement("div",{className:(0,p.A)(S.A.notice,{[S.A["bigger-than-medium"]]:l})},React.createElement(i.A,c()({hideCloseButton:!0},a,{title:t,actions:o}),React.createElement("div",{className:S.A.message},e)))};function L(){const[e,t]=(0,h.useState)({isLoading:!1,variation:"control"});(0,b.A)();const{redBubbleAlerts:a}=(0,E.A$)(),{jetpackManage:n={},adminUrl:c}=(0,E.A$)(),{isWelcomeBannerVisible:r}=(0,k.A)(),{isSectionVisible:s}=(0,f.A)(),{siteIsRegistered:i}=(0,A.A)(),{currentNotice:p}=(0,h.useContext)(g.g),{message:L,title:P,options:V}=p||{},{data:H,isLoading:I}=(0,w.A)({name:v._,query:{path:v.rR}}),{data:B,isLoading:O}=(0,w.A)({name:v.nw,query:{path:v.O2}}),T=H?.is_available,F=B?.user?.jwt,U=!O&&!I&&T&&F,D="1"===(0,E.A$)("userIsNewToJetpack"),{recordEvent:q}=(0,y.A)(),[J,G]=(0,h.useState)(!1);return(0,h.useLayoutEffect)((()=>{q("jetpack_myjetpack_page_view",{red_bubble_alerts:Object.keys(a).join(",")})}),[q,a]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),G(!0)),J?null:React.createElement(l.A,{siteAdminUrl:c},React.createElement("hr",{className:S.A.separator}),React.createElement(_.A,null),!D&&React.createElement(o.A,{horizontalSpacing:0},React.createElement(u.A,null,React.createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),r?React.createElement(z.A,{welcomeFlowExperiment:e,setWelcomeFlowExperiment:t},L&&i&&React.createElement(M,{message:L,title:P,options:V})):L&&React.createElement(o.A,{horizontalSpacing:3,horizontalGap:3},React.createElement(u.A,null,React.createElement(M,{message:L,title:P,options:V}))),!r&&s&&React.createElement(R.A,{welcomeFlowExperimentVariation:e.variation}),React.createElement(N.A,null),n.isEnabled&&React.createElement(o.A,{horizontalSpacing:6,horizontalGap:L?3:6},React.createElement(u.A,null,React.createElement(C.A,{isAgencyAccount:n.isAgencyAccount}))),React.createElement(m.A,null,React.createElement(o.A,{horizontalSpacing:8},React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(x.A,null)),React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(j.A,null)))),U&&React.createElement(d.A,{jwt_token:F}))}},3958:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(7425),c=a(1112),r=a(7723),s=a(1609),i=a(8837),l=a(1504),o=a(280),u=a(8242),m=a(4526),d=a(1870),p=a(3981),h=a(6256),g=a(3542),v=a(8252),f=a(1651),w=a(4334);const __=r.__,_n=r._n;function E({purchase:e={}}){const{product_name:t}=e;return React.createElement(React.Fragment,null,React.createElement(n.hE,null,t),React.createElement(k,e))}function k(e){const{expiry_message:t,product_name:a,subscribed_date:c}=e;return(0,v.b)(e)?React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},React.createElement("span",{className:w.A["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(f.k,{productName:a,giftedDate:c})):React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},t)}function y({numberOfPurchases:e=0}){return React.createElement(React.Fragment,null,React.createElement(n.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(n.Ay,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function A({numberOfPurchases:e}){const{recordEvent:t}=(0,m.A)(),{isUserConnected:a}=(0,d.A)(),n=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"),r=__("Purchase a plan","jetpack-my-jetpack"),l=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_manage_click")}),[t]),o=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_purchase_click")}),[t]),v=(0,p.A)(i.NM.Connection),f=(0,s.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||v()}),[v,a,t]);let E=__("Activate a license","jetpack-my-jetpack");a||(E=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:k="",adminUrl:y=""}=(0,u.A$)();return React.createElement("ul",null,e>0&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:l,href:(0,h.A)(),weight:"regular",variant:"link",isExternalLink:!0},n)),React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:o,href:(0,g.A)(),weight:"regular",variant:"link",isExternalLink:!0},r)),k&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:f,href:a?`${y}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},E)))}function b(){const e=!!(0,u.A$)("userIsAdmin"),{isSiteConnected:t}=(0,d.A)(),{data:a,isLoading:n,isError:c}=(0,o.A)({name:l.Ck,query:{path:l.tb},options:{enabled:t}}),r=a&&!n&&!c,s=r?a.length:0;return React.createElement("div",{className:w.A.container},React.createElement(y,{numberOfPurchases:s}),React.createElement("div",{className:w.A.purchasesSection},r&&a.map((e=>React.createElement(E,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(A,{numberOfPurchases:s}))}},169:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var n=a(6072),c=a.n(n),r=a(1112),s=a(7723),i=a(1113),l=a(3512),o=a(3883),u=a(4969),m=a(3022),d=a(6941),p=a.n(d),h=a(1609),g=a(8837),v=a(4923),f=a(4526),w=a(1413),E=a(1208);const __=s.__,k=p()("my-jetpack:product-card:action-button"),y=({status:e,admin:t,name:a,slug:n,onActivate:d,additionalActions:p,primaryActionOverride:y,onManage:A,onFixConnection:b,isFetching:j,isInstallingStandalone:R,className:_,onAdd:C,onInstall:x,onLearnMore:N,upgradeInInterstitial:z,isOwned:S})=>{const[M,L]=(0,h.useState)(!1),[P,V]=(0,h.useState)({}),{detail:H}=(0,v.A)(n),{manageUrl:I,purchaseUrl:B}=H,O=!I,T=(0,h.useRef)(null),F=(0,h.useRef)(null),{recordEvent:U}=(0,f.A)();"jetpack-ai"===n&&k(n,H);const D=j||R,q=p?.length>0,J=(0,h.useMemo)((()=>({variant:D?void 0:"primary",disabled:D,size:"small",weight:"regular",className:_})),[D,_]),G=(0,h.useCallback)((()=>{switch("jetpack-ai"===n&&k(n,e),e){case g.hp.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...J,href:`#/add-${n}`,variant:"primary",label:e,onClick:N,...y&&g.hp.ABSENT in y&&y[g.hp.ABSENT]}}case g.hp.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...J,variant:"primary",label:e,onClick:x,...y&&g.hp.ABSENT_WITH_PLAN in y&&y[g.hp.ABSENT_WITH_PLAN]}}case g.hp.NEEDS_FIRST_SITE_CONNECTION:return{...J,href:B||`#/add-${n}`,variant:"primary",label:__("Learn more","jetpack-my-jetpack"),onClick:C,...y&&g.hp.NEEDS_FIRST_SITE_CONNECTION in y&&y[g.hp.NEEDS_FIRST_SITE_CONNECTION]};case g.hp.NEEDS_PLAN:{const e=__("Get plan","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=S?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.NEEDS_PLAN in y&&y[g.hp.NEEDS_PLAN]}}case g.hp.CAN_UPGRADE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=B||z?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.CAN_UPGRADE in y&&y[g.hp.CAN_UPGRADE]}}case g.hp.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...J,disabled:O||J?.disabled,href:I,variant:"secondary",label:e,onClick:A,...y&&g.hp.ACTIVE in y&&y[g.hp.ACTIVE]}}case g.hp.SITE_CONNECTION_ERROR:return{...J,href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.SITE_CONNECTION_ERROR in y&&y[g.hp.SITE_CONNECTION_ERROR]};case g.hp.USER_CONNECTION_ERROR:return{href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.USER_CONNECTION_ERROR in y&&y[g.hp.USER_CONNECTION_ERROR]};case g.hp.INACTIVE:case g.hp.MODULE_DISABLED:case g.hp.NEEDS_ACTIVATION:return{...J,variant:"secondary",label:__("Activate","jetpack-my-jetpack"),onClick:d,...y&&g.hp.INACTIVE in y&&y[g.hp.INACTIVE]};default:return null}}),[e,J,n,C,b,d,x,N,B,z,O,I,A,y,S]),$=(0,h.useMemo)((()=>q?[...p,G()]:[G()]),[p,G,q]),W=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_dropdown_toggle",{product:n,state:M?"closed":"open"})}),[M,U,n]),Q=(0,h.useCallback)((()=>{L(!M),W()}),[M,W]);if((0,h.useEffect)((()=>{V($[0])}),[$]),(0,w.A)(T,(e=>{F.current.contains(e.target)||(L(!1),W())})),!t)return React.createElement(r.A,c()({},J,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ /* translators: placeholder is product name. */ +__("%1$s was gifted on %2$s. It gives you access to a lifetime subscription of Jetpack VaultPress Backup and Jetpack Scan.","jetpack-my-jetpack"),e,(0,s.dateI18n)("F j, Y",t)))))))}},6894:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6427),c=a(1609),r=a.n(c),s=a(146);const i=function(){const[e,t]=(0,c.useState)(!0),a=(0,c.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:i,isSafeModeConfirmed:l}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!i||l?null:r().createElement(n.Modal,{onRequestClose:a,overlayClassName:s.A.modal},r().createElement("div",{id:i,className:s.A.container}))}},2660:(e,t,a)=>{"use strict";a.d(t,{I:()=>l});var n=a(1883),c=a(6427),r=a(9491),s=a(1609),i=a(4526);a(6632);const l=({children:e,className:t,icon:a="info-outline",iconSize:l=14,tracksEventName:o,tracksEventProps:u={}})=>{const{recordEvent:m}=(0,i.A)(),d=(0,s.useRef)(),p=(0,r.useViewportMatch)("medium","<"),[h,g]=(0,s.useState)(!1),v=(0,s.useCallback)((()=>g((e=>(!0==!e&&o&&m(`jetpack_${o}`,{page:"my-jetpack",...u}),!e)))),[m,o,u]),f=(0,s.useCallback)((()=>{d.current&&!d.current.contains(d.current.ownerDocument.activeElement)&&g(!1)}),[g,d]);return React.createElement("span",{className:t},React.createElement("button",{className:"info-tooltip__button",onClick:v,ref:d},React.createElement(n.A,{icon:a,size:l})),h&&React.createElement(c.Popover,{placement:p?"top-end":"right",noArrow:!1,offset:10,focusOnMount:"container",onClose:f},React.createElement("div",{className:"info-tooltip__content"},e)))}},3449:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7506),c=a(3924),r=a(7723),s=a(1609),i=a.n(s),l=a(4526),o=a(4576);const __=r.__,u=e=>{const{isAgencyAccount:t=!1}=e,{recordEvent:a}=(0,l.A)();(0,s.useEffect)((()=>{a("jetpack_myjetpack_manage_banner_view",{})}),[a]);const r=(0,s.useCallback)((e=>{a("jetpack_myjetpack_manage_banner_click",{target:e,feature:"manage"})}),[a]),u=(0,s.useCallback)((()=>{r("jp-agencies-register-interest")}),[r]);return i().createElement(n.A,{icon:o,title:__("Manage client sites and grow your business","jetpack-my-jetpack"),description:__("Are you an agency or freelancer? We’re working on a new partnership program bringing together the best of Jetpack, Woo, WordPress.com, and Pressable. Get bulk discounts, referral commissions, and more.","jetpack-my-jetpack"),primaryCtaLabel:__("Sign up now","jetpack-my-jetpack"),primaryCtaURL:(0,c.A)("jetpack-for-agencies-register-interest"),primaryCtaIsExternalLink:!0,primaryCtaOnClick:u})}},2912:(e,t,a)=>{"use strict";a.d(t,{A:()=>L});var n=a(6072),c=a.n(n),r=a(442),s=a(8089),i=a(7656),l=a(2947),o=a(5918),u=a(8509),m=a(5640),d=a(8587),p=a(3022),h=a(1609),g=a(6007),v=a(1504),f=a(3804),w=a(280),E=a(8242),k=a(9812),y=a(4526),A=a(1870),b=a(7436),j=a(3593),R=a(5167),_=a(6894),C=a(3449),x=a(3958),N=a(5487),z=a(8388),S=a(5055);const M=({message:e,title:t,options:a})=>{const{recordEvent:n}=(0,y.A)();(0,h.useEffect)((()=>{const e=a?.tracksArgs||{};n("jetpack_myjetpack_global_notice_view",{notice_id:a.id,...e})}),[a.id,n,a?.tracksArgs]);const[l]=(0,r.A)(["md"],[">"]),o=a.actions?.map((e=>React.createElement(s.A,c()({key:e.key||e.label,customClass:S.A.cta},e))));return React.createElement("div",{className:(0,p.A)(S.A.notice,{[S.A["bigger-than-medium"]]:l})},React.createElement(i.A,c()({hideCloseButton:!0},a,{title:t,actions:o}),React.createElement("div",{className:S.A.message},e)))};function L(){const[e,t]=(0,h.useState)({isLoading:!1,variation:"control"});(0,b.A)();const{redBubbleAlerts:a}=(0,E.A$)(),{jetpackManage:n={},adminUrl:c}=(0,E.A$)(),{isWelcomeBannerVisible:r}=(0,k.A)(),{isSectionVisible:s}=(0,f.A)(),{siteIsRegistered:i}=(0,A.A)(),{currentNotice:p}=(0,h.useContext)(g.g),{message:L,title:P,options:V}=p||{},{data:H,isLoading:I}=(0,w.A)({name:v._,query:{path:v.rR}}),{data:B,isLoading:O}=(0,w.A)({name:v.nw,query:{path:v.O2}}),T=H?.is_available,F=B?.user?.jwt,U=!O&&!I&&T&&F,D="1"===(0,E.A$)("userIsNewToJetpack"),{recordEvent:q}=(0,y.A)(),[J,G]=(0,h.useState)(!1);return(0,h.useLayoutEffect)((()=>{q("jetpack_myjetpack_page_view",{red_bubble_alerts:Object.keys(a).join(",")})}),[q,a]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),G(!0)),J?null:React.createElement(l.A,{siteAdminUrl:c},React.createElement("hr",{className:S.A.separator}),React.createElement(_.A,null),!D&&React.createElement(o.A,{horizontalSpacing:0},React.createElement(u.A,null,React.createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),r?React.createElement(z.A,{welcomeFlowExperiment:e,setWelcomeFlowExperiment:t},L&&i&&React.createElement(M,{message:L,title:P,options:V})):L&&React.createElement(o.A,{horizontalSpacing:3,horizontalGap:3},React.createElement(u.A,null,React.createElement(M,{message:L,title:P,options:V}))),!r&&s&&React.createElement(R.A,null),React.createElement(N.A,null),n.isEnabled&&React.createElement(o.A,{horizontalSpacing:6,horizontalGap:L?3:6},React.createElement(u.A,null,React.createElement(C.A,{isAgencyAccount:n.isAgencyAccount}))),React.createElement(m.A,null,React.createElement(o.A,{horizontalSpacing:8},React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(x.A,null)),React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(j.A,null)))),U&&React.createElement(d.A,{jwt_token:F}))}},3958:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(7425),c=a(1112),r=a(7723),s=a(1609),i=a(8837),l=a(1504),o=a(280),u=a(8242),m=a(4526),d=a(1870),p=a(3981),h=a(6256),g=a(3542),v=a(8252),f=a(1651),w=a(4334);const __=r.__,_n=r._n;function E({purchase:e={}}){const{product_name:t}=e;return React.createElement(React.Fragment,null,React.createElement(n.hE,null,t),React.createElement(k,e))}function k(e){const{expiry_message:t,product_name:a,subscribed_date:c}=e;return(0,v.b)(e)?React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},React.createElement("span",{className:w.A["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(f.k,{productName:a,giftedDate:c})):React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},t)}function y({numberOfPurchases:e=0}){return React.createElement(React.Fragment,null,React.createElement(n.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(n.Ay,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function A({numberOfPurchases:e}){const{recordEvent:t}=(0,m.A)(),{isUserConnected:a}=(0,d.A)(),n=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"),r=__("Purchase a plan","jetpack-my-jetpack"),l=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_manage_click")}),[t]),o=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_purchase_click")}),[t]),v=(0,p.A)(i.NM.Connection),f=(0,s.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||v()}),[v,a,t]);let E=__("Activate a license","jetpack-my-jetpack");a||(E=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:k="",adminUrl:y=""}=(0,u.A$)();return React.createElement("ul",null,e>0&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:l,href:(0,h.A)(),weight:"regular",variant:"link",isExternalLink:!0},n)),React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:o,href:(0,g.A)(),weight:"regular",variant:"link",isExternalLink:!0},r)),k&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:f,href:a?`${y}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},E)))}function b(){const e=!!(0,u.A$)("userIsAdmin"),{isSiteConnected:t}=(0,d.A)(),{data:a,isLoading:n,isError:c}=(0,o.A)({name:l.Ck,query:{path:l.tb},options:{enabled:t}}),r=a&&!n&&!c,s=r?a.length:0;return React.createElement("div",{className:w.A.container},React.createElement(y,{numberOfPurchases:s}),React.createElement("div",{className:w.A.purchasesSection},r&&a.map((e=>React.createElement(E,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(A,{numberOfPurchases:s}))}},169:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var n=a(6072),c=a.n(n),r=a(1112),s=a(7723),i=a(1113),l=a(3512),o=a(3883),u=a(4969),m=a(3022),d=a(6941),p=a.n(d),h=a(1609),g=a(8837),v=a(4923),f=a(4526),w=a(1413),E=a(1208);const __=s.__,k=p()("my-jetpack:product-card:action-button"),y=({status:e,admin:t,name:a,slug:n,onActivate:d,additionalActions:p,primaryActionOverride:y,onManage:A,onFixConnection:b,isFetching:j,isInstallingStandalone:R,className:_,onAdd:C,onInstall:x,onLearnMore:N,upgradeInInterstitial:z,isOwned:S})=>{const[M,L]=(0,h.useState)(!1),[P,V]=(0,h.useState)({}),{detail:H}=(0,v.A)(n),{manageUrl:I,purchaseUrl:B}=H,O=!I,T=(0,h.useRef)(null),F=(0,h.useRef)(null),{recordEvent:U}=(0,f.A)();"jetpack-ai"===n&&k(n,H);const D=j||R,q=p?.length>0,J=(0,h.useMemo)((()=>({variant:D?void 0:"primary",disabled:D,size:"small",weight:"regular",className:_})),[D,_]),G=(0,h.useCallback)((()=>{switch("jetpack-ai"===n&&k(n,e),e){case g.hp.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...J,href:`#/add-${n}`,variant:"primary",label:e,onClick:N,...y&&g.hp.ABSENT in y&&y[g.hp.ABSENT]}}case g.hp.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...J,variant:"primary",label:e,onClick:x,...y&&g.hp.ABSENT_WITH_PLAN in y&&y[g.hp.ABSENT_WITH_PLAN]}}case g.hp.NEEDS_FIRST_SITE_CONNECTION:return{...J,href:B||`#/add-${n}`,variant:"primary",label:__("Learn more","jetpack-my-jetpack"),onClick:C,...y&&g.hp.NEEDS_FIRST_SITE_CONNECTION in y&&y[g.hp.NEEDS_FIRST_SITE_CONNECTION]};case g.hp.NEEDS_PLAN:{const e=__("Get plan","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=S?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.NEEDS_PLAN in y&&y[g.hp.NEEDS_PLAN]}}case g.hp.CAN_UPGRADE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=B||z?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.CAN_UPGRADE in y&&y[g.hp.CAN_UPGRADE]}}case g.hp.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...J,disabled:O||J?.disabled,href:I,variant:"secondary",label:e,onClick:A,...y&&g.hp.ACTIVE in y&&y[g.hp.ACTIVE]}}case g.hp.SITE_CONNECTION_ERROR:return{...J,href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.SITE_CONNECTION_ERROR in y&&y[g.hp.SITE_CONNECTION_ERROR]};case g.hp.USER_CONNECTION_ERROR:return{href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.USER_CONNECTION_ERROR in y&&y[g.hp.USER_CONNECTION_ERROR]};case g.hp.INACTIVE:case g.hp.MODULE_DISABLED:case g.hp.NEEDS_ACTIVATION:return{...J,variant:"secondary",label:__("Activate","jetpack-my-jetpack"),onClick:d,...y&&g.hp.INACTIVE in y&&y[g.hp.INACTIVE]};default:return null}}),[e,J,n,C,b,d,x,N,B,z,O,I,A,y,S]),$=(0,h.useMemo)((()=>q?[...p,G()]:[G()]),[p,G,q]),W=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_dropdown_toggle",{product:n,state:M?"closed":"open"})}),[M,U,n]),Q=(0,h.useCallback)((()=>{L(!M),W()}),[M,W]);if((0,h.useEffect)((()=>{V($[0])}),[$]),(0,w.A)(T,(e=>{F.current.contains(e.target)||(L(!1),W())})),!t)return React.createElement(r.A,c()({},J,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ /* translators: placeholder is product name. */ (0,s.sprintf)(__("Learn about %s","jetpack-my-jetpack"),a));const K=q&&React.createElement("div",{ref:T,className:E.A["action-button-dropdown"]},React.createElement("ul",{className:E.A["dropdown-menu"]},[...p,G()].map((({label:e,isExternalLink:t},a)=>React.createElement("li",{key:a},React.createElement("button",{onClick:()=>{V($[a]),L(!1),U("jetpack_myjetpack_product_card_dropdown_action_click",{product:n,action:e})},className:E.A["dropdown-item"]},React.createElement("div",{className:E.A["dropdown-item-label"]},e,t&&React.createElement(i.A,{icon:l.A,size:16})),e===P.label&&React.createElement("div",{className:E.A["active-action-checkmark"]},React.createElement(i.A,{icon:o.A,size:24,fill:"white"}))))))));return React.createElement(React.Fragment,null,React.createElement("div",{className:(0,m.A)(E.A["action-button"],q?E.A["has-additional-actions"]:null)},React.createElement(r.A,c()({},J,P),P.label),q&&React.createElement("button",{className:(0,m.A)(E.A["dropdown-chevron"],"primary"===P.variant?E.A.primary:E.A.secondary),onClick:Q,ref:F},React.createElement(i.A,{icon:u.A,size:24,fill:"primary"===P.variant?"white":"black"})),M&&K))}},5410:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var n=a(6072),c=a.n(n),r=a(7723),s=a(3022),i=a(1609),l=a(8837),o=a(8242),u=a(4526),m=a(2450),d=a(169),p=a(6710),h=a(7879),g=a(1887),v=a(2854),f=a(1208);const __=r.__,w=e=>{const t={isFetching:!1,isInstallingStandalone:!1,onActivate:()=>{},...e},{name:a,Description:n,status:r,onActivate:w,isFetching:E,isDataLoading:k,isInstallingStandalone:y,slug:A,additionalActions:b,primaryActionOverride:j,secondaryAction:R,children:_,onInstallStandalone:C,onMouseEnter:x,onMouseLeave:N,recommendation:z,customLoadTracks:S}=e,{ownedProducts:M}=(0,o.A$)("lifecycleStats"),L=M?.includes(A),P=r===l.hp.SITE_CONNECTION_ERROR||r===l.hp.USER_CONNECTION_ERROR,V=r===l.hp.ABSENT||r===l.hp.ABSENT_WITH_PLAN,H=r===l.hp.NEEDS_PLAN,I=(0,s.A)({[f.A.plugin_absent]:V,[f.A["is-purchase-required"]]:H,[f.A["is-link"]]:V,[f.A["has-error"]]:P}),{recordEvent:B}=(0,u.A)(),O=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_activate_click",{product:A}),w()}),[A,w,B]),T=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_add_click",{product:A})}),[A,B]),F=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_manage_click",{product:A})}),[A,B]),U=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_fixconnection_click",{product:A})}),[A,B]),D=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_learnmore_click",{product:A})}),[A,B]),q=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:A}),C()}),[A,C,B]);return(0,i.useEffect)((()=>{B("jetpack_myjetpack_product_card_load",{product:A,status:r,...S})}),[B,A,r,S]),React.createElement(m.A,{title:a,className:(0,s.A)(f.A.container,I),headerRightContent:null,onMouseEnter:x,onMouseLeave:N},z&&React.createElement(p.A,{slug:A}),React.createElement(n,null),k?React.createElement("span",{className:f.A.loading},__("Loading…","jetpack-my-jetpack")):_,z?React.createElement(h.A,{slug:A}):React.createElement("div",{className:f.A.actions},React.createElement("div",{className:f.A.buttons},R&&R?.positionFirst&&React.createElement(g.A,R),React.createElement(d.A,c()({},t,{onActivate:O,onFixConnection:U,onManage:F,onAdd:T,onInstall:q,onLearnMore:D,className:f.A.button,additionalActions:b,primaryActionOverride:j,isOwned:L})),R&&!R?.positionFirst&&React.createElement(g.A,R)),React.createElement(v.A,{status:r,isFetching:E,isInstallingStandalone:y,isOwned:L})))}},6710:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(7397),c=a(7723),r=a(3022),s=a(1208),i=a(6147);const __=c.__,l=({slug:e})=>{const{discountPrice:t,fullPrice:a,currencyCode:c}=(0,i.A)(e);return React.createElement("div",{className:s.A.priceContainer},t&&React.createElement("span",{className:s.A.price},(0,n.Ay)(t,c)),React.createElement("span",{className:(0,r.A)(s.A.price,t&&s.A.discounted)},(0,n.Ay)(a,c)),React.createElement("span",{className:s.A.term},__("/month, billed yearly","jetpack-my-jetpack")))}},7879:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(6072),c=a.n(n),r=a(1112),s=a(3022),i=a(1208),l=a(6147);const o=({slug:e})=>{const{secondaryAction:t,purchaseAction:a,isActivating:n}=(0,l.A)(e);return React.createElement("div",{className:i.A.actions},React.createElement("div",{className:(0,s.A)(i.A.buttons,i.A.upsell)},a&&React.createElement(r.A,c()({size:"small"},a),a.label),React.createElement(r.A,c()({size:"small",variant:"secondary",disabled:n},t),t.label)))}},1887:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(1112),c=a(7723);const __=c.__,r=e=>{const{shouldShowButton:t=()=>!0,...a}={size:"small",variant:"secondary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),...e};return!!t()&&React.createElement(n.A,a,a.label)}},2854:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(7425),c=a(7723),r=a(3022),s=a(8837),i=a(1208);const __=c.__,l=({status:e,isFetching:t,isInstallingStandalone:a,isOwned:c})=>{const l=((e,t)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return __("Active","jetpack-my-jetpack");case s.hp.INACTIVE:case s.hp.MODULE_DISABLED:case s.hp.NEEDS_ACTIVATION:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.ABSENT:return __("Inactive","jetpack-my-jetpack");case s.hp.ABSENT_WITH_PLAN:return __("Needs Plugin","jetpack-my-jetpack");case s.hp.USER_CONNECTION_ERROR:return __("Needs user account","jetpack-my-jetpack");case s.hp.SITE_CONNECTION_ERROR:return __("Needs connection","jetpack-my-jetpack");case s.hp.NEEDS_PLAN:{const e=__("Needs plan","jetpack-my-jetpack"),a=__("Inactive","jetpack-my-jetpack");return t?e:a}default:return __("Inactive","jetpack-my-jetpack")}})(e,c),o=(0,r.A)(i.A.status,((e,t)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return i.A.active;case s.hp.ABSENT_WITH_PLAN:case s.hp.SITE_CONNECTION_ERROR:case s.hp.USER_CONNECTION_ERROR:return i.A.warning;case s.hp.INACTIVE:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.NEEDS_ACTIVATION:return i.A.inactive;case s.hp.NEEDS_PLAN:return t?i.A.warning:i.A.inactive;default:return i.A.inactive}})(e,c),{[i.A["is-fetching"]]:t||a});return React.createElement(n.Ay,{variant:"label",className:o},l)}},6147:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(9384),c=a(7723),r=a(1609),s=a(8837),i=a(9935),l=a(4923),o=a(8242),u=a(4526),m=a(1870);const __=c.__,d=(e,t)=>{const a=e.status===s.hp.ACTIVE&&(e.isUpgradableByBundle.length||e.isUpgradable),n=e.pricingForUi.fullPrice||e.pricingForUi.tiers?.upgraded?.fullPrice;return e.status===s.hp.CAN_UPGRADE||a?n?{label:__("Upgrade","jetpack-my-jetpack"),onClick:t}:null:{label:__("Purchase","jetpack-my-jetpack"),onClick:t}},p=(e,t)=>{!e.isPluginActive||e.status===s.hp.NEEDS_ACTIVATION||(e.status,s.hp.NEEDS_PLAN);return{label:__("Learn more","jetpack-my-jetpack"),href:`#/add-${e.slug}`}},h=e=>{const{recordEvent:t}=(0,u.A)(),{detail:a}=(0,l.A)(e),{wpcomProductSlug:c,wpcomFreeProductSlug:s,...h}=(e=>{const{tiers:t,wpcomFreeProductSlug:a}=e;if(e.tiers){const{discountPrice:e,fullPrice:n,currencyCode:c,wpcomProductSlug:r,quantity:s}=t.upgraded;return{wpcomFreeProductSlug:a,wpcomProductSlug:s?`${r}:-q-${s}`:r,discountPrice:e&&e!==n?e/12:null,fullPrice:n/12,currencyCode:c}}const{discountPricePerMonth:n,fullPricePerMonth:c,currencyCode:r,isIntroductoryOffer:s,wpcomProductSlug:i}=e;return{wpcomFreeProductSlug:a,wpcomProductSlug:i,discountPrice:s?n:null,fullPrice:c,currencyCode:r}})(a.pricingForUi),{isUserConnected:g}=(0,m.A)(),{myJetpackUrl:v,siteSuffix:f}=(0,o.A$)(),{activate:w,isPending:E}=(0,i.A)(e),{run:k}=(0,n.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:c,redirectUrl:v,connectAfterCheckout:!g,siteSuffix:f}),{run:y}=(0,n.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:s,redirectUrl:v,connectAfterCheckout:!g,siteSuffix:f}),A=((0,r.useCallback)((()=>{s?y():w()}),[w,y,s]),(0,r.useCallback)((()=>{if(t("jetpack_myjetpack_evaluation_recommendations_checkout_click",{slug:e}),"crm"===e)return w(),void window.open("https://jetpackcrm.com/pricing/","_blank");k()}),[w,t,k,e]));return{secondaryAction:p(a),purchaseAction:d(a,A),isActivating:E,...h}}},8412:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6072),c=a.n(n),r=a(1504),s=a(6176);const i=e=>React.createElement(s.A,c()({slug:r.D_.JETPACK_AI,upgradeInInterstitial:!0},e))},9674:(e,t,a)=>{"use strict";a.d(t,{z:()=>h});var n=a(8412),c=a(6724),r=a(161),s=a(9838),i=a(3690),l=a(1686),o=a(4274),u=a(414),m=a(7769),d=a(4073),p=a(7631);const h={backup:r.A,protect:o.A,"anti-spam":c.A,boost:s.A,search:u.A,videopress:p.A,stats:d.A,crm:l.A,creator:i.A,social:m.A,ai:n.A,"jetpack-ai":n.A,extras:null,scan:null,security:null}},6724:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(6072),c=a.n(n),r=a(5739),s=a.n(r),i=a(1504),l=a(6176);const o=e=>React.createElement(l.A,c()({slug:i.D_.ANTI_SPAM},e));o.propTypes={admin:s().bool.isRequired};const u=o},161:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(6072),c=a.n(n),r=a(3924),s=a(7425),i=a(6427),l=a(7723),o=a(3022),u=a(2290),m=a(5739),d=a.n(m),p=a(1609),h=a(8837),g=a(1504),v=a(4923),f=a(280),w=a(8242),E=a(4526),k=a(6581),y=a(6176),A=a(3649);const __=l.__,_n=l._n,b=g.D_.BACKUP,j=e=>{const{detail:t}=(0,v.A)(b),{status:a}=t;return a===h.hp.ACTIVE||a===h.hp.CAN_UPGRADE?React.createElement(R,c()({slug:b},e)):React.createElement(y.A,c()({slug:b},e))},R=e=>{const{data:t,isLoading:a}=(0,f.A)({name:g.Dz,query:{path:g.DB}}),n=t?.last_rewindable_event,i=n?.published,o=t?.undo_backup_id,{recordEvent:m}=(0,E.A)(),{siteSuffix:d=""}=(0,w.A$)(),p={href:(0,r.A)("jetpack-backup-undo-cta",{path:o,site:d}),size:"small",variant:"primary",weight:"regular",label:__("Undo","jetpack-my-jetpack"),onClick:()=>{m("jetpack_myjetpack_backup_card_undo_click",{product:e.slug,undo_backup_id:o})},isExternalLink:!0};return React.createElement(y.A,c()({},e,{showMenu:!0,isDataLoading:a,Description:n?()=>React.createElement(s.Ay,{variant:"body-small",className:A.A.description},React.createElement("span",null,__("Activity Detected","jetpack-my-jetpack")),React.createElement("span",{className:A.A.time},(e=>{if(!e)return"";const t=new Date-new Date(e);if(t>0){const e=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),n=Math.floor(t%36e5/6e4),c=Math.floor(t%6e4/1e3);return e>0?(0,l.sprintf)( // translators: %s is the number of days since the last backup _n("%s day ago","%s days ago",e,"jetpack-my-jetpack"),e):a>0?(0,l.sprintf)( @@ -75,7 +75,7 @@ __("Wait for %d days to reset your limit, or upgrade now to a higher tier for ad // translators: %d is the number of days left in the month. __("Wait for %d days to reset your limit, per our fair usage policy.","jetpack-my-jetpack"),Math.floor((new Date(T?.nextStart||null)-new Date)/864e5)),{link:React.createElement("a",{href:(0,n.A)("ai-product-page-fair-usage-policy"),target:"_blank",rel:"noreferrer"})}),fe=U?ge:ve,we=__("Reach for More with Jetpack AI! Upgrade now for additional requests and keep your momentum going.","jetpack-my-jetpack"),Ee=(0,d.sprintf)( // translators: %s is the next upgrade value -__("Get %s requests","jetpack-my-jetpack"),O?.value||"more"),ke=__("Upgrade now","jetpack-my-jetpack"),ye=(0,R.A)("/add-jetpack-ai"),{recordEvent:Ae}=(0,A.A)(),be=(0,k.useCallback)((()=>{Ae("jetpack_ai_upgrade_contact_us",{placement:"product-page"})}),[Ae]),je=(0,k.useCallback)((()=>{Ae("jetpack_ai_upgrade_button",{placement:"product-page",context:"my-jetpack",current_tier_slug:B?.slug||"",requests_count:I}),ye()}),[Ae,I,B,ye]),Re=(0,k.useCallback)((()=>N(!1)),[]);(0,k.useEffect)((()=>{Ae("jetpack_ai_myjetpack_product_page_view",{current_tier_slug:B?.slug||"",requests_count:I})}),[I,B?.slug,Ae]),(0,k.useEffect)((()=>{N(se||ie)}),[se,ie]);const _e=React.createElement("span",{className:C.A["product-interstitial__new-badge"]},__("New","jetpack-my-jetpack")," ");return React.createElement(c.A,{showHeader:!1,showBackground:!0},React.createElement(r.A,{fluid:!0,horizontalSpacing:3,horizontalGap:2},React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__section-wrapper-wide"]},React.createElement(_.A,{onClick:e})),React.createElement("div",{className:(0,f.A)(C.A["product-interstitial__section-wrapper-wide"],C.A["product-interstitial__product-header"])},React.createElement(i.A,null),React.createElement("div",{className:C.A["product-interstitial__product-header-name"]},__("AI Assistant","jetpack-my-jetpack")))),React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__hero-section"]},React.createElement("div",{className:C.A["product-interstitial__hero-content"]},React.createElement("h1",{className:C.A["product-interstitial__hero-heading"]},a),React.createElement("div",{className:C.A["product-interstitial__hero-sub-heading"]},__("Draft, transform, translate, and alter both new and existing content leveraging the capabilities of AI, inside the block editor.","jetpack-my-jetpack")),!G&&!q&&React.createElement(u.Button,{variant:"primary",onClick:je,className:C.A["product-interstitial__hero-cta"]},__("Get more requests","jetpack-my-jetpack")),G&&React.createElement(u.Button,{variant:"primary",onClick:be,href:K,className:C.A["product-interstitial__hero-cta"]},__("Contact Us","jetpack-my-jetpack"))),React.createElement("div",{className:C.A["product-interstitial__hero-side"]},W&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(l.KH,null),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},U?de:me),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},ue))),Q&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("All-time requests used","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},I))),D&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("Free requests available","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},$)))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},E&&React.createElement("div",{className:C.A["product-interstitial__ai-notice"]},React.createElement(o.A,{actions:U?[React.createElement(u.Button,{key:"upgrade",isPrimary:!0,onClick:je},se?Ee:ke)]:{},onClose:Re,level:se?"warning":"error",title:se?pe:he},se?fe:we)),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("AI Features","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Discover all the Jetpack features powered by AI","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__usage-videos"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/2OU6GCMs?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F07%2Fjetpack-ai-breve-poster.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:H}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},H,_e),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Simplify your writing with AI suggestions to fix long sentences and complex words and sound more confident. As you type, check your Reading grade score to make sure it suits your audience.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ae},__("Learn more","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/GdXmtVtW?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-37.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:S}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},S),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use the AI block to generate content, or use our AI edit options in existing blocks. Use prompts or any of our recommended actions.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:v.A,href:ne},z?ce:re))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/HJCf8cXc?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fone-click-featured-images.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:M}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},M),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Create featured images to illustrate your content and make it more engaging with just one click. Use prompts to generate adjusted new featured images.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:Y},__("Learn about featured images","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/xjy2weWj?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F06%2Fjetpack-ai-title-optimization.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:L}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},L),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use AI to generate title suggestions based on your content, each with an explanation of why it works better. Save time and create engaging, SEO-friendly titles.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:X},__("Learn about Jetpack SEO tools","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/OMI3zqid?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-38.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:P}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},P),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Quickly build forms using the Jetpack Forms block and AI. Use prompts to describe your form and AI will generate the elements in a few seconds.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ee},__("Learn about forms","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/0vb0OJm7?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-39.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:V}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},V),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Get instant feedback on your post before publishing. AI will read your post and highlight opportunities to improve your publication.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:te},__("Learn more","jetpack-my-jetpack"))))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},React.createElement("div",{className:C.A["product-interstitial__section-emoji"]},"👋"),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("Do you have any feedback?","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Help us improving the accuracy of our results and feel free to give us ideas for future implementations and improvements.","jetpack-my-jetpack")," ",React.createElement(u.ExternalLink,{href:Z},__("Share your feedback!","jetpack-my-jetpack")))))))}},7265:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(1040),c=a(7723),r=a(1504),s=a(280),i=a(1870),l=a(8252);const __=c.__;function o(){const{userConnectionData:e,isSiteConnected:t}=(0,i.A)(),a=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isLoading:c,data:o}=(0,s.A)({name:r.Ck,query:{path:r.tb},options:{enabled:t}});if(c)return React.createElement(React.Fragment,null,__("Checking gold status…","jetpack-my-jetpack"));const u=(0,l.M)(o);return React.createElement(React.Fragment,null,React.createElement(n._,{tokenRedeemed:u,displayName:a}))}},9654:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(7723),c=a(1113),r=a(5788),s=a(1871),i=a(6994),l=a(1609),o=a.n(l),u=a(3),m=a(3336),d=a(3747);const __=n.__,p=({counts:e,previousCounts:t})=>o().createElement("div",{className:d.A["section-stats-highlights"]},o().createElement("h3",{className:d.A["section-title"]},o().createElement("span",null,__("7-day highlights","jetpack-my-jetpack")),o().createElement("small",{className:d.A["section-description"]},__("Compared to previous period","jetpack-my-jetpack"))),o().createElement("div",{className:d.A["cards-list"]},o().createElement(u.A,{heading:__("Views","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:m.A}),count:e?.views,previousCount:t?.views}),o().createElement(u.A,{heading:__("Visitors","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:r.A}),count:e?.visitors,previousCount:t?.visitors}),o().createElement(u.A,{heading:__("Likes","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:s.A}),count:e?.likes,previousCount:t?.likes}),o().createElement(u.A,{heading:__("Comments","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:i.A}),count:e?.comments,previousCount:t?.comments})))},3:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var n=a(6427),c=a(1113),r=a(6955),s=a(2510),i=a(3022),l=a(5739),o=a.n(l),u=a(1609),m=a.n(u),d=a(6581),p=a(3747);const h=({count:e=0,previousCount:t=0,icon:a,heading:l})=>{const o=(h=t,"number"!=typeof(u=e)||"number"!=typeof h?null:u-h);var u,h;const g=Math.abs(o),v=Number.isFinite(o)?((e,t)=>{if("number"!=typeof e||"number"!=typeof t)return null;if(0===e&&0===t)return 0;const a=e/t*100;return Math.abs(a)===1/0?100:Math.round(a)})(g,t):null;return m().createElement(n.Card,{className:p.A["stats-card"]},a&&m().createElement("div",{className:p.A["stats-card-icon"]},a),l&&m().createElement("div",{className:p.A["stats-card-heading"]},l),m().createElement("div",{className:p.A["stats-card-count"]},m().createElement("span",{className:p.A["stats-card-count-value"],title:Number.isFinite(e)?String(e):void 0},(0,d.A)(e)),null!==o?m().createElement("span",{className:(0,i.A)(p.A["stats-card-difference"],{[p.A["stats-card-difference--positive"]]:o<0,[p.A["stats-card-difference--negative"]]:o>0})},m().createElement("span",{className:p.A["stats-card-difference-icon"],title:String(o)},o<0&&m().createElement(c.A,{size:18,icon:r.A}),o>0&&m().createElement(c.A,{size:18,icon:s.A})),m().createElement("span",{className:p.A["stats-card-difference-absolute-value"]},g>9999?(0,d.A)(g):(0,d.A)(g,{})),null!==v&&m().createElement("span",{className:p.A["stats-card-difference-absolute-percentage"]},"(",v,"%)")):null))};h.propTypes={count:o().number,heading:o().node,icon:o().node,previousCount:o().number};const g=h},3336:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6427);const c=React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"m4 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.071-.122.18-.302.329-.52.298-.435.749-1.017 1.359-1.598C7.673 9.883 9.498 8.75 12 8.75s4.326 1.132 5.545 2.293c.61.581 1.061 1.163 1.36 1.599a8.29 8.29 0 0 1 .422.689l.002.005L20 13l.67-.336v-.003l-.003-.005-.008-.015-.028-.052a9.752 9.752 0 0 0-.489-.794 11.6 11.6 0 0 0-1.562-1.838C17.174 8.617 14.998 7.25 12 7.25S6.827 8.618 5.42 9.957c-.702.669-1.22 1.337-1.563 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.002.005-.001.002v.001L4 13Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"}))},1035:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(7723),c=a(1609),r=a(8837),s=a(1504),i=a(4923),l=a(280),o=a(8242),u=a(4526),m=a(1870),d=a(6176),p=a(9654);const __=n.__,h=()=>{const e="stats",{blogID:t,isSiteConnected:a}=(0,m.A)(),{detail:n}=(0,i.A)(e),{status:h}=n,g=!!(0,o.A$)("userIsAdmin"),{data:v}=(0,l.A)({name:s.MB,query:{path:(0,s.IM)(t)},options:{enabled:a}}),f=v?.past_seven_days||{},w=v?.between_past_eight_and_fifteen_days||{},{recordEvent:E}=(0,u.A)(),k=(0,c.useCallback)((()=>{E("jetpack_myjetpack_stats_card_seedetailedstats_click",{product:e})}),[E]),y=(0,c.useCallback)((()=>!(h!==r.hp.CAN_UPGRADE)),[h]),A={href:"admin.php?page=stats",label:__("View detailed stats","jetpack-my-jetpack"),onClick:k,shouldShowButton:y},b={[r.hp.ACTIVE]:{label:__("View detailed stats","jetpack-my-jetpack")},[r.hp.SITE_CONNECTION_ERROR]:{label:__("Connect Jetpack to use Stats","jetpack-my-jetpack")},[r.hp.NEEDS_FIRST_SITE_CONNECTION]:{href:`#/add-${e}`}};return React.createElement(d.A,{admin:g,slug:e,primaryActionOverride:b,secondaryAction:A,showMenu:!0},React.createElement(p.A,{counts:f,previousCounts:w}))}},7881:(e,t,a)=>{"use strict";a.d(t,{A:()=>v});var n=a(8509),c=a(7425),r=a(5879),s=a(1112),i=a(4082),l=a(7723),o=a(1609),u=a(6007),m=a(1521),d=a(5350),p=a(4526),h=a(753),g=a(5225);const __=l.__,v=({onActivateSite:e,onUpdateWelcomeFlowExperiment:t,isActivating:a})=>{const{recordEvent:l}=(0,p.A)(),{setNotice:v,resetNotice:f}=(0,o.useContext)(u.g),w=__("Activate Jetpack in one click","jetpack-my-jetpack"),{refetch:E}=(0,d.A)(),k=(0,o.useCallback)((async()=>{l("jetpack_myjetpack_welcome_banner_connect_site_click"),t((e=>({...e,isLoading:!0}))),await e(),l("jetpack_myjetpack_welcome_banner_connect_site_success");try{await(0,h.A)(),(0,i.Pg)();const{variationName:e}=await(0,i.nQ)("jetpack_my_jetpack_welcome_flow_display_default_recommendations_upfront_202410");t((t=>({...t,variation:e??"control"})))}finally{f(),v(m.F,f),E(),t((e=>({...e,isLoading:!1})))}}),[e,t,l,E,f,v]);return React.createElement(React.Fragment,null,React.createElement(n.A,{sm:6,md:8,lg:6,className:g.A["banner-description"]},React.createElement(c.Ay,{variant:"headline-small",mb:3},__("Welcome to Jetpack!","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Unlock the power of your WordPress site with Jetpack, the complete toolkit for enhancing your site’s security, speed, and growth.","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Jetpack works behind the scenes to keep your site safe, make it lightning-fast, and to help you get more traffic.","jetpack-my-jetpack")),React.createElement(r.A,{agreeButtonLabel:w,mb:4}),React.createElement(s.A,{variant:"primary",disabled:a,isLoading:a,onClick:k},a?__("Activating…","jetpack-my-jetpack"):w)),React.createElement(n.A,{sm:6,md:8,lg:6,className:g.A["banner-image"]}))}},9230:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(8509),c=a(7425),r=a(6427),s=a(7723),i=a(5225);const __=s.__,l=()=>React.createElement(n.A,{className:i.A["banner-evaluation"]},React.createElement("div",{className:i.A["banner-loader"]},React.createElement(r.Spinner,null)),React.createElement(c.Ay,{variant:"title-medium",mb:1},__("Finding the best Jetpack tools","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body-small"},__("We‘re crunching the numbers to find the Jetpack tools that are the best match for your site.","jetpack-my-jetpack")))},6259:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(8509),c=a(7425),r=a(1112),s=a(6427),i=a(7723),l=a(3022),o=a(1609),u=a(5225);const __=i.__,m={protect:__("Protect my site","jetpack-my-jetpack"),performance:__("Improve my site‘s performance","jetpack-my-jetpack"),audience:__("Grow my audience","jetpack-my-jetpack"),content:__("Create quality content","jetpack-my-jetpack"),unsure:__("I don‘t know","jetpack-my-jetpack")},d={protect:!1,performance:!1,audience:!1,content:!1,unsure:!1},p=({onSkipOnboarding:e,onSubmitEvaluation:t})=>{const[a,i]=(0,o.useState)(d),p=(0,o.useCallback)((e=>t=>{i((a=>({...a,[e]:t})))}),[i]),h=(0,o.useCallback)((()=>t(a)),[t,a]),g=Object.values(a).some((e=>e));return React.createElement(React.Fragment,null,React.createElement(n.A,{sm:6,md:8,lg:6,className:u.A["banner-description"]},React.createElement(c.Ay,{variant:"headline-small",mb:3},__("What would you like Jetpack to do?","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Jetpack does a lot. Select the items that are most important to you and we‘ll find the Jetpack tools that are the best match for your site.","jetpack-my-jetpack")),React.createElement("form",{className:u.A.form},Object.entries(m).map((([e,t])=>React.createElement(s.CheckboxControl,{key:e,className:u.A["form-checkbox"],label:t,checked:a[e],onChange:p(e),__nextHasNoMarginBottom:!0}))),React.createElement("div",{className:u.A["form-actions"]},React.createElement(r.A,{variant:"primary",text:__("See solutions","jetpack-my-jetpack"),onClick:h,disabled:!g}),React.createElement(r.A,{variant:"link",className:u.A["form-link-action"],text:__("Skip onboarding","jetpack-my-jetpack"),onClick:e})))),React.createElement(n.A,{sm:6,md:8,lg:6,className:(0,l.A)(u.A["banner-image-evaluation"],{[u.A["is-selected"]]:g})}))}},8388:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var n=a(5918),c=a(8509),r=a(1112),s=a(7723),i=a(991),l=a(3022),o=a(1609),u=a(3804),m=a(4393),d=a(9812),p=a(4526),h=a(1870),g=a(2450),v=a(7881),f=a(9230),w=a(6259),E=a(5225);const __=s.__,k=({welcomeFlowExperiment:e,setWelcomeFlowExperiment:t,children:a})=>{const{recordEvent:s}=(0,p.A)(),{dismissWelcomeBanner:k}=(0,d.A)(),{recommendedModules:y,isFirstRun:A,submitEvaluation:b,saveEvaluationResult:j}=(0,u.A)(),{siteIsRegistered:R,siteIsRegistering:_,isUserConnected:C,isSiteConnected:x,handleRegisterSite:N}=(0,h.A)({skipUserConnection:!0}),[z,S]=(0,o.useState)(!1),[M,L]=(0,o.useState)(""),P=(0,o.useMemo)((()=>!R||e.isLoading?"connection":z?"evaluation-processing":y||(0,m.A)()?"treatment"===e.variation&&!y&&(0,m.A)()?"evaluation-processing":"evaluation":null),[z,y,R,e.isLoading,e.variation]);(0,o.useEffect)((()=>{M!==P&&(s("jetpack_myjetpack_welcome_banner_step_view",{current_step:P}),L(P))}),[P,M,s]);const V=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_dismiss_click",{current_step:P,is_user_connected:C,is_site_connected:x}),k()}),[s,P,C,x,k]),H=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_skip_recommendations_click"),k()}),[k,s]),I=(0,o.useCallback)((async e=>{const t=Object.keys(e).filter((t=>e[t]));S(!0),s("jetpack_myjetpack_welcome_banner_evaluation_submit",{goals:t});try{const e=await b(t);await j(e),k()}catch(e){S(!1)}}),[k,s,j,b]);return(0,o.useEffect)((()=>{"treatment"===e.variation&&!y&&A&&"connection"===M&&"evaluation-processing"===P&&I({protect:!0,performance:!0,audience:!0,content:!0,unsure:!1})}),[P,M,y,e.variation,I,A]),(0,o.useEffect)((()=>{P||k()}),[P,k]),P?React.createElement(n.A,{horizontalSpacing:6,horizontalGap:2},a&&React.createElement(c.A,null,a),React.createElement(c.A,{lg:12,className:E.A.banner},React.createElement(g.O,{className:(0,l.A)(E.A["banner-card"],"connection"===P&&E.A["is-mandatory"])},React.createElement(n.A,{horizontalSpacing:0,horizontalGap:0,className:E.A["banner-content"]},"connection"===P&&React.createElement(v.A,{onActivateSite:N,onUpdateWelcomeFlowExperiment:t,isActivating:_||e.isLoading}),"evaluation"===P&&React.createElement(w.A,{onSkipOnboarding:H,onSubmitEvaluation:I}),"evaluation-processing"===P&&React.createElement(f.A,null))),React.createElement(r.A,{className:E.A.dismiss,variant:"secondary","aria-label":__("Don’t show the welcome message again","jetpack-my-jetpack"),size:"small",icon:i.A,disabled:_,onClick:V}))):null}},8837:(e,t,a)=>{"use strict";a.d(t,{ED:()=>c,NM:()=>s,OM:()=>n,hp:()=>i,mk:()=>r});const n="my-jetpack-my-plans-manage",c="my-jetpack-my-plans-purchase",r="my-jetpack-my-plans-purchase-no-site",s={Home:"/",Connection:"/connection",AddAkismet:"/add-akismet",AddAntiSpam:"/add-anti-spam",AddBackup:"/add-backup",AddBoost:"/add-boost",AddCRM:"/add-crm",AddCreator:"/add-creator",AddJetpackAI:"/add-jetpack-ai",AddExtras:"/add-extras",AddProtect:"/add-protect/:feature?",AddScan:"/add-scan",AddSocial:"/add-social",AddSearch:"/add-search",AddVideoPress:"/add-videopress",AddStats:"/add-stats",AddLicense:"/add-license",RedeemToken:"/redeem-token"},i={ACTIVE:"active",INACTIVE:"inactive",MODULE_DISABLED:"module_disabled",SITE_CONNECTION_ERROR:"site_connection_error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PLAN:"needs_plan",NEEDS_ACTIVATION:"needs_activation",NEEDS_FIRST_SITE_CONNECTION:"needs_first_site_connection",USER_CONNECTION_ERROR:"user_connection_error",CAN_UPGRADE:"can_upgrade"}},3537:(e,t,a)=>{"use strict";a.d(t,{EX:()=>c,PG:()=>n,pv:()=>r});const n=100,c=200,r=300},6007:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,g:()=>r});var n=a(1609);const c={message:"",title:null,options:{level:"info",priority:0}},r=(0,n.createContext)({currentNotice:c,setNotice:null,resetNotice:null}),s=({children:e})=>{const[t,a]=(0,n.useState)(c),s=(0,n.useCallback)((()=>{a(c)}),[]),i=(0,n.useCallback)(((e,n)=>{if(!t.message||e.options.priority>t.options.priority){const t={...e.options,onClose:e.options?.onClose||(e.options?.hideCloseButton?void 0:n)};s(),a({...e,options:t})}}),[t.message,t.options.priority,s]);return React.createElement(r.Provider,{value:{currentNotice:t,setNotice:i,resetNotice:s}},e)}},1521:(e,t,a)=>{"use strict";a.d(t,{F:()=>r});var n=a(7723),c=a(3537);const r={message:(0,n.__)("Your site has been successfully connected.","jetpack-my-jetpack"),options:{id:"site-connection-success-notice",level:"success",actions:[],priority:c.pv,hideCloseButton:!1}}},6077:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,_:()=>r});var n=a(1609);const c=(0,n.createContext)({state:{},setState:()=>{}}),r=(e,t)=>{const{state:a,setState:r}=(0,n.useContext)(c),{[e]:s=t}=a;(0,n.useEffect)((()=>{void 0===a[e]&&r((a=>({...a,[e]:t})))}),[t,e,r,a]);return[s,(0,n.useCallback)((t=>{r((a=>({...a,[e]:t})))}),[e,r])]},s=({children:e})=>{const[t,a]=(0,n.useState)({});return React.createElement(c.Provider,{value:{state:t,setState:a}},e)}},1504:(e,t,a)=>{"use strict";a.d(t,{AD:()=>m,Ck:()=>_,DB:()=>r,D_:()=>z,Dz:()=>A,FW:()=>f,IM:()=>h,L6:()=>d,MB:()=>j,MD:()=>x,Md:()=>E,O2:()=>l,PM:()=>u,QO:()=>R,Rx:()=>v,Sm:()=>s,_:()=>k,dB:()=>C,gw:()=>b,jE:()=>w,jf:()=>o,no:()=>p,nw:()=>y,pN:()=>N,rR:()=>i,tb:()=>c,xF:()=>g});const n="my-jetpack/v1",c=`${n}/site/purchases`,r=`${n}/site/backup/undo-event`,s=`${n}/site/backup/count-items`,i=`${n}/chat/availability`,l=`${n}/chat/authentication`,o=`${n}/site/products`,u=`${n}/site/products-ownership`,m=`${n}/site/dismiss-welcome-banner`,d=`${n}/site/recommendations/evaluation`,p=`${n}/site/recommendations/evaluation/result`,h=e=>`jetpack/v4/stats-app/sites/${e}/stats/highlights`,g="product",v="product ownership",f="activate product",w="install product",E="available licenses",k="chat availability",y="chat authentication",A="backup history",b="backup stats",j="stats counts",R="dismiss welcome banner",_="purchases",C="evaluate site recommendations",x="save site evaluation result",N="remove site evaluation result",z={ANTI_SPAM:"anti-spam",BACKUP:"backup",BOOST:"boost",CRM:"crm",CREATOR:"creator",EXTRAS:"extras",JETPACK_AI:"jetpack-ai",SCAN:"scan",SEARCH:"search",SOCIAL:"social",SECURITY:"security",PROTECT:"protect",VIDEOPRESS:"videopress",STATS:"stats"}},3804:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(7723),c=a(1609),r=a(6077),s=a(4526),i=a(1504),l=a(929),o=a(8242),u=a(4393),m=a(9812);const __=n.__,d=()=>{const{recordEvent:e}=(0,s.A)(),{isWelcomeBannerVisible:t,showWelcomeBanner:a}=(0,m.A)(),[n,d]=(0,r._)("recommendedModules",(0,o.A$)("recommendedModules").modules),[p,h]=(0,r._)("isFirstRun",(0,o.A$)("recommendedModules").isFirstRun),g=(0,c.useMemo)((()=>{const e=(0,o.A$)("lifecycleStats")?.ownedProducts||[];return n?.filter((t=>!e.includes(t))).slice(0,3)}),[n]),v=(0,c.useMemo)((()=>{const{dismissed:e}=(0,o.A$)("recommendedModules");return!e&&!t&&(0,u.A)()}),[t]),[f,w]=(0,r._)("recommendedModulesVisible",v&&!!g?.length),{mutate:E}=(0,l.A)({name:i.dB,query:{path:i.L6,method:"GET"},errorMessage:__("Failed to evaluate site recommendations","jetpack-my-jetpack")}),{mutate:k}=(0,l.A)({name:i.MD,query:{path:i.no,method:"POST"},errorMessage:__("Failed to save evaluation results. Please try again","jetpack-my-jetpack")}),{mutate:y}=(0,l.A)({name:i.pN,query:{path:i.no,method:"DELETE"},errorMessage:__("Failed to hide evaluation results. Please try again","jetpack-my-jetpack")});return{submitEvaluation:(0,c.useCallback)((e=>new Promise(((t,a)=>{E({queryParams:{goals:e}},{onSuccess:t,onError:a})}))),[E]),saveEvaluationResult:(0,c.useCallback)((e=>new Promise(((t,a)=>{k({data:{recommendations:e}},{onSuccess:e=>{d(e),w(!0),t()},onError:a})}))),[k,w,d]),removeEvaluationResult:(0,c.useCallback)((()=>{y({},{onSuccess:()=>{w(!1),h(!1),e("jetpack_myjetpack_evaluation_recommendations_dismiss_click")}})}),[y,e,h,w]),redoEvaluation:(0,c.useCallback)((()=>{w(!1),h(!1),a(),e("jetpack_myjetpack_evaluation_recommendations_redo_click")}),[e,h,w,a]),recommendedModules:g,isSectionVisible:f,isFirstRun:p}}},2447:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var n=a(7723),c=a(1609),r=a(3537),s=a(6007),i=a(1504);const __=n.__,l=[i.Ck,i.FW,i.jE],o=({infoName:e,isError:t,overrideMessage:a})=>{const{setNotice:i}=(0,c.useContext)(s.g),o=a??(0,n.sprintf)( +__("Get %s requests","jetpack-my-jetpack"),O?.value||"more"),ke=__("Upgrade now","jetpack-my-jetpack"),ye=(0,R.A)("/add-jetpack-ai"),{recordEvent:Ae}=(0,A.A)(),be=(0,k.useCallback)((()=>{Ae("jetpack_ai_upgrade_contact_us",{placement:"product-page"})}),[Ae]),je=(0,k.useCallback)((()=>{Ae("jetpack_ai_upgrade_button",{placement:"product-page",context:"my-jetpack",current_tier_slug:B?.slug||"",requests_count:I}),ye()}),[Ae,I,B,ye]),Re=(0,k.useCallback)((()=>N(!1)),[]);(0,k.useEffect)((()=>{Ae("jetpack_ai_myjetpack_product_page_view",{current_tier_slug:B?.slug||"",requests_count:I})}),[I,B?.slug,Ae]),(0,k.useEffect)((()=>{N(se||ie)}),[se,ie]);const _e=React.createElement("span",{className:C.A["product-interstitial__new-badge"]},__("New","jetpack-my-jetpack")," ");return React.createElement(c.A,{showHeader:!1,showBackground:!0},React.createElement(r.A,{fluid:!0,horizontalSpacing:3,horizontalGap:2},React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__section-wrapper-wide"]},React.createElement(_.A,{onClick:e})),React.createElement("div",{className:(0,f.A)(C.A["product-interstitial__section-wrapper-wide"],C.A["product-interstitial__product-header"])},React.createElement(i.A,null),React.createElement("div",{className:C.A["product-interstitial__product-header-name"]},__("AI Assistant","jetpack-my-jetpack")))),React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__hero-section"]},React.createElement("div",{className:C.A["product-interstitial__hero-content"]},React.createElement("h1",{className:C.A["product-interstitial__hero-heading"]},a),React.createElement("div",{className:C.A["product-interstitial__hero-sub-heading"]},__("Draft, transform, translate, and alter both new and existing content leveraging the capabilities of AI, inside the block editor.","jetpack-my-jetpack")),!G&&!q&&React.createElement(u.Button,{variant:"primary",onClick:je,className:C.A["product-interstitial__hero-cta"]},__("Get more requests","jetpack-my-jetpack")),G&&React.createElement(u.Button,{variant:"primary",onClick:be,href:K,className:C.A["product-interstitial__hero-cta"]},__("Contact Us","jetpack-my-jetpack"))),React.createElement("div",{className:C.A["product-interstitial__hero-side"]},W&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(l.KH,null),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},U?de:me),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},ue))),Q&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("All-time requests used","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},I))),D&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("Free requests available","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},$)))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},E&&React.createElement("div",{className:C.A["product-interstitial__ai-notice"]},React.createElement(o.A,{actions:U?[React.createElement(u.Button,{key:"upgrade",isPrimary:!0,onClick:je},se?Ee:ke)]:{},onClose:Re,level:se?"warning":"error",title:se?pe:he},se?fe:we)),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("AI Features","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Discover all the Jetpack features powered by AI","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__usage-videos"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/2OU6GCMs?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F07%2Fjetpack-ai-breve-poster.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:H}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},H,_e),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Simplify your writing with AI suggestions to fix long sentences and complex words and sound more confident. As you type, check your Reading grade score to make sure it suits your audience.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ae},__("Learn more","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/GdXmtVtW?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-37.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:S}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},S),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use the AI block to generate content, or use our AI edit options in existing blocks. Use prompts or any of our recommended actions.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:v.A,href:ne},z?ce:re))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/HJCf8cXc?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fone-click-featured-images.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:M}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},M),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Create featured images to illustrate your content and make it more engaging with just one click. Use prompts to generate adjusted new featured images.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:Y},__("Learn about featured images","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/xjy2weWj?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F06%2Fjetpack-ai-title-optimization.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:L}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},L),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use AI to generate title suggestions based on your content, each with an explanation of why it works better. Save time and create engaging, SEO-friendly titles.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:X},__("Learn about Jetpack SEO tools","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/OMI3zqid?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-38.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:P}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},P),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Quickly build forms using the Jetpack Forms block and AI. Use prompts to describe your form and AI will generate the elements in a few seconds.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ee},__("Learn about forms","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/0vb0OJm7?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-39.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:V}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},V),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Get instant feedback on your post before publishing. AI will read your post and highlight opportunities to improve your publication.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:te},__("Learn more","jetpack-my-jetpack"))))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},React.createElement("div",{className:C.A["product-interstitial__section-emoji"]},"👋"),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("Do you have any feedback?","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Help us improving the accuracy of our results and feel free to give us ideas for future implementations and improvements.","jetpack-my-jetpack")," ",React.createElement(u.ExternalLink,{href:Z},__("Share your feedback!","jetpack-my-jetpack")))))))}},7265:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(1040),c=a(7723),r=a(1504),s=a(280),i=a(1870),l=a(8252);const __=c.__;function o(){const{userConnectionData:e,isSiteConnected:t}=(0,i.A)(),a=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isLoading:c,data:o}=(0,s.A)({name:r.Ck,query:{path:r.tb},options:{enabled:t}});if(c)return React.createElement(React.Fragment,null,__("Checking gold status…","jetpack-my-jetpack"));const u=(0,l.M)(o);return React.createElement(React.Fragment,null,React.createElement(n._,{tokenRedeemed:u,displayName:a}))}},9654:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(7723),c=a(1113),r=a(5788),s=a(1871),i=a(6994),l=a(1609),o=a.n(l),u=a(3),m=a(3336),d=a(3747);const __=n.__,p=({counts:e,previousCounts:t})=>o().createElement("div",{className:d.A["section-stats-highlights"]},o().createElement("h3",{className:d.A["section-title"]},o().createElement("span",null,__("7-day highlights","jetpack-my-jetpack")),o().createElement("small",{className:d.A["section-description"]},__("Compared to previous period","jetpack-my-jetpack"))),o().createElement("div",{className:d.A["cards-list"]},o().createElement(u.A,{heading:__("Views","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:m.A}),count:e?.views,previousCount:t?.views}),o().createElement(u.A,{heading:__("Visitors","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:r.A}),count:e?.visitors,previousCount:t?.visitors}),o().createElement(u.A,{heading:__("Likes","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:s.A}),count:e?.likes,previousCount:t?.likes}),o().createElement(u.A,{heading:__("Comments","jetpack-my-jetpack"),icon:o().createElement(c.A,{icon:i.A}),count:e?.comments,previousCount:t?.comments})))},3:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var n=a(6427),c=a(1113),r=a(6955),s=a(2510),i=a(3022),l=a(5739),o=a.n(l),u=a(1609),m=a.n(u),d=a(6581),p=a(3747);const h=({count:e=0,previousCount:t=0,icon:a,heading:l})=>{const o=(h=t,"number"!=typeof(u=e)||"number"!=typeof h?null:u-h);var u,h;const g=Math.abs(o),v=Number.isFinite(o)?((e,t)=>{if("number"!=typeof e||"number"!=typeof t)return null;if(0===e&&0===t)return 0;const a=e/t*100;return Math.abs(a)===1/0?100:Math.round(a)})(g,t):null;return m().createElement(n.Card,{className:p.A["stats-card"]},a&&m().createElement("div",{className:p.A["stats-card-icon"]},a),l&&m().createElement("div",{className:p.A["stats-card-heading"]},l),m().createElement("div",{className:p.A["stats-card-count"]},m().createElement("span",{className:p.A["stats-card-count-value"],title:Number.isFinite(e)?String(e):void 0},(0,d.A)(e)),null!==o?m().createElement("span",{className:(0,i.A)(p.A["stats-card-difference"],{[p.A["stats-card-difference--positive"]]:o<0,[p.A["stats-card-difference--negative"]]:o>0})},m().createElement("span",{className:p.A["stats-card-difference-icon"],title:String(o)},o<0&&m().createElement(c.A,{size:18,icon:r.A}),o>0&&m().createElement(c.A,{size:18,icon:s.A})),m().createElement("span",{className:p.A["stats-card-difference-absolute-value"]},g>9999?(0,d.A)(g):(0,d.A)(g,{})),null!==v&&m().createElement("span",{className:p.A["stats-card-difference-absolute-percentage"]},"(",v,"%)")):null))};h.propTypes={count:o().number,heading:o().node,icon:o().node,previousCount:o().number};const g=h},3336:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6427);const c=React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"m4 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.071-.122.18-.302.329-.52.298-.435.749-1.017 1.359-1.598C7.673 9.883 9.498 8.75 12 8.75s4.326 1.132 5.545 2.293c.61.581 1.061 1.163 1.36 1.599a8.29 8.29 0 0 1 .422.689l.002.005L20 13l.67-.336v-.003l-.003-.005-.008-.015-.028-.052a9.752 9.752 0 0 0-.489-.794 11.6 11.6 0 0 0-1.562-1.838C17.174 8.617 14.998 7.25 12 7.25S6.827 8.618 5.42 9.957c-.702.669-1.22 1.337-1.563 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.002.005-.001.002v.001L4 13Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"}))},1035:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(7723),c=a(1609),r=a(8837),s=a(1504),i=a(4923),l=a(280),o=a(8242),u=a(4526),m=a(1870),d=a(6176),p=a(9654);const __=n.__,h=()=>{const e="stats",{blogID:t,isSiteConnected:a}=(0,m.A)(),{detail:n}=(0,i.A)(e),{status:h}=n,g=!!(0,o.A$)("userIsAdmin"),{data:v}=(0,l.A)({name:s.MB,query:{path:(0,s.IM)(t)},options:{enabled:a}}),f=v?.past_seven_days||{},w=v?.between_past_eight_and_fifteen_days||{},{recordEvent:E}=(0,u.A)(),k=(0,c.useCallback)((()=>{E("jetpack_myjetpack_stats_card_seedetailedstats_click",{product:e})}),[E]),y=(0,c.useCallback)((()=>!(h!==r.hp.CAN_UPGRADE)),[h]),A={href:"admin.php?page=stats",label:__("View detailed stats","jetpack-my-jetpack"),onClick:k,shouldShowButton:y},b={[r.hp.ACTIVE]:{label:__("View detailed stats","jetpack-my-jetpack")},[r.hp.SITE_CONNECTION_ERROR]:{label:__("Connect Jetpack to use Stats","jetpack-my-jetpack")},[r.hp.NEEDS_FIRST_SITE_CONNECTION]:{href:`#/add-${e}`}};return React.createElement(d.A,{admin:g,slug:e,primaryActionOverride:b,secondaryAction:A,showMenu:!0},React.createElement(p.A,{counts:f,previousCounts:w}))}},7881:(e,t,a)=>{"use strict";a.d(t,{A:()=>v});var n=a(8509),c=a(7425),r=a(5879),s=a(1112),i=a(4082),l=a(7723),o=a(1609),u=a(6007),m=a(1521),d=a(5350),p=a(4526),h=a(753),g=a(5225);const __=l.__,v=({onActivateSite:e,onUpdateWelcomeFlowExperiment:t,isActivating:a})=>{const{recordEvent:l}=(0,p.A)(),{setNotice:v,resetNotice:f}=(0,o.useContext)(u.g),w=__("Activate Jetpack in one click","jetpack-my-jetpack"),{refetch:E}=(0,d.A)(),k=(0,o.useCallback)((async()=>{l("jetpack_myjetpack_welcome_banner_connect_site_click"),t((e=>({...e,isLoading:!0}))),await e(),l("jetpack_myjetpack_welcome_banner_connect_site_success");try{await(0,h.A)(),(0,i.Pg)();const{variationName:e}=await(0,i.nQ)("jetpack_my_jetpack_welcome_flow_display_default_recommendations_upfront_202410");t((t=>({...t,variation:e??"control"})))}finally{f(),v(m.F,f),E(),t((e=>({...e,isLoading:!1})))}}),[e,t,l,E,f,v]);return React.createElement(React.Fragment,null,React.createElement(n.A,{sm:6,md:8,lg:6,className:g.A["banner-description"]},React.createElement(c.Ay,{variant:"headline-small",mb:3},__("Welcome to Jetpack!","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Unlock the power of your WordPress site with Jetpack, the complete toolkit for enhancing your site’s security, speed, and growth.","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Jetpack works behind the scenes to keep your site safe, make it lightning-fast, and to help you get more traffic.","jetpack-my-jetpack")),React.createElement(r.A,{agreeButtonLabel:w,mb:4}),React.createElement(s.A,{variant:"primary",disabled:a,isLoading:a,onClick:k},a?__("Activating…","jetpack-my-jetpack"):w)),React.createElement(n.A,{sm:6,md:8,lg:6,className:g.A["banner-image"]}))}},9230:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(8509),c=a(7425),r=a(6427),s=a(7723),i=a(5225);const __=s.__,l=()=>React.createElement(n.A,{className:i.A["banner-evaluation"]},React.createElement("div",{className:i.A["banner-loader"]},React.createElement(r.Spinner,null)),React.createElement(c.Ay,{variant:"title-medium",mb:1},__("Finding the best Jetpack tools","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body-small"},__("We‘re crunching the numbers to find the Jetpack tools that are the best match for your site.","jetpack-my-jetpack")))},6259:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(8509),c=a(7425),r=a(1112),s=a(6427),i=a(7723),l=a(3022),o=a(1609),u=a(5225);const __=i.__,m={protect:__("Protect my site","jetpack-my-jetpack"),performance:__("Improve my site‘s performance","jetpack-my-jetpack"),audience:__("Grow my audience","jetpack-my-jetpack"),content:__("Create quality content","jetpack-my-jetpack"),unsure:__("I don‘t know","jetpack-my-jetpack")},d={protect:!1,performance:!1,audience:!1,content:!1,unsure:!1},p=({onSkipOnboarding:e,onSubmitEvaluation:t})=>{const[a,i]=(0,o.useState)(d),p=(0,o.useCallback)((e=>t=>{i((a=>({...a,[e]:t})))}),[i]),h=(0,o.useCallback)((()=>t(a)),[t,a]),g=Object.values(a).some((e=>e));return React.createElement(React.Fragment,null,React.createElement(n.A,{sm:6,md:8,lg:6,className:u.A["banner-description"]},React.createElement(c.Ay,{variant:"headline-small",mb:3},__("What would you like Jetpack to do?","jetpack-my-jetpack")),React.createElement(c.Ay,{variant:"body",mb:2},__("Jetpack does a lot. Select the items that are most important to you and we‘ll find the Jetpack tools that are the best match for your site.","jetpack-my-jetpack")),React.createElement("form",{className:u.A.form},Object.entries(m).map((([e,t])=>React.createElement(s.CheckboxControl,{key:e,className:u.A["form-checkbox"],label:t,checked:a[e],onChange:p(e),__nextHasNoMarginBottom:!0}))),React.createElement("div",{className:u.A["form-actions"]},React.createElement(r.A,{variant:"primary",text:__("See solutions","jetpack-my-jetpack"),onClick:h,disabled:!g}),React.createElement(r.A,{variant:"link",className:u.A["form-link-action"],text:__("Skip onboarding","jetpack-my-jetpack"),onClick:e})))),React.createElement(n.A,{sm:6,md:8,lg:6,className:(0,l.A)(u.A["banner-image-evaluation"],{[u.A["is-selected"]]:g})}))}},8388:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var n=a(5918),c=a(8509),r=a(1112),s=a(7723),i=a(991),l=a(3022),o=a(1609),u=a(3804),m=a(4393),d=a(9812),p=a(4526),h=a(1870),g=a(2450),v=a(7881),f=a(9230),w=a(6259),E=a(5225);const __=s.__,k=({welcomeFlowExperiment:e,setWelcomeFlowExperiment:t,children:a})=>{const{recordEvent:s}=(0,p.A)(),{dismissWelcomeBanner:k}=(0,d.A)(),{recommendedModules:y,submitEvaluation:A,saveEvaluationResult:b}=(0,u.A)(),{siteIsRegistered:j,siteIsRegistering:R,isUserConnected:_,isSiteConnected:C,handleRegisterSite:x}=(0,h.A)({skipUserConnection:!0}),[N,z]=(0,o.useState)(!1),[S,M]=(0,o.useState)(""),L=(0,o.useMemo)((()=>j?N?"evaluation-processing":y||(0,m.A)()?"evaluation":null:"connection"),[N,y,j]);(0,o.useEffect)((()=>{S!==L&&(s("jetpack_myjetpack_welcome_banner_step_view",{current_step:L}),M(L))}),[L,S,s]);const P=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_dismiss_click",{current_step:L,is_user_connected:_,is_site_connected:C}),k()}),[s,L,_,C,k]),V=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_skip_recommendations_click"),k()}),[k,s]),H=(0,o.useCallback)((async e=>{const t=Object.keys(e).filter((t=>e[t]));z(!0),s("jetpack_myjetpack_welcome_banner_evaluation_submit",{goals:t});try{const e=await A(t);await b(e),k()}catch(e){z(!1)}}),[k,s,b,A]);return(0,o.useEffect)((()=>{L||k()}),[L,k]),L?React.createElement(n.A,{horizontalSpacing:6,horizontalGap:2},a&&React.createElement(c.A,null,a),React.createElement(c.A,{lg:12,className:E.A.banner},React.createElement(g.O,{className:(0,l.A)(E.A["banner-card"],"connection"===L&&E.A["is-mandatory"])},React.createElement(n.A,{horizontalSpacing:0,horizontalGap:0,className:E.A["banner-content"]},"connection"===L&&React.createElement(v.A,{onActivateSite:x,onUpdateWelcomeFlowExperiment:t,isActivating:R||e.isLoading}),"evaluation"===L&&React.createElement(w.A,{onSkipOnboarding:V,onSubmitEvaluation:H}),"evaluation-processing"===L&&React.createElement(f.A,null))),React.createElement(r.A,{className:E.A.dismiss,variant:"secondary","aria-label":__("Don’t show the welcome message again","jetpack-my-jetpack"),size:"small",icon:i.A,disabled:R,onClick:P}))):null}},8837:(e,t,a)=>{"use strict";a.d(t,{ED:()=>c,NM:()=>s,OM:()=>n,hp:()=>i,mk:()=>r});const n="my-jetpack-my-plans-manage",c="my-jetpack-my-plans-purchase",r="my-jetpack-my-plans-purchase-no-site",s={Home:"/",Connection:"/connection",AddAkismet:"/add-akismet",AddAntiSpam:"/add-anti-spam",AddBackup:"/add-backup",AddBoost:"/add-boost",AddCRM:"/add-crm",AddCreator:"/add-creator",AddJetpackAI:"/add-jetpack-ai",AddExtras:"/add-extras",AddProtect:"/add-protect/:feature?",AddScan:"/add-scan",AddSocial:"/add-social",AddSearch:"/add-search",AddVideoPress:"/add-videopress",AddStats:"/add-stats",AddLicense:"/add-license",RedeemToken:"/redeem-token"},i={ACTIVE:"active",INACTIVE:"inactive",MODULE_DISABLED:"module_disabled",SITE_CONNECTION_ERROR:"site_connection_error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PLAN:"needs_plan",NEEDS_ACTIVATION:"needs_activation",NEEDS_FIRST_SITE_CONNECTION:"needs_first_site_connection",USER_CONNECTION_ERROR:"user_connection_error",CAN_UPGRADE:"can_upgrade"}},3537:(e,t,a)=>{"use strict";a.d(t,{EX:()=>c,PG:()=>n,pv:()=>r});const n=100,c=200,r=300},6007:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,g:()=>r});var n=a(1609);const c={message:"",title:null,options:{level:"info",priority:0}},r=(0,n.createContext)({currentNotice:c,setNotice:null,resetNotice:null}),s=({children:e})=>{const[t,a]=(0,n.useState)(c),s=(0,n.useCallback)((()=>{a(c)}),[]),i=(0,n.useCallback)(((e,n)=>{if(!t.message||e.options.priority>t.options.priority){const t={...e.options,onClose:e.options?.onClose||(e.options?.hideCloseButton?void 0:n)};s(),a({...e,options:t})}}),[t.message,t.options.priority,s]);return React.createElement(r.Provider,{value:{currentNotice:t,setNotice:i,resetNotice:s}},e)}},1521:(e,t,a)=>{"use strict";a.d(t,{F:()=>r});var n=a(7723),c=a(3537);const r={message:(0,n.__)("Your site has been successfully connected.","jetpack-my-jetpack"),options:{id:"site-connection-success-notice",level:"success",actions:[],priority:c.pv,hideCloseButton:!1}}},6077:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,_:()=>r});var n=a(1609);const c=(0,n.createContext)({state:{},setState:()=>{}}),r=(e,t)=>{const{state:a,setState:r}=(0,n.useContext)(c),{[e]:s=t}=a;(0,n.useEffect)((()=>{void 0===a[e]&&r((a=>({...a,[e]:t})))}),[t,e,r,a]);return[s,(0,n.useCallback)((t=>{r((a=>({...a,[e]:t})))}),[e,r])]},s=({children:e})=>{const[t,a]=(0,n.useState)({});return React.createElement(c.Provider,{value:{state:t,setState:a}},e)}},1504:(e,t,a)=>{"use strict";a.d(t,{AD:()=>m,Ck:()=>_,DB:()=>r,D_:()=>z,Dz:()=>A,FW:()=>f,IM:()=>h,L6:()=>d,MB:()=>j,MD:()=>x,Md:()=>E,O2:()=>l,PM:()=>u,QO:()=>R,Rx:()=>v,Sm:()=>s,_:()=>k,dB:()=>C,gw:()=>b,jE:()=>w,jf:()=>o,no:()=>p,nw:()=>y,pN:()=>N,rR:()=>i,tb:()=>c,xF:()=>g});const n="my-jetpack/v1",c=`${n}/site/purchases`,r=`${n}/site/backup/undo-event`,s=`${n}/site/backup/count-items`,i=`${n}/chat/availability`,l=`${n}/chat/authentication`,o=`${n}/site/products`,u=`${n}/site/products-ownership`,m=`${n}/site/dismiss-welcome-banner`,d=`${n}/site/recommendations/evaluation`,p=`${n}/site/recommendations/evaluation/result`,h=e=>`jetpack/v4/stats-app/sites/${e}/stats/highlights`,g="product",v="product ownership",f="activate product",w="install product",E="available licenses",k="chat availability",y="chat authentication",A="backup history",b="backup stats",j="stats counts",R="dismiss welcome banner",_="purchases",C="evaluate site recommendations",x="save site evaluation result",N="remove site evaluation result",z={ANTI_SPAM:"anti-spam",BACKUP:"backup",BOOST:"boost",CRM:"crm",CREATOR:"creator",EXTRAS:"extras",JETPACK_AI:"jetpack-ai",SCAN:"scan",SEARCH:"search",SOCIAL:"social",SECURITY:"security",PROTECT:"protect",VIDEOPRESS:"videopress",STATS:"stats"}},3804:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(7723),c=a(1609),r=a(6077),s=a(4526),i=a(1504),l=a(929),o=a(8242),u=a(4393),m=a(9812);const __=n.__,d=()=>{const{recordEvent:e}=(0,s.A)(),{isWelcomeBannerVisible:t,showWelcomeBanner:a}=(0,m.A)(),[n,d]=(0,r._)("recommendedModules",(0,o.A$)("recommendedModules").modules),[p,h]=(0,r._)("isFirstRun",(0,o.A$)("recommendedModules").isFirstRun),g=(0,c.useMemo)((()=>{const e=(0,o.A$)("lifecycleStats")?.ownedProducts||[];return n?.filter((t=>!e.includes(t))).slice(0,3)}),[n]),v=(0,c.useMemo)((()=>{const{dismissed:e}=(0,o.A$)("recommendedModules");return!e&&!t&&(0,u.A)()}),[t]),[f,w]=(0,r._)("recommendedModulesVisible",v&&!!g?.length),{mutate:E}=(0,l.A)({name:i.dB,query:{path:i.L6,method:"GET"},errorMessage:__("Failed to evaluate site recommendations","jetpack-my-jetpack")}),{mutate:k}=(0,l.A)({name:i.MD,query:{path:i.no,method:"POST"},errorMessage:__("Failed to save evaluation results. Please try again","jetpack-my-jetpack")}),{mutate:y}=(0,l.A)({name:i.pN,query:{path:i.no,method:"DELETE"},errorMessage:__("Failed to hide evaluation results. Please try again","jetpack-my-jetpack")});return{submitEvaluation:(0,c.useCallback)((e=>new Promise(((t,a)=>{E({queryParams:{goals:e}},{onSuccess:t,onError:a})}))),[E]),saveEvaluationResult:(0,c.useCallback)((e=>new Promise(((t,a)=>{k({data:{recommendations:e}},{onSuccess:e=>{d(e),w(!0),t()},onError:a})}))),[k,w,d]),removeEvaluationResult:(0,c.useCallback)((()=>{y({},{onSuccess:()=>{w(!1),h(!1),e("jetpack_myjetpack_evaluation_recommendations_dismiss_click")}})}),[y,e,h,w]),redoEvaluation:(0,c.useCallback)((()=>{w(!1),h(!1),a(),e("jetpack_myjetpack_evaluation_recommendations_redo_click")}),[e,h,w,a]),recommendedModules:g,isSectionVisible:f,isFirstRun:p}}},2447:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var n=a(7723),c=a(1609),r=a(3537),s=a(6007),i=a(1504);const __=n.__,l=[i.Ck,i.FW,i.jE],o=({infoName:e,isError:t,overrideMessage:a})=>{const{setNotice:i}=(0,c.useContext)(s.g),o=a??(0,n.sprintf)( // translators: %s is the name of the information being fetched, e.g. "site purchases". __("There was an error fetching your %s information. Check your site connectivity and try again.","jetpack-my-jetpack"),e);(0,c.useEffect)((()=>{t&&l.includes(e)&&i({message:o,options:{id:"fetching-error-notice",level:"error",priority:r.PG}})}),[o,i,t,e])}},9935:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(7723),c=a(4526),r=a(1504),s=a(929),i=a(8242),l=a(4923);const __=n.__,o=e=>{const{detail:t,refetch:a}=(0,l.A)(e),{recordEvent:o}=(0,c.A)(),{mutate:u,isPending:m,isSuccess:d}=(0,s.A)({name:r.FW,query:{path:`${r.jf}/${e}`,method:"POST"},options:{onSuccess:()=>{(e=>{const{standalonePluginInfo:t,isPluginActive:a}=e;return t?.hasStandalonePlugin?t?.isStandaloneActive:a})(t)||(o("jetpack_myjetpack_product_activated",{product:e}),(e=>{const{items:t}=(0,i.A$)("products");t[e]?.standalone_plugin_info.has_standalone_plugin&&(window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_active=!0,window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_installed=!0)})(e)),a()}},errorMessage:(0,n.sprintf)( // translators: %$1s: Jetpack Product name diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json b/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json index 07a6911f..94fa22ca 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json @@ -71,7 +71,7 @@ "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" }, "branch-alias": { - "dev-trunk": "4.35.x-dev" + "dev-trunk": "4.36.x-dev" }, "version-constants": { "::PACKAGE_VERSION": "src/class-initializer.php" diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php index fcd373fd..4723ab5b 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php @@ -42,7 +42,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '4.35.17-alpha'; + const PACKAGE_VERSION = '4.36.0-alpha'; /** * HTML container ID for the IDC screen on My Jetpack page. diff --git a/jetpack_vendor/automattic/jetpack-search/composer.json b/jetpack_vendor/automattic/jetpack-search/composer.json index e0d9f70e..c28b67b3 100644 --- a/jetpack_vendor/automattic/jetpack-search/composer.json +++ b/jetpack_vendor/automattic/jetpack-search/composer.json @@ -10,7 +10,7 @@ "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-status": "^4.0.2", "automattic/jetpack-config": "^2.0.4", - "automattic/jetpack-my-jetpack": "^4.35.17-alpha", + "automattic/jetpack-my-jetpack": "^4.36.0-alpha", "automattic/jetpack-sync": "^3.14.3" }, "require-dev": { diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index 84fb57ba..3a9b8e0b 100644 --- a/jetpack_vendor/i18n-map.php +++ b/jetpack_vendor/i18n-map.php @@ -46,7 +46,7 @@ ), 'jetpack-my-jetpack' => array( 'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack', - 'ver' => '4.35.17-alpha1730226216', + 'ver' => '4.36.0-alpha1730233245', ), 'jetpack-password-checker' => array( 'path' => 'jetpack_vendor/automattic/jetpack-password-checker', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 9cdf29db..1188c6c7 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "14a01046d663419cc13bfede50bae065ff6ad374" + "reference": "892837cda83af5646536e0d8c66653fd36d3cbdb" }, "require": { "php": ">=7.0" @@ -60,7 +60,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "1386713c3fc448c8e8058157f02518d7886b6698" + "reference": "ce1f7ecb60304fbeca3dcda362891e774cd3c5b6" }, "require": { "php": ">=7.0" @@ -125,7 +125,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "457cadcd8fac612b9625d99199623147f9803413" + "reference": "d55c529c152c1c5af684e79cae4006c2992cb3e0" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -194,7 +194,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "7b66dffcc08e30d10b99160595f15b39d06cbb01" + "reference": "288530802f75f4682456e1f122a34e6233eb2320" }, "require": { "composer-plugin-api": "^1.1 || ^2.0", @@ -261,7 +261,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "59012b2c0605cc61b37284cd4bd42f8032046af6" + "reference": "1452a14610d2f2debf62b2f71b68f48ad39dfe15" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -329,7 +329,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "cfe76bb97ed738ead57bd8f20a1e8270fcd5e6c3" + "reference": "e29654ed4643448b09bbf98aaf568e007691a198" }, "require": { "automattic/jetpack-boost-core": "^0.2.13", @@ -405,7 +405,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "6e20662157fd9d1d6b66bb442617f0145996e0e0" + "reference": "9009aa03d4f5421d7456a986ce2509595f7810e0" }, "require": { "composer-plugin-api": "^2.1.0", @@ -465,7 +465,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "3b3d1e6b302cab7c98064ed0e308af632de3c537" + "reference": "debc5c91b7c7760b28e0a0326a222044db90c3d8" }, "require": { "php": ">=7.0" @@ -540,7 +540,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "2960de78fcdefee91e144e66e84c63f25baf14e5" + "reference": "9017b6cc02c812f33beeb6f98bea2998e03ffc67" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -630,7 +630,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "05d99fa14cef6fccb8426ecb0cd9cced45164a6d" + "reference": "ad452d37e9f23efd356c279948acd7a496bc350b" }, "require": { "php": ">=7.0" @@ -684,7 +684,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "a51b5ed86285fc2dc108994d2a8247dd15e58463" + "reference": "fe19112f69a8e2e179a2c9373f6cdfc4092b4023" }, "require": { "php": ">=7.0" @@ -737,7 +737,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "440213f9db686e25ed081bc286886539919fbc22" + "reference": "b1c38d886c7cdb4db3f5499154530fac83076cab" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -812,7 +812,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "33f035d2e7a98a181b029ce661f3f210369e629a" + "reference": "b0be510e3088029e7408495e64599163bcdd103c" }, "require": { "php": ">=7.0" @@ -870,7 +870,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "ac204b00f3702a401464beed2d9a9aca31a65ad8" + "reference": "ab8472f761542903da97f2e6387f3ecfdb6f819d" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -945,7 +945,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "3c8de53612b580f535f264a10817d0877117812e" + "reference": "a21d635db3d168e041b7146703b90f4b1c522471" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -1007,7 +1007,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "191ec2db87a982f95f5db25bce1f47f96b4dd64b" + "reference": "d5ae68d5712e06c3b60caa0a662d591215952f74" }, "require": { "php": ">=7.0" @@ -1055,12 +1055,12 @@ }, { "name": "automattic/jetpack-my-jetpack", - "version": "4.35.17-alpha.1730226216", - "version_normalized": "4.35.17.0-alpha1730226216", + "version": "4.36.0-alpha.1730233245", + "version_normalized": "4.36.0.0-alpha1730233245", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "cfa74a5db02714951e1c1b413eb6e8ff91297243" + "reference": "247e88b6dbdba85957e33f63777cfa0684e85194" }, "require": { "automattic/jetpack-admin-ui": "^0.4.5", @@ -1096,7 +1096,7 @@ "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" }, "branch-alias": { - "dev-trunk": "4.35.x-dev" + "dev-trunk": "4.36.x-dev" }, "version-constants": { "::PACKAGE_VERSION": "src/class-initializer.php" @@ -1162,7 +1162,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "9566e42b32a37f8124c79c51303295d33f454b25" + "reference": "48ae62f494b9357a25c2c3fb8fc0f93cf99f5f17" }, "require": { "php": ">=7.0" @@ -1223,7 +1223,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "5676649cd1dc243e0f92bc2efcc0087476bd809f" + "reference": "48f166961af39c46ddaaf9146425786b4f6704d6" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -1291,7 +1291,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "7f268ced4f9f220d9d8400503282fc89359e5745" + "reference": "e2a1def0d8373745e001c54b97bb2e8734bd0a3f" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -1347,7 +1347,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-models", - "reference": "626cc74626ee373f740363243561e61130577448" + "reference": "adb490b911ea819e1231f1cfc2197627ba3dbc98" }, "require": { "php": ">=7.0" @@ -1417,7 +1417,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "4e7e61381b020ebb70e42b6f77372defc346dab5" + "reference": "4d05a1a63530afe99a4279b79da13d008d9c7a88" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -1492,7 +1492,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "a6c736b75705dc884510962fcd6c234fe27e7399" + "reference": "5b13ce49a75c2d0418f11c476c785498b83cd536" }, "require": { "automattic/jetpack-status": "^4.0.2", @@ -1547,7 +1547,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "8e6fd0309f32a12840af5d03ee0e41c8b43bcd56" + "reference": "1defdaaec0b92eb25477a4a234f6e60836c51ff7" }, "require": { "php": ">=7.0" @@ -1601,14 +1601,14 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "390bdf5df9f88e7b6738b4fe953cc3f102c223b1" + "reference": "6e7f5b94faae9e77a34581a4b6ec92ea028ff805" }, "require": { "automattic/jetpack-assets": "^2.3.12", "automattic/jetpack-config": "^2.0.4", "automattic/jetpack-connection": "^5.1.5", "automattic/jetpack-constants": "^2.0.4", - "automattic/jetpack-my-jetpack": "^4.35.17-alpha", + "automattic/jetpack-my-jetpack": "^4.36.0-alpha", "automattic/jetpack-status": "^4.0.2", "automattic/jetpack-sync": "^3.14.3", "php": ">=7.0" @@ -1689,7 +1689,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "96e3499968e397811804816f35c319fabedcad9c" + "reference": "6bbf00bc13cce186c9dd53f3cc0bc5c384f16858" }, "require": { "automattic/jetpack-connection": "^5.1.5", @@ -1756,7 +1756,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "1d4e629684ca82437fad7cd1affb2680e36a8b2e" + "reference": "44b67b52f0988f35e5565a01cbc6dc9b3e1c913e" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1820,7 +1820,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "70b8d54334c2880c20df132a7030c6a59bf9bf9c" + "reference": "3f748921b6c2bdd8d868212e76a7c2d7a908e191" }, "require": { "automattic/jetpack-connection": "^5.1.5", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index db63dc1d..4ec35956 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '14a01046d663419cc13bfede50bae065ff6ad374', + 'reference' => '892837cda83af5646536e0d8c66653fd36d3cbdb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.4.5', 'version' => '0.4.5.0', - 'reference' => '1386713c3fc448c8e8058157f02518d7886b6698', + 'reference' => 'ce1f7ecb60304fbeca3dcda362891e774cd3c5b6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '2.3.12', 'version' => '2.3.12.0', - 'reference' => '457cadcd8fac612b9625d99199623147f9803413', + 'reference' => 'd55c529c152c1c5af684e79cae4006c2992cb3e0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '3.1.2', 'version' => '3.1.2.0', - 'reference' => '7b66dffcc08e30d10b99160595f15b39d06cbb01', + 'reference' => '288530802f75f4682456e1f122a34e6233eb2320', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.2.13', 'version' => '0.2.13.0', - 'reference' => '59012b2c0605cc61b37284cd4bd42f8032046af6', + 'reference' => '1452a14610d2f2debf62b2f71b68f48ad39dfe15', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-core', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-boost-speed-score' => array( 'pretty_version' => '0.3.13', 'version' => '0.3.13.0', - 'reference' => 'cfe76bb97ed738ead57bd8f20a1e8270fcd5e6c3', + 'reference' => 'e29654ed4643448b09bbf98aaf568e007691a198', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-speed-score', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '6e20662157fd9d1d6b66bb442617f0145996e0e0', + 'reference' => '9009aa03d4f5421d7456a986ce2509595f7810e0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '3b3d1e6b302cab7c98064ed0e308af632de3c537', + 'reference' => 'debc5c91b7c7760b28e0a0326a222044db90c3d8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '5.1.5', 'version' => '5.1.5.0', - 'reference' => '2960de78fcdefee91e144e66e84c63f25baf14e5', + 'reference' => '9017b6cc02c812f33beeb6f98bea2998e03ffc67', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '05d99fa14cef6fccb8426ecb0cd9cced45164a6d', + 'reference' => 'ad452d37e9f23efd356c279948acd7a496bc350b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '2.1.5', 'version' => '2.1.5.0', - 'reference' => 'a51b5ed86285fc2dc108994d2a8247dd15e58463', + 'reference' => 'fe19112f69a8e2e179a2c9373f6cdfc4092b4023', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-explat' => array( 'pretty_version' => '0.1.13', 'version' => '0.1.13.0', - 'reference' => '440213f9db686e25ed081bc286886539919fbc22', + 'reference' => 'b1c38d886c7cdb4db3f5499154530fac83076cab', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-explat', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '33f035d2e7a98a181b029ce661f3f210369e629a', + 'reference' => 'b0be510e3088029e7408495e64599163bcdd103c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '3.1.27', 'version' => '3.1.27.0', - 'reference' => 'ac204b00f3702a401464beed2d9a9aca31a65ad8', + 'reference' => 'ab8472f761542903da97f2e6387f3ecfdb6f819d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '2.0.11', 'version' => '2.0.11.0', - 'reference' => '3c8de53612b580f535f264a10817d0877117812e', + 'reference' => 'a21d635db3d168e041b7146703b90f4b1c522471', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -148,16 +148,16 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '191ec2db87a982f95f5db25bce1f47f96b4dd64b', + 'reference' => 'd5ae68d5712e06c3b60caa0a662d591215952f74', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-my-jetpack' => array( - 'pretty_version' => '4.35.17-alpha.1730226216', - 'version' => '4.35.17.0-alpha1730226216', - 'reference' => 'cfa74a5db02714951e1c1b413eb6e8ff91297243', + 'pretty_version' => '4.36.0-alpha.1730233245', + 'version' => '4.36.0.0-alpha1730233245', + 'reference' => '247e88b6dbdba85957e33f63777cfa0684e85194', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -166,7 +166,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => '9566e42b32a37f8124c79c51303295d33f454b25', + 'reference' => '48ae62f494b9357a25c2c3fb8fc0f93cf99f5f17', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.4.12', 'version' => '0.4.12.0', - 'reference' => '5676649cd1dc243e0f92bc2efcc0087476bd809f', + 'reference' => '48f166961af39c46ddaaf9146425786b4f6704d6', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.4.3', 'version' => '0.4.3.0', - 'reference' => '7f268ced4f9f220d9d8400503282fc89359e5745', + 'reference' => 'e2a1def0d8373745e001c54b97bb2e8734bd0a3f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-protect-models' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '626cc74626ee373f740363243561e61130577448', + 'reference' => 'adb490b911ea819e1231f1cfc2197627ba3dbc98', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-models', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-protect-status' => array( 'pretty_version' => '0.2.1', 'version' => '0.2.1.0', - 'reference' => '4e7e61381b020ebb70e42b6f77372defc346dab5', + 'reference' => '4d05a1a63530afe99a4279b79da13d008d9c7a88', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-status', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => 'a6c736b75705dc884510962fcd6c234fe27e7399', + 'reference' => '5b13ce49a75c2d0418f11c476c785498b83cd536', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '8e6fd0309f32a12840af5d03ee0e41c8b43bcd56', + 'reference' => '1defdaaec0b92eb25477a4a234f6e60836c51ff7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-search' => array( 'pretty_version' => '0.45.11', 'version' => '0.45.11.0', - 'reference' => '390bdf5df9f88e7b6738b4fe953cc3f102c223b1', + 'reference' => '6e7f5b94faae9e77a34581a4b6ec92ea028ff805', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.13.4', 'version' => '0.13.4.0', - 'reference' => '96e3499968e397811804816f35c319fabedcad9c', + 'reference' => '6bbf00bc13cce186c9dd53f3cc0bc5c384f16858', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -256,7 +256,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '1d4e629684ca82437fad7cd1affb2680e36a8b2e', + 'reference' => '44b67b52f0988f35e5565a01cbc6dc9b3e1c913e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -265,7 +265,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '3.14.3', 'version' => '3.14.3.0', - 'reference' => '70b8d54334c2880c20df132a7030c6a59bf9bf9c', + 'reference' => '3f748921b6c2bdd8d868212e76a7c2d7a908e191', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(), diff --git a/vendor/composer/jetpack_autoload_classmap.php b/vendor/composer/jetpack_autoload_classmap.php index 84488502..1d0a8089 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -339,123 +339,123 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Activitylog' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-activitylog.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Jetpack_Manage' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-jetpack-manage.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Product' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Creator' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-creator.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Jetpack_Ai' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Starter' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Stats' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_AI' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Product_Data' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Recommendations_Evaluation' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-recommendations-evaluation.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Zendesk_Chat' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array( - 'version' => '4.35.17.0-alpha1730226216', + 'version' => '4.36.0.0-alpha1730233245', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php' ), 'Automattic\\Jetpack\\Partner' => array(