text
stringlengths
3.22k
29.5k
function initSearch() { //first, tell the browsers to react to the event if( document.captureEvents && Event.KEYUP ) { //remove this part if you do not need Netscape 4 to work document.captureEvents( Event.KEYUP ); } /* this next line tells the browser to detect a keyup event over the whol...
import protos from './mods/protos.js'; import utils from './mods/utils.js'; import common from './mods/common.js'; import cart from './mods/cart.js'; import Zoom from './mods/zoom.js'; import Figure from './mods/figure.js'; import math from './mods/math.js'; const MM={}; const content = document.getElementById("creato...
'use strict'; // external modules var _ = require('lodash'); var immutable = require('immutable'); var assert = require('assert-plus'); var Toposort = require('toposort-class'); // internal files var helpers = require('./helpers'); //------------------------------------------------------------------------------ // c...
import React from 'react'; import AppBar from '@material-ui/core/AppBar'; import Button from '@material-ui/core/Button'; import CameraIcon from '@material-ui/icons/PhotoCamera'; import Card from '@material-ui/core/Card'; import CardActions from '@material-ui/core/CardActions'; import CardContent from '@material-ui/core...
//www.kfish.org/boids/pseudocode.html // 37505c // 2E434D maxBirds = 100; // Attraction to eachother factorRule1 = 0.01 // min distance to eachother factorRule2 = 50 // align velocity factor factorRule3 = 10 maxVelocity = 14 viewDistance = 100 mouseFeature = true edgeMargin = 50 const BoidImage = "assets/custom4.png"...
export const ROPSTEN = 'ropsten'; export const RINKEBY = 'rinkeby'; export const KOVAN = 'kovan'; export const MAINNET = 'mainnet'; export const BSC_MAINNET = 'bscMainnet'; export const DEX_MAINNET = 'dexMainnet'; export const GOERLI = 'goerli'; export const NETWORK_TYPE_RPC = 'rpc'; export const MAINNET_NETWORK_ID = ...
//Cria Usuário $(function () { $('form[id="CadastroCliente"]').submit(function (event) { event.preventDefault(); console.log(documento()); if (documento() && validaInputNome() && validaInputNumeros('inputTel1') && validaInputNumeros('inputTel2') && valid...
var keystone = require('keystone'); var async = require('async'); var _ = require("underscore"); var _config = keystone.get("_config"); var winston = require("winston"); var util = require("../../manager/util/utils"); exports = module.exports = function(req, res) { var view = new keystone.View(req, res),...
var pfpurle = localStorage.getItem("url"); var namee = localStorage.getItem("name"); var client = '1.9.4' window.onload = function() { // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional // For Firebase JS SDK v7.20.0 and later, measurementId is optional con...
var stats, scene, renderer, composer; var camera, cameraControls; var mesh; var parameters = { A: 1.0, a: 0.1, b: 0.1, alpha: 86.0, beta: 10.0, theta: 0.2, D: 1.0, phi: 0.0, omega: 0.0, mu: 0.0, N: 0, W1: 1.0, W2: 0.5, L: 0.5, P: 40.0 } var presets = { ...
// ARRAY FOREACH() , MAP() AND FILTER() function page1ex1() { // • Write the function onlyOneWord(strs) – returns only those strings // with a single word (no spaces) var input = ['return', 'phrases', 'with one word']; var expected = ['return', 'phrases']; var actual = onlyOneWord(input); func...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
'use strict' const os = require('os') const path = require('path') const fs = require('fs-extra') const merge = require('webpack-merge') const webpack = require('webpack') const MemoryFS = require('memory-fs') const parse = require('parse-package-name') const find = require('lodash.find') const chalk = require('chalk')...
'use strict'; // Store Vuex object const store = new Vuex.Store({ state: { game: true, // game active or not guardBodyMessage: "Welcome abord, young fella! We gonna search " + "some treasure today! So, where will we start? Just click on " + "desired place to expedition!", expediti...
import React from "react"; import PrismCode from "react-prism"; import Alert from "elevate-ui/Alert"; import Typography from "elevate-ui/Typography"; import withStyles from "elevate-ui/withStyles"; import CheckCircle from "elevate-ui-icons/CheckCircle"; import "../layout/prism-elevate.css"; const Shadows = ({ classes ...
var srModule = angular.module("qcPlanMapModule", []); var scope; var http = null; var markerWinId = "markerInfoWindow"; srModule.controller("qcPlanMapCtrl", function ($scope, $http) { if($("#markerInfoWindow").length!=0) { markerWinId = "markerInfoWindow"; } else if($("#markerProgressInfoWindow").l...
/* 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...
'use strict'; //////// GLOBAL Variables var map, infoWindow, myViewModel; // Special stylings for map var pinStyles = [{ "featureType": "all", "elementType": "geometry.fill", "stylers": [{"weight": "2.00"}] }, {"featureType": "all", "elementType": "geometry.stroke", "stylers": [{"color": "#9c9c9c"}]}, { ...
//dependencies var requirejs = require('requirejs'), util = require('util'); requirejs.config({ nodeRequire: require }); // Mode constants var MODE_OFF = 0; var MODE_COLOR_CYCLE_SYNC = 1; var MODE_COLOR_CYCLE_SNAKE = 2; var MODE_COLOR_CYCLE_MATRIX = 3; // Grid dimensions var GRID_COLUMNS = 4; var GRID_ROWS = 4; ...
/* Token Kit Copyright (c) 2014 - 2018 <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...
/** * Websocket Transport for the GraphIT REST API. */ import { w3cwebsocket as WS } from 'websocket'; import { create as createError, connectionClosedBeforeSend } from './errors'; import timer from './timer'; import { GRAPH_WS_API_BASE } from './api-version'; const noop = () => {}; export const webSocketsAvailab...
import { Grid, Typography, makeStyles, GridList, GridListTile, GridListTileBar, IconButton, Paper } from "@material-ui/core"; import useMediaQuery from "@material-ui/core/useMediaQuery"; import VisibilityIcon from "@material-ui/icons/Visibility"; import LinkIcon from '@material-ui/icons/Link'; import Ch...
/* Object & Persistence */ //comment //there isn't a data-toggle="tab" $(document).ready(function(){ $('a[data-toggle="tab"]').on('show.bs.tab', function(e) { console.log(e.target); localStorage.setItem('activeTab', $(e.target).attr('href')); }); var activeTab = localStorage.getItem('activeT...
/** * Test cases for DefUseAnalyzer * @lastmodifiedBy ChengFuLin * @lastmodifiedDate 2015-08-25 */ var should = require('should'); var defuseAnalyzer = require('../../lib/dujs/defuseanalyzer'), modelFactory = require('../../lib/dujs/modelfactory'), scopeFactory = require('../../lib/dujs/scopefactory'), ...
const parseXML = require("@rgrove/parse-xml"), EOL = require("os").EOL, fs = require("fs"), path = require("path"); function normalizeHtmlStr(str) { return str.replace(/\r*\n*/g, "").replace(/\s{2,}/g, " ").trim(); } function createNsEntity(data) { let ns_name = data.name.split(':'); let result = ns_name.lengt...
import '../scss/index.scss' import Phaser from 'phaser' let gameOptions = { tileSize: 200, colors: { 0: 0xFFFFFF, 2: 0xFFFFFF, 4: 0xFFEEEE, 8: 0xFFDDDD, 16: 0xFFCCCC, 32: 0xFFBBBB, 64: 0xFFAAAA, 128: 0xFF9999, 256: 0xFF8888, 512: 0xFF7777, 1024: 0xFF6666, // 2048: 0x...
/*jshint esversion: 8 */ import { api, queries } from "./api.js"; // coordinaten continenten const coordinates = [{ continent: "Afrika", lat: 7, long: 21 }, { continent: "Amerika", lat: 15, long: -90.5 }, { continent: "Antarctica", lat: 78, ...
function generateCardNo(x) { if(!x) { x = 16; } var achars = "1234567890", no = ""; for (var i=0; i<x; i++) { var rnum = Math.floor(Math.random() * achars.length); no += achars.substring(rnum,rnum+1); } return no; } function roundNumber(number, toref) { switch(toref) { ca...
import * as THREE from '../node_modules/three/build/three.module.js'; import MeshBVHNode from './MeshBVHNode.js'; import { boundsToArray } from './BoundsUtilities.js'; import { getBufferGeometryVertexElem, getGeometryVertexElem, getLongestEdgeIndex, getAverage, getBounds, getCentroids, shrinkBoundsTo } from './Geome...
/** * Copyright 2019 The AMP HTML Authors. 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...
import * as zrUtil from 'zrender/src/core/util'; import Model from '../../model/Model'; var each = zrUtil.each; var curry = zrUtil.curry; // Build axisPointerModel, mergin tooltip.axisPointer model for each axis. // allAxesInfo should be updated when setOption performed. export function collect(ecModel, api) { va...
import React, { Component } from 'react'; import Helmet from 'react-helmet'; import { CSSTransition, TransitionGroup } from 'react-transition-group'; import PropTypes from 'prop-types'; import AnchorLink from 'react-anchor-link-smooth-scroll'; import { Link } from 'gatsby'; import { throttle } from '../utils'; import ...
"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...
import { isDefined } from "../../core/utils/type"; var modules = require("./ui.grid_core.modules"), utils = require("../filter_builder/utils"), errors = require("../widget/ui.errors"), gridCoreUtils = require("./ui.grid_core.utils"), filterUtils = require("../shared/filtering"), customOperations = ...
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.ui.form.on("Sales Invoice", "refresh", function(frm) { display_qr(frm); create_custom_button(frm); }) frappe.ui.form.on("Sales Order", "refresh", function(frm) { display_q...
import { strerror, err, out, exit, open } from 'std'; import { read, signal, ttySetRaw, write } from 'os'; import { errno, toString, toArrayBuffer, toPointer, argSize, pointerSize } from 'ffi'; import { Socket, socket, AF_INET, SOCK_STREAM, ndelay, connect, sockaddr_in, select, fd_set, timeval, FD_SET, FD_CLR, FD_ISSET...
import { ehAspa, ehComentario, ehComposto, ehEOF, ehEspaco, ehLetra, ehNumero, ehPalavraReservada, ehQuebraLinha, ehSeparadorDecimal, ehSinal } from '../comparadores'; const SINTAXE_LITERAL_MAX = 333; const SINTAXE_INTEIRO_MIN = -100000000; const SINTAXE_INTEIRO_MAX = 100000000; const SINTAXE_FLO...
require('shelljs/global'); var path = require('path'); var readline = require('readline'); var fs = require('fs'); var crossSpawn = require('cross-spawn'); var rl; console.log('\n'); console.log('┌┬┐┌─┐┌┬┐┌─┐┌─┐┬─┐ ┌┬┐┌─┐┌─┐┬┌─┌┬┐┌─┐┌─┐'); console.log('│││├┤ │ ├┤ │ │├┬┘───││├┤ └─┐├┴┐ │ │ │├─┘'); console.log('┴ ┴└─┘...
import React from 'react' import units from 'units-css' class VirtualCSSGrid extends React.Component { constructor(props){ super(props) // the renderGridItem function is required if(!props.renderGridItem) throw new Error("A CSSGrid item renderer is required (renderGridItem prop)") // the renderGrid...
/* * The MIT License (MIT) * * Copyright (c) 2015 - present Instructure, Inc. * * 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 ri...
import "phoenix_html" import {Socket} from "phoenix" import {LiveSocket} from "phoenix_live_view" import topbar from "../vendor/topbar" import maphook from "./map" import locationhook from "./location" import arhook from "./ar" let nowSeconds = () => Math.round(Date.now() / 1000) let rand = (min, max) => Math.floor(Ma...
//; -*- mode: rjsx;-*- /** @jsx jsx */ import { jsx } from 'theme-ui'; import React, { useEffect, useState } from 'react'; import deepmerge from 'deepmerge'; import parseToml from '@iarna/toml/parse-string'; import { decodeHexString } from './util'; const LOCAL_STORAGE_KEY = 'ocStudioSettings'; const CONTEXT_SETTINGS...
import EventEmitter from 'events'; import { micromark } from 'micromark'; import { gfm, gfmHtml } from 'micromark-extension-gfm'; import encrypt from 'browser-encrypt-attachment'; import { getShortcodeToEmoji } from '../../app/organisms/emoji-board/custom-emoji'; import { spoilerExtension, spoilerExtensionHtml } from '...
var async = require('async'); var dbstreams = require('./streams'); var concat = require('concat-stream'); module.exports = function (mf) { mf.load = function (key, opts, callback) { //if this isn't a child and the user didn't include the prefix, add it opts = mf.handleOpts('Factory.get', opts, ca...
import React, { Component } from 'react'; import { View, StyleSheet, Keyboard, Platform, TouchableWithoutFeedback } from 'react-native'; import { Icon } from 'react-native-elements'; import { connect } from 'react-redux'; import { withFirebase } from 'helper/Firebase'; import { Colors, Layout } from 'constant'; import...
/** * Copyright 2012-2019, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var isPlainObject = require('../lib/is_plain_object'); var noop = require('../lib/noop'); var Loggers = require...
let all_papers = []; let all_pos = []; const allKeys = { authors: [], keywords: [], titles: [] } const filters = { authors: null, keywords: null, title: null }; const summaryBy = 'keywords' // or: "abstract" let currentTippy = null; let brush = null; const sizes = { margins: {l: 20, b: 20...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
/** * Copyright 2017 The AMP HTML Authors. 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...
/** * # tripReducer.js * * The reducer for all the actions about trip */ 'use strict' import InitialState from './tripInitialState' const { GET_BUY_TRIP, GET_BUY_TRIP_SUCCESS, GET_BUY_TRIP_FAILURE, GET_TRIP_BY_CLASS, SET_TRIP_KEY, SET_TRIP_CONTENT, SET_TRIP_CONTENT_SUCCESS, SET_TRIP_CONTENT_FAILU...
test = require('tape'); const { join } = require('path'); const $ = require('../src'); test('standard', t => { t.equal(typeof $, 'function', 'constructor is a typeof function'); t.end(); }); test('base', t => { [ // should strip glob magic to return parent path ['.', '.'], ['.*', '.'], ['/.*', '...
import CountDownProvider from './providers/CountDownProvider' import * as selectors from '../selectors' import BuyMETDrawer from './BuyMETDrawer' import { connect } from 'react-redux' import PropTypes from 'prop-types' import styled from 'styled-components' import React from 'react' import { DisplayValue, DarkLayou...
/** * 参加的考试,分类列表(专业列表) **/ import React, { Component } from 'react'; import { FlatList, TouchableWithoutFeedback, Dimensions, StyleSheet, Image, Text, View, Animated, Easing, ImageBackground } from 'react-native'; import { Ionicons } from 'react-native-vector-icons'; import Bar...
const { mnemonicToSeed, entropyToMnemonic } = require('@ethersproject/hdnode') const EventEmitter = require('events') const didJWT = require('did-jwt') const DidDocument = require('ipfs-did-document') const localstorage = require('store') const Identities = require('orbit-db-identity-provider') const { OdbIdentityProvi...
/* global web3 contract it before after artifacts describe beforeEach afterEach */ const assert = require('chai').use(require('chai-as-promised')).assert; const ServerHelper = require('../src/js/relayclient/ServerHelper'); const HttpWrapper = require('../src/js/relayclient/HttpWrapper'); const testutils = require('./te...
import React, { useState } from "react"; import { Link, withRouter } from "react-router-dom"; import { useHistory } from "react-router-dom"; import IntlTelInput from 'react-intl-tel-input'; import ComboBox from "react-responsive-combo-box"; import ImageUploader from "react-images-upload"; import Logo from "./assets/lo...
"use strict"; const { LUA_TNIL, LUA_TTABLE, lua_close, lua_createtable, lua_getfield, lua_isboolean, lua_isnoneornil, lua_pop, lua_pushboolean, lua_pushfstring, lua_pushinteger, lua_pushliteral, lua_pushnil, lua_pushnumber, lua_pushstring, lua_setfield, ...
/** * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distri...
import {gsap} from 'gsap'; import { map, lerp, clamp, getMousePos } from '../utils'; const images = Object.entries(require('../../img/demo1/*.gif')); // track the mouse position let mousepos = {x: 0, y: 0}; // cache the mouse position let mousePosCache = mousepos; let direction = {x: mousePosCache.x-mousepos.x, y: mou...
/** * @fileoverview Config file operations. This file must be usable in the browser, * so no Node-specific code can be here. * @author <NAME> */ 'use strict' // ------------------------------------------------------------------------------ // Requirements // --------------------------------------------------------...
'use strict'; /*eslint-env node*/ var webpack = require('webpack'); var autoprefixer = require('autoprefixer'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var HtmlWebpackHarddiskPlugin = require('html-webpack-harddisk-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var CommonsChun...
/* * @Author: kc.duxianzhang * @Date: 2019-05-22 15:22:42 * @Last Modified by: kc.duxianzhang * @Last Modified time: 2019-05-27 11:30:56 */ const babel = require('babel-core') const generate = require('babel-generator').default const { safeGet } = require('../../utils') const astResolveApis = [ 'collectAl...
import React, { Component, createRef } from 'react' import reactDOM from 'react-dom' import styles from './cs.scss' import { simpleDebounce } from './simpleDebounce' const ensureWithinLimits = (value, min, max) => { min = !min && min !== 0 ? value : min max = !max && max !== 0 ? value : max if (min > max) { ...
const fs = require('fs') const path = require('path') const crypto = require('crypto') const express = require('express') const session = require('cookie-session') const bodyParser = require('body-parser') const multer = require('multer') const mysql = require('mysql') const ECT = require('ect') const promisify = requi...
"use strict"; const EventEmitter = require("events"); const most = require("most"); const Promise = require("bluebird"); const StreamDSL = require("./StreamDSL.js"); const { LastState } = require("../actions/index"); const StorageMerger = require("../StorageMerger.js"); const { messageProduceHandle } = require("../me...
import { Meteor } from 'meteor/meteor'; import { Match, check } from 'meteor/check'; import { Accounts } from 'meteor/accounts-base'; import { OAuth } from 'meteor/oauth'; import { HTTP } from 'meteor/http'; import { ServiceConfiguration } from 'meteor/service-configuration'; import _ from 'underscore'; import { mapRo...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _vue = require("vue"); var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); ...
//module imports const f = require('util').format const MongoClient = require('mongodb').MongoClient // project files required const config = require('./config.json') const reply = require('./proto_messages.json') // mongodb login const user = encodeURIComponent(config.user) const password = encodeURIComponent(config...
/* eslint-env mocha */ /* eslint prefer-arrow-callback: "off" */ 'use strict'; const {BloomFilter} = require('bfilter'); const assert = require('bsert'); const Address = require('../lib/primitives/address'); const Script = require('../lib/script/script'); const MTX = require('../lib/primitives/mtx'); const FullNode =...
import React, { useState, useLayoutEffect, useMemo, useReducer, useEffect } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { useHistory } from 'react-router-dom' import { isEmpty } from 'lodash' import JobsPanelView from './JobsPanelView' import { MONITOR_JOBS...
// @ts-check const childProcess = require('child_process') const { promisify } = require('util') const fs = require('fs') const path = require('path') const c = require('./colors') const exec = promisify(childProcess.exec) const copyFile = promisify(fs.copyFile) const mkdir = promisify(fs.mkdir) const stat = promisify...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { settings } fr...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.replaceWithMultiple = replaceWithMultiple; exports.replaceWithSourceString = replaceWithSourceString; exports.replaceWith = replaceWith; exports._replaceWith = _replaceWith; exports.replaceExpressionWithStatements = replaceExpressio...
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; }; function _objectWithoutProperties(obj, keys) { var target = {...
// (c) Ed.E 2020 // Window focus checking n things var windowFocused = true; window.onblur = function(){ windowFocused = false; } window.onfocus = function(){ windowFocused = true; } function waitForMDLLoad(cb) { // Used to wait for MDL load if(typeof componentHandler !== "undefine...
const { BigInteger, SecureRandom } = require('jsbn'); /** * thanks for <NAME> : http://www-cs-students.stanford.edu/~tjw/jsbn/ * * Basic Javascript Elliptic Curve implementation * Ported loosely from BouncyCastle's Java EC code * Only Fp curves implemented for now */ const THREE = new BigInteger('3'); const ONE...
/* * user_config.js * * This module defines the configuration system for managing user accounts. * * FabMo is a single user system - only one distinct account can be logged in at once, * but the same user account can log in from multiple locations. The reasoning behind this * decision is that while it doesn't ...
"use strict"; /** * @class * @name AESForm * @summary AES Form * @description Advanced Encryption Standard Form Class */ class AESForm { // create class constructor constructor() { // define class props for html elements this.form = document.getElementById("aes-form"); this.txtWrapper = document.g...
import PropTypes from "prop-types"; import React from "react"; import { DragDropContext } from "react-dnd"; import HTML5Backend from "react-dnd-html5-backend"; import Suggestions from "./Suggestions"; import Tag from "./Tag"; // Constants const Keys = { ENTER: 13, TAB: 9, BACKSPACE: 8, UP_ARROW: 38, DOWN_ARR...
// modified to work in the browser by using underscore.js var _ = require('underscore')._; // See http://semver.org/ // This implementation is a *hair* less strict in that it allows // v1.2.3 things, and also tags that don't begin with a char. var semver = "\\s*[v=]*\\s*([0-9]+)" // major +...
/** * @license Copyright 2019 The Lighthouse Authors. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applica...
/** * Created by kalita on 21/07/15. */ var MIN_LAYER_NUM = 1; var MAX_LAYER_NUM = 12; var INITIAL_LAYER_NUM = 1; var REFRESH_TIMEOUT = 1000; var NT_GYM = 2, NT_RECTORATE = 3, NT_STUDY_OFFICE = 4, NT_LAB = 5, NT_AUDITORY = 6, NT_FOOD = 7, NT_TOILETS = 10, NT_FEFU_ORG = 14, NT_COMMER...
import "./admin.match.html"; import MatchingParticipants from '/imports/collections/matchingresults'; import Accommodations from '/imports/collections/accommodations'; import "/imports/ui/components/loader/loader"; import jwt from 'jsonwebtoken'; import _ from "lodash"; import moment from "moment"; import { flatten }...
import ShadersBase from '../shaders.base'; import InterpolationIdentity from './shaders.interpolation.identity'; class InterpolationTrilinear extends ShadersBase { constructor() { super(); this.name = 'interpolationTrilinear'; // default properties names this._currentVoxel = 'currentVoxel'; this...
import { useState, useEffect, useRef, Fragment } from 'react'; import moment from 'moment'; import PropTypes from 'prop-types'; import TableMain from 'src/components/TableMain'; import DetailDialog from 'src/components/base/DetailDialog'; import DeleteConfirmDialog from 'src/components/base/DeleteConfirmDialog'; impo...
import * as debug from '../../utils/debug'; import { utils } from '../../utils/utils'; import { Environment as env } from '../../utils/environment'; // Component Name const COMPONENT_NAME = 'arrange'; /** * The Arrange Component allows touch and drag support to sort UI items. * @class Arrange * @constructor * * @para...
'use strict'; /* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
// Required for Meteor package, the use of window prevents export by Meteor (function(window) { if (window.Package) { M = {}; } else { window.M = {}; } // Check for jQuery M.jQueryLoaded = !!window.jQuery; })(window); // AMD if (typeof define === 'function' && define.amd) { define('M', [], functio...
import { readFileSync, writeFileSync } from 'fs'; import { dirname, join, resolve as resolve_path } from 'path'; import { pathToFileURL, resolve, URL } from 'url'; import { mkdirp } from '../../utils/filesystem.js'; import { __fetch_polyfill } from '../../install-fetch.js'; import { SVELTE_KIT } from '../constants.js';...
const { app, databaseError, pool, invalidRequest, notFound, insufficientPrivileges, } = require("../../server"); const { checkValid, validId, nullableValidTags, } = require("../utils/validation-utils"); const PDFDocument = require("pdfkit"); const { getFullInvoiceById } = require("./get-invoice.api");...
/*! * tree-helper v1.4.14 * (c) phphe <<EMAIL>> (https://github.com/phphe) * Released under the MIT License. */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var hp = require('helper-js'); function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol"...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("antd/es/input/style"); var _input = _interopRequireDefault(require("antd/es/input")); require("antd/es/button/style"); var _button = _interopRequireDefault(require("antd/es/button")); var _react = _in...
import getType from 'should-type'; function format(msg) { var args = arguments; for (var i = 1, l = args.length; i < l; i++) { msg = msg.replace(/%s/, args[i]); } return msg; } var hasOwnProperty = Object.prototype.hasOwnProperty; function EqualityFail(a, b, reason, path) { this.a = a; this.b = b; ...
'use strict'; const types = require('../utils/types'); const emberUtils = require('../utils/ember'); const propertyGetterUtils = require('../utils/property-getter'); const { getImportIdentifier } = require('../utils/import'); const { getMacros, MACROS_TO_TRACKED_ARGUMENT_COUNT, } = require('../utils/computed-prope...
/*! @azure/msal-common v4.5.1 2021-08-02 */ 'use strict'; import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; import { BaseClient } from './BaseClient.js'; import { RequestParameterBuilder } from '../request/RequestParameterBuilder.js'; import { ScopeSet } from '../request/ScopeSet.js'; import { ...
function populateInputs() { var inputs = document.getElementsByTagName("input"); for (var i = 0; i < inputs.length; i++) { if (inputs[i].type == "text" && inputs[i].getAttribute("placeholder") != null) { inputs[i].style.color = "gray"; inputs[i].value = inputs[i].getAttribute("placeholder"); } } } functio...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var EVENT_TYPE; (function (EVENT_TYPE) { EVENT_TYPE["OPERATIONAL"] = "operational"; EVENT_TYPE["SCREEN"] = "screen"; EVENT_TYPE["TRACK"] = "track"; EVENT_TYPE["UI"] = "ui"; })(EVENT_TYPE = exports.EVENT_TYPE || (exports.EVENT_T...
// 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 ...
"use strict"; console.log("Checkout JS includeded"); window.onload?window.onload():console.log("No other windowonload foound"); window.onload = function () { checkPrivacyPolicy(); initAddress(); initCOD(); //getUserAddresses(); if(ENABLE_STRIPE){ initStripePayment(); } } var checkPriva...
/* ads.js * @author <NAME> - LdrMx */ /* return rand number of an array*/ function rand(min, max) { var offset = min; var range = (max - min) + 1; var randomNumber = Math.floor( Math.random() * range) + offset; return randomNumber; } /*load ads in wall if($('#posts').length!=0){ if($('.post-container .post'...