1"use strict";(self.webpackChunkmerchants_2400=self.webpackChunkmerchants_2400||[]).push([[832],{39299:function(e,t,a){a.r(t),a.d(t,{default:function(){return w}});var n=a(14041),i=a(74106),s=a(98044),r=a(81836),c=a(20934),l=a(46123),o=a.n(l),m=a(3514),g=a.n(m),d=a(49389),u=a(71497),E=a(84479),A=a(26433),p=a(30144),v=a(7694),N=a(68781),C=a(36158),h=a(12181),S=a(72187),T=a(60238),y=a(78937),I=a(93994),_=a(94388),f=a(30456),b=a(12300),O=a(44934),P=a(38903),k=a(22833),B=a(42347),R=a(8348);function w(e){let t=e.data,a=e.pageContext;const l=t.fishermanBusinessMenuCategory,m=void 0===l?{}:l,w=t.fishermanBusiness,x=void 0===w?{}:w,F=t.allFishermanBusinessMenuItem,M=t.allFishermanBusinessMenuCategory,V=t.allFishermanBusinessFile.nodes,D=void 0===V?[]:V,G=t.allFishermanBusinessWebsitePage,L=(void 0===G?{}:G).nodes,U=void 0===L?[]:L,Y=t.fishermanBusinessWebsitePage,W=(void 0===Y?{}:Y).components,z=void 0===W?[]:W,K=t.site.siteMetadata.baseUrl,H=m.name,j=m.description,q=m.fullDescription,J=m.interactions,Q=m.files,X=m.seoTitle,Z=m.seoDescription,$=m.seoOgTitle,ee=m.seoOgDescription,te=m.seoOgImage,ae=x.name,ne=x._id,ie=x.type,se=x.businessCategories,re=void 0===se?[]:se,ce=x.website,le=F.nodes,oe=M.nodes,me=a.fishermanParentPageTitle,ge=void 0===me?"Services":me,de=a.fishermanParentPageSlug,ue=void 0===de?"/services/":de,Ee=a.templateProps,Ae=void 0===Ee?{}:Ee,pe=Ae.relatedServicesText,ve=void 0===pe?"Related Services":pe,Ne=Ae.showAllRelatedServices,Ce=void 0!==Ne&&Ne,he=(0,R.getPageUrl)(ce,[(0,k.createServiceCategorySlug)(m,oe,ue)]),Se=(0,B.getBookNowPage)(U),Te=(0,B.getCategoryItems)(m,le),ye=(0,B.getRelatedCategories)(m,oe,{showAllRelatedServices:Ce}),Ie=(0,B.getBusinessFiles)(Q,D),_e=(0,B.getCtaInteractions)(J),fe=(0,B.getComponentContentNodeContent)({components:z,componentId:"related_services_header"});return n.createElement(n.Fragment,null,n.createElement(d.A,{businessName:ae,pageName:"Services - "+H,title:X,description:Z||j,truncateDescription:!0,images:Ie,ogTitle:$,ogDescription:ee,ogImage:te,ogUrl:he}),n.createElement(u.A,{businessName:ae,businessCategories:re,name:H,description:j}),n.createElement(E.A,{items:[{name:ge+" | "+ae,url:(0,R.constructFullPageUrl)(K,ue)},{name:"Services - "+H+" | "+ae}]}),n.createElement("div",{className:"service-category-page-container"},n.createElement(i.A,{stackable:!0,className:"service-category-header-container"},n.createElement(i.A.Column,{width:8,textAlign:"left",className:"information-column"},n.createElement(s.A,null,n.createElement(s.A.Section,{link:!0,to:(0,R.ensureSlugSlashes)(ue),as:A.A},ge),n.createElement(s.A.Divider,{icon:"right chevron"}),n.createElement(s.A.Section,null,H)),n.createElement(r.A,{as:"h1"},H),n.createElement(p.A,{content:j,className:"service-category-description"}),q&&n.createElement(p.A,{content:q,className:"service-category-full-description"}),n.createElement("div",{className:"service-category-actions"},Se&&n.createElement(c.A,{primary:!0,as:v.A,to:Se.url,event:{category:N.ML.BOOKING_EVENT_CATEGORY,action:N.dn.BOOKING_SCHEDULE_APPOINTMENT_INTENT_EVENT_ACTION}},Se.title),_e.map(e=>n.createElement(C.A,{key:e._id,interaction:e,className:"service-category-interaction",displayComponentPropsMap:{button:{size:null,compact:!1}},event:{category:N.ML.SERVICES_EVENT_CATEGORY,action:N.dn.SERVICES_CATEGORY_INTERACTION_ACTION}}))))),n.createElement(i.A,{className:"category-featured-items-section"},Te.map(e=>{const t=e._id,a=e.name,s=e.description,c=e.annotations,l=(void 0===c?{}:c).likeCount,m=void 0===l?0:l,g=e.variations,d=void 0===g?[]:g,u=e.files,E=(0,B.getFirstBusinessFile)(u,D),v=o()(d,"[0].price"),C=E||{},f=C.src,b=C.altText;return n.createElement(i.A.Column,{width:8,key:t},n.createElement(h.A,{triggerOnce:!0},n.createElement(S.A,{imagePosition:"left",image:f,imageAsBackground:!0,event:{category:N.ML.SERVICES_EVENT_CATEGORY,action:N.dn.SERVICES_VIEW_ITEM_DETAILS_EVENT_ACTION,label:a},as:A.A,to:(0,k.createServiceItemSlug)(e,le,oe),altText:b},n.createElement("div",{className:"featured-item-header"},n.createElement(r.A,null,a),n.createElement(T.A,{amount:v})),n.createElement(p.A,{content:s}),n.createElement("div",{className:"service-item-widgets"},n.createElement(y.A,{businessId:ne,businessType:ie,catalogItemId:t,initialLikeCount:m}),n.createElement(I.A,{url:(0,R.constructFullPageUrl)(K,(0,k.createServiceItemSlug)(e,le,oe))}),n.createElement(_.A,{iconName:"arrow right"})))))}
1)),!g()(Ie)&&n.createElement(i.A,{className:"category-images-section"},n.createElement(i.A.Column,{width:16,textAlign:"center"},n.createElement(f.A,{className:"stretched-carousel",size:4,grouping:1,displayIndicators:!1,displayPlayPauseButton:!1,autoScroll:!1,animation:{name:"blur",duration:200,transitionProps:{preAnimating:{opacity:.99,blur:"2px"},animating:{opacity:.99,blur:"2px"}}},items:(0,b.i)({iterator:Ie,component:n.createElement(O.A,{background:!0,className:"category-image-item"}),propMap:{src:"src",altText:"altText"}})}))),ye.length>0&&n.createElement(i.A,{className:"related-services-section",textAlign:"left"},n.createElement(i.A.Column,{width:16},n.createElement(r.A,{as:"h2"},fe||ve),n.createElement("div",{className:"related-services-list"},ye.map(e=>{const t=e.name;return n.createElement(P.A,{direction:"up",triggerOnce:!0,fade:!0,distance:"4px"},n.createElement(A.A,{key:t,to:(0,k.createServiceCategorySlug)(e,oe)},t))}))))))}}}]); 2//# sourceMappingURL=component---node-modules-bluefin-gatsby-plugin-fisherman-page-creator-templates-muse-service-category-template-jsx-abc5374a227b0cecbb39.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.