(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)}}var occ="function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,f){a!=Array.prototype&&a!=Object.prototype&&(a[e]=f.value)},ocd="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function oce(a,e){if(e){var f=ocd;a=a.split(".");for(var k=0;k<a.length-1;k++){var p=a[k];p in f||(f[p]={});f=f[p]}a=a[a.length-1];k=f[a];e=e(k);e!=k&&null!=e&&occ(f,a,{configurable:!0,writable:!0,value:e})}}
oce("Promise",function(a){function e(b){this.D=0;this.W=void 0;this.i=[];var c=this.O();try{b(c.resolve,c.reject)}catch(d){c.reject(d)}}function f(){this.i=null}function k(b){return b instanceof e?b:new e(function(c){c(b)})}if(a)return a;f.prototype.D=function(b){if(null==this.i){this.i=[];var c=this;this.O(function(){c.W()})}this.i.push(b)};var p=ocd.setTimeout;f.prototype.O=function(b){p(b,0)};f.prototype.W=function(){for(;this.i&&this.i.length;){var b=this.i;this.i=[];for(var c=0;c<b.length;++c){var d=b[c];b[c]=null;try{d()}catch(g){this.V(g)}}}this.i=null};f.prototype.V=function(b){this.O(function(){throw b})};e.prototype.O=function(){function b(g){return function(m){d||(d=!0,g.call(c,m))}}var c=this,d=!1;return{resolve:b(this.mb),reject:b(this.V)}};e.prototype.mb=function(b){if(b===this)this.V(new TypeError("A Promise cannot resolve to itself"));else if(b instanceof e)this.pb(b);else{a:switch(typeof b){case "object":var c=null!=b;break a;case "function":c=!0;break a;default:c=!1}c?this.jb(b):this.Ga(b)}};e.prototype.jb=function(b){var c=void 0;try{c=b.then}catch(d){this.V(d);return}"function"==typeof c?this.qb(c,b):this.Ga(b)};e.prototype.V=function(b){this.Ha(2,b)};e.prototype.Ga=function(b){this.Ha(1,b)};e.prototype.Ha=function(b,c){if(0!=this.D)throw Error("Cannot settle("+b+", "+c+"): Promise already settled in state"+this.D);this.D=b;this.W=c;this.hb()};e.prototype.hb=function(){if(null!=this.i){for(var b=0;b<this.i.length;++b)h.D(this.i[b]);this.i=null}};var h=new f;e.prototype.pb=function(b){var c=this.O();b.ea(c.resolve,c.reject)};e.prototype.qb=function(b,c){var d=this.O();try{b.call(c,d.resolve,d.reject)}catch(g){d.reject(g)}};e.prototype.then=function(b,c){function d(n,u){return"function"==typeof n?function(w){try{g(n(w))}catch(q){m(q)}}:u}var g,m,l=new e(function(n,u){g=n;m=u});this.ea(d(b,g),d(c,m));return l};e.prototype.catch=function(b){return this.then(void 0,b)};e.prototype.ea=function(b,c){function d(){switch(g.D){case 1:b(g.W);break;case 2:c(g.W);break;default:throw Error("Unexpected state: "+g.D)}}var g=this;null==this.i?h.D(d):this.i.push(d)};e.resolve=k;e.reject=function(b){return new e(function(c,d){d(b)})};e.race=function(b){return new e(function(c,d){for(var g=ocb(b),m=g.next();!m.done;m=g.next())k(m.value).ea(c,d)})};e.all=function(b){var c=ocb(b),d=c.next();return d.done?k([]):new e(function(g,m){function l(w){return function(q){n[w]=q;u--;0==u&&g(n)}}var n=[],u=0;do n.push(void 0),u++,k(d.value).ea(l(n.length-1),m),d=c.next();while(!d.done)})};return e});function ocf(){function a(){return window.scrollY||k.scrollTop}function e(d,g,m){function l(q,t,v){n(Math.max(0,d.G(q)-m),t,v)}function n(q,t,v){u();if(0===t||t&&0>t||f(d.body))d.Z(q),v&&v();else{var x=d.S(),z=Math.max(0,q)-x,B=(new Date).getTime();t=t||Math.min(Math.abs(z),g);(function C(){w=setTimeout(function(){var A=Math.min(1,((new Date).getTime()-B)/t),G=Math.max(0,Math.floor(x+z*(.5>A?2*A*A:A*(4-2*A)-1)));d.Z(G);1>A&&d.fa()+G<d.body.scrollHeight?C():(setTimeout(u,99),v&&v())},9)})()}}function u(){clearTimeout(w);w=0}g=g||999;m||0===m||(m=9);var w;return{setup:function(q,t){if(0===q||q)g=q;if(0===t||t)m=t;return{Cb:g,Ca:m}},to:l,toY:n,intoView:function(q,t,v){var x=q.getBoundingClientRect().height,z=d.G(q)+x,B=d.fa(),F=d.S(),C=F+B;Math.max(0,d.G(q)-m)<F||x+m>B?l(q,t,v):z+m>C?n(z-B+m,t,v):v&&v()},center:function(q,t,v,x){n(Math.max(0,d.G(q)-d.fa()/2+(v||q.getBoundingClientRect().height/2)),t,x)},stop:u,moving:function(){return!!w},getY:d.S,getTopOf:d.G}}function f(d){return d&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(d)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var k=document.documentElement,p=e({body:document.scrollingElement||document.body,Z:function(d){window.scrollTo(0,d)},S:a,fa:function(){return window.innerHeight||k.clientHeight},G:function(d){return d.getBoundingClientRect().top+a()-k.offsetTop}});p.Bb=function(d,g,m){return e({body:d,Z:function(l){d.scrollTop=l},S:function(){return d.scrollTop},fa:function(){return Math.min(d.clientHeight,window.innerHeight||k.clientHeight)},G:function(l){return l.offsetTop}},g,m)};if("addEventListener"in window&&!window.i&&!f(document.body)){var h="history"in window&&"pushState"in history,b=h&&"scrollRestoration"in history;b&&(history.scrollRestoration="auto");window.addEventListener("load",function(){b&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(d){d.state&&"zenscrollY"in d.state&&p.Z(d.state.zb)},!1));window.location.hash&&setTimeout(function(){var d=p.xb().Ca;if(d){var g=document.getElementById(window.location.href.split("#")[1]);g&&(d=Math.max(0,p.G(g)-d),g=p.S()-d,0<=g&&9>g&&window.scrollTo(0,d))}},9)},!1);var c=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(d){for(var g=d.target;g&&"A"!==g.tagName;)g=g.parentNode;if(!(!g||1!==d.which||d.shiftKey||d.metaKey||d.ctrlKey||d.altKey)){if(b){var m=history.state&&"object"===typeof history.state?history.state:{};m.zb=p.S();try{history.replaceState(m,"")}catch(n){}}var l=g.getAttribute("href")||"";if(0===l.indexOf("#")&&!c.test(g.className)){g=0;m=document.getElementById(l.substring(1));if("#"!==l){if(!m)return;g=p.G(m)}d.preventDefault();d=function(){window.location=l};if(m=p.xb().Ca)g=Math.max(0,g-m),h&&(d=function(){history.pushState({},"",l)});p.Z(g,null,d)}}},!1)}return p}
var ocg=function(){function a(c){this.g=h({},{Ja:null,Ka:null,xa:null,wa:null,ka:!1,Ea:!1,Xa:[],na:"Close",F:["overlay","button","escape"]},c);this.cb()}function e(){this.h&&(this.h.style.width=this.o.clientWidth+"px",this.h.style.left=this.o.offsetLeft+"px")}function f(){this.c=document.createElement("div");this.c.classList.add("tingle-modal");0!==this.g.F.length&&-1!==this.g.F.indexOf("overlay")||this.c.classList.add("tingle-modal--noOverlayClose");this.c.style.display="none";this.g.Xa.forEach(function(c){"string"===typeof c&&this.c.classList.add(c)},this);-1!==this.g.F.indexOf("button")&&(this.U=document.createElement("button"),this.U.type="button",this.U.classList.add("tingle-modal__close"),this.qa=document.createElement("span"),this.qa.classList.add("tingle-modal__closeIcon"),this.qa.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.ra=document.createElement("span"),this.ra.classList.add("tingle-modal__closeLabel"),this.ra.innerHTML=this.g.na,this.U.appendChild(this.qa),this.U.appendChild(this.ra));this.o=document.createElement("div");this.o.classList.add("tingle-modal-box");this.pa=document.createElement("div");this.pa.classList.add("tingle-modal-box__title");this.o.appendChild(this.pa);this.T=document.createElement("div");this.T.classList.add("tingle-modal-box__content");this.o.appendChild(this.T);-1!==this.g.F.indexOf("button")&&this.c.appendChild(this.U);this.c.appendChild(this.o)}function k(c){-1!==this.g.F.indexOf("escape")&&27===c.which&&this.Ia()&&this.close()}function p(c){var d;if(d=-1!==this.g.F.indexOf("overlay")){for(d=c.target;(d=d.parentElement)&&!d.classList.contains("tingle-modal"););d=!d}d&&c.clientX<this.c.clientWidth&&this.close()}function h(){for(var c=1;c<arguments.length;c++)for(var d in arguments[c])arguments[c].hasOwnProperty(d)&&(arguments[0][d]=arguments[c][d]);return arguments[0]}var b=!1;a.prototype.cb=function(){this.c||(f.call(this),this.da={Ta:this.close.bind(this),Ua:p.bind(this),resize:this.ma.bind(this),ib:k.bind(this)},-1!==this.g.F.indexOf("button")&&this.U.addEventListener("click",this.da.Ta),this.c.addEventListener("mousedown",this.da.Ua),window.addEventListener("resize",this.da.resize),document.addEventListener("keydown",this.da.ib),document.body.insertBefore(this.c,document.body.firstChild),this.g.Ea&&this.Qa())};a.prototype.ca=function(c){b=c};a.prototype.ua=function(){return b};a.prototype.Ia=function(){return!!this.c.classList.contains("tingle-modal--visible")};a.prototype.open=function(){if(!this.ua())return this.ca(!0),"function"===typeof this.g.xa&&this.g.xa(),this.c.style.removeProperty?this.c.style.removeProperty("display"):this.c.style.removeAttribute("display"),this.va=window.pageYOffset,document.body.classList.add("tingle-enabled"),document.body.style.top=-this.va+"px",this.ta(this.g.ka),this.c.classList.add("tingle-modal--visible"),"function"===typeof this.g.Ka&&this.g.Ka.call(this),this.ca(!1),this.ma(),this};a.prototype.close=function(){if(!this.ua()){this.ca(!0);if("function"!==typeof this.g.wa||this.g.wa.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.va,behavior:"instant"}),document.body.style.top=null,this.c.classList.remove("tingle-modal--visible"),this.c.style.display="none","function"===typeof this.g.Ja&&this.g.Ja.call(this);this.ca(!1)}};a.prototype.Ma=function(c,d){var g=document.createElement("div");g.className="tingle-modal-box-content";"string"===typeof d?g.innerHTML=d:g.appendChild(d);c.innerHTML="";c.appendChild(g);this.Ia()&&this.ma()};a.prototype.tb=function(c){this.R=c};a.prototype.sb=function(c){this.Ma(this.T,c);this.R&&(c=document.createElement("div"),c.className="tingle-modal-box-icon",this.T.prepend(c),c.innerHTML=this.R);this.R=void 0};a.prototype.ub=function(c){this.Ma(this.pa,c)};a.prototype.Qa=function(){this.h=document.createElement("div");this.h.classList.add("tingle-modal-box__footer");this.o.appendChild(this.h)};a.prototype.ta=function(c){this.ha()||(c=!1);c?this.o.contains(this.h)&&(this.o.removeChild(this.h),this.c.appendChild(this.h),this.h.classList.add("tingle-modal-box__footer--sticky"),e.call(this),this.T.style["padding-bottom"]=this.h.clientHeight+20+"px"):this.h&&!this.o.contains(this.h)&&(this.c.removeChild(this.h),this.o.appendChild(this.h),this.h.style.width="auto",this.h.style.left="",this.T.style["padding-bottom"]="",this.h.classList.remove("tingle-modal-box__footer--sticky"))};a.prototype.Ra=function(c,d,g){var m=document.createElement("button");m.innerHTML=c;m.addEventListener("click",g);"string"===typeof d&&d.length&&d.split(" ").forEach(function(l){m.classList.add(l)});this.h.appendChild(m)};a.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};a.prototype.ha=function(){return this.o.clientHeight>=window.innerHeight};a.prototype.ma=function(){this.c.classList.contains("tingle-modal--visible")&&(this.ha()?this.c.classList.add("tingle-modal--overflow"):this.c.classList.remove("tingle-modal--overflow"),!this.ha()&&this.g.ka?this.ta(!1):this.ha()&&this.g.ka&&(e.call(this),this.ta(!0)))};return{c:a}}();function och(a,e){var f=document.createElement("script");f.async=!0;f.onload=e;f.src=a;document.getElementsByTagName("head")[0].appendChild(f)}var oci={};function ocj(){var a=["js/amcharts/core.js","js/amcharts/charts.js","js/amcharts/animated.js"];oci.amcharts=oci.amcharts||0;try{return new Promise(function(e){function f(){oci.amcharts++;oci.amcharts===a.length?e("scripts loaded"):och(a[oci.amcharts],f)}oci.amcharts<a.length?och(a[oci.amcharts],f):e("scripts already loaded")})}catch(e){return{then:function(){console.log("promises are not supported")}}}}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function ock(a){function e(r){r.preventDefault();if(!b.disabled){var D=r;r.touches&&(D=r.touches[0]);d=this===q?q.offsetLeft:t.offsetLeft;c=D.pageX-d;y=this;document.addEventListener("mousemove",f);document.addEventListener("mouseup",k);document.addEventListener("touchmove",f);document.addEventListener("touchend",k)}}function f(r){if(!b.disabled){var D=r;r.touches&&(D=r.touches[0]);d=D.pageX-c;r=t?t.offsetLeft:x.offsetWidth;y===q?(d>r?d=r:0>d&&(d=0),y.style.left=d+"px"):y===t&&(d<q.offsetLeft+q.offsetWidth-10?d=q.offsetLeft+q.offsetWidth-10:d>G&&(d=G),y.style.left=d+"px");v.style.marginLeft=q.offsetLeft-q.offsetWidth/2+"px";v.style.width=r-q.offsetLeft+"px";h();if(a.onchange&&m)a.onchange(g.getAttribute("se-min-value"),g.getAttribute("se-max-value"),g.dataset.id)}}function k(){document.removeEventListener("mousemove",f);document.removeEventListener("mouseup",k);document.removeEventListener("touchmove",f);document.removeEventListener("touchend",k);b.disabled||(y=null,h(),b.ab&&m&&b.ab(g.getAttribute("se-min-value"),g.getAttribute("se-max-value")))}function p(){u.style.opacity="1";setTimeout(function(){u.style.opacity="0"},3E3)}function h(){var r=q.offsetLeft/E*(B-z)+z;var D=0*(B-z)+z;if(0!==A){var H=Math.floor(r/A);r=A*H;H=Math.floor(D/A);D=A*H}r>=B&&(n||p(),n=!0);r<=z&&(l||p(),l=!0);b.Na(r);g.setAttribute("se-min-value",r);g.setAttribute("se-max-value",D)}var b=this,c=0,d=0,g=a.ja,m=!1,l=!1,n=!1,u=document.createElement("div");u.classList.add("slider-input-tooltip");u.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){w.parentNode.appendChild(u);u.style.left=w.parentNode.offsetWidth/2-u.offsetWidth/2+"px"},1);if(a.l)var w=a.l;else a.j&&(w=a.j);w.appendChild(u);var q=g.querySelector(".zb-slider-touch-left"),t=g.querySelector(".zb-slider-touch-right"),v=g.querySelector(".zb-non-active-slider-bar"),x=g.querySelector(".zb-slider-bar"),z=parseFloat(g.getAttribute("se-min")),B=parseFloat(g.getAttribute("se-max"));b.Kb=function(r){z=r};b.Hb=function(r){B=r};b.enable=function(r){b.disabled=!r;r?(a.ja.classList.remove("disabled"),w&&(w.classList.remove("disabled"),a.l?a.l.setAttribute("contenteditable",!0):a.j&&a.j.setAttribute("readonly",!1))):(a.ja.classList.add("disabled"),w&&(w.classList.add("disabled"),a.l?a.l.setAttribute("contenteditable","false"):a.j&&a.j.setAttribute("readonly",!0)))};var F=z;g.hasAttribute("se-min-value")&&(F=parseFloat(g.getAttribute("se-min-value")));var C=B;g.hasAttribute("se-max-value")&&(C=parseFloat(g.getAttribute("se-max-value")));F<z&&(F=z);C>B&&(C=B);F>C&&(F=C);var A=0;g.getAttribute("se-step")&&(A=Math.abs(parseFloat(g.getAttribute("se-step"))));b.ja=g;b.reset=function(){q.style.left="0px";t&&(t.style.left=x.offsetWidth-q.offsetWidth+"px");v.style.marginLeft="0px";v.style.width=x.offsetWidth-q.offsetWidth+"px";d=c=0;f({pageX:0})};b.ia=function(r,D){(void 0===D||D)&&b.Na(r);r>B&&(r=B);r<z&&(r=z);q.style.left=Math.ceil((r-z)/(B-z)*(x.offsetWidth-(q.offsetWidth+0)))+"px";v.style.marginLeft=q.offsetLeft+"px";v.style.width=t?t.offsetLeft-q.offsetLeft+"px":x.offsetWidth-q.offsetLeft+"px";g.setAttribute("se-min-value",r)};b.Ib=function(r){t&&(t.style.left=Math.ceil((r-z)/(B-z)*(x.offsetWidth-(q.offsetWidth+0)))+"px",v.style.marginLeft=q.offsetLeft+"px",v.style.width=t.offsetLeft-q.offsetLeft+"px",g.setAttribute("se-max-value",r))};b.Na=function(r){.01>Math.abs(Math.floor(100*r)-100*r)&&(r=Math.floor(1E3*r)/1E3);a.j?a.j.value=r:a.l.innerHTML=r};b.reset();var G=x.offsetWidth-(t?t.offsetWidth:0),y=null,E=x.offsetWidth;b.ia(F);q.addEventListener("mousedown",e);q.addEventListener("touchstart",e);t&&(t.addEventListener("mousedown",e),t.addEventListener("touchstart",e));a.l?a.l.addEventListener("keyup",function(r){b.ia(parseInt(r.target.innerHTML,10),!1);a.onchange(g.getAttribute("se-min-value"),g.getAttribute("se-max-value"),g.dataset.id)}):a.j&&a.j.addEventListener("change",function(r){b.ia(parseInt(r.target.value,10),!1);a.onchange(g.getAttribute("se-min-value"),g.getAttribute("se-max-value"),g.dataset.id)});q.style.left=q.offsetLeft-10+"px";setTimeout(function(){E=x.offsetWidth;b.ia(g.getAttribute("se-min-value"))},100);m=!0}
function ocl(a){function e(n){function u(){for(var w=n.offsetLeft,q=n.offsetTop+n.offsetHeight,t=n;t.offsetParent;)t=t.offsetParent,w+=t.offsetLeft,q+=t.offsetTop;t=l;var v="undefined"!==t.value+""?k(t.value):k(t.innerHTML);if(!document.getElementById("datepicker")){var x=document.createElement("div");x.id="datepicker";x.className="date-picker-container-div";document.body.appendChild(x);ocm()}ocn();x=document.getElementById("datepicker");x.style.left=w+"px";x.style.display="block";f(t,v.getFullYear(),v.getMonth(),v.getDate());mobileBrowser&&500<x.offsetHeight&&(q=document.documentElement.scrollTop+20);x.style.top=q+"px"}n||(n=l);a.H||!mobileBrowser?l.onfocus=u:l.nextElementSibling.onclick=u}function f(n,u,w,q){function t(){F.innerHTML="";h.Oa(new Date(z,B-1,x));oco();m()}function v(H,I){Array.prototype.map.call(H.childNodes,function(J){J.classList.remove(I)})}n=new Date;0<=w&&0<u?n=new Date(u,w,1):(q=n.getDate(),n.setDate(1));var x=q,z=u,B=w+1,F=document.createElement("div");F.className="calendar-widget";n=document.createElement("div");n.className="calendar-list-container";F.appendChild(n);var C=document.createElement("div");C.className="date-picker-list date-picker-day-list";n.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 y={M:0};y.M<c.length;y={M:y.M},y.M++){var E=document.createElement("div");E.className="month-item";E.innerHTML=c[y.M];E.onclick=function(H){return function(){var I=H.M;B=I+1;v(A,"selected-date");A.childNodes[I].classList.add("selected-date");b&&t()}}(y);A.appendChild(E)}var r=0;if(!mobileBrowser&&10<g-d)for(r=0;r<d%10;r++)y=document.createElement("div"),y.className="year-item",y.innerHTML="",G.appendChild(y);y={};for(y.L=d;y.L<=g;y={L:y.L},y.L++)E=document.createElement("div"),E.className="year-item",E.innerHTML=y.L,E.onclick=function(H){return function(){var I=r+H.L-d;z=d+I-r;D=I;v(G,"selected-date");G.childNodes[I].classList.add("selected-date");b&&t()}}(y),G.appendChild(E);for(y={N:0};31>y.N;y={N:y.N},y.N++)E=document.createElement("div"),E.className="day-item",E.innerHTML=y.N+1,E.onclick=function(H){return function(){var I=H.N;x=I+1;v(C,"selected-date");C.childNodes[I].classList.add("selected-date");b&&t()}}(y),C.appendChild(E);n.appendChild(C);n.appendChild(A);n.appendChild(G);a.X&&(C.style.display="none");a.Y&&(A.style.display="none");a.ga&&(G.style.display="none");document.getElementById("datepicker").innerHTML="";document.getElementById("datepicker").appendChild(F);var D=r+u-d;D=Math.max(D,0);try{A.childNodes[w].classList.add("selected-date"),C.childNodes[q-1].classList.add("selected-date"),G.childNodes[D].classList.add("selected-date")}catch(H){}u=document.createElement("div");u.className="calendar-button_container";b||(w=ocp({caption:"אישור",onclick:t}),u.appendChild(w));F.appendChild(u)}function k(n){if(a.H)return new Date(n);var u;if(""===n)return a.Aa;try{var w;0<=n.indexOf("/")?w=n.split("/"):0<=n.indexOf(".")?w=n.split("."):0<=n.indexOf("-")?w=n.split("-"):0<=n.indexOf("\\")?w=n.split("\\"):w=!1;if(u=w){var q=parseInt(u[0],10);var t=parseInt(u[1],10)-1;var v=parseInt(u[2],10);v=v<=(new Date).getFullYear()-2E3?v+2E3:v+1900;var x=new Date(v,t,q)}else x=n?new Date(n):new Date}catch(z){x=new Date}return x}function p(n){if(a.X&&a.Y)return n.getFullYear();var u=n.getYear()%100;return n.getDate()+"/"+(n.getMonth()+1)+"/"+(10>u?"0"+u:u)}var h=this,b=!a.ga&&a.Y&&a.X||a.ga&&!a.Y&&a.X||a.ga&&a.Y&&!a.X,c="ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),d=a.ob,g=a.nb,m=a.onclick||function(){};h.Lb=function(n){d=n};h.Jb=function(n){g=n};var l=a.j;a.H||e(a.j);h.bb=function(){return k(l.value)};h.Oa=function(n){a.H?(l.value=n.toISOString().split("T")[0],l.nextElementSibling.innerHTML=p(n)):(mobileBrowser&&(l.nextElementSibling.innerHTML=p(n)),l.value=p(n))};h.Oa(a.Aa);a.H&&l.addEventListener("change",function(){l.nextElementSibling.innerHTML=p(new Date(l.value))})}
var ocq={1:"\u2757",2:"\u2714\ufe0f",3:"\u2753",4:"\u2049\ufe0f",5:"\ud83d\uddd1\ufe0f",6:"",7:"\u2699\ufe0f",8:"\u26d4"},ocr={},ocs=void 0;function oct(){var a=void 0===a?{}:a;a.title="בעיה בשימוש במחשבון";a.content="חובה להזין משכורת בסיס";a.R=1;a.buttons=[{text:"אישור",za:!0,click:function(){},ya:"tingle-btn--primary"}];ocu(a)}
function ocv(a){var e=new ocg.c({Ea:!0,ka:!1,F:["overlay","button","escape"],na:a.na||"ביטול"});a.title&&e.ub(a.title);a.R&&e.tb(ocq[a.R]);e.sb(a.content||"");var f={};a=ocb(a.buttons);for(var k=a.next();!k.done;f={I:f.I},k=a.next())f.I=k.value,(k=f.I.ya||"")&&(k+=" "),k+="tingle-btn",e.Ra(f.I.text,k,function(p){return function(){p.I.click&&p.I.click();p.I.za&&e.close()}}(f));e.open();return e}
function ocu(a){a.buttons||(a.buttons=[{za:!0,text:"אישור",ya:"tingle-btn--primary"}]);void 0===ocr.alert&&(ocr.alert=[]);ocr.alert.push(ocv(a))}function ocw(a,e){if(void 0!==e){if("int"===e)return parseInt(a,10);if("float"===e)return parseFloat(a)}return a}function oc(a){return ocw(document.querySelectorAll("input[name="+a+"][type=radio]:checked")[0].value,"int")}
function ocx(a,e,f,k){var p=new XMLHttpRequest;p.addEventListener("load",function(b){4===b.target.readyState&&k(b.target.responseText,0,b.target.responseXML)});if("get"===a)a=ocy(f),""!==a&&(a="?"+a),p.open("GET",e+a),p.send("");else{var h;"compound_json"===a?h="request="+JSON.stringify(f):h=ocy(f);p.open("POST",e);p.setRequestHeader("Content-Type","application/x-www-form-urlencoded");p.send(h)}}function ocy(a){var e=[],f;for(f in a)e.push(f+"="+a[f]);return e.join("&")}
function ocz(a){var e=document.createElement("div");e.style.width=a.width;e.className="slider-container";var f=document.createElement("div");e.appendChild(f);f.className="zb-slider";a.step&&f.setAttribute("se-step",a.step);f.setAttribute("se-min",a.min);f.setAttribute("se-max",a.max);a.b&&f.setAttribute("se-min-value",a.b);a.$a&&f.setAttribute("se-min-max",a.$a);var k=document.createElement("div");k.className="zb-slider-touch-left";f.appendChild(k);k.appendChild(document.createElement("span"));k=document.createElement("div");k.className="zb-slider-bar";f.appendChild(k);var p=document.createElement("span");p.className="zb-non-active-slider-bar";k.appendChild(p);a.parent&&(a.parent.appendChild(e),new ock({ja:f,j:a.j,l:a.l,onchange:a.onchange}));return{Ab:e,yb:f}}function ocp(a){var e=document.createElement("div");e.className="animated-calculator-button";e.innerHTML=a.caption||"";a.onclick&&(e.onclick=a.onclick);return e}
function ocA(){var a=void 0===a?{}:a;var e=document.createElement("div");e.className=a.Sa||"animated_vertical_gap";return e}var ocB=0;function ocC(a){var e=document.createElement("div");e.className="text-slider-container";a.P&&(e.id=a.P);a.parent.appendChild(e);var f=document.createElement("div");e.appendChild(f);f.className="slider-and-label-container";var k=document.createElement("label");k.className=a.v||"slider-label";k.innerHTML=a.a||"";f.appendChild(k);void 0===a.m&&(a.m="___running_text_id_"+ocB++);a.type?(k=document.createElement("input"),k.className="slider-text-field",k.type=a.type||"text",a.Gb&&(k.pattern="\\d*")):(k=document.createElement("div"),k.setAttribute("contenteditable",!0),k.setAttribute("inputmode","decimal"),k.onfocus=function(b){window.getSelection().selectAllChildren(b.target)},k.className="slider-text-div");a.fb&&(k.onchange=a.fb);a.gb&&(k.onkeyup=a.gb);k.id=a.m;k.name=a.name;var p=a.B;if(a.type){p.j=k;var h="slider-text-field-container"}else p.l=k,h="slider-text-div-container";p.parent=f;ocz(p).yb.dataset.id=a.m;f=document.createElement("div");f.className=h;e.appendChild(f);f.appendChild(k);a.u&&(e=document.createElement("label"),e.className="slider-text-field-label",e.innerHTML=a.u||"",e.setAttribute("for",a.m),f.appendChild(e))}function ocD(a){a.f.A=[{caption:"כן",value:1},{caption:"לא",value:0}];return ocE(a)}function ocF(a){var e=document.createElement("div");e.id=a.P||"";e.className=a.Wa||"animated-calendar-container-label";var f=document.createElement("label");f.className=a.kb||"animated-container-label";f.innerHTML=a.caption||"";e.appendChild(f);return e}
function ocG(a){var e=ocF({P:a.P,Wa:"animated-calendar-container",kb:"animated-calendar-container-label",caption:a.caption});a.K.H=mobileBrowser&&!a.K.X&&!a.K.Y&&!a.K.ga;var f=ocH(a.K);e.appendChild(f.l);a.K.j=f.input;return{Ya:new ocl(a.K),oa:e}}
function ocE(a){var e=document.createElement("div");a.P&&(e.id=a.P);e.className="animated-popup-button-set-container";a.Va&&e.classList.add(a.Va);var f=document.createElement("label");f.className=a.v||"animated-popup-button-set-container-label";f.innerHTML=a.a||"";e.appendChild(f);a=ocI(a.f);e.appendChild(a);return e}function ocm(){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 ocn(){var a=document.getElementById("overlay_div");a.style.height=document.body.scrollHeight+"px";a.style.display="block"}function oco(){document.getElementById("overlay_div").style.display=""}function ocJ(){var a=document.querySelector(".popup-button-set-div-army").querySelectorAll("input[name='army']");a[0].checked=!0;var e=new Event("change");a[0].dispatchEvent(e)}
function ocI(a){function e(m){m.preventDefault();oco();b.style.display=""}function f(m){m.preventDefault();ocn();b.style.display=a.La;mobileBrowser&&500<b.offsetHeight&&(b.style.top=-document.documentElement.scrollTop+"px")}a.La=a.La||"block";a.Da=a.Da||"";var k=document.createElement("div");k.className="animated popup-button-set-div popup-button-set-div-"+a.name+" "+a.Da;var p=document.createElement("div");p.className="value-caption";p.innerHTML="בחירה";var h=document.createElement("div");h.className="visual-cue upside-down-triangle";h.innerHTML="\u25bc";k.appendChild(p);k.appendChild(h);var b=document.createElement("div");b.className="popup-div above-overlay";var c=ocm();c.onclick=e;c.addEventListener("click",e);h.onclick=f;p.onclick=f;k.appendChild(b);var d=[];h={};c=ocb(a.A);for(var g=c.next();!g.done;h={J:h.J,ba:h.ba,C:h.C,la:h.la,s:h.s,aa:h.aa,w:h.w},g=c.next())h.J=g.value,h.C=document.createElement("div"),h.C.className="popup-button-set-div-button",h.w=document.createElement("label"),h.w.innerHTML=h.J.caption,h.w.className=h.J.Sa||"",h.s=document.createElement("input"),h.s.type="radio",h.s.name=a.name,h.s.value=h.J.value,h.la=a.onclick||function(){},h.ba=function(m){return function(){return p.innerHTML=m.J.caption}}(h),h.aa=function(m){return function(l,n){m.ba();d.map(function(u){u.classList.remove("selected-popup-button-in-set")});m.C.classList.add("selected-popup-button-in-set");n&&m.la(l,m.s.value);e(l)}}(h),h.s.onchange=function(m){return function(l){m.aa(l,!0)}}(h),h.w.onmouseup=function(m){return function(l){m.w.dataset.disabled&&"false"!==m.w.dataset.disabled?l.preventDefault():m.s.checked&&m.aa(l,!1)}}(h),a.b===h.J.value&&(h.s.checked=!0,h.C.classList.add("selected-popup-button-in-set"),h.ba()),h.w.appendChild(h.s),h.C.appendChild(h.w),h.s.style.display="none",b.appendChild(h.C),d.push(h.C);return k}
function ocH(a){var e=document.createElement("div");e.className="calendar-div-input";var f=document.createElement("input");f.setAttribute("autocomplete","off");f.type=a.H?"date":"text";f.className="calendar-text-input";f.id=a.eb;f.value=a.b||"";e.appendChild(f);if(a.H||mobileBrowser){var k=document.createElement("label");k.className="calendar-label-input";f.onchange=a.onclick||function(){};a.H&&k.setAttribute("for",f.id);e.appendChild(k)}return{l:e,input:f}}
function ocK(a,e){var f=document.getElementById(a);f||(f=document.getElementsByName(a)[0]);a=f.value;void 0===a&&(a=f.innerHTML);return ocw(a,e)}function ocL(a){ocs||(ocs=ocf());ocs.to(a)}function ocM(a){a.sa.reload();void 0!==a.Za?a.sa.vb(a.Za):void 0!==a.b&&a.sa.wb(a.b)}
function ocN(){var a={caption:"האם אתה מתגורר בישוב עם הטבות מס?",Ba:"אנא בחר ישוב",select:document.createElement("select"),name:"city_list"},e=document.createElement("div");e.className="animated-select-container";var f=document.createElement("div");f.className="animated-select-caption";f.innerHTML=a.caption;e.appendChild(f);f=document.createElement("div");f.className="pure-css-select-wrapper";f.appendChild(a.select);var k=a.select;e.appendChild(f);a.Db=k;k.onchange=a.onchange;k.classList.add("pure_css_select");f={toggle:function(){},close:function(){},open:function(){},reload:function(){},Eb:function(){return k.options[k.selectedIndex].innerHTML},Pa:function(p){0===k.options.length&&(k.innerHTML="<option disabled value='' data-role='placeholder'></option>");k.selectedIndex=0;k.options[0].innerHTML=p},vb:function(p){a.select.selectedIndex=p},wb:function(p){a.select.value=p},element:a.select};a.Ba&&f.Pa(a.Ba);return{oa:e,rb:f}}function ocO(){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(f){f.classList.add("popup_with_separator")})}function ocP(a,e,f){return{component:a,value:e,color:f}}
function ocQ(){function a(){var b=k.Fa();b={data:JSON.stringify(b)};ocx("post","non_health_calculators/nekudot_zikuy/get_points.php",b,e)}function e(b){b=eval(b);document.getElementById("points_value").innerHTML=b;document.getElementById("points_shekel_value").innerHTML=parseInt(219*b,10)+" שקלים בחודש.";document.getElementById("result-text-wrapper").style.visibility="visible";mobileBrowser&&ocL(document.getElementById("calculator_center_ad"))}var f=!1;f=void 0===f?!0:f;var k=this,p,h;k.Fa=function(){var b=p.bb();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:b.getDate(),aliya_month:b.getMonth()+1,aliya_year:b.getFullYear(),illness:oc("child_handicap")}};(function(){h=document.getElementById("selection_panel");var b=ocE({f:{A:[{caption:"רווק",value:0},{caption:"נשוי",value:1},{caption:"גרוש",value:2},{caption:"אלמן",value:3},{caption:"רווקה",value:4},{caption:"נשואה",value:5},{caption:"גרושה",value:6},{caption:"אלמנה",value:7}],b:1,name:"marital_status"},a:"מצב משפחתי"});h.appendChild(b);b=ocD({f:{b:0,name:"teenager"},a:"האם גילך בין 16 ל-18?"});h.appendChild(b);b=ocD({f:{b:0,name:"spouse_not_working"},a:"<div>האם בן הזוג ללא הכנסה?</div><div class='smaller_content'>רק אם אחד מכם פנסיונר, עוור או נכה</div>"});h.appendChild(b);b=ocD({f:{b:0,name:"single_parent"},a:"<div>הורה יחיד?</div><div class='smaller_content'>ההורה השני של הילד נפטר או שבמרשם האוכלוסין לא מצוין ההורה השני</div>"});h.appendChild(b);b=(new Date).getFullYear();var c={f:{A:[{caption:"אין",value:0},{caption:"אחד",value:1},{caption:"שניים",value:2},{caption:"שלושה",value:3}],b:0,name:"this_year_kids"},a:"ילדים שנולדו בשנת "+b},d=ocE(c);h.appendChild(d);c.f.name="prev_year_kids";c.a="ילדים שנולדו בשנים "+(b-1)+"-"+(b-2);d=ocE(c);h.appendChild(d);c.f.name="prev3_year_kids";c.a="ילדים שנולדו בשנת "+(b-3);d=ocE(c);h.appendChild(d);c.f.name="prev4_year_kids";c.a="ילדים שנולדו בשנת "+(b-4);d=ocE(c);h.appendChild(d);c.f.name="prev5_year_kids";c.a="ילדים שנולדו בשנת "+(b-5);d=ocE(c);h.appendChild(d);c.f.name="kids_18";c.a="ילדים שהשנה בני 18";d=ocE(c);h.appendChild(d);d=ocD({f:{b:0,name:"child_handicap"},a:"<div>האם ילדך סובל מאחד מהמצבים הבאים?</div><div style='margin-top:0.5em;'>עיוור, חרש, אילם, משותק, מפגר, חולה בטלסמיה, דיסאוטונומיה או סיסטיק פיברוזיס</div>"});h.appendChild(d);c.f.name="kids_5_17";c.a="ילדים בגילאי 5-17 שאינם נכללים ברשימות לעיל";c.f.A.push({caption:"ארבעה",value:4});c.f.A.push({caption:"חמישה",value:5});c.f.A.push({caption:"שישה",value:6});c.f.A.push({caption:"שבעה",value:7});c=ocE(c);h.appendChild(c);c=ocD({f:{b:1,name:"provide_for"},a:"האם הילדים באחזקתך?"});h.appendChild(c);c=ocD({f:{b:0,name:"mezonot"},a:"האם אתה משלם מזונות לבת זוגך לשעבר<div class='smaller_content'>(ובמקביל התחתנת שוב עם אישה אחרת)?</div>"});h.appendChild(c);c=ocD({f:{b:0,name:"pension_unemployed_spouse"},a:"האם בן \\ בת הזוג מובטל מעל גיל פנסיה?"});h.appendChild(c);c=ocD({f:{b:0,name:"alya",onclick:function(m,l){g.style.display="1"===l?"":"none"}},a:"האם עלית לישראל בשנים האחרונות?"});h.appendChild(c);b=ocG({caption:"תאריך עליה",K:{eb:"alya_date",ob:b-8,nb:b,Aa:new Date}});var g=b.oa;p=b.Ya;h.appendChild(g);g.style.display="none";b=ocE({f:{A:[{caption:"לא",value:0},{caption:"כן, לאחר שירות של מתחת לשנה",value:0},{caption:"כן, לאחר שירות של בין שנה לשנתיים",value:1},{caption:"כן, לאחר שירות של מעל שנתיים",value:2}],b:0,name:"army"},a:"האם השתחררת משירות צבאי בשלוש השנים האחרונות?"});h.appendChild(b);ocJ();b=ocE({f:{A:[{caption:"לא סיימתי תואר בשנים האחרונות",value:0},{caption:"תואר ראשון בשנתיים האחרונות",value:1},{caption:"תואר שני בשנתיים האחרונות",value:2},{caption:"רפואה / רפואת שיניים בשנה שעברה",value:3},{caption:"רפואה / רפואת שיניים לפני שנתיים או שלוש",value:4}],b:0,name:"degree"},a:"<div>האם קיבלת תואר אקדמי בשנים האחרונות?</div><div class='smaller_content'>יש לשים לב כי עבור תואר ראשון/שני הזכאות היא לשנה אחת בלבד מתוך השנתיים, כלומר אם כבר נהנית מנקודת הזכות בשנה שעברה, לא תהנה ממנה השנה.</div>"});h.appendChild(b);f&&(b=ocp({caption:"חישוב"}),b.onclick=a,document.getElementById("calculator_buttons").appendChild(b),b=ocp({caption:"חישוב נוסף"}),b.onclick=function(){ocL(document.getElementsByClassName("calculator_wrapper")[0])},document.getElementById("result_buttons").appendChild(b));ocO()})()}(function(){function a(){var b=ocK("base_salary","int");if(""===b)oct();else{var c=ocK("keren","int"),d=ocK("pension","int");b={salary:b,extra_salary:ocK("non_social","int"),vehicle_cost:ocK("car_cost","int"),pitsuim:ocK("pitsuim","float"),ovdan:ocK("ovdan","float"),tax_worth:ocK("benefits","int"),city:0,keren:0<c,gemel_47:!1,gemel_employee:0<d,keren_limit_value:c,gemel_employee_limit_value:d,gemel_47_rate:0,neto_deduction:ocK("deductions","int"),first_run:p,point_data:k.Fa()};ocx("compound_json","non_health_calculators/neto/get_net_salary.php",b,e)}}function e(b){var c=JSON.parse(b);document.getElementById("income_tax_value").innerHTML=c.income_tax;document.getElementById("social_security_value").innerHTML=c.social_security;document.getElementById("health_insurance_value").innerHTML=c.health_insurance;document.getElementById("net_salary_value").innerHTML=c.net;document.getElementById("net_main_result").innerHTML=c.net;document.getElementById("salary_for_tax_value").innerHTML=c.salary_for_tax;document.getElementById("keren_value").innerHTML=c.keren_value;document.getElementById("deductions_value").innerHTML=c.deductions;document.getElementById("gemel_employee_value").innerHTML=c.gemel_employee_value;document.getElementById("keren_value_over_limit_value").innerHTML=c.keren_over_value;document.getElementById("gemel_employee_over_limit_value").innerHTML=c.gemel_employee_over_limit_to_user;document.getElementById("pitsuim_over_limit_value").innerHTML=c.pitsuim_over_limit;document.getElementById("overall_tax_value").innerHTML=c.overall_tax;document.getElementById("overall_tax_value_2").innerHTML=c.overall_tax;document.getElementById("social_value").innerHTML=c.social_value;document.getElementById("employer_keren_value").innerHTML=c.employer_keren_value;document.getElementById("employer_gemel_value").innerHTML=c.employer_gemel_value;document.getElementById("pitsuim_value").innerHTML=c.pitsuim;document.getElementById("ovdan_value").innerHTML=c.ovdan_value;document.getElementById("overall_income").innerHTML=c.overall_income;document.getElementById("total_extra_tax_worth").innerHTML=c.total_extra_tax_worth;p&&(document.querySelector(".calculator_result_wrapper").style.display="");ocj().then(function(){var d=[];d.push(ocP("מסים",parseFloat(c.overall_tax.replace(/,/g,"")),"#bb0000"));d.push(ocP("הפרשות סוציאליות",parseFloat(c.social_value.replace(/,/g,"")),"#ff9900"));d.push(ocP("נטו",parseFloat(c.net.replace(/,/g,"")),"#018F32"));for(var g={id:"salary_dist_graph1",lb:"{category}\n{value.percent.formatNumber('#.##')}%",title:"התפלגות מרכיבי השכר"},m=ocb(d),l=m.next();!l.done;l=m.next())l=l.value,l.color&&(l.color=am4core.color(l.color),l.labelColor="#FFFFFF");am4core.useTheme(am4themes_animated);m=am4core.create(g.id,am4charts.PieChart);g.title&&(l=m.titles.create(),l.text=g.title,l.fontSize=25,l.marginBottom=0,l.fill=g.Fb||"#ffffff",l.textAlign="middle");l=m.series.push(new am4charts.PieSeries);l.dataFields.value="value";l.dataFields.category="component";m.innerRadius=am4core.percent(10);m.rtl=!0;l.labels.template.fill=am4core.color("white");l.slices.template.strokeWidth=0;l.slices.template.strokeOpacity=0;l.slices.template.propertyFields.fill="color";l.slices.template.cursorOverStyle=[{property:"cursor",value:"pointer"}];l.alignLabels=!1;l.labels.template.bent=!1;l.labels.template.radius=2;l.labels.template.padding(0,0,0,0);l.ticks.template.disabled=!0;l.slices.template.filters.push(new am4core.DropShadowFilter).opacity=0;var n=l.slices.template.states.getKey("hover").filters.push(new am4core.DropShadowFilter);n.opacity=.7;n.blur=5;m.legend=new am4charts.Legend;m.legend.labels.template.fill=am4core.color("white");l.legendSettings.valueText="{valueY.close}";l.labels.template.text=g.lb||"{category}\n{value.percent.formatNumber('#')}%";l.labels.template.relativeRotation=90;l.labels.template.radius=am4core.percent(-70);m.data=d});ocL(document.getElementById("calculator_center_ad"));p=!1}function f(b){b=JSON.parse(b);var c=h.element;c.options[c.options.length]=new Option("ללא הטבה","0");b.map(function(d){var g=Object.keys(d)[0];c.options[c.options.length]=new Option(g,d[g])});ocM({sa:h});h.Pa("בחר ישוב עם הטבה")}var k,p=!0,h;(function(){var b=document.getElementById("selection_panel"),c=ocF({caption:"פרטים עבור חישוב נקודות זכות"});b.appendChild(c);k=new ocQ;b.appendChild(ocA());c=ocF({caption:"פרטים עבור חישוב ההכנסות"});b.appendChild(c);ocC({B:{step:100,min:4E3,max:5E4,b:9500,width:"100%"},u:"",a:"<div>משכורת בסיס</div><div class='smaller_content'>לפי סכום זה מחושבות הזכויות הסוציאליות שלך</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"base_salary",m:"base_salary",parent:b});ocC({B:{step:100,min:0,max:1E4,b:2500,width:"100%"},u:"",a:"<div>תוספות לשכר</div><div class='smaller_content'>תוספות אלו אינן מזכות בזכויות סוציאליות</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"non_social",m:"non_social",parent:b});ocC({B:{step:1E3,min:0,max:25E4,b:0,width:"100%"},u:"",a:"<div>עלות רכב ליסינג</div><div class='smaller_content'>אם ברשותך רכב ליסינג, מה מחירו אצל היבואן?</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"car_cost",m:"car_cost",parent:b});ocC({B:{step:100,min:0,max:3E3,b:1E3,width:"100%"},u:"",a:"<div>שווי הטבות לצרכי מס</div><div class='smaller_content'>עובדים רבים מקבלים הטבות מהמעביד המחייבות תשלום מס, כגון: ארוחות, ביטוחי בריאות...</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"benefits",m:"benefits",parent:b});ocC({B:{step:100,min:0,max:5E3,b:0,width:"100%"},u:"",a:"<div>ניכויים שונים מהנטו</div><div class='smaller_content'>השתתפות העובד בהוצאות, כגון ארוחות...</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"deductions",m:"deductions",parent:b});c=ocN();b.appendChild(c.oa);h=c.rb;ocx("post","non_health_calculators/neto/get_benefit_city_list.php",{},f);b.appendChild(ocA());c=ocF({caption:"פרטים עבור חישוב תנאים סוציאליים"});b.appendChild(c);ocC({B:{step:100,min:0,max:5E4,b:15712,width:"100%"},u:"",a:"<div>תקרת הפרשה לקרן השתלמות</div><div class='smaller_content'>השאירו על אפס אם אין לכם קרן השתלמות</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"keren",m:"keren",parent:b});ocC({B:{step:100,min:0,max:5E4,b:5E4,width:"100%"},u:"",a:"<div>תקרת הפרשה לקרן פנסיה/ביטוח מנהלים</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"pension",m:"pension",parent:b});ocC({B:{step:.01,min:0,max:10,b:8.33,width:"100%"},u:"",a:"<div>אחוז הפרשה של המעביד לפיצויים</div><div class='smaller_content'>כמעט תמיד 8.33%</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"pitsuim",m:"pitsuim",parent:b});ocC({B:{step:.01,min:0,max:2,b:1,width:"100%"},u:"",a:"<div>אחוז הפרשה של המעביד לאובדן כושר עבודה</div><div class='smaller_content'>בדרך כלל 1%</div>",v:mobileBrowser?"slider-label slider-label-small":"",name:"ovdan",m:"ovdan",parent:b});b=ocp({caption:"חישוב שכר"});b.onclick=a;document.getElementById("calculator_buttons").appendChild(b);ocO()})();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)})})({})})()