text
stringlengths
5.97k
41.2k
/* This library contains methods for working with the Telegram bot. */ // Public npm libraries const TelegramBot = require('node-telegram-bot-api') // Local libraries const TGUser = require('../models/tg-user') const BCH = require('./bch') const wlogger = require('./wlogger') let _this // Global variable for 'this...
'use strict'; 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]; } } } return target; }; var _createClass = function () { function defi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.toFixed = toFixed; exports.createMatrix = createMatrix; exports.checkStyleName = checkStyleName; exports.getGsapType = getGsapType; exports.parseColor = parseColor; exports.parseShadow = parseShadow; exports.getColor = getColor; exp...
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import {tilesH, tilesV, tileW, tileH, tileSpace, boardMargin , THEME, boardTextFont} from './config'; import SVG from 'svg.js' import interact from 'interactjs' import { Letter } from './letter' import { Utils } from './js/...
let CPM = require("../../build/artistoo-cjs.js") /* ---------------------------------- SUB/SUPERCELL CLASSES ---------------------------------- NOTE: these could be moved to src/cells and src/hamiltonian if used more often Due to the point that these classes are very dependent on each other, they are currrently ...
var workflowX, workflowY, $templateId = $("#templateId"), size = UtilWindowHeightWidth(), startId = UtilNewGuid(), endId = UtilNewGuid(), property = { width: 990, height: 590, headLabel: true, toolBtns: [ "task", "arrowretweet" ], ...
/*! * Modified by vlad * * Popup dialog boxes for Bootstrap - http://www.bootpopup.tk * Copyright (C) 2016 rigon<<EMAIL>> * * This program 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 versio...
// ==================================================================== CONSTANT // var JSLOG_LEV = 0; //var JSLOG_LEV = 31; var JSLOG_LEV = 15; var PATH_LOADING_GIF = "https://rawgit.com/FedericoLevis/images/master/loading/"; var PATH_SAMPLES_GIF = "https://rawgit.com/FedericoLevis/images/master/samples/"; // Dev: //...
// Get the modal var modal1 = document.getElementById("myModal1"); var modal2 = document.getElementById("myModal2"); var modal3 = document.getElementById("myModal3"); var modal4 = document.getElementById("myModal4"); var modal5 = document.getElementById("myModal5"); var modal6 = document.getElementById("myM...
// import { createRequire } from 'module'; // const require = createRequire(import.meta.url); const gulp = require('gulp'); const concat = require('gulp-concat'); //- 多个文件合并为一个 const replace = require('gulp-replace'); //- 文本替换 const postcss = require('gulp-postcss'); ...
/*! ========================================================= * Vision UI Free Chakra - v1.0.0 ========================================================= * Product Page: https://www.creative-tim.com/product/vision-ui-free-chakra * Copyright 2021 Creative Tim (https://www.creative-tim.com/) * Licensed under MIT (https:...
const fs = require('fs'); const { Mutex } = require('async-mutex'); const Stream = require('./stream'); const Installation = require('./installation'); const Application = require('./application'); const Spinner = require('./spinner'); const files = require('./files'); const tui = require('./tui'); const Wappsto = requ...
var builtins = require('browserify/lib/builtins'); var fs = require('fs'); var path = require('path'); var forEach = require('lodash/collection/forEach'); var sum = require('lodash/collection/sum'); var reduce = require('lodash/collection/reduce'); var pluck = require('lodash/collection/pluck'); var union = require('lo...
import React from 'react'; import {connect} from "react-redux"; import {bindActionCreators} from "redux"; import {actions as nimiqActions} from "../ducks/nimiq"; import Drawer from './Drawer'; import Loading from '../common/Loading'; import Setup from './Setup'; import Messages from './Messages'; import FullHeight from...
/** * instantiate user-ale-logger */ /* disabled until required var ale = new userale({ loggingUrl: 'http://10.1.93.208', //The url of the User-ALE logging server. toolName: 'newman', //The name of your tool toolVersion: 'media', //The semantic version of your tool elementGroups: [ //A list of elemen...
// SPDX-Identifier: MIT const randint = x => Math.floor(x * Math.random()); class BobEvotar { constructor() { this.video = null; this.current_audio = null; this.next_audio = null; // don't think it's a good idea to reuse the game's this.audio_context = new AudioContext; this.playlist = []; this.playlis...
var htm = ''; /*emailField.addEventListener('keyup', function (event) { isValidEmail = emailField.checkValidity(); if ( isValidEmail ) { okButton.disabled = false; } else { okButton.disabled = true; } }); okButton.addEventListener('click', function (event) { signUpForm.submit(); }); */ $("#captch...
/** * Fuse.js v6.4.6 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2021 <NAME> (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */ function t(t) { return Array.isArray ? Array.isArray(t) : "[object Array]" === o(t); } function ...
// vim: set et ts=2 sw=2 : function GPXFromFile (file, onHeader, onTrack, onWaypoint, onSector, onDone) { //GLog.write("GPXFromFile: begin"); this.file = file; this.onHeader = onHeader; this.onTrack = onTrack; this.onWaypoint = onWaypoint; this.onSector = onSector; this.onDone = onDone; this.getFile =...
const VIEWABLE_EXTENSIONS = [ 'VSD', 'VSDX', 'VSX', 'VTX', 'VDX', 'VSSX', 'VSTX', 'VSDM', 'VSSM', 'VSTM' ]; // filedrop component var fileDrop = {}; var fileDrop2 = {}; $.extend($.expr[':'], { isEmpty: function (e) { return e.value === ''; } }); // Restricts input for the set of matched elements...
Requests = { QueryString : function(item){ var svalue = location.search.match(new RegExp("[\?\&]" + item + "=([^\&]*)(\&?)","i")); return svalue ? svalue[1] : svalue; } } var hg_base_url = "https://hg.mozilla.org/"; var hg_params = "/json-pushes/?full&version=2&tipsonly=1&startdate="; var valid...
// https://us-central1-friendlychat-21ea9.cloudfunctions.net/addMessage?text=helloDolly // The Cloud Functions for Firebase SDK to create Cloud Functions and setup triggers. const functions = require('firebase-functions'); // The Firebase Admin SDK to access the Firebase Realtime Database. const admin = require...
/*globals ObjectRow,Environment,sqlFun */ /** * Manages data storing * @module PostData */ 'use strict'; const dsSpace = require('jsDataSet'); const DataSet = dsSpace.DataSet; /** * @type {DataRow} */ const DataRow = dsSpace.DataRow; const DataTable = dsSpace.DataTable; const jsMultiSelect = require('jsMultiSe...
import Cookies from "js-cookie"; import { LOGIN_FAIL, LOGIN_REQUEST, LOGIN_SUCCESS, LOGOUT, ADD_SUPPLIERS_REQUEST, ADD_SUPPLIERS_SUCCESS, ADD_SUPPLIERS_FAIL, GET_SUPPLIERS_SUCCESS, GET_SUPPLIERS_FAIL, GET_SUPPLIERS_REQUEST, DELETE_SUPPLIERS_REQUEST, DELETE_SUPPLIERS_SUCCESS, DELETE_SUPPLIERS_F...
//----------------------------------------------------------------------------- // treatmnt.c // // Project: EPA SWMM5 // Version: 5.1 // Date: 03/20/14 (Build 5.1.001) // 03/19/15 (Build 5.1.008) // Author: <NAME> // // Pollutant treatment functions. // // Build 5.1.008: // - A ...
const Script = require('../models/Script.js'); const User = require('../models/User'); const Notification = require('../models/Notification'); const _ = require('lodash'); /** * GET / * List of Script posts for Feed */ exports.getScript = (req, res) => { //req.user.createdAt var time_now = Date.now(); var ti...
// 0x07016658 - 0x07016670 import { gdSPDefLights1, gsDPSetTextureImage, gsDPLoadSync, gsDPLoadBlock, gsSPLight, gsSPVertex, gsSP2Triangles, gsSPEndDisplayList, gsDPPipeSync, gsDPSetCombineMode, gsDPSetTile, gsSPTexture, gsDPTileSync, gsDPSetTileSize, gsSPDisplayList, G_IM_FMT_RGBA, G_IM_SIZ_16b, CALC_...
var jumpPoints; var jumpLines; var planets; var ship; var scaling = 0; var universeX = 630; var universeY = 300; var showFactions = false; var factionPoints; function init(jpMap, jlMap, pMap, shipMap, fpMap, bhMap) { jumpPoints = jpMap; jumpLines = jlMap; planets = pMap; ship = shipMap; factionPoin...
var currentProfilePicture = ""; var users = []; var currentUser; var currentUserName; var adminID; var adminName; var currentReferralCode; var currentPhone; var currentEmail; var currentProfilePictureURL = null; var currentProfilePictureFile = null; $(document).ready(function () { $.ajax({ ty...
/* global clear_blocks */ /* global formatMoney */ /* global in_array */ /* global new_block */ /* global formatDate */ /* global nDig */ /* global randStr */ /* global bag */ /* global $ */ var ws = {}; var user = {username: bag.session.username}; var valid_users = ["BANKA","BANKB","BANKC" ]; var panels = [ { name:...
// pages/weather/weather.js /* *在onLoad中定位当前城市,通过getForecast(city)查询今天、小时、未来6天的天气 */ //获取应用实例 const app = getApp() //调用百度地图天气API的js文件 var bmap = require('../../utils/bmap-wx-new.js'); //调用util里的时间格式化方法 var util = require('../../utils/util.js'); Page({ //“分享”功能 onShareAppMessage: function() { let that = this;...
/* eslint-disable */ (() => { const c = document.getElementById('canvas2') const g = c.getContext('2d') c.style.width = (c.width / devicePixelRatio) + 'px' c.style.height = (c.height / devicePixelRatio) + 'px' let t = 0 const colorAt = y => { const min = 45 const max = 70 ...
/* eslint-disable complexity, max-depth */ /* * * Manages web standard resource related operations for HTML and markdown. * This is a Greenwood default plugin. * */ import frontmatter from 'front-matter'; import fs from 'fs'; import htmlparser from 'node-html-parser'; import path from 'path'; import rehypeStringif...
"use strict"; //var jitter = require('jitterbuffer'); //var CeltEncoder = require('celt').CeltEncoder; var MumbleSocket = require('./MumbleSocket'); var MumbleOutputStream = require('./MumbleOutputStream'); var MumbleInputStream = require('./MumbleInputStream'); var Messages = require('./MumbleMessageMap'); var util ...
'use strict'; const mp20 = Math.pow(2,20); const removeDiacritics = require('./remove-diacritics'); const idPattern = /^(\S+)\.([0-9]+)$/; const token = require('./token'); const permute = require('../util/permute'); const cl = require('./closest-lang'); module.exports.id = id; module.exports.address = address; module...
/* eslint-disable no-plusplus */ /* eslint-disable no-use-before-define */ /* eslint-disable no-underscore-dangle */ /* eslint-disable no-undef */ /* eslint-disable import/no-dynamic-require */ /* eslint-disable global-require */ /* eslint-disable no-param-reassign */ /* eslint-disable no-restricted-syntax */ /* eslint...
const tabId = uuidv4(); const localStorageID = "EasyNote_2b72694a-dcd2-49f1-8b5c-464d15699c21_bus" const localStorageID_migrated = "EasyNote_2b72694a-dcd2-49f1-8b5c-464d15699c21_migrated" const localStorage_ID_old = "EasyNote_2b72694a-dcd2-49f1-8b5c-464d15699c21" document.body.onload = () => { var container = doc...
import React from 'react'; import axios from 'axios'; import Evaporate from 'evaporate'; import AWS from 'aws-sdk'; import sanitize from '../lib/sanitize_filename'; import UploadType from '../components/UploadType/UploadType'; import ModalUrl from '../components/Modal/ModalUrl'; import ModalValidationReport from "../c...
const AWS = require('aws-sdk'); const md5 = require('md5'); const fs = require('fs'); const path = require('path'); const fileType = require('file-type'); const mime = require('mime-types'); const uniqid = require('uniqid'); const { IoTFleetHub } = require('aws-sdk'); /** * Создание объекта для работы с S3 хранилищем...
//!INIT // Initial Give the ring a color const FULL_DASH_ARRAY = 283; var COLOR_CODES = { info: { color: "green" }, warning: { color: "orange", threshold: intCountdownTimeThresholdarning }, alert: { color: "red", threshold: intCountdownTimeThresholdAlert } }; // Vari...
let requestOrder = 0; let lastRecievedRequestOrder = -1; let paginationHelper; /** * Initializes destination and trip table and calls methods to populate * @param {Number} userId - ID of user to get destinations for */ function onPageLoad(userId) { paginationHelper = new PaginationHelper(1, 1, refreshData, ...
const debug = require('debug')('millegrilles:common:dao:comptesUsagersDao') const { extraireExtensionsMillegrille } = require('@dugrema/millegrilles.utiljs/src/forgecommon') const { verifierChallenge } = require('./webauthn') // const debug = debugLib('millegrilles:common:dao:comptesUsagersDao') //const { extraireInf...
"use strict"; let config = { // Should be higher than real FPS to not skip real frames // Hardcoded due to JS limitations fps: 30, // Low rate decreases the chance of losing frames with poor browser performances playbackRate: 0.4, // Format of the extracted frames imageMimeType: 'image/jp...
/** * Created by Administrator on 2016/11/5. */ import Vue from 'vue' import Vuex from 'vuex' import ajax from '../assets/js/ajax.js' import { stat } from 'fs'; // import { // stat // } from 'fs'; // import axios from 'axios' Vue.use(Vuex) const store = new Vuex.Store({ state: { // baby 主动说话控制 babyTalk: ...
/* @@ MY-SALES-MANAGEMENT.JS @@ By Zheng @@ 2020-04-03 */ var managementTB; var managementDealTB; var Glo_Category = "All Equipments"; var Glo_DealType = "Auction"; var Glo_SelectedDeal = 0; var Glo_SalesCurrency = 'USD'; var DepositHistoryID = []; var history_index = 0; var totalProfit = 0; // Sales Column Data var...
finalFiles = []; counter = 0; $(document).ready(function () { $('select#tipo_veiculo').dropdown({ maxSelections: 1 }); //deixa oculto todos os inputs do formulário do visitante. $("[name=visitante]").hide(); //ativa o menu e sub menu correspondente na navbar. $('#cadastros').addClass('...
import { connect } from 'formik'; import jsPDF from 'jspdf'; import { font, page, feat_magic_gear, powers, journal } from './PDFConstants.js' // var EPIC_JOURNAL = "" // var MAX_PARAGRAPH_LENGTH = 44 // var CONTINUE_PAGING = true // var MAX_HEIGHT = 0 // var LINES=0 // var PARAGRAPH_LINES = 0 /** * Measure the text ...
var pimpMyFilter; var pimpFields; (function( $ ){ pimpMyFilter = { NAME: "PimpMyFilter", VERSION:'0.1', AUTHOR:{ name:"Fynjah", mail:"<EMAIL>", }, //api setModalWidth: function(width){ _this = thi...
const Command = require('../../base/Command.js'); const { getMember } = require('../../util/Util.js'); const randomWords = require('random-words'); const Discord = require('discord.js'); class Hangman extends Command { constructor (client) { super(client, { name: 'hangman', description: 'Play a game ...
/* * Copyright 2012-2013 inBloom, Inc. and its affiliates. * * 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 appli...
import React, {Component} from 'react' import { connect } from 'react-redux' import { Actions } from 'react-native-router-flux' import Config from '../constants/config' import { FlatList, Clipboard } from 'react-native' import { StyleProvider, Container, Content, Spinner, H3, ActionSh...
/* * iRealRenderer * * Render any iReal Pro song into an HTML container element. */ class iRealRenderer { constructor() { this.transposeFlat = [ "C", "Db", "D", "Eb", "E", "F", "Gb", "G", "Ab", "A", "Bb", "B", "C", "Db", "D", "Eb", "E", "F", "Gb", "G", "Ab", "A", "Bb", "B" ]; this.transposeSharp = [...
/* *@Quotation View */ document.getElementById('advance_search').style.display = 'none'; var owner = $("#owner").val(); var leadassignee = $("#leadassignee").val(); var regionname = $("#regionname").val(); var countryname = $("#countryname").val(); var statename = $("#statename").val(); var locname ...
import clone from 'clone'; import equal from 'deep-equal'; import extend from 'extend'; import Delta from 'quill-delta'; import DeltaOp from 'quill-delta/lib/op'; import Parchment from 'parchment'; import Embed from '../blots/embed'; import Quill from '../core/quill'; import logger from '../core/logger'; import Module ...
import concordance from 'concordance'; import isPromise from 'is-promise'; import plur from 'plur'; import {AssertionError, Assertions, checkAssertionMessage} from './assert.js'; import concordanceOptions from './concordance-options.js'; import nowAndTimers from './now-and-timers.cjs'; import parseTestArgs from './par...
/* global $, APP */ /* eslint-disable no-unused-vars */ import Logger from 'jitsi-meet-logger'; import React from 'react'; import ReactDOM from 'react-dom'; import { I18nextProvider } from 'react-i18next'; import { Provider } from 'react-redux'; import { Avatar } from '../../../react/features/base/avatar'; import { i1...
/* eslint-disable no-unused-vars */ import { Icon, Paper, Table, TableFooter, TablePagination, TableRow, CircularProgress, LinearProgress } from '@material-ui/core'; import DoubleScrollbar from "react-double-scrollbar"; import PropTypes from 'prop-types'; import * as React from 'react'; import MTableActions from './m-t...
import * as jsonpatch from 'rfc6902'; import MD5 from 'crypto-js/md5'; import Artifact from './Artifact'; var OIPdFunction = function(){ var Data = this.Data; var Index = this.Index; var Wallet = this.Wallet; var User = this.User; var OIPd = {} OIPd.MP_PREFIX = "oip-mp("; OIPd.CHOP_MAX_LEN = 895; OIPd.TXCOMM...
import React, { Component } from "react"; import moment from "moment"; import styled from "styled-components"; import { connect } from "react-redux"; import Fragment from "render-fragment"; import TextFieldGroup from "../common/TextFieldGroup"; import TextAreaFieldGroup from "../common/TextAreaFieldGroup"; import { wit...
/** * Copyright 2021 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
//============================================================================== // global Variables //============================================================================== const COLOR_BLACK = '#000'; const COLOR_GREEN = '#4caf50'; const COLOR_BLUE = '#0097a7'; const COLOR_YELLOW = '#ffd54f'; const COLOR_RED...
const _ = require('lodash'); const { floor, log10 } = Math; const { UnitTerm } = require('./unit-term'); const prefixes = { '1.00000000e-2': 'centi', '1.00000000e-1': 'deci', '1.00000000e+1': 'deka', '1.00000000e-15': 'femto', '1.00000000e+9': 'giga', '1.00000000e+2': 'hec...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnionTypeComposer = void 0; var _graphql = require("./graphql"); var _is = require("./utils/is"); var _misc = require("./utils/misc"); var _ObjectTypeComposer = require("./ObjectTypeComposer"); var _SchemaComposer = require("./...
var crypto = require('crypto'); var Ber = require('asn1').Ber, BigInteger = require('jsbn'); // only for converting PPK -> OpenSSL format var SSH_TO_OPENSSL = require('./constants').SSH_TO_OPENSSL; var RE_STREAM = /^arcfour/i, RE_GCM = /^aes\d+-gcm/i, RE_KEY_LEN = /(.{64})/g, // XXX the value of 2400...
/** Vanilla JS helper to manipulate DOM without jQuery * @see https://github.com/nefe/You-Dont-Need-jQuery * @see https://plainjs.com/javascript/ * @see http://youmightnotneedjquery.com/ */ import ol_ext_input_Checkbox from './input/Checkbox' import ol_ext_input_Switch from './input/Switch' import ol_ext_input_Radi...
import path from 'path' import sylvester from 'sylvester' import * as MCU_Icon from '../item/MCU_Icon' import data, {Coalition} from '../data' import {Location} from './locations' import {MapColor} from './map' // Territory types export const Territory = Object.freeze({ Front: -1, Unknown: 0 // NOTE: Any positive t...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UcumXmlDocument = void 0; /** * This class handles opening, reading and parsing the XML file of ucum * definitions (prefixes, base units, and unit atoms). * * @author <NAME> * */ var Prefix = require("./prefix.js").Prefix; v...
/* demo.js */ const timer = new Time(); const textMargin = { top: 20, left: 10, bottom: 20, right: 10 }; const font = 'bold 16px Courier'; const options = { numObjects: 512, minRadius: 5, maxRadius: 10, minSpeed: 20, maxSpeed: 40, freezeMovement: false, cellSize: 5, deleteEmptyBuckets: true, testRectEnabled:...
// Copyright 2008 the V8 project authors. 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 ...
import i18n from 'i18n'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators, compose } from 'redux'; import { inject } from 'lib/Injector'; import CONSTANTS from 'constants/index'; import fieldHolder from 'components/FieldHolder/FieldHolder'; import fileShape fr...
/* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
function _typeof(obj) { 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 !== Symbol.prototype ? "symbol" : typeof o...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _resource = _interopRequireDefault(require("./resource")); var _webglUtils = require("../webgl-utils"); var _utils = require("../utils"); function _interopRequireDefault(obj) { return obj && obj.__esModule ...
/* © 2018 NauStud.io * @author Thanh */ import SimpleSchema from 'simpl-schema'; import { OnePay } from './OnePay'; import { urlRegExp } from '../utils'; /** * OnePay International payment gateway helper. * <br> * Supports Master Card, Visa. * * _Hàm hỗ trợ thanh toán qua OnePay Quốc Tế_ * <br> * _Hỗ trợ thẻ ...
//[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] //[4a] NameChar ::= NameStartChar | "-" | "." | ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.translationIds = void 0; var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireWildcard(require("react")); var _classnames = _interopRequireDefault(require("classnames")); ...
import env from "../webix/env"; import ready from "../webix/ready"; import {event, eventRemove} from "../webix/htmlevents"; import {callEvent} from "../webix/customevents"; import {preventEvent, removeCss, create, remove, addCss, addStyle} from "../webix/html"; //late binding import {ui, $$} from "../ui/core"; const...
import * as debug from '../../utils/debug'; import { utils } from '../../utils/utils'; import { Locale } from '../locale/locale'; // The Name of this component. const COMPONENT_NAME = 'busyindicator'; /** * A Busy Indicator notifies the user that the system is processing a request, and that they must * wait for tha...
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 !== Symbol.prot...
var imLocale = new Array(); var imExpireDays = 14 * 24 * 60 * 60 * 1000; //cookie expire date //set a cookie value function imSetCookie(sName,sValue,iExpireDays) { var dExdate = new Date(); dExdate.setTime(dExdate.getTime()+iExpireDays); document.cookie = sName + "=" + escape(sValue) + ((iExpireDays==null) ? ";" : ...
"use strict";var Path;module.watch(require('./path'),{default(v){Path=v}},0);var sfnt;module.watch(require('./tables/sfnt'),{default(v){sfnt=v}},1);var DefaultEncoding;module.watch(require('./encoding'),{DefaultEncoding(v){DefaultEncoding=v}},2);var glyphset;module.watch(require('./glyphset'),{default(v){glyphset=v}},3...
game.PlayerEntity = me.ObjectEntity.extend({ /* constructor */ init:function(x, y, settings){ this.parent(x, y, settings); this.gravity = 0; this.setMaxVelocity(3, 3); this.renderable.addAnimation('idle',[ 0 ]); this.renderable.addAnimation('walk',[1,2,3,4,5,6]) this.renderable.addAnimation('punch',[7,8...
/** * Created by thram on 11/12/15. * * Ease Cheatsheet: ["linear", "none", "get", "getPowIn", "getPowOut", "getPowInOut", "quadIn", "quadOut", * "quadInOut", "cubicIn", "cubicOut", "cubicInOut", "quartIn", "quartOut", "quartInOut", * "quintIn", "quintOut", "quintInOut", "sineIn",...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OrganizationChart = exports.OrganizationChartNode = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _classnames = _interopRequireDefault(require(...
// ColorPicker ////////////////////////////////////////////////////////////////////////////// import Color from './Color'; import utils from './Utils'; import * as d3 from 'd3'; /** * @private */ class ColorPicker { /** * The ColorPicker is based on the [Flexi Color Picker](http://www.daviddurman.com/flexi-c...
/* Project: HMI Technology Comparisons visualisation Filename: aleph-himTechnologyComparison.js Date built: July 2020 to February 2021 Written By: <NAME> (Data Vis Developer) Tech Stack: HTML5, CSS3, JS ES5/6, D3 (v5), JQuery */ // Initialisation of global 'aleph' object construct. Stores all main dynamic v...
const retCode = require('./../utils/enums/CLI-errors') const helpers = require('./../utils/helpers') const exception = require('./../utils/exception') const BuildDiagnostic = require('./../lufile/diagnostic').BuildDiagnostic; const validateLUIS = function(luisJSON) { // look for entity name collisions - list, simpl...
// Settings var user_settings = { game_speed: 1000, mode_appel: 'direct', cheatmode: false, talkative: false }, Settings = { game_speeds: { 500: 'Rapide', 1000: 'Normal', 2000: 'Lent' }, game_speed: 1000, modes_appels: { direct: 'Directs', indirect: 'Indirects' }, mode_appel: 'direc...
'use strict'; var tape = require('../lib/thaliTape'); var IdentityExchange = require('thali/identityExchange/identityexchange'); var identityExchangeTestUtils = require('./identityExchangeTestUtils'); var ThaliEmitter = require('thali/thaliemitter'); var request = require('supertest-as-promised'); var identityExchange...
var assert = require('chai').assert; var chai = require('chai'); var gsl = require('../geojsonlib'); var prl = require('../privatelib'); describe('validate', function () { it('correct point', function () { var pnt = { type: "Point", coordinates: [48.515625, 45.336701] }; ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.integrityErrors = undefined; var _extends2; function _load_extends() { return _extends2 = _interopRequireDefault(require('babel-runtime/helpers/extends')); } var _asyncToGenerator2; function _load_asyncToGenerator() { return...
import React, { useCallback, useEffect, useMemo, useState } from 'react'; import PropTypes from 'prop-types'; import semver from 'semver'; import clsx from 'clsx'; import withWidth from '@material-ui/core/withWidth'; import { withStyles } from '@material-ui/core/styles'; import IconButton from '@material-ui/core/Icon...
var WordCloud = require('./wordcloud2') require('./css/spin.css') var util = require('./util').default const LODAING_WRAPPTER_HTML_PRE = '<div class="__wc_loading_wrapper__">' + '<div style="padding-left: 60px;" class="__wc_loading_wrapper_item__">' + '<div class="__wc_loading_wrapper_item_inner__">' co...
import hljs from 'highlightjs'; import moment from 'moment'; import $ from '../jQuery-globals'; import './wizard.css'; import i18n from '../i18n'; import SensorWidget from '../SensorWidget'; import SOS from '../SOS'; import 'daterangepicker'; import 'bootstrap'; import 'highlightjs/styles/color-brewer.css'; import '...
import { defineComponent, resolveComponent, openBlock, createBlock, createVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, mergeProps, createSlots, withCtx, createTextVNode } from 'vue'; import { getValueByPath } from './helpers.js'; import { getOptions } from './config.js'; import { B as B...
import fs from 'fs'; import os from 'os'; import path from 'path'; import ttfInfo from 'ttfinfo'; import { spawn } from 'child_process'; import readChunk from 'read-chunk'; import getFileType from 'file-type'; const getPlatform = () => (process.platform === 'darwin') ? 'osx' : (/win/.test(process.platform) ? 'windows'...
/* Copyright 2016 First People's Cultural Council 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 in writi...
/* * Orwell http://github.com/gettocat/orwell * Platform for building decentralized applications * MIT License * Copyright (c) 2017 Nanocat <@orwellcat at twitter> */ var bitPony = require('bitpony'); var pool = require('../db/entity/block/pool') var genesis = require('./block/genesis') var chainEvents = require(...
/** * Создание файлов РПД. В действительности функция не принимает никаких аргументов, а инициализирует переменные с аналогичными названиями. * @param templatesFolder - Папка контентных шаблонов. * @param disciplineSheet - Файл "Выгрузка дисциплин из УП". * @param disciplineSheet.values[].row.year * @param parame...