1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6944],{1868:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var l=a(95155);a(12115),a(12613);var i=a(80926);function n(e){let{text:s=""}=e;return(0,l.jsxs)("div",{className:"spinner-container",children:[(0,l.jsx)(i.A,{color:"var(--merchant-primary)"}),s&&(0,l.jsx)("p",{className:"spinner-text mt-[10px]",children:s})]})}},46944:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>h});var l=a(95155),i=a(12115);a(86143);var n=a(83391),t=a(74836),r=a(45608),c=a(1868),d=a(29929);let m=["One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten"],o=e=>{var s;return null!==(s=m[e-1])&&void 0!==s?s:String(e)},u=e=>{if(!e)return[];try{let s=[];return[...e.matchAll(/"(\{[^}]+\})"/g)].forEach(e=>{try{let a=JSON.parse(e[1].replace(/\\"/g,'"'));a.tag&&s.push({title:a.tag,description:a.sub||""})}catch(e){}}),s}catch(e){return[]}},h=e=>{let{merchantDetails:s}=e,[a,m]=(0,i.useState)(!1),[h,v]=(0,i.useState)([]),[x,j]=(0,i.useState)([]),[N,g]=(0,i.useState)(""),[p,b]=(0,i.useState)(""),[y,f]=(0,i.useState)(""),[S,w]=(0,i.useState)(!1),[_,k]=(0,i.useState)(null),[A,q]=(0,i.useState)([]),[I,T]=(0,i.useState)(!0),[C,E]=(0,i.useState)(!0),[F,M]=(0,i.useState)(null),B=(0,n.d4)(e=>e.counter.isDarkMode),{isHTMLString:L}=d.t;(0,i.useEffect)(()=>{O()},[]);let O=async()=>{try{var e,a,l,i,n;let c=localStorage.getItem("sessionId");m(!0);let d=await t.A.getMerchantAboutUsList(null==s?void 0:s.merchantid,c);if((null==d?void 0:null===(e=d.data)||void 0===e?void 0:e.code)==0){let e=d.data.data;v(null==e?void 0:e.aboutUs),j(null==e?void 0:e.faq),g(null==e?void 0:e.storeHeader),b(null==e?void 0:e.storeDescription),f(null==e?void 0:e.heroImage),w(null==e?void 0:e.enableNumberBanner),k(null==e?void 0:e.numberBannerStats),q(u(null==e?void 0:e.websiteTags)),T(null===(l=null==e?void 0:e.is_about_us_enabled)||void 0===l||l),E(null===(i=null==e?void 0:e.is_faq_enabled)||void 0===i||i)}else(null==d?void 0:null===(a=d.data)||void 0===a?void 0:a.message)==="Invalid Token"?(localStorage.removeItem("User"),localStorage.removeItem("sessionId")):(0,r.oR)(null==d?void 0:null===(n=d.data)||void 0===n?void 0:n.message,{autoClose:500})}catch(e){console.log(e)}finally{m(!1)}},U=e=>{M(s=>s===e?null:e)},W=p||(null==s?void 0:s.storedescription);return(0,l.jsxs)("div",{className:"ma-wrapper".concat(B?" ma-wrapper--dark":" ma-wrapper--light"),children:[a&&(0,l.jsx)(c.A,{}),(0,l.jsxs)("section",{className:"ma-hero".concat(y?" ma-hero--with-image":""),children:[(0,l.jsxs)("div",{className:"ma-hero-left",children:[(0,l.jsx)("h1",{className:"ma-hero-h1",children:N||"About us"}),W&&"undefined"!==W&&"null"!==W&&(L(W)?(0,l.jsx)("div",{className:"ma-hero-desc ma-html-content",dangerouslySetInnerHTML:{__html:W}}):(0,l.jsx)("p",{className:"ma-hero-desc",children:W})),A.length>0&&(0,l.jsx)("div",{className:"ma-trust-pills",children:A.map((e,s)=>(0,l.jsx)("span",{className:"ma-trust-pill",children:e.title},s))})]}),y&&(0,l.jsx)("div",{className:"ma-hero-img",children:(0,l.jsx)("img",{src:y,alt:N||"Store",loading:"eager"})})]}),S&&_&&(0,l.jsxs)("div",{className:"ma-trust-bar",children:[(0,l.jsxs)("div",{className:"ma-trust-stat",children:[(0,l.jsx)("div",{className:"ma-trust-num",children:_.serviced}),(0,l.jsx)("div",{className:"ma-trust-label",children:_.serviced_label})]}),(0,l.jsxs)("div",{className:"ma-trust-stat",children:[(0,l.jsx)("div",{className:"ma-trust-num",children:_.yearsInService}),(0,l.jsx)("div",{className:"ma-trust-label",children:_.yearsInService_label})]}),(0,l.jsxs)("div",{className:"ma-trust-stat",children:[(0,l.jsx)("div",{className:"ma-trust-num",children:_.rating}),(0,l.jsx)("div",{className:"ma-trust-label",children:_.rating_label})]}),(0,l.jsxs)("div",{className:"ma-trust-stat",children:[(0,l.jsx)("div",{className:"ma-trust-num",children:_.ecoFriendly}),(0,l.jsx)("div",{className:"ma-trust-label",children:_.ecoFriendly_label})]})]}),A.length>0&&(0,l.jsxs)("section",{className:"ma-why-section",children:[(0,l.jsx)("p",{className:"ma-s-eyebrow",children:"Why choose us"}),(0,l.jsxs)("h2",{className:"ma-s-title",children:[o(A.length)," reason",1!==A.length?"s":""," our customers",(0,l.jsx)("br",{}),"keep coming back"]}),(0,l.jsx)("div",{className:"ma-why-grid",children:A.map((e,s)=>(0,l.jsxs)("div",{className:"ma-why-card",children:[(0,l.jsx)("div",{className:"ma-why-title",children:e.title}),e.description&&(0,l.jsx)("div",{className:"ma-why-body",children:e.description})]},s))})]}),I&&h&&Array.isArray(h)&&h.length>0&&(0,l.jsx)("section",{className:"ma-svc-section",children:(0,l.jsxs)("div",{className:"ma-svc-inner",children:[(0,l.jsx)("p",{className:"ma-s-eyebrow",children:"What we offer"}),(0,l.jsx)("h2",{className:"ma-s-title",children:"Our offerings"}),(0,l.jsx)("ul",{className:"ma-svc-list",children:h.map(e=>(0,l.jsxs)("li",{className:"ma-svc-row".concat((null==e?void 0:e.image)?"":" ma-svc-row--noimg"),children:[(null==e?void 0:e.image)&&(0,l.jsx)("div",{className:"ma-svc-img",children:(0,l.jsx)("img",{src:e.image,alt:(null==e?void 0:e.heading)||"",loading:"lazy"})}),(0,l.jsxs)("div",{className:"ma-svc-body",children:[(null==e?void 0:e.service_tag)&&(0,l.jsx)("span",{className:"ma-svc-tag",children:e.service_tag}),(null==e?void 0:e.heading)&&(0,l.jsx)("h3",{className:"ma-svc-name",children:e.heading}),(null==e?void 0:e.description)&&(0,l.jsx)("p",{className:"ma-svc-desc",children:e.description}),Array.isArray(null==e?void 0:e.bullet_points)&&e.bullet_points.length>0&&(0,l.jsx)("ul",{className:"ma-svc-bullets",children:e.bullet_points.map((e,s)=>(0,l.jsx)("li",{children:e},s))})]})]},null==e?void 0:e.id))})]})}),C&&x&&Array.isArray(x)&&x.length>0&&(0,l.jsx)("section",{className:"ma-faq-section",children:(0,l.jsxs)("div",{className:"ma-faq-inner",children:[(0,l.jsx)("p",{className:"ma-s-eyebrow",children:"Got questions?"}),(0,l.jsx)("h2",{className:"ma-s-title",children:"Frequently asked"}),(0,l.jsx)("div",{className:"ma-faq-list",children:x.map((e,s)=>(0,l.jsxs)("div",{className:"ma-faq-item".concat(F===(null==e?void 0:e.id)?" open":""),children:[(0,l.jsxs)("button",{className:"ma-faq-btn",onClick:()=>U(null==e?void 0:e.id),children:[(0,l.jsxs)("span",{children:[s+1,". ",null==e?void 0:e.question]}),(0,l.jsx)("span",{className:"ma-faq-icon",children:(0,l.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,l.jsx)("path",{d:"M6 2v8M2 6h8"})})})]}),(0,l.jsx)("div",{className:"ma-faq-ans",children:null==e?void 0:e.answer})]},null==e?void 0:e.id))})]})})]})}},12613:()=>{},86143:()=>{}}]);
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.