eElement("div");b.style.position="absolute";b.style.display="table";b.style.width="100%";b.style.height="100%";c=document.createElement("div");c.style.display="table-cell";c.style.verticalAlign="middle";var d=document.createElement("div");d.style.color=this.colorText;d.style.textAlign="center";d.style.overflow="visible";d.style.whiteSpace="nowrap";d.className="rp_text";c.appendChild(d);b.appendChild(c);a.appendChild(b);this.text=d;this.indetA=
this.prevP=this.prevH=this.prevW=0;this.indetB=.2;this.rot=0;this.draw=function(e){1!=e&&rp_requestAnimationFrame(this.draw);var f=this.canvas,h=window.devicePixelRatio||1;f.width=f.clientWidth*h;f.height=f.clientHeight*h;if(1==e||this.spin||this.indeterminate||!(1>Math.abs(this.prevP-this.progress)&&this.prevW==f.width&&this.prevH==f.height)){e=f.width/2;var g=f.height/2,l=f.clientWidth/100,n=f.height/2-this.thick*l*h/2;l=f.clientWidth/100;this.text.style.fontSize=(this.fixedTextSize?f.clientWidth*
this.fixedTextSize:.26*f.clientWidth-this.thick)+"px";if(this.noAnimations)this.aniP=this.progress;else{var q=Math.pow(.93,this.animationSpeed);this.aniP=this.aniP*q+this.progress*(1-q)}f=f.getContext("2d");f.beginPath();f.strokeStyle=this.colorBg;f.lineWidth=this.thick*l*h;f.arc(e,g,n,-Math.PI/2,2*Math.PI);f.stroke();f.beginPath();f.strokeStyle=this.colorFg;f.lineWidth=this.thick*l*h;this.round&&(f.lineCap="round");this.indeterminate?(this.indetA=(this.indetA+.07*this.animationSpeed)%(2*Math.PI),
this.indetB=(this.indetB+.14*this.animationSpeed)%(2*Math.PI),f.arc(e,g,n,this.indetA,this.indetB),this.noPercentage||(this.text.innerHTML="")):(this.spin&&!this.noAnimations&&(this.rot=(this.rot+.07*this.animationSpeed)%(2*Math.PI)),f.arc(e,g,n,this.rot-Math.PI/2,this.rot+2*this.aniP*Math.PI-Math.PI/2),this.noPercentage||(this.text.innerHTML=Math.round(100*this.aniP)+" %"));f.stroke();this.prevW=f.width;this.prevH=f.height;this.prevP=this.aniP}}.bind(this);this.draw()}
RadialProgress.prototype={constructor:RadialProgress,setValue:function(a){this.progress=0>a?0:1<a?1:a},setIndeterminate:function(a){this.indeterminate=a},setText:function(a){this.text.innerHTML=a}};(function(){function a(G){return new Date(864E5*(G+.5-2440588))}function b(G,z){return A(q(G)*m(J)-r(z)*q(J),m(G))}function c(G,z){return v(q(z)*m(J)+m(z)*q(J)*q(G))}function d(G,z,F){return A(q(G),m(G)*q(z)-r(F)*m(z))}function e(G,z,F){return v(q(z)*q(F)+m(z)*m(F)*m(G))}function f(G){var z=H*(1.9148*q(G)+.02*q(2*G)+3E-4*q(3*G));return G+z+102.9372*H+n}function h(G){G=f(H*(357.5291+.98560028*G));return{dec:c(G,0),ra:b(G,0)}}function g(G){var z=H*(134.963+13.064993*G),F=H*(93.272+13.22935*G);G=H*(218.316+
13.176396*G)+6.289*H*q(z);F=5.128*H*q(F);z=385001-20905*m(z);return{ra:b(G,F),dec:c(G,F),dist:z}}function l(G,z){return new Date(G.valueOf()+864E5*z/24)}var n=Math.PI,q=Math.sin,m=Math.cos,r=Math.tan,v=Math.asin,A=Math.atan2,D=Math.acos,H=n/180,J=23.4397*H,M={getPosition:function(G,z,F){F=H*-F;z*=H;var L=G.valueOf()/864E5-.5+2440588-2451545;G=h(L);F=H*(280.16+360.9856235*L)-F-G.ra;return{azimuth:d(F,z,G.dec),altitude:e(F,z,G.dec)}}},O=M.times=[[-.833,"sunrise","sunset"],[-.3,"sunriseEnd","sunsetStart"],
[-6,"dawn","dusk"],[-12,"nauticalDawn","nauticalDusk"],[-18,"nightEnd","night"],[6,"goldenHourEnd","goldenHour"]];M.addTime=function(G,z,F){O.push([G,z,F])};M.getTimes=function(G,z,F,L){F=H*-F;z*=H;L=-2.076*Math.sqrt(L||0)/60;G=Math.round(G.valueOf()/864E5-.5+2440588-2451545-9E-4-F/(2*n));var P=9E-4+(0+F)/(2*n)+G,U=H*(357.5291+.98560028*P),S=f(U),R=c(S,0);P=2451545+P+.0053*q(U)-.0069*q(2*S);var Y,I={solarNoon:a(P),nadir:a(P-.5)};var k=0;for(Y=O.length;k<Y;k+=1){var p=O[k];var t=(p[0]+L)*H;var x=F;
var y=G;var B=U,E=S,K=z,u=R;t=D((q(t)-q(K)*q(u))/(m(K)*m(u)));x=2451545+(9E-4+(t+x)/(2*n)+y)+.0053*q(B)-.0069*q(2*E);y=P-(x-P);I[p[1]]=a(y);I[p[2]]=a(x)}return I};M.getMoonPosition=function(G,z,F){F=H*-F;z*=H;var L=G.valueOf()/864E5-.5+2440588-2451545;G=g(L);F=H*(280.16+360.9856235*L)-F-G.ra;L=e(F,z,G.dec);var P=A(q(F),r(z)*m(G.dec)-q(G.dec)*m(F)),U=L;0>U&&(U=0);L+=2.967E-4/Math.tan(U+.00312536/(U+.08901179));return{azimuth:d(F,z,G.dec),altitude:L,distance:G.dist,parallacticAngle:P}};M.getMoonIllumination=
function(G){var z=(G||new Date).valueOf()/864E5-.5+2440588-2451545;G=h(z);z=g(z);var F=D(q(G.dec)*q(z.dec)+m(G.dec)*m(z.dec)*m(G.ra-z.ra));F=A(149598E3*q(F),z.dist-149598E3*m(F));G=A(m(G.dec)*q(G.ra-z.ra),q(G.dec)*m(z.dec)-m(G.dec)*q(z.dec)*m(G.ra-z.ra));return{fraction:(1+m(F))/2,phase:.5+.5*F*(0>G?-1:1)/Math.PI,angle:G}};M.getMoonTimes=function(G,z,F,L){G=new Date(G);L?G.setUTCHours(0,0,0,0):G.setHours(0,0,0,0);L=.133*H;for(var P=M.getMoonPosition(G,z,F).altitude-L,U,S,R,Y,I,k,p,t,x,y,B=1;24>=B;B+=
2){U=M.getMoonPosition(l(G,B),z,F).altitude-L;S=M.getMoonPosition(l(G,B+1),z,F).altitude-L;I=(P+S)/2-U;k=(S-P)/2;p=-k/(2*I);t=(I*p+k)*p+U;k=k*k-4*I*U;U=0;0<=k&&(y=Math.sqrt(k)/(2*Math.abs(I)),x=p-y,y=p+y,1>=Math.abs(x)&&U++,1>=Math.abs(y)&&U++,-1>x&&(x=y));1===U?0>P?R=B+x:Y=B+x:2===U&&(R=B+(0>t?y:x),Y=B+(0>t?x:y));if(R&&Y)break;P=S}z={};R&&(z.rise=l(G,R));Y&&(z.set=l(G,Y));R||Y||(z[0<t?"alwaysUp":"alwaysDown"]=!0);return z};window.SunCalc=M})();var eyeAble_session_parameters={isMobile:!1,isPlugin:!0,isExtension:!1};try{eyeAble_pluginConfig?eyeAble_start():setTimeout(eyeAble_start,300)}catch(a){setTimeout(eyeAble_start,300)}var eyeAble_nightmodeBlacklisted=!1;function eyeAble_checkWebsiteBlacklist(){return!0}
function eyeAble_authenticateLicense(){var a=window.location.hostname,b=function(e){var f=e.split(".");if(2<f.length){e="*.";for(var h=f.length-2;h<f.length;h++)e=h===f.length-1?e+f[h]:e+(f[h]+".");return e}return"*."+e}(a);try{if("object"===typeof eyeAble_pluginConfig.license){var c=eyeAble_pluginConfig.license[a];c||(a=a.includes("www.")?a.replace("www.",""):"www."+a,c=eyeAble_pluginConfig.license[a]);c||(c=eyeAble_pluginConfig.license[b])}else c=eyeAble_pluginConfig.license;if("localhost"===a&&
eyeAble_pluginConfig&&eyeAble_pluginConfig.allowLocalhost)return console.log("Testing on Localhost allowed."),eyeAble_activeFeatures=eyeAble_activeFeaturesPro,!0}catch(e){return console.log("No Config found!"),!1}var d="Free";a&&c&&(d=eyeAbleKeygen.evaluateKey(a,c));"invalid"===d&&b&&c&&(d=eyeAbleKeygen.evaluateKey(b,c));"invalid"===d&&(a.includes("www.")?(a=a.replace("www.",""),d=eyeAbleKeygen.evaluateKey(a,c)):d=eyeAbleKeygen.evaluateKey("www."+a,c));if("invalid"===d||"Free"===d)try{"undefined"!==
typeof eyeAble_pluginConfig&&"object"===typeof eyeAble_pluginConfig.license&&Object.keys(eyeAble_pluginConfig.license).forEach(function(e){if(e)try{var f=new RegExp(e);f&&f.test(window.location.hostname)&&(d=eyeAbleKeygen.evaluateKey(e,eyeAble_pluginConfig.license[e]))}catch(h){}})}catch(e){}return"Pro"===d?(eyeAble_activeFeatures=eyeAble_activeFeaturesPro,!0):"Light"===d?(eyeAble_activeFeatures=eyeAble_activeFeaturesLight,!0):"Free"===d?(eyeAble_activeFeatures=eyeAble_activeFeaturesBase,!0):!1}
function eyeAble_getSessionParameters(){try{if(eyeAble_pluginConfig.pluginPath&&0<eyeAble_pluginConfig.pluginPath.length)var a=eyeAble_pluginConfig.pluginPath;else{a:{for(var b=document.getElementsByTagName("script"),c=0;c<b.length;c++)if(b[c].src.includes("eyeAble.js")){var d=b[c].src;break a}d=""}a=!d||d.includes("eye-able-cdn.com/public")||d.includes("eye-able.b-cdn.net/public")?"https://cdn.eye-able.com":d.split("/public/js/eyeAble.js")[0]}}catch(e){a="https://cdn.eye-able.com"}eyeAble_setFilePaths(a+
"/");"IntersectionObserver"in window||(eyeAble_intersectionObserver=!1)}function eyeAble_chromePluginBeacon(){var a=document.createElement("div");a.appendChild(document.createTextNode(""));a.id="eyeAbleWebsitePlugin";a.style.display="none";a.alt="Used to signal the browser extension that a plugin is present.";document.documentElement.appendChild(a);setTimeout(function(){a.remove()},5E3)}eyeAble_chromePluginBeacon();
function eyeAble_runPlatformSpecificActions(){var a=document.getElementById("eyeAble_customToolOpenerID");a&&(a.addEventListener("mousedown",eyeAble_toggleMainToolbar),eyeAble_hideMainIcon=!0,eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display="none",eyeAble_shadowRoot.getElementById("showAll_arrow").style.display="none",eyeAble_shadowRoot.getElementById("functionActiveID").style.display="none");if((a=document.querySelectorAll(".eyeAble_customToolOpenerClass"))&&0<a.length){for(var b=
0;b<a.length;b++)a[b].addEventListener("mousedown",eyeAble_toggleMainToolbar);eyeAble_hideMainIcon=!0;eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display="none";eyeAble_shadowRoot.getElementById("showAll_arrow").style.display="none";eyeAble_shadowRoot.getElementById("functionActiveID").style.display="none"}if((a=document.querySelectorAll(".eyeAble_customToolOpenerNoHideClass"))&&0<a.length)for(b=0;b<a.length;b++)a[b].addEventListener("mousedown",eyeAble_toggleMainToolbar);a=document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID,.eyeAble_customToolOpenerNoHideClass");
Array.prototype.forEach.call(a,function(c,d){"a"===c.tagName&&"input"===c.tagName&&"button"===c.tagName||c.getAttribute("tabindex")||c.setAttribute("tabindex","0");c.addEventListener("keydown",function(e){13===e.keyCode&&(e.preventDefault(),EyeAbleAPI.toggleToolbar())})})}
function eyeAble_getMessage(a){return eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.customText&&(eyeAble_lang===eyeAble_de||"headerName"===a)&&eyeAble_pluginLocalConfig.customText[a]?eyeAble_pluginLocalConfig.customText[a]:eyeAble_lang[a]?eyeAble_lang[a].message:eyeAble_de[a]?eyeAble_de[a].message:""};
//# sourceMappingURL=eyeAble.js.map
Ә