PageSourceSearch

https://shopyai.ai/_next/static/chunks/29819.c03f6588bf2219ea.js

js shopyai.ai collected 2026-10-05 15:11:40 UTC 5,109 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29819],{29819:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var i=r(95155);r(12115);var a=r(44539),n=r(29319),l=r(10297),s=r(8561),o=r(91799),c=r(29923);function d(e,t,r,i,a){let n,l=String(t||"EUR").toUpperCase();return l===r?e:(n="EUR"===l?e:"AFN"===l?(0,c.ce)(e,i):"USD"===l?(0,c.XY)(e,a):e,"EUR"===r)?n:"AFN"===r?(0,c.oX)(n,i):(0,c.hB)(n,a)}function u(e){var t;let{services:r,cardWidthPx:c,cardHeightPx:u,cardGapPx:p,shopSlug:m,lang:x}=e,{t:h,lang:g}=(0,s.s9)(),f=(0,o.H)(),v=null!=(t=null==f?void 0:f.currency)?t:null,b=null==f?void 0:f.fxRateAfnPerEur,N=null==f?void 0:f.fxRateUsdPerEur;return(0,i.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 ".concat(p?"":"gap-6"),style:p?{gap:"".concat(p,"px")}:{},children:r.map(e=>{let t=function(e,t){let r=String(t||"").trim(),i=r?r.split("-")[0]:"";return r&&e.nameI18n&&(e.nameI18n[r]||(i?e.nameI18n[i]:void 0))||e.name}(e,x),r=function(e,t){let r=String(t||"").trim(),i=r?r.split("-")[0]:"";return r&&e.descriptionI18n?e.descriptionI18n[r]||(i?e.descriptionI18n[i]:void 0)||e.description||void 0:e.description||void 0}(e,x),s=function(e,t,r,i,l,s,o,c){let u=e/100,p=null!=l?l:String(t||"EUR").toUpperCase(),m=l?d(u,t,l,s,o):u,x=(0,a.vv)(m,p,r);if(i&&i>e){let e=i/100,n=l?d(e,t,l,s,o):e,c=(0,a.vv)(n,p,r);return"".concat(x," - ").concat(c)}return(0,n.o)(c("shop.service.priceFrom","from {price}"),{price:x},r)}(e.priceAmount,e.priceCurrency,x,e.priceMaxAmount,v,b,N,h),o=e.durationMinutes?function(e,t,r){if(e<60)return t("shop.service.duration.minutes","{n} min").replace("{n}",(0,a.ZV)(e,r));let i=Math.floor(e/60),n=e%60;return 0===n?t("shop.service.duration.hours","{n}h").replace("{n}",(0,a.ZV)(i,r)):t("shop.service.duration.hoursMinutes","{h}h {m}min").replace("{h}",(0,a.ZV)(i,r)).replace("{m}",(0,a.ZV)(n,r))}(e.durationMinutes,h,null!=x?x:g):null,p={};return c&&(p.width="".concat(c,"px")),u&&(p.minHeight="".concat(u,"px")),(0,i.jsxs)("div",{className:"group relative overflow-hidden rounded-2xl bg-white shadow-md ring-1 ring-slate-100 transition-all duration-300 hover:-translate-y-2 hover:shadow-2xl hover:ring-teal-200",style:p,children:[(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-teal-50 to-teal-50 opacity-0 transition-opacity duration-300 group-hover:opacity-100"}),e.imageUri&&(0,i.jsxs)("div",{className:"relative h-48 w-full overflow-hidden",children:[(0,i.jsx)("img",{src:e.imageUri,alt:t,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-110"}),(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-60"})]}),(0,i.jsxs)("div",{className:"relative p-6",children:[(0,i.jsx)("h3",{className:"text-xl font-bold text-slate-900 transition-colors group-hover:text-teal-600",children:t}),(0,i.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3 text-sm",children:[(0,i.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-teal-100 px-4 py-1.5 font-semibold text-teal-700",children:[(0,i.jsx)(l.A,{className:"bi bi-tag-fill"}),s]}),o&&(0,i.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-slate-100 px-4 py-1.5 font-medium text-slate-700",children:[(0,i.jsx)(l.A,{className:"bi bi-clock-fill"}),o]})]}),r&&(0,i.jsx)("p",{className:"mt-4 line-clamp-2 text-sm text-slate-600 leading-relaxed",children:r}),e.categoryKey&&(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-slate-50 px-3 py-1 text-xs font-medium text-slate-600",children:[(0,i.jsx)(l.A,{className:"bi bi-folder-fill"}),e.categoryKey]})}),(0,i.jsx)("div",{className:"mt-6",children:e.bookingEnabled&&e.bookingUrl?(0,i.jsxs)("a",{href:e.bookingUrl,target:"_blank",rel:"noopener noreferrer",className:"group/btn relative inline-flex w-full items-center justify-center gap-2 overflow-hidden rounded-xl bg-gradient-to-r from-teal-600 to-teal-600 px-6 py-3 text-sm font-bold text-white shadow-lg transition-all duration-300 hover:scale-105 hover:shadow-teal-500/50",children:[(0,i.jsx)("span",{className:"absolute inset-0 bg-gradient-to-r from-teal-600 to-teal-600 opacity-0 transition-opacity duration-300 group-hover/btn:opacity-100"}),(0,i.jsx)(l.A,{className:"bi bi-calendar-check relative z-10"}),(0,i.jsx)("span",{className:"relative z-10",children:h("shop.service.bookNow","Book Now")}),(0,i.jsx)(l.A,{className:"bi bi-arrow-right relative z-10 transition-transform duration-300 group-hover/btn:translate-x-2"})]}):(0,i.jsxs)("button",{disabled:!0,className:"inline-flex w-full items-center justify-center gap-2 rounded-xl border-2 border-slate-200 bg-slate-50 px-6 py-3 text-sm font-semibold text-slate-400 cursor-not-allowed",children:[(0,i.jsx)(l.A,{className:"bi bi-info-circle"}),h("shop.service.contactForBooking","Contact for Booking")]})}),(0,i.jsx)("div",{className:"absolute bottom-0 left-6 right-6 h-0.5 bg-gradient-to-r from-transparent via-teal-300 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100"})]})]},e.id)})})}}}]);

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.