text
stringlengths
8.5k
48.7k
//__BEGIN_LICENSE__ //Copyright (c) 2015, United States Government, as represented by the //Administrator of the National Aeronautics and Space Administration. //All rights reserved. //The xGDS platform is licensed under the Apache License, Version 2.0 //(the "License"); you may not use this file except in compliance ...
/* eslint-disable */ import React, {Fragment} from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableHead f...
/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
/***** STARBORN Copyright (c) 2010, 2011 by <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, pub...
// 18 New features in ES5+ onwards ES2015, ES2016 and ES2017 const chalk = require('chalk'); // 1. Array.prototype.includes console.log(chalk.green('\n1. Array.prototype.includes\n')); // includes is a simple instance method on the Array and helps // to easily find if an item is in the Array (including NaN unlike i...
////////////////CIT // texts to display before blocks function set_block_texts() { var change_hint; if (distance_order == 'wide1st') { change_hint = '<br><br>However, you will now have to press different response keys....'; } else { change_hint = '<br><br>>However, you will now have to p...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; import _omit from "lodash/omit"; import _pick from "lodash/pick"; import _remove from "lo...
// Fill overlay with graph or video function populateOverlay(type, url, phoneName) { let htmlOverlay = document.querySelector('aside.embed-overlay'), htmlOverlayLink = document.querySelector('aside.embed-overlay a'), htmlOverlayIframe = document.querySelector('iframe'); htmlOverlay.setAttribut...
$(document).ready(function(){ $('.modal').modal(); $('select').material_select(); showTickets(); notifCountForSideBar(); //filetTicket(); //notifMail(); //TimeTickets(); }); // setTimeout(function(){ // notifMail(); // }, 3000); var Tickets=null; function TimeTickets(){ Tickets = setTimeout(function(){ TimeTickets(...
// main.js: Nix Binary caches, via CloudFlare Workers and S3 // Copyright (c) <NAME> 2019 /// Author: <NAME> <aseipp [@at] pobox [.dot] com> /// Maintainer: " /// Source: https://github.com/thoughtpolice/nix-mirror /// Version: @GIT_VERSION@ /// License: // Permission is hereby granted, free of charge, ...
import { Card } from "primereact/card"; import { ProgressSpinner } from "primereact/progressspinner"; import { Component } from "react"; import { getAllTag } from "../../services/db.service"; import * as ImgService from "../../services/img.service"; import { brightColorRandom } from "../../utils/color"; import { App } ...
// // Global variables // // HTML DOM elements var mainView, localRenderingCheckBox, muteCheckBox, mediaRenderersListBox, mediaSourcesListBox, mediaSourceInfo, searchButton, searchField, deleteButton, createFolderButton, createUnder, renameButton, uploadFile, uploadTitle, uploadButton, uploadTo, folderTitle, ...
/* eslint-env browser */ import rtlDetect from 'rtl-detect'; import JsonRefs from 'json-refs'; import {jml} from 'jamilih'; import Templates from './templates/index.js'; import {escapeHTML} from './utils/sanitize.js'; import { getMetaProp, Metadata, getFieldNameAndValueAliases, getBrowseFieldData } from './utils/Met...
import utils from "../utils.js"; import logger from "../logger.js"; import { parseJson } from "../parser/character.js"; import { copySupportedItemFlags, addMagicItemSpells, getCompendiumItems, getSRDCompendiumItems, copySRDIcons, getDDBEquipmentIcons, getDDBSpellSchoolIcons, getDDBGenericItemIcons, } fr...
/** * Copyright 2016 The AMP HTML Authors. 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
import secp256k1 from 'secp256k1' import CryptoJS from 'crypto-js' import cryptoRandomString from 'crypto-random-string' import EventEmitter from 'events' import Ajv from 'ajv' import cookieStorage from './cookieStorage' import createDebug from 'debug' import Bottleneck from 'bottleneck' import stringify from 'json-st...
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2016, Dash Industry Forum. * All rights re...
if(screen.width < 380){ document.getElementById("tarih").style.fontSize = "25px"; document.getElementById("Saat").style.fontSize = "60px"; document.getElementById("remainingMin").style.fontSize = "60px"; document.getElementById("remainingMin").style.marginBottom = "70px"; document.getElementById("on...
// ==UserScript== // @id iitc-plugin-guess-player-levels@breunigs // @name IITC plugin: 玩家等级猜测 // @category 信息 // @version 0.5.7.20190616.73555 // @description [mobile-2019-06-16-073555] 尝试根据当前视图中的可用数据猜测玩家等级。 // @updateURL none // @downloadURL none // @namespace https:...
var theme = true; var isIE = /*@cc_on!@*/false || !!document.documentMode; if( isIE ){ // we don't support sidebar flyout in IE document.querySelector( 'body' ).classList.remove( 'mobile-support' ); } else{ document.querySelector( 'body' ).classList.add( 'mobile-support' ); } var isPrint = document.querySel...
/*jslint devel: true, browser: true, white: true, nomen: true */ /*global jWorkflow: false */ /* =========================================================================== * AliceJS * * @description * A Lightweight Independent CSS Engine * * @author <NAME> (@ldhasson) [original] * @author <NAME...
var themeFolder = process.env.THEME_FOLDER; var mp3Duration = require("mp3-duration"); var char = require("../character/main"); var ttsInfo = require("../tts/info"); const caché = require('../asset/caché'); var source = process.env.CLIENT_URL; var header = process.env.XML_HEADER; var get = require("../misc/get"); var f...
function generateMarkov(data, x, y, sourceWord, targetWord, info) { var textCont = "<div class='red_text_cont'>..." + data + "...</div>"; var blueGrid = openWindow(x, y, 2000, WINDOW_WIDTH, WINDOW_HEIGHT, textCont, '', 'red_text', true); var height = blueGrid.window.getContainer().find('.red_text_cont').he...
const monero_words_english_prefix_len = 3; const monero_words_english = [ "abbey", "abducts", "ability", "ablaze", "abnormal", "abort", "abrasive", "absorb", "abyss", "academy", "aces", "aching", "acidic", "acoustic", "acquire", "across", "actress", ...
import { Universe } from "wasm-game-of-life"; const mouseXElem = document.getElementById('mouseX'); const mouseYElem = document.getElementById('mouseY'); const windowXElem = document.getElementById('windowX'); const windowYElem = document.getElementById('windowY'); const fpsCounterElem = document.getElementById('fps...
//fonction java script function ouvrir_cam(came_view) { let came = ` <span id="span_camera_photos"> <p id="track_msg"></p> <video src="" id="came_photo" width=300 height=300></video> <button id="capture_photo...
// WebHelp 5.10.001 var garrSortChar=new Array(); var gaFtsStop=new Array(); var gaFtsStem=new Array(); var gbWhLang=false; garrSortChar[0] = 0; garrSortChar[1] = 1; garrSortChar[2] = 2; garrSortChar[3] = 3; garrSortChar[4] = 4; garrSortChar[5] = 5; garrSortChar[6] = 6; garrSortChar[7] = 7; garrSortChar[...
const electron = require("electron"); const { app, BrowserWindow, ipcMain, session, systemPreferences, Menu, dialog, protocol } = require('electron'); const isDev = true; const imageType = require('file-type'); const fs = require('fs'); const path = require('path'); const url = require('url'); const util = require('u...
import { fetchCsvFromUrlAsyncTimeout, fetchJsonFromUrlAsyncTimeout } from '../../modules/bcd-async.js' import { getDateFromCommonString } from '../../modules/bcd-date.js' import { getDefaultMapOptions, getDublinLatLng, getDublinBoundsLatLng } from '../../modules/bcd-maps.js' import JSONstat from 'https://unpkg.com/jso...
import * as THREE from 'three'; import dat from 'dat.gui'; import bunny from 'bunny'; import teapot from 'teapot'; import {decimate, DecimateGeometry, DecimateTriangle} from '../../src/decimate'; import {vec2, vec3} from 'gl-matrix'; import {simplify_three, Vertex, Triangle} from '../../src/simplify'; var camera, scen...
$(function () { $('[data-toggle="tooltip"]').tooltip() }); var TwoPI = Math.PI * 2; var topCanvas = document.getElementById('canvas-top'); var bottomCanvas = document.getElementById('canvas-bottom'); var outerCircleParam = document.getElementById('mcRadius'); var innerCircleParam = document.getElementById('innerRa...
function setCookie(c_name,value,exdays) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? " ;path=/;" : "; expires="+exdate.toUTCString() + '; path=/;'); document.cookie=c_name + "=" + c_value; } function getCookie(c_name) { var i,x,y,A...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _regenerator = require('babel-runtime/regenerator'); var _regenerator2 = _interopRequireDefault(_regenerator); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]...
import { omit, orderBy, } from 'lodash'; import arrayMove from 'array-move'; import multihashes from 'multihashes'; import crypto from 'crypto'; import { get as getDb } from 'util/database'; import { eventChannel, END } from 'redux-saga' import { takeEvery, put, call, select, fork, } from 'redux-saga/effe...
import React from "react"; import PropTypes from "prop-types"; import { Accordion, Button, Checkbox, Dimmer, Form, Header, Icon, Loader, Modal, Ref, Segment } from "semantic-ui-react"; import Search2 from "../CCAM/Search"; import Table2 from "../CCAM/Table"; import Localisations from "../Shared/Lo...
var hazeTreeLib = require('./sample_642.js'); var hazeTree = hazeTreeLib.tree; transmittanceMap = function(colorArrayFlat, picWidth, picHeight, airLight) { var pixCount = picWidth*picHeight; var colorArray = colorArrayFlat; var ballPointCount = hazeTreeLib.length; var nearestQuery = new Uint16Array(pixCount); var...
QB = {} QB.Phone = {} QB.Screen = {} QB.Phone.Functions = {} QB.Phone.Animations = {} QB.Phone.Notifications = {} QB.Phone.ContactColors = { 0: "#9b59b6", 1: "#3498db", 2: "#e67e22", 3: "#e74c3c", 4: "#1abc9c", 5: "#9c88ff", } QB.Phone.Data = { currentApplication: null, PlayerData: {}, ...
var wpsolr_ajax_timer; /** * Remove an element from an array */ /*Array.prototype.remove = function (value) { if (this.indexOf(value) !== -1) { this.splice(this.indexOf(value), 1); return true; } else { return false; } }*/ /** * Change the value of a url parameter, without rel...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId")); var _partition4 = _interopRequireDefault(require("lodash/partition")); var _get2 = _interopRequireDefault(require("lodash/get")); var _react ...
/*! * Copyright (c) 2020-Now http://www.j2eefast.com All rights reserved. * No deletion without permission * @author J2eeFAST * @version 2020-01-21 */ /** * base64js */ (function(r) { if (typeof exports === "object" && typeof module !== "undefined") { module.exports = r(); } else { if (ty...
$('#dialogmainmenu').dialog({ autoOpen:false, width:815, height:600, draggable: false, resizable: false, modal:true, closeOnEscape:false, }); $('#dialogreward').dialog({ autoOpen:false, width:380, height:330, draggable: false, resizable: false, modal:true, }); $('#chrdialoginfo').dialog({ autoOpen:false...
var app = getApp(); var uploadUrl = ""; var oncode = '';//消息识别码 var QQMapWX = require('../../../we7/resource/plugin/qqmap/qqmap-wx-jssdk.min.js'); var WxParse = require('../../../we7/resource/plugin/wxParse/wxParse.js'); var userinfoUtil = require('../../resource/js/userinfoUtil.js'); var qqmapsdk; var imgcnt = 6; Page...
'use strict'; /*** * https://www.hackerrank.com/challenges/simple-array-sum/problem */ let arraySum = arr => { let results = arr.reduce((prev, curr) => { return prev + curr; }, 0); return results; }; console.log(`\n ... simple array sum ... \n`); let inputArr = [5,4,3,2,1]; console.log('expect 15: ', ar...
import { Vec3 } from "./math"; class Symbol{ } Symbol.insertMultiply= function(expression){ } Symbol.draw2D = function(canvas, f, inf, val, threshold=0.000001){ if(f.type==='explicit'){ Symbol.draw2DExplicit(canvas,f,inf,val); }else if(f.type==='parametric'){ Symbol.draw2DParametric(can...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var native_1 = require("./native"); exports.capability = native_1.capability; exports.context = native_1.context; exports.curveKeyPair = native_1.curveKeyPair; exports.version = native_1.version; exports.Context = native_1.Context; exports.Soc...
"use strict"; const express = require ('express'); const request = require ('request'); const TelegramBot = require ('node-telegram-bot-api'); const fs = require ('fs'); const waterfall = require ('waterfall-ya'); const moment = require ('moment'); const log = require ('./log'); const lisk = require ...
var Renderer = { redraw_cnt: 0, _redraw : function() { Renderer.redraw_cnt -= 1; Nivalis.redraw(); if (Renderer.redraw_cnt > 0 || Nivalis.is_any_slider_animating()) { window.requestAnimationFrame(Renderer._redraw); } }, redraw : function() { ...
(function () { isWindows = navigator.platform.indexOf("Win") > -1 ? true : false; if (isWindows) { // if we are on windows OS we activate the perfectScrollbar function $(".sidebar .sidebar-wrapper, .main-panel").perfectScrollbar(); $("html").addClass("perfect-scrollbar-on"); } else...
// dropdowns var color_data_select = d3.select("#color-data"); var color_data_value = color_data_select.node().value; var x_data_select = d3.select("#x-position-data"); var x_data_value = x_data_select.node().value; var size_data_select = d3.select("#size-data"); var size_data_value = size_data_select.node().value; ...
"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.hasOwnPrope...
/* global image, loadImage, strokeWeight, BEVEL, strokeJoin, beginShape, endShape, vertex, textAlign, CENTER, LEFT, RIGHT, UP_ARROW, keyCode, frameCount, createCanvas, stroke, width, height, windowHeight, windowWidth, colorMode, RGB, background, random, textSize, fill, text, noStroke, rect, color, key, LEFT_ARROW, RIGH...
var levelMap = { "three-resistors-level1": 1, "three-resistors-level2": 2, "three-resistors-level3": 3, "three-resistors-level4": 4, "three-resistors-level5": 5, "three-resistors-levelA": 2, "three-resistors-levelA-no-pulldown": 2, "three-resistors-levelA-with-pulldown": 2, "three-resistors-levelB": 3...
var map, basemap, table, feature_layer; var q = d3.queue(); var max_zoom_to = 16; var highlight_style = { weight: 2, fillOpacity : .2, color: '#0845a8' }; // init map state // to be updated by url params if they exist var state = { 'init_layers' : [ 'service_requests_new', 'service...
import { stringify } from 'qs'; import request from '../utils/request'; export async function queryProjectNotice() { return request('/api/project/notice.json'); } export async function queryActivities() { return request('/api/activities.json'); } export async function queryRule() { return request('/api/rule.js...
const SPAWN_CIRCLES = true; // AAHM //made by Yuyuko let counter = 0;//后砸计数 count for back attacks let timer;//后砸统计重置时间 reset time let print = true;//二王HP提示开关 secondboss Health let SPAWNING_FIRST_CIRCLE_FLOWERS = []; let SPAWNING_SECOND_CIRCLE_FLOWERS = []; const TIMER_DELAY = 600; const ITEM_SPAWNED_ON_SWIPE_ID ...
/** * Created by Aspire on 24.10.2017. */ class AbstractWordExercise { constructor(exerciseWidget, words){ this.words = words; this.exerciseWidget = exerciseWidget; this.questionElem = this.exerciseWidget.find('.exercise-question'); this.questionHeaderElem = this.questionElem.fin...
// process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'; function translate(DNA_string) { protein_table = { 'TTT': 'F', 'CTT': 'L', 'ATT': 'I', 'GTT': 'V', 'TTC': 'F', 'CTC': 'L', 'ATC': 'I', 'GTC': 'V', 'TTA': 'L', 'CTA': 'L', ...
require('plug/selectordie/index'); //下拉框插件 require('plug/datetimepicker/datetimepicker'); //时间选择插件 require('plug/city-picker/city-picker'); //城市选择插件 require('plug/icheck/icheck'); //check插件 let { modifyRules } = require('plug/validate/validate'); //验证插件 let tpl = require('plug/artTemplate'), //模板引擎插件 staffTable = ...
import Writer from "./Writer.js" class MorpheusWriter extends Writer { constructor( model, config ){ super( model, config ) // property set by initXML. this.xml = undefined this.initXML() this.cellTypeTagIndex = {} this.fieldsToDraw = [] this.logString = "Hi there! Converting " + this.model.from + ...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { isPristine } from 'redux-form'; import { toastr } from 'react-redux-toastr'; import Helmet from 'react-helmet'; import moment from 'moment'; // import { Scrollbars } from 'react-custom-scrollbar...
var jawbreaker = {}; const COLORS = { 0: 'empty', 1: 'red', 2: 'blue', 3: 'green', 4: 'orange' }; /** * Circle representation of jawbreaker * @this{jawbreaker.Circle} * @param {number} color number of color. */ jawbreaker.Circle = function(color) { this.color = color; }; /** * start new game by crea...
const _ = require('lodash'); const fs = require('fs'); const Diacritics = require('diacritic'); const moment = require('moment'); const Excel = require('exceljs'); const padStart = require('string.prototype.padstart'); import { db } from '../db/prepare_data'; import { buildTemplate } from '../main/build_excel_templa...
// Copyright Joyent, Inc. and other Node contributors. // // 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,...
"use strict"; /** * Copyright 2017 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 ...
// GPG4Browsers - An OpenPGP implementation in javascript // Copyright (C) 2011 Recurity Labs GmbH // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3.0 of the Licen...
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ var Y = YAHOO, Y_DOM = YAHOO.util.Dom, EMPTY_ARRAY = [], Y_UA = Y.env.ua, Y_Lang = Y.lang, Y_DOC = document, Y_DOCUMENT_ELEMENT = Y_DOC.docu...
/* eslint-disable react/react-in-jsx-scope */ /* eslint-disable react/jsx-indent */ import FontAwesome from 'react-fontawesome'; import PermissionSettingService from '../permission/PermissionSetting.service'; import {List, Row, Col, Icon, Card, Tooltip, Switch, Select, Form, AutoComplete, Modal,Divi...
var tools = { line: true, arrow: true, pencil: true, marker: true, dragSingle: true, dragMultiple: true, eraser: true, rectangle: true, arc: true, bezier: true, quadratic: true, text: true, image: true, pdf: true, zoom: true, lineWidth: true, colorsPic...
/** * Created by dat on 9/16/16. */ import $ from "./vendor/jquery-3.3.1.slim.js"; import {Popover, Alert} from '../node_modules/igv-ui/dist/igv-ui.js' import Viewport from "./viewport.js"; import {DOMUtils, FileUtils} from "../node_modules/igv-utils/src/index.js"; import C2S from "./canvas2svg.js" import GenomeUtil...
/** * @description First release version of NetOS * @author <NAME> <<EMAIL> & <EMAIL>> * @copyright <NAME> 2021 * @supported FullHD and higher display; win10(32bit/64bit); Edge 81+, Firefox 72+, Chrome 85+, Opera 71+ * @version 1.0 * @since 08.03.2021 * @license MIT * Permission is hereby granted, free of char...
/** * Name: <NAME> (10749306) * Course: programming project * * Programming Project: The Beatles chart analysis. * - Grouped bar chart: albums or singles that were on the chart * (The Official Charts Company) with number of weeks on chart * - Bubble chart: albums or singles with highest position no. 1 * - Donut...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. const debug = require('debug')('crawler:crawler'); const moment = require('moment'); const Q = require('q'); const Request = require('./request'); const URL = require('url'); const uuid = require('node-uuid'); debug.log = ...
/* * Copyright 2017 Redlink GmbH * * 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...
#!/usr/bin/env node const chalk = require('chalk'), shuffle = require('knuth-shuffle').knuthShuffle, util = require('util'), wordwrap = require('wordwrap') ; const wrap = wordwrap(4, 80); const cardname = chalk.blue.bold; function Suit(name) { this.name = name; this.cards = []; } Suit.pr...
/* eslint-disable arrow-body-style */ import { batch } from 'react-redux'; import { message } from 'antd'; import assert from 'assert'; import Cookie from 'js-cookie'; import { push } from 'connected-react-router'; import { convertToRaw, EditorState, Modifier, SelectionState } from 'draft-js'; import { forEach, get...
/* * Pattern Service singleton * * * special meta-pattern * - #hexcolor * - ~off * - ~blink:white-3 * - ~blink:#ff00ff-5 * - ~pattern:pattname:3,#ff00ff,0.5,0,#00ff00,1.3,0 * - ~pattern-stop:pattname * - ~play:pattname * - ~stop:pattname * * a fully populated in-memory pattern looks like: * var pattern ...
'use strict'; const utils = require('../utils.js'); const logger = require('../logger.js'); const runtime = require('./runtime'); const runnertyio = require('./runnerty-io.js'); const loadConfigSection = utils.loadConfigSection; const recursiveObjectInterpreter = utils.recursiveObjectInterpreter; const checkExecutorPa...
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, } from 'react'; import { Form, Button, Alert, Container, Nav, Accordion, Modal, Tab, Tabs, } from 'react-bootstrap'; import { findSamplePeak, getAudioBufferForAudioFileData, } from './utils/audioData.j...
import React, {PureComponent} from 'react'; import {Card, Button, Form, Input, Tabs, BackTop, message, Row, Col, Icon, Popover, Select, Modal} from 'antd'; import {connect} from 'dva'; import ReactJson from 'react-json-view' import {extend as requestExtend} from 'umi-request'; import ApiDocTableForm from './ApiDocTable...
// -*- js3-indent-level: 4; js3-indent-tabs-mode: nil -*- // SGPvPUI and related objects - user interface implementation. // // This code must run on Firefox and Google Chrome - no Greasemonkey calls and // no chrome.* APIs here. localStorage should not be accessed from here either. // XXX - The way we handle acti...
'use strict'; const cp = require('child_process'); const _ = require('underscore'); const commander = require('commander'); const batch = require('abacus-batch'); const throttle = require('abacus-throttle'); const request = require('abacus-request'); const dbclient = require('abacus-dbclient'); const dataflow = requ...
var abilityStateColors = [ "#22FF55", "#FFFF22", "#FF5522", "#666666", ] var writeEffectsShip = function(ship, b){ var ecomps = []; var w = 50; var h = 20; var columns = 2; if(ship.custom.effects!=null) for(e=0;e<durationEffectsPerShip;e++){ if(ship.custom.effe...
function renderStaff(element, spiralElement) { var data = window.variantData; var variantIndex = window.variantIndex; var width = $(element).width(); var height = $(element).height(); var columns = [ "SIFT Function Prediction", "PolyPhen-2 Function Prediction", "MutationTaster", "CADD Score", "phylo...
import { html, LitElement } from "lit"; import "@lrnwebcomponents/deduping-fix/deduping-fix.js"; import "@polymer/iron-demo-helpers/demo-snippet.js"; import { LoremDataBehaviors } from "../lorem-data/lib/lorem-data-behaviors.js"; import { withKnobs, withWebComponentsKnobs, text, button, number, select, d...
var nb_links; var search_links; var search_tags = ''; var initial_links = []; /* Position fixed on all dialogs describe here : http://stackoverflow.com/questions/2657076/jquery-ui-dialog-fixed-positioning#answer-9242751 */ $.ui.dialog.prototype._oldinit = $.ui.dialog.prototype._init; $.ui.dialog.prototype._init = func...
function GetStudentRegistration(course_code) { destroyDatatable("#tbl_student_self_study", "#tbl_student_self_study_body"); destroyDatatable("#tbl_student_private_school", "#tbl_student_private_school_body"); destroyDatatable("#tbl_student_mac", "#tbl_student_mac_body"); var send_data = new FormData(); ...
import React, { useState, useEffect } from 'react'; import { Text, View, TouchableOpacity, Alert } from 'react-native'; import { ScrollView } from 'react-native-gesture-handler'; import { withTheme, Button, TextInput, Switch, Dialog, Portal } from 'react-native-paper'; import DateTimePicker from '@react-native-communit...
const organisationUnitConstants = require('../constants/organisation-unit') const getOrganisationUnit = require('./helpers/org-unit-finder') const { Parser } = require('json2csv') const tabs = require('../constants/wmt-tabs') // WMT0160 - Change next 2 lines const CASELOAD_FIELDS = ['name', 'gradeCode', 'a3', 'a2', 'a...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var React = require('react'); var PropTypes = require('prop-types'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy...
/** Utilities for exchanging data via AGWPE and AX.25. */ /* Received data pass through a chain of function calls; transmitted data flow through a pipeline of Transform streams, like this: Net.Socket ---------------- | ^ v | AGWReader AGWWriter | ^ v ...
// data on the MATRX API var matrx_url = 'http://' + window.location.hostname, port = "3001", matrx_send_message_url = "send_message"; var chat_blocked = true; /********************************************************************* * Simulation control buttons in toolbar (start/pause etc.) ******************...
import React, { PureComponent, Fragment } from 'react'; import Debounce from 'lodash-decorators/debounce'; import Bind from 'lodash-decorators/bind'; import { connect } from 'dva'; import { Button, Input, InputNumber, Form, Card, Popconfirm, Icon, Row, Col, Select, DatePicker...
const MAIN_VIDEO_POS = { width: 1280, height: 720, top: 0, left: 0, offset: 0 } const SUB_VIDEO_POS = { } function resetPositionSettings() { SUB_VIDEO_POS.width = 0.4; SUB_VIDEO_POS.height = 0.3; SUB_VIDEO_POS.top = 0.05; SUB_VIDEO_POS.left = 0; SUB_VIDEO_POS.offset = 0; SUB...
import { CreatePayloadUsingCrcMethodName } from './cctalk-crc.js'; import Debug from '../modules/debug.js'; // Talk from the BUS to the billAcceptor for example const sendCommand = CreatePayloadUsingCrcMethodName(40,0,'crc16xmodemJs') // in general you will configure sendCommand per target to talk to //Device Logic /...
import React from "react"; import { ClassNames } from "@emotion/react"; import gql from "graphql-tag"; import { Alert, Box, Button, Center, Flex, HStack, IconButton, Input, InputGroup, InputLeftElement, InputRightElement, Link as ChakraLink, ListItem, Skeleton, Textarea, Tooltip, Unord...
import { devicePixelRatio } from '../config'; import * as util from '../core/util'; import Layer from './Layer'; import requestAnimationFrame from '../animation/requestAnimationFrame'; import ZRImage from '../graphic/Image'; import env from '../core/env'; import { brush, brushSingle } from './graphic'; import Element f...
import React, { useState, useEffect, Fragment } from 'react'; import axios from 'axios'; import { Formik, useFormik, FieldArray } from 'formik'; import * as Yup from 'yup'; import { Typeahead } from 'react-bootstrap-typeahead'; import { Form, Button, Row, Col, Container } from 'react-bootstrap'; import moment from 'mom...
/* (c) 2021 Open AR Cloud This code is licensed under MIT license (see LICENSE for details) */ import {Camera, Euler, GLTFLoader, Mat4, Raycast, Renderer, Transform, Vec2} from 'ogl'; import {createGltfProgram} from '@core/engines/ogl/oglGltfHelper'; import {createAxesBoxPlaceholder, createModel, createProgram, c...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // No Node.js APIs are available in this process because // `nodeIntegration` is turned off. Use `preload.js` to // selectively enable features needed in the rendering // process. // link with main process...