1"use strict";(self.webpackChunk_reseller_storefront=self.webpackChunk_reseller_storefront||[]).push([[593],{6593:(e,s,i)=>{i.r(s),i.d(s,{HomePage:()=>T,default:()=>F});var l=i(5963),r=i(8946),t=i(7822),o=i(6540),a=i(8065),d=i(8798),c=i(6942),n=i.n(c),h=i(1834),m=i(1013),x=i(7129),j=i(1546),u=i(6442),p=i(450),g=i(5583),N=i(4108),f=i(4877),v=i(1889),A=i(4848);const y="suppressForwardedFromModal",b=()=>{const{settings:e}=(0,o.useContext)(r.AZ),{displayName:s,forwardedFromDisplayName:i}=e,[l,t]=(0,o.useState)(!1),d=(0,u.A)(),c=(0,v.A)();(0,o.useEffect)((()=>{const e=!!g.cookie.get(y);t(!!i&&!e)}),[]);const n=()=>{g.cookie.set(y,"true",{path:"/"}),t(!1)};return l?(0,A.jsxs)(p.A,{id:"forwarded-from-modal",title:c,className:"text-black forwarded-from",onClose:n,focusLock:!0,children:[(0,A.jsx)("p",{children:(0,A.jsx)("strong",{children:(0,A.jsx)(a.A,{id:"home.forwardedFrom.body",values:{displayName:s,forwardedFromDisplayName:i}})})}),(0,A.jsx)(N.A,{children:(0,A.jsx)(f.A,{id:"modal-close-button",design:"primary",onClick:n,text:d.formatMessage({id:"home.forwardedFrom.close"})})})]}):null},k="microsoft-365",w=(0,d.Ay)((()=>{const e=(0,r.NT)(),{domainRegistrationProduct:s,settings:i,settings:{displayName:l,heroImage:t,privateLabelId:d},tags:c,support:u,navigation:p}=e,g=j.A.getProductCalloutKeys(p),N=g.includes("cpanel"),f=g.includes("professionalEmail"),v=g.includes("domainRegistration"),y=v&&!!s,w=[N&&"cpanel",f&&"professional-email",v&&"domain-registration",g.includes("microsoft365")&&"microsoft-365"].filter(Boolean),P=(e=>{if(0===e.length)return e;const s=e.filter((e=>"professional-email"===e.id)),i=e.filter((e=>e.id===k));return 1===s.length&&1===i.length&&(e=e.filter((e=>e.id!==k))),e})(c?c.filter((e=>w.includes(e.id))):[]);let C;if(y){const{tld:e,listPrice:i,salePrice:l}=s;C=l?(0,A.jsxs)("div",{className:"home-hero-tld",children:[(0,A.jsx)(m.A,{id:"hotDeals"}),(0,A.jsxs)("div",{className:"home-hero-tld-pricing",children:[(0,A.jsx)("span",{children:(0,A.jsx)(a.A,{id:"home.hero.saleTldTitle",values:{tld:e.toUpperCase(),listPrice:i,s:e=>(0,A.jsx)("s",{children:e})}})}),(0,A.jsx)("span",{children:(0,A.jsx)(a.A,{id:"home.hero.salePriceTitle",values:{salePrice:l}})})]})]}):(0,A.jsx)(a.A,{id:"home.hero.tldTitle",values:{tld:e.toUpperCase(),listPrice:i}})}else C=(0,A.jsx)(a.A,{id:"home.hero.title",values:{displayName:l}});return(0,A.jsxs)(o.Fragment,{children:[(0,A.jsx)(x.A,{preference:["securityBundle","hosting","domains"]}),(0,A.jsx)(b,{}),(0,A.jsxs)("div",{className:"home",children:[(0,A.jsx)("div",{className:n()("home-hero text-center",{"home-hero-image":!!t}),style:{backgroundImage:t&&`url(${t})`},children:(0,A.jsxs)("div",{className:n()("container",{"home-hero-text":!!t}),children:[(0,A.jsx)("h1",{className:"headline-brand",children:C}),v&&(0,A.jsxs)("div",{children:[N&&(0,A.jsx)("p",{className:"home-hero-subtitle",children:(0,A.jsx)(a.A,{id:"home.hero.subtitle"})}),(0,A.jsx)(h.A,{eidContext:"home",buttonDesign:"primary"})]})]})}),P.length>0&&(0,A.jsx)("div",{className:"home-products",children:(0,A.jsxs)("div",{className:"container",children:[(0,A.jsx)("h2",{className:"sr-only",children:(0,A.jsx)(a.A,{id:"home.products.title"})}),(0,A.jsx)("div",{className:"row home-products-row",children:P.map((e=>{const s=P.length<=2?"col-md-6 col-lg-5 col-xl-4":"col-md-4";return(0,A.jsx)("div",{className:`col-xs-12 ${s} text-center`,children:(0,A.jsxs)("div",{className:"home-products-product","data-testid":e.id,children:[(0,A.jsx)(m.A,{id:e.imageId}),(0,A.jsx)("h3",{children:(0,A.jsx)("a",{href:`/products/${e.id}?plid=${d}`,"data-eid":`storefront.home.product_highlights.${e.id}.link.click`,children:e.title})}
1),(0,A.jsx)("p",{children:e.subtitle})]})},e.id)}))})]})}),u&&u.technical&&(0,A.jsx)("div",{className:"home-contact bg-faded text-center",children:(0,A.jsx)("div",{className:"container",children:(0,A.jsxs)("div",{className:"home-contact-info",children:[(0,A.jsx)("h2",{children:(0,A.jsx)(a.A,{id:"home.contact.title"})}),(0,A.jsx)("p",{children:(0,A.jsx)(a.A,{id:"home.contact.body"})}),(0,A.jsx)("p",{className:"lead",children:(0,A.jsx)(a.A,{id:"home.contact.cta",values:{supportPhoneNumber:u.technical,a:e=>(0,A.jsx)("a",{href:`tel:${j.A.stripNonNumerals(e)}`,children:e})}})}),j.A.shouldRenderEnglishOnlySupportDisclaimer(i)&&(0,A.jsx)("p",{className:"contactUs-englishOnly",children:(0,A.jsx)(a.A,{id:"contactUs.englishOnly"})})]})})})]})]})}));var P=i(2204);const C=()=>{const{tag:e}=(0,r.NT)(),s=e?.products??[];return(0,A.jsxs)("div",{className:"home super",children:[(0,A.jsx)("div",{className:"home-hero bg-primary-o-highlight text-center",children:(0,A.jsxs)("div",{className:"container",children:[(0,A.jsx)("h1",{className:"headline-brand",children:(0,A.jsx)(a.A,{id:"superHome.hero.title"})}),(0,A.jsx)("p",{children:(0,A.jsx)(a.A,{id:"superHome.hero.subtitle"})})]})}),(0,A.jsx)("div",{className:"home-products",children:(0,A.jsx)("div",{className:"container",children:(0,A.jsx)("div",{className:"row",children:s.map((e=>(0,A.jsx)("div",{className:"col-lg-6",children:(0,A.jsx)(P.A,{product:e})},e.id)))})})})]})},T=()=>{const{settings:e}=(0,r.NT)();return e.resellerTypeId===l.enums.resellerType.SUPER?(0,A.jsx)(C,{}):(0,A.jsx)(w,{})},F=(0,t.A)(T)}}]); 2//# sourceMappingURL=593.e91434d1.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.