mixit/compiler/dist/openweathermap/main.js

8 lines
451 KiB
JavaScript
Raw Normal View History

2019-04-29 14:10:28 +00:00
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=198)}([function(e,t,a){(function(e){e.exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var a,n=[];for(a=0;a<e.length;++a)n.push(t(e[a],a));return n}function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var a in t)_(t,a)&&(e[a]=t[a]);return _(t,"toString")&&(e.toString=t.toString),_(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,a,n){return Ht(e,t,a,n,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var t=m(e),a=n.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function p(e){var t=h(NaN);return null!=e?c(m(t),e):m(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),a=t.length>>>0,n=0;n<a;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var M=i.momentProperties=[];function y(e,t){var a,n,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),M.length>0)for(a=0;a<M.length;a++)n=M[a],o(i=t[n])||(e[n]=i);return e}var g=!1;function L(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,i.updateOffset(this),g=!1)}function v(e){return e instanceof L||null!=e&&null!=e._isAMomentObject}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=Y(t)),a}function b(e,t,a){var n,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(n=0;n<i;n++)(a&&e[n]!==t[n]||!a&&k(e[n])!==k(t[n]))&&s++;return s+r}function D(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,t){var a=!0;return c(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),a){for(var n,r=[],s=0;s<arguments.length;s++){if(n="","object"==typeof arguments[s]){for(var o in n+="\n["+s+"] ",arguments[0])n+=o+": "+arguments[0][o]+", ";n=n.slice(0,-2)}else n=arguments[s];r.
2019-04-15 16:01:30 +00:00
/*!
* Chart.js v2.8.0
* https://www.chartjs.org
* (c) 2019 Chart.js Contributors
* Released under the MIT License
*/
2019-04-29 14:10:28 +00:00
e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={rgb2hsl:a,rgb2hsv:n,rgb2hwb:i,rgb2cmyk:s,rgb2keyword:o,rgb2xyz:d,rgb2lab:l,rgb2lch:function(e){return M(l(e))},hsl2rgb:u,hsl2hsv:function(e){var t=e[0],a=e[1]/100,n=e[2]/100;return 0===n?[0,0,0]:[t,2*(a*=(n*=2)<=1?n:2-n)/(n+a)*100,(n+a)/2*100]},hsl2hwb:function(e){return i(u(e))},hsl2cmyk:function(e){return s(u(e))},hsl2keyword:function(e){return o(u(e))},hsv2rgb:_,hsv2hsl:function(e){var t,a,n=e[0],i=e[1]/100,r=e[2]/100;return t=i*r,[n,100*(t=(t/=(a=(2-i)*r)<=1?a:2-a)||0),100*(a/=2)]},hsv2hwb:function(e){return i(_(e))},hsv2cmyk:function(e){return s(_(e))},hsv2keyword:function(e){return o(_(e))},hwb2rgb:c,hwb2hsl:function(e){return a(c(e))},hwb2hsv:function(e){return n(c(e))},hwb2cmyk:function(e){return s(c(e))},hwb2keyword:function(e){return o(c(e))},cmyk2rgb:h,cmyk2hsl:function(e){return a(h(e))},cmyk2hsv:function(e){return n(h(e))},cmyk2hwb:function(e){return i(h(e))},cmyk2keyword:function(e){return o(h(e))},keyword2rgb:v,keyword2hsl:function(e){return a(v(e))},keyword2hsv:function(e){return n(v(e))},keyword2hwb:function(e){return i(v(e))},keyword2cmyk:function(e){return s(v(e))},keyword2lab:function(e){return l(v(e))},keyword2xyz:function(e){return d(v(e))},xyz2rgb:m,xyz2lab:f,xyz2lch:function(e){return M(f(e))},lab2xyz:p,lab2rgb:y,lab2lch:M,lch2lab:L,lch2xyz:function(e){return p(L(e))},lch2rgb:function(e){return y(L(e))}};function a(e){var t,a,n=e[0]/255,i=e[1]/255,r=e[2]/255,s=Math.min(n,i,r),o=Math.max(n,i,r),d=o-s;return o==s?t=0:n==o?t=(i-r)/d:i==o?t=2+(r-n)/d:r==o&&(t=4+(n-i)/d),(t=Math.min(60*t,360))<0&&(t+=360),a=(s+o)/2,[t,100*(o==s?0:a<=.5?d/(o+s):d/(2-o-s)),100*a]}function n(e){var t,a,n=e[0],i=e[1],r=e[2],s=Math.min(n,i,r),o=Math.max(n,i,r),d=o-s;return a=0==o?0:d/o*1e3/10,o==s?t=0:n==o?t=(i-r)/d:i==o?t=2+(r-n)/d:r==o&&(t=4+(n-i)/d),(t=Math.min(60*t,360))<0&&(t+=360),[t,a,o/255*1e3/10]}function i(e){var t=e[0],n=e[1],i=e[2],r=a(e)[0],s=1/255*Math.min(t,Math.min(n,i)),i=1-1/255*Math.max(t,Math.max(n,i));return[r,100*s,100*i]}function s(e){var t,a=e[0]/255,n=e[1]/255,i=e[2]/255;return t=Math.min(1-a,1-n,1-i),[100*((1-a-t)/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]}function o(e){return k[JSON.stringify(e)]}function d(e){var t=e[0]/255,a=e[1]/255,n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=.4124*t+.3576*a+.1805*n,r=.2126*t+.7152*a+.0722*n,s=.0193*t+.1192*a+.9505*n;return[100*i,100*r,100*s]}function l(e){var t=d(e),a=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,a=(a/=95.047)>.008856?Math.pow(a,1/3):7.787*a+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*n-16,500*(a-n),200*(n-i)]}function u(e){var t,a,n,i,r,s=e[0]/360,o=e[1]/100,d=e[2]/100;if(0==o)return[r=255*d,r,r];t=2*d-(a=d<.5?d*(1+o):d+o-d*o),i=[0,0,0];for(var l=0;l<3;l++)(n=s+1/3*-(l-1))<0&&n++,n>1&&n--,r=6*n<1?t+6*(a-t)*n:2*n<1?a:3*n<2?t+(a-t)*(2/3-n)*6:t,i[l]=255*r;return i}function _(e){var t=e[0]/60,a=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,r=t-Math.floor(t),s=255*n*(1-a),o=255*n*(1-a*r),d=255*n*(1-a*(1-r)),n=255*n;switch(i){case 0:return[n,d,s];case 1:return[o,n,s];case 2:return[s,n,d];case 3:return[s,o,n];case 4:return[d,s,n];case 5:return[n,s,o]}}function c(e){var t,a,n,i,s=e[0]/360,o=e[1]/100,d=e[2]/100,l=o+d;switch(l>1&&(o/=l,d/=l),t=Math.floor(6*s),n=6*s-t,0!=(1&t)&&(n=1-n),i=o+n*((a=1-d)-o),t){default:case 6:case 0:r=a,g=i,b=o;break;case 1:r=i,g=a,b=o;break;case 2:r=o,g=a,b=i;break;case 3:r=o,g=i,b=a;break;case 4:r=i,g=o,b=a;break;case 5:r=a,g=o,b=i}return[255*r,255*g,255*b]}function h(e){var t,a,n,i=e[0]/100,r=e[1]/100,s=e[2]/100,o=e[3]/100;return t=1-Math.min(1,i*(1-o)+o),a=1-Math.min(1,r*(1-o)+o),n=1-Math.min(1,s*(1-o)+o),[255*t,255*a,255*n]}function m(e){var t,a,n,i=e[0]/100,r=e[1]/100,s=e[2]/100;return a=-.9689*i+1.8758*r+.0415*s,n=.0557*i+-.204*r+1.057*s,t=(t=3.2406*i+-1.5372*r+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-