1import{i as e,n as t}from"./react-dom-Zz8AZq9_.js";import{p as n}from"./site-content-D0rTAzpU.js";import{t as r}from"./TLink-CfDLrpJg.js";import{n as i,t as a}from"./pro-api-C1agILq3.js";import{o,s}from"./index-BjaByujB.js";var c=n(),l=o.id,u=(e,t)=>`var(--${l}-${e}${t?`, ${t}`:``})`,d=u(`ink`,u(`black`,u(`brown-dark`,`#111111`))),f=u(`muted`,u(`steel`,d)),p=u(`line`,u(`line-aqua`,d)),m=u(`bg`,u(`paper`,u(`white`,`transparent`))),h=u(`soft`,u(`bg-soft`,u(`accent-soft`,u(`paper-deep`,u(`sand`,`transparent`))))),g=u(`accent`,u(`indigo`,u(`bordo`,u(`gold`,u(`cyan`,u(`magenta`,u(`purple`,d))))))),_=`${l}-container`,v=`${l}-prose`,y=`${l}-navlink`;function b({children:e,className:t=``,style:n}){return(0,c.jsx)(`section`,{className:`${_} py-14 lg:py-20 ${t}`,style:n,children:e})}function x({children:e}){return(0,c.jsx)(`h2`,{className:`text-3xl font-extralight leading-tight tracking-[-0.02em] sm:text-4xl lg:text-5xl`,style:{color:d},children:e})}function S({label:e,aside:t}){return(0,c.jsxs)(`div`,{className:`flex items-baseline justify-between border-b pb-3`,style:{borderColor:d},children:[(0,c.jsx)(`h2`,{className:`text-sm font-normal tracking-[0.3em]`,style:{color:d},children:e}),t]})}function C({links:e}){return e.length?(0,c.jsx)(`ul`,{className:`mt-10 grid gap-px overflow-hidden border sm:grid-cols-2 lg:grid-cols-3`,style:{borderColor:p,backgroundColor:p},children:e.map(e=>(0,c.jsx)(`li`,{style:{backgroundColor:m},children:(0,c.jsxs)(r,{to:{kind:`page`,path:e.href},className:`group flex h-full items-center justify-between gap-3 px-6 py-7 transition-colors`,style:{color:d},children:[(0,c.jsx)(`span`,{className:`text-lg font-light leading-snug`,children:e.label}),(0,c.jsx)(`span`,{"aria-hidden":`true`,className:`shrink-0 text-xl transition-transform group-hover:-translate-x-1`,style:{color:g},children:`â`})]})},e.href))}):null}function w({images:e}){return e.length<3?null:(0,c.jsx)(`ul`,{className:`mt-10 grid grid-cols-2 gap-px overflow-hidden border sm:grid-cols-3 lg:grid-cols-4`,style:{borderColor:p,backgroundColor:p},children:e.map((e,t)=>(0,c.jsx)(`li`,{className:`flex aspect-[4/3] items-center justify-center p-5`,style:{backgroundColor:m},children:(0,c.jsx)(`img`,{src:e.src,alt:e.alt||`×××××`,loading:`lazy`,className:`max-h-full max-w-full object-contain`})},e.src+t))})}function T({paragraphs:e}){return(0,c.jsx)(`div`,{className:`mt-5 max-w-3xl space-y-4 text-base font-light leading-relaxed sm:text-lg`,style:{color:f},children:e.map((e,t)=>(0,c.jsx)(`p`,{children:e},t))})}function E({s:e,index:t,serviceLinks:n}){let r=e.images.length>=3,i=/ש×ר×ת|ת×××× ×¢×ס××§/.test(e.heading)&&n.length>=3;return t===0?r?(0,c.jsxs)(b,{className:`pt-8 lg:pt-12`,children:[(0,c.jsx)(S,{label:`×¢××××ת ש×× ×`,aside:(0,c.jsxs)(`span`,{className:`text-xs font-light`,style:{color:f},children:[e.images.length,` ××××××ת`]})}),(0,c.jsx)(w,{images:e.images})]}):null:(0,c.jsxs)(b,{...t%2==0?{style:{backgroundColor:h}}:{},children:[e.heading&&(0,c.jsx)(x,{children:e.heading}),e.paragraphs.length>0&&(0,c.jsx)(T,{paragraphs:e.paragraphs}),e.subheads.length>0&&(0,c.jsx)(`ul`,{className:`mt-8 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:e.subheads.map((e,t)=>(0,c.jsx)(`li`,{className:`border-t pt-4`,style:{borderColor:p},children:(0,c.jsx)(`div`,{className:`text-base font-normal`,style:{color:d},children:e})},t))}),i&&(0,c.jsx)(C,{links:n.slice(0,12)}),r&&(0,c.jsx)(w,{images:e.images})]})}function D({s:e,index:t}){let n=t%2==1;return(0,c.jsx)(b,{...t%2==0?{style:{backgroundColor:h}}:{},children:(0,c.jsxs)(`div`,{className:`grid items-center gap-8 lg:grid-cols-2 lg:gap-14`,children:[(0,c.jsxs)(`div`,{className:n?`lg:order-2`:``,children:[e.heading&&(0,c.jsx)(x,{children:e.heading}),e.paragraphs.length>0&&(0,c.jsx)(T,{paragraphs:e.paragraphs}),!!e.items?.length&&(0,c.jsx)(`ul`,{className:`mt-5 space-y-2`,children:e.items.map((e,t)=>(0,c.jsxs)(`li`,{className:`flex gap-2.5 text-sm font-light leading-relaxed`,style:{color:f},children:[(0,c.jsx)(`span`,{"aria-hidden":`true`,style:{color:g},children:`â`}),(0,c.jsx)(`span`,{children:e})]},t))})]}),(0,c.jsx)(`div`,{className:n?`lg:order-1`:``,children:(0,c.jsx)(`img`,{src:e.image,alt:``,loading:`lazy`,className:`w-full rounded-lg object-cover shadow-sm`,style:{border:`1px solid ${p}`}})})]})})}function O({services:e}){return e.length?(0,c.jsx)(`ul`,{className:`grid grid-cols-2 gap-px lg:grid-cols-4`,style:{backgroundColor:p},children:e.map(e=>(0,c.jsx)(`li`,{style:{backgroundColor:m},children:(0,c.jsxs)(r,{to:{kind:`page`,path:e.href},className:`group flex h-full flex-col items-center gap-3 px-4 py-8 text-center transition-colors hover:bg-[color:var(--bs-soft)]`,style:{"--bs-soft":h},children:[e.icon&&(0,c.jsx)(`img`,{src:e.icon,alt:``,"aria-hidden":`true`,loading:`lazy`,className:`h-16 w-16 object-contain transition-transform group-hover:scale-105`}),(0,c.jsx)(`span`,{className:`text-sm font-medium leading-snug`,style:{color:d},children:e.title}),(0,c.jsx)(`span`,{"aria-hidden":`true`,className:`mt-auto block h-px w-8`,style:{backgroundColor:g}}),(0,c.jsx)(`span`,{className:`text-xs font-light`,style:{color:f},children:`×××××¢ × ×סף â`})]})},e.href))}):null}function k({hero:e,siteName:t}){return e.style===`overlay`&&e.image?(0,c.jsxs)(`section`,{className:`relative`,children:[(0,c.jsx)(`img`,{src:e.image,alt:e.imageAlt||t,loading:`eager`,className:`absolute inset-0 h-full w-full object-cover`}),(0,c.jsx)(`div`,{"aria-hidden":`true`,className:`absolute inset-0`,style:{background:`linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%)`}}),(0,c.jsxs)(`div`,{className:`${_} relative flex min-h-[420px] flex-col justify-end pb-12 pt-24 lg:min-h-[520px] lg:pb-16`,children:[(0,c.jsx)(`h1`,{className:`max-w-3xl text-4xl font-light leading-[1.1] tracking-[-0.02em] text-white sm:text-5xl lg:text-6xl`,style:{textShadow:`0 2px 18px rgba(0,0,0,0.45)`},children:e.title}),e.prose&&(0,c.jsx)(`p`,{className:`mt-5 max-w-2xl text-base font-light leading-relaxed text-white/90 sm:text-lg`,style:{textShadow:`0 1px 12px rgba(0,0,0,0.5)`},children:e.prose}),(0,c.jsx)(`div`,{className:`mt-8`,children:(0,c.jsx)(j,{children:`×¦×¨× ×§×©×¨`})})]})]}):(0,c.jsx)(`section`,{style:{backgroundColor:h},children:(0,c.jsxs)(`div`,{className:`${_} grid items-center gap-10 py-12 lg:grid-cols-[1.1fr_.9fr] lg:py-16`,children:[(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`h1`,{className:`text-3xl font-extralight leading-tight tracking-[-0.02em] sm:text-4xl lg:text-5xl`,style:{color:d},children:e.title}),(0,c.jsx)(`span`,{"aria-hidden":`true`,className:`mt-5 block h-px w-16`,style:{backgroundColor:g}}),e.prose&&(0,c.jsx)(`p`,{className:`mt-5 max-w-xl text-base font-light leading-relaxed`,style:{color:f},children:e.prose}),e.image&&(0,c.jsx)(`img`,{src:e.image,alt:e.imageAlt||t,loading:`eager`,className:`mt-8 hidden max-h-[420px] w-auto object-contain lg:block`})]}),(0,c.jsx)(`div`,{className:`rounded-lg p-6 shadow-sm`,style:{backgroundColor:m,border:`1px solid ${p}`},children:(0,c.jsx)(s,{source:`home-hero`,accent:g,compact:!0,title:`××¢×× ××× ×× ××××¢××¥ ר×ש×× × ××× ×¢××ת?`,subtitle:`×ש×××¨× ×¤×¨××× ×× ×××ר ××××× ×××§××.`})}),e.image&&(0,c.jsx)(`img`,{src:e.image,alt:e.imageAlt||t,loading:`eager`,className:`mx-auto max-h-72 w-auto object-contain lg:hidden`})]})})}function A({posts:e}){return e.length?(0,c.jsxs)(b,{children:[(0,c.jsx)(S,{label:`×××ר×× ××ר×× ××`,aside:(0,c.jsx)(r,{to:{kind:`page`,path:`/articles/`},className:`${y} text-xs font-light`,children:`×× ××ת××ת â`})}),(0,c.jsx)(`ul`,{className:`mt-8 grid gap-8 sm:grid-cols-2 lg:grid-cols-3`,children:e.slice(0,6).map(e=>(0,c.jsx)(`li`,{children:(0,c.jsxs)(r,{to:{kind:`post`,slug:e.slug},className:`group block`,children:[(0,c.jsx)(`img`,{src:e.image,alt:e.title,loading:`lazy`,className:`aspect-[16/10] w-full object-cover opacity-90 transition group-hover:opacity-100`}),(0,c.jsx)(`h3`,{className:`mt-3 text-lg font-light leading-snug transition-colors`,style:{color:d},children:e.title}),(0,c.jsx)(`p`,{className:`mt-1.5 text-sm font-light leading-relaxed line-clamp-2`,style:{color:f},children:e.excerpt})]})},e.slug))})]}):null}function j({children:e}){return(0,c.jsx)(r,{to:{kind:`page`,path:`/contact/`},className:`inline-flex items-center border px-7 py-3 text-sm font-normal transition-colors`,style:{color:d,borderColor:d},children:e})}function M({home:e,site:t,posts:n,finder:i}){let a=Object.values(Object.fromEntries(e.sections.flatMap(e=>e.links).filter(e=>e.href!==`/`&&!/^\/(category|articles|contact|about|terms|privacy|accessibility|sitemap|blog|portfolio|services)\/?$/.test(e.href)).map(e=>[e.href,e]))),o=e.sections[0]?.heading?[]:e.sections[0]?.paragraphs??[];return e.hero||e.services?.length?(0,c.jsxs)(c.Fragment,{children:[e.hero&&(0,c.jsx)(k,{hero:e.hero,siteName:t.name}),!!e.services?.length&&(0,c.jsxs)(b,{className:`py-10 lg:py-12`,children:[(0,c.jsx)(S,{label:`ת×××× ×¢×ס××§`}),(0,c.jsx)(`div`,{className:`mt-6`,children:(0,c.jsx)(O,{services:e.services})})]}),i&&(0,c.jsx)(b,{className:`py-10 lg:py-12`,children:i}),e.sections.map((e,t)=>e.image?(0,c.jsx)(D,{s:e,index:t},t):(0,c.jsx)(E,{s:e,index:t,serviceLinks:a},t)),(0,c.jsx)(A,{posts:n})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(b,{className:`pb-6 pt-10 lg:pb-8 lg:pt-14`,children:[(0,c.jsx)(`div`,{className:`text-xs font-normal tracking-[0.35em]`,style:{color:g},children:t.tagline}),(0,c.jsx)(`h1`,{className:`mt-5 max-w-4xl text-5xl font-extralight leading-[1.06] tracking-[-0.025em] sm:text-6xl lg:text-[4.5rem]`,style:{color:d},children:e.title||t.heroTitle||t.tagline}),o.length>0?(0,c.jsx)(T,{paragraphs:o.slice(0,2)}):(0,c.jsx)(`p`,{className:`mt-6 max-w-2xl text-base font-light leading-relaxed sm:text-lg`,style:{color:f},children:t.description}),(0,c.jsxs)(`div`,{className:`mt-9 flex flex-wrap gap-4`,children:[(0,c.jsx)(j,{children:`×××¨× ×××ª× ×`}),(0,c.jsx)(r,{to:{kind:`page`,path:`/articles/`},className:`${y} inline-flex items-center px-2 py-3 text-sm font-light`,children:`××× ××××ר×× â
1`})]})]}),i&&(0,c.jsx)(b,{className:`py-8 lg:py-10`,children:i}),e.sections.map((e,t)=>(0,c.jsx)(E,{s:e,index:t,serviceLinks:a},t)),(0,c.jsx)(A,{posts:n})]})}function N({post:e,services:t}){let n=t.filter(t=>!e.slug||!t.href.includes(e.slug)).slice(0,6);return(0,c.jsxs)(`article`,{className:`${_} py-12 lg:py-16`,children:[(0,c.jsx)(`h1`,{className:`max-w-4xl text-4xl font-extralight leading-[1.1] tracking-[-0.02em] sm:text-5xl lg:text-6xl`,style:{color:d},children:e.title}),e.image&&!e.image.endsWith(`placeholder.svg`)&&(0,c.jsx)(`img`,{src:e.image,alt:e.title,className:`mt-8 aspect-[16/7] w-full object-cover`}),(0,c.jsx)(`div`,{className:`${v} mt-10 max-w-3xl`,dangerouslySetInnerHTML:{__html:e.content_html}}),(0,c.jsx)(`div`,{className:`mt-14 border-t pt-8`,style:{borderColor:p},children:(0,c.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-5`,children:[(0,c.jsxs)(`p`,{className:`max-w-xl text-lg font-light`,style:{color:d},children:[`ר×צ×× ××§×× ××¦×¢× ×¢××ר `,e.title,`?`]}),(0,c.jsx)(j,{children:`×¦×¨× ×§×©×¨`})]})}),n.length>0&&(0,c.jsxs)(`div`,{className:`mt-14`,children:[(0,c.jsx)(S,{label:`ש×ר×ת×× × ×ספ××`}),(0,c.jsx)(C,{links:n})]})]})}var P=e(t(),1),F=o.id,I=(e,t)=>`var(--${F}-${e}${t?`, ${t}`:``})`,L=I(`ink`,I(`black`,I(`brown-dark`,`#111111`))),R=I(`muted`,I(`steel`,L)),z=I(`line`,I(`line-aqua`,L)),B=I(`bg`,I(`paper`,I(`white`,`#ffffff`))),V=I(`soft`,I(`bg-soft`,I(`leaf-soft`,I(`accent-soft`,I(`paper-deep`,I(`sand`,I(`cream`,`transparent`))))))),H=I(`accent`,I(`leaf`,I(`indigo`,I(`bordo`,I(`gold`,I(`cyan`,L)))))),U=`https://d1w0xymcv3w03m.cloudfront.net/images/logos/cooperation-banner.svg`;function W({rank:e}){let t=Math.round(Math.min(5,Math.max(0,e)));return(0,c.jsxs)(`span`,{"aria-hidden":`true`,className:`text-sm tracking-[0.1em]`,style:{color:H},children:[`â
`.repeat(t),(0,c.jsx)(`span`,{style:{opacity:.25},children:`â
`.repeat(5-t)})]})}function G({b:e}){return(0,c.jsxs)(`li`,{className:`flex flex-wrap items-center gap-5 rounded-lg border p-5`,style:{borderColor:z,backgroundColor:B},"data-js":`business-card`,"data-business-id":e.id,children:[(0,c.jsxs)(`div`,{className:`flex w-24 flex-col items-center gap-2 text-center`,children:[e.profilePicture&&(0,c.jsx)(`img`,{src:e.profilePicture,alt:e.businessName,loading:`lazy`,className:`h-16 w-16 rounded-full border object-cover`,style:{borderColor:z}}),(0,c.jsx)(`span`,{className:`text-xs font-light leading-tight`,style:{color:R},children:e.ownerName})]}),(0,c.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,c.jsx)(`h3`,{className:`text-lg font-medium leading-snug`,style:{color:L},children:e.businessName}),e.lastChecked&&(0,c.jsxs)(`div`,{className:`mt-0.5 text-xs font-light`,style:{color:R},children:[`× ×××§ ×××ר×× × `,e.lastChecked]}),(0,c.jsxs)(`div`,{className:`mt-2 flex items-center gap-3`,children:[(0,c.jsx)(`span`,{className:`text-base font-semibold`,style:{color:L},children:e.averageRank}),(0,c.jsx)(W,{rank:e.averageRank}),(0,c.jsxs)(`span`,{className:`text-xs font-light`,style:{color:R},title:`${e.reviewsCount} ×××ת ×עת ×צ××× ${e.averageRank} ×ת×× 5`,children:[e.reviewsCount,` ×××ת ×עת`]})]}),e.expertise&&(0,c.jsxs)(`p`,{className:`mt-2 text-sm font-light leading-relaxed line-clamp-2`,style:{color:R},children:[`×ת×××××ת: `,e.expertise]})]}),(0,c.jsxs)(`a`,{href:`tel:${e.phone}`,"data-business-id":e.id,className:`inline-flex shrink-0 items-center gap-2 rounded-full px-6 py-3 text-base font-bold text-white transition-opacity hover:opacity-90`,style:{backgroundColor:H},children:[(0,c.jsx)(`span`,{"aria-hidden":`true`,children:`ð`}),(0,c.jsx)(`span`,{dir:`ltr`,children:e.phone})]})]})}function K({rows:e}){let[t,n]=(0,P.useState)(!1);return(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`ul`,{className:`space-y-4`,children:(t?e:e.slice(0,2)).map((e,t)=>(0,c.jsx)(G,{b:e},String(e.id)+t))}),(0,c.jsx)(`div`,{className:`mt-4 flex justify-center`,children:(0,c.jsx)(`img`,{src:U,alt:`×ש×ת××£ פע××× ×¢× ×¤×¨×`,loading:`lazy`,className:`h-14 w-auto`})}),!t&&e.length>2&&(0,c.jsx)(`div`,{className:`mt-4 text-center`,children:(0,c.jsxs)(`button`,{type:`button`,onClick:()=>n(!0),className:`inline-flex items-center border px-7 py-3 text-sm font-normal transition-colors`,style:{color:L,borderColor:L,backgroundColor:B},children:[`××¢× ×¢×× ××¢×× ×קצ×ע⦠(`,e.length-2,`)`]})})]})}function q({title:e,initialCity:t,initialBusinesses:n}){let[r,o]=(0,P.useState)(t??``),[s,l]=(0,P.useState)(``),[u,d]=(0,P.useState)([]),[f,p]=(0,P.useState)(n??[]),[m,h]=(0,P.useState)(n?`done`:`idle`),g=(0,P.useRef)(!1),_=async()=>{g.current||(g.current=!0,d(await a()))},v=async e=>{o(e),l(e),h(`loading`),p(await i(e)),h(`done`)},y=s.trim().length>=2&&s.trim()!==r?u.filter(e=>e.includes(s.trim())).slice(0,8):[];return(0,c.jsxs)(`div`,{className:`pro-finder rounded-xl border p-6 sm:p-8`,"data-js":`pro-finder`,style:{borderColor:z,backgroundColor:V},children:[(0,c.jsxs)(`div`,{className:`mb-5 text-center`,children:[(0,c.jsx)(`h2`,{className:`text-2xl font-light sm:text-3xl`,style:{color:L},children:e??`××××× ×¢×ר ××ª× ×¦×¨×××× ×ת ××× ×?`}),(0,c.jsx)(`p`,{className:`mt-2 text-sm font-light`,style:{color:R},children:`×××¨× ×¢×ר ××§××× ××¢×× ×קצ××¢ ××××צ×× ××××ר××× ××××ר××`})]}),(0,c.jsxs)(`div`,{className:`relative mx-auto max-w-md`,children:[(0,c.jsx)(`input`,{type:`text`,value:s,minLength:2,autoComplete:`off`,placeholder:`××§×××× ××××××: ××פ×`,onFocus:_,onChange:e=>l(e.target.value),className:`w-full rounded-full border px-6 py-3.5 text-base outline-none`,style:{borderColor:z,backgroundColor:B,color:L},"aria-label":`××פ×ש ×¢×ר`}),y.length>0&&(0,c.jsx)(`ul`,{className:`absolute inset-x-0 top-full z-20 mt-2 overflow-hidden rounded-lg border shadow-lg`,style:{borderColor:z,backgroundColor:B},children:y.map(e=>(0,c.jsx)(`li`,{children:(0,c.jsx)(`button`,{type:`button`,onClick:()=>v(e),className:`block w-full px-5 py-2.5 text-start text-sm transition-colors hover:opacity-70`,style:{color:L},children:e})},e))})]}),(0,c.jsxs)(`div`,{className:`professionals-result mt-7`,children:[m===`loading`&&(0,c.jsx)(`p`,{className:`text-center text-sm font-light`,style:{color:R},children:`×××¢× ××¢×× ×קצ××¢â¦`}),m===`done`&&f.length>0&&(0,c.jsx)(K,{rows:f}),m===`done`&&f.length===0&&(0,c.jsxs)(`p`,{className:`rounded-lg border p-5 text-center text-base font-light`,style:{borderColor:z,backgroundColor:B,color:L},children:[`×× × ×צ×× ××¢×× ×קצ××¢ ××××ר `,r,` ×ר××¢ â × ×¡× ×¢×ר ס××××.`]})]})]})}export{M as n,N as r,q as t};
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.