text
stringlengths
5.97k
41.2k
/** * This file contains the functions needed in both versions (bgImg or Img) */ var PIL = {}; (function(pil) { 'use strict'; /** * Inits all the images (both background and non background images) found in the document. */ pil.initAllImages = function() { var progressiveBgImages = document.g...
/* comtac AG LPN TD-1 payload decoder (TTN). www.comtac.ch <EMAIL> */ //DEFINES var PAYLOAD_VERSION = 0x01; //PL version 1 var DATA_PORT = 3; //DATA port var CONFIG_PORT = 100; //CONFIG port var INFO_PORT = 101; //INFO port var TYPE_TEMP_HUM_EVENT = 0x03; //temp 2 bytes -327.68°C -->327.67°C & hum 1 byte ...
class MotivatorsGraph { constructor(teamName, orderByMember) { this.baselineName = this.teamName = teamName; this.orderByMember = orderByMember; } get baselineName() { return this._baselineName; } set baselineName(value) { this._baselineName = value; var member = value === this.teamName || valu...
// ==UserScript== // @name Post Timeline Filters // @description Inserts several filter options for post timelines // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew // @version 2.2 // // @include https://*stackoverflow.com/* // @include https://*serverfault...
import Player from '../gameObjects/Player.js'; import Boost from '../gameObjects/boost.js'; import Bullet from '../gameObjects/bullet.js'; class ScenePlayOFFLINE extends Phaser.Scene { constructor() { super({ key: "ScenePlay" }); this.menuOn = false; this.respawnPlaces = [[490, 300], [850...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
var translate_rotate_scale; var SIN, COS; SIN = Math.sin COS = Math.cos translate_rotate_scale = function (targetMat, position, rx, ry, rz, scale) { var a = targetMat, sx, sy, sz, cx, cy, cz, a00, a01, a02, a03, a10, a11, a12, a13, a20, a21, a22, a23, b00, b01, b02, b10, b11, b12, b20, b21, b22; if (position) { va...
var PMath = Particulate.Math; var Tweens = App.Tweens; var ENABLE_ZOOM = true; var ENABLE_PAN = false; var DEBUG_NUDGE = false; App.MainScene = MainScene; function MainScene() { var scene = this.scene = new THREE.Scene(); var camera = this.camera = new THREE.PerspectiveCamera(30, 1, 5, 3500); var el = this.elem...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
const remote = require('electron').remote; const app = remote.app; const path = require('path'); const forEachAsync = require('forEachAsync').forEachAsync; const omdbapi = require('omdbapi'); const tmdb = new (require('tmdbapi'))({ apiv3: '5d357768816b32bc2a1f43a06b62cf4c' }); const img_dl = require('image-download...
/** * DevExtreme (ui/file_manager/ui.file_manager.notification.progress_panel.js) * Version: 20.1.3 * Build date: Fri Apr 24 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var _re...
/* eslint-disable no-unused-vars */ /* * ISC License (ISC) * Copyright (c) 2018 aeternity developers * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all ...
import { useState, useEffect } from "react"; import { useRouter } from "next/router"; import axios from "axios"; import { Container, Button, Header, Icon, Divider, Modal, Input, Form, } from "semantic-ui-react"; import styled from "styled-components"; import { useRecoilValue, useRecoilState } from "reco...
#! /usr/bin/env node var parseJS = require("../lib/parse-js"); var sys = require("sys"); // write debug in a very straightforward manner var debug = function () { sys.log(Array.prototype.slice.call(arguments).join(', ')); }; ParserTestSuite(function (i, input, desc) { try { parseJS.parse(input); ...
/* eslint camelcase: 0 */ import Logger from "@reactioncommerce/logger"; import Shopify from "shopify-api-node"; import { Job } from "/imports/plugins/core/job-collection/lib"; import { Meteor } from "meteor/meteor"; import Reaction from "/imports/plugins/core/core/server/Reaction"; import { check, Match } from "meteor...
/* * CVI Tools * Classes to render Core-Values-Index profiles in HTML5 */ /* be formal about it */ "use strict"; /* extend the string so it can do an sprintf type conversion */ if (!String.prototype.format) { String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, f...
/* eslint no-console: 0, comma-dangle: 0, no-restricted-syntax: 0, guard-for-in: 0, max-len: 0, object-curly-newline: 0 */ /* global $, math */ // todo: refactor into one object const dilutions = { fentanyl: 50, propofol: 10, atracurium: 10, ondansetron: 2, morphine: 10, dexamethasone: 3.3, paracetamol...
"use strict"; var $ = jQuery; //Form Stylization function formStylization(){ var radio = 'input[type="radio"]', checkbox = 'input[type="checkbox"]'; $(radio).wrap('<div class="new-radio"></div>').closest('.new-radio').append('<span></span>'); $(checkbox).wrap('<div class="new-checkbox"></div>').clos...
var assert = require('assert'); var _offset = require('../offset'); var Vec2 = require('vec2'); var Canvas = require('canvas'); var canvas = new Canvas(800, 600); var ctx = canvas.getContext('2d'); var fs = require('fs'); var segseg = require('segseg'); var drawPoint = function(point, color) { ctx.fillStyle = color;...
import AttributeCompression from "../../Core/AttributeCompression.js"; import Cartesian3 from "../../Core/Cartesian3.js"; import Color from "../../Core/Color.js"; import Check from "../../Core/Check.js"; import ComponentDatatype from "../../Core/ComponentDatatype.js"; import defaultValue from "../../Core/defaultValue.j...
var painless = require('painless'); var fecha = require('./dist/fecha.min.js'); var test = painless.createGroup(); var assert = painless.assert; var today = new Date(); var year = today.getFullYear(); function testParse(name, str, format, date) { test(name, function() { assert.equal(+fecha.parse(str, format), +d...
// The local/remote server URL //var ROBOT_SERVER = '192.168.2.1:80'; var ROBOT_SERVER = 'sumoserver.robokoding.com:443'; // // The sumorobot object var sumorobot; // Disable / enable coding mode var codingEnabled = false; // Disable / enable live stream var liveStreamVisible = false; // PeerJs for peer to peer audio ...
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __defProp = Object.defineProperty; var __defProps = Object.defineProperties; var __getOwnPropDescs = Object.getOwnPropertyDescriptors; var __getOwn...
// //Create variables for the width and height of the chart you are creating // //console.log("hello"); // var svgWidth = 900; // var svgHeight = 750; // //Create variables for the margin // var margin = { // top: 20, // right: 75, // bottom: 80, // left: 100 // }; // //Set the screen size // var width = svgW...
import choc, {set_content, DOM} from "https://rosuav.github.io/shed/chocfactory.js"; const {A, B, BR, BUTTON, DIV, IMG, UL, LI, SPAN} = choc; const chat_restrictions = [ ["emote_mode", "Emote-only mode"], ["follower_mode", s => s.follower_mode_duration ? "Follower-only mode (" + s.follower_mode_duration + " minute...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BanchoResponseType = exports.parser = void 0; const Player_1 = require("../Player"); var parser; (function (parser) { function ParseBanchoResponse(message) { // 1文字目を整数比較してifの評価回数を減らす switch (message.charCodeAt(0)) ...
// Global Variables var DIRECTION = { IDLE: 0, UP: 1, DOWN: 2, LEFT: 3, RIGHT: 4 }; var winningScore = 11; // 250; //var numRounds = 10; // The ball object (The cube that bounces back and forth) var Ball = { new: function () { return { width: 18, height: 18, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _gCanvas = require("@antv/g-canvas"); var _gSvg = require("@antv/g-svg"); var _util = require("@antv/util"); var _domUtil = require("@antv/dom-util"); var _matrixUtil = require("@antv/matrix-util"); var _...
$.ajaxSetup({headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}}); $("#addPaymentBtn").click(function(event) { $("#addPaymentModal").modal('show'); /* Act on the event */ }); $("#btnSaveOrder").click(function(){ $("#salesForm").submit(); }); ...
/* var _editor = { defer : function(func) { func(); }, loadPart : function(info) { info.$ready(); } } if (!window.require) { window.require = function(requirements,callback) { callback(); } }*/ var controller = { pageId : 0, activeSection : null, ready : false, selectedText : '', c...
const Discord = require('discord.js'); const { Data } = require('../data.js'); const { DataHandler } = require('../database.js'); module.exports = { name: 'jacob', aliases: ['jlb', 'jlbs'], description: 'Get jacob\'s high scores or leaderboard!', usage: '(username)', guildOnly: false, dmOnly: f...
/* __ __ * \ \ / /_ _ _ __ _ __ * \ V / _` | '_ \| '_ \ * | | (_| | |_) | |_) | * |_|\__,_| .__/| .__/ * |_| |_| * Yet Another Php Proxy * * Copyright (c) 2016-2021 <NAME> <https://jcubic.pl/me> * * Released under MIT license <https://opensource.org/licenses/MIT> */ /* global atob, loc...
/* Spellcast Copyright (c) 2014 - 2020 <NAME> The MIT License (MIT) 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, co...
// this is now a standalone javascript file, formerly embedded in fullcalendar.html.twig (ugly) // gets Parameters via DOM, see below // Load jQuery when it is not loaded already by the theme if (typeof jQuery=='undefined') { var headTag = document.getElementsByTagName("head")[0]; var jqTag = document.createElement(...
'use strict'; function cChannels(){ var self = this; self._version = '1.0'; self._branches = {}; self.getChannel = function(contactsGroup){ var i, j, uniq = {}, promises = [], channelsObj = {}; (contactsGroup instanceof Array && contactsGroup[0] instanceof Array) || (contactsGroup = [contactsGroup]); for...
import * as d3 from "d3"; import {filter, flatMap, indexOf, map, take, uniq, zipWith} from "lodash-es"; // -- CONFIG -- let config = {}; // Debug grid config.debug = false; // Whole SVG area config.canvas = {}; config.canvas.height = 320; // px config.canvas.width = 580; // px config.canvas.fontFamily = "sans-ser...
function recycle(values, length, inPlace) { if (length === 0 && !inPlace) return []; if (!(values instanceof Array)) { if (inPlace) { throw new Error("Can't do in-place recycling of a non-Array value"); } values = [values]; } if (typeof(length) === 'undefined') length = val...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author <NAME> @sokra */ "use strict"; const { SyncWaterfallHook } = require("tapable"); const Compilation = require("../Compilation"); const RuntimeGlobals = require("../RuntimeGlobals"); const RuntimeModule = require("../RuntimeModule"); const Templ...
// ag-grid-react v26.2.0 "use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// Event listeners for css transitions window.addEventListener("load", () => { document.querySelector("body").classList.add("loaded"); }); window.addEventListener("scroll", () => { document.querySelector("body").classList.add("scrolled"); }); function openForm() { document.getElementById("e_Form").style.di...
Object.defineProperty(exports, '__esModule', { value: true, }); var _createClass = (function() { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = tru...
var config = require('../config/config'); // get config file var path = require('path'); var color = require('colors-cli/safe') var error = color.red.bold; var warn = color.yellow; var notice = color.x45; var sys = require('util') var child_process = require('child_process'); var fs = require('fs'); var winston = requi...
import React, { useState, useEffect, useCallback, Fragment } from 'react' import { Platform, Text, View, Button, ActivityIndicator, Image, Alert, BackHandler, } from 'react-native' import { connect } from 'react-redux' import { PropTypes } from 'prop-types' import I18n from 'react-native-i18n' import Mo...
$(window).on('load', function () { init(); }); var timerSFN, timerSC, timerPC; var menuState = false; var $mainContent, $el; var nbCaptions = 0; var archiveBool = false; function init() { var wh = $(window).height(); var wv = $(window).width(); var docScroll = 0; var nbImgs = $('.article-content-im...
import './App.svelte.css.proxy.js'; /* src\App.svelte generated by Svelte v3.32.3 */ import { SvelteComponent, append, attr, binding_callbacks, check_outros, create_component, destroy_component, detach, element, group_outros, init, insert, listen, mount_component, noop, run_all, safe_not_equal, space,...
var _ = require('underscore'); var Q = require('q'); var moment = require('moment'); var crypto = require('crypto'); var mongoose = require('mongoose'); var mongo = mongoose.mongo; var GridStore = mongo.GridStore; var ObjectId = mongoose.Types.ObjectId; require('mongoose-long')(mongoose); var R = require('ramda'); mod...
//todo Remove "TBD" /** * Form Submits */ // Set up all the forms on DOM ready $(function() { // Initialize forms $('.splashtop-form').each(function() { $(this).on('submit', handleFormSubmit); //todo Last: set up front end validation // When the email field receives input //...
#!/usr/bin/env node /* eslint-env node */ var path = require('path'), fs = require('fs'); var semver = require('./utils/3rdparty/semver.js'); var generateStakeholdersHash = require('./utils/generateHashFromStakeholders.js'); var { spawn, exec } = require('./utils/run-command.js'); var nodeParents = require('....
/* PLUGINS SELECT2 EN EL SELECTOR DE DOCUMENTO EN EL FORMULARIO DE GUARDAR ORDEN DE TRABAJO SERVICIO TECNICO */ $('#tipoDocumento').select2({ placeholder: 'Seleccione un documento', allowClear: true, minimumResultsForSearch: Infinity, }) /* PLUGINS SELECT2 EN EL SELECTOR DE EDITAR DOCUMENTO EN EL MODAL DE EDITAR OR...
/* const xyzData = `2 H 1 1 0 O 3 2 0 H 5 1 0`; */ // Utility functions function all(bools) { return bools.reduce((acc, bool) => acc && bool, true); } // Parsing functions // Taken from https://stackoverflow.com/questions/29085197/how-do-you-json-stringify-an-es6-map function mapReplacer(key, value) { if (val...
const NUMBER_OF_TAGS = 12; // default number of middle nodes let r = 10, // px dr = 10, // max increment to random radius, px linkLength = 0.35, // relative to viewport height interactionRange = 80, // px attractionRate = 0.5, // how fast nodes are attracted to cursor velocityDecay = 0.1, rando...
// couple of constants var POS_X = 1800; // Initial camera pos x var POS_Y = 500; // Cam pos y var POS_Z = 1800; // Cam pos z var DISTANCE = 10000; // Camera distance from globe var WIDTH = window.innerWidth; // Canvas width var HEIGHT = window.i...
/** * Control the logic for the date-picker */ // UPDATE const UPDATE_SPRINT_ID = "#update-sprint-id"; const UPDATE_SPRINT_NAME = ".update-sprint-name"; const UPDATE_SPRINT_BTN_SUBMIT = "#update-sprint-btn-submit"; const UPDATE_DATE_RANGE_CONTAINER = ".update-container-date"; const TRASH_BTN_REMOVE_SPRINT = "#trashB...
/* eslint-disable react/no-deprecated */ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { toPairs, find, get, without } from 'lodash'; import { compose, getContext, withProps } from 'recompose'; import { local } from 'redux-fractal'; import { createStore, combineRe...
/******************************************************************************* This file is part of Shellfish. Copyright (c) 2020 <NAME> <<EMAIL>> 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...
import { createAction, handleActions } from 'redux-actions'; import { bindActionCreators } from 'redux'; import makeDebug from 'debug'; /** * Build a Redux compatible wrapper around a Feathers service. * * Instead of using a feathers-client service directly * app.services('messages').create({ name: 'John' }, (...
/** * HTTP client. */ 'use strict'; /** * Module dependencies. */ var events = require('events'); var http = require('http'); var https = require('https'); var url = require('url'); var util = require('util'); var constants = require('./constants'); var errors = require('./errors'); var meta = require('../packa...
const Discord = require('discord.js') const fetch = require('node-fetch') const pjson = require('./package.json') const db = require('./database/db') require('dotenv').config() const client = new Discord.Client({ partials: ['MESSAGE', 'REACTION'] }) const guildsData = new Map() const TXPRICE = 0.00002100, CREATE = 0,...
'use strict'; var async = require('async'); var _ = require('lodash'); var moment = require('moment'); var CpTranslations = require('cp-translations'); var I18NHelper = require('cp-i18n-lib'); var i18nHelper = new I18NHelper({ poFilePath: CpTranslations.getPoFilePath(), poFileName: 'messages.po', domain: 'coder-...
/* Constants */ const MILLS_IN_HOUR = 3600000; const ERROR_CODE_ROOM_INVALID_PASSWORD = 203; const ERROR_CODE_ROOM_INVALID_CREDS_LENGTH = 301; const ERROR_CODE_ROOM_INVALID_DESCRIPTION_LENGTH = 304; const ERROR_CODE_ROOM_USER_DUPLICATION = 209; const ERROR_CODE_INVALID_USER_NAME_LENGTH = 205; const ERROR_CODE_ROOM...
'use strict'; const CoreModuleEventController = require('../../classes/base/CoreModuleEventController'); const promiseFactory = require('../../helpers/promiseFactory'); const express = require('express'); const { URL } = require('url'); const cookieParser = require('cookie-parser'); const bodyParser = require('...
// 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, modi...
// load versions list const ZOWE_VERSIONS = require('./versions.json') const CURRENT_ZOWE_VERSION = '1.2.0' // root base url for all versions const ROOT_BASE_URL = '/docs-site' // Due to VuePress limitation, publish url path cannot have dot (.) inside // so we convert it to dash const PUBLISH_TARGET_PATH = (process.env...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
const d3 = require('d3'); const fs = require('fs'); function Tree(container, width, height) { this.container = container; this.width = width; this.height = height; this.nodeRadius = 8; this.svg = this.container.append('svg') .attr('id', 'treeSvg') .attr('preserveAspectRatio', 'xMinY...
import React, { Component } from 'react'; import '../../index.css'; import { withRouter } from 'react-router-dom'; import api from '../../helper/endpoints'; import { DateRangePicker } from 'react-dates'; import Geosuggest from 'react-geosuggest'; import queryString from 'query-string'; import moment from 'moment'; impo...
function e(e) { var r = e.context.btn, i = e.opt; console.log("profile data", i), i.is_self && r.clearRect((0, t.cx)(35), (0, t.cy)(485), (0, t.cwh)(345), (0, t.cwh)(125)); var s = 0; if (i.is_self && (s = -57), i.praise_info.praise_count > 0) { var a = 314 / i.praise_info.reward_count, n =...
"use strict"; var ts; (function (ts) { var server; (function (server) { /* @internal */ server.ActionSet = "action::set"; /* @internal */ server.ActionInvalidate = "action::invalidate"; /* @internal */ server.ActionPackageInstalled = "action::packageInstalled"; ...
import PropTypes from 'prop-types' import React from 'react' import ReactTooltip from 'react-tooltip' import { get, isEqual, throttle } from 'lodash/fp' import cheerio from 'cheerio' import cx from 'classnames' import Moment from 'moment' import { TOPIC_ENTITY_TYPE } from 'hylo-utils/constants' import { POST_PROP_TYPES...
import {Loader} from './Loader.js'; import {KaitaiGlue} from './kaitai/KaitaiGlue.js'; import {CPU} from "../Processor/CPU.js"; export class MachOLoader extends Loader { constructor(preferredMemorySize, name = "main") { super(preferredMemorySize); this.name = name; this.macho = undefined; ...
import React, { Fragment } from 'react' import _ from 'lodash' import PropTypes from 'prop-types' import styled, { ThemeProvider } from 'styled-components' import ArrowIcon from '~/ui/icons/ArrowIcon' import BctButton from '~/ui/global/BctButton' import CardActionHolder from '~/ui/icons/CardActionHolder' import CardMe...
import Rnd from "react-rnd"; import React from "react"; import ReactDOM from "react-dom"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import { ContextMenu, MenuItem, ContextMenuTrigger, SubMenu } from "react-contextmenu"; import { createStructuredSelector } from "reselect"; import...
'use strict'; const ip = "localhost"; const baseUrl = 'http://'+ip+':4000/Avengers1/'; // 'http://'+ip+':5000/media/Avengers1/'; let mdp = baseUrl + 'avengers1.mdp'; let video = document.getElementsByClassName('video')[0]; let GmediaSource = null; let isInitFinish = false; let qList = new Array(); // 비디오 퀄리티 리스트...
const pkg = require('./package.json') const cfg = require('./config.json') const Promise = require('bluebird') const os = require('os') const fs = Promise.promisifyAll(require('fs')) const child_process = Promise.promisifyAll(require('child_process')) const path = require('path') const crypto = require('crypto') const ...
import { action as MetaAction, AppLoader } from 'edf-meta-engine'; import { fromJS } from 'immutable'; import { history, environment } from 'edf-utils'; import config from './config'; import moment from 'moment' let { changeTheme, changeThemeforIE } = window.changeTheme let loadSplitCss = false const borwserVersion =...
/* global chrome */ /* eslint import/no-extraneous-dependencies: 0 */ /* eslint no-lonely-if: 0 */ /* eslint consistent-return: 0 */ /* eslint no-unused-expressions: 0 */ /* eslint prefer-spread : 0 */ /* eslint guard-for-in : 0 */ /* eslint prefer-template : 0 */ import axios from "axios"; import HtmlEntities from "ht...
var _barwidth = 20; var _leftspacing = 40; var _bottomspacing = 5; var _linedist = 2; var _anispeed = 700; var _colorMetric = "specificity"; var _slicecount = 0; var _barheights = new Object; var _dataarray = new Object; var _dataSortSize = new Object; var _highest = 0; var _lowest =...
import React from 'react' import BaseComponent from '../../../components/BaseComponent' import './ExampleView.scss' import ChinaCities from './ChinaCities' import { FormGroup, FormField, FormInput, FormText, FormNumber, FormSelect, FormDate, FormTextarea, FormRadio, FormFile, FormCheckbox, FormC...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.appInstances = void 0; var _typeof2 =...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
"use strict"; /** * Constants */ // id of the html div to contain the canvas const GRAPH_DIV_ID = "graphContainer"; // id of the html div to contain the graph sidebar const SIDEBAR_DIV_ID = "sidebarContainer"; // different types of goals to be rendered const TYPE_FUNCTIONAL = "Functional"; const TYPE_EMOTIONAL = ...
import crypto from "crypto"; import { KEYUTIL, KJUR, X509 } from "jsrsasign"; import moment from "moment"; import CoinString from "coinstring"; import _ from "lodash"; import GMCryptoUtils from "./gmCryptoUtils"; import SHA1withECDSA from "./algorithmNames"; const gmCUs = new GMCryptoUtils("wss://localhost:9003"); /*...
import moment from 'moment' import { Message } from 'element-ui' const util = { openNewPage(vm, name, argu, query) { const pageOpenedList = vm.$store.state.app.pageOpenedList const openedPageLen = pageOpenedList.length let i = 0 let tagHasOpened = false while (i < openedPageLen) { ...
/** * Module dependencies. */ var commands = require('./commands'); var utils = require('./utils/utils'); var Queue = require('./utils/queue'); var fs = require('fs'); var crypto = require('crypto'); var moment = require('moment'); var async = require('async'); var Rewriter = require('../lib/rewriter/rewrit...
/* Dynamic Image Distortion in the Browser with HTML5 Canvas (UI via KineticJS and Knockout) ======================================================================================== HTML5 Canvas is a raw drawing interface, supporting images and many shapes directly, but also giving direct access to pixel manipulation...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
//dealing with option: other function showfield(id, name) { if (name == 'Other') { $('#' + id).css('display', 'block'); } else { $('#' + id).css('display', 'none'); } } //delete row function deleteMe(name) { ...
import Login from "./login"; import Card from "./cards"; import swal from "sweetalert"; // Array de usuarios const empresas = [ { name: "Garupa", phone: "(51) 9 9999-9999", email: "<EMAIL>", login: "garupa", password: "<PASSWORD>", }, { name: "3035 Tech", phone: "(51) 9 9999-9999", ...
import bent from 'bent'; const weeklyDays = 7; export let dataSet = { countries: ["My Country", "My State", "My County", "Selected Location"], justCountries: ["My Country"], justCounties: [ "My County"], justStates: ["My State"], } export const flu= 149 // Based on mortality rate of the flu; export co...
import React, { Component } from 'react'; import Icon from 'react-native-vector-icons/FontAwesome'; import { Image, StyleSheet, TextInput, FlatList, View, BaseInput, Keyboard, KeyboardAvoidingView, TouchableWithoutFeedback, } from 'react-native'; import { Container, Text, Button, ListView, Right, Footer...
/** * Created by Herbert on 11/3/2017. */ /* // html for popover buttons let popover_html = '<i class="fa fa-tag fa-fw-lg" id="web-view-assign-label"></i>' + '<i class="fa fa-object-group fa-fw-lg" id="web-view-select-similar"></i>' + '<i class="fa fa-link fa-fw-lg" id="web-view-merge"></i>' + '<i class=...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
'use strict'; /** * Emerging Citizens * Developed by Engagement Lab, 2016 * ============== * WikiGeeks game controller * * @class lib/games * @static * @author <NAME> * @author <NAME> * * ========== */ var coreModule = require('learning-games-core'), Core = coreModule.Core, shuffle = coreModule.Shu...
//TODO(design): conditionally including globals (createDynamic, createDynamic, createComponent) //TODO(design): More specific xvdom AST node information (element, component, w/dynamic-props? etc.) // - There is waaayyyy to many arguments being passed between the create*Code functions // - ...
const fs = require('fs'); const db = require('quick.db') const wiodb = require('wio.db') const ms2 = require('parse-ms') const ms = require("ms") const Canvas = require('canvas') const ayarlar = require('./ayarlar.json'); require('./invite.js') require('events').EventEmitter.prototype._maxListeners = 70; require('event...
import clarifai from 'clarifai'; import Tokenfield from 'tokenfield'; var imageLabels = new Meteor.Collection("null"); var labelTokens = null; var colorTokens = null; var $cropperImage = null; var URL = window.URL || window.webkitURL; var uploadedImageURL; var app = new Clarifai.App( 'p43cn9iV1tcUAzDNiAz3Z7x...
var platino = require('io.platino'); // Note: Yes, the module loading technique is a little different in this case. // Instead of using a return value, a global variable called co_lanica_chipmunk2d was registered. // We can alias that with a local variable called chipmunk for brevity. require('co.lanica.chipmunk2d'); v...
/* Windows API interface. * * Copyright 2017 Raising the Floor - International * * Licensed under the New BSD license. You may not use this file except in * compliance with this License. * * The R&D leading to these results received funding from the * Department of Education - Grant H421A150005 (GPII-APCP). How...
const agreement = { 'id': 'd812b156-1385-4608-93a0-dd7ebdd05198', 'dateCreated': '2021-08-09T13:10:36Z', 'name': 'AM ag 1', 'orgs': [], 'externalLicenseDocs': [], 'outwardRelationships': [], 'customProperties': {}, 'contacts': [], 'tags': [], 'lastUpdated': '2021-08-09T19:03:46Z', 'inwardRelations...