PageSourceSearch

https://arab-detroit.com/static/js/3575.2fd79fc7.chunk.js

js arab-detroit.com collected 2026-10-02 01:23:41 UTC 30,151 bytes, 3 lines download raw bytes

1/*! For license information please see 3575.2fd79fc7.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkgorgia_website=self.webpackChunkgorgia_website||[]).push([[3575,6217,7951,184],{353:(e,t,o)=>{o.d(t,{A:()=>s});o(5043);const a="buttonOne_buttonOne__bUoKX",r="buttonOne_buttonOne_lg__llGHz",n="buttonOne_buttonOne_sl__dHsP0",i="buttonOne_buttonOne_text__qQJ4W";var l=o(579);const s=function(e){return(0,l.jsx)("button",{className:a,onClick:()=>e.resetFilter(),children:(0,l.jsxs)("span",{className:r,children:[(0,l.jsx)("span",{className:n}),(0,l.jsx)("span",{className:i,children:e.children})]})})}},7951:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});const a={categoryContainerDivAbout:"bannerTwo_categoryContainerDivAbout__xdP1N",categoryImage:"bannerTwo_categoryImage__WGHOQ",categoryImageFilter:"bannerTwo_categoryImageFilter__nVN70",imgCate:"bannerTwo_imgCate__TwOnS",imgCatAr:"bannerTwo_imgCatAr__Z4ZjP",categoryContainer:"bannerTwo_categoryContainer__4-SHk",categoryContainerDiv:"bannerTwo_categoryContainerDiv__nqONs",categoryContainerDivAr:"bannerTwo_categoryContainerDivAr__mfiXK",categoryHeaderText:"bannerTwo_categoryHeaderText__2Sff2",bannerText:"bannerTwo_bannerText__rcIcT",cityDiv:"bannerTwo_cityDiv__J8koK",categoryContainerDivAboutMobile:"bannerTwo_categoryContainerDivAboutMobile__rCsyU"};var r=o(3526),n=o(3216),i=o(5475),l=o(4117),s=o(9634),c=o(4272),d=o(579);const u=function(e){var t;let{bannerUrl:o}=e;const u=(0,n.zy)().pathname,{id:p}=(0,n.g)(),[g,_]=(0,l.Bd)(),[v]=(0,r.A)("".concat(o)),m=()=>{switch(u){case"/Category/0":case"/Jobs/Job":case"/Jobs/Rent":case"/Blog":default:return"";case"/About":return g("about us");case"/User-Guide":return g("User Guide");case"/Our-Service":return g("Our Services")}};return(0,d.jsx)("div",{className:"".concat(a.categoryContainer," "),children:null===v||void 0===v||null===(t=v.data)||void 0===t?void 0:t.map(((e,t)=>(0,d.jsx)(i.N_,{to:"".concat(c.w).concat(e.url),children:(0,d.jsxs)("div",{className:"en"===_.language?a.categoryContainerDiv:a.categoryContainerDivAr,children:[(0,d.jsx)(s.LazyLoadImage,{src:null===e||void 0===e?void 0:e.image,alt:"ad",className:"\n                  ".concat("/Blog"===u||u==="/Show-User-Guide/".concat(p)?a.categoryImage:a.categoryImageFilter,"\n                ")}),(0,d.jsx)("div",{className:"/Blog"===u?a.categoryHeaderHidden:"/Jobs/Job"===u||"/Jobs/Rent"===u?a.categoryHeaderTextJobRent:a.categoryHeaderText,children:(0,d.jsx)("p",{children:m()})})]})},t)))})}},184:(e,t,o)=>{o.r(t),o.d(t,{default:()=>s});var a=o(5043),r=o(8840),n=o(4117),i=o(7702),l=o(579);const s=function(e){let{setOpenMobileCategory:t,token:o}=e;const[s]=(0,n.Bd)(),[c,d]=(0,a.useState)(!1),[u,p]=(0,a.useState)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:r.A.mainButtonsDiv,children:(0,l.jsx)("button",{onClick:()=>t(!0),className:"mt-3 ".concat(r.A.addProductBtn," ").concat(r.A.mobileAddProductBtn),children:s("Menu Category")})}),c&&(0,l.jsx)(i.default,{type:"warning",message:s("Please login first."),showAlert:c,setShowAlert:d,time:"5000",count:u,setCount:p})]})}},1547:(e,t,o)=>{o.r(t),o.d(t,{default:()=>M});var a=o(5043),r=o(8840),n=o(3526);const i={wrapper:"prodyctCardSaved_wrapper__LbqIO",productImg:"prodyctCardSaved_productImg__60sxB",flexClass:"prodyctCardSaved_flexClass__BK8Nq",favIconColor:"prodyctCardSaved_favIconColor__JMcxL",productInfo:"prodyctCardSaved_productInfo__NtBYm",productInfoBlog:"prodyctCardSaved_productInfoBlog__-cC8x",productText:"prodyctCardSaved_productText__OlSCw",productPriceBtn:"prodyctCardSaved_productPriceBtn__52Dkh",productDate:"prodyctCardSaved_productDate__Q7pi3",productPrice:"prodyctCardSaved_productPrice__-l91+",deleteProductEn:"prodyctCardSaved_deleteProductEn__9Lp6n",waitingApproval:"prodyctCardSaved_waitingApproval__Ubjk4",waitingApprovalAr:"prodyctCardSaved_waitingApprovalAr__XNRcV",deleteProductAr:"prodyctCardSaved_deleteProductAr__Vcvel",approvalDiv:"prodyctCardSaved_approvalDiv__G0rsA",deleteIcon:"prodyctCardSaved_deleteIcon__l7Jdi",published:"prodyctCardSaved_published__PKu96",enProductPriceBtn:"prodyctCardSaved_enProductPriceBtn__3HdXN",arProductPriceBtn:"prodyctCardSaved_arProductPriceBtn__hZowW",deleteProduct:"prodyctCardSaved_deleteProduct__RYM4n",trashContainer:"prodyctCardSaved_trashContainer__7xvfx",proudctMarketPlace:"prodyctCardSaved_proudctMarketPlace__9GnDz",myProductPost:"prodyctCardSaved_myProductPost__xnhQO",myProductPostAr:"prodyctCardSaved_myProductPostAr__EBkCO"};var l=o(5475),s=o(4117),c=o(9634),d=o(3216),u=o(8102),p=o(6566),g=o(7702),_=o(9456),v=o(9372),m=o(4272),h=o(579);const f=function(e){let{data:t,isMyPost:o,baseUrl:r,type:n}=e;const[f,y]=(0,s.Bd)(),[b,C]=(0,a.useState)(!1),[x,S]=(0,a.useState)(!1),j=(0,_.wA)(),P=localStorage.getItem("arab_user_token"),[w,I]=(0,a.useState)(null===t||void 0===t?void 0:t.save_job);let A=w?"fas fa-bookmark":"far fa-bookmark";
2const T=(0,d.zy)().pathname,[N,D]=(0,a.useState)(4);let k;k="market"===n?"/Show-Product":"/show-blog",(0,a.useEffect)((()=>{t.saved?I(!0):I(!1)}),[t.saved]);let F=new FormData;F.append("id",null===t||void 0===t?void 0:t.id);const[B]=(0,p.A)("favorite/market",F,b);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{id:t.id,className:i.flexClass,children:[(0,h.jsx)(l.N_,{to:"".concat(m.w).concat(k,"/").concat(t.slug,"/").concat(null===t||void 0===t?void 0:t.id),className:i.wrapper,children:(0,h.jsx)("div",{className:i.productImg,children:(0,h.jsx)(c.LazyLoadImage,{className:"en"===y.language?i.enImgBorder:i.arImgBorder,src:t.image,alt:"productImage"})})}),(0,h.jsxs)("div",{className:i.productInfo,children:[(0,h.jsxs)("div",{className:i.productText,children:[(0,h.jsxs)("div",{className:i.trashContainer,children:[(0,h.jsx)("h1",{children:t.title}),null!==t&&void 0!==t&&t.is_user_post?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)("i",{className:"".concat(A," ").concat(i.favIconColor),onClick:()=>{P?(I(!w),C(!0),j((0,v.a3)(null)),setTimeout((()=>{C(!1)}),100)):(S(!0),D(4))}})]}),(0,h.jsxs)("h2",{children:[t.main_category_name," "," > "," ",t.category_name]}),(0,h.jsx)("p",{children:(0,u.Ay)(t.description)})]}),(0,h.jsxs)("div",{className:"".concat(T.includes("/my-product")?"en"===y.language?i.myProductPost:i.myProductPostAr:"en"===y.language?i.enProductPriceBtn:i.arProductPriceBtn," ").concat(i.productPriceBtn),children:[(0,h.jsxs)("p",{className:i.productPrice,children:[(0,h.jsx)("span",{children:t.price}),"blog"===n?"":"$"]}),(0,h.jsx)("p",{className:i.productDate,children:t.created_at})]})]}),o&&(0,h.jsx)("div",{className:"row ".concat("en"===y.language?i.deleteProductEn:i.deleteProductAr),children:(0,h.jsx)("div",{className:i.approvalDiv,children:(0,h.jsx)("p",{children:" "})})})]}),x&&(0,h.jsx)(g.default,{type:"warning",message:"Please login first.",showAlert:x,setShowAlert:S,count:N,setCount:D})]})};var y=o(1572),b=o(7367);const C=function(e){let{categoryData:t,categoryState:o,setCategoryState:n,token:i}=e;const[l]=(0,s.Bd)(),c=(0,_.wA)(),u=(0,d.Zp)(),[p,v]=(0,a.useState)(!1),[m,C]=(0,a.useState)(),x=e=>{"main"===e?(n({...o,activeFilterTitle:"",mainId:"",activeSubFilterTitle:"",subId:""}),c((0,b.eV)("")),c((0,b.Au)("")),c((0,b.XQ)("")),c((0,b.tT)("")),localStorage.removeItem("mainCategoryId"),localStorage.removeItem("subCategoryId"),localStorage.removeItem("mainCategoryTitle"),localStorage.removeItem("subCategoryTitle"),u("/market-place")):"sub"===e&&(n({...o,activeSubFilterTitle:"",subId:""}),c((0,b.Au)("")),c((0,b.tT)("")),localStorage.removeItem("subCategoryId"),localStorage.removeItem("subCategoryTitle"),u("/market-place/subCategory"))};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:r.A.addProductBtnDiv,children:[(0,h.jsxs)("div",{className:"row ".concat(y.A.smallTitlesPlace),children:[o.activeFilterTitle&&(0,h.jsxs)("h3",{className:y.A.filterResult,children:[o.activeFilterTitle," ",(0,h.jsx)("i",{className:"far fa-times-circle",onClick:()=>x("main")})]}),(0,h.jsx)("h3",{className:"".concat(y.A.filterResult," ").concat(y.A.arrowFilter),children:" > "}),o.activeSubFilterTitle&&(0,h.jsxs)("h3",{className:y.A.filterResult,children:[" ",o.activeSubFilterTitle," ",(0,h.jsx)("i",{className:"far fa-times-circle",onClick:()=>x("sub")})]})]}),(0,h.jsx)("div",{onClick:()=>{i?u("/market-place/new-product"):(v(!0),C(4))},className:"mt-3 ".concat(r.A.addProductBtn," ").concat(r.A.webAddProductBtn),children:l("Post your product")})]}),(0,h.jsx)("div",{className:"row ",children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,h.jsx)(f,{isFavorite:e.favorites,data:e,type:"market"},t)))}),p&&(0,h.jsx)(g.default,{type:"warning",message:l("Please login first."),showAlert:p,setShowAlert:v,time:"5000",count:m,setCount:C})]})},x="pagination_pagination__JwJUA",S="pagination_paginationBtn__CNisL",j="pagination_activeLi__4b81Z",P=e=>{let{totalPosts:t,postsPerPage:o,setCurrentPage:a,currentPage:r,previousPage:n,nextPage:i,setActiveIndex:l,activeIndex:s,scrollPagination:c}=e,d=[];for(let u=1;u<=Math.ceil(t/o);u++)d.push(u);return(0,h.jsxs)("div",{className:x,children:[(0,h.jsxs)("li",{onClick:()=>{n(),c()},children:[(0,h.jsx)("i",{className:"fas fa-chevron-left"})," ","Previous"]}),d.map(((e,t)=>(0,h.jsx)("button",{className:"".concat(S," ").concat(s===t?j:""),onClick:()=>{a(e),l(t),c()},children:e},t))),(0,h.jsxs)("li",{onClick:()=>{i(),c()},children:["Next "," ",(0,h.jsx)("i",{className:"fas fa-chevron-right"})]})]})};var w=o(7951),I=o(149);const A={mainFilterDiv:"productFilter_mainFilterDiv__IwN6l",productDiv:"productFilter_productDiv__J1aex",filterTitle:"productFilter_filterTitle__FJ0D1",filterContainer:"productFilter_filterContainer__vmAIn",productFilterTitle:"productFilter_productFilterTitle__VrErJ",mainDoubleElementDiv:"productFilter_mainDoubleElementDiv__WA6ct",searchableSelectDouble:"productFilter_searchableSelectDouble__ii9Bk",filterInputDouble:"productFilter_filterInputDouble__LO0Vd"};var T=o(5038);const N=function(e){let{title:t,name:o,nameTo:a,subData:r,filterChange:n,fields_num:i,filter_type:l,filters:c}=e;const[d]=(0,s.Bd)(),u=r.map((e=>({value:e.value,label:e.name,name:o})));return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("p",{className:A.productFilterTitle,children:t}),"1"===i?(0,h.jsx)("div",{className:A.searchableSelect,children:"1"===l?(0,h.jsx)(T.Ay,{options:u,onChange:n,name:o,isSearchable:!0,placeholder:d("Select...")}):(0,h.jsx)("input",{className:A.filterInputDouble,onChange:e=>n(e,2),type:"text",name:o,value:c.name,placeholder:"".concat(t)})}):(0,h.jsxs)("div",{className:A.mainDoubleElementDiv,children:[(0,h.jsx)("div",{className:"".concat(A.searchableSelectDouble),children:"1"===l?(0,h.jsx)(T.Ay,{options:u,onChange:n,isSearchable:!0,name:o,placeholder:d("Select...")}):(0,h.jsx)("input",{className:A.filterInputDouble,onChange:e=>n(e,2),type:"text",name:o,value:c.name,placeholder:"".concat(t," ").concat(d("from"))})}),(0,h.jsx)("div",{className:"".concat(A.searchableSelectDouble," "),children:"1"===l?(0,h.jsx)(T.Ay,{options:u,onChange:n,name:o,isSearchable:!0,placeholder:d("Select...")}):(0,h.jsx)("input",{className:A.filterInputDouble,onChange:e=>n(e,2),type:"text",name:a,value:c.nameTo,placeholder:"".concat(t," ").concat(d("to"))})})]}),(0,h.jsx)("hr",{})]})};var D=o(353);const k=function(e){var t;let{filterChange:o,filters:a,mobileFilter:r,setMobileFilter:i,resetFilter:l}=e;const[c]=(0,s.Bd)(),d=localStorage.getItem("mainCategoryId")?localStorage.getItem("mainCategoryId"):"",u=localStorage.getItem("subCategoryId")?localStorage.getItem("subCategoryId"):"",p=localStorage.getItem("mainCategoryTitle")?localStorage.getItem("mainCategoryTitle"):"";let g="filter-market/all?main_id=".concat(d,"&sub_id=").concat(u);const[_]=(0,n.A)(g);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:A.mainFilterDiv,children:[(0,h.jsxs)("div",{className:A.filterContainer,children:[(0,h.jsx)("h1",{className:A.filterTitle,children:p}),(0,h.jsx)("button",{onClick:()=>i(!r),children:"filter"})]}),null===_||void 0===_||null===(t=_.data)||void 0===t?void 0:t.map(((e,t)=>(0,h.jsx)("div",{className:A.productDiv,children:(0,h.jsx)(N,{index:t,title:e.title,id:e.id,subData:e.subtitle,filterChange:o,name:e.name,nameTo:e.name_to,fields_num:e.fields_num,filter_type:e.type,filters:a})},t))),(0,h.jsx)(D.A,{resetFilter:l,children:c("Reset Filter")})]})})};var F=o(184),B=o(374);const M=function(){var e,t,o,i,l,c;const[d]=(0,s.Bd)(),u=localStorage.getItem("arab_user_token"),[p,g]=(0,a.useState)(1),[_,v]=(0,a.useState)(12),m=localStorage.getItem("mainCategoryId")?localStorage.getItem("mainCategoryId"):"",f=localStorage.getItem("subCategoryId")?localStorage.getItem("subCategoryId"):"",y=localStorage.getItem("mainCategoryTitle")?localStorage.getItem("mainCategoryTitle"):"",b=localStorage.getItem("subCategoryTitle")?localStorage.getItem("subCategoryTitle"):"",[x,S]=(0,a.useState)(!1),[j,A]=(0,a.useState)({sort_by:"",year_from:"",year_to:"",color:"",model_id:"",place:"",condition:"",looking:"",price_from:"",price_to:"",order_by:""}),[T,N]=(0,a.useState)(0),[D,M]=(0,a.useState)({mainId:m,subId:f,activeFilterTitle:y,activeSubFilterTitle:b});let E="filter-market?main_id=".concat(D.mainId,"&sub_id=").concat(D.subId,"&page=").concat(p,"&limit_by=").concat(_,"&model_id=").concat(j.model_id,"&sort_by=").concat(j.sort_by,"&condition=").concat(j.condition,"&looking=").concat(j.looking,"&place=").concat(j.place,"&year_from=").concat(j.year_from,"&year_to=").concat(j.year_to,"&color=").concat(j.color,"&price_from=").concat(j.price_from,"&price_to=").concat(j.price_to,"&order_by=").concat(j.order_by);const L=()=>{A({sort_by:"",year_from:"",year_to:"",color:"",model_id:"",place:"",condition:"",looking:"",price_from:"",price_to:"",order_by:""})};(0,a.useEffect)((()=>{E="filter-market?main_id=".concat(D.mainId,"&sub_id=").concat(D.subId,"&page=").concat(p,"&limit_by=").concat(_,"&model_id=").concat(j.model_id,"&sort_by=").concat(j.sort_by,"&condition=").concat(j.condition,"&looking=").concat(j.looking,"&place=").concat(j.place,"&year_from=").concat(j.year_from,"&year_to=").concat(j.year_to,"&color=").concat(j.color,"&price_from=").concat(j.price_from,"&price_to=").concat(j.price_to)}),[j]);const[O]=(0,n.A)(E,"false"),R=null===O||void 0===O?void 0:O.data,U=null===O||void 0===O?void 0:O.total,[Y,H]=(0,a.useState)(null),[J]=(0,n.A)("year"),[X]=(0,n.A)("color"),[z]=(0,n.A)("cities"),[V]=(0,n.A)("product-model?sub_id=".concat(f)),K=()=>{},q=(e,t)=>
2{if(2===t){const{name:t,value:o}=e.target;A({...j,[t]:o})}else A({...j,[e.name]:e.value})},[G,W]=(0,a.useState)(!1);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:r.A.bannerMarketPlace,children:[(0,h.jsx)(w.default,{bannerUrl:"sliders/page?page=App\\Models\\MarketPlacePage"}),(0,h.jsx)(F.default,{setOpenMobileCategory:W})]}),(0,h.jsx)(I.default,{openMobileCategory:G,setOpenMobileCategory:W,categoryState:D,setCategoryState:M,token:u}),(0,h.jsx)(B.A,{className:"scroll-container",children:(0,h.jsx)("div",{className:r.A.sublistCatge,children:null===(e=V.data)||void 0===e?void 0:e.map((e=>(0,h.jsx)("li",{className:(null===e||void 0===e?void 0:e.id)===Y?r.A.activeLi:"",onClick:()=>{return t=e.id,H(t),void A({...j,model_id:t});var t},children:null===e||void 0===e?void 0:e.name},null===e||void 0===e?void 0:e.id)))})}),(0,h.jsxs)("div",{className:"row ".concat(r.A.pageContainer),children:[(0,h.jsx)("div",{className:"col-sm-1 col-md-3 col-lg-3 ".concat(r.A.filterHide),children:(0,h.jsx)(k,{resetFilter:L,setMobileFilter:S,mobileFilter:x,filterChange:q,filters:j})}),(0,h.jsxs)("div",{className:"col-sm-12 col-md-9 col-lg-9 ".concat(r.A.pageRow),children:[(0,h.jsx)("div",{className:r.A.addProductBtnDiv,children:(0,h.jsx)("button",{onClick:()=>S(!x),className:"col-lg-1 col-md-1 col-sm-1 ".concat(r.A.filterShowProduct),children:(0,h.jsx)("i",{className:"fas fa-filter"})})}),(0,h.jsx)("div",{className:"col-sm-12 mt-3 ".concat(r.A.filterShow),children:x&&(0,h.jsx)(k,{resetFilter:L,setMobileFilter:S,mobileFilter:x,filterChange:q,filters:j})}),(0,h.jsxs)("div",{hidden:!0,className:r.A.filterDiv,children:[(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[d("Sort By"),": "]}),(0,h.jsxs)("select",{name:"sort_by",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("select")}),(0,h.jsx)("option",{value:"price",children:d("Price")}),(0,h.jsx)("option",{value:"year",children:d("Year")}),(0,h.jsx)("option",{value:"title",children:d("name")}),(0,h.jsx)("option",{value:"condition",children:d("Condition")})]})]}),(0,h.jsx)("div",{className:r.A.filterSelect,children:(0,h.jsxs)("select",{name:"year_from",onChange:q,children:[(0,h.jsxs)("span",{children:[d("Year from"),": "]}),(0,h.jsx)("option",{value:"",children:d("All")}),null===J||void 0===J||null===(t=J.data)||void 0===t?void 0:t.map(((e,t)=>(0,h.jsx)("option",{value:e.id,children:e.name},t)))]})}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[" ",d("Year to"),": "]}),(0,h.jsxs)("select",{name:"year_to",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),null===J||void 0===J||null===(o=J.data)||void 0===o?void 0:o.map(((e,t)=>(0,h.jsx)("option",{value:e.id,children:e.name},t)))]})]}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[d("Condition"),": "]}),(0,h.jsxs)("select",{name:"condition",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),(0,h.jsx)("option",{value:"new",children:d("New")}),(0,h.jsx)("option",{value:"used",children:d("Used")})]})]}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[d("Post type"),": "]}),(0,h.jsxs)("select",{name:"looking",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),(0,h.jsx)("option",{value:"sell",children:d("For sale")}),(0,h.jsx)("option",{value:"buy",children:d("For buy")})]})]}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[" ",d("Color"),": "]}),(0,h.jsxs)("select",{name:"color",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),null===X||void 0===X||null===(i=X.data)||void 0===i?void 0:i.map(((e,t)=>(0,h.jsx)("option",{value:e.id,children:e.name},t)))]})]}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[" ",d("Model"),": "]}),(0,h.jsxs)("select",{name:"model",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),null===V||void 0===V||null===(l=V.data)||void 0===l?void 0:l.map(((e,t)=>(0,h.jsx)("option",{value:e.id,children:e.name},t)))]})]}),(0,h.jsxs)("div",{className:r.A.filterSelect,children:[(0,h.jsxs)("span",{children:[" ",d("City"),": "]}),(0,h.jsxs)("select",{name:"place",onChange:q,children:[(0,h.jsx)("option",{value:"",children:d("All")}),null===z||void 0===z||null===(c=z.data)||void 0===c?void 0:c.map(((e,t)=>(0,h.jsx)("option",{value:e.city,children:e.city},t)))]})]})]}),(0,h.jsx)(C,{categoryData:R,total:U,setActiveIndex:N,activeIndex:T,scrollPagination:K,categoryState:D,setCategoryState:M,token:u})]})]}
2),(0,h.jsx)("div",{className:r.A.PaginationBackground,children:_<U&&(0,h.jsx)(P,{totalPosts:U,postsPerPage:_,setCurrentPage:g,previousPage:()=>{p>1&&(g(p-1),N(T-1))},nextPage:()=>{U/_>T+1&&(g(p+1),N(T+1))},currentPage:p,setActiveIndex:N,activeIndex:T,scrollPagination:K})})]})}},7367:(e,t,o)=>{o.d(t,{Au:()=>s,XQ:()=>c,eV:()=>l,tT:()=>d});var a=o(2216);const r={categoryId:localStorage.getItem("mainCategoryId")?localStorage.getItem("mainCategoryId"):"",subCategoryId:localStorage.getItem("subCategoryId")?localStorage.getItem("subCategoryId"):"",categoryTitle:localStorage.getItem("mainCategoryTitle")?localStorage.getItem("mainCategoryTitle"):"",subCategoryTitle:localStorage.getItem("subCategoryTitle")?localStorage.getItem("subCategoryTitle"):"",isLoading:!0},n=(0,a.Z0)({name:"id",initialState:r,reducers:{setCategoryId:(e,t)=>{e.categoryId=t.payload},setSubCategoryId:(e,t)=>{e.subCategoryId=t.payload},setCategoryTitle:(e,t)=>{e.categoryTitle=t.payload},setSubCategoryTitle:(e,t)=>{e.subCategoryTitle=t.payload},setLoading:(e,t)=>
2{e.isLoading=t.payload}}}),{setLoading:i,setCategoryId:l,setSubCategoryId:s,setCategoryTitle:c,setSubCategoryTitle:d}=n.actions;(0,a.U1)({reducer:{category:n.reducer}})},374:(e,t,o)=>{o.d(t,{A:()=>g});var a,r,n=o(5043),i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},l=(r=a={path:void 0,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&a.path)}},a.exports,function(){var e={}.hasOwnProperty;function t(){for(var o=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var n=typeof r;if("string"===n||"number"===n)o.push(r);else if(Array.isArray(r)&&r.length){var i=t.apply(null,r);i&&o.push(i)}else if("object"===n)for(var l in r)e.call(r,l)&&r[l]&&o.push(l)}}return o.join(" ")}r.exports?(t.default=t,r.exports=t):window.classNames=t}(),a.exports);function s(e,t,o){var a,r,n,i,l;function s(){var c=Date.now()-i;c<t&&c>=0?a=setTimeout(s,t-c):(a=null,o||(l=e.apply(n,r),n=r=null))}null==t&&(t=100);var c=function(){n=this,r=arguments,i=Date.now();var c=o&&!a;return a||(a=setTimeout(s,t)),c&&(l=e.apply(n,r),n=r=null),l};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.flush=function(){a&&(l=e.apply(n,r),n=r=null,clearTimeout(a),a=null)},c}s.debounce=s;var c=s;!function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===o&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n  overflow: auto; }\n  .indiana-scroll-container--dragging {\n    scroll-behavior: auto !important; }\n    .indiana-scroll-container--dragging > * {\n      pointer-events: none;\n      cursor: -webkit-grab;\n      cursor: grab; }\n  .indiana-scroll-container--hide-scrollbars {\n    overflow: hidden;\n    overflow: -moz-scrollbars-none;\n    -ms-overflow-style: none;\n    scrollbar-width: none; }\n    .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n      display: none !important;\n      height: 0 !important;\n      width: 0 !important;\n      background: transparent !important;\n      -webkit-appearance: none !important; }\n  .indiana-scroll-container--native-scroll {\n    overflow: auto; }\n\n.indiana-dragging {\n  cursor: -webkit-grab;\n  cursor: grab; }\n");var d,u=(d="indiana-scroll-container",function(e,t){if(!e)return d;var o;"string"==typeof e?o=e:t=e;var a=d;return o&&(a+="__"+o),a+(t?Object.keys(t).reduce((function(e,o){var r=t[o];return r&&(e+=" "+("boolean"==typeof r?a+"--"+o:a+"--"+o+"_"+r)),e}),""):"")}),p=function(e){function t(t){var o=e.call(this,t)||this;return o.onEndScroll=function(){o.scrolling=!1,!o.pressed&&o.started&&o.processEnd()},o.onScroll=function(e){var t=o.container.current;t.scrollLeft===o.scrollLeft&&t.scrollTop===o.scrollTop||(o.scrolling=!0,o.processScroll(e),o.onEndScroll())},o.onTouchStart=function(e){var t=o.props.nativeMobileScroll;if(o.isDraggable(e.target))if(o.internal=!0,t&&o.scrolling)o.pressed=!0;else{var a=e.touches[0];o.processClick(e,a.clientX,a.clientY),!t&&o.props.stopPropagation&&e.stopPropagation()}},o.onTouchEnd=function(e){var t=o.props.nativeMobileScroll;o.pressed&&(!o.started||o.scrolling&&t?o.pressed=!1:o.processEnd(),o.forceUpdate())},o.onTouchMove=function(e){var t=o.props.nativeMobileScroll;if(o.pressed&&(!t||!o.isMobile)){var a=e.touches[0];a&&o.processMove(e,a.clientX,a.clientY),e.preventDefault(),o.props.stopPropagation&&e.stopPropagation()}},o.onMouseDown=function(e){o.isDraggable(e.target)&&o.isScrollable()&&(o.internal=!0,-1!==o.props.buttons.indexOf(e.button)&&(o.processClick(e,e.clientX,e.clientY),e.preventDefault(),o.props.stopPropagation&&e.stopPropagation()))},o.onMouseMove=function(e){o.pressed&&(o.processMove(e,e.clientX,e.clientY),e.preventDefault(),o.props.stopPropagation&&e.stopPropagation())},o.onMouseUp=function(e){o.pressed&&(o.started?o.processEnd():(o.internal=!1,o.pressed=!1,o.forceUpdate(),o.props.onClick&&o.props.onClick(e)),e.preventDefault(),o.props.stopPropagation&&e.stopPropagation())},o.container=n.createRef(),o.onEndScroll=c(o.onEndScroll,300),o.scrolling=!1,o.started=!1,o.pressed=!1,o.internal=!1,o.getRef=o.getRef.bind(o),o}return function(e,t){function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(t,e),t.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.prototype.isDraggable=function(e){var t=this.props.ignoreElements;if(t){var o=e.closest(t);return null===o||o.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},t.prototype.processClick=function(e,t,o){var a=this.container.current;this.scrollLeft=a.scrollLeft,this.scrollTop=a.scrollTop,this.clientX=t,this.clientY=o,this.pressed=!0},t.prototype.processStart=function(e){void 0===e&&(e=!0);var t=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),t&&t({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(e){if(this.started){var t=this.props.onScroll;t&&t({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(e,t,o){var a=this.props,r=a.horizontal,n=a.vertical,i=a.activationDistance,l=a.onScroll,s=this.container.current;this.started?(r&&(s.scrollLeft-=t-this.clientX),n&&(s.scrollTop-=o-this.clientY),l&&l({external:!this.internal}),this.clientX=t,this.clientY=o,this.scrollLeft=s.scrollLeft,this.scrollTop=s.scrollTop):(r&&Math.abs(t-this.clientX)>i||n&&Math.abs(o-this.clientY)>i)&&(this.clientX=t,this.clientY=o,this.processStart())},t.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach((function(t){t&&("function"==typeof t?t(e):t.current=e)}))},t.prototype.render=function(){var e=this.props,t=e.children,o=e.draggingClassName,a=e.className,r=e.style,i=e.hideScrollbars,s=e.component;return n.createElement(s,{className:l(a,this.pressed&&o,u({dragging:this.pressed,"hide-scrollbars":i,"native-scroll":this.isMobile})),style:r,ref:this.getRef,onScroll:this.onScroll},t)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t}(n.PureComponent);const g=p},8840:(e,t,o)=>{o.d(t,{A:()=>a});const a={pageContainer:"filteredPage_pageContainer__vbVf8",filterHide:"filteredPage_filterHide__911wb",addProductBtnDiv:"filteredPage_addProductBtnDiv__8ic8V",circleRow:"filteredPage_circleRow__WtvkN",filterResult:"filteredPage_filterResult__ZzCYU",activeLi:"filteredPage_activeLi__K6ewP",sublistCatge:"filteredPage_sublistCatge__7KzoT",mainFilterDiv:"filteredPage_mainFilterDiv__8oOGr",filterTitle:"filteredPage_filterTitle__ic379",accordionDiv:"filteredPage_accordionDiv__TN38E",subFilterTitle:"filteredPage_subFilterTitle__j4TYh",filterShow:"filteredPage_filterShow__bKZBy",filterShowProduct:"filteredPage_filterShowProduct__cEQNc",filterColor:"filteredPage_filterColor__m4u0Y",activeFilter:"filteredPage_activeFilter__hgduY",categoryTitleFilter:"filteredPage_categoryTitleFilter__Im1G5",PaginationBackgroun
2d:"filteredPage_PaginationBackground__xY775",filterDiv:"filteredPage_filterDiv__tuPKR",filterSelect:"filteredPage_filterSelect__Mpw3S",bannerMarketPlace:"filteredPage_bannerMarketPlace__PAcDS",addProductBtn:"filteredPage_addProductBtn__MFCSv",mobileAddProductBtn:"filteredPage_mobileAddProductBtn__JO+qn",mainButtonsDiv:"filteredPage_mainButtonsDiv__gL2s+",webAddProductBtn:"filteredPage_webAddProductBtn__jffJ5",pageRow:"filteredPage_pageRow__s4inS"}},1572:(e,t,o)=>{o.d(t,{A:()=>a});const a={mainHouseCard:"housingCard_mainHouseCard__vDK6A",houseCardBody:"housingCard_houseCardBody__R+YDH",rentTypeTitle:"housingCard_rentTypeTitle__VDd7n",houseImage:"housingCard_houseImage__ogXK6",housingMainInfoBox:"housingCard_housingMainInfoBox__uMJbc",houseInfo:"housingCard_houseInfo__rdXPz",houseTitle:"housingCard_houseTitle__Iirqj",houseRooms:"housingCard_houseRooms__rV94r",locationParagraph:"housingCard_locationParagraph__ReL6D",actionDiv:"housingCard_actionDiv__Yqy2p",favIconColor:"housingCard_favIconColor__dSHzq",housePrice:"housingCard_housePrice__x0p-C",housingApprovedBox:"housingCard_housingApprovedBox__6TIWR",approvalDiv:"housingCard_approvalDiv__8GF23",waitingApproval:"housingCard_waitingApproval__TI9iV",published:"housingCard_published__B46iv",deleteIcon:"housingCard_deleteIcon__Va-tT",filterResult:"housingCard_filterResult__hZjLz",arrowFilter:"housingCard_arrowFilter__9kNg0",smallTitlesPlace:"housingCard_smallTitlesPlace__vfuU3",addProductBtnDiv:"housingCard_addProductBtnDiv__79F0-"}}}]);
3//# sourceMappingURL=3575.2fd79fc7.chunk.js.map

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.