iot-backend/software/dashboard/grafana/plugins/marcusolsson-csv-datasource/module.js

3 lines
881 KiB
JavaScript
Raw Normal View History

2023-02-24 15:50:24 +01:00
/*! For license information please see module.js.LICENSE.txt */
define(["@emotion/css","@grafana/data","@grafana/runtime","@grafana/ui","emotion","moment","react"],((b,z,M,p,O,A,c)=>(()=>{var o=[b=>{"use strict";b.exports=c},b=>{"use strict";b.exports=p},b=>{b.exports=function(b){var z=typeof b;return null!=b&&("object"==z||"function"==z)}},(b,z,M)=>{var p=M(19),O=M(11),A=M(35),c=M(36),o=Object.prototype,q=o.hasOwnProperty,W=p((function(b,z){b=Object(b);var M=-1,p=z.length,W=p>2?z[2]:void 0;for(W&&A(z[0],z[1],W)&&(p=1);++M<p;)for(var n=z[M],d=c(n),a=-1,e=d.length;++a<e;){var R=d[a],r=b[R];(void 0===r||O(r,o[R])&&!q.call(b,R))&&(b[R]=n[R])}return b}));b.exports=W},(b,z,M)=>{var p=M(9),O=M(28),A=M(29),c=p?p.toStringTag:void 0;b.exports=function(b){return null==b?void 0===b?"[object Undefined]":"[object Null]":c&&c in Object(b)?O(b):A(b)}},(b,z,M)=>{var p=M(10),O="object"==typeof self&&self&&self.Object===Object&&self,A=p||O||Function("return this")();b.exports=A},b=>{b.exports=function(b){return null!=b&&"object"==typeof b}},b=>{b.exports=function(b){return b}},(b,z,M)=>{var p=M(4),O=M(2);b.exports=function(b){if(!O(b))return!1;var z=p(b);return"[object Function]"==z||"[object GeneratorFunction]"==z||"[object AsyncFunction]"==z||"[object Proxy]"==z}},(b,z,M)=>{var p=M(5).Symbol;b.exports=p},(b,z,M)=>{var p="object"==typeof M.g&&M.g&&M.g.Object===Object&&M.g;b.exports=p},b=>{b.exports=function(b,z){return b===z||b!=b&&z!=z}},(b,z,M)=>{var p=M(8),O=M(13);b.exports=function(b){return null!=b&&O(b.length)&&!p(b)}},b=>{b.exports=function(b){return"number"==typeof b&&b>-1&&b%1==0&&b<=9007199254740991}},b=>{var z=/^(?:0|[1-9]\d*)$/;b.exports=function(b,M){var p=typeof b;return!!(M=null==M?9007199254740991:M)&&("number"==p||"symbol"!=p&&z.test(b))&&b>-1&&b%1==0&&b<M}},(b,z,M)=>{b=M.nmd(b);var p=M(5),O=M(42),A=z&&!z.nodeType&&z,c=A&&b&&!b.nodeType&&b,o=c&&c.exports===A?p.Buffer:void 0,q=(o?o.isBuffer:void 0)||O;b.exports=q},(b,z,M)=>{b=M.nmd(b);var p=M(10),O=z&&!z.nodeType&&z,A=O&&b&&!b.nodeType&&b,c=A&&A.exports===O&&p.process,o=function(){try{var b=A&&A.require&&A.require("util").types;return b||c&&c.binding&&c.binding("util")}catch(b){}}();b.exports=o},function(b,z,M){var p,O,A;!function(c,o){"use strict";b.exports?b.exports=o(M(49)):(O=[M(49)],void 0===(A="function"==typeof(p=o)?p.apply(z,O):p)||(b.exports=A))}(0,(function(b){"use strict";void 0===b.version&&b.default&&(b=b.default);var z,M={},p={},O={},A={},c={};b&&"string"==typeof b.version||g("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var o=b.version.split("."),q=+o[0],W=+o[1];function n(b){return b>96?b-87:b>64?b-29:b-48}function d(b){var z=0,M=b.split("."),p=M[0],O=M[1]||"",A=1,c=0,o=1;for(45===b.charCodeAt(0)&&(z=1,o=-1);z<p.length;z++)c=60*c+n(p.charCodeAt(z));for(z=0;z<O.length;z++)A/=60,c+=n(O.charCodeAt(z))*A;return c*o}function a(b){for(var z=0;z<b.length;z++)b[z]=d(b[z])}function e(b,z){var M,p=[];for(M=0;M<z.length;M++)p[M]=b[z[M]];return p}function R(b){var z=b.split("|"),M=z[2].split(" "),p=z[3].split(""),O=z[4].split(" ");return a(M),a(p),a(O),function(b,z){for(var M=0;M<z;M++)b[M]=Math.round((b[M-1]||0)+6e4*b[M]);b[z-1]=1/0}(O,p.length),{name:z[0],abbrs:e(z[1].split(" "),p),offsets:e(M,p),untils:O,population:0|z[5]}}function r(b){b&&this._set(R(b))}function i(b,z){this.name=b,this.zones=z}function t(b){var z=b.toTimeString(),M=z.match(/\([a-z ]+\)/i);"GMT"===(M=M&&M[0]?(M=M[0].match(/[A-Z]/g))?M.join(""):void 0:(M=z.match(/[A-Z]{3,5}/g))?M[0]:void 0)&&(M=void 0),this.at=+b,this.abbr=M,this.offset=b.getTimezoneOffset()}function X(b){this.zone=b,this.offsetScore=0,this.abbrScore=0}function B(b,z){for(var M,p;p=6e4*((z.at-b.at)/12e4|0);)(M=new t(new Date(b.at+p))).offset===b.offset?b=M:z=M;return b}function f(b,z){return b.offsetScore!==z.offsetScore?b.offsetScore-z.offsetScore:b.abbrScore!==z.abbrScore?b.abbrScore-z.abbrScore:b.zone.population!==z.zone.population?z.zone.population-b.zone.population:z.zone.name.localeCompare(b.zone.name)}function l(b,z){var M,p;for(a(z),M=0;M<z.length;M++)p=z[M],c[p]=c[p]||{},c[p][b]=!0}function L(b){var z,M,p,O=b.length,o={},q=[];for(z=0;z
//# sourceMappingURL=module.js.map