(function(){function oca(a){var e=0;return function(){return e<a.length?{done:!1,value:a[e++]}:{done:!0}}}function ocb(a){var e="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return e?e.call(a):{next:oca(a)}}
function occ(){function a(){return window.scrollY||d.scrollTop}function e(c,f,x){function w(k,l,q){h(Math.max(0,c.i(k)-x),l,q)}function h(k,l,q){r();if(0===l||l&&0>l||b(c.body))c.D(k),q&&q();else{var n=c.v(),y=Math.max(0,k)-n,B=(new Date).getTime();l=l||Math.min(Math.abs(y),f);(function C(){u=setTimeout(function(){var A=Math.min(1,((new Date).getTime()-B)/l),G=Math.max(0,Math.floor(n+y*(.5>A?2*A*A:A*(4-2*A)-1)));c.D(G);1>A&&c.G()+G<c.body.scrollHeight?C():(setTimeout(r,99),q&&q())},9)})()}}function r(){clearTimeout(u);u=0}f=f||999;x||0===x||(x=9);var u;return{setup:function(k,l){if(0===k||k)f=k;if(0===l||l)x=l;return{Ha:f,V:x}},to:w,toY:h,intoView:function(k,l,q){var n=k.getBoundingClientRect().height,y=c.i(k)+n,B=c.G(),F=c.v(),C=F+B;Math.max(0,c.i(k)-x)<F||n+x>B?w(k,l,q):y+x>C?h(y-B+x,l,q):q&&q()},center:function(k,l,q,n){h(Math.max(0,c.i(k)-c.G()/2+(q||k.getBoundingClientRect().height/2)),l,n)},stop:r,moving:function(){return!!u},getY:c.v,getTopOf:c.i}}function b(c){return c&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(c)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var d=document.documentElement,m=e({body:document.scrollingElement||document.body,D:function(c){window.scrollTo(0,c)},v:a,G:function(){return window.innerHeight||d.clientHeight},i:function(c){return c.getBoundingClientRect().top+a()-d.offsetTop}});m.Ga=function(c,f,x){return e({body:c,D:function(w){c.scrollTop=w},v:function(){return c.scrollTop},G:function(){return Math.min(c.clientHeight,window.innerHeight||d.clientHeight)},i:function(w){return w.offsetTop}},f,x)};if("addEventListener"in window&&!window.Da&&!b(document.body)){var z="history"in window&&"pushState"in history,p=z&&"scrollRestoration"in history;p&&(history.scrollRestoration="auto");window.addEventListener("load",function(){p&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(c){c.state&&"zenscrollY"in c.state&&m.D(c.state.Ba)},!1));window.location.hash&&setTimeout(function(){var c=m.xa().V;if(c){var f=document.getElementById(window.location.href.split("#")[1]);f&&(c=Math.max(0,m.i(f)-c),f=m.v()-c,0<=f&&9>f&&window.scrollTo(0,c))}},9)},!1);var v=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(c){for(var f=c.target;f&&"A"!==f.tagName;)f=f.parentNode;if(!(!f||1!==c.which||c.shiftKey||c.metaKey||c.ctrlKey||c.altKey)){if(p){var x=history.state&&"object"===typeof history.state?history.state:{};x.Ba=m.v();try{history.replaceState(x,"")}catch(h){}}var w=f.getAttribute("href")||"";if(0===w.indexOf("#")&&!v.test(f.className)){f=0;x=document.getElementById(w.substring(1));if("#"!==w){if(!x)return;f=m.i(x)}c.preventDefault();c=function(){window.location=w};if(x=m.xa().V)f=Math.max(0,f-x),z&&(c=function(){history.pushState({},"",w)});m.D(f,null,c)}}},!1)}return m}(function(){function a(v){this.c=z({},{Y:null,Ja:null,Ea:null,S:null,ba:!1,na:!1,ja:[],ha:"Close",m:["overlay","button","escape"]},v);this.pa()}function e(){this.b&&(this.b.style.width=this.h.clientWidth+"px",this.b.style.left=this.h.offsetLeft+"px")}function b(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.m.length&&-1!==this.c.m.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.ja.forEach(function(v){"string"===typeof v&&this.a.classList.add(v)},this);-1!==this.c.m.indexOf("button")&&(this.w=document.createElement("button"),this.w.type="button",this.w.classList.add("tingle-modal__close"),this.N=document.createElement("span"),this.N.classList.add("tingle-modal__closeIcon"),this.N.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.O=document.createElement("span"),this.O.classList.add("tingle-modal__closeLabel"),this.O.innerHTML=this.c.ha,this.w.appendChild(this.N),this.w.appendChild(this.O));this.h=document.createElement("div");this.h.classList.add("tingle-modal-box");this.X=document.createElement("div");this.X.classList.add("tingle-modal-box__title");this.h.appendChild(this.X);this.J=document.createElement("div");this.J.classList.add("tingle-modal-box__content");this.h.appendChild(this.J);-1!==this.c.m.indexOf("button")&&this.a.appendChild(this.w);this.a.appendChild(this.h)}function d(v){-1!==this.c.m.indexOf("escape")&&27===v.which&&this.ta()&&this.close()}function m(v){var c;if(c=-1!==this.c.m.indexOf("overlay")){for(c=v.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&v.clientX<this.a.clientWidth&&this.close()}function z(){for(var v=1;v<arguments.length;v++)for(var c in arguments[v])arguments[v].hasOwnProperty(c)&&(arguments[0][c]=arguments[v][c]);return arguments[0]}var p=!1;a.prototype.pa=function(){this.a||(b.call(this),this.F={fa:this.close.bind(this),ga:m.bind(this),resize:this.ea.bind(this),ua:d.bind(this)},-1!==this.c.m.indexOf("button")&&this.w.addEventListener("click",this.F.fa),this.a.addEventListener("mousedown",this.F.ga),window.addEventListener("resize",this.F.resize),document.addEventListener("keydown",this.F.ua),document.body.insertBefore(this.a,document.body.firstChild),this.c.na&&this.da())};a.prototype.R=function(v){p=v};a.prototype.ca=function(){return p};a.prototype.ta=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.ca()){this.R(!0);if("function"!==typeof this.c.S||this.c.S.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.Ca,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.Y&&this.c.Y.call(this);this.R(!1)}};a.prototype.da=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.h.appendChild(this.b)};a.prototype.Z=function(v){this.I()||(v=!1);v?this.h.contains(this.b)&&(this.h.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),e.call(this),this.J.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.h.contains(this.b)&&(this.a.removeChild(this.b),this.h.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.J.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};a.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};a.prototype.I=function(){return this.h.clientHeight>=window.innerHeight};a.prototype.ea=function(){this.a.classList.contains("tingle-modal--visible")&&(this.I()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.I()&&this.c.ba?this.Z(!1):this.I()&&this.c.ba&&(e.call(this),this.Z(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.reverse=function(){return this.split("").reverse().join("")};function ocd(a){function e(g){g.preventDefault();if(!p.disabled){var D=g;g.touches&&(D=g.touches[0]);c=this===k?k.offsetLeft:l.offsetLeft;v=D.pageX-c;t=this;document.addEventListener("mousemove",b);document.addEventListener("mouseup",d);document.addEventListener("touchmove",b);document.addEventListener("touchend",d)}}function b(g){if(!p.disabled){var D=g;g.touches&&(D=g.touches[0]);c=D.pageX-v;g=l?l.offsetLeft:n.offsetWidth;t===k?(c>g?c=g:0>c&&(c=0),t.style.left=c+"px"):t===l&&(c<k.offsetLeft+k.offsetWidth-10?c=k.offsetLeft+k.offsetWidth-10:c>G&&(c=G),t.style.left=c+"px");q.style.marginLeft=k.offsetLeft-k.offsetWidth/2+"px";q.style.width=g-k.offsetLeft+"px";z();if(a.onchange&&x)a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)}}function d(){document.removeEventListener("mousemove",b);document.removeEventListener("mouseup",d);document.removeEventListener("touchmove",b);document.removeEventListener("touchend",d);p.disabled||(t=null,z(),p.ma&&x&&p.ma(f.getAttribute("se-min-value"),f.getAttribute("se-max-value")))}function m(){r.style.opacity="1";setTimeout(function(){r.style.opacity="0"},3E3)}function z(){var g=k.offsetLeft/E*(B-y)+y;var D=0*(B-y)+y;if(0!==A){var H=Math.floor(g/A);g=A*H;H=Math.floor(D/A);D=A*H}g>=B&&(h||m(),h=!0);g<=y&&(w||m(),w=!0);p.aa(g);f.setAttribute("se-min-value",g);f.setAttribute("se-max-value",D)}var p=this,v=0,c=0,f=a.L,x=!1,w=!1,h=!1,r=document.createElement("div");r.classList.add("slider-input-tooltip");r.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){u.parentNode.appendChild(r);r.style.left=u.parentNode.offsetWidth/2-r.offsetWidth/2+"px"},1);if(a.g)var u=a.g;else a.f&&(u=a.f);u.appendChild(r);var k=f.querySelector(".zb-slider-touch-left"),l=f.querySelector(".zb-slider-touch-right"),q=f.querySelector(".zb-non-active-slider-bar"),n=f.querySelector(".zb-slider-bar"),y=parseFloat(f.getAttribute("se-min")),B=parseFloat(f.getAttribute("se-max"));p.Na=function(g){y=g};p.Ka=function(g){B=g};p.enable=function(g){p.disabled=!g;g?(a.L.classList.remove("disabled"),u&&(u.classList.remove("disabled"),a.g?a.g.setAttribute("contenteditable",!0):a.f&&a.f.setAttribute("readonly",!1))):(a.L.classList.add("disabled"),u&&(u.classList.add("disabled"),a.g?a.g.setAttribute("contenteditable","false"):a.f&&a.f.setAttribute("readonly",!0)))};var F=y;f.hasAttribute("se-min-value")&&(F=parseFloat(f.getAttribute("se-min-value")));var C=B;f.hasAttribute("se-max-value")&&(C=parseFloat(f.getAttribute("se-max-value")));F<y&&(F=y);C>B&&(C=B);F>C&&(F=C);var A=0;f.getAttribute("se-step")&&(A=Math.abs(parseFloat(f.getAttribute("se-step"))));p.L=f;p.reset=function(){k.style.left="0px";l&&(l.style.left=n.offsetWidth-k.offsetWidth+"px");q.style.marginLeft="0px";q.style.width=n.offsetWidth-k.offsetWidth+"px";c=v=0;b({pageX:0})};p.K=function(g,D){(void 0===D||D)&&p.aa(g);g>B&&(g=B);g<y&&(g=y);k.style.left=Math.ceil((g-y)/(B-y)*(n.offsetWidth-(k.offsetWidth+0)))+"px";q.style.marginLeft=k.offsetLeft+"px";q.style.width=l?l.offsetLeft-k.offsetLeft+"px":n.offsetWidth-k.offsetLeft+"px";f.setAttribute("se-min-value",g)};p.La=function(g){l&&(l.style.left=Math.ceil((g-y)/(B-y)*(n.offsetWidth-(k.offsetWidth+0)))+"px",q.style.marginLeft=k.offsetLeft+"px",q.style.width=l.offsetLeft-k.offsetLeft+"px",f.setAttribute("se-max-value",g))};p.aa=function(g){.01>Math.abs(Math.floor(100*g)-100*g)&&(g=Math.floor(1E3*g)/1E3);a.f?a.f.value=g:a.g.innerHTML=g};p.reset();var G=n.offsetWidth-(l?l.offsetWidth:0),t=null,E=n.offsetWidth;p.K(F);k.addEventListener("mousedown",e);k.addEventListener("touchstart",e);l&&(l.addEventListener("mousedown",e),l.addEventListener("touchstart",e));a.g?a.g.addEventListener("keyup",function(g){p.K(parseInt(g.target.innerHTML,10),!1);a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)}):a.f&&a.f.addEventListener("change",function(g){p.K(parseInt(g.target.value,10),!1);a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)});k.style.left=k.offsetLeft-10+"px";setTimeout(function(){E=n.offsetWidth;p.K(f.getAttribute("se-min-value"))},100);x=!0}
function oce(a){function e(h){function r(){for(var u=h.offsetLeft,k=h.offsetTop+h.offsetHeight,l=h;l.offsetParent;)l=l.offsetParent,u+=l.offsetLeft,k+=l.offsetTop;l=w;var q="undefined"!==l.value+""?d(l.value):d(l.innerHTML);if(!document.getElementById("datepicker")){var n=document.createElement("div");n.id="datepicker";n.className="date-picker-container-div";document.body.appendChild(n);n=document.getElementById("overlay_div");n||(n=document.createElement("div"),n.id="overlay_div",n.className="overlay_div",document.body.appendChild(n))}n=document.getElementById("overlay_div");n.style.height=document.body.scrollHeight+"px";n.style.display="block";n=document.getElementById("datepicker");n.style.left=u+"px";n.style.display="block";b(l,q.getFullYear(),q.getMonth(),q.getDate());mobileBrowser&&500<n.offsetHeight&&(k=document.documentElement.scrollTop+20);n.style.top=k+"px"}h||(h=w);a.j||!mobileBrowser?w.onfocus=r:w.nextElementSibling.onclick=r}function b(h,r,u,k){function l(){F.innerHTML="";z.P(new Date(y,B-1,n));document.getElementById("overlay_div").style.display="";x()}function q(H,I){Array.prototype.map.call(H.childNodes,function(J){J.classList.remove(I)})}h=new Date;0<=u&&0<r?h=new Date(r,u,1):(k=h.getDate(),h.setDate(1));var n=k,y=r,B=u+1,F=document.createElement("div");F.className="calendar-widget";h=document.createElement("div");h.className="calendar-list-container";F.appendChild(h);var C=document.createElement("div");C.className="date-picker-list date-picker-day-list";h.appendChild(C);var A=document.createElement("month");A.className="date-picker-list date-picker-month-list";F.appendChild(A);var G=document.createElement("year");G.className="date-picker-list date-picker-year-list";for(var t={s:0};t.s<v.length;t={s:t.s},t.s++){var E=document.createElement("div");E.className="month-item";E.innerHTML=v[t.s];E.onclick=function(H){return function(){var I=H.s;B=I+1;q(A,"selected-date");A.childNodes[I].classList.add("selected-date");p&&l()}}(t);A.appendChild(E)}var g=0;if(!mobileBrowser&&10<f-c)for(g=0;g<c%10;g++)t=document.createElement("div"),t.className="year-item",t.innerHTML="",G.appendChild(t);t={};for(t.o=c;t.o<=f;t={o:t.o},t.o++)E=document.createElement("div"),E.className="year-item",E.innerHTML=t.o,E.onclick=function(H){return function(){var I=g+H.o-c;y=c+I-g;D=I;q(G,"selected-date");G.childNodes[I].classList.add("selected-date");p&&l()}}(t),G.appendChild(E);for(t={u:0};31>t.u;t={u:t.u},t.u++)E=document.createElement("div"),E.className="day-item",E.innerHTML=t.u+1,E.onclick=function(H){return function(){var I=H.u;n=I+1;q(C,"selected-date");C.childNodes[I].classList.add("selected-date");p&&l()}}(t),C.appendChild(E);h.appendChild(C);h.appendChild(A);h.appendChild(G);a.A&&(C.style.display="none");a.B&&(A.style.display="none");a.H&&(G.style.display="none");document.getElementById("datepicker").innerHTML="";document.getElementById("datepicker").appendChild(F);var D=g+r-c;D=Math.max(D,0);try{A.childNodes[u].classList.add("selected-date"),C.childNodes[k-1].classList.add("selected-date"),G.childNodes[D].classList.add("selected-date")}catch(H){}r=document.createElement("div");r.className="calendar-button_container";p||(u=ocf({caption:"אישור",onclick:l}),r.appendChild(u));F.appendChild(r)}function d(h){if(a.j)return new Date(h);var r;if(""===h)return a.U;try{var u;0<=h.indexOf("/")?u=h.split("/"):0<=h.indexOf(".")?u=h.split("."):0<=h.indexOf("-")?u=h.split("-"):0<=h.indexOf("\\")?u=h.split("\\"):u=!1;if(r=u){var k=parseInt(r[0],10);var l=parseInt(r[1],10)-1;var q=parseInt(r[2],10);q=q<=(new Date).getFullYear()-2E3?q+2E3:q+1900;var n=new Date(q,l,k)}else n=h?new Date(h):new Date}catch(y){n=new Date}return n}function m(h){if(a.A&&a.B)return h.getFullYear();var r=h.getYear()%100;return h.getDate()+"/"+(h.getMonth()+1)+"/"+(10>r?"0"+r:r)}var z=this,p=!a.H&&a.B&&a.A||a.H&&!a.B&&a.A||a.H&&a.B&&!a.A,v="ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),c=a.wa,f=a.va,x=a.onclick||function(){};z.Oa=function(h){c=h};z.Ma=function(h){f=h};var w=a.f;a.j||e(a.f);z.oa=function(){return d(w.value)};z.P=function(h){a.j?(w.value=h.toISOString().split("T")[0],w.nextElementSibling.innerHTML=m(h)):(mobileBrowser&&(w.nextElementSibling.innerHTML=m(h)),w.value=m(h))};z.P(a.U);a.j&&w.addEventListener("change",function(){w.nextElementSibling.innerHTML=m(new Date(w.value))})}var oc=void 0;function ocg(a){var e=document.createElement("div");e.style.width=a.width;e.className="slider-container";var b=document.createElement("div");e.appendChild(b);b.className="zb-slider";a.step&&b.setAttribute("se-step",a.step);b.setAttribute("se-min",a.min);b.setAttribute("se-max",a.max);a.M&&b.setAttribute("se-min-value",a.M);a.la&&b.setAttribute("se-min-max",a.la);var d=document.createElement("div");d.className="zb-slider-touch-left";b.appendChild(d);d.appendChild(document.createElement("span"));d=document.createElement("div");d.className="zb-slider-bar";b.appendChild(d);var m=document.createElement("span");m.className="zb-non-active-slider-bar";d.appendChild(m);a.parent&&(a.parent.appendChild(e),new ocd({L:b,f:a.f,g:a.g,onchange:a.onchange}));return{Fa:e,ya:b}}function ocf(a){var e=document.createElement("div");e.className="animated-calculator-button";e.innerHTML=a.caption||"";a.onclick&&(e.onclick=a.onclick);return e}var och=0;function oci(a){var e=document.createElement("div");e.className="text-slider-container";a.T&&(e.id=a.T);a.parent.appendChild(e);var b=document.createElement("div");e.appendChild(b);b.className="slider-and-label-container";var d=document.createElement("label");d.className=a.Pa||"slider-label";d.innerHTML=a.Aa||"";b.appendChild(d);void 0===a.C&&(a.C="___running_text_id_"+och++);a.type?(d=document.createElement("input"),d.className="slider-text-field",d.type=a.type||"text",a.Ia&&(d.pattern="\\d*")):(d=document.createElement("div"),d.setAttribute("contenteditable",!0),d.setAttribute("inputmode","decimal"),d.onfocus=function(p){window.getSelection().selectAllChildren(p.target)},d.className="slider-text-div");a.ra&&(d.onchange=a.ra);a.sa&&(d.onkeyup=a.sa);d.id=a.C;d.name=a.name;var m=a.za;if(a.type){m.f=d;var z="slider-text-field-container"}else m.g=d,z="slider-text-div-container";m.parent=b;ocg(m).ya.dataset.id=a.C;b=document.createElement("div");b.className=z;e.appendChild(b);b.appendChild(d);a.W&&(e=document.createElement("label"),e.className="slider-text-field-label",e.innerHTML=a.W||"",e.setAttribute("for",a.C),b.appendChild(e))}function ocj(a){var e=a.caption,b=document.createElement("div");b.id=a.T||"";b.className="animated-calendar-container";var d=document.createElement("label");d.className="animated-calendar-container-label";d.innerHTML=e||"";b.appendChild(d);a.l.j=mobileBrowser&&!a.l.A&&!a.l.B&&!a.l.H;e=ock(a.l);b.appendChild(e.g);a.l.f=e.input;return{ka:new oce(a.l),ia:b}}
function ock(a){var e=document.createElement("div");e.className="calendar-div-input";var b=document.createElement("input");b.setAttribute("autocomplete","off");b.type=a.j?"date":"text";b.className="calendar-text-input";b.id=a.qa;b.value=a.M||"";e.appendChild(b);if(a.j||mobileBrowser){var d=document.createElement("label");d.className="calendar-label-input";b.onchange=a.onclick||function(){};a.j&&d.setAttribute("for",b.id);e.appendChild(d)}return{g:e,input:b}}
function ocl(){var a=a||["animated-calendar-container","animated-popup-button-set-container","text-slider-container","animated-select-container","quick-nav-container"];a=ocb(a);for(var e=a.next();!e.done;e=a.next())Array.prototype.map.call(document.getElementsByClassName(e.value),function(b){b.classList.add("popup_with_separator")})}
function ocm(){for(var a=document.cookie.split(";"),e,b,d="",m=0;m<a.length;m++)if(e=a[m].split("="),b=e[0].replace(/^\s+|\s+$/g,""),"last_period_date"==b)return 1<e.length&&(d=unescape(e[1].replace(/^\s+|\s+$/g,""))),d;return null}function ocn(a,e){for(var b in e){var d=e[b];d&&"[object Object]"===Object.prototype.toString.call(d)?(void 0==a[b]&&(a[b]=a[b]||{}),ocn(a[b],d)):void 0==a[b]&&(a[b]=d)}return a}var oco={};oco=ocn(oco,{});(function(){function a(){var b=document.getElementById("period_length");b||(b=document.getElementsByName("period_length")[0]);var d=b.value;void 0===d&&(d=b.innerHTML);d=parseInt(d,10);b=e.oa();var m="",z=new Date;z.setTime(z.getTime());m&&(m*=864E5);z=new Date(z.getTime()+m);document.cookie="last_period_date="+escape(b)+(m?";expires="+z.toGMTString():"")+";path=/";b.setDate(b.getDate()+(d-13));d="00"+b.getDate();m="00"+(b.getMonth()+1);d=d.substring(d.length-2);m=m.substring(m.length-2);document.getElementById("ovulation_result").innerHTML="תאריך הביוץ הבא הוא "+(d+"/"+m+"/"+b.getFullYear());mobileBrowser&&(b=document.getElementById("calculator_center_ad"),oc||(oc=occ()),oc.to(b))}var e;(function(){var b=document.getElementById("selection_panel");try{var d=new Date;d.setDate(d.getDate()-35);var m=ocj({caption:"תאריך המחזור האחרון:",l:{qa:"last_period_date",wa:(new Date).getFullYear()-1,va:(new Date).getFullYear(),U:d}}),z=m.ia;e=m.ka;b.appendChild(z)}catch(p){console.log(p.stack)}oci({za:{step:1,min:15,max:35,M:28,width:"100%"},W:"ימים",Aa:"משך המחזור החודשי",name:"period_length",C:"period_length",parent:b});b=ocf({caption:"מתי הביוץ הבא?"});b.onclick=a;document.getElementById("calculator_buttons").appendChild(b);b=ocf({caption:"חישוב נוסף"});b.onclick=function(){var p=document.getElementsByClassName("calculator_wrapper")[0];oc||(oc=occ());oc.to(p)};document.getElementById("result_buttons").appendChild(b);ocl()})();(function(){var b=new Date;ocm()?b=new Date(ocm()):b.setDate(b.getDate()-10);e.P(b)})();return this})()})();(function(){function menu_(b){var d=0;return function(){return d<b.length?{done:!1,value:b[d++]}:{done:!0}}}(function(){function b(a){this.c=g({},{w:null,R:null,P:null,u:null,B:!1,K:!1,J:[],I:"Close",g:["overlay","button","escape"]},a);this.L()}function d(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function e(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.g.length&&-1!==this.c.g.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.J.forEach(function(a){"string"===typeof a&&this.a.classList.add(a)},this);-1!==this.c.g.indexOf("button")&&(this.h=document.createElement("button"),this.h.type="button",this.h.classList.add("tingle-modal__close"),this.m=document.createElement("span"),this.m.classList.add("tingle-modal__closeIcon"),this.m.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.o=document.createElement("span"),this.o.classList.add("tingle-modal__closeLabel"),this.o.innerHTML=this.c.I,this.h.appendChild(this.m),this.h.appendChild(this.o));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.v=document.createElement("div");this.v.classList.add("tingle-modal-box__title");this.f.appendChild(this.v);this.l=document.createElement("div");this.l.classList.add("tingle-modal-box__content");this.f.appendChild(this.l);-1!==this.c.g.indexOf("button")&&this.a.appendChild(this.h);this.a.appendChild(this.f)}function f(a){-1!==this.c.g.indexOf("escape")&&27===a.which&&this.M()&&this.close()}function m(a){var c;if(c=-1!==this.c.g.indexOf("overlay")){for(c=a.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&a.clientX<this.a.clientWidth&&this.close()}function g(){for(var a=1;a<arguments.length;a++)for(var c in arguments[a])arguments[a].hasOwnProperty(c)&&(arguments[0][c]=arguments[a][c]);return arguments[0]}var h=!1;b.prototype.L=function(){this.a||(e.call(this),this.i={G:this.close.bind(this),H:m.bind(this),resize:this.F.bind(this),N:f.bind(this)},-1!==this.c.g.indexOf("button")&&this.h.addEventListener("click",this.i.G),this.a.addEventListener("mousedown",this.i.H),window.addEventListener("resize",this.i.resize),document.addEventListener("keydown",this.i.N),document.body.insertBefore(this.a,document.body.firstChild),this.c.K&&this.D())};b.prototype.s=function(a){h=a};b.prototype.C=function(){return h};b.prototype.M=function(){return!!this.a.classList.contains("tingle-modal--visible")};b.prototype.close=function(){if(!this.C()){this.s(!0);if("function"!==typeof this.c.u||this.c.u.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.O,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.w&&this.c.w.call(this);this.s(!1)}};b.prototype.D=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};b.prototype.A=function(a){this.j()||(a=!1);a?this.f.contains(this.b)&&(this.f.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),d.call(this),this.l.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.f.contains(this.b)&&(this.a.removeChild(this.b),this.f.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.l.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};b.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};b.prototype.j=function(){return this.f.clientHeight>=window.innerHeight};b.prototype.F=function(){this.a.classList.contains("tingle-modal--visible")&&(this.j()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.j()&&this.c.B?this.A(!1):this.j()&&this.c.B&&(d.call(this),this.A(!0)))};return{a:b}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function menu_a(b){var d=new XMLHttpRequest;d.addEventListener("load",function(f){4===f.target.readyState&&b(f.target.responseText,0,f.target.responseXML)});var e=menu_b();""!==e&&(e="?"+e);d.open("GET","panel_content/print_menu_contents.php"+e);d.send("")}function menu_b(){var b={},d=[],e;for(e in b)d.push(e+"="+b[e]);return d.join("&")}
function menu_c(){"images/square_articles/food-bag_200_200-125.png images/square_articles/lettuce_with_measure_200_200-125.jpg images/square_articles/pregnant_apple_200_200-125.jpg images/square_articles/drinks_200_200-125.jpg images/calculators/house_dollar_swing_125_125.jpg images/calculators/tax_receipt_125_125.jpg images/calculators/coins3_125_125.jpg images/square_articles/calculator_10_200_200-125.jpg images/square_articles/dog_200_200-125.jpg images/square_articles/woman_weight_200_200-125.jpg images/square_articles/fruit_basket_2_200_200-125.jpg images/square_articles/housing_200_200-125.jpg images/square_articles/woman_belly_measure_200_200-125.jpg images/square_articles/pregnant_mirror_200_200-125.jpg images/square_articles/man_suit_watch_200_200-125.jpg images/square_articles/strawberris_200_200-125.jpg images/square_articles/wallet_200_200-125.jpg images/square_articles/dollar_house_200_200-125.jpg images/square_articles/kojak_200_200-125.jpg images/square_articles/graph_up_200_200-125.jpg images/square_articles/freud_200_200-125.jpg images/square_articles/pregnant_cyan_1_200_200-125.jpg images/square_articles/yellow_pepper_200_200-125.jpg images/square_articles/yin_yang_200_200-125.jpg images/square_articles/yellow_car_200_200-125.jpg images/square_articles/hitech_gym_200_200-125.jpg images/square_articles/fruit_basket_200_200-125.jpg images/square_articles/books_200_200-125.jpg images/categories/affiliates_200_200-125.jpg images/categories/gear_200_200-125.jpg images/authors/ami_and_reut2.jpg".split(" ").map(function(b,d){document.querySelector(".lazy_loaded_image_"+d).src=b})}(function(){function b(f){function m(){h();a=setTimeout(function(){k.classList.remove("visible");c=setTimeout(function(){k.classList.remove("top-visible");c=-1},200);a=-1},1E3)}function g(){n||(menu_c(),n=!0);Array.prototype.map.call(document.querySelectorAll("div.mbmenu.boxMenu"),function(l){l!==k&&(l.classList.remove("top-visible"),l.classList.remove("visible"))});h();k.classList.add("top-visible");k.classList.add("visible")}function h(){var l=[a,c];var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];l=p?p.call(l):{next:menu_(l)};for(p=l.next();!p.done;p=l.next())clearTimeout(p.value)}var a=-1,c=-1,k=document.getElementById(f.id.substr(0,f.id.indexOf("-header"))),n=!1;f.onmouseenter=g;f.onmouseleave=m;k.onmouseenter=g;k.onmouseleave=m}var d=document.getElementsByClassName("desktop-menu-item"),e;menu_a(function(f){f=(new DOMParser).parseFromString(f,"text/xml");var m=[];Array.prototype.map.call(f.childNodes[0].childNodes,function(g){return m.push(g)});m.map(function(g){var h=document.createElement("div"),a=g.getAttribute("id");h.className=g.getAttribute("class");h.id=a;if(g.innerHTML)h.innerHTML=g.innerHTML;else{e||(e=new XMLSerializer);var c=e;for(var k="",n=0;n<g.childNodes.length;n++)k+=c.serializeToString(g.childNodes[n]);h.innerHTML=k}document.getElementById(a+"-header").appendChild(h)});Array.prototype.map.call(d,b)})})({})})()