text
stringlengths
8.5k
48.7k
import { join } from 'path'; import { createReadStream } from 'fs'; import { readFile } from 'fs/promises'; import { api, common, config } from '@nfjs/core'; import { DboSequence, DboTable } from '@nfjs/dbo-compare'; import { NFLoad, NFExtract } from '@nfjs/ei'; import { Writable } from 'stream'; import { random, ...
var chatService = abp.services.app.chat; var friendshipService = abp.services.app.friendship; var chat = { friends: [], tenantToTenantChatAllowed: abp.features.isEnabled('App.ChatFeature.TenantToTenant'), tenantToHostChatAllowed: abp.features.isEnabled('App.ChatFeature.TenantToHost'), serverClientTime...
/* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Software in the Sustain Ecosystem are Released Under Terms of Apache Software License This research has been supported by funding from the US National Scienc...
/* Helper Functions */ function round(value, precision) { var multiplier = Math.pow(10, precision || 0); return Math.round(value * multiplier) / multiplier; } function disableMap() { $("#overlay").addClass("overlay"); map.scrollZoom.disable(); } function enableMap() { $("#overlay").removeClass("ov...
// import CSS import "../CSS/Controls/LocationSelector/GPlocationOpenLayers.css"; // import OpenLayers import Control from "ol/control/Control"; import Overlay from "ol/Overlay"; import { transform as olTransformProj } from "ol/proj"; import { unByKey as olObservableUnByKey } from "ol/Observable"; // import geoportal l...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _ = require("lodash"); var Util = require("../lib/util"); var Vis = require("../lib/vis"); var Ac = require("../action/vis_action"); var $$NODES_COLOR_KRIPKE = "#C38728"; exports.$$BACKGROUND_COLOR = "#333333"; exports.$AGENT_LABEL = docum...
/** * @author madblade * @author alansley (<NAME> / Federation University Australia) * adapted from https://github.com/FedUni/caliko/ * MIT license. */ import { Matrix4, Quaternion, Vector3 } from 'three'; function FABRIK() { this.v1 = new Vector3(); this.v2 = new Vector3(); this.v3 = new Ve...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _styledComponents = _interopRequireDefault(require("styled-components")); var _reactDropzone = require("react-dropzone"); var _reactFeather = require(...
var fs = require("fs"); var retry = require("async/retry"); var MIDIFile = require("midifile"); var MIDIPlayer = require("midiplayer"); var SVG = require("svg.js"); var gs = require("gsap"); require("gsap/src/uncompressed/plugins/ScrollToPlugin.js"); window.scroller = gs.to(window, 1, {scrollTo: {x: 0}}); const model ...
import React, { useEffect, useState, useMemo, useRef, useCallback, } from "react"; import { useSelector, useDispatch } from "react-redux"; import { Redirect, Link, useLocation } from "react-router-dom"; import { FormGroup, Input } from "reactstrap"; import Modal from "react-modal"; import { Transition } from ...
import {clearScene,spawnBeforeSTL,spawnAfterSTL} from './STLDiff.js' let target_dir = "./target/crane_x7_ros.git/"; let branch_name = "master" let index_head = new String(""); let index_version; let index_entries_num; let index_entries; let log_lines; let commit_list = []; const padding_size = 8; const entry_type_fi...
if( typeof lastUpdate == "undefined" ){ var lastUpdate = localStorage.getItem('lastUpdate'); } var app = new Vue({ el: 'body', data: { update : false, queryUpdate : false, p: p, m: m, t: t, language : (window.location.href.indexOf('tw') == -1) ? 'hk' : 'tw', ww: document....
/* * Copyright 2018 DoubleDutch, 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 agre...
"use strict"; var FroalaEditor = _interopRequireWildcard(require("froala-editor")); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.definePropert...
$(document).ready(function() { consultaGrupos(ID_CURSO); cargaAulasListDespl(); cargaTblDocumentacion(ID_CURSO); consultaTblDescuentos(ID_CURSO); cargaListaDocsModal(); }); function cargaListaDocsModal() { consultaDocsAsync().then(function (JSONData) { let template = ""; JSONDa...
//import MultiInputDialog from './multi-input-dialog'; console.clear(); console.log("them tu 1") //require () //self.loadLibScript() const {TextEditor} = require('atom'); const fs = require('fs'); const SelectListView = require('atom-select-list'); // const MultiInputDialog = require('./multi-input-dialog'); ...
let canvas; let textCanvas; let gl; let textContext; let mvMatrix; let quadShader; let textShader; let perspectiveMatrix; let textQuads = []; let textContextHelper = { nextStart: 0, nextLineStart: 0, currentLineHeight: 0, texture: null }; let cameraOptions = { targetElement: null, isInsideVie...
const FPS = 30; // frames per second const FRICTION = 0.7; // friction coefficient of space (0 = none friction, 1 = lots) const GAME_LIVES = 3; // starting number of lives const LASER_MAX = 10; // maximum number of lasers on screen at once const LASER_DIST = 0.5; // maxi...
var SCHEMA = new Array(); var QUERY = new Array(); // The pre-defined schema SCHEMA["Bars"] = "Likes(person, drink)" + "\n" + "Frequents(person, bar)" + "\n" + "Serves(bar, drink, cost)"; SCHEMA["IMDB"] = "Actor(aid, fname, lname)" + "\n" + "Movie(id, name, year, rating)" + "\n" + "Casts(pid...
import localforage from 'localforage'; import Reflux from 'reflux'; import StateMixinFactory from 'reflux-state-mixin'; import _ from 'lodash'; import TXActions from './Actions'; import utils from './utils'; let web3; var baseState = { nonce: 0, error: null, // Genesis identifier (getBlock(0).hash) ...
var text_to_be = 'hey there' //var choices = [' is an amazing choice', ' you baffle me' var count = 1; var count2=0; var t; function googleTranslateElementInit() { t=new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'en,fr,de,es',layout: google.translate.TranslateElement.InlineLayou...
var _ = require('lodash'); var btoa = require('btoa'); var Gpml2PvjsonConverter = require('gpml2pvjson'); var jsonld = require('jsonld'); // NOTE: using this fork, because we need to use xmldom, not jsdom: var $rdf = require('rdflib'); var Rx = require('rx'); var RxNode = require('rx-node'); var utils = require('../nod...
/** * Insert Messages to Database */ "use strict"; const config = require("../libs/config"), dataAdaptor = require('../libs/dataAdaptor'), tools = require("../libs/tools"), ip2loc = require("../libs/ip2loc"), CONST = require("../libs/constant"), MMTDrop = require("../lib...
// import { // DiceRollerDialogue // } from "./dialogue-diceRoller.js"; import TraitSelector from "../apps/trait-selector.js"; import { buildResource, openAbilityRollDialogue, openAttackDialogue, openRollDialogue, socialInfluence } from "../apps/dice-roller.js"; import { onManageActiveEffect, prepareActiveEffectCate...
import { PennEngine } from './engine.js'; import { lazyPromiseFromArrayOfLazyPromises, minsecStringFromMilliseconds, guidGenerator } from './utils.js'; const PRELOADDELAY = 60000; let headerController = null; let footerController = null; let preloaders = []; // Instances represent all the PennControllers, ultima...
// ========================================== // BOWER: Package Object Definition // ========================================== // Copyright 2012 Twitter, Inc // Licensed under The MIT License // http://opensource.org/licenses/MIT // ========================================== // Events: // - install: fired when packag...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.newInstance = exports.STATIC = undefined; exports.createSortedIterator = createSortedIterator; exports.extend = extend; var _CompositeClosureHelper = require('../../../Common/Core/CompositeClosureHelper'); var _CompositeClosureHel...
const REGIONS = [ { "name": "Highlands and Islands", "list_votes": { "SNP": 81600, "Conservative": 44693, "LibDem": 27223, "Labour": 22894, "Green": 14781, }, "snp_seats": [ {"name": "<NAME>", "challenger": "LibD...
let keyStorageUserRestaurants = 'chow_town_user_restaurants'; let keyStorageTrips = 'chow_town_trips'; let keyStorageTripsCurrentIndex = 'chow_town_trips_current_index'; // load function when window is ready window.onload = function () { $('#fullpage').fullpage({ //options here autoScrolling: tr...
import HELPEX from "./helpex.js"; import CompLoader from "./compLoader.js"; import API from "./api.js"; import { NOTIFICATION, TAREA, TAREA_ID } from "./constants.js"; var postModal; var pModal = {}; var pModalElements = ["Header", "ProfilePic", "Name", "User", "Content", "Text", "Image", "Video", "Spinner", "Fecha", ...
// @ts-check import { E, Far } from '@endo/far'; import { makeRatio } from '@agoric/zoe/src/contractSupport/index.js'; import { CENTRAL_ISSUER_NAME } from '@agoric/vats/src/core/utils.js'; import '@agoric/governance/exported.js'; import '@agoric/vats/exported.js'; import '@agoric/vats/src/core/types.js'; import { Amo...
// External dependencies. import React, { PureComponent } from "react"; import styled from "styled-components"; import interpolateComponents from "interpolate-components"; import PropTypes from "prop-types"; import truncate from "lodash/truncate"; import { parse } from "url"; import { __ } from "@wordpress/i18n"; // Y...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ import PurchaseOrderService from './PurchaseOrderService.js'; import ReportTemplate from '../../utils/ReportTemplate.js'; import Table...
const express = require('express'); const app = (module.exports = express()); const connection = require('../db.js'); const mySqlUtils = require('../utils/mysqlUtils'); const {convertObjArrayToArray} = mySqlUtils const {convertToMySqlDateFormat} = mySqlUtils; const {storage} = require("../utils/storage") const { readF...
import assert from "assert" import Siteswap from "../dist/siteswap" // Parser tests. const tests = { "standard": ["standard:async", "standard:sync"], "standard:async": { // Validity. " ": { valid: false }, "š": { valid: false }, "5": ...
// Copyright IBM Corp. 2013,2016. All Rights Reserved. // Node module: loopback-datasource-juggler // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT 'use strict'; /*! * Module dependencies */ var g = require('strong-globalize')(); var inflection = requi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.renderNavBar = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descr...
var inherits = require('util').inherits, DuplexStream = require('stream').Duplex || require('readable-stream').Duplex, ReadableStream = require('stream').Readable || require('readable-stream').Readable; var consts = require('./Parser.constants'); var PACKET_SIZE = 32 * ...
import React, { useState, useEffect } from 'react'; import 'react-table/react-table.css'; import '../../../Common/TableCommon/ReactTableOverrides.css'; import DragFoldTable, { getColWidth, } from '../../../Common/TableCommon/DragFoldTable'; import Dropdown from '../../../Common/Dropdown/Dropdown'; import InvokeManu...
/*! * @nuxt/server v2.14.3 (c) 2016-2020 * - All the amazing contributors * Released under the MIT License. * Website: https://nuxtjs.org */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const path = require('path'); const consola = require('consola'); const launchMiddleware = requ...
const path = require('path'); const fs = require('fs'); const fsOriginal = require('original-fs'); const url = require('url'); const { BrowserWindow, webContents } = require('electron'); import { app, shell, session, ipcMain, Menu } from 'electron'; import { localizer } from './../shared/l10n/localize'; const { locali...
'use strict'; function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array obje...
const BFX = require("bitfinex-api-node"); var minimist = require("minimist"), path = require("path"), n = require("numbro"); module.exports = function bitfinex(conf) { var s = { options: minimist(process.argv) }; var so = s.options; var ws_connecting = false; var ws_connected = false; var ws_timeout = 6...
this["JST"] = this["JST"] || {}; this["JST"]["footer"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) { helpers = helpers || Handlebars.helpers; data = data || {}; var buffer = ""; return buffer;}); this["JST"]["header"] = Handlebars.template(function (Handlebars,depth0,helpers,parti...
// Controles de la grafica de Confort Grupal var ctrl_confortgrupal_iteracion = document.getElementById('ctrl_confortgrupal_iteracion'), ctrl_confortgrupal_sensacion = document.getElementById('ctrl_confortgrupal_sensacion'), ctrl_confortgrupal_estado = document.getElementById('ctrl_confortgrupal_estado'), ...
const crossFetch = require("cross-fetch"); const Lerc = require("lerc"); const groupBy = require("lodash.groupBy"); const acceptRanges = require("accept-ranges"); const xdim = require("xdim"); const geowarp = require("geowarp"); const typedArrayRanges = require("typed-array-ranges"); const hash = require("./utils/hash...
/* vim:fileencoding=utf-8 * * Copyright (C) 2015 <NAME> <kovid at kovidgoyal.net> * * Distributed under terms of the BSD license */ "use strict"; /*jshint node:true */ var fs = require("fs"); var path = require("path"); var utils = require("./utils"); var colored = utils.colored; import createCompiler from "./co...
/** * Spacers is a figma plugin * It adds some spacers inside autolayout hat can all be hidden or shown at once * with a simple switch. * * This code concerns mainly * 1- the shape/ creation of the spacers * 2- shape version and display state management * 3- spacers positionning * 4- plugin additional func...
// Configuration var radius; var spacing; var horPadding; var verPadding; var latestPath = []; var viewingSolution = false; var solutionFraction = 1; var highlightedNodes = new Set(); var highlightedHorEdges = new Set(); var highlightedVerEdges = new Set(); var gridEl = $('svg'); function calculateMet...
// JavaScript Document $(document).ready(function(){ jQuery.extend(jQuery.validator.messages, { required: 'Este campo es obligatorio.', textOnly: 'Este campo admite s&oacute;lo texto.', alphaNumeric: 'Este campo admite s&oacute;lo caracteres alfa - num&eacute;ricos.', date: 'Este campo tiene un formato dd/mm/Y...
const LICENSE = `/******************************************************************************* * MIT License * * Copyright (c) 2018 <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 ...
/* Nitro Sniper enhanced ed. Modified work Copyright (C) 2020-2021 Nitro-sniper-enhanced contributors Original work Copyright (C) 2020 slow | Sublicensed according to the MIT license available at <https://opensource.org/licenses/MIT> or in the LICENSE.md file in the root folder. This program is free software: you can ...
/* GLOBALS */ var doPrint = false; // for testing var spinner; // for the spinner object var layout; // plot.ly layout var step2; // allows for toggle of past/present chart configuration var past_options_set = false; // listener for when to reveal the step1 div var full_data_loaded = false; var ready_indicator; // se...
"use strict"; function initCalls(geoQueryType) { var gt = geoQueryType, action = getActionTaken($("#action-taken-selector option:selected").val()); "selected" === gt ? (blockStuff(), $.when(getTractData(action, !1, !1)).done(function(data1) { init(data1); })) : "all_msa" === gt ? (blockStuff(), $.w...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ //require('./bootstrap'); window.$ = window.jQuery = require('jquery'); window.Vue = require('v...
// vim: ts=4 sw=4 et // this code needs jquery.js leaflet.js and highcharts.js // debug mode ? var dbg = false; // Startup code var jQueryReady = false; var highChartsReady = false; var topMapReady = false; var smallMapReady = false; // Misc var currentData = Array(); var allChangesets = Array(); // Since startup, ...
//@ sourceURL=resultWin.js //上面这行代码必须加上,不然用用google浏览器调试可能找不到这个js文件 /** * @(#)resultWin.js * * @description:选择工具查询结果 * @author: 尹飞 2019/09/27 * @version: 1.0 * @modify: MODIFIER'S NAME YYYY/MM/DD 修改内容简述 * @Copyright: 版权信息 */ var resultWinControl = null; $(function () { resultWinControl = new ResultWinControl(...
"use strict"; function _ref2(a, b, c) { return c.indexOf(a) === b; } function _ref3(a) { return a.kind === kinds.Kind.FIELD && "__typename" === a.name.value; } function withPromise(a) { a.toPromise = function() { return wonka.toPromise(wonka.take(1)(a)); }; return a; } function _ref(a) { return a.pa...
/** * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
var PlotBackend = (function() { function PlotBackend(plot, container) { this.plot = plot; this.plot.backend = this; this._container = container; } PlotBackend.prototype.generateAxes = function() { }; PlotBackend.prototype.resize = function() { }; PlotBackend.protot...
/*! * flip 1.0.0 - Copyright 2015 <NAME>, http://terrill.ca * Released under MIT license, http://terrill.ca/flipjs/license */ var flip = (function() { var flip = {}, listeners = [], // Vendor prefix detection for CSS ua = navigator.userAgent, webkit = (/webkit/i)...
"use strict"; var __spreadArrays = (this && this.__spreadArrays) || function () { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a...
/* * ----- Recording stuff ----- */ // Get permissions and access to the micrphone. let mediaStream; navigator.mediaDevices.getUserMedia({ audio: true, video: false }).then(handleSuccess); function handleSuccess(stream) { mediaStream = stream; } const context = new AudioContext(); // Record media function reco...
var currentSlideNum = 0; var slideCount = 0; // make presenter notes window modifiable globally var presenterNotesWindow; // "window." makes this variable available to the presenter notes window window.presenterNotesTimerStart = null; var slideChangeHook = (oldSlide, newSlide) => {}; var modeChangeHook = (newMode) =...
"use strict"; /******************************************************************************** * Copyright (C) 2017 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl...
/* Copyright (C) 2013 <NAME> <<EMAIL>> www.yourmapper.com 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,...
/* * Pokemon Showdown Bot - Damage calculator */ var typechart = require('./typechart.js'); var Pokemon = exports.Pokemon = (function () { function Pokemon (template, properties) { if (!template || typeof template !== "object") throw new Error("Invalid pokemon template"); this.template = template; this.name =...
// Copyright notice: /*--------------------------------------------------------------------------------------------- * Original work: Copyright (c) 2020-2021 Refloow All rights reserved. * Code origin: https://github.com/Refloow/Steam-Card-Bot-PRO * Developer name: <NAME> * Licensed under the MIT License. S...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; }; function MetaR...
const v8 = require('v8'); // for deep copies const DEFAULT_SCALE = 0.5; let hitboxes = [{ w: 180, h: 210 }, { w: 150, h: 150 }, { w: 214, h: 200 }]; const directions = ["up", "left", "down", "right"]; const dirIndex = { "up": 0, "left": 1, "down": 2, "right": 3 }; let l = []; // level thresholds for...
var realVarCounter; // How many real variables, function total var tempVarCounter; // How many temporary vars; var totalCounter; var labelCounter; var branchArray; // Open branches IF/ELSE/ENDIF and WHILE loops var labelArray; // var CompileTokens; var CompileSource; var VmProc; var expParseError = ...
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, <NAME> * Copyright (c) 2021, <NAME> */ import { addProp, isSet } from '../Helpers'; import { DIRECTION_NORTH, DIRECTION_SOUTH, NODETYPE_ELEMENT, RECTANGLE_ROUNDING_FACTOR, STYLE_BACKGROUND_OUTLINE, STYLE_DIRECTION, STYLE_FLIPH, ST...
var txnRand; var netsTxnRef; var netsMidGlobal; var merchantTxnRef; var b2sTxnEndURL; //credit var gexp; var gmod; //test codes var w; var merchantInfo; var gwdomain = 'https://www2.enets.sg'; var apigwdomain = 'https://api.nets.com.sg/GW2/TxnReqListener'; function sendPayLoad(jSonString, hmac, apiKey) { console.l...
/** * WP-Property Global Admin Scripts * * This file is included on all back-end pages, so extra care needs be taken to avoid conflicts * */ /** * Assign Property Stat to Group Functionality * * @param object opt Params * @author <NAME> */ jQuery.fn.wppGroups = function(opt) { var instance = jQuery(this)...
import React, { Component, Fragment } from 'react'; import t from 'prop-types'; import isPlainObject from 'lodash.isplainobject'; import isString from 'lodash.isstring'; import deepEqual from 'deepequal'; import moment from 'moment'; import { connect } from '../../../store'; import { K, bundle } from '../../../helpers'...
var imagedebug = 'https://unsplash.it/600/600?image=598' // 1074 : lion const marge = 10; var gridSize = 4, images, imgWidth, imgHeight, imagePuzzle, modele, xyshape = [], tapis, puzzleHeight = 300, puzzleWidth = 300, // @todo : ajust with screen size pWidth, pHeight, pWidth10, pHei...
/* Copyright 2019 @twinarmageddons authors & contributors /* This software may be modified and distributed under the terms /* of the ISC License (ISC). See the LICENSE file for details. */ const Substitution = require("./substitution"); const ProseMap = require("./proseMap"); const Eraser = require('./eraser'); const ...
// imports an dictionary of code blocks the parser uses to verify each code block. const codeBlockType = require("../templates/code-block-types").types; // Some helper vars for new line and hard returns when converting to markdown let newLine = "\n"; let hardReturn = "\n\r"; // First, checks if it isn't implemented y...
if (null == window.phpVars) window.phpVars = {}; if (null == phpVars.ADMIN_THEME_ID) phpVars.ADMIN_THEME_ID = '.default'; function JCCalendar() { var _this = this; this.mess = {}; if (jsCalendarMess) this.mess = jsCalendarMess; this.floatDiv = null; this.content = null; this.dateInitial = new Date(); this.dat...
'use strict'; var babelHelpers = {}; babelHelpers.toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }; babelHelpers; /** * @Author: <NAME>, Kenneth * @Date...
'use strict'; var _ = require('underscore'); var moment = require('moment-timezone'); var epoch = moment.utc(0); var Moment = Object.getPrototypeOf(epoch); // momentjs plugin, no reference needed require('moment-duration-format'); const SIMPLE_DURATION = /^([+-])?(\d*([Mdhms]|ms)|Infinity)$/; const FORMATTED_DURATION...
// Canvas controller scripts for JunoNgx.com by <NAME> // --== Core setup for canvas loop const FPS = 60; const INTERVAL = 1000/FPS; let lastTime = (new Date()).getTime(); function loop() { let currentTime = (new Date()).getTime(); let deltaTime = currentTime - lastTime; if (deltaTime > INTERVAL) { ...
let layout = undefined; let dataCache = {}; let currentIndex = 0; let jsonMetaData = []; let dataSource = ""; let htmlCache = {}; let svgKeys = []; let indexAutoAdvanceStep = 1; let step1Limit = 23; let indexAutoAdvanceStep2 = 5; let datasetName = 'mnist_medium'; let autoStep = false; let dataPrefix = ''; let sliderEv...
import {BlendState} from './BlendState'; import ss from './scriptsharp/ss'; import {Coordinates} from './Coordinates'; import {Vector3d} from './Double3d'; import {Folder} from './Folder'; import {Settings} from './settings'; import {WWTControl} from './WWTControl'; import {WebFile} from './WebFile'; import {Color} fro...
const fs = require('fs'); const path = require('path'); const util = require('util'); const express = require('express'); const favicon = require('serve-favicon'); const cookieSession = require('cookie-session'); const { v4: uuidv4 } = require('uuid'); const CleanCSS = require('clean-css'); const { html } = require('ht...
/* FTUI Plugin * Copyright (c) 2015-2016 <NAME> <<EMAIL>> * Under MIT License (http://www.opensource.org/licenses/mit-license.php) */ /* global ftui:true, Modul_widget:true */ "use strict"; function depends_scrolllabel (){ var mainCSS = $('head').find("[href$='fhem-tablet-ui-user.css']"); if (mainCSS.length) ...
/** * Copyright (C) 2012 <NAME>, DevZendo.org <http://devzendo.org> * * 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 ...
$( document ).ready(function() { console.log( "ajax-os-inventario-vehiculo-ready!" ); //-----------------------load Canvas--------------------- setTimeout(function(){ var valmedgas= parseInt(document.getElementById("medidor_gasolina").value); if (valmedgas>0) { medgas(valmedgas); } }, 3000); ...
"use strict"; const path = require('path'); const crypto = require('crypto'); const { performance } = require('perf_hooks'); const oracledb = require('oracledb'); oracledb.fetchAsString = [ oracledb.DATE, oracledb.NUMBER ] const Yadamu = require('../../common/yadamu.js'); const YadamuLibrary = require('../../common/...
'use strict'; // This set of controls performs orbiting, dollying (zooming), and panning. // Unlike TrackballControls, it maintains the "up" direction camera.up (+Y by default). // // Orbit - left mouse / touch: one-finger move // Zoom - middle mouse, or mousewheel / touch: two-finger spread or squish // Pan ...
/* Generated by the Nim Compiler v0.18.0 */ /* (c) 2018 <NAME> */ var framePtr = null; var excHandler = 0; var lastJSError = null; if (typeof Int8Array === 'undefined') Int8Array = Array; if (typeof Int16Array === 'undefined') Int16Array = Array; if (typeof Int32Array === 'undefined') Int32Array = Array; if (typeof ...
const ATTR_ITEM_IDX = 'data-item-idx'; class ItemsPanel { constructor(panel, svc) { /** @type {ApiService} */ this._svc = svc; /** @type {Panel} */ this._panel = panel; /** @type {Item[]} */ this._items = []; /** @type {?Category} */ this._currentCat...
/*! ========================================================= * Material Dashboard Dark Edition - v2.1.0 ========================================================= * Product Page: https://www.creative-tim.com/product/material-dashboard-dark * Copyright 2019 Creative Tim (http://www.creative-tim.com) * Coded by ...
/* Tutorials https://www.smashingmagazine.com/2014/06/building-with-gulp/ https://github.com/osscafe/gulp-cheatsheet https://www.youtube.com/watch?v=dwSLFai8ovQ https://css-tricks.com/bem-101/ Useful information https://www.npmjs.com/package/glob // handling files and folders https://semver.org/ // versionin...
'use strict'; /** * Pokemon Showdown Dex * * Roughly equivalent to sim/dex.js in a Pokemon Showdown server, but * designed for use in browsers rather than in Node. * * This is a generic utility library for Pokemon Showdown code: any * code shared between the replay viewer and the client usually ends up * here. ...
'use strict'; import PageBase from '../base/PageBase'; import Button from '../base/Button'; import UserService from '../service/UserService'; import CanvasBase from '../base/CanvasBase'; import {ShareType} from '../service/ShareUtil'; import ShareUtil from '../service/ShareUtil'; import GameSocketConnector from '../sha...
tinyMCEPopup.requireLangPack(); var detail = 50, strhex = "0123456789ABCDEF", i, isMouseDown = false, isMouseOver = false; var colors = [ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", "#6600cc","#660...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = createAssetGraphRequest; exports.AssetGraphBuilder = void 0; function _assert() { const data = _interopRequireDefault(require("assert")); _assert = function () { return data; }; return data; } function _nul...
import crypto from 'crypto'; import { ListDictionary, LruCache } from '@apify/datastructures'; import { REQUEST_QUEUE_HEAD_MAX_LIMIT } from '@apify/consts'; import { cryptoRandomObjectId } from '@apify/utilities'; import ow from 'ow'; import { StorageManager } from './storage_manager'; import { sleep } from '../utils';...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. var MIN_VERSION_TAB_CLOSE = 25; var MIN_VERSION_TARGET_ID = 26; var MIN_VERSION_NEW_TAB = 29; var MIN_VERSION_TAB_ACTIVATE = 30; function sendCommand...