PageSourceSearch

https://www.carasso-nadlan.co.il/_next/static/chunks/app/%5Blocale…?dpl=dpl_8v7dueHA3wnvgyoKNCbu22E6Bo3x

js carasso-nadlan.co.il collected 2026-09-26 09:37:57 UTC 35,933 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9158],{9879:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(95155),a=r(12115),n=r(66766),s=r(44116);function i(e){let{tags:t,className:r="",selectedTags:i,onTagClick:o,onTagRemove:c,horizontal:d=!1,scrollbarHide:u=!1}=e,[m,x]=(0,a.useState)(new Set),h=i||m,f=i?()=>{}:x;return(0,l.jsx)("div",{className:"flex gap-[1rem] ".concat(d?"overflow-x-auto "+(u?"scrollbar-hide":"")+" whitespace-nowrap":"flex-wrap"," ").concat(r),children:t.map((e,t)=>(0,l.jsxs)("span",{onClick:()=>{if(!h.has(e.tag)){let t=new Set(h);t.add(e.tag),f(t),o&&o(e)}},className:"flex justify-center items-center gap-[0.6rem] p-[0.7rem] leading-[105%] rounded-[0.7rem] text-[1.4rem] font-light transition-all flex-shrink-0 ".concat(h.has(e.tag)?"bg-[#3E5467] text-white cursor-default":"bg-[#EDEFF1] text-gray-600 cursor-pointer"),children:[e.tag,h.has(e.tag)&&(0,l.jsx)(n.default,{src:s.US,alt:"close",width:8,height:8,className:"ml-[0.5rem] cursor-pointer hover:opacity-80 filter brightness-0 invert",onClick:t=>{t.stopPropagation();let r=new Set(h);r.delete(e.tag),f(r),c&&c(e)}})]},t))})}},17652:(e,t,r)=>{"use strict";r.d(t,{c3:()=>n});var l=r(53385);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=a(0,l.c3);a(0,l.kc)},30981:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var l=r(35695),a=r(12115),n=r.t(a,2),s=r(53385),i=n["use".trim()],o=r(23225),c=r(46160),d=r(32850),u=r(95155),m=r(18986);function x(e){let{Link:t,config:r,getPathname:n,...x}=function(e,t){var r,n,s;let m={...r=t||{},localePrefix:"object"==typeof(s=r.localePrefix)?s:{mode:s||"always"},localeCookie:!!((n=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof n&&n},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},x=m.pathnames,h=(0,a.forwardRef)(function({href:t,locale:r,...l},a){let n,s;"object"==typeof t?(n=t.pathname,s=t.params):n=t;let d=(0,o._x)(t),h=e(),g=(0,o.yL)(h)?i(h):h,p=d?f({locale:r||g,href:null==x?n:{pathname:n,params:s},forcePrefix:null!=r||void 0}):n;return(0,u.jsx)(c.default,{ref:a,href:"object"==typeof t?{...t,pathname:p}:p,locale:r,localeCookie:m.localeCookie,...l})});function f(e){let t,{forcePrefix:r,href:l,locale:a}=e;return null==x?"object"==typeof l?(t=l.pathname,l.query&&(t+=(0,d.Zn)(l.query))):t=l:t=(0,d.FP)({locale:a,...(0,d.TK)(l),pathnames:m.pathnames}),(0,d.x3)(t,a,m,r)}function g(e){return function(t,...r){return e(f(t),...r)}}return{config:m,Link:h,redirect:g(l.redirect),permanentRedirect:g(l.permanentRedirect),getPathname:f}}(s.Ym,e);return{...x,Link:t,usePathname:function(){let e=function(e){let t=(0,l.usePathname)(),r=(0,s.Ym)();return(0,a.useMemo)(()=>{if(!t)return t;let l=t,a=(0,o.XP)(r,e.localePrefix);if((0,o.wO)(a,t))l=(0,o.MY)(t,a);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,o.bL)(r);(0,o.wO)(e,t)&&(l=(0,o.MY)(t,e))}return l},[e.localePrefix,r,t])}(r),t=(0,s.Ym)();return(0,a.useMemo)(()=>e&&r.pathnames?(0,d.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,l.useRouter)(),t=(0,s.Ym)(),i=(0,l.usePathname)();return(0,a.useMemo)(()=>{function l(e){return function(l,a){let{locale:s,...o}=a||{},c=[n({href:l,locale:s||t})];Object.keys(o).length>0&&c.push(o),e(...c),(0,m.A)(r.localeCookie,i,t,s)}}return{...e,push:l(e.push),replace:l(e.replace),prefetch:l(e.prefetch)}},[t,i,e])},getPathname:n}}},35652:(e,t,r)=>{Promise.resolve().then(r.bind(r,46096)),Promise.resolve().then(r.bind(r,57298)),Promise.resolve().then(r.bind(r,75103))},45915:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});let l={url:"".concat("https://cms.carasso-nadlan.co.il"),endpoints:{aboutUs:"/about-us",urbanRenewal:"/urban-renewal",homepage:"/homepage",brands:"/brands",megaMenu:"/mega-menu",posts:"/posts",post:"/post",footer:"/footer",careers:"/careers",careersLobby:"/careers-lobby"}}},46096:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var l=r(53385),a=r(95155);function n(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return(0,a.jsx)(l.Dk,{locale:t,...r})}},49813:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var l=r(95155),a=r(12115),n=r(41409),s=r(93219),i=r(98592),o=r(66766),c=r(60388);let d=e=>{var t,r;let{brand:d,isRTL:u,hasPreviewText:m=!0,fullWidth:x=!1}=e,[h,f]=(0,a.useState)(!1),g=d.backgroundImage||(null==(t=d.hero)?void 0:t.backgroundImage),p=(null==g?void 0:g.url)?(0,n.Z)(g):"/fallback.jpg",v=d.image||(null==(r=d.about)?void 0:r.image),b=(null==v?void 0:v.url)?(0,n.Z)(v):p;return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsxs)(c.N_,{href:"/brands/".concat(d.slug),className:"relative rounded-[20px] overflow-hidden w-full ".concat(x?"lg:max-w-none":"lg:max-w-[40.6rem]"," h-[43rem] cursor-pointer block"),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(".concat(p,")"),backgroundPosition:"center",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundColor:"lightgray",opacity:+!h}}),(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(".concat(b,")"),backgroundPosition:"center",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundColor:"lightgray",opacity:+!!h}}),(0,l.jsxs)("div",{className:"sr-only",children:[(0,l.jsx)("img",{src:p,alt:"","aria-hidden":"true"}
1),b!==p&&(0,l.jsx)("img",{src:b,alt:"","aria-hidden":"true"})]}),(0,l.jsx)("div",{className:"relative p-[3rem] flex flex-col justify-between h-full z-10",children:(0,l.jsx)("div",{className:" text-[1.4rem]",children:(0,l.jsx)(s.A,{text:d.brandBuildingStatus,icon:(0,l.jsx)(o.default,{src:(0,i.h)(d.brandBuildingStatus),width:12,height:12,alt:d.brandBuildingStatus||"",style:{filter:"brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0) contrast(100%)"}}),iconPosition:"left",style:{background:"rgba(255, 255, 255, 0.85)"},className:"rounded-full text-black"})})})]}),(0,l.jsx)("div",{className:" flex flex-col w-full text-black z-10 ".concat(u?"text-right":"text-left"),children:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("div",{className:"font-bold text-[1.6rem] pt-[2rem] md:pt-[3rem]",children:d.locationText}),(0,l.jsx)("div",{className:"text-[3.8rem] md:text-[3.8rem] lg:text-[4.2rem] font-light break-words leading-[120%] min-h-[6rem] tracking-wide",children:d.name}),(0,l.jsx)("div",{className:"text-[1.6rem] font-light flex gap-[1.5rem] items-center transition-opacity duration-300",children:m&&(0,l.jsx)("div",{className:"text-[1.6rem] font-light",children:d.previewText})})]})})]})}},49984:(e,t,r)=>{"use strict";function l(e){return e}r.d(t,{A:()=>l})},53440:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(95155),a=r(60388),n=r(59434),s=r(68932);function i(e){let{href:t,text:r,isRTL:i=!0,className:o,onClick:c}=e,d=(0,n.cn)("inline-flex items-center gap-[1.2rem] font-semibold text-[1.8rem] leading-[140%]  border-b border-transparent hover:border-current transition-colors",i?"flex-row-reverse text-right":"flex-row-reverse text-left",o);return t?(0,l.jsxs)(a.N_,{href:t,className:d,onClick:c,children:[(0,l.jsx)(s.A,{rotate:180*!i}),(0,l.jsx)("span",{children:r})]}):(0,l.jsxs)("button",{type:"button",onClick:c,className:d,children:[(0,l.jsx)(s.A,{rotate:180*!i}),(0,l.jsx)("span",{children:r})]})}},57298:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var l=r(95155),a=r(12115),n=r(66766),s=r(93219),i=r(48009),o=r(78895);let c=function(){let e={href:[],text:[],call:[]},t="voicenter_did_tracer_did",r="voicenter_did_tracer_did_exp",l="voicenter_did_trace_worker_query_params",a={};function n(){return!!a.actions.href&&!!a.actions.href.length}function s(){return!!a.actions.text&&!!a.actions.text.length}function i(){return!!a.actions.call&&!!a.actions.call.length}function o(e,t){e.forEach(function(e){try{[...document.querySelectorAll(e)].forEach(function(e){t(e)})}catch(e){console.error("[VOICENTER_DID_TRACKER]:",e)}})}function c(){return localStorage.getItem(t)}function d(){window.location.href="tel:".concat(c())}function u(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!e&&c()&&(localStorage.getItem(r)||0)>new Date().getTime()?Promise.resolve():(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(function(e){return e.json()})}catch(e){console.error("[VOICENTER_DID_TRACKER]:",e)}})("https://did.voicenter.co/didTracker/getDidForUser?token=".concat(a.token),a.visitorInfo).then(function(e){let l=e.did,n=60*e.didExpiryHours*6e4;localStorage.setItem(r,new Date().setTime(new Date().getTime()+n)),localStorage.setItem(t,l),window.voicenter_did_tracer_did=l,a.autoRefreshDID&&setTimeout(function(){u(!0).then(function(){m(),x(),h()})},n-5e3)})}function m(){n()&&o(a.actions.href,function(e){e.href="tel:".concat(c())})}function x(){s()&&o(a.actions.text,function(e){e.innerText=c()})}function h(){i()&&o(a.actions.call,function(e){e.addEventListener("click",function(){c()?d():u().then(d)})})}return{init:function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,d=!(arguments.length>3)||void 0===arguments[3]||arguments[3],f=!(arguments.length>4)||void 0===arguments[4]||arguments[4];if((a={token:t,visitorInfo:{...r,siteDomain:window.location.hostname,currentPage:window.location.href},actions:o,autoRefreshDID:d}).token||console.error("[VOICENTER_DID_TRACKER]: Token must be provided"),f){let e=localStorage.getItem(l),t=function(){let e={};for(let t of new URLSearchParams(window.location.search))e[t[0]]=t[1];return e}();e&&(e=JSON.parse(e),Object.assign(a.visitorInfo,e.visitorInfo)),Object.assign(a.visitorInfo,t),localStorage.removeItem(l),localStorage.setItem(l,JSON.stringify(a))}return n()||s()||i()?n()||s()?new Promise(function(e){u().then(function(){m(),x()}).then(function(){e(c())})}):(i()&&h(),Promise.resolve()):u().then(c)}}}();function d(e){let{className:t,icon:r,text:d,isRTL:u,allBrands:m,voiceCenterToken:x,phoneNumber:h,scrollToId:f}=e,[g,p]=(0,a.useState)(!1),[v,b]=(0,a.useState)(!1),[j,w]=(0,a.useState)(!0),N="";if((0,a.useEffect)(()=>{let e=document.getElementById("hero");if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;w(!t.isIntersecting)},{threshold:.1});return t.observe(e),()=>t.disconnect()},[]),!j)return null;let y=()=>{x&&setTimeout(()=>{try{c.init(x,{name:"User"},{call:[".call-me","#call-me"]})}catch(e){console.error("Error details:",e),h&&(window.location.href="tel:".concat(h))}},0)},k=()=>{p(!0),y()};return N="bg-carasso-red hover:bg-carasso-red"===t?"bg-carasso-red hover:bg-carasso-red px-[1.4rem] py-[1.3rem] gap-[-0.8rem]":"bg-[#2A2A2A] hover:bg-[#2A2A2A] px-[1.4rem] py-[1.3rem] gap-[-0.8rem]",(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:" hidden md:block fixed bottom-[4rem] z-50 ".concat(u?"left-[4rem]":"right-[4rem]"),children:(0,l.jsx)(s.A,{id:"call-us-button",className:t,icon:r?(0,l.jsx)(n.default,{src:r,width:18,height:15,alt:"phone-icon"}):null,text:d,onClick:k})}),(0,l.jsx)("div",{className:"fixed bottom-[4rem] z-50 ".concat(u?"left-[4rem]":"right-[4rem]"," md:hidden"),children:(0,l.jsx)(s.A,{id:"call-us-button",className:N,icon:r?(0,l.jsx)(n.default,{src:r,width:21,height:18,alt:"phone-icon"}):null,onClick:k})}),(0,l.jsx)(o.A,{isOpen:g,onClose:()=>p(!1),onContactFormClick:()=>
1{if(f){let e=document.getElementById(f);if(e){p(!1);let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}}else b(!0),p(!1)},isRTL:u,voiceCenterToken:x,phoneNumber:h}),(0,l.jsx)(i.A,{isOpen:v,onClose:()=>b(!1),isRTL:u,allBrands:m})]})}},60388:(e,t,r)=>{"use strict";r.d(t,{N_:()=>n,a8:()=>i,rd:()=>o});var l=r(30981);let a=(0,r(49984).A)({locales:["en","he"],defaultLocale:"he",localeDetection:!1}),{Link:n,redirect:s,usePathname:i,useRouter:o,getPathname:c}=(0,l.A)(a)},72555:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var l=r(12115),a=r(45915);class n extends Error{constructor(e="Strapi service is unavailable"){super(e),this.name="StrapiUnavailableError"}}var s=r(49509);async function i(e,t){var r,l;let i=null!=(r=null==t?void 0:t.lang)?r:"he";try{let r=(null==t?void 0:t.useLocale)?"locale":"lang",o=e.includes("?")?"".concat(a.s.url,"/api").concat(e,"&").concat(r,"=").concat(i):"".concat(a.s.url,"/api").concat(e,"?").concat(r,"=").concat(i),c=null!=(l=null==t?void 0:t.revalidate)?l:300,d={"Content-Type":"application/json"},u=s.env.STRAPI_API_TOKEN;u&&(d.Authorization="Bearer ".concat(u));let m=await fetch(o,{headers:d,...0===c?{cache:"no-store"}:{cache:"force-cache",next:{revalidate:c}}});if(!m.ok){if(403===m.status||404===m.status){if(e.includes("footer"))throw new n("Strapi footer ".concat(m.status,"; check API token and permissions."));return e.includes("contact-details")?{details:{}}:e.includes("brands")||e.includes("tags")?[]:{}}if(console.warn("Strapi API warning: ".concat(m.status," - ").concat(m.statusText," for endpoint: ").concat(e)),500===m.status){if(console.warn("Server error for ".concat(e,", using fallback content")),e.includes("footer"))throw new n("Strapi footer 500.");return e.includes("contact-details")?{details:{}}:e.includes("brands")||e.includes("tags")?[]:{}}throw new n("Strapi API error: ".concat(m.status," - ").concat(m.statusText))}return await m.json()}catch(t){if(t instanceof n||e.includes("footer"))throw t;return e.includes("contact-details")?{details:{}}:e.includes("brands")||e.includes("tags")?[]:{}}}let o=(0,l.cache)(i)},75103:(e,t,r)=>{"use strict";r.d(t,{default:()=>L});var l=r(95155),a=r(12115),n=r(66766),s=r(49813),i=r(41409),o=r(44116),c=r(53440),d=r(93219),u=r(98592),m=r(45915);r(72555);var x=r(49509);async function h(e,t){try{var r,l;let a=m.s.url||"https://cms.carasso-nadlan.co.il";if(!a)return console.warn("Strapi base URL is not configured."),null;let n="".concat(a,"/api/brands/").concat(e,"?").concat("populate[backgroundImage]=*&populate[image]=*&populate[projectLogo]=*&populate[sidebarLogo]=*&populate[hero][populate]=*&populate[hero][populate][backgroundImage]=*&populate[hero][populate][projectLogo]=*&populate[hero][populate][sidebarLogo]=*&populate[about][populate]=*&populate[about][populate][image]=*&populate[about][populate][icon]=*&populate[about][populate][tags][populate]=*&populate[ideaToSuccess][populate]=*&populate[ideaToSuccess][populate][gallery]=*","&").concat("lang","=").concat(null!=t?t:"he"),s={Accept:"application/json"},i=x.env.STRAPI_API_TOKEN;i&&(s.Authorization="Bearer ".concat(i));let o=await fetch(n,{method:"GET",headers:s,cache:"force-cache",next:{revalidate:300}});if(!o.ok)return console.warn("Failed to fetch brand ".concat(e,": ").concat(o.status," ").concat(o.statusText)),null;let c=await o.json(),d=c.data||c;return(null==(l=d.hero)||null==(r=l.backgroundImage)?void 0:r.url)||console.warn("Brand ".concat(e," missing backgroundImage. Available keys:"),Object.keys(d.hero||{})),d}catch(t){return console.warn("Error fetching brand ".concat(e,":"),t),null}}var f=r(90865);function g(e){let{label:t,onClick:r,className:a=""}=e;return(0,l.jsx)("span",{onClick:r,className:"p-[0.7rem] rounded-[0.5rem] leading-[14.7px] bg-white text-[1.4rem] font-light shadow-[0px_2px_23px_rgba(39,39,39,0.1)] ".concat(r?"cursor-pointer":""," ").concat(a),children:t})}function p(e){let{tags:t,className:r="",renderTag:a,onTagClick:n}=e;return(0,l.jsx)("div",{className:"flex flex-wrap gap-[0.8rem] ".concat(r),children:t.map((e,t)=>a?a(e):(0,l.jsx)(g,{label:e.tag,onClick:n?()=>n(e):void 0},t))})}var v=r(17652);let b=e=>{var t,r,s,m,x,g,b,j,w,N,y;let{brand:k,isRTL:T}=e,[L,S]=(0,a.useState)(null),C=(0,v.c3)("ProjectsPage"),B=(0,a.useRef)(!1);(0,a.useEffect)(()=>{B.current||(async()=>{B.current=!0;
1try{let e=await h(k.id.toString(),T?f.N.HEBREW:f.N.ENGLISH);S(e)}catch(e){console.error("Error fetching detailed brand:",e)}finally{B.current=!1}})()},[k.id,T]);let E=(null==(t=k.backgroundImage)?void 0:t.url)?(0,i.Z)(k.backgroundImage):"/fallback.jpg",I={backgroundImage:"url(".concat(E,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundColor:"lightgray",transition:"all 0.3s ease"};return(0,l.jsxs)("div",{className:"w-full h-screen",children:[(0,l.jsxs)("div",{className:"block lg:hidden px-[2rem] md:px-[4rem] lg:px-[9rem] h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex flex-row md:py-[8rem] md:px-[3rem] justify-between",children:[(0,l.jsxs)("div",{className:"flex-1 flex flex-col max-w-[50%] h-full",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[1rem]",children:[(0,l.jsx)("p",{className:"text-[1.8rem] font-bold",children:k.locationText}),(0,l.jsx)("h1",{className:"text-[8rem] font-medium",children:k.name}),(0,l.jsx)("p",{className:"text-[1.8rem] font-light",children:k.previewText}),(0,l.jsx)("div",{className:"pt-[4rem] pb-[7rem]",children:(null==L||null==(r=L.about)?void 0:r.tags)&&(0,l.jsx)(p,{tags:L.about.tags})})]}),(0,l.jsx)("div",{className:"flex-1 flex items-end justify-start",children:(0,l.jsx)(c.A,{href:"/brands/".concat(k.slug),text:C("projectEntry"),isRTL:T})})]}),(0,l.jsx)("div",{className:"flex-2",children:(0,l.jsxs)("div",{className:"".concat(T?"pl-[3rem]":"pr-[3rem]"," flex flex-col h-full gap-[6rem]"),children:[(0,l.jsx)("div",{className:" text-[1.4rem] radius-[2rem]",children:(0,l.jsx)(d.A,{text:k.brandBuildingStatus,icon:(0,l.jsx)(n.default,{src:(0,u.h)(k.brandBuildingStatus),width:12,height:12,alt:k.brandBuildingStatus||"",className:"filter brightness-0 invert"}),iconPosition:"left",style:{background:"rgba(0, 0, 0, 0.85)"},className:"rounded-full text-white"})}),(0,l.jsx)("div",{className:"flex-1 flex flex-col gap-[3.5rem] items-end justify-end",children:[null==L||null==(s=L.about)?void 0:s.prop1,null==L||null==(m=L.about)?void 0:m.prop2,null==L||null==(x=L.about)?void 0:x.prop3,null==L||null==(g=L.about)?void 0:g.prop4].filter(Boolean).map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[1.5rem] ".concat(T?"items-start":"items-end"),children:[(0,l.jsx)("span",{className:"text-[1.8rem] font-semibold leading-[18.9px] text-left",children:null==e?void 0:e.info}),(0,l.jsx)("span",{className:"text-[1.8rem] font-light leading-[18.9px] text-left",children:null==e?void 0:e.title})]},t))})]})})]}),(0,l.jsx)("div",{className:"relative overflow-hidden w-screen h-[63rem] -mx-[2rem] md:-mx-[4rem] lg:-mx-[9rem]",style:I,children:(0,l.jsxs)("div",{className:"absolute bottom-[3rem] left-1/2 transform -translate-x-1/2 flex flex-col items-center gap-[1rem] px-[2rem] py-[1.5rem]",children:[(0,l.jsx)("div",{className:"text-white text-[1.2rem] font-light",children:T?"המשך לגלול":"Continue Scrolling"}),(0,l.jsx)(n.default,{src:o.d4,alt:"scroll arrow",width:15,height:7,className:"filter brightness-0 invert"})]})})]}),(0,l.jsxs)("div",{className:"hidden lg:flex flex-row gap-[7rem] items-stretch h-screen",children:[(0,l.jsx)("div",{className:"w-[60%] h-full",children:(0,l.jsx)("div",{className:"relative overflow-hidden w-full h-full",style:I})}),(0,l.jsx)("div",{className:"w-[40%] flex flex-col gap-[3rem] justify-center h-full",children:(0,l.jsx)("div",{className:"flex flex-row gap-[10rem]",children:(0,l.jsx)("div",{className:"flex-1 flex flex-col",children:(0,l.jsxs)("div",{className:"flex flex-col gap-[6rem] ".concat(T?"text-right":"text-left"),children:[(0,l.jsx)("div",{className:"text-[1.4rem] radius-[2rem]",children:(0,l.jsx)(d.A,{text:k.brandBuildingStatus,icon:(0,l.jsx)(n.default,{src:(0,u.h)(k.brandBuildingStatus),width:12,height:12,alt:k.brandBuildingStatus||"",className:"filter brightness-0 invert"}),iconPosition:"left",style:{background:"rgba(0, 0, 0, 0.85)"},className:"rounded-full text-white"})}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("p",{className:"text-[1.8rem] font-bold",children:k.locationText}),(0,l.jsx)("h1",{className:"text-[8rem] font-medium",children:k.name}),(0,l.jsx)("p",{className:"text-[1.8rem] font-light",children:k.previewText})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[3rem]",children:[(0,l.jsx)("div",{className:"flex flex-wrap gap-[3rem]",children:[null==L||null==(b=L.about)?void 0:b.prop1,null==L||null==(j=L.about)?void 0:j.prop2,null==L||null==(w=L.about)?void 0:w.prop3,null==L||null==(N=L.about)?void 0:N.prop4].filter(
1Boolean).map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("span",{className:"text-[1.8rem] font-semibold leading-[18.9px]",children:null==e?void 0:e.info}),(0,l.jsx)("span",{className:"text-[1.8rem] font-light leading-[18.9px]",children:null==e?void 0:e.title})]},t))}),(null==L||null==(y=L.about)?void 0:y.tags)&&(0,l.jsx)(p,{tags:L.about.tags})]}),(0,l.jsx)("div",{className:"",children:(0,l.jsx)(c.A,{href:"/brands/".concat(k.slug),text:C("projectEntry"),isRTL:T})})]})})})})]})]})};function j(e){let{currentLayout:t,setCurrentLayout:r,setCurrentBrandIndex:a,isRTL:s,className:i=""}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-[1rem] flex-shrink-0 ".concat(i),children:[(0,l.jsxs)("button",{onClick:()=>r("grid"),className:"flex items-center gap-[0.8rem] px-[1.2rem] text-black text-[1.8rem] transition-all whitespace-nowrap ".concat("grid"===t?"font-medium":"font-light"),children:[(0,l.jsx)(n.default,{src:"grid"===t?o.xp:o.Se,alt:"Grid layout",width:20,height:20,className:"w-[2rem] h-[2rem]"}),s?"תצוגת רשת":"Grid"]}),(0,l.jsxs)("button",{onClick:()=>{r("list"),a&&a(0)},className:"flex items-center px-[1.2rem] gap-[0.8rem] text-black text-[1.8rem] transition-all whitespace-nowrap ".concat("list"===t?"font-medium":"font-light"),children:[(0,l.jsx)(n.default,{src:"list"===t?o.wN:o.Sc,alt:"List layout",width:20,height:20,className:"w-[2rem] h-[2rem]"}),s?"תצוגת רשימה":"List"]})]})}let w=e=>{let{brands:t,filteredBrands:r,isRTL:i,layout:c,currentBrandIndex:d,setCurrentBrandIndex:u,brandRefs:m,scrollToCard:x,scrollContainerRef:h,isUserSelected:f=!1,currentLayout:g,setCurrentLayout:p,isLoadingTags:v=!1}=e;return((0,a.useEffect)(()=>{if("list"!==c||!u||!(null==h?void 0:h.current))return;let e=()=>{if(!h.current)return;let e=h.current,t=Math.max(0,Math.min(Math.round(e.scrollTop/e.clientHeight),r.length-1));!f&&window.innerWidth>=1024&&u(t)},t=h.current;if(t)return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[c,r.length,u,h,f]),0===r.length)?v?(0,l.jsx)("div",{className:"flex items-center justify-center min-h-[40vh] py-16",children:(0,l.jsx)("div",{className:"w-16 h-16 border-4 border-gray-300 border-t-gray-600 rounded-full animate-spin"})}):(0,l.jsx)("div",{className:"text-center py-8",children:(0,l.jsx)("p",{className:"text-gray-500",children:"No brands found for this type."})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("section",{className:"block md:hidden relative w-full px-[2rem] max-width-container pb-[6rem]",children:(0,l.jsx)("div",{className:"w-full relative",dir:i?"rtl":"ltr",children:(0,l.jsx)("div",{className:"flex flex-col gap-[4rem]",children:r.map((e,t)=>(0,l.jsx)("div",{className:"w-full max-w-[367px] mx-auto",children:(0,l.jsx)(s.default,{brand:e,isRTL:i})},t))})})}),(0,l.jsx)("div",{className:"hidden md:block lg:hidden max-width-container",children:"grid"===c?(0,l.jsx)("section",{className:"relative w-full px-[2rem] md:px-[4rem]",children:(0,l.jsx)("div",{className:"w-full relative",children:(0,l.jsx)("div",{className:"grid grid-cols-2 gap-x-[2rem] gap-y-[8rem] w-full md:max-w-[83.7rem] mx-auto",dir:i?"rtl":"ltr",children:r.map((e,t)=>(0,l.jsx)("div",{className:"w-full max-w-[367px] mx-auto",children:(0,l.jsx)(s.default,{brand:e,isRTL:i})},t))})})}):(0,l.jsx)("section",{className:"relative w-full md:h-screen md:overflow-y-auto md:snap-y md:snap-mandatory scrollbar-hide",ref:h,children:(0,l.jsx)("div",{className:"w-full relative",children:(0,l.jsx)("div",{className:"flex flex-col",dir:i?"rtl":"ltr",children:r.map((e,t)=>(0,l.jsx)("div",{className:"w-full md:h-screen md:snap-start md:flex-shrink-0",ref:e=>{(null==m?void 0:m.current)&&(m.current[t]=e)},children:(0,l.jsx)(b,{brand:e,isRTL:i})},t))})})})}),(0,l.jsx)("div",{className:"hidden lg:block max-w-[1920px] mx-auto",children:"grid"===c?(0,l.jsx)("section",{className:"relative w-full px-[2rem] md:px-[4rem] lg:px-[9rem]",children:(0,l.jsx)("div",{className:"w-full relative",children:(0,l.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-x-[2rem] gap-y-[8rem] lg:gap-y-[8rem] w-full",dir:i?"rtl":"ltr",children:r.map((e,t)=>(0,l.jsx)("div",{className:"w-full max-w-[367px] lg:max-w-[406px] mx-auto",children:(0,l.jsx)(s.default,{brand:e,isRTL:i})},t))})})}):(0,l.jsx)("section",{className:"relative w-full lg:h-screen lg:overflow-y-auto lg:snap-y lg:snap-mandatory scrollbar-hide",ref:h,children:(0,l.jsxs)("div",{className:"w-full relative flex",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)("div",{className:"flex flex-col",dir:i?"rtl":"ltr",children:r.map((e,t)=>(0,l.jsx)("div",{className:"w-full lg:h-screen lg:snap-start lg:flex-shrink-0",ref:e=>{(null==m?void 0:m.current)&&(m.current[t]=e)},children:(0,l.jsx)(b,{brand:e,isRTL:i})},t))})}),(0,l.jsxs)("div",{className:"hidden lg:flex w-auto min-w-[20rem] max-w-[32rem] flex-col gap-[2rem] pt-[13rem] p-[3rem] h-screen sticky top-0 items-center overflow-y-auto scrollbar-hide",children:[(0,l.jsx)("div",{className:"pointer-events-auto",children:(0,l.jsx)(j,{currentLayout:g,setCurrentLayout:p,setCurrentBrandIndex:u,isRTL:i})}),(0,l.jsx)("div",{className:"flex-1"}),(0,l.jsxs)("div",{className:"flex flex-col gap-[1rem] items-end flex-shrink-0 overflow-y-auto scrollbar-hide whitespace-nowrap pointer-events-auto",children:[t.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-row gap-[1rem] items-center",children:[(0,l.jsx)("div",{className:"text-[1.4rem] font-light cursor-pointer transition-all ".concat(t===d?"text-black font-light":"text-gray-500 hover:text-gray-700"),onClick:()=>null==x?void 0:x(t),children:e.name}),(0,l.jsx)(n.default,{src:t===d?o.R2:o.qr,alt:"circle filled",width:12,height:12})]},e.id)),(0,l.jsx)(n.default,{src:o.d4,alt:"scroll down arrow",width:12,height:12,className:"filter brightness-0 pt-[2rem]"})]})]})]})})})]})};var N=r(60388),y=r(9879);function k(e){let{translatedTitle:t,currentBrandTypeTags:r,search:a,setSearch:s,selectedTags:i,setSelectedTags:c,brands:d,brandTagsMap:u,setFilteredBrands:m,isRTL:x}=e,h=(0,v.c3)("ProjectsPage"),f=e=>{if(s(e),!e.trim())return void m(d);let t=e.toLowerCase();m(d.filter(e=>{var r,l,a;let n=(null==(r=e.name)?void 0:r.toLowerCase().includes(t))||!1,s=(null==(l=e.locationText)?void 0:l.toLowerCase().includes(t))||!1,i=(null==(a=e.brandBuildingStatus)?void 0:a.toLowerCase().includes(t))||!1,o=u[e.id],c=!!o&&o.some(e=>e.tag.toLowerCase().includes(t));return n||s||i||c}
1))};return(0,l.jsxs)("div",{className:"flex flex-col gap-[3rem] pb-[7rem] pt-[4rem] md:pt-[5rem]",children:[(0,l.jsxs)("div",{className:"flex items-center gap-[1.2rem] pt-[8rem] md:pt-[12rem] text-[#BBBDBF] text-[1.8rem] leading-[1.9rem] font-light",children:[(0,l.jsx)(N.N_,{href:"/",className:"hover:opacity-80 flex items-center",children:(0,l.jsx)(n.default,{src:o.II,alt:"home icon",width:24,height:24,className:"w-[2.4rem] h-[2.4rem] min-w-[2.4rem] min-h-[2.4rem]",style:{filter:"brightness(0) saturate(100%) invert(75%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.8) contrast(0.8)"}})}),(0,l.jsx)("div",{className:"w-[1.2rem] h-[1px] bg-[#BBBDBF]"}),(0,l.jsx)(N.N_,{href:"#",className:"hover:underline text-[#BBBDBF] text-[1.8rem] font-medium",children:t})]}),(0,l.jsx)("h1",{className:"text-[4.4rem] md:text-[6.5rem] lg:text-[10rem] whitespace-nowrap overflow-hidden ".concat(x?"text-right":"text-left"),children:t.split(" ").map((e,r)=>(0,l.jsxs)("span",{className:0===r?"font-light":"font-medium",children:[e,r<t.split(" ").length-1?" ":""]},r))}),(0,l.jsxs)("div",{className:"pb-[1.6rem] flex flex-row gap-[1.2rem] border-b-[0.1rem] border-gray-300 max-w-[74rem]",children:[(0,l.jsx)(n.default,{src:o.WI,alt:"search icon",width:26,height:26}),(0,l.jsx)("input",{type:"text",placeholder:h("searchPlaceholder"),className:"flex-1 text-[1.6rem] md:text-[1.8rem] bg-transparent font-light text-gray-300 outline-none focus:outline-none",value:a,onChange:e=>f(e.target.value)})]}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-[2rem] items-start",children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("p",{className:"text-[1.4rem] font-medium",children:h("leadingSearches")})}),(0,l.jsx)("div",{className:"flex-1",children:r&&r.length>0&&(0,l.jsx)(y.A,{tags:r,selectedTags:i,onTagClick:e=>{let t=new Set(i);t.add(e.tag),c(t),m(d.filter(t=>{let r=u[t.id];return!!r&&r.length>0&&r.some(t=>t.tag.toLowerCase()===e.tag.toLowerCase())}))},onTagRemove:e=>{let t=new Set(i);t.delete(e.tag),c(t),t.size>0?m(d.filter(e=>{let r=u[e.id];return!!r&&r.length>0&&r.some(e=>t.has(e.tag))})):m(d)}})})]})]})}function T(e){let{backgroundImage:t,children:r}=e;return(0,l.jsxs)("div",{className:"w-full bg-cover bg-center bg-no-repeat relative",style:{backgroundImage:"url(".concat(t,")")},children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-transparent"}),(0,l.jsx)("div",{className:"relative z-10",children:r})]})}function L(e){var t;let{brands:r,brandType:n,translatedTitle:s,leadingSearching:i,isRTL:c}=e,[d,u]=(0,a.useState)("grid"),[m,x]=(0,a.useState)(""),[h,f]=(0,a.useState)(r),[g,p]=(0,a.useState)(new Set),[v,b]=(0,a.useState)(0),[N,y]=(0,a.useState)(!1),L=(0,a.useRef)([]),S=(0,a.useMemo)(()=>{let e={};return r.forEach(t=>{var r;e[t.id]=t.tags||(null==(r=t.about)?void 0:r.tags)||[]}),e},[r]);(0,a.useEffect)(()=>{if(!m&&0===g.size)return void f(r);let e=m.toLowerCase();f(r.filter(t=>{if(m){var r,l,a;let n=(null==(r=t.name)?void 0:r.toLowerCase().includes(e))||!1,s=(null==(l=t.locationText)?void 0:l.toLowerCase().includes(e))||!1,i=(null==(a=t.brandBuildingStatus)?void 0:a.toLowerCase().includes(e))||!1,o=S[t.id],c=!!o&&o.some(t=>t.tag.toLowerCase().includes(e));if(!n&&!s&&!i&&!c)return!1}if(g.size>0){let e=S[t.id];if(!e||!(e.length>0)||!e.some(e=>g.has(e.tag)))return!1}return!0}))},[m,g,S,r]);let C=null==(t=i[n])?void 0:t[0],B=C?Object.keys(C)[0]:null,E=B&&C[B]||[],I=()=>(()=>{switch(n){case"ResidentialProjects":case"successStories":default:return o.eC;case"shoppingCenters":return o.AW;case"officeHighTech":return o.tG}})();L.current=h.map((e,t)=>{var r;return null!=(r=L.current[t])?r:null});let R=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{if(!R.current||N)return;let e=R.current,t=Math.max(0,Math.min(Math.round(e.scrollTop/e.clientHeight),h.length-1));t!==v&&b(t)},t=R.current;if(t)return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[v,N,h.length]),(0,l.jsx)("div",{className:"bg-[#F6F6F6]",children:"list"===d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"block scrollbar-hide overflow-y-auto lg:hidden",children:(0,l.jsx)(T,{backgroundImage:I(),children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-[2rem] px-[2rem] md:px-[4rem] lg:px-[9rem]",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(k,{brandType:n,translatedTitle:s,currentBrandTypeTags:E,search:m,setSearch:x,selectedTags:g,setSelectedTags:p,brands:r,brandTagsMap:S,setFilteredBrands:f,isRTL:c})}),(0,l.jsx)("div",{className:"hidden md:flex md:w-[20rem] flex-col gap-[1rem] md:sticky md:top-[2rem] md:self-end pb-[3rem] items-end px-[2rem] md:px-0",children:(0,l.jsx)(j,{currentLayout:d,setCurrentLayout:u,setCurrentBrandIndex:b,isRTL:c})})]})})}),(0,l.jsx)("div",{className:"hidden lg:flex max-w-[1920px] mx-auto",children:(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(w,{brands:r,filteredBrands:h,brandType:n,layout:"list",isRTL:c,currentBrandIndex:v,setCurrentBrandIndex:b,brandRefs:L,scrollToCard:e=>{let t=L.current[e];t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),b(e),y(!0),setTimeout(()=>{y(!1)},1e3))},scrollContainerRef:R,isUserSelected:N,currentLayout:d,setCurrentLayout:u})})}),(0,l.jsx)("div",{className:"block lg:hidden max-width-container",children:(0,l.jsx)(w,{brands:r,filteredBrands:h,brandType:n,layout:"list",isRTL:c,currentBrandIndex:v,setCurrentBrandIndex:b,currentLayout:d,setCurrentLayout:u})})]}):(0,l.jsxs)("div",{className:"bg-[#F6F6F6] min-h-screen pb-[10rem]",children:[(0,l.jsx)(T,{backgroundImage:I(),children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-[2rem] px-[2rem] md:px-[4rem] lg:px-[9rem] md:max-w-[90rem] md:mx-auto lg:max-width-container",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(k,{brandType:n,translatedTitle:s,currentBrandTypeTags:E,search:m,setSearch:x,selectedTags:g,setSelectedTags:p,brands:r,brandTagsMap:S,setFilteredBrands:f,isRTL:c})}),(0,l.jsx)("div",{className:"hidden md:flex md:w-[20rem] flex-col gap-[1rem] md:sticky md:top-[2rem] md:self-end pb-[3rem] px-[2rem] md:items-end md:px-0",children:(0,l.jsx)(j,{currentLayout:d,setCurrentLayout:u,setCurrentBrandIndex:b,isRTL:c})})]})}),(0,l.jsx)(w,{brands:r,filteredBrands:h,brandType:n,isRTL:c,layout:d,currentLayout:d,setCurrentLayout:u})]})})}},78895:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var l=r(95155),a=r(44116),n=r(50150),s=r(17652),i=r(66766),o=r(12115);function c(e){let{isOpen:t,onClose:r,onContactFormClick:c,isRTL:d=!1,voiceCenterToken:u,phoneNumber:m}=e,x=(0,s.c3)("ContactUsPopup"),h=(0,o.useRef)(null);return((0,o.useEffect)(()=>{let e=e=>{h.current&&!h.current.contains(e.target)&&r()};return t&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[t,r]),(0,o.useEffect)(()=>(t?(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"):(document.body.style.overflow="unset",document.documentElement.style.overflow="unset"),()=>{document.body.style.overflow="unset",document.documentElement.style.overflow="unset"}),[t]),t)?(0,l.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-end justify-end -mb-[1rem] -ml-[2rem]",children:(0,l.jsxs)("div",{ref:h,className:"bg-white rounded-lg shadow-lg px-[3rem] py-[2rem] min-w-[24rem] max-w-[40rem] ".concat(d?"mr-[
11rem]":"ml-[1rem]"),children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-[2rem]",children:[(0,l.jsx)("h2",{className:"text-[1.6rem] md:text-[1.8rem] font-semibold text-gray-800",children:x("title")}),(0,l.jsx)("button",{onClick:r,className:"text-gray-400 hover:text-gray-600 transition-colors p-[0.5rem]",children:(0,l.jsx)(i.default,{src:a.TG,alt:"x-circle",width:32,height:32})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[1.5rem]",children:[(0,l.jsx)("button",{onClick:()=>{c()},className:"flex items-center gap-[1.5rem] border-b border-[#BBBBBB] w-fit ".concat(d?"text-right":"text-left"),children:(0,l.jsxs)("div",{className:"flex flex-row gap-[1rem] items-center justify-center mb-[1rem]",children:[(0,l.jsx)("h3",{className:"text-[1.6rem] font-semibold text-gray-800",children:x("contactForm")}),(0,l.jsx)(i.default,{src:n.oX,alt:"arrow-send",className:"w-[1rem] h-[1rem] "+(d?"":"rotate-180"),width:15,height:15})]})}),(0,l.jsx)("button",{id:"call-me",type:"button",onClick:()=>{!u&&m?(window.location.href="tel:".concat(m),r()):m||console.error("No phone number available")},className:"call-me-button flex items-center gap-[1.5rem] border-b border-[#BBBBBB] w-fit mb-[2rem] ".concat(d?"text-right":"text-left"),children:(0,l.jsxs)("div",{className:"flex flex-row gap-[1rem] items-center justify-center mb-[1rem]",children:[(0,l.jsx)("h3",{className:"text-[1.6rem] font-semibold text-gray-800",children:x("callUs")}),(0,l.jsx)(i.default,{src:n.oX,alt:"arrow-send",className:"w-[1rem] h-[1rem] "+(d?"":"rotate-180"),width:15,height:15})]})})]})]})}):null}},90865:(e,t,r)=>{"use strict";r.d(t,{N:()=>l,O:()=>a});var l=function(e){return e.HEBREW="he",e.ENGLISH="en",e}({}),a=function(e){return e.RTL="rtl",e.LTR="ltr",e}({})}},e=>{var t=t=>e(e.s=t);e.O(0,[3385,6160,3063,3930,753,8009,8441,1684,7358],()=>t(35652)),_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.