PageSourceSearch

https://www.horecastore.ae/_next/static/chunks/01puffs1xlt3a.js

js horecastore.ae collected 2026-10-01 04:32:49 UTC 40,500 bytes, 4 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86536,e=>{"use strict";let a=(0,e.i(75254).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,a],86536)},3116,e=>{"use strict";let a=(0,e.i(75254).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,a],3116)},25652,e=>{"use strict";let a=(0,e.i(75254).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["TrendingUp",0,a],25652)},87316,e=>{"use strict";let a=(0,e.i(75254).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["Calendar",0,a],87316)},62031,e=>{"use strict";let a=(0,e.i(75254).default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",0,a],62031)},83157,51348,e=>{"use strict";var a=e.i(75254);let t=(0,a.default)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);e.s(["Facebook",0,t],83157);let l=(0,a.default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",0,l],51348)},25634,10980,e=>{"use strict";var a=e.i(43476);let t=(0,e.i(75254).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",0,t],10980);var l=e.i(87316),s=e.i(63059),i=e.i(3116),r=e.i(86536),n=e.i(90597),o=e.i(62031),d=e.i(25652),c=e.i(84614),p=e.i(22016),u=e.i(71645),m=e.i(28800),g=e.i(64766),f=e.i(61208),h=e.i(57688);let x=e=>{if(!e)return"";try{if("string"==typeof e){let a=JSON.parse(e);if(Array.isArray(a))return a.map(e=>e?.value||"").join(" ").replace(/\\u2014/g,"—").replace(/\\"/g,'"').replace(/\s+/g," ").trim()}if(Array.isArray(e))return e.map(e=>e?.value||"").join(" ").replace(/\s+/g," ").trim();return String(e)}catch{return String(e).replace(/^\[\{"value":"?/g,"").replace(/"}\]$/g,"").replace(/\\"/g,'"').replace(/\s+/g," ").trim()}},y=e=>e?.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()??"",b=e=>e>=1e3?`${(e/1e3).toFixed(1)}k`:String(e??0),v=({item:e})=>{var t,v;let[w,j]=(0,u.useState)(!1),[A,k]=(0,u.useState)(e.likes_count??0),[N,E]=(0,u.useState)(e.shares_count??0),[C,_]=(0,u.useState)(e.views_count??0),[O,S]=(0,u.useState)(!1),[L,M]=(0,u.useState)(!1),[P,B]=(0,u.useState)(!1),[z,$]=(0,u.useState)(!1),T=e.thumbnail||e.mobile_banner,R=e.thumbnail_alt||e.title,I=`/blog/${e.url?.replace(/^\//,"")??""}`,q=async()=>{try{let a=await (0,m.makeApiRequest)(g.apiUrls.BLOG_SINGLE(e.id));k(a.likes_count??A),E(a.shares_count??N),_(a.views_count??C)}catch{}},F=async a=>{if(a.preventDefault(),a.stopPropagation(),P)return;let t=!w;j(t),k(e=>t?e+1:e-1),B(!0),await (0,m.makeApiRequest)(g.apiUrls.BLOG_LIKE(e.id),{method:"POST"}),B(!1),q()},D=async a=>{a.preventDefault(),a.stopPropagation(),M(!0),O||(S(!0),E(e=>e+1),$(!0),await (0,m.makeApiRequest)(g.apiUrls.BLOG_SHARE(e.id),{method:"POST"}),$(!1),q(),setTimeout(()=>S(!1),2e3))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.default,{href:I,onClick:()=>{(0,m.makeApiRequest)(g.apiUrls.BLOG_VIEW(e.id),{method:"POST"}).catch(()=>{})},className:"group relative bg-white rounded-3xl overflow-hidden flex flex-col transition-all duration-300 hover:-translate-y-2",style:{boxShadow:"0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05)"},children:[(0,a.jsxs)("div",{className:"relative overflow-hidden bg-gray-100",style:{aspectRatio:"16/10"},children:[T?(0,a.jsx)(h.default,{src:T,alt:R,fill:!0,loading:"lazy",className:"object-cover transition-transform duration-500 group-hover:scale-110",sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 50vw, 25vw"}):(0,a.jsx)("div",{className:"w-full h-full bg-gray-200"}),(0,a.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300",style:{background:"linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%)"}}),!!e.is_featured&&(0,a.jsxs)("div",{className:"absolute top-3 left-3 z-10 flex items-center gap-1.5 px-3 py-1.5 rounded-full text-white text-xs font-bold shadow-lg",style:{background:"linear-gradient(135deg, #f43f5e, #ec4899)"},children:[(0,a.jsx)(d.TrendingUp,{className:"w-3 h-3"}),"Trending"]}),e.category?.name&&(0,a.jsx)("div",{className:"absolute top-3 right-3 z-10 px-2.5 py-1 rounded-full text-white text-xs font-semibold bg-emerald-600",children:e.category.name}),(0,a.jsxs)("div",{className:"absolute bottom-3 right-3 z-10 flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold text-gray-800 backdrop-blur-md",style:{background:"rgba(255,255,255,0.88)"},children:[(0,a.jsx)(i.Clock,{className:"w-3 h-3 text-emerald-600"}),(t=e.description)?Math.ceil(y(x(t)).split(/\s+/).filter(Boolean).length/200)||1:3," min"]})]}),(0,a.jsxs)("div",{className:"p-5 flex flex-col flex-grow",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 flex-wrap",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-xs text-gray-500",children:[(0,a.jsx)("div",{className:"w-5 h-5 rounded-full bg-emerald-100 flex items-center justify-center",children:(0,a.jsx)(c.User,{className:"w-3 h-3 text-emerald-600"})}),(0,a.jsx)("span",{className:"font-semibold text-gray-700",children:e.author_name})]}),e.blog_date&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-1 h-1 rounded-full bg-gray-300"}),(0,a.jsxs)("div",{className:"flex items-center gap-1 text-xs text-gray-500",children:[(0,a.jsx)(l.Calendar,{className:"w-3 h-3 text-emerald-500"}),(e=>{if(!e)return"";let a=new Date(e);if(isNaN(a.getTime()))return e;let t=Math.floor((Date.now()-a.getTime())/864e5);return 0===t?"Today":1===t?"Yesterday":t<7?`${t} days ago`:t<30?`${Math.floor(t/7)}w ago`:a.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})})(e.blog_date)]})]})]}),(0,a.jsx)("h3",{className:"text-gray-900 text-[17px] font-extrabold line-clamp-2 mb-2.5 leading-snug tracking-tight group-hover:text-emerald-700 transition-colors duration-300",children:e.title}),(0,a.jsx)("p",{className:"text-gray-500 text-sm leading-relaxed line-clamp-2 mb-4 flex-grow",children:(v=y(x(e.description)))?v.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&#039;/g,"'").replace(/&nbsp;/g," "):""}),(0,a.jsx)("div",{className:"h-px mb-4",style:{background:"linear-gradient(to right, transparent, #e5e7eb, transparent)"}}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-gray-400 text-xs font-semibold",children:[(0,a.jsx)(r.Eye,{className:"w-4 h-4"}),b(C)]}),(0,a.jsxs)("button",{onClick:D,disabled:z||O,className:`flex items-center gap-1.5 text-xs font-semibold transition-colors active:scale-90 ${O?"text-blue-500":"text-gray-400 hover:text-blue-500"}`,children:[z?(0,a.jsx)("span",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}):(0,a.jsx)(o.Share2,{className:"w-4 h-4"}),b(N)]})]}),(0,a.jsxs)("button",{onClick:F,disabled:P,className:`flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-bold transition-all duration-300 active:scale-110 ${w?"bg-red-50 text-red-500":"bg-gray-50 text-gray-400 hover:text-red-500 hover:bg-red-50"}`,children:[P?(0,a.jsx)("span",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}):(0,a.jsx)(n.Heart,{className:`w-4 h-4 transition-all ${w?"fill-red-500 text-red-500":""}`}),b(A)]})]}),(0,a.jsxs)("div",{className:"group/btn mt-4 w-full py-2.5 bg-linear-to-r from-green-600 to-green-700 text-white rounded-[7px] font-semibold flex items-center justify-center gap-2 shadow-md",children:[(0,a.jsx)("span",{children:"Read Article"}),(0,a.jsx)(s.ChevronRight,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]})]})]}),(0,a.jsx)(f.ShareModal,{isOpen:L,onClose:()=>M(!1),url:`${window.location.origin}${I}`,title:e.title})]})};e.s(["BlogCard",0,v,"BlogsCard",0,({showAll:e=!1,blogs:l=[]})=>l.length?(0,a.jsxs)("section",{className:"md:my-0 py-6 md:py-0 px-4 sm:px-6 lg:px-8 global-container md:block hiddden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-10 flex-wrap gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-gray-900 font-extrabold heading-font-size tracking-tight leading-none",children:"Latest Blogs & Insights"}),(0,a.jsx)("p",{className:"text-gray-400 text-sm mt-1 font-medium",children:"Tips, trends & stories curated for you"})]}),!e&&(0,a.jsxs)(p.default,{href:"/blog",className:"flex items-center gap-2 px-6 py-3 rounded-[7px] font-bold text-sm border-2 border-green-700 text-green-700 hover:bg-green-800 hover:text-white transition-all duration-300",children:[(0,a.jsx)(t,{className:"w-4 h-4"}),"View All Posts",(0,a.jsx)(s.ChevronRight,{className:"w-4 h-4"})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5 ga
1p-6",children:l.map(e=>(0,a.jsx)(v,{item:e},e.id))})]}):null],25634)},80,e=>{e.q("/_next/static/media/NoImage.2nl36e__d90nh.jpg")},6786,e=>{"use strict";e.s(["mapBrandProductToCardProduct",0,function(e){let a=e.best_supplier,t=e.selling_type?.en??e.selling_type?.ar;return{id:e.id,name:e.title,url:e.url,sku:e.sku,price:Number(a?.price??0),sale_price:Number(a?.sale_price??0),avg_rating:e.avg_rating,total_reviews:e.reviews_count,delivery_days:a?.delivery_days,currency:e.currency,images:e.image_urls,alt_tags:e.image_alt_tags?.en??void 0,in_wishlist:e.in_wishlist,in_cart:e.in_cart,min_quantity:a?.min_quantity,is_fixed:a?.is_fixed,quote_available:e.for_quotes,selling_type:t?{attribute_value:t.attribute_value,attribute_value_unit:t.attribute_value_unit}:void 0,suppliers:a?[{vendor_id:a.vendor_id,delivery_days:a.delivery_days,free_shipping:a.free_shipping,min_quantity:a.min_quantity,is_fixed:a.is_fixed}]:void 0,isRequired:e.is_accessory_required,accessories:(e.product_accessories??[]).map(e=>({id:e.id,name:e.name,is_required:e.is_required,accessory_item:e.accessory_types.map(e=>({id:e.id,name:e.name,price:e.price}))}))}}])},86301,e=>{"use strict";function a(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}var t=e.i(16571),l=e.i(99946);e.s(["Pagination",0,function({swiper:e,extendParams:s,on:i,emit:r}){let n,o="swiper-pagination";s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function p(a,t){let{bulletActiveClass:l}=e.params.pagination;a&&(a=a[`${"prev"===t?"previous":"next"}ElementSibling`])&&(a.classList.add(`${l}-${t}`),(a=a[`${"prev"===t?"previous":"next"}ElementSibling`])&&a.classList.add(`${l}-${t}-${t}`))}function u(t){let s=t.target.closest(a(e.params.pagination.bulletClass));if(!s)return;t.preventDefault();let i=(0,l.j)(s)*e.params.slidesPerGroup;if(e.params.loop){var r,n,o;if(e.realIndex===i)return;let a=(r=e.realIndex,n=i,(r%=o=e.slides.length,(n%=o)===r+1)?"next":n===r-1?"previous":void 0);"next"===a?e.slideNext():"previous"===a?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i)}function m(){let t,s,i=e.rtl,o=e.params.pagination;if(c())return;let u=e.pagination.el;u=(0,l.m)(u);let m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,g=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(t=e.snapIndex,s=e.previousSnapIndex):(s=e.previousIndex||0,t=e.activeIndex||0),"bullets"===o.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let a,r,c,m=e.pagination.bullets;if(o.dynamicBullets&&(n=(0,l.i)(m[0],e.isHorizontal()?"width":"height",!0),u.forEach(a=>{a.style[e.isHorizontal()?"width":"height"]=`${n*(o.dynamicMainBullets+4)}px`}),o.dynamicMainBullets>1&&void 0!==s&&((d+=t-(s||0))>o.dynamicMainBullets-1?d=o.dynamicMainBullets-1:d<0&&(d=0)),c=((r=(a=Math.max(t-d,0))+(Math.min(m.length,o.dynamicMainBullets)-1))+a)/2),m.forEach(e=>{let a=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...a)}),u.length>1)m.forEach(s=>{let i=(0,l.j)(s);i===t?s.classList.add(...o.bulletActiveClass.split(" ")):e.isElement&&s.setAttribute("part","bullet"),o.dynamicBullets&&(i>=a&&i<=r&&s.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),i===a&&p(s,"prev"),i===r&&p(s,"next"))});else{let l=m[t];if(l&&l.classList.add(...o.bulletActiveClass.split(" ")),e.isElement&&m.forEach((e,a)=>{e.setAttribute("part",a===t?"bullet-active":"bullet")}),o.dynamicBullets){let e=m[a],t=m[r];for(let e=a;
1e<=r;e+=1)m[e]&&m[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));p(e,"prev"),p(t,"next")}}if(o.dynamicBullets){let a=Math.min(m.length,o.dynamicMainBullets+4),t=(n*a-n)/2-c*n,l=i?"right":"left";m.forEach(a=>{a.style[e.isHorizontal()?l:"top"]=`${t}px`})}}u.forEach((s,i)=>{if("fraction"===o.type&&(s.querySelectorAll(a(o.currentClass)).forEach(e=>{e.textContent=o.formatFractionCurrent(t+1)}),s.querySelectorAll(a(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(g)})),"progressbar"===o.type){let l;l=o.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let i=(t+1)/g,r=1,n=1;"horizontal"===l?r=i:n=i,s.querySelectorAll(a(o.progressbarFillClass)).forEach(a=>{a.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`,a.style.transitionDuration=`${e.params.speed}ms`})}"custom"===o.type&&o.renderCustom?((0,l.s)(s,o.renderCustom(e,t+1,g)),0===i&&r("paginationRender",s)):(0===i&&r("paginationRender",s),r("paginationUpdate",s)),e.params.watchOverflow&&e.enabled&&s.classList[e.isLocked?"add":"remove"](o.lockClass)})}function g(){let t=e.params.pagination;if(c())return;let s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,i=e.pagination.el;i=(0,l.m)(i);let n="";if("bullets"===t.type){let a=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&a>s&&(a=s);for(let l=0;l<a;l+=1)t.renderBullet?n+=t.renderBullet.call(e,l,t.bulletClass):n+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(s=>{"custom"!==t.type&&(0,l.s)(s,n||""),"bullets"===t.type&&e.pagination.bullets.push(...s.querySelectorAll(a(t.bulletClass)))}),"custom"!==t.type&&r("paginationRender",i[0])}function f(){let a;e.params.pagination=(0,t.c)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let s=e.params.pagination;!s.el||("string"==typeof s.el&&e.isElement&&(a=e.el.querySelector(s.el)),a||"string"!=typeof s.el||(a=[...document.querySelectorAll(s.el)]),a||(a=s.el),a&&0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof s.el&&Array.isArray(a)&&a.length>1&&(a=[...e.el.querySelectorAll(s.el)]).length>1&&(a=a.find(a=>(0,l.d)(a,".swiper")[0]===e.el)),Array.isArray(a)&&1===a.length&&(a=a[0]),Object.assign(e.pagination,{el:a}),(a=(0,l.m)(a)).forEach(a=>{"bullets"===s.type&&s.clickable&&a.classList.add(...(s.clickableClass||"").split(" ")),a.classList.add(s.modifierClass+s.type),a.classList.add(e.isHorizontal()?s.horizontalClass:s.verticalClass),"bullets"===s.type&&s.dynamicBullets&&(a.classList.add(`${s.modifierClass}${s.type}-dynamic`),d=0,s.dynamicMainBullets<1&&(s.dynamicMainBullets=1)),"progressbar"===s.type&&s.progressbarOpposite&&a.classList.add(s.progressbarOppositeClass),s.clickable&&a.addEventListener("click",u),e.enabled||a.classList.add(s.lockClass)})))}function h(){let a=e.params.pagination;if(c())return;let t=e.pagination.el;t&&(t=(0,l.m)(t)).forEach(t=>{t.classList.remove(a.hiddenClass),t.classList.remove(a.modifierClass+a.type),t.classList.remove(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.clickable&&(t.classList.remove(...(a.clickableClass||"").split(" ")),t.removeEventListener("click",u))}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...a.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let a=e.params.pagination,{el:t}=e.pagination;(t=(0,l.m)(t)).forEach(t=>{t.classList.remove(a.horizontalClass,a.verticalClass),t.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass)})}),i("init",()=>{!1===e.params.pagination.enabled?x():(f(),g(),m())}),i("activeIndexChange",()=>{void 0===e.snapIndex&&m()}),i("snapIndexChange",()=>{m()}),i("snapGridLengthChange",()=>{g(),m()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:a}=e.pagination;
1a&&(a=(0,l.m)(a)).forEach(a=>a.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),i("lock unlock",()=>{m()}),i("click",(a,t)=>{let s=t.target,i=(0,l.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&i&&i.length>0&&!s.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&s===e.navigation.nextEl||e.navigation.prevEl&&s===e.navigation.prevEl))return;!0===i[0].classList.contains(e.params.pagination.hiddenClass)?r("paginationShow"):r("paginationHide"),i.forEach(a=>a.classList.toggle(e.params.pagination.hiddenClass))}});let x=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=(0,l.m)(a)).forEach(a=>a.classList.add(e.params.pagination.paginationDisabledClass)),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=(0,l.m)(a)).forEach(a=>a.classList.remove(e.params.pagination.paginationDisabledClass)),f(),g(),m()},disable:x,render:g,update:m,init:f,destroy:h})}],86301)},72507,e=>{"use strict";var a=e.i(43476),t=e.i(26408),l=e.i(61745),s=e.i(71645),i=e.i(6786);let r=({categories:e=[]})=>{let r=(0,l.useLocale)(),[n,o]=(0,s.useState)(0),d=e.filter(e=>(e.featured_products?.length??0)>0),c=d[n]??d[0],p=(c?.featured_products??[]).slice(0,12).map(i.mapBrandProductToCardProduct);return d.length?(0,a.jsxs)("section",{className:"w-full bg-white py-5",children:[(0,a.jsxs)("div",{className:"global-container",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-3 flex-wrap",children:[(0,a.jsx)("h2",{className:"heading-font-size font-bold text-slate-900 shrink-0",children:"Featured Products"}),(0,a.jsx)("div",{className:"flex items-center gap-1.5 mb-4 overflow-x-auto hide-scrollbar",children:d.map((e,t)=>(0,a.jsx)("button",{onClick:()=>o(t),className:["whitespace-nowrap px-3.5 py-1.5 md:text-[15px] text-[12px] font-medium rounded-full shrink-0 transition-all duration-200",n===t?"bg-[#186737] text-white shadow-sm":"text-slate-500 hover:text-slate-800 hover:bg-slate-100 border border-slate-200"].join(" "),children:function(e,a="en"){return e?"string"==typeof e?e:"ar"===a?e.ar??e.en??"":e.en??e.ar??"":""}(e.name,r)},e.id))})]}),(0,a.jsx)("div",{className:"w-full h-px bg-slate-100 mb-4 mx-4 sm:mx-0",style:{width:"calc(100% - 2rem)"}}),(0,a.jsx)("div",{className:"flex sm:grid gap-3 overflow-x-auto sm:overflow-visible hide-scrollbar max-sm:pb-2 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 4xl:grid-cols-6",children:p.map(e=>(0,a.jsx)("div",{className:"shrink-0 w-[175px] sm:w-auto",children:(0,a.jsx)(t.default,{product:e})},e.id))})]}),(0,a.jsx)("style",{children:`
2        .hide-scrollbar::-webkit-scrollbar { display: none; }
3        .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
4      `})]}):null};e.s(["FeaturedProducts",0,r,"default",0,r])},63982,e=>{"use strict";var a=e.i(43476);let t={src:e.i(80).default,width:1696,height:826,blurWidth:8,blurHeight:4,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAEAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD1/HOcmgD/2Q=="};var l=e.i(57688),s=e.i(22016),i=e.i(3259);function r({swiper:e,extendParams:a,on:t,emit:l,params:s}){let n,o,d,c,p,u,m,g,f;e.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let h=s&&s.autoplay?s.autoplay.delay:3e3,x=s&&s.autoplay?s.autoplay.delay:3e3,y=new Date().getTime();function b(a){!e||e.destroyed||!e.wrapperEl||a.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",b),f||a.detail&&a.detail.bySwiperTouchMove||E())}let v=()=>{if(e.destroyed||!e.autoplay.running)return;
4e.autoplay.paused?c=!0:c&&(x=d,c=!1);let a=e.autoplay.paused?d:y+x-new Date().getTime();e.autoplay.timeLeft=a,l("autoplayTimeLeft",a,a/h),o=requestAnimationFrame(()=>{v()})},w=()=>{let a=e.params.autoplay.delay,t=(()=>{let a;if(a=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(a.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(t)&&t>0&&(a=t),a},j=a=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),v();let t=a;void 0===t&&(h=t=w(),x=t),d=t;let s=e.params.speed,i=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(s,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,s,!0,!0),l("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(s,!0,!0),l("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,s,!0,!0),l("autoplay")),e.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{j()})))};return t>0?(clearTimeout(n),n=setTimeout(()=>{i()},t)):requestAnimationFrame(()=>{i()}),t},A=()=>{y=new Date().getTime(),e.autoplay.running=!0,j(),l("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(n),cancelAnimationFrame(o),l("autoplayStop")},N=(a,t)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(n),a||(g=!0);let s=()=>{l("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):E()};(e.autoplay.paused=!0,t)?s():(d=(d||e.params.autoplay.delay)-(new Date().getTime()-y),e.isEnd&&d<0&&!e.params.loop||(d<0&&(d=0),s()))},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(y=new Date().getTime(),g?(g=!1,j(d)):j(),e.autoplay.paused=!1,l("autoplayResume"))},C=()=>{if(e.destroyed||!e.autoplay.running)return;let a=(0,i.g)();"hidden"===a.visibilityState&&(g=!0,N(!0)),"visible"===a.visibilityState&&E()},_=a=>{"mouse"!==a.pointerType||(g=!0,f=!0,e.animating||e.autoplay.paused||N(!0))},O=a=>{"mouse"===a.pointerType&&(f=!1,e.autoplay.paused&&E())};t("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",_),e.el.addEventListener("pointerleave",O)),(0,i.g)().addEventListener("visibilitychange",C),A())}),t("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",_),e.el.removeEventListener("pointerleave",O)),(0,i.g)().removeEventListener("visibilitychange",C),e.autoplay.running&&k()}),t("_freeModeStaticRelease",()=>{(u||g)&&E()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():N(!0,!0)}),t("beforeTransitionStart",(a,t,l)=>{!e.destroyed&&e.autoplay.running&&(l||!e.params.autoplay.disableOnInteraction?N(!0,!0):k())}),t("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void k();p=!0,u=!1,g=!1,m=setTimeout(()=>{g=!0,u=!0,N(!0)},200)}}),t("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&p){if(clearTimeout(m),clearTimeout(n),e.params.autoplay.disableOnInteraction){u=!1,p=!1;return}u&&e.params.cssMode&&E(),u=!1,p=!1}}),t("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(d=w(),h=w())}),Object.assign(e.autoplay,{start:A,stop:k,pause:N,resume:E})}var n=e.i(99946);function o({swiper:e,extendParams:a,on:t}){a({fadeEffect:{crossFade:!1}}),!function(e){let a,{effect:t,swiper:l,on:s,setTranslate:i,setTransition:r,overwriteParams:n,perspective:o,recreateShadows:d,getEffectParams:c}=e;s("beforeInit",()=>{if(l.params.effect!==t)return;l.classNames.push(`${l.params.containerModifierClass}${t}`),o&&o()&&l.classNames.push(`${l.params.containerModifierClass}3d`);let e=n?n():{};Object.assign(l.params,e),Object.assign(l.originalParams,e)}),s("setTranslate _virtualUpdated",()=>{l.params.effect===t&&i()}),s("setTransition",(e,a)=>{l.params.effect===t&&r(a)}),s("transitionEnd",()=>{l.params.effect===t&&d&&c&&c().slideShadows&&(l.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e
4=>e.remove())}),d())}),s("virtualUpdate",()=>{l.params.effect===t&&(l.slides.length||(a=!0),requestAnimationFrame(()=>{a&&l.slides&&l.slides.length&&(i(),a=!1)}))})}({effect:"fade",swiper:e,on:t,setTranslate:()=>{let{slides:a}=e;e.params.fadeEffect;for(let t=0;t<a.length;t+=1){let a=e.slides[t],l=-a.swiperSlideOffset;e.params.virtualTranslate||(l-=e.translate);let s=0;e.isHorizontal()||(s=l,l=0);let i=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(a.progress),0):1+Math.min(Math.max(a.progress,-1),0),r=function(e){let a=(0,n.g)(e);return a!==e&&(a.style.backfaceVisibility="hidden",a.style["-webkit-backface-visibility"]="hidden"),a}(a);r.style.opacity=i,r.style.transform=`translate3d(${l}px, ${s}px, 0px)`}},setTransition:a=>{let t=e.slides.map(e=>(0,n.g)(e));t.forEach(e=>{e.style.transitionDuration=`${a}ms`}),function({swiper:e,duration:a,transformElements:t,allSlides:l}){let{activeIndex:s}=e;if(e.params.virtualTranslate&&0!==a){let a=!1;(l?t:t.filter(a=>{let t=a.classList.contains("swiper-slide-transform")?a.parentElement?a.parentElement:e.slides.find(e=>e.shadowRoot&&e.shadowRoot===a.parentNode):a;return e.getSlideIndex(t)===s})).forEach(t=>{(0,n.o)(t,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;let t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}}({swiper:e,duration:a,transformElements:t,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var d=e.i(79053),c=e.i(86301),p=e.i(80401);let u=(0,e.i(75254).default)("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]);var m=e.i(43432);function g(){return(0,a.jsxs)("div",{className:"relative w-full h-full rounded-[7px] border border-dashed border-[#c8e6d3] bg-[#edf7f1] flex flex-col items-center justify-center px-5 text-center",children:[(0,a.jsx)("div",{className:"w-11 h-11 rounded-full bg-white border border-[#c8e6d3] flex items-center justify-center mb-3 shadow-sm",children:(0,a.jsx)(u,{size:18,className:"text-[#186737]"})}),(0,a.jsx)("p",{className:"text-sm font-bold text-gray-800",children:"No promotions found"}),(0,a.jsx)("p",{className:"text-[12px] text-gray-500 mt-1 max-w-[220px] leading-relaxed",children:"There are no active marketing offers right now. Check back soon."})]})}function f({label:e}){return(0,a.jsxs)("span",{className:"mega-sale-pill mt-2 relative inline-flex items-center px-4 py-1.5 sm:px-5 sm:py-2 font-extrabold text-white text-xs sm:text-sm tracking-wider",children:[(0,a.jsx)("span",{className:"relative z-10",children:e}),(0,a.jsx)("span",{className:"confetti-ring"})]})}function h({target:e,className:t,children:l}){return e?e.external?(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:`block ${t??""}`,children:l}):(0,a.jsx)(s.default,{href:e.href,className:`block ${t??""}`,children:l}):(0,a.jsx)("div",{className:t,children:l})}function x({promo:e,priority:t,target:s}){let i=e.cta_button_text?.trim(),r=(e.description??"").replace(/<[^>]+>/g," ").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/\s+/g," ").trim(),n=!!e.image_url?.startsWith("http");return(0,a.jsxs)("div",{className:"grid grid-cols-[70%_30%] h-full w-full bg-[#e2e8f033] rounded-[7px]",children:[(0,a.jsxs)("div",{className:"relative flex flex-col justify-center px-3 sm:px-4 pt-3 pb-8",children:[(0,a.jsxs)(h,{target:s,className:"outline-none",children:[e.title&&(0,a.jsx)("h3",{className:"text-[#186737] font-bold text-base sm:text-lg 2xl:text-xl leading-snug line-clamp-2",children:e.title}),r&&(0,a.jsx)("p",{className:"text-[#666666] text-[13px] sm:text-sm 2xl:text-base my-2 font-medium line-clamp-2 leading-relaxed",children:r})]}),(0,a.jsxs)("a",{href:"tel:+971800467322",className:"inline-flex w-fit items-center gap-1.5 text-[#186737] font-semibold text-sm sm:text-[15px] my-1",children:[(0,a.jsx)(m.Phone,{size:16,strokeWidth:2.2}),"800-467-322"]}),i&&(0,a.jsx)(h,{target:s,className:"w-fit outline-none",children:(0,a.jsx)(f,{label:i})})]}),(0,a.jsx)(h,{target:s,className:"relative h-full outline-none",children:n?(0,a.jsx)(l.default,{src:e.image_url,alt:e.title||"Promotion",fill:!0,className:"object-cover object-top",sizes:"(max-width: 1024px) 30vw, 12vw",priority:t,loading:t?"eager":"lazy"}):(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)(u,{size:28,className:"text-[#186737]/30"})})})]})}function y({promotions:e=[]}){if(0===e.length)return(0,a.jsx)(g,{});let t=e.length>1;return(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)(p.Swiper,{modules:[r,c.Pagination,o],effect:"fade",fadeEffect:{crossFade:!0},autoplay:!!t&&{delay:5e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:!!t&&{clickable:!0},rewind:t,watchOverflow:!1,observer:!0,observeParents:!0,className:"promo-swiper swiper-pagination-dark w-full h-full",children:e.map((e,t)=>{let l=function(e){if("pdf"===e.link_type&&e.pdf_url)return{href:e.pdf_url,external:!0};let a=e.link?.trim();if(!a)return null;if(a.startsWith("/"))return{href:a,external:!1};try{let e=new URL(a);if(e.hostname.includes("horecastore"))return{href:`${e.pathname}${e.search}${e.hash}`||"/",external:!1};return{href:a,external:!0}}catch{return{href:a,external:!1}}}(e),s=(0,a.jsx)(x,{promo:e,priority:0===t,target:l});return(0,a.jsx)(p.SwiperSlide,{children:s}
4,e.id)})})})}let b=[{id:1,simple_slider_id:1,title:"Commercial Kitchen Equipment",link:"/restaurant-equipment",image:"https://d1p9kdrbe10xzz.cloudfront.net/production/sliders/main-banner-1150-x-500-b2-2.webp",description:null,order:1,created_at:"",updated_at:""},{id:2,simple_slider_id:1,title:"Premium Refrigeration",link:"/refrigeration",image:"https://d1p9kdrbe10xzz.cloudfront.net/production/sliders/Landing+page+Banner.webp",description:null,order:2,created_at:"",updated_at:""}],v=e=>e&&"null"!==e?e:"Commercial Kitchen Equipment & Restaurant Supplies - HorecaStore";function w({slides:e,sizes:i}){return(0,a.jsx)(p.Swiper,{id:"hero-side",modules:[r,c.Pagination,o],effect:"fade",fadeEffect:{crossFade:!0},autoplay:{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:{clickable:!0},loop:e.length>1,className:"w-full h-full",children:e.map((e,r)=>{let n=e.image?.startsWith("http"),o=(0,a.jsxs)("div",{className:"relative w-full h-full",children:[(0,a.jsx)(l.default,{src:n?e.image:t,alt:v(e.title),fill:!0,sizes:i,priority:0===r,loading:0===r?"eager":"lazy"}),n&&(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent"})]});return(0,a.jsx)(p.SwiperSlide,{children:e.link?(0,a.jsx)(s.default,{href:e.link,className:"block w-full h-full outline-none",children:o}):o},e.id)})})}let j=({slides:e=b,sliderItemsTwo:t,promotions:i=[]})=>{let n=e.length>0?e:b,u=t&&t.length>0?t:b;return(0,a.jsx)("section",{className:"global-container mt-3 sm:mt-6",children:(0,a.jsxs)("div",{className:"flex flex-col lg:grid lg:grid-cols-[70%_30%] ga
4p-3 lg:gap-4",children:[(0,a.jsx)("div",{className:"w-full rounded-[7px] overflow-hidden h-full",style:{aspectRatio:"875/380"},children:(0,a.jsx)(p.Swiper,{id:"hero-main",modules:[r,c.Pagination,d.Navigation,o],effect:"fade",fadeEffect:{crossFade:!0},autoplay:{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:{clickable:!0},loop:!0,className:"w-full h-full",children:n.map((e,t)=>{let i=(0,a.jsxs)("div",{className:"relative w-full h-full",children:[(0,a.jsx)(l.default,{src:e.image,alt:v(e.title),fill:!0,className:"object-cover",priority:0===t,loading:0===t?"eager":"lazy",fetchPriority:0===t?"high":void 0,sizes:"(max-width: 1024px) 100vw, 70vw"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent"})]});return(0,a.jsx)(p.SwiperSlide,{children:e.link?(0,a.jsx)(s.default,{href:e.link,className:"block w-full h-full outline-none",children:i}):i},e.id)})})}),(0,a.jsxs)("div",{className:"flex flex-col sm:grid sm:grid-cols-2 lg:grid-cols-1 gap-3 h-full",children:[(0,a.jsx)("div",{className:"w-full rounded-[7px] overflow-hidden h-full min-h-[220px] lg:min-h-[240px] bg-white",children:(0,a.jsx)(y,{promotions:i})}),(0,a.jsx)("div",{className:"hidden sm:block w-full rounded-[7px] overflow-hidden h-full",style:{aspectRatio:"875/380"},children:(0,a.jsx)(w,{slides:u,sizes:"(max-width: 1024px) 50vw, 30vw"})})]})]})})};e.s(["HeroBanner",0,j,"default",0,j],63982)},67585,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let l=e.r(32061);function s({reason:e,children:a}){if("u"<typeof window)throw Object.defineProperty(new l.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}},9885,(e,a,t)=>{"use strict";function l(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return l}})},52157,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return o}});let l=e.r(43476),s=e.r(74080),i=e.r(63599),r=e.r(9885),n=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let a=i.workAsyncStorage.getStore();if(void 0===a)return null;let t=[];if(a.reactLoadableManifest&&e){let l=a.reactLoadableManifest;for(let a of e){if(!l[a])continue;let e=l[a].files;t.push(...e)}}if(0===t.length)return null;let d=(0,n.getAssetTokenQuery)();return(0,l.jsx)(l.Fragment,{children:t.map(e=>{let t=`${a.assetPrefix}/_next/${(0,r.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,l.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:a.nonce},e):((0,s.preload)(t,{as:"script",fetchPriority:"low",nonce:a.nonce}),null)})})}},69093,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let l=e.r(43476),s=e.r(71645),i=e.r(67585),r=e.r(52157);function n(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(n(()=>null)),loading:null,ssr:!0},d=function(e){let a={...o,...e},t=(0,s.lazy)(()=>a.loader().then(n)),d=a.loading;function c(e){let n=d?(0,l.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!a.ssr||!!a.loading,c=o?s.Suspense:s.Fragment,p=a.ssr?(0,l.jsxs)(l.Fragment,{children:["u"<typeof window?(0,l.jsx)(r.PreloadChunks,{moduleIds:a.modules}):null,(0,l.jsx)(t,{...e})]}):(0,l.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(t,{...e})});return(0,l.jsx)(c,{...o?{fallback:n}:{},children:p})}return c.displayName="LoadableComponent",c}},70703,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let l=e.r(55682)._(e.r(69093));function s(e,a){let t={};"function"==typeof e&&(t.loader=e);let s={...t,...a};return(0,l.default)({...s,modules:s.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
4dule",{value:!0}),Object.assign(t.default,t),a.exports=t.default)},84579,e=>{"use strict";var a=e.i(43476),t=e.i(70703);let l=()=>(0,a.jsx)("div",{className:"animate-pulse w-full bg-white py-5",children:(0,a.jsxs)("div",{className:"global-container",children:[(0,a.jsx)("div",{className:"h-7 bg-gray-200 rounded w-48 mb-4"}),(0,a.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-3",children:Array.from({length:10}).map((e,t)=>(0,a.jsx)("div",{className:"aspect-[3/4] bg-gray-200 rounded-[7px]"},t))})]})}),s=(0,t.default)(()=>e.A(49737),{loadableGenerated:{modules:[90086]},ssr:!1,loading:()=>(0,a.jsx)(l,{})});e.s(["default",0,function({products:e}){return(0,a.jsx)(s,{products:e})}])},73794,e=>{"use strict";var a=e.i(43476),t=e.i(71645),l=e.i(25634),s=e.i(28800),i=e.i(64766);e.s(["HomeBlogsSection",0,function(){let[e,r]=(0,t.useState)([]),[n,o]=(0,t.useState)(!0);return((0,t.useEffect)(()=>{(0,s.makeApiRequest)(i.apiUrls.BLOGS,{params:{per_page:10,lang:"en",page:1}}).then(e=>r(e?.data??[])).catch(()=>r([])).finally(()=>o(!1))},[]),n)?(0,a.jsx)("section",{className:"w-full bg-white py-8",children:(0,a.jsxs)("div",{className:"global-container",children:[(0,a.jsx)("div",{className:"h-8 w-48 bg-slate-100 rounded animate-pulse mb-6"}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"h-64 bg-slate-100 rounded-xl animate-pulse"},t))})]})}):(0,a.jsx)(l.BlogsCard,{showAll:!1,blogs:e})}])},49737,e=>{e.v(a=>Promise.all(["static/chunks/0buo-xcw4r8q5.js"].map(a=>e.l(a))).then(()=>a(90086)))}]);

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.