__("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.Z)(e),rel:"noopener noreferrer",target:"_blank"},t),d=({className:e,multipleButtons:t,agreeButtonLabel:n})=>React.createElement(c.ZP,{className:i()(e,"terms-of-service")},t?React.createElement(u,null):React.createElement(l,{agreeButtonLabel:n}))},66017:(e,t,n)=>{"use strict";n.d(t,{h:()=>r,s:()=>o});constr={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},45106:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});varr=n(82674),o=n.n(r),s=n(65235),i=n.n(s),a=n(99196),c=n.n(a),u=n(66017),l=n(85837);constp=(0,a.forwardRef)((({variant:e="body",children:t,component:n,className:r,...s},p)=>{constd=n||u.h[e]||"span",f=(0,a.useMemo)((()=>u.s.reduce(((e,t)=>(void0!==s[t]&&(e+=l.Z[`${t}-${s[t]}`]+" ",deletes[t]),e)),"")),[s]);returns.ref=p,c().createElement(d,o()({className:i()(l.Z.reset,l.Z[e],r,f)},s),t)}));p.displayName="Text";constd=p},6895:(e,t,n)=>{"use strict";functionr(e,t={}){constn={};letr;if("undefined"!=typeofwindow&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){constt=newURL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}elsen.source=encodeURIComponent(e);for(consteint)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeofjetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>r})},61132:(e,t,n)=>{letr={};try{r=n(92787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}consto=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';returnr[e]}}},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});varr=n(65736),o=n(15844),s=n.n(o),i=n(99196),a=n.n(i),c=n(31294),u=n(71624);const__=r.__,l=({title:e,buttonLabel:t,apiRoot:n,apiNonce:r,registrationNonce:o,from:s,redirectUri:i,images:l,children:p,assetBaseUrl:d,autoTrigger:f,footer:h,skipUserConnection:g,logo:m})=>{const{handleRegisterSite:y,siteIsRegistering:E,userIsConnecting:_,registrationError:v,isOfflineMode:S}=(0,c.Z)({registrationNonce:o,redirectUri:i,apiRoot:n,apiNonce:r,autoTrigger:f,from:s,skipUserConnection:g}),C=Boolean(v),b=E||_,T=v?.response?.code;returna().createElement(u.Z,{title:e,images:l,assetBaseUrl:d,buttonLabel:t,handleButtonClick:y,displayButtonError:C,errorCode:T,buttonIsLoading:b,footer:h,isOfflineMode:S,logo:m},p)};l.propTypes={title:s().string,buttonLabel:s().string,apiRoot:s().string.isRequired,apiNonce:s().string.isRequired,registrationNonce:s().string.isRequired,from:s().string,redirectUri:s().string.isRequired,autoTrigger:s().bool,images:s().arrayOf(s().string),assetBaseUrl:s().string,skipUserConnection:s().bool,logo:s().element},l.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};constp=l},71624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});varr=n(6895),o=n(37325),s=n(67121),i=n(69307),a=n(65736),c=n(15844),u=n.n(c),l=n(99196