text
stringlengths
5.97k
41.2k
"use strict"; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of c...
/** * @typedef {Object} queueBase * @property {string} consumeBaseName This is the base queue name to use for consume * @property {string} publishBaseName This is the base queue name to use for publish * @description This object contains the queue information for the message broker subsystem */ /** * @typedef {Ob...
/** Copyright <NAME> <<EMAIL>> -- All Rights Reserved */ "use strict"; let BASE = self.base, KIRI = self.kiri, UTIL = BASE.util, time = UTIL.time, current = self.worker = { print: null, snap: null }, wgroup = {}, wcache = {}; // catch clipper alerts and convert to console ...
'use strict'; var acl = require('../acl-js'), async = require('async'), _ = require('lodash'), mongoose = require('mongoose'); //region Helper functions function getDataOptions(req, next) { var opts = {}; if (req.resource.options.maxPerPage) { if (!(req.query['perPage'] && req.query['perPage'] <= req....
/** * @license * Copyright 2020 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
"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 ...
/** * @license * Copyright 2012 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Utility functions for handling variables. */ 'use strict'; /** * Utility functions for handling variables. * @namespace Blockly.Variables */ goog.module('Blockly.Variables'); const Xml = goog.require('Blo...
//Purpose: Code to parse and render scene files BEACON_SIZE = 0.2; BEACON_COLOR_1 = "A7383E"; BEACON_COLOR_2 = "378B2E"; /** * Convert a hex color string to an array of floating point numbers in [0, 1] * @param {string} s 6 character string */ function colorFloatFromHex(s) { let r = parseInt(s.substring(0, 2),...
import axios from 'axios' import * as qs from "qs"; const Path = function () { let path = []; let getPath = function () { return path; }; let append = function (point) { path.push(point); }; return { getPath: getPath, append: append, } }; export default { returnDirections: true, o...
$(document).ready(function(){ if($("#idPlan").val()>0){ let id_inscripcion=0; var idAsignatura=0; var idAsignacion=0; let peri=0; let turnoAlu=0; let fechaInscrip=0; let fechaAltasB=0; let estatusIns=0; let semestre=0; let estat=0; ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getVersionMap = void 0; const tslib_1 = require("tslib"); const await_to_js_1 = tslib_1.__importDefault(require("await-to-js")); const fs = tslib_1.__importStar(require("fs")); const lodash_chunk_1 = tslib_1.__importDefault(require("lo...
const path = require('path'); const gulp = require('gulp'); // const gulp = require('gulp-param')(require('gulp'), process.argv); const $ = require('gulp-load-plugins')({ lazy: true }); // const pug = require('gulp-pug'); const pkg = require('./package.json'); const { crush } = require("html-crush"); const...
//////////////////// DEFINIÇÕES DOS SCRIPTS DE TODAS AS PÁGINAS // ////////////////////////// COMUM A TODAS AS PÁGINAS - BOTÕES DE ACESSIBILIDADE // vai identificar o elemento pelo id e setar uma classe para ele, a classe vai mudar o tamanho da fonte var htmlFonte = document.getElementById('htmlFont'); function...
// Reworks and improvements by <NAME>, JUL-2009. var dialog = window.parent ; var oEditor = dialog.InnerDialogLoaded() ; var FCK = oEditor.FCK ; var FCKLang = oEditor.FCKLang ; var FCKConfig = oEditor.FCKConfig ; var FCKTools = oEditor.FCKTools ; // Set the language direction. window.document.dir = FCKLang.Dir ;...
const State = { "INIT": 1, "PLAYER": 2, "TILE": 3, "ANIM": 4, "UNDO": 5, "OVER": 6, "END": 7, "REPLAY": 8, "DOUBLE_UNDO1": 9, "DOUBLE_UNDO2": 10, "TIMEUP": 11 } Object.freeze(State) /** * StateMachine class, the game logic controller for each gameState. */ class StateMachine { constructor(scene, prolog, animator) ...
//global variables let grid = initializeDataGrid(); let computationStatus = 0; //functions let vSampleListTable; getSampleList((sampleList) => { vSampleListTable = new Vue({ el: '#sampleList', data: { sampleList, }, methods: { deleteSampleFromList: function (...
var default_non_tracked_factor = 4; var default_herd_immunity_treshold = 70; // % of the population var max_day_to_compute = 365*5; // If it's in more than 5 years, we stop computing // Utils for date Date.prototype.addDays = function(days) { var date = new Date(this.valueOf()); date.setDate(date.getD...
import React from 'react'; import { SingleDatePicker, isInclusivelyBeforeDay } from 'react-dates' import ReactTooltip from 'react-tooltip'; import { HashLink as Link } from 'react-router-hash-link'; import moment from 'moment'; import DateEstimator from './DateEstimator'; import { addBusinessAndHols } from '../selector...
var BASE_URL = 'http://c.zhiboyun.com'; var service_code = null; var api_key = null; var drawing = false; var rectSelf = null; var oRect = null; var draw_btn = null; var start_audio_btn = null; var stop_audio_btn = null; var rtmpPusher=null; var rtmp_push_url="rtmp://xvs-tcp-input.zhiboyun.com/live" var audio_connect_t...
var buttons; var websocket; var connected; var recentConnections = []; var clientId; var buttonSpacing = 5; var buttonRadius = 40; var buttonSize = 100; var buttonBackground = false; var icons = []; var pressTimer; var longPress = false; var supportButtonReleaseLongPress = false; var apiVersion = 20; va...
/* eslint-disable no-console */ /* eslint-disable-next-line @typescript-eslint/no-var-requires */ require("@babel/register")({ presets: [ "@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react" ], plugins: [ "@babel/plugin-transform-typescript", "babel-plugin-replace-ts-export-a...
var scene; var renderer; var SPHERE_MULT; var raycaster; var mouse; var controls; var camera; var parsed; var meshes = []; var meshesGroup; var DEBUG = false; var fogDisabled = false; var selectedPercentage = 0; var selectedCount = 0; var searchedWord = ""; //easy medium difficult //TODO: M fix layout...
import PropTypes from 'prop-types'; import React, {Component} from 'react'; import {connect} from 'react-redux'; import mapboxgl from 'mapbox-gl/dist/mapbox-gl'; import turfBbox from '@turf/bbox'; import turfBboxPolygon from '@turf/bbox-polygon'; import turfBuffer from '@turf/buffer'; import turfDistance from '@turf/di...
//Making the Visual Stuff here var svgNS = "http://www.w3.org/2000/svg"; let id = 0; function addnode(node, radius) { var svr = document.createElementNS(svgNS, "circle") svr.setAttributeNS(null, 'id', 'circle' + node.id) svr.setAttributeNS(null, 'class', 'circle') svr.setAttributeNS(null, 'cx', node.x);...
/* eslint-disable no-param-reassign */ /* eslint-disable no-await-in-loop */ const humanizeDuration = require('humanize-duration'); const Joi = require('joi'); const mysql2 = require('mysql2/promise'); const parseDuration = require('parse-duration'); let RDS; let noAwsSdk; /* Testing * * There are currently no uni...
/** * @ngdoc overview * @name arethusa.util * * @description * Module of Arethusa's utility services */ angular.module('arethusa.util', []); 'use strict'; // Provides the global arethusaUtil object which comes with several // utility functions var arethusaUtil = { formatNumber: function (number, length) { ...
/** * Copyright 2018 SPARKL Limited * * 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...
import React, { useState, useRef } from "react"; import { graphql, Link, withPrefix } from "gatsby"; import { Card, Popover } from 'react-bootstrap' import PopoverStickOnHover from '../components/PopoverStickOnHover' import Layout from "../components/layout" import SEO from "../components/seo" import Video from "...
import server from '../controllers/server'; import { tibetsheetslodingHTML, luckyColor } from '../controllers/constant'; import sheetmanage from '../controllers/sheetmanage'; import tibetsheetsformula from './formula'; import imageCtrl from '../controllers/imageCtrl'; import dataVerificationCtrl from '../controllers/da...
// Third party libraries import * as L from 'leaflet'; import $ from 'jquery'; import pym from 'pym.js'; // Local modules import makeFilters from './filters'; import updateTable from './table-generator'; import updateRankings from './ranking-table'; // Constants var MOBILE_WIDTH = 600, WIN_WIDTH = $(window).width...
import React, { Component, createRef } from "react" import { StaticQuery, graphql, Link } from "gatsby" import bgLogo from "../images/sayos-bg-logo.png" import TransitionLink from "gatsby-plugin-transition-link" import { Helmet } from "react-helmet" import AniLink from "gatsby-plugin-transition-link/AniLink" import "re...
var sigGen1 = [ {"x": 2.02, "y": 10.98, "room": "FT236", "rssi": [], "mean": 'No Data', "variance": 'No Data'}, {"x": 2.17, "y": 4.98, "room": "FT222", "rssi": [-76, -76, -76, -76], "mean": -76, "variance": 0}, {"x": 3.51, "y": 9.02, "room": "hollway_2nd", "rssi": [-73, -70, -74, -71, -71, -71, -71, -71, -7...
'use strict'; var __spreadArray = (this && this.__spreadArray) || function (to, from) { for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) to[j] = from[i]; return to; }; (function (root, factory) { if (typeof module === 'object' && typeof module.exports === 'object') { try { ...
/* Copyright (C) 2019-2021 HERE Europe B.V. SPDX-License-Identifier: MIT */ const control = require('./Control.js'); const widgets = require('@jupyter-widgets/base'); const _ = require('lodash'); const PMessaging = require('@phosphor/messaging'); const PWidgets = require('@phosphor/widgets'); var centroid = require...
$(document).ready(function() { $( document ).tooltip(); var config = { '.chzn-select, .chzn-ignore' : {search_contains: true}, '.chzn-select-deselect, .chzn-ignore-deselect' : {allow_single_deselect:true}, '.chzn-select-no-single, .chzn-ignore-no-single' : {disable_s...
import React, { Component, useState, } from "react"; import { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Paper, Snackbar, Table, TableBody, TableCell, TableHead, TableRow, TableContainer, TextField, } from "@material-ui/core"; import AddBoxIcon from...
//s1: rotate circle around point let s1 = { color: 10, translationX: 200, translationY: 100, posX: 80, posY: 80, width: 302, height: 218, speed: 0, angle: 0 }; //rect01: rotate circle around point let rect01 = { color: 220, translationX: 225, translationY: 105, posX: 0, posY: 0...
let spinnerLoad; async function initResearch(){ spinnerLoad = document.getElementById('spinnerLoad'); await loadUserData(); // Only moderators allowed if (! user.moderator) return; initPage(); const url = new URL(location.href); if (url.pathname.startsWith('/research/questionnaires/options')) { ...
/* globals window DatArchive */ const yo = require('yo-yo') const nanorouter = require('nanorouter') const LibFritter = require('@beaker/libfritter') const views = require('../views/index') const rerenderIndexingStatuses = require('../com/indexing-statuses').rerender const renderErrorIcon = require('../com/icons/error...
// Require the Bolt for JavaScript package (github.com/slackapi/bolt) const { App, LogLevel } = require("@slack/bolt"); import { Connection } from "./db"; import sql from "sql"; import moment from "moment"; //require("dotenv").config(); const token = process.env.slackToken; const secret = process.env.slackSigningSecr...
import { Suspense, useEffect, useState, useRef } from 'react'; import { Routes, Route, useNavigate, useLocation } from 'react-router-dom'; import { Box, Typography, Backdrop, IconButton } from '@mui/material'; import { Close as CloseIcon } from '@mui/icons-material'; import { confirmAlert } from 'react-confirm-alert'; ...
$(document).ready(function() { $(".button-collapse").sidenav(); $('.modal').modal(); $('.settings-button').click(function() { var md = document.getElementById('settings-modal'); M.Modal.getInstance(md).open(); }); $('.open-button').click(function() { var md = document.getElementByI...
"use strict"; // Copyright 2016-2018, Pulumi Corporation. // // 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 app...
/* eslint-env browser */ // This is the main file, usable as is, such as by /test/index.js. // For npm: require this file // For CDN: gulpfile.js browserifies this file with sourcemap to /build/filter-tree.js and uglified without sourcemap to /build/filter-tree.min.js. The CDN is https://joneit.github.io/filter-tree....
const helpCommand = require('./help') const trackedCommand = require('./tracked') exports.run = async (client, msg, args, options) => { const logReference = Math.random().toString().slice(2, 11) try { const util = client.createUtil(msg, options) const { canContinue, target, userHasLocation, userHasArea, lan...
$(function(){ searchData("/crowdfunding/getPageCrowdList.html?loanState=funding"); //获取项目所在省 getProvice("s_provice", "s_city"); //项目所属省份改变,城市改变 $("#s_provice").change(function(){ getCitys($(this).val(), "s_city"); }); $("#s_city").change(function(){ getCitys($(this).val(), "s_county"); });...
function setcookie(b, d, a) { var c = window.location.host; c = c.replace("http://", ""); c = c.replace("www", ""); if (!c) { c = ".mia.c" } document.cookie = b + "=" + d + ";path=/;domain=" + c + ";expires=" + a + ";" } function getcookie(b) { var a = document.cookie.match(new RegExp("(^| )" + b + "=...
import { getCenter } from 'ol/extent'; import { Component, Button, dom, Element } from '../ui'; import Mapfishprint from './EK-mapfishprint'; import maputils from '../maputils'; import Printarea from './EK-printarea'; const Printmenu = function Printmenu(options = {}) { let viewer; const { largeScaleRestrictio...
var homesteadApp = angular.module('homesteadApp', ['ngMaterial', 'ngMessages', 'ngRoute', 'gridster', 'nvd3']); homesteadApp.config(function($mdThemingProvider) { $mdThemingProvider.definePalette('amazingPaletteName', { '50': '#ffebee', '100': '#ffcdd2', '200': '#ef9a9a', '300': '#e57373', '400': '#66bb6...
/** * @class cc_Controller * @classdesc Contoller factory for canvas collections. Draws on document.url and any cc configuration to * create and call the appropriate controller(s). Possibilities include * - showConfiguration * - update Modules page to show configuration interface * - only in staff view * -...
var pathnameSplitRegEx = /^(\/(.*\/)*)([^\/]+\/?)$/; var pathEndsWithSlashRegEx = /\/$/; var PathCache = function () { this.cache = {}; this.objectCache = {}; this.splitPathname = function ( pathname ) { if ( pathname === "/" ) { return [ "", "/" ]; }; var match = pathnameSplitRegEx.exec( pathname...
import React, {Component} from 'react'; import {Dimensions, ScrollView, StyleSheet, Text, View} from 'react-native'; import SegmentSelector from '../components/primitives/SegmentSelector'; import PrimaryButton from '../components/primitives/PrimaryButton'; import PrimaryModal from '../components/primitives/PrimaryModal...
import {Event_Emitter} from '../../libs/event_emitter.js'; import {Data_Events, Output_Type, table_config} from './types.js'; import {event_path} from '../../helper/compatibility.js'; import {format_data} from './format.js'; import {make_data_details} from './details.js'; import {Save_File} from '../libs/save_file/sav...
import omit from 'lodash/omit'; import { types as sdkTypes } from '../../util/sdkLoader'; import { resetToStartOfDay } from '../../util/dates'; import { denormalisedResponseEntities } from '../../util/data'; import { storableError } from '../../util/errors'; import { addMarketplaceEntities } from '../../ducks/marketpla...
// Characters [].:/ are reserved for track binding syntax. const _RESERVED_CHARS_RE = '\\[\\]\\.:\\/'; const _reservedRe = new RegExp( '[' + _RESERVED_CHARS_RE + ']', 'g' ); // Attempts to allow node names from any language. ES5's `\w` regexp matches // only latin characters, and the unicode \p{L} is not yet supported...
import * as debug from '../../utils/debug'; import { utils } from '../../utils/utils'; import { Environment as env } from '../../utils/environment'; import { Locale } from '../locale/locale'; import { xssUtils } from '../../utils/xss'; // jQuery components import '../icons/icons.jquery'; import '../tooltip/tooltip.jqu...
// global constants var NUM_GRAPH_POINTS = 500; var FLOAT = "FLOAT"; var PLUS = "PLUS"; var MINUS = "MINUS"; var EOF = "EOF"; var MUL = "MUL"; var DIV = "DIV"; var POW = "POW"; var LPAREN = '('; var RPAREN = ')'; var VAR = 'x'; var EXP = "EXP"; var SIN = "SIN"; var COS = "COS"; var TAN = "TAN"; var ASIN = "ASIN"; var A...
const _toString = Object.prototype.toString; const hasOwnProperty = Object.prototype.hasOwnProperty; function isFn (fn) { return typeof fn === 'function' } function isStr (str) { return typeof str === 'string' } function isPlainObject (obj) { return _toString.call(obj) === '[object Object]' } f...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
// This is a JavaScript file var g_lat; var g_lon; var g_address="現在地取得出来ませんでした。"; var g_smile; var g_age; // ------------------------------------ // 大きボタンの表示切り替え // parmaeter:camera, azure, kintone // ------------------------------------ function switch_btn(pType){ switch (pType){ // カメラ...
import React, { forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState, } from 'react'; import { ThemeContext } from 'styled-components'; import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect'; import { defaultProps } from '../../default-props'; import { AnnounceCont...
/* Copyright 2020 <NAME> <<EMAIL>> Copyright 2021 The Matrix.org Foundation C.I.C. 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...
draw = document.getElementById("smwhCanvas").getContext("2d") width = document.getElementById("smwhCanvas").width height = document.getElementById("smwhCanvas").height /* draw.mozImageSmoothingEnabled = false; draw.webkitImageSmoothingEnabled = false; draw.imageSmoothingEnabled = false; */ //hdma based on hour of day ...
/* Pull userID from URL */ const params = new URLSearchParams(window.location.search); let provider_identification = params.get("id"); /** * Populate the provider profile page with information (ie. name, description, skills, tools and picture) pulled from corresponding firebase collection. * * @param {string} u...
'use strict'; // read in env settings const graph_azure = require('./graph_azuread'); const config = require('./config'); const helper = require('./helper'); const fs = require('fs'); var diacritic = require('diacritic'); var encode = require('hashcode').hashCode; var ldapwrapper = {}; function removeSpecialChars(s...
// Copyright 2012 Traceur Authors. // // 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 ...
export const TEXT = 'text'; export const MAPDATA = 'mapdata'; export const MUSIC = 'music'; export const MIDI = 'midi'; export const MP3 = 'mp3'; export const PNG = 'png'; export const MUS = 'mus'; export const GRAPHIC = 'graphic'; export const FLAT = 'flat'; export const MARKER = 'marker'; export const ENDOOM = 'ENDOO...
'use strict'; const Buffer = require('buffer').Buffer; const Transform = require('stream').Transform; const binding = require('./binding'); const util = require('util'); const assert = require('assert').ok; const kMaxLength = require('buffer').kMaxLength; const kRangeErrorMessage = 'Cannot create final Buffer. It woul...
const functions = require('firebase-functions'); const admin = require('firebase-admin'); const csv_stringify = require('csv-stringify'); const {request} = require('gaxios'); admin.initializeApp(); const {OAuth2Client} = require('google-auth-library'); const {google} = require('googleapis'); const Client = require("@...
"use strict"; exports.__esModule = true; exports.Video = void 0; var _react = _interopRequireWildcard(require("react")); var _recompose = require("recompose"); var _styledComponents = require("styled-components"); var _defaultProps = require("../../default-props"); var _Box = require("../Box"); var _Button = req...
/* * 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 may ...
/* * Author: <NAME> * E-mail: <EMAIL> */ var gWindowHeight = 640; var gWindowWidth = 480 var game; var blocksPerTetromino = 4; var nbBlockTypes = 7; // 7 possible tetrominoes var blockSize = 32; // px var gScale = 1; var gInGameOffsetX = 2.75; var gInGameOffsetY = 3; var numBlocksY = 19; // make the grid 19 blocks hi...
const H_KEY = "<KEY>"; const H_BASE = 20037508.34; const H_DEG = Math.PI * (30 / 180); const H_K = Math.tan(H_DEG); function calcHexSize(level) { return H_BASE / Math.pow(3, level + 3); } function latLng2xy(lat, lng) { const x = lng * H_BASE / 180; let y = Math.log(Math.tan((90 + lat) * Math.PI / 360)) / (M...
var fontBag = []; var mRunner = { title: document.querySelector('.viewer .title'), bodyText: document.querySelector('.viewer .bodyText'), titleDesc: document.querySelector('.viewer .title .name'), bodyTextDesc: document.querySelector('.viewer .bodyText .name'), clearHTML: function() { document.quer...
// ag-grid-enterprise v21.2.1 "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for ...
import { insulate } from '@agoric/jessie'; // A lot of this code is lifted from: // https://github.com/erights/quasiParserGenerator/tree/master/src/bootbnf.js /// <reference path="peg.d.ts"/> import { confineExpr, makeMap, makeWeakMap } from '@agoric/jessie'; import { slog as $i_slog } from '@michaelfig/slog';const sl...
// Définitions des sources var source_osm = new ol.source.OSM(); var source_agregat_rdc = new ol.source.TileWMS({ url: '../geoserver/batiment-sig/wms', params: { LAYERS: 'batiment-sig:batiment-sig-rdc', TILED: true, tilesOrigin: 1.93260718901831 + "," + 47.8469484265681 } }); var source_agregat_etage = new ol....
const config = require('../js/config.js'); var prefix = config.get.prefix; /** ``` ~ ~ ~ ~ H A N G M A N ~ ~ ~ ~ ______ | | | O | /|\ | / \ __/|\__ _ R _ _ C _ E ``` **LETTERS :** **A B D F G H I J K L M N P Q S T U V W X Y Z** ** ** *C E O R* ...
import { NativeModulesProxy, UnavailabilityError, requireNativeViewManager, CodedError, } from '@unimodules/core'; import * as React from 'react'; import { Platform, View, findNodeHandle } from 'react-native'; import { configureLogging } from './GLUtils'; const packageJSON = require('../package.json'); const { Exponent...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBin = exports.shellEscape = exports.includePackage = exports.setColors = exports.commonTags = exports.crossEnv = exports.open = exports.mkdirp = exports.ncp = exports.copy = exports.ifNotWindows = exports.ifWindows = exports.rimr...
const utils = require('./utils'); const ModelCreepManager = require('./model.manager'); const ModelController = require('./model.controller'); const ModelArchitect = require('./model.architect'); const ModelTower = require('./model.tower'); const ModelSpawn = require('./model.spawn'); const ModelCreep = require('./mod...
// Add Techtonic Plate Later as an option var techtonicLayer = L.layerGroup(); // Function: Add temperature data after clicking marker on map async function techtonic() { d3.json("https://raw.githubusercontent.com/fraxen/tectonicplates/master/GeoJSON/PB2002_boundaries.json", function(techtonicData) { L.geo...
'use strict'; /* * Created with @iobroker/create-adapter v1.23.0 */ // The adapter-core module gives you access to the core ioBroker functions // you need to create an adapter const utils = require('@iobroker/adapter-core'); const request = require('request-promise-native'); const testData = require('./lib/testData...
var g_is_init = false; // 是否初始化 var g_server_addr; // 服务器地址 var g_user_id; // 登录用户id var g_nick_name; // 登录昵称 var g_master; // 是否是主持人身份 1-是 0-否 var g_logining = false; // 是否登录 var g_meeting = false; // 是否在会议中 var g_meet_id; // 视频会议ID var g_meet_number; // 会议号 var g_meet_pswd; // 本次会议中的密码 var g_meet_video; // 主视频 var g...
import cloneDeep from 'lodash/cloneDeep'; import each from 'lodash/each'; import size from 'lodash/size'; import get from 'lodash/get'; import map from 'lodash/map'; import keys from 'lodash/keys'; import merge from 'lodash/merge'; import find from 'lodash/find'; import filter from 'lodash/filter'; import includes from...
"use strict"; const Miro = window.Miro = {}; const MiroError = class MiroError extends Error { constructor() { const err = super(...arguments); err.name = "MiroError"; return err; } } Miro.doNothing = () => {}; const container = document.body.querySelector("#container"); Miro.parseQuery = () => { Miro.query = ...
const Mysqlhelper = require("../util/MysqlHelper.js"); const RedisHelper = require("../util/RedisHelper.js"); const ErrorHelper = require("../util/ErrorHelper.js"); const StringHelper = require("../util/StringHelper.js"); const questionGroupDao = require("./questionGroupDao.js"); const config = require("../config/...
/* * DateRngFmt.js - Date formatter definition * * Copyright © 2012-2015,2018, JEDLSoft * * 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/LICENS...
import React, { useState, useEffect } from "react"; // react plugin for creating charts import ChartistGraph from "react-chartist"; // @material-ui/core import { makeStyles } from "@material-ui/core/styles"; import Icon from "@material-ui/core/Icon"; import IconButton from '@material-ui/core/IconButton'; import { FontA...
/** @license @lljj/nav (c) 2020-2021 Liu.Jun License: MIT */ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var d...
import React from 'react'; import PropTypes from 'prop-types'; import { FlatList } from 'react-native'; import { connect } from 'react-redux'; import { Q } from '@nozbe/watermelondb'; import * as List from '../../containers/List'; import styles from './styles'; import UserItem from '../../presentation/UserItem'; impor...
import React, { useState, } from 'react'; import { Button, Checkbox, Dropdown, Input, List, Table, } from 'semantic-ui-react'; const COLLECTIONS_SUGGESTERS = ['NewCollectionsSuggester', 'DataCollectionsSuggester']; const TIME_SELECTOR_OPTIONS = [ {key: "Last", text: "Last", value: 0}, {key: "Nex...
'use strict'; //=include jquery.js const towerPositions = ['L','C','R']; const measureLeft = { 'R': 78.5, 'L': 21.5, 'C': 50 }; $(document).ready(() => { let solve = false; let solver; let solverSettings = {}; let errorsPresent = false; setUp(); $('#transitions').click((evt) => { const self =...
//**************************************** // Website scripts //**************************************** 'use strict'; /** * Handle Ghost Search */ const handleSearch = () => { const headerSearch = document.querySelector('.js-header-search-inner'); const searchToggle = document.querySelector('.js-search-toggle')...
// Start of parsing results function getJsonFromUrl(hashBased) { 'use strict' var query; if (hashBased) { var pos = location.href.indexOf("?"); if (pos === -1) return []; query = location.href.substr(pos + 1); } else { query = location.search.substr(1); } var res...
import { IoElement, RegisterIoElement } from '../../iogui.js'; import './selector.js'; const _dragicon = document.createElement('io-tab-dragicon'); const _dropzone = document.createElement('io-tab-dropzone'); function xyInRect(x, y, r) { return x > r.left && x < r.right && y < r.bottom && y > r.top; } const splitDi...
const s = c.width = c.height = 512; const ctx = c.getContext('2d'); const [ EMPTY, WALL, END, MENU, LOADING, PLAYING, FINISHED, CAN_MOVE, HIT_WALL, HIT_FINISH, NO_INTERACTION ] = Array(100).fill().map((_,i)=>i); let highestLevel = +localStorage.highestLevel || 0; let currentLevel = highestLevel; let l...
import React, { useState, useEffect } from 'react'; import axios from 'axios'; import { useFormik } from 'formik'; import * as Yup from 'yup'; import { Typeahead } from 'react-bootstrap-typeahead'; import moment from 'moment'; import { Form, Button, Row, Col, Container } from 'react-bootstrap'; import { isNil, isEmpty ...
/* we expect "data" to have the form: { scraperRunRefId: 123, locationRefId: 234, } DB structure: (for a location, when we first noticed appointments were there, and then when we noticed they were gone) appointmentAlerts: { locationRef, firstScraperRunRef, lastScraperRunRef, st...