%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
const SOURCES = {
__proto__: null,
'test:Array': ['1', '2'], // both `1,2` and `12` are valid ESM
'test:ArrayBuffer': new ArrayBuffer(0),
'test:BigInt64Array': new BigInt64Array(0),
'test:BigUint64Array': new BigUint64Array(0),
'test:Float32Array': new Float32Array(0),
'test:Float64Array': new Float64Array(0),
'test:Int8Array': new Int8Array(0),
'test:Int16Array': new Int16Array(0),
'test:Int32Array': new Int32Array(0),
'test:null': null,
'test:Object': {},
'test:SharedArrayBuffer': new SharedArrayBuffer(0),
'test:string': '',
'test:String': new String(''),
'test:Uint8Array': new Uint8Array(0),
'test:Uint8ClampedArray': new Uint8ClampedArray(0),
'test:Uint16Array': new Uint16Array(0),
'test:Uint32Array': new Uint32Array(0),
'test:undefined': undefined,
}
export function resolve(specifier, context, next) {
if (specifier.startsWith('test:')) {
return {
importAssertions: context.importAssertions,
shortCircuit: true,
url: specifier,
};
}
return next(specifier);
}
export function load(href, context, next) {
if (href.startsWith('test:')) {
return {
format: 'module',
shortCircuit: true,
source: SOURCES[href],
};
}
return next(href);
}