text
stringlengths
5.97k
41.2k
/* Global Variables */ // Create an array named shoppingCart to store products added to the users cart var shoppingCart = new Array(0); /** * @script.js * Provides features for the eCommerce template. * * This file contains example functions for the eCommerce website template. */ /** * @de...
let core window.onload = _=>{ // const f = new Range({width: 500, value: 0, class: `input`, min: 0, max: 1, scale: 4, step: .001, label: `F`, labelWidth: 200}) // const vmat = new Range({width: 500, value: 0, class: `input`, min: 0, max: Math.PI * 2, scale: 4, step: .01, label: `Vᵀ rotation`, labelWidth: 200, form...
"use strict"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; function _classCallCheck(instance, Constructor) { if (!(instan...
"use strict"; /** * RootView.tsx * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * The top-most view (rendered into window.body) that's used for proper * layering or modals, etc. in the web implementation of the ReactXP * cross-platform library. */ var __extends = (this...
const fadeIn = 1000 const triggerScroll = 1000 const chatListName = "chatListName"; var chatList = {} var currentIst = null var emoji2code = {} var modalitaEnum = { MOBILE: 0, DESKTOP: 1 }; var userData = {} var modalita; $(document).ready(function () { //nascondi la chat da mobile if ($(document).widt...
/* Copyright 2016 Hilscher Gesellschaft fuer Systemautomation mbH. * * 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 * * ...
helpers_js = true; exports = (typeof exports === 'undefined' ? {} : exports); function $q(d,q) { if (!q) { q = d; d = document; } return d.querySelector(q); } function $qq(d,q) { if (!q) { q = d; d = document; } return d.querySelectorAll(q) } exports.q = $q; exports.qq = $qq; function $r() { return A...
/** * @file 全局数据模型 model * 提供数据的读取、保存/缓存、删除、更新等操作。各模块 model 可继承该模型,以进行模块范围内的数据存取操作。 * @module adm * @author <EMAIL> * @since 2016-03-31 * * @example * import adm from 'ajax-data-model'; * const upsModel = $.extend(true, {}, adm, {aa: 'ccc', restapi: {task_type: '/rest/task/type'}}); * // 支持的方法:upsModel.get、up...
import {epsilon} from "./math"; import {geoConicConformal as conicConformal} from "d3-geo"; import {geoMercator as mercator} from "d3-geo"; import {fitExtent, fitSize} from "./fit"; import {path} from "d3-path"; // The projections must have mutually exclusive clip regions on the sphere, // as this will avoid emitting...
import React, { Component } from "react"; import PropTypes from "prop-types"; import Select from "react-select"; import classNames from "classnames"; import _ from "lodash"; import manager from "../middleware/ChannelManager"; import InitialLoader from "../addons/InitialLoader"; const helper = require("../middleware/he...
const db = require('quick.db'); const points = new db.table('POINTS'); const levels = new db.table('LEVELS'); const xpl = new db.table("TOTAL_POINTS"); const Discord = require('discord.js'); const client = new Discord.Client({ forceFetchUsers: true }); const mconfig = require("./main.json"); const fs = require('fs');...
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * https://raw.github.com/facebook/regenerator/master/LICENSE file. An * additional grant of patent rights can be found in the PATENTS file in * the same directory. */ export...
import logger from 'winston'; import { hexToNumber, toBN } from 'web3-utils'; import { pledgeState } from './helpers'; import Notifications from './../utils/dappMailer'; const ReProcessEvent = () => {}; const has = Object.prototype.hasOwnProperty; function getDonationStatus({ toPledge, toPledgeAdmin, intendedProject...
function FormatMember(path) { // _0x19882c['removeCookie']['toString']() // | // | // | // v // _0x19882c.removeCookie.toString() var curNode = path.node; if(!t.isStringLiteral(curNode.property)) return; if(curNode.computed === undefined || !curNode.computed === true) ...
/* * [node-websockets](lib/rfc6455.js) * rfc6455 に基づいたプロトコル実装および、拡張 * 2021/08/13 remove Buffer depercation */ var NULL = null, TRUE = true, FALSE = false; var util = require('util'), events = require('events'), crypto = require('crypto'); var URL = require('url'), http = require('http'), https = require('https'); ...
/** GROUPS **/ let agent_interval_time = 30000; let agent_interval = null; $(document).ready(function () { let table = $('#netTbl'); table.DataTable({ ajax: { url: '/plugin/chain/rest', type: 'POST', contentType: 'application/json', dataType: 'json', ...
/** * * <p>Title: BONC - React </p> * * <p>Description: 地图柱状图混合使用方法请参照政企楼宇页面 </p> * * <p>Copyright: Copyright BONC(c) 2019 - 2025 </p> * * <p>Company: 北京东方国信科技股份有限公司 </p> * * @author: liutong * @date: 2019/11/29 */ import React, { PureComponent } from 'react'; import echarts from 'echarts'; import styles fr...
import React from 'react'; import PropTypes from 'prop-types'; import Link from 'components/Link'; import classNames from 'classnames'; import LiveblogUpdates from './LiveblogUpdates'; import ElectionBattle from './ElectionBattle'; import s from './ElectionState.scss'; import RenderChart from '../Charts/RenderChart'; i...
//jQuery time var current_fs, next_fs, previous_fs; //fieldsets var left, opacity, scale; //fieldset properties which we will animate var animating; //flag to prevent quick multi-click glitches var body = $("html, body"); var uploadwrap; var isValidated; var pageNumber; var style_layout = 1; var type_subscription = 1...
"use strict"; var commons = require("../commons.js"); var lamb = commons.lamb; var sparseArrayEquality = commons.equalities.sparseArrayEquality; var nonFunctions = commons.vars.nonFunctions; var wannabeEmptyArrays = commons.vars.wannabeEmptyArrays; describe("lamb.sort", function () { var descSorter = lamb.sorte...
import React, {Component} from 'react'; import Swiper from 'swiper/dist/js/swiper.js' import 'swiper/dist/css/swiper.min.css' import {NavBar, Icon, List, InputItem, TextareaItem, ImagePicker, WingBlank, WhiteSpace, Picker, DatePicker, Tag, Flex, Button, Toast} from 'antd-mobile' import './index.css' imp...
/** * git-control * Copyright <NAME> <<EMAIL>> * License: MIT */ 'use strict'; //TODO read .git file on submodules //TODO implement exec-sync var pio = require('promised-io/promise'), _util = require('./utils'), parseConfig = _util.parse, merge = _util.merge, path = require('path'), cp = requ...
$(document).ready(function () { $.hivce.loader('show'); GetClinicalSummaryData(); // $("#txtNumberofadherence").keydown(function (e) { // Allow: backspace, delete, tab, escape, enter and . if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 || // Allow: Ctrl+A, Command...
const MODULE_CONTACT = 'contact'; const MODULE_ORDER = 'order'; const MODULE_CONTACT_LOG = 'contact-log'; const MODULE_PRODUCT = 'product'; const MODULE_PRODUCT_CATEGORY = 'category'; const MODULE_ORDER_EXAMPLE = 'order-example'; const MODULE_TRACKING = 'tracking'; const MODULE_REFUND = 'refund'; const MODULE_PAID = 'p...
/** * Copyright 2017 HUAWEI. All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 * * @file, definition of the Fabric class, which implements the caliper's NBI for hyperledger fabric */ 'use strict' var BlockchainInterface = require('../comm/blockchain-interface.js'); var iroha = require('./external/irohanod...
/* -*- Mode: Javascript; js-indent-level: 4; indent-tabs-mode: nil; -*- */ // Javascript code to calculate the position of Jupiter's moons and shadows. // Copyright 2009, 2013 by <NAME> -- // please share and enjoy under the terms of the GPL v2 or later. // // Equations come from Jean Meeus, Astronomical Formulae for ...
import React, { Fragment } from "react"; import { graphql, Link, withPrefix } from "gatsby"; import "./index.sass"; import Layout from "../components/layout"; import heroLeft from "../resources/hero-left.png"; import heroRight from "../resources/hero-right.png"; import heroTablet from "../resources/hero-bg-tablet.png"...
"use strict"; const Converter = require("jcampconverter"); const IOBuffer = require('iobuffer'); const JSZip = require("jszip"); // constants var BINARY = 1; var TEXT = 2; function readZIP(zipFile, options) { options = options || {}; var zip = new JSZip(); zip.load(zipFile, options); var files = {...
// if i ever get another type of renderer in there, it will be easier to pull apart var rect = {"height":0, "width":0, "x":0, "y":0} function htmlRenderer() { } //graphics = {}; htmlRenderer.prototype = { "setElement":function(gfxRoot) { var ptrRoot = gfxRoot.rootPtr; var go = getObject(ptrRoot, graphLookup)...
// rule engine runtime // this function runs once the context is created // for each script function __esInitEnv(glob) { glob.String.prototype.format = function () { var args = [ this ]; for (var i = 0; i < arguments.length; ++i) args.push(arguments[i]); return format.apply(null, args); ...
(function () { var Engine = window.Engine = { SITE_URL: encodeURIComponent("http://adarkroom.doublespeakgames.com"), VERSION: 1.3, MAX_STORE: 99999999999999, SAVE_DISPLAY: 30 * 1000, GAME_OVER: false, //object event types topics: {}, Perks: { 'boxer': { name: _('boxer'), desc: _('punches ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _slicedToArray2 = require("babel-runtime/helpers/slicedToArray"); var _slicedToArray3 = _interopRequireDefault(_slicedToArray2); var _promise = require("babel-runtime/core-js/promise"); var _promise2 = _interopRequireDefault(_promis...
// Copyright (c) Microsoft. All rights reserved. import "rxjs"; import { of } from "rxjs"; import moment from "moment"; import { schema, normalize } from "normalizr"; import update from "immutability-helper"; import { createSelector } from "reselect"; import { ofType } from "redux-observable"; import { map, di...
require('garnet'); var kind = require('enyo/kind'), utils = require('enyo/utils'), Collection = require('enyo/Collection.js'), Title = require('garnet/Title'), IconButton = require('garnet/IconButton'), FormButton = require('garnet/FormButton'), F...
// ==UserScript== // @name OGame: Search players // @namespace http://userscripts.org/users/36331 // @description OGame: Displays players' info in the search page // @version 5.4 // @creator Black Cat // @include http://*.ogame.gameforge.com/game/index.php?* // @run-at document-end // ==/UserScript== var strFunc = (fu...
// NewRelic for deployments require('newrelic'); // Enable file-based logging import consola from 'consola'; import DSRWinstonReporter from './_stack/DSRWinstonReporter'; consola.setReporters([new DSRWinstonReporter]); consola.wrapConsole(); // Contentful + Environment variables // These allow us to query Contentful...
ExtensionInterface = function (app) { this.app = app; }; ExtensionInterface.prototype.GetButtonsDiv = function () { return this.app.extensionButtons.GetButtonsDiv(); }; ExtensionInterface.prototype.GetModelJson = function () { return this.app.viewer.GetJsonData(); }; ImporterApp = function () { this.viewer =...
/** * js/worksheet.js * * This file provides the user-interface side of the workbook, and contains * all methods related to making the UI work. User-code execution is handled * in a sandbox provided by the jailed library and 'executor_plugin.js' file. * * Ideas for some parts of the code come from http://javas...
var url = require('url'), http = require('http'), https = require('https'), parseXML = require('xml2js').parseString, XMLprocessors = require('xml2js/lib/processors'); /** * The CAS authentication types. * @enum {number} */ var AUTH_TYPE = { BOUNCE : 0, ...
/* Copyright (C) 2017-2020 <NAME> <<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 version 2 of the License, or (at your option) any later version. This program is distri...
const xml2js = require('xml2js') const _ = require('lodash') const { volumeAmplitudeToLinear } = require('./utils') const { uniqueId } = require('lodash') exports.parseAPI = function (body) { xml2js.parseString(body, (err, xml) => { if (err) { this.debug('info', JSON.stringify(err)) this.data.connected = fals...
import React from 'react' import styled from 'styled-components' import { useTable, usePagination, useSortBy, useFilters, useGroupBy, useExpanded, useRowSelect, } from 'react-table' import matchSorter from 'match-sorter' import makeData from './makeData' const Styles = styled.div` padding: 1rem; ta...
const debug = require('debug')('growi:crowi'); const logger = require('@alias/logger')('growi:crowi'); const pkg = require('@root/package.json'); const InterceptorManager = require('@commons/service/interceptor-manager'); const CdnResourcesService = require('@commons/service/cdn-resources-service'); const Xss = require...
import {reverseSlice} from "../util/reverseSlice"; let instanceId = 1000; import {Controller} from './Controller'; import {debug, renderFlag, processDataFlag, destroyFlag} from '../util/Debug'; import {GlobalCacheIdentifier} from '../util/GlobalCacheIdentifier'; import {throttle} from '../util/throttle'; import {debou...
//横向滚动 By Archeb var waitforscroll; var dbo=false; function horizontalWheel(eve) { if (eve.preventDefault) { eve.preventDefault(); } var myDelta; (eve.deltaY>0) ? myDelta=100 : myDelta=-100; waitforscroll+=myDelta; } function horwheel(node) { if (node === undefined) { return false; } ...
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { ext...
/* * @copyright * Copyright © Microsoft Open Technologies, 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....
'use strict' const eos = require('readable-stream').finished const statusCodes = require('http').STATUS_CODES const flatstr = require('flatstr') const FJS = require('fast-json-stringify') const { kSchemaResponse, kFourOhFourContext, kReplyErrorHandlerCalled, kReplySent, kReplySentOverwritten, kReplyStartTi...
// Prism Code formatting modules import Prism from 'prismjs'; import 'prismjs/plugins/line-highlight/prism-line-highlight.js'; import 'prismjs/plugins/line-numbers/prism-line-numbers.js'; import 'prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js'; // Prism CSS import 'prismjs/plugins/line-highlight/pri...
var renderer = null, scene = null, camera = null, root = null, group = null, orbitControls = null, Player = null; var highscore=0; var duration = 20000; // ms var currentTime = Date.now(); var initTimer = true, time = null, timer = 30; var highScore = 0, score = 0; var canvas = null; var orientation = -1; var keyp...
/** * Constructs a new Message Field. * @exports ProtoBuf.Reflect.Message.Field * @param {!ProtoBuf.Builder} builder Builder reference * @param {!ProtoBuf.Reflect.Message} message Message reference * @param {string} rule Rule, one of requried, optional, repeated * @param {string?} keytype Key data type, if any. ...
const BaseModel = require('lib/BaseModel.js'); const { sprintf } = require('sprintf-js'); const BaseItem = require('lib/models/BaseItem.js'); const ItemChange = require('lib/models/ItemChange.js'); const Setting = require('lib/models/Setting.js'); const { shim } = require('lib/shim.js'); const { pregQuote } = require('...
/*! * node-hbase-client - lib/connection.js * Copyright(c) 2013 fengmk2 <<EMAIL>> * MIT Licensed */ "use strict"; /** * Module dependencies. */ var debug = require('debug')('hbase:connection'); var Long = require('long'); var Readable = require('readable-stream').Readable; var EventEmitter = require('events')....
'use strict'; /*eslint no-shadow: ["error", { "allow": ["file", "depth", "code", "signal"] }]*/ // attachment var fs = require('fs'); var spawn = require('child_process').spawn; var path = require('path'); var crypto = require('crypto'); var utils = require('haraka-utils'); var tmp; var bsdtar_path; var archives_disa...
/* * Copyright 2014 LinkedIn Corp. * * 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 i...
/** * Compiler for riot custom tags * @version v2.5.5 */ import { brackets } from 'riot-tmpl' // istanbul ignore next function safeRegex (re) { var src = re.source var opt = re.global ? 'g' : '' if (re.ignoreCase) opt += 'i' if (re.multiline) opt += 'm' for (var i = 1; i < arguments.length; i++) { ...
import { getSigner, getErc20, wrapListener, renderAddress, renderAmount, walletIsConnected, getEtherscanTokenLink, getTokenName, getNetwork, getConfig, getAttributes, getToken, secondsToString, ethers } from './utils.js'; import { doQuery, getProviders, getUsername, getExitStatus, ...
'use strict' var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault').default Object.defineProperty(exports, '__esModule', { value: true, }) exports.default = _default exports.formats = void 0 var _slicedToArray2 = _interopRequireDefault( require('@babel/runtime/helpers/slicedToArra...
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 _slicedToArray = function () { function sliceIterator(arr...
var shipments = []; var dewars = []; var containers = []; var ref = null $(document).on('pageinit', '#allocation', function() { //setTimeout(function() { $.mobile.changePage('/samples/bl') }, 600000) setTimeout(function() { window.location.href='/samples/bl' }, 600000) //600000) function _refresh() ...
import React, { useCallback, useEffect, useMemo, useState } from 'react' import { Image, TextInput, View } from 'react-native' import { get, isNaN, isNil, noop } from 'lodash' import { t, Trans } from '@lingui/macro' import { Avatar, CustomButton, Icon, Section, ShareButton, Text, Wrapper } from '../common' import { Wa...
import ajax from './ajax'; import './index.less'; function deepClone(obj) { return JSON.parse(JSON.stringify(obj)); } function uniq(arr) { const map = {}; return arr.reduce((acc, item) => { if (!map[item]) { map[item] = true; acc.push(item); } return acc; }, []); } fun...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _babelHelperVueJsxMergeProps = require('babel-helper-vue-jsx-merge-props'); var _babelHelperVue...
// Packages import electron from 'electron' import { Component } from 'react' import { func, object } from 'prop-types' import exists from 'path-exists' import compare from 'just-compare' import setRef from 'react-refs' import { SortableContainer, SortableElement, arrayMove } from 'react-sortable-hoc' import make...
// Test import of styles import '@/styles/index.scss' //import sleep function from sleepjs import { sleep, sleepMilliseconds } from 'sleepjs' // Grab the html canvases and set the background to light grey const canvas1 = document.getElementById('canvas1') const ctx = canvas1.getContext('2d') // Set the background to d...
/** * redis-web-gui.js * * Author: <NAME> * Created: December 2017 */ import * as graphics from "./graphics.js" import * as redis from "./redis.js" var KEY_PREFIX = "cs223a::euler_fixed_angles::"; var KEY_EULER = "zyx_euler_angles"; var KEY_FIXED = "xyz_fixed_angles"; var KEY_MATRIX = "matrix"; var AXIS_WIDTH ...
var NAVTREE = [ [ "CMSIS-DSP", "index.html", [ [ "CMSIS DSP Software Library", "index.html", null ], [ "Reference", "modules.html", [ [ "Basic Math Functions", "group__group_math.html", [ [ "Vector Absolute Value", "group___basic_abs.html", null ], [ "Vector Addition", "group___ba...
$(function() { window.wave_intervals; window.wave_data; window.selected_signals = []; window.low_limit=0; window.max_limit=30; read_vcd(); var isDown = false; var mouse_down_x; var mouse_down_y; // prevent default right click behaviour in canvas $("canvas").on("contextmenu",function(){ return fal...
// Start Scripts $(document).ready(function () { $("input.check-all").change(function () { $("input.case:checkbox").prop('checked', $(this).prop("checked")); }); //gender register $('.btn-gender').click(function () { // console.log($('input[name=options]:checked').val()); $('.btn-gender').removeClas...
Object.defineProperty(exports, '__esModule', { value: true }); var React = require('react'); var PropTypes = require('prop-types'); function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) {...
'use strict' var $ = require('jquery') var csjs = require('csjs-inject') var yo = require('yo-yo') var async = require('async') var request = require('request') var remixLib = require('remix-lib') var remixTests = require('remix-tests') var EventManager = remixLib.EventManager var registry = require('./global/registr...
import React, { useState,useRef } from "react"; import { Dimensions, StyleSheet, View, TouchableOpacity, Image, Alert, ActivityIndicator, Platform, } from "react-native"; import { Block, Radio, Text, Input, Button, theme, Icon, } from "galio-framework"; import argonTheme from "../constan...
"use strict"; var WINDOW_UPDATE_CHECK_INTERVAL_SLOW_MS = 300; var WINDOW_UPDATE_CHECK_INTERVAL_FAST_MS = 150; var WINDOW_UPDATE_CHECK_INTERVAL_RATE_RESET_MS = 5000; var WINDOW_REMOVE_SAVE_TREE_DELAY_MS = 10000; var windowUpdateCheckInterval = null; function registerWindowEvents() { chrome.windows.onCr...
MapHelper = (function ($) { 'use strict'; var settings = { center: [0, 0], zoom: null, }; var mapId = ''; var map = null; var baseMaps = {}; var routingControl = null; var showAreas = false; var showIcons = true; var isMobile = document.body.clientWidth < 700; var mapType =...
import React, { useState } from 'react'; import { Backend } from './DataManager'; import { Link } from 'react-router-dom'; import{ LoadingAnim, BaseArgoView, AutocompleteField, NotifyOk, NotifyError, ErrorComponent, NotifyWarn, ParagraphTitle, DefaultColumnFilter, SelectColumnFilter, BaseArgoTable...
var React = require('react'); var PropTypes = require('prop-types'); /* The MIT License (MIT) Copyright (c) 2015 instructure-react 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 restric...
import path from 'path'; import fs from 'fs-extra'; import Promise from 'bluebird'; import _ from 'lodash'; import debug from 'debug'; import RasterFactory from './factories/raster'; // import VectorFactory from './factories/vector'; /** * Wrap with promises. */ Promise.promisifyAll(fs); /** * Plugin constants. *...
import React, { useState, useCallback, useEffect, useRef, useMemo, } from "react"; import { makeStyles } from "@material-ui/core/styles"; // import { createTheme } from '@material-ui/core/styles' import Button from "@material-ui/core/Button"; import Dialog from "@material-ui/core/Dialog"; import DialogAction...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _asyncToGenerator2; function _load_asyncToGenerator() { return _asyncToGenerator2 = _interopRequireDefault(require('babel-runtime/helpers/asyncToGenerator')); } var _path; function _load_path() { return _path = _interopRequireDe...
import React, { Component } from "react"; import PropTypes from "prop-types"; import GenericChartComponent from "../GenericChartComponent"; import { getAxisCanvas } from "../GenericComponent"; /*import StackedBarSeries, { drawOnCanvasHelper, drawOnCanvas2, getBarsSVG2, svgHelper, identityStack } from "./Stacke...
Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var types_1 = require("@sentry/types"); var utils_1 = require("@sentry/utils"); var global = utils_1.getGlobalObject(); var defaultTracingOrigins = ['localhost', /^\//]; /** * Tracing Integration */ var Tracing = /** @class...
const Logger = require("../../Logger"); const Map = require("../../entities/map"); const zlib = require("zlib"); /** * P-Frames contain relative changes to the previous I- or even P-Frame * * That means that e.g. positions parsed from p-frames require the most recent previous absolute position to make sense */ cl...
var chartData = []; var icon=[]; var singleday = new Date(); var actualDateTo = new Date(); var actualDateFrom = new Date(); var spansec; var datarows = ""; var nreqs; var i; var num_giorni=0; var timercall; var url_history=""; function GetDataHistory() { i=0; nreqs=0; var datefrom = document.getElementById("from")...
var list = $("#list"); $('#fin-team').hide(); $('#yay-vote').hide(); $('#nay-vote').hide(); $('.mission-card').hide(); $('#vote-counter').hide(); $('.overlay-desc').hide(); var height = $(window).height()/3 var updateLayout = function(listItems){ for(var i = 0; i < listItems.length; i ++){ var offsetAngle = 360 /...
/** * @fileoverview Main ESLint object. * @author <NAME> */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var esprima = require("esprima"), estraverse = require("est...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R...
/* eslint-disable no-unused-vars */ import { validatorToPredicate } from "./util"; import dayjs from "dayjs"; import customParseFormat from "dayjs/plugin/customParseFormat"; import isSameOrBefore from "dayjs/plugin/isSameOrBefore"; import isSameOrAfter from "dayjs/plugin/isSameOrAfter"; const createValidator = (type, ...
let fs = require('fs') let _ = require('lodash') let pathutil = require('path') let util = require('util') let eachcontentjs = require('eachcontent-js') let ispathinside = require('is-path-inside'); let vpp = require('../fs-vpp') let rk = require('../../utils/rk') let fs_readFile = require('../fs_readFile') let regPars...
isFullScreen = false; isButtonFullscreen = false; $(document).ready(function() { //INITIALIZE var video = $('#myVideo'); var container = $('.cont'); var test = $(".cont,.myVideo"); var loadmetadata = true; var _pause = false; //showing pause icon by before video load $('.btnPlay').addClass('paused'); at...
// Sonoff-Tasmota Temperature Sensor Accessory plugin for HomeBridge with log and min-max temp by @MacWyznawca <NAME> 'use strict'; var Service, Characteristic; var mqtt = require("mqtt"); var inherits = require('util').inherits; var schedule = require('node-schedule'); module.exports = function(homebridge) { Servi...
// import fabric from 'fabric.js'; import polygonProperties from './properties.js'; import { setDrawCursorMode, resetObjectCursors } from '../../mouseInteractions/cursorModes/drawMode.js'; import { showLabellerModal } from '../../../tools/labellerModal/style.js'; import { prepareLabelShape } from '../../../tools/labell...
////////////////////////////////////////////////////////////////////////////// /// Disperse ////////////////////////////////////////////////////////////////////////////// const g = 9.80616; // Gravitational constant const ambientTemp = 293.15; // Fixed ambient temperature [K] (20 C) function sigmaY(...
/* Social Pane ** ** This outline pane provides social network functions ** Using for example the FOAF ontology. ** Goal: A *distributed* version of facebook, advogato, etc etc ** - Similarly easy user interface, but data storage distributed ** - Read and write both user-private (address book) and public data c...
/* * Copyright (c) 2014-2015 <NAME> * * This file is part of node-rdpjs. * * node-rdpjs is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
/* eslint-disable */ import { useState, useEffect, React } from 'react'; import {useNavigate} from "react-router-dom"; import axios from "axios"; //MUI components import { styled } from '@mui/material/styles'; import Container from '@mui/material/Container'; import Grid from '@mui/material/Grid'; import TextField from...
'use strict'; var registerService = require('services/register'); var name = 'services.ffmpeg_service'; var utils = require('utils'); registerService('factory', name, [require('services/promise'), require('services/progress'), require('models/file'...
/* * Justified Photo Gallery class, part of the Simple Web Framework * * version: 1.4 * license: Apache 2.0 * author: <NAME> * date: october 2021 * */ "use strict"; export { _juga, version }; import * as utils from './swf-utils.js'; function version() { return "swf juga v1.4"; } // class storing the definitio...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.exportsForTests = exports.formatArgWithWhiteSpace = exports.processProjectsInExtractedJSON = exports.buildGraph = exports.inspect = void 0; const os = require("os"); const fs = require("fs"); const path = require("path"); const subProc...
// Copyright (c) Microsoft Corporation // All rights reserved. // BSD License // // 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...
const express = require("express"); const app = express(); const http = require("http").Server(app); const io = require("socket.io")(http); const port = process.env.PORT || 3000; let connections = new Set(); let currentstate = { players: {}, availWords: [], host: "", canvas: "", artist: "", ready: false, ...