PageSourceSearch

https://www.qatarliving.com/classifieds-assets/_next/static/chunks/6803e60adee74aee.js

js qatarliving.com collected 2026-10-01 11:32:09 UTC 24,043 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,387318,e=>{"use strict";e.s(["useAuthSync",()=>d,"useCompanyWishlistList",()=>A,"useCreateCompany",()=>F,"useGetCompanies",()=>p,"useGetCompanyTokenUser",()=>f,"useOfferProductWishlist",()=>D,"useProcessCsv",()=>b,"useSearchProducts",()=>j,"useSearchStoreProducts",()=>w,"useStoreCategories",()=>I,"useStoreCompanies",()=>R,"useStoreWishlistList",()=>U,"useStoresDashboardSummary",()=>m,"useStoresProductCategories",()=>P,"useStoresSearchCategoryList",()=>C,"useStoresSearchProducts",()=>v,"useUpdateCompany",()=>S,"useUploadClassifiedsImage",()=>g,"useUploadServicesImage",()=>x,"useWishlistList",()=>k],387318);var t=e.i(261238);async function r(e,r,n){let s=new URLSearchParams({CompanyId:e,...r?{ProductName:r}:{}});return t.apiService.post("/api/classified/stores-search-products?".concat(s.toString()),n)}var n=e.i(266027),s=e.i(954616),a=e.i(912598),i=e.i(619273),l=e.i(774460),o=e.i(557798);function c(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var u=function e(t,r){function n(e,n,s){if("undefined"!=typeof document){"number"==typeof(s=c({},r,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var i in s)s[i]&&(a+="; "+i,!0!==s[i]&&(a+="="+s[i].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+a}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},s=0;s<r.length;s++){var a=r[s].split("="),i=a.slice(1).join("=");try{var l=decodeURIComponent(a[0]);if(n[l]=t.read(i,l),e===l)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",c({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,c({},this.attributes,t))},withConverter:function(t){return e(c({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let d=e=>{let t=u.get(l.AUTH_TOKEN_NAME);return(0,n.useQuery)({queryKey:["auth","sync"],queryFn:async()=>{let e=window.location.pathname.split("/")[1],r=await fetch("".concat(l.config.apiConfig.base_url,"/auth/sync"),{method:"GET",headers:{Authorization:"Bearer ".concat(t),"Accept-Language":(0,o.acceptLanguageFromLocale)(e)}});if(!r.ok)throw Error("Failed to sync auth");return await r.json()},enabled:!!t,...e})},p=e=>(0,n.useQuery)({queryKey:["companies"],queryFn:()=>t.apiService.get("/api/companyprofile/getcompanies"),...e}),f=e=>(0,n.useQuery)({queryKey:["companyTokenUser"],queryFn:()=>t.apiService.get("/api/companyprofile/getcompanytokenuser"),...e}),m=(e,r,s)=>{var a;let i=(null==(a=null==s?void 0:s.enabled)||a)&&!!(e&&r);return(0,n.useQuery)({queryKey:["stores","dashboard","summary",e,r],queryFn:()=>t.apiService.get("/api/classified/stores-dashboard-summary?CompanyId=".concat(encodeURIComponent(e),"&SubscriptionId=").concat(encodeURIComponent(r))),enabled:i,...s})},h=async(e,r)=>{let n={file:"string"==typeof r.file?r.file:await y(r.file),filename:r.filename};return t.apiService.post(e,n)},g=e=>(0,s.useMutation)({mutationFn:e=>h("/files/upload/classifieds",e),...e}),x=e=>(0,s.useMutation)({mutationFn:e=>h("/files/upload/services",e),...e}),y=e=>new Promise((t,r)=>{let n=new FileReader;n.readAsDataURL(e),n.onload=()=>{let e=n.result;t(e.includes(",")?e.split(",")[1]:e)},n.onerror=e=>r(e)}),b=(e,r,n,i,l,o)=>{let c=(0,a.useQueryClient)();return(0,s.useMutation)({mutationFn:async()=>{try{return await t.apiService.get("/api/classified/stores-dashboard-process-csv?Url=".concat(encodeURIComponent(e),"&CsvPlatform=").concat(encodeURIComponent(r),"&CompanyId=").concat(encodeURIComponent(n),"&SubscriptionId=").concat(encodeURIComponent(i),"&Domain=").concat(encodeURIComponent(l)))}catch(e){var s,a,o;throw null!=(o=null==e||null==(s=e.response)?void 0:s.data)?o:{title:"CSV Processing Failed",detail
1:(null==e?void 0:e.message)||"An unknown error occurred.",status:null==e||null==(a=e.response)?void 0:a.status}}},...o,onSettled:(e,t,r,s,a)=>{var l;n&&i&&c.invalidateQueries({queryKey:["stores","dashboard","summary",n,i]}),null==o||null==(l=o.onSettled)||l.call(o,e,t,r,s,a)}})},v=(e,r)=>(0,s.useMutation)({mutationFn:r=>{let{ProductName:n,...s}=r;return t.apiService.post("/api/classified/stores-search-products?CompanyId=".concat(e).concat(n?"&ProductName=".concat(encodeURIComponent(n)):""),s)},...r}),w=()=>(0,s.useMutation)({mutationFn:e=>{let{companyId:t,productName:n,body:s}=e;return r(t,n,s)}}),j=e=>(0,s.useMutation)({mutationFn:e=>t.apiService.post("/api/classified/stores-product-counts",e),...e}),F=e=>(0,s.useMutation)({mutationFn:e=>t.apiService.post("/api/companyprofile/createcompany",e),...e}),S=e=>(0,s.useMutation)({mutationFn:e=>t.apiService.put("/api/companyprofile/updatecompanyprofile",e),...e}),C=(e,r,s)=>(0,n.useQuery)({queryKey:["stores-search-category-list",e,null!=r?r:"en"],queryFn:()=>t.apiService.post("/api/classified/stores-search-category-list/".concat(e),{},{headers:{"Accept-Language":(0,o.acceptLanguageFromLocale)(r)}}),...s}),P=e=>(0,n.useQuery)({queryKey:["stores-product-categories"],queryFn:()=>t.apiService.get("/api/classified/stores/product-categories"),...e}),I=e=>(0,n.useQuery)({queryKey:["store-categories"],queryFn:()=>t.apiService.get("/api/companyprofile/store-categories"),...e}),N=e=>(null!=e?e:[]).map(Number).filter(e=>Number.isFinite(e)&&e>0),R=(e,r)=>(0,n.useQuery)({queryKey:(e=>{let{subVertical:t,text:r="",categoryIds:n,pageNumber:s=1,pageSize:a=24}=e;return["store-companies",t,r,N(n).join(","),s,a]})(e),queryFn:()=>(e=>{let{subVertical:r,text:n="",categoryIds:s,pageNumber:a=1,pageSize:i=24}=e,l=N(s);return t.apiService.post("/api/classified/stores-product-counts",{subVertical:r,text:n,filters:l.length?{categoryId:l}:{},orderBy:"",pageNumber:a,pageSize:i})})(e),staleTime:3e5,placeholderData:i.keepPreviousData,...r}),k=(e,r,s)=>(0,n.useQuery)({queryKey:["wishlist-list",e,r],queryFn:()=>t.apiService.get("/api/classified/wishlist/list?vertical=".concat(e,"&subVertical=").concat(r)),...s}),D=e=>(0,n.useQuery)({queryKey:["wishlist-list",3,11],queryFn:()=>t.apiService.get("/api/classified/wishlist/list?vertical=3&subVertical=11"),...e}),U=e=>(0,n.useQuery)({queryKey:["store-wishlist-list"],queryFn:()=>t.apiService.get("/api/classified/wishlist/list?vertical=3&subVertical=3"),...e}),A=e=>(0,n.useQuery)({queryKey:["company-wishlist-list"],queryFn:()=>t.apiService.get("/api/classified/wishlist/list?vertical=3&subVertical=12"),...e})},667585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let n=e.r(132061);function s(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw Object.defineProperty(new n.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},309885,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},652157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let n=e.r(843476),s=e.r(174080),a=e.r(563599),i=e.r(309885);function l(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=a.workAsyncStorage.getStore();if(void 0===r)return null;let l=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;l.push(...t)}}return 0===l.length?null:(0,n.jsx)(n.Fragment,{children:l.map(e=>{let t=r.assetPrefix+"/_next/"+(0,i.encodeURIPath)(e);return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style"},e):((0,s.preload)(t,{as:"script",fetchPriority:"low"}),null)})})}},869093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let n=e.r(843476),s=e.r(271645),a=e.r(667585),i=e.r(652157);function l(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},r=(0,s.lazy)(()=>t.loader().then(l)),c=t.loading;function u(e){let l=c?(0,n.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,u=o?s.Suspense:s.Fragment,d=t.ssr?(0,n.jsxs)(n.Fragment,{children:["undefined"==typeof window?(0,n.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(u,{...o?{fallback:l}:{},children:d})}return u.displayName="LoadableComponent",u}},770703,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(555682)._(e.r(869093));function s(e,t){var r;let s={};"function"==typeof e&&(s.loader=e);let a={...s,...t};return(0,n.default)({...a,modules:null==(r=a.loadableGenerated)?void 0:r.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},182150,e=>{"use strict";e.s(["useCheckout",()=>a,"useClassifiedDetails",()=>i,"useClassifiedPreviewDetails",()=>p,"useDownloadReport",()=>d,"useProducts",()=>s,"useSaveStoreProductToFavorite",()=>c,"useSaveToFavorite",()=>l,"useUnsaveFromFavorite",()=>o,"useUnsaveStoreProductFromFavorite",()=>u]);var t=e.i(261238),r=e.i(954616),n=e.i(266027);let s=(e,r)=>(0,n.useQuery)({queryKey:["products",e],queryFn:()=>{let r=new URLSearchParams({vertical:e.vertical,subVertical:e.subVertical,productType:e.productType});return void 0!==e.isP2P&&r.set("isP2P",String(e.isP2P)),t.apiService.get("/api/products/getallproducts?".concat(r))},...r}),a=e=>(0,r.useMutation)({mutationKey:["checkout"],mutationFn:e=>t.apiService.post("/api/pay/checkout",e),...e}),i=(e,r)=>(0,n.useQuery)({queryKey:["classifiedDetails",e],queryFn:()=>{let{subVertical:r,slug:n,similarPageSize:s}=e,a="/api/classified/classifieds/details/".concat(encodeURIComponent(r),"/").concat(encodeURIComponent(n)),i=new URLSearchParams;s&&i.append("similarPageSize",s.toString());let l=i.toString();return l&&(a+="?".concat(l)),t.apiService.get(a)},enabled:!!e.subVertical&&!!e.slug,...r}),l=e=>(0,r.useMutation)({mutationFn:e=>t.apiService.post("/api/classified/wishlist/favourite",e),...e}),o=e=>(0,r.useMutation)({mutationFn:e=>{let r=new URLSearchParams({vertical:e.vertical,subVertical:e.subVertical,adId:e.adId});return t.apiService.delete("/api/classified/wishlist/unfavourite?".concat(r))},...e}),c=e=>(0,r.useMutation)({mutationFn:e=>t.apiService.post("/api/classified/wishlist/favourite",e),...e}),u=e=>(0,r.useMutation)({mutationFn:e=>{let r=new URLSearchParams({vertical:String(e.vertical),subVertical:String(e.subVertical),adId:String(e.adId),storeProductId:e.storeProductId});return t.apiService.delete("/api/classified/wishlist/unfavourite?".concat(r))},...e}),d=(e,r)=>(0,n.useQuery)({queryKey:["downloadReport",e],queryFn:async()=>{try{let r=await t.httpClient.get("/api/classified/dashboard-export/?subVertical=".concat(e),{responseType:"blob"}),n=r.headers["content-disposition"],s="report.xlsx";if(n){let e=n.match(/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/);e&&e[1]&&(s=e[1].replace(/['"]/g,""))}let a=window.URL.createObjectURL(r.data),i=document.createElement("a");return i.href=a,i.download=s,document.body.appendChild(i),i.click(),document.body.removeChild(i),window.URL.revokeObjectURL(a),{success:!0,filename:s}}catch(e){throw Error((null==e?void 0:e.custom_message)||(null==e?void 0:e.message)||"Failed to download report")}},...r}),p=(e,r)=>(0,n.useQuery)({queryKey:["classifiedPreviewDetails",e],queryFn:()=>{let{subVertical:r,id:n}=e,s="/api/classified/".concat(r,"/").concat(n);return t.apiService.get(s)},select:e=>({detail:e,similar:[],totalSimilar:0}),enabled:!!e.subVertical&&!!e.id,...r})},712580,e=>{"use strict";e.s(["useSendAnalytics",()=>s]);var t=e.i(261238),r=e.i(954616);let n=e=>{let{adId:r,type:n,vertical:s}=e;return t.apiService.post("/api/analytics?"+new URLSearchParams({type:n,vertical:s}).toString(),{adId:r,number:"",lead:"",url:"",result:""})},s=e=>(0,r.useMutation)({mutationFn:n,...e,onError:(t,r,n,s)=>{var a;console.error("Analytics send error:",t.message),null==e||null==(a=e.onError)||a.call(e,t,r,n,s)}})},315823,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(843476);function r(e){let{title:r,countLabel:n,action:s,gapClassName:a="gap-4",compact:i}=e;return(0,t.jsxs)("div",{className:"flex w-full items-start justify-between lg:items-end ".concat(i?"flex-wrap sm:flex-nowrap":"flex-wrap"," ").concat(a),children:[(0,t.jsx)("div",{className:i?"min-w-0 shrink-0":"",children:i?(0,t.jsxs)("h2",{className:"whitespace-nowrap text-[18px] font-bold leading-[120%] text-[#242424] lg:text-[24px]",children:[r,n&&(0,t.jsx)("span",{className:"ml-1 text-[16px] font-normal leading-[150%] text-[#2D2D2D]",children:n})]}):(0,t.jsxs)("h2",{className:"text-[24px] font-extrabold leading-[120%] text-[#242424] lg:font-bold",children:[r,n&&(0,t.jsx)("span",{className:"ml-1 text-[16px] font-normal leading-[150%] text-[#2D2D2D]",children:n})]})}),s]})}},901692,e=>{"use strict";e.s(["default",()=>t]);
1let t=(0,e.i(770703).default)(()=>e.A(502588),{loadableGenerated:{modules:[469731]},ssr:!1})},146077,332664,660869,e=>{"use strict";e.s(["default",()=>c],146077);var t=e.i(843476),r=e.i(271645),n=e.i(657688),s=e.i(522016);e.i(785269);var a=e.i(322831),i=e.i(19678),l=e.i(326122),o=e.i(428934);function c(e){let{title:c,href:u,imageUrl:d,images:p,price:f,currency:m,priceLabel:h,sellerName:g,sellerLogoUrl:x,sellerVerified:y,onSellerClick:b,categoryLabel:v,categoryColor:w,onClick:j,onFavoriteClick:F,isFavorited:S=!1,badgeLabel:C,soldLabel:P,movingSaleLabel:I}=e,N=(0,o.useNewTabOnDesktop)(),{t:R}=(0,a.useTranslation)(),k=null!=m?m:R("currency.qar","QAR"),D=p&&p.length>0?p:d?[d]:[],[U,A]=(0,r.useState)(0),L=D.length>1,_=D[Math.min(U,D.length-1)],q=(e,t)=>{e.preventDefault(),e.stopPropagation(),A((t+D.length)%D.length)},E=(0,r.useRef)(null);return(0,t.jsxs)(s.default,{href:u,onClick:j,...(0,o.isExternalHref)(u)?o.EXTERNAL_NEW_TAB:N,className:"group flex items-stretch gap-3 md:h-[120px] md:gap-5 lg:h-[150px] lg:gap-6",children:[(0,t.jsxs)("div",{onTouchStart:e=>{L&&(E.current=e.touches[0].clientX)},onTouchEnd:e=>{if(!L||null==E.current)return;let t=e.changedTouches[0].clientX-E.current;E.current=null,40>Math.abs(t)||A(e=>(e+(t<0?1:-1)+D.length)%D.length)},className:"relative h-[94px] w-[80px] shrink-0 overflow-hidden rounded-xl border border-[#D5D7DA] bg-gradient-to-br from-[#EDFAFF] to-[#86D0FF]/40 md:h-[120px] md:w-[174px] lg:h-[150px] lg:w-[217px] lg:rounded-2xl",children:[_&&(0,t.jsx)(l.default,{src:_,alt:c,sizes:"(max-width: 768px) 80px, (max-width: 1024px) 174px, 217px"},_),L&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-label":"Previous image",onClick:e=>q(e,U-1),className:"absolute start-1 top-1/2 z-[1] flex h-4 w-4 -translate-y-1/2 items-center justify-center rounded-full bg-white/80 shadow-md hover:bg-white md:start-1.5 md:h-5 md:w-5",children:(0,t.jsx)(i.ChevronLeftIcon,{size:10,color:"#242424"})}),(0,t.jsx)("button",{type:"button","aria-label":"Next image",onClick:e=>q(e,U+1),className:"absolute end-1 top-1/2 z-[1] flex h-4 w-4 -translate-y-1/2 items-center justify-center rounded-full bg-white/80 shadow-md hover:bg-white md:end-1.5 md:h-5 md:w-5",children:(0,t.jsx)(i.ChevronRightIcon,{size:10,color:"#242424"})}),(0,t.jsx)("div",{className:"absolute bottom-1 start-1/2 z-[1] flex -translate-x-1/2 items-center gap-1",children:D.map((e,r)=>(0,t.jsx)("button",{type:"button","aria-label":"Go to image ".concat(r+1),onClick:e=>q(e,r),className:"h-1 w-1 rounded-full transition-colors md:h-1.5 md:w-1.5 ".concat(r===U?"bg-[#FF7F38]":"bg-white/70")},r))})]}),P?(0,t.jsx)("span",{className:"absolute start-1.5 top-1.5 rounded bg-[#242424] px-1.5 py-0.5 text-[10px] font-bold leading-[140%] text-[#FAFAFA] md:start-2 md:top-2 md:px-2 md:py-1 md:text-[11px]",children:P}):C&&(0,t.jsx)("span",{className:"absolute start-1.5 top-1.5 rounded bg-[#FF7F38] px-1.5 py-0.5 text-[10px] font-bold leading-[140%] text-[#FAFAFA] md:start-2 md:top-2 md:px-2 md:py-1 md:text-[11px]",children:C}),I&&(0,t.jsx)("span",{className:"absolute bottom-0 end-1 flex h-4 items-center rounded-t bg-[#065FE9] px-1 text-[8px] font-bold leading-[140%] text-white md:end-4 md:h-6 md:px-2 md:text-[11px]",children:I}),(0,t.jsx)("button",{type:"button","aria-label":"Save",onClick:e=>{e.preventDefault(),e.stopPropagation(),null==F||F(e)},className:"absolute end-2.5 top-2.5 hidden h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-white/90 md:flex",children:(0,t.jsx)(i.HeartIcon,{size:16,color:S?"#FF7F38":"#00426D",filled:S})})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col justify-between py-0.5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1 md:gap-2 lg:gap-3",children:[v?(0,t.jsx)("span",{className:"w-fit truncate rounded-full border border-[#FF7F38] bg-white px-3 py-1 text-[12px] font-semibold text-[#FF7F38]",children:v}):g?(0,t.jsxs)("div",{className:"flex h-6 items-center gap-2 ".concat(b?"w-fit cursor-pointer":""),onClick:b?e=>{e.preventDefault(),e.stopPropagation(),b(e)}:void 0,children:[x?(0,t.jsx)(n.default,{src:x,alt:g,width:24,height:24,unoptimized:!0,className:"rounded-full object-cover"}):(0,t.jsx)("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-[#EDF3F8] text-[10px] font-bold text-[#00426D]",children:g.trim().charAt(0).toUpperCase()||"?"}),(0,t.jsx)("span",{className:"truncate text-[12px] font-semibold text-[#00426D] ".concat(b?"underline":""),children:g}),y&&(0,t.jsx)(i.CheckBadgeIcon,{size:13})]}):null,(0,t.jsx)("p",{className:"line-clamp-2 text-[16px] font-semibold leading-[150%] text-[#242424] md:text-[20px] md:font-bold md:leading-[130%] lg:text-[24px] lg:leading-[120%]",children:c})]}),null!=f&&(0,t.jsx)("div",{className:"flex flex-col gap-0 lg:gap-1.5",children:(0,t.jsxs)("span",{className:"text-[18px] font-extrabold text-[#00426D]",children:[k," ",f.toLocaleStr
1ing()]})})]}),(0,t.jsx)("button",{type:"button","aria-label":"Save",onClick:e=>{e.preventDefault(),e.stopPropagation(),null==F||F(e)},className:"flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center self-start rounded-full border border-[#D5D7DA] md:hidden",children:(0,t.jsx)(i.HeartIcon,{size:16,color:S?"#FF7F38":"#818B9A",filled:S})})]})}function u(){return(0,t.jsx)("div",{className:"h-px w-full bg-[#F0F0F0]","aria-hidden":!0})}e.s(["default",()=>u],332664),e.s(["default",()=>h],660869);var d=e.i(191632),p=e.i(162017),f=e.i(782034),m=e.i(694164);function h(e){var n,s;let{view:a,onChange:i,labels:l}=e,[o,c]=(0,r.useState)(!1),{handleClickAnalytics:u}=(0,f.default)(),h=e=>{u(void 0,"grid"===e?m.ANALYTICS_LEAD.VIEW_GRID:m.ANALYTICS_LEAD.VIEW_LIST),i(e)};(0,r.useEffect)(()=>{let e=document.querySelector("footer");if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;return c(t.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let g=[{value:"list",label:null!=(n=null==l?void 0:l.list)?n:"",icon:(0,t.jsx)(d.ListIcon,{size:18,color:"currentColor"})},{value:"grid",label:null!=(s=null==l?void 0:l.grid)?s:"",icon:(0,t.jsx)(d.GridIcon,{size:18,color:"currentColor"})}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(p.default,{value:a,onChange:h,options:g,segmentWidth:81})}),!o&&(0,t.jsx)("div",{className:"fixed bottom-6 left-1/2 z-20 -translate-x-1/2 shadow-[0px_4px_20px_rgba(0,0,0,0.5)] lg:hidden",children:(0,t.jsx)(p.default,{value:a,onChange:h,options:g,segmentWidth:81})})]})}},926403,e=>{"use strict";function t(e,t,r){let n=(null!=e?e:"").trim();return n&&"manual"===t?"/".concat(r,"/classifieds").concat(n):n}e.s(["resolveStoreProductHref",()=>t])},60481,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(843476),r=e.i(657688),n=e.i(522016),s=e.i(19678),a=e.i(782034),i=e.i(991872),l=e.i(694164),o=e.i(428934);function c(e){let{store:c,size:u=96}=e,d=(0,o.useNewTabOnDesktop)(),{handleClickAnalytics:p}=(0,a.default)(),f=(0,i.useAnalyticsImpressionTracking)({ad_type:"Store Ad",ad_id:c.id});return(0,t.jsx)(n.default,{ref:f,href:c.href,onClick:e=>{var t;return p(e.nativeEvent,l.ANALYTICS_LEAD.CARD_CLICK,null!=(t=c.id)?t:null,null,null,null,c.href)},title:c.name,...d,className:"flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-white shadow-[0px_4px_10px_rgba(0,0,0,0.08)]",style:{width:u,height:u},children:c.imageUrl?(0,t.jsx)(r.default,{src:c.imageUrl,alt:c.name,width:u,height:u,unoptimized:!0,className:"h-full w-full object-cover"}):(0,t.jsx)(s.StoreIcon,{size:Math.round(.35*u),color:"#00426D"})})}},205051,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(843476),r=e.i(271645),n=e.i(191632),s=e.i(60481);function a(e){var a;let{stores:i,loading:l,emptyLabel:o,size:c=96}=e,u=(0,r.useRef)(null),[d,p]=(0,r.useState)(!1),[f,m]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),x=e=>{let t=u.current;if(!t)return;let r="rtl"===getComputedStyle(t).direction;t.scrollBy({left:(r?-e:e)*480,behavior:"smooth"})};return((0,r.useEffect)(()=>{let e=u.current;if(!e)return void p(!1);let t=()=>{let t=Math.abs(e.scrollLeft),r=e.scrollWidth-e.clientWidth;m(t>1),g(t<r-1)},r=()=>{p(e.scrollWidth>e.clientWidth+1),t()};r();let n=new ResizeObserver(r);return n.observe(e),e.addEventListener("scroll",t,{passive:!0}),()=>{n.disconnect(),e.removeEventListener("scroll",t)}},[i]),l)?(0,t.jsx)("div",{className:"flex gap-2 p-1 overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:Array.from({length:10}).map((e,r)=>(0,t.jsx)("div",{className:"shrink-0 animate-pulse rounded-full bg-[#F0F0F0]",style:{width:c,height:c}},r))}):i&&(null!=(a=null==i?void 0:i.length)?a:0)!==0?(0,t.jsxs)("div",{className:"group relative",children:[(0,t.jsx)("div",{ref:u,className:"flex gap-2 overflow-x-auto scroll-smooth p-1 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:i.map(e=>(0,t.jsx)(s.default,{store:e,size:c},e.id))}),d&&f&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 start-0 block w-10 bg-gradient-to-r from-white to-transparent rtl:bg-gradient-to-l lg:w-16"}),(0,t.jsx)("button",{type:"button",onClick:()=>x(-1),"aria-label":"Scroll stores back",className:"absolute start-2 top-1/2 flex h-9 w-9 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-white text-[#6B6B6B] shadow-md hover:bg-[#F5F5F7]",children:(0,t.jsx)(n.ChevronLeftIcon,{size:16})})]}),d&&h&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 end-0 block w-10 bg-gradient-to-l from-white to-transparent rtl:bg-gradient-to-r lg:w-16"}),(0,t.jsx)("button",{type:"button",onClick:()=>x(1),"aria-label":"Scroll stores forward",className:"absolute end-2 top-1/2 flex h-9 w-9 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-[#FF7F38] text-white shadow-md hover:bg-[#FF6916]",children:(0,t.jsx)(n.ChevronRightIcon,{size:16})})]})]}):null}},502588,e=>{e.v(t=>Promise.all(["static/chunks/01b49192f946a149.js"].map(t=>e.l(t))).then(()=>t(469731)))},43016,e=>{e.v(t=>Promise.all(["static/chunks/55cb49723479cd7b.js"].map(t=>e.l(t))).then(()=>t(583918)))}]);

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.