webdetector/.cache/dc/3faa2bc9d20a18d68f5ad5996519b6.json

1 line
1.4 MiB
JSON
Raw Normal View History

2018-12-21 12:36:28 +00:00
{"id":"eqBM","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/luxon/build/cjs-browser/luxon.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/luxon/package.json","includedInParent":true,"mtime":1545395356339}],"generated":{"js":"\"use strict\";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function a(e,t,n){return(a=o()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&i(o,n.prototype),o}).apply(null,arguments)}function u(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}function s(e){var t=\"function\"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||!u(e))return e;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)})(e)}function c(e){return void 0===e}function l(e){return\"number\"==typeof e}function f(e){return\"string\"==typeof e}function d(e){return\"[object Date]\"===Object.prototype.toString.call(e)}function h(){return\"undefined\"!=typeof Intl&&Intl.DateTimeFormat}function m(){return!c(Intl.DateTimeFormat.prototype.formatToParts)}function y(e){return Array.isArray(e)?e:[e]}function v(e,t,n){if(0!==e.length)return e.reduce(function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function g(e,t){return t.reduce(function(t,n){return t[n]=e[n],t},{})}function p(e,t,n){return l(e)&&e>=t&&e<=n}function w(e,t){return e-t*Math.floor(e/t)}function k(e,t){return void 0===t&&(t=2),e.toString().length<t?(\"0\".repeat(t)+e).slice(-t):e.toString()}function S(e){if(c(e))return NaN;var t=1e3*parseFloat(\"0.\"+e);return Math.floor(t)}function O(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}function b(e){return e%4==0&&(e%100!=0||e%400==0)}function T(e){return b(e)?366:365}function N(e,t){var n=w(t-1,12)+1;return 2===n?b(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function M(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function I(e){return e>99?e:e>60?1900+e:2e3+e}function D(e,t,n,r){void 0===r&&(r=null);var i=new Date(e),o={hour12:!1,year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\"};r&&(o.timeZone=r);var a=Object.assign({timeZoneName:t},o),u=h();if(u&&m()){var s=new Intl.DateTimeFormat(n,a).formatToParts(i).find(function(e){return\"timezonename\"===e.type.toLowerCase()});return s?s.value:null}if(u){var c=new Intl.DateTimeFormat(n,o).format(i);return new Intl.DateTimeFormat(n,a).format(i).substring(c.length).replace(/^[, \\u200e]+/,\"\")}return null}function E(e,t){var n=parseInt(e,10)||0,r=parseInt(t,10)||0;return 60*n+(n<0?-r:r)}function V(e,t,n){void 0===n&&(n=!1);var r={};for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(null!==o&&!c(o)&&!Number.isNaN(o)){var a=t(i,n);a&&(r[a]=o)}}return r}function L(e){return g