id int64 0 1.29M | original_id stringlengths 32 32 | swhid stringlengths 100 170 | sha1 stringlengths 40 40 | repo_name stringlengths 2 45 | repo_group stringclasses 12
values | filepath stringlengths 5 153 | name stringlengths 1 14.9k | type stringclasses 3
values | code stringlengths 7 2.12M |
|---|---|---|---|---|---|---|---|---|---|
1,287,000 | 7f74560ad842bffe320fc2268f2d3c01 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=998-1012/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | _factory | function | /*
* Cheat to get around inter-twingled classes. `factory()` can be at the end
* where it has access to non-hoisted classes, but it gets hoisted itself.
*/
function _factory(aSourceMap, aSourceMapURL) {
let sourceMap = aSourceMap;
if (typeof aSourceMap === "string") {
sourceMap = util.parseSourceMapInput(aS... |
1,287,001 | 4f76ea29e4f1e40d97e0b7429f12b7c5 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-94/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | SourceMapConsumer::eachMapping | function | /**
* Iterate over each mapping between an original source/line/column and a
* generated line/column in this source map.
*
* @param Function aCallback
* The function that is called with each mapping.
* @param Object aContext
* Optional. If specified, this object will be the value of `... |
1,287,002 | 411617b328e48ae47308e9475a3a8f0e | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=96-120/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | SourceMapConsumer::allGeneratedPositionsFor | function | /**
* Returns all generated line and column information for the original source,
* line, and column provided. If no column is provided, returns all mappings
* corresponding to a either the line we are searching for or the next
* closest line that has any mappings. Otherwise, returns all mappings
* corres... |
1,287,003 | c33d081402d574fefd6574a207ca02db | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=122-124/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | SourceMapConsumer::destroy | function | destroy() {
throw new Error("Subclasses must implement destroy");
} |
1,287,004 | 3d3604ad3363df835c0a35df56820254 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=227-257/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::_findSourceIndex | function | /**
* Utility function to find the index of a source. Returns -1 if not
* found.
*/
_findSourceIndex(aSource) {
// In the most common usecases, we'll be constantly looking up the index for the same source
// files, so we cache the index lookup to avoid constantly recomputing the full URLs.
const... |
1,287,005 | fe2b2e211b1ca3ed869af38ae567dd9e | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=259-270/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::fromSourceMap | function | /**
* Create a BasicSourceMapConsumer from a SourceMapGenerator.
*
* @param SourceMapGenerator aSourceMap
* The source map that will be consumed.
* @param String aSourceMapURL
* The URL at which the source map can be found (optional)
* @returns BasicSourceMapConsumer
*/
static fr... |
1,287,006 | d23f355973d241a88d98108584480ce5 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=272-274/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::sources | function | get sources() {
return this._absoluteSources.toArray();
} |
1,287,007 | 221e63e4dd26d9cca3866a3a7c873646 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=511-521/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::hasContentsOfAllSources | function | /**
* Return true if we have the source content for every source in the source
* map, false otherwise.
*/
hasContentsOfAllSources() {
if (!this.sourcesContent) {
return false;
}
return this.sourcesContent.length >= this._sources.size() &&
!this.sourcesContent.some(function(sc) { retur... |
1,287,008 | 057fdeae7e9d65bece4c6da8f866a3eb | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=523-547/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::sourceContentFor | function | /**
* Returns the original source content. The only argument is the url of the
* original source file. Returns null if no original source content is
* available.
*/
sourceContentFor(aSource, nullOnMissing) {
if (!this.sourcesContent) {
return null;
}
const index = this._findSourceIndex(... |
1,287,009 | fd689b831a3cb4b9e787516fde0d37b9 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=549-632/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::generatedPositionFor | function | /**
* Returns the generated line and column information for the original source,
* line, and column positions provided. The only argument is an object with
* the following properties:
*
* - source: The filename of the original source.
* - line: The line number in the original source. The line num... |
1,287,010 | 70fc71f6a3c55ffbf7595027b69e952c | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=853-910/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | IndexedSourceMapConsumer::generatedPositionFor | function | /**
* Returns the generated line and column information for the original source,
* line, and column positions provided. The only argument is an object with
* the following properties:
*
* - source: The filename of the original source.
* - line: The line number in the original source. The line num... |
1,287,011 | 793eeef44e3a8c36556f1af9ed0a9f0f | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=18-27/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | SourceMapConsumer::constructor | function | constructor(aSourceMap, aSourceMapURL) {
// If the constructor was called by super(), just return Promise<this>.
// Yes, this is a hack to retain the pre-existing API of the base-class
// constructor also being an async factory function.
if (aSourceMap == INTERNAL) {
return Promise.resolve(this);
... |
1,287,012 | 82a62605b1484faa40ac7a71f1c27eb2 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=276-282/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::_getMappingsPtr | function | _getMappingsPtr() {
if (this._mappingsPtr === 0) {
this._parseMappings();
}
return this._mappingsPtr;
} |
1,287,013 | 1e61b6bfe7e0d10fa8e1abbe97cf3270 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=330-362/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::eachMapping | function | eachMapping(aCallback, aContext, aOrder) {
const context = aContext || null;
const order = aOrder || SourceMapConsumer.GENERATED_ORDER;
this._wasm.withMappingCallback(
mapping => {
if (mapping.source !== null) {
mapping.source = this._absoluteSources.at(mapping.source);
i... |
1,287,014 | 8df1b354c0676b254f0a2068d0afd069 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=364-407/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::allGeneratedPositionsFor | function | allGeneratedPositionsFor(aArgs) {
let source = util.getArg(aArgs, "source");
const originalLine = util.getArg(aArgs, "line");
const originalColumn = aArgs.column || 0;
source = this._findSourceIndex(source);
if (source < 0) {
return [];
}
if (originalLine < 1) {
throw new Error... |
1,287,015 | 19ecc23acbd3d1fb0a2e05e4a0954d75 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=429-509/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::originalPositionFor | function | /**
* Returns the original source, line, and column information for the generated
* source's line and column positions provided. The only argument is an object
* with the following properties:
*
* - line: The line number in the generated source. The line number
* is 1-based.
* - column: Th... |
1,287,016 | 2029886e4b2945f76473b5d530234b3b | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=409-414/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | BasicSourceMapConsumer::destroy | function | destroy() {
if (this._mappingsPtr !== 0) {
this._wasm.exports.free_mappings(this._mappingsPtr);
this._mappingsPtr = 0;
}
} |
1,287,017 | 4d4f3595e86dc7a1302826d1b167ddd4 | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=688-739/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | IndexedSourceMapConsumer::constructor | function | constructor(aSourceMap, aSourceMapURL) {
return super(INTERNAL).then(that => {
let sourceMap = aSourceMap;
if (typeof aSourceMap === "string") {
sourceMap = util.parseSourceMapInput(aSourceMap);
}
const version = util.getArg(sourceMap, "version");
const sections = util.getArg(... |
1,287,018 | 8dea83d91ae4a6604e18003b53bae2cf | swh:1:cnt:9b68e3933fe2064e939745e6395f499602ca5b4c;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=741-752/ | 7d4444437907038bfc8abbc9196989179b206bce | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-consumer.js | IndexedSourceMapConsumer::sources | function | /**
* The list of original sources.
*/
get sources() {
const sources = [];
for (let i = 0; i < this._sections.length; i++) {
for (let j = 0; j < this._sections[i].consumer.sources.length; j++) {
sources.push(this._sections[i].consumer.sources[j]);
}
}
return sources;
} |
1,287,019 | 5d66492ea6c8ebb6eda64c8e53d86ba9 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=13-410/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator | type | /**
* An instance of the SourceMapGenerator represents a source map which is
* being built incrementally. You may pass an object with the following
* properties:
*
* - file: The filename of the generated source.
* - sourceRoot: A root for all relative URLs in this source map.
*/
class SourceMapGenerator {
... |
1,287,020 | 1cb8f766dea8fad0be003089172b6c95 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=22-33/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::constructor | function | constructor(aArgs) {
if (!aArgs) {
aArgs = {};
}
this._file = util.getArg(aArgs, "file", null);
this._sourceRoot = util.getArg(aArgs, "sourceRoot", null);
this._skipValidation = util.getArg(aArgs, "skipValidation", false);
this._sources = new ArraySet();
this._names = new ArraySet();
... |
1,287,021 | 5743565b8527ab8fd6cb5ef5975410fb | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=134-158/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::setSourceContent | function | /**
* Set the source content for a source file.
*/
setSourceContent(aSourceFile, aSourceContent) {
let source = aSourceFile;
if (this._sourceRoot != null) {
source = util.relative(this._sourceRoot, source);
}
if (aSourceContent != null) {
// Add the source content to the _sourcesCon... |
1,287,022 | 1c483cdb46a7df708cbfc6382b6df8b7 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=160-252/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::applySourceMap | function | /**
* Applies the mappings of a sub-source-map for a specific source file to the
* source map being generated. Each mapping to the supplied source file is
* rewritten using the supplied source map. Note: The resolution for the
* resulting mappings is the minimium of this map and the supplied map.
*
* ... |
1,287,023 | 988e06f445368c19bd4beeefa03b1a48 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=90-132/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::addMapping | function | /**
* Add a single mapping from original source line and column to the generated
* source's line and column for this source map being created. The mapping
* object should have the following properties:
*
* - generated: An object with the generated line and column positions.
* - original: An object... |
1,287,024 | f7f02bc40c3bc0a7b6438e5121a02471 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-88/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::fromSourceMap | function | /**
* Creates a new SourceMapGenerator based on a SourceMapConsumer
*
* @param aSourceMapConsumer The SourceMap.
*/
static fromSourceMap(aSourceMapConsumer) {
const sourceRoot = aSourceMapConsumer.sourceRoot;
const generator = new SourceMapGenerator({
file: aSourceMapConsumer.file,
sou... |
1,287,025 | 68fba8d1cba2d99e16425d1919441c53 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=254-298/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::_validateMapping | function | /**
* A mapping can have one of the three levels of data:
*
* 1. Just the generated position.
* 2. The Generated position, original position, and original source.
* 3. Generated and original position, original source, as well as a name
* token.
*
* To maintain consistency, we validate... |
1,287,026 | 24c57d640d3616b3bcd12030e701bf5d | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=300-364/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::_serializeMappings | function | /**
* Serialize the accumulated mappings in to the stream of base 64 VLQs
* specified by the source map format.
*/
_serializeMappings() {
let previousGeneratedColumn = 0;
let previousGeneratedLine = 1;
let previousOriginalColumn = 0;
let previousOriginalLine = 0;
let previousName = 0;
... |
1,287,027 | 70940e27e05824787649e22ac2a81cca | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=366-379/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::_generateSourcesContent | function | _generateSourcesContent(aSources, aSourceRoot) {
return aSources.map(function(source) {
if (!this._sourcesContents) {
return null;
}
if (aSourceRoot != null) {
source = util.relative(aSourceRoot, source);
}
const key = util.toSetString(source);
return Object.proto... |
1,287,028 | 84e0fd504094342083a76c61e32a3908 | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=381-402/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::toJSON | function | /**
* Externalize the source map.
*/
toJSON() {
const map = {
version: this._version,
sources: this._sources.toArray(),
names: this._names.toArray(),
mappings: this._serializeMappings()
};
if (this._file != null) {
map.file = this._file;
}
if (this._sourceRoot !... |
1,287,029 | 09109c6ecd4f7440929f14af94f46a8c | swh:1:cnt:8111e0613766cfc787880fc528a11b96dd8572f6;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=404-409/ | ee1261a31c6338bcde2b8a4afd369bfd9aa1f88d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-map-generator.js | SourceMapGenerator::toString | function | /**
* Render the source map being generated to a string.
*/
toString() {
return JSON.stringify(this.toJSON());
} |
1,287,030 | 190682c2c65ea766550d00549dd391b4 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=23-402/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode | type | /**
* SourceNodes provide a way to abstract over interpolating/concatenating
* snippets of generated JavaScript source code while maintaining the line and
* column information associated with the original source code.
*
* @param aLine The original line number.
* @param aColumn The original column number.
* @para... |
1,287,031 | 6ab0e7123ad8c00f826c8f77ac867b06 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-45/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::constructor | function | constructor(aLine, aColumn, aSource, aChunks, aName) {
this.children = [];
this.sourceContents = {};
this.line = aLine == null ? null : aLine;
this.column = aColumn == null ? null : aColumn;
this.source = aSource == null ? null : aSource;
this.name = aName == null ? null : aName;
this[isSour... |
1,287,032 | 76dd57e173c035cf24d8b2bf6bb49afa | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=47-165/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::fromStringWithSourceMap | function | /**
* Creates a SourceNode from generated code and a SourceMapConsumer.
*
* @param aGeneratedCode The generated code
* @param aSourceMapConsumer The SourceMap for the generated code
* @param aRelativePath Optional. The path that relative sources in the
* SourceMapConsumer should be relative to.... |
1,287,033 | 606f333451d22c1fc6ca322c3db99a8f | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=167-188/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::add | function | /**
* Add a chunk of generated JS to this source node.
*
* @param aChunk A string snippet of generated JS code, another instance of
* SourceNode, or an array where each member is one of those things.
*/
add(aChunk) {
if (Array.isArray(aChunk)) {
aChunk.forEach(function(chunk) {
... |
1,287,034 | c115847b21a39e8a30947a703a7146e9 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-75/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::fromStringWithSourceMap::getNextLine | function | function getNextLine() {
return remainingLinesIndex < remainingLines.length ?
remainingLines[remainingLinesIndex++] : undefined;
} |
1,287,035 | c10ebff0bda4a00e15b54dc6521f379e | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=151-164/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::fromStringWithSourceMap::addMappingWithCode | function | function addMappingWithCode(mapping, code) {
if (mapping === null || mapping.source === undefined) {
node.add(code);
} else {
const source = aRelativePath
? util.join(aRelativePath, mapping.source)
: mapping.source;
node.add(new SourceNode(mapping.originalLine,
... |
1,287,036 | cffad166a8b9373fea17d3fd048b7909 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=190-209/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::prepend | function | /**
* Add a chunk of generated JS to the beginning of this source node.
*
* @param aChunk A string snippet of generated JS code, another instance of
* SourceNode, or an array where each member is one of those things.
*/
prepend(aChunk) {
if (Array.isArray(aChunk)) {
for (let i = aChunk... |
1,287,037 | b7ebae670faff8e7dcea8a83474d5005 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=211-231/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::walk | function | /**
* Walk over the tree of JS snippets in this node and its children. The
* walking function is called once for each snippet of JS and is passed that
* snippet and the its original associated source's line/column location.
*
* @param aFn The traversal function.
*/
walk(aFn) {
let chunk;
for... |
1,287,038 | f45ae36a9296a305d577352911df4ff8 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=233-253/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::join | function | /**
* Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
* each of `this.children`.
*
* @param aSep The separator.
*/
join(aSep) {
let newChildren;
let i;
const len = this.children.length;
if (len > 0) {
newChildren = [];
for (i = 0; i < len - 1; i++... |
1,287,039 | d18bb985857698bb8396ba42a3a226cb | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=255-272/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::replaceRight | function | /**
* Call String.prototype.replace on the very right-most source snippet. Useful
* for trimming whitespace from the end of a source node, etc.
*
* @param aPattern The pattern to replace.
* @param aReplacement The thing to replace the pattern with.
*/
replaceRight(aPattern, aReplacement) {
const... |
1,287,040 | 2fa0a062a22e3a75535d03fd4339229d | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=274-283/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::setSourceContent | function | /**
* Set the source content for a source file. This will be added to the SourceMapGenerator
* in the sourcesContent field.
*
* @param aSourceFile The filename of the source file
* @param aSourceContent The content of the source file
*/
setSourceContent(aSourceFile, aSourceContent) {
this.source... |
1,287,041 | 9c2c4d6093708db3f3d3b40e7c1d88f7 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=285-302/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::walkSourceContents | function | /**
* Walk over the tree of SourceNodes. The walking function is called for each
* source file content and is passed the filename and source content.
*
* @param aFn The traversal function.
*/
walkSourceContents(aFn) {
for (let i = 0, len = this.children.length; i < len; i++) {
if (this.childr... |
1,287,042 | 474aa8494d40c6587f8a02635e58c183 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=304-314/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::toString | function | /**
* Return the string representation of this source node. Walks over the tree
* and concatenates all the various snippets together to one string.
*/
toString() {
let str = "";
this.walk(function(chunk) {
str += chunk;
});
return str;
} |
1,287,043 | 132cb98a6d6ce43007b19305a4ebc904 | swh:1:cnt:8a7a157ec59bc7145a3db88939397707afc91c44;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=316-401/ | 432f7d66e0e4168d3215e67d79bbf120445dbe64 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/source-node.js | SourceNode::toStringWithSourceMap | function | /**
* Returns the string representation of this source node along with a source
* map.
*/
toStringWithSourceMap(aArgs) {
const generated = {
code: "",
line: 1,
column: 0
};
const map = new SourceMapGenerator(aArgs);
let sourceMappingActive = false;
let lastOriginalSource... |
1,287,044 | e3e037f49e3539fde64c43fc30dbbcdc | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=10-28/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | getArg | function | /**
* This is a helper function for getting values from parameter/options
* objects.
*
* @param args The object we are extracting values from
* @param name The name of the property we are getting.
* @param defaultValue An optional value to return if the property is missing
* from the object. If this is not speci... |
1,287,045 | ad6c9e27405bdec581b20b8b5035ade8 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-64/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | fromSetString | function | function fromSetString(aStr) {
if (isProtoString(aStr)) {
return aStr.slice(1);
}
return aStr;
} |
1,287,046 | 161e58082e0222a7172d9f230aa4392a | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=36-38/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | identity | function | function identity(s) {
return s;
} |
1,287,047 | abea95baaba383d8d1e4c2907bab9671 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-99/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | isProtoString | function | function isProtoString(s) {
if (!s) {
return false;
}
const length = s.length;
if (length < 9 /* "__proto__".length */) {
return false;
}
/* eslint-disable no-multi-spaces */
if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
s.charCodeAt(length - 2) !== 95 /* '_' */ ||
s.charCodeAt... |
1,287,048 | c6ac44a2926f2107f8116e4fa9a56437 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=40-55/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | toSetString | function | /**
* Because behavior goes wacky when you set `__proto__` on objects, we
* have to prefix all the strings in our set with an arbitrary character.
*
* See https://github.com/mozilla/source-map/pull/31 and
* https://github.com/mozilla/source-map/issues/30
*
* @param String aStr
*/
function toSetString(aStr) {
... |
1,287,049 | d04f3af27a597bc4beaa4a65e115735f | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=101-119/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | strcmp | function | function strcmp(aStr1, aStr2) {
if (aStr1 === aStr2) {
return 0;
}
if (aStr1 === null) {
return 1; // aStr2 !== null
}
if (aStr2 === null) {
return -1; // aStr1 !== null
}
if (aStr1 > aStr2) {
return 1;
}
return -1;
} |
1,287,050 | d41b37aa7c05daaa8b3274a3aaed8e79 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=121-152/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | compareByGeneratedPositionsInflated | function | /**
* Comparator between two mappings with inflated source and name strings where
* the generated positions are compared.
*/
function compareByGeneratedPositionsInflated(mappingA, mappingB) {
let cmp = mappingA.generatedLine - mappingB.generatedLine;
if (cmp !== 0) {
return cmp;
}
cmp = mappingA.generat... |
1,287,051 | c4c613ec84f41838e691eb77a14b6058 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=155-162/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | parseSourceMapInput | function | /**
* Strip any JSON XSSI avoidance prefix from the string (as documented
* in the source maps specification), and then parse the string as
* JSON.
*/
function parseSourceMapInput(str) {
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
} |
1,287,052 | 8ece670ce8e606f61ca926fbbc95a9db | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=172-197/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | createSafeHandler | function | /**
* Make it easy to create small utilities that tweak a URL's path.
*/
function createSafeHandler(cb) {
return input => {
const type = getURLType(input);
const base = buildSafeBase(input);
const url = new URL(input, base);
cb(url);
const result = url.toString();
if (type === "absolute")... |
1,287,053 | 1aea76e1ff62cf89bbf15abdcce07bd7 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=199-201/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | withBase | function | function withBase(url, base) {
return new URL(url, base).toString();
} |
1,287,054 | 2adf461728b6ed45ebc0e2a5891d749e | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=244-281/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | computeRelativeURL | function | /**
* Given two URLs that are assumed to be on the same
* protocol/host/user/password build a relative URL from the
* path, params, and hash values.
*
* @param rootURL The root URL that the target will be relative to.
* @param targetURL The target that the relative URL points to.
* @return A rootURL-relative, no... |
1,287,055 | d03fc66c56019a6a311a4275e65ed0ac | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=372-401/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | relativeIfPossible | function | function relativeIfPossible(rootURL, targetURL) {
const urlType = getURLType(rootURL);
if (urlType !== getURLType(targetURL)) {
return null;
}
const base = buildSafeBase(rootURL + targetURL);
const root = new URL(rootURL, base);
const target = new URL(targetURL, base);
try {
new URL("", target.t... |
1,287,056 | f3c792564ae9ea3db5fe776e0cba915f | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=314-353/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | join | function | /**
* Joins two paths/URLs.
*
* All returned URLs will be normalized.
*
* @param aRoot The root path or URL. Assumed to reference a directory.
* @param aPath The path or URL to be joined with the root.
* @return A joined and normalized URL value.
*/
function join(aRoot, aPath) {
const pathType = getURLType(aP... |
1,287,057 | a59562170e65f25f27417bd70c08befb | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=403-437/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | computeSourceURL | function | /**
* Compute the URL of a source given the the source root, the source's
* URL, and the source map's URL.
*/
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
// The source map spec states that "sourceRoot" and "sources" entries are to be appended. While
// that is a little vague, implementations... |
1,287,058 | 237ef9ce71e812ed0da9327d7a8029fd | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=203-209/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | buildUniqueSegment | function | function buildUniqueSegment(prefix, str) {
let id = 0;
do {
const ident = prefix + (id++);
if (str.indexOf(ident) === -1) return ident;
} while (true);
} |
1,287,059 | d39c8d1fbfc7831cb2b9ba226cbb5bf0 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=235-242/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | getURLType | function | function getURLType(url) {
if (url[0] === "/") {
if (url[1] === "/") return "scheme-relative";
return "path-absolute";
}
return ABSOLUTE_SCHEME.test(url) ? "absolute" : "path-relative";
} |
1,287,060 | 83f2f3938368b3a607c4f1d78a8464cf | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=211-232/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | buildSafeBase | function | function buildSafeBase(str) {
const maxDotParts = str.split("..").length - 1;
// If we used a segment that also existed in `str`, then we would be unable
// to compute relative paths. For example, if `segment` were just "a":
//
// const url = "../../a/"
// const base = buildSafeBase(url); // http://hos... |
1,287,061 | d5976f0049d9af4409e62d7a4a4554e3 | swh:1:cnt:430ec4de0a8d2aca195a8e3d1922750d3411e616;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=356-369/ | 05e78dc23ecd49cf25ddaf989095f0767519977b | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/util.js | relative | function | /**
* Make a path relative to a URL or another path. If returning a
* relative URL is not possible, the original target will be returned.
* All returned URLs will be normalized.
*
* @param aRoot The root path or URL.
* @param aPath The path or URL to be made relative to aRoot.
* @return A rootURL-relative (if po... |
1,287,062 | 6d23b9df71d690cfdd11bad582af1c6e | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-14/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | Mapping | function | /**
* Provide the JIT with a nice shape / hidden class.
*/
function Mapping() {
this.generatedLine = 0;
this.generatedColumn = 0;
this.lastGeneratedColumn = null;
this.source = null;
this.originalLine = null;
this.originalColumn = null;
this.name = null;
} |
1,287,063 | fd1b4843e216ab592855a0c435d8bdf4 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=70-70/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_compute_column_spans | function | start_compute_column_spans() { console.time("compute_column_spans"); } |
1,287,064 | a4741d67b6804055e66d85dbe4fb9f2e | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=68-68/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_all_generated_locations_for | function | end_all_generated_locations_for() { console.timeEnd("all_generated_locations_for"); } |
1,287,065 | dbb0f0cd03ec16f7370ddaee84997cbd | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=67-67/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_all_generated_locations_for | function | start_all_generated_locations_for() { console.time("all_generated_locations_for"); } |
1,287,066 | e57155afbb9c2ef4b78cba21d754a98e | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-71/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_compute_column_spans | function | end_compute_column_spans() { console.timeEnd("compute_column_spans"); } |
1,287,067 | 2eb6681ec672b102addeaf3394d3ebcf | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=73-73/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_generated_location_for | function | start_generated_location_for() { console.time("generated_location_for"); } |
1,287,068 | 2c7b3e3d35054fe087e624db1bd26cee | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=74-74/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_generated_location_for | function | end_generated_location_for() { console.timeEnd("generated_location_for"); } |
1,287,069 | fa9fc56ce30b94cce7992c3f95690ac0 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-76/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_original_location_for | function | start_original_location_for() { console.time("original_location_for"); } |
1,287,070 | c3ce31f4602ca1ab6d65013e4abb7ba7 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=77-77/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_original_location_for | function | end_original_location_for() { console.timeEnd("original_location_for"); } |
1,287,071 | 102d4696be0799ba252f5a6648485cb0 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=79-79/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_parse_mappings | function | start_parse_mappings() { console.time("parse_mappings"); } |
1,287,072 | 2ac806d589a862d13b40975310ca383e | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=80-80/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_parse_mappings | function | end_parse_mappings() { console.timeEnd("parse_mappings"); } |
1,287,073 | ee8ca8a41920ea0e92ac2eb6067006ee | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=82-82/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_sort_by_generated_location | function | start_sort_by_generated_location() { console.time("sort_by_generated_location"); } |
1,287,074 | 07e72a2bf0259261f5ec84aa45bc9606 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=83-83/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_sort_by_generated_location | function | end_sort_by_generated_location() { console.timeEnd("sort_by_generated_location"); } |
1,287,075 | 33625dec10667887b344a74488b77894 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=85-85/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | start_sort_by_original_location | function | start_sort_by_original_location() { console.time("sort_by_original_location"); } |
1,287,076 | 2c88b5232da3e24c4e393296fa9786b6 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=86-86/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | end_sort_by_original_location | function | end_sort_by_original_location() { console.timeEnd("sort_by_original_location"); } |
1,287,077 | cae9667fe09f0dc751574c6d085e40e2 | swh:1:cnt:88b18bea809f563ede8bf58b57abc8d6f8332c79;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=28-65/ | 622c78c6a83df6a1259997e474a721460452388d | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/source-map/lib/wasm.js | mapping_callback | function | mapping_callback(
generatedLine,
generatedColumn,
hasLastGeneratedColumn,
lastGeneratedColumn,
hasOriginal,
source,
originalLine,
originalColumn,
hasName,
name
) {
const mappi... |
1,287,078 | d69f0da0c12fda5b9bd2e27ff7a08664 | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-9/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | containsNonASCII | function | function containsNonASCII(str) {
return /[^\x00-\x7F]/.test(str);
} |
1,287,079 | 2954eb12489fbc37eb19c7fc69bc4086 | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=71-150/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | validateLabel | function | function validateLabel(label, { checkHyphens, checkBidi, checkJoiners, processingOption, useSTD3ASCIIRules }) {
if (label.normalize("NFC") !== label) {
return false;
}
const codePoints = Array.from(label);
if (checkHyphens) {
if ((codePoints[2] === "-" && codePoints[3] === "-") ||
(label.start... |
1,287,080 | ab6a5c46f62f3f453a8b52f20569de4d | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=35-69/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | mapChars | function | function mapChars(domainName, { useSTD3ASCIIRules, processingOption }) {
let hasError = false;
let processed = "";
for (const ch of domainName) {
const [status, mapping] = findStatus(ch.codePointAt(0), { useSTD3ASCIIRules });
switch (status) {
case "disallowed":
hasError = true;
pr... |
1,287,081 | c411ff24997c0a8243ff262079e4e879 | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=152-164/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | isBidiDomain | function | function isBidiDomain(labels) {
const domain = labels.map(label => {
if (label.startsWith("xn--")) {
try {
return punycode.decode(label.substring(4));
} catch (err) {
return "";
}
}
return label;
}).join(".");
return regexes.bidiDomain.test(domain);
} |
1,287,082 | bb8a3eb238c0e84abd303d8b625a8912 | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-33/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | findStatus | function | function findStatus(val, { useSTD3ASCIIRules }) {
let start = 0;
let end = mappingTable.length - 1;
while (start <= end) {
const mid = Math.floor((start + end) / 2);
const target = mappingTable[mid];
if (target[0][0] <= val && target[0][1] >= val) {
if (target[1].startsWith("disallowed_STD3_")... |
1,287,083 | a03e0bbe0ed4bb01db427ddf87e7bac2 | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=166-211/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | processing | function | function processing(domainName, options) {
const { processingOption } = options;
// 1. Map.
let { string, error } = mapChars(domainName, options);
// 2. Normalize.
string = string.normalize("NFC");
// 3. Break.
const labels = string.split(".");
const isBidi = isBidiDomain(labels);
// 4. Convert/Va... |
1,287,084 | a86559647716abf2a882806c382db14f | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=213-262/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | toASCII | function | function toASCII(domainName, {
checkHyphens = false,
checkBidi = false,
checkJoiners = false,
useSTD3ASCIIRules = false,
processingOption = "nontransitional",
verifyDNSLength = false
} = {}) {
if (processingOption !== "transitional" && processingOption !== "nontransitional") {
throw new RangeError("pr... |
1,287,085 | d8e3051d0d9ba1d8297285d93313a75c | swh:1:cnt:18724359ec1b3eb057ab6e36da924e37fc4204c2;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=264-282/ | 6b7cd1d9332867082e49a56bda0e5eb0129bd213 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/tr46/index.js | toUnicode | function | function toUnicode(domainName, {
checkHyphens = false,
checkBidi = false,
checkJoiners = false,
useSTD3ASCIIRules = false
} = {}) {
const result = processing(domainName, {
processingOption: "nontransitional",
checkHyphens,
checkBidi,
checkJoiners,
useSTD3ASCIIRules
});
return {
do... |
1,287,086 | 731accdd6fbae7a784b75b587b86a7df | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-5/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | _ | function | function _(message, opts) {
return `${opts && opts.context ? opts.context : "Value"} ${message}.`;
} |
1,287,087 | cef085249ee5991d2fb6108976de6181 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=58-60/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | sign | function | function sign(x) {
return x < 0 ? -1 : 1;
} |
1,287,088 | f989258852b81a5819542076f70819a5 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=54-56/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | integerPart | function | function integerPart(n) {
return censorNegativeZero(Math.trunc(n));
} |
1,287,089 | ea02a62afe5e04621fe623dd9afc5274 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-32/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | type | function | function type(V) {
if (V === null) {
return "Null";
}
switch (typeof V) {
case "undefined":
return "Undefined";
case "boolean":
return "Boolean";
case "number":
return "Number";
case "string":
return "String";
ca... |
1,287,090 | 7a8b7beaee69858d5bd327b662ff1eb7 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=34-52/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | evenRound | function | // Round x to the nearest integer, choosing the even integer if it lies halfway between two.
function evenRound(x) {
// There are four cases for numbers with fractional part being .5:
//
// case | x | floor(x) | round(x) | expected | x <> 0 | x % 1 | x & 1 | example
// 1 | 2n + 0.5 | 2n ... |
1,287,091 | b0fb054a042b1f56439f5f0f65885904 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=62-70/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | modulo | function | function modulo(x, y) {
// https://tc39.github.io/ecma262/#eqn-modulo
// Note that http://stackoverflow.com/a/4467559/3191 does NOT work for large modulos
const signMightNotMatch = x % y;
if (sign(y) !== sign(signMightNotMatch)) {
return signMightNotMatch + y;
}
return signMightNotMatch;... |
1,287,092 | c889f0342b239c904713bf94bdcb363a | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=72-74/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | censorNegativeZero | function | function censorNegativeZero(x) {
return x === 0 ? 0 : x;
} |
1,287,093 | b3813ad38f3c339d4f5506608c1e35f2 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=76-142/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | createIntegerConversion | function | function createIntegerConversion(bitLength, typeOpts) {
const isSigned = !typeOpts.unsigned;
let lowerBound;
let upperBound;
if (bitLength === 64) {
upperBound = Math.pow(2, 53) - 1;
lowerBound = !isSigned ? 0 : -Math.pow(2, 53) + 1;
} else if (!isSigned) {
lowerBound = 0;
... |
1,287,094 | f492e7d87d9561217849ad679b7a94e5 | swh:1:cnt:7f16341c1cd37fe898104c2abce44975fe7beaa1;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=282-291/ | 269b0eaff3f72b9900c99410cfc921ee1ed0dd27 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/webidl-conversions/lib/index.js | convertCallbackFunction | function | // Not exported, but used in Function and VoidFunction.
// Neither Function nor VoidFunction is defined with [TreatNonObjectAsNull], so
// handling for that is omitted.
function convertCallbackFunction(V, opts) {
if (typeof V !== "function") {
throw new TypeError(_("is not a function", opts));
}
re... |
1,287,095 | 4b92732c6768c7d040f083be00190fd6 | swh:1:cnt:2a712f8fc0d4d39d61f67a2a8bd07dadf5a6b2b7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=3-5/ | 7efd2fced6f0e0e0561a0d95b0706528f0cad4dd | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/infra.js | isASCIIDigit | function | function isASCIIDigit(c) {
return c >= 0x30 && c <= 0x39;
} |
1,287,096 | 9d9dfbcb54e1acb75de2d1d252501adb | swh:1:cnt:2a712f8fc0d4d39d61f67a2a8bd07dadf5a6b2b7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=11-13/ | 7efd2fced6f0e0e0561a0d95b0706528f0cad4dd | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/infra.js | isASCIIAlphanumeric | function | function isASCIIAlphanumeric(c) {
return isASCIIAlpha(c) || isASCIIDigit(c);
} |
1,287,097 | 0f88b5e455b4bd38dcf24fd13f67f0a5 | swh:1:cnt:2a712f8fc0d4d39d61f67a2a8bd07dadf5a6b2b7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=7-9/ | 7efd2fced6f0e0e0561a0d95b0706528f0cad4dd | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/infra.js | isASCIIAlpha | function | function isASCIIAlpha(c) {
return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);
} |
1,287,098 | 29e9aec2648ec3cdefeb68c1a2b85871 | swh:1:cnt:2a712f8fc0d4d39d61f67a2a8bd07dadf5a6b2b7;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=15-17/ | 7efd2fced6f0e0e0561a0d95b0706528f0cad4dd | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/infra.js | isASCIIHex | function | function isASCIIHex(c) {
return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);
} |
1,287,099 | a2e50339add24c5f45029a0ee5485272 | swh:1:cnt:79d7ad55ef510bb117895cb800c874a4b79c10fc;origin=https://gitlab.wikimedia.org/toolforge-repos/wlbdashboard.git;lines=38-51/ | 5db81aa897f6a2cd04577b845f3c0d05e3ab1174 | wlbdashboard | wmcs | node_modules/workbox-build/node_modules/whatwg-url/lib/URL-impl.js | URLImpl::href | function | set href(v) {
const parsedURL = usm.basicURLParse(v);
if (parsedURL === null) {
throw new TypeError(`Invalid URL: ${v}`);
}
this._url = parsedURL;
this._query._list.splice(0);
const { query } = parsedURL;
if (query !== null) {
this._query._list = urlencoded.parseUrlencoded(quer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.