PageSourceSearch

https://arazmarket.az/_next/static/chunks/app/%5Blocale%5D/(inner)/layout-dab2952b80e2ef9d.js

js arazmarket.az collected 2026-10-06 13:25:03 UTC 53,014 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2412,8094],{773:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});var a=s(95155);let r=e=>{let{name:t,size:s={width:24,height:24},className:r=""}=e;return(0,a.jsx)("svg",{className:"svg-icon-".concat(t)+r,style:{width:null==s?void 0:s.width,height:null==s?void 0:s.height},children:(0,a.jsx)("use",{xlinkHref:"/svg.svg#".concat(t)})})}},6991:(e,t,s)=>{Promise.resolve().then(s.bind(s,93691)),Promise.resolve().then(s.bind(s,58558)),Promise.resolve().then(s.bind(s,28713)),Promise.resolve().then(s.t.bind(s,41402,23)),Promise.resolve().then(s.t.bind(s,21887,23)),Promise.resolve().then(s.t.bind(s,39380,23)),Promise.resolve().then(s.bind(s,41345)),Promise.resolve().then(s.bind(s,86219)),Promise.resolve().then(s.bind(s,32330)),Promise.resolve().then(s.t.bind(s,31805,23)),Promise.resolve().then(s.bind(s,16110)),Promise.resolve().then(s.bind(s,95820)),Promise.resolve().then(s.bind(s,50188))},7207:e=>{e.exports={catalog_mobile:"mobile-catalog_catalog_mobile__dxWJw",inner:"mobile-catalog_inner__2onFb",top:"mobile-catalog_top__mycTx",body:"mobile-catalog_body___GA57",mobile_parent_link:"mobile-catalog_mobile_parent_link__WDBJp",link:"mobile-catalog_link__9JrIe"}},7307:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>m,E8:()=>c,EA:()=>y,J9:()=>f,MZ:()=>v,TV:()=>g,UC:()=>h,V3:()=>j,Xe:()=>n,YP:()=>N,hR:()=>l,i0:()=>p,j5:()=>b,jL:()=>i,k2:()=>d,oc:()=>r,pP:()=>o,rh:()=>x,wT:()=>w,wz:()=>_,xi:()=>u});let a=(0,s(26286).Z0)({name:"general",initialState:{settings:{},searchProducts:[],searchLoading:!1,searchError:!1,searchTerm:"",showDropdownSearch:!1,debouncedSearchTerm:"",search_tab:"1",partnyorSuccess:!1,searchCompleted:!1},reducers:{setSettings:(e,t)=>{e.settings=t.payload},setSearchProducts:(e,t)=>{e.searchProducts=t.payload},setSearchLoading:(e,t)=>
1{e.searchLoading=t.payload},setSearchError:(e,t)=>{e.searchError=t.payload},setSearchTermStore:(e,t)=>{e.searchTerm=t.payload},setShowDropdownSearch:(e,t)=>{e.showDropdownSearch=t.payload},setDebouncedSearchTerm:(e,t)=>{e.debouncedSearchTerm=t.payload},setSearchTab(e,t){e.search_tab=t.payload},setPartnyorSuccess(e,t){e.partnyorSuccess=t.payload},setSearchCompleted:(e,t)=>{e.searchCompleted=t.payload}}}),{setSettings:r,setSearchProducts:l,setSearchLoading:i,setSearchError:n,setSearchTermStore:c,setShowDropdownSearch:o,setDebouncedSearchTerm:d,setSearchTab:h,setPartnyorSuccess:u,setSearchCompleted:_}=a.actions,m=a.reducer,p=e=>e.general.settings,x=e=>e.general.searchProducts,j=e=>e.general.searchLoading,b=e=>e.general.searchError,f=e=>e.general.searchTerm,g=e=>e.general.showDropdownSearch,v=e=>e.general.debouncedSearchTerm,N=e=>e.general.search_tab,w=e=>e.general.partnyorSuccess,y=e=>e.general.searchCompleted},12977:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(95155);let r=function(e){let{size:t}=e;return(0,a.jsxs)("div",{role:"status",className:"".concat("medium"===t?"w-[18px] h-[18px] flex items-center justify-center":""),children:[(0,a.jsxs)("svg",{"aria-hidden":"true",className:"inline text-white animate-spin fill-[#ef7d05] ".concat("medium"===t?"w-[18px] h-[18px]":"w-6 h-4"," "),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,a.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},15571:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>o,Cs:()=>d,G:()=>_,Hu:()=>m,Ng:()=>h,Qw:()=>r,bU:()=>l,fR:()=>i,g:()=>n,t2:()=>c,vm:()=>u});let a=(0,s(26286).Z0)({name:"basket",initialState:{isSuccess:!1,isError:!1,successMessage:"",errorMessage:"",basketData:null},reducers:{setIsSuccess:(e,t)=>{e.isSuccess=t.payload},setIsError:(e,t)=>{e.isError=t.payload},setSuccessMessage:(e,t)=>{e.successMessage=t.payload},setErrorMessage:(e,t)=>{e.errorMessage=t.payload},setBasketData:(e,t)=>{e.basketData=t.payload}}}),{setIsSuccess:r,setIsError:l,setSuccessMessage:i,setErrorMessage:n,setBasketData:c}=a.actions,o=a.reducer,d=e=>e.basket.isSuccess,h=e=>e.basket.isError,u=e=>e.basket.successMessage,_=e=>e.basket.errorMessage,m=e=>e.basket.basketData},16110:(e,t,s)=>{"use strict";s.d(t,{default:()=>L});var a=s(95155),r=s(43624),l=s.n(r),i=s(18412),n=s(68891),c=s(85521),o=s(15239),d=s(26541),h=s(773),u=s(71408),_=s(2628),m=s(7207),p=s.n(m),x=s(62412),j=s(12115),b=s(58067);let f=function(e){let{data:t,selectItem:s,setMobileCatalogSubOpen:r,text:l}=e;return(0,a.jsx)("div",{className:p().inner,children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:p().breadcrumb,children:(0,a.jsx)(x.default,{})}),(0,a.jsxs)("div",{onClick:()=>{r(!1)},className:p().top,children:[(0,a.jsx)(h.default,{name:"arrow-left",size:{width:24,height:24}}),(0,a.jsx)("h3",{children:(0,b.ZH)(s.title)})]}),(0,a.jsx)("div",{className:p().body,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(d.N_,{href:"/categories/".concat(s.slug),prefetch:!1,className:"".concat(p().mobile_parent_link," flex-grow-1"),
1children:(0,a.jsxs)("div",{className:"".concat(p().link," flex-grow-1"),children:[s.icon&&(0,a.jsx)(o.default,{src:s.icon,alt:s.slug,width:24,height:24}),l]})})}),t.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(d.N_,{prefetch:!1,href:"/categories/".concat(e.slug),className:p().mobile_parent_link,children:(0,a.jsxs)("div",{className:p().link,children:[e.icon&&(0,a.jsx)(o.default,{src:e.icon,alt:e.slug,width:24,height:24}),(0,b.ZH)(e.title)]})})},t))]})})]})})},g=function(e){let{data:t,selectItem:s,setMobileCatalogSubOpen:r,text:l}=e,[i,n]=(0,j.useState)(!1),[c,m]=(0,j.useState)({}),[g,v]=(0,j.useState)([]);return(0,j.useEffect)(()=>{var e;v((null==t||null==(e=t[0])?void 0:e.sub)||[])},[t]),(0,a.jsxs)("div",{className:p().inner,children:[(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:p().breadcrumb,children:(0,a.jsx)(x.default,{})}),(0,a.jsxs)("div",{onClick:()=>{r(!1)},className:p().top,children:[(0,a.jsx)(h.default,{name:"arrow-left",size:{width:24,height:24}}),(0,a.jsx)("h3",{children:(0,b.ZH)(s.title)})]}),(0,a.jsx)("div",{className:p().body,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(d.N_,{href:"/categories/".concat(s.slug),prefetch:!1,className:"".concat(p().mobile_parent_link," flex-grow-1"),children:(0,a.jsxs)("div",{className:"".concat(p().link," flex-grow-1"),children:[s.icon&&(0,a.jsx)(o.default,{src:s.icon,alt:s.slug,width:24,height:24}),l]})})}),t.map((e,s)=>(0,a.jsx)("li",{children:(0,a.jsxs)("div",{onClick:()=>{var a;v((null==t||null==(a=t[s])?void 0:a.sub)||[]),m(e),n(!0)},className:p().mobile_parent_link,children:[(0,a.jsxs)("div",{className:p().link,children:[e.icon&&(0,a.jsx)(o.default,{src:e.icon,alt:e.slug,width:24,height:24}),(0,b.ZH)(e.title)]}),(0,a.jsx)(h.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},s))]})})]}),(0,a.jsx)(u.N,{children:i&&(0,a.jsx)(_.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:p().catalog_mobile,children:(0,a.jsx)(f,{data:g,selectItem:c,setMobileCatalogSubOpen:n,text:l})})})]})},v=function(e){let{data:t,selectItem:s,setMobileCatalogSubOpen:r,text:l,setMobileCatalogOpen:i}=e,[n,c]=(0,j.useState)(!1),[m,f]=(0,j.useState)({}),[v,N]=(0,j.useState)([]);return(0,j.useEffect)(()=>{var e;N((null==t||null==(e=t[0])?void 0:e.sub)||[])},[t]),(0,a.jsxs)("div",{className:p().inner,children:[(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:p().breadcrumb,children:(0,a.jsx)(x.default,{})}),(0,a.jsxs)("div",{onClick:()=>{r(!1)},className:p().top,children:[(0,a.jsx)(h.default,{name:"arrow-left",size:{width:24,height:24}}),(0,a.jsx)("h3",{children:(0,b.ZH)(s.title)})]}),(0,a.jsx)("div",{className:p().body,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(d.N_,{onClick:()=>i(!1),href:"/categories/".concat(s.slug),prefetch:!1,className:"".concat(p().mobile_parent_link," flex-grow-1"),children:(0,a.jsxs)("div",{className:"".concat(p().link," flex-grow-1"),children:[s.icon&&(0,a.jsx)(o.default,{src:s.icon,alt:s.slug,width:24,height:24}),l]})})}),t.map((e,s)=>(0,a.jsx)("li",{children:(0,a.jsxs)("div",{onClick:()=>{var a;N((null==t||null==(a=t[s])?void 0:a.sub)||[]),c(!0),f(e)},className:p().mobile_parent_link,children:[(0,a.jsxs)("div",{className:p().link,children:[e.icon&&(0,a.jsx)(o.default,{src:e.icon,alt:e.slug,width:24,height:24}),(0,b.ZH)(e.title)]}),(0,a.jsx)(h.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},s))]})})]}),(0,a.jsx)(u.N,{children:n&&(0,a.jsx)(_.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:p().catalog_mobile,children:(0,a.jsx)(g,{data:v,selectItem:m,setMobileCatalogSubOpen:c,text:l})})})]})};var N=s(9847);let w=function(e){let{data:t,setMobileCatalogOpen:s}=e,r=(0,N.useTranslations)("AllPage"),[l,i]=(0,j.useState)(!1),[n,c]=(0,j.useState)(0),[d,m]=(0,j.useState)({}),[f,g]=(0,j.useState)([]);return(0,j.useEffect)(()=>{var e;g((null==t||null==(e=t[n])?void 0:e.sub)||[])},[n,t]),(0,a.jsxs)("div",{className:p().inner,children:[(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:p().breadcrumb,children:(0,a.jsx)(x.default,{})}),(0,a.jsx)("div",{className:p().top,children:(0,a.jsx)("h3",{children:r("products")})}),(0,a.jsx)("div",{className:p().body,children:(0,a.jsx)("ul",{children:t.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsxs)("div",{onClick:()=>{c(t),i(!0),m(e)},className:p().mobile_parent_link,children:[(0,a.jsxs)("div",{className:p().link,children:[e.icon&&(0,a.jsx)(o.default,{src:e.icon,alt:e.slug,width:24,height:24}),(0,b.ZH)(e.title)]}),(0,a.jsx)(h.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},t))})})]}),(0,a.jsx)(u.N,{children:l&&(0,a.jsx)(_.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:p().catalog_mobile,children:(0,a.jsx)(v,{setMobileCatalogOpen:s,data:f,selectItem:d,setMobileCatalogSubOpen:i,text:r("view_all_products")})})})]})};var y=s(84736),k=s(20063),C=s(73819),S=s(15571);let A=()=>{let[e,t]=(0,j.useState)(!1);return(0,j.useEffect)(()=>{let e=()=>{window.scrollY>window.innerHeight-200?t(!0):t(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,a.jsx)(u.N,{children:e&&(0,a.jsx)(_.P.button,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.3},className:"z-[999] text-white p-3.5 rounded-full scroll-to-top",children:(0,a.jsx)(h.default,{name:"top-up-icon",size:{width:20,height:20}})})})},P={src:"/_next/static/media/jis.473d6663.svg",height:29,width:178,blurWidth:0,blurHeight:0},z={src:"/_next/static/media/jis-dark.a8452292.svg",height:29,width:178,blurWidth:0,blurHeight:0};var E=s(5379);let T=function(){let{theme:e}=(0,E.D)(),[t,s]=(0,j.useState)(!1);return((0,j.useEffect)(()=>{s(!0)},[]),t)?(0,a.jsxs)("div",{className:l().bottom,children:[(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," Araz Supermarket"]}),(0,a.jsx)("a",{href:"https://www.jis.az/",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(o.default,{src:"dark"===e?z:P,alt:"JIS",title:"Jeykhun Imanov Studio"})})]}):null},M={src:"/_next/static/media/veyseloglu.14c1ed61.svg",height:301,width:887,blurWidth:0,blurHeight:0},q={src:"/_next/static/media/veyseloglu-dark.dbbd117e.svg",height:49,width:156,blurWidth:0,blurHeight:0},F=function(e){let{text:t}=e,{theme:s}=(0,E.D)(),[r,l]=(0,j.useState)(!1);return((0,j.useEffect)(()=>
1{l(!0)},[]),r)?(0,a.jsx)(o.default,{src:"dark"===s?q:M,alt:t}):null},L=function(e){let{data:t,settings:s}=e,r=(0,N.useTranslations)("AllPage"),[m,p]=(0,j.useState)(!1),x=(0,C.o)(S.Hu),f=(0,k.usePathname)(),g=(0,N.useLocale)(),v=()=>x&&0!==(0,b.rF)(x.data)?(0,b.rF)(x.data):null;return(0,j.useEffect)(()=>{p(!1)},[f]),(0,j.useEffect)(()=>{let e=document.querySelectorAll(".".concat(l().mobile_bar_item," a"));m||e.forEach(e=>{e.getAttribute("href")===f&&e.classList.add(l().active)})},[m]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("footer",{className:"".concat(l().footer," footer"),children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:l().inner,children:[(0,a.jsx)("div",{className:l().scan,children:(0,a.jsx)(i.A,{apple_store:s.apple_store_link?s.apple_store_link:"",play_store:s.play_store_link?s.play_store_link:"",qr:s.application_qr?s.application_qr:"",text:r("scan_and_download"),bg_color:"#222",text_color:"#fff",link_color:"#F3F6F7"})}),(0,a.jsx)("div",{className:l().mobile_links,children:(0,a.jsxs)("div",{className:l().mobile_link_item,children:[(0,a.jsx)("a",{href:s.apple_store_link?s.apple_store_link:"",children:(0,a.jsx)(o.default,{src:n.A,alt:"apple"})}),(0,a.jsx)("a",{href:s.play_store_link?s.play_store_link:"",children:(0,a.jsx)(o.default,{src:c.A,alt:"play-store"})})]})}),(0,a.jsx)("div",{className:l().nav,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/about-us",title:r("about_us")}
1)}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/campaigns",title:r("campaigns")})}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/projects",title:r("projects")})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"https://jobaraz.retail.az/",target:"_blank",children:r("career")})}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/news",title:r("news")})}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/blog",title:r("blog")})}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/customer-support",title:r("customer_support")})}),(0,a.jsx)("li",{children:(0,a.jsx)(y.A,{href:"/contact",title:r("contact")})})]})}),(0,a.jsxs)("div",{className:l().options,children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-12",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{children:r("call_center")}),(0,a.jsx)("a",{href:"tel:".concat(s.phone_number),children:s.phone_number})]}),(0,a.jsx)("div",{className:l().company_logo,children:(0,a.jsx)(F,{text:r("veyseoglu_group")})})]}),(0,a.jsxs)("div",{className:l().social,children:[(0,a.jsx)("span",{children:r("our_social_media")}),(0,a.jsx)("ul",{children:s.social.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{className:"gray-badge-social",href:e.link,target:"_blank",children:(0,a.jsx)(o.default,{unoptimized:!0,src:e.icon,width:20,height:20,alt:e.title})})},t))})]})]})]}),(0,a.jsx)(T,{})]})}),(0,a.jsx)(u.N,{children:(0,a.jsx)(_.P.div,{initial:{y:"100%",opacity:0}
1,animate:{y:0,opacity:1},exit:{y:"100%",opacity:0},transition:{duration:.3,ease:"easeInOut"},className:l().mobile_bar,children:(0,a.jsxs)("div",{className:l().mobile_bar_inner,children:[(0,a.jsx)("div",{className:l().mobile_bar_item,children:(0,a.jsxs)(d.N_,{onClick:()=>{p(!1)},prefetch:!1,href:"/",className:f==="/".concat(g)?l().active:"",children:[(0,a.jsx)(h.default,{name:"home"}),(0,a.jsx)("span",{children:r("main")})]})}),(0,a.jsx)("div",{className:l().mobile_bar_item,children:(0,a.jsxs)("button",{onClick:()=>{window.scrollTo({top:0}),p(!m);let e=document.querySelectorAll(".".concat(l().mobile_bar_item," a"));e.forEach(e=>{e.classList.remove(l().active)}),m&&e.forEach(e=>{e.getAttribute("href")===f&&e.classList.add(l().active)})},className:m?l().active:"",children:[(0,a.jsx)(h.default,{name:"catalog"}),(0,a.jsx)("span",{children:r("products")})]})}),(0,a.jsx)("div",{className:l().mobile_bar_item,children:(0,a.jsxs)(d.N_,{prefetch:!1,onClick:()=>{p(!1)},href:"/basket",className:f==="/".concat(g,"/basket")?l().active:"",children:[(0,a.jsxs)("div",{className:l().mobile_basket_icon,children:[(0,a.jsx)(h.default,{name:"basket-footer"}),v()&&(0,a.jsx)("span",{children:v()})]}),(0,a.jsx)("span",{children:r("basket")})]})}),(0,a.jsx)("div",{className:l().mobile_bar_item,children:(0,a.jsxs)(d.N_,{prefetch:!1,onClick:()=>{p(!1)},href:"/araz-app",className:f==="/".concat(g,"/araz-app")?l().active:"",children:[(0,a.jsx)(h.default,{name:"mobile-application"}),(0,a.jsx)("span",{children:r("araz_app")})]})}),(0,a.jsx)("div",{className:l().mobile_bar_item,children:(0,a.jsxs)(d.N_,{prefetch:!1,onClick:()=>{p(!1)},href:"/stores",className:f==="/".concat(g,"/stores")?l().active:"",children:[(0,a.jsx)(h.default,{name:"shop-footer"}),(0,a.jsx)("span",{children:r("stores")})]})})]})})}),(0,a.jsx)(u.N,{children:m&&(0,a.jsx)(_.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:l().catalog_mobile,children:(0,a.jsx)(w,{data:t,setMobileCatalogOpen:p})})}),(0,a.jsx)(A,{})]})}},18412:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var a=s(95155),r=s(89359),l=s.n(r),i=s(15239),n=s(773),c=s(12977);let o=function(e){let{bg_color:t,text_color:s,link_color:r="#fff",text:o,qr:d,apple_store:h,play_store:u}=e;return(0,a.jsxs)("div",{className:"text-center mx-auto w-[180px]",children:[(0,a.jsxs)("div",{style:{background:t},className:l().scan,children:[d?(0,a.jsx)("div",{className:l().image,children:(0,a.jsx)(i.default,{src:d,alt:"",width:160,height:160})}):(0,a.jsx)("div",{className:"w-[160px] h-[160px]",children:(0,a.jsx)(c.A,{})}),(0,a.jsx)("p",{style:{color:s},children:o})]}),(0,a.jsxs)("div",{className:l().links,children:[(0,a.jsx)("a",{style:{background:r},href:h,target:"_blank",children:(0,a.jsx)(n.default,{name:"apple",size:{width:23,height:27}})}),(0,a.jsx)("a",{style:{background:r},href:u,target:"_blank",children:(0,a.jsx)(n.default,{name:"playstore",size:{width:23,height:26}})})]})]})}},26541:(e,t,s)=>{"use strict";s.d(t,{N_:()=>i});var a=s(75087),r=s(18956);let l=(0,a.o)({locales:["az","en","ru"],defaultLocale:"az",localeDetection:!1}),{Link:i,redirect:n,usePathname:c,useRouter:o,getPathname:d}=(0,r.xp)(l)},27218:e=>{e.exports={header:"header_header__IgX5r",header_checkout:"header_header_checkout__VNDxK",header_dropdown_open:"header_header_dropdown_open__xhz3r",top_header:"header_top_header__Razck",top_header_inner:"header_top_header_inner__8iXU3",top_header_inner_right:"header_top_header_inner_right__ZyxFT",theme_switcher:"header_theme_switcher__SNX_s",active_theme:"header_active_theme__PVMSn",locale_switcher:"header_locale_switcher__rcMlP",locale_icon:"header_locale_icon__sS7e9",top_header_phone:"header_top_header_phone__M9c_b",header_body_z_index:"header_header_body_z_index__256Gc",header_body:"header_header_body__kAlCL",header_body_left:"header_header_body_left__FwM3D",header_body_right:"header_header_body_right__77T9k",products_search_bar:"header_products_search_bar__y5hsY",products_btn:"header_products_btn__yC88K",logo:"header_logo__kuv3f",search:"header_search__XStCR",search_form:"header_search_form__EYz8q",search_tabs:"header_search_tabs__raYgc",mobile_search_input_static:"header_mobile_search_input_static__4Mjb8",icon_link:"header_icon_link__ioSVm",icon_link_icon:"header_icon_link_icon__UrtiE",header_foot:"header_header_foot__T4VxF",header_foot_right:"header_header_foot_right__rOAWo",header_partnyor:"header_header_partnyor__CqkUp",header_discount:"header_header_discount__06Ar2",nav:"header_nav__cihJ2",blur:"header_blur__5KC7s",blur_dropdown:"header_blur_dropdown__n8Vy3",fade_in_blur:"header_fade_in_blur__iIRSd",fade_out_blur:"header_fade_out_blur__W17vG",dropdown:"header_dropdown__jzUYm",mobile_bars:"header_mobile_bars__Zck3_",dropdown_search:"header_dropdown_search__LWjH6",fade_in:"header_fade_in__z3nmy",fade_out:"header_fade_out__jRnks",mobileSearch:"header_mobileSearch__82FRf",mobile_menu:"header_mobile_menu__gMmgF",mobile_search_top:"header_mobile_search_top__ZbgKm"}},31805:()=>{},32330:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var a=s(95155),r=s(5379);let l=function(e){let{children:t}=e;return(0,a.jsx)(r.N,{attribute:"class",defaultTheme:"light",enableSystem:!1,children:t})}},39380:()=>{},41345:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var a=s(95155),r=s(73819),l=s(1213);let i=function(e){let{children:t}=e;return(0,a.jsx)(l.Kq,{store:r.A,children:t})}},43624:e=>{e.exports={footer:"footer_footer__V_EP7",inner:"footer_inner__xp8uU",nav:"footer_nav__ZEXv_",options:"footer_options__P_LF1",social:"footer_social__fUiSJ",company_logo:"footer_company_logo__y56AA",bottom:"footer_bottom__GVK73",mobile_links:"footer_mobile_links__orw39",mobile_bar:"footer_mobile_bar__HDYJc",catalog_mobile:"footer_catalog_mobile__L9s18",scan:"footer_scan__IITFV",mobile_link_item:"footer_mobile_link_item__r7nfd",mobile_bar_inner:"footer_mobile_bar_inner__r2pWq",mobile_bar_item:"footer_mobile_bar_item__TTX8q",mobile_basket_icon:"footer_mobile_basket_icon__QWxon",active:"footer_active__X5p5X"}},50179:e=>{e.exports={inner:"products-dropdown_inner__QNv69",banner_column:"products-dropdown_banner_column__AowIy",list_parent:"products-dropdown_list_parent__6oiMQ",last_category:"products-dropdown_last_category__wJMSf",list_item:"products-dropdown_list_item__Y3QzY",active:"products-dropdown_active__i_9Vf",top_sub_category:"products-dropdown_top_sub_category__kvfLA",sub_category:"products-dropdown_sub_category___PMqA"}},50188:(e,t,s)=>{"use strict";s.d(t,{default:()=>n});var a=s(95155),r=s(68321),l=s(12115),i=s(20063);function n(){let e=(0,l.useRef)(!1),t=(0,i.usePathname)();(0,l.useEffect)(()=>{let e=t.endsWith("/basket");return document.body.classList.toggle("basket-page",e),()=>{document.body.classList.remove("basket-page")}},[t]);let s=(0,l.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!e.current&&!window.__arazWhelpInitialized){if("function"!=typeof Whelp){t<30&&setTimeout(()=>s(t+1),100);return}Whelp("init",{app_id:"92c8bce02685a32594b7d4b67f1e7a32"}),Whelp("load"),e.current=!0,window.__arazWhelpInitialized=!0}},[]);return(0,a.jsx)(r.default,{id:"whelp-widget-script",src:"https://widget.whelp.co/app.js",strategy:"afterInteractive",onLoad:s,onReady:s,onError:e=>{console.error("Whelp widget script y\xfcklənmədi:",e)}})}},50854:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});var a=s(95155);let r=function(){return(0,a.jsx)("div",{className:"h-full w-full flex justify-center items-center general-loading",children:(0,a.jsxs)("div",{role:"status",children:[(0,a.jsxs)("svg",{"aria-hidden":"true",className:"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-green-500",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,a.jsx)("span",{className:"sr-only",children:"Loading..."})]})})}},58067:(e,t,s)=>{"use strict";function a(e){return e<10?"0".concat(e):"".concat(e)}function r(e){let t=Date.parse(e)-Date.now(),s=Math.floor(t/1e3%60),a=Math.floor(t/1e3/60%60),r=Math.floor(t/36e5%24);return{days:Math.floor(t/864e5),hours:r,minutes:a,seconds:s}}s.d(t,{DS:()=>d,PZ:()=>c,Yq:()=>i,ZH:()=>l,b3:()=>a,jq:()=>r,rF:()=>n,sC:()=>o});let l=e=>null===e?e:e.charAt(0).toUpperCase()+e.slice(1).toLocaleLowerCase("tr");function i(e){let t=new Date(e),s=String(t.getDate()).padStart(2,"0"),a=String(t.getMonth()+1).padStart(2,"0"),r=t.getFullYear();return"".concat(s,".").concat(a,".").concat(r)}function n(e){return e.reduce((e,t)=>e+t.qty,0)}let c=(e,t)=>(e*t).toFixed(2),o=e=>{if(!Array.isArray(e))return{subtotal:0,discount:0,total:0};let t=0,s=0;for(let a of e){let e=a.qty,r=parseFloat(a.product.sales_price),l=parseFloat(a.product.discount_price),i=r*e,n=(r-l)*e;t+=i,s+=n}let a=t-s;return{subtotal:t.toFixed(2),discount:s.toFixed(2),total:a.toFixed(2)}},d=e=>!!e&&e.startsWith("https://")},62412:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var a=s(95155),r=s(58067),l=s(26541);function i(e){let{breadCrumbs:t,type:s}=e;return(0,a.jsx)("nav",{className:"text-[#ADAFAF] text-sm w-full overflow-x-auto whitespace-nowrap no-scrollbar",children:(0,a.jsx)("ul",{className:"flex gap-x-2 flex-nowrap items-center overflow-x-auto whitespace-nowrap no-scrollbar opacity-[0.7]",children:null==t?void 0:t.map((e,i)=>(0,a.jsxs)("li",{className:"flex items-center",children:[0!==i&&(0,a.jsx)("span",{className:"flex mr-2",children:"•"}),i===t.length-1?(0,a.jsx)("span",{children:(0,r.ZH)(e.title)}):(0,a.jsx)(l.N_,{prefetch:!1,href:"".concat(s&&"inner"===s?"/categories":"","/").concat(e.slug),children:(0,r.ZH)(e.title)})]},i))})})}},64731:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a={src:"/_next/static/media/logo.42b6a354.svg",height:44,width:143,blurWidth:0,blurHeight:0}},67526:(e,t,s)=>{"use strict";s.d(t,{F:()=>n});var a=s(72378),r=s(10507),l=s(61321);let i=(0,r.cw)({baseUrl:"https://b7x9kq.arazmarket.az/api",prepareHeaders:(e,t)=>{let{getState:s}=t;e.set("Accept","application/json");{let t=a.A.get("uid");t&&e.set("X-Session-Id",t)}return e}}),n=(0,l.xP)({reducerPath:"api",tagTypes:["BasketGet","SharedBasketGet"],baseQuery:i,endpoints:()=>({})})},68891:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a={src:"/_next/static/media/apple-footer.45449315.svg",height:40,width:137,blurWidth:0,blurHeight:0}},73819:(e,t,s)=>{"use strict";s.d(t,{A:()=>c,o:()=>o});var a=s(26286),r=s(1213),l=s(67526),i=s(15571),n=s(7307);let c=(0,a.U1)({reducer:{basket:i.Ay,general:n.Ay,[l.F.reducerPath]:l.F.reducer},middleware:e=>e().concat(l.F.middleware)}),o=r.d4},77939:e=>{e.exports={top:"search-dropdown_top__CruhC",top_badge:"search-dropdown_top_badge__2YL4H",badge:"search-dropdown_badge___zNAi",body:"search-dropdown_body__5PveU",body_badge:"search-dropdown_body_badge__BbyZh",badge_item:"search-dropdown_badge_item___s2w6",badge_item_active:"search-dropdown_badge_item_active__DMRpA",dropdown:"search-dropdown_dropdown__gwNte",inner:"search-dropdown_inner__FlAg6",status:"search-dropdown_status__7F7F4"}},81045:e=>{e.exports={native_select:"search-tabs_native_select__NHX3R",select:"search-tabs_select__n0ZKP",icon:"search-tabs_icon___5_8U"}},84736:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(95155),r=s(26541),l=s(773);let i=function(e){let{href:t,title:s,className:i,icon:n}=e;return(0,a.jsxs)(r.N_,{prefetch:!1,href:t,className:i||"",children:[s,n&&(0,a.jsx)(l.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})}},85521:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a={src:"/_next/static/media/play-store-footer.cc5ebf78.svg",height:40,width:136,blurWidth:0,blurHeight:0}},86219:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var a=s(95155),r=s(10201),l=s(95704);function i(e){let{children:t}=e;return(0,a.jsx)(r.G3,{reCaptchaKey:l.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY,children:t})}},89071:e=>{e.exports={inner:"mobile-menu_inner__s8wf4",top:"mobile-menu_top__2jNnW",btn_left:"mobile-menu_btn_left__Vh5DQ",btn_right:"mobile-menu_btn_right__rWd7L",body:"mobile-menu_body__phW1a",footer
1:"mobile-menu_footer__SCYia",phone:"mobile-menu_phone__CpNau"}},89359:e=>{e.exports={scan:"scan-image_scan__t8Cq_",image:"scan-image_image__qYrrb",links:"scan-image_links__hmQv_"}},93578:(e,t,s)=>{"use strict";s.d(t,{Ar:()=>a,Bu:()=>c,In:()=>n,Rs:()=>i,dF:()=>d,eh:()=>f,fe:()=>j,gM:()=>h,jZ:()=>b,lS:()=>m,mc:()=>p,tk:()=>x,un:()=>l,v9:()=>_,wf:()=>o,yJ:()=>u,zc:()=>r});let{useCommentPostMutation:a,useAddToBasketMutation:r,useBasketGetQuery:l,useRemoveBasketMutation:i,useBulkRemoveBasketsMutation:n,useDecreaseBasketMutation:c,useSharedBasketMutation:o,useSharedBasketGetQuery:d,useLazySearchProductsQuery:h,useSearchResultMutation:u,useContactPostMutation:_,useUpdatePurchasedMutation:m,useCustomerSupportMutation:p,useCorporateSupportMutation:x,useDiscountProductsGetQuery:j,useHomePopupQuery:b,useLazySearchGeneralQuery:f}=s(67526).F.injectEndpoints({endpoints:e=>({CommentPost:e.mutation({query:e=>({url:"/products/comment",method:"POST",body:e})}),AddToBasket:e.mutation({query:e=>({url:"/basket/add",method:"POST",body:e}),invalidatesTags:["BasketGet"]}),DecreaseBasket:e.mutation({query:e=>({url:"/basket/decrease",method:"POST",body:e}),invalidatesTags:["BasketGet"]}),RemoveBasket:e.mutation({query:e=>({url:"/basket/remove",method:"POST",body:e}),invalidatesTags:["BasketGet"]}),BulkRemoveBaskets:e.mutation({query:e=>({url:"/basket/bulk-remove",method:"POST",body:e}),invalidatesTags:["BasketGet"]}),BasketGet:e.query({query:()=>({url:"/basket",method:"GET"}),providesTags:["BasketGet"]}),SharedBasket:e.mutation({query:e=>({url:"/basket/shared-basket/add",method:"POST",body:e}),invalidatesTags:["BasketGet"]}),SharedBasketGet:e.query({query:e=>({url:"/basket/shared-basket/".concat(e),method:"GET"}),providesTags:["SharedBasketGet"]}),SearchProducts:e.query({query:e=>"/products/category?search_term=".concat(e)}),SearchResult:e.mutation({query:e=>({url:"/products/search-result",method:"POST",body:e,headers:{"content-type":"application/json"}})}),ContactPost:e.mutation({query:e=>({url:"/contact/application",method:"POST",body:e})}),UpdatePurchased:e.mutation({query:e=>({url:"/basket/shared-basket/update-purchased",method:"POST",body:e}),invalidatesTags:["SharedBasketGet"]}),CustomerSupport:e.mutation({query:e=>({url:"/customer-support/application",method:"POST",body:e})}),CorporateSupport:e.mutation({query:e=>({url:"/corporate/application",method:"POST",body:e})}),DiscountProductsGet:e.query({query:()=>({url:"/discount-products",method:"GET"})}),HomePopup:e.query({query:()=>({url:"/popup",method:"GET"})}),SearchGeneral:e.query({query:e=>"/general-search?search=".concat(e)})})})},95820:(e,t,s)=>{"use strict";s.d(t,{default:()=>K});var a=s(95155),r=s(27218),l=s.n(r),i=s(5379),n=s(12115),c=s(773);let o=function(){let{theme:e,setTheme:t,resolvedTheme:s}=(0,i.D)(),[r,o]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{o(!0)},[]),r)?(0,a.jsxs)("div",{className:l().theme_switcher,children:[(0,a.jsx)("button",{onClick:()=>t("light"),className:"".concat(l().sun_icon," ").concat("light"===s?l().active_theme:""),children:(0,a.jsx)(c.default,{name:"sun",size:{width:18,height:18}})}),(0,a.jsx)("button",{onClick:()=>t("dark"),className:"".concat(l().moon_icon," ").concat("dark"===s?l().active_theme:""),children:(0,a.jsx)(c.default,{name:"moon",size:{width:18,height:18}})})]}):null};var d=s(20063),h=s(9847);let u=function(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"locale-loading",children:(0,a.jsxs)("div",{role:"status",children:[(0,a.jsxs)("svg",{"aria-hidden":"true",className:"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-green-500",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,a.jsx)("span",{className:"sr-only",children:"Loading..."})]})})})},_=function(){let e=(0,d.useSearchParams)(),t=(0,d.useRouter)(),s=(0,d.usePathname)(),r=(0,h.useLocale)(),[i,o]=(0,n.useTransition)();return(0,a.jsxs)(a.Fragment,{children:[i&&(0,a.jsx)(u,{}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:l().locale_switcher,children:[(0,a.jsxs)("select",{value:r,onChange:a=>(a=>{let l=new URLSearchParams(e),i=s.replace("/".concat(r),"/".concat(a)),n=l.toString(),c=n?"".concat(i,"?").concat(n):i;o(()=>{t.replace(c)})})(a.target.value),children:[(0,a.jsx)("option",{value:"az",children:"AZ"}),(0,a.jsx)("option",{value:"en",children:"EN"}),(0,a.jsx)("option",{value:"ru",children:"RU"})]}),(0,a.jsx)("div",{className:l().locale_icon,children:(0,a.jsx)(c.default,{name:"arrow-bottom",size:{width:18,height:18}})})]})})]})},m=function(e){let{settings:t}=e;return(0,a.jsx)("div",{className:l().top_header,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:l().top_header_inner,children:(0,a.jsxs)("div",{className:l().top_header_inner_right,children:[(0,a.jsx)(o,{}),(0,a.jsx)(_,{}),(0,a.jsx)("div",{className:l().top_header_phone,children:(0,a.jsxs)("a",{href:"tel:".concat(t.phone_number),children:[(0,a.jsx)(c.default,{name:"phone",size:{width:18,height:18}}),(0,a.jsx)("span",{children:t.phone_number})]})})]})})})})};var p=s(15239),x=s(64731),j=s(77939),b=s.n(j),f=s(73819),g=s(7307),v=s(58067),N=s(26541),w=s(50854),y=s(1213);let k=function(e){let{setMobileSearch:t}=e,s=(0,h.useTranslations)("AllPage"),r=(0,f.o)(g.i0),l=(0,f.o)(g.V3),i=(0,f.o)(g.j5),n=(0,f.o)(g.rh),o=(0,f.o)(g.J9),d=(0,f.o)(g.EA),u=(0,y.wA)(),_=()=>{t&&t(!1),u((0,g.E8)("")),u((0,g.hR)([])),u((0,g.k2)("")),u((0,g.pP)(!1))};return(0,a.jsx)("div",{className:b().dropdown,children:(0,a.jsx)("div",{className:b().inner,children:l?(0,a.jsx)("div",{className:"loading-parent",children:(0,a.jsx)(w.default,{})}):i?(0,a.jsx)("div",{className:b().status,children:s("error_occurred")}):n&&n.length>0?(0,a.jsxs)("div",{className:b().result_list,children:[n.map(e=>(0,a.jsxs)(N.N_,{prefetch:!1,href:"/products/".concat(e.slug),className:b().badge_item,onClick:_,children:[(0,a.jsx)(c.default,{name:"search-dropdown",size:{width:18,height:18}}),e.title]},e.id)),(0,a.jsx)(N.N_,{prefetch:!1,href:"/search-result?search_term=".concat(o),className:b().badge_item_active,onClick:_,children:s("show_all")})]}):d&&0===n.length&&o.length>=3?(0,a.jsx)("div",{className:b().no_result_block,children:(0,a.jsx)("div",{className:b().status,children:s("no_results_found")})}):(0,a.jsxs)("div",{className:b().no_result_block,children:[r.most_searched_categories.length>0&&(0,a.jsxs)("div",{className:b().top,children:[(0,a.jsx)("h5",{children:s("search_in_category")}),(0,a.jsx)("div",{className:b().top_badge,children:r.most_searched_categories.map(e=>e.title&&(0,a.jsx)(N.N_,{prefetch:!1,onClick:_,href:"/categories/".concat(e.slug),className:"".concat(b().badge," gray-badge"),children:(0,v.ZH)(e.title)},e.id))})]}),r.most_searched_products.length>0&&(0,a.jsxs)("div",{className:b().body,children:[(0,a.jsx)("h5",{children:s("frequently_searched_products")}),(0,a.jsx)("div",{className:b().body_badge,children:r.most_searched_products.map(e=>e.title&&(0,a.jsxs)(N.N_,{prefetch:!1,onClick:_,href:"/products/".concat(e.slug),className:b().badge_item,children:[(0,a.jsx)(c.default,{name:"search-dropdown",size:{width:18,height:18}}),e.title]},e.id))})]})]})})})},C=e=>{(0,n.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e])};var S=s(93578),A=s(81045),P=s.n(A);let z=()=>{let e=(0,h.useTranslations)("AllPage"),t=(0,y.wA)(),s=(0,f.o)(g.YP),r=[{label:e("by_products"),value:"1"},{label:e("by_site"),value:"0"}],[l,i]=(0,n.useState)(s);return(0,a.jsxs)("div",{className:"".concat(P().select),children:[(0,a.jsx)("select",{className:P().native_select,value:l,onCh
1ange:e=>{let s=e.target.value;i(s),t((0,g.UC)(s))},children:r.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,a.jsx)("div",{className:P().icon,children:(0,a.jsx)(c.default,{name:"dropdown-arrow",size:{width:14,height:14}})})]})},E=function(e){let{mobileSearch:t,placeholder:s,setMobileSearch:r,mobile:i}=e,o=(0,d.useRouter)(),u=(0,h.useLocale)(),_=(0,y.wA)(),m=(0,f.o)(g.J9),p=(0,f.o)(g.MZ),x=(0,f.o)(g.TV),[j,{data:b,isFetching:v,isError:N,isSuccess:w}]=(0,S.gM)(),[k]=(0,S.yJ)();return(0,n.useEffect)(()=>{let e=setTimeout(()=>{m.length>=3?_((0,g.k2)(m)):(_((0,g.hR)([])),_((0,g.wz)(!1)))},600);return()=>clearTimeout(e)},[m]),(0,n.useEffect)(()=>{p.length>=3?(j(p),t||i||_((0,g.pP)(!0))):(_((0,g.pP)(!1)),_((0,g.wz)(!1)))},[p]),(0,n.useEffect)(()=>{var e;v?(_((0,g.jL)(!0)),_((0,g.wz)(!1))):N?(_((0,g.jL)(!1)),_((0,g.Xe)(!0))):w&&(null==b||null==(e=b.data)?void 0:e.products)&&(_((0,g.jL)(!1)),_((0,g.Xe)(!1)),_((0,g.hR)(b.data.products)),_((0,g.wz)(!0)),k({keyword:m,count:b.data.pagination.total.toString()}).unwrap().catch(console.error))},[v,N,w]),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),m.length<3||(r&&r(!1),_((0,g.pP)(!1)),_((0,g.E8)("")),_((0,g.hR)([])),_((0,g.k2)("")),o.replace("/".concat(u,"/search-result?search_term=").concat(m)))},className:"".concat(l().search_form," ").concat(x&&l().search_form_open),children:[(0,a.jsx)(z,{}),(0,a.jsx)("input",{autoFocus:t,onFocus:()=>{t||i||_((0,g.pP)(!0))},type:"text",placeholder:s,value:m,onChange:e=>_((0,g.E8)(e.target.value))}),(0,a.jsx)("button",{disabled:m.length<3,type:"submit",className:"green-btn",children:(0,a.jsx)(c.default,{name:"search",size:{width:20,height:20}})})]})},T=function(e){let{setMobileSearch:t}=e,s=(0,h.useTranslations)("AllPage"),r=(0,f.o)(g.i0),l=(0,f.o)(g.V3),i=(0,f.o)(g.j5),n=(0,f.o)(g.rh),o=(0,f.o)(g.J9),d=(0,f.o)(g.EA),u=(0,y.wA)(),_=()=>{t&&t(!1),u((0,g.E8)("")),u((0,g.hR)([])),u((0,g.k2)("")),u((0,g.pP)(!1))};return(0,a.jsx)("div",{className:b().dropdown,children:(0,a.jsx)("div",{className:b().inner,children:l?(0,a.jsx)("div",{className:"loading-parent",children:(0,a.jsx)(w.default,{})}):i?(0,a.jsx)("div",{className:b().status,children:s("error_occurred")}):n&&n.length>0?(0,a.jsxs)("div",{className:b().result_list,children:[n.map(e=>(0,a.jsxs)(N.N_,{prefetch:!1,href:"/products/".concat(e.slug),className:b().badge_item,onClick:_,children:[(0,a.jsx)(c.default,{name:"search-dropdown",size:{width:18,height:18}}),e.title]},e.id)),(0,a.jsx)(N.N_,{prefetch:!1,href:"/search-result?search_term=".concat(o),className:b().badge_item_active,onClick:_,children:s("show_all")})]}):(0,a.jsx)("div",{className:b().no_result_block,children:d&&0===n.length&&o.length>=3?(0,a.jsx)("div",{className:b().status,children:s("no_results_found")}):(0,a.jsxs)(a.Fragment,{children:[r.most_searched_categories.length>0&&(0,a.jsxs)("div",{className:b().top,children:[(0,a.jsx)("h5",{children:s("search_in_category")}),(0,a.jsx)("div",{className:b().top_badge,children:r.most_searched_categories.map(e=>e.title&&(0,a.jsx)(N.N_,{prefetch:!1,onClick:_,href:"/categories/".concat(e.slug),className:"".concat(b().badge," gray-badge"),children:(0,v.ZH)(e.title)},e.id))})]}),r.most_searched_products.length>0&&(0,a.jsxs)("div",{className:b().body,children:[(0,a.jsx)("h5",{children:s("frequently_searched_products")}),(0,a.jsx)("div",{className:b().body_badge,children:r.most_searched_products.map(e=>e.title&&(0,a.jsxs)(N.N_,{prefetch:!1,onClick:_,href:"/products/".concat(e.slug),className:b().badge_item,children:[(0,a.jsx)(c.default,{name:"search-dropdown",size:{width:18,height:18}}),e.title]},e.id))})]})]})})})})},M=function(e){let{mobileSearch:t,placeholder:s}
1=e,r=(0,d.useRouter)(),i=(0,h.useLocale)(),[o,u]=(0,n.useState)("");return(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),r.replace("/".concat(i,"/general-search?search=").concat(o))},className:"".concat(l().search_form),children:[(0,a.jsx)(z,{}),(0,a.jsx)("input",{autoFocus:t,type:"text",placeholder:s,value:o,onChange:e=>u(e.target.value)}),(0,a.jsx)("button",{disabled:o.length<=2,type:"submit",className:"green-btn",children:(0,a.jsx)(c.default,{name:"search",size:{width:20,height:20}})})]})},q=function(e){let{setMobileSearch:t,mobileSearch:s,placeholder:r}=e,i=(0,y.wA)(),n=(0,f.o)(g.YP);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:l().mobile_search_top,children:[(0,a.jsx)("div",{onClick:()=>{i((0,g.pP)(!1)),t(!1)},children:(0,a.jsx)(c.default,{name:"arrow-left"})}),"1"===n?(0,a.jsx)(E,{mobile:!0,placeholder:r,mobileSearch:s,setMobileSearch:t}):(0,a.jsx)(M,{mobile:!0,setMobileSearch:t,mobileSearch:s,placeholder:r})]}),"1"===n&&(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:l().mobile_search_body,children:(0,a.jsx)(T,{setMobileSearch:t})})})]})},F=function(){let e=(0,h.useTranslations)("AllPage"),t=(0,f.o)(g.TV),[s,r]=(0,n.useState)(!1),i=(0,d.usePathname)(),o=(0,y.wA)(),u="1"===(0,f.o)(g.YP);return C(()=>o((0,g.pP)(!1))),(0,n.useEffect)(()=>{r(!1),o((0,g.pP)(!1)),o((0,g.hR)([]))},[i]),(0,n.useEffect)(()=>{t||s?(document.documentElement.style.overflowY="hidden",document.body.style.overflowY="hidden"):(document.documentElement.style.overflowY="",document.body.style.overflowY="")},[t,s]),(0,a.jsxs)("div",{className:l().search,children:[(0,a.jsx)("div",{className:"hidden md:block",children:u?(0,a.jsx)(E,{mobile:!1,setMobileSearch:r,mobileSearch:s,placeholder:e("search_products")}):(0,a.jsx)(M,{mobile:!1,setMobileSearch:r,mobileSearch:s,placeholder:e("search_site")})}),(0,a.jsx)("div",{className:"block md:hidden",children:(0,a.jsxs)("form",{onClick:()=>{r(!0)},className:"".concat(l().search_form," ").concat(t&&l().search_form_open),children:[(0,a.jsx)("input",{readOnly:!0,type:"text",className:l().mobile_search_input_static,placeholder:e("search_in_araz")}),(0,a.jsx)("button",{children:(0,a.jsx)(c.default,{name:"search",size:{width:20,height:20}})})]})}),u&&(0,a.jsx)("div",{className:"".concat(l().dropdown_search," ").concat(t?l().fade_in:l().fade_out),children:t&&(0,a.jsx)(k,{})}),(0,a.jsx)("div",{onClick:()=>o((0,g.pP)(!1)),className:"".concat(l().blur," ").concat(t&&u?l().fade_in:l().fade_out)}),(0,a.jsx)("div",{className:"".concat(l().mobileSearch," ").concat(s?l().fade_in:l().fade_out),children:s&&(0,a.jsx)(q,{placeholder:e(u?"search_products":"search_site"),setMobileSearch:r,mobileSearch:s})})]})},L=function(e){let{icon:t,title:s,link:r,count:i}=e;return(0,a.jsxs)(N.N_,{prefetch:!1,href:r,className:l().icon_link,children:[(0,a.jsxs)("div",{className:l().icon_link_icon,children:[(0,a.jsx)(c.default,{name:t}),i&&0!==i&&(0,a.jsx)("small",{children:i})]}),(0,a.jsx)("span",{children:s})]})};var Z=s(84736);let H=function(){let e=(0,h.useTranslations)("AllPage");return(0,a.jsx)("nav",{className:l().nav,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/about-us",title:e("about_us")}
1)}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/campaigns",title:e("campaigns")})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/projects",title:e("projects")})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"https://jobaraz.retail.az/",target:"_blank",children:e("career")})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/news",title:e("news")})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/blog",title:e("blog")})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/customer-support",title:e("customer_support")})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/contact",title:e("contact")})})]})})};var D=s(50179),O=s.n(D);let I=function(e){var t;let{data:s,setShowDropdown:r}=e,[l,i]=(0,n.useState)(0),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=null==s?void 0:s[0];for(let s=0;s<e;s++){var a;if(!(t=null==t||null==(a=t.sub)?void 0:a[0]))break}return(null==t?void 0:t.sub)||[]},[d,h]=(0,n.useState)(o(1)),[u,_]=(0,n.useState)(o(2)),[m,x]=(0,n.useState)(o(3));(0,n.useEffect)(()=>{var e,t,a;let r=(null==s||null==(e=s[l])?void 0:e.sub)||[],i=(null==r||null==(t=r[0])?void 0:t.sub)||[],n=(null==i||null==(a=i[0])?void 0:a.sub)||[];h(r),_(i),x(n)},[l]);let j=()=>{r(!1)};return(0,a.jsxs)("div",{className:O().inner,children:[(0,a.jsx)("div",{className:O().top_category,children:(0,a.jsx)("ul",{className:O().list_parent,children:s.map((e,t)=>(0,a.jsx)("li",{onClick:j,children:(0,a.jsxs)(N.N_,{prefetch:!1,onMouseOver:()=>i(t),href:"/categories/".concat(e.slug),className:"".concat(O().list_item," ").concat(t===l&&O().active),children:[(0,a.jsxs)("span",{children:[e.icon&&(0,a.jsx)(p.default,{src:e.icon,alt:e.slug,title:e.title,width:24,height:24}),(0,v.ZH)(e.title)]}),(0,a.jsx)(c.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},e.id))})}),(0,a.jsxs)("div",{className:O().top_sub_category,children:[(0,a.jsx)("h5",{children:(0,v.ZH)(null==(t=s[l])?void 0:t.title)}),(0,a.jsx)("ul",{className:O().list_parent,children:d.map((e,t)=>(0,a.jsx)("li",{onClick:j,children:(0,a.jsxs)(N.N_,{prefetch:!1,onMouseOver:()=>(e=>{var t,s;let a=(null==d||null==(t=d[e])?void 0:t.sub)||[],r=(null==a||null==(s=a[0])?void 0:s.sub)||[];_(a),x(r)})(t),href:"/categories/".concat(e.slug),className:O().list_item,children:[(0,v.ZH)(e.title),(0,a.jsx)(c.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},e.id))})]}),(0,a.jsx)("div",{className:O().sub_category,children:(0,a.jsx)("ul",{className:O().list_parent,children:u.map((e,t)=>(0,a.jsx)("li",{onClick:j,children:(0,a.jsxs)(N.N_,{prefetch:!1,onMouseOver:()=>{var e;x((null==u||null==(e=u[t])?void 0:e.sub)||[])},className:O().list_item,href:"/categories/".concat(e.slug),children:[(0,v.ZH)(e.title),(0,a.jsx)(c.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})},e.id))})}),(0,a.jsx)("div",{className:O().sub_category,children:(0,a.jsx)("ul",{className:"".concat(O().list_parent," ").concat(O().last_category),children:m.map(e=>(0,a.jsx)("li",{onClick:j,children:(0,a.jsx)(N.N_,{prefetch:!1,className:O().list_item,href:"/categories/".concat(e.slug),children:(0,v.ZH)(e.title)})},e.id))})}),(0,a.jsx)("div",{className:O().banner_column,children:(0,a.jsx)("div",{className:"ffrWebAdvertising217x877Desktop"})})]})};var B=s(71408),R=s(2628),W=s(89071),G=s.n(W);let Y=function(){let e=(0,h.useTranslations)("AllPage");return(0,a.jsx)("div",{className:G().inner,children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:G().top,children:[(0,a.jsx)(Z.A,{className:G().btn_left,title:"Partnyor ol",href:"/partnyor"}),(0,a.jsx)(Z.A,{className:G().btn_right,href:"/discount-magazine",title:"Endirim jurnalı"})]}),(0,a.jsx)("div",{className:G().body,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/about-us",title:"Haqqımızda",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/campaigns",title:"Kampaniyalar",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/projects",title:"Layihələr",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:"https://jobaraz.retail.az/",target:"_blank",children:[e("career"),(0,a.jsx)(c.default,{name:"arrow-right-dropdown",size:{width:20,height:20}})]})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/news",title:"Xəbərlər",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/blog",title:"Bloq",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/customer-support",title:"M\xfcştəri dəstəyi",icon:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(Z.A,{href:"/contact",title:"Əlaqə",icon:!0})})]})}),(0,a.jsxs)("div",{className:G().footer,children:[(0,a.jsxs)("div",{className:G().phone,children:[(0,a.jsx)("span",{children:"\xc7ağrı mərkəzi"}),(0,a.jsx)("a",{href:"telto:(012) 924",children:"(012) 924"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-x-[12px]",children:[(0,a.jsx)(_,{}),(0,a.jsx)(o,{})]})]})]})})},U={src:"/_next/static/media/check.1565cc4b.svg",height:20,width:21,blurWidth:0,blurHeight:0};var V=s(15571);let J=function(){let e=(0,f.o)(V.Cs),t=(0,f.o)(V.vm),s=(0,y.wA)();return(0,n.useEffect)(()=>
1{if(e){let e=setTimeout(()=>{s((0,V.Qw)(!1))},3e3);return()=>clearTimeout(e)}},[e,s]),(0,a.jsxs)("div",{className:"notification notification-success ".concat(e?"open":""),children:[(0,a.jsx)(p.default,{src:U,alt:"icon"}),(0,a.jsx)("p",{children:t})]})},X=function(){let e=(0,f.o)(V.Ng),t=(0,f.o)(V.G),s=(0,y.wA)();return(0,n.useEffect)(()=>{if(e){let e=setTimeout(()=>{s((0,V.bU)(!1))},3e3);return()=>clearTimeout(e)}},[e,s]),(0,a.jsxs)("div",{className:"notification notification-error ".concat(e?"open":""),children:[(0,a.jsx)(p.default,{src:U,alt:"icon"}),(0,a.jsx)("p",{children:t})]})},K=function(e){let t,{data:s,settings:r}=e,i=(0,h.useTranslations)("AllPage"),[o,u]=(0,n.useState)(!1),[_,j]=(0,n.useState)(!1),b=(0,h.useLocale)(),f=(0,d.usePathname)(),w=(0,y.wA)(),{data:k,isLoading:A,isError:P}=(0,S.un)();return C(()=>u(!1)),(0,n.useEffect)(()=>{_?document.documentElement.style.overflowY="hidden":document.documentElement.style.overflowY=""},[_]),(0,n.useEffect)(()=>{j(!1),u(!1),f==="/".concat(b,"/partnyor")?document.body.classList.add("partnyor"):document.body.classList.remove("partnyor")},[f]),(0,n.useEffect)(()=>{w((0,g.oc)(r))},[r]),(0,n.useEffect)(()=>{!k||A||P||w((0,V.t2)(k))},[k,A,P,w]),P||A?t=null:k&&(t=0!==(0,v.rF)(k.data)?(0,v.rF)(k.data):null),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("header",{className:"".concat(l().header," ").concat(o?"":l().header_dropdown_open),children:[(0,a.jsx)(m,{settings:r}),(0,a.jsx)("div",{className:l().header_body_z_index,children:(0,a.jsxs)("div",{className:"container relative",children:[(0,a.jsxs)("div",{className:l().header_body,children:[(0,a.jsxs)("div",{className:l().header_body_left,children:[(0,a.jsx)(N.N_,{prefetch:!1,href:"/",className:l().logo,children:(0,a.jsx)(p.default,{src:x.default,alt:"araz-supermarket",title:"Araz Supermarket"})}),(0,a.jsxs)("div",{className:l().products_search_bar,children:[(0,a.jsx)("div",{className:l().products_btn,children:(0,a.jsxs)("button",{className:"green-btn",onClick:()=>u(!o),children:[o?(0,a.jsx)(c.default,{name:"close-dropdown"}):(0,a.jsx)(c.default,{name:"category"}),(0,a.jsx)("span",{children:i("products")})]})}),(0,a.jsx)(F,{})]})]}),(0,a.jsxs)("div",{className:l().header_body_right,children:[(0,a.jsx)(L,{link:"/stores",icon:"shop-header",title:i("stores")}),(0,a.jsx)(L,{link:"/araz-app",icon:"mobile-application",title:i("araz_app")}),(0,a.jsx)(L,{count:t,link:"/basket",icon:"choice-header",title:i("basket")})]}),(0,a.jsx)("div",{onClick:()=>j(!_),className:"".concat(l().mobile_bars," mobile_bars"),children:(0,a.jsx)(c.default,{name:_?"close":"bars"})})]}),(0,a.jsx)(B.N,{children:o&&(0,a.jsx)(R.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:l().dropdown,children:(0,a.jsx)(I,{setShowDropdown:u,data:s})})})]})}),(0,a.jsx)(B.N,{children:o&&(0,a.jsx)(R.P.div,{onClick:()=>u(!1),className:l().blur_dropdown,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"}})}),(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:l().header_foot,children:[(0,a.jsx)(H,{}),(0,a.jsxs)("div",{className:l().header_foot_right,children:[(0,a.jsx)(N.N_,{prefetch:!1,href:"/partnyor",className:"".concat(l().header_partnyor," orange-opacity-btn"),children:i("become_partner")}),(0,a.jsx)(N.N_,{prefetch:!1,href:"/discount-magazine",className:"".concat(l().header_discount," orange-btn"),children:i("discount_magazine")})]})]})})]}),(0,a.jsx)(B.N,{children:_&&(0,a.jsx)(R.P.div,{initial:{x:"100%",opacity:0},animate:{x:"0%",opacity:1},exit:{x:"100%",opacity:0},transition:{duration:.4,ease:"easeInOut"},className:l().mobile_menu,children:(0,a.jsx)(Y,{})})}),(0,a.jsx)(J,{}),(0,a.jsx)(X,{})]})}}},e=>{e.O(0,[4192,5087,5201,8558,1356,3378,2628,7220,3170,8441,1255,7358],()=>e(e.s=6991)),_N_E=e.O()}]);

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.