(function(){function oca(a){var d=0;return function(){return d<a.length?{done:!1,value:a[d++]}:{done:!0}}}function ocb(a){var d="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return d?d.call(a):{next:oca(a)}}(function(){function a(m){this.c=c({},{W:null,Da:null,ya:null,S:null,aa:!1,ma:!1,ja:[],ha:"Close",s:["overlay","button","escape"]},m);this.oa()}function d(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function h(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.s.length&&-1!==this.c.s.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.ja.forEach(function(m){"string"===typeof m&&this.a.classList.add(m)},this);-1!==this.c.s.indexOf("button")&&(this.w=document.createElement("button"),this.w.type="button",this.w.classList.add("tingle-modal__close"),this.N=document.createElement("span"),this.N.classList.add("tingle-modal__closeIcon"),this.N.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.O=document.createElement("span"),this.O.classList.add("tingle-modal__closeLabel"),this.O.innerHTML=this.c.ha,this.w.appendChild(this.N),this.w.appendChild(this.O));this.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.I=document.createElement("div");this.I.classList.add("tingle-modal-box__content");this.f.appendChild(this.I);-1!==this.c.s.indexOf("button")&&this.a.appendChild(this.w);this.a.appendChild(this.f)}function g(m){-1!==this.c.s.indexOf("escape")&&27===m.which&&this.ra()&&this.close()}function u(m){var n;if(n=-1!==this.c.s.indexOf("overlay")){for(n=m.target;(n=n.parentElement)&&!n.classList.contains("tingle-modal"););n=!n}n&&m.clientX<this.a.clientWidth&&this.close()}function c(){for(var m=1;m<arguments.length;m++)for(var n in arguments[m])arguments[m].hasOwnProperty(n)&&(arguments[0][n]=arguments[m][n]);return arguments[0]}var k=!1;a.prototype.oa=function(){this.a||(h.call(this),this.G={fa:this.close.bind(this),ga:u.bind(this),resize:this.ea.bind(this),sa:g.bind(this)},-1!==this.c.s.indexOf("button")&&this.w.addEventListener("click",this.G.fa),this.a.addEventListener("mousedown",this.G.ga),window.addEventListener("resize",this.G.resize),document.addEventListener("keydown",this.G.sa),document.body.insertBefore(this.a,document.body.firstChild),this.c.ma&&this.da())};a.prototype.R=function(m){k=m};a.prototype.ca=function(){return k};a.prototype.ra=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.ca()){this.R(!0);if("function"!==typeof this.c.S||this.c.S.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.xa,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.R(!1)}};a.prototype.da=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};a.prototype.Y=function(m){this.H()||(m=!1);m?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.I.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.I.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.H=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.ea=function(){this.a.classList.contains("tingle-modal--visible")&&(this.H()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.H()&&this.c.aa?this.Y(!1):this.H()&&this.c.aa&&(d.call(this),this.Y(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function occ(a){function d(e){e.preventDefault();if(!k.disabled){var x=e;e.touches&&(x=e.touches[0]);n=this===b?b.offsetLeft:f.offsetLeft;m=x.pageX-n;C=this;document.addEventListener("mousemove",h);document.addEventListener("mouseup",g);document.addEventListener("touchmove",h);document.addEventListener("touchend",g)}}function h(e){if(!k.disabled){var x=e;e.touches&&(x=e.touches[0]);n=x.pageX-m;e=f?f.offsetLeft:q.offsetWidth;C===b?(n>e?n=e:0>n&&(n=0),C.style.left=n+"px"):C===f&&(n<b.offsetLeft+b.offsetWidth-10?n=b.offsetLeft+b.offsetWidth-10:n>G&&(n=G),C.style.left=n+"px");t.style.marginLeft=b.offsetLeft-b.offsetWidth/2+"px";t.style.width=e-b.offsetLeft+"px";c();if(a.onchange&&p)a.onchange(l.getAttribute("se-min-value"),l.getAttribute("se-max-value"),l.dataset.id)}}function g(){document.removeEventListener("mousemove",h);document.removeEventListener("mouseup",g);document.removeEventListener("touchmove",h);document.removeEventListener("touchend",g);k.disabled||(C=null,c(),k.la&&p&&k.la(l.getAttribute("se-min-value"),l.getAttribute("se-max-value")))}function u(){w.style.opacity="1";setTimeout(function(){w.style.opacity="0"},3E3)}function c(){var e=b.offsetLeft/H*(v-r)+r;var x=0*(v-r)+r;if(0!==D){var F=Math.floor(e/D);e=D*F;F=Math.floor(x/D);x=D*F}e>=v&&(y||u(),y=!0);e<=r&&(z||u(),z=!0);k.Z(e);l.setAttribute("se-min-value",e);l.setAttribute("se-max-value",x)}var k=this,m=0,n=0,l=a.K,p=!1,z=!1,y=!1,w=document.createElement("div");w.classList.add("slider-input-tooltip");w.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){A.parentNode.appendChild(w);w.style.left=A.parentNode.offsetWidth/2-w.offsetWidth/2+"px"},1);if(a.i)var A=a.i;else a.g&&(A=a.g);A.appendChild(w);var b=l.querySelector(".zb-slider-touch-left"),f=l.querySelector(".zb-slider-touch-right"),t=l.querySelector(".zb-non-active-slider-bar"),q=l.querySelector(".zb-slider-bar"),r=parseFloat(l.getAttribute("se-min")),v=parseFloat(l.getAttribute("se-max"));k.Ga=function(e){r=e};k.Ea=function(e){v=e};k.enable=function(e){k.disabled=!e;e?(a.K.classList.remove("disabled"),A&&(A.classList.remove("disabled"),a.i?a.i.setAttribute("contenteditable",!0):a.g&&a.g.setAttribute("readonly",!1))):(a.K.classList.add("disabled"),A&&(A.classList.add("disabled"),a.i?a.i.setAttribute("contenteditable","false"):a.g&&a.g.setAttribute("readonly",!0)))};var B=r;l.hasAttribute("se-min-value")&&(B=parseFloat(l.getAttribute("se-min-value")));var E=v;l.hasAttribute("se-max-value")&&(E=parseFloat(l.getAttribute("se-max-value")));B<r&&(B=r);E>v&&(E=v);B>E&&(B=E);var D=0;l.getAttribute("se-step")&&(D=Math.abs(parseFloat(l.getAttribute("se-step"))));k.K=l;k.reset=function(){b.style.left="0px";f&&(f.style.left=q.offsetWidth-b.offsetWidth+"px");t.style.marginLeft="0px";t.style.width=q.offsetWidth-b.offsetWidth+"px";n=m=0;h({pageX:0})};k.J=function(e,x){(void 0===x||x)&&k.Z(e);e>v&&(e=v);e<r&&(e=r);b.style.left=Math.ceil((e-r)/(v-r)*(q.offsetWidth-(b.offsetWidth+0)))+"px";t.style.marginLeft=b.offsetLeft+"px";t.style.width=f?f.offsetLeft-b.offsetLeft+"px":q.offsetWidth-b.offsetLeft+"px";l.setAttribute("se-min-value",e)};k.Fa=function(e){f&&(f.style.left=Math.ceil((e-r)/(v-r)*(q.offsetWidth-(b.offsetWidth+0)))+"px",t.style.marginLeft=b.offsetLeft+"px",t.style.width=f.offsetLeft-b.offsetLeft+"px",l.setAttribute("se-max-value",e))};k.Z=function(e){.01>Math.abs(Math.floor(100*e)-100*e)&&(e=Math.floor(1E3*e)/1E3);a.g?a.g.value=e:a.i.innerHTML=e};k.reset();var G=q.offsetWidth-(f?f.offsetWidth:0),C=null,H=q.offsetWidth;k.J(B);b.addEventListener("mousedown",d);b.addEventListener("touchstart",d);f&&(f.addEventListener("mousedown",d),f.addEventListener("touchstart",d));a.i?a.i.addEventListener("keyup",function(e){k.J(parseInt(e.target.innerHTML,10),!1);a.onchange(l.getAttribute("se-min-value"),l.getAttribute("se-max-value"),l.dataset.id)}):a.g&&a.g.addEventListener("change",function(e){k.J(parseInt(e.target.value,10),!1);a.onchange(l.getAttribute("se-min-value"),l.getAttribute("se-max-value"),l.dataset.id)});b.style.left=b.offsetLeft-10+"px";setTimeout(function(){H=q.offsetWidth;k.J(l.getAttribute("se-min-value"))},100);p=!0}function ocd(a,d){if(void 0!==d){if("int"===d)return parseInt(a,10);if("float"===d)return parseFloat(a)}return a}function oc(a,d){return ocd(document.querySelectorAll("input[name="+a+"][type=radio]:checked")[0].value,d)}
function oce(a){var d=document.createElement("div");d.style.width=a.width;d.className="slider-container";var h=document.createElement("div");d.appendChild(h);h.className="zb-slider";a.step&&h.setAttribute("se-step",a.step);h.setAttribute("se-min",a.min);h.setAttribute("se-max",a.max);a.u&&h.setAttribute("se-min-value",a.u);a.ka&&h.setAttribute("se-min-max",a.ka);var g=document.createElement("div");g.className="zb-slider-touch-left";h.appendChild(g);g.appendChild(document.createElement("span"));g=document.createElement("div");g.className="zb-slider-bar";h.appendChild(g);var u=document.createElement("span");u.className="zb-non-active-slider-bar";g.appendChild(u);a.parent&&(a.parent.appendChild(d),new occ({K:h,g:a.g,i:a.i,onchange:a.onchange}));return{Ba:d,ua:h}}var ocf=0;function ocg(a){var d=document.createElement("div");d.className="text-slider-container";a.M&&(d.id=a.M);a.parent.appendChild(d);var h=document.createElement("div");d.appendChild(h);h.className="slider-and-label-container";var g=document.createElement("label");g.className=a.ba||"slider-label";g.innerHTML=a.A||"";h.appendChild(g);void 0===a.C&&(a.C="___running_text_id_"+ocf++);a.type?(g=document.createElement("input"),g.className="slider-text-field",g.type=a.type||"text",a.Ca&&(g.pattern="\\d*")):(g=document.createElement("div"),g.setAttribute("contenteditable",!0),g.setAttribute("inputmode","decimal"),g.onfocus=function(k){window.getSelection().selectAllChildren(k.target)},g.className="slider-text-div");a.pa&&(g.onchange=a.pa);a.qa&&(g.onkeyup=a.qa);g.id=a.C;g.name=a.name;var u=a.va;if(a.type){u.g=g;var c="slider-text-field-container"}else u.i=g,c="slider-text-div-container";u.parent=h;oce(u).ua.dataset.id=a.C;h=document.createElement("div");h.className=c;d.appendChild(h);h.appendChild(g);a.U&&(d=document.createElement("label"),d.className="slider-text-field-label",d.innerHTML=a.U||"",d.setAttribute("for",a.C),h.appendChild(d))}function och(a){a.B.P=[{caption:"כן",value:1},{caption:"לא",value:0}];return oci(a)}
function oci(a){var d=document.createElement("div");a.M&&(d.id=a.M);d.className="animated-popup-button-set-container";a.ia&&d.classList.add(a.ia);var h=document.createElement("label");h.className=a.ba||"animated-popup-button-set-container-label";h.innerHTML=a.A||"";d.appendChild(h);a=ocj(a.B);d.appendChild(a);return d}function ock(){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 ocj(a){function d(p){p.preventDefault();document.getElementById("overlay_div").style.display="";k.style.display=""}function h(p){p.preventDefault();p=document.getElementById("overlay_div");p.style.height=document.body.scrollHeight+"px";p.style.display="block";k.style.display=a.X;mobileBrowser&&500<k.offsetHeight&&(k.style.top=-document.documentElement.scrollTop+"px")}a.X=a.X||"block";a.T=a.T||"";var g=document.createElement("div");g.className="animated popup-button-set-div popup-button-set-div-"+a.name+" "+a.T;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";g.appendChild(u);g.appendChild(c);var k=document.createElement("div");k.className="popup-div above-overlay";var m=ock();m.onclick=d;m.addEventListener("click",d);c.onclick=h;u.onclick=h;g.appendChild(k);var n=[];c={};m=ocb(a.P);for(var l=m.next();!l.done;c={o:c.o,F:c.F,l:c.l,L:c.L,h:c.h,D:c.D,j:c.j},l=m.next())c.o=l.value,c.l=document.createElement("div"),c.l.className="popup-button-set-div-button",c.j=document.createElement("label"),c.j.innerHTML=c.o.caption,c.j.className=c.o.Aa||"",c.h=document.createElement("input"),c.h.type="radio",c.h.name=a.name,c.h.value=c.o.value,c.L=a.onclick||function(){},c.F=function(p){return function(){return u.innerHTML=p.o.caption}}(c),c.D=function(p){return function(z,y){p.F();n.map(function(w){w.classList.remove("selected-popup-button-in-set")});p.l.classList.add("selected-popup-button-in-set");y&&p.L(z,p.h.value);d(z)}}(c),c.h.onchange=function(p){return function(z){p.D(z,!0)}}(c),c.j.onmouseup=function(p){return function(z){p.j.dataset.disabled&&"false"!==p.j.dataset.disabled?z.preventDefault():p.h.checked&&p.D(z,!1)}}(c),a.u===c.o.value&&(c.h.checked=!0,c.l.classList.add("selected-popup-button-in-set"),c.F()),c.j.appendChild(c.h),c.l.appendChild(c.j),c.h.style.display="none",k.appendChild(c.l),n.push(c.l);return g}
function ocl(){var a=a||["animated-calendar-container","animated-popup-button-set-container","text-slider-container","animated-select-container","quick-nav-container"];a=ocb(a);for(var d=a.next();!d.done;d=a.next())Array.prototype.map.call(document.getElementsByClassName(d.value),function(h){h.classList.add("popup_with_separator")})}(function(){var a=[0,1744505,2069205,5338290,17794305,1E10],d=[0,.035,.05,.08,.1],h=[0,5340205,1E10],g=[.08,.1],u=[0,1E10],c=[.06],k=[0,1838615,1E10],m=[.005,.05],n=[0,1E10],l=[.005],p=[0,1696750,1E10],z=[0,.005],y={m:function(b,f,t,q,r){switch(f){case 0:var v=a;var B=d;break;case 1:v=h;B=g;break;case 2:v=u,B=c}f=y.v(b,v,B);switch(parseInt(r)){case 0:t?f=25E5<b?y.v(b,n,l):y.v(b,p,z):q&&(f=y.v(b,k,m));break;case 1:f=0;break;case 2:f/=3}return f},v:function(b,f,t){for(var q=0,r=0;0<b;){var v=f[r+1]-f[r];q+=Math.min(v,b)*t[r];b-=v;r++}return q},za:function(b,f,t,q,r){b=Math.min(b,t);return b*f+(y.v(t,q,r)-y.v(b,q,r))}},w={m:function(){var b=document.getElementById("base_value");b||(b=document.getElementsByName("base_value")[0]);var f=b.value;void 0===f&&(f=b.innerHTML);b=y.m(ocd(f,"float"),oc("realestate_type","int"),"1"===oc("handicap"),"1"===oc("ole"),oc("no_return","int"));if(0==b)b=0;else{f="";0>b&&(f="-",b*=-1);var t="";for(b=parseInt(b,10);0<b;){var q=b%1E3+"";b=Math.floor(b/1E3);0<b&&(1===q.length&&(q="00"+q),2===q.length&&(q="0"+q));t=q+t;0<b&&(t=","+t)}b=f+t}A.wa(b)}},A={wa:function(b){document.getElementById("tax").innerHTML=b},ta:function(){A.na()},na:function(){var b=document.getElementById("selection_panel");ocg({va:{step:5E4,min:3E5,max:1E7,u:2E6,width:"100%",onchange:w.m},U:"",A:"ערך הנכס",ba:mobileBrowser?"slider-label slider-label-small":"",name:"base_value",C:"base_value",parent:b});var f=oci({B:{P:[{caption:"דירת מגורים יחידה",value:0},{caption:"דירת מגורים נוספת",value:1},{caption:"קרקע/בנין",value:2}],u:0,name:"realestate_type",onclick:w.m},A:"<div>סוג הנכס:</div><div class='smaller_content'>סמן דירה יחידה גם אם כיום ברשותך דירה, אך אתה עומד למכור אותה בשנתיים הקרובות.</div>"});b.appendChild(f);f=och({B:{u:0,name:"handicap",onclick:w.m},A:"<div>האם אתה מוגדר כנכה/נפגע פעולות איבה?</div><div class='smaller_content'>לכל נכה זכאות לשימוש פעמיים לכל היותר בהקלה במס רכישה.</div>"});b.appendChild(f);f=och({B:{u:0,name:"ole",onclick:w.m},A:"<div>האם אתה עולה חדש?</div><div class='smaller_content'>\u200e7 שנים מיום עלייתו לישראל לראשונה, או שנה לפני עלייתו. שירות חובה בצבא לא ימנה במניין 7 השנים.</div>"});b.appendChild(f);f=oci({B:{P:[{caption:"לא",value:0},{caption:"מבן הזוג",value:1},{caption:"מקרוב אחר",value:2}],u:0,name:"no_return",onclick:w.m},A:"<div>האם אתה מקבל את הדירה ללא תמורה מקרוב משפחה?</div><div class='smaller_content'>סמנו בעל/אישה אך ורק אם אתם מתגוררים באותה דירה. אחרת בחרו קרוב אחר. \"קרוב\" לעניין זה - בן זוג, הורה, צאצא (נכד, נין) בן זוג של הצאצא, אח ואחות</div>"});b.appendChild(f);ocl();w.m()}};A.ta()})()})();(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)})})({})})()