File: /home/confeduphaar/backip-old-files/media/com_akeeba/js/piecon.min.js
/*
piecon.js
https://github.com/lipka/piecon
Copyright (c) 2015 Lukas Lipka <lukaslipka@gmail.com>. All rights reserved.
*/
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,e,c){if(b==Array.prototype||b==Object.prototype)return b;b[e]=c.value;return b};
$jscomp.getGlobal=function(b){b=["object"==typeof globalThis&&globalThis,b,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<b.length;++e){var c=b[e];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};
$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(b,e){var c=$jscomp.propertyToPolyfillSymbol[e];if(null==c)return b[e];c=b[c];return void 0!==c?c:b[e]};$jscomp.polyfill=function(b,e,c,d){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(b,e,c,d):$jscomp.polyfillUnisolated(b,e,c,d))};
$jscomp.polyfillUnisolated=function(b,e,c,d){c=$jscomp.global;b=b.split(".");for(d=0;d<b.length-1;d++){var f=b[d];if(!(f in c))return;c=c[f]}b=b[b.length-1];d=c[b];e=e(d);e!=d&&null!=e&&$jscomp.defineProperty(c,b,{configurable:!0,writable:!0,value:e})};
$jscomp.polyfillIsolated=function(b,e,c,d){var f=b.split(".");b=1===f.length;d=f[0];d=!b&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var k=0;k<f.length-1;k++){var n=f[k];if(!(n in d))return;d=d[n]}f=f[f.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?d[f]:null;e=e(c);null!=e&&(b?$jscomp.defineProperty($jscomp.polyfills,f,{configurable:!0,writable:!0,value:e}):e!==c&&($jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+f,f=
$jscomp.propertyToPolyfillSymbol[f],$jscomp.defineProperty(d,f,{configurable:!0,writable:!0,value:e})))};$jscomp.polyfill("Array.prototype.fill",function(b){return b?b:function(e,c,d){var f=this.length||0;0>c&&(c=Math.max(0,f+c));if(null==d||d>f)d=f;d=Number(d);0>d&&(d=Math.max(0,f+d));for(c=Number(c||0);c<d;c++)this[c]=e;return this}},"es6","es3");$jscomp.typedArrayFill=function(b){return b?b:Array.prototype.fill};$jscomp.polyfill("Int8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Uint8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int16Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint16Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Float32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Float64Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
(function(){var b={},e=null,c=null,d=null,f=null,k={},n={color:"#ff0084",background:"#bbb",shadow:"#fff",fallback:!1},r=1<window.devicePixelRatio,l=function(){var h=navigator.userAgent.toLowerCase();return function(a){return-1!==h.indexOf(a)}}(),t=l("msie");l("chrome");l("chrome")||l("safari");var u=l("safari")&&!l("chrome");!l("mozilla")||l("chrome")||l("safari");var p=function(h){for(var a=Array.prototype.slice.call(document.getElementsByTagName("link"),0),g=document.getElementsByTagName("head")[0],
m=0,v=a.length;m<v;m++)"icon"!==a[m].getAttribute("rel")&&"shortcut icon"!==a[m].getAttribute("rel")||g.removeChild(a[m]);a=document.createElement("link");a.type="image/x-icon";a.rel="icon";a.href=h;document.getElementsByTagName("head")[0].appendChild(a)},q=function(){f||(f=document.createElement("canvas"),r?(f.width=32,f.height=32):(f.width=16,f.height=16));return f};b.setOptions=function(h){k={};for(var a in n)k[a]=h.hasOwnProperty(a)?h[a]:n[a];return this};b.setProgress=function(h){d||(d=document.title);
if(!c||!e){a:{var a=document.getElementsByTagName("link");for(var g=0,m=a.length;g<m;g++)if("icon"===a[g].getAttribute("rel")||"shortcut icon"===a[g].getAttribute("rel")){a=a[g];break a}a=!1}c=e=a?a.getAttribute("href"):"/favicon.ico"}if(!isNaN(parseFloat(h))&&isFinite(h))!q().getContext||t||u||!0===k.fallback?document.title=0<h?"("+h+"%) "+d:d:("force"===k.fallback&&(document.title=0<h?"("+h+"%) "+d:d),a=q(),g=a.getContext("2d"),h=h||0,g&&(g.clearRect(0,0,a.width,a.height),g.beginPath(),g.moveTo(a.width/
2,a.height/2),g.arc(a.width/2,a.height/2,Math.min(a.width/2,a.height/2),0,2*Math.PI,!1),g.fillStyle=k.shadow,g.fill(),g.beginPath(),g.moveTo(a.width/2,a.height/2),g.arc(a.width/2,a.height/2,Math.min(a.width/2,a.height/2)-2,0,2*Math.PI,!1),g.fillStyle=k.background,g.fill(),0<h&&(g.beginPath(),g.moveTo(a.width/2,a.height/2),g.arc(a.width/2,a.height/2,Math.min(a.width/2,a.height/2)-2,-.5*Math.PI,(-.5+2*h/100)*Math.PI,!1),g.lineTo(a.width/2,a.height/2),g.fillStyle=k.color,g.fill()),p(a.toDataURL())));
else return!1};b.reset=function(){d&&(document.title=d);c&&(e=c,p(e))};b.setOptions(n);"function"===typeof define&&define.amd?define(b):"undefined"!==typeof module?module.exports=b:window.Piecon=b})(); //# sourceMappingURL=piecon.min.map