(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8414],{87741:function(s,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product-single/[slug]",function(){return a(20299)}])},17680:function(s,e){"use strict";e.Z={src:"/_next/static/media/logo.170540de.svg",height:56,width:161,blurWidth:0,blurHeight:0}},20299:function(s,e,a){"use strict";a.r(e);var i=a(85893),l=a(67294),r=a(35472),t=a(14416),c=a(28631),n=a(35805),d=a(92835),o=a(11163),h=a(94302),u=a(41102),j=a(88303),x=a(95665),m=a(17680);e.default=(0,t.$j)(s=>({products:s.data.products}),{addToCart:c.Xq})(s=>{let e=(0,o.useRouter)(),a=(0,d.Z)(),{addToCart:t}=s,[c,p]=(0,l.useState)({});(0,l.useEffect)(()=>{p(a.filter(s=>s.slug===e.query.slug))},[]);let f=c[0];return(0,i.jsxs)(l.Fragment,{children:[(0,i.jsx)(r.Z,{Logo:m.Z,hclass:"wpo-header-style-5",topbarClass:"tb-block"}),(0,i.jsx)(h.Z,{pageTitle:null==f?void 0:f.title,pagesub:null==f?void 0:f.title}),(0,i.jsx)("section",{className:"wpo-shop-single-section section-padding",children:(0,i.jsxs)("div",{className:"container",children:[f?(0,i.jsx)(n.default,{item:f,addToCart:function(s){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t(s,e)}}):null,(0,i.jsx)(u.default,{})]})}),(0,i.jsx)(j.Z,{}),(0,i.jsx)(x.Z,{})]})})},35805:function(s,e,a){"use strict";a.r(e);var i=a(85893);a(67294);var l=a(26123);a(1314),e.default=s=>{let{item:e,addToCart:a}=s;return(0,i.jsxs)("div",{className:"row align-items-center",children:[(0,i.jsx)("div",{className:"col col-lg-5 col-12",children:(0,i.jsx)("div",{className:"shop-single-slider",children:(0,i.jsx)("div",{className:"slider-nav",children:(0,i.jsx)("div",{children:(0,i.jsx)(l.Z,{children:(0,i.jsx)("img",{src:e.proImg?e.proImg:"",alt:"products"})})})})})}),(0,i.jsx)("div",{className:"col col-lg-7 col-12",children:(0,i.jsxs)("div",{className:"product-details",children:[(0,i.jsx)("h2",{children:e.title}),(0,i.jsxs)("div",{className:"product-rt",children:[(0,i.jsxs)("div",{className:"rating",children:[(0,i.jsx)("i",{className:"fa fa-star"}),(0,i.jsx)("i",{className:"fa fa-star"}),(0,i.jsx)("i",{className:"fa fa-star"}),(0,i.jsx)("i",{className:"fa fa-star"}),(0,i.jsx)("i",{className:"fa fa-star-o"})]}),(0,i.jsx)("span",{children:"(25 customer reviews)"})]}),(0,i.jsxs)("div",{className:"price",children:[(0,i.jsxs)("span",{className:"current",children:["$",e.price]}),(0,i.jsxs)("span",{className:"old",children:["$",e.delPrice]})]}),(0,i.jsx)("p",{children:"There are many variations of passages of Lorem Ipsum and available, but the majority have suffered alteration in somey form."}),(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:"Going through the cites of the word in classNameical."}),(0,i.jsx)("li",{children:"There are many variations of passages."}),(0,i.jsx)("li",{children:"Making it look like readable and spoken English."})]}),(0,i.jsx)("div",{className:"product-option",children:(0,i.jsxs)("div",{className:"product-row",children:[(0,i.jsx)("button",{className:"theme-btn",onClick:()=>a(e),children:"Add to cart"}),(0,i.jsx)("div",{})]})}),(0,i.jsxs)("div",{className:"tg-btm",children:[(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{children:"Categories:"})," Book"]}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{children:"Tags:"})," Law, Lawyer, Consult"]})]})]})})]})}}},function(s){s.O(0,[3365,38,6534,1664,2087,2286,7461,7992,9925,2045,1102,2888,9774,179],function(){return s(s.s=87741)}),_N_E=s.O()}]);