דף הבית ‹ בלוג ‹ זוגיות ‹ האם לשים רגל על רגל ולתת לבן הזוג שיעשה הכל ולהרגיש נהדר כי קיבלנו פטור מהעבודה?
אנקדוטה קטנה המעידה, שזוגיות לומדים.
האם לשים רגל על רגל ולתת לבן הזוג שיעשה הכל ולהרגיש נהדר כי קיבלנו פטור מהעבודה?
זה נכון… היום אפשר לקנות המון דברים…
מאמר מערכת
מכון לה-וידה
24/06/2024 | 16:06
אוכל, ניקיון, תפירה ועוד ועוד…
אבל אין תחליף לעשיה האישית. חשוב שבכל בית יהיו דברים שדיירי הבית עושים אישית, יחד וגם לחוד. כך יוצרים אווירה בייתית, מקיימים את החיבור אל הבית החם, המחבק והמכיל.
העשיה האישית הינה דרך מצוינת להעביר דרכה את אהבתנו, את תחושת הבית.
','text/html');d.querySelectorAll('script,style,noscript').forEach(function(n){n.remove()});d.body.querySelectorAll('p,li,h1,h2,h3,h4,h5,h6,div,br,td').forEach(function(n){n.append(' ')});return(d.body.textContent||'').replace(/\s+/g,' ').trim()}
function reEsc(s){return s.replace(/[.*+?^${}()|[\]\\]/g,'\\$&')}
function strip(w){for(var i=0;i=3&&w.indexOf(p)===0)return w.slice(p.length)}return w}
function terms(q){var ws=q.replace(/["'״׳,.;:!?()]/g,' ').split(/\s+/).filter(function(w){return w.length>=2}),out=[];ws.forEach(function(w){out.push(w);var s=strip(w);if(s!==w)out.push(s)});if(ws.length>1)out.unshift(ws.join(' '));return out.filter(function(v,i,a){return a.indexOf(v)===i}).sort(function(a,b){return b.length-a.length})}
function hl(text,ts){if(!ts.length)return esc(text);var re=new RegExp('('+ts.map(reEsc).join('|')+')','gi'),out='',last=0,m;while((m=re.exec(text))){out+=esc(text.slice(last,m.index))+''+esc(m[0])+'';last=m.index+m[0].length;if(!m[0].length)re.lastIndex++}return out+esc(text.slice(last))}
function snippet(full,fallback,ts,len){len=len||220;var low=full.toLowerCase(),best=-1;for(var i=0;i=0){best=k;break}}
if(best<0){var f=fallback||full;return f.length>len?f.slice(0,len).replace(/\s\S*$/,'')+'…':f}
var start=Math.max(0,best-(len<=150?14:Math.round(len*.3))),end=Math.min(full.length,start+len);if(start>0){var sp=full.indexOf(' ',start);if(sp>0&&spbest)end=ep}
return(start>0?'…':'')+full.slice(start,end)+(end=2}),cands=[];ws.forEach(function(w){var s=strip(w);if(s!==w)cands.push(s);if(ws.length>1)cands.push(w)});cands=cands.filter(function(v,i,a){return a.indexOf(v)===i&&v!==q}).slice(0,4);if(!cands.length)return Promise.resolve([]);
return Promise.all(cands.map(function(c){return fetchPosts(c,1,5).catch(function(){return{items:[]}})})).then(function(rs){var by={};rs.forEach(function(r){r.items.forEach(function(p,i){var o=by[p.id]||(by[p.id]={p:p,hits:0,rank:99});o.hits++;o.rank=Math.min(o.rank,i)})});return Object.keys(by).map(function(k){return by[k]}).sort(function(a,b){return b.hits-a.hits||a.rank-b.rank}).map(function(o){return o.p}).slice(0,per)})}
var ICON='';
function fmtDate(d){try{return new Date(d).toLocaleDateString('he-IL',{day:'numeric',month:'long',year:'numeric'})}catch(e){return''}}/* ---------- live suggestions on search forms ---------- */
function live(form){var input=form.querySelector('input[name="s"]');if(!input||form.__lvs)return;form.__lvs=1;
var wrap=document.createElement('div');wrap.className='lvs-wrap';wrap.style.cssText='width:'+(form.style.width||'100%')+';max-width:'+(form.style.maxWidth||getComputedStyle(form).maxWidth||'none')+';margin:'+(form.style.margin||'0')+';';form.parentNode.insertBefore(wrap,form);wrap.appendChild(form);form.style.width='100%';form.style.maxWidth='none';form.style.margin='0';
var pop=document.createElement('div'),uid='lvs'+Math.random().toString(36).slice(2,7);pop.className='lvs-pop';pop.id=uid;pop.setAttribute('role','listbox');pop.setAttribute('aria-label','הצעות חיפוש');pop.hidden=true;wrap.appendChild(pop);
if(!input.placeholder)input.placeholder='חיפוש מאמרים, נושאים ומושגים…';
input.setAttribute('aria-label',input.getAttribute('aria-label')||'חיפוש בבלוג');input.setAttribute('autocomplete','off');input.setAttribute('role','combobox');input.setAttribute('aria-autocomplete','list');input.setAttribute('aria-controls',uid);input.setAttribute('aria-expanded','false');
if(parseFloat(getComputedStyle(input).fontSize)<16)input.style.fontSize='16px';
var timer,ctrl,active=-1,opts=[];
function close(){pop.hidden=true;input.setAttribute('aria-expanded','false');input.removeAttribute('aria-activedescendant');active=-1}
function setActive(i){opts.forEach(function(o,k){o.setAttribute('aria-selected',k===i?'true':'false')});active=i;if(i>=0){input.setAttribute('aria-activedescendant',opts[i].id);opts[i].scrollIntoView({block:'nearest'})}else input.removeAttribute('aria-activedescendant')}
function show(html){pop.innerHTML=html;pop.hidden=false;input.setAttribute('aria-expanded','true');opts=[].slice.call(pop.querySelectorAll('[role=option]'));active=-1}
function allUrl(q){var u=new URL(form.action||'/',location.href);new FormData(form).forEach(function(v,k){u.searchParams.set(k,v)});u.searchParams.set('s',q);return u.href}
function run(){var q=input.value.trim();if(q.length<2){close();return}
if(ctrl)ctrl.abort();ctrl=window.AbortController?new AbortController():null;var ts=terms(q);
show('
'}).join('');
h+='לכל '+r.total+' התוצאות עבור „'+esc(q)+'”←';show(h)
}).catch(function(e){if(e&&e.name==='AbortError')return;close()})}
input.addEventListener('input',function(){clearTimeout(timer);timer=setTimeout(run,220)});
input.addEventListener('focus',function(){if(pop.innerHTML&&input.value.trim().length>=2){pop.hidden=false;input.setAttribute('aria-expanded','true')}});
input.addEventListener('keydown',function(e){if(pop.hidden)return;
if(e.key==='ArrowDown'){e.preventDefault();setActive(Math.min(opts.length-1,active+1))}
else if(e.key==='ArrowUp'){e.preventDefault();setActive(Math.max(-1,active-1))}
else if(e.key==='Escape'){close()}
else if(e.key==='Enter'&&active>=0){e.preventDefault();location.href=opts[active].href}});
document.addEventListener('click',function(e){if(!wrap.contains(e.target))close()});
form.addEventListener('submit',function(e){if(input.value.trim().length<2){e.preventDefault();input.focus()}});
}/* ---------- rebuilt results page ---------- */
function resultsPage(){var main=document.querySelector('main#content.site-main'),sp=new URLSearchParams(location.search),q=(sp.get('s')||'').trim(),pt=sp.get('post_type');
if(!main)return;
var ts=terms(q);
// highlight server-rendered fallback regardless
main.querySelectorAll('.page-content article .entry-title a, .page-content article p').forEach(function(n){n.innerHTML=hl(n.textContent,ts)});
if(pt&&pt!=='post')return;if(!q)return;
var m=location.pathname.match(/\/page\/(\d+)/),startPage=m?+m[1]:1;
var root=document.createElement('div');root.className='lvs-page';
root.innerHTML='
חיפוש בבלוג
';
main.insertBefore(root,main.firstChild);document.body.classList.add('lvs-on');
var list=root.querySelector('.lvs-list'),sum=root.querySelector('.lvs-sum'),page=startPage,total=0,pages=0,more;
function card(n){return'
'}
function clearSkel(){root.querySelectorAll('.lvs-skel').forEach(function(s){s.remove()})}
function fail(){clearSkel();root.remove();document.body.classList.remove('lvs-on')}
function renderMore(){if(more)more.remove();more=null;if(page '+(total===1?'מאמר':'מאמרים')+' עבור „'+esc(q)+'”';
list.insertAdjacentHTML('beforeend',r.items.map(function(x){return card(norm(x,ts,230))}).join(''));renderMore()
}).catch(function(){if(append&&more){more.disabled=false;more.textContent='שגיאה בטעינה, נסו שוב'}else fail()})}
function empty(){sum.innerHTML='לא נמצאו מאמרים עבור „'+esc(q)+'”. מחפש תוצאות קרובות…';root.insertAdjacentHTML('beforeend','');
return fallback(q,6).then(function(alt){clearSkel();sum.innerHTML='לא נמצאו מאמרים עבור „'+esc(q)+'”';var tips='
לא מצאנו התאמה מדויקת
נסו מילה אחת או צורה קצרה יותר (למשל „זוגיות” במקום „והזוגיות”), בדקו את האיות, או חזרו לכל המאמרים בבלוג.