sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
80e1f02303263d84f6f0fb992b463c9c397ac101047974739f24337126844be1
JavaScript
9,615
316
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.0,0.0,0.272,0.0,0.136,0.0,0.136,0.0,0.0,0.0,0.272,0.0,0.136,0.408,0.272,0.68,0.0,0.408,0.136,0.68,0.0,0.136,0.952,0.0,0.272,0.0,0.0,0.0,0.0,0.136,0.0,0.0,0.136,0.0,0.0,0.136,0.136,0.272,0.68...
0a5895581d70402e505e0656039d13913364cd5ea93229b68845755c7f309b3a
JavaScript
9,636
372
import "../behavior/drag"; import "../core/identity"; import "../core/rebind"; import "../event/event"; import "../event/dispatch"; import "../event/timer"; import "../geom/quadtree"; import "layout"; // A rudimentary force layout using Gauss-Seidel. d3.layout.force = function() { var force = {}, event = d3.di...
39c1d4f5f6b7a2587278f1afec35d8c5428b4ae3abc76147c5461e60600a8549
JavaScript
9,701
240
c3_chart_internal_fn.initGrid = function () { var $$ = this, config = $$.config, d3 = $$.d3; $$.grid = $$.main.append('g') .attr("clip-path", $$.clipPathForGrid) .attr('class', CLASS.grid); if (config.grid_x_show) { $$.grid.append("g").attr("class", CLASS.xgrids); } if (confi...
0bd44ad81fd78901c5403ba05edc7a9f73d1f699e02c0e06fd19418e8095ef4a
JavaScript
9,794
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/e60ef129113f6e24.js","static/chunks/a7f431a8f15875a6.js"],runtimeModuleIds:[10783,30984]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=new WeakMa...
1d049f8cacba5786d0a377e510417a4e5001f82e9ae738b8a793c7357995c410
JavaScript
9,794
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/17722e3ac4e00587.js","static/chunks/a7f431a8f15875a6.js"],runtimeModuleIds:[10783,14550]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=new WeakMa...
34562a824423a5392651688e9acae9d9525bdcfd4b3578f6613ced0b8f874813
JavaScript
9,794
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/e60ef129113f6e24.js","static/chunks/0eb31a65052e5cd1.js"],runtimeModuleIds:[10783,30984]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=new WeakMa...
f790111f598e68cf5ee122ab6ec26a88842f8e15cbe2840cbc5cf3d2b70d70c9
JavaScript
9,794
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/17722e3ac4e00587.js","static/chunks/0eb31a65052e5cd1.js"],runtimeModuleIds:[10783,14550]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=new WeakMa...
3ce82d8b979fd0f4dc2537f2364c853e30f827d60deade0cb446a3d7632f1578
JavaScript
9,860
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/6420740671896b80.js","static/chunks/2af9fca721db194b.js","static/chunks/30cb146bc1e6f45f.js","static/chunks/8082ab48faca5ea1.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array...
5fec48619f00814602277f8f264daf50ae7c576fcf2cae357e44ab9b98987474
JavaScript
9,860
3
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/6420740671896b80.js","static/chunks/2af9fca721db194b.js","static/chunks/30cb146bc1e6f45f.js","static/chunks/9ea5322c0c7643ae.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array...
b6dca9ee77a17f96558851aa38e66f9ad07dadffca853330f7dd77a58d7fa6ea
JavaScript
9,881
276
var tape = require("tape"), venn = require("../"); var SMALL = 1e-5; function nearlyEqual(test, left, right, tolerance, message) { message = message || "nearlyEqual"; tolerance = tolerance || SMALL; test.ok(Math.abs(left - right) < tolerance, message + ": " + left + " ~== " + right); } fu...
5b320cfb61a4e32e057cb9c533815101d2fbcbb4286ee13f4b7ac0687f1cd9e9
JavaScript
9,892
341
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.0,0.136,0.0,0.136,0.272,0.272,0.0,1.2,0.0,0.408,0.68,0.136, 0.272,0.0,.408,0.0,0.544,0.68,0.136,.408] var get_ITI = function() { return 2100 + ITIs.shift() } var getPracticeTrials = ...
80ecc5ffd883d7c5ca86a552f04571daf97d1bdea2bb2095e8b78aa2c4eb9633
JavaScript
10,250
323
/* Copyright 2017 Satria Kautsar */ var Arrower = { version: "0.0.0", required: [ "jquery", "svg.js", "pfams.js" ], tooltip_id: "arrower-tooltip-1234567890" }; if (pfams === undefined) { pfams = {}; } Arrower.drawClusterSVG = (function(cluster, height = 40) { var container = document.createElement...
3247459b221397ffc639f31326df954053f4c9086f64d56bbc4e3e9048d15ccb
JavaScript
10,656
335
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var randomDraw = function(lst) { var index = Math.floor(Math.random() * (lst.length)) return lst[index] } var ITIs = [0.0,0.408,0.408,0.0,0.0,0.136,0.544,0.136,0.0,0.0,0.0,0.408,0.408,0.0,0.272,0.0,0.2...
d044f2401877b46397318ec297d0c582cbeb7f9495901fc1db34712584b913ca
JavaScript
10,757
340
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.0,0.272,0.0,0.136,0.408,0.544,0.0,0.136,0.136,0.136,0.136,0.272,0.136,0.408,0.0,0.136,0.0,0.136,0.952,0.272,0.136,0.0,0.136,0.0,0.136,0.272,0.272,0.136,0.0,0.136,0.0,0.272,0.0,0.0,0.136,0.27...
7b7a86c597ae4b68b34681ba872921f0265bd757d8a1f456ea2e376c23447962
JavaScript
10,847
297
/* * language_data.js * ~~~~~~~~~~~~~~~~ * * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. * * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ var stopwords ...
004ad6ad7e772d6f3c61c65a7fb255e2b36d8bf583044c08ab97e7e5e6b8442d
JavaScript
10,854
297
/* * language_data.js * ~~~~~~~~~~~~~~~~ * * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. * * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ var stopwords ...
745c10aea6aa2b31627ac8097170692e7b5b2673e3655723b6c1d6e1c8e5df21
JavaScript
10,914
234
c3_chart_internal_fn.getYDomainMin = function (targets) { var $$ = this, config = $$.config, ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets), j, k, baseId, idsInGroup, id, hasNegativeValue; if (config.data_groups.length > 0) { hasNegativeValue = $$.hasNegativeValueInTarge...
8dfd30689c62dd0fbd253bcb6c40e30fbe4c1ca20b7a6dbbdce9cd516fc40007
JavaScript
10,992
294
c3_chart_fn.flow = function (args) { var $$ = this.internal, targets, data, notfoundIds = [], orgDataCount = $$.getMaxDataCount(), dataCount, domain, baseTarget, baseValue, length = 0, tail = 0, diff, to; if (args.json) { data = $$.convertJsonToData(args.json, args.keys); } else...
3de5365ce6bd30912155222c61846eea1e04167fc5374233ed7d84f6eff0081b
JavaScript
11,028
348
import "../core/document"; import "../core/rebind"; import "../event/drag"; import "../event/event"; import "../event/mouse"; import "../event/touches"; import "../selection/selection"; import "../interpolate/zoom"; import "behavior"; d3.behavior.zoom = function() { var view = {x: 0, y: 0, k: 1}, translate0, /...
bc3188e0bcb9680d3a95487ffc61b415f7c7fd197c563f3489b92066880d4eac
JavaScript
11,190
380
var c3ext = {}; c3ext.generate = function (options) { if (options.zoom2 != null) { zoom2_reducers = options.zoom2.reducers || {}; zoom2_enabled = options.zoom2.enabled; _zoom2_factor = options.zoom2.factor || 1; _zoom2_maxItems = options.zoom2.maxItems; } if (!zoom2_enabled...
d9bb77bde59c096a08171b67d3f4b797606fb06019ed3ca36028a5aa6f4d5953
JavaScript
11,289
418
(function (root, factory) { if (typeof define === "function" && define.amd) { define([], function () { return factory(root); }); } else if (typeof exports === "object") { module.exports = factory(root); } else { root.Tabby = factory(root); } })( typeof global !== "undefined" ? global...
1259a95ee2c36cf8fa96a35cba5fb93fa2b079a9eaad50e0523e1196611ca9f5
JavaScript
11,315
384
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var get_ITI = function() { // ref: https://gist.github.com/nicolashery/5885280 function randomExponential(rate, randomUniform) { // http://en.wikipedia.org/wiki/Exponential_distribution#Generating...
f9ea59b6a45ea8b736e9da025596c81760c99e3e432cab5bf5cc2d6aa05b86ff
JavaScript
11,500
351
window.QuartoLineHighlight = function () { function isPrintView() { return /print-pdf/gi.test(window.location.search); } const delimiters = { step: "|", line: ",", lineRange: "-", }; const regex = new RegExp( "^[\\d" + Object.values(delimiters).join("") + "]+$" ); function handleLin...
1dd88a38669250cc067959c99847e52ba68e3239f5e628f2c874972a71f1f216
JavaScript
11,534
357
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.0,0.0,0.1,0.3,0.7,0.0,0.1,0.3,0.0,0.1,0.3,0.2,0.1,0.4,0.3,0.5,0.3,0.2,0.5,0.3,0.1,0.0,0.4,0.0,0.1,0.0,0.1,0.1,0.0,0.6,0.0,0.0,0.1,0.3,0.7,0.0,0.1,0.3,0.0,0.1,0.3,0.2,0.1,0.4,0.3,0.5,0.3,0.2...
0f9797ebc88c561f8c119a738fd5c8c13f04ed906adad4908b1d0bac125d27e7
JavaScript
11,729
429
/* ************************************ */ /* Define helper functions */ /* ************************************ */ //random ITIs for practice var practice_ITIs = [0.5,0.1,0.2,0.0] //optimized ITIs for test var test_ITIs = [0.816,0.544,1.904,0.816,0.408,0.136,1.088,0.272,3.944,2.176,2.176,2.312,2.176,0.0,0.272,0.272,0...
1600bdb187a4e82f2a1ff851569d66f94368dfb4657aa4072998b9dd67397374
JavaScript
11,916
386
function randomPoint(rect) { return {x: rect.x + Math.random() * rect.width, y: rect.y + Math.random() * rect.height}; } function generateRandomCircles(count, minRadius, maxRadius) { var range = {x : 0, y : 0, height : 1, width : 1}, output = []; for (var i = 0; i < count; ++i ) { ...
6747d54a1d5add6dd6142c64496ef33aa5274389a077e6c98bf136917f20bc67
JavaScript
12,044
432
import "../arrays/map"; import "../core/functor"; import "../core/identity"; import "../core/true"; import "../geom/point"; import "../math/abs"; import "../math/trigonometry"; import "svg"; function d3_svg_line(projection) { var x = d3_geom_pointX, y = d3_geom_pointY, defined = d3_true, interpolat...
d6d0523a06c57131d85455602271021b6af79d0ff6f6d85a7a648a981186574d
JavaScript
12,285
370
import "../arrays/map"; import "../format/requote"; import "../math/abs"; import "../time/day"; import "../time/time"; import "../time/week"; import "../time/interval"; function d3_locale_timeFormat(locale) { var locale_dateTime = locale.dateTime, locale_date = locale.date, locale_time = locale.time, ...
6d65939807b17be258ec4b28f33f6df34186913e9dc2be9fc0508a55d6785c54
JavaScript
12,288
352
/* d3.phylogram.js Wrapper around a d3-based phylogram (tree where branch lengths are scaled) Also includes a radial dendrogram visualization (branch lengths not scaled) along with some helper methods for building angled-branch trees. Copyright (c) 2013, Ken-ichi Ueda All rights reserved. Redistributio...
f73fd80c717232b4cea827691ba52be3bd87d358d47a4688a56e9dfe6875fd66
JavaScript
12,444
391
/** * jspsych-palmer * Josh de Leeuw (October 2013) * * a jspsych plugin for presenting and querying about stimuli modeled after * * Palmer, S. (1977). Hierarchical Structure in Perceptual Representation. Cognitive Psychology, 9, 441. * * and * * Goldstone, R. L., Rogosky, B. J., Pevtzow, R., & Blair, M. (200...
402ae469aeb5cf4484476dcfbdbb0f7dd1cfc31244f53201342653e578e321a2
JavaScript
12,731
387
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var randomDraw = function(lst) { var index = Math.floor(Math.random() * (lst.length)) return lst[index] } var ITIs = [0.136,0.0,0.272,0.544,0.0,0.0,0.0,0.0,0.0,0.272,0.136,0.408,0.136,0.0,0.272,0.0,0.1...
4b3a90243fab8be3b6359609d3c3abe901be0d32b70a94a0ab86ca94387e1184
JavaScript
12,798
6
/*! jQuery UI - v1.10.4 - 2014-05-31 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.progressbar.js * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function(t,e){function i(e,i){var s,o,a,u=e.nodeName.toLowerCase();return"area"===u?(s=e.parentNode,o=s.nam...
96652a5790a46fe292a28456646428d1dcecc0de9e5259afe95f62dcb5bdba3c
JavaScript
12,855
374
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.0,0.0,0.1,0.3,0.7,0.0,0.1,0.3,0.0,0.1,0.3,0.2,0.1,0.4,0.3,0.5,0.3,0.2,0.5,0.3,0.1,0.0,0.4,0.0,0.1,0.0,0.1,0.1,0.0,0.6,0.1,0.0,0.1,0.2,0.0,0.0,0.5,0.1,0.5,0.2,0.0,0.1,0.4,0.2,0.0,0.1,0.7,0.0...
148fee8ddaef1bb1152b00416b69b95139a5e4a25071827eb7d556b6dc30ca2f
JavaScript
12,897
369
c3_chart_internal_fn.isX = function (key) { var $$ = this, config = $$.config; return (config.data_x && key === config.data_x) || (notEmpty(config.data_xs) && hasValue(config.data_xs, key)); }; c3_chart_internal_fn.isNotX = function (key) { return !this.isX(key); }; c3_chart_internal_fn.getXKey = function (...
e17e17117269dc61284c23e2eca4d5fc33eab179cb6e5f4d55e2a6bd3638d809
JavaScript
13,048
330
// Features: // 1. category axis // 2. ceil values of translate/x/y to int for half pixel antialiasing // 3. multiline tick text var tickTextCharSize; function c3_axis(d3, params) { var scale = d3.scale.linear(), orient = "bottom", innerTickSize = 6, outerTickSize, tickPadding = 3, tickValues = null, tickFormat, ti...
1be3c326b869d59b945e699d3369842d2066812e5b503f6d3b8e902b278f577c
JavaScript
13,062
438
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var test_ITIs = [0.136,0.408,0.136,0.136,0.68,0.136,0.136,0.816,0.952,0.136,2.312,0.408,0.408,0.408,1.632,0.136,0.544,0.68,0.0,0.0,0.68,0.136,1.088,0.0,0.136,0.0,0.0,0.136,0.0,0.136,0.136,0.0,0.136,0.544...
0f82d4e9a7abcc271285cd3fe218f11b71765a98ad991a719655f911b4968afa
JavaScript
13,119
429
import "../core/identity"; import "../core/document"; import "../core/rebind"; import "../event/drag"; import "../event/event"; import "../event/mouse"; import "../scale/scale"; import "../selection/selection"; import "svg"; d3.svg.brush = function() { var event = d3_eventDispatch(brush, "brushstart", "brush", "brus...
62c300b9d1279e9018cccf16d0f089434bf44699ca6a4a03e6c8f615f3de9530
JavaScript
13,155
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35451,(e,t,r)=>{!function(){var e={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="fun...
134b68986f2cf7278032ff7ffc716363418c83e8a8812aabfd3deb8cbae5d05e
JavaScript
13,386
458
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var test_ITIs = [0.136,0.0,0.544,0.272,0.136,0.136,0.0,0.0,0.544,0.952,0.408,0.0,0.408,0.68,0.0,0.408,0.816,0.816,0.136,0.0,0.408,0.0,0.816,0.0,1.224,0.0,0.136,0.136,0.272,0.272,0.0,0.952,0.136,0.136,0.0...
dfc07a6d27e622ccdfc185778bd8fb5ad036dd93a3424a264b32028830b3c7cb
JavaScript
13,520
341
c3_chart_internal_fn.initEventRect = function () { var $$ = this; $$.main.select('.' + CLASS.chart).append("g") .attr("class", CLASS.eventRects) .style('fill-opacity', 0); }; c3_chart_internal_fn.redrawEventRect = function () { var $$ = this, config = $$.config, eventRectUpdate, maxD...
d81d4c44cfc3634bd3a46ed1688814bf2d4635f19da9e09c1cb6cba4ca0a3955
JavaScript
13,553
322
c3_chart_internal_fn.initLegend = function () { var $$ = this; $$.legendItemTextBox = {}; $$.legendHasRendered = false; $$.legend = $$.svg.append("g").attr("transform", $$.getTranslate('legend')); if (!$$.config.legend_show) { $$.legend.style('visibility', 'hidden'); $$.hiddenLegendI...
131a48fcb7a1a0e929146abeb1dcb21cd02184c40213ae11da7fadb8fc75bbdb
JavaScript
13,581
429
/* ************************************ */ /* Helper Functions */ /* ************************************ */ var get_ITI = function() { // ref: https://gist.github.com/nicolashery/5885280 function randomExponential(rate, randomUniform) { // http://en.wikipedia.org/wiki/Exponential_distributi...
0fa550948909da0ed221466f3f6b6ae38b61c9e316d846efbd8c6c84d6dd8bc5
JavaScript
13,772
365
describe('c3 chart grid', function () { 'use strict'; var chart, args; beforeEach(function (done) { chart = window.initChart(chart, args, done); }); describe('y grid show', function () { it('should update args', function () { args = { data: { ...
3e493379922bab64aa902f83259738d77461e69c7175b53927b836be3a3ca173
JavaScript
13,819
475
/*! * The reveal.js markdown plugin. Handles parsing of * markdown inside of presentations as well as loading * of external markdown documents. */ import { marked } from 'marked'; const DEFAULT_SLIDE_SEPARATOR = '\r?\n---\r?\n', DEFAULT_NOTES_SEPARATOR = 'notes?:', DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\...
0b44e36460d066ba2e00a4f1a0adb193ca14a99ce5c2222099a4247ba6ee9f01
JavaScript
14,139
6
// Underscore.js 1.5.1 // http://underscorejs.org // (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. !function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e....
19aed4a184a0f2f7c6c29eabd2b6f88d16b902c247bbababa4eea063533f7702
JavaScript
14,140
6
// Underscore.js 1.5.1 // http://underscorejs.org // (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. !function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e....
62faafbe1ee9aaf85fe790c252c5fccb8f41f0e2ce7dc040a3f8172d6ce1b281
JavaScript
14,647
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20955,(e,t,r)=>{!function(){var e={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="fun...
dadc989c1bf6d1b6adae990f978bae9024543b082a8b254761cfe80bb0dab7c1
JavaScript
14,683
524
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [0.136,0.136,0.272,0.408,0.68,0.0,0.0,0.0,0.0,0.0,0.136,0.272,0.272,0.0,0.408,0.0,0.0,0.0,0.136,0.544,0.272,0.136,0.0,0.544,0.136,0.136,0.136,0.136,0.136,0.136,0.136,0.272,0.136,0.0,0.544,0.13...
7c1d6196d5ed6733af44a80fc6cfa17b81dd9963dcbb7a6ad8a273f5781e3a87
JavaScript
14,849
438
/* ************************************ */ /* Helper Functions */ /* ************************************ */ var ITIs = [0.204,0.204,0.272,0.204,0.408,0.136,0.272,0.34,0.136,0.34,0.068,0.0,0.204,1.02,0.0,0.0,0.068,0.476,0.136,0.068,0.0,0.0,0.204,0.204,0.272,0.136,0.204,0.272,0.272,0.34,0.204,0.068,0...
72e823de030d525dd3d154d3fb5613bc3a9d49069cf6035d679fbca8ddb6a88c
JavaScript
15,151
394
c3_chart_internal_fn.initPie = function () { var $$ = this, d3 = $$.d3, config = $$.config; $$.pie = d3.layout.pie().value(function (d) { return d.values.reduce(function (a, b) { return a + b.value; }, 0); }); if (!config.data_order) { $$.pie.sort(null); } }; c3_chart_internal_fn.up...
43a6cb17de5b1213ab88aae87bc61849375c31b9b75013943c01b3ce2be6e3f7
JavaScript
15,234
36
/* RequireJS 2.1.11 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/jrburke/requirejs for details */ var requirejs,require,define; (function(ca){function G(b){return"[object Function]"===M.call(b)}function H(b){return"[object Array]"=...
52c4c787d1b22531c6c3a6f59da2cb27031ab1278600d0fe24865796178e5c8f
JavaScript
15,349
546
/* ************************************ */ /* Define helper functions */ /* ************************************ */ //random ITIs for practice var practice_ITIs = [0.5,0.1,0.2,0.0] //optimized ITIs for test var test_ITIs = [1.088,0.0,0.0,0.0,0.544,0.272,2.04,0.272,0.136,0.0,0.0,0.408,1.768,0.68,1.224,1.36,0.0,0.408,0....
1fb1ebe457187fa5bdf11fc16f9c1e13107787c077131dfe3cf6f9dbdea3b2d1
JavaScript
15,751
527
/* ************************************ */ /* Define helper functions */ /* ************************************ */ var ITIs = [1.224,0.408,0.816,0.408,0.136,0.136,0.0,0.0,0.272,0.408,0.0,0.136,0.0,0.408,0.272,0.0,0.272,0.0,0.0,0.272,0.136,0.0,0.0,0.0,0.0,0.0,0.136,0.0,0.0,0.136,0.0,0.136,0.68,0.272,0.136,0.0,0.136,0....
9e385ca7fb2d5aaae5fbcd002b193c2b31708892982ffe086e2c073e82df741d
JavaScript
15,757
385
c3_chart_internal_fn.initLine = function () { var $$ = this; $$.main.select('.' + CLASS.chart).append("g") .attr("class", CLASS.chartLines); }; c3_chart_internal_fn.updateTargetsForLine = function (targets) { var $$ = this, config = $$.config, mainLineUpdate, mainLineEnter, classChar...
3ff57d002716de99293cb779ecd24ce08d6ab5ca26c3976ad0a32cb0ff00dd76
JavaScript
16,029
506
/* * searchtools.js * ~~~~~~~~~~~~~~~~ * * Sphinx JavaScript utilities for the full-text search. * * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ if (!Scorer) { /** * Simple result scoring code. */ var Scorer = { // Implement the...
d375f04b4482e11bb7aea8fec9235f6759a40e9f4fc7526de6a7e29e822f72c8
JavaScript
16,332
439
import hljs from 'highlight.js'; /* highlightjs-line-numbers.js 2.8.0 | (C) 2018 Yauheni Pakala | MIT License | github.com/wcoder/highlightjs-line-numbers.js */ !function(r,o){"use strict";var e,i="hljs-ln",l="hljs-ln-line",h="hljs-ln-code",s="hljs-ln-numbers",c="hljs-ln-n",m="data-line-number",a=/\r\n|\r|\n/g;functio...
b038bcf4e9ddb5f60c93e49bfe7aeeaf40f8fcc2fa753ee56d1abe2bcb89a016
JavaScript
16,521
4
(function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parser...
ec9388d082c72b9ed4c819bf7d7e3f3ae09d08f1b80dff80552fae877d770df4
JavaScript
16,582
522
/* * searchtools.js * ~~~~~~~~~~~~~~~~ * * Sphinx JavaScript utilities for the full-text search. * * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ if (!Scorer) { /** * Simple result scoring code. */ var Scorer = { // Implement the...
7fdc6492f077942c82ff8ef6b7b7dcda12ba9f1a765929ef01cfe9fb550513cf
JavaScript
16,911
531
import {venn, normalizeSolution, scaleSolution} from "./layout"; import {intersectionArea, distance, getCenter} from "./circleintersection"; import {fmin} from "./fmin"; /*global d3 console:true*/ export function VennDiagram() { var width = 600, height = 350, padding = 15, duration = 1000,...
286d60715208e318fd5113fe86a4a727f9f50e7a96f7e461f767bb3d0876bfcb
JavaScript
17,041
7
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(e){try{return!!e()}catch(e){return!0}},n=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r=function(e){return e&&e.Math==M...
0a41491712ca8e939cfd5dc1fa03af918c7d1d249d2f41566812ef1967146c27
JavaScript
17,150
383
function Axis(owner) { API.call(this, owner); } inherit(API, Axis); Axis.prototype.init = function init() { var $$ = this.owner, config = $$.config, main = $$.main; $$.axes.x = main.append("g") .attr("class", CLASS.axis + ' ' + CLASS.axisX) .attr("clip-path", $$.clipPathForXAxis) ...
a3607816a4d21d69727d62ce4e997ba32a720765a46c123f9ee4052d9a463d45
JavaScript
17,245
7
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealSearch=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"...
2aaaa981eca311ea472525c3f29b724fdee22e0ccda2afd85ef39d495c55e976
JavaScript
17,628
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";function n(...
25e9762c6730663b324f9bc9f4009363c7b20d014af85d3f8694bd3cf2ac1694
JavaScript
17,871
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";function n(...
8465b652b8b3a9f8f21211644bb32b89016552e86b3077df1851266deccb48e2
JavaScript
18,463
720
/* jQuery.wizard v1.1.2 https://github.com/kflorence/jquery-wizard/ An asynchronous form wizard that supports branching. Requires: - jQuery 1.6.0+ - jQuery UI widget 1.9.0+ Copyright (c) 2014 Kyle Florence Dual licensed under the MIT and GPLv2 licenses. */ (function( $, undefined ) { var excludesFilter, count = ...
4fda8af359a56cdbfd0e4c6ea38c7bfa082de7f7c40aea8212727333dadd427f
JavaScript
18,779
720
(function(){science.stats = {}; // Bandwidth selectors for Gaussian kernels. // Based on R's implementations in `stats.bw`. science.stats.bandwidth = { // Silverman, B. W. (1986) Density Estimation. London: Chapman and Hall. nrd0: function(x) { var hi = Math.sqrt(science.stats.variance(x)); if (!(lo = Math...
46eb8a60a323785768259cd8dfd1c10d85f98f4b038a2486a4ae9f256dff706f
JavaScript
18,990
302
// This product includes color specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/). var colorbrewer = {YlGn: { 3: ["#f7fcb9","#addd8e","#31a354"], 4: ["#ffffcc","#c2e699","#78c679","#238443"], 5: ["#ffffcc","#c2e699","#78c679","#31a354","#006837"], 6: ["#ffffcc","#d9f0a3","#addd8e","#78c679...
28a9331bc688278e0088c64f906feeaf2a7eafeca2831c97f8a79399ff697a3b
JavaScript
19,457
4
(function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!=="undefined"){a=exports}else{a=t.Backbone={}}a.VERSION="1.0.0";var h=t._;if(!h&&typeof require!=="undefined")h=require("underscore");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=...
151bf09fc7425acd6c22c5598502bfab558e253230d49f272760caa85f930c3c
JavaScript
19,458
4
(function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!=="undefined"){a=exports}else{a=t.Backbone={}}a.VERSION="1.0.0";var h=t._;if(!h&&typeof require!=="undefined")h=require("underscore");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=...
25f436e933246f279adc4967725a4d915e0fc7a6419d3b956a945bb5782dc6e5
JavaScript
19,526
6
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){ // Underscore.js 1.13...
fb6553e1f0cd1ac52c4dd45e159381502e1960778b2000ad6489646f20acfb9e
JavaScript
19,567
587
--- --- (function (jtd, undefined) { // Event handling jtd.addEvent = function(el, type, handler) { if (el.attachEvent) el.attachEvent('on'+type, handler); else el.addEventListener(type, handler); } jtd.removeEvent = function(el, type, handler) { if (el.detachEvent) el.detachEvent('on'+type, handler); else el.rem...
de866a3965cea96f92ed595f52405de2e32a0a01f2c6cb2f034bf0de2d36bdf8
JavaScript
19,728
6
/** * @popperjs/core v2.11.4 - MIT License */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return w...
8e93285853ceabfc761ec08d1f42efd1c846126cd70030a78c80e63377a34668
JavaScript
20,292
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89129,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{DecodeError:function(){return h},MiddlewareN...
9115660392c9135799a1f5b5c1b0d8b4ca4a9e5c7f2a7562ade983a04561f897
JavaScript
20,382
1
Search.setIndex({docnames:["EEG_analysis","ams_nams","bs_to_tap","bs_to_tap_markdown","commands","decision_tree","decision_tree_markdown","getting-started","getting_started_markdown","index","moving_averages","moving_averages_markdown","participant_selection_based_on_alignment","pre-process","utils"],envversion:{"sphin...
d9fb99a87f0fb07908f88911e28e3fb91b6804dbf1158223c43131c81c306d97
JavaScript
20,540
584
/** * jspsych-survey-multi-choice * a jspsych plugin for multiple choice survey questions, an enhancement/combination of survey-multi-choice, survey-likert and instructions plugins * * A. Zeynep Enkavi * * documentation: https://github.com/expfactory/expfactory-battery/tree/master/static/js/jspsych/poldrack_plugi...
a5028253da341c80d0274ebce59cf492be2136a28c54930d6c8e0d94f5db6b4c
JavaScript
20,808
4
/*! jQuery Validation Plugin - v1.12.0 - 4/1/2014 * http://jqueryvalidation.org/ * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */ !function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a....
c8a5f61d91a25526c015d893e7f7d2360283b698916372bb2d8f5fa69dc941ae
JavaScript
21,267
441
describe('c3 api focus', function () { 'use strict'; var chart; var args = { data: { columns: [ ['data1', 30, 200, 100, 400], ['data2', 1000, 800, 500, 2000], ['data3', 5000, 2000, 1000, 4000] ] } }; beforeEac...
6910beed394138d7337994c79aadc7a1975a3400175dd3ba9d8380f9c7b50571
JavaScript
22,841
657
import {fmin, bisect, minimizeConjugateGradient, zeros, zerosM, norm2, multiplyBy} from './fmin'; import {intersectionArea, circleOverlap, circleCircleIntersection, distance} from './circleintersection'; /** given a list of set objects, and their corresponding overlaps. updates the (x, y, radius) attribute on ...
4b5ecd99adbc12b31217be3c805613a051779f3195a790b35d3aa77bb139c795
JavaScript
25,168
1
Search.setIndex({"alltitles": {"Client_config module": [[0, null]], "Communication_for_stimulation module": [[1, null]], "Contents:": [[9, null]], "ControlPort module": [[2, null]], "Electrode_mapping module": [[3, null]], "GUI module": [[4, null]], "Indices and tables": [[9, "indices-and-tables"]], "Inkuflow module": ...
44a3c1ee61dfeeb01f9aa4539c3dd1d81da1c6b042666f31b1a9ef9c822002af
JavaScript
27,484
2
/* Chosen v1.3.0 | (c) 2011-2014 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ !function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.pro...
77a353c112eabf88bcecafc570a0a82889a6055cdcd3d7bae126c71712c3ce70
JavaScript
28,581
9
/** * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2022 Kiro Risk (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */ var e, t; e = this, t = function () { "use strict"; function e(e, t) { var n = Object.keys(e); ...
f95a2492bbae39ac64dafca1075ddce526daa2096b449cc67350128dc2182ca2
JavaScript
29,111
6
/*! * Bootstrap v3.1.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createEle...
f9919006a6b151c6f14014f73e217bfae4bd13ca188e9625336e1758458b19e0
JavaScript
30,359
769
describe('c3 chart axis', function () { 'use strict'; var chart; var args = { data: { columns: [ ['data1', 30, 200, 100, 400, 150, 250], ['data2', 50, 20, 10, 40, 15, 25], ['data3', 150, 120, 110, 140, 115, 125] ] }, ...
05b967361b268a85468423577c4e1d88dd41be07563128ecfdcc26e4b5a0aa4d
JavaScript
31,199
1
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==type...
da48a90810422f96c61054a3e16a6d1e6a4111a03f79cf6b2e16c07fc635059b
JavaScript
31,211
61
/** * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 * Copyright (C) 2020 Oliver Nightingale * @license MIT */ /** * ORIGINAL MIT LICENSE * Copyright (C) 2013 by Oliver Nightingale Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
5293d6074f9377baa58348ab07d8471f7287b78868a36b284203fcf16cb07530
JavaScript
31,388
1
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).RevealMath=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"un...
d99de2d13fcd760006b70a6d5326ac037bd42c34c612d9db30768cf06d0f5465
JavaScript
32,452
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91915,(e,r,t)=>{"use strict";function n(e,r){if(void 0===r&&(r={}),r.onlyHashChange)return void e();let t=document.documentElement;t.dataset.scrollBehavior;let n=t.style.scrollBehavior;t.style.scrollBehavior=...
70503256a81140f408a4454e79ab571d97a69a99c48e55fa87f0df4b47516182
JavaScript
35,086
1,008
var c3 = { version: "0.4.10" }; var c3_chart_fn, c3_chart_internal_fn, c3_chart_internal_axis_fn; function API(owner) { this.owner = owner; } function inherit(base, derived) { if (Object.create) { derived.prototype = Object.create(base.prototype); } else { var f = function f() {}...
c8eeec83fe8bf655eeeda291466d268770436dde4e3e40416a85d05d3893e892
JavaScript
35,452
7
/*! * Bootstrap v3.3.2 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split...
5e3a6594eed51e13b55ee755fd495e5a7de02fa3193fff97bc19b46f47e52522
JavaScript
37,128
1
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).RevealMenu=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"...
ad9ccb8aabfb2ed269f0b894e8129cb80ad3f5c6d294630d0c00992236eec4d6
JavaScript
40,847
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},98183,(e,t,s)=>{"use strict";function r(...
2c50c5daf9b767902842303b50772eb93403a038547000ede3ee5cd26d3dc925
JavaScript
41,383
1,877
/** * * Javascript library to display phylogenetic trees * */ //-------------------------------------------------------------------------------------------------- // http://stackoverflow.com/questions/3019278/any-way-to-specify-the-base-of-math-log-in-javascript function log10(val) { return Math.log(val) / Math....
83164ed42ec159f86153c313732c84d081c9b7598ecb318b6acc0a7f03ada14b
JavaScript
41,499
964
/** * Display a nice easy to use multiselect list * @Version: 2.4.22 * @Author: Patrick Springstubbe * @Contact: @JediNobleclem * @Website: springstubbe.us * @Source: https://github.com/nobleclem/jQuery-MultiSelect * * Usage: * $('select[multiple]').multiselect(); * $('select[multiple]').multiselect({...
85bded0d80b8a5abbb113c14643d9dfc0a927c2dc7cb478edc526286ef69c97c
JavaScript
42,744
1,590
/** * jspsych.js * Josh de Leeuw * * documentation: docs.jspsych.org * **/ var jsPsych = (function() { var core = {}; // // private variables // // options var opts = {}; // experiment timeline var timeline; // flow control var global_trial_index = 0; var current_trial = {}; // target D...
0d81ddb0211d22ba5bf752efb3a7cb2ab9522df421c6164981d44df088655faa
JavaScript
43,281
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},98183,(e,t,s)=>{"use strict";function a(...
2ca14e6d008bd8f95bfe820d15e77306a039a38a3febb258a801faf1a2191c71
JavaScript
43,755
1,277
/*! * jQuery Form Plugin * version: 3.50.0-2014.02.05 * Requires jQuery v1.5 or later * Copyright (c) 2013 M. Alsup * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses. * https://github.com/malsup/for...
a804acc98d3fdad1b6ef818c8fea0bd7d6b1e25d74e3f414695675d93e2fd240
JavaScript
50,890
1,220
describe('c3 chart data', function () { 'use strict'; var chart, args; beforeEach(function (done) { chart = window.initChart(chart, args, done); }); describe('load json', function () { it('should update args', function () { args = { data: { ...
e3c353bd91949e7ba507b6260232be70427dd17b1d91045f7d05191b3439b1b1
JavaScript
54,632
1,360
// ============================================================================ // web/af2bind.js // ============================================================================ // Standalone AF2BIND viewer application // Combines essential utilities from app.js and utils.js // Removes all MSA, PAE, ligand, and biounit...
eb582c4e1d92994dc12a5a237a64013b75a7c307d682336006cdc2d765095da1
JavaScript
64,500
1,775
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define('venn', ['exports'], factory) : factory((global.venn = {})); }(this, function (exports) { 'use strict'; /** finds the zeros of a function, ...
7cc0e9cf8161f41dd37033a6d4179813b84a68281c13c028697fbb91ac9f068d
JavaScript
64,606
1
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4768,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,r,a){let u=a.leng...