From 13381ed8a25ee2c45925fb9375c2ce893c287448 Mon Sep 17 00:00:00 2001 From: dhasilva Date: Mon, 20 Nov 2023 15:31:30 +0000 Subject: [PATCH] My Jetpack: Add Jetpack AI prices by tier to the interstitial page (#34196) * enable prices for quantity-based products on interstitial pages * get price depending on usage tier * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6932098518 --- .../jetpack-my-jetpack/CHANGELOG.md | 1 + .../jetpack-my-jetpack/build/index.asset.php | 2 +- .../jetpack-my-jetpack/build/index.js | 2 +- .../src/products/class-jetpack-ai.php | 58 +++++++++++++++++-- jetpack_vendor/i18n-map.php | 2 +- vendor/composer/installed.json | 52 ++++++++--------- vendor/composer/installed.php | 52 ++++++++--------- vendor/composer/jetpack_autoload_classmap.php | 54 ++++++++--------- 8 files changed, 137 insertions(+), 86 deletions(-) diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md index bdeff305e..f218e440d 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md @@ -12,6 +12,7 @@ This is an alpha version! The changes listed here are not final. ### Added - Display an "Activity Log" menu item to connected users. - My Jetpack: Add direct checkout support for products with quantity-based plans +- My Jetpack: Add Jetpack AI prices by tier to the interstitial page ### Changed - General: updated PHP requirement to PHP 7.0+ 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 88a73e179..b11f9c164 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('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '94ee643face0fb7415fd'); + array('react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd9c9430a7515ca0066f6'); diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js index 81b9abd2a..964218f64 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js @@ -24,7 +24,7 @@ _n("%s hour ago","%s hours ago",a,"jetpack-my-jetpack"),a):n>0?(0,r.sprintf)( _n("%s minute ago","%s minutes ago",n,"jetpack-my-jetpack"),n):(0,r.sprintf)( // translators: %s is the number of seconds since the last backup _n("%s second ago","%s seconds ago",c,"jetpack-my-jetpack"),c)}})(f))):null,additionalActions:y?[C]:null},d?React.createElement(k,{lastUndoableEvent:u}):React.createElement(E,{siteData:m}))};y.propTypes={admin:m().bool.isRequired,productData:m().object,fetchingProductData:m().bool.isRequired},E.propTypes={productData:m().object};const b=y},4074:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"boost"});i.propTypes={admin:c().bool.isRequired};const o=i},8112:(e,t,a)=>{"use strict";a.d(t,{G:()=>f,X:()=>w});var n=a(2947),c=a(5106),l=a(2636),r=a(5736),s=a(986),i=a(9404),o=a(1074),d=a(5235),m=a.n(d),u=a(5162),p=a.n(u),h=a(9196),g=a.n(h),v=a(523);const __=r.__,w=({change:e,changePercentage:t})=>{if(!Number.isFinite(e))return null;const a=e>0?s.Z:i.Z,l=(0,n.Z)(Math.abs(e),{notation:"compact",compactDisplay:"short"});return g().createElement("div",{className:m()(v.Z["contextual-percentage-change"],{[v.Z.neutral]:0===e,[v.Z.positive]:e>0,[v.Z.negative]:e<0})},!!e&&g().createElement(o.Z,{icon:a,size:14,className:v.Z["change-icon"]}),g().createElement(c.ZP,{className:v.Z["change-values"]},(0,r.sprintf)(/* translators: both placeholders are numbers */ -__("%1$s (%2$s%%)","jetpack-my-jetpack"),l,t)))};w.propTypes={change:p().number,changePercentage:p().number};const f=({description:e,value:t,context:a,loading:n})=>n?g().createElement("div",{className:v.Z["single-contextual-info-placeholder"]},g().createElement(l.Z,{height:24}),g().createElement(l.Z,{height:36})):g().createElement(g().Fragment,null,g().createElement(c.ZP,null,e),g().createElement("div",{className:v.Z["single-contextual-info"]},g().createElement(c.ZP,{className:v.Z["main-value"]},t),a));f.propTypes={description:p().string.isRequired,value:p().string,context:p().node,loading:p().bool}},5996:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"crm"});i.propTypes={admin:c().bool.isRequired};const o=i},5943:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(3363),c=a(3846),l=a(9196),r=a.n(l),s=a(5431),i=a(8777),o=a(1640),d=a(7427),m=a(4074),u=a(5996),p=a(5440),h=a(687),g=a(419),v=a(6217),w=a(523),f=a(9894);const{showJetpackStatsCard:E=!1}=window.myJetpackInitialState?.myJetpackFlags??{},k=()=>{const{productData:e,fetchingProductData:t}=(0,s.Z)(),a={backups:d.Z,scan:p.Z,antispam:o.Z,boost:m.Z,search:h.Z,videopress:f.Z,stats:E?v.Z:null,crm:u.Z,social:g.Z,ai:i.Z};return r().createElement(n.Z,{className:w.Z.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},Object.entries(a).map((([a,n])=>n?r().createElement(c.Z,{tagName:"li",sm:4,md:4,lg:4,key:a},r().createElement(n,{admin:!!window?.myJetpackInitialState?.userIsAdmin,productData:e[a],fetchingProductData:t})):null)))}},5440:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(9818),c=a(5162),l=a.n(c),r=a(9196),s=a.n(r),i=a(7493),o=a(5745);const d=({admin:e})=>{const t=(0,n.useSelect)((e=>e(i.t).hasStandalonePluginInstalled()));return s().createElement(o.Z,{admin:e,slug:t?"protect":"scan"})};d.propTypes={admin:l().bool.isRequired};const m=d},687:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"search",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},419:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"social",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},6217:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"stats",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},9894:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2947),c=a(5736),l=a(5162),r=a.n(l),s=a(9196),i=a.n(s),o=a(3703),d=a(5745),m=a(8112);const __=c.__,u=({admin:e})=>{const{videoPressStats:t=!1}=window.myJetpackInitialState?.myJetpackFlags??{},{loading:a,hasError:c,change:l,currentFormatted:r,changePercentage:s}=(()=>{const{stats:e}=(0,o.i)("videopress"),t=void 0===e,a=null===e,c=e?.data?.views??{},{previous:l=null,current:r=null}=c,s=null!==r?(0,n.Z)(r,{notation:"compact",compactDisplay:"short"}):null,i=null!==r&&null!==l?r-l:null;let d=null;return null!==i&&(d=0===i?0:0===l?100:Math.round(i/l*100)),{loading:t,hasError:a,currentFormatted:s,change:i,changePercentage:d}})();if(!t||c)return i().createElement(d.Z,{admin:e,slug:"videopress",showMenu:!0});const u=__("Views, last 7 days","jetpack-my-jetpack");return i().createElement(d.Z,{admin:e,slug:"videopress",showMenu:!0},i().createElement(m.G,{loading:a,description:u,value:r,context:i().createElement(m.X,{change:l,changePercentage:s})}))};u.propTypes={admin:r().bool.isRequired};const p=u},2667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5609),c=a(5162),l=a.n(c),r=a(9196),s=a.n(r);const i=({children:e,className:t,href:a,isLoading:c,onClick:l,isPrimary:r,disabled:i})=>s().createElement(n.Button,{onClick:l,className:t,href:a,variant:r?"primary":"secondary",disabled:c||i},c?s().createElement(n.Spinner,null):e);i.propTypes={className:l().string,isLoading:l().bool,isPrimary:l().bool,disabled:l().bool},i.defaultProps={isLoading:!1,isPrimary:!0,disabled:!1};const o=i},968:(e,t,a)=>{"use strict";a.d(t,{Z:()=>j});var n=a(8899),c=a(5106),l=a(3396),r=a(4972),s=a(7325),i=a(8258),o=a(5609),d=a(5736),m=a(1074),u=a(1908),p=a(9201),h=a(5235),g=a.n(h),v=a(9196),w=a.n(v),f=a(2199),E=a(3703),k=a(2667),y=a(8429);const __=d.__;function b({value:e,currency:t,isOld:a}){if(!e||!t)return null;const l=(0,n.LR)(e,t),r=g()(y.Z.price,{[y.Z["is-old"]]:a});return w().createElement(c.ZP,{className:r,variant:"headline-medium",component:"p"},w().createElement(c.ZP,{component:"sup",variant:"title-medium"},l.symbol),l.integer,w().createElement(c.ZP,{component:"sup",variant:"title-medium"},l.fraction))}const C=({slug:e,onClick:t,trackButtonClick:a,className:n,preferProductName:h,supportingInfo:C,ctaButtonLabel:j=null,hideTOS:z=!1,quantity:_=null})=>{const{fileSystemWriteAccess:N,siteSuffix:x,adminUrl:Z,myJetpackUrl:S}=window?.myJetpackInitialState??{},{detail:M,isFetching:P}=(0,E.i)(e),{name:R,title:L,longDescription:V,features:H,disclaimers:A,pricingForUi:B,isBundle:I,supportedProducts:O,hasRequiredPlan:T,status:F,pluginSlug:U,postCheckoutUrl:D}=M,J="plugin_absent"===F&&"no"===N,{isFree:q,trialAvailable:G,fullPricePerMonth:W,currencyCode:$,discountPricePerMonth:K,wpcomProductSlug:Q,wpcomFreeProductSlug:Y,introductoryOffer:X,productTerm:ee}=B,{recordEvent:te}=(0,f.Z)(),ae=!q&&!T,ne=D||S,{run:ce,hasCheckoutStarted:le}=(0,i.Z)({productSlug:Q,redirectUrl:ne,siteSuffix:x,adminUrl:Z,connectAfterCheckout:!0,from:"my-jetpack",quantity:_}),{run:re,hasCheckoutStarted:se}=(0,i.Z)({productSlug:Y,redirectUrl:S,siteSuffix:x,from:"my-jetpack",quantity:_}),ie=I?O.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return w().createElement(m.Z,{className:y.Z["plus-icon"],key:`icon-plugs${t}`,icon:u.Z,size:14});const a=(0,l.VS)(e);return w().createElement(a,{key:e,size:24})})):null;let oe;oe="month"===X?.intervalUnit&&1===X?.intervalCount?(0,d.sprintf)( +__("%1$s (%2$s%%)","jetpack-my-jetpack"),l,t)))};w.propTypes={change:p().number,changePercentage:p().number};const f=({description:e,value:t,context:a,loading:n})=>n?g().createElement("div",{className:v.Z["single-contextual-info-placeholder"]},g().createElement(l.Z,{height:24}),g().createElement(l.Z,{height:36})):g().createElement(g().Fragment,null,g().createElement(c.ZP,null,e),g().createElement("div",{className:v.Z["single-contextual-info"]},g().createElement(c.ZP,{className:v.Z["main-value"]},t),a));f.propTypes={description:p().string.isRequired,value:p().string,context:p().node,loading:p().bool}},5996:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"crm"});i.propTypes={admin:c().bool.isRequired};const o=i},5943:(e,t,a)=>{"use strict";a.d(t,{Z:()=>k});var n=a(3363),c=a(3846),l=a(9196),r=a.n(l),s=a(5431),i=a(8777),o=a(1640),d=a(7427),m=a(4074),u=a(5996),p=a(5440),h=a(687),g=a(419),v=a(6217),w=a(523),f=a(9894);const{showJetpackStatsCard:E=!1}=window.myJetpackInitialState?.myJetpackFlags??{},k=()=>{const{productData:e,fetchingProductData:t}=(0,s.Z)(),a={backups:d.Z,scan:p.Z,antispam:o.Z,boost:m.Z,search:h.Z,videopress:f.Z,stats:E?v.Z:null,crm:u.Z,social:g.Z,ai:i.Z};return r().createElement(n.Z,{className:w.Z.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},Object.entries(a).map((([a,n])=>n?r().createElement(c.Z,{tagName:"li",sm:4,md:4,lg:4,key:a},r().createElement(n,{admin:!!window?.myJetpackInitialState?.userIsAdmin,productData:e[a],fetchingProductData:t})):null)))}},5440:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(9818),c=a(5162),l=a.n(c),r=a(9196),s=a.n(r),i=a(7493),o=a(5745);const d=({admin:e})=>{const t=(0,n.useSelect)((e=>e(i.t).hasStandalonePluginInstalled()));return s().createElement(o.Z,{admin:e,slug:t?"protect":"scan"})};d.propTypes={admin:l().bool.isRequired};const m=d},687:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"search",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},419:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"social",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},6217:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5162),c=a.n(n),l=a(9196),r=a.n(l),s=a(5745);const i=({admin:e})=>r().createElement(s.Z,{admin:e,slug:"stats",showMenu:!0});i.propTypes={admin:c().bool.isRequired};const o=i},9894:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(2947),c=a(5736),l=a(5162),r=a.n(l),s=a(9196),i=a.n(s),o=a(3703),d=a(5745),m=a(8112);const __=c.__,u=({admin:e})=>{const{videoPressStats:t=!1}=window.myJetpackInitialState?.myJetpackFlags??{},{loading:a,hasError:c,change:l,currentFormatted:r,changePercentage:s}=(()=>{const{stats:e}=(0,o.i)("videopress"),t=void 0===e,a=null===e,c=e?.data?.views??{},{previous:l=null,current:r=null}=c,s=null!==r?(0,n.Z)(r,{notation:"compact",compactDisplay:"short"}):null,i=null!==r&&null!==l?r-l:null;let d=null;return null!==i&&(d=0===i?0:0===l?100:Math.round(i/l*100)),{loading:t,hasError:a,currentFormatted:s,change:i,changePercentage:d}})();if(!t||c)return i().createElement(d.Z,{admin:e,slug:"videopress",showMenu:!0});const u=__("Views, last 7 days","jetpack-my-jetpack");return i().createElement(d.Z,{admin:e,slug:"videopress",showMenu:!0},i().createElement(m.G,{loading:a,description:u,value:r,context:i().createElement(m.X,{change:l,changePercentage:s})}))};u.propTypes={admin:r().bool.isRequired};const p=u},2667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(5609),c=a(5162),l=a.n(c),r=a(9196),s=a.n(r);const i=({children:e,className:t,href:a,isLoading:c,onClick:l,isPrimary:r,disabled:i})=>s().createElement(n.Button,{onClick:l,className:t,href:a,variant:r?"primary":"secondary",disabled:c||i},c?s().createElement(n.Spinner,null):e);i.propTypes={className:l().string,isLoading:l().bool,isPrimary:l().bool,disabled:l().bool},i.defaultProps={isLoading:!1,isPrimary:!0,disabled:!1};const o=i},968:(e,t,a)=>{"use strict";a.d(t,{Z:()=>j});var n=a(8899),c=a(5106),l=a(3396),r=a(4972),s=a(7325),i=a(8258),o=a(5609),d=a(5736),m=a(1074),u=a(1908),p=a(9201),h=a(5235),g=a.n(h),v=a(9196),w=a.n(v),f=a(2199),E=a(3703),k=a(2667),y=a(8429);const __=d.__;function b({value:e,currency:t,isOld:a}){if(!e||!t)return null;const l=(0,n.LR)(e,t),r=g()(y.Z.price,{[y.Z["is-old"]]:a});return w().createElement(c.ZP,{className:r,variant:"headline-medium",component:"p"},w().createElement(c.ZP,{component:"sup",variant:"title-medium"},l.symbol),l.integer,w().createElement(c.ZP,{component:"sup",variant:"title-medium"},l.fraction))}const C=({slug:e,onClick:t,trackButtonClick:a,className:n,preferProductName:h,supportingInfo:C,ctaButtonLabel:j=null,hideTOS:z=!1,quantity:_=null})=>{const{fileSystemWriteAccess:N,siteSuffix:x,adminUrl:Z,myJetpackUrl:S}=window?.myJetpackInitialState??{},{detail:M,isFetching:P}=(0,E.i)(e),{name:R,title:L,longDescription:V,features:H,disclaimers:A,pricingForUi:B,isBundle:I,supportedProducts:O,hasRequiredPlan:T,status:F,pluginSlug:U,postCheckoutUrl:D}=M,J="plugin_absent"===F&&"no"===N,{isFree:q,trialAvailable:G,fullPricePerMonth:W,currencyCode:$,discountPricePerMonth:K,wpcomProductSlug:Q,wpcomFreeProductSlug:Y,introductoryOffer:X,productTerm:ee}=B,{recordEvent:te}=(0,f.Z)(),ae=!q&&!T||null!=_,ne=D||S,{run:ce,hasCheckoutStarted:le}=(0,i.Z)({productSlug:Q,redirectUrl:ne,siteSuffix:x,adminUrl:Z,connectAfterCheckout:!0,from:"my-jetpack",quantity:_}),{run:re,hasCheckoutStarted:se}=(0,i.Z)({productSlug:Y,redirectUrl:S,siteSuffix:x,from:"my-jetpack",quantity:_}),ie=I?O.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return w().createElement(m.Z,{className:y.Z["plus-icon"],key:`icon-plugs${t}`,icon:u.Z,size:14});const a=(0,l.VS)(e);return w().createElement(a,{key:e,size:24})})):null;let oe;oe="month"===X?.intervalUnit&&1===X?.intervalCount?(0,d.sprintf)( // translators: %s is the monthly price for a product __("trial for the first month, then $%s /month, billed yearly","jetpack-my-jetpack"),W):"year"===ee?__("/month, paid yearly","jetpack-my-jetpack"):__("/month","jetpack-my-jetpack",0);const de=(0,v.useCallback)((()=>{a(),t?.(ce,M)}),[t,a,ce,M]),me=(0,v.useCallback)((()=>{a(Y),t?.(re)}),[t,a,re,Y]),ue=(0,v.useCallback)((t=>{te("jetpack_myjetpack_product_card_disclaimer_click",{id:t,product:e})}),[e,te]);function pe({slug:e}){const t=(0,l.VS)(e);return t?w().createElement("div",{className:y.Z["product-icon"]},w().createElement(t,null)):null}const he=(!I||I&&!T)&&G,ge=R&&h?R:L,ve=!I&&T?(0,d.sprintf)(/* translators: placeholder is product name. */ __("Install %s","jetpack-my-jetpack"),ge):(0,d.sprintf)(/* translators: placeholder is product name. */ diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php b/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php index 4d89f4e83..ef3d98c69 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php @@ -113,7 +113,7 @@ public static function get_description() { } /** - * Get the internationalized usage tier long description + * Get the internationalized usage tier long description by tier * * @param int $tier The usage tier. * @return string @@ -141,7 +141,7 @@ public static function get_long_description() { } /** - * Get the internationalized usage tier features + * Get the internationalized usage tier features by tier * * @param int $tier The usage tier. * @return string @@ -187,17 +187,67 @@ public static function get_features() { } /** - * Get the product princing details + * Get the product pricing details by tier + * + * @param int $tier The usage tier. + * @return array Pricing details + */ + public static function get_pricing_for_ui_by_usage_tier( $tier ) { + $product = Wpcom_Products::get_product( static::get_wpcom_product_slug() ); + $base_pricing = Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() ); + + if ( empty( $product ) ) { + return array(); + } + + if ( empty( $product->price_tier_list ) ) { + return $base_pricing; + } + + $price_tier_list = $product->price_tier_list; + $yearly_prices = array(); + + foreach ( $price_tier_list as $price_tier ) { + if ( isset( $price_tier->maximum_units ) && isset( $price_tier->maximum_price ) ) { + // The prices are in cents + $yearly_prices[ $price_tier->maximum_units ] = $price_tier->maximum_price / 100; + } + } + + $tiers = array( 100, 200, 500 ); + $prices = array( 1 => $base_pricing ); + + foreach ( $tiers as $tier_value ) { + if ( isset( $yearly_prices[ $tier_value ] ) ) { + $prices[ $tier_value ] = array_merge( + $base_pricing, + array( + 'full_price' => $yearly_prices[ $tier_value ], + 'discount_price' => $yearly_prices[ $tier_value ], + 'is_introductory_offer' => false, + 'introductory_offer' => null, + ) + ); + } + } + + return isset( $prices[ $tier ] ) ? $prices[ $tier ] : array(); + } + + /** + * Get the product pricing details * * @return array Pricing details */ public static function get_pricing_for_ui() { + $next_tier = self::get_next_usage_tier(); + return array_merge( array( 'available' => true, 'wpcom_product_slug' => static::get_wpcom_product_slug(), ), - Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() ) + self::get_pricing_for_ui_by_usage_tier( $next_tier ) ); } diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index fe1d02e13..3ace452f7 100644 --- a/jetpack_vendor/i18n-map.php +++ b/jetpack_vendor/i18n-map.php @@ -38,7 +38,7 @@ ), 'jetpack-my-jetpack' => array( 'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack', - 'ver' => '4.0.0-alpha1700485793', + 'ver' => '4.0.0-alpha1700493412', ), 'jetpack-password-checker' => array( 'path' => 'jetpack_vendor/automattic/jetpack-password-checker', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 851424c89..8a77945fe 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": "7cbe921c520659838b43e8a700889d28c75d2acd" + "reference": "08c7c460e0a102f071f48035501467f230ad084e" }, "require": { "php": ">=7.0" @@ -60,7 +60,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "f83690a0a6f403efee425d42eda3e86e38230f7d" + "reference": "6128ce00375922c1d60236b99c58feb00b9b59f1" }, "require": { "php": ">=7.0" @@ -125,7 +125,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "913cfa6b0b2d79a421ffb9cb63aed81fea904313" + "reference": "ebdd3a85677d4a385ab6a7fbc2d3d55cf2d070ed" }, "require": { "automattic/jetpack-constants": "^2.0.0-alpha", @@ -194,7 +194,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "9dd709ffca68d5c9a8e702df87ab0bf905c624ee" + "reference": "e5329536360cf10c325bfc0c094f316efb87fa72" }, "require": { "composer-plugin-api": "^1.1 || ^2.0", @@ -260,7 +260,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "19e174b08ff8610d6e0a1d10c8e032b29b1b012d" + "reference": "a8bb49e5e73317c4fa12a6fed382dc18b7fd8b64" }, "require": { "composer-plugin-api": "^2.1.0", @@ -320,7 +320,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "1978b45fa8e59daed246e09bb40b97b1cf1fd934" + "reference": "46f917d78c3a19c71a814eda60eedcee031812cd" }, "require": { "php": ">=7.0" @@ -365,7 +365,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "495becc937fe5a41686d6bcd0b2880774aefac19" + "reference": "b940c173d2b78df58f552614de99b82f732e957f" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.0-alpha", @@ -444,7 +444,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "97d8c74c0fed5ae298be8484a04c657a787f3858" + "reference": "40e734d0da876ca5e57349da9acd74f1a604adda" }, "require": { "php": ">=7.0" @@ -498,7 +498,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "c6f139c39679f3ad2b00c6ffa85f18ac84bd33e3" + "reference": "1e53eee175620deac2864a7f87ebb77c9ada1507" }, "require": { "php": ">=7.0" @@ -551,7 +551,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-identity-crisis", - "reference": "914b2641faaa3f8744cde15d05b3cfe560f680d9" + "reference": "3054c6d1fa63ccda732d84f19436d1cba83f438a" }, "require": { "automattic/jetpack-assets": "^2.0.0-alpha", @@ -630,7 +630,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "dc8aa24acf165303abd7c07943ed8785a5e0876e" + "reference": "4becf11ac3b2461399071322922da10bd6e86bab" }, "require": { "php": ">=7.0" @@ -688,7 +688,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "6adad28d8ee4f8e436ea50304a2978cee72cd5bf" + "reference": "e84b47d6e61f979c6e20dd759a48a71b85074aac" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.0-alpha", @@ -763,7 +763,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "0e18611b177aaef60456143bb588aeaf97295665" + "reference": "6fe6a81edcd52815691a9b0a861c32d1454d74b8" }, "require": { "automattic/jetpack-connection": "^2.0.0-alpha", @@ -825,7 +825,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "b307eac903e2da86db01efe6b1319feb38edbf77" + "reference": "8d5cecfc34fd2e1f87ae229d37f24865c253a9f9" }, "require": { "php": ">=7.0" @@ -873,12 +873,12 @@ }, { "name": "automattic/jetpack-my-jetpack", - "version": "4.0.0-alpha.1700485793", - "version_normalized": "4.0.0.0-alpha1700485793", + "version": "4.0.0-alpha.1700493412", + "version_normalized": "4.0.0.0-alpha1700493412", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "ac10e3c8c15d00857abe009b9da14704b050bcc1" + "reference": "806f1a35e5c51bf98f85e14e40d53472fa6ca16c" }, "require": { "automattic/jetpack-admin-ui": "^0.3.0-alpha", @@ -970,7 +970,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "907d113a1df5c3b26ad59d00113e1a749084340d" + "reference": "ac5ca7f045ac6599fa393d53422af54809660fc6" }, "require": { "php": ">=7.0" @@ -1031,7 +1031,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "28f09f4269a5c43aee527c07e9db8e052ee84d9c" + "reference": "8fef584795d788b5503ed380d25229864a5504cc" }, "require": { "automattic/jetpack-connection": "^2.0.0-alpha", @@ -1099,7 +1099,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "00a09052ab45011699f43765d2d17a4067be7707" + "reference": "7cfb186fdc115150e6a0c0676ef9109bbe74e916" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.0-alpha", @@ -1154,7 +1154,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "dcb5f955ecfda3b87b39dd6a247a48b45a9d605f" + "reference": "118c39f8ccea90030c4b4da8181f564d3c4c7d6c" }, "require": { "automattic/jetpack-status": "^2.0.0-alpha", @@ -1209,7 +1209,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "0d161e2cb5305e839d8d070e23adb511aebe32cd" + "reference": "c97e68c2931a800fa12a4eaa6f76f4c4212ebb13" }, "require": { "php": ">=7.0" @@ -1263,7 +1263,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "21388cc81b8ab4bd8a144dc7373abe8d86c59bd2" + "reference": "7b149cc5c218e948e8400718ececdd57334c873d" }, "require": { "automattic/jetpack-assets": "^2.0.0-alpha", @@ -1350,7 +1350,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "6192b99d267892c8f29764b5519a2d84069ba920" + "reference": "73aaa30a5acf3c9d3d0db2b912a5d1ec419ad806" }, "require": { "automattic/jetpack-assets": "^2.0.0-alpha", @@ -1415,7 +1415,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "0994701a07ab3f946c9a3ab766131a1ed16f325f" + "reference": "561c32aee51f00adef1fd1cdfb8ebc2ef9928459" }, "require": { "automattic/jetpack-constants": "^2.0.0-alpha", @@ -1471,7 +1471,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "d36839cf028554d42447eaeaac149a4cf2f2605c" + "reference": "99e2d54efc1363d4b500a3420c388ef8ec2cb0b8" }, "require": { "automattic/jetpack-connection": "^2.0.0-alpha", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 890b83d9b..1c1ea68a1 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.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '7cbe921c520659838b43e8a700889d28c75d2acd', + 'reference' => '08c7c460e0a102f071f48035501467f230ad084e', '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.3.0-alpha.1700485793', 'version' => '0.3.0.0-alpha1700485793', - 'reference' => 'f83690a0a6f403efee425d42eda3e86e38230f7d', + 'reference' => '6128ce00375922c1d60236b99c58feb00b9b59f1', '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.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '913cfa6b0b2d79a421ffb9cb63aed81fea904313', + 'reference' => 'ebdd3a85677d4a385ab6a7fbc2d3d55cf2d070ed', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '3.0.0-alpha.1700485793', 'version' => '3.0.0.0-alpha1700485793', - 'reference' => '9dd709ffca68d5c9a8e702df87ab0bf905c624ee', + 'reference' => 'e5329536360cf10c325bfc0c094f316efb87fa72', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '19e174b08ff8610d6e0a1d10c8e032b29b1b012d', + 'reference' => 'a8bb49e5e73317c4fa12a6fed382dc18b7fd8b64', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '1978b45fa8e59daed246e09bb40b97b1cf1fd934', + 'reference' => '46f917d78c3a19c71a814eda60eedcee031812cd', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '495becc937fe5a41686d6bcd0b2880774aefac19', + 'reference' => 'b940c173d2b78df58f552614de99b82f732e957f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '97d8c74c0fed5ae298be8484a04c657a787f3858', + 'reference' => '40e734d0da876ca5e57349da9acd74f1a604adda', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => 'c6f139c39679f3ad2b00c6ffa85f18ac84bd33e3', + 'reference' => '1e53eee175620deac2864a7f87ebb77c9ada1507', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-identity-crisis' => array( 'pretty_version' => '0.12.0-alpha.1700485793', 'version' => '0.12.0.0-alpha1700485793', - 'reference' => '914b2641faaa3f8744cde15d05b3cfe560f680d9', + 'reference' => '3054c6d1fa63ccda732d84f19436d1cba83f438a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-identity-crisis', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.2.0-alpha.1700485793', 'version' => '0.2.0.0-alpha1700485793', - 'reference' => 'dc8aa24acf165303abd7c07943ed8785a5e0876e', + 'reference' => '4becf11ac3b2461399071322922da10bd6e86bab', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '3.0.0-alpha.1700485793', 'version' => '3.0.0.0-alpha1700485793', - 'reference' => '6adad28d8ee4f8e436ea50304a2978cee72cd5bf', + 'reference' => 'e84b47d6e61f979c6e20dd759a48a71b85074aac', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '0e18611b177aaef60456143bb588aeaf97295665', + 'reference' => '6fe6a81edcd52815691a9b0a861c32d1454d74b8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -130,16 +130,16 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => 'b307eac903e2da86db01efe6b1319feb38edbf77', + 'reference' => '8d5cecfc34fd2e1f87ae229d37f24865c253a9f9', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-my-jetpack' => array( - 'pretty_version' => '4.0.0-alpha.1700485793', - 'version' => '4.0.0.0-alpha1700485793', - 'reference' => 'ac10e3c8c15d00857abe009b9da14704b050bcc1', + 'pretty_version' => '4.0.0-alpha.1700493412', + 'version' => '4.0.0.0-alpha1700493412', + 'reference' => '806f1a35e5c51bf98f85e14e40d53472fa6ca16c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.3.0-alpha.1700485793', 'version' => '0.3.0.0-alpha1700485793', - 'reference' => '907d113a1df5c3b26ad59d00113e1a749084340d', + 'reference' => 'ac5ca7f045ac6599fa393d53422af54809660fc6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), @@ -157,7 +157,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.4.0-alpha.1700485793', 'version' => '0.4.0.0-alpha1700485793', - 'reference' => '28f09f4269a5c43aee527c07e9db8e052ee84d9c', + 'reference' => '8fef584795d788b5503ed380d25229864a5504cc', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -166,7 +166,7 @@ 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.3.0-alpha.1700485793', 'version' => '0.3.0.0-alpha1700485793', - 'reference' => '00a09052ab45011699f43765d2d17a4067be7707', + 'reference' => '7cfb186fdc115150e6a0c0676ef9109bbe74e916', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => 'dcb5f955ecfda3b87b39dd6a247a48b45a9d605f', + 'reference' => '118c39f8ccea90030c4b4da8181f564d3c4c7d6c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '0d161e2cb5305e839d8d070e23adb511aebe32cd', + 'reference' => 'c97e68c2931a800fa12a4eaa6f76f4c4212ebb13', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-search' => array( 'pretty_version' => '0.40.0-alpha.1700485793', 'version' => '0.40.0.0-alpha1700485793', - 'reference' => '21388cc81b8ab4bd8a144dc7373abe8d86c59bd2', + 'reference' => '7b149cc5c218e948e8400718ececdd57334c873d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.7.0-alpha.1700485793', 'version' => '0.7.0.0-alpha1700485793', - 'reference' => '6192b99d267892c8f29764b5519a2d84069ba920', + 'reference' => '73aaa30a5acf3c9d3d0db2b912a5d1ec419ad806', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => '0994701a07ab3f946c9a3ab766131a1ed16f325f', + 'reference' => '561c32aee51f00adef1fd1cdfb8ebc2ef9928459', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '2.0.0-alpha.1700485793', 'version' => '2.0.0.0-alpha1700485793', - 'reference' => 'd36839cf028554d42447eaeaac149a4cf2f2605c', + 'reference' => '99e2d54efc1363d4b500a3420c388ef8ec2cb0b8', '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 531f18c38..32bbf0a32 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -251,111 +251,111 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Activitylog' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-activitylog.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Product' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Jetpack_Ai' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Starter' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Stats' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_AI' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Product_Data' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Zendesk_Chat' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array( - 'version' => '4.0.0.0-alpha1700485793', + 'version' => '4.0.0.0-alpha1700493412', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php' ), 'Automattic\\Jetpack\\Partner' => array(