Version Description
- Enable Coming Soon v2 for a12s
Download this release
Release Info
Developer | roo2 |
Plugin | Full Site Editing |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
editor-site-launch/dist/editor-site-launch.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '4019e4244bb8ed380704c2fab419ffd8');
|
editor-site-launch/dist/editor-site-launch.js
CHANGED
@@ -37,4 +37,4 @@ object-assign
|
|
37 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
38 |
* @license See CREDITS.md
|
39 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
40 |
-
*/function wt(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,c="";return(c=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,o):""+Math.round(i)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(c[1]||"").length<o&&(c[1]=c[1]||"",c[1]+=new Array(o-c[1].length+1).join("0")),c.join(s)}var Ot=ue()("i18n-calypso"),Et="number_format_decimals",kt="number_format_thousands_sep",St="messages",Ct=[function(e){return e}],jt={};function Nt(){Ft.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Pt(e){return Array.prototype.slice.call(e)}function At(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&Nt("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Pt(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&Nt("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Pt(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Lt(e,t){return e.dcnpgettext(St,t.context,t.original,t.plural,t.count)}function Tt(e,t){for(var n=Ct.length-1;n>=0;n--){var r=Ct[n](Object.assign({},t)),i=r.context?r.context+""+r.original:r.original;if(e.state.locale[i])return Lt(e.state.tannin,r)}return null}function Ft(){if(!(this instanceof Ft))return new Ft;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:gt()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new pe.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}Ft.throwErrors=!1,Ft.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},Ft.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},Ft.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},Ft.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return wt(e,n,r,i)},Ft.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},Ft.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var i=e[""]["key-hash"],o=function(e,t){var n=!1===t?"":String(t);if(void 0!==jt[n+e])return jt[n+e];var r=yt()().update(e).digest("hex");return jt[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=o(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=o(t.original,e),t}};if("sha1"===i.substr(0,4))if(4===i.length)Ct.push(a(!1));else{var s=i.substr(5).indexOf("-");if(s<0){var c=Number(i.substr(5));Ct.push(a(c))}else for(var l=Number(i.substr(5,s)),u=Number(i.substr(6+s)),d=l;d<=u;d++)Ct.push(a(d))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new ht(P()({},St,this.state.locale)),this.state.numberFormatSettings.decimal_point=Lt(this.state.tannin,At([Et])),this.state.numberFormatSettings.thousands_sep=Lt(this.state.tannin,At([kt])),this.state.numberFormatSettings.decimal_point===Et&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===kt&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},Ft.prototype.getLocale=function(){return this.state.locale},Ft.prototype.getLocaleSlug=function(){return this.state.localeSlug},Ft.prototype.isRtl=function(){return"rtl"===this.state.textDirection},Ft.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},Ft.prototype.hasTranslation=function(){return!!Tt(this,At(arguments))},Ft.prototype.translate=function(){var e=At(arguments),t=Tt(this,e);if(t||(t=Lt(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=_t.apply(void 0,Z()(n))}catch(i){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof i?window.console[r](i):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=dt()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},Ft.prototype.reRenderTranslations=function(){Ot("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},Ft.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},Ft.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var Mt=Ft,Dt=n(40),Rt=n.n(Dt),Bt=n(41),It=n.n(Bt),zt=n(22),Ut=n.n(zt),Ht=n(42),$t=n.n(Ht),qt=n(43),Vt=n.n(qt),Gt=n(23),Yt=n.n(Gt),Wt=n(44);var Kt,Xt,Zt,Jt,Qt=new Mt,en=(Qt.numberFormat.bind(Qt),Qt.translate.bind(Qt)),tn=(Qt.configure.bind(Qt),Qt.setLocale.bind(Qt),Qt.getLocale.bind(Qt),Qt.getLocaleSlug.bind(Qt),Qt.addTranslations.bind(Qt),Qt.reRenderTranslations.bind(Qt),Qt.registerComponentUpdateHook.bind(Qt),Qt.registerTranslateHook.bind(Qt),Qt.state,Qt.stateObserver,Qt.on.bind(Qt),Qt.off.bind(Qt),Qt.emit.bind(Qt),Xt={numberFormat:(Kt=Qt).numberFormat.bind(Kt),translate:Kt.translate.bind(Kt)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Qt),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(Wt.useSubscription)(t)}var r=Object(U.createHigherOrderComponent)((function(e){return Object(d.forwardRef)((function(t,r){var i=n();return p.a.createElement(e,Yt()({},t,{isRtl:i,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(Qt)),nn=(tn.useRtl,tn.withRtl,["Remove WordPress.com ads","Email & basic live chat support","Collect recurring payments","Collect one-time payments","Earn ad revenue","Premium themes","Upload videos","Google Analytics support","Business features (incl. SEO)","Upload themes","Install plugins","Accept payments in 60+ countries"]),rn=((Zt={})[nt]={title:en("Free"),description:en("Create a beautiful, simple website in minutes"),productId:1,storeSlug:nt,pathSlug:"beginner",features:["3 GB storage space"],isFree:!0},Zt[rt]={title:en("Personal"),description:en("Best for personal use"),productId:1009,storeSlug:rt,pathSlug:"personal",features:B(["6 GB storage space"],nn.slice(0,3))},Zt[it]={title:en("Premium"),description:en("Best for freelancers"),productId:1003,storeSlug:it,pathSlug:"premium",features:B(["13 GB storage space"],nn.slice(0,8)),isPopular:!0},Zt[ot]={title:en("Business"),description:en("Best for small businesses"),productId:1008,storeSlug:ot,pathSlug:"business",features:B(["200 GB storage space"],nn.slice(0,11))},Zt[at]={title:en("eCommerce"),description:en("Best for online stores"),productId:1011,storeSlug:at,pathSlug:"ecommerce",features:B(["200 GB storage space"],nn)},Zt),on=Object.keys(rn).map((function(e){return rn[e].pathSlug})),an=[{id:"general",name:null,features:[{name:"Free domain for One Year",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Email & basic live chat support",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"24/7 Priority live chat support",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Preinstalled SSL security",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Jetpack essential features",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Storage",type:"text",data:["3 GB","6 GB","13 GB","200 GB","200 GB"]},{name:"Dozens of free designs",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Remove WordPress.com ads",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Unlimited premium themes",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced design customization",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Get personalized help",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Install plugins",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Upload themes",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Remove WordPress.com branding",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Automated backup & one-click rewind",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"SFTP and database access",type:"checkbox",data:[!1,!1,!1,!0,!0]}]},{id:"commerce",name:"Commerce",features:[{name:"Sell subscriptions (recurring payments)",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Sell single items (simple payments)",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Accept payments in 60+ countries",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Integrations with top shipping carriers",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Sell anything (products and/or services)",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Premium customizable starter themes",type:"checkbox",data:[!1,!1,!1,!1,!0]}]},{id:"marketing",name:"Marketing",features:[{name:"WordAds",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced social media tools",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"VideoPress support",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"SEO tools",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Commerce marketing tools",type:"checkbox",data:[!1,!1,!1,!1,!0]}]}],sn=Object.keys(rn),cn={supportedPlanSlugs:sn,prices:(Jt={},Jt[nt]="",Jt[rt]="",Jt[it]="",Jt[ot]="",Jt[at]="",Jt)},ln=function(e,t){switch(void 0===e&&(e=cn),t.type){case"SET_PRICES":return F(F({},e),{prices:t.prices});default:return e}},un=function(e){return{type:"SET_PRICES",prices:e}},dn=function(){return{type:"RESET_PLAN"}};function pn(e){return rn[e]}var mn=function(e,t){return pn(t)},fn=function(){return pn(ct)},hn=function(e){return e.supportedPlanSlugs.map(pn)},bn=function(e,t){return t&&hn(e).find((function(e){return(null==e?void 0:e.pathSlug)===t}))},gn=function(){return an},vn=function(e){return hn(e).map((function(e){return null==e?void 0:e.pathSlug}))},yn=function(e){return e.prices},xn=function(e,t){return t===at},_n=function(e,t){return t===nt};function wn(){var e,t,n;return D(this,(function(r){switch(r.label){case 0:return[4,Object(tt.apiFetch)({global:!0,url:"https://public-api.wordpress.com/rest/v1.5/plans",mode:"cors",credentials:"omit"})];case 1:return e=r.sent(),t=e.filter((function(e){return-1!==sn.indexOf(e.product_slug)})),n=t.reduce((function(e,t){return e[t.product_slug]=function(e){var t=lt[e.currency_code],n=e.raw_price/12;return Number.isInteger(n)||(n=n.toFixed(t.decimal)),"AMOUNT_THEN_SYMBOL"===t.format?""+n+t.symbol:""+t.symbol+n}(t),e}),{}),[4,un(n)];case 2:return r.sent(),[2]}}))}var On=!1;function En(){return On||(On=!0,Object(m.registerStore)(st,{resolvers:o,actions:r,controls:tt.controls,reducer:ln,selectors:i})),st}var kn=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),Sn=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),Cn=(n(79),p.a.createElement(se,{icon:kn,size:17})),jn=p.a.createElement(se,{icon:Sn,size:17}),Nn=p.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},p.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}));var Pn=function(e){var t=e.features,n=e.domain,r=e.isFree,i=void 0!==r&&r,o=e.isOpen,a=void 0!==o&&o,s=e.onPickDomain,c=e.disabledLabel,l=e.multiColumn,d=void 0!==l&&l,m=function(e,t,n){return{NO_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plans-feature-list__domain-summary is-cta",icon:Cn,domainMessage:p.a.createElement(p.a.Fragment,null,n("Pick a free domain (1 year)")," ",Nn)}},FREE_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plans-feature-list__domain-summary is-cta",icon:Cn,domainMessage:p.a.createElement(p.a.Fragment,null,n("Pick a free domain (1 year)")," ",Nn)}},PAID_DOMAIN:{FREE_PLAN:{className:"plans-feature-list__domain-summary is-free",icon:jn,domainMessage:p.a.createElement("span",null,Object(u.createInterpolateElement)(n("<url /> is not included"),{url:p.a.createElement("span",{className:"plans-feature-list__item-url"},null==t?void 0:t.domain_name)}))},PAID_PLAN:{className:"plans-feature-list__domain-summary is-picked",icon:Cn,domainMessage:p.a.createElement("span",null,Object(u.createInterpolateElement)(n("<url /> is included"),{url:p.a.createElement("span",{className:"plans-feature-list__item-url"},null==t?void 0:t.domain_name)}))}}}[t&&(t.is_free?"FREE_DOMAIN":"PAID_DOMAIN")||"NO_DOMAIN"][e?"FREE_PLAN":"PAID_PLAN"]}(i,n,$().__);return p.a.createElement("div",{className:"plans-feature-list",hidden:!a},p.a.createElement("ul",{className:j()("plans-feature-list__item-group",{"plans-feature-list__item-group--columns":d})},c?p.a.createElement("li",{className:"plans-feature-list__item plans-feature-list__item--disabled-message"},jn," ",p.a.createElement("span",null,c)):m&&p.a.createElement("li",{className:"plans-feature-list__item"},p.a.createElement(y.Button,{className:m.className,onClick:s,isLink:!0},m.icon,m.domainMessage)),t.map((function(e,t){return p.a.createElement("li",{key:t,className:"plans-feature-list__item"},Cn," ",p.a.createElement("span",null,e))}))))},An=d.createElement("svg",{width:"8",viewBox:"0 0 8 4"},d.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"})),Ln=function(e){var t=e.slug,n=e.name,r=e.price,i=e.isPopular,o=void 0!==i&&i,a=e.isFree,s=void 0!==a&&a,c=e.domain,l=e.features,u=e.onSelect,p=e.onPickDomainClick,m=e.onToggleExpandAll,f=e.allPlansExpanded,h=e.disabledLabel,b=$().__,g=d.useState(!1),v=g[0],x=g[1],_=Object(U.useViewportMatch)("mobile",">=");d.useEffect((function(){x(f)}),[f]);var w=f||_||o||v;return d.createElement("div",{className:j()("plan-item",{"is-popular":o,"is-open":w})},o&&d.createElement("span",{className:"plan-item__badge"},b("Popular")),d.createElement("div",{className:j()("plan-item__viewport",{"is-popular":o})},d.createElement("div",{className:"plan-item__details"},d.createElement("div",{tabIndex:0,role:"button",onClick:function(){return x((function(e){return!e}))},onKeyDown:function(e){return 32===e.keyCode&&x((function(e){return!e}))},className:"plan-item__summary"},d.createElement("div",{className:"plan-item__heading"},d.createElement("div",{className:"plan-item__name"},n)),d.createElement("div",{className:"plan-item__price"},d.createElement("div",{className:j()("plan-item__price-amount",{"is-loading":!r})},r||" ")),!w&&d.createElement("div",{className:"plan-item__dropdown-chevron"},An)),d.createElement("div",{hidden:!w},d.createElement("div",{className:"plan-item__price-note"},b(s?"free forever":"per month, billed yearly")),d.createElement("div",{className:"plan-item__actions"},d.createElement(y.Button,{className:"plan-item__select-button",onClick:function(){u(t)},isPrimary:!0,disabled:!!h},d.createElement("span",null,b("Choose")))),d.createElement(Pn,{features:l,domain:c,isFree:s,isOpen:w,onPickDomain:p,disabledLabel:h})))),o&&!_&&d.createElement(y.Button,{onClick:m,className:"plan-item__mobile-expand-all-plans",isLink:!0},b(f?"Collapse all plans":"Expand all plans")))},Tn="automattic/onboard/plans",Fn=(n(80),function(e){var t=e.selectedPlanSlug,n=e.onPlanSelect,r=e.onPickDomainClick,i=e.currentDomain,o=e.disabledPlans,a=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),s=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),c=Object(d.useState)(!1),l=c[0],u=c[1];return p.a.createElement("div",{className:"plans-table"},a.map((function(e){var a;return e&&p.a.createElement(Ln,{allPlansExpanded:l,key:e.storeSlug,slug:e.storeSlug,domain:i,features:null!==(a=e.features)&&void 0!==a?a:[],isPopular:e.isPopular,isFree:e.isFree,price:s[e.storeSlug],name:null==e?void 0:e.title.toString(),isSelected:e.storeSlug===t,onSelect:n,onPickDomainClick:r,onToggleExpandAll:function(){return u((function(e){return!e}))},disabledLabel:null==o?void 0:o[e.storeSlug]})})))}),Mn=(n(78),p.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},p.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}))),Dn=function(e){var t=e.slug,n=e.name,r=e.description,i=e.price,o=e.features,a=e.domain,s=e.badge,c=e.isFree,l=void 0!==c&&c,u=e.isOpen,d=void 0!==u&&u,m=e.isPrimary,f=void 0!==m&&m,h=e.onSelect,b=e.onPickDomainClick,g=e.onToggle,v=e.disabledLabel,y=$().__,x=function(){!v&&(null==g||g(t,!d))};return p.a.createElement("div",{className:j()("plans-accordion-item",{"is-open":d,"is-primary":f,"has-badge":!!s,"is-disabled":!!v})},s&&p.a.createElement("div",{className:"plans-accordion-item__badge"},p.a.createElement("span",null,s)),p.a.createElement("div",{className:"plans-accordion-item__viewport"},p.a.createElement("div",{className:"plans-accordion-item__details"},p.a.createElement("div",{tabIndex:0,role:"button",onClick:x,onKeyDown:function(e){return 32===e.keyCode&&x()},className:"plans-accordion-item__header"},p.a.createElement("div",{className:"plans-accordion-item__heading"},p.a.createElement("div",{className:"plans-accordion-item__name"},n),p.a.createElement("div",{className:"plans-accordion-item__description"},r)),p.a.createElement("div",{className:"plans-accordion-item__price"},p.a.createElement("div",{className:j()("plans-accordion-item__price-amount",{"is-loading":!i})},i||" ",i&&p.a.createElement("span",null,y("/mo"))),p.a.createElement("div",{className:"plans-accordion-item__price-note"},y(l?"free forever":"billed annually"))),p.a.createElement("div",{className:"plans-accordion-item__disabled-label"},v),!d&&p.a.createElement("div",{className:"plans-accordion-item__dropdown-chevron"},Mn)),p.a.createElement("div",{className:"plans-accordion-item__actions",hidden:!d},p.a.createElement(Y,{onClick:function(){h(t)}},y("Select"))),p.a.createElement(Pn,{features:o,domain:a,isFree:l,isOpen:d,onPickDomain:b,multiColumn:!0}))))},Rn=(n(77),p.a.createElement(y.SVG,{viewBox:"0 0 24 24"},p.a.createElement(y.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"}))),Bn=function(e){var t,n=e.selectedFeatures,r=void 0===n?[]:n,i=e.selectedPlanSlug,o=e.onPlanSelect,a=e.onPickDomainClick,s=e.currentDomain,c=e.disabledPlans,l=$().__,u=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),f=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),h=Object(m.useSelect)((function(e){return e(Tn).getDefaultPaidPlan()})),b=Object(m.useSelect)((function(e){return e("automattic/wpcom-features").getRecommendedPlanSlug(r)})),g=Object(m.useSelect)((function(e){return e(Tn).getPlanBySlug(b)})),v=g||h,x=l(g?"Recommended for you":"Popular"),_=u.filter((function(e){return e.storeSlug!==v.storeSlug})),w=[v.storeSlug],O=Object(d.useState)(w),E=O[0],k=O[1],S=E.length>=u.length,C=function(e,t){k(t?I(E,[e]):E.filter((function(t){return t!==e})))};return p.a.createElement("div",{className:"plans-accordion"},p.a.createElement("div",{className:"plans-accordion__plan-item-group"},v&&p.a.createElement(p.a.Fragment,null,g&&p.a.createElement("div",{className:"plans-accordion__recommend-hint"},p.a.createElement(se,{icon:Rn,size:16}),p.a.createElement("span",null,l("Based on the features you selected."))),p.a.createElement(Dn,{key:v.storeSlug,slug:v.storeSlug,name:null==v?void 0:v.title.toString(),description:null==v?void 0:v.description.toString(),features:null!==(t=v.features)&&void 0!==t?t:[],price:f[v.storeSlug],domain:s,badge:x,isFree:v.isFree,isOpen:!0,isPrimary:!0,isSelected:v.storeSlug===i,onSelect:o,onPickDomainClick:a}))),p.a.createElement("div",{className:"plans-accordion__actions"},p.a.createElement(y.Button,{className:"plans-accordion__toggle-all-button",onClick:function(){k(S?w:u.map((function(e){return e.storeSlug})))},isLink:!0},l(S?"Collapse all plans":"Show all plans"))),p.a.createElement("div",{className:"plans-accordion__plan-item-group"},_.map((function(e){var t;return p.a.createElement(Dn,{key:e.storeSlug,slug:e.storeSlug,name:null==e?void 0:e.title.toString(),description:null==e?void 0:e.description.toString(),features:null!==(t=e.features)&&void 0!==t?t:[],price:f[e.storeSlug],domain:s,isFree:e.isFree,isOpen:E.indexOf(e.storeSlug)>-1&&!(null==c?void 0:c[e.storeSlug]),isSelected:e.storeSlug===i,onSelect:o,onPickDomainClick:a,onToggle:C,disabledLabel:null==c?void 0:c[e.storeSlug]})}))))},In=(n(81),p.a.createElement(se,{icon:kn,size:25})),zn=function(e){var t=e.onSelect,n=Object(m.useSelect)((function(e){return e(Tn).getPlansDetails()})),r=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),i=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),o=$().__;return p.a.createElement("div",{className:"plans-details"},p.a.createElement("table",{className:"plans-details__table"},p.a.createElement("thead",null,p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",null,o("Feature")),i.map((function(e){return p.a.createElement("th",{key:e.storeSlug},e.title)})))),n.map((function(e){return p.a.createElement("tbody",{key:e.id},e.name&&p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",{colSpan:6},e.name)),e.features.map((function(e,t){return p.a.createElement("tr",{className:"plans-details__feature-row",key:t},p.a.createElement("th",null,e.name),e.data.map((function(t,n){return p.a.createElement("td",{key:n},"checkbox"===e.type&&(t?p.a.createElement(p.a.Fragment,null,p.a.createElement("span",{className:"hidden"},o("Available")),In):p.a.createElement(p.a.Fragment,null,p.a.createElement("span",{className:"hidden"},o("Unavailable")," "))),"text"===e.type&&t)})))})))})),p.a.createElement("tbody",null,p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",{colSpan:6},o("Sign up"))),p.a.createElement("tr",{className:"plans-details__feature-row",key:"price"},p.a.createElement("th",null,o("Monthly subscription (billed yearly)")),i.map((function(e){return p.a.createElement("td",{key:e.storeSlug},r[e.storeSlug])}))),p.a.createElement("tr",{className:"plans-details__feature-row",key:"cta"},p.a.createElement("th",null),i.map((function(e){return p.a.createElement("td",{key:e.storeSlug},p.a.createElement(y.Button,{className:"plans-details__select-button",onClick:function(){t(e.storeSlug)},isPrimary:!0},p.a.createElement("span",null,o("Select"))))}))))))},Un=(n(76),ue()("plans-grid")),Hn=function(e){var t,n,r=e.header,i=e.selectedFeatures,o=e.currentPlan,a=e.currentDomain,s=e.onPlanSelect,c=e.onPickDomainClick,l=e.disabledPlans,u=e.isExperimental,p=$().__;return u&&Un("PlansGrid experimental version is active"),d.createElement("div",{className:"plans-grid"},r&&d.createElement("div",{className:"plans-grid__header"},r),d.createElement("div",{className:"plans-grid__table"},d.createElement("div",{className:"plans-grid__table-container"},u?d.createElement(Bn,{selectedFeatures:i,selectedPlanSlug:null!==(t=null==o?void 0:o.storeSlug)&&void 0!==t?t:"",onPlanSelect:s,currentDomain:a,onPickDomainClick:c,disabledPlans:l}):d.createElement(Fn,{selectedPlanSlug:null!==(n=null==o?void 0:o.storeSlug)&&void 0!==n?n:"",onPlanSelect:s,currentDomain:a,onPickDomainClick:c,disabledPlans:l}))),d.createElement("div",{className:"plans-grid__details"},d.createElement("div",{className:"plans-grid__details-heading"},d.createElement(A,null,p("Detailed comparison"))),d.createElement("div",{className:"plans-grid__details-container"},d.createElement(zn,{onSelect:s}))))},$n=(n(75),function(e){var t=e.onPrevStep,n=e.onNextStep,r=Object(m.useSelect)((function(e){return e(c).getSelectedDomain()})),i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getState()})).isExperimental,s=Object(m.useDispatch)(c),l=s.updatePlan,d=s.setStep,p=K().selectedFeatures,f=r&&!r.is_free;return Object(u.createElement)(W,null,Object(u.createElement)("div",{className:"nux-launch-step__header"},Object(u.createElement)("div",null,Object(u.createElement)(A,null,Object(v.__)("Select a plan","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Pick a plan that’s right for you. Switch plans as your needs change. There’s no risk, you can cancel for a full refund within 30 days.","full-site-editing")))),Object(u.createElement)("div",{className:"nux-launch-step__body"},Object(u.createElement)(Hn,{currentDomain:r,onPlanSelect:function(e){l(e),null==n||n()},onPickDomainClick:function(){d(i.Domain)},disabledPlans:f?P()({},a.PLAN_FREE,Object(v.__)("Not available with custom domain","full-site-editing")):void 0,isExperimental:o,selectedFeatures:p})),Object(u.createElement)("div",{className:"nux-launch-step__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(G,{onClick:function(){null==t||t()}}))))}),qn=n(45),Vn=n.n(qn);var Gn=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Yn=function(e){function t(e,r,c,l,p){for(var m,f,h,b,x,w=0,O=0,E=0,k=0,S=0,L=0,F=h=m=0,D=0,R=0,B=0,I=0,z=c.length,U=z-1,H="",$="",q="",V="";D<z;){if(f=c.charCodeAt(D),D===U&&0!==O+k+E+w&&(0!==O&&(f=47===O?10:47),k=E=w=0,z++,U++),0===O+k+E+w){if(D===U&&(0<R&&(H=H.replace(d,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=c.charAt(D)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),h=1,I=++D;D<z;){switch(f=c.charCodeAt(D)){case 123:h++;break;case 125:h--;break;case 47:switch(f=c.charCodeAt(D+1)){case 42:case 47:e:{for(F=D+1;F<U;++F)switch(c.charCodeAt(F)){case 47:if(42===f&&42===c.charCodeAt(F-1)&&D+2!==F){D=F+1;break e}break;case 10:if(47===f){D=F+1;break e}}D=F}}break;case 91:f++;case 40:f++;case 34:case 39:for(;D++<U&&c.charCodeAt(D)!==f;);}if(0===h)break;D++}switch(h=c.substring(I,D),0===m&&(m=(H=H.replace(u,"").trim()).charCodeAt(0)),m){case 64:switch(0<R&&(H=H.replace(d,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:R=r;break;default:R=A}if(I=(h=t(r,R,h,f,p+1)).length,0<T&&(x=s(3,h,R=n(A,H,B),r,j,C,I,f,p,l),H=R.join(""),void 0!==x&&0===(I=(h=x.trim()).length)&&(f=0,h="")),0<I)switch(f){case 115:H=H.replace(_,a);case 100:case 109:case 45:h=H+"{"+h+"}";break;case 107:h=(H=H.replace(g,"$1 $2"))+"{"+h+"}",h=1===P||2===P&&o("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=H+h,112===l&&($+=h,h="")}else h="";break;default:h=t(r,n(r,H,B),h,l,p+1)}q+=h,h=B=R=F=m=0,H="",f=c.charCodeAt(++D);break;case 125:case 59:if(1<(I=(H=(0<R?H.replace(d,""):H).trim()).length))switch(0===F&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(I=(H=H.replace(" ",":")).length),0<T&&void 0!==(x=s(1,H,r,e,j,C,$.length,l,p,l))&&0===(I=(H=x.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){V+=H+c.charAt(D);break}default:58!==H.charCodeAt(I-1)&&($+=i(H,m,f,H.charCodeAt(2)))}B=R=F=m=0,H="",f=c.charCodeAt(++D)}}switch(f){case 13:case 10:47===O?O=0:0===1+m&&107!==l&&0<H.length&&(R=1,H+="\0"),0<T*M&&s(0,H,r,e,j,C,$.length,l,p,l),C=1,j++;break;case 59:case 125:if(0===O+k+E+w){C++;break}default:switch(C++,b=c.charAt(D),f){case 9:case 32:if(0===k+w+O)switch(S){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===k+O+w&&(R=B=1,b="\f"+b);break;case 108:if(0===k+O+w+N&&0<F)switch(D-F){case 2:112===S&&58===c.charCodeAt(D-3)&&(N=S);case 8:111===L&&(N=L)}break;case 58:0===k+O+w&&(F=D);break;case 44:0===O+E+k+w&&(R=1,b+="\r");break;case 34:case 39:0===O&&(k=k===f?0:0===k?f:k);break;case 91:0===k+O+E&&w++;break;case 93:0===k+O+E&&w--;break;case 41:0===k+O+w&&E--;break;case 40:if(0===k+O+w){if(0===m)switch(2*S+3*L){case 533:break;default:m=1}E++}break;case 64:0===O+E+k+w+F+h&&(h=1);break;case 42:case 47:if(!(0<k+w+E))switch(O){case 0:switch(2*f+3*c.charCodeAt(D+1)){case 235:O=47;break;case 220:I=D,O=42}break;case 42:47===f&&42===S&&I+2!==D&&(33===c.charCodeAt(I+2)&&($+=c.substring(I,D+1)),b="",O=0)}}0===O&&(H+=b)}L=S,S=f,D++}if(0<(I=$.length)){if(R=r,0<T&&(void 0!==(x=s(2,$,R,e,j,C,I,l,p,l))&&0===($=x).length))return V+$+q;if($=R.join(",")+"{"+$+"}",0!=P*N){switch(2!==P||o($,2)||(N=0),N){case 111:$=$.replace(y,":-moz-$1")+$;break;case 112:$=$.replace(v,"::-webkit-input-$1")+$.replace(v,"::-moz-$1")+$.replace(v,":-ms-input-$1")+$}N=0}}return V+$+q}function n(e,t,n){var i=t.trim().split(h);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<o;++s)for(var l=0;l<a;++l)t[c++]=r(e[l]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return m.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(x,"tb");break;case 232:c=a.replace(x,"tb-rl");break;case 220:c=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(O,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(O,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),F(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,c,u){for(var d,p=0,m=t;p<T;++p)switch(d=L[p].call(l,e,m,n,r,i,o,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:m=d}if(m!==t)return m}function c(e){return void 0!==(e=e.prefix)&&(F=null,e?"function"!=typeof e?P=1:(P=2,F=e):P=0),c}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<T){var i=s(-1,n,r,r,j,C,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(A,r,n,0,0);return 0<T&&(void 0!==(i=s(-2,o,r,r,j,C,o.length,0,0,0))&&(o=i)),"",N=0,C=j=1,o}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,m=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,O=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,C=1,j=1,N=0,P=1,A=[],L=[],T=0,F=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:T=L.length=0;break;default:if("function"==typeof t)L[T++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},l.set=c,void 0!==e&&c(e),l},Wn=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Kn="/*|*/";function Xn(e){e&&Zn.current.insert(e+"}")}var Zn={current:null},Jn=function(e,t,n,r,i,o,a,s,c,l){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Zn.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Kn;break;case 3:switch(s){case 102:case 112:return Zn.current.insert(n[0]+t),"";default:return t+(0===l?Kn:"")}case-2:t.split("/*|*/}").forEach(Xn)}},Qn=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new Yn(t);var i,o={};i=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),r.use(e.stylisPlugins)(Jn),a=function(e,t,n,i){var o=t.name;Zn.current=n,r(e,t.styles),i&&(c.inserted[o]=!0)};var c={key:n,sheet:new Gn({key:n,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:a};return c};function er(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var tr=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+r,i,e.sheet,!0);i=i.next}while(void 0!==i)}};var nr=function(e){for(var t,n=e.length,r=n^n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},rr={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ir=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},or=/[A-Z]|^ms/g,ar=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(e){return 45===e.charCodeAt(1)},cr=function(e){return null!=e&&"boolean"!=typeof e},lr=ir((function(e){return sr(e)?e:e.replace(or,"-$&").toLowerCase()})),ur=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ar,(function(e,t,n){return pr={name:t,styles:n,next:pr},t}))}return 1===rr[e]||sr(e)||"number"!=typeof t||0===t?t:t+"px"};function dr(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return pr={name:n.name,styles:n.styles,next:pr},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)pr={name:i.name,styles:i.styles,next:pr},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=dr(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":cr(a)&&(r+=lr(o)+":"+ur(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=dr(e,t,a,!1);switch(o){case"animation":case"animationName":r+=lr(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var c=0;c<a.length;c++)cr(a[c])&&(r+=lr(o)+":"+ur(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=pr,a=n(e);return pr=o,dr(e,t,a,r)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var pr,mr=/label:\s*([^\s;\n{]+)\s*;/g;var fr=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";pr=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=dr(n,t,o,!1)):i+=o[0];for(var a=1;a<e.length;a++)i+=dr(n,t,e[a],46===i.charCodeAt(i.length-1)),r&&(i+=o[a]);mr.lastIndex=0;for(var s,c="";null!==(s=mr.exec(i));)c+="-"+s[1];return{name:nr(i)+c,styles:i,next:pr}};var hr=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fr(t)},br=Object(d.createContext)("undefined"!=typeof HTMLElement?Qn():null),gr=Object(d.createContext)({}),vr=(br.Provider,function(e){return Object(d.forwardRef)((function(t,n){return Object(d.createElement)(br.Consumer,null,(function(r){return e(t,r,n)}))}))});Object.prototype.hasOwnProperty;d.Component;var yr=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function xr(e,t,n){var r=[],i=er(e,r,n);return r.length<2?n:i+t(r)}vr((function(e,t){return Object(d.createElement)(gr.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=fr(n,t.registered);return tr(t,i,!1),t.key+"-"+i.name},i={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return xr(t.registered,r,yr(n))},theme:n},o=e.children(i);return!0,o}))})),n(46);function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var wr=function(e,t){return"function"==typeof t?t(e):function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(n,!0).forEach((function(t){P()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{},t)},Or=Wn((function(e){return Wn((function(t){return wr(e,t)}))})),Er=function(e){return Object(d.createElement)(gr.Consumer,null,(function(t){return e.theme!==t&&(t=Or(t)(e.theme)),Object(d.createElement)(gr.Provider,{value:t},e.children)}))};var kr=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),Sr="#F6F7F7",Cr="#DCDCDE",jr="#A7AAAD",Nr="#8E9196",Pr="#646970",Ar="#2C3338",Lr="#008A20",Tr="#FFF",Fr="#000",Mr={colors:{background:Sr,surface:Tr,primary:"#C9356E",primaryBorder:"#700F3B",primaryOver:"#AB235A",highlight:"#006088",highlightBorder:"#002C40",highlightOver:"#004E6E",success:Lr,discount:Lr,disabledPaymentButtons:Sr,disabledPaymentButtonsAccent:Cr,disabledButtons:jr,borderColor:jr,borderColorLight:Cr,borderColorDark:Pr,upcomingStepBackground:Cr,textColor:Ar,textColorLight:Pr,textColorDark:Fr,error:"#D63638",warningBackground:"#F7EBEC",outline:"#5198D9",applePayButtonColor:Fr,applePayButtonRollOverColor:Ar,noticeBackground:Ar,defaultNoticeIconBackground:Nr,textColorOnDarkBackground:Tr,paypalGold:"#F0C443",paypalGoldHover:"#FFB900",modalBackground:"rgba( 255,255,255,0.9 )",disabledField:Sr,placeHolderTextColor:Nr},breakpoints:{desktopUp:"min-width: 960px",tabletUp:"min-width: 700px",bigPhoneUp:"min-width: 480px",smallPhoneUp:"min-width: 400px"},weights:{bold:"600",normal:"400"},fonts:{body:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif'},fontSize:{small:"14px"}},Dr=n(3),Rr=n.n(Dr);function Br(e){return e.filter((function(e){return e})).join(" ")}var Ir=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,zr=ir((function(e){return Ir.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Ur=function(e){return"theme"!==e&&"innerRef"!==e},Hr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?zr:Ur};function $r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$r(n,!0).forEach((function(t){P()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vr=function e(t,n){var r,i,o;void 0!==n&&(r=n.label,o=n.target,i=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var a=t.__emotion_real===t,s=a&&t.__emotion_base||t;"function"!=typeof i&&a&&(i=t.__emotion_forwardProp);var c=i||Hr(s),l=!c("as");return function(){var u=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{0,p.push(u[0][0]);for(var m=u.length,f=1;f<m;f++)p.push(u[f],u[0][f])}var h=vr((function(e,t,n){return Object(d.createElement)(gr.Consumer,null,(function(r){var a=l&&e.as||s,u="",m=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=r}"string"==typeof e.className?u=er(t.registered,m,e.className):null!=e.className&&(u=e.className+" ");var b=fr(p.concat(m),t.registered,f);tr(t,b,"string"==typeof a);u+=t.key+"-"+b.name,void 0!==o&&(u+=" "+o);var g=l&&void 0===i?Hr(a):c,v={};for(var y in e)l&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=u,v.ref=n||e.innerRef,Object(d.createElement)(a,v)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=p,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,void 0!==r?qr({},n||{},{},r):n).apply(void 0,p)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Vr[e]=Vr(e)}));var Gr=Vr,Yr=ue()("composite-checkout:checkout-error-boundary"),Wr=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1,currentError:null},n}return function(e,t){function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromError=function(e){return{currentError:e,hasError:!0}},t.prototype.componentDidCatch=function(e,t){if(this.props.onError){var n=e.message+"; Stack: "+e.stack+"; Component Stack: "+t.componentStack;Yr("reporting the error",n),this.props.onError(n)}},t.prototype.render=function(){return this.state.hasError?p.a.createElement(Kr,{errorMessage:this.props.errorMessage}):this.props.children},t}(p.a.Component);function Kr(e){var t=e.errorMessage;return p.a.createElement(Qr,null,t)}var Xr,Zr,Jr,Qr=Gr.div(Xr||(Xr=z(["\n\tmargin: 2em;\n\ttext-align: center;\n"],["\n\tmargin: 2em;\n\ttext-align: center;\n"])));!function(e){e.LOADING="loading",e.READY="ready",e.SUBMITTING="submitting",e.VALIDATING="validating",e.COMPLETE="complete"}(Zr||(Zr={})),function(e){e.NOT_STARTED="not-started",e.PENDING="pending",e.COMPLETE="complete",e.REDIRECTING="redirecting",e.ERROR="error"}(Jr||(Jr={}));var ei={transactionStatus:Jr.NOT_STARTED,previousTransactionStatus:Jr.NOT_STARTED,transactionError:null,transactionLastResponse:null,transactionRedirectUrl:null,resetTransaction:ni,setTransactionError:ni,setTransactionComplete:ni,setTransactionPending:ni,setTransactionRedirecting:ni},ti={allPaymentMethods:[],paymentMethodId:null,setPaymentMethodId:ni,showErrorMessage:ni,showInfoMessage:ni,showSuccessMessage:ni,onEvent:ni,formStatus:Zr.LOADING,setFormStatus:ni,transactionStatusManager:ei,paymentProcessors:{}};function ni(){}var ri=Object(d.createContext)(ti);ue()("composite-checkout:form-status");function ii(){var e=Object(d.useContext)(ri),t=e.formStatus,n=e.setFormStatus,r=Object(d.useMemo)((function(){return{setFormLoading:function(){return n(Zr.LOADING)},setFormReady:function(){return n(Zr.READY)},setFormSubmitting:function(){return n(Zr.SUBMITTING)},setFormValidating:function(){return n(Zr.VALIDATING)},setFormComplete:function(){return n(Zr.COMPLETE)}}}),[n]);return Object(d.useMemo)((function(){return F(F({},r),{formStatus:t})}),[t,r])}Gr.div(oi||(oi=z(["\n\tdisplay: flex;\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\twidth: 100%;\n\t}\n"],["\n\tdisplay: flex;\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\twidth: 100%;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp})),Gr.div(ai||(ai=z(["\n\tbackground: ",";\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tmax-width: 556px;\n\t}\n"],["\n\tbackground: ",";\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tmax-width: 556px;\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.colors.borderColorLight})),Gr.div(si||(si=z(["\n\tdisplay: none;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tdisplay: block;\n\t\tpadding: 24px;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid ",";\n\t\tmax-width: 328px;\n\t\tbackground: ",";\n\t\tmargin-left: 24px;\n\t}\n"],["\n\tdisplay: none;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tdisplay: block;\n\t\tpadding: 24px;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid ",";\n\t\tmax-width: 328px;\n\t\tbackground: ",";\n\t\tmargin-left: 24px;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.surface})),Gr.div(ci||(ci=z(["\n\tpadding: 24px;\n\tborder-top: 1px solid ",";\n\n\t:first-of-type {\n\t\tborder-top: 0;\n\t}\n"],["\n\tpadding: 24px;\n\tborder-top: 1px solid ",";\n\n\t:first-of-type {\n\t\tborder-top: 0;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}));var oi,ai,si,ci,li,ui,di,pi,mi,fi=function(){var e=hr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(li||(li=z(["\n 0% {\n opacity: 1;\n }\n\n 70% {\n \topacity: 0.5;\n }\n\n 100% {\n opacity: 1;\n }\n"],["\n 0% {\n opacity: 1;\n }\n\n 70% {\n \topacity: 0.5;\n }\n\n 100% {\n opacity: 1;\n }\n"])));Gr.h1(ui||(ui=z(["\n\tfont-size: 14px;\n\tcontent: '';\n\tfont-weight: ",";\n\tbackground: ",";\n\tcolor: ",";\n\twidth: 40%;\n\tmargin: 3px 0 0 35px;\n\tpadding: 0;\n\tposition: relative;\n\tanimation: "," 2s ease-in-out infinite;\n\theight: 20px;\n\n\t.rtl & {\n\t\tmargin: 3px 35px 0 0;\n\t}\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tleft: -35px;\n\t\ttop: -3px;\n\t\twidth: 27px;\n\t\theight: 27px;\n\t\tbackground: ",";\n\t\tborder-radius: 100%;\n\n\t\t.rtl & {\n\t\t\tright: -35px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n"],["\n\tfont-size: 14px;\n\tcontent: '';\n\tfont-weight: ",";\n\tbackground: ",";\n\tcolor: ",";\n\twidth: 40%;\n\tmargin: 3px 0 0 35px;\n\tpadding: 0;\n\tposition: relative;\n\tanimation: "," 2s ease-in-out infinite;\n\theight: 20px;\n\n\t.rtl & {\n\t\tmargin: 3px 35px 0 0;\n\t}\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tleft: -35px;\n\t\ttop: -3px;\n\t\twidth: 27px;\n\t\theight: 27px;\n\t\tbackground: ",";\n\t\tborder-radius: 100%;\n\n\t\t.rtl & {\n\t\t\tright: -35px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n"])),(function(e){return e.theme.weights.normal}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),fi,(function(e){return e.theme.colors.borderColorLight})),Gr.p(di||(di=z(["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 35px;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n\n\t.rtl & {\n\t\tmargin: 8px 35px 0 0;\n\t}\n"],["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 35px;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n\n\t.rtl & {\n\t\tmargin: 8px 35px 0 0;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),fi),Gr.p(pi||(pi=z(["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 0;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n"],["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 0;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),fi),Gr.div(mi||(mi=z(["\n\tbackground: ",";\n\tcontent: '';\n\tborder-top: 1px solid ",";\n\tpadding: 24px;\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 3px;\n\t\tfont-size: 14px;\n\t\twidth: 100%;\n\t\theight: 40px;\n\t}\n"],["\n\tbackground: ",";\n\tcontent: '';\n\tborder-top: 1px solid ",";\n\tpadding: 24px;\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 3px;\n\t\tfont-size: 14px;\n\t\twidth: 100%;\n\t\theight: 40px;\n\t}\n"])),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}));Jr.NOT_STARTED,Jr.NOT_STARTED;var hi=ue()("composite-checkout:payment-methods");function bi(){var e=Object(d.useContext)(ri),t=e.paymentMethodId,n=e.setPaymentMethodId,r=gi();if(!n)throw new Error("usePaymentMethod can only be used inside a CheckoutProvider");if(!t)return null;var i=r.find((function(e){return e.id===t}));return i||(hi("No payment method found matching id '"+t+"' in",r),null)}function gi(){var e=Object(d.useContext)(ri).allPaymentMethods;if(!e)throw new Error("useAllPaymentMethods cannot be used outside of CheckoutProvider");return e}ue()("composite-checkout:checkout-submit-button");var vi,yi=Gr("button")(vi||(vi=z(["\n\tdisplay: block;\n\twidth: ",";\n\tfont-size: 16px;\n\tborder-radius: ",";\n\tpadding: ",";\n\tborder: ",";\n\tbackground: ",";\n\tcolor: ",";\n\tfont-weight: ",";\n\ttext-decoration: ",";\n\n\t:hover {\n\t\tbackground: ",";\n\t\tborder-color: ",";\n\t\ttext-decoration: none;\n\t\tcolor: ",";\n\t\tcursor: ",";\n\t}\n\n\t:active {\n\t\tbackground: ",";\n\t\ttext-decoration: ",";\n\t\tcolor: ",";\n\t}\n\n\tsvg {\n\t\tmargin-bottom: -1px;\n\t\ttransform: translateY( 2px );\n\t\tfilter: ",";\n\t\topacity: ",";\n\t}\n\n\t&.is-busy {\n\t\tanimation: components-button__busy-animation 2500ms infinite linear;\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t"," 28%,\n\t\t\t"," 28%,\n\t\t\t"," 72%,\n\t\t\t"," 72%\n\t\t);\n\t\tbackground-size: 200px 100%;\n\t\topacity: 1;\n\t}\n\n\t@keyframes components-button__busy-animation {\n\t\t0% {\n\t\t\tbackground-position: 200px 0;\n\t\t}\n\t}\n"],["\n\tdisplay: block;\n\twidth: ",";\n\tfont-size: 16px;\n\tborder-radius: ",";\n\tpadding: ",";\n\tborder: ",";\n\tbackground: ",";\n\tcolor: ",";\n\tfont-weight: ",";\n\ttext-decoration: ",";\n\n\t:hover {\n\t\tbackground: ",";\n\t\tborder-color: ",";\n\t\ttext-decoration: none;\n\t\tcolor: ",";\n\t\tcursor: ",";\n\t}\n\n\t:active {\n\t\tbackground: ",";\n\t\ttext-decoration: ",";\n\t\tcolor: ",";\n\t}\n\n\tsvg {\n\t\tmargin-bottom: -1px;\n\t\ttransform: translateY( 2px );\n\t\tfilter: ",";\n\t\topacity: ",";\n\t}\n\n\t&.is-busy {\n\t\tanimation: components-button__busy-animation 2500ms infinite linear;\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t"," 28%,\n\t\t\t"," 28%,\n\t\t\t"," 72%,\n\t\t\t"," 72%\n\t\t);\n\t\tbackground-size: 200px 100%;\n\t\topacity: 1;\n\t}\n\n\t@keyframes components-button__busy-animation {\n\t\t0% {\n\t\t\tbackground-position: 200px 0;\n\t\t}\n\t}\n"])),(function(e){return e.fullWidth?"100%":"auto"}),(function(e){return"paypal"===e.buttonType?"50px":"2px"}),(function(e){return"text-button"===e.buttonType?"0":"10px 15px"}),(function(e){return!e.buttonType||e.disabled?"1px solid "+e.theme.colors.borderColor:"0"}),Oi,wi,(function(e){var t=e.disabled,n=e.buttonType,r=e.theme;if(t||"text-button"===n)return r.weights.normal;return r.weights.bold}),ki,_i,(function(e){return e.buttonType?"inherit":e.theme.colors.borderColorDark}),wi,(function(e){return e.disabled?"not-allowed":"pointer"}),_i,ki,wi,(function(e){var t=e.buttonType;return"grayscale( "+("primary"===t||"paypal"===t?"0":"100")+" ) invert( 0 );"}),(function(e){var t=e.buttonType;return"primary"===t||"paypal"===t?"1":"0.5"}),Oi,Ei,Ei,Oi),xi=function(e){var t=e.className,n=e.buttonType,r=e.isBusy,i=e.children,o=e.fullWidth,a=M(e,["className","buttonType","isBusy","children","fullWidth"]),s=Br(I(["checkout-button"],n?["is-status-"+n]:[],r?["is-busy"]:[],t?[t]:[]));return p.a.createElement(yi,F({fullWidth:o,buttonType:n,className:s},a),i)};function _i(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtons;switch(n){case"paypal":return r.paypalGoldHover;case"primary":return r.primaryOver;case"secondary":return r.highlightOver;case"text-button":case"borderless":default:return"none"}}function wi(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledButtons;switch(n){case"primary":case"secondary":return r.surface;case"text-button":return r.highlight;default:return r.textColor}}function Oi(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtons;switch(n){case"paypal":return r.paypalGold;case"primary":return r.primary;case"secondary":return r.highlight;default:return"none"}}function Ei(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtonsAccent;switch(n){case"paypal":return r.paypalGoldHover;case"primary":return r.primaryOver;case"secondary":return r.highlightOver;case"text-button":case"borderless":default:return"none"}}function ki(e){return"text-button"===e.buttonType?"underline":"none"}function Si(e){var t=e.className,n=e.id;return p.a.createElement(ji,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:t},p.a.createElement("mask",{id:n+"-check-icon-mask","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"16",height:"12"},p.a.createElement("path",{d:"M7.32916 13.2292L3.85416 9.75417L2.67083 10.9292L7.32916 15.5875L17.3292 5.58751L16.1542 4.41251L7.32916 13.2292Z"})),p.a.createElement("g",{mask:"url(#"+n+"-check-icon-mask)"},p.a.createElement("rect",{width:"20",height:"20"})))}Si.propTypes={className:Rr.a.string,id:Rr.a.string};var Ci,ji=Gr.svg(Ci||(Ci=z(["\n\tfill: #fff;\n"],["\n\tfill: #fff;\n"])));var Ni=function(e){var t=e.value,n=e.onClick,r=e.ariaLabel,i=M(e,["value","onClick","ariaLabel"]);return p.a.createElement(xi,F({onClick:n,buttonType:"primary","aria-label":r},i),t)},Pi=Object(d.createContext)({items:[],total:{id:"title",type:"total",label:"Total",amount:{currency:"USD",value:0,displayValue:"0"}}});function Ai(){var e=Object(d.useContext)(Pi),t=e.items,n=e.total;if(!t||!n)throw new Error("useLineItems can only be used inside a CheckoutProvider");return[t,n]}Gr.ul(Li||(Li=z(["\n\tmargin: 0;\n\tpadding: 0;\n"],["\n\tmargin: 0;\n\tpadding: 0;\n"]))),Gr.li(Ti||(Ti=z(["\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style-type: none;\n"],["\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style-type: none;\n"])));Gr.span(Fi||(Fi=z(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"]))),Gr.span(Mi||(Mi=z(["\n\tfont-weight: ",";\n"],["\n\tfont-weight: ",";\n"])),(function(e){return e.theme.weights.bold}));Gr.div(Di||(Di=z(["\n\tcolor: ",";\n\tfont-weight: ",";\n\tpadding: 24px 20px;\n"],["\n\tcolor: ",";\n\tfont-weight: ",";\n\tpadding: 24px 20px;\n"])),(function(e){return e.theme.colors.textColor}),(function(e){return e.theme.weights.bold})),Gr.div(Ri||(Ri=z(["\n\tborder-top: 1px solid ",";\n\tpadding: 24px 20px;\n"],["\n\tborder-top: 1px solid ",";\n\tpadding: 24px 20px;\n"])),(function(e){return e.theme.colors.borderColorLight}));var Li,Ti,Fi,Mi,Di,Ri,Bi,Ii,zi=Gr.div(Bi||(Bi=z(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"])));Gr(zi)(Ii||(Ii=z(["\n\tfont-weight: ",";\n"],["\n\tfont-weight: ",";\n"])),(function(e){return e.theme.weights.bold}));function Ui(e){var t=e.children,n=e.className;return p.a.createElement(Hi,{className:Br([n,"order-review-section"])},t)}Ui.propTypes={className:Rr.a.string};var Hi=Gr.div(qi||(qi=z(["\n\tmargin-bottom: 16px;\n"],["\n\tmargin-bottom: 16px;\n"])));function $i(e){var t=e.item,n=e.className,r="checkout-line-item-"+t.id;return p.a.createElement("div",{className:Br([n,"checkout-line-item"])},p.a.createElement("span",{id:r},t.label),p.a.createElement("span",{"aria-labelledby":r},t.amount.displayValue))}$i.propTypes={className:Rr.a.string,total:Rr.a.bool,isSummaryVisible:Rr.a.bool,item:Rr.a.shape({label:Rr.a.string,amount:Rr.a.shape({displayValue:Rr.a.string})})};var qi,Vi,Gi=Gr($i)(Vi||(Vi=z(["\n\tdisplay: flex;\n\twidth: 100%;\n\tjustify-content: space-between;\n\tfont-weight: ",";\n\tcolor: ",";\n\tfont-size: ",";\n\tpadding: ",";\n\tborder-bottom: ",";\n\n\t:first-of-type {\n\t\tpadding-top: 0;\n\t}\n"],["\n\tdisplay: flex;\n\twidth: 100%;\n\tjustify-content: space-between;\n\tfont-weight: ",";\n\tcolor: ",";\n\tfont-size: ",";\n\tpadding: ",";\n\tborder-bottom: ",";\n\n\t:first-of-type {\n\t\tpadding-top: 0;\n\t}\n"])),(function(e){var t=e.theme;return e.total?t.weights.bold:t.weights.normal}),(function(e){var t=e.theme;return e.total?t.colors.textColorDark:"inherit"}),(function(e){return e.total?"1.2em":"1em"}),(function(e){var t=e.total;return e.isSummaryVisible||t?0:"24px 0"}),(function(e){var t=e.theme,n=e.total;return e.isSummaryVisible||n?0:"1px solid "+t.colors.borderColorLight}));function Yi(e){var t=e.total,n=e.className;return p.a.createElement("div",{className:Br([n,"order-review-total"])},p.a.createElement(Gi,{total:!0,item:t}))}function Wi(e){var t=e.items,n=e.className,r=e.isSummaryVisible;return p.a.createElement("div",{className:Br([n,"order-review-line-items"])},t.map((function(e){return p.a.createElement(Gi,{isSummaryVisible:r,key:e.id,item:e})})))}function Ki(e){var t=e.className,n=Ai(),r=n[0],i=n[1];return p.a.createElement("div",{className:Br([t,"checkout-review-order"])},p.a.createElement(Ui,null,p.a.createElement(Wi,{items:r})),p.a.createElement(Ui,null,p.a.createElement(Yi,{total:i})))}function Xi(e){var t=e.checked,n=e.name,r=e.value,i=e.onChange,o=e.children,a=e.label,s=e.disabled,c=e.id,l=e.ariaLabel,u=Object(d.useState)(!1),m=u[0],f=u[1];return p.a.createElement(Zi,{disabled:s,isFocused:m,checked:t},p.a.createElement(Ji,{type:"radio",name:n,id:c,disabled:s,value:r,checked:t,onChange:i,onFocus:function(){f(!0)},onBlur:function(){f(!1)},readOnly:!i,"aria-label":l}),p.a.createElement(Qi,{checked:t,htmlFor:c,disabled:s},a),o&&p.a.createElement(io,{checked:t},o))}Wi.propTypes={className:Rr.a.string,isSummaryVisible:Rr.a.bool,items:Rr.a.arrayOf(Rr.a.shape({label:Rr.a.string,amount:Rr.a.shape({displayValue:Rr.a.string})}))},Ki.propTypes={className:Rr.a.string},Xi.propTypes={name:Rr.a.string.isRequired,id:Rr.a.string.isRequired,label:Rr.a.node.isRequired,disabled:Rr.a.bool,checked:Rr.a.bool,value:Rr.a.string.isRequired,onChange:Rr.a.func,ariaLabel:Rr.a.string.isRequired};var Zi=Gr.div(eo||(eo=z(["\n\tposition: relative;\n\tmargin-top: 8px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\toutline: ",";\n\n\t:first-of-type {\n\t\tmargin: 0;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tcontent: '';\n\t\tborder: "," solid ",";\n\t\tborder-radius: 3px;\n\t\tbox-sizing: border-box;\n\n\t\t.rtl & {\n\t\t\tright: 0;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t:hover::before {\n\t\tborder: 3px solid ",";\n\t}\n\n\t.payment-logos {\n\t\tdisplay: none;\n\n\t\t@media ( "," ) {\n\t\t\tdisplay: block;\n\t\t\tfilter: grayscale( "," );\n\t\t}\n\t}\n\n\t:hover .payment-logos {\n\t\t@media ( "," ) {\n\t\t\tfilter: grayscale( 0 );\n\t\t}\n\t}\n\n\tsvg {\n\t\tfilter: grayscale( "," );\n\t}\n\n\t:hover svg {\n\t\tfilter: grayscale( 0 );\n\t}\n\n\t",";\n"],["\n\tposition: relative;\n\tmargin-top: 8px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\toutline: ",";\n\n\t:first-of-type {\n\t\tmargin: 0;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tcontent: '';\n\t\tborder: "," solid ",";\n\t\tborder-radius: 3px;\n\t\tbox-sizing: border-box;\n\n\t\t.rtl & {\n\t\t\tright: 0;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t:hover::before {\n\t\tborder: 3px solid ",";\n\t}\n\n\t.payment-logos {\n\t\tdisplay: none;\n\n\t\t@media ( "," ) {\n\t\t\tdisplay: block;\n\t\t\tfilter: grayscale( "," );\n\t\t}\n\t}\n\n\t:hover .payment-logos {\n\t\t@media ( "," ) {\n\t\t\tfilter: grayscale( 0 );\n\t\t}\n\t}\n\n\tsvg {\n\t\tfilter: grayscale( "," );\n\t}\n\n\t:hover svg {\n\t\tfilter: grayscale( 0 );\n\t}\n\n\t",";\n"])),(function(e){var t=e.isFocused,n=e.theme;if(t)return n.colors.outline+" solid 2px";return"0"}),(function(e){return e.checked?"3px":"1px"}),(function(e){var t=e.checked,n=e.theme;return t?n.colors.highlight:n.colors.borderColor}),(function(e){return e.theme.colors.highlight}),(function(e){return e.theme.breakpoints.smallPhoneUp}),oo,(function(e){return e.theme.breakpoints.smallPhoneUp}),oo,(function(e){if(!e.disabled)return null;return"\n\t\t::before,\n\t\t:hover::before {\n\t\t\tborder: 1px solid lightgray;\n\t\t}\n\n\t\tsvg,\n\t\t:hover svg {\n\t\t\tfilter: grayscale( 100% );\n\t\t\topacity: 50%;\n\t\t}\n\t"}));var Ji=Gr.input(to||(to=z(["\n\tposition: absolute;\n\topacity: 0 !important;\n\n\tclear: none;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tline-height: 0;\n\theight: 16px;\n\tmargin: 2px 0 0;\n\tfloat: left;\n\toutline: 0;\n\tpadding: 0;\n\ttext-align: center;\n\tvertical-align: middle;\n\twidth: 16px;\n\tmin-width: 16px;\n\tappearance: none;\n"],["\n\tposition: absolute;\n\topacity: 0 !important;\n\n\tclear: none;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tline-height: 0;\n\theight: 16px;\n\tmargin: 2px 0 0;\n\tfloat: left;\n\toutline: 0;\n\tpadding: 0;\n\ttext-align: center;\n\tvertical-align: middle;\n\twidth: 16px;\n\tmin-width: 16px;\n\tappearance: none;\n"]))),Qi=Gr.label(no||(no=z(["\n\tposition: relative;\n\tpadding: 16px 14px 16px 40px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n\tfont-size: 14px;\n\n\t.rtl & {\n\t\tpadding: 16px 40px 16px 14px;\n\t}\n\n\t:hover {\n\t\tcursor: pointer;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 16px;\n\t\theight: 16px;\n\t\tcontent: '';\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 100%;\n\t\ttop: 19px;\n\t\tleft: 16px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 2;\n\n\t\t.rtl & {\n\t\t\tright: 16px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t::after {\n\t\tdisplay: block;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\tcontent: '';\n\t\tborder-radius: 100%;\n\t\ttop: 23px;\n\t\tleft: 20px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 3;\n\n\t\t.rtl & {\n\t\t\tright: 20px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t",";\n"],["\n\tposition: relative;\n\tpadding: 16px 14px 16px 40px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n\tfont-size: 14px;\n\n\t.rtl & {\n\t\tpadding: 16px 40px 16px 14px;\n\t}\n\n\t:hover {\n\t\tcursor: pointer;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 16px;\n\t\theight: 16px;\n\t\tcontent: '';\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 100%;\n\t\ttop: 19px;\n\t\tleft: 16px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 2;\n\n\t\t.rtl & {\n\t\t\tright: 16px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t::after {\n\t\tdisplay: block;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\tcontent: '';\n\t\tborder-radius: 100%;\n\t\ttop: 23px;\n\t\tleft: 20px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 3;\n\n\t\t.rtl & {\n\t\t\tright: 20px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t",";\n"])),(function(e){return e.theme.colors.borderColor}),(function(e){return e.theme.colors.surface}),(function(e){var t=e.checked,n=e.theme;return t?n.colors.highlight:n.colors.surface}),(function(e){if(!e.disabled)return null;return"\n\t\tcolor: lightgray;\n\t\tfont-style: italic;\n\n\t\t:hover {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t::before {\n\t\t\tborder: 1px solid lightgray;\n\t\t\tbackground: lightgray;\n\t\t}\n\n\t\t::after {\n\t\t\tbackground: white;\n\t\t}\n\n\t\tspan {\n\t\t\tcolor: lightgray;\n\t\t}\n\t"}));var eo,to,no,ro,io=Gr.div(ro||(ro=z(["\n\tdisplay: ",";\n"],["\n\tdisplay: ",";\n"])),(function(e){return e.checked?"block":"none"}));function oo(e){return e.checked?0:"100%"}function ao(){var e=Object(d.useContext)(ri).onEvent;if(!e)throw new Error("useEvents can only be used inside a CheckoutProvider");return e}var so=ue()("composite-checkout:checkout-payment-methods");function co(e){var t=e.summary,n=e.isComplete,r=e.className,i=$().__,o=ao(),a=Object(d.useCallback)((function(e){return o({type:"PAYMENT_METHOD_LOAD_ERROR",payload:e})}),[o]),s=bi(),c=function(){var e=Object(d.useContext)(ri),t=e.paymentMethodId,n=e.setPaymentMethodId;if(!n)throw new Error("usePaymentMethodId can only be used inside a CheckoutProvider");return[t,n]}()[1],l=function(e){so("setting payment method to",e),o({type:"PAYMENT_METHOD_SELECT",payload:e}),c(e)},u=gi();return t&&n&&s?(so("rendering selected paymentMethod",s),p.a.createElement("div",{className:Br([r,"checkout-payment-methods"])},p.a.createElement(Wr,{errorMessage:i("There was a problem with this payment method."),onError:a},p.a.createElement(lo,{id:s.id,label:s.label,activeContent:s.activeContent,inactiveContent:s.inactiveContent,checked:!0,summary:!0,ariaLabel:s.getAriaLabel(i)})))):t?(so("summary requested, but no complete paymentMethod is selected; isComplete:",n,"paymentMethod:",s),null):(so("rendering paymentMethods",u),p.a.createElement("div",{className:Br([r,"checkout-payment-methods"])},p.a.createElement(po,null,u.map((function(e){return p.a.createElement(Wr,{key:e.id,errorMessage:Object(v.sprintf)(i("There was a problem with the payment method: %s"),e.id),onError:a},p.a.createElement(lo,{id:e.id,label:e.label,activeContent:e.activeContent,inactiveContent:e.inactiveContent,checked:(null==s?void 0:s.id)===e.id,onClick:l,ariaLabel:e.getAriaLabel(i)}))})))))}function lo(e){var t=e.id,n=e.label,r=e.activeContent,i=e.inactiveContent,o=e.checked,a=e.onClick,s=e.ariaLabel,c=e.summary,l=ii().formStatus;return c?p.a.createElement(p.a.Fragment,null,i&&i):p.a.createElement(Xi,{name:"paymentMethod",value:t,id:t,checked:o,disabled:l!==Zr.READY,onChange:a?function(){return a(t)}:void 0,ariaLabel:s,label:n},r&&r)}co.propTypes={summary:Rr.a.bool,isComplete:Rr.a.bool.isRequired,className:Rr.a.string},lo.propTypes={id:Rr.a.string.isRequired,onClick:Rr.a.func,checked:Rr.a.bool.isRequired,ariaLabel:Rr.a.string.isRequired,activeContent:Rr.a.node,label:Rr.a.node,inactiveContent:Rr.a.node,summary:Rr.a.bool};var uo,po=Gr.div(uo||(uo=z(["\n\tmargin-bottom: 16px;\n"],["\n\tmargin-bottom: 16px;\n"])));ue()("composite-checkout:checkout");var mo=function(e){var t=e.children,n=e.className;return p.a.createElement(go,{className:Br([n,"checkout__summary-area"])},t)},fo=Gr.div(Po||(Po=z(["\n\tbackground: ",";\n\tborder-bottom: 1px solid ",";\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tborder-bottom: none 0;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n"],["\n\tbackground: ",";\n\tborder-bottom: 1px solid ",";\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tborder-bottom: none 0;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.smallPhoneUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.desktopUp}),(function(e){return e.theme.colors.borderColorLight}));function ho(e){var t=e.errorMessage,n=e.editButtonText,r=e.editButtonAriaLabel,i=e.nextStepButtonText,o=e.validatingButtonText,a=e.nextStepButtonAriaLabel,s=e.validatingButtonAriaLabel,c=e.isStepActive,l=e.isStepComplete,u=e.className,d=e.stepNumber,m=e.stepId,f=e.titleContent,h=e.goToThisStep,b=e.goToNextStep,g=e.activeStepContent,v=e.formStatus,y=e.completeStepContent,x=e.onError,_=$().__;return p.a.createElement(Wr,{errorMessage:t||_("There was an error with this step."),onError:x},p.a.createElement(xo,{className:u},p.a.createElement(_o,{id:m,stepNumber:d,title:f,isActive:c,isComplete:l,onEdit:v===Zr.READY&&l&&h&&!c?h:void 0,editButtonText:n||_("Edit"),editButtonAriaLabel:r||_("Edit this step")}),p.a.createElement(Go,{isVisible:c,className:"checkout-steps__step-content"},g,b&&c&&p.a.createElement(Ni,{onClick:b,value:v===Zr.VALIDATING?o||_("Please wait…"):i||_("Continue"),ariaLabel:v===Zr.VALIDATING?s||_("Please wait…"):a||_("Continue to next step"),buttonType:"primary",disabled:v!==Zr.READY,isBusy:v===Zr.VALIDATING})),l&&y?p.a.createElement(Yo,{isVisible:!c,className:"checkout-steps__step-complete-content"},y):null))}ho.propTypes={errorMessage:Rr.a.string,onError:Rr.a.func,editButtonAriaLabel:Rr.a.string,editButtonText:Rr.a.string,nextStepButtonText:Rr.a.string,nextStepButtonAriaLabel:Rr.a.string,isStepActive:Rr.a.bool.isRequired,isStepComplete:Rr.a.bool.isRequired,className:Rr.a.string,stepNumber:Rr.a.number,stepId:Rr.a.string.isRequired,titleContent:Rr.a.node.isRequired,goToThisStep:Rr.a.func,goToNextStep:Rr.a.func,activeStepContent:Rr.a.node,formStatus:Rr.a.string,completeStepContent:Rr.a.node,validatingButtonText:Rr.a.string,validatingButtonAriaLabel:Rr.a.string};Gr.div(Ao||(Ao=z(["\n\t*:focus {\n\t\toutline: "," solid 2px;\n\t}\n"],["\n\t*:focus {\n\t\toutline: "," solid 2px;\n\t}\n"])),(function(e){return e.theme.colors.outline}));var bo=Gr.div(Lo||(Lo=z(["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmargin: 0 auto 32px;\n\t}\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tmax-width: none;\n\t}\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmargin: 0 auto 32px;\n\t}\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tmax-width: none;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),go=Gr.div(To||(To=z(["\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin-right: 0;\n\t\tmargin-left: 24px;\n\t\torder: 2;\n\t\twidth: 328px;\n\n\t\t.rtl & {\n\t\t\tmargin-right: 24px;\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n"],["\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin-right: 0;\n\t\tmargin-left: 24px;\n\t\torder: 2;\n\t\twidth: 328px;\n\n\t\t.rtl & {\n\t\t\tmargin-right: 24px;\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),vo=Gr.div(Fo||(Fo=z(["\n\tbackground: ",";\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t&.checkout__step-wrapper--last-step {\n\t\tmargin-bottom: 100px;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin: 0;\n\t\torder: 1;\n\t\twidth: 556px;\n\t}\n"],["\n\tbackground: ",";\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t&.checkout__step-wrapper--last-step {\n\t\tmargin-bottom: 100px;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin: 0;\n\t\torder: 1;\n\t\twidth: 556px;\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.smallPhoneUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),yo=Gr.div(Mo||(Mo=z(["\n\tbackground: ",";\n\tpadding: 24px;\n\tbottom: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tz-index: 10;\n\tborder-top-width: 0;\n\tborder-top-style: solid;\n\tborder-top-color: ",";\n\n\t.checkout__step-wrapper--last-step & {\n\t\tborder-top-width: 1px;\n\t\tposition: fixed;\n\t}\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t.checkout-button {\n\t\twidth: 100%;\n\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\twidth: calc( 100% - 60px );\n\t\t}\n\t}\n\n\t@media ( "," ) {\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\tposition: relative;\n\t\t\tborder: 0;\n\n\t\t\t.checkout-button {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"],["\n\tbackground: ",";\n\tpadding: 24px;\n\tbottom: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tz-index: 10;\n\tborder-top-width: 0;\n\tborder-top-style: solid;\n\tborder-top-color: ",";\n\n\t.checkout__step-wrapper--last-step & {\n\t\tborder-top-width: 1px;\n\t\tposition: fixed;\n\t}\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t.checkout-button {\n\t\twidth: 100%;\n\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\twidth: calc( 100% - 60px );\n\t\t}\n\t}\n\n\t@media ( "," ) {\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\tposition: relative;\n\t\t\tborder: 0;\n\n\t\t\t.checkout-button {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"])),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.tabletUp}));var xo=Gr.div(Do||(Do=z(["\n\tposition: relative;\n\tborder-bottom: 1px solid ",";\n\tpadding: 16px;\n\n\t&.checkout-step {\n\t\tbackground: ",";\n\t}\n\n\t&.checkout-step.is-active,\n\t&.checkout-step.is-complete {\n\t\tbackground: ",";\n\t}\n\n\t@media ( "," ) {\n\t\tpadding: 24px;\n\t}\n"],["\n\tposition: relative;\n\tborder-bottom: 1px solid ",";\n\tpadding: 16px;\n\n\t&.checkout-step {\n\t\tbackground: ",";\n\t}\n\n\t&.checkout-step.is-active,\n\t&.checkout-step.is-complete {\n\t\tbackground: ",";\n\t}\n\n\t@media ( "," ) {\n\t\tpadding: 24px;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.tabletUp}));function _o(e){var t=e.id,n=e.className,r=e.stepNumber,i=e.title,o=e.isActive,a=e.isComplete,s=e.onEdit,c=e.editButtonText,l=e.editButtonAriaLabel,u=$().__,d=!!s;return p.a.createElement(Eo,{isComplete:a,isActive:o,className:Br([n,"checkout-step__header"])},p.a.createElement(wo,{isComplete:a,isActive:o,id:t},r||null),p.a.createElement(Oo,{fullWidth:!d,isActive:o},i),d&&p.a.createElement(No,{className:"checkout-step__edit-button",buttonType:"text-button",onClick:s,"aria-label":l||u("Edit this step")},c||u("Edit")))}function wo(e){var t=e.isComplete,n=e.isActive,r=e.className,i=e.children,o=e.id,a=!n&&t;return p.a.createElement(ko,{className:Br([r,"checkout-step__stepper"])},p.a.createElement(So,{isComplete:a},p.a.createElement(Co,{isComplete:a,isActive:n},i),p.a.createElement(jo,null,p.a.createElement(Si,{id:o}))))}_o.propTypes={id:Rr.a.string,className:Rr.a.string,stepNumber:Rr.a.number,title:Rr.a.node.isRequired,isActive:Rr.a.bool,isComplete:Rr.a.bool,editButtonText:Rr.a.string,editButtonAriaLabel:Rr.a.string,onEdit:Rr.a.func},wo.propTypes={id:Rr.a.string,className:Rr.a.string,isComplete:Rr.a.bool,isActive:Rr.a.bool};var Oo=Gr.span(Ro||(Ro=z(["\n\tcolor: ",";\n\tfont-weight: ",";\n\tmargin-right: ",";\n\tflex: ",";\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: ",";\n\t}\n"],["\n\tcolor: ",";\n\tfont-weight: ",";\n\tmargin-right: ",";\n\tflex: ",";\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: ",";\n\t}\n"])),(function(e){return e.isActive?e.theme.colors.textColorDark:e.theme.colors.textColor}),(function(e){return e.isActive?e.theme.weights.bold:e.theme.weights.normal}),(function(e){return e.fullWidth?"0":"8px"}),(function(e){return e.fullWidth?"1":"inherit"}),(function(e){return e.fullWidth?"0":"8px"})),Eo=Gr.h2(Bo||(Bo=z(["\n\tfont-size: 16px;\n\tdisplay: flex;\n\twidth: 100%;\n\talign-items: center;\n\tmargin: 0 0 ",";\n"],["\n\tfont-size: 16px;\n\tdisplay: flex;\n\twidth: 100%;\n\talign-items: center;\n\tmargin: 0 0 ",";\n"])),(function(e){return e.isComplete||e.isActive?"8px":"0"})),ko=Gr.div(Io||(Io=z(["\n\tposition: relative;\n\twidth: 27px;\n\theight: 27px;\n\tmargin-right: 8px;\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: 8px;\n\t}\n"],["\n\tposition: relative;\n\twidth: 27px;\n\theight: 27px;\n\tmargin-right: 8px;\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: 8px;\n\t}\n"]))),So=Gr.div(zo||(zo=z(["\n\tposition: relative;\n\ttransform-origin: center center;\n\ttransition: transform 0.3s 0.1s ease-out;\n\ttransform-style: preserve-3d;\n\ttransform: ",";\n"],["\n\tposition: relative;\n\ttransform-origin: center center;\n\ttransition: transform 0.3s 0.1s ease-out;\n\ttransform-style: preserve-3d;\n\ttransform: ",";\n"])),(function(e){return e.isComplete?"rotateY(180deg)":"rotateY(0)"})),Co=Gr.div(Uo||(Uo=z(["\n\tbackground: ",";\n\tfont-weight: normal;\n\twidth: 27px;\n\theight: 27px;\n\tline-height: 27px;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\tborder-radius: 50%;\n\tcolor: ",";\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbackface-visibility: hidden;\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t// Reason: The IE media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tz-index: ",";\n\t}\n"],["\n\tbackground: ",";\n\tfont-weight: normal;\n\twidth: 27px;\n\theight: 27px;\n\tline-height: 27px;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\tborder-radius: 50%;\n\tcolor: ",";\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbackface-visibility: hidden;\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t// Reason: The IE media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tz-index: ",";\n\t}\n"])),(function(e){var t=e.isComplete,n=e.isActive,r=e.theme;if(n)return r.colors.highlight;if(t)return r.colors.success;return r.colors.upcomingStepBackground}),(function(e){var t=e.isComplete,n=e.isActive,r=e.theme;if(t||n)return r.colors.surface;return r.colors.textColor}),(function(e){return e.isComplete?"0":"1"})),jo=Gr(Co)(Ho||(Ho=z(["\n\tbackground: ",";\n\ttransform: rotateY( 180deg );\n\t// Reason: media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tbackface-visibility: visible;\n\t\tz-index: ",";\n\t}\n\n\tsvg {\n\t\tmargin-top: 4px;\n\t}\n"],["\n\tbackground: ",";\n\ttransform: rotateY( 180deg );\n\t// Reason: media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tbackface-visibility: visible;\n\t\tz-index: ",";\n\t}\n\n\tsvg {\n\t\tmargin-top: 4px;\n\t}\n"])),(function(e){return e.theme.colors.success}),(function(e){return e.isComplete?"1":"0"})),No=Gr(xi)($o||($o=z(["\n\tfont-size: 14px;\n\tpadding-top: 1px;\n"],["\n\tfont-size: 14px;\n\tpadding-top: 1px;\n"])));var Po,Ao,Lo,To,Fo,Mo,Do,Ro,Bo,Io,zo,Uo,Ho,$o,qo,Vo,Go=Gr.div(qo||(qo=z(["\n\tcolor: ",";\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"],["\n\tcolor: ",";\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"])),(function(e){return e.theme.colors.textColor}),(function(e){return e.isVisible?"block":"none"})),Yo=Gr.div(Vo||(Vo=z(["\n\tcolor: ",";\n\tfont-size: 14px;\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"],["\n\tcolor: ",";\n\tfont-size: 14px;\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"])),(function(e){return e.theme.colors.textColorLight}),(function(e){return e.isVisible?"block":"none"}));n(95);var Wo,Ko,Xo=Object(u.createElement)(O,{icon:kr,size:17}),Zo=function(e){var t=e.onNextStep,n=e.onPrevStep,r=Object(m.useSelect)((function(e){return e(c).getSelectedDomain()})),i=Object(m.useSelect)((function(e){return e(c).getSelectedPlan()})),o=Object(m.useSelect)((function(e){return e(l).getPrices()})),a=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),s=Object(m.useSelect)((function(e){return e(c).isStepCompleted})),d=Object(m.useSelect)((function(e){return e(c).isFlowCompleted()})),p=Object(g.useEntityProp)("root","site","title"),f=b()(p,1)[0],h=K().currentDomainName,x=function(){var e,t=re();return null===(e=Object(m.useSelect)((function(e){if(t&&!(t.length<2))return e("automattic/domains/suggestions").getDomainSuggestions(t,{include_wordpressdotcom:!1,include_dotblogsubdomain:!1,quantity:1,locale:"en"})}),[t]))||void 0===e?void 0:e[0]}(),_=re(),w=Object(m.useDispatch)(c).setStep,O=Object(u.createElement)("div",{className:"nux-launch__summary-item"},Object(u.createElement)("p",null,Object(v.__)("Site","full-site-editing"),": ",f)),E=Object(u.createElement)("div",{className:"nux-launch__summary-item"},(null==r?void 0:r.domain_name)?Object(u.createElement)("p",null,Object(v.__)("Custom domain","full-site-editing"),": ",r.domain_name):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",null,Object(v.__)("Free site address","full-site-editing"),": ",h),Object(u.createElement)(y.Tip,null,_?Object(u.createInterpolateElement)(Object(v.__)("A custom site address like <DomainName /> (<Link>now available!</Link>) is more unique and can help with your SEO ranking.","full-site-editing"),{DomainName:Object(u.createElement)("span",{className:j()("nux-launch__summary-item__domain-name",{"is-loading":!x})},(null==x?void 0:x.domain_name)||"loading-example.com"),Link:Object(u.createElement)(y.Button,{isLink:!0,onClick:function(){return w(a.Domain)}})}):Object(v.__)("A custom site address is more unique and can help with your SEO ranking.","full-site-editing")))),k=Object(u.createElement)("div",{className:"nux-launch__summary-item"},i&&!(null==i?void 0:i.isFree)?Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"nux-launch__summary-item__plan-name"},"WordPress.com ",i.title),Object(v.__)("Plan subscription","full-site-editing"),": ",o[i.storeSlug]," ",Object(v.__)("per month, billed yearly","full-site-editing")):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"nux-launch__summary-item__plan-name"},"WordPress.com Free"),Object(u.createElement)("p",null,Object(v.__)("Plan subscription: Free forever","full-site-editing")),Object(u.createElement)(y.Tip,null,Object(u.createInterpolateElement)(Object(v.__)("<Link>Upgrade to Premium</Link> to get access to 13GB storage space, payment collection options, 24/7 Live Chat support, and more. Not sure? Give it a spin—we offer 30-day full-refunds, guaranteed.","full-site-editing"),{Link:Object(u.createElement)(y.Button,{isLink:!0,onClick:function(){return w(a.Plan)}})}))));return Object(u.createElement)(W,null,Object(u.createElement)("div",{className:"nux-launch-step__header"},Object(u.createElement)("div",null,Object(u.createElement)(A,null,Object(v.__)("Launch your site","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Your site will be made public and ready to share with others.","full-site-editing")))),Object(u.createElement)("div",{className:"nux-launch-step__body"},Object(u.createElement)(Er,{theme:Mr},Object(u.createElement)(bo,null,s(a.Plan)&&Object(u.createElement)(mo,null,Object(u.createElement)(fo,{className:"nux-launch__feature-list"},Object(u.createElement)("h3",{className:"nux-launch__feature-list-title"},Object(v.__)("Included in your plan","full-site-editing")),Object(u.createElement)("ul",{className:"nux-launch__feature-item-group"},null==i?void 0:i.features.map((function(e,t){return Object(u.createElement)("li",{key:t,className:"nux-launch__feature-item"},Xo," ",e)}))),Object(u.createElement)("p",null,Object(v.__)("Questions?","full-site-editing")," ",Object(u.createElement)(y.Button,{isLink:!0,href:"https://wordpress.com/help/contact",target:"_blank"},Object(v.__)("Ask a Happiness Engineer","full-site-editing"))))),Object(u.createElement)(vo,null,Object(u.createElement)(ho,{isStepActive:!1,titleContent:Object(v.__)("Your site name","full-site-editing"),isStepComplete:s(a.Name),goToThisStep:function(){return w(a.Name)},completeStepContent:O,stepId:"name",formStatus:Zr.READY}),Object(u.createElement)(ho,{isStepActive:!1,titleContent:Object(v.__)("Your domain","full-site-editing"),isStepComplete:s(a.Domain),goToThisStep:function(){return w(a.Domain)},completeStepContent:E,stepId:"domain",formStatus:Zr.READY}),Object(u.createElement)(ho,{isStepActive:!1,titleContent:Object(v.__)("Your plan","full-site-editing"),isStepComplete:s(a.Plan),goToThisStep:function(){return w(a.Plan)},completeStepContent:k,stepId:"plan",formStatus:Zr.READY}),Object(u.createElement)(yo,null,Object(u.createElement)(y.Button,{isPrimary:!0,disabled:!d,onClick:t,className:"nux-launch__submit-button"},Object(v.__)("Launch your site","full-site-editing"))))))),Object(u.createElement)("div",{className:"nux-launch-step__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(G,{onClick:function(){null==n||n()}}))))},Jo=(n(98),function(e){var t,n=e.onSubmit,r=Object(m.useSelect)((function(e){return e(c).getState()})).step,i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),a=Object(m.useSelect)((function(e){return e(c).getFirstIncompleteStep()})),s=Object(m.useDispatch)(c),l=s.setStep,p=s.setSidebarFullscreen,f=s.unsetSidebarFullscreen,h=(t={},P()(t,i.Name,ie),P()(t,i.Domain,et),P()(t,i.Plan,$n),P()(t,i.Final,Zo),t),b=o.indexOf(r),g=h[r];return d.useEffect((function(){a&&a!==i.Name&&l(a)}),[]),Object(u.createElement)(g,{onPrevStep:function(){var e=b-1;e<0&&(e=0,p()),l(o[e])},onNextStep:function(){var e=b+1;e>o.length-1&&(null==n||n()),f(),l(o[e])}})}),Qo=Object(u.createElement)(y.SVG,{viewBox:"0 0 24 24"},Object(u.createElement)(y.Circle,{cx:"12",cy:"12",r:"5"})),ea=function(e){var t=e.title,n=e.isCompleted,r=e.isCurrent,i=e.isDisabled,o=e.onClick;return Object(u.createElement)(y.Button,{className:j()("nux-launch-menu__item",{"is-current":r,"is-completed":n}),onClick:o,disabled:i,isLink:!0},Object(u.createElement)(O,{icon:n?kr:Qo,size:16}),Object(u.createElement)("span",null,t))},ta=(n(99),function(e){var t,n=e.onMenuItemClick,r=Object(m.useSelect)((function(e){return e(c).getState()})).step,i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),a=Object(m.useSelect)((function(e){return e(c).isStepCompleted})),s=Object(m.useSelect)((function(e){return e(c).isFlowStarted()})),l=(t={},P()(t,i.Name,Object(v.__)("Name your site","full-site-editing")),P()(t,i.Domain,Object(v.__)("Select a domain","full-site-editing")),P()(t,i.Plan,Object(v.__)("Select a plan","full-site-editing")),P()(t,i.Final,Object(v.__)("Launch your site","full-site-editing")),t),d=Object(m.useDispatch)(c).setStep;return Object(u.createElement)("div",{className:"nux-launch-menu"},Object(u.createElement)("h4",null,Object(v.__)("Site Launch Steps","full-site-editing")),Object(u.createElement)("div",{className:"nux-launch-menu__item-group"},o.map((function(e){return Object(u.createElement)(ea,{key:e,title:l[e],isCompleted:a(e),isCurrent:e===r,onClick:function(){return function(e){d(e),n(e)}(e)},isDisabled:e===i.Final&&!s})}))))}),na=(n(100),function(){var e=Object(m.useDispatch)(c),t=e.setStep,n=e.unsetSidebarFullscreen,r=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()}));return Object(u.createElement)("div",{className:"nux-launch-sidebar"},Object(u.createElement)("div",{className:"nux-launch-sidebar__header"},Object(u.createElement)(A,null,Object(v.__)("You're almost there!","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Complete the following steps to launch your site. Your site will remain private until you Launch.","full-site-editing"))),Object(u.createElement)("div",{className:"nux-launch-sidebar__body"},Object(u.createElement)(ta,{onMenuItemClick:function(){n()}})),Object(u.createElement)("div",{className:"nux-launch-sidebar__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(Y,{onClick:function(){t(r[0]),n()}},Object(v.__)("Get Started","full-site-editing")))))}),ra=(n(101),function(){var e=$().__,t=Object(m.useSelect)((function(e){return e(c).getState()})).step,n=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),r=n.indexOf(t)+1,i=n.length,o=Object(v.sprintf)(e("%1$d of %2$d","full-site-editing"),r,i);return Object(u.createElement)("div",{className:"nux-launch-progress"},o)}),ia=(n(102),function(e){var t=e.onClose,n=Object(m.useSelect)((function(e){return e(c).getState()})),r=n.step,i=n.isSidebarFullscreen,o=Object(m.useDispatch)(c).launchSite,a=d.useState(!1),s=b()(a,2),l=s[0],p=s[1],f=function(){p(!0),o()};return K().isPaidPlan&&!l&&f(),Object(u.createElement)(y.Modal,{open:!0,className:j()("nux-launch-modal","step-".concat(r),i?"is-sidebar-fullscreen":""),overlayClassName:"nux-launch-modal-overlay",bodyOpenClassName:"has-nux-launch-modal",onRequestClose:t,title:""},l?Object(u.createElement)("div",{className:"nux-launch-modal-body__launching"},Object(v.__)("Hooray! Your site will be ready shortly.","full-site-editing")):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("div",{className:"nux-launch-modal-body"},Object(u.createElement)("div",{className:"nux-launch-modal-header"},Object(u.createElement)("div",{className:"nux-launch-modal-header__wp-logo"},Object(u.createElement)(O,{icon:k,size:36})),Object(u.createElement)(ra,null)),Object(u.createElement)(g.EntityProvider,{kind:"root",type:"site"},Object(u.createElement)(Jo,{onSubmit:f}))),Object(u.createElement)("div",{className:"nux-launch-modal-aside"},Object(u.createElement)(na,null)),Object(u.createElement)(y.Button,{isLink:!0,className:"nux-launch-modal__close-button",onClick:t,"aria-label":Object(v.__)("Close dialog","full-site-editing"),disabled:!t},Object(u.createElement)("span",null,Object(u.createElement)(O,{icon:S,size:24})))))});Wo="a8c-editor-site-launch",Ko={render:function(){var e=Object(m.useSelect)((function(e){return e(c).getState()})).isSidebarOpen,t=Object(m.useDispatch)(c),n=t.closeSidebar,r=t.setSidebarFullscreen,i=t.unsetSidebarFullscreen;return function(){var e=K().launchStatus,t=Object(m.useSelect)((function(e){return e(c).getState()})),n=t.plan,r=t.domain,i=Object(m.useSelect)((function(e){return e(l).isPlanEcommerce(null==n?void 0:n.storeSlug)})),o=Object(m.useDispatch)(s),a=o.getCart,u=o.setCart;d.useEffect((function(){if(e){if(n&&!(null==n?void 0:n.isFree)){var t={product_id:n.productId,product_slug:n.storeSlug,extra:{source:"gutenboarding"}},o={meta:null==r?void 0:r.domain_name,product_id:null==r?void 0:r.product_id,extra:{privacy_available:null==r?void 0:r.supports_privacy,privacy:null==r?void 0:r.supports_privacy,source:"gutenboarding"}};return void function(){var e=te()(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(window._currentSiteId);case 2:return n=e.sent,e.next=5,u(window._currentSiteId,Q()(Q()({},n),{},{products:[].concat(Z()(n.products),[t,o])}));case 5:r=Object(ne.addQueryArgs)("https://wordpress.com/checkout/".concat(window._currentSiteId),Q()({preLaunch:1},!i&&{redirect_to:"/home/".concat(window._currentSiteId)})),window.top.location.href=r;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}window.top.location.href="https://wordpress.com/home/".concat(window._currentSiteId)}}),[e])}(),d.useEffect((function(){window.innerWidth<782?r():i()}),[e,r,i]),e?Object(u.createElement)(ia,{onClose:n}):null}},Object(f.registerPlugin)(Wo,Ko)}]));
|
37 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
38 |
* @license See CREDITS.md
|
39 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
40 |
+
*/function wt(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,c="";return(c=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,o):""+Math.round(i)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(c[1]||"").length<o&&(c[1]=c[1]||"",c[1]+=new Array(o-c[1].length+1).join("0")),c.join(s)}var Ot=ue()("i18n-calypso"),Et="number_format_decimals",kt="number_format_thousands_sep",St="messages",Ct=[function(e){return e}],jt={};function Nt(){Ft.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Pt(e){return Array.prototype.slice.call(e)}function At(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&Nt("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Pt(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&Nt("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Pt(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Lt(e,t){return e.dcnpgettext(St,t.context,t.original,t.plural,t.count)}function Tt(e,t){for(var n=Ct.length-1;n>=0;n--){var r=Ct[n](Object.assign({},t)),i=r.context?r.context+""+r.original:r.original;if(e.state.locale[i])return Lt(e.state.tannin,r)}return null}function Ft(){if(!(this instanceof Ft))return new Ft;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:gt()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new pe.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}Ft.throwErrors=!1,Ft.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},Ft.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},Ft.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},Ft.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return wt(e,n,r,i)},Ft.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},Ft.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var i=e[""]["key-hash"],o=function(e,t){var n=!1===t?"":String(t);if(void 0!==jt[n+e])return jt[n+e];var r=yt()().update(e).digest("hex");return jt[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=o(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=o(t.original,e),t}};if("sha1"===i.substr(0,4))if(4===i.length)Ct.push(a(!1));else{var s=i.substr(5).indexOf("-");if(s<0){var c=Number(i.substr(5));Ct.push(a(c))}else for(var l=Number(i.substr(5,s)),u=Number(i.substr(6+s)),d=l;d<=u;d++)Ct.push(a(d))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new ht(P()({},St,this.state.locale)),this.state.numberFormatSettings.decimal_point=Lt(this.state.tannin,At([Et])),this.state.numberFormatSettings.thousands_sep=Lt(this.state.tannin,At([kt])),this.state.numberFormatSettings.decimal_point===Et&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===kt&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},Ft.prototype.getLocale=function(){return this.state.locale},Ft.prototype.getLocaleSlug=function(){return this.state.localeSlug},Ft.prototype.isRtl=function(){return"rtl"===this.state.textDirection},Ft.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},Ft.prototype.hasTranslation=function(){return!!Tt(this,At(arguments))},Ft.prototype.translate=function(){var e=At(arguments),t=Tt(this,e);if(t||(t=Lt(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=_t.apply(void 0,Z()(n))}catch(i){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof i?window.console[r](i):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=dt()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},Ft.prototype.reRenderTranslations=function(){Ot("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},Ft.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},Ft.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var Mt=Ft,Dt=n(40),Rt=n.n(Dt),Bt=n(41),It=n.n(Bt),zt=n(22),Ut=n.n(zt),Ht=n(42),$t=n.n(Ht),qt=n(43),Vt=n.n(qt),Gt=n(23),Yt=n.n(Gt),Wt=n(44);var Kt,Xt,Zt,Jt,Qt=new Mt,en=(Qt.numberFormat.bind(Qt),Qt.translate.bind(Qt)),tn=(Qt.configure.bind(Qt),Qt.setLocale.bind(Qt),Qt.getLocale.bind(Qt),Qt.getLocaleSlug.bind(Qt),Qt.addTranslations.bind(Qt),Qt.reRenderTranslations.bind(Qt),Qt.registerComponentUpdateHook.bind(Qt),Qt.registerTranslateHook.bind(Qt),Qt.state,Qt.stateObserver,Qt.on.bind(Qt),Qt.off.bind(Qt),Qt.emit.bind(Qt),Xt={numberFormat:(Kt=Qt).numberFormat.bind(Kt),translate:Kt.translate.bind(Kt)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Qt),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(Wt.useSubscription)(t)}var r=Object(U.createHigherOrderComponent)((function(e){return Object(d.forwardRef)((function(t,r){var i=n();return p.a.createElement(e,Yt()({},t,{isRtl:i,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(Qt)),nn=(tn.useRtl,tn.withRtl,["Remove WordPress.com ads","Email & basic live chat support","Collect recurring payments","Collect one-time payments","Earn ad revenue","Premium themes","Upload videos","Google Analytics support","Business features (incl. SEO)","Upload themes","Install plugins","Accept payments in 60+ countries"]),rn=((Zt={})[nt]={title:en("Free"),description:en("Create a beautiful, simple website in minutes"),productId:1,storeSlug:nt,pathSlug:"beginner",features:["3 GB storage space"],isFree:!0},Zt[rt]={title:en("Personal"),description:en("Best for personal use"),productId:1009,storeSlug:rt,pathSlug:"personal",features:B(["6 GB storage space"],nn.slice(0,3))},Zt[it]={title:en("Premium"),description:en("Best for freelancers"),productId:1003,storeSlug:it,pathSlug:"premium",features:B(["13 GB storage space"],nn.slice(0,8)),isPopular:!0},Zt[ot]={title:en("Business"),description:en("Best for small businesses"),productId:1008,storeSlug:ot,pathSlug:"business",features:B(["200 GB storage space"],nn.slice(0,11))},Zt[at]={title:en("eCommerce"),description:en("Best for online stores"),productId:1011,storeSlug:at,pathSlug:"ecommerce",features:B(["200 GB storage space"],nn)},Zt),on=Object.keys(rn).map((function(e){return rn[e].pathSlug})),an=[{id:"general",name:null,features:[{name:"Free domain for One Year",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Email & basic live chat support",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"24/7 Priority live chat support",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Preinstalled SSL security",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Jetpack essential features",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Storage",type:"text",data:["3 GB","6 GB","13 GB","200 GB","200 GB"]},{name:"Dozens of free designs",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Remove WordPress.com ads",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Unlimited premium themes",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced design customization",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Get personalized help",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Install plugins",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Upload themes",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Remove WordPress.com branding",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Automated backup & one-click rewind",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"SFTP and database access",type:"checkbox",data:[!1,!1,!1,!0,!0]}]},{id:"commerce",name:"Commerce",features:[{name:"Sell subscriptions (recurring payments)",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Sell single items (simple payments)",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Accept payments in 60+ countries",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Integrations with top shipping carriers",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Sell anything (products and/or services)",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Premium customizable starter themes",type:"checkbox",data:[!1,!1,!1,!1,!0]}]},{id:"marketing",name:"Marketing",features:[{name:"WordAds",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced social media tools",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"VideoPress support",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"SEO tools",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Commerce marketing tools",type:"checkbox",data:[!1,!1,!1,!1,!0]}]}],sn=Object.keys(rn),cn={supportedPlanSlugs:sn,prices:(Jt={},Jt[nt]="",Jt[rt]="",Jt[it]="",Jt[ot]="",Jt[at]="",Jt)},ln=function(e,t){switch(void 0===e&&(e=cn),t.type){case"SET_PRICES":return F(F({},e),{prices:t.prices});default:return e}},un=function(e){return{type:"SET_PRICES",prices:e}},dn=function(){return{type:"RESET_PLAN"}};function pn(e){return rn[e]}var mn=function(e,t){return pn(t)},fn=function(){return pn(ct)},hn=function(e){return e.supportedPlanSlugs.map(pn)},bn=function(e,t){return t&&hn(e).find((function(e){return(null==e?void 0:e.pathSlug)===t}))},gn=function(){return an},vn=function(e){return hn(e).map((function(e){return null==e?void 0:e.pathSlug}))},yn=function(e){return e.prices},xn=function(e,t){return t===at},_n=function(e,t){return t===nt};function wn(){var e,t,n;return D(this,(function(r){switch(r.label){case 0:return[4,Object(tt.apiFetch)({global:!0,url:"https://public-api.wordpress.com/rest/v1.5/plans",mode:"cors",credentials:"omit"})];case 1:return e=r.sent(),t=e.filter((function(e){return-1!==sn.indexOf(e.product_slug)})),n=t.reduce((function(e,t){return e[t.product_slug]=function(e){var t=lt[e.currency_code],n=e.raw_price/12;return Number.isInteger(n)||(n=n.toFixed(t.decimal)),"AMOUNT_THEN_SYMBOL"===t.format?""+n+t.symbol:""+t.symbol+n}(t),e}),{}),[4,un(n)];case 2:return r.sent(),[2]}}))}var On=!1;function En(){return On||(On=!0,Object(m.registerStore)(st,{resolvers:o,actions:r,controls:tt.controls,reducer:ln,selectors:i})),st}var kn=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),Sn=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),Cn=(n(79),p.a.createElement(se,{icon:kn,size:17})),jn=p.a.createElement(se,{icon:Sn,size:17}),Nn=p.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},p.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}));var Pn=function(e){var t=e.features,n=e.domain,r=e.isFree,i=void 0!==r&&r,o=e.isOpen,a=void 0!==o&&o,s=e.onPickDomain,c=e.disabledLabel,l=e.multiColumn,d=void 0!==l&&l,m=function(e,t,n){return{NO_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plans-feature-list__domain-summary is-cta",icon:Cn,domainMessage:p.a.createElement(p.a.Fragment,null,n("Pick a free domain (1 year)")," ",Nn)}},FREE_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plans-feature-list__domain-summary is-cta",icon:Cn,domainMessage:p.a.createElement(p.a.Fragment,null,n("Pick a free domain (1 year)")," ",Nn)}},PAID_DOMAIN:{FREE_PLAN:{className:"plans-feature-list__domain-summary is-free",icon:jn,domainMessage:p.a.createElement("span",null,Object(u.createInterpolateElement)(n("<url /> is not included"),{url:p.a.createElement("span",{className:"plans-feature-list__item-url"},null==t?void 0:t.domain_name)}))},PAID_PLAN:{className:"plans-feature-list__domain-summary is-picked",icon:Cn,domainMessage:p.a.createElement("span",null,Object(u.createInterpolateElement)(n("<url /> is included"),{url:p.a.createElement("span",{className:"plans-feature-list__item-url"},null==t?void 0:t.domain_name)}))}}}[t&&(t.is_free?"FREE_DOMAIN":"PAID_DOMAIN")||"NO_DOMAIN"][e?"FREE_PLAN":"PAID_PLAN"]}(i,n,$().__);return p.a.createElement("div",{className:"plans-feature-list",hidden:!a},p.a.createElement("ul",{className:j()("plans-feature-list__item-group",{"plans-feature-list__item-group--columns":d})},c?p.a.createElement("li",{className:"plans-feature-list__item plans-feature-list__item--disabled-message"},jn," ",p.a.createElement("span",null,c)):m&&p.a.createElement("li",{className:"plans-feature-list__item"},p.a.createElement(y.Button,{className:m.className,onClick:s,isLink:!0},m.icon,m.domainMessage)),t.map((function(e,t){return p.a.createElement("li",{key:t,className:"plans-feature-list__item"},Cn," ",p.a.createElement("span",null,e))}))))},An=d.createElement("svg",{width:"8",viewBox:"0 0 8 4"},d.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"})),Ln=function(e){var t=e.slug,n=e.name,r=e.price,i=e.isPopular,o=void 0!==i&&i,a=e.isFree,s=void 0!==a&&a,c=e.domain,l=e.features,u=e.onSelect,p=e.onPickDomainClick,m=e.onToggleExpandAll,f=e.allPlansExpanded,h=e.disabledLabel,b=$().__,g=d.useState(!1),v=g[0],x=g[1],_=Object(U.useViewportMatch)("mobile",">=");d.useEffect((function(){x(f)}),[f]);var w=f||_||o||v;return d.createElement("div",{className:j()("plan-item",{"is-popular":o,"is-open":w})},o&&d.createElement("span",{className:"plan-item__badge"},b("Popular")),d.createElement("div",{className:j()("plan-item__viewport",{"is-popular":o})},d.createElement("div",{className:"plan-item__details"},d.createElement("div",{tabIndex:0,role:"button",onClick:function(){return x((function(e){return!e}))},onKeyDown:function(e){return 32===e.keyCode&&x((function(e){return!e}))},className:"plan-item__summary"},d.createElement("div",{className:"plan-item__heading"},d.createElement("div",{className:"plan-item__name"},n)),d.createElement("div",{className:"plan-item__price"},d.createElement("div",{className:j()("plan-item__price-amount",{"is-loading":!r})},r||" ")),!w&&d.createElement("div",{className:"plan-item__dropdown-chevron"},An)),d.createElement("div",{hidden:!w},d.createElement("div",{className:"plan-item__price-note"},b(s?"free forever":"per month, billed yearly")),d.createElement("div",{className:"plan-item__actions"},d.createElement(y.Button,{className:"plan-item__select-button",onClick:function(){u(t)},isPrimary:!0,disabled:!!h},d.createElement("span",null,b("Choose")))),d.createElement(Pn,{features:l,domain:c,isFree:s,isOpen:w,onPickDomain:p,disabledLabel:h})))),o&&!_&&d.createElement(y.Button,{onClick:m,className:"plan-item__mobile-expand-all-plans",isLink:!0},b(f?"Collapse all plans":"Expand all plans")))},Tn="automattic/onboard/plans",Fn=(n(80),function(e){var t=e.selectedPlanSlug,n=e.onPlanSelect,r=e.onPickDomainClick,i=e.currentDomain,o=e.disabledPlans,a=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),s=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),c=Object(d.useState)(!1),l=c[0],u=c[1];return p.a.createElement("div",{className:"plans-table"},a.map((function(e){var a;return e&&p.a.createElement(Ln,{allPlansExpanded:l,key:e.storeSlug,slug:e.storeSlug,domain:i,features:null!==(a=e.features)&&void 0!==a?a:[],isPopular:e.isPopular,isFree:e.isFree,price:s[e.storeSlug],name:null==e?void 0:e.title.toString(),isSelected:e.storeSlug===t,onSelect:n,onPickDomainClick:r,onToggleExpandAll:function(){return u((function(e){return!e}))},disabledLabel:null==o?void 0:o[e.storeSlug]})})))}),Mn=(n(78),p.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},p.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}))),Dn=function(e){var t=e.slug,n=e.name,r=e.description,i=e.price,o=e.features,a=e.domain,s=e.badge,c=e.isFree,l=void 0!==c&&c,u=e.isOpen,d=void 0!==u&&u,m=e.isPrimary,f=void 0!==m&&m,h=e.onSelect,b=e.onPickDomainClick,g=e.onToggle,v=e.disabledLabel,y=$().__,x=function(){!v&&(null==g||g(t,!d))};return p.a.createElement("div",{className:j()("plans-accordion-item",{"is-open":d,"is-primary":f,"has-badge":!!s,"is-disabled":!!v})},s&&p.a.createElement("div",{className:"plans-accordion-item__badge"},p.a.createElement("span",null,s)),p.a.createElement("div",{className:"plans-accordion-item__viewport"},p.a.createElement("div",{className:"plans-accordion-item__details"},p.a.createElement("div",{tabIndex:0,role:"button",onClick:x,onKeyDown:function(e){return 32===e.keyCode&&x()},className:"plans-accordion-item__header"},p.a.createElement("div",{className:"plans-accordion-item__heading"},p.a.createElement("div",{className:"plans-accordion-item__name"},n),p.a.createElement("div",{className:"plans-accordion-item__description"},r)),p.a.createElement("div",{className:"plans-accordion-item__price"},p.a.createElement("div",{className:j()("plans-accordion-item__price-amount",{"is-loading":!i})},i||" ",i&&p.a.createElement("span",null,y("/mo"))),p.a.createElement("div",{className:"plans-accordion-item__price-note"},y(l?"free forever":"billed annually"))),p.a.createElement("div",{className:"plans-accordion-item__disabled-label"},v),!d&&p.a.createElement("div",{className:"plans-accordion-item__dropdown-chevron"},Mn)),p.a.createElement("div",{className:"plans-accordion-item__actions",hidden:!d},p.a.createElement(Y,{onClick:function(){h(t)}},y("Select"))),p.a.createElement(Pn,{features:o,domain:a,isFree:l,isOpen:d,onPickDomain:b,multiColumn:!0}))))},Rn=(n(77),p.a.createElement(y.SVG,{viewBox:"0 0 24 24"},p.a.createElement(y.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"}))),Bn=function(e){var t,n=e.selectedFeatures,r=void 0===n?[]:n,i=e.selectedPlanSlug,o=e.onPlanSelect,a=e.onPickDomainClick,s=e.currentDomain,c=e.disabledPlans,l=$().__,u=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),f=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),h=Object(m.useSelect)((function(e){return e(Tn).getDefaultPaidPlan()})),b=Object(m.useSelect)((function(e){return e("automattic/wpcom-features").getRecommendedPlanSlug(r)})),g=Object(m.useSelect)((function(e){return e(Tn).getPlanBySlug(b)})),v=g||h,x=l(g?"Recommended for you":"Popular"),_=u.filter((function(e){return e.storeSlug!==v.storeSlug})),w=[v.storeSlug],O=Object(d.useState)(w),E=O[0],k=O[1],S=E.length>=u.length,C=function(e,t){k(t?I(E,[e]):E.filter((function(t){return t!==e})))};return p.a.createElement("div",{className:"plans-accordion"},p.a.createElement("div",{className:"plans-accordion__plan-item-group"},v&&p.a.createElement(p.a.Fragment,null,g&&p.a.createElement("div",{className:"plans-accordion__recommend-hint"},p.a.createElement(se,{icon:Rn,size:16}),p.a.createElement("span",null,l("Based on the features you selected."))),p.a.createElement(Dn,{key:v.storeSlug,slug:v.storeSlug,name:null==v?void 0:v.title.toString(),description:null==v?void 0:v.description.toString(),features:null!==(t=v.features)&&void 0!==t?t:[],price:f[v.storeSlug],domain:s,badge:x,isFree:v.isFree,isOpen:!0,isPrimary:!0,isSelected:v.storeSlug===i,onSelect:o,onPickDomainClick:a}))),p.a.createElement("div",{className:"plans-accordion__actions"},p.a.createElement(y.Button,{className:"plans-accordion__toggle-all-button",onClick:function(){k(S?w:u.map((function(e){return e.storeSlug})))},isLink:!0},l(S?"Collapse all plans":"Show all plans"))),p.a.createElement("div",{className:"plans-accordion__plan-item-group"},_.map((function(e){var t;return p.a.createElement(Dn,{key:e.storeSlug,slug:e.storeSlug,name:null==e?void 0:e.title.toString(),description:null==e?void 0:e.description.toString(),features:null!==(t=e.features)&&void 0!==t?t:[],price:f[e.storeSlug],domain:s,isFree:e.isFree,isOpen:E.indexOf(e.storeSlug)>-1&&!(null==c?void 0:c[e.storeSlug]),isSelected:e.storeSlug===i,onSelect:o,onPickDomainClick:a,onToggle:C,disabledLabel:null==c?void 0:c[e.storeSlug]})}))))},In=(n(81),p.a.createElement(se,{icon:kn,size:25})),zn=function(e){var t=e.onSelect,n=Object(m.useSelect)((function(e){return e(Tn).getPlansDetails()})),r=Object(m.useSelect)((function(e){return e(Tn).getPrices()})),i=Object(m.useSelect)((function(e){return e(Tn).getSupportedPlans()})),o=$().__;return p.a.createElement("div",{className:"plans-details"},p.a.createElement("table",{className:"plans-details__table"},p.a.createElement("thead",null,p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",null,o("Feature")),i.map((function(e){return p.a.createElement("th",{key:e.storeSlug},e.title)})))),n.map((function(e){return p.a.createElement("tbody",{key:e.id},e.name&&p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",{colSpan:6},e.name)),e.features.map((function(e,t){return p.a.createElement("tr",{className:"plans-details__feature-row",key:t},p.a.createElement("th",null,e.name),e.data.map((function(t,n){return p.a.createElement("td",{key:n},"checkbox"===e.type&&(t?p.a.createElement(p.a.Fragment,null,p.a.createElement("span",{className:"hidden"},o("Available")),In):p.a.createElement(p.a.Fragment,null,p.a.createElement("span",{className:"hidden"},o("Unavailable")," "))),"text"===e.type&&t)})))})))})),p.a.createElement("tbody",null,p.a.createElement("tr",{className:"plans-details__header-row"},p.a.createElement("th",{colSpan:6},o("Sign up"))),p.a.createElement("tr",{className:"plans-details__feature-row",key:"price"},p.a.createElement("th",null,o("Monthly subscription (billed yearly)")),i.map((function(e){return p.a.createElement("td",{key:e.storeSlug},r[e.storeSlug])}))),p.a.createElement("tr",{className:"plans-details__feature-row",key:"cta"},p.a.createElement("th",null),i.map((function(e){return p.a.createElement("td",{key:e.storeSlug},p.a.createElement(y.Button,{className:"plans-details__select-button",onClick:function(){t(e.storeSlug)},isPrimary:!0},p.a.createElement("span",null,o("Select"))))}))))))},Un=(n(76),ue()("plans-grid")),Hn=function(e){var t,n,r=e.header,i=e.selectedFeatures,o=e.currentPlan,a=e.currentDomain,s=e.onPlanSelect,c=e.onPickDomainClick,l=e.disabledPlans,u=e.isExperimental,p=$().__;return u&&Un("PlansGrid experimental version is active"),d.createElement("div",{className:"plans-grid"},r&&d.createElement("div",{className:"plans-grid__header"},r),d.createElement("div",{className:"plans-grid__table"},d.createElement("div",{className:"plans-grid__table-container"},u?d.createElement(Bn,{selectedFeatures:i,selectedPlanSlug:null!==(t=null==o?void 0:o.storeSlug)&&void 0!==t?t:"",onPlanSelect:s,currentDomain:a,onPickDomainClick:c,disabledPlans:l}):d.createElement(Fn,{selectedPlanSlug:null!==(n=null==o?void 0:o.storeSlug)&&void 0!==n?n:"",onPlanSelect:s,currentDomain:a,onPickDomainClick:c,disabledPlans:l}))),d.createElement("div",{className:"plans-grid__details"},d.createElement("div",{className:"plans-grid__details-heading"},d.createElement(A,null,p("Detailed comparison"))),d.createElement("div",{className:"plans-grid__details-container"},d.createElement(zn,{onSelect:s}))))},$n=(n(75),function(e){var t=e.onPrevStep,n=e.onNextStep,r=Object(m.useSelect)((function(e){return e(c).getSelectedDomain()})),i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getState()})).isExperimental,s=Object(m.useDispatch)(c),l=s.updatePlan,d=s.setStep,p=K().selectedFeatures,f=r&&!r.is_free;return Object(u.createElement)(W,null,Object(u.createElement)("div",{className:"nux-launch-step__header"},Object(u.createElement)("div",null,Object(u.createElement)(A,null,Object(v.__)("Select a plan","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Pick a plan that’s right for you. Switch plans as your needs change. There’s no risk, you can cancel for a full refund within 30 days.","full-site-editing")))),Object(u.createElement)("div",{className:"nux-launch-step__body"},Object(u.createElement)(Hn,{currentDomain:r,onPlanSelect:function(e){l(e),null==n||n()},onPickDomainClick:function(){d(i.Domain)},disabledPlans:f?P()({},a.PLAN_FREE,Object(v.__)("Not available with custom domain","full-site-editing")):void 0,isExperimental:o,selectedFeatures:p})),Object(u.createElement)("div",{className:"nux-launch-step__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(G,{onClick:function(){null==t||t()}}))))}),qn=n(45),Vn=n.n(qn);var Gn=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Yn=function(e){function t(e,r,c,l,p){for(var m,f,h,b,x,w=0,O=0,E=0,k=0,S=0,L=0,F=h=m=0,D=0,R=0,B=0,I=0,z=c.length,U=z-1,H="",$="",q="",V="";D<z;){if(f=c.charCodeAt(D),D===U&&0!==O+k+E+w&&(0!==O&&(f=47===O?10:47),k=E=w=0,z++,U++),0===O+k+E+w){if(D===U&&(0<R&&(H=H.replace(d,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=c.charAt(D)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),h=1,I=++D;D<z;){switch(f=c.charCodeAt(D)){case 123:h++;break;case 125:h--;break;case 47:switch(f=c.charCodeAt(D+1)){case 42:case 47:e:{for(F=D+1;F<U;++F)switch(c.charCodeAt(F)){case 47:if(42===f&&42===c.charCodeAt(F-1)&&D+2!==F){D=F+1;break e}break;case 10:if(47===f){D=F+1;break e}}D=F}}break;case 91:f++;case 40:f++;case 34:case 39:for(;D++<U&&c.charCodeAt(D)!==f;);}if(0===h)break;D++}switch(h=c.substring(I,D),0===m&&(m=(H=H.replace(u,"").trim()).charCodeAt(0)),m){case 64:switch(0<R&&(H=H.replace(d,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:R=r;break;default:R=A}if(I=(h=t(r,R,h,f,p+1)).length,0<T&&(x=s(3,h,R=n(A,H,B),r,j,C,I,f,p,l),H=R.join(""),void 0!==x&&0===(I=(h=x.trim()).length)&&(f=0,h="")),0<I)switch(f){case 115:H=H.replace(_,a);case 100:case 109:case 45:h=H+"{"+h+"}";break;case 107:h=(H=H.replace(g,"$1 $2"))+"{"+h+"}",h=1===P||2===P&&o("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=H+h,112===l&&($+=h,h="")}else h="";break;default:h=t(r,n(r,H,B),h,l,p+1)}q+=h,h=B=R=F=m=0,H="",f=c.charCodeAt(++D);break;case 125:case 59:if(1<(I=(H=(0<R?H.replace(d,""):H).trim()).length))switch(0===F&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(I=(H=H.replace(" ",":")).length),0<T&&void 0!==(x=s(1,H,r,e,j,C,$.length,l,p,l))&&0===(I=(H=x.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){V+=H+c.charAt(D);break}default:58!==H.charCodeAt(I-1)&&($+=i(H,m,f,H.charCodeAt(2)))}B=R=F=m=0,H="",f=c.charCodeAt(++D)}}switch(f){case 13:case 10:47===O?O=0:0===1+m&&107!==l&&0<H.length&&(R=1,H+="\0"),0<T*M&&s(0,H,r,e,j,C,$.length,l,p,l),C=1,j++;break;case 59:case 125:if(0===O+k+E+w){C++;break}default:switch(C++,b=c.charAt(D),f){case 9:case 32:if(0===k+w+O)switch(S){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===k+O+w&&(R=B=1,b="\f"+b);break;case 108:if(0===k+O+w+N&&0<F)switch(D-F){case 2:112===S&&58===c.charCodeAt(D-3)&&(N=S);case 8:111===L&&(N=L)}break;case 58:0===k+O+w&&(F=D);break;case 44:0===O+E+k+w&&(R=1,b+="\r");break;case 34:case 39:0===O&&(k=k===f?0:0===k?f:k);break;case 91:0===k+O+E&&w++;break;case 93:0===k+O+E&&w--;break;case 41:0===k+O+w&&E--;break;case 40:if(0===k+O+w){if(0===m)switch(2*S+3*L){case 533:break;default:m=1}E++}break;case 64:0===O+E+k+w+F+h&&(h=1);break;case 42:case 47:if(!(0<k+w+E))switch(O){case 0:switch(2*f+3*c.charCodeAt(D+1)){case 235:O=47;break;case 220:I=D,O=42}break;case 42:47===f&&42===S&&I+2!==D&&(33===c.charCodeAt(I+2)&&($+=c.substring(I,D+1)),b="",O=0)}}0===O&&(H+=b)}L=S,S=f,D++}if(0<(I=$.length)){if(R=r,0<T&&(void 0!==(x=s(2,$,R,e,j,C,I,l,p,l))&&0===($=x).length))return V+$+q;if($=R.join(",")+"{"+$+"}",0!=P*N){switch(2!==P||o($,2)||(N=0),N){case 111:$=$.replace(y,":-moz-$1")+$;break;case 112:$=$.replace(v,"::-webkit-input-$1")+$.replace(v,"::-moz-$1")+$.replace(v,":-ms-input-$1")+$}N=0}}return V+$+q}function n(e,t,n){var i=t.trim().split(h);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<o;++s)for(var l=0;l<a;++l)t[c++]=r(e[l]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return m.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(x,"tb");break;case 232:c=a.replace(x,"tb-rl");break;case 220:c=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(O,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(O,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),F(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,c,u){for(var d,p=0,m=t;p<T;++p)switch(d=L[p].call(l,e,m,n,r,i,o,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:m=d}if(m!==t)return m}function c(e){return void 0!==(e=e.prefix)&&(F=null,e?"function"!=typeof e?P=1:(P=2,F=e):P=0),c}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<T){var i=s(-1,n,r,r,j,C,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(A,r,n,0,0);return 0<T&&(void 0!==(i=s(-2,o,r,r,j,C,o.length,0,0,0))&&(o=i)),"",N=0,C=j=1,o}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,m=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,O=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,C=1,j=1,N=0,P=1,A=[],L=[],T=0,F=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:T=L.length=0;break;default:if("function"==typeof t)L[T++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},l.set=c,void 0!==e&&c(e),l},Wn=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Kn="/*|*/";function Xn(e){e&&Zn.current.insert(e+"}")}var Zn={current:null},Jn=function(e,t,n,r,i,o,a,s,c,l){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Zn.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Kn;break;case 3:switch(s){case 102:case 112:return Zn.current.insert(n[0]+t),"";default:return t+(0===l?Kn:"")}case-2:t.split("/*|*/}").forEach(Xn)}},Qn=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new Yn(t);var i,o={};i=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),r.use(e.stylisPlugins)(Jn),a=function(e,t,n,i){var o=t.name;Zn.current=n,r(e,t.styles),i&&(c.inserted[o]=!0)};var c={key:n,sheet:new Gn({key:n,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:a};return c};function er(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var tr=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+r,i,e.sheet,!0);i=i.next}while(void 0!==i)}};var nr=function(e){for(var t,n=e.length,r=n^n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},rr={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ir=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},or=/[A-Z]|^ms/g,ar=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(e){return 45===e.charCodeAt(1)},cr=function(e){return null!=e&&"boolean"!=typeof e},lr=ir((function(e){return sr(e)?e:e.replace(or,"-$&").toLowerCase()})),ur=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ar,(function(e,t,n){return pr={name:t,styles:n,next:pr},t}))}return 1===rr[e]||sr(e)||"number"!=typeof t||0===t?t:t+"px"};function dr(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return pr={name:n.name,styles:n.styles,next:pr},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)pr={name:i.name,styles:i.styles,next:pr},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=dr(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":cr(a)&&(r+=lr(o)+":"+ur(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=dr(e,t,a,!1);switch(o){case"animation":case"animationName":r+=lr(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var c=0;c<a.length;c++)cr(a[c])&&(r+=lr(o)+":"+ur(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=pr,a=n(e);return pr=o,dr(e,t,a,r)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var pr,mr=/label:\s*([^\s;\n{]+)\s*;/g;var fr=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";pr=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=dr(n,t,o,!1)):i+=o[0];for(var a=1;a<e.length;a++)i+=dr(n,t,e[a],46===i.charCodeAt(i.length-1)),r&&(i+=o[a]);mr.lastIndex=0;for(var s,c="";null!==(s=mr.exec(i));)c+="-"+s[1];return{name:nr(i)+c,styles:i,next:pr}};var hr=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fr(t)},br=Object(d.createContext)("undefined"!=typeof HTMLElement?Qn():null),gr=Object(d.createContext)({}),vr=(br.Provider,function(e){return Object(d.forwardRef)((function(t,n){return Object(d.createElement)(br.Consumer,null,(function(r){return e(t,r,n)}))}))});Object.prototype.hasOwnProperty;d.Component;var yr=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function xr(e,t,n){var r=[],i=er(e,r,n);return r.length<2?n:i+t(r)}vr((function(e,t){return Object(d.createElement)(gr.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=fr(n,t.registered);return tr(t,i,!1),t.key+"-"+i.name},i={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return xr(t.registered,r,yr(n))},theme:n},o=e.children(i);return!0,o}))})),n(46);function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var wr=function(e,t){return"function"==typeof t?t(e):function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(n,!0).forEach((function(t){P()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{},t)},Or=Wn((function(e){return Wn((function(t){return wr(e,t)}))})),Er=function(e){return Object(d.createElement)(gr.Consumer,null,(function(t){return e.theme!==t&&(t=Or(t)(e.theme)),Object(d.createElement)(gr.Provider,{value:t},e.children)}))};var kr=Object(u.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(E.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),Sr="#F6F7F7",Cr="#DCDCDE",jr="#A7AAAD",Nr="#8E9196",Pr="#646970",Ar="#2C3338",Lr="#008A20",Tr="#FFF",Fr="#000",Mr={colors:{background:Sr,surface:Tr,primary:"#C9356E",primaryBorder:"#700F3B",primaryOver:"#AB235A",highlight:"#006088",highlightBorder:"#002C40",highlightOver:"#004E6E",success:Lr,discount:Lr,disabledPaymentButtons:Sr,disabledPaymentButtonsAccent:Cr,disabledButtons:jr,borderColor:jr,borderColorLight:Cr,borderColorDark:Pr,upcomingStepBackground:Cr,textColor:Ar,textColorLight:Pr,textColorDark:Fr,error:"#D63638",warningBackground:"#F7EBEC",outline:"#5198D9",applePayButtonColor:Fr,applePayButtonRollOverColor:Ar,noticeBackground:Ar,defaultNoticeIconBackground:Nr,textColorOnDarkBackground:Tr,paypalGold:"#F0C443",paypalGoldHover:"#FFB900",modalBackground:"rgba( 255,255,255,0.9 )",disabledField:Sr,placeHolderTextColor:Nr},breakpoints:{desktopUp:"min-width: 960px",tabletUp:"min-width: 700px",bigPhoneUp:"min-width: 480px",smallPhoneUp:"min-width: 400px"},weights:{bold:"600",normal:"400"},fonts:{body:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif'},fontSize:{small:"14px"}},Dr=n(3),Rr=n.n(Dr);function Br(e){return e.filter((function(e){return e})).join(" ")}var Ir=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,zr=ir((function(e){return Ir.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Ur=function(e){return"theme"!==e&&"innerRef"!==e},Hr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?zr:Ur};function $r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$r(n,!0).forEach((function(t){P()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vr=function e(t,n){var r,i,o;void 0!==n&&(r=n.label,o=n.target,i=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var a=t.__emotion_real===t,s=a&&t.__emotion_base||t;"function"!=typeof i&&a&&(i=t.__emotion_forwardProp);var c=i||Hr(s),l=!c("as");return function(){var u=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{0,p.push(u[0][0]);for(var m=u.length,f=1;f<m;f++)p.push(u[f],u[0][f])}var h=vr((function(e,t,n){return Object(d.createElement)(gr.Consumer,null,(function(r){var a=l&&e.as||s,u="",m=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=r}"string"==typeof e.className?u=er(t.registered,m,e.className):null!=e.className&&(u=e.className+" ");var b=fr(p.concat(m),t.registered,f);tr(t,b,"string"==typeof a);u+=t.key+"-"+b.name,void 0!==o&&(u+=" "+o);var g=l&&void 0===i?Hr(a):c,v={};for(var y in e)l&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=u,v.ref=n||e.innerRef,Object(d.createElement)(a,v)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=p,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,void 0!==r?qr({},n||{},{},r):n).apply(void 0,p)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Vr[e]=Vr(e)}));var Gr=Vr,Yr=ue()("composite-checkout:checkout-error-boundary"),Wr=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1,currentError:null},n}return function(e,t){function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromError=function(e){return{currentError:e,hasError:!0}},t.prototype.componentDidCatch=function(e,t){if(this.props.onError){var n=e.message+"; Stack: "+e.stack+"; Component Stack: "+t.componentStack;Yr("reporting the error",n),this.props.onError(n)}},t.prototype.render=function(){return this.state.hasError?p.a.createElement(Kr,{errorMessage:this.props.errorMessage}):this.props.children},t}(p.a.Component);function Kr(e){var t=e.errorMessage;return p.a.createElement(ei,null,t)}var Xr,Zr,Jr,Qr,ei=Gr.div(Xr||(Xr=z(["\n\tmargin: 2em;\n\ttext-align: center;\n"],["\n\tmargin: 2em;\n\ttext-align: center;\n"])));!function(e){e.LOADING="loading",e.READY="ready",e.SUBMITTING="submitting",e.VALIDATING="validating",e.COMPLETE="complete"}(Zr||(Zr={})),function(e){e.SUCCESS="SUCCESS",e.REDIRECT="REDIRECT",e.MANUAL="MANUAL"}(Jr||(Jr={})),function(e){e.NOT_STARTED="not-started",e.PENDING="pending",e.COMPLETE="complete",e.REDIRECTING="redirecting",e.ERROR="error"}(Qr||(Qr={}));var ti={transactionStatus:Qr.NOT_STARTED,previousTransactionStatus:Qr.NOT_STARTED,transactionError:null,transactionLastResponse:null,transactionRedirectUrl:null,resetTransaction:ri,setTransactionError:ri,setTransactionComplete:ri,setTransactionPending:ri,setTransactionRedirecting:ri},ni={allPaymentMethods:[],paymentMethodId:null,setPaymentMethodId:ri,showErrorMessage:ri,showInfoMessage:ri,showSuccessMessage:ri,onEvent:ri,formStatus:Zr.LOADING,setFormStatus:ri,transactionStatusManager:ti,paymentProcessors:{}};function ri(){}var ii=Object(d.createContext)(ni);ue()("composite-checkout:form-status");function oi(){var e=Object(d.useContext)(ii),t=e.formStatus,n=e.setFormStatus,r=Object(d.useMemo)((function(){return{setFormLoading:function(){return n(Zr.LOADING)},setFormReady:function(){return n(Zr.READY)},setFormSubmitting:function(){return n(Zr.SUBMITTING)},setFormValidating:function(){return n(Zr.VALIDATING)},setFormComplete:function(){return n(Zr.COMPLETE)}}}),[n]);return Object(d.useMemo)((function(){return F(F({},r),{formStatus:t})}),[t,r])}Gr.div(ai||(ai=z(["\n\tdisplay: flex;\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\twidth: 100%;\n\t}\n"],["\n\tdisplay: flex;\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\twidth: 100%;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp})),Gr.div(si||(si=z(["\n\tbackground: ",";\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tmax-width: 556px;\n\t}\n"],["\n\tbackground: ",";\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tmax-width: 556px;\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.colors.borderColorLight})),Gr.div(ci||(ci=z(["\n\tdisplay: none;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tdisplay: block;\n\t\tpadding: 24px;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid ",";\n\t\tmax-width: 328px;\n\t\tbackground: ",";\n\t\tmargin-left: 24px;\n\t}\n"],["\n\tdisplay: none;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tdisplay: block;\n\t\tpadding: 24px;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid ",";\n\t\tmax-width: 328px;\n\t\tbackground: ",";\n\t\tmargin-left: 24px;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.surface})),Gr.div(li||(li=z(["\n\tpadding: 24px;\n\tborder-top: 1px solid ",";\n\n\t:first-of-type {\n\t\tborder-top: 0;\n\t}\n"],["\n\tpadding: 24px;\n\tborder-top: 1px solid ",";\n\n\t:first-of-type {\n\t\tborder-top: 0;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}));var ai,si,ci,li,ui,di,pi,mi,fi,hi=function(){var e=hr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(ui||(ui=z(["\n 0% {\n opacity: 1;\n }\n\n 70% {\n \topacity: 0.5;\n }\n\n 100% {\n opacity: 1;\n }\n"],["\n 0% {\n opacity: 1;\n }\n\n 70% {\n \topacity: 0.5;\n }\n\n 100% {\n opacity: 1;\n }\n"])));Gr.h1(di||(di=z(["\n\tfont-size: 14px;\n\tcontent: '';\n\tfont-weight: ",";\n\tbackground: ",";\n\tcolor: ",";\n\twidth: 40%;\n\tmargin: 3px 0 0 35px;\n\tpadding: 0;\n\tposition: relative;\n\tanimation: "," 2s ease-in-out infinite;\n\theight: 20px;\n\n\t.rtl & {\n\t\tmargin: 3px 35px 0 0;\n\t}\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tleft: -35px;\n\t\ttop: -3px;\n\t\twidth: 27px;\n\t\theight: 27px;\n\t\tbackground: ",";\n\t\tborder-radius: 100%;\n\n\t\t.rtl & {\n\t\t\tright: -35px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n"],["\n\tfont-size: 14px;\n\tcontent: '';\n\tfont-weight: ",";\n\tbackground: ",";\n\tcolor: ",";\n\twidth: 40%;\n\tmargin: 3px 0 0 35px;\n\tpadding: 0;\n\tposition: relative;\n\tanimation: "," 2s ease-in-out infinite;\n\theight: 20px;\n\n\t.rtl & {\n\t\tmargin: 3px 35px 0 0;\n\t}\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tleft: -35px;\n\t\ttop: -3px;\n\t\twidth: 27px;\n\t\theight: 27px;\n\t\tbackground: ",";\n\t\tborder-radius: 100%;\n\n\t\t.rtl & {\n\t\t\tright: -35px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n"])),(function(e){return e.theme.weights.normal}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),hi,(function(e){return e.theme.colors.borderColorLight})),Gr.p(pi||(pi=z(["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 35px;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n\n\t.rtl & {\n\t\tmargin: 8px 35px 0 0;\n\t}\n"],["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 35px;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n\n\t.rtl & {\n\t\tmargin: 8px 35px 0 0;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),hi),Gr.p(mi||(mi=z(["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 0;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n"],["\n\tfont-size: 14px;\n\theight: 16px;\n\tcontent: '';\n\tbackground: ",";\n\tcolor: ",";\n\tmargin: 8px 0 0 0;\n\tpadding: 0;\n\tanimation: "," 2s ease-in-out infinite;\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}),hi),Gr.div(fi||(fi=z(["\n\tbackground: ",";\n\tcontent: '';\n\tborder-top: 1px solid ",";\n\tpadding: 24px;\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 3px;\n\t\tfont-size: 14px;\n\t\twidth: 100%;\n\t\theight: 40px;\n\t}\n"],["\n\tbackground: ",";\n\tcontent: '';\n\tborder-top: 1px solid ",";\n\tpadding: 24px;\n\n\t::before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 3px;\n\t\tfont-size: 14px;\n\t\twidth: 100%;\n\t\theight: 40px;\n\t}\n"])),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.borderColorLight}));Qr.NOT_STARTED,Qr.NOT_STARTED;var bi=ue()("composite-checkout:payment-methods");function gi(){var e=Object(d.useContext)(ii),t=e.paymentMethodId,n=e.setPaymentMethodId,r=vi();if(!n)throw new Error("usePaymentMethod can only be used inside a CheckoutProvider");if(!t)return null;var i=r.find((function(e){return e.id===t}));return i||(bi("No payment method found matching id '"+t+"' in",r),null)}function vi(){var e=Object(d.useContext)(ii).allPaymentMethods;if(!e)throw new Error("useAllPaymentMethods cannot be used outside of CheckoutProvider");return e}ue()("composite-checkout:checkout-submit-button");var yi,xi=Gr("button")(yi||(yi=z(["\n\tdisplay: block;\n\twidth: ",";\n\tfont-size: 16px;\n\tborder-radius: ",";\n\tpadding: ",";\n\tborder: ",";\n\tbackground: ",";\n\tcolor: ",";\n\tfont-weight: ",";\n\ttext-decoration: ",";\n\n\t:hover {\n\t\tbackground: ",";\n\t\tborder-color: ",";\n\t\ttext-decoration: none;\n\t\tcolor: ",";\n\t\tcursor: ",";\n\t}\n\n\t:active {\n\t\tbackground: ",";\n\t\ttext-decoration: ",";\n\t\tcolor: ",";\n\t}\n\n\tsvg {\n\t\tmargin-bottom: -1px;\n\t\ttransform: translateY( 2px );\n\t\tfilter: ",";\n\t\topacity: ",";\n\t}\n\n\t&.is-busy {\n\t\tanimation: components-button__busy-animation 2500ms infinite linear;\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t"," 28%,\n\t\t\t"," 28%,\n\t\t\t"," 72%,\n\t\t\t"," 72%\n\t\t);\n\t\tbackground-size: 200px 100%;\n\t\topacity: 1;\n\t}\n\n\t@keyframes components-button__busy-animation {\n\t\t0% {\n\t\t\tbackground-position: 200px 0;\n\t\t}\n\t}\n"],["\n\tdisplay: block;\n\twidth: ",";\n\tfont-size: 16px;\n\tborder-radius: ",";\n\tpadding: ",";\n\tborder: ",";\n\tbackground: ",";\n\tcolor: ",";\n\tfont-weight: ",";\n\ttext-decoration: ",";\n\n\t:hover {\n\t\tbackground: ",";\n\t\tborder-color: ",";\n\t\ttext-decoration: none;\n\t\tcolor: ",";\n\t\tcursor: ",";\n\t}\n\n\t:active {\n\t\tbackground: ",";\n\t\ttext-decoration: ",";\n\t\tcolor: ",";\n\t}\n\n\tsvg {\n\t\tmargin-bottom: -1px;\n\t\ttransform: translateY( 2px );\n\t\tfilter: ",";\n\t\topacity: ",";\n\t}\n\n\t&.is-busy {\n\t\tanimation: components-button__busy-animation 2500ms infinite linear;\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t"," 28%,\n\t\t\t"," 28%,\n\t\t\t"," 72%,\n\t\t\t"," 72%\n\t\t);\n\t\tbackground-size: 200px 100%;\n\t\topacity: 1;\n\t}\n\n\t@keyframes components-button__busy-animation {\n\t\t0% {\n\t\t\tbackground-position: 200px 0;\n\t\t}\n\t}\n"])),(function(e){return e.fullWidth?"100%":"auto"}),(function(e){return"paypal"===e.buttonType?"50px":"2px"}),(function(e){return"text-button"===e.buttonType?"0":"10px 15px"}),(function(e){return!e.buttonType||e.disabled?"1px solid "+e.theme.colors.borderColor:"0"}),Ei,Oi,(function(e){var t=e.disabled,n=e.buttonType,r=e.theme;if(t||"text-button"===n)return r.weights.normal;return r.weights.bold}),Si,wi,(function(e){return e.buttonType?"inherit":e.theme.colors.borderColorDark}),Oi,(function(e){return e.disabled?"not-allowed":"pointer"}),wi,Si,Oi,(function(e){var t=e.buttonType;return"grayscale( "+("primary"===t||"paypal"===t?"0":"100")+" ) invert( 0 );"}),(function(e){var t=e.buttonType;return"primary"===t||"paypal"===t?"1":"0.5"}),Ei,ki,ki,Ei),_i=function(e){var t=e.className,n=e.buttonType,r=e.isBusy,i=e.children,o=e.fullWidth,a=M(e,["className","buttonType","isBusy","children","fullWidth"]),s=Br(I(["checkout-button"],n?["is-status-"+n]:[],r?["is-busy"]:[],t?[t]:[]));return p.a.createElement(xi,F({fullWidth:o,buttonType:n,className:s},a),i)};function wi(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtons;switch(n){case"paypal":return r.paypalGoldHover;case"primary":return r.primaryOver;case"secondary":return r.highlightOver;case"text-button":case"borderless":default:return"none"}}function Oi(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledButtons;switch(n){case"primary":case"secondary":return r.surface;case"text-button":return r.highlight;default:return r.textColor}}function Ei(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtons;switch(n){case"paypal":return r.paypalGold;case"primary":return r.primary;case"secondary":return r.highlight;default:return"none"}}function ki(e){var t=e.disabled,n=e.buttonType,r=e.theme.colors;if(t)return r.disabledPaymentButtonsAccent;switch(n){case"paypal":return r.paypalGoldHover;case"primary":return r.primaryOver;case"secondary":return r.highlightOver;case"text-button":case"borderless":default:return"none"}}function Si(e){return"text-button"===e.buttonType?"underline":"none"}function Ci(e){var t=e.className,n=e.id;return p.a.createElement(Ni,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:t},p.a.createElement("mask",{id:n+"-check-icon-mask","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"16",height:"12"},p.a.createElement("path",{d:"M7.32916 13.2292L3.85416 9.75417L2.67083 10.9292L7.32916 15.5875L17.3292 5.58751L16.1542 4.41251L7.32916 13.2292Z"})),p.a.createElement("g",{mask:"url(#"+n+"-check-icon-mask)"},p.a.createElement("rect",{width:"20",height:"20"})))}Ci.propTypes={className:Rr.a.string,id:Rr.a.string};var ji,Ni=Gr.svg(ji||(ji=z(["\n\tfill: #fff;\n"],["\n\tfill: #fff;\n"])));var Pi=function(e){var t=e.value,n=e.onClick,r=e.ariaLabel,i=M(e,["value","onClick","ariaLabel"]);return p.a.createElement(_i,F({onClick:n,buttonType:"primary","aria-label":r},i),t)},Ai=Object(d.createContext)({items:[],total:{id:"title",type:"total",label:"Total",amount:{currency:"USD",value:0,displayValue:"0"}}});function Li(){var e=Object(d.useContext)(Ai),t=e.items,n=e.total;if(!t||!n)throw new Error("useLineItems can only be used inside a CheckoutProvider");return[t,n]}Gr.ul(Ti||(Ti=z(["\n\tmargin: 0;\n\tpadding: 0;\n"],["\n\tmargin: 0;\n\tpadding: 0;\n"]))),Gr.li(Fi||(Fi=z(["\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style-type: none;\n"],["\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style-type: none;\n"])));Gr.span(Mi||(Mi=z(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"]))),Gr.span(Di||(Di=z(["\n\tfont-weight: ",";\n"],["\n\tfont-weight: ",";\n"])),(function(e){return e.theme.weights.bold}));Gr.div(Ri||(Ri=z(["\n\tcolor: ",";\n\tfont-weight: ",";\n\tpadding: 24px 20px;\n"],["\n\tcolor: ",";\n\tfont-weight: ",";\n\tpadding: 24px 20px;\n"])),(function(e){return e.theme.colors.textColor}),(function(e){return e.theme.weights.bold})),Gr.div(Bi||(Bi=z(["\n\tborder-top: 1px solid ",";\n\tpadding: 24px 20px;\n"],["\n\tborder-top: 1px solid ",";\n\tpadding: 24px 20px;\n"])),(function(e){return e.theme.colors.borderColorLight}));var Ti,Fi,Mi,Di,Ri,Bi,Ii,zi,Ui=Gr.div(Ii||(Ii=z(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n"])));Gr(Ui)(zi||(zi=z(["\n\tfont-weight: ",";\n"],["\n\tfont-weight: ",";\n"])),(function(e){return e.theme.weights.bold}));function Hi(e){var t=e.children,n=e.className;return p.a.createElement($i,{className:Br([n,"order-review-section"])},t)}Hi.propTypes={className:Rr.a.string};var $i=Gr.div(Vi||(Vi=z(["\n\tmargin-bottom: 16px;\n"],["\n\tmargin-bottom: 16px;\n"])));function qi(e){var t=e.item,n=e.className,r="checkout-line-item-"+t.id;return p.a.createElement("div",{className:Br([n,"checkout-line-item"])},p.a.createElement("span",{id:r},t.label),p.a.createElement("span",{"aria-labelledby":r},t.amount.displayValue))}qi.propTypes={className:Rr.a.string,total:Rr.a.bool,isSummaryVisible:Rr.a.bool,item:Rr.a.shape({label:Rr.a.string,amount:Rr.a.shape({displayValue:Rr.a.string})})};var Vi,Gi,Yi=Gr(qi)(Gi||(Gi=z(["\n\tdisplay: flex;\n\twidth: 100%;\n\tjustify-content: space-between;\n\tfont-weight: ",";\n\tcolor: ",";\n\tfont-size: ",";\n\tpadding: ",";\n\tborder-bottom: ",";\n\n\t:first-of-type {\n\t\tpadding-top: 0;\n\t}\n"],["\n\tdisplay: flex;\n\twidth: 100%;\n\tjustify-content: space-between;\n\tfont-weight: ",";\n\tcolor: ",";\n\tfont-size: ",";\n\tpadding: ",";\n\tborder-bottom: ",";\n\n\t:first-of-type {\n\t\tpadding-top: 0;\n\t}\n"])),(function(e){var t=e.theme;return e.total?t.weights.bold:t.weights.normal}),(function(e){var t=e.theme;return e.total?t.colors.textColorDark:"inherit"}),(function(e){return e.total?"1.2em":"1em"}),(function(e){var t=e.total;return e.isSummaryVisible||t?0:"24px 0"}),(function(e){var t=e.theme,n=e.total;return e.isSummaryVisible||n?0:"1px solid "+t.colors.borderColorLight}));function Wi(e){var t=e.total,n=e.className;return p.a.createElement("div",{className:Br([n,"order-review-total"])},p.a.createElement(Yi,{total:!0,item:t}))}function Ki(e){var t=e.items,n=e.className,r=e.isSummaryVisible;return p.a.createElement("div",{className:Br([n,"order-review-line-items"])},t.map((function(e){return p.a.createElement(Yi,{isSummaryVisible:r,key:e.id,item:e})})))}function Xi(e){var t=e.className,n=Li(),r=n[0],i=n[1];return p.a.createElement("div",{className:Br([t,"checkout-review-order"])},p.a.createElement(Hi,null,p.a.createElement(Ki,{items:r})),p.a.createElement(Hi,null,p.a.createElement(Wi,{total:i})))}function Zi(e){var t=e.checked,n=e.name,r=e.value,i=e.onChange,o=e.children,a=e.label,s=e.disabled,c=e.id,l=e.ariaLabel,u=Object(d.useState)(!1),m=u[0],f=u[1];return p.a.createElement(Ji,{disabled:s,isFocused:m,checked:t},p.a.createElement(Qi,{type:"radio",name:n,id:c,disabled:s,value:r,checked:t,onChange:i,onFocus:function(){f(!0)},onBlur:function(){f(!1)},readOnly:!i,"aria-label":l}),p.a.createElement(eo,{checked:t,htmlFor:c,disabled:s},a),o&&p.a.createElement(oo,{checked:t},o))}Ki.propTypes={className:Rr.a.string,isSummaryVisible:Rr.a.bool,items:Rr.a.arrayOf(Rr.a.shape({label:Rr.a.string,amount:Rr.a.shape({displayValue:Rr.a.string})}))},Xi.propTypes={className:Rr.a.string},Zi.propTypes={name:Rr.a.string.isRequired,id:Rr.a.string.isRequired,label:Rr.a.node.isRequired,disabled:Rr.a.bool,checked:Rr.a.bool,value:Rr.a.string.isRequired,onChange:Rr.a.func,ariaLabel:Rr.a.string.isRequired};var Ji=Gr.div(to||(to=z(["\n\tposition: relative;\n\tmargin-top: 8px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\toutline: ",";\n\n\t:first-of-type {\n\t\tmargin: 0;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tcontent: '';\n\t\tborder: "," solid ",";\n\t\tborder-radius: 3px;\n\t\tbox-sizing: border-box;\n\n\t\t.rtl & {\n\t\t\tright: 0;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t:hover::before {\n\t\tborder: 3px solid ",";\n\t}\n\n\t.payment-logos {\n\t\tdisplay: none;\n\n\t\t@media ( "," ) {\n\t\t\tdisplay: block;\n\t\t\tfilter: grayscale( "," );\n\t\t}\n\t}\n\n\t:hover .payment-logos {\n\t\t@media ( "," ) {\n\t\t\tfilter: grayscale( 0 );\n\t\t}\n\t}\n\n\tsvg {\n\t\tfilter: grayscale( "," );\n\t}\n\n\t:hover svg {\n\t\tfilter: grayscale( 0 );\n\t}\n\n\t",";\n"],["\n\tposition: relative;\n\tmargin-top: 8px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\toutline: ",";\n\n\t:first-of-type {\n\t\tmargin: 0;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tcontent: '';\n\t\tborder: "," solid ",";\n\t\tborder-radius: 3px;\n\t\tbox-sizing: border-box;\n\n\t\t.rtl & {\n\t\t\tright: 0;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t:hover::before {\n\t\tborder: 3px solid ",";\n\t}\n\n\t.payment-logos {\n\t\tdisplay: none;\n\n\t\t@media ( "," ) {\n\t\t\tdisplay: block;\n\t\t\tfilter: grayscale( "," );\n\t\t}\n\t}\n\n\t:hover .payment-logos {\n\t\t@media ( "," ) {\n\t\t\tfilter: grayscale( 0 );\n\t\t}\n\t}\n\n\tsvg {\n\t\tfilter: grayscale( "," );\n\t}\n\n\t:hover svg {\n\t\tfilter: grayscale( 0 );\n\t}\n\n\t",";\n"])),(function(e){var t=e.isFocused,n=e.theme;if(t)return n.colors.outline+" solid 2px";return"0"}),(function(e){return e.checked?"3px":"1px"}),(function(e){var t=e.checked,n=e.theme;return t?n.colors.highlight:n.colors.borderColor}),(function(e){return e.theme.colors.highlight}),(function(e){return e.theme.breakpoints.smallPhoneUp}),ao,(function(e){return e.theme.breakpoints.smallPhoneUp}),ao,(function(e){if(!e.disabled)return null;return"\n\t\t::before,\n\t\t:hover::before {\n\t\t\tborder: 1px solid lightgray;\n\t\t}\n\n\t\tsvg,\n\t\t:hover svg {\n\t\t\tfilter: grayscale( 100% );\n\t\t\topacity: 50%;\n\t\t}\n\t"}));var Qi=Gr.input(no||(no=z(["\n\tposition: absolute;\n\topacity: 0 !important;\n\n\tclear: none;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tline-height: 0;\n\theight: 16px;\n\tmargin: 2px 0 0;\n\tfloat: left;\n\toutline: 0;\n\tpadding: 0;\n\ttext-align: center;\n\tvertical-align: middle;\n\twidth: 16px;\n\tmin-width: 16px;\n\tappearance: none;\n"],["\n\tposition: absolute;\n\topacity: 0 !important;\n\n\tclear: none;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tline-height: 0;\n\theight: 16px;\n\tmargin: 2px 0 0;\n\tfloat: left;\n\toutline: 0;\n\tpadding: 0;\n\ttext-align: center;\n\tvertical-align: middle;\n\twidth: 16px;\n\tmin-width: 16px;\n\tappearance: none;\n"]))),eo=Gr.label(ro||(ro=z(["\n\tposition: relative;\n\tpadding: 16px 14px 16px 40px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n\tfont-size: 14px;\n\n\t.rtl & {\n\t\tpadding: 16px 40px 16px 14px;\n\t}\n\n\t:hover {\n\t\tcursor: pointer;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 16px;\n\t\theight: 16px;\n\t\tcontent: '';\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 100%;\n\t\ttop: 19px;\n\t\tleft: 16px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 2;\n\n\t\t.rtl & {\n\t\t\tright: 16px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t::after {\n\t\tdisplay: block;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\tcontent: '';\n\t\tborder-radius: 100%;\n\t\ttop: 23px;\n\t\tleft: 20px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 3;\n\n\t\t.rtl & {\n\t\t\tright: 20px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t",";\n"],["\n\tposition: relative;\n\tpadding: 16px 14px 16px 40px;\n\tborder-radius: 3px;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-between;\n\talign-items: flex-start;\n\tfont-size: 14px;\n\n\t.rtl & {\n\t\tpadding: 16px 40px 16px 14px;\n\t}\n\n\t:hover {\n\t\tcursor: pointer;\n\t}\n\n\t::before {\n\t\tdisplay: block;\n\t\twidth: 16px;\n\t\theight: 16px;\n\t\tcontent: '';\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 100%;\n\t\ttop: 19px;\n\t\tleft: 16px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 2;\n\n\t\t.rtl & {\n\t\t\tright: 16px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t::after {\n\t\tdisplay: block;\n\t\twidth: 8px;\n\t\theight: 8px;\n\t\tcontent: '';\n\t\tborder-radius: 100%;\n\t\ttop: 23px;\n\t\tleft: 20px;\n\t\tposition: absolute;\n\t\tbackground: ",";\n\t\tbox-sizing: border-box;\n\t\tz-index: 3;\n\n\t\t.rtl & {\n\t\t\tright: 20px;\n\t\t\tleft: auto;\n\t\t}\n\t}\n\n\t",";\n"])),(function(e){return e.theme.colors.borderColor}),(function(e){return e.theme.colors.surface}),(function(e){var t=e.checked,n=e.theme;return t?n.colors.highlight:n.colors.surface}),(function(e){if(!e.disabled)return null;return"\n\t\tcolor: lightgray;\n\t\tfont-style: italic;\n\n\t\t:hover {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t::before {\n\t\t\tborder: 1px solid lightgray;\n\t\t\tbackground: lightgray;\n\t\t}\n\n\t\t::after {\n\t\t\tbackground: white;\n\t\t}\n\n\t\tspan {\n\t\t\tcolor: lightgray;\n\t\t}\n\t"}));var to,no,ro,io,oo=Gr.div(io||(io=z(["\n\tdisplay: ",";\n"],["\n\tdisplay: ",";\n"])),(function(e){return e.checked?"block":"none"}));function ao(e){return e.checked?0:"100%"}function so(){var e=Object(d.useContext)(ii).onEvent;if(!e)throw new Error("useEvents can only be used inside a CheckoutProvider");return e}var co=ue()("composite-checkout:checkout-payment-methods");function lo(e){var t=e.summary,n=e.isComplete,r=e.className,i=$().__,o=so(),a=Object(d.useCallback)((function(e){return o({type:"PAYMENT_METHOD_LOAD_ERROR",payload:e})}),[o]),s=gi(),c=function(){var e=Object(d.useContext)(ii),t=e.paymentMethodId,n=e.setPaymentMethodId;if(!n)throw new Error("usePaymentMethodId can only be used inside a CheckoutProvider");return[t,n]}()[1],l=function(e){co("setting payment method to",e),o({type:"PAYMENT_METHOD_SELECT",payload:e}),c(e)},u=vi();return t&&n&&s?(co("rendering selected paymentMethod",s),p.a.createElement("div",{className:Br([r,"checkout-payment-methods"])},p.a.createElement(Wr,{errorMessage:i("There was a problem with this payment method."),onError:a},p.a.createElement(uo,{id:s.id,label:s.label,activeContent:s.activeContent,inactiveContent:s.inactiveContent,checked:!0,summary:!0,ariaLabel:s.getAriaLabel(i)})))):t?(co("summary requested, but no complete paymentMethod is selected; isComplete:",n,"paymentMethod:",s),null):(co("rendering paymentMethods",u),p.a.createElement("div",{className:Br([r,"checkout-payment-methods"])},p.a.createElement(mo,null,u.map((function(e){return p.a.createElement(Wr,{key:e.id,errorMessage:Object(v.sprintf)(i("There was a problem with the payment method: %s"),e.id),onError:a},p.a.createElement(uo,{id:e.id,label:e.label,activeContent:e.activeContent,inactiveContent:e.inactiveContent,checked:(null==s?void 0:s.id)===e.id,onClick:l,ariaLabel:e.getAriaLabel(i)}))})))))}function uo(e){var t=e.id,n=e.label,r=e.activeContent,i=e.inactiveContent,o=e.checked,a=e.onClick,s=e.ariaLabel,c=e.summary,l=oi().formStatus;return c?p.a.createElement(p.a.Fragment,null,i&&i):p.a.createElement(Zi,{name:"paymentMethod",value:t,id:t,checked:o,disabled:l!==Zr.READY,onChange:a?function(){return a(t)}:void 0,ariaLabel:s,label:n},r&&r)}lo.propTypes={summary:Rr.a.bool,isComplete:Rr.a.bool.isRequired,className:Rr.a.string},uo.propTypes={id:Rr.a.string.isRequired,onClick:Rr.a.func,checked:Rr.a.bool.isRequired,ariaLabel:Rr.a.string.isRequired,activeContent:Rr.a.node,label:Rr.a.node,inactiveContent:Rr.a.node,summary:Rr.a.bool};var po,mo=Gr.div(po||(po=z(["\n\tmargin-bottom: 16px;\n"],["\n\tmargin-bottom: 16px;\n"])));ue()("composite-checkout:checkout");var fo=function(e){var t=e.children,n=e.className;return p.a.createElement(vo,{className:Br([n,"checkout__summary-area"])},t)},ho=Gr.div(Ao||(Ao=z(["\n\tbackground: ",";\n\tborder-bottom: 1px solid ",";\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tborder-bottom: none 0;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n"],["\n\tbackground: ",";\n\tborder-bottom: 1px solid ",";\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t\tborder-bottom: none 0;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.smallPhoneUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.desktopUp}),(function(e){return e.theme.colors.borderColorLight}));function bo(e){var t=e.errorMessage,n=e.editButtonText,r=e.editButtonAriaLabel,i=e.nextStepButtonText,o=e.validatingButtonText,a=e.nextStepButtonAriaLabel,s=e.validatingButtonAriaLabel,c=e.isStepActive,l=e.isStepComplete,u=e.className,d=e.stepNumber,m=e.stepId,f=e.titleContent,h=e.goToThisStep,b=e.goToNextStep,g=e.activeStepContent,v=e.formStatus,y=e.completeStepContent,x=e.onError,_=$().__;return p.a.createElement(Wr,{errorMessage:t||_("There was an error with this step."),onError:x},p.a.createElement(_o,{className:u},p.a.createElement(wo,{id:m,stepNumber:d,title:f,isActive:c,isComplete:l,onEdit:v===Zr.READY&&l&&h&&!c?h:void 0,editButtonText:n||_("Edit"),editButtonAriaLabel:r||_("Edit this step")}),p.a.createElement(Yo,{isVisible:c,className:"checkout-steps__step-content"},g,b&&c&&p.a.createElement(Pi,{onClick:b,value:v===Zr.VALIDATING?o||_("Please wait…"):i||_("Continue"),ariaLabel:v===Zr.VALIDATING?s||_("Please wait…"):a||_("Continue to next step"),buttonType:"primary",disabled:v!==Zr.READY,isBusy:v===Zr.VALIDATING})),l&&y?p.a.createElement(Wo,{isVisible:!c,className:"checkout-steps__step-complete-content"},y):null))}bo.propTypes={errorMessage:Rr.a.string,onError:Rr.a.func,editButtonAriaLabel:Rr.a.string,editButtonText:Rr.a.string,nextStepButtonText:Rr.a.string,nextStepButtonAriaLabel:Rr.a.string,isStepActive:Rr.a.bool.isRequired,isStepComplete:Rr.a.bool.isRequired,className:Rr.a.string,stepNumber:Rr.a.number,stepId:Rr.a.string.isRequired,titleContent:Rr.a.node.isRequired,goToThisStep:Rr.a.func,goToNextStep:Rr.a.func,activeStepContent:Rr.a.node,formStatus:Rr.a.string,completeStepContent:Rr.a.node,validatingButtonText:Rr.a.string,validatingButtonAriaLabel:Rr.a.string};Gr.div(Lo||(Lo=z(["\n\t*:focus {\n\t\toutline: "," solid 2px;\n\t}\n"],["\n\t*:focus {\n\t\toutline: "," solid 2px;\n\t}\n"])),(function(e){return e.theme.colors.outline}));var go=Gr.div(To||(To=z(["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmargin: 0 auto 32px;\n\t}\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tmax-width: none;\n\t}\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmargin: 0 auto 32px;\n\t}\n\n\t@media ( "," ) {\n\t\talign-items: flex-start;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tmax-width: none;\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),vo=Gr.div(Fo||(Fo=z(["\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin-right: 0;\n\t\tmargin-left: 24px;\n\t\torder: 2;\n\t\twidth: 328px;\n\n\t\t.rtl & {\n\t\t\tmargin-right: 24px;\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n"],["\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin-right: 0;\n\t\tmargin-left: 24px;\n\t\torder: 2;\n\t\twidth: 328px;\n\n\t\t.rtl & {\n\t\t\tmargin-right: 24px;\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n"])),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),yo=Gr.div(Mo||(Mo=z(["\n\tbackground: ",";\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t&.checkout__step-wrapper--last-step {\n\t\tmargin-bottom: 100px;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin: 0;\n\t\torder: 1;\n\t\twidth: 556px;\n\t}\n"],["\n\tbackground: ",";\n\tbox-sizing: border-box;\n\tmargin: 0 auto;\n\twidth: 100%;\n\n\t&.checkout__step-wrapper--last-step {\n\t\tmargin-bottom: 100px;\n\t}\n\n\t@media ( "," ) {\n\t\tborder: 1px solid ",";\n\t}\n\n\t@media ( "," ) {\n\t\tmax-width: 556px;\n\t}\n\n\t@media ( "," ) {\n\t\tmargin: 0;\n\t\torder: 1;\n\t\twidth: 556px;\n\t}\n"])),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.smallPhoneUp}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.tabletUp}),(function(e){return e.theme.breakpoints.desktopUp})),xo=Gr.div(Do||(Do=z(["\n\tbackground: ",";\n\tpadding: 24px;\n\tbottom: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tz-index: 10;\n\tborder-top-width: 0;\n\tborder-top-style: solid;\n\tborder-top-color: ",";\n\n\t.checkout__step-wrapper--last-step & {\n\t\tborder-top-width: 1px;\n\t\tposition: fixed;\n\t}\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t.checkout-button {\n\t\twidth: 100%;\n\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\twidth: calc( 100% - 60px );\n\t\t}\n\t}\n\n\t@media ( "," ) {\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\tposition: relative;\n\t\t\tborder: 0;\n\n\t\t\t.checkout-button {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"],["\n\tbackground: ",";\n\tpadding: 24px;\n\tbottom: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\tz-index: 10;\n\tborder-top-width: 0;\n\tborder-top-style: solid;\n\tborder-top-color: ",";\n\n\t.checkout__step-wrapper--last-step & {\n\t\tborder-top-width: 1px;\n\t\tposition: fixed;\n\t}\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t.checkout-button {\n\t\twidth: 100%;\n\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\twidth: calc( 100% - 60px );\n\t\t}\n\t}\n\n\t@media ( "," ) {\n\t\t.checkout__step-wrapper--last-step & {\n\t\t\tposition: relative;\n\t\t\tborder: 0;\n\n\t\t\t.checkout-button {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"])),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.breakpoints.tabletUp}));var _o=Gr.div(Ro||(Ro=z(["\n\tposition: relative;\n\tborder-bottom: 1px solid ",";\n\tpadding: 16px;\n\n\t&.checkout-step {\n\t\tbackground: ",";\n\t}\n\n\t&.checkout-step.is-active,\n\t&.checkout-step.is-complete {\n\t\tbackground: ",";\n\t}\n\n\t@media ( "," ) {\n\t\tpadding: 24px;\n\t}\n"],["\n\tposition: relative;\n\tborder-bottom: 1px solid ",";\n\tpadding: 16px;\n\n\t&.checkout-step {\n\t\tbackground: ",";\n\t}\n\n\t&.checkout-step.is-active,\n\t&.checkout-step.is-complete {\n\t\tbackground: ",";\n\t}\n\n\t@media ( "," ) {\n\t\tpadding: 24px;\n\t}\n"])),(function(e){return e.theme.colors.borderColorLight}),(function(e){return e.theme.colors.background}),(function(e){return e.theme.colors.surface}),(function(e){return e.theme.breakpoints.tabletUp}));function wo(e){var t=e.id,n=e.className,r=e.stepNumber,i=e.title,o=e.isActive,a=e.isComplete,s=e.onEdit,c=e.editButtonText,l=e.editButtonAriaLabel,u=$().__,d=!!s;return p.a.createElement(ko,{isComplete:a,isActive:o,className:Br([n,"checkout-step__header"])},p.a.createElement(Oo,{isComplete:a,isActive:o,id:t},r||null),p.a.createElement(Eo,{fullWidth:!d,isActive:o},i),d&&p.a.createElement(Po,{className:"checkout-step__edit-button",buttonType:"text-button",onClick:s,"aria-label":l||u("Edit this step")},c||u("Edit")))}function Oo(e){var t=e.isComplete,n=e.isActive,r=e.className,i=e.children,o=e.id,a=!n&&t;return p.a.createElement(So,{className:Br([r,"checkout-step__stepper"])},p.a.createElement(Co,{isComplete:a},p.a.createElement(jo,{isComplete:a,isActive:n},i),p.a.createElement(No,null,p.a.createElement(Ci,{id:o}))))}wo.propTypes={id:Rr.a.string,className:Rr.a.string,stepNumber:Rr.a.number,title:Rr.a.node.isRequired,isActive:Rr.a.bool,isComplete:Rr.a.bool,editButtonText:Rr.a.string,editButtonAriaLabel:Rr.a.string,onEdit:Rr.a.func},Oo.propTypes={id:Rr.a.string,className:Rr.a.string,isComplete:Rr.a.bool,isActive:Rr.a.bool};var Eo=Gr.span(Bo||(Bo=z(["\n\tcolor: ",";\n\tfont-weight: ",";\n\tmargin-right: ",";\n\tflex: ",";\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: ",";\n\t}\n"],["\n\tcolor: ",";\n\tfont-weight: ",";\n\tmargin-right: ",";\n\tflex: ",";\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: ",";\n\t}\n"])),(function(e){return e.isActive?e.theme.colors.textColorDark:e.theme.colors.textColor}),(function(e){return e.isActive?e.theme.weights.bold:e.theme.weights.normal}),(function(e){return e.fullWidth?"0":"8px"}),(function(e){return e.fullWidth?"1":"inherit"}),(function(e){return e.fullWidth?"0":"8px"})),ko=Gr.h2(Io||(Io=z(["\n\tfont-size: 16px;\n\tdisplay: flex;\n\twidth: 100%;\n\talign-items: center;\n\tmargin: 0 0 ",";\n"],["\n\tfont-size: 16px;\n\tdisplay: flex;\n\twidth: 100%;\n\talign-items: center;\n\tmargin: 0 0 ",";\n"])),(function(e){return e.isComplete||e.isActive?"8px":"0"})),So=Gr.div(zo||(zo=z(["\n\tposition: relative;\n\twidth: 27px;\n\theight: 27px;\n\tmargin-right: 8px;\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: 8px;\n\t}\n"],["\n\tposition: relative;\n\twidth: 27px;\n\theight: 27px;\n\tmargin-right: 8px;\n\n\t.rtl & {\n\t\tmargin-right: 0;\n\t\tmargin-left: 8px;\n\t}\n"]))),Co=Gr.div(Uo||(Uo=z(["\n\tposition: relative;\n\ttransform-origin: center center;\n\ttransition: transform 0.3s 0.1s ease-out;\n\ttransform-style: preserve-3d;\n\ttransform: ",";\n"],["\n\tposition: relative;\n\ttransform-origin: center center;\n\ttransition: transform 0.3s 0.1s ease-out;\n\ttransform-style: preserve-3d;\n\ttransform: ",";\n"])),(function(e){return e.isComplete?"rotateY(180deg)":"rotateY(0)"})),jo=Gr.div(Ho||(Ho=z(["\n\tbackground: ",";\n\tfont-weight: normal;\n\twidth: 27px;\n\theight: 27px;\n\tline-height: 27px;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\tborder-radius: 50%;\n\tcolor: ",";\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbackface-visibility: hidden;\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t// Reason: The IE media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tz-index: ",";\n\t}\n"],["\n\tbackground: ",";\n\tfont-weight: normal;\n\twidth: 27px;\n\theight: 27px;\n\tline-height: 27px;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\tborder-radius: 50%;\n\tcolor: ",";\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbackface-visibility: hidden;\n\n\t.rtl & {\n\t\tright: 0;\n\t\tleft: auto;\n\t}\n\n\t// Reason: The IE media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tz-index: ",";\n\t}\n"])),(function(e){var t=e.isComplete,n=e.isActive,r=e.theme;if(n)return r.colors.highlight;if(t)return r.colors.success;return r.colors.upcomingStepBackground}),(function(e){var t=e.isComplete,n=e.isActive,r=e.theme;if(t||n)return r.colors.surface;return r.colors.textColor}),(function(e){return e.isComplete?"0":"1"})),No=Gr(jo)($o||($o=z(["\n\tbackground: ",";\n\ttransform: rotateY( 180deg );\n\t// Reason: media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tbackface-visibility: visible;\n\t\tz-index: ",";\n\t}\n\n\tsvg {\n\t\tmargin-top: 4px;\n\t}\n"],["\n\tbackground: ",";\n\ttransform: rotateY( 180deg );\n\t// Reason: media query needs to not have spaces within brackets otherwise ie11 doesn't read them\n\t// prettier-ignore\n\t@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {\n\t\tbackface-visibility: visible;\n\t\tz-index: ",";\n\t}\n\n\tsvg {\n\t\tmargin-top: 4px;\n\t}\n"])),(function(e){return e.theme.colors.success}),(function(e){return e.isComplete?"1":"0"})),Po=Gr(_i)(qo||(qo=z(["\n\tfont-size: 14px;\n\tpadding-top: 1px;\n"],["\n\tfont-size: 14px;\n\tpadding-top: 1px;\n"])));var Ao,Lo,To,Fo,Mo,Do,Ro,Bo,Io,zo,Uo,Ho,$o,qo,Vo,Go,Yo=Gr.div(Vo||(Vo=z(["\n\tcolor: ",";\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"],["\n\tcolor: ",";\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"])),(function(e){return e.theme.colors.textColor}),(function(e){return e.isVisible?"block":"none"})),Wo=Gr.div(Go||(Go=z(["\n\tcolor: ",";\n\tfont-size: 14px;\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"],["\n\tcolor: ",";\n\tfont-size: 14px;\n\tdisplay: ",";\n\tpadding-left: 35px;\n\n\t.rtl & {\n\t\tpadding-right: 35px;\n\t\tpadding-left: 0;\n\t}\n"])),(function(e){return e.theme.colors.textColorLight}),(function(e){return e.isVisible?"block":"none"}));n(95);var Ko,Xo,Zo=Object(u.createElement)(O,{icon:kr,size:17}),Jo=function(e){var t=e.onNextStep,n=e.onPrevStep,r=Object(m.useSelect)((function(e){return e(c).getSelectedDomain()})),i=Object(m.useSelect)((function(e){return e(c).getSelectedPlan()})),o=Object(m.useSelect)((function(e){return e(l).getPrices()})),a=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),s=Object(m.useSelect)((function(e){return e(c).isStepCompleted})),d=Object(m.useSelect)((function(e){return e(c).isFlowCompleted()})),p=Object(g.useEntityProp)("root","site","title"),f=b()(p,1)[0],h=K().currentDomainName,x=function(){var e,t=re();return null===(e=Object(m.useSelect)((function(e){if(t&&!(t.length<2))return e("automattic/domains/suggestions").getDomainSuggestions(t,{include_wordpressdotcom:!1,include_dotblogsubdomain:!1,quantity:1,locale:"en"})}),[t]))||void 0===e?void 0:e[0]}(),_=re(),w=Object(m.useDispatch)(c).setStep,O=Object(u.createElement)("div",{className:"nux-launch__summary-item"},Object(u.createElement)("p",null,Object(v.__)("Site","full-site-editing"),": ",f)),E=Object(u.createElement)("div",{className:"nux-launch__summary-item"},(null==r?void 0:r.domain_name)?Object(u.createElement)("p",null,Object(v.__)("Custom domain","full-site-editing"),": ",r.domain_name):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",null,Object(v.__)("Free site address","full-site-editing"),": ",h),Object(u.createElement)(y.Tip,null,_?Object(u.createInterpolateElement)(Object(v.__)("A custom site address like <DomainName /> (<Link>now available!</Link>) is more unique and can help with your SEO ranking.","full-site-editing"),{DomainName:Object(u.createElement)("span",{className:j()("nux-launch__summary-item__domain-name",{"is-loading":!x})},(null==x?void 0:x.domain_name)||"loading-example.com"),Link:Object(u.createElement)(y.Button,{isLink:!0,onClick:function(){return w(a.Domain)}})}):Object(v.__)("A custom site address is more unique and can help with your SEO ranking.","full-site-editing")))),k=Object(u.createElement)("div",{className:"nux-launch__summary-item"},i&&!(null==i?void 0:i.isFree)?Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"nux-launch__summary-item__plan-name"},"WordPress.com ",i.title),Object(v.__)("Plan subscription","full-site-editing"),": ",o[i.storeSlug]," ",Object(v.__)("per month, billed yearly","full-site-editing")):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"nux-launch__summary-item__plan-name"},"WordPress.com Free"),Object(u.createElement)("p",null,Object(v.__)("Plan subscription: Free forever","full-site-editing")),Object(u.createElement)(y.Tip,null,Object(u.createInterpolateElement)(Object(v.__)("<Link>Upgrade to Premium</Link> to get access to 13GB storage space, payment collection options, 24/7 Live Chat support, and more. Not sure? Give it a spin—we offer 30-day full-refunds, guaranteed.","full-site-editing"),{Link:Object(u.createElement)(y.Button,{isLink:!0,onClick:function(){return w(a.Plan)}})}))));return Object(u.createElement)(W,null,Object(u.createElement)("div",{className:"nux-launch-step__header"},Object(u.createElement)("div",null,Object(u.createElement)(A,null,Object(v.__)("Launch your site","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Your site will be made public and ready to share with others.","full-site-editing")))),Object(u.createElement)("div",{className:"nux-launch-step__body"},Object(u.createElement)(Er,{theme:Mr},Object(u.createElement)(go,null,s(a.Plan)&&Object(u.createElement)(fo,null,Object(u.createElement)(ho,{className:"nux-launch__feature-list"},Object(u.createElement)("h3",{className:"nux-launch__feature-list-title"},Object(v.__)("Included in your plan","full-site-editing")),Object(u.createElement)("ul",{className:"nux-launch__feature-item-group"},null==i?void 0:i.features.map((function(e,t){return Object(u.createElement)("li",{key:t,className:"nux-launch__feature-item"},Zo," ",e)}))),Object(u.createElement)("p",null,Object(v.__)("Questions?","full-site-editing")," ",Object(u.createElement)(y.Button,{isLink:!0,href:"https://wordpress.com/help/contact",target:"_blank"},Object(v.__)("Ask a Happiness Engineer","full-site-editing"))))),Object(u.createElement)(yo,null,Object(u.createElement)(bo,{isStepActive:!1,titleContent:Object(v.__)("Your site name","full-site-editing"),isStepComplete:s(a.Name),goToThisStep:function(){return w(a.Name)},completeStepContent:O,stepId:"name",formStatus:Zr.READY}),Object(u.createElement)(bo,{isStepActive:!1,titleContent:Object(v.__)("Your domain","full-site-editing"),isStepComplete:s(a.Domain),goToThisStep:function(){return w(a.Domain)},completeStepContent:E,stepId:"domain",formStatus:Zr.READY}),Object(u.createElement)(bo,{isStepActive:!1,titleContent:Object(v.__)("Your plan","full-site-editing"),isStepComplete:s(a.Plan),goToThisStep:function(){return w(a.Plan)},completeStepContent:k,stepId:"plan",formStatus:Zr.READY}),Object(u.createElement)(xo,null,Object(u.createElement)(y.Button,{isPrimary:!0,disabled:!d,onClick:t,className:"nux-launch__submit-button"},Object(v.__)("Launch your site","full-site-editing"))))))),Object(u.createElement)("div",{className:"nux-launch-step__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(G,{onClick:function(){null==n||n()}}))))},Qo=(n(98),function(e){var t,n=e.onSubmit,r=Object(m.useSelect)((function(e){return e(c).getState()})).step,i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),a=Object(m.useSelect)((function(e){return e(c).getFirstIncompleteStep()})),s=Object(m.useDispatch)(c),l=s.setStep,p=s.setSidebarFullscreen,f=s.unsetSidebarFullscreen,h=(t={},P()(t,i.Name,ie),P()(t,i.Domain,et),P()(t,i.Plan,$n),P()(t,i.Final,Jo),t),b=o.indexOf(r),g=h[r];return d.useEffect((function(){a&&a!==i.Name&&l(a)}),[]),Object(u.createElement)(g,{onPrevStep:function(){var e=b-1;e<0&&(e=0,p()),l(o[e])},onNextStep:function(){var e=b+1;e>o.length-1&&(null==n||n()),f(),l(o[e])}})}),ea=Object(u.createElement)(y.SVG,{viewBox:"0 0 24 24"},Object(u.createElement)(y.Circle,{cx:"12",cy:"12",r:"5"})),ta=function(e){var t=e.title,n=e.isCompleted,r=e.isCurrent,i=e.isDisabled,o=e.onClick;return Object(u.createElement)(y.Button,{className:j()("nux-launch-menu__item",{"is-current":r,"is-completed":n}),onClick:o,disabled:i,isLink:!0},Object(u.createElement)(O,{icon:n?kr:ea,size:16}),Object(u.createElement)("span",null,t))},na=(n(99),function(e){var t,n=e.onMenuItemClick,r=Object(m.useSelect)((function(e){return e(c).getState()})).step,i=Object(m.useSelect)((function(e){return e(c).getLaunchStep()})),o=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),a=Object(m.useSelect)((function(e){return e(c).isStepCompleted})),s=Object(m.useSelect)((function(e){return e(c).isFlowStarted()})),l=(t={},P()(t,i.Name,Object(v.__)("Name your site","full-site-editing")),P()(t,i.Domain,Object(v.__)("Select a domain","full-site-editing")),P()(t,i.Plan,Object(v.__)("Select a plan","full-site-editing")),P()(t,i.Final,Object(v.__)("Launch your site","full-site-editing")),t),d=Object(m.useDispatch)(c).setStep;return Object(u.createElement)("div",{className:"nux-launch-menu"},Object(u.createElement)("h4",null,Object(v.__)("Site Launch Steps","full-site-editing")),Object(u.createElement)("div",{className:"nux-launch-menu__item-group"},o.map((function(e){return Object(u.createElement)(ta,{key:e,title:l[e],isCompleted:a(e),isCurrent:e===r,onClick:function(){return function(e){d(e),n(e)}(e)},isDisabled:e===i.Final&&!s})}))))}),ra=(n(100),function(){var e=Object(m.useDispatch)(c),t=e.setStep,n=e.unsetSidebarFullscreen,r=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()}));return Object(u.createElement)("div",{className:"nux-launch-sidebar"},Object(u.createElement)("div",{className:"nux-launch-sidebar__header"},Object(u.createElement)(A,null,Object(v.__)("You're almost there!","full-site-editing")),Object(u.createElement)(L,null,Object(v.__)("Complete the following steps to launch your site. Your site will remain private until you Launch.","full-site-editing"))),Object(u.createElement)("div",{className:"nux-launch-sidebar__body"},Object(u.createElement)(na,{onMenuItemClick:function(){n()}})),Object(u.createElement)("div",{className:"nux-launch-sidebar__footer"},Object(u.createElement)(V,{sticky:!0},Object(u.createElement)(Y,{onClick:function(){t(r[0]),n()}},Object(v.__)("Get Started","full-site-editing")))))}),ia=(n(101),function(){var e=$().__,t=Object(m.useSelect)((function(e){return e(c).getState()})).step,n=Object(m.useSelect)((function(e){return e(c).getLaunchSequence()})),r=n.indexOf(t)+1,i=n.length,o=Object(v.sprintf)(e("%1$d of %2$d","full-site-editing"),r,i);return Object(u.createElement)("div",{className:"nux-launch-progress"},o)}),oa=(n(102),function(e){var t=e.onClose,n=Object(m.useSelect)((function(e){return e(c).getState()})),r=n.step,i=n.isSidebarFullscreen,o=Object(m.useDispatch)(c).launchSite,a=d.useState(!1),s=b()(a,2),l=s[0],p=s[1],f=function(){p(!0),o()};return K().isPaidPlan&&!l&&f(),Object(u.createElement)(y.Modal,{open:!0,className:j()("nux-launch-modal","step-".concat(r),i?"is-sidebar-fullscreen":""),overlayClassName:"nux-launch-modal-overlay",bodyOpenClassName:"has-nux-launch-modal",onRequestClose:t,title:""},l?Object(u.createElement)("div",{className:"nux-launch-modal-body__launching"},Object(v.__)("Hooray! Your site will be ready shortly.","full-site-editing")):Object(u.createElement)(u.Fragment,null,Object(u.createElement)("div",{className:"nux-launch-modal-body"},Object(u.createElement)("div",{className:"nux-launch-modal-header"},Object(u.createElement)("div",{className:"nux-launch-modal-header__wp-logo"},Object(u.createElement)(O,{icon:k,size:36})),Object(u.createElement)(ia,null)),Object(u.createElement)(g.EntityProvider,{kind:"root",type:"site"},Object(u.createElement)(Qo,{onSubmit:f}))),Object(u.createElement)("div",{className:"nux-launch-modal-aside"},Object(u.createElement)(ra,null)),Object(u.createElement)(y.Button,{isLink:!0,className:"nux-launch-modal__close-button",onClick:t,"aria-label":Object(v.__)("Close dialog","full-site-editing"),disabled:!t},Object(u.createElement)("span",null,Object(u.createElement)(O,{icon:S,size:24})))))});Ko="a8c-editor-site-launch",Xo={render:function(){var e=Object(m.useSelect)((function(e){return e(c).getState()})).isSidebarOpen,t=Object(m.useDispatch)(c),n=t.closeSidebar,r=t.setSidebarFullscreen,i=t.unsetSidebarFullscreen;return function(){var e=K().launchStatus,t=Object(m.useSelect)((function(e){return e(c).getState()})),n=t.plan,r=t.domain,i=Object(m.useSelect)((function(e){return e(l).isPlanEcommerce(null==n?void 0:n.storeSlug)})),o=Object(m.useDispatch)(s),a=o.getCart,u=o.setCart;d.useEffect((function(){if(e){if(n&&!(null==n?void 0:n.isFree)){var t={product_id:n.productId,product_slug:n.storeSlug,extra:{source:"gutenboarding"}},o={meta:null==r?void 0:r.domain_name,product_id:null==r?void 0:r.product_id,extra:{privacy_available:null==r?void 0:r.supports_privacy,privacy:null==r?void 0:r.supports_privacy,source:"gutenboarding"}};return void function(){var e=te()(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(window._currentSiteId);case 2:return n=e.sent,e.next=5,u(window._currentSiteId,Q()(Q()({},n),{},{products:[].concat(Z()(n.products),[t,o])}));case 5:r=Object(ne.addQueryArgs)("https://wordpress.com/checkout/".concat(window._currentSiteId),Q()({preLaunch:1},!i&&{redirect_to:"/home/".concat(window._currentSiteId)})),window.top.location.href=r;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}window.top.location.href="https://wordpress.com/home/".concat(window._currentSiteId)}}),[e])}(),d.useEffect((function(){window.innerWidth<782?r():i()}),[e,r,i]),e?Object(u.createElement)(oa,{onClose:n}):null}},Object(f.registerPlugin)(Ko,Xo)}]));
|
full-site-editing-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
-
* Version: 2.7.
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
@@ -35,7 +35,7 @@ namespace A8C\FSE;
|
|
35 |
*
|
36 |
* @var string
|
37 |
*/
|
38 |
-
define( 'PLUGIN_VERSION', '2.7.
|
39 |
|
40 |
// Always include these helper files for dotcom FSE.
|
41 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
@@ -320,7 +320,10 @@ add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_block_editor_sidebar'
|
|
320 |
* Coming soon
|
321 |
*/
|
322 |
function load_coming_soon() {
|
323 |
-
if (
|
|
|
|
|
|
|
324 |
require_once __DIR__ . '/coming-soon/coming-soon.php';
|
325 |
}
|
326 |
}
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
+
* Version: 2.7.2
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
35 |
*
|
36 |
* @var string
|
37 |
*/
|
38 |
+
define( 'PLUGIN_VERSION', '2.7.2' );
|
39 |
|
40 |
// Always include these helper files for dotcom FSE.
|
41 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
320 |
* Coming soon
|
321 |
*/
|
322 |
function load_coming_soon() {
|
323 |
+
if (
|
324 |
+
( defined( 'WPCOM_PUBLIC_COMING_SOON' ) && WPCOM_PUBLIC_COMING_SOON ) ||
|
325 |
+
apply_filters( 'a8c_enable_public_coming_soon', false )
|
326 |
+
) {
|
327 |
require_once __DIR__ . '/coming-soon/coming-soon.php';
|
328 |
}
|
329 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: alexislloyd, allancole, automattic, bartkalisz, codebykat, copons,
|
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 2.7.
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -39,6 +39,8 @@ This plugin is experimental, so we don't provide any support for it outside of w
|
|
39 |
|
40 |
|
41 |
== Changelog ==
|
|
|
|
|
42 |
|
43 |
= 2.7.1 =
|
44 |
* Coming Soon v2: adding links to default page (https://github.com/Automattic/wp-calypso/pull/46441)
|
@@ -46,7 +48,6 @@ This plugin is experimental, so we don't provide any support for it outside of w
|
|
46 |
* Fixes Global Styles plugin translation (https://github.com/Automattic/wp-calypso/pull/46421)
|
47 |
|
48 |
= 2.7 =
|
49 |
-
* Added coming soon page. (https://github.com/Automattic/wp-calypso/pull/45950)
|
50 |
* Added launch flow mobile layout (https://github.com/Automattic/wp-calypso/pull/45714).
|
51 |
* Added vertical space above the first content block when the page title is hidden. (https://github.com/Automattic/wp-calypso/pull/46003)
|
52 |
* Removed the Premium Content block from the "New" category, and add it to the "Earn" category. (https://github.com/Automattic/wp-calypso/pull/45978)
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 2.7.2
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
39 |
|
40 |
|
41 |
== Changelog ==
|
42 |
+
= 2.7.2 =
|
43 |
+
* Enable Coming Soon v2 for a12s
|
44 |
|
45 |
= 2.7.1 =
|
46 |
* Coming Soon v2: adding links to default page (https://github.com/Automattic/wp-calypso/pull/46441)
|
48 |
* Fixes Global Styles plugin translation (https://github.com/Automattic/wp-calypso/pull/46421)
|
49 |
|
50 |
= 2.7 =
|
|
|
51 |
* Added launch flow mobile layout (https://github.com/Automattic/wp-calypso/pull/45714).
|
52 |
* Added vertical space above the first content block when the page title is hidden. (https://github.com/Automattic/wp-calypso/pull/46003)
|
53 |
* Removed the Premium Content block from the "New" category, and add it to the "Earn" category. (https://github.com/Automattic/wp-calypso/pull/45978)
|