(function() { !function(){!function(e,t,n){function r(e){return"[object Function]"==h.call(e)}function o(e){return"string"==typeof e}function i(){}function a(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function l(){var e=y.shift();g=1,e?e.t?f(function(){("c"==e.t?O.injectCss:O.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),l()):g=0}function c(e,n,r,o,i,c,s){function u(t){if(!h&&a(p.readyState)&&(b.r=h=1,!g&&l(),p.onload=p.onreadystatechange=null,t))for(var r in"img"!=e&&f(function(){v.removeChild(p)},50),E[n])E[n].hasOwnProperty(r)&&E[n][r].onload()}var s=s||O.errorTimeout,p=t.createElement(e),h=0,j=0,b={t:r,s:n,e:i,a:c,x:s};1===E[n]&&(j=1,E[n]=[]),"object"==e?p.data=n:(p.src=n,p.type=e),p.width=p.height="0",p.onerror=p.onload=p.onreadystatechange=function(){u.call(this,j)},y.splice(o,0,b),"img"!=e&&(j||2===E[n]?(v.insertBefore(p,m?null:d),f(u,s)):E[n].push(p))}function s(e,t,n,r,i){return g=0,t=t||"j",o(e)?c("c"==t?w:b,e,t,this.i++,n,r,i):(y.splice(this.i++,0,e),1==y.length&&l()),this}function u(){var e=O;return e.loader={load:s,i:0},e}var p=t.documentElement,f=e.setTimeout,d=t.getElementsByTagName("script")[0],h={}.toString,y=[],g=0,j="MozAppearance"in p.style,m=j&&!!t.createRange().compareNode,v=m?p:d.parentNode,p=e.opera&&"[object Opera]"==h.call(e.opera),p=!!t.attachEvent&&!p,b=j?"object":p?"script":"img",w=p?"script":b,x=Array.isArray||function(e){return"[object Array]"==h.call(e)},q=[],E={},S={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},k,O;(O=function(e){function t(e){var e=e.split("!"),t=q.length,n=e.pop(),r=e.length,n={url:n,origUrl:n,prefixes:e},o,i,a;for(i=0;i2||(d=t,V())}function X(n){return null==t||(!n||"[object String]"!==Object.prototype.toString.call(n)||0===n.length||-1!=t.indexOf(";"+n.toUpperCase()+";"))}function Y(n){t=n&&"[object String]"===Object.prototype.toString.call(n)&&0!==n.length?n:null}function Z(){return p}function $(t){"[object Boolean]"===Object.prototype.toString.call(t)&&S!==t&&((S=t)?N():(g=!1,p=!1))}return{init:U,canReport:j,report:C,setUserId:A,setUserString:E,setGuestId:v,setPageUrl:F,setTestGroup:x,setUserStation:R,getUserId:G,getUserString:P,getGuestId:T,getSessionId:B,getPageUrl:J,getAffiliateId:w,getTestGroup:L,getUserStation:M,setLF:W,getLF:k,getCountry:q,setCountry:z,getIsEUCountry:D,setIsEUCountry:H,setCountryFields:K,isCountryEEA:X,setEEACountry:Y,wasInitiatedAndReported:Z,csre:$}}();; heyoya.flow = flow=function(){var e="heyoyaAPI",t="heyoyaVCI",swfcsnt,a=0,i=0,n,o,s,r,l,d,c,p,y,g,h,u,m,f,v,w,I,b,x,C,D=function(){},T,B,S,k,U,P,A,O,M,R,N,L,E,W,H,z,V,_=!1,j=!1,F=!1,G=!1,q=!1,J=null,Q=!1,Y=!1,Z,$=null,X=!1,K,ee,te=!1,ae=null,ie,ne,oe=!1,se=0,re=0,le=!1,de=0,ce=null,pe=0,ye=!1,ge=!1,he=0,ue=!1,me=!1,fe,ve,we=!1,Ie=!1,be=null,xe,Ce,De=!1,Te=!1,Be=!1,Se=null,ke=!0,Ue,iuwpp=!1,sqI=null;function Pe(e,t,a,i,D,A,G,J,Q,Y,X,K,ee,ae,ie,ne,oe,se,re,le,de,ce,pe,ge,ue,me,we){null!=e&&null!=e&&""!=e&&null!=t&&null!=t&&""!=t&&null!=D&&null!=D&&""!=D&&null!=A&&null!=A&&""!=A&&null!=me&&null!=me&&""!=me&&null!=i&&null!=i&&""!=i&&null!=re&&null!=re&&""!=re&&null!=X&&null!=X&&""!=X&&null!=we&&null!=we&&""!=we&&(void 0===x&&(window.heyoyaSettings=void 0),n=e,o=t,l=D,fe=ge,ve=ue,r=a,s=i,d=A,p=oe,c=me,y=G,g=J,h=Q,u=Y,m=X,Ce=we,f=K,v=ee,w=ae,I=ie,b=ne,x=se,E=re,C=!1,T=!1,B=!1,k=!1,U=!1,R=!1,S=!1,P=null,N=null,W=null,H=null,z=null,L=0,O=!1,M=0,V=0,$=ce,window.HeyoyaSDKWeb&&(_=!0),de&&(j=!0,Z=[]),pe&&(te=!0),swfcsnt=Ve(),swfcsnt&&_e(),F=!(!window||!window.Weebly),q=x&&1==x.swdt,j?(xe=!Kt()&&navigator&&navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent),kt()):xe=!Kt()&&navigator&&navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!/CPU OS 7_|CPU OS 6_|CPU OS 8_|CPU OS 9_1|CPU OS 9_0|CPU OS 7_|CPU OS 6_|CPU OS 8_|CPU OS 9_1|CPU OS 9_0|CPU iPhone OS 7_|CPU iPhone OS 6_|CPU iPhone OS 8_|CPU iPhone OS 9_1|CPU iPhone OS 9_0/.test(navigator.userAgent),l.init(s),Ft(),Ae(),!_&&x&&x.sva&&x.nva&&1===x.sva&&x.nva>0&&(ye=!0,he=x.nva),"function"==typeof le&&le())}function Ae(){if(x&&d&&x.affId&&d.getPageUrl())if("gaSM9PEZgV"!=x.affId&&"DXUNJ6cloT"!=x.affId&&"zgkRv3DVqw"!=x.affId&&"iZdb8dZKlX"!=x.affId&&"307LgMpD34"!=x.affId)if("iVLF6VOEjR"!=x.affId&&"a9DZRcxeWe"!=x.affId&&"pKn93HdhN1"!=x.affId&&"yhGCard6ll"!=x.affId&&"v1CDof2Ne4"!=x.affId&&"uoIv1RZYvX"!=x.affId&&"IILE340Frh"!=x.affId&&"IC2slbACzI"!=x.affId&&"0hSpEQf8Il"!=x.affId&&"VgpuwRAxSV"!=x.affId&&!(x&&x.isq)){if(d.setPageUrl(d.getPageUrl().replace(/(\?)utm[^&]*(?:&utm[^&]*)*&(?=(?!utm[^\s&=]*=)[^\s&=]+=)|\?utm[^&]*(?:&utm[^&]*)*$|&utm[^&]*/gi,"$1")),d.setPageUrl(d.getPageUrl().replace(/(\?)fbclid[^&]*(?:&fbclid[^&]*)*&(?=(?!fbclid[^\s&=]*=)[^\s&=]+=)|\?fbclid[^&]*(?:&fbclid[^&]*)*$|&fbclid[^&]*/gi,"$1")),d.setPageUrl(d.getPageUrl().replace(/(\?)mc_cid[^&]*(?:&mc_cid[^&]*)*&(?=(?!mc_cid[^\s&=]*=)[^\s&=]+=)|\?mc_cid[^&]*(?:&mc_cid[^&]*)*$|&mc_cid[^&]*/gi,"$1")),d.setPageUrl(d.getPageUrl().replace(/(\?)mc_eid[^&]*(?:&mc_eid[^&]*)*&(?=(?!mc_eid[^\s&=]*=)[^\s&=]+=)|\?mc_eid[^&]*(?:&mc_eid[^&]*)*$|&mc_cid[^&]*/gi,"$1")),d.setPageUrl(d.getPageUrl().replace(/(\?)cid[^&]*(?:&cid[^&]*)*&(?=(?!cid[^\s&=]*=)[^\s&=]+=)|\?cid[^&]*(?:&cid[^&]*)*$|&cid[^&]*/gi,"$1")),d.getPageUrl().indexOf("?")!==d.getPageUrl().length-1&&d.getPageUrl().lastIndexOf("&")!==d.getPageUrl().length-1||d.setPageUrl(d.getPageUrl().substring(0,d.getPageUrl().length-1)),-1!=d.getPageUrl().indexOf("shse123=hse321")&&d.setPageUrl(d.getPageUrl().replace("?shse123=hse321","").replace("&shse123=hse321","")),"LFqWgfobAL"==x.affId||"GFg5WN2d18"==x.affId){var e=heyoya.querystring.extract(d.getPageUrl());if(null!=e.m&&null!=e.m){var t="?m="+e.m,a=d.getPageUrl().indexOf(t);if(-1==a&&(t="&m="+e.m,a=d.getPageUrl().indexOf(t)),-1!=a){var i=d.getPageUrl().substring(0,a);d.getPageUrl().length-t.length>a&&(i+=-1!=t.indexOf("?")?"?":"&",i+=d.getPageUrl().substring(a+t.length+1)),d.setPageUrl(i)}}}"O7dXNoYasE"!=x.affId&&"0gSOz9aS6V"!=x.affId||d.getPageUrl().lastIndexOf("/")==d.getPageUrl().length-1&&d.setPageUrl(d.getPageUrl().substring(0,d.getPageUrl().length-1))}else d.setPageUrl(d.getPageUrl().split("?")[0]);else{var n;try{n=d.getPageUrl().split("?")[0].replace(new RegExp("/\\d{1,4}/$"),"/")}catch(e){n=d.getPageUrl()}d.setPageUrl(n)}j&&window.wixCompId&&d.getPageUrl().indexOf("_hEySepBP_")===-1&&(d.setPageUrl(d.getPageUrl()+"_hEySepBP_"+window.wixCompId))}function Oe(){Me(this)}function Me(e){o.load({caller:e,callback:function(e){this.jQueryLoaded(e)}})}function Re(e,t){var wpvqs=heyoya.querystring.extract(e("script[src*='b2b_settings.hey']").attr("src"));if((D=e)("body").hasClass("woocommerce")&&(X=!0),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g,"").replace(/\s+/g," ")}),(iuwpp=!1,iuwpp=wpvqs&&wpvqs.wpv),!x||"A24hsICxFv"!=x.affId&&"by6gyVSpju"!=x.affId||(ce=setInterval((function(){if(15===++de&&(clearInterval(ce),ce=null),!(de>15)){var e=D("#heyoyaDiv").width();0!==pe?e!==pe&&(pe=e,de=15,clearInterval(ce),ce=null,s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)):pe=e}}),200)),x&&"AxcYGoBeD1"==x.affId)d.report("heyoya-mlyp-imp");else{x&&"N6RqucLwoY"==x.affId&&"/metaphysical-hotline/wish/"===window.location.pathname&&(x.title="Make a 1:00 minute recording!",x.sl="en",x.macht="Thank you for contributing to the archive");if(x&&"7qd75U3CTr"==x.affId&&D("body").width()>=768){D("#heyoyaDiv").detach();var a=document.createElement("DIV");a.id="heyoyaDiv",D(".product-page-wrapper > .section > .container > .row > .col:first-child").append(a)}if(!iuwpp&&x&&x.affId){"4GjM7SMTS3"===x.affId?D("#comments").children().detach():"LvkSkOxQie"===x.affId&&D(".comment_form").length>0&&D(".comment_form").parent().addClass("heyoya-comments").children().detach()}if(x&&"DU7ZlwU68c"==x.affId&&D("#heyoyaDiv").detach(),x&&x.isq&&D(".product-detail-page").length>0&&(x.ppPath=".user-content .w-container||into"),x&&x.isq&&(sqciuc()),!(x&&x.ppPath||0!=D("#heyoyaDiv").length))return void 0===window.heyretry||window.heyretry<40?(void 0===window.heyretry?window.heyretry=1:window.heyretry++,void setTimeout((function(){Re(e)}),500)):void d.report("heyoya-frame-and-ppPath-not-find");if(x&&x.ppPath||0!=D("#heyoyaDiv").length){if(0==D("#heyoyaDiv").length){var i;if(!Le(x.ppPath,x.containerClass))return void(parseInt(100*Math.random(),10)<5&&d.report("placement-error"));x.cancelMargin||Fa("#heyoyaDiv","margin-top","20px")}if(x&&x.mainClass&&D("#heyoyaDiv").addClass(x.mainClass),x.width&&0!=x.width&&(Fa("#heyoyaDiv","width",x.width+"px"),Fa("#heyoyaDiv","max-width","100%")),x&&x.affId&&"ynet"==x.affId){var n="rgb(249, 101, 137)";x.stit=0,x.recordingIconsColor=n,x.linksColor=n}void 0!==D("#heyoyaDiv").attr("data-gc")&&(x.gc=D("#heyoyaDiv").attr("data-gc")),x&&x.affId&&"1kZgbRfI3B"==x.affId&&(void 0===window.heyoyadla||isNaN(window.heyoyadla)||1!==parseInt(window.heyoyadla,10)||(x.sads=0)),x&&x.isq&&D(".product-detail-page").length>0&&(Fa("#heyoyaDiv","margin","0 auto 20px")),$a()?Xa():Ne(t)}else d.report("heyoya-frame-and-ppPath-not-find")}}function Ne(e){if(He(),!x||x.width&&0!=x.width||x.pec&&1==x.pec||x.wa&&2==x.wa||!x.affId||"ynet-old"==x.affId||"nysYB19tz3"==x.affId||"Vh6A9cY6dh"==x.affId||"8F2QmfNDzd"==x.affId||"ampm"==x.affId||"hQ6bYcripZ"==x.affId||("ynet"!==x.affId?Fa("#heyoyaDiv","max-width","564px"):Fa("#heyoyaDiv","max-width","100%"),x.wa&&0!=x.wa||Fa("#heyoyaDiv","margin","0 auto")),x.width&&0!=x.width||!(x.pec&&1==x.pec||x.wa&&2==x.wa)||(Fa("#heyoyaDiv","max-width","100%"),Fa("#heyoyaDiv","width","100%"),!x.pec&&x.wa&&2==x.wa&&(Fa("#heyoyaDiv #heyoyaB2BApp","max-width","564px"),D(window).resize(_t),_t())),F&&x.pec&&1==x.pec)switch(Fa("#heyoyaDiv","max-width","100%"),x.wa){case 0:Fa("#heyoyaDiv","margin","0 auto");break;case 1:Fa("#heyoyaDiv","margin-left","0");break;case 2:Fa("#heyoyaDiv","margin-left","auto")}if(!x.ignoreWhitelabel){if(x&&x.affId&&("eYPb0AtcO5"==x.affId&&D("#heyoyaDiv").addClass("ftt"),setTimeout((function(){for(var e=0;e<36;e++)setTimeout((function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}),500*e)}),0)),x&&x.affId&&"JlbOY3wjh9"==x.affId&&D("#heyoyaDiv").addClass("jwr"),x&&x.affId&&"i10FC4EObO"==x.affId&&D("#heyoyaDiv").addClass("ptn"),x&&x.affId&&"ZiiqaCWpAS"==x.affId&&(D("#heyoyaDiv").addClass("csw"),Fa("#heyoyaDiv","width","100%"),setTimeout((function(){for(var e=0;e<36;e++)setTimeout((function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}),500*e)}),0)),x&&x.affId&&"qQTNx5Ir9A"==x.affId&&D("#heyoyaDiv").addClass("exmp"),x&&x.affId&&"JJBXSFKQeW"==x.affId&&D("#heyoyaDiv").addClass("tj"),x&&x.affId&&"itzhakshilo"==x.affId&&Fa("#heyoyaDiv","max-width","700px"),x&&x.affId&&"7qd75U3CTr"==x.affId){D("#heyoyaDiv").addClass("just-beauty").attr("style","");for(var t=0;t<30;t++)setTimeout((function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}),500*t)}x&&x.affId&&("kdZpjta7VS"==x.affId||"xQeI0L5yRl"==x.affId)&&n.loadFile(n.urlTypes.css,y+"css/whitelabels/kdZpjta7VS.css?"+w,(function(){for(var e=0;e<36;e++)setTimeout((function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}),500*e)})),x&&x.affId&&"Psj7bgmeaj"==x.affId&&n.loadFile(n.urlTypes.css,y+"css/whitelabels/Psj7bgmeaj-h.css?"+w,(function(){for(var e=0;e<36;e++)setTimeout((function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}),500*e)})),x&&x.affId&&"ZK9r26cXiO"==x.affId&&(("https://arabic-immersion.mykajabi.com/products/je-decouvre-l-arabe-en-immersion-une-semaine-gratuite/categories/2411763/posts/8058193"===d.getPageUrl()&&d.setPageUrl("https://arabic-immersion.mykajabi.com/products/elearning-forum-audio/categories/2463451/posts/8225333")),("https://arabic-immersion.mykajabi.com/products/adultes-je-decouvre-l-arabe-en-immersion-2/categories/4310044/posts/14708930"===d.getPageUrl()&&d.setPageUrl("https://arabic-immersion.mykajabi.com/products/adultes-forum-audio/categories/4335846/posts/14553602"))),x&&x.affId&&"gemqTyqbbH"==x.affId&&(Fa("#heyoyaDiv","float","left"),Fa("#heyoyaDiv","margin-bottom","20px")),x&&x.affId&&"toivj"==x.affId&&Fa("#heyoyaDiv","max-width","706px"),x&&x.affId&&"lOPgNiqdW1"==x.affId&&(Fa("#heyoyaDiv","width","100%"),Fa("#heyoyaDiv","max-width","700px"),Fa("#heyoyaDiv","margin","0 auto")),x&&x.affId&&"farfesh"!=x.affId&&window.addEventListener("resize",(function(){if(U){var e=D(window).width(),t=D(window).height();e===se&&t===re||(se=e,re=t,s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui))}})),x&&x.affId&&("p1k7UfXLPY"==x.affId||"makemysushi"==x.affId)&&Fa("#heyoyaDiv","max-width","624px"),x&&x.affId&&("galis"==x.affId||"galis-demo"==x.affId)&&(Fa("#heyoyaDiv","max-width","624px"),Fa("#heyoyaDiv","margin","10px auto 20px")),x&&x.affId&&"AhGMIO7TOY"==x.affId&&(Fa("#heyoyaDiv","max-width","624px"),Fa("#heyoyaDiv","margin","0 auto")),x&&x.affId&&"Lh31n6sVRs"==x.affId&&Fa("#heyoyaDiv","margin","0 auto"),x&&x.affId&&"bukisa"==x.affId&&Fa("#heyoyaDiv","max-width","624px"),x&&x.affId&&"farfesh"==x.affId&&(Fa("#heyoyaDiv","width","600px"),Fa("#heyoyaDiv","padding","0"),Fa("#heyoyaDiv","position","relative"),-1==window.location.href.toLowerCase().indexOf("/view.asp?")&&Fa("#heyoyaDiv","left","15px")),x&&x.affId&&"zig7nH1PbX"==x.affId&&Fa("#heyoyaDiv","clear","both"),x&&x.affId&&"qWg7U7KcdO"==x.affId&&Fa("#heyoyaDiv","margin-top","20px"),x&&x.affId&&"t7L9m2lGkS"==x.affId&&(Fa("#heyoyaDiv","max-width","624px"),Fa("#heyoyaDiv","margin","20px auto")),x&&x.affId&&"5XfwRlNP0V"==x.affId&&(Fa("#heyoyaDiv","max-width","630px"),Fa("#heyoyaDiv","float","left"),Fa("#heyoyaDiv","width","100%")),x&&x.affId&&"E7NioZtWFM"==x.affId&&(Fa("#heyoyaDiv","max-width","630px"),Fa("#heyoyaDiv","margin-top","0")),x&&x.affId&&"toidf"==x.affId&&Fa("#heyoyaDiv","max-width","630px"),x&&x.affId&&"v1CDof2Ne4"==x.affId&&(_?Fa("#heyoyaDiv","max-width","635px"):(Fa("#heyoyaDiv","max-width","652px"),Fa("#heyoyaDiv","margin","0px auto 5px"))),x&&x.affId&&"Bz8wDGScpo"==x.affId&&(Fa("#heyoyaDiv","max-width","627px"),Fa("#heyoyaDiv","margin","20px auto")),x&&x.affId&&"Xmtrfbi62p"==x.affId&&D("#heyoyaDiv").addClass("hey-Xmtrfbi62p"),x&&x.affId&&"gYs1cdKdfs"==x.affId&&(Fa("#heyoyaDiv","margin-top","20px"),Fa("#heyoyaDiv","margin-bottom","20px")),x&&x.affId&&("hvONi5f8AF"==x.affId||"QfePioIdUW"==x.affId)&&Fa("#heyoyaDiv","margin","20px auto 20px auto"),x&&x.affId&&"O7dXNoYasE"==x.affId&&Fa("#heyoyaDiv","margin","0 auto"),x&&x.affId&&"IatjHrJbmf"==x.affId&&D("#heyoyaDiv").addClass("IatjHrJbmf"),x&&x.affId&&"9uYQFFsNmd"==x.affId&&-1!=d.getPageUrl().indexOf("mikeyp.bonddemo.co.uk")&&d.setPageUrl(d.getPageUrl().replace("/mikeyp.bonddemo.co.uk/","/www.mikeypoulli.com/"))}e?s.setMessageDestinations(document.getElementById("heyB2BData").contentWindow,document.getElementById("heyB2BUI").contentWindow):(fe.i(ve),s.init($e,document.getElementById("heyB2BData").contentWindow,document.getElementById("heyB2BUI").contentWindow,null,r,fe)),j&&(window.heyoya.setWixEventsFunction=Ct,window.heyoya.setWixEventsFunctionInterval=null,window.heyoya.setWixEventsFunctionIntervalCount=0,window.heyoya.setWixEventsSacht=x.sacht,Ct()),C=!0}function Le(e,t){if(!e)return!1;var a,i,n;if(i=n=null,x&&x.affId&&"Bz8wDGScpo"==x.affId&&(e=".details_description||into"),x&&x.affId&&"AwdUTjLtpN"==x.affId)n=D("#content>article"),i="after",x.titleColorText="#a9913b",x.titleColorBackground="#954a03";else for(var o=e.split(","),s=0;s1&&(n=D(n[0])),i=D.trim(a[1])){if(1==n.length&&null!=i&&""!=i)break}else n=null,i=null;else n=null}else n=null;if(null==n||null==i)return!1;var r="";switch(t&&(r="
"),r+="
",t&&(r+="
"),i){case"after":n.after(r);break;case"before":n.before(r);break;case"into":n.append(r)}return!0}var Ee=null;function We(){Ue=window.location.href,Ee=setInterval((function(){window.location.href!=Ue&&(Ue=window.location.href,d.setPageUrl(Ue),d.report("ajaxPageChange"),s.postMessage(null,s.messageTypes.ajaxPageChange,"1",void 0,s.messageDestinations.ui),It())}),1e3)}function He(){window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("connatix=demo")&&(b.affId="connatix"),window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("taboola=demo")&&(b.affId="taboola"),window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("mgid=demo")&&(b.affId="mgid"),x&&x.affId&&("wix-demo-page"==x.affId||"2MxWVVMnVR"==x.affId||"AUk3pMNGYi"==x.affId)&&(q=!0),n.loadFile(n.urlTypes.css,y+m+"?"+w),x&&(x.titleColorText&&(x.titleColorText=x.titleColorText.replace("#",";anchor;")),x.titleColorBackground&&(x.titleColorBackground=x.titleColorBackground.replace("#",";anchor;")));var e=qe();x.rt||(x.rt=3e4),ye=!0;var t=0;if(0!==D("script[src*='b2b_settings.hey']").length){var a=heyoya.querystring.extract(D("script[src*='b2b_settings.hey']").attr("src"));a&&a.wpv&&(t=a.wpv)}o=ze();E=E.replace("$dataUrl",y+h+"?"+v+(b.guestId?"&guestId="+b.guestId:"")+"&pc="+c.getCurrentPrivacyCode()).replace("$UIUrl",y+u+"?"+f+(b.affId?"&affIdId="+b.affId:"")+"&bw="+e+(x&&x.titleColorText?"&stct="+encodeURIComponent(x.titleColorText):"")+(x&&x.titleColorBackground?"&stcb="+encodeURIComponent(x.titleColorBackground):"")+(x&&x.mainColor?"&stcm="+encodeURIComponent(x.mainColor):"")+(x&&x.logoPath?"&stlp="+encodeURIComponent(x.logoPath):"")+(b.ahdfatr?"&ahdfatr="+b.ahdfatr:"")+(b.ahdfatr?"&ahdfaun="+b.ahdfaun:"")+(x&&x.title?"&st="+encodeURIComponent(x.title):"")+(!swfcsnt&&x&&x.sads?"&sads=1":"")+(x&&x.sadscid?"&sadscid="+x.sadscid:"")+(j?"&iw=1":"")+(x&&0==x.stit?"&stit=0":"")+(q?"&swdt=1":"")+(window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("hOpenInNative=1")?"&rina=1":"")+(window&&window.location&&window.location.protocol&&"https:"==window.location.protocol.toLowerCase()&&!window.heyoyaParentNotSecure?"&secure=1":"&secure=0")+(xe?"&sdiosml=1":"&sdiosml=0")+(x&&0==x.smachl?"&smachl=0":"")+(x&&0==x.srachl?"&srachl=0":"")+(x&&x.macht?"&macht="+encodeURIComponent(x.macht):"")+(x&&x.racht?"&racht="+encodeURIComponent(x.racht):"")+(x&&x.sacht?"&sacht="+encodeURIComponent(x.sacht):"")+(x&&x.fonts?"&fonts="+encodeURIComponent(x.fonts):"")+(x&&x.recordingIconsColor?"&recordingIconsColor="+encodeURIComponent(x.recordingIconsColor):"")+(x&&0==x.ssacht?"&ssacht=0":"")+(x&&0==x.srsacht?"&srsacht=0":"")+(x&&x.rsacht?"&rsacht="+encodeURIComponent(x.rsacht):"")+(x&&x.pec&&1==x.pec?"&pec=1":"")+(x&&x.wa&&x.wa>-1&&x.wa<3?"&wa="+x.wa:"")+(x&&x.linksColor?"&linksColor="+encodeURIComponent(x.linksColor):"")+(x&&x.textColor?"&textColor="+encodeURIComponent(x.textColor):"")+(x&&x.cardsColor?"&cardsColor="+encodeURIComponent(x.cardsColor):"")+(x&&x.buttonsColor?"&buttonsColor="+encodeURIComponent(x.buttonsColor):"")+(x&&x.asi?"&asi="+encodeURIComponent(x.asi):"")+(x&&x.sl?"&sl="+encodeURIComponent(x.sl):"&sl=en")+(x&&x.rt?"&rt="+encodeURIComponent(x.rt):"")+(x&&x.ignoreWhitelabel?"&iwl="+encodeURIComponent(x.ignoreWhitelabel):"")+(F?"&wbb=1":"&wbb=0")+(_?"&issdk=1":"&issdk=0")+(te?"&wsm=1":"&wsm=0")+(window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("client-admin")?"":x&&x.width?"&wd="+encodeURIComponent(x.width):"&wd=0")+(!_&&x&&x.sdwl&&Da()?"&sdwl=1":"&sdwl=0")+(!_&&x&&x.awsw&&Da()?"&awsw=1":"&awsw=0")+(!_&&x&&x.plf?"&plf="+x.plf:"&plf=0")+(!_&&x&&x.ssb?"&ssb="+x.ssb:"&ssb=0")+(_?"":"&wpv="+t)+(x&&x.isStore?"&ist=1":"&ist=0")+(!swfcsnt&&ye?"&sva=1":"&sva=0")+(i?"&sadsa=1":"")+"&pc="+c.getCurrentPrivacyCode()+(o?"&pa=1":"")+(x&&x.simu?"&simu="+encodeURIComponent(x.simu):"")+(x&&x.sivu?"&sivu="+encodeURIComponent(x.sivu):"")+(x&&x.sic?"&sic=1":"")),Je(),D("#heyoyaDiv").append(D(E)),x.ignoreWhitelabel&&(D("#heyoyaDiv").attr("rel","nofollow,noindex"),x.title||(x.title="Comments"),x.titleColorBackground||(x.titleColorBackground="#2b6398"),x.titleColorText||(x.titleColorText="#ffffff"),D("#heyoyaDiv").addClass("video-page"),D("#heyoyaB2BApp").before("
"+x.title+"
"),Ge()),(xe||ye)&&Vt(),A=D("#heyoyaDiv #heyB2BUI")}function ze(){return!!(x&&x.affId&&"XrHe2GZ6e7"===x.affId&&D("body").hasClass("bs-theme"))}function Ve(){return x&&x.sads&&"function"==typeof __tcfapi&&!Be}function _e(){__tcfapi("addEventListener",2,(function(e,t){t&&e&&(e.eventStatus||void 0!==e.gdprApplies&&null!==e.gdprApplies)&&(void 0!==e.gdprApplies&&null!==e.gdprApplies&&!1===e.gdprApplies||"tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus)&&(B?je():S=!0)}))}function je(){s.postMessage(null,s.messageTypes.hasConsent,ye?"2":"1",void 0,s.messageDestinations.ui),setTimeout((function(){s.postMessage(null,s.messageTypes.hasConsent,ye?"2":"1",void 0,s.messageDestinations.ui)}),2e3)}function Fe(){D("#heyoyaB2BHeader").attr("orig-font-size")||(D("#heyoyaB2BHeader").attr("orig-font-size",parseInt(D("#heyoyaB2BHeader").css("font-size"),10)),D("#heyoyaB2BHeader").attr("orig-line-height",34),D("#heyoyaB2BHeaderText").attr("orig-font-size",parseInt(D("#heyoyaB2BHeader").css("font-size"),10)));var e=1.8*D("#heyoyaDiv").width()/564,t=D("#heyoyaB2BHeader").attr("style"),a=D("#heyoyaB2BHeaderText").attr("style");-1!=t.indexOf(";font-size:")&&(t=t.substring(0,t.indexOf(";font-size:")),a=a.substring(0,a.indexOf(";font-size:"))),D("#heyoyaB2BHeader").attr("style",t+";font-size:"+parseInt(D("#heyoyaB2BHeader").attr("orig-font-size"),10)*e+"px !important;line-height:"+parseInt(D("#heyoyaB2BHeader").attr("orig-line-height"),10)*e/1.8+"px !important;"),D("#heyoyaB2BHeaderText").attr("style",a+";font-size:"+parseInt(D("#heyoyaB2BHeaderText").attr("orig-font-size"),10)*e+"px !important;")}function Ge(){D("#heyoyaB2BHeader").attr("orig-font-size")||(D("#heyoyaB2BHeader").attr("orig-font-size",parseInt(D("#heyoyaB2BHeader").css("font-size"),10)),D("#heyoyaB2BHeader").attr("orig-line-height",34),D("#heyoyaB2BHeaderText").attr("orig-font-size",parseInt(D("#heyoyaB2BHeader").css("font-size"),10)));var e=1.8*D("#heyoyaDiv").width()/564,t=D("#heyoyaB2BHeader").attr("style"),a=D("#heyoyaB2BHeaderText").attr("style");-1!=t.indexOf(";font-size:")&&(t=t.substring(0,t.indexOf(";font-size:")),a=a.substring(0,a.indexOf(";font-size:"))),D("#heyoyaB2BHeader").attr("style",t+";position:relative;font-size:"+parseInt(D("#heyoyaB2BHeader").attr("orig-font-size"),10)*e+"px !important;line-height:"+parseInt(D("#heyoyaB2BHeader").attr("orig-line-height"),10)*e/1.8+"px !important;"),D("#heyoyaDiv").width()>564?(D("#heyoyaB2BHeaderText").attr("style","line-height: 34px !important;font-size:30px !important;"),D("#heyoyaB2BHeader").append("")):(D("#heyoyaB2BHeaderText").attr("style",a+";font-size:"+parseInt(D("#heyoyaB2BHeaderText").attr("orig-font-size"),10)*e+"px !important;"),D("#heyoyaB2BHeader").append(""))}function qe(e){var t=!1;null!=W&&(clearTimeout(W),W=null,t=!0);var a=D("#heyoyaDiv").width(),i;(null!=typeof window.heyparcont&&"object"==typeof window.heyparcont&&Fa("#heyoyaDiv","width",(a=Gt(window.heyparcont))+"px"),a<250)&&(D("body").width()<768&&(a=D("body").width(),W=setTimeout(qe,1e3),t=!1));return X&&0==D("#heyoyaDiv").height()?(W=setTimeout(qe,1e3),void s.postMessage(null,s.messageTypes.windowResize,[a,"-1"],void 0,s.messageDestinations.ui)):((t||e)&&s.postMessage(null,s.messageTypes.windowResize,a,void 0,s.messageDestinations.ui),a)}function Je(){var e=D("[id=heyoyaDiv]");e.length<=1||(e.each((function(e,t){var a=D(t);"heyoya"==a.attr("creator")&&a.detach()})),(e=D("[id=heyoyaDiv]")).length<=1||e.each((function(e,t){0!=e&&D(this).detach()})))}var Qe,Ye=!1,Ze=!1;if(navigator&&navigator.userAgent&&-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&(Ye=!0),navigator&&navigator.platform&&navigator.platform.toUpperCase().indexOf("MAC")>=0&&(Ze=!0),Ye&&Ze&&window.location.href.indexOf("preview.editmysite.com/editor/main.php")>-1)var Qe=setInterval((function(){s&&(null!=document.getElementById("heyB2BData")&&(s.messageDestinations.data=document.getElementById("heyB2BData").contentWindow),null!=document.getElementById("heyB2BUI")&&(s.messageDestinations.ui=document.getElementById("heyB2BUI").contentWindow))}),.5);function $e(e,t,a){if(void 0!==t&&""!==t&&s.isValidMessageType(t)&&void 0!==a&&""!==a&&"[object Array]"===Object.prototype.toString.call(a)&&0!==a.length)switch(t){case s.messageTypes.readyData:var i=a.length<7||isNaN(a[6])||1===parseInt(a[6],10);d.setTestGroup(a[3]),d.setUserStation(a[4]),xt(s.messageDestinations.data,a[0],a[1],a[2],a[3],a[4],a[5],i),i||wt(),T=!0,U&&xt(s.messageDestinations.ui,a[0],a[1],a[2],a[3],a[4],a[5],i),j&&(-1!=d.getPageUrl().indexOf("b2b_settings.hey")||G)||It(),Ie&&(Ie=!1,s.postMessage(null,s.messageTypes.newPrivacy,[c.getCurrentPrivacyCode()],void 0,s.messageDestinations.data));break;case s.messageTypes.guc:et(a);break;case s.messageTypes.readyUI:B=!0,S&&(je(),S=!1);break;case s.messageTypes.setWidth:Fa("#heyoyaDiv","width",a[0]+"px"),Fa("#heyoyaDiv","max-width","inherit");break;case s.messageTypes.initiatedUI:k=!0,null!=P&&(bt(P),P=null);break;case s.messageTypes.loadedUI:se=D(window).width(),re=D(window).height(),yt(),U=!0,Lt(x&&x.sl?x.sl:"en"),Nt(x&&x.affId?x.affId:""),T&&xt(s.messageDestinations.ui),ea(),x&&x.affId&&ta(x.affId),oa(),Qa(),we&&(we=!1,s.postMessage(null,s.messageTypes.newPrivacy,[c.getCurrentPrivacyCode()],void 0,s.messageDestinations.ui));break;case s.messageTypes.setNumberOfComments:M=parseInt(a,10);break;case s.messageTypes.setNumberOfDisplayedComments:ut(a[0]),x&&x.affId&&"xP4QLJjCdp"==x.affId&&qe(!0),x&&x.affId&&("lOPgNiqdW1"==x.affId||"Hsi2uPz7wX"==x.affId||X)&&D("#heyoyaDiv").parent().hasClass("woocommerce-Tabs-panel")&&D("#heyoyaDiv").parent().css("height","").attr("style",D("#heyoyaDiv").parent().attr("style")+";height:auto !important;"),window!==top&&"function"==typeof window.heyGotMessage&&window.heyGotMessage({data:"hey1hey1234hey"+s.messageTypes.setNumberOfDisplayedComments+"hey1234hey"+a[0]});break;case s.messageTypes.getPageComments:k?bt(a[0]):P=a[0];break;case s.messageTypes.getSubComments:s.postMessage(null,t,a,void 0,s.messageDestinations.ui);break;case s.messageTypes.getData:s.postMessage(e,t,a,void 0,s.messageDestinations.data);break;case s.messageTypes.dataReceived:s.postMessage(e,t,a,void 0,s.messageDestinations.ui);break;case s.messageTypes.writeData:s.postMessage(null,t,a,void 0,s.messageDestinations.data);break;case s.messageTypes.requestPageComments:var n=-1,o=-1;a.length>2&&(n=a[2]),a.length>3&&(o=a[3]);var r=void 0;a.length>4&&(r=a[4]);var l=void 0;a.length>5&&(l=a[5]),It(a[0],a[1],n,o,r,l);break;case s.messageTypes.requestSubComments:s.postMessage(null,t,a,void 0,s.messageDestinations.data);break;case s.messageTypes.reportDislike:case s.messageTypes.reportLike:case s.messageTypes.commentShared:case s.messageTypes.setPageId:s.postMessage(null,t,a,void 0,s.messageDestinations.data);break;case s.messageTypes.scrollToPoint:ft(a[0]);break;case s.messageTypes.sug:vt(a);break;case s.messageTypes.userLoggedIn:case s.messageTypes.userLoggedOut:case s.messageTypes.commentFlagged:s.postMessage(null,t,a,void 0,s.messageDestinations.data);break;case s.messageTypes.scrollToVideoTop:mt(parseInt(a[0],10),parseInt(a[1],10));break;case s.messageTypes.setHeyoyaDivOverflow:ht(a);break;case s.messageTypes.uiAlive:gt();break;case s.messageTypes.recordWithIOSApplication:pt(a[0],a[1]);break;case s.messageTypes.IOSLinkAdd:Ht(a[0],a[1],a[2],a[3],a[4]);break;case s.messageTypes.IOSLinkRemoveAll:zt();break;case s.messageTypes.hideRecordingBars:qt();break;case s.messageTypes.showRecordingBars:Jt();break;case s.messageTypes.sendToWixHive:At(a);break;case s.messageTypes.wixHiveReportingClearPage:break;case s.messageTypes.wixOpenModal:$t(a[0],a[1],a[2]);break;case s.messageTypes.wixSetPageUrl:Bt();break;case s.messageTypes.setUIWidth:qe(!0);break;case s.messageTypes.uiTouchEvent:ma();break;case s.messageTypes.resetAdsLocation:Ta(a);break;case s.messageTypes.resetVCLocation:Ea(a);break;case s.messageTypes.CVCLocation:ye=!1,Ea(null);break;case s.messageTypes.moveAdsToFront:Y=!1,Oa();break;case s.messageTypes.moveAdsToBackground:Y=!0,Aa();break;case s.messageTypes.moveVoiceCommentsToFront:La();break;case s.messageTypes.moveVoiceCommentsToBackground:Na();break;case s.messageTypes.changeSpecificVoiceCommentWidth:Ma(a);break;case s.messageTypes.headlineScrollTop:ut(parseInt(a,10)+4,!0),Ta(ie),D("#heyoyaDiv").addClass("minimized");break;case s.messageTypes.setMinimizedMode:qa("1"==a,ae);break;case s.messageTypes.getWLT:Za(a);break;case s.messageTypes.anSupported:ot();break;case s.messageTypes.afEnd:st(a[0]);break;case s.messageTypes.afVEnd:rt(),it(t,a[0]);break;case s.messageTypes.afClick:nt(a[0]),it(t,a[0]);break;case s.messageTypes.afStart:case s.messageTypes.afEnd:case s.messageTypes.afVStart:it(t,a[0]);break;case s.messageTypes.afTime:case s.messageTypes.afVTime:case s.messageTypes.afPaused:it(t,a[0],a[1]);break;case s.messageTypes.replayButtonWidth:tt(a[0],a[1]);break;case s.messageTypes.replayButtonClick:at(a[0]);break;case s.messageTypes.commentDeleted:Ke(a[0]);break;case s.messageTypes.setAHeight:Xe(a);break;case s.messageTypes.clearUserEngagement:ha();break;case s.messageTypes.aCollapsed:Ba(a[0]);break;case s.messageTypes.addSEA:aSEA(a[0])}}function aSEA(a){if (!a)return;var b;try{b=decodeURIComponent(a);}catch(e){b=null;}if(b===null)return;var s=document.createElement("script");s.setAttribute("type","application/ld+json");s.innerHTML=b;document.body.appendChild(s);}function Xe(t){if(t){var a;try{a=JSON.parse(t)}catch(e){a=null}null!==a&&a&&a.aId&&a.width&&a.height&&(D("#"+a.aId).addClass("adr"),Fa("#"+a.aId+".adr","height",a.height+"px !important"),Fa("#"+a.aId+".adr","width","100% !important"),Fa("#"+a.aId+".adr #"+a.aId+"fr","height",a.height+"px !important"),Fa("#heyoyaDiv #heyoyaB2BApp #"+a.aId+".adr #"+a.aId+"fr","width","100% !important"),s.postMessage(null,s.messageTypes.setAHeight,[a.aId.replace(e,""),a.height],void 0,s.messageDestinations.ui))}}function Ke(e){e&&!isNaN(e)&&D("#heyoyaDiv #heyoyaB2BApp .hey-vc.hey-"+e).detach()}function et(e){!e||"[object Array]"!==Object.prototype.toString.call(e)||e.length<3||(d.setGuestId(e[0]),d.setCountryFields(e[1],!isNaN(e[2])&&1===parseInt(e[2],10),!0),U&&s.postMessage(null,s.messageTypes.guc,e,void 0,s.messageDestinations.ui),d.getIsEUCountry()||wt())}function tt(e,t){if(!isNaN(e)&&!isNaN(t)){var a=D("#heyoyaDiv #heyoyaB2BApp .hey-vc.hey-"+e+" iframe");0!==a.length&&s.postMessage(null,s.messageTypes.replayButtonWidth,[e,t],void 0,a[0].contentWindow)}}function at(e){if(!isNaN(e)){var t=D("#heyoyaDiv #heyoyaB2BApp .hey-vc.hey-"+e+" iframe");0!==t.length&&s.postMessage(null,s.messageTypes.replayButtonClick,[e],void 0,t[0].contentWindow)}}function it(e,t,a){if(e&&t&&!isNaN(t)){var i=[];i.push(t),a&&!isNaN(a)&&i.push(a),s.postMessage(null,e,i,void 0,s.messageDestinations.ui)}}function nt(e){isNaN(e)||D("#heyoyaDiv #heyoyaB2BApp .hey-vc:not(.hey-"+e+")").each((function(){var t=D(this).find("iframe");0!==t.length&&s.postMessage(null,s.messageTypes.afOtherLocation,[e],void 0,t[0].contentWindow)}))}function ot(){ye=!1,he=0,Ea(null)}function st(e){isNaN(e)||he-1>0||(ge=!1,D("#heyoyaDiv #heyoyaB2BApp .hey-vc").each((function(){var t=D(this);t.hasClass("hey-"+e)||t.detach()})))}function rt(){0===--he&&(ye=!1,Ea(null))}var lt=["pagehide","blur","beforeunload"],dt=null;function ct(){clearTimeout(dt),dt=null,D(window).unbind(lt.join(""))}function pt(e,t){if(e){if(!t){var a=(new Date).valueOf();setTimeout((function(){(new Date).valueOf()-a>1e3||(window.location.href="https://itunes.apple.com/il/app/heyoya-voice-comments-reviews/id1062215446?mt=8")}),25)}window.location.href=e}}function yt(){null!=z&&(clearInterval(z),z=null),z=setInterval((function(){0!=D("#heyoyaDiv").length&&s.postMessage(null,s.messageTypes.uiAlive,"1",void 0,s.messageDestinations.ui)}),5e3),null!=H&&(clearInterval(H),H=null),H=setInterval((function(){++V>=3&&(d.report("ui is dead"),clearInterval(H),H=null,clearInterval(z),z=null)}),1e4)}function gt(){V=0}function ht(e){!e||isNaN(e)||"1"!=e?Fa("#heyoyaDiv","overflow","visible"):Fa("#heyoyaDiv","overflow","hidden")}function ut(e,t){if(!te||t){if(!isNaN(e)){e=parseInt(e,10);var a="width:100% !important;";!x.pec&&x.wa&&2==x.wa&&(a="max-width:564px !important;"),D("#heyoyaDiv #heyB2BUI").removeAttr("style"),ja("#heyoyaDiv #heyB2BUI","width:100% !important; height: "+e+"px !important;;min-height: "+e+"px !important;display:block !important;"),ja("#heyoyaDiv #heyoyaB2BApp",a+" height: "+e+"px !important;min-height: "+e+"px !important;"+(xe?"position:relative !important;":"")),_&&window.HeyoyaSDKWeb.setWebviewDimensions(D(window).width(),e),j&&"undefined"!=typeof Wix&&Wix.setHeight(e)}}else 0===D("#heyoyaDiv #heyB2BUI").height()&&s.postMessage(null,s.messageTypes.setMinimizedMode,"1",void 0,s.messageDestinations.ui)}function mt(e,t){var a=D("body").scrollTop(),i=A.offset().top;D(D("body").children()[0]).before("
");var n=D("#heyoyaHeightDiv").height();D("#heyoyaHeightDiv").detach();var o=i+e;n-o+a>=t||D("html, body").animate({scrollTop:a+t-(n-o+a)+40},2e3)}function ft(e){D("html, body").animate({scrollTop:parseInt(A.offset().top,10)+parseInt(e,10)},2e3)}function vt(e){e&&(s.postMessage(null,s.messageTypes.sug,[e],void 0,s.messageDestinations.data),d.setUserId(e),Pt(!0))}function wt(){me||!c.getCurrentPrivacyState(c.getPrivacyLevels().advertising)||x&&x.affId&&("KEIpsgTLHs"===x.affId||"NfmjpLdFWO"===x.affId||"kdZpjta7VS"===x.affId||"xQeI0L5yRl"===x.affId)||(me=!0,setTimeout((function(){!function(){function e(){var e=document.createElement("script");e.setAttribute("src","https://www.googletagmanager.com/gtag/js?id=AW-819124231"),document.getElementsByTagName("head")[0].appendChild(e);var t=document.createElement("script");t.type="text/javascript";try{t.appendChild(document.createTextNode(i()))}catch(e){t.text=i()}document.getElementsByTagName("head")[0].appendChild(t)}function t(){return"https://www.googletagmanager.com/gtag/js?id="}function a(){return"AW-819124231"}function i(){return"window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config', 'AW-819124231');"}e()}()}),1e3))}function It(e,t,a,i,n,o){if(!q){null==e&&(e="");var r=j?null!=J?J:"":document.title?document.title:"";x&&x.affId&&"niSmJop60Y"==x.affId&&(r=r.split("|")[0]);var l=new Array;l.push(d.getPageUrl()),l.push(r),l.push(e),l.push(t||""),l.push(a||"-1"),l.push(i||"-1"),l.push(n||"0"),l.push(o&&!isNaN(o)&&o>0?o:-1),s.postMessage(null,s.messageTypes.getPageComments,l,void 0,s.messageDestinations.data)}}function bt(e){if(void 0!==e&&""!==e){var t=new Array;t.push(e),null==$?t.push("-1"):t.push($),s.postMessage(null,s.messageTypes.displayComments,t,void 0,s.messageDestinations.ui)}}function xt(e,t,a,i,n,o,r,l){null==d.getGuestId()&&null!=t&&"-1"!=t&&d.setGuestId(t),null==d.getUserId()&&null!=a&&"-1"!=a&&d.setUserId(a),null==d.getUserString()&&null!=i&&"-1"!=i&&d.setUserString(i),null!=r&&d.setCountry(r),null!=l&&d.setIsEUCountry(l);var c=new Array;c.push(d.getUserId()?d.getUserId():-1),c.push(d.getGuestId()?d.getGuestId():-1),c.push(d.getSessionId()),c.push(d.getPageUrl()),c.push(d.getAffiliateId()),c.push(d.getUserString()?d.getUserString():-1),c.push(d.getTestGroup()),c.push(d.getUserStation()),c.push("1"),c.push(d.getCountry()),c.push(d.getIsEUCountry()?1:0),s.postMessage(null,s.messageTypes.getBasicInfo,c,void 0,e),null!==d.getGuestId()&&Pt()}function Ct(){"undefined"!=typeof Wix&&(Wix.setHeight(300),Wix.addEventListener(Wix.Events.SITE_PUBLISHED,(function(e){var t=heyoya.querystring.extract(window.location.href);if(t&&t.instance){var a=[];a.push(window.wixCompId),a.push(t.instance),s.postMessage(null,s.messageTypes.wixPublishStore,a,void 0,s.messageDestinations.ui)}})),Wix.addEventListener(Wix.Events.SETTINGS_UPDATED,St),Wix.getComponentInfo((function(e){var t="";e&&null!=e.compId&&(t=e.compId),e&&null!=e.pageId&&(window.wixNavigationPrevPageId=e.pageId),e&&null!=e.showOnAllPages&&(window.wixShowOnAllPages=e.showOnAllPages),window.wixCompId=t,Wix.Settings.getSiteInfo((function(e){var a=Tt(e,t);d.setPageUrl(a),Ae(),a=d.getPageUrl(),"Single Post"==(J=e.pageTitle)?(J=" ","eCpGibsVe6"==d.getAffiliateId()&&window.heyoya&&window.heyoya.setWixEventsSacht&&"{Page_Title}"!=window.heyoya.setWixEventsSacht?J=window.heyoya.setWixEventsSacht:null!=a&&-1==a.indexOf("editor.wix.com")&&null==window.heyoya.setWixEventsFunctionInterval?window.heyoya.setWixEventsFunctionInterval=setInterval(window.heyoya.setWixEventsFunction,3e3):(window.heyoya.setWixEventsFunctionIntervalCount++,window.heyoya.setWixEventsFunctionIntervalCount>6&&(clearInterval(window.heyoya.setWixEventsFunctionInterval),window.heyoya.setWixEventsFunctionInterval=null,window.heyoya.setWixEventsFunctionIntervalCount=0))):null!=window.heyoya.setWixEventsFunctionInterval&&(clearInterval(window.heyoya.setWixEventsFunctionInterval),window.heyoya.setWixEventsFunctionInterval=null,window.heyoya.setWixEventsFunctionIntervalCount=0),s.postMessage(null,s.messageTypes.wixSetPageUrl,a,void 0,s.messageDestinations.ui),U&&s.postMessage(null,s.messageTypes.setHeadlineText,J,void 0,s.messageDestinations.ui),T&&!G&&(G=!0,It()),setInterval(Dt,2e3)}))})))}function Dt(){Wix.getComponentInfo((function(e){var t="";e&&null!=e.compId&&(t=e.compId),Wix.getCurrentPageId((function(e){(window.wixNavigationPrevPageId==e||window.wixShowOnAllPages)&&Wix.Settings.getSiteInfo((function(e){var a=Tt(e,t),ou=d.getPageUrl();d.setPageUrl(a);Ae();"eCpGibsVe6"==d.getAffiliateId()&&-1!=a.toLowerCase().indexOf("/popup-")||ou==d.getPageUrl()||decodeURIComponent(d.getPageUrl())==ou||(window.location.href=window.location.href);d.setPageUrl(ou)}))}))}))}function Tt(e,t){var a=e.url;if(-1!=a.indexOf("heycid=")){var i=heyoya.querystring.extract(a);i&&i.heycid&&($=i.heycid),a=Xt(e.url,"heycid"),"?"==pageUrl[pageUrl.length-1]&&(pageUrl=pageUrl.substr(0,pageUrl.length-1))}return e.url&&-1!=e.url.indexOf("editor.wix.com")&&-1==e.url.indexOf("affId="+x.affId)&&(-1==e.url.indexOf("?")?a+="?affId="+x.affId:a+="&affId="+x.affId),""!=t&&(a+="_hEySepBP_"+t),a}function Bt(){"undefined"!=typeof Wix&&Wix.getComponentInfo((function(e){var t="";e&&null!=e.compId&&(t=e.compId),Wix.Settings.getSiteInfo((function(e){var a=Tt(e,t);d.setPageUrl(a),Ae(),s.postMessage(null,s.messageTypes.wixSetPageUrl,a,void 0,s.messageDestinations.ui)}))}))}function St(e){if(null!=e&&e.name&&e.attributeId)switch(e.attributeId){case"headlineTextColor":s.postMessage(null,s.messageTypes.adminSetTitleTextColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"headlineBgColor":s.postMessage(null,s.messageTypes.adminSetTitleBackgroundColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"bgColor":s.postMessage(null,s.messageTypes.adminSetMainColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"title":s.postMessage(null,s.messageTypes.adminSetTitle,e.attributeValue,void 0,s.messageDestinations.ui);case"showHeadline":s.postMessage(null,s.messageTypes.adminShowHeadline,e.attributeValue,void 0,s.messageDestinations.ui);break;case"showDemoData":s.postMessage(null,s.messageTypes.adminShowDemoData,e.attributeValue,void 0,s.messageDestinations.ui);break;case"showMainAddCommentHeadline":s.postMessage(null,s.messageTypes.adminShowMainAddCommentHeadline,e.attributeValue,void 0,s.messageDestinations.ui);break;case"showReplyAddCommentHeadline":s.postMessage(null,s.messageTypes.adminShowReplyAddCommentHeadline,e.attributeValue,void 0,s.messageDestinations.ui);break;case"mainAddCommentHeadlineText":s.postMessage(null,s.messageTypes.adminSetMainAddCommentHeadlineText,e.attributeValue,void 0,s.messageDestinations.ui);break;case"replyAddCommentHeadlineText":s.postMessage(null,s.messageTypes.adminSetReplyAddCommentHeadlineText,e.attributeValue,void 0,s.messageDestinations.ui);break;case"subAddCommentHeadlineText":s.postMessage(null,s.messageTypes.adminSetSubAddCommentHeadlineText,e.attributeValue,void 0,s.messageDestinations.ui);break;case"recordingButtonsColor":s.postMessage(null,s.messageTypes.adminSetRecordingButtonsColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"linksColor":s.postMessage(null,s.messageTypes.adminSetLinksColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"cardsBackgroundColor":s.postMessage(null,s.messageTypes.adminSetCardsColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"textColor":s.postMessage(null,s.messageTypes.adminSetTextColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"buttonsColor":s.postMessage(null,s.messageTypes.adminSetButtonsColor,e.attributeValue,void 0,s.messageDestinations.ui);break;case"fonts":s.postMessage(null,s.messageTypes.adminSetFonts,e.attributeValue,void 0,s.messageDestinations.ui);break;case"showSubAddCommentHeadline":s.postMessage(null,s.messageTypes.adminShowSubAddCommentHeadline,e.attributeValue,void 0,s.messageDestinations.ui);break;case"showReplySubAddCommentHeadline":s.postMessage(null,s.messageTypes.adminShowReplySubAddCommentHeadline,e.attributeValue,void 0,s.messageDestinations.ui);break;case"replySubAddCommentHeadlineText":s.postMessage(null,s.messageTypes.adminSetReplySubAddCommentHeadlineText,e.attributeValue,void 0,s.messageDestinations.ui);break;case"languages":s.postMessage(null,s.messageTypes.adminSetLanguage,e.attributeValue,void 0,s.messageDestinations.ui);break;case"recordingTime":s.postMessage(null,s.messageTypes.adminSetRecordingTime,e.attributeValue,void 0,s.messageDestinations.ui)}}function kt(){j&&(c.addStateChangeCallback((function(e){Pt(),wt(),statistics.csre(e.analytics),U?s.postMessage(null,s.messageTypes.newPrivacy,[c.getCurrentPrivacyCode()],void 0,s.messageDestinations.ui):we=!0,T?s.postMessage(null,s.messageTypes.newPrivacy,[c.getCurrentPrivacyCode()],void 0,s.messageDestinations.data):Ie=!0})),Ut(),d.csre(c.getCurrentPrivacyState(c.getPrivacyLevels().analytics)))}function Ut(){if(j){var e;try{e=Wix.Utils.getCurrentConsentPolicy()}catch(t){e=null}e&&e.policy&&c.setPrivacy(e.policy,!1);try{Wix.Utils.onConsentPolicyChanged((function(e){e&&e.policy&&c.setPrivacy(e.policy,!0)}))}catch(e){}}}function Pt(e){if(j&&d.getGuestId()&&"ticastAUraPARymANtAt"!==d.getGuestId()){try{var t=Wix.Utils.getViewMode();if(t&&-1!==t.toLowerCase().indexOf("editor"))return}catch(e){return}var a=c.getCurrentPrivacyState(c.getPrivacyLevels().sell);(e||null!=a&&a!==be)&&(be=a,setTimeout((function(){Wix.revalidateSession((function(e){D.ajax({url:Ce+"wusd.action",dataType:"jsonp",cache:!0,data:{i:e,gi:d.getGuestId(),ui:d.getUserId()?d.getUserId():-1,a:be?1:0,wi:Wix.Utils.getUid()?Wix.Utils.getUid():"wix-user-id",ai:d.getAffiliateId()}})}),(function(e){}))}),0))}}function At(e){if(j&&Wix&&Wix.Activities&&Wix.Activities.postActivity){var t;try{t=D.parseJSON(e)}catch(e){t=null}if(null!=t&&(t.text||2!=t.typeId)){var a=t.text?t.text:"",i,n,o,s;switch(2!=t.typeId&&(3==t.typeId&&(a+=" "),a+="https://www.heyoya.com/"+t.id+".mp3"),t.lastLoginMethod){case"facebook":i="FACEBOOK";break;case"google":i="GOOGLE_PLUS";break;case"linkedin":i="LINKEDIN";break;default:i="OTHER"}if(t.firstName)n=t.firstName,s=t.lastName?t.lastName:null,o=null;else{var r=t.fullName.split(" ");if(n=r[0],o="",r.length>2){for(var l=1;l0&&""!=a.text().trim()&&e&&"zgkRv3DVqw"!==e&&(e&&"WFv7EE24tm"==e||a.text().split(" ").length<8)||(a=D("title:first")).length>0&&""!=a.text().trim()||(a=D("h2:first")).length>0&&""!=a.text().trim())&&(t=a.text().trim()),j&&null!=J&&(t=J),t&&e&&"yhGCard6ll"==e&&(t=t.split("- Breaking Israel News")[0]),s.postMessage(null,s.messageTypes.setHeadlineText,t,void 0,s.messageDestinations.ui)}function Lt(e){s.postMessage(null,s.messageTypes.setLanguage,e,void 0,s.messageDestinations.ui)}function Et(e){if(!e)return"";var t="";if(e.hasChildNodes()&&"SCRIPT"!==e.nodeName&&"STYLE"!==e.nodeName&&"NOSCRIPT"!==e.nodeName){for(var a=0;a0&&s.postMessage(null,s.messageTypes.IOSLinkResend,"1",void 0,s.messageDestinations.ui),j&&(i=-1!=i.indexOf("https://ios.heyoya.com/ios-record")?i.replace("https://ios.heyoya.com/ios-record","https://www.heyoya.net/ios-before-recording.html"):i.replace("heyoyaapp://recordComment","https://www.heyoya.net/ios9-before-recording.html")),0==n&&(n=1);var o="inline-block";1==Q&&(o="none"),D("#heyoyaDiv #heyoyaB2BApp").append(" '),D("#heyoyaDiv #heyoyaB2BApp .heyoya-mobile-link-element").off("click touchstart touchmove").on("click touchstart touchmove",jt)}}function zt(){xe&&D("#heyoyaDiv #heyoyaB2BApp .heyoya-mobile-link-element").detach()}function Vt(){mobileLayerAnchors=[],D("#heyoyaDiv #heyoyaB2BApp").attr("style","position:relative !important;")}function _t(){var e=D("#heyoyaDiv").width(),t;e<=564?ja("#heyoyaDiv","padding-left: 0 !important;"):ja("#heyoyaDiv","padding-left: "+(e-564).toString()+"px !important;")}function jt(e){e.stopPropagation()}function Ft(){if("function"==typeof history.pushState&&null==window.heyohis&&heyoya.params.qs.affId&&("v1CDof2Ne4"==heyoya.params.qs.affId||"R7IBhrpO7x"==heyoya.params.qs.affId||"VBbwZ5Nvfl"==heyoya.params.qs.affId||"33u3PePB3K"==heyoya.params.qs.affId||"eUbJyMGE2Q"==heyoya.params.qs.affId)){var e=history.pushState;history.pushState=function(){window.heyoya&&window.heyoya.flow&&window.heyoya.flow.$&&(clearInterval(z),window.heyoya.messagingUtil.dispose(),window.heymsgul=void 0,window.heymsgcbwarp=void 0,window.heyoya.flow.$()("#heyoyaDiv *").remove(),window.heyoya.flow.$()("#heyoyaDiv").remove(),window.heyoyaSettings={},window.heyoya=void 0),e.apply(history,arguments)},window.heyohis=e}}function Gt(e){if(0!=D(e).length){var t=D(e),a={};a.position=e.style.position,a.visibility=e.style.visibility,a.display=e.style.display,t.css("position","absolute"),t.css("visibility","hidden"),t.css("display","block");var i=t.width(),n=parseInt(t.css("padding-left"),10),o=parseInt(t.css("padding-right"),10);return t.css("position",a.position),t.css("visibility",a.visibility),t.css("display",a.display),i-(isNaN(n)?0:n)-(isNaN(o)?0:o)}}function qt(){xe&&(Q=!0,D("#heyoyaDiv #heyoyaB2BApp .heyoya-mobile-link-element").each((function(){var e=D(this);e.attr("style",e.attr("style").replace("display:inline-block !important;","display:none !important;").replace("display :inline-block !important;","display:none !important;").replace("display: inline-block !important;","display:none !important;").replace("display : inline-block !important;","display:none !important;"))})),D("#heyoyaDiv #heyoyaB2BApp .heyoya-mobile-link-element").css("display","none"))}function Jt(){xe&&(Q=!1,D("#heyoyaDiv #heyoyaB2BApp .heyoya-mobile-link-element").each((function(){var e=D(this);e.attr("style",e.attr("style").replace("display:none;","display:inline-block !important;").replace("display :none;","display:inline-block !important;").replace("display: none;","display:inline-block !important;").replace("display : none;","display:inline-block !important;"))})))}function Qt(){}function Yt(){return j&&null!=localStorage.getItem("pwhr")&&-1!=localStorage.getItem("pwhr").indexOf(";"+d.getPageUrl().replace("https://www.","").replace("http://www.","").replace("https://","").replace("http://","")+";")}function Zt(e){}function $t(e,t,a){Wix.openModal(e,t,a)}function Xt(e,t){if(!e||!t)return e;var a=e.split("?");if(a.length>=2){for(var i=encodeURIComponent(t)+"=",n=a[1].split(/[&;]/g),o=n.length;o-- >0;)-1!==n[o].lastIndexOf(i,0)&&n.splice(o,1);return e=a[0]+(n.length>0?"?"+n.join("&"):"")}return e}function Kt(){if(navigator.userAgent.indexOf("CriOS")!== -1)return !1;var e=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia,t=window.AudioContext||window.webkitAudioContext||window.mozAudioContext;return!!((e||navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)&&t||!(-1===navigator.userAgent.indexOf("Safari")||-1!==navigator.userAgent.indexOf("CriOS")||parseFloat(navigator.userAgent.split("Safari/")[1].split(" ")[0])<604.1))}function ea(){ee=0,K=setInterval((function(){if(D("#heyoyaDiv #heyB2BUI:visible").length>0)return clearInterval(K),void(K=null);++ee>=3&&(ee=0,clearInterval(K),K=null,d.report("heyoya-uinv"))}),2e3)}function ta(e){e&&"Sk7gVbKLfc"==e&&D("#heateor_sc_wordpress_comments_a").on("click",(function(){s.postMessage(null,s.messageTypes.windowResize,qe(),void 0,s.messageDestinations.ui)}))}window.wixNavigationPrevPageId=null,window.wixCompId=null,window.wixShowOnAllPages=!1;var aa=!1,ia=!1,na=!1;function oa(){_||(na=!0,aa||(aa=!0,Ia(la,ma)),ia||(ia=!0,xa(la)),la())}function sa(){na=!1}var ra=null;function la(){na&&0!=D("#heyoyaDiv:visible").length&&(null!=ra&&(clearTimeout(ra),ra=null),ra=setTimeout(da,500))}function da(){null!=ua&&(clearTimeout(ua),ua=null),null!=ra&&(clearTimeout(ra),ra=null);var e=Ca();null!=e&&e.isVisible&&(s.postMessage(null,s.messageTypes.widgetVisible,[JSON.stringify(e),ke?1:0],void 0,s.messageDestinations.ui),null==ca&&(pa=0,ca=setInterval(ga,1e3)))}var ca=null,pa=0,ya=!0;function ga(){if(ya){var e=Ca();null!=!e&&e.isVisible?++pa<3||s.postMessage(null,s.messageTypes.userEngagement,JSON.stringify(e),void 0,s.messageDestinations.ui):pa=0}}function ha(){ya=!1,pa=0,null!=ca&&(clearInterval(ca),ca=null)}var ua=null;function ma(){ua=setTimeout(da,1e3)}var fa=null,va=5e3,wa=0;function Ia(e,t){var a=!0;try{a=!(navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Android/.test(navigator.userAgent)))}catch(e){}D(window).on("scroll",e),D(document).on("scroll",e),a||(D(window).on("touchend",e),D(document).on("touchend",e),D(window).on("touchstart",t),D(document).on("touchstart",t),null==fa&&(fa=setInterval(ba,va)))}function ba(){wa&&wa>(new Date).getTime()-va||da()}function xa(e){var t;"undefined"!=typeof MutationObserver?new MutationObserver(e).observe(document,{childList:!0,subtree:!0}):document.documentElement.addEventListener("DOMSubtreeModified",e,!1)}function Ca(){var e={};try{wa=(new Date).getTime();var t=window.innerHeight||document.documentElement.clientHeight,a=window.innerWidth||document.documentElement.clientWidth,i=D("#heyoyaDiv")[0].getBoundingClientRect();e.viewportWidth=a,e.viewportHeight=t,e.scrollTop=D(window).scrollTop(),e.widgetBoundingClientRect={},e.widgetBoundingClientRect.bottom=e.scrollTop+i.bottom,e.widgetBoundingClientRect.left=i.left,e.widgetBoundingClientRect.right=i.right,e.widgetBoundingClientRect.top=e.scrollTop+i.top,e.widgetBoundingClientRect.width=i.width,e.widgetBoundingClientRect.height=i.height,e.widgetBoundingClientRect.x=i.x,e.widgetBoundingClientRect.y=i.y,e.isVisible=e.widgetBoundingClientRect.top>e.scrollTop&&e.scrollTop+e.viewportHeight>e.widgetBoundingClientRect.top||e.widgetBoundingClientRect.top==e.scrollTop||e.widgetBoundingClientRect.tope.scrollTop}catch(e){}return e}function Da(){var e;try{e=D("head link[href*='/wp-content/']:first").length>0||D("head script[src*='/wp-content/']:first").length>0||D("body script[src*='/wp-content/']:first").length>0||D("body link[href*='/wp-includes/']:first").length>0||D("body img[src*='/wp-content/']:first").length>0}catch(t){e=!1}return e||window&&window.location&&window.location.href&&-1!=window.location.href.indexOf("/client-admin/")}function Ta(t){if(t)if(ie=t,te)D("#heyoyaDiv .hey-ad").detach();else{var i;le&&(D("#heyoyaDiv .hey-ad").detach(),le=!1);try{i=D.parseJSON(t)}catch(e){i=null}if(null!=i.adsLocation&&"[object Array]"===Object.prototype.toString.call(i.adsLocation)&&0!=i.adsLocation.length){var n;D("#heyoyaB2BApp").addClass("ads"),0==i.scale&&(i.scale=1);for(var o=D("#heyoyaDiv #heyoyaB2BApp").width()-10,s=0,r=0;r0&&(a=s)}}}function Ba(t){t&&(D("#heyoyaDiv #"+t).addClass("collapsed").find("iframe").detach(),s.postMessage(null,s.messageTypes.aCollapsed,t.replace(e,""),void 0,s.messageDestinations.ui))}function Sa(e,t){D("#heyoyaDiv #heyoyaB2BApp").append("
"),t.displayInDiv||((t.url.indexOf("aniview")!==-1||t.url.indexOf("avantis")!==-1)&&("qQTNx5Ir9A"===x.affId||"JJBXSFKQeW"===x.affId||"c7E3TmdZJc"===x.affId||"Psj7bgmeaj"===x.affId||"VnGUvYvUjd"===x.affId||"0gSOz9aS6V"===x.affId))?Ua(e,t):ka(e,t)}function ka(e,t){var a=document.createElement("iframe");a.setAttribute("id",e+"fr"),a.setAttribute("frameborder","0"),document.getElementById(e).appendChild(a),a.contentWindow.document.open(),a.contentWindow.document.write(t.url.replace(/#A-D-NUMBER#/g,e).replace(/#WIDTH#/g,t.boundingClientRect.width).replace(/#HEIGHT#/g,t.boundingClientRect.height)),a.contentWindow.document.close(),ja("#"+e+"fr","width: "+(t.maintainFixedSize?t.boundingClientRect.width:t.width)+"px !important;height: "+(t.maintainFixedSize?t.boundingClientRect.height:t.height)+"px !important;display:block !important;visibility:visible !important;margin:0 auto !important")}function Ua(e,t){var a=document.createElement("DIV");a.setAttribute("id",e+"fr"),document.getElementById(e).appendChild(a),D(a).append(t.url.replace(/#DIV_AD_ID#/g,Math.round(1e5*Math.random())).replace(/#A-D-NUMBER#/g,e).replace(/#WIDTH#/g,t.boundingClientRect.width).replace(/#HEIGHT#/g,t.boundingClientRect.height)),ja("#"+e+"fr","width: "+(t.maintainFixedSize?t.boundingClientRect.width:t.width)+"px !important;height: "+(t.maintainFixedSize?t.boundingClientRect.height:t.height)+"px !important;display:block !important;visibility:visible !important;margin:0 auto !important")}function Pa(e,t){ja("#heyoyaDiv #heyoyaB2BApp #"+e+"fr","width: "+(t.maintainFixedSize?t.boundingClientRect.width:t.width)+"px !important;height: "+(t.maintainFixedSize?t.boundingClientRect.height:t.height)+"px !important;display:block !important;visibility:visible !important;margin:0 auto !important")}function Aa(){Ga()?ja("#heyoyaDiv #heyoyaB2BApp .hey-ad","z-index:-100 !important;"):D("#heyoyaDiv #heyoyaB2BApp .hey-ad").each((function(){this.style.zIndex="-100"})),Na()}function Oa(){Ga()?ja("#heyoyaDiv #heyoyaB2BApp .hey-ad","z-index:2 !important;"):D("#heyoyaDiv #heyoyaB2BApp .hey-ad").each((function(){this.style.zIndex="2"})),La()}function Ma(e){if(ye&&0!==he&&e){var t;try{t=D.parseJSON(e)}catch(e){t=null}if(null!=t.commentsLocation&&"[object Array]"===Object.prototype.toString.call(t.commentsLocation)&&0!=t.commentsLocation.length&&!isNaN(t.commentsLocation[0].commentId)&&t.commentsLocation[0].boundingClientRect&&!isNaN(t.commentsLocation[0].boundingClientRect.width)){var a=D("#heyoyaDiv #heyoyaB2BApp .hey-vc.hey-"+t.commentsLocation[0].commentId);0!==a.length&&(0==t.scale&&(t.scale=1),Ra(a,t.commentsLocation[0]))}}}function Ra(e,t){if(e&&t){var a="refresh"+Math.round(1e7*Math.random()).toString();if(-1!==e.attr("class").indexOf("refresh")){for(var i=e.attr("class").split(" "),n="",o=0;o0&&(i=s)}}}else D("#heyoyaDiv .hey-vc").detach()}function Wa(e,t,a){D("#heyoyaDiv #heyoyaB2BApp").append("
");var i=document.createElement("iframe");i.setAttribute("id",e+"fr"),i.setAttribute("class","fr"+t.commentId),i.setAttribute("frameborder","0"),document.getElementById(e).appendChild(i),i.contentWindow.document.open(),i.contentWindow.document.write(Va().replace(/#VERSION#/g,I).replace(/#COMMENT_ID#/g,t.commentId).replace(/#FILE_ID#/g,t.fileId).replace(/#WIDTH#/g,t.boundingClientRect.width).replace(/#IG#/g,a).replace(/#GC#/g,x&&x.gc?x.gc:"").replace(/#PAGE_URL#/g,encodeURIComponent(d.getPageUrl())).replace(/#CATEGORIES#/g,x&&x.ciab?x.ciab:"").replace(/#LANGUAGE_CODE#/g,x&&x.sl?x.sl:"en").replace(/#SLIDS#/g,ue?1:0).replace(/#NOMS#/g,t.noms)),i.contentWindow.document.close(),ue=!0,ja("#"+e+"fr","width: "+t.boundingClientRect.width+"px !important;height: "+t.boundingClientRect.height+"px !important;left:"+t.boundingClientRect.left+"px !important;display:block !important;visibility:visible !important;margin:0 auto !important")}function Ha(e,t){ja("#"+e,"top: "+t.boundingClientRect.top+"px !important;width: "+t.boundingClientRect.width+"px !important; height: "+t.boundingClientRect.height+"px !important;left:0 !important;z-index:"+(Y?"-100":"2")+" !important;visibility:visible !important;position:absolute !important;display:block!important;margin: 0 auto !important;text-align:center !important;padding:0px !important"),ja("#heyoyaDiv #heyoyaB2BApp #"+e+"fr","width: "+t.boundingClientRect.width+"px !important;height: "+t.boundingClientRect.height+"px !important;display:block !important;visibility:visible !important;margin:0 auto !important")}function za(e,t,a){e&&t&&(ja(e,"top: "+a.boundingClientRect.top+"px !important;width: "+a.boundingClientRect.width+"px !important; height: "+a.boundingClientRect.height+"px !important;left:"+a.boundingClientRect.left+"px !important"),ja(t,"width: "+a.boundingClientRect.width+"px !important;height: "+a.boundingClientRect.height+"px !important;"))}function Va(){return'