(function(){function ha_a(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}}function ha_b(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):{next:ha_a(a)}}
function ha_c(){function a(){return window.scrollY||e.scrollTop}function c(b,d,n){function u(h,l,q){D(Math.max(0,b.l(h)-n),l,q)}function D(h,l,q){z();if(0===l||l&&0>l||f(b.body))b.v(h),q&&q();else{var v=b.o(),r=Math.max(0,h)-v,w=(new Date).getTime();l=l||Math.min(Math.abs(r),d);(function B(){x=setTimeout(function(){var y=Math.min(1,((new Date).getTime()-w)/l),F=Math.max(0,Math.floor(v+r*(.5>y?2*y*y:y*(4-2*y)-1)));b.v(F);1>y&&b.A()+F<b.body.scrollHeight?B():(setTimeout(z,99),q&&q())},9)})()}}function z(){clearTimeout(x);x=0}d=d||999;n||0===n||(n=9);var x;return{setup:function(h,l){if(0===h||h)d=h;if(0===l||l)n=l;return{wa:d,N:n}},to:u,toY:D,intoView:function(h,l,q){var v=h.getBoundingClientRect().height,r=b.l(h)+v,w=b.A(),C=b.o(),B=C+w;Math.max(0,b.l(h)-n)<C||v+n>w?u(h,l,q):r+n>B?D(r-w+n,l,q):q&&q()},center:function(h,l,q,v){D(Math.max(0,b.l(h)-b.A()/2+(q||h.getBoundingClientRect().height/2)),l,v)},stop:z,moving:function(){return!!x},getY:b.o,getTopOf:b.l}}function f(b){return b&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(b)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var e=document.documentElement,p=c({body:document.scrollingElement||document.body,v:function(b){window.scrollTo(0,b)},o:a,A:function(){return window.innerHeight||e.clientHeight},l:function(b){return b.getBoundingClientRect().top+a()-e.offsetTop}});p.va=function(b,d,n){return c({body:b,v:function(u){b.scrollTop=u},o:function(){return b.scrollTop},A:function(){return Math.min(b.clientHeight,window.innerHeight||e.clientHeight)},l:function(u){return u.offsetTop}},d,n)};if("addEventListener"in window&&!window.sa&&!f(document.body)){var t="history"in window&&"pushState"in history,k=t&&"scrollRestoration"in history;k&&(history.scrollRestoration="auto");window.addEventListener("load",function(){k&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(b){b.state&&"zenscrollY"in b.state&&p.v(b.state.qa)},!1));window.location.hash&&setTimeout(function(){var b=p.oa().N;if(b){var d=document.getElementById(window.location.href.split("#")[1]);d&&(b=Math.max(0,p.l(d)-b),d=p.o()-b,0<=d&&9>d&&window.scrollTo(0,b))}},9)},!1);var m=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(b){for(var d=b.target;d&&"A"!==d.tagName;)d=d.parentNode;if(!(!d||1!==b.which||b.shiftKey||b.metaKey||b.ctrlKey||b.altKey)){if(k){var n=history.state&&"object"===typeof history.state?history.state:{};n.qa=p.o();try{history.replaceState(n,"")}catch(D){}}var u=d.getAttribute("href")||"";if(0===u.indexOf("#")&&!m.test(d.className)){d=0;n=document.getElementById(u.substring(1));if("#"!==u){if(!n)return;d=p.l(n)}b.preventDefault();b=function(){window.location=u};if(n=p.oa().N)d=Math.max(0,d-n),t&&(b=function(){history.pushState({},"",u)});p.v(d,null,b)}}},!1)}return p}(function(){function a(m){this.c=t({},{P:null,ya:null,ta:null,M:null,U:!1,ha:!1,ea:[],ca:"Close",m:["overlay","button","escape"]},m);this.ia()}function c(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function f(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.m.length&&-1!==this.c.m.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.ea.forEach(function(m){"string"===typeof m&&this.a.classList.add(m)},this);-1!==this.c.m.indexOf("button")&&(this.s=document.createElement("button"),this.s.type="button",this.s.classList.add("tingle-modal__close"),this.J=document.createElement("span"),this.J.classList.add("tingle-modal__closeIcon"),this.J.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.K=document.createElement("span"),this.K.classList.add("tingle-modal__closeLabel"),this.K.innerHTML=this.c.ca,this.s.appendChild(this.J),this.s.appendChild(this.K));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.O=document.createElement("div");this.O.classList.add("tingle-modal-box__title");this.f.appendChild(this.O);this.C=document.createElement("div");this.C.classList.add("tingle-modal-box__content");this.f.appendChild(this.C);-1!==this.c.m.indexOf("button")&&this.a.appendChild(this.s);this.a.appendChild(this.f)}function e(m){-1!==this.c.m.indexOf("escape")&&27===m.which&&this.la()&&this.close()}function p(m){var b;if(b=-1!==this.c.m.indexOf("overlay")){for(b=m.target;(b=b.parentElement)&&!b.classList.contains("tingle-modal"););b=!b}b&&m.clientX<this.a.clientWidth&&this.close()}function t(){for(var m=1;m<arguments.length;m++)for(var b in arguments[m])arguments[m].hasOwnProperty(b)&&(arguments[0][b]=arguments[m][b]);return arguments[0]}var k=!1;a.prototype.ia=function(){this.a||(f.call(this),this.w={aa:this.close.bind(this),ba:p.bind(this),resize:this.Y.bind(this),ma:e.bind(this)},-1!==this.c.m.indexOf("button")&&this.s.addEventListener("click",this.w.aa),this.a.addEventListener("mousedown",this.w.ba),window.addEventListener("resize",this.w.resize),document.addEventListener("keydown",this.w.ma),document.body.insertBefore(this.a,document.body.firstChild),this.c.ha&&this.W())};a.prototype.L=function(m){k=m};a.prototype.V=function(){return k};a.prototype.la=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.V()){this.L(!0);if("function"!==typeof this.c.M||this.c.M.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.ra,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.P&&this.c.P.call(this);this.L(!1)}};a.prototype.W=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};a.prototype.R=function(m){this.B()||(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"),c.call(this),this.C.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.C.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.B=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.Y=function(){this.a.classList.contains("tingle-modal--visible")&&(this.B()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.B()&&this.c.U?this.R(!1):this.B()&&this.c.U&&(c.call(this),this.R(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.reverse=function(){return this.split("").reverse().join("")};function ha_d(a){function c(g){g.preventDefault();if(!k.disabled){var A=g;g.touches&&(A=g.touches[0]);b=this===h?h.offsetLeft:l.offsetLeft;m=A.pageX-b;E=this;document.addEventListener("mousemove",f);document.addEventListener("mouseup",e);document.addEventListener("touchmove",f);document.addEventListener("touchend",e)}}function f(g){if(!k.disabled){var A=g;g.touches&&(A=g.touches[0]);b=A.pageX-m;g=l?l.offsetLeft:v.offsetWidth;E===h?(b>g?b=g:0>b&&(b=0),E.style.left=b+"px"):E===l&&(b<h.offsetLeft+h.offsetWidth-10?b=h.offsetLeft+h.offsetWidth-10:b>F&&(b=F),E.style.left=b+"px");q.style.marginLeft=h.offsetLeft-h.offsetWidth/2+"px";q.style.width=g-h.offsetLeft+"px";t();if(a.onchange&&n)a.onchange(d.getAttribute("se-min-value"),d.getAttribute("se-max-value"),d.dataset.id)}}function e(){document.removeEventListener("mousemove",f);document.removeEventListener("mouseup",e);document.removeEventListener("touchmove",f);document.removeEventListener("touchend",e);k.disabled||(E=null,t(),k.ga&&n&&k.ga(d.getAttribute("se-min-value"),d.getAttribute("se-max-value")))}function p(){z.style.opacity="1";setTimeout(function(){z.style.opacity="0"},3E3)}function t(){var g=h.offsetLeft/H*(w-r)+r;var A=0*(w-r)+r;if(0!==y){var G=Math.floor(g/y);g=y*G;G=Math.floor(A/y);A=y*G}g>=w&&(D||p(),D=!0);g<=r&&(u||p(),u=!0);k.S(g);d.setAttribute("se-min-value",g);d.setAttribute("se-max-value",A)}var k=this,m=0,b=0,d=a.F,n=!1,u=!1,D=!1,z=document.createElement("div");z.classList.add("slider-input-tooltip");z.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){x.parentNode.appendChild(z);z.style.left=x.parentNode.offsetWidth/2-z.offsetWidth/2+"px"},1);if(a.i)var x=a.i;else a.g&&(x=a.g);x.appendChild(z);var h=d.querySelector(".zb-slider-touch-left"),l=d.querySelector(".zb-slider-touch-right"),q=d.querySelector(".zb-non-active-slider-bar"),v=d.querySelector(".zb-slider-bar"),r=parseFloat(d.getAttribute("se-min")),w=parseFloat(d.getAttribute("se-max"));k.Ba=function(g){r=g};k.za=function(g){w=g};k.enable=function(g){k.disabled=!g;g?(a.F.classList.remove("disabled"),x&&(x.classList.remove("disabled"),a.i?a.i.setAttribute("contenteditable",!0):a.g&&a.g.setAttribute("readonly",!1))):(a.F.classList.add("disabled"),x&&(x.classList.add("disabled"),a.i?a.i.setAttribute("contenteditable","false"):a.g&&a.g.setAttribute("readonly",!0)))};var C=r;d.hasAttribute("se-min-value")&&(C=parseFloat(d.getAttribute("se-min-value")));var B=w;d.hasAttribute("se-max-value")&&(B=parseFloat(d.getAttribute("se-max-value")));C<r&&(C=r);B>w&&(B=w);C>B&&(C=B);var y=0;d.getAttribute("se-step")&&(y=Math.abs(parseFloat(d.getAttribute("se-step"))));k.F=d;k.reset=function(){h.style.left="0px";l&&(l.style.left=v.offsetWidth-h.offsetWidth+"px");q.style.marginLeft="0px";q.style.width=v.offsetWidth-h.offsetWidth+"px";b=m=0;f({pageX:0})};k.D=function(g,A){(void 0===A||A)&&k.S(g);g>w&&(g=w);g<r&&(g=r);h.style.left=Math.ceil((g-r)/(w-r)*(v.offsetWidth-(h.offsetWidth+0)))+"px";q.style.marginLeft=h.offsetLeft+"px";q.style.width=l?l.offsetLeft-h.offsetLeft+"px":v.offsetWidth-h.offsetLeft+"px";d.setAttribute("se-min-value",g)};k.Aa=function(g){l&&(l.style.left=Math.ceil((g-r)/(w-r)*(v.offsetWidth-(h.offsetWidth+0)))+"px",q.style.marginLeft=h.offsetLeft+"px",q.style.width=l.offsetLeft-h.offsetLeft+"px",d.setAttribute("se-max-value",g))};k.S=function(g){.01>Math.abs(Math.floor(100*g)-100*g)&&(g=Math.floor(1E3*g)/1E3);a.g?a.g.value=g:a.i.innerHTML=g};k.reset();var F=v.offsetWidth-(l?l.offsetWidth:0),E=null,H=v.offsetWidth;k.D(C);h.addEventListener("mousedown",c);h.addEventListener("touchstart",c);l&&(l.addEventListener("mousedown",c),l.addEventListener("touchstart",c));a.i?a.i.addEventListener("keyup",function(g){k.D(parseInt(g.target.innerHTML,10),!1);a.onchange(d.getAttribute("se-min-value"),d.getAttribute("se-max-value"),d.dataset.id)}):a.g&&a.g.addEventListener("change",function(g){k.D(parseInt(g.target.value,10),!1);a.onchange(d.getAttribute("se-min-value"),d.getAttribute("se-max-value"),d.dataset.id)});h.style.left=h.offsetLeft-10+"px";setTimeout(function(){H=v.offsetWidth;k.D(d.getAttribute("se-min-value"))},100);n=!0}var ha_=void 0;function ha_e(a,c){if(void 0!==c){if("int"===c)return parseInt(a,10);if("float"===c)return parseFloat(a)}return a}
function ha_f(a){var c=document.createElement("div");c.style.width=a.width;c.className="slider-container";var f=document.createElement("div");c.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.j&&f.setAttribute("se-min-value",a.j);a.fa&&f.setAttribute("se-min-max",a.fa);var e=document.createElement("div");e.className="zb-slider-touch-left";f.appendChild(e);e.appendChild(document.createElement("span"));e=document.createElement("div");e.className="zb-slider-bar";f.appendChild(e);var p=document.createElement("span");p.className="zb-non-active-slider-bar";e.appendChild(p);a.parent&&(a.parent.appendChild(c),new ha_d({F:f,g:a.g,i:a.i,onchange:a.onchange}));return{ua:c,pa:f}}function ha_g(a){ha_h({T:{step:1,min:a.min||140,max:a.max||210,j:a.j||160,width:"100%"},I:'ס"מ',G:a.G||"גובה",name:a.name||"height_input",u:a.name||"height_input",parent:a.parent})}
function ha_i(a){ha_h({T:{step:1,min:a.min||40,max:a.max||180,j:a.j||60,width:"100%"},I:'ק"ג',G:a.G||"משקל",name:a.name||"weight_input",u:a.name||"weight_input",parent:a.parent})}function ha_j(a){var c=document.createElement("div");c.className="animated-calculator-button";c.innerHTML=a.caption||"";a.onclick&&(c.onclick=a.onclick);return c}var ha_k=0;function ha_h(a){var c=document.createElement("div");c.className="text-slider-container";a.da&&(c.id=a.da);a.parent.appendChild(c);var f=document.createElement("div");c.appendChild(f);f.className="slider-and-label-container";var e=document.createElement("label");e.className=a.Ca||"slider-label";e.innerHTML=a.G||"";f.appendChild(e);void 0===a.u&&(a.u="___running_text_id_"+ha_k++);a.type?(e=document.createElement("input"),e.className="slider-text-field",e.type=a.type||"text",a.xa&&(e.pattern="\\d*")):(e=document.createElement("div"),e.setAttribute("contenteditable",!0),e.setAttribute("inputmode","decimal"),e.onfocus=function(k){window.getSelection().selectAllChildren(k.target)},e.className="slider-text-div");a.ja&&(e.onchange=a.ja);a.ka&&(e.onkeyup=a.ka);e.id=a.u;e.name=a.name;var p=a.T;if(a.type){p.g=e;var t="slider-text-field-container"}else p.i=e,t="slider-text-div-container";p.parent=f;ha_f(p).pa.dataset.id=a.u;f=document.createElement("div");f.className=t;c.appendChild(f);f.appendChild(e);a.I&&(c=document.createElement("label"),c.className="slider-text-field-label",c.innerHTML=a.I||"",c.setAttribute("for",a.u),f.appendChild(c))}
function ha_l(){var a={j:"female",na:[{caption:"זכר",value:"male",image:"images/avatars/male-avatar.svg"},{caption:"נקבה",value:"female",image:"images/avatars/female-avatar.svg"}],Z:"animated gender-div",name:"gender"},c=document.createElement("div");c.className=a.Z||"animated gender-div";for(var f=[],e={},p=ha_b(a.na),t=p.next();!t.done;e={H:e.H,h:e.h},t=p.next()){t=t.value;var k=document.createElement("label");k.for="gender";k.className="avatar-div";c.appendChild(k);e.h=document.createElement("span");k.appendChild(e.h);e.h.className="avatar-window";e.h.style.backgroundImage="url('"+t.image+"')";t.X&&(e.h.className+=" "+t.X);k.appendChild(e.h);f.push(e.h);var m=document.createElement("div");m.className="radio-div";var b=document.createElement("label");b.className="radio-container";m.appendChild(b);var d=document.createElement("input");d.type="radio";d.name=a.name;d.value=t.value;e.H=a.onclick||function(){};d.onclick=function(n){return function(){n.H();f.map(function(u){u.classList.remove("selected-radio")});n.h.classList.add("selected-radio")}}(e);a.j===t.value&&(d.checked=!0,e.h.classList.add("selected-radio"));b.appendChild(d);d=document.createElement("span");d.className="styled-checkmark";b.appendChild(d);d=document.createElement("span");d.innerHTML=t.caption;b.appendChild(d);k.appendChild(m)}return c}function ha_m(a){var c=document.getElementById(a);c||(c=document.getElementsByName(a)[0]);a=c.value;void 0===a&&(a=c.innerHTML);return ha_e(a,"int")}
function ha_n(){var a=a||["animated-calendar-container","animated-popup-button-set-container","text-slider-container","animated-select-container","quick-nav-container"];a=ha_b(a);for(var c=a.next();!c.done;c=a.next())Array.prototype.map.call(document.getElementsByClassName(c.value),function(f){f.classList.add("popup_with_separator")})}
function ha_o(a,c){for(var f in c){var e=c[f];e&&"[object Object]"===Object.prototype.toString.call(e)?(void 0==a[f]&&(a[f]=a[f]||{}),ha_o(a[f],e)):void 0==a[f]&&(a[f]=e)}return a}var ha_p={};ha_p=ha_o(ha_p,{});(function(){function a(){var c=ha_m("height_input"),f=ha_m("weight_input");var e=ha_e(document.querySelectorAll("input[name=gender][type=radio]:checked")[0].value,void 0);c=(("male"===e?.407*f+.267*c-19.2:.252*f+.473*c-48.3)+("male"===e?.3281*f+.33929*c-29.5336:.29569*f+.41813*c-43.2933)+("male"===e?1.1*f-128*f*f/(c*c):1.07*f-148*f*f/(c*c)))/3;document.getElementById("average-lbm").innerHTML=Math.round(10*c)/10;document.getElementById("lbm-percent").innerHTML=Math.round(c/f*1E3)/10+"%";document.getElementById("result-wrapper").style.visibility="visible";mobileBrowser&&(f=document.getElementById("calculator_center_ad"),ha_||(ha_=ha_c()),ha_.to(f))}(function(){var c=document.getElementById("selection_panel"),f=ha_l();c.appendChild(f);ha_g({min:140,max:210,j:160,parent:c});ha_i({min:40,max:160,j:60,parent:c});c=ha_j({caption:"מהי מסת הגוף הרזה שלי?"});c.onclick=a;document.getElementById("calculator_buttons").appendChild(c);mobileBrowser&&(c=ha_j({caption:"חישוב נוסף"}),c.onclick=function(){var e=document.getElementsByClassName("calculator_wrapper")[0];ha_||(ha_=ha_c());ha_.to(e)},document.getElementById("result_buttons").appendChild(c));ha_n()})()})()})();(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)})})({})})()