(function(){function oca(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ocb(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:oca(a)}}(function(){function a(l){this.c=c({},{V:null,Aa:null,wa:null,S:null,Z:!1,oa:!1,la:[],ja:"Close",u:["overlay","button","escape"]},l);this.pa()}function b(){this.b&&(this.b.style.width=this.h.clientWidth+"px",this.b.style.left=this.h.offsetLeft+"px")}function d(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.u.length&&-1!==this.c.u.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.la.forEach(function(l){"string"===typeof l&&this.a.classList.add(l)},this);-1!==this.c.u.indexOf("button")&&(this.v=document.createElement("button"),this.v.type="button",this.v.classList.add("tingle-modal__close"),this.O=document.createElement("span"),this.O.classList.add("tingle-modal__closeIcon"),this.O.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.P=document.createElement("span"),this.P.classList.add("tingle-modal__closeLabel"),this.P.innerHTML=this.c.ja,this.v.appendChild(this.O),this.v.appendChild(this.P));this.h=document.createElement("div");this.h.classList.add("tingle-modal-box");this.U=document.createElement("div");this.U.classList.add("tingle-modal-box__title");this.h.appendChild(this.U);this.J=document.createElement("div");this.J.classList.add("tingle-modal-box__content");this.h.appendChild(this.J);-1!==this.c.u.indexOf("button")&&this.a.appendChild(this.v);this.a.appendChild(this.h)}function e(l){-1!==this.c.u.indexOf("escape")&&27===l.which&&this.ra()&&this.close()}function h(l){var m;if(m=-1!==this.c.u.indexOf("overlay")){for(m=l.target;(m=m.parentElement)&&!m.classList.contains("tingle-modal"););m=!m}m&&l.clientX<this.a.clientWidth&&this.close()}function c(){for(var l=1;l<arguments.length;l++)for(var m in arguments[l])arguments[l].hasOwnProperty(m)&&(arguments[0][m]=arguments[l][m]);return arguments[0]}var g=!1;a.prototype.pa=function(){this.a||(d.call(this),this.H={ha:this.close.bind(this),ia:h.bind(this),resize:this.ga.bind(this),sa:e.bind(this)},-1!==this.c.u.indexOf("button")&&this.v.addEventListener("click",this.H.ha),this.a.addEventListener("mousedown",this.H.ia),window.addEventListener("resize",this.H.resize),document.addEventListener("keydown",this.H.sa),document.body.insertBefore(this.a,document.body.firstChild),this.c.oa&&this.ca())};a.prototype.R=function(l){g=l};a.prototype.aa=function(){return g};a.prototype.ra=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.aa()){this.R(!0);if("function"!==typeof this.c.S||this.c.S.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.va,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.V&&this.c.V.call(this);this.R(!1)}};a.prototype.ca=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.h.appendChild(this.b)};a.prototype.X=function(l){this.I()||(l=!1);l?this.h.contains(this.b)&&(this.h.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),b.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.ga=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.Z?this.X(!1):this.I()&&this.c.Z&&(b.call(this),this.X(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};var occ={};function ocd(a){function b(f){f.preventDefault();if(!g.disabled){var t=f;f.touches&&(t=f.touches[0]);m=this===n?n.offsetLeft:q.offsetLeft;l=t.pageX-m;A=this;document.addEventListener("mousemove",d);document.addEventListener("mouseup",e);document.addEventListener("touchmove",d);document.addEventListener("touchend",e)}}function d(f){if(!g.disabled){var t=f;f.touches&&(t=f.touches[0]);m=t.pageX-l;f=q?q.offsetLeft:x.offsetWidth;A===n?(m>f?m=f:0>m&&(m=0),A.style.left=m+"px"):A===q&&(m<n.offsetLeft+n.offsetWidth-10?m=n.offsetLeft+n.offsetWidth-10:m>G&&(m=G),A.style.left=m+"px");y.style.marginLeft=n.offsetLeft-n.offsetWidth/2+"px";y.style.width=f-n.offsetLeft+"px";c();if(a.onchange&&p)a.onchange(k.getAttribute("se-min-value"),k.getAttribute("se-max-value"),k.dataset.id)}}function e(){document.removeEventListener("mousemove",d);document.removeEventListener("mouseup",e);document.removeEventListener("touchmove",d);document.removeEventListener("touchend",e);g.disabled||(A=null,c(),g.na&&p&&g.na(k.getAttribute("se-min-value"),k.getAttribute("se-max-value")))}function h(){v.style.opacity="1";setTimeout(function(){v.style.opacity="0"},3E3)}function c(){var f=n.offsetLeft/H*(u-r)+r;var t=0*(u-r)+r;if(0!==B){var F=Math.floor(f/B);f=B*F;F=Math.floor(t/B);t=B*F}f>=u&&(E||h(),E=!0);f<=r&&(w||h(),w=!0);g.Y(f);k.setAttribute("se-min-value",f);k.setAttribute("se-max-value",t)}var g=this,l=0,m=0,k=a.K,p=!1,w=!1,E=!1,v=document.createElement("div");v.classList.add("slider-input-tooltip");v.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){z.parentNode.appendChild(v);v.style.left=z.parentNode.offsetWidth/2-v.offsetWidth/2+"px"},1);if(a.g){var z=a.g;occ[a.g.id]=g}else a.f&&(z=a.f,occ[a.f.id]=g);z.appendChild(v);var n=k.querySelector(".zb-slider-touch-left"),q=k.querySelector(".zb-slider-touch-right"),y=k.querySelector(".zb-non-active-slider-bar"),x=k.querySelector(".zb-slider-bar"),r=parseFloat(k.getAttribute("se-min")),u=parseFloat(k.getAttribute("se-max"));g.Da=function(f){r=f};g.Ba=function(f){u=f};g.enable=function(f){g.disabled=!f;f?(a.K.classList.remove("disabled"),z&&(z.classList.remove("disabled"),a.g?a.g.setAttribute("contenteditable",!0):a.f&&a.f.setAttribute("readonly",!1))):(a.K.classList.add("disabled"),z&&(z.classList.add("disabled"),a.g?a.g.setAttribute("contenteditable","false"):a.f&&a.f.setAttribute("readonly",!0)))};var C=r;k.hasAttribute("se-min-value")&&(C=parseFloat(k.getAttribute("se-min-value")));var D=u;k.hasAttribute("se-max-value")&&(D=parseFloat(k.getAttribute("se-max-value")));C<r&&(C=r);D>u&&(D=u);C>D&&(C=D);var B=0;k.getAttribute("se-step")&&(B=Math.abs(parseFloat(k.getAttribute("se-step"))));g.K=k;g.reset=function(){n.style.left="0px";q&&(q.style.left=x.offsetWidth-n.offsetWidth+"px");y.style.marginLeft="0px";y.style.width=x.offsetWidth-n.offsetWidth+"px";m=l=0;d({pageX:0})};g.C=function(f,t){(void 0===t||t)&&g.Y(f);f>u&&(f=u);f<r&&(f=r);n.style.left=Math.ceil((f-r)/(u-r)*(x.offsetWidth-(n.offsetWidth+0)))+"px";y.style.marginLeft=n.offsetLeft+"px";y.style.width=q?q.offsetLeft-n.offsetLeft+"px":x.offsetWidth-n.offsetLeft+"px";k.setAttribute("se-min-value",f)};g.Ca=function(f){q&&(q.style.left=Math.ceil((f-r)/(u-r)*(x.offsetWidth-(n.offsetWidth+0)))+"px",y.style.marginLeft=n.offsetLeft+"px",y.style.width=q.offsetLeft-n.offsetLeft+"px",k.setAttribute("se-max-value",f))};g.Y=function(f){.01>Math.abs(Math.floor(100*f)-100*f)&&(f=Math.floor(1E3*f)/1E3);a.f?a.f.value=f:a.g.innerHTML=f};g.reset();var G=x.offsetWidth-(q?q.offsetWidth:0),A=null,H=x.offsetWidth;g.C(C);n.addEventListener("mousedown",b);n.addEventListener("touchstart",b);q&&(q.addEventListener("mousedown",b),q.addEventListener("touchstart",b));a.g?a.g.addEventListener("keyup",function(f){g.C(parseInt(f.target.innerHTML,10),!1);a.onchange(k.getAttribute("se-min-value"),k.getAttribute("se-max-value"),k.dataset.id)}):a.f&&a.f.addEventListener("change",function(f){g.C(parseInt(f.target.value,10),!1);a.onchange(k.getAttribute("se-min-value"),k.getAttribute("se-max-value"),k.dataset.id)});n.style.left=n.offsetLeft-10+"px";setTimeout(function(){H=x.offsetWidth;g.C(k.getAttribute("se-min-value"))},100);p=!0}function oce(a,b){if(void 0!==b){if("int"===b)return parseInt(a,10);if("float"===b)return parseFloat(a)}return a}function ocf(){return oce(document.querySelectorAll("input[name=calculation_type][type=radio]:checked")[0].value,void 0)}
function ocg(a){var b=document.createElement("div");b.style.width=a.width;b.className="slider-container";var d=document.createElement("div");b.appendChild(d);d.className="zb-slider";a.step&&d.setAttribute("se-step",a.step);d.setAttribute("se-min",a.min);d.setAttribute("se-max",a.max);a.m&&d.setAttribute("se-min-value",a.m);a.ma&&d.setAttribute("se-min-max",a.ma);var e=document.createElement("div");e.className="zb-slider-touch-left";d.appendChild(e);e.appendChild(document.createElement("span"));e=document.createElement("div");e.className="zb-slider-bar";d.appendChild(e);var h=document.createElement("span");h.className="zb-non-active-slider-bar";e.appendChild(h);a.parent&&(a.parent.appendChild(b),new ocd({K:d,f:a.f,g:a.g,onchange:a.onchange}));return{ya:b,ua:d}}function oc(a,b){occ[a.name].enable(b)}function och(a){occ[a.name].C(a.value)}var oci=0;function ocj(a){var b=document.createElement("div");b.className="text-slider-container";a.N&&(b.id=a.N);a.parent.appendChild(b);var d=document.createElement("div");b.appendChild(d);d.className="slider-and-label-container";var e=document.createElement("label");e.className=a.D||"slider-label";e.innerHTML=a.w||"";d.appendChild(e);void 0===a.o&&(a.o="___running_text_id_"+oci++);a.type?(e=document.createElement("input"),e.className="slider-text-field",e.type=a.type||"text",a.za&&(e.pattern="\\d*")):(e=document.createElement("div"),e.setAttribute("contenteditable",!0),e.setAttribute("inputmode","decimal"),e.onfocus=function(g){window.getSelection().selectAllChildren(g.target)},e.className="slider-text-div");a.B&&(e.onchange=a.B);a.qa&&(e.onkeyup=a.qa);e.id=a.o;e.name=a.name;var h=a.L;if(a.type){h.f=e;var c="slider-text-field-container"}else h.g=e,c="slider-text-div-container";h.parent=d;ocg(h).ua.dataset.id=a.o;d=document.createElement("div");d.className=c;b.appendChild(d);d.appendChild(e);a.A&&(b=document.createElement("label"),b.className="slider-text-field-label",b.innerHTML=a.A||"",b.setAttribute("for",a.o),d.appendChild(b))}function ock(a){var b=document.createElement("div");a.N&&(b.id=a.N);b.className="animated-popup-button-set-container";a.ka&&b.classList.add(a.ka);var d=document.createElement("label");d.className=a.D||"animated-popup-button-set-container-label";d.innerHTML=a.w||"";b.appendChild(d);a=ocl(a.ea);b.appendChild(a);return b}
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 ocl(a){function b(p){p.preventDefault();document.getElementById("overlay_div").style.display="";g.style.display=""}function d(p){p.preventDefault();p=document.getElementById("overlay_div");p.style.height=document.body.scrollHeight+"px";p.style.display="block";g.style.display=a.W;mobileBrowser&&500<g.offsetHeight&&(g.style.top=-document.documentElement.scrollTop+"px")}a.W=a.W||"block";a.T=a.T||"";var e=document.createElement("div");e.className="animated popup-button-set-div popup-button-set-div-"+a.name+" "+a.T;var h=document.createElement("div");h.className="value-caption";h.innerHTML="בחירה";var c=document.createElement("div");c.className="visual-cue upside-down-triangle";c.innerHTML="\u25bc";e.appendChild(h);e.appendChild(c);var g=document.createElement("div");g.className="popup-div above-overlay";var l=ocm();l.onclick=b;l.addEventListener("click",b);c.onclick=d;h.onclick=d;e.appendChild(g);var m=[];c={};l=ocb(a.ta);for(var k=l.next();!k.done;c={s:c.s,G:c.G,l:c.l,M:c.M,i:c.i,F:c.F,j:c.j},k=l.next())c.s=k.value,c.l=document.createElement("div"),c.l.className="popup-button-set-div-button",c.j=document.createElement("label"),c.j.innerHTML=c.s.caption,c.j.className=c.s.xa||"",c.i=document.createElement("input"),c.i.type="radio",c.i.name=a.name,c.i.value=c.s.value,c.M=a.onclick||function(){},c.G=function(p){return function(){return h.innerHTML=p.s.caption}}(c),c.F=function(p){return function(w,E){p.G();m.map(function(v){v.classList.remove("selected-popup-button-in-set")});p.l.classList.add("selected-popup-button-in-set");E&&p.M(w,p.i.value);b(w)}}(c),c.i.onchange=function(p){return function(w){p.F(w,!0)}}(c),c.j.onmouseup=function(p){return function(w){p.j.dataset.disabled&&"false"!==p.j.dataset.disabled?w.preventDefault():p.i.checked&&p.F(w,!1)}}(c),a.m===c.s.value&&(c.i.checked=!0,c.l.classList.add("selected-popup-button-in-set"),c.G()),c.j.appendChild(c.i),c.l.appendChild(c.j),c.i.style.display="none",g.appendChild(c.l),m.push(c.l);return e}
function ocn(a,b){var d=document.getElementById(a);d||(d=document.getElementsByName(a)[0]);a=d.value;void 0===a&&(a=d.innerHTML);return oce(a,b)}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 b=a.next();!b.done;b=a.next())Array.prototype.map.call(document.getElementsByClassName(b.value),function(d){d.classList.add("popup_with_separator")})}
function ocp(){this.fa=function(a,b,d){return(a-1/Math.pow(1+b,d)*a)/b};this.da=function(a,b,d){return a*d/(1-1/Math.pow(1+d,b))};this.ba=function(a,b,d){return Math.round(Math.log((a-d*b)/a)/Math.log(1/(1+b)))}}(function(){function a(){var e=ocn("amount","int"),h=ocn("period_in_years","int"),c=ocn("monthly","int"),g=ocn("interest","float");if(!isNaN(g)&&0!==g)switch(parseInt(ocf())){case 3:c=d.da(e,12*h,g/1200);c=Math.floor(c);och({name:"monthly",value:c});break;case 1:e=d.fa(c,g/1200,12*h);e=Math.floor(e);och({name:"amount",value:e});break;case 2:h=Math.round(d.ba(c,g/1200,e)/12),och({name:"period_in_years",value:h})}}function b(){switch(parseInt(ocf())){case 3:oc({name:"amount"},!0);oc({name:"period_in_years"},!0);oc({name:"monthly"},!1);break;case 2:oc({name:"amount"},!0);oc({name:"period_in_years"},!1);oc({name:"monthly"},!0);break;case 1:oc({name:"amount"},!1),oc({name:"period_in_years"},!0),oc({name:"monthly"},!0)}}var d=new ocp;(function(){var e=document.getElementById("selection_panel"),h=ock({ea:{ta:[{caption:"החזר חודשי",value:3},{caption:"גובה ההלוואה",value:1},{caption:"תקופה",value:2}],onclick:b,m:3,name:"calculation_type"},w:"מה מחשבים?"});e.appendChild(h);h={step:1E4,min:5E4,max:25E5,m:6E5,width:"100%",onchange:function(){a()}};ocj({L:h,A:"",w:"סכום ההלוואה",D:mobileBrowser?"slider-label slider-label-small":"",name:"amount",o:"amount",parent:e,B:function(){a()}});h={step:.5,min:1,max:35,m:20,width:"100%",onchange:function(){a()}};ocj({L:h,A:"",w:"תקופה בשנים",D:mobileBrowser?"slider-label slider-label-small":"",name:"period_in_years",o:"period_in_years",parent:e,B:function(){a()}});h={step:100,min:100,max:1E4,m:5E3,width:"100%",onchange:function(){a()}};ocj({L:h,A:"",w:"תשלום חודשי",D:mobileBrowser?"slider-label slider-label-small":"",name:"monthly",o:"monthly",parent:e,B:function(){a()}});h={step:.05,min:1,max:5,m:2,width:"100%",onchange:function(){a()}};ocj({L:h,A:"",w:"ריבית שנתית",D:mobileBrowser?"slider-label slider-label-small":"",name:"interest",o:"interest",parent:e,B:function(){a()}});h={step:.05,min:0,max:5,m:3,width:"100%",onchange:function(){a()}};oco();b()})()})()})();(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)})})({})})()