var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
  let window = _____WB$wombat$assign$function_____("window");
  let self = _____WB$wombat$assign$function_____("self");
  let document = _____WB$wombat$assign$function_____("document");
  let location = _____WB$wombat$assign$function_____("location");
  let top = _____WB$wombat$assign$function_____("top");
  let parent = _____WB$wombat$assign$function_____("parent");
  let frames = _____WB$wombat$assign$function_____("frames");
  let opener = _____WB$wombat$assign$function_____("opener");

"use strict";(globalThis.webpackChunkcalypso=globalThis.webpackChunkcalypso||[]).push([[73067],{"./lib/cart-values/cart-items.ts":(s,c,r)=>{r.d(c,{BO:()=>ps,KV:()=>us,Z2:()=>ls,tQ:()=>S,YG:()=>Fs,Ax:()=>vs,XC:()=>Y,OX:()=>ds,jV:()=>xs,sA:()=>F,J2:()=>gs,td:()=>ms,z_:()=>q,Xo:()=>G,iU:()=>cs,ni:()=>H,si:()=>$,lG:()=>hs,jL:()=>z,pk:()=>V,nb:()=>U,sR:()=>_s,au:()=>B,Q:()=>M,_e:()=>ss,bw:()=>C,c_:()=>D,qE:()=>L,SA:()=>O,nR:()=>W,ps:()=>Q,v:()=>ts,Nm:()=>K,vo:()=>Hs,ii:()=>ws,pv:()=>Ts,_l:()=>rs,iI:()=>Z,zi:()=>Rs,QT:()=>Ps,uV:()=>Es,s9:()=>Ss,Zx:()=>os,s:()=>As,wW:()=>is,o_:()=>as,bM:()=>ns,Bi:()=>ys,nZ:()=>fs,al:()=>Is});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts");var o=r("../packages/calypso-products/src/is-difm-product.ts"),a=r("../packages/calypso-products/src/is-plan.ts"),e=r("../packages/calypso-products/src/is-jetpack-plan.ts"),n=r("../packages/calypso-products/src/is-p2-plus.ts"),u=r("../packages/calypso-products/src/is-ecommerce.ts"),p=r("../packages/calypso-products/src/is-blogger.ts"),i=r("../packages/calypso-products/src/is-personal.ts"),l=r("../packages/calypso-products/src/is-premium.ts"),d=r("../packages/calypso-products/src/is-pro.ts"),g=r("../packages/calypso-products/src/is-business.ts"),m=r("../packages/calypso-products/src/is-domain-registration.ts"),k=r("../packages/calypso-products/src/is-domain-transfer.ts"),f=r("../packages/calypso-products/src/is-concierge-session.ts"),y=r("../packages/calypso-products/src/is-traffic-guide.ts"),_=r("../packages/calypso-products/src/main.ts"),w=r("../packages/calypso-products/src/plans-utilities.ts"),v=r("../packages/calypso-products/src/is-gsuite-or-extra-license-or-google-workspace.ts"),b=r("../packages/calypso-products/src/constants/google.ts"),x=r("../packages/calypso-products/src/constants/titan.ts"),h=r("../packages/calypso-products/src/is-titan-mail.ts"),I=r("../packages/calypso-products/src/is-jetpack-product.ts"),E=r("../packages/calypso-products/src/is-site-redirect.ts"),R=r("../packages/calypso-products/src/is-gsuite-or-google-workspace.ts"),N=r("../packages/calypso-products/src/is-domain-product.ts"),j=r("../packages/calypso-products/src/is-domain-mapping.ts"),A=r("../packages/wpcom-checkout/src/is-wpcom-product-renewal.ts"),T=r("./lib/domains/get-tld.js"),P=r("../packages/calypso-products/src/constants/domain.ts");function S(s){return s&&s.products||[]}function F(s){return S(s).filter(A.n)}function H(s){return s&&S(s).some(o.F)}function L(s){return s&&S(s).some(a._)}function B(s){return S(s).some(e.n)}function C(s){return S(s).some(n.F)}function U(s){return s&&S(s).some(u.S)}function q(s){return S(s).some(p.f)}function D(s){return S(s).some(i.X)}function O(s){return S(s).some(l.I)}function W(s){return S(s).some(d._)}function G(s){return S(s).some(g.z)}function Q(s,c){return S(s).some((function(s){return s.product_slug===c}))}function z(s){return S(s).some(m.p)}function M(s){return S(s).some(X)}function V(s){return S(s).some(J)}function X(s){return(0,m.p)(s)&&!(0,A.n)(s)}function J(s){return(0,A.n)(s)&&(0,m.p)(s)}function $(s){return vs(s).some((c=>Ns(s,c.meta)))}function K(s){return S(s).some(A.n)}function Z(s){return S(s).some(k.m)}function Y(s){return S(s).filter((s=>s.product_slug===P.c.TRANSFER_IN))}function ss(s){return S(s).every((s=>(0,A.n)(s)||"wordpress-com-credits"===s.product_slug))}function cs(s){return S(s).some(f.j)}function rs(s){return S(s).some(y.Q)}function ts(s){return s.products&&S(s).some((s=>function(s){const c=s.bill_period?parseInt(s.bill_period,10):void 0;if(!Number.isInteger(c)){const c=(0,_.Wh)(s.product_slug);if(c)return(0,w.cU)(c.term)??0}return c??0}(s)>0))}function os(s){return(0,_.OY)(s)?null:{product_slug:s}}function as(s,c){return Object.values(c).find((c=>c.product_slug===s))?.is_privacy_protection_product_purchase_allowed??!1}function es(s,c,r){const t=r?{extra:{source:r}}:void 0;return Object.assign({product_slug:s,meta:c},t)}function ns(s,c){return{product_slug:"premium_theme",meta:s,extra:{source:c}}}function us(s){return{...es(s.productSlug,s.domain,s.source),is_domain_registration:!0,...s.extra?{extra:s.extra}:{}}}function ps(s){return es("domain_map",s.domain,s.source)}function is(s){if(!s.domain)throw new Error("Site redirect product requires a domain");return es("offsite_redirect",s.domain,s.source)}function ls(s){return{...es(P.c.TRANSFER_IN,s.domain,s.source),...s.extra?{extra:s.extra}:{}}}function ds(s){return S(s).filter(v.H)}function gs(s){const{quantity:c,new_quantity:r,users:o}=s,a="meta"in s?s.meta:s.domain;if(!a)throw new Error("A domain is required for a Google Apps item");const e={google_apps_users:o,...r?{new_quantity:r}:{}};return{...es((0,t.e)(s)||b.QP,a),...c?{quantity:c}:{},extra:e}}function ms(s){return{...es(b.WN,s.domain,s.source),extra:{google_apps_users:s.users}}}function ks(s,c){const r=s.meta??s.domain;if(!r)throw new Error("Titan mail requires a domain");return{...es(c,r,s.source),quantity:s.quantity,extra:s.extra}}function fs(s){return ks(s,x.M7)}function ys(s){return ks(s,x.A$)}function _s(s){return S(s).some(v.H)}function ws(s){return S(s).some(h.$)}function vs(s){return S(s).filter((s=>!0===s.is_domain_registration))}function bs(s,c){const r=(0,t.e)(s);return function(s){return["1gb_space_upgrade","5gb_space_upgrade","10gb_space_upgrade","50gb_space_upgrade","100gb_space_upgrade"].includes((0,t.e)(s))}(s)||(0,I.y)(s)?function(s){return{product_slug:s}}(r):function(s){return"unlimited_themes"===(0,t.e)(s)}(s)?{product_slug:"unlimited_themes"}:function(s){return"unlimited_space"===(0,t.e)(s)}(s)?{product_slug:"unlimited_space"}:function(s){return"videopress"===(0,t.e)(s)}(s)?{product_slug:"videopress"}:function(s){return"custom-design"===(0,t.e)(s)}(s)?{product_slug:"custom-design"}:function(s){return"no-adverts/no-adverts.php"===(0,t.e)(s)}(s)?{product_slug:"no-adverts/no-adverts.php"}:(0,E.J)(s)?is(c):(0,h.$)(s)?ks(s,r):(0,R.E)(s)?gs(s):(0,a._)(s)?os(r):(0,N.p)(s)?es(r,c.domain??""):function(s){return Boolean(s.isRenewable)}(s)?function(s){return{product_slug:s}}(r):void 0}function xs(s,c){const r=bs(s,c);if(!r)throw new Error("This product cannot be renewed.");return function(s,c){return{...s,extra:{...s.extra,purchaseId:c.id,purchaseType:"renewal"}}}(r,s)}function hs(s,c){return S(s).some((s=>!0===s.is_domain_registration&&s.meta===c))}function Is(s,c){return{...s,extra:{...s.extra,privacy:c}}}function Es(s,c=""){return!(!s||!s.next_domain_is_free)&&("blog"!==s.next_domain_condition||"blog"===(0,T.m)(c))}function Rs(s,c){const r=s?.bundled_domain??"";return""!==r&&(c??"").toLowerCase()===r.toLowerCase()}function Ns(s,c){if(!s||!c)return!1;if(!L(s))return!1;if(!(c===(vs(s).concat(function(s){return S(s).filter((s=>"domain_map"===s.product_slug))}(s)).shift()||{meta:""}).meta))return!1;if(q(s)){if("blog"!==c.split(".").pop())return!1}return!0}function js(s){return Boolean(s.product_slug||s.productSlug)}function As(s,c,r,t){return Boolean(s&&((0,m.p)(t)||js(t)&&(0,j.I)(t)||t.domain_name&&!(!0===t.is_free))&&!Ns(r,t.domain_name)&&!Es(r)&&!L(r)&&(!c||c&&"free_plan"===c.plan.product_slug))}function Ts(s,c,r){if(!r||!(0,T.m)(r))return!1;const t=((s||{}).plan||{}).product_slug,o="blog".startsWith((0,T.m)(r));return!(!t||!(0,_.RJ)(t)||o)||!(!q(c)||o)}function Ps(s){return Boolean(s&&(0,a._)(s.plan)&&!(0,_.en)(s.plan.product_slug))}function Ss(s){return"PRICE"===s}function Fs(s,c,r,t,o,a){return t.product_slug&&"Free"!==t.cost?t?.is_premium||(s=>Boolean(s&&["free","personal-monthly","premium-monthly","business-monthly","ecommerce-monthly"].includes(s)))(a)?"PRICE":Ns(r,t.domain_name)?"FREE_WITH_PLAN":js(t)&&(0,j.I)(t)?Ps(c)?"FREE_WITH_PLAN":s?"INCLUDED_IN_HIGHER_PLAN":"PRICE":o?"PRICE":Es(r,t.domain_name)?"FREE_WITH_PLAN":As(s,c,r,t)?"INCLUDED_IN_HIGHER_PLAN":Ts(c,r,t.domain_name)?"UPGRADE_TO_HIGHER_PLAN_TO_BUY":"PRICE":"FREE_DOMAIN"}function Hs(s){return S(s).some((function(s){return s.time_added_to_cart&&1e3*s.time_added_to_cart<Date.now()-6e5}))}},"./lib/domains/get-tld.js":(s,c,r)=>{r.d(c,{m:()=>a});const t=JSON.parse('{"co.in":1,"co.uk":1,"com.br":0,"com.mx":1,"firm.in":1,"gen.in":1,"ind.in":1,"me.uk":1,"net.br":0,"net.in":1,"org.in":1,"org.uk":1}');function o(s,c){if(!s)return"";if(void 0!==c[s])return s;return o(s.split(".").slice(1).join("."),c)}function a(s){const c=s.lastIndexOf(".");if(-1===c)return"";let r=o(s,t);return r||(r=s.substring(c+1)),r}},"../packages/calypso-products/src/camel-or-snake-slug.ts":(s,c,r)=>{function t(s){return"product_slug"in s?s.product_slug:s.productSlug}r.d(c,{e:()=>t})},"../packages/calypso-products/src/constants/domain.ts":(s,c,r)=>{r.d(c,{c:()=>t});const t={TRANSFER_IN:"domain_transfer"}},"../packages/calypso-products/src/constants/google.ts":(s,c,r)=>{r.d(c,{wK:()=>t,QP:()=>o,tb:()=>a,y6:()=>e,WN:()=>n});const t="wp_google_workspace_business_starter_monthly",o="wp_google_workspace_business_starter_yearly",a="gapps",e="gapps_unlimited",n="gapps_extra_license"},"../packages/calypso-products/src/is-blogger.ts":(s,c,r)=>{r.d(c,{f:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.en)((0,t.e)(s))}},"../packages/calypso-products/src/is-business.ts":(s,c,r)=>{r.d(c,{z:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.g5)((0,t.e)(s))}},"../packages/calypso-products/src/is-concierge-session.ts":(s,c,r)=>{r.d(c,{j:()=>o});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts");function o(s){return"concierge-session"===(0,t.e)(s)}},"../packages/calypso-products/src/is-difm-product.ts":(s,c,r)=>{r.d(c,{F:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/constants/wpcom.ts");function a(s){return(0,t.e)(s)===o.m6}},"../packages/calypso-products/src/is-domain-mapping.ts":(s,c,r)=>{r.d(c,{I:()=>o});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts");function o(s){return"domain_map"===(0,t.e)(s)}},"../packages/calypso-products/src/is-domain-product.ts":(s,c,r)=>{r.d(c,{p:()=>a});var t=r("../packages/calypso-products/src/is-domain-mapping.ts"),o=r("../packages/calypso-products/src/is-domain-registration.ts");function a(s){return(0,t.I)(s)||(0,o.p)(s)}},"../packages/calypso-products/src/is-domain-registration.ts":(s,c,r)=>{function t(s){return!(!s.is_domain_registration&&!s.isDomainRegistration)}r.d(c,{p:()=>t})},"../packages/calypso-products/src/is-domain-transfer.ts":(s,c,r)=>{r.d(c,{m:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/constants/domain.ts");function a(s){return(0,t.e)(s)===o.c.TRANSFER_IN}},"../packages/calypso-products/src/is-ecommerce.ts":(s,c,r)=>{r.d(c,{S:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.LK)((0,t.e)(s))}},"../packages/calypso-products/src/is-google-workspace-product-slug.ts":(s,c,r)=>{r.d(c,{U:()=>o});var t=r("../packages/calypso-products/src/constants/google.ts");function o(s){return[t.wK,t.QP].includes(s)}},"../packages/calypso-products/src/is-gsuite-extra-license-product-slug.ts":(s,c,r)=>{r.d(c,{a:()=>o});var t=r("../packages/calypso-products/src/constants/google.ts");function o(s){return s===t.WN}},"../packages/calypso-products/src/is-gsuite-or-extra-license-or-google-workspace.ts":(s,c,r)=>{r.d(c,{H:()=>e});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/is-google-workspace-product-slug.ts"),a=r("../packages/calypso-products/src/is-gsuite-or-extra-license-product-slug.ts");function e(s){return(0,a.B)((0,t.e)(s))||(0,o.U)((0,t.e)(s))}},"../packages/calypso-products/src/is-gsuite-or-extra-license-product-slug.ts":(s,c,r)=>{r.d(c,{B:()=>a});var t=r("../packages/calypso-products/src/is-gsuite-extra-license-product-slug.ts"),o=r("../packages/calypso-products/src/is-gsuite-product-slug.ts");function a(s){return(0,o.M)(s)||(0,t.a)(s)}},"../packages/calypso-products/src/is-gsuite-or-google-workspace-product-slug.ts":(s,c,r)=>{r.d(c,{n:()=>a});var t=r("../packages/calypso-products/src/is-google-workspace-product-slug.ts"),o=r("../packages/calypso-products/src/is-gsuite-product-slug.ts");function a(s){return(0,o.M)(s)||(0,t.U)(s)}},"../packages/calypso-products/src/is-gsuite-or-google-workspace.ts":(s,c,r)=>{r.d(c,{E:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/is-gsuite-or-google-workspace-product-slug.ts");function a(s){return(0,o.n)((0,t.e)(s))}},"../packages/calypso-products/src/is-gsuite-product-slug.ts":(s,c,r)=>{r.d(c,{M:()=>o});var t=r("../packages/calypso-products/src/constants/google.ts");function o(s){return[t.tb,t.y6].includes(s)}},"../packages/calypso-products/src/is-jetpack-plan-slug.ts":(s,c,r)=>{r.d(c,{g:()=>a});var t=r("../packages/calypso-products/src/constants/jetpack.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.zV)(s,{group:t.mk})}},"../packages/calypso-products/src/is-jetpack-plan.ts":(s,c,r)=>{r.d(c,{n:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/is-jetpack-plan-slug.ts");function a(s){return(0,o.g)((0,t.e)(s))}},"../packages/calypso-products/src/is-jetpack-product-slug.ts":(s,c,r)=>{r.d(c,{X:()=>o});var t=r("../packages/calypso-products/src/constants/jetpack.ts");function o(s){return t.g1.includes(s)}},"../packages/calypso-products/src/is-jetpack-product.ts":(s,c,r)=>{r.d(c,{y:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/is-jetpack-product-slug.ts");function a(s){return(0,o.X)((0,t.e)(s))}},"../packages/calypso-products/src/is-p2-plus.ts":(s,c,r)=>{r.d(c,{F:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.xA)((0,t.e)(s))}},"../packages/calypso-products/src/is-personal.ts":(s,c,r)=>{r.d(c,{X:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.VV)((0,t.e)(s))}},"../packages/calypso-products/src/is-plan.ts":(s,c,r)=>{r.d(c,{_:()=>e});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/constants/wpcom.ts"),a=r("../packages/calypso-products/src/main.ts");function e(s){const c=(0,t.e)(s);if((0,a.Vz)(c))return!1;switch(c){case o.HR:case o.f0:return!0;default:return(0,a.zl)().includes(c)}}},"../packages/calypso-products/src/is-premium.ts":(s,c,r)=>{r.d(c,{I:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.Sm)((0,t.e)(s))}},"../packages/calypso-products/src/is-pro.ts":(s,c,r)=>{r.d(c,{_:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/main.ts");function a(s){return(0,o.B9)((0,t.e)(s))}},"../packages/calypso-products/src/is-site-redirect.ts":(s,c,r)=>{r.d(c,{J:()=>o});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts");function o(s){return"offsite_redirect"===(0,t.e)(s)}},"../packages/calypso-products/src/is-titan-mail.ts":(s,c,r)=>{r.d(c,{$:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/constants/titan.ts");function a(s){return o.xB.includes((0,t.e)(s))}},"../packages/calypso-products/src/is-traffic-guide.ts":(s,c,r)=>{r.d(c,{Q:()=>a});var t=r("../packages/calypso-products/src/camel-or-snake-slug.ts"),o=r("../packages/calypso-products/src/constants/wpcom.ts");function a(s){return o.j6===(0,t.e)(s)}},"../packages/calypso-products/src/plans-utilities.ts":(s,c,r)=>{r.d(c,{Dn:()=>a,cU:()=>e,Gx:()=>n});var t=r("../packages/calypso-products/src/constants/jetpack.ts"),o=r("../packages/calypso-products/src/constants/terms.ts");function a(s){return t.SL.includes(s)}function e(s){switch(s){case o.ob:return o.hW;case o.w$:return o.fI;case o.SU:return o.GZ}}const n=()=>!!t.MD},"../packages/wpcom-checkout/src/is-wpcom-product-renewal.ts":(s,c,r)=>{function t(s){return"renewal"===s.extra?.purchaseType}r.d(c,{n:()=>t})}}]);

}
/*
     FILE ARCHIVED ON 09:58:15 Jun 07, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 04:52:23 Nov 19, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.484
  exclusion.robots: 0.023
  exclusion.robots.policy: 0.014
  esindex: 0.011
  cdx.remote: 11.361
  LoadShardBlock: 71.942 (3)
  PetaboxLoader3.datanode: 154.651 (5)
  load_resource: 371.357 (2)
  PetaboxLoader3.resolve: 211.353 (2)
*/