(function(){function oca(a){var g=0;return function(){return g<a.length?{done:!1,value:a[g++]}:{done:!0}}}function ocb(a){var g="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return g?g.call(a):{next:oca(a)}}
function occ(){function a(){return window.scrollY||p.scrollTop}function g(b,l,k){function m(r,n,q){f(Math.max(0,b.s(r)-k),n,q)}function f(r,n,q){t();if(0===n||n&&0>n||h(b.body))b.J(r),q&&q();else{var w=b.F(),D=Math.max(0,r)-w,F=(new Date).getTime();n=n||Math.min(Math.abs(D),l);(function A(){x=setTimeout(function(){var y=Math.min(1,((new Date).getTime()-F)/n),B=Math.max(0,Math.floor(w+D*(.5>y?2*y*y:y*(4-2*y)-1)));b.J(B);1>y&&b.N()+B<b.body.scrollHeight?A():(setTimeout(t,99),q&&q())},9)})()}}function t(){clearTimeout(x);x=0}l=l||999;k||0===k||(k=9);var x;return{setup:function(r,n){if(0===r||r)l=r;if(0===n||n)k=n;return{Ja:l,Z:k}},to:m,toY:f,intoView:function(r,n,q){var w=r.getBoundingClientRect().height,D=b.s(r)+w,F=b.N(),E=b.F(),A=E+F;Math.max(0,b.s(r)-k)<E||w+k>F?m(r,n,q):D+k>A?f(D-F+k,n,q):q&&q()},center:function(r,n,q,w){f(Math.max(0,b.s(r)-b.N()/2+(q||r.getBoundingClientRect().height/2)),n,w)},stop:t,moving:function(){return!!x},getY:b.F,getTopOf:b.s}}function h(b){return b&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(b)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var p=document.documentElement,u=g({body:document.scrollingElement||document.body,J:function(b){window.scrollTo(0,b)},F:a,N:function(){return window.innerHeight||p.clientHeight},s:function(b){return b.getBoundingClientRect().top+a()-p.offsetTop}});u.Ia=function(b,l,k){return g({body:b,J:function(m){b.scrollTop=m},F:function(){return b.scrollTop},N:function(){return Math.min(b.clientHeight,window.innerHeight||p.clientHeight)},s:function(m){return m.offsetTop}},l,k)};if("addEventListener"in window&&!window.Fa&&!h(document.body)){var c="history"in window&&"pushState"in history,e=c&&"scrollRestoration"in history;e&&(history.scrollRestoration="auto");window.addEventListener("load",function(){e&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(b){b.state&&"zenscrollY"in b.state&&u.J(b.state.Da)},!1));window.location.hash&&setTimeout(function(){var b=u.Ca().Z;if(b){var l=document.getElementById(window.location.href.split("#")[1]);l&&(b=Math.max(0,u.s(l)-b),l=u.F()-b,0<=l&&9>l&&window.scrollTo(0,b))}},9)},!1);var d=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(b){for(var l=b.target;l&&"A"!==l.tagName;)l=l.parentNode;if(!(!l||1!==b.which||b.shiftKey||b.metaKey||b.ctrlKey||b.altKey)){if(e){var k=history.state&&"object"===typeof history.state?history.state:{};k.Da=u.F();try{history.replaceState(k,"")}catch(f){}}var m=l.getAttribute("href")||"";if(0===m.indexOf("#")&&!d.test(l.className)){l=0;k=document.getElementById(m.substring(1));if("#"!==m){if(!k)return;l=u.s(k)}b.preventDefault();b=function(){window.location=m};if(k=u.Ca().Z)l=Math.max(0,l-k),c&&(b=function(){history.pushState({},"",m)});u.J(l,null,b)}}},!1)}return u}(function(){function a(d){this.g=c({},{ca:null,Ka:null,Ga:null,W:null,ga:!1,ta:!1,qa:[],na:"Close",A:["overlay","button","escape"]},d);this.wa()}function g(){this.f&&(this.f.style.width=this.i.clientWidth+"px",this.f.style.left=this.i.offsetLeft+"px")}function h(){this.b=document.createElement("div");this.b.classList.add("tingle-modal");0!==this.g.A.length&&-1!==this.g.A.indexOf("overlay")||this.b.classList.add("tingle-modal--noOverlayClose");this.b.style.display="none";this.g.qa.forEach(function(d){"string"===typeof d&&this.b.classList.add(d)},this);-1!==this.g.A.indexOf("button")&&(this.G=document.createElement("button"),this.G.type="button",this.G.classList.add("tingle-modal__close"),this.T=document.createElement("span"),this.T.classList.add("tingle-modal__closeIcon"),this.T.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.U=document.createElement("span"),this.U.classList.add("tingle-modal__closeLabel"),this.U.innerHTML=this.g.na,this.G.appendChild(this.T),this.G.appendChild(this.U));this.i=document.createElement("div");this.i.classList.add("tingle-modal-box");this.ba=document.createElement("div");this.ba.classList.add("tingle-modal-box__title");this.i.appendChild(this.ba);this.R=document.createElement("div");this.R.classList.add("tingle-modal-box__content");this.i.appendChild(this.R);-1!==this.g.A.indexOf("button")&&this.b.appendChild(this.G);this.b.appendChild(this.i)}function p(d){-1!==this.g.A.indexOf("escape")&&27===d.which&&this.ya()&&this.close()}function u(d){var b;if(b=-1!==this.g.A.indexOf("overlay")){for(b=d.target;(b=b.parentElement)&&!b.classList.contains("tingle-modal"););b=!b}b&&d.clientX<this.b.clientWidth&&this.close()}function c(){for(var d=1;d<arguments.length;d++)for(var b in arguments[d])arguments[d].hasOwnProperty(b)&&(arguments[0][b]=arguments[d][b]);return arguments[0]}var e=!1;a.prototype.wa=function(){this.b||(h.call(this),this.M={la:this.close.bind(this),ma:u.bind(this),resize:this.ka.bind(this),za:p.bind(this)},-1!==this.g.A.indexOf("button")&&this.G.addEventListener("click",this.M.la),this.b.addEventListener("mousedown",this.M.ma),window.addEventListener("resize",this.M.resize),document.addEventListener("keydown",this.M.za),document.body.insertBefore(this.b,document.body.firstChild),this.g.ta&&this.ja())};a.prototype.V=function(d){e=d};a.prototype.ia=function(){return e};a.prototype.ya=function(){return!!this.b.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.ia()){this.V(!0);if("function"!==typeof this.g.W||this.g.W.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.Ea,behavior:"instant"}),document.body.style.top=null,this.b.classList.remove("tingle-modal--visible"),this.b.style.display="none","function"===typeof this.g.ca&&this.g.ca.call(this);this.V(!1)}};a.prototype.ja=function(){this.f=document.createElement("div");this.f.classList.add("tingle-modal-box__footer");this.i.appendChild(this.f)};a.prototype.ea=function(d){this.P()||(d=!1);d?this.i.contains(this.f)&&(this.i.removeChild(this.f),this.b.appendChild(this.f),this.f.classList.add("tingle-modal-box__footer--sticky"),g.call(this),this.R.style["padding-bottom"]=this.f.clientHeight+20+"px"):this.f&&!this.i.contains(this.f)&&(this.b.removeChild(this.f),this.i.appendChild(this.f),this.f.style.width="auto",this.f.style.left="",this.R.style["padding-bottom"]="",this.f.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.P=function(){return this.i.clientHeight>=window.innerHeight};a.prototype.ka=function(){this.b.classList.contains("tingle-modal--visible")&&(this.P()?this.b.classList.add("tingle-modal--overflow"):this.b.classList.remove("tingle-modal--overflow"),!this.P()&&this.g.ga?this.ea(!1):this.P()&&this.g.ga&&(g.call(this),this.ea(!0)))};return{b:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function ocd(a){function g(f){function t(){for(var x=f.offsetLeft,r=f.offsetTop+f.offsetHeight,n=f;n.offsetParent;)n=n.offsetParent,x+=n.offsetLeft,r+=n.offsetTop;n=m;var q="undefined"!==n.value+""?p(n.value):p(n.innerHTML);if(!document.getElementById("datepicker")){var w=document.createElement("div");w.id="datepicker";w.className="date-picker-container-div";document.body.appendChild(w);oce()}ocf();w=document.getElementById("datepicker");w.style.left=x+"px";w.style.display="block";h(n,q.getFullYear(),q.getMonth(),q.getDate());mobileBrowser&&500<w.offsetHeight&&(r=document.documentElement.scrollTop+20);w.style.top=r+"px"}f||(f=m);a.u||!mobileBrowser?m.onfocus=t:m.nextElementSibling.onclick=t}function h(f,t,x,r){function n(){E.innerHTML="";c.fa(new Date(D,F-1,w));ocg();k()}function q(G,C){Array.prototype.map.call(G.childNodes,function(J){J.classList.remove(C)})}f=new Date;0<=x&&0<t?f=new Date(t,x,1):(r=f.getDate(),f.setDate(1));var w=r,D=t,F=x+1,E=document.createElement("div");E.className="calendar-widget";f=document.createElement("div");f.className="calendar-list-container";E.appendChild(f);var A=document.createElement("div");A.className="date-picker-list date-picker-day-list";f.appendChild(A);var y=document.createElement("month");y.className="date-picker-list date-picker-month-list";E.appendChild(y);var B=document.createElement("year");B.className="date-picker-list date-picker-year-list";for(var v={C:0};v.C<d.length;v={C:v.C},v.C++){var z=document.createElement("div");z.className="month-item";z.innerHTML=d[v.C];z.onclick=function(G){return function(){var C=G.C;F=C+1;q(y,"selected-date");y.childNodes[C].classList.add("selected-date");e&&n()}}(v);y.appendChild(z)}var H=0;if(!mobileBrowser&&10<l-b)for(H=0;H<b%10;H++)v=document.createElement("div"),v.className="year-item",v.innerHTML="",B.appendChild(v);v={};for(v.B=b;v.B<=l;v={B:v.B},v.B++)z=document.createElement("div"),z.className="year-item",z.innerHTML=v.B,z.onclick=function(G){return function(){var C=H+G.B-b;D=b+C-H;I=C;q(B,"selected-date");B.childNodes[C].classList.add("selected-date");e&&n()}}(v),B.appendChild(z);for(v={D:0};31>v.D;v={D:v.D},v.D++)z=document.createElement("div"),z.className="day-item",z.innerHTML=v.D+1,z.onclick=function(G){return function(){var C=G.D;w=C+1;q(A,"selected-date");A.childNodes[C].classList.add("selected-date");e&&n()}}(v),A.appendChild(z);f.appendChild(A);f.appendChild(y);f.appendChild(B);a.H&&(A.style.display="none");a.I&&(y.style.display="none");a.O&&(B.style.display="none");document.getElementById("datepicker").innerHTML="";document.getElementById("datepicker").appendChild(E);var I=H+t-b;I=Math.max(I,0);try{y.childNodes[x].classList.add("selected-date"),A.childNodes[r-1].classList.add("selected-date"),B.childNodes[I].classList.add("selected-date")}catch(G){}t=document.createElement("div");t.className="calendar-button_container";e||(x=och({caption:"אישור",onclick:n}),t.appendChild(x));E.appendChild(t)}function p(f){if(a.u)return new Date(f);var t;if(""===f)return a.Y;try{var x;0<=f.indexOf("/")?x=f.split("/"):0<=f.indexOf(".")?x=f.split("."):0<=f.indexOf("-")?x=f.split("-"):0<=f.indexOf("\\")?x=f.split("\\"):x=!1;if(t=x){var r=parseInt(t[0],10);var n=parseInt(t[1],10)-1;var q=parseInt(t[2],10);q=q<=(new Date).getFullYear()-2E3?q+2E3:q+1900;var w=new Date(q,n,r)}else w=f?new Date(f):new Date}catch(D){w=new Date}return w}function u(f){if(a.H&&a.I)return f.getFullYear();var t=f.getYear()%100;return f.getDate()+"/"+(f.getMonth()+1)+"/"+(10>t?"0"+t:t)}var c=this,e=!a.O&&a.I&&a.H||a.O&&!a.I&&a.H||a.O&&a.I&&!a.H,d="ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),b=a.Ba,l=a.Aa,k=a.onclick||function(){};c.Ma=function(f){b=f};c.La=function(f){l=f};var m=a.ha;a.u||g(a.ha);c.va=function(){return p(m.value)};c.fa=function(f){a.u?(m.value=f.toISOString().split("T")[0],m.nextElementSibling.innerHTML=u(f)):(mobileBrowser&&(m.nextElementSibling.innerHTML=u(f)),m.value=u(f))};c.fa(a.Y);a.u&&m.addEventListener("change",function(){m.nextElementSibling.innerHTML=u(new Date(m.value))})}var oci=void 0;function oc(a){a=parseInt(document.querySelectorAll("input[name="+a+"][type=radio]:checked")[0].value,10);return a}function ocj(a,g){var h=new XMLHttpRequest;h.addEventListener("load",function(p){4===p.target.readyState&&g(p.target.responseText,0,p.target.responseXML)});a=ock(a);h.open("POST","non_health_calculators/nekudot_zikuy/get_points.php");h.setRequestHeader("Content-Type","application/x-www-form-urlencoded");h.send(a)}
function ock(a){var g=[],h;for(h in a)g.push(h+"="+a[h]);return g.join("&")}function och(a){var g=document.createElement("div");g.className="animated-calculator-button";g.innerHTML=a.caption||"";a.onclick&&(g.onclick=a.onclick);return g}function ocl(a){a.a.m=[{caption:"כן",value:1},{caption:"לא",value:0}];return ocm(a)}
function ocn(a){var g=a.caption,h=document.createElement("div");h.id=a.X||"";h.className="animated-calendar-container";var p=document.createElement("label");p.className="animated-calendar-container-label";p.innerHTML=g||"";h.appendChild(p);a.w.u=mobileBrowser&&!a.w.H&&!a.w.I&&!a.w.O;g=oco(a.w);h.appendChild(g.sa);a.w.ha=g.input;return{ra:new ocd(a.w),pa:h}}
function ocm(a){var g=document.createElement("div");a.X&&(g.id=a.X);g.className="animated-popup-button-set-container";a.oa&&g.classList.add(a.oa);var h=document.createElement("label");h.className=a.Na||"animated-popup-button-set-container-label";h.innerHTML=a.c||"";g.appendChild(h);a=ocp(a.a);g.appendChild(a);return g}function oce(){var a=document.getElementById("overlay_div");a||(a=document.createElement("div"),a.id="overlay_div",a.className="overlay_div",document.body.appendChild(a));return a}
function ocf(){var a=document.getElementById("overlay_div");a.style.height=document.body.scrollHeight+"px";a.style.display="block"}function ocg(){document.getElementById("overlay_div").style.display=""}function ocq(){var a=document.querySelector(".popup-button-set-div-army").querySelectorAll("input[name='army']");a[0].checked=!0;var g=new Event("change");a[0].dispatchEvent(g)}
function ocp(a){function g(k){k.preventDefault();ocg();e.style.display=""}function h(k){k.preventDefault();ocf();e.style.display=a.da;mobileBrowser&&500<e.offsetHeight&&(e.style.top=-document.documentElement.scrollTop+"px")}a.da=a.da||"block";a.aa=a.aa||"";var p=document.createElement("div");p.className="animated popup-button-set-div popup-button-set-div-"+a.name+" "+a.aa;var u=document.createElement("div");u.className="value-caption";u.innerHTML="בחירה";var c=document.createElement("div");c.className="visual-cue upside-down-triangle";c.innerHTML="\u25bc";p.appendChild(u);p.appendChild(c);var e=document.createElement("div");e.className="popup-div above-overlay";var d=oce();d.onclick=g;d.addEventListener("click",g);c.onclick=h;u.onclick=h;p.appendChild(e);var b=[];c={};d=ocb(a.m);for(var l=d.next();!l.done;c={v:c.v,L:c.L,o:c.o,S:c.S,j:c.j,K:c.K,l:c.l},l=d.next())c.v=l.value,c.o=document.createElement("div"),c.o.className="popup-button-set-div-button",c.l=document.createElement("label"),c.l.innerHTML=c.v.caption,c.l.className=c.v.Ha||"",c.j=document.createElement("input"),c.j.type="radio",c.j.name=a.name,c.j.value=c.v.value,c.S=a.onclick||function(){},c.L=function(k){return function(){return u.innerHTML=k.v.caption}}(c),c.K=function(k){return function(m,f){k.L();b.map(function(t){t.classList.remove("selected-popup-button-in-set")});k.o.classList.add("selected-popup-button-in-set");f&&k.S(m,k.j.value);g(m)}}(c),c.j.onchange=function(k){return function(m){k.K(m,!0)}}(c),c.l.onmouseup=function(k){return function(m){k.l.dataset.disabled&&"false"!==k.l.dataset.disabled?m.preventDefault():k.j.checked&&k.K(m,!1)}}(c),a.h===c.v.value&&(c.j.checked=!0,c.o.classList.add("selected-popup-button-in-set"),c.L()),c.l.appendChild(c.j),c.o.appendChild(c.l),c.j.style.display="none",e.appendChild(c.o),b.push(c.o);return p}
function oco(a){var g=document.createElement("div");g.className="calendar-div-input";var h=document.createElement("input");h.setAttribute("autocomplete","off");h.type=a.u?"date":"text";h.className="calendar-text-input";h.id=a.xa;h.value=a.h||"";g.appendChild(h);if(a.u||mobileBrowser){var p=document.createElement("label");p.className="calendar-label-input";h.onchange=a.onclick||function(){};a.u&&p.setAttribute("for",h.id);g.appendChild(p)}return{sa:g,input:h}}
function ocr(a){oci||(oci=occ());oci.to(a)}function ocs(){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 g=a.next();!g.done;g=a.next())Array.prototype.map.call(document.getElementsByClassName(g.value),function(h){h.classList.add("popup_with_separator")})}(function(a){function g(){var e=p.ua();e={data:JSON.stringify(e)};ocj(e,h)}function h(e){e=eval(e);document.getElementById("points_value").innerHTML=e;document.getElementById("points_shekel_value").innerHTML=parseInt(219*e,10)+" שקלים בחודש.";document.getElementById("result-text-wrapper").style.visibility="visible";mobileBrowser&&ocr(document.getElementById("calculator_center_ad"))}a=void 0===a?!0:a;var p=this,u,c;p.ua=function(){var e=u.va();return{marital_status:oc("marital_status"),teenager:oc("teenager"),spouse_not_working:oc("spouse_not_working"),single_parent:oc("single_parent"),this_year_children:oc("this_year_kids"),prev_year_children:oc("prev_year_kids"),prev3_year_children:oc("prev3_year_kids"),prev4_year_children:oc("prev4_year_kids"),prev5_year_children:oc("prev5_year_kids"),regular_children:oc("kids_5_17"),new_18_children:oc("kids_18"),provide_for:oc("provide_for"),mezonot:oc("mezonot"),pension_employment:oc("pension_unemployed_spouse"),army:oc("army"),degree:oc("degree"),aliya:oc("alya"),aliya_day:e.getDate(),aliya_month:e.getMonth()+1,aliya_year:e.getFullYear(),illness:oc("child_handicap")}};(function(){c=document.getElementById("selection_panel");var e=ocm({a:{m:[{caption:"רווק",value:0},{caption:"נשוי",value:1},{caption:"גרוש",value:2},{caption:"אלמן",value:3},{caption:"רווקה",value:4},{caption:"נשואה",value:5},{caption:"גרושה",value:6},{caption:"אלמנה",value:7}],h:1,name:"marital_status"},c:"מצב משפחתי"});c.appendChild(e);e=ocl({a:{h:0,name:"teenager"},c:"האם גילך בין 16 ל-18?"});c.appendChild(e);e=ocl({a:{h:0,name:"spouse_not_working"},c:"<div>האם בן הזוג ללא הכנסה?</div><div class='smaller_content'>רק אם אחד מכם פנסיונר, עוור או נכה</div>"});c.appendChild(e);e=ocl({a:{h:0,name:"single_parent"},c:"<div>הורה יחיד?</div><div class='smaller_content'>ההורה השני של הילד נפטר או שבמרשם האוכלוסין לא מצוין ההורה השני</div>"});c.appendChild(e);e=(new Date).getFullYear();var d={a:{m:[{caption:"אין",value:0},{caption:"אחד",value:1},{caption:"שניים",value:2},{caption:"שלושה",value:3}],h:0,name:"this_year_kids"},c:"ילדים שנולדו בשנת "+e},b=ocm(d);c.appendChild(b);d.a.name="prev_year_kids";d.c="ילדים שנולדו בשנים "+(e-1)+"-"+(e-2);b=ocm(d);c.appendChild(b);d.a.name="prev3_year_kids";d.c="ילדים שנולדו בשנת "+(e-3);b=ocm(d);c.appendChild(b);d.a.name="prev4_year_kids";d.c="ילדים שנולדו בשנת "+(e-4);b=ocm(d);c.appendChild(b);d.a.name="prev5_year_kids";d.c="ילדים שנולדו בשנת "+(e-5);b=ocm(d);c.appendChild(b);d.a.name="kids_18";d.c="ילדים שהשנה בני 18";b=ocm(d);c.appendChild(b);b=ocl({a:{h:0,name:"child_handicap"},c:"<div>האם ילדך סובל מאחד מהמצבים הבאים?</div><div style='margin-top:0.5em;'>עיוור, חרש, אילם, משותק, מפגר, חולה בטלסמיה, דיסאוטונומיה או סיסטיק פיברוזיס</div>"});c.appendChild(b);d.a.name="kids_5_17";d.c="ילדים בגילאי 5-17 שאינם נכללים ברשימות לעיל";d.a.m.push({caption:"ארבעה",value:4});d.a.m.push({caption:"חמישה",value:5});d.a.m.push({caption:"שישה",value:6});d.a.m.push({caption:"שבעה",value:7});d=ocm(d);c.appendChild(d);d=ocl({a:{h:1,name:"provide_for"},c:"האם הילדים באחזקתך?"});c.appendChild(d);d=ocl({a:{h:0,name:"mezonot"},c:"האם אתה משלם מזונות לבת זוגך לשעבר<div class='smaller_content'>(ובמקביל התחתנת שוב עם אישה אחרת)?</div>"});c.appendChild(d);d=ocl({a:{h:0,name:"pension_unemployed_spouse"},c:"האם בן \\ בת הזוג מובטל מעל גיל פנסיה?"});c.appendChild(d);d=ocl({a:{h:0,name:"alya",onclick:function(k,m){l.style.display="1"===m?"":"none"}},c:"האם עלית לישראל בשנים האחרונות?"});c.appendChild(d);e=ocn({caption:"תאריך עליה",w:{xa:"alya_date",Ba:e-8,Aa:e,Y:new Date}});var l=e.pa;u=e.ra;c.appendChild(l);l.style.display="none";e=ocm({a:{m:[{caption:"לא",value:0},{caption:"כן, לאחר שירות של מתחת לשנה",value:0},{caption:"כן, לאחר שירות של בין שנה לשנתיים",value:1},{caption:"כן, לאחר שירות של מעל שנתיים",value:2}],h:0,name:"army"},c:"האם השתחררת משירות צבאי בשלוש השנים האחרונות?"});c.appendChild(e);ocq();e=ocm({a:{m:[{caption:"לא סיימתי תואר בשנים האחרונות",value:0},{caption:"תואר ראשון בשנתיים האחרונות",value:1},{caption:"תואר שני בשנתיים האחרונות",value:2},{caption:"רפואה / רפואת שיניים בשנה שעברה",value:3},{caption:"רפואה / רפואת שיניים לפני שנתיים או שלוש",value:4}],h:0,name:"degree"},c:"<div>האם קיבלת תואר אקדמי בשנים האחרונות?</div><div class='smaller_content'>יש לשים לב כי עבור תואר ראשון/שני הזכאות היא לשנה אחת בלבד מתוך השנתיים, כלומר אם כבר נהנית מנקודת הזכות בשנה שעברה, לא תהנה ממנה השנה.</div>"});c.appendChild(e);a&&(e=och({caption:"חישוב"}),e.onclick=g,document.getElementById("calculator_buttons").appendChild(e),e=och({caption:"חישוב נוסף"}),e.onclick=function(){ocr(document.getElementsByClassName("calculator_wrapper")[0])},document.getElementById("result_buttons").appendChild(e));ocs()})()})()})();(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)})})({})})()