Comparing version 6.12.1 to 6.12.2
@@ -1,106 +0,112 @@ | ||
(function(){function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://git.io/JvFET#" + errCode + ")"; | ||
}/* | ||
* Support for AMD loading | ||
*/ | ||
(function (global) { | ||
function unsupportedRequire () { | ||
throw Error(errMsg(5, 'AMD require not supported.')); | ||
(function () { | ||
function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")"; | ||
} | ||
var requireExportsModule = ['require', 'exports', 'module']; | ||
/* | ||
* Support for AMD loading | ||
*/ | ||
(function (global) { | ||
function unsupportedRequire () { | ||
throw Error(errMsg(5, 'AMD require not supported.')); | ||
} | ||
function createAMDRegister (amdDefineDeps, amdDefineExec) { | ||
var exports = {}; | ||
var module = { exports: exports }; | ||
var depModules = []; | ||
var setters = []; | ||
var splice = 0; | ||
for (var i = 0; i < amdDefineDeps.length; i++) { | ||
var id = amdDefineDeps[i]; | ||
var index = setters.length; | ||
if (id === 'require') { | ||
depModules[i] = unsupportedRequire; | ||
splice++; | ||
var requireExportsModule = ['require', 'exports', 'module']; | ||
function createAMDRegister (amdDefineDeps, amdDefineExec) { | ||
var exports = {}; | ||
var module = { exports: exports }; | ||
var depModules = []; | ||
var setters = []; | ||
var splice = 0; | ||
for (var i = 0; i < amdDefineDeps.length; i++) { | ||
var id = amdDefineDeps[i]; | ||
var index = setters.length; | ||
if (id === 'require') { | ||
depModules[i] = unsupportedRequire; | ||
splice++; | ||
} | ||
else if (id === 'module') { | ||
depModules[i] = module; | ||
splice++; | ||
} | ||
else if (id === 'exports') { | ||
depModules[i] = exports; | ||
splice++; | ||
} | ||
else { | ||
createSetter(i); | ||
} | ||
if (splice) | ||
amdDefineDeps[index] = id; | ||
} | ||
else if (id === 'module') { | ||
depModules[i] = module; | ||
splice++; | ||
} | ||
else if (id === 'exports') { | ||
depModules[i] = exports; | ||
splice++; | ||
} | ||
else { | ||
createSetter(i); | ||
} | ||
if (splice) | ||
amdDefineDeps[index] = id; | ||
} | ||
if (splice) | ||
amdDefineDeps.length -= splice; | ||
var amdExec = amdDefineExec; | ||
return [amdDefineDeps, function (_export) { | ||
_export({ default: exports, __useDefault: true }); | ||
return { | ||
setters: setters, | ||
execute: function () { | ||
var amdResult = amdExec.apply(exports, depModules); | ||
if (amdResult !== undefined) | ||
module.exports = amdResult; | ||
_export(module.exports); | ||
_export('default', module.exports); | ||
} | ||
}; | ||
}]; | ||
amdDefineDeps.length -= splice; | ||
var amdExec = amdDefineExec; | ||
return [amdDefineDeps, function (_export) { | ||
_export({ default: exports, __useDefault: true }); | ||
return { | ||
setters: setters, | ||
execute: function () { | ||
var amdResult = amdExec.apply(exports, depModules); | ||
if (amdResult !== undefined) | ||
module.exports = amdResult; | ||
_export(module.exports); | ||
_export('default', module.exports); | ||
} | ||
}; | ||
}]; | ||
// needed to avoid iteration scope issues | ||
function createSetter(idx) { | ||
setters.push(function (ns) { | ||
depModules[idx] = ns.__useDefault ? ns.default : ns; | ||
}); | ||
// needed to avoid iteration scope issues | ||
function createSetter(idx) { | ||
setters.push(function (ns) { | ||
depModules[idx] = ns.__useDefault ? ns.default : ns; | ||
}); | ||
} | ||
} | ||
} | ||
global.define = function (arg1, arg2, arg3) { | ||
var isNamedRegister = typeof arg1 === 'string'; | ||
var name = isNamedRegister ? arg1 : null; | ||
var depArg = isNamedRegister ? arg2 : arg1; | ||
var execArg = isNamedRegister ? arg3 : arg2; | ||
global.define = function (arg1, arg2, arg3) { | ||
var isNamedRegister = typeof arg1 === 'string'; | ||
var name = isNamedRegister ? arg1 : null; | ||
var depArg = isNamedRegister ? arg2 : arg1; | ||
var execArg = isNamedRegister ? arg3 : arg2; | ||
// The System.register(deps, exec) arguments | ||
var deps, exec; | ||
// The System.register(deps, exec) arguments | ||
var deps, exec; | ||
// define([], function () {}) | ||
if (Array.isArray(depArg)) { | ||
deps = depArg; | ||
exec = execArg; | ||
} | ||
// define({}) | ||
else if (typeof depArg === 'object') { | ||
deps = []; | ||
exec = function () { return depArg }; | ||
} | ||
// define(function () {}) | ||
else if (typeof depArg === 'function') { | ||
deps = requireExportsModule; | ||
exec = depArg; | ||
} else { | ||
throw Error(errMsg(9, 'Invalid call to AMD define()')); | ||
} | ||
// define([], function () {}) | ||
if (Array.isArray(depArg)) { | ||
deps = depArg; | ||
exec = execArg; | ||
} | ||
// define({}) | ||
else if (typeof depArg === 'object') { | ||
deps = []; | ||
exec = function () { return depArg }; | ||
} | ||
// define(function () {}) | ||
else if (typeof depArg === 'function') { | ||
deps = requireExportsModule; | ||
exec = depArg; | ||
} else { | ||
throw Error(errMsg(9, 'Invalid call to AMD define()')); | ||
} | ||
var amdRegister = createAMDRegister(deps, exec); | ||
var amdRegister = createAMDRegister(deps, exec); | ||
if (isNamedRegister) { | ||
if (System.registerRegistry) { | ||
System.registerRegistry[name] = amdRegister; | ||
System.register(name, amdRegister[0], amdRegister[1]); | ||
if (isNamedRegister) { | ||
if (System.registerRegistry) { | ||
System.registerRegistry[name] = amdRegister; | ||
System.register(name, amdRegister[0], amdRegister[1]); | ||
} else | ||
console.warn(errMsg('W6', 'Include named-register.js for full named define support')); | ||
// TODO: create new warning number and documentation for using named define without named-register extra | ||
System.register(amdRegister[0], amdRegister[1]); | ||
} else | ||
console.warn(errMsg('W6', 'Include named-register.js for full named define support')); | ||
// TODO: create new warning number and documentation for using named define without named-register extra | ||
System.register(amdRegister[0], amdRegister[1]); | ||
} else | ||
System.register(amdRegister[0], amdRegister[1]); | ||
}; | ||
global.define.amd = {}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
}; | ||
global.define.amd = {}; | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(){function e(e,t){return(t||"")+" (SystemJS https://git.io/JvFET#"+e+")"}!function(t){function r(){throw Error(e(5))}var n=["require","exports","module"];t.define=function(t,o,i){var s,u,f="string"==typeof t,l=f?t:null,a=f?o:t,c=f?i:o;if(Array.isArray(a))s=a,u=c;else if("object"==typeof a)s=[],u=function(){return a};else{if("function"!=typeof a)throw Error(e(9));s=n,u=a}var y=function(e,t){function n(e){u.push((function(t){s[e]=t.__useDefault?t.default:t}))}for(var o={},i={exports:o},s=[],u=[],f=0,l=0;e.length>l;l++){var a=e[l],c=u.length;"require"===a?(s[l]=r,f++):"module"===a?(s[l]=i,f++):"exports"===a?(s[l]=o,f++):n(l),f&&(e[c]=a)}f&&(e.length-=f);var y=t;return[e,function(e){return e({default:o,__useDefault:!0}),{setters:u,execute:function(){var t=y.apply(o,s);void 0!==t&&(i.exports=t),e(i.exports),e("default",i.exports)}}}]}(s,u);f?(System.registerRegistry?(System.registerRegistry[l]=y,System.register(l,y[0],y[1])):console.warn(e("W6")),System.register(y[0],y[1])):System.register(y[0],y[1])},t.define.amd={}}("undefined"!=typeof self?self:global)}();//# sourceMappingURL=amd.min.js.map | ||
!function(){function e(e,r){return(r||"")+" (SystemJS Error#"+e+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}!function(r){function t(){throw Error(e(5,"AMD require not supported."))}var n=["require","exports","module"];r.define=function(r,o,s){var i,u,f="string"==typeof r,l=f?r:null,a=f?o:r,d=f?s:o;if(Array.isArray(a))i=a,u=d;else if("object"==typeof a)i=[],u=function(){return a};else{if("function"!=typeof a)throw Error(e(9,"Invalid call to AMD define()"));i=n,u=a}var c=function(e,r){function n(e){u.push((function(r){i[e]=r.__useDefault?r.default:r}))}for(var o={},s={exports:o},i=[],u=[],f=0,l=0;l<e.length;l++){var a=e[l],d=u.length;"require"===a?(i[l]=t,f++):"module"===a?(i[l]=s,f++):"exports"===a?(i[l]=o,f++):n(l),f&&(e[d]=a)}f&&(e.length-=f);var c=r;return[e,function(e){return e({default:o,__useDefault:!0}),{setters:u,execute:function(){var r=c.apply(o,i);void 0!==r&&(s.exports=r),e(s.exports),e("default",s.exports)}}}]}(i,u);f?(System.registerRegistry?(System.registerRegistry[l]=c,System.register(l,c[0],c[1])):console.warn(e("W6","Include named-register.js for full named define support")),System.register(c[0],c[1])):System.register(c[0],c[1])},r.define.amd={}}("undefined"!=typeof self?self:global)}(); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,16 +0,20 @@ | ||
(function(){/* | ||
* Support for live DOM updating import maps | ||
*/ | ||
new MutationObserver(function (mutations) { | ||
for (var i = 0; i < mutations.length; i++) { | ||
var mutation = mutations[i]; | ||
if (mutation.type === 'childList') | ||
for (var j = 0; j < mutation.addedNodes.length; j++) { | ||
var addedNode = mutation.addedNodes[j]; | ||
if (addedNode.tagName === 'SCRIPT' && addedNode.type === 'systemjs-importmap' && !addedNode.sp) { | ||
System.prepareImport(true); | ||
break; | ||
(function () { | ||
/* | ||
* Support for live DOM updating import maps | ||
*/ | ||
new MutationObserver(function (mutations) { | ||
for (var i = 0; i < mutations.length; i++) { | ||
var mutation = mutations[i]; | ||
if (mutation.type === 'childList') | ||
for (var j = 0; j < mutation.addedNodes.length; j++) { | ||
var addedNode = mutation.addedNodes[j]; | ||
if (addedNode.tagName === 'SCRIPT' && addedNode.type === 'systemjs-importmap' && !addedNode.sp) { | ||
System.prepareImport(true); | ||
break; | ||
} | ||
} | ||
} | ||
} | ||
}).observe(document, { childList: true, subtree: true });})(); | ||
}).observe(document, { childList: true, subtree: true }); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
new MutationObserver((function(e){for(var t=0;e.length>t;t++){var r=e[t];if("childList"===r.type)for(var a=0;r.addedNodes.length>a;a++){var s=r.addedNodes[a];if("SCRIPT"===s.tagName&&"systemjs-importmap"===s.type&&!s.sp){System.prepareImport(!0);break}}}})).observe(document,{childList:!0,subtree:!0});//# sourceMappingURL=dynamic-import-maps.min.js.map | ||
new MutationObserver((function(e){for(var t=0;t<e.length;t++){var r=e[t];if("childList"===r.type)for(var a=0;a<r.addedNodes.length;a++){var s=r.addedNodes[a];if("SCRIPT"===s.tagName&&"systemjs-importmap"===s.type&&!s.sp){System.prepareImport(!0);break}}}})).observe(document,{childList:!0,subtree:!0}); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,96 +0,100 @@ | ||
(function(){/* | ||
* SystemJS global script loading support | ||
* Extra for the s.js build only | ||
* (Included by default in system.js build) | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
(function () { | ||
// safari unpredictably lists some new globals first or second in object order | ||
var firstGlobalProp, secondGlobalProp, lastGlobalProp; | ||
function getGlobalProp (useFirstGlobalProp) { | ||
var cnt = 0; | ||
var foundLastProp, result; | ||
for (var p in global) { | ||
// do not check frames cause it could be removed during import | ||
if (shouldSkipProperty(p)) | ||
continue; | ||
if (cnt === 0 && p !== firstGlobalProp || cnt === 1 && p !== secondGlobalProp) | ||
return p; | ||
if (foundLastProp) { | ||
lastGlobalProp = p; | ||
result = useFirstGlobalProp && result || p; | ||
/* | ||
* SystemJS global script loading support | ||
* Extra for the s.js build only | ||
* (Included by default in system.js build) | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
// safari unpredictably lists some new globals first or second in object order | ||
var firstGlobalProp, secondGlobalProp, lastGlobalProp; | ||
function getGlobalProp (useFirstGlobalProp) { | ||
var cnt = 0; | ||
var foundLastProp, result; | ||
for (var p in global) { | ||
// do not check frames cause it could be removed during import | ||
if (shouldSkipProperty(p)) | ||
continue; | ||
if (cnt === 0 && p !== firstGlobalProp || cnt === 1 && p !== secondGlobalProp) | ||
return p; | ||
if (foundLastProp) { | ||
lastGlobalProp = p; | ||
result = useFirstGlobalProp && result || p; | ||
} | ||
else { | ||
foundLastProp = p === lastGlobalProp; | ||
} | ||
cnt++; | ||
} | ||
else { | ||
foundLastProp = p === lastGlobalProp; | ||
} | ||
cnt++; | ||
return result; | ||
} | ||
return result; | ||
} | ||
function noteGlobalProps () { | ||
// alternatively Object.keys(global).pop() | ||
// but this may be faster (pending benchmarks) | ||
firstGlobalProp = secondGlobalProp = undefined; | ||
for (var p in global) { | ||
// do not check frames cause it could be removed during import | ||
if (shouldSkipProperty(p)) | ||
continue; | ||
if (!firstGlobalProp) | ||
firstGlobalProp = p; | ||
else if (!secondGlobalProp) | ||
secondGlobalProp = p; | ||
lastGlobalProp = p; | ||
function noteGlobalProps () { | ||
// alternatively Object.keys(global).pop() | ||
// but this may be faster (pending benchmarks) | ||
firstGlobalProp = secondGlobalProp = undefined; | ||
for (var p in global) { | ||
// do not check frames cause it could be removed during import | ||
if (shouldSkipProperty(p)) | ||
continue; | ||
if (!firstGlobalProp) | ||
firstGlobalProp = p; | ||
else if (!secondGlobalProp) | ||
secondGlobalProp = p; | ||
lastGlobalProp = p; | ||
} | ||
return lastGlobalProp; | ||
} | ||
return lastGlobalProp; | ||
} | ||
var impt = systemJSPrototype.import; | ||
systemJSPrototype.import = function (id, parentUrl) { | ||
noteGlobalProps(); | ||
return impt.call(this, id, parentUrl); | ||
}; | ||
var impt = systemJSPrototype.import; | ||
systemJSPrototype.import = function (id, parentUrl) { | ||
noteGlobalProps(); | ||
return impt.call(this, id, parentUrl); | ||
}; | ||
var emptyInstantiation = [[], function () { return {} }]; | ||
var emptyInstantiation = [[], function () { return {} }]; | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function () { | ||
var lastRegister = getRegister.call(this); | ||
if (lastRegister) | ||
return lastRegister; | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function () { | ||
var lastRegister = getRegister.call(this); | ||
if (lastRegister) | ||
return lastRegister; | ||
// no registration -> attempt a global detection as difference from snapshot | ||
// when multiple globals, we take the global value to be the last defined new global object property | ||
// for performance, this will not support multi-version / global collisions as previous SystemJS versions did | ||
// note in Edge, deleting and re-adding a global does not change its ordering | ||
var globalProp = getGlobalProp(this.firstGlobalProp); | ||
if (!globalProp) | ||
return emptyInstantiation; | ||
// no registration -> attempt a global detection as difference from snapshot | ||
// when multiple globals, we take the global value to be the last defined new global object property | ||
// for performance, this will not support multi-version / global collisions as previous SystemJS versions did | ||
// note in Edge, deleting and re-adding a global does not change its ordering | ||
var globalProp = getGlobalProp(this.firstGlobalProp); | ||
if (!globalProp) | ||
return emptyInstantiation; | ||
var globalExport; | ||
try { | ||
globalExport = global[globalProp]; | ||
} | ||
catch (e) { | ||
return emptyInstantiation; | ||
} | ||
var globalExport; | ||
try { | ||
globalExport = global[globalProp]; | ||
} | ||
catch (e) { | ||
return emptyInstantiation; | ||
} | ||
return [[], function (_export) { | ||
return { | ||
execute: function () { | ||
_export(globalExport); | ||
_export({ default: globalExport, __useDefault: true }); | ||
} | ||
}; | ||
}]; | ||
}; | ||
return [[], function (_export) { | ||
return { | ||
execute: function () { | ||
_export(globalExport); | ||
_export({ default: globalExport, __useDefault: true }); | ||
} | ||
}; | ||
}]; | ||
}; | ||
var isIE11 = typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Trident') !== -1; | ||
var isIE11 = typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Trident') !== -1; | ||
function shouldSkipProperty(p) { | ||
return !global.hasOwnProperty(p) | ||
|| !isNaN(p) && p < global.length | ||
|| isIE11 && global[p] && typeof window !== 'undefined' && global[p].parent === window; | ||
} | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
function shouldSkipProperty(p) { | ||
return !global.hasOwnProperty(p) | ||
|| !isNaN(p) && p < global.length | ||
|| isIE11 && global[p] && typeof window !== 'undefined' && global[p].parent === window; | ||
} | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(t){function n(n){return!t.hasOwnProperty(n)||!isNaN(n)&&t.length>n||c&&t[n]&&"undefined"!=typeof window&&t[n].parent===window}var r,e,i,o=t.System.constructor.prototype,u=o.import;o.import=function(o,f){return function(){for(var o in r=e=void 0,t)n(o)||(r?e||(e=o):r=o,i=o)}(),u.call(this,o,f)};var f=[[],function(){return{}}],a=o.getRegister;o.getRegister=function(){var o=a.call(this);if(o)return o;var u,c=function(o){var u,f,a=0;for(var c in t)if(!n(c)){if(0===a&&c!==r||1===a&&c!==e)return c;u?(i=c,f=o&&f||c):u=c===i,a++}return f}(this.firstGlobalProp);if(!c)return f;try{u=t[c]}catch(s){return f}return[[],function(t){return{execute:function(){t(u),t({default:u,__useDefault:!0})}}}]};var c="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global);//# sourceMappingURL=global.min.js.map | ||
!function(t){function n(n){return!t.hasOwnProperty(n)||!isNaN(n)&&n<t.length||c&&t[n]&&"undefined"!=typeof window&&t[n].parent===window}var r,e,i,o=t.System.constructor.prototype,u=o.import;o.import=function(o,f){return function(){for(var o in r=e=void 0,t)n(o)||(r?e||(e=o):r=o,i=o)}(),u.call(this,o,f)};var f=[[],function(){return{}}],a=o.getRegister;o.getRegister=function(){var o=a.call(this);if(o)return o;var u,c=function(o){var u,f,a=0;for(var c in t)if(!n(c)){if(0===a&&c!==r||1===a&&c!==e)return c;u?(i=c,f=o&&f||c):u=c===i,a++}return f}(this.firstGlobalProp);if(!c)return f;try{u=t[c]}catch(s){return f}return[[],function(t){return{execute:function(){t(u),t({default:u,__useDefault:!0})}}}]};var c="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,184 +0,190 @@ | ||
(function(){var hasDocument = typeof document !== 'undefined'; | ||
(function () { | ||
var baseUrl; | ||
var hasDocument = typeof document !== 'undefined'; | ||
if (hasDocument) { | ||
var baseEl = document.querySelector('base[href]'); | ||
if (baseEl) | ||
baseUrl = baseEl.href; | ||
} | ||
var baseUrl; | ||
if (!baseUrl && typeof location !== 'undefined') { | ||
baseUrl = location.href.split('#')[0].split('?')[0]; | ||
var lastSepIndex = baseUrl.lastIndexOf('/'); | ||
if (lastSepIndex !== -1) | ||
baseUrl = baseUrl.slice(0, lastSepIndex + 1); | ||
} | ||
if (hasDocument) { | ||
var baseEl = document.querySelector('base[href]'); | ||
if (baseEl) | ||
baseUrl = baseEl.href; | ||
} | ||
var backslashRegEx = /\\/g; | ||
function resolveIfNotPlainOrUrl (relUrl, parentUrl) { | ||
if (relUrl.indexOf('\\') !== -1) | ||
relUrl = relUrl.replace(backslashRegEx, '/'); | ||
// protocol-relative | ||
if (relUrl[0] === '/' && relUrl[1] === '/') { | ||
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl; | ||
if (!baseUrl && typeof location !== 'undefined') { | ||
baseUrl = location.href.split('#')[0].split('?')[0]; | ||
var lastSepIndex = baseUrl.lastIndexOf('/'); | ||
if (lastSepIndex !== -1) | ||
baseUrl = baseUrl.slice(0, lastSepIndex + 1); | ||
} | ||
// relative-url | ||
else if (relUrl[0] === '.' && (relUrl[1] === '/' || relUrl[1] === '.' && (relUrl[2] === '/' || relUrl.length === 2 && (relUrl += '/')) || | ||
relUrl.length === 1 && (relUrl += '/')) || | ||
relUrl[0] === '/') { | ||
var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1); | ||
// Disabled, but these cases will give inconsistent results for deep backtracking | ||
//if (parentUrl[parentProtocol.length] !== '/') | ||
// throw Error('Cannot resolve'); | ||
// read pathname from parent URL | ||
// pathname taken to be part after leading "/" | ||
var pathname; | ||
if (parentUrl[parentProtocol.length + 1] === '/') { | ||
// resolving to a :// so we need to read out the auth and host | ||
if (parentProtocol !== 'file:') { | ||
pathname = parentUrl.slice(parentProtocol.length + 2); | ||
pathname = pathname.slice(pathname.indexOf('/') + 1); | ||
var backslashRegEx = /\\/g; | ||
function resolveIfNotPlainOrUrl (relUrl, parentUrl) { | ||
if (relUrl.indexOf('\\') !== -1) | ||
relUrl = relUrl.replace(backslashRegEx, '/'); | ||
// protocol-relative | ||
if (relUrl[0] === '/' && relUrl[1] === '/') { | ||
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl; | ||
} | ||
// relative-url | ||
else if (relUrl[0] === '.' && (relUrl[1] === '/' || relUrl[1] === '.' && (relUrl[2] === '/' || relUrl.length === 2 && (relUrl += '/')) || | ||
relUrl.length === 1 && (relUrl += '/')) || | ||
relUrl[0] === '/') { | ||
var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1); | ||
// Disabled, but these cases will give inconsistent results for deep backtracking | ||
//if (parentUrl[parentProtocol.length] !== '/') | ||
// throw Error('Cannot resolve'); | ||
// read pathname from parent URL | ||
// pathname taken to be part after leading "/" | ||
var pathname; | ||
if (parentUrl[parentProtocol.length + 1] === '/') { | ||
// resolving to a :// so we need to read out the auth and host | ||
if (parentProtocol !== 'file:') { | ||
pathname = parentUrl.slice(parentProtocol.length + 2); | ||
pathname = pathname.slice(pathname.indexOf('/') + 1); | ||
} | ||
else { | ||
pathname = parentUrl.slice(8); | ||
} | ||
} | ||
else { | ||
pathname = parentUrl.slice(8); | ||
// resolving to :/ so pathname is the /... part | ||
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/')); | ||
} | ||
} | ||
else { | ||
// resolving to :/ so pathname is the /... part | ||
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/')); | ||
} | ||
if (relUrl[0] === '/') | ||
return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl; | ||
if (relUrl[0] === '/') | ||
return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl; | ||
// join together and split for removal of .. and . segments | ||
// looping the string instead of anything fancy for perf reasons | ||
// '../../../../../z' resolved to 'x/y' is just 'z' | ||
var segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl; | ||
// join together and split for removal of .. and . segments | ||
// looping the string instead of anything fancy for perf reasons | ||
// '../../../../../z' resolved to 'x/y' is just 'z' | ||
var segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl; | ||
var output = []; | ||
var segmentIndex = -1; | ||
for (var i = 0; i < segmented.length; i++) { | ||
// busy reading a segment - only terminate on '/' | ||
if (segmentIndex !== -1) { | ||
if (segmented[i] === '/') { | ||
output.push(segmented.slice(segmentIndex, i + 1)); | ||
segmentIndex = -1; | ||
var output = []; | ||
var segmentIndex = -1; | ||
for (var i = 0; i < segmented.length; i++) { | ||
// busy reading a segment - only terminate on '/' | ||
if (segmentIndex !== -1) { | ||
if (segmented[i] === '/') { | ||
output.push(segmented.slice(segmentIndex, i + 1)); | ||
segmentIndex = -1; | ||
} | ||
} | ||
} | ||
// new segment - check if it is relative | ||
else if (segmented[i] === '.') { | ||
// ../ segment | ||
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) { | ||
output.pop(); | ||
i += 2; | ||
// new segment - check if it is relative | ||
else if (segmented[i] === '.') { | ||
// ../ segment | ||
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) { | ||
output.pop(); | ||
i += 2; | ||
} | ||
// ./ segment | ||
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) { | ||
i += 1; | ||
} | ||
else { | ||
// the start of a new segment as below | ||
segmentIndex = i; | ||
} | ||
} | ||
// ./ segment | ||
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) { | ||
i += 1; | ||
} | ||
// it is the start of a new segment | ||
else { | ||
// the start of a new segment as below | ||
segmentIndex = i; | ||
} | ||
} | ||
// it is the start of a new segment | ||
else { | ||
segmentIndex = i; | ||
} | ||
// finish reading out the last segment | ||
if (segmentIndex !== -1) | ||
output.push(segmented.slice(segmentIndex)); | ||
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join(''); | ||
} | ||
// finish reading out the last segment | ||
if (segmentIndex !== -1) | ||
output.push(segmented.slice(segmentIndex)); | ||
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join(''); | ||
} | ||
} | ||
/* | ||
* Import maps implementation | ||
* | ||
* To make lookups fast we pre-resolve the entire import map | ||
* and then match based on backtracked hash lookups | ||
* | ||
*/ | ||
/* | ||
* Import maps implementation | ||
* | ||
* To make lookups fast we pre-resolve the entire import map | ||
* and then match based on backtracked hash lookups | ||
* | ||
*/ | ||
function resolveUrl (relUrl, parentUrl) { | ||
return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl)); | ||
}/* | ||
* Loads JSON, CSS, Wasm module types based on file extension | ||
* filters and content type verifications | ||
*/ | ||
(function(global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
function resolveUrl (relUrl, parentUrl) { | ||
return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl)); | ||
} | ||
var moduleTypesRegEx = /^[^#?]+\.(css|html|json|wasm)([?#].*)?$/; | ||
systemJSPrototype.shouldFetch = function (url) { | ||
return moduleTypesRegEx.test(url); | ||
}; | ||
/* | ||
* Loads JSON, CSS, Wasm module types based on file extension | ||
* filters and content type verifications | ||
*/ | ||
(function(global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
var jsonContentType = /^application\/json(;|$)/; | ||
var cssContentType = /^text\/css(;|$)/; | ||
var wasmContentType = /^application\/wasm(;|$)/; | ||
var moduleTypesRegEx = /^[^#?]+\.(css|html|json|wasm)([?#].*)?$/; | ||
systemJSPrototype.shouldFetch = function (url) { | ||
return moduleTypesRegEx.test(url); | ||
}; | ||
var fetch = systemJSPrototype.fetch; | ||
systemJSPrototype.fetch = function (url, options) { | ||
return fetch(url, options) | ||
.then(function (res) { | ||
if (options.passThrough) | ||
return res; | ||
var jsonContentType = /^application\/json(;|$)/; | ||
var cssContentType = /^text\/css(;|$)/; | ||
var wasmContentType = /^application\/wasm(;|$)/; | ||
if (!res.ok) | ||
return res; | ||
var contentType = res.headers.get('content-type'); | ||
if (jsonContentType.test(contentType)) | ||
return res.json() | ||
.then(function (json) { | ||
return new Response(new Blob([ | ||
'System.register([],function(e){return{execute:function(){e("default",' + JSON.stringify(json) + ')}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
if (cssContentType.test(contentType)) | ||
return res.text() | ||
.then(function (source) { | ||
source = source.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g, function (match, quotes, relUrl1, relUrl2) { | ||
return 'url(' + quotes + resolveUrl(relUrl1 || relUrl2, url) + quotes + ')'; | ||
var fetch = systemJSPrototype.fetch; | ||
systemJSPrototype.fetch = function (url, options) { | ||
return fetch(url, options) | ||
.then(function (res) { | ||
if (options.passThrough) | ||
return res; | ||
if (!res.ok) | ||
return res; | ||
var contentType = res.headers.get('content-type'); | ||
if (jsonContentType.test(contentType)) | ||
return res.json() | ||
.then(function (json) { | ||
return new Response(new Blob([ | ||
'System.register([],function(e){return{execute:function(){e("default",' + JSON.stringify(json) + ')}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
return new Response(new Blob([ | ||
'System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync(' + JSON.stringify(source) + ');e("default",s)}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
if (wasmContentType.test(contentType)) | ||
return (WebAssembly.compileStreaming ? WebAssembly.compileStreaming(res) : res.arrayBuffer().then(WebAssembly.compile)) | ||
.then(function (module) { | ||
if (!global.System.wasmModules) | ||
global.System.wasmModules = Object.create(null); | ||
global.System.wasmModules[url] = module; | ||
// we can only set imports if supported (eg early Safari doesnt support) | ||
var deps = []; | ||
var setterSources = []; | ||
if (WebAssembly.Module.imports) | ||
WebAssembly.Module.imports(module).forEach(function (impt) { | ||
var key = JSON.stringify(impt.module); | ||
if (deps.indexOf(key) === -1) { | ||
deps.push(key); | ||
setterSources.push('function(m){i[' + key + ']=m}'); | ||
} | ||
if (cssContentType.test(contentType)) | ||
return res.text() | ||
.then(function (source) { | ||
source = source.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g, function (match, quotes, relUrl1, relUrl2) { | ||
return 'url(' + quotes + resolveUrl(relUrl1 || relUrl2, url) + quotes + ')'; | ||
}); | ||
return new Response(new Blob([ | ||
'System.register([' + deps.join(',') + '],function(e){var i={};return{setters:[' + setterSources.join(',') + | ||
'],execute:function(){return WebAssembly.instantiate(System.wasmModules[' + JSON.stringify(url) + | ||
'],i).then(function(m){e(m.exports)})}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
return res; | ||
}); | ||
}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
return new Response(new Blob([ | ||
'System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync(' + JSON.stringify(source) + ');e("default",s)}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
if (wasmContentType.test(contentType)) | ||
return (WebAssembly.compileStreaming ? WebAssembly.compileStreaming(res) : res.arrayBuffer().then(WebAssembly.compile)) | ||
.then(function (module) { | ||
if (!global.System.wasmModules) | ||
global.System.wasmModules = Object.create(null); | ||
global.System.wasmModules[url] = module; | ||
// we can only set imports if supported (eg early Safari doesnt support) | ||
var deps = []; | ||
var setterSources = []; | ||
if (WebAssembly.Module.imports) | ||
WebAssembly.Module.imports(module).forEach(function (impt) { | ||
var key = JSON.stringify(impt.module); | ||
if (deps.indexOf(key) === -1) { | ||
deps.push(key); | ||
setterSources.push('function(m){i[' + key + ']=m}'); | ||
} | ||
}); | ||
return new Response(new Blob([ | ||
'System.register([' + deps.join(',') + '],function(e){var i={};return{setters:[' + setterSources.join(',') + | ||
'],execute:function(){return WebAssembly.instantiate(System.wasmModules[' + JSON.stringify(url) + | ||
'],i).then(function(m){e(m.exports)})}}})' | ||
], { | ||
type: 'application/javascript' | ||
})); | ||
}); | ||
return res; | ||
}); | ||
}; | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(){function e(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,s=t.slice(0,t.indexOf(":")+1);if(n="/"===t[s.length+1]?"file:"!==s?(n=t.slice(s.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(s.length+("/"===t[s.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,r=[],l=-1,o=0;i.length>o;o++)-1!==l?"/"===i[o]&&(r.push(i.slice(l,o+1)),l=-1):"."===i[o]?"."!==i[o+1]||"/"!==i[o+2]&&o+2!==i.length?"/"===i[o+1]||o+1===i.length?o+=1:l=o:(r.pop(),o+=2):l=o;return-1!==l&&r.push(i.slice(l)),t.slice(0,t.length-n.length)+r.join("")}}var t;if("undefined"!=typeof document){var n=document.querySelector("base[href]");n&&(t=n.href)}if(!t&&"undefined"!=typeof location){var s=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==s&&(t=t.slice(0,s+1))}!function(t){var n=t.System.constructor.prototype,s=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;n.shouldFetch=function(e){return s.test(e)};var i=/^application\/json(;|$)/,r=/^text\/css(;|$)/,l=/^application\/wasm(;|$)/,o=n.fetch;n.fetch=function(n,s){return o(n,s).then((function(o){if(s.passThrough)return o;if(!o.ok)return o;var c=o.headers.get("content-type");return i.test(c)?o.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):r.test(c)?o.text().then((function(t){return t=t.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(t,s,i,r){return"url("+s+(e(l=i||r,o=n)||(-1!==l.indexOf(":")?l:e("./"+l,o)))+s+")";var l,o})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(t)+');e("default",s)}}})'],{type:"application/javascript"}))})):l.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(o):o.arrayBuffer().then(WebAssembly.compile)).then((function(e){t.System.wasmModules||(t.System.wasmModules=Object.create(null)),t.System.wasmModules[n]=e;var s=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(e).forEach((function(e){var t=JSON.stringify(e.module);-1===s.indexOf(t)&&(s.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+s.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(n)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):o}))}}("undefined"!=typeof self?self:global)}();//# sourceMappingURL=module-types.min.js.map | ||
!function(){function e(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(i,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,s=t.slice(0,t.indexOf(":")+1);if(n="/"===t[s.length+1]?"file:"!==s?(n=t.slice(s.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(s.length+("/"===t[s.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var r=n.slice(0,n.lastIndexOf("/")+1)+e,l=[],o=-1,c=0;c<r.length;c++)-1!==o?"/"===r[c]&&(l.push(r.slice(o,c+1)),o=-1):"."===r[c]?"."!==r[c+1]||"/"!==r[c+2]&&c+2!==r.length?"/"===r[c+1]||c+1===r.length?c+=1:o=c:(l.pop(),c+=2):o=c;return-1!==o&&l.push(r.slice(o)),t.slice(0,t.length-n.length)+l.join("")}}var t;if("undefined"!=typeof document){var n=document.querySelector("base[href]");n&&(t=n.href)}if(!t&&"undefined"!=typeof location){var s=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==s&&(t=t.slice(0,s+1))}var i=/\\/g;!function(t){var n=t.System.constructor.prototype,s=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;n.shouldFetch=function(e){return s.test(e)};var i=/^application\/json(;|$)/,r=/^text\/css(;|$)/,l=/^application\/wasm(;|$)/,o=n.fetch;n.fetch=function(n,s){return o(n,s).then((function(o){if(s.passThrough)return o;if(!o.ok)return o;var c=o.headers.get("content-type");return i.test(c)?o.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):r.test(c)?o.text().then((function(t){return t=t.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(t,s,i,r){return"url("+s+(e(l=i||r,o=n)||(-1!==l.indexOf(":")?l:e("./"+l,o)))+s+")";var l,o})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(t)+');e("default",s)}}})'],{type:"application/javascript"}))})):l.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(o):o.arrayBuffer().then(WebAssembly.compile)).then((function(e){t.System.wasmModules||(t.System.wasmModules=Object.create(null)),t.System.wasmModules[n]=e;var s=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(e).forEach((function(e){var t=JSON.stringify(e.module);-1===s.indexOf(t)&&(s.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+s.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(n)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):o}))}}("undefined"!=typeof self?self:global)}(); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,63 +0,67 @@ | ||
(function(){/* | ||
* Named exports support for legacy module formats in SystemJS 2.0 | ||
* | ||
* Note: This extra is deprecated as the behaviour is now the default in core, | ||
* so will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
(function () { | ||
// hook System.register to know the last declaration binding | ||
var lastRegisterDeclare; | ||
var systemRegister = systemJSPrototype.register; | ||
systemJSPrototype.register = function (name, deps, declare) { | ||
lastRegisterDeclare = typeof name === 'string' ? declare : deps; | ||
systemRegister.apply(this, arguments); | ||
}; | ||
/* | ||
* Named exports support for legacy module formats in SystemJS 2.0 | ||
* | ||
* Note: This extra is deprecated as the behaviour is now the default in core, | ||
* so will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function () { | ||
var register = getRegister.call(this); | ||
// if it is an actual System.register call, then its ESM | ||
// -> dont add named exports | ||
if (!register || register[1] === lastRegisterDeclare || register[1].length === 0) | ||
return register; | ||
// hook System.register to know the last declaration binding | ||
var lastRegisterDeclare; | ||
var systemRegister = systemJSPrototype.register; | ||
systemJSPrototype.register = function (name, deps, declare) { | ||
lastRegisterDeclare = typeof name === 'string' ? declare : deps; | ||
systemRegister.apply(this, arguments); | ||
}; | ||
// otherwise it was provided by a custom instantiator | ||
// -> extend the registration with named exports support | ||
var registerDeclare = register[1]; | ||
register[1] = function (_export, _context) { | ||
// hook the _export function to note the default export | ||
var defaultExport, hasDefaultExport = false; | ||
var declaration = registerDeclare.call(this, function (name, value) { | ||
if (typeof name === 'object' && name && name.__useDefault) | ||
defaultExport = name.default, hasDefaultExport = true; | ||
else if (name === 'default') | ||
defaultExport = value; | ||
else if (name === '__useDefault') | ||
hasDefaultExport = true; | ||
_export(name, value); | ||
}, _context); | ||
// hook the execute function | ||
var execute = declaration.execute; | ||
if (execute) | ||
declaration.execute = function () { | ||
execute.call(this); | ||
// do a bulk export of the default export object | ||
// to export all its names as named exports | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function () { | ||
var register = getRegister.call(this); | ||
// if it is an actual System.register call, then its ESM | ||
// -> dont add named exports | ||
if (!register || register[1] === lastRegisterDeclare || register[1].length === 0) | ||
return register; | ||
if (hasDefaultExport) | ||
for (var exportName in defaultExport) { | ||
if ( | ||
Object.prototype.hasOwnProperty.call(defaultExport, exportName) // Check if epoxrt name is not inherited, safe for Object.create(null) | ||
&& exportName !== 'default' // default is not a named export | ||
) { | ||
_export(exportName, defaultExport[exportName]); | ||
// otherwise it was provided by a custom instantiator | ||
// -> extend the registration with named exports support | ||
var registerDeclare = register[1]; | ||
register[1] = function (_export, _context) { | ||
// hook the _export function to note the default export | ||
var defaultExport, hasDefaultExport = false; | ||
var declaration = registerDeclare.call(this, function (name, value) { | ||
if (typeof name === 'object' && name && name.__useDefault) | ||
defaultExport = name.default, hasDefaultExport = true; | ||
else if (name === 'default') | ||
defaultExport = value; | ||
else if (name === '__useDefault') | ||
hasDefaultExport = true; | ||
_export(name, value); | ||
}, _context); | ||
// hook the execute function | ||
var execute = declaration.execute; | ||
if (execute) | ||
declaration.execute = function () { | ||
execute.call(this); | ||
// do a bulk export of the default export object | ||
// to export all its names as named exports | ||
if (hasDefaultExport) | ||
for (var exportName in defaultExport) { | ||
if ( | ||
Object.prototype.hasOwnProperty.call(defaultExport, exportName) // Check if epoxrt name is not inherited, safe for Object.create(null) | ||
&& exportName !== 'default' // default is not a named export | ||
) { | ||
_export(exportName, defaultExport[exportName]); | ||
} | ||
} | ||
} | ||
}; | ||
return declaration; | ||
}; | ||
return declaration; | ||
}; | ||
return register; | ||
}; | ||
return register; | ||
}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(e){var t,r=e.System.constructor.prototype,n=r.register;r.register=function(e,r,f){t="string"==typeof e?f:r,n.apply(this,arguments)};var f=r.getRegister;r.getRegister=function(){var e=f.call(this);if(!e||e[1]===t||0===e[1].length)return e;var r=e[1];return e[1]=function(e,t){var n,f=!1,u=r.call(this,(function(t,r){"object"==typeof t&&t&&t.__useDefault?(n=t.default,f=!0):"default"===t?n=r:"__useDefault"===t&&(f=!0),e(t,r)}),t),i=u.execute;return i&&(u.execute=function(){if(i.call(this),f)for(var t in n)({}).hasOwnProperty.call(n,t)&&"default"!==t&&e(t,n[t])}),u},e}}("undefined"!=typeof self?self:global);//# sourceMappingURL=named-exports.min.js.map | ||
!function(t){var e,r=t.System.constructor.prototype,n=r.register;r.register=function(t,r,f){e="string"==typeof t?f:r,n.apply(this,arguments)};var f=r.getRegister;r.getRegister=function(){var t=f.call(this);if(!t||t[1]===e||0===t[1].length)return t;var r=t[1];return t[1]=function(t,e){var n,f=!1,u=r.call(this,(function(e,r){"object"==typeof e&&e&&e.__useDefault?(n=e.default,f=!0):"default"===e?n=r:"__useDefault"===e&&(f=!0),t(e,r)}),e),i=u.execute;return i&&(u.execute=function(){if(i.call(this),f)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&"default"!==e&&t(e,n[e])}),u},t}}("undefined"!=typeof self?self:global); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,81 +0,85 @@ | ||
(function(){/* | ||
* SystemJS named register extension | ||
* Supports System.register('name', [..deps..], function (_export, _context) { ... }) | ||
* | ||
* Names are written to the registry as-is | ||
* System.register('x', ...) can be imported as System.import('x') | ||
*/ | ||
(function (global) { | ||
var System = global.System; | ||
setRegisterRegistry(System); | ||
var systemJSPrototype = System.constructor.prototype; | ||
var constructor = System.constructor; | ||
var SystemJS = function () { | ||
constructor.call(this); | ||
setRegisterRegistry(this); | ||
}; | ||
SystemJS.prototype = systemJSPrototype; | ||
System.constructor = SystemJS; | ||
(function () { | ||
var firstNamedDefine, firstName; | ||
/* | ||
* SystemJS named register extension | ||
* Supports System.register('name', [..deps..], function (_export, _context) { ... }) | ||
* | ||
* Names are written to the registry as-is | ||
* System.register('x', ...) can be imported as System.import('x') | ||
*/ | ||
(function (global) { | ||
var System = global.System; | ||
setRegisterRegistry(System); | ||
var systemJSPrototype = System.constructor.prototype; | ||
var constructor = System.constructor; | ||
var SystemJS = function () { | ||
constructor.call(this); | ||
setRegisterRegistry(this); | ||
}; | ||
SystemJS.prototype = systemJSPrototype; | ||
System.constructor = SystemJS; | ||
function setRegisterRegistry(systemInstance) { | ||
systemInstance.registerRegistry = Object.create(null); | ||
systemInstance.namedRegisterAliases = Object.create(null); | ||
} | ||
var firstNamedDefine, firstName; | ||
var register = systemJSPrototype.register; | ||
systemJSPrototype.register = function (name, deps, declare) { | ||
if (typeof name !== 'string') | ||
return register.apply(this, arguments); | ||
var define = [deps, declare]; | ||
this.registerRegistry[name] = define; | ||
if (!firstNamedDefine) { | ||
firstNamedDefine = define; | ||
firstName = name; | ||
function setRegisterRegistry(systemInstance) { | ||
systemInstance.registerRegistry = Object.create(null); | ||
systemInstance.namedRegisterAliases = Object.create(null); | ||
} | ||
Promise.resolve().then(function () { | ||
firstNamedDefine = null; | ||
firstName = null; | ||
}); | ||
return register.apply(this, [deps, declare]); | ||
}; | ||
var resolve = systemJSPrototype.resolve; | ||
systemJSPrototype.resolve = function (id, parentURL) { | ||
try { | ||
// Prefer import map (or other existing) resolution over the registerRegistry | ||
return resolve.call(this, id, parentURL); | ||
} catch (err) { | ||
if (id in this.registerRegistry) { | ||
return this.namedRegisterAliases[id] || id; | ||
var register = systemJSPrototype.register; | ||
systemJSPrototype.register = function (name, deps, declare) { | ||
if (typeof name !== 'string') | ||
return register.apply(this, arguments); | ||
var define = [deps, declare]; | ||
this.registerRegistry[name] = define; | ||
if (!firstNamedDefine) { | ||
firstNamedDefine = define; | ||
firstName = name; | ||
} | ||
throw err; | ||
} | ||
}; | ||
Promise.resolve().then(function () { | ||
firstNamedDefine = null; | ||
firstName = null; | ||
}); | ||
return register.apply(this, [deps, declare]); | ||
}; | ||
var instantiate = systemJSPrototype.instantiate; | ||
systemJSPrototype.instantiate = function (url, firstParentUrl) { | ||
var result = this.registerRegistry[url]; | ||
if (result) { | ||
this.registerRegistry[url] = null; | ||
var resolve = systemJSPrototype.resolve; | ||
systemJSPrototype.resolve = function (id, parentURL) { | ||
try { | ||
// Prefer import map (or other existing) resolution over the registerRegistry | ||
return resolve.call(this, id, parentURL); | ||
} catch (err) { | ||
if (id in this.registerRegistry) { | ||
return this.namedRegisterAliases[id] || id; | ||
} | ||
throw err; | ||
} | ||
}; | ||
var instantiate = systemJSPrototype.instantiate; | ||
systemJSPrototype.instantiate = function (url, firstParentUrl) { | ||
var result = this.registerRegistry[url]; | ||
if (result) { | ||
this.registerRegistry[url] = null; | ||
return result; | ||
} else { | ||
return instantiate.call(this, url, firstParentUrl); | ||
} | ||
}; | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function (url) { | ||
// Calling getRegister() because other extras need to know it was called so they can perform side effects | ||
var register = getRegister.call(this, url); | ||
if (firstName && url) { | ||
this.namedRegisterAliases[firstName] = url; | ||
} | ||
var result = firstNamedDefine || register; | ||
firstNamedDefine = null; | ||
firstName = null; | ||
return result; | ||
} else { | ||
return instantiate.call(this, url, firstParentUrl); | ||
} | ||
}; | ||
}; | ||
})(typeof self !== 'undefined' ? self : global); | ||
var getRegister = systemJSPrototype.getRegister; | ||
systemJSPrototype.getRegister = function (url) { | ||
// Calling getRegister() because other extras need to know it was called so they can perform side effects | ||
var register = getRegister.call(this, url); | ||
if (firstName && url) { | ||
this.namedRegisterAliases[firstName] = url; | ||
} | ||
var result = firstNamedDefine || register; | ||
firstNamedDefine = null; | ||
firstName = null; | ||
return result; | ||
}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(t){function e(t){t.registerRegistry=Object.create(null),t.namedRegisterAliases=Object.create(null)}var r=t.System;e(r);var i,s,n=r.constructor.prototype,l=r.constructor,a=function(){l.call(this),e(this)};a.prototype=n,r.constructor=a;var o=n.register;n.register=function(t,e,r){if("string"!=typeof t)return o.apply(this,arguments);var n=[e,r];return this.registerRegistry[t]=n,i||(i=n,s=t),Promise.resolve().then((function(){i=null,s=null})),o.call(this,e,r)};var c=n.resolve;n.resolve=function(t,e){try{return c.call(this,t,e)}catch(r){if(t in this.registerRegistry)return this.namedRegisterAliases[t]||t;throw r}};var u=n.instantiate;n.instantiate=function(t,e){var r=this.registerRegistry[t];return r?(this.registerRegistry[t]=null,r):u.call(this,t,e)};var g=n.getRegister;n.getRegister=function(t){var e=g.call(this,t);s&&t&&(this.namedRegisterAliases[s]=t);var r=i||e;return i=null,s=null,r}}("undefined"!=typeof self?self:global);//# sourceMappingURL=named-register.min.js.map | ||
!function(t){function e(t){t.registerRegistry=Object.create(null),t.namedRegisterAliases=Object.create(null)}var r=t.System;e(r);var i,s,n=r.constructor.prototype,l=r.constructor,a=function(){l.call(this),e(this)};a.prototype=n,r.constructor=a;var o=n.register;n.register=function(t,e,r){if("string"!=typeof t)return o.apply(this,arguments);var n=[e,r];return this.registerRegistry[t]=n,i||(i=n,s=t),Promise.resolve().then((function(){i=null,s=null})),o.call(this,e,r)};var c=n.resolve;n.resolve=function(t,e){try{return c.call(this,t,e)}catch(r){if(t in this.registerRegistry)return this.namedRegisterAliases[t]||t;throw r}};var u=n.instantiate;n.instantiate=function(t,e){var r=this.registerRegistry[t];return r?(this.registerRegistry[t]=null,r):u.call(this,t,e)};var g=n.getRegister;n.getRegister=function(t){var e=g.call(this,t);s&&t&&(this.namedRegisterAliases[s]=t);var r=i||e;return i=null,s=null,r}}("undefined"!=typeof self?self:global); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,36 +0,42 @@ | ||
(function(){function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://git.io/JvFET#" + errCode + ")"; | ||
}/* | ||
* Support for a "transform" loader interface | ||
* | ||
* Note: This extra is deprecated and will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
(function () { | ||
var instantiate = systemJSPrototype.instantiate; | ||
systemJSPrototype.instantiate = function (url, parent) { | ||
if (url.slice(-5) === '.wasm') | ||
return instantiate.call(this, url, parent); | ||
function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")"; | ||
} | ||
var loader = this; | ||
return fetch(url, { credentials: 'same-origin' }) | ||
.then(function (res) { | ||
if (!res.ok) | ||
throw Error(errMsg(7, 'Fetch error: ' + res.status + ' ' + res.statusText + (parent ? ' loading from ' + parent : ''))); | ||
return res.text(); | ||
}) | ||
.then(function (source) { | ||
return loader.transform.call(this, url, source); | ||
}) | ||
.then(function (source) { | ||
(0, eval)(source + '\n//# sourceURL=' + url); | ||
return loader.getRegister(url); | ||
}); | ||
}; | ||
/* | ||
* Support for a "transform" loader interface | ||
* | ||
* Note: This extra is deprecated and will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
// Hookable transform function! | ||
systemJSPrototype.transform = function (_id, source) { | ||
return source; | ||
}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
var instantiate = systemJSPrototype.instantiate; | ||
systemJSPrototype.instantiate = function (url, parent) { | ||
if (url.slice(-5) === '.wasm') | ||
return instantiate.call(this, url, parent); | ||
var loader = this; | ||
return fetch(url, { credentials: 'same-origin' }) | ||
.then(function (res) { | ||
if (!res.ok) | ||
throw Error(errMsg(7, 'Fetch error: ' + res.status + ' ' + res.statusText + (parent ? ' loading from ' + parent : ''))); | ||
return res.text(); | ||
}) | ||
.then(function (source) { | ||
return loader.transform.call(this, url, source); | ||
}) | ||
.then(function (source) { | ||
(0, eval)(source + '\n//# sourceURL=' + url); | ||
return loader.getRegister(url); | ||
}); | ||
}; | ||
// Hookable transform function! | ||
systemJSPrototype.transform = function (_id, source) { | ||
return source; | ||
}; | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(t){var n=t.System.constructor.prototype,e=n.instantiate;n.instantiate=function(t,n){if(".wasm"===t.slice(-5))return e.call(this,t,n);var r=this;return fetch(t,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw Error((7,([t.status,t.statusText,n].join(", ")||"")+" (SystemJS https://git.io/JvFET#7)"));return t.text()})).then((function(n){return r.transform.call(this,t,n)})).then((function(n){return(0,eval)(n+"\n//# sourceURL="+t),r.getRegister(t)}))},n.transform=function(t,n){return n}}("undefined"!=typeof self?self:global);//# sourceMappingURL=transform.min.js.map | ||
!function(t){var r=t.System.constructor.prototype,e=r.instantiate;r.instantiate=function(t,r){if(".wasm"===t.slice(-5))return e.call(this,t,r);var n=this;return fetch(t,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw Error(("Fetch error: "+t.status+" "+t.statusText+(r?" loading from "+r:"")||"")+" (SystemJS Error#"+7+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#7)");return t.text()})).then((function(r){return n.transform.call(this,t,r)})).then((function(r){return(0,eval)(r+"\n//# sourceURL="+t),n.getRegister(t)}))},r.transform=function(t,r){return r}}("undefined"!=typeof self?self:global); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,16 +0,20 @@ | ||
(function(){/* | ||
* Interop for AMD modules to return the direct AMD binding instead of a | ||
* `{ default: amdModule }` object from `System.import` | ||
* | ||
* Note: This extra is deprecated and will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
var originalImport = systemJSPrototype.import; | ||
(function () { | ||
systemJSPrototype.import = function () { | ||
return originalImport.apply(this, arguments).then(function (ns) { | ||
return ns.__useDefault ? ns.default : ns; | ||
}); | ||
}; | ||
})(typeof self !== 'undefined' ? self : global);})(); | ||
/* | ||
* Interop for AMD modules to return the direct AMD binding instead of a | ||
* `{ default: amdModule }` object from `System.import` | ||
* | ||
* Note: This extra is deprecated and will be removed in the next major. | ||
*/ | ||
(function (global) { | ||
var systemJSPrototype = global.System.constructor.prototype; | ||
var originalImport = systemJSPrototype.import; | ||
systemJSPrototype.import = function () { | ||
return originalImport.apply(this, arguments).then(function (ns) { | ||
return ns.__useDefault ? ns.default : ns; | ||
}); | ||
}; | ||
})(typeof self !== 'undefined' ? self : global); | ||
})(); |
@@ -1,1 +0,2 @@ | ||
!function(t){var e=t.System.constructor.prototype,n=e.import;e.import=function(){return n.apply(this,arguments).then((function(t){return t.__useDefault?t.default:t}))}}("undefined"!=typeof self?self:global);//# sourceMappingURL=use-default.min.js.map | ||
!function(t){var e=t.System.constructor.prototype,n=e.import;e.import=function(){return n.apply(this,arguments).then((function(t){return t.__useDefault?t.default:t}))}}("undefined"!=typeof self?self:global); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,9 +0,8 @@ | ||
/* | ||
* SJS 6.12.1 | ||
* Minimal SystemJS Build | ||
*/ | ||
/*! | ||
* SJS 6.12.2 | ||
*/ | ||
(function () { | ||
function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS https://git.io/JvFET#" + errCode + ")"; | ||
return (msg || "") + " (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")"; | ||
} | ||
@@ -443,2 +442,12 @@ | ||
// From here we're about to execute the load. | ||
// Because the execution may be async, we pop the `load.e` first. | ||
// So `load.e === null` always means the load has been executed or is executing. | ||
// To inspect the state: | ||
// - If `load.er` is truthy, the execution has threw or has been rejected; | ||
// - otherwise, either the `load.E` is a promise, means it's under async execution, or | ||
// - the `load.E` is null, means the load has completed the execution or has been async resolved. | ||
const exec = load.e; | ||
load.e = null; | ||
// deps execute first, unless circular | ||
@@ -453,3 +462,2 @@ var depLoadPromises; | ||
catch (err) { | ||
load.e = null; | ||
load.er = err; | ||
@@ -466,3 +474,3 @@ throw err; | ||
try { | ||
var execPromise = load.e.call(nullContext); | ||
var execPromise = exec.call(nullContext); | ||
if (execPromise) { | ||
@@ -490,3 +498,2 @@ execPromise = execPromise.then(function () { | ||
finally { | ||
load.e = null; | ||
} | ||
@@ -533,3 +540,3 @@ } | ||
// on the script tag. | ||
if (e.message.indexOf('https://git.io/JvFET#3') > -1) { | ||
if (e.message.indexOf('https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3') > -1) { | ||
var event = document.createEvent('Event'); | ||
@@ -612,2 +619,3 @@ event.initEvent('error', false, false); | ||
if (lastScript) { | ||
lastScript.src; | ||
lastAutoImportDeps = deps; | ||
@@ -614,0 +622,0 @@ // if this is already a System load, then the instantiate has already begun |
@@ -1,2 +0,5 @@ | ||
!function(){function e(e,t){return(t||"")+" (SystemJS https://git.io/JvFET#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],c=-1,s=0;i.length>s;s++)-1!==c?"/"===i[s]&&(o.push(i.slice(c,s+1)),c=-1):"."===i[s]?"."!==i[s+1]||"/"!==i[s+2]&&s+2!==i.length?"/"===i[s+1]||s+1===i.length?s+=1:c=s:(o.pop(),s+=2):c=s;return-1!==c&&o.push(i.slice(c)),t.slice(0,t.length-n.length)+o.join("")}}function n(e,n){return t(e,n)||(-1!==e.indexOf(":")?e:t("./"+e,n))}function r(e,n,r,i,o){for(var u in e){var f=t(u,r)||u,a=e[u];if("string"==typeof a){var l=s(i,t(a,r)||a,o);l?n[f]=l:c("W1",u,a)}}}function i(e,t){if(t[e])return e;var n=e.length;do{var r=e.slice(0,n+1);if(r in t)return r}while(-1!==(n=e.lastIndexOf("/",n-1)))}function o(e,t){var n=i(e,t);if(n){var r=t[n];if(null===r)return;if(n.length>=e.length||"/"===r[r.length-1])return r+e.slice(n.length);c("W2",n,r)}}function c(t,n,r){console.warn(e(t,[r,n].join(", ")))}function s(e,t,n){for(var r=e.scopes,c=n&&i(n,r);c;){var s=o(t,r[c]);if(s)return s;c=i(c.slice(0,c.lastIndexOf("/")),r)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function u(){this[w]={}}function f(t,n,r){var i=t[w][n];if(i)return i;var o=[],c=Object.create(null);E&&Object.defineProperty(c,E,{value:"Module"});var s=Promise.resolve().then((function(){return t.instantiate(n,r)})).then((function(r){if(!r)throw Error(e(2,n));var s=r[1]((function(e,t){i.h=!0;var n=!1;if("string"==typeof e)e in c&&c[e]===t||(c[e]=t,n=!0);else{for(var r in e)t=e[r],r in c&&c[r]===t||(c[r]=t,n=!0);e&&e.__esModule&&(c.__esModule=e.__esModule)}if(n)for(var s=0;o.length>s;s++){var u=o[s];u&&u(c)}return t}),2===r[1].length?{import:function(e){return t.import(e,n)},meta:t.createContext(n)}:void 0);return i.e=s.execute||function(){},[r[0],s.setters||[]]}),(function(e){throw i.e=null,i.er=e,e})),u=s.then((function(e){return Promise.all(e[0].map((function(r,i){var o=e[1][i];return Promise.resolve(t.resolve(r,n)).then((function(e){var r=f(t,e,n);return Promise.resolve(r.I).then((function(){return o&&(r.i.push(o),!r.h&&r.I||o(r.n)),r}))}))}))).then((function(e){i.d=e}))}));return i=t[w][n]={id:n,i:o,n:c,I:s,L:u,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function a(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,l)).catch((function(e){if(e.message.indexOf("https://git.io/JvFET#3")>-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error(e.status);return e.text()})).catch((function(n){return n.message=e("W4",t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;j=j.then((function(){return i})).then((function(i){!function(t,i,o){var c={};try{c=JSON.parse(i)}catch(s){console.warn(Error(e("W5")))}!function(e,t,i){var o;for(o in e.imports&&r(e.imports,i.imports,t,i,null),e.scopes||{}){var c=n(o,t);r(e.scopes[o],i.scopes[c]||(i.scopes[c]={}),t,i,c)}for(o in e.depcache||{})i.depcache[n(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[n(o,t)]=e.integrity[o]}(c,o,t)}(L,i,t.src||l)}))}}))}var l,h="undefined"!=typeof Symbol,v="undefined"!=typeof self,d="undefined"!=typeof document,p=v?self:global;if(d){var m=document.querySelector("base[href]");m&&(l=m.href)}if(!l&&"undefined"!=typeof location){var g=(l=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==g&&(l=l.slice(0,g+1))}var y,E=h&&Symbol.toStringTag,w=h?Symbol():"@",x=u.prototype;x.import=function(e,t){var n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t)})).then((function(e){var t=f(n,e);return t.C||function(e,t){return t.C=function e(t,n,r,i){if(!i[n.id])return i[n.id]=!0,Promise.resolve(n.L).then((function(){return n.p&&null!==n.p.e||(n.p=r),Promise.all(n.d.map((function(n){return e(t,n,r,i)})))})).catch((function(e){if(n.er)throw e;throw n.e=null,e}))}(e,t,t,{}).then((function(){return function e(t,n,r){function i(){try{var e=n.e.call(O);if(e)return e=e.then((function(){n.C=n.n,n.E=null}),(function(e){throw n.er=e,n.E=null,e})),n.E=e;n.C=n.n,n.L=n.I=void 0}catch(t){throw n.er=t,t}finally{n.e=null}}if(!r[n.id]){if(r[n.id]=!0,!n.e){if(n.er)throw n.er;return n.E?n.E:void 0}var o;return n.d.forEach((function(i){try{var c=e(t,i,r);c&&(o=o||[]).push(c)}catch(s){throw n.e=null,n.er=s,s}})),o?Promise.all(o).then(i):i()}}(e,t,{})})).then((function(){return t.n}))}(n,t)}))},x.createContext=function(e){var t=this;return{url:e,resolve:function(n,r){return Promise.resolve(t.resolve(n,r||e))}}},x.register=function(e,t){y=[e,t]},x.getRegister=function(){var e=y;return y=void 0,e};var O=Object.freeze(Object.create(null));p.System=new u;var S,P,j=Promise.resolve(),L={imports:{},scopes:{},depcache:{},integrity:{}},C=d;if(x.prepareImport=function(e){return(C||e)&&(a(),C=!1),j},d&&(a(),window.addEventListener("DOMContentLoaded",a)),d){window.addEventListener("error",(function(e){b=e.filename,T=e.error}));var I=location.origin}x.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(I+"/")&&(t.crossOrigin="anonymous");var n=L.integrity[e];return n&&(t.integrity=n),t.src=e,t};var b,T,M={},R=x.register;x.register=function(e,t){if(d&&"loading"===document.readyState&&"string"!=typeof e){var n=document.querySelectorAll("script[src]"),r=n[n.length-1];if(r){S=e;var i=this;P=setTimeout((function(){M[r.src]=[e,t],i.import(r.src)}))}}else S=void 0;return R.call(this,e,t)},x.instantiate=function(t,n){var r=M[t];if(r)return delete M[t],r;var i=this;return Promise.resolve(x.createScript(t)).then((function(r){return new Promise((function(o,c){r.addEventListener("error",(function(){c(Error(e(3,[t,n].join(", "))))})),r.addEventListener("load",(function(){if(document.head.removeChild(r),b===t)c(T);else{var e=i.getRegister(t);e&&e[0]===S&&clearTimeout(P),o(e)}})),document.head.appendChild(r)}))}))},x.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(x.fetch=fetch);var _=x.instantiate,F=/^(text|application)\/(x-)?javascript(;|$)/;x.instantiate=function(t,n){var r=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:L.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,[i.status,i.statusText,t,n].join(", ")));var o=i.headers.get("content-type");if(!o||!F.test(o))throw Error(e(4,o));return i.text().then((function(e){return 0>e.indexOf("//# sourceURL=")&&(e+="\n//# sourceURL="+t),(0,eval)(e),r.getRegister(t)}))})):_.apply(this,arguments)},x.resolve=function(n,r){return s(L,t(n,r=r||l)||n,r)||function(t,n){throw Error(e(8,[t,n].join(", ")))}(n,r)};var J=x.instantiate;x.instantiate=function(e,t){var n=L.depcache[e];if(n)for(var r=0;n.length>r;r++)f(this,this.resolve(n[r],e),e);return J.call(this,e,t)},v&&"function"==typeof importScripts&&(x.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))})}(); | ||
//# sourceMappingURL=s.min.js.map | ||
/*! | ||
* SJS 6.12.2 | ||
*/ | ||
!function(){function e(e,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(O,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var r,n=t.slice(0,t.indexOf(":")+1);if(r="/"===t[n.length+1]?"file:"!==n?(r=t.slice(n.length+2)).slice(r.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===e[0])return t.slice(0,t.length-r.length-1)+e;for(var i=r.slice(0,r.lastIndexOf("/")+1)+e,o=[],s=-1,c=0;c<i.length;c++)-1!==s?"/"===i[c]&&(o.push(i.slice(s,c+1)),s=-1):"."===i[c]?"."!==i[c+1]||"/"!==i[c+2]&&c+2!==i.length?"/"===i[c+1]||c+1===i.length?c+=1:s=c:(o.pop(),c+=2):s=c;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-r.length)+o.join("")}}function r(e,r){return t(e,r)||(-1!==e.indexOf(":")?e:t("./"+e,r))}function n(e,r,n,i,o){for(var u in e){var f=t(u,n)||u,a=e[u];if("string"==typeof a){var l=c(i,t(a,n)||a,o);l?r[f]=l:s("W1",u,a)}}}function i(e,t){if(t[e])return e;var r=e.length;do{var n=e.slice(0,r+1);if(n in t)return n}while(-1!==(r=e.lastIndexOf("/",r-1)))}function o(e,t){var r=i(e,t);if(r){var n=t[r];if(null===n)return;if(!(e.length>r.length&&"/"!==n[n.length-1]))return n+e.slice(r.length);s("W2",r,n)}}function s(t,r,n){console.warn(e(t,[n,r].join(", ")))}function c(e,t,r){for(var n=e.scopes,s=r&&i(r,n);s;){var c=o(t,n[s]);if(c)return c;s=i(s.slice(0,s.lastIndexOf("/")),n)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function u(){this[j]={}}function f(t,r,n){var i=t[j][r];if(i)return i;var o=[],s=Object.create(null);S&&Object.defineProperty(s,S,{value:"Module"});var c=Promise.resolve().then((function(){return t.instantiate(r,n)})).then((function(n){if(!n)throw Error(e(2,r));var c=n[1]((function(e,t){i.h=!0;var r=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,r=!0);else{for(var n in e)t=e[n],n in s&&s[n]===t||(s[n]=t,r=!0);e&&e.__esModule&&(s.__esModule=e.__esModule)}if(r)for(var c=0;c<o.length;c++){var u=o[c];u&&u(s)}return t}),2===n[1].length?{import:function(e){return t.import(e,r)},meta:t.createContext(r)}:void 0);return i.e=c.execute||function(){},[n[0],c.setters||[]]}),(function(e){throw i.e=null,i.er=e,e})),u=c.then((function(e){return Promise.all(e[0].map((function(n,i){var o=e[1][i];return Promise.resolve(t.resolve(n,r)).then((function(e){var n=f(t,e,r);return Promise.resolve(n.I).then((function(){return o&&(n.i.push(o),!n.h&&n.I||o(n.n)),n}))}))}))).then((function(e){i.d=e}))}));return i=t[j][r]={id:r,i:o,n:s,I:c,L:u,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function a(e,t,r,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=r),Promise.all(t.d.map((function(t){return a(e,t,r,n)})))})).catch((function(e){if(t.er)throw e;throw t.e=null,e}))}function l(e,t){return t.C=a(e,t,t,{}).then((function(){return h(e,t,{})})).then((function(){return t.n}))}function h(e,t,r){function n(){try{var e=i.call(P);if(e)return e=e.then((function(){t.C=t.n,t.E=null}),(function(e){throw t.er=e,t.E=null,e})),t.E=e;t.C=t.n,t.L=t.I=void 0}catch(r){throw t.er=r,r}}if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}const i=t.e;var o;return t.e=null,t.d.forEach((function(n){try{var i=h(e,n,r);i&&(o=o||[]).push(i)}catch(s){throw t.er=s,s}})),o?Promise.all(o).then(n):n()}function d(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):r(t.src,v)).catch((function(e){if(e.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var r=document.createEvent("Event");r.initEvent("error",!1,!1),t.dispatchEvent(r)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error(e.status);return e.text()})).catch((function(r){return r.message=e("W4",t.src)+"\n"+r.message,console.warn(r),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;I=I.then((function(){return i})).then((function(i){!function(t,i,o){var s={};try{s=JSON.parse(i)}catch(c){console.warn(Error(e("W5")))}!function(e,t,i){var o;for(o in e.imports&&n(e.imports,i.imports,t,i,null),e.scopes||{}){var s=r(o,t);n(e.scopes[o],i.scopes[s]||(i.scopes[s]={}),t,i,s)}for(o in e.depcache||{})i.depcache[r(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[r(o,t)]=e.integrity[o]}(s,o,t)}(M,i,t.src||v)}))}}))}var v,p="undefined"!=typeof Symbol,m="undefined"!=typeof self,g="undefined"!=typeof document,y=m?self:global;if(g){var E=document.querySelector("base[href]");E&&(v=E.href)}if(!v&&"undefined"!=typeof location){var w=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(v=v.slice(0,w+1))}var x,O=/\\/g,S=p&&Symbol.toStringTag,j=p?Symbol():"@",b=u.prototype;b.import=function(e,t){var r=this;return Promise.resolve(r.prepareImport()).then((function(){return r.resolve(e,t)})).then((function(e){var t=f(r,e);return t.C||l(r,t)}))},b.createContext=function(e){var t=this;return{url:e,resolve:function(r,n){return Promise.resolve(t.resolve(r,n||e))}}},b.register=function(e,t){x=[e,t]},b.getRegister=function(){var e=x;return x=void 0,e};var P=Object.freeze(Object.create(null));y.System=new u;var L,C,I=Promise.resolve(),M={imports:{},scopes:{},depcache:{},integrity:{}},R=g;if(b.prepareImport=function(e){return(R||e)&&(d(),R=!1),I},g&&(d(),window.addEventListener("DOMContentLoaded",d)),g){window.addEventListener("error",(function(e){_=e.filename,W=e.error}));var T=location.origin}b.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(T+"/")&&(t.crossOrigin="anonymous");var r=M.integrity[e];return r&&(t.integrity=r),t.src=e,t};var _,W,q={},k=b.register;b.register=function(e,t){if(g&&"loading"===document.readyState&&"string"!=typeof e){var r=document.querySelectorAll("script[src]"),n=r[r.length-1];if(n){L=e;var i=this;C=setTimeout((function(){q[n.src]=[e,t],i.import(n.src)}))}}else L=void 0;return k.call(this,e,t)},b.instantiate=function(t,r){var n=q[t];if(n)return delete q[t],n;var i=this;return Promise.resolve(b.createScript(t)).then((function(n){return new Promise((function(o,s){n.addEventListener("error",(function(){s(Error(e(3,[t,r].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),_===t)s(W);else{var e=i.getRegister(t);e&&e[0]===L&&clearTimeout(C),o(e)}})),document.head.appendChild(n)}))}))},b.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(b.fetch=fetch);var A=b.instantiate,F=/^(text|application)\/(x-)?javascript(;|$)/;b.instantiate=function(t,r){var n=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:M.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,[i.status,i.statusText,t,r].join(", ")));var o=i.headers.get("content-type");if(!o||!F.test(o))throw Error(e(4,o));return i.text().then((function(e){return e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL="+t),(0,eval)(e),n.getRegister(t)}))})):A.apply(this,arguments)},b.resolve=function(r,n){return c(M,t(r,n=n||v)||r,n)||function(t,r){throw Error(e(8,[t,r].join(", ")))}(r,n)};var J=b.instantiate;b.instantiate=function(e,t){var r=M.depcache[e];if(r)for(var n=0;n<r.length;n++)f(this,this.resolve(r[n],e),e);return J.call(this,e,t)},m&&"function"==typeof importScripts&&(b.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))})}(); | ||
//# sourceMappingURL=##.min.js.map |
@@ -1,8 +0,8 @@ | ||
/* | ||
* SystemJS 6.12.1 | ||
*/ | ||
/*! | ||
* SystemJS 6.12.2 | ||
*/ | ||
(function () { | ||
function errMsg(errCode, msg) { | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://git.io/JvFET#" + errCode + ")"; | ||
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://github.com/systemjs/systemjs/blob/main/docs/errors.md#" + errCode + ")"; | ||
} | ||
@@ -447,2 +447,12 @@ | ||
// From here we're about to execute the load. | ||
// Because the execution may be async, we pop the `load.e` first. | ||
// So `load.e === null` always means the load has been executed or is executing. | ||
// To inspect the state: | ||
// - If `load.er` is truthy, the execution has threw or has been rejected; | ||
// - otherwise, either the `load.E` is a promise, means it's under async execution, or | ||
// - the `load.E` is null, means the load has completed the execution or has been async resolved. | ||
const exec = load.e; | ||
load.e = null; | ||
// deps execute first, unless circular | ||
@@ -457,3 +467,2 @@ var depLoadPromises; | ||
catch (err) { | ||
load.e = null; | ||
load.er = err; | ||
@@ -471,3 +480,3 @@ triggerOnload(loader, load, err, false); | ||
try { | ||
var execPromise = load.e.call(nullContext); | ||
var execPromise = exec.call(nullContext); | ||
if (execPromise) { | ||
@@ -495,3 +504,2 @@ execPromise = execPromise.then(function () { | ||
finally { | ||
load.e = null; | ||
triggerOnload(loader, load, load.er, true); | ||
@@ -539,3 +547,3 @@ } | ||
// on the script tag. | ||
if (e.message.indexOf('https://git.io/JvFET#3') > -1) { | ||
if (e.message.indexOf('https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3') > -1) { | ||
var event = document.createEvent('Event'); | ||
@@ -618,2 +626,3 @@ event.initEvent('error', false, false); | ||
if (lastScript) { | ||
lastScript.src; | ||
lastAutoImportDeps = deps; | ||
@@ -620,0 +629,0 @@ // if this is already a System load, then the instantiate has already begun |
@@ -1,5 +0,5 @@ | ||
/* | ||
* SystemJS 6.12.1 | ||
*/ | ||
!function(){function e(e,t){return(t||"")+" (SystemJS Error#"+e+" https://git.io/JvFET#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],s=-1,u=0;i.length>u;u++)-1!==s?"/"===i[u]&&(o.push(i.slice(s,u+1)),s=-1):"."===i[u]?"."!==i[u+1]||"/"!==i[u+2]&&u+2!==i.length?"/"===i[u+1]||u+1===i.length?u+=1:s=u:(o.pop(),u+=2):s=u;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-n.length)+o.join("")}}function n(e,n){return t(e,n)||(-1!==e.indexOf(":")?e:t("./"+e,n))}function r(e,n,r,i,o){for(var c in e){var a=t(c,r)||c,f=e[c];if("string"==typeof f){var l=u(i,t(f,r)||f,o);l?n[a]=l:s("W1",c,f,"bare specifier did not resolve")}}}function i(e,t){if(t[e])return e;var n=e.length;do{var r=e.slice(0,n+1);if(r in t)return r}while(-1!==(n=e.lastIndexOf("/",n-1)))}function o(e,t){var n=i(e,t);if(n){var r=t[n];if(null===r)return;if(n.length>=e.length||"/"===r[r.length-1])return r+e.slice(n.length);s("W2",n,r,"should have a trailing '/'")}}function s(t,n,r,i){console.warn(e(t,"Package target "+i+", resolving target '"+r+"' for "+n))}function u(e,t,n){for(var r=e.scopes,s=n&&i(n,r);s;){var u=o(t,r[s]);if(u)return u;s=i(s.slice(0,s.lastIndexOf("/")),r)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function c(){this[E]={}}function a(e){return e.id}function f(e,t,n,r){if(e.onload(n,t.id,t.d&&t.d.map(a),!!r),n)throw n}function l(t,n,r){var i=t[E][n];if(i)return i;var o=[],s=Object.create(null);b&&Object.defineProperty(s,b,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(n,r)})).then((function(r){if(!r)throw Error(e(2,"Module "+n+" did not instantiate"));var u=r[1]((function(e,t){i.h=!0;var n=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,n=!0);else{for(var r in e)t=e[r],r in s&&s[r]===t||(s[r]=t,n=!0);e&&e.__esModule&&(s.__esModule=e.__esModule)}if(n)for(var u=0;o.length>u;u++){var c=o[u];c&&c(s)}return t}),2===r[1].length?{import:function(e){return t.import(e,n)},meta:t.createContext(n)}:void 0);return i.e=u.execute||function(){},[r[0],u.setters||[]]}),(function(e){throw i.e=null,i.er=e,f(t,i,e,!0),e})),c=u.then((function(e){return Promise.all(e[0].map((function(r,i){var o=e[1][i];return Promise.resolve(t.resolve(r,n)).then((function(e){var r=l(t,e,n);return Promise.resolve(r.I).then((function(){return o&&(r.i.push(o),!r.h&&r.I||o(r.n)),r}))}))}))).then((function(e){i.d=e}))}));return i=t[E][n]={id:n,i:o,n:s,I:u,L:c,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function d(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,h)).catch((function(e){if(e.message.indexOf("https://git.io/JvFET#3")>-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error("Invalid status code: "+e.status);return e.text()})).catch((function(n){return n.message=e("W4","Error fetching systemjs-import map "+t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;M=M.then((function(){return i})).then((function(i){!function(t,i,o){var s={};try{s=JSON.parse(i)}catch(u){console.warn(Error(e("W5","systemjs-importmap contains invalid JSON")+"\n\n"+i+"\n"))}!function(e,t,i){var o;for(o in e.imports&&r(e.imports,i.imports,t,i,null),e.scopes||{}){var s=n(o,t);r(e.scopes[o],i.scopes[s]||(i.scopes[s]={}),t,i,s)}for(o in e.depcache||{})i.depcache[n(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[n(o,t)]=e.integrity[o]}(s,o,t)}(L,i,t.src||h)}))}}))}var h,p="undefined"!=typeof Symbol,v="undefined"!=typeof self,m="undefined"!=typeof document,g=v?self:global;if(m){var y=document.querySelector("base[href]");y&&(h=y.href)}if(!h&&"undefined"!=typeof location){var w=(h=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(h=h.slice(0,w+1))}var S,b=p&&Symbol.toStringTag,E=p?Symbol():"@",O=c.prototype;O.import=function(e,t){var n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t)})).then((function(e){var t=l(n,e);return t.C||function(e,t){return t.C=function e(t,n,r,i){if(!i[n.id])return i[n.id]=!0,Promise.resolve(n.L).then((function(){return n.p&&null!==n.p.e||(n.p=r),Promise.all(n.d.map((function(n){return e(t,n,r,i)})))})).catch((function(e){if(n.er)throw e;throw n.e=null,f(t,n,e,!1),e}))}(e,t,t,{}).then((function(){return function e(t,n,r){function i(){try{var e=n.e.call(x);if(e)return e=e.then((function(){n.C=n.n,n.E=null,f(t,n,null,!0)}),(function(e){throw n.er=e,n.E=null,f(t,n,e,!0),e})),n.E=e;n.C=n.n,n.L=n.I=void 0}catch(r){throw n.er=r,r}finally{n.e=null,f(t,n,n.er,!0)}}if(!r[n.id]){if(r[n.id]=!0,!n.e){if(n.er)throw n.er;return n.E?n.E:void 0}var o;return n.d.forEach((function(i){try{var s=e(t,i,r);s&&(o=o||[]).push(s)}catch(u){throw n.e=null,n.er=u,f(t,n,u,!1),u}})),o?Promise.all(o).then(i):i()}}(e,t,{})})).then((function(){return t.n}))}(n,t)}))},O.createContext=function(e){var t=this;return{url:e,resolve:function(n,r){return Promise.resolve(t.resolve(n,r||e))}}},O.onload=function(){},O.register=function(e,t){S=[e,t]},O.getRegister=function(){var e=S;return S=void 0,e};var x=Object.freeze(Object.create(null));g.System=new c;var j,P,M=Promise.resolve(),L={imports:{},scopes:{},depcache:{},integrity:{}},C=m;if(O.prepareImport=function(e){return(C||e)&&(d(),C=!1),M},m&&(d(),window.addEventListener("DOMContentLoaded",d)),m){window.addEventListener("error",(function(e){I=e.filename,T=e.error}));var R=location.origin}O.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(R+"/")&&(t.crossOrigin="anonymous");var n=L.integrity[e];return n&&(t.integrity=n),t.src=e,t};var I,T,W={},A=O.register;O.register=function(e,t){if(m&&"loading"===document.readyState&&"string"!=typeof e){var n=document.querySelectorAll("script[src]"),r=n[n.length-1];if(r){j=e;var i=this;P=setTimeout((function(){W[r.src]=[e,t],i.import(r.src)}))}}else j=void 0;return A.call(this,e,t)},O.instantiate=function(t,n){var r=W[t];if(r)return delete W[t],r;var i=this;return Promise.resolve(O.createScript(t)).then((function(r){return new Promise((function(o,s){r.addEventListener("error",(function(){s(Error(e(3,"Error loading "+t+(n?" from "+n:""))))})),r.addEventListener("load",(function(){if(document.head.removeChild(r),I===t)s(T);else{var e=i.getRegister(t);e&&e[0]===j&&clearTimeout(P),o(e)}})),document.head.appendChild(r)}))}))},O.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(O.fetch=fetch);var J=O.instantiate,N=/^(text|application)\/(x-)?javascript(;|$)/;O.instantiate=function(t,n){var r=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:L.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,i.status+" "+i.statusText+", loading "+t+(n?" from "+n:"")));var o=i.headers.get("content-type");if(!o||!N.test(o))throw Error(e(4,'Unknown Content-Type "'+o+'", loading '+t+(n?" from "+n:"")));return i.text().then((function(e){return 0>e.indexOf("//# sourceURL=")&&(e+="\n//# sourceURL="+t),(0,eval)(e),r.getRegister(t)}))})):J.apply(this,arguments)},O.resolve=function(n,r){return u(L,t(n,r=r||h)||n,r)||function(t,n){throw Error(e(8,"Unable to resolve bare specifier '"+t+(n?"' from "+n:"'")))}(n,r)};var _=O.instantiate;O.instantiate=function(e,t){var n=L.depcache[e];if(n)for(var r=0;n.length>r;r++)l(this,this.resolve(n[r],e),e);return _.call(this,e,t)},v&&"function"==typeof importScripts&&(O.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))}),function(e){function t(t){return!e.hasOwnProperty(t)||!isNaN(t)&&e.length>t||a&&e[t]&&"undefined"!=typeof window&&e[t].parent===window}var n,r,i,o=e.System.constructor.prototype,s=o.import;o.import=function(o,u){return function(){for(var o in n=r=void 0,e)t(o)||(n?r||(r=o):n=o,i=o)}(),s.call(this,o,u)};var u=[[],function(){return{}}],c=o.getRegister;o.getRegister=function(){var o=c.call(this);if(o)return o;var s,a=function(o){var s,u,c=0;for(var a in e)if(!t(a)){if(0===c&&a!==n||1===c&&a!==r)return a;s?(i=a,u=o&&u||a):s=a===i,c++}return u}(this.firstGlobalProp);if(!a)return u;try{s=e[a]}catch(f){return u}return[[],function(e){return{execute:function(){e(s),e({default:s,__useDefault:!0})}}}]};var a="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global),function(e){var t=e.System.constructor.prototype,r=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;t.shouldFetch=function(e){return r.test(e)};var i=/^application\/json(;|$)/,o=/^text\/css(;|$)/,s=/^application\/wasm(;|$)/,u=t.fetch;t.fetch=function(t,r){return u(t,r).then((function(u){if(r.passThrough)return u;if(!u.ok)return u;var c=u.headers.get("content-type");return i.test(c)?u.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):o.test(c)?u.text().then((function(e){return e=e.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(e,r,i,o){return"url("+r+n(i||o,t)+r+")"})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(e)+');e("default",s)}}})'],{type:"application/javascript"}))})):s.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(u):u.arrayBuffer().then(WebAssembly.compile)).then((function(n){e.System.wasmModules||(e.System.wasmModules=Object.create(null)),e.System.wasmModules[t]=n;var r=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(n).forEach((function(e){var t=JSON.stringify(e.module);-1===r.indexOf(t)&&(r.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+r.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(t)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):u}))}}("undefined"!=typeof self?self:global);var k="undefined"!=typeof Symbol&&Symbol.toStringTag;O.get=function(e){var t=this[E][e];if(t&&null===t.e&&!t.E)return t.er?null:t.n},O.set=function(t,n){try{new URL(t)}catch(s){console.warn(Error(e("W3",'"'+t+'" is not a valid URL to set in the module registry')))}var r;k&&"Module"===n[k]?r=n:(r=Object.assign(Object.create(null),n),k&&Object.defineProperty(r,k,{value:"Module"}));var i=Promise.resolve(r),o=this[E][t]||(this[E][t]={id:t,i:[],h:!1,d:[],e:null,er:void 0,E:void 0});return!o.e&&!o.E&&(Object.assign(o,{n:r,I:void 0,L:void 0,C:i}),r)},O.has=function(e){return!!this[E][e]},O.delete=function(e){var t=this[E],n=t[e];if(!n||n.p&&null!==n.p.e||n.E)return!1;var r=n.i;return n.d&&n.d.forEach((function(e){var t=e.i.indexOf(n);-1!==t&&e.i.splice(t,1)})),delete t[e],function(){var n=t[e];if(!n||!r||null!==n.e||n.E)return!1;r.forEach((function(e){n.i.push(e),e(n.n)})),r=null}};var U="undefined"!=typeof Symbol&&Symbol.iterator;O.entries=function(){var e,t,n=this,r=Object.keys(n[E]),i=0,o={next:function(){for(;void 0!==(t=r[i++])&&void 0===(e=n.get(t)););return{done:void 0===t,value:void 0!==t&&[t,e]}}};return o[U]=function(){return this},o}}(); | ||
//# sourceMappingURL=system.min.js.map | ||
/*! | ||
* SystemJS 6.12.2 | ||
*/ | ||
!function(){function e(e,t){return(t||"")+" (SystemJS Error#"+e+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(x,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],s=-1,u=0;u<i.length;u++)-1!==s?"/"===i[u]&&(o.push(i.slice(s,u+1)),s=-1):"."===i[u]?"."!==i[u+1]||"/"!==i[u+2]&&u+2!==i.length?"/"===i[u+1]||u+1===i.length?u+=1:s=u:(o.pop(),u+=2):s=u;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-n.length)+o.join("")}}function n(e,n){return t(e,n)||(-1!==e.indexOf(":")?e:t("./"+e,n))}function r(e,n,r,i,o){for(var c in e){var a=t(c,r)||c,f=e[c];if("string"==typeof f){var l=u(i,t(f,r)||f,o);l?n[a]=l:s("W1",c,f,"bare specifier did not resolve")}}}function i(e,t){if(t[e])return e;var n=e.length;do{var r=e.slice(0,n+1);if(r in t)return r}while(-1!==(n=e.lastIndexOf("/",n-1)))}function o(e,t){var n=i(e,t);if(n){var r=t[n];if(null===r)return;if(!(e.length>n.length&&"/"!==r[r.length-1]))return r+e.slice(n.length);s("W2",n,r,"should have a trailing '/'")}}function s(t,n,r,i){console.warn(e(t,"Package target "+i+", resolving target '"+r+"' for "+n))}function u(e,t,n){for(var r=e.scopes,s=n&&i(n,r);s;){var u=o(t,r[s]);if(u)return u;s=i(s.slice(0,s.lastIndexOf("/")),r)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function c(){this[P]={}}function a(e){return e.id}function f(e,t,n,r){if(e.onload(n,t.id,t.d&&t.d.map(a),!!r),n)throw n}function l(t,n,r){var i=t[P][n];if(i)return i;var o=[],s=Object.create(null);j&&Object.defineProperty(s,j,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(n,r)})).then((function(r){if(!r)throw Error(e(2,"Module "+n+" did not instantiate"));var u=r[1]((function(e,t){i.h=!0;var n=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,n=!0);else{for(var r in e)t=e[r],r in s&&s[r]===t||(s[r]=t,n=!0);e&&e.__esModule&&(s.__esModule=e.__esModule)}if(n)for(var u=0;u<o.length;u++){var c=o[u];c&&c(s)}return t}),2===r[1].length?{import:function(e){return t.import(e,n)},meta:t.createContext(n)}:void 0);return i.e=u.execute||function(){},[r[0],u.setters||[]]}),(function(e){throw i.e=null,i.er=e,f(t,i,e,!0),e})),c=u.then((function(e){return Promise.all(e[0].map((function(r,i){var o=e[1][i];return Promise.resolve(t.resolve(r,n)).then((function(e){var r=l(t,e,n);return Promise.resolve(r.I).then((function(){return o&&(r.i.push(o),!r.h&&r.I||o(r.n)),r}))}))}))).then((function(e){i.d=e}))}));return i=t[P][n]={id:n,i:o,n:s,I:u,L:c,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function d(e,t,n,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=n),Promise.all(t.d.map((function(t){return d(e,t,n,r)})))})).catch((function(n){if(t.er)throw n;throw t.e=null,f(e,t,n,!1),n}))}function h(e,t){return t.C=d(e,t,t,{}).then((function(){return p(e,t,{})})).then((function(){return t.n}))}function p(e,t,n){function r(){try{var n=i.call(L);if(n)return n=n.then((function(){t.C=t.n,t.E=null,f(e,t,null,!0)}),(function(n){throw t.er=n,t.E=null,f(e,t,n,!0),n})),t.E=n;t.C=t.n,t.L=t.I=void 0}catch(r){throw t.er=r,r}finally{f(e,t,t.er,!0)}}if(n[t.id])return;if(n[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}const i=t.e;var o;return t.e=null,t.d.forEach((function(r){try{var i=p(e,r,n);i&&(o=o||[]).push(i)}catch(s){throw t.er=s,f(e,t,s,!1),s}})),o?Promise.all(o).then(r):r()}function v(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,m)).catch((function(e){if(e.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error("Invalid status code: "+e.status);return e.text()})).catch((function(n){return n.message=e("W4","Error fetching systemjs-import map "+t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;I=I.then((function(){return i})).then((function(i){!function(t,i,o){var s={};try{s=JSON.parse(i)}catch(u){console.warn(Error(e("W5","systemjs-importmap contains invalid JSON")+"\n\n"+i+"\n"))}!function(e,t,i){var o;for(o in e.imports&&r(e.imports,i.imports,t,i,null),e.scopes||{}){var s=n(o,t);r(e.scopes[o],i.scopes[s]||(i.scopes[s]={}),t,i,s)}for(o in e.depcache||{})i.depcache[n(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[n(o,t)]=e.integrity[o]}(s,o,t)}(W,i,t.src||m)}))}}))}var m,g="undefined"!=typeof Symbol,y="undefined"!=typeof self,b="undefined"!=typeof document,w=y?self:global;if(b){var S=document.querySelector("base[href]");S&&(m=S.href)}if(!m&&"undefined"!=typeof location){var E=(m=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==E&&(m=m.slice(0,E+1))}var O,x=/\\/g,j=g&&Symbol.toStringTag,P=g?Symbol():"@",M=c.prototype;M.import=function(e,t){var n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t)})).then((function(e){var t=l(n,e);return t.C||h(n,t)}))},M.createContext=function(e){var t=this;return{url:e,resolve:function(n,r){return Promise.resolve(t.resolve(n,r||e))}}},M.onload=function(){},M.register=function(e,t){O=[e,t]},M.getRegister=function(){var e=O;return O=void 0,e};var L=Object.freeze(Object.create(null));w.System=new c;var C,R,I=Promise.resolve(),W={imports:{},scopes:{},depcache:{},integrity:{}},T=b;if(M.prepareImport=function(e){return(T||e)&&(v(),T=!1),I},b&&(v(),window.addEventListener("DOMContentLoaded",v)),b){window.addEventListener("error",(function(e){N=e.filename,_=e.error}));var A=location.origin}M.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(A+"/")&&(t.crossOrigin="anonymous");var n=W.integrity[e];return n&&(t.integrity=n),t.src=e,t};var N,_,J={},k=M.register;M.register=function(e,t){if(b&&"loading"===document.readyState&&"string"!=typeof e){var n=document.querySelectorAll("script[src]"),r=n[n.length-1];if(r){C=e;var i=this;R=setTimeout((function(){J[r.src]=[e,t],i.import(r.src)}))}}else C=void 0;return k.call(this,e,t)},M.instantiate=function(t,n){var r=J[t];if(r)return delete J[t],r;var i=this;return Promise.resolve(M.createScript(t)).then((function(r){return new Promise((function(o,s){r.addEventListener("error",(function(){s(Error(e(3,"Error loading "+t+(n?" from "+n:""))))})),r.addEventListener("load",(function(){if(document.head.removeChild(r),N===t)s(_);else{var e=i.getRegister(t);e&&e[0]===C&&clearTimeout(R),o(e)}})),document.head.appendChild(r)}))}))},M.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(M.fetch=fetch);var U=M.instantiate,$=/^(text|application)\/(x-)?javascript(;|$)/;M.instantiate=function(t,n){var r=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:W.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,i.status+" "+i.statusText+", loading "+t+(n?" from "+n:"")));var o=i.headers.get("content-type");if(!o||!$.test(o))throw Error(e(4,'Unknown Content-Type "'+o+'", loading '+t+(n?" from "+n:"")));return i.text().then((function(e){return e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL="+t),(0,eval)(e),r.getRegister(t)}))})):U.apply(this,arguments)},M.resolve=function(n,r){return u(W,t(n,r=r||m)||n,r)||function(t,n){throw Error(e(8,"Unable to resolve bare specifier '"+t+(n?"' from "+n:"'")))}(n,r)};var B=M.instantiate;M.instantiate=function(e,t){var n=W.depcache[e];if(n)for(var r=0;r<n.length;r++)l(this,this.resolve(n[r],e),e);return B.call(this,e,t)},y&&"function"==typeof importScripts&&(M.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))}),function(e){function t(t){return!e.hasOwnProperty(t)||!isNaN(t)&&t<e.length||a&&e[t]&&"undefined"!=typeof window&&e[t].parent===window}var n,r,i,o=e.System.constructor.prototype,s=o.import;o.import=function(o,u){return function(){for(var o in n=r=void 0,e)t(o)||(n?r||(r=o):n=o,i=o)}(),s.call(this,o,u)};var u=[[],function(){return{}}],c=o.getRegister;o.getRegister=function(){var o=c.call(this);if(o)return o;var s,a=function(o){var s,u,c=0;for(var a in e)if(!t(a)){if(0===c&&a!==n||1===c&&a!==r)return a;s?(i=a,u=o&&u||a):s=a===i,c++}return u}(this.firstGlobalProp);if(!a)return u;try{s=e[a]}catch(f){return u}return[[],function(e){return{execute:function(){e(s),e({default:s,__useDefault:!0})}}}]};var a="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global),function(e){var t=e.System.constructor.prototype,r=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;t.shouldFetch=function(e){return r.test(e)};var i=/^application\/json(;|$)/,o=/^text\/css(;|$)/,s=/^application\/wasm(;|$)/,u=t.fetch;t.fetch=function(t,r){return u(t,r).then((function(u){if(r.passThrough)return u;if(!u.ok)return u;var c=u.headers.get("content-type");return i.test(c)?u.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):o.test(c)?u.text().then((function(e){return e=e.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(e,r,i,o){return"url("+r+n(i||o,t)+r+")"})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(e)+');e("default",s)}}})'],{type:"application/javascript"}))})):s.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(u):u.arrayBuffer().then(WebAssembly.compile)).then((function(n){e.System.wasmModules||(e.System.wasmModules=Object.create(null)),e.System.wasmModules[t]=n;var r=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(n).forEach((function(e){var t=JSON.stringify(e.module);-1===r.indexOf(t)&&(r.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+r.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(t)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):u}))}}("undefined"!=typeof self?self:global);var q="undefined"!=typeof Symbol&&Symbol.toStringTag;M.get=function(e){var t=this[P][e];if(t&&null===t.e&&!t.E)return t.er?null:t.n},M.set=function(t,n){try{new URL(t)}catch(s){console.warn(Error(e("W3",'"'+t+'" is not a valid URL to set in the module registry')))}var r;q&&"Module"===n[q]?r=n:(r=Object.assign(Object.create(null),n),q&&Object.defineProperty(r,q,{value:"Module"}));var i=Promise.resolve(r),o=this[P][t]||(this[P][t]={id:t,i:[],h:!1,d:[],e:null,er:void 0,E:void 0});return!o.e&&!o.E&&(Object.assign(o,{n:r,I:void 0,L:void 0,C:i}),r)},M.has=function(e){return!!this[P][e]},M.delete=function(e){var t=this[P],n=t[e];if(!n||n.p&&null!==n.p.e||n.E)return!1;var r=n.i;return n.d&&n.d.forEach((function(e){var t=e.i.indexOf(n);-1!==t&&e.i.splice(t,1)})),delete t[e],function(){var n=t[e];if(!n||!r||null!==n.e||n.E)return!1;r.forEach((function(e){n.i.push(e),e(n.n)})),r=null}};var F="undefined"!=typeof Symbol&&Symbol.iterator;M.entries=function(){var e,t,n=this,r=Object.keys(n[P]),i=0,o={next:function(){for(;void 0!==(t=r[i++])&&void 0===(e=n.get(t)););return{done:void 0===t,value:void 0!==t&&[t,e]}}};return o[F]=function(){return this},o}}(); | ||
//# sourceMappingURL=##.min.js.map |
{ | ||
"name": "systemjs", | ||
"version": "6.12.1", | ||
"version": "6.12.2", | ||
"main": "dist/system-node.cjs", | ||
@@ -25,2 +25,6 @@ "exports": { | ||
], | ||
"scripts": { | ||
"test": "chomp test", | ||
"build": "chomp build" | ||
}, | ||
"devDependencies": { | ||
@@ -31,11 +35,10 @@ "@jsenv/file-size-impact": "^5.2.0", | ||
"@rollup/plugin-replace": "^2.3.1", | ||
"@zeit/ncc": "^0.22.1", | ||
"@vercel/ncc": "^0.34.0", | ||
"bluebird": "^3.7.2", | ||
"concurrently": "^5.1.0", | ||
"construct-style-sheets-polyfill": "^2.3.5", | ||
"cross-env": "^7.0.2", | ||
"kleur": "^4.1.5", | ||
"mkdirp": "^1.0.4", | ||
"mocha": "^7.1.1", | ||
"node-fetch": "^2.6.0", | ||
"open": "^7.0.3", | ||
"open": "^8.4.0", | ||
"rimraf": "^3.0.2", | ||
@@ -49,17 +52,2 @@ "rollup": "^2.33.3", | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && mkdirp dist && concurrently -n w: 'npm:build:*'", | ||
"build:node": "node --experimental-modules build-node.mjs", | ||
"build:browser": "rollup -c", | ||
"build-browser-dev": "rollup -c --environment dev", | ||
"footprint": "concurrently -n w: 'npm:footprint:*'", | ||
"footprint:systemjs": "cat dist/system.min.js | gzip -9f | wc -c", | ||
"footprint:sjs": "cat dist/s.min.js | gzip -9f | wc -c", | ||
"test": "concurrently -n w: 'npm:test:*'", | ||
"test:internals": "cross-env NODE_OPTIONS=\"--unhandled-rejections=none\" mocha -b test/import-map.js test/system-core.js test/url-resolution.js", | ||
"test:node": "cross-env NODE_OPTIONS=--experimental-modules mocha --timeout 5000 -b test/system-node.js", | ||
"test:browser": "node test/server.cjs", | ||
"test-browser-watch": "cross-env WATCH_MODE=true node test/server.cjs", | ||
"prepublish": "npm run build" | ||
}, | ||
"collective": { | ||
@@ -66,0 +54,0 @@ "type": "opencollective", |
# SystemJS | ||
[![Build Status](https://travis-ci.com/systemjs/systemjs.svg?branch=master)](https://travis-ci.com/systemjs/systemjs) | ||
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/systemjs/systemjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
@@ -243,6 +242,9 @@ [![Backers on Open Collective](https://opencollective.com/systemjs/backers/badge.svg)](#backers) | ||
Task running is handled by Chomp (https://chompbuild.com). | ||
To run the tests: | ||
``` | ||
npm run build && npm run test | ||
npm install -g chomp | ||
chomp test | ||
``` | ||
@@ -257,4 +259,1 @@ | ||
MIT | ||
[travis-url]: https://travis-ci.org/systemjs/systemjs | ||
[travis-image]: https://travis-ci.org/systemjs/systemjs.svg?branch=master |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
780534
19
10969
258
25