text
stringlengths
5.97k
41.2k
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // Maximum number of bytes pushable to the stack const MAX_SCRIPT_ELEMENT_SIZE = 520; // M...
const { createCanvas, Image } = require('../../export') const fs = require('fs') const path = require('path'); const out = fs.createWriteStream(path.join(__dirname, "..","..")+ '/distanceField.png'); const canvas = createCanvas(900, 2100); var gl = canvas.getContext("webgl"); var vs_source = "attribute vec2 aVertexPo...
"use strict"; const global_Object_assign = global.Object.assign; const global_String = global.String; const global_JSON_stringify = global.JSON.stringify; const global_Math_floor = global.Math.floor; const global_Math_random = global.Math.random; const global_Date_now = global.Date.now; const global_Reflect_apply = gl...
$person_wrap_width = $('.person_wrap').width(); var timer = null; var pic_num=2; var lv=1; //存放关数 var tietou = []; //存放铁头人数的数组 var rnd_arr=[]; //存放徐峥随机数字的数组 取最后那个就是。 var tietou_num = 4; //存放铁头个数 var suipianbol = false; var timer_set = null; var padd = 7; var timer_txt=null; var background_sound = document.getEleme...
/** * Copyright (c) 2020 by <NAME> * Virtual Prism * https://virtualprism.tech * "VISUAL FIELD ADJUSTMENT TOOLS FOR WEBXR" * * All Rights Reserved * ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license) * Redistribution and use in source and binary forms, with or without * modification, are perm...
var m2pRate = 59; var end = 1; var stone = 0; var records = []; var first = ''; var second = ''; var scores = [[], []]; var shots = []; var realShots = []; var fillColors = ['rgb(255, 0, 0)', 'rgb(255, 255, 0)']; var drawColors = ['rgb(255, 128, 128)', 'rgb(200, 200, 0)']; var firstPlayers = []; function ltltlt() { ...
var _DEBUG = { force_fisher: false, force_yates: false, force_sig_pass: false }; _ct_json = {}; _event_list = []; _events_count = 0; _users_count = 0; _events_stat = {}; var _load_csv_to_ct_json = function (_csv) { if (_csv === undefined || _csv.trim() === "") { return; } _csv = ...
function Folder(folderDescription, hreference, open, closed) //constructor { //constant data this.imgopen = open; this.imgclosed = closed; this.desc = folderDescription; this.hreference = hreference; this.id = -1; this.navObj = 0; this.iconImg = 0; this.nodeImg = 0; this.isLastNode = 0; ...
/* * Copyright 2005 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
var lib = require('./lib'); var parser = require('./parser'); var nodes = require('./nodes'); var Object = require('./object'); var Frame = require('./runtime').Frame; // These are all the same for now, but shouldn't be passed straight // through var compareOps = { '==': '==', '!=': '!=', '<': '<', '>...
import EventBus from './utils/EventBus'; import Matcher from './utils/Matcher'; import { patternToWords, hashCode, gcd, prop } from './utils/libs'; import { registerEvent, getPixelRatio, raf } from './utils/dom'; import THEMES from './utils/themes'; /* type Hash = String type Pixels = Number type String = String ty...
//cuando carga el documento modificamos los controles de acuerdo al status de la venta $(function(){ var botonPrimario = $("#btn-primario-venta"); var botonCancelar = $("#btn-cancelar-venta"); if (statusVenta == "COTIZACION") { botonPrimario.attr("data-target","#cerrar-cot"); botonPrimario.html("Cerrar Cotiz...
function setDataStartEnd(startDate, endDate) { $(document).on("focus", "#" + startDate, function (event) { $dp.$('endDate'); WdatePicker({onpicked: function () { $('#' + endDate)[0].focus(); }, maxDate: '#F{$dp.$D(\'' + endDate + '\')}'}) }); $(document).on("...
"use strict"; var TextSegment = function(source, start_index, end_index) { var self = this; var src = source; var start = start_index; var end = end_index; }; function TextSeg(masterscript, transcript, m_s2t, m_t2s) { this.mswords = masterscript.getWords(); this.twords = transcript.getWords(); this.n_m...
/* * ******************************************************************************************* * @author: <NAME> (Kyri123) * @copyright Copyright (c) 2019-2020, <NAME> * @license MIT License (LICENSE or https://github.com/Kyri123/KAdmin-Minecraft/blob/master/LICENSE) * Github: https://github.com/Kyri123/KAdmin-Minec...
/** * @license * Copyright 2018 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
import WeavyPromise from './common/promise'; import WeavyUtils from './common/utils'; /** * Is ShadowDOM supported by the browser? * @type {boolean} */ const supportsShadowDOM = !!HTMLElement.prototype.attachShadow; /** * Is constructable stylesheets supprted by the browser? * @type {boolean}...
// Document Ready $(function() { // Bind datetime picker // http://xdsoft.net/jqplugins/datetimepicker/ $("#event_form input[name='startDate']").datetimepicker({ format: "Y-m-d H:i", onChangeDateTime: function(dp,$input){ var time = padDigit(dp.getHours()) + ':' + padDigit(dp.getMinutes()); $(...
import { View, Text, StyleSheet, PixelRatio, Animated, Image, Platform, SectionList, TouchableOpacity, Alert } from 'react-native'; import React, { Component } from 'react'; import pinyin from 'js-pinyin'; import PropTypes from 'prop-types'; import { sTrim } from './utils'; import SearchService f...
const https = require('https'); const fs = require('fs'); const path = require('path'); const version = '2.1.0'; const debugLogging = false; const toDownload = JSON.parse( fs.readFileSync(path.resolve(__dirname, 'to-download.json'), { encoding: 'utf8' }) ); const extraStats = { "Devilsaur Gauntlets": { ...
/* The MIT License (MIT) Copyright (c) 2014 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis...
/** * Main application file. * * In this file all the processing and API calls are happening. * @author: <NAME> <<EMAIL>> * @since: 0.1 */ //app variables //var appId = '314615535233400'; //var channelFile = 'https://www.saveme4later.net/facebook/savepromo/channel.php'; //var scope = 'email,publish_stream'; //va...
const assert = require('assert'); const $ = require('jquery'); const Hammer = require('hammerjs'); const d3 = require('d3'); require('d3-selection-multi'); require('d3-transition'); const last = array => array[array.length - 1]; const last2 = array => last(last(array)); class Char { static _lastKey = -1; con...
var speedcontrolBundle = "nodecg-speedcontrol"; var runDataActiveRun = nodecg.Replicant("runDataActiveRun", speedcontrolBundle); var optionsActiveData = nodecg.Replicant("optionsNextData"); var timer = nodecg.Replicant("timer", speedcontrolBundle); var runDataArray = nodecg.Replicant("runDataArray", speedcontrolBundle)...
import FormItem from "antd/es/form/FormItem"; import TextArea from "antd/es/input/TextArea"; import React from "react"; import moment from "moment"; import { Input, Select, Radio, Checkbox, DatePicker, TimePicker, Button, Upload, Icon, Row, Col, Card, message, } from "antd"; import emitter fro...
const tXml = require('.'); const assert = require('assert'); const fs = require('fs'); const files = { commented: __dirname + '/test/examples/commented.svg', commentOnly: __dirname + '/test/examples/commentOnly.svg', twoComments: __dirname + '/test/examples/twocomments.svg', tagesschauRSS: __dirname + '/te...
'use strict' const { TTSLuaDir, docsFolder, FileHandler } = require('./filehandler') const TTSParser = require('./bbcode/tabletop') const vscode = require('vscode') const path = require('path') const net = require('net') const fs = require('fs') class TTSAdapter { constructor (extensionPath) { this._dir = vscod...
const { pass } = require('../function/pass') const { pipe } = require('../function/pipe') const __fp = (func) => (...args) => (x) => func(x, ...args) const _fp = (func) => { if (func.length === 1) { return func } const fp = __fp(func) if (func.$$$) { fp.$$$ = __fp(func.$$$) } return fp } const { chunk } = require...
import React, { Component } from 'react'; import { browserHistory, Link } from 'react-router'; import Styled from 'styled-components' import AppStyle from '../../config/style' import _ from 'lodash' import moment from 'moment' import store from 'store' import { phoneFormatter } from '../../functions/index'; import La...
/* jshint esversion: 6 */ //============ // BACK END //============ function Game() { this.char = undefined; this.rollCount = 3; this.statsToAlloc = 5; this.ready = false; this.enemies = []; this.enemyLevel = 1; this.characters = []; this.fightRound = 0; } function Character() { this.name = ""; th...
'use stritc'; /**插件库**/ var gulp = require('gulp'); var yargs = require('yargs').argv; //获取运行gulp命令时附加的命令行参数 var clean = require('gulp-clean'); //清理文件或文件夹 var replace = require('gulp-replace-task'); //对文件中的字符串进行替换 var browserSync = require('browser-sync'); //启动静态服务器 var uglify = require('gulp-uglify'); //js压缩混淆 var css...
// read in extra arguments, this is to help deploy across multiple networks // myArgs[0] = first extra argument.. etc var myArgs = process.argv.slice(6, 9); const _ = require('underscore'); const { BN, time } = require('@openzeppelin/test-helpers'); const { ZERO_ADDRESS } = require('@openzeppelin/test-helpers/src/cons...
import React, { Component } from 'react' import _ from 'lodash' import NPCData from './../../data/npc_randomizer.json' import NPCStats from './../../data/npc_stats.json' const getData = _.chain(NPCData) .map(function(data) { return data }) .sort().flatten().uniq().value() const getRaces = _.chain(NPCData) ...
import React, { Component } from 'react'; import { Tree, Checkbox, Button, Input, Icon } from 'antd' import styles from "./TreeSelectTransfer.less" const { TreeNode } = Tree; function toTree(data) { // 删除 所有 children,以防止多次调用 data.forEach(function (item) { delete item.routes; }); // 将数据存储为 以 id ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
$.fn.select2.defaults.set('language', 'ru'); $.fn.select2.defaults.set('debug', true); $.ui.autocomplete.escapeRegex = function(t) { t = t || ""; tmap = BS_BT_Utils.translitMap(t); return tmap[0].replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&") + "|" + tmap[1].replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"); }...
/** * [datetime-picker] * * date-format: optional, date format e.g. 'yyyy-MM-dd' * year: optional, year selected, e.g. 2015 * month: optional, month selected, e.g. 5 * day: optiona, day selected, e.g. 31 * hour: optional, hour selected, 23 * minute: optional, minute selected, 59 * date-only: optional, if set, ...
var http = require('http'); var dgram = require('dgram'); var url = require("url"); var s = require('fs'); var file = require('fs'); var chat_client = require('dgram').createSocket('udp4'); var val = true; var rand_id = 0; var stock = []; var stock_count = 0; var final_list = []; var send_string = ""; var node_string =...
mapboxgl.accessToken = '<KEY>'; function setupMap(mapboxglOptions, origin, midPoints, destination,) { const map = new mapboxgl.Map(mapboxglOptions); // Hosea Kutako International Airport // Endpoint Hosea Kutako International Airport // A simple line from origin to destination. const route = { ...
var LastAssignedNumber = 0; SystemTables = [ { Name: "Omnius::AppRoles", Columns: ["Id", "Name", "Priority", "ApplicationId"] }, { Name: "Omnius::Users", Columns: ["Id", "DisplayName", "Company", "Job", "Address", "Email"] }, { Name: "Omnius::LogItems", ...
/* Copyright 2021 <NAME> & Association BDovore * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and t...
const Error = require("./Error"); const utils = require("./utils"); const Internal = require("./Internal"); const Document = require("./Document"); const internalCache = Internal.Schema.internalCache; class Schema { constructor(object, settings = {}) { if (!object || typeof object !== "object" || Array.isArray(obje...
const qs = require('querystring'); const { join, dirname } = require('upath'); const { writeFileSync } = require('fs'); const logger = require('winston'); const mkdirp = require('mkdirp'); const pipe = require('p-pipe'); const Enforcer = require('openapi-enforcer'); const { getShortEndpointName } = require('./utils/end...
"use strict"; /* Have one prototype dungeon room with six exits, and disable exits as appropriate Have themes and regions Whether an exit is present is set by exit_???, and its type by exit_???_type */ const dungeon = { size:6, cellSize:50, mapSize:550, mapOffset:50, mapOptions:{showUpDown:true, showYouA...
const chai = require('chai'); const sinon = require('sinon'); const should = chai.should(); const Service = require('../../'); const Services = { BCH: Service.BCH.WalletService, BTC: Service.BTC.WalletService, LTC: Service.LTC.WalletService }; const owsCommon = require('@owstack/ows-common'); const btcLi...
var search = { version: 0, config: { focusData: [], calendarTmpl: '<% _.each(items, function(item) { %>\ <dl class="e_clear" data-id="<%= item.id %>">\ <dt style="background-image:url(<%= item.logo %>)"></dt>\ <dd>\ <di...
#!/usr/bin/env node /* jshint node:true, evil:true */ "use strict"; var fs = require('fs'); var htmlparser = require('htmlparser2'); var commander = require('commander'); // Two ES6 shims if (String.prototype.startsWith === undefined) { String.prototype.startsWith = function(str) { if (this.length < str.length) ...
'use strict' // todo // const getStations = require('db-stations').full const tapePromise = require('tape-promise').default const tape = require('tape') const isRoughlyEqual = require('is-roughly-equal') const validateFptf = require('validate-fptf') const validateLineWithoutMode = require('./validate-line-without-mod...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.MapFishPrintV3GeoJsonSerializer = void 0; var _Vector = _interopRequireDefault(require("ol/source/Vector")); var _GeoJSON = _interopRequireDefault(require("ol/format/GeoJSON")); var _Style = _interopRequireDe...
// 의존성 모듈 var CSON, async, phantomjs_node, irc; try { CSON = require('cursive'); async = require('async'); phantomjs_node = require('phantom'); irc = require('irc'); } catch (e) { console.log('봇을 실행하기 전에 먼저 다음 명령을 실행해주세요: '); console.log('npm install .'); process.exit(1); } // node.js api va...
//function getDomainFromUrl(url){ // var host = "null"; // if(typeof url === "undefined" || null === url) // url = window.location.href; // var regex = /.*\:\/\/([^\/]*).*/; // var match = url.match(regex); // if(typeof match != "undefined" && null != match) // host = match[1]; // return host; //} //function checkF...
import Promise from 'bluebird' export const featureMethods = [ 'normalizePackage', 'getVersionMap', 'getLatestMap', 'getTarballUrls', 'loadManifests', 'getFinder', 'getFileManager', 'find', 'findBy', 'findByName', 'startAsync', 'getOutdated', 'createSnapshot', 'getDependenciesMap', 'findD...
// evil Array.prototype.remove = function(from, to) { var rest = this.slice((to || from) + 1 || this.length); this.length = from < 0 ? this.length + from : from; return this.push.apply(this, rest); }; if (!window.console) window.console = {}; if (!window.console.log) window.console.log = function() {}; w...
import { __commonJS, __toESM } from "./chunk-U3RQVIYY.js"; // node_modules/@azizka/i18n/src/utils.js var require_utils = __commonJS({ "node_modules/@azizka/i18n/src/utils.js"(exports, module) { function isObject(obj) { const type = typeof obj; return type === "function" || type === "object" && !!...
import { images } from '../app/load_resources' import { msg } from '../app/messages' import { infoBubble, INFO_BUBBLE_TYPE_SEGMENT } from '../info_bubble/info_bubble' import { system } from '../preinit/system_capabilities' import { saveStreetToServerIfNecessary, createDataFromDom } from '../streets/data_model' import {...
/** * @prettier */ import React from 'react' import { StyleSheet, View, ActivityIndicator, StatusBar, TouchableWithoutFeedback, Modal, TouchableOpacity, ToastAndroid, } from 'react-native' import { Text } from 'react-native-elements' import { GiftedChat, utils as GiftedUtils } from 'react-native-gifte...
var monthNameToNumber = new Map(); monthNameToNumber.set('January', 0); monthNameToNumber.set('February', 1); monthNameToNumber.set('March', 2); monthNameToNumber.set('April', 3); monthNameToNumber.set('May', 4); monthNameToNumber.set('June', 5); monthNameToNumber.set('July', 6); monthNameToNumber.set('August', 7); mon...
'use strict'; // depending on where this script is utilized (e.g. within an HTML web resource), // we may have to obtain the Xrm object from the parent var xrm = typeof(Xrm) !== "undefined" ? Xrm : parent.Xrm; var globalContext = xrm ? xrm.Utility.getGlobalContext() : {}; var clientContext = globalContext ? globalCont...
layui.define(function(exports) { var admin = layui.admin; layui.config({ base:'../' }).extend({ index:'lib/index' }).use(['index','form', 'element', 'table', 'laydate', 'laypage', 'layer'], function() { var $ = layui.$, admin = layui.admin, form = layui.form, element = layui.element, table = layu...
const {initAdminApi} = require('../lib/utils'); const createPost = (z, {inputData, authData}) => { const api = initAdminApi(z, authData); const queryParams = {}; // convert list of slug strings into minimal tag/author objects so that the // API can perform lookups const tagSlugs = inputData.tags |...
var _ = require('lodash'); var EventEmitter = require('events').EventEmitter; var jaroWinklerDistance = require('jaro-winkler'); /** * Dedupe class */ module.exports = class Dedupe extends EventEmitter { /** * Instance settings * Can be set using the utility funciton `set(key, val)` * @type {Object} The settings...
import React, { useState} from 'react'; import * as Yup from 'yup'; import { TextField } from 'formik-material-ui'; import { Formik, Form, Field } from 'formik'; import { makeStyles } from '@material-ui/core/styles'; import { Button, Avatar, MenuItem, Fab, InputLabel, Select, Input, Checkbox, FormControl, ListItemText ...
// ==UserScript== // @name UofS TimeTable Enhancer // @namespace http://tampermonkey.net/ // @version 0.1 // @description A bit of Javascript for enhancing the LAF of the timetable page on the usask website // @author <NAME>, <NAME>, <NAME>, <NAME> // @match https://pawns...
var TableOfContents = { params: undefined, fixedHeight: 0, isOverflow: false, init: function(params){ this.params = params; if(TableOfContents.isMobile()){ return; } var nodes = this.extractNodes(); if (!nodes.nodes || nodes.nodes.length ==0 || (node...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ const C_i = Components.interfaces; const UNORDERED_TYPE = C_i.nsIDOMXPathResult.ANY_UNORDERED_NODE_TYPE; // Inst...
import {extend,each} from './util'; import { createElement } from "./util/dom"; import Moment from 'moment'; import "./sass/index.sass"; Moment.locale("zh-cn"); //模板 const template = (data) => ` <div class="datepicker"> <div class="calendar"> <div class="calendar-nav"> <div class="...
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { toLower as lodashToLower, values as lodashValues, each as lodashEach, includes as lodashIncludes, } from 'lodash'; import lodashDebounce from 'lodash/debounce'; // eslint-disable-next-line import/no-un...
var loggedUsername; var votingPower; var steemconnect; var profilePicSrc; var deferredFollowing; var errors = ""; //change to timestamp in miliseconds var minTime; var maxTime; var minValue; var maxValue; var totalReward; var totalTime; var minRep; var maxRep; var minWc; var maxWc; var postContains; //Think more about ...
import { each, get } from 'lodash' import Leaflet from 'leaflet' import moment from 'moment' import layerZoomMap from '@/resources/layer-zoom-map' const lodash = { each, get } const geoUtils = { /** * Reorder the values of an array of coordinates switching the position of lat and long of each coordinate * @pa...
// MIT License // Copyright (c) 2018 Ivan // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, pub...
var exec = require('child_process').exec; var ps = require('ps-node') var fs = require('fs'); var async = require('async') var prompt = require('prompt') prompt.start(); let config = require('./config') let ports = config.ports let setup = config.setup let constellation = require('./constellation/constellation') let...
var total_amount = 0.00; var discount_amount = 0.00; var SUBMIT_TYPE_CONFIRM = 1; var SUBMIT_TYPE_TEMP_SAVE = 2; var removedPOItems = []; var edit_type = 0; function resetAddItemFields() { $("#form_add_product_item")[0].reset(); $("#product_upc").val(""); } function resetList() { total_list_items = 0; total_amo...
var folderAccountProps = { addTab: function() { /* => TB78 // Insert a new dropdown dynamically into the first tab of the properties menu // Can't use ovelay because parent has no id // Create a menuPopup to contain our menuItems var menuPopup = document.createElement("menupopup...
/// <reference types="./WebGLState.d.ts" /> /// <reference lib="dom" /> import { AddEquation, AdditiveBlending, AlwaysDepth, BackSide, CullFaceBack, CullFaceFront, CullFaceNone, CustomBlending, DoubleSide, DstAlphaFactor, DstColorFactor, EqualDepth, GreaterDepth, GreaterEqualDepth, LessDep...
const en = { 'activate-poll': 'Activate Poll', 'activate-raffle': 'Activate Raffle', 'active': 'Active', 'add': 'Add', 'add-playlist': 'Add Playlist', 'add-video': 'Add Video', 'all-playlists': 'All Playlists', 'all-polls': 'All Polls', 'all-raffles': 'All Raffles', 'all-users': ...
/** * External dependencies */ import classnames from 'classnames'; import { omit } from 'lodash'; /** * WordPress dependencies */ import { RawHTML, Platform, useRef, useCallback, forwardRef, } from '@wordpress/element'; import { useDispatch, useSelect } from '@wordpress/data'; import { pasteHandler, childr...
// Paho is our mqtt client lib /* global Paho */ // Marked is a Markdown parser /* global marked */ // m is our mvc /* global m */ // underscore is a functional utility lib /* global _ */ // Bert encodes and decodes our payload /* global Bert */ // Handles time just a bit better in js /* global moment */ /** @namespac...
var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; //import { compose } from '@typed/compose...
import terminal from 'terminal-kit'; const {terminal: term, TextTable, TextBox} = terminal; class layout{ constructor(){ this.tables = {} this.boards = {} this.document = term.createDocument() this.scrollableGroups = {} this.Input_actions = {} this.keyBoardContext = {} this.#start() } ...
const fs = require('@sap/cds-foss')('fs-extra') const path = require('path') const BuildTaskHandlerOData = require('../buildTaskHandlerOData') const { getHanaDbModuleDescriptor } = require('../mtaUtil') const { OUTPUT_MODE_RESULT_ONLY, BUILD_OPTION_OUTPUT_MODE, FILE_EXT_CDS, SEVERITY_ERROR } = require('../constants') c...
/** * Copyright (c) 2017 Uncharted Software Inc. * http://www.uncharted.software/ * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwn...
const assert = require('assert') const jsc = require('jsverify') const { SkipList } = require('../src/skip_list') function iter(array) { return array[Symbol.iterator].bind(array) } describe('SkipList', () => { describe('.indexOf()', () => { it('should return -1 on an empty list', () => { let s = new Ski...
// setup english translations const en = { generic: { loadingError: 'Unable to load data.', sendingMessage: 'Sending in progress...', sendedMessage: 'Sending succeed!' }, pages: { home: 'Home', terms: 'Terms', signIn: 'Sign in', signUp: 'Sign up', signUpConfirm: 'Registration confirmation', logout:...
/* # Mantis - a php based bugtracking system # Copyright 2000 - 2002 <NAME> - <EMAIL> # Copyright 2002 MantisBT Team - <EMAIL> # Mantis is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of ...
const fs = require('fs-extra'); const path = require('path'); const yapi = require('../yapi.js'); const sha1 = require('sha1'); const logModel = require('../models/log.js'); const projectModel = require('../models/project.js'); const interfaceColModel = require('../models/interfaceCol.js'); const interfaceCaseModel = r...
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; Object.defineProperty(ex...
"use strict"; const args = process.argv.slice(2); const network = require("./headless/network.js"); const fs = require("fs"); let uint64; try { uint64 = require("./uint64.js"); } catch (e) { console.log("Dependencies outdated - run `npm install` again"); process.exit(); } const help_page = ` Meeden's head...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Pt_1 = require("./Pt"); const Util_1 = require("./Util"); const Num_1 = require("./Num"); class Color extends Pt_1.Pt { constructor(...args) { super(...args); this._mode = "rgb"; this._isNorm = false; } ...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/*! wow.export (https://github.com/Kruithne/wow.export) Authors: Kruithne <<EMAIL>> Based off original works by <NAME> <<EMAIL>> License: MIT */ const BufferWrapper = require('../buffer'); const SIGMA_32 = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574]; const SIGMA_16 = [0x61707865, 0x3120646e, 0x796...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import shallowEqual from 'recompose/shallowEqual'; import ClickAwayListener from '../internal/ClickAwayListener'; import keycode from 'keycode'; import propTypes from '../utils/propTypes'; import List from '../...
/** * This module overrides the Kes Class and the Lambda class of Kes * to support specific needs of the Cumulus Deployment. * * Specifically, this module changes the default Kes Deployment in the following ways: * * - Adds the ability to add Cumulus Configuration for each Step Function Task * - @fixCumulusMe...
import React from 'react'; import PropTypes from 'prop-types'; import { uniqueId } from 'lodash'; import invariant from 'invariant'; import SelectList from './select-list.component'; import Textbox from '../textbox'; import Pill from '../../../components/pill'; import Events from '../../../utils/helpers/events'; import...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
/** * @license * Copyright 2018 Google Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge...
import * as Utils from './utils.js'; import { def, make } from './gw.js'; var PATH = {}; export { PATH as path }; const PDS_FORBIDDEN = def.PDS_FORBIDDEN = -1; const PDS_OBSTRUCTION = def.PDS_OBSTRUCTION = -2; const PDS_AVOIDED = def.PDS_AVOIDED = 10; const PDS_NO_PATH = def.PDS_NO_PATH = 30000...
const loggerNamespace = 'dx-service:services:LiquidityService' const AuctionLogger = require('../helpers/AuctionLogger') const auctionLogger = new AuctionLogger(loggerNamespace) const getGitInfo = require('../helpers/getGitInfo') const getVersion = require('../helpers/getVersion') const numberUtil = require('../helper...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
import React, { useContext, useEffect, useState } from 'react'; import { useWeb3, useWallet, useAccount, } from 'containers/ConnectionProvider/hooks'; import styled from 'styled-components'; import { keyBy, get } from 'lodash'; import Hidden from '@material-ui/core/Hidden'; import Accordion from 'react-bootstrap/...