text
stringlengths
3.22k
29.5k
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _reactstrap = require("reactstrap"); var _formik = require("formik"); var Service = _...
var url_utils = require('url'); var qs = require('querystring'); var util = require('util'); var _ = require('lodash'); var moment = require('moment'); function functor(obj) { /**function:functor(obj) Coerce ``obj`` to a function. If ``obj`` is a function, return the function. Otherwise return a cons...
/** * @license Copyright 2017 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 required by applicable law or a...
console.log("Dentro de archivo JS"); var btn_guardarPrivilegio = document.getElementById('btn_guardarPrivilegio');//boton para guardar capa btn_guardarPrivilegio.onclick = function(e) {//funcion para obtener valores de campos y guardarlos console.info("-------------Dentro de la funcion CLICK------------"); ...
// In God We Trust const crypto = require('crypto'); const fs = require('fs'); const minify = (function(){ try{ return require('terser').minify; }catch(e){ return function(str){ return {code: minifyScript(str)}; }; } })(); const jsReserved = [ 'abstract','arguments','await','boolean','brea...
let pastSearchesArray = []; function displayPastSearches () { retrievedPastSearchesArray = JSON.parse(localStorage.getItem('pastCityWeatherSearches')) // reverse the array so that the most recent search is first reversedPastSearchesArray = retrievedPastSearchesArray.reverse() // empy the past searches containe...
const BASE_URL = "http://localhost:3000" // CRUD Read STUDENT (index list of ALL students) function fetchStudents() { fetch(`${BASE_URL}/students`) .then(resp => resp.json()) .then(students => { for(const student of students) { let s = new Student(student.id, student.name, student.nick...
let gui; window.onload = () => { let sphereR = 10; let pointsCount = 10000; // GUI var robotControllVars = function() { // this.yellowX = 0; // this.animation = animate; }; var robotVars = new robotControllVars(); var gui = new dat.GUI(); // gui.add(robotVars, ...
import React from 'react'; import { connect } from 'react-redux'; import { closePopout, goBack, openModal, openPopout, setPage } from '../../store/router/actions'; import { ModalPage, ModalPageHeader, withPlatform, Group, SimpleCell, Header, Switch, Button, ScreenSpinner, Div, Title, CellButton } from "@vkontakte/vku...
/** * democracy.js * Copyright (c) 2016 - 2018, GoldFire Studios, Inc. * http://goldfirestudios.com */ const shortid = require('shortid'); const dgram = require('dgram'); const {EventEmitter} = require('events'); const {StringDecoder} = require('string_decoder'); // Create the string decoder. const decoder = new ...
const firebaseConfig = { apiKey: "<KEY>", authDomain: "elevator-3a561.firebaseapp.com", databaseURL: "https://elevator-3a561-default-rtdb.firebaseio.com", projectId: "elevator-3a561", storageBucket: "elevator-3a561.appspot.com", messagingSenderId: "469815765021", appId: "1:469815765021:web:f...
import React, { Component } from "react"; import { AppRegistry, StyleSheet, Text, View, TouchableHighlight, NativeAppEventEmitter, NativeEventEmitter, NativeModules, Platform, PermissionsAndroid, ListView, ScrollView, AppState, Dimensions } from "react-native"; import BleManager from "react-...
var main = window.main || {}; main.mapShareKey = 'map-shares'; main.ga = window.ga || function() {}; main = (function(main, global) { const { Mousetrap } = global; // should be set before gitter script loads ((window.gitter = {}).chat = {}).options = { disableDefaultChat: true }; // wait for sidecar t...
const DEFAULT_CORS_PROXY = url => `https://cors.zserge.com/?u=${encodeURIComponent(url)}`; const DEFAULT_IMG_PROXY = url => `https://ogimg.recoilme.vercel.app/api/og.go?og=${url}`; //https://cors.zserge.com/?u=recostream.go.mail.ru/?n=12&stream_id=huawei_test&query_type=recommends const DEFAULT_FEEDS = [ 'https://re...
var map; var constructionCompanies; var hover_labels = []; (function(){ //config values var geojson_file = 'data/dk-municipalities.geojson'; var csv_url = 'data/3F-data - Ark1.csv'; var geo_id = 'komnr'; var color_id = 'Hovedtotal'; var map_colors = [ '#fee5d9', '#fc9272', ...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
import React from "react"; import { View, Text, TouchableOpacity, StyleSheet, Image, Button, TextInput } from "react-native"; import AsyncStorage from '@react-native-community/async-storage' import { createBottomTabNavigator } from "react-navigation"; import { ScrollView } from "react-native-gesture-handler"; import Ic...
// // Webble World 3.0 (IntelligentPad system for the web) // // Copyright (c) 2010-2015 <NAME>, <NAME>, <NAME>aka // in Meme Media R&D Group of Hokkaido University, Japan. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance wi...
const getLegend = (components) => { const Lg = {}; const legend = $('#legend'); let year = 2015; let tempLayers; Lg.hasViews = true; let layers; let plans; function initEvents() { const { dispatch } = components; $('.legend-toggle').click(() => { toggleSidebar(); }); $(...
// (c) 2012-2016 Airbnb, Inc. // // polyglot.js may be freely distributed under the terms of the BSD // license. For all licensing information, details, and documention: // http://airbnb.github.com/polyglot.js // // // Polyglot.js is an I18n helper library written in JavaScript, made to // work both in ...
import $ from 'jquery'; import C from 'ui/utils/constants'; import Route from '@ember/routing/route'; import Preload from 'ui/mixins/preload'; import { inject as service } from '@ember/service'; import { scheduleOnce, later, cancel } from '@ember/runloop'; import { resolve, all as PromiseAll } from 'rsvp'; import { get...
let fs = require('fs'); let PNG = require('pngjs').PNG; let config = require('../configs/starConfig'); let buffer = null; function append(buff) { if (buffer) buffer = Buffer.concat([buffer, buff]); else buffer = buff; } module.exports = { // ------------------------------ Star QR -----------------------------...
let core window.onload = _=>{ const ss = new Range({width: 500, value: 8, class: `input`, min: 3, max: 20, scale: 5, step: 1, label: `Sample size`, labelWidth: 200, formula: n=>Math.floor(n**2)}) const bs = new Range({width: 500, value: 1000, class: `input`, min: 2, max: 3000, scale: 2, step: 1, label: `Bootstrap s...
var fs = require('fs'); var path = require('path'); var jsonfile = require('jsonfile'); var config = require('../modules/configuration.js'); // this is the wrapper class for the MPlayer intergration //var thePlayer = require('../modules/thePlayer'); // this is the wrapper class for the MPlayer intergration var the...
import {Vector} from "./vector"; import * as MCGMath from "./math"; const Polygon = (() => { function Polygon(context, sourcePoints, params) { this.context = context; // closed by default this.closed = !(params && params.open); this.points = []; this.bisectors = null; ...
import { useState, useEffect } from "react"; import Backdrop from "../Backdrop"; const UpdateMemberModal = ({ member, dismissModal, setSuccess, fetchMembersData }) => { const [allFamilies, setFamilies] = useState([]); const [nameInput, setNameInput] = useState(''); const [familyInput, setFamilyInput] = u...
import React, { useEffect } from 'react'; import { TextField, Grid, Paper } from '@material-ui/core'; import { useFormik } from 'formik'; import { useDispatch, useSelector } from 'react-redux'; import * as Yup from 'yup'; import PropTypes from 'prop-types'; import Select from '@material-ui/core/Select'; import FormCont...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto...
// sex_for_many 'use strict'; function is_local_storage(){return (typeof(Storage) !=='undefined'?true:false);} function is_dialogi(){return (typeof HTMLDialogElement==='function'?true:false);} function bzuka(el,n,ml){ gid('inbox3').innerHTML='<b>'+n+'</b>'; dialogConfirm.showModal(); dialogConfirm.onclose=function(ev){...
/** * Created by sjq on 2017/8/9. */ var url_warn = "http://120.76.219.196:85/warn/query"; var url_order = "http://172.16.58.3:85/order/query"; var url_truck = "http://192.168.127.1296:85/basic_info/truck_info/query"; var url_driver = "http://172.16.58.3:85/basic_info/escort_info/query"; var url_download = "http://12...
const util = require('util') const _data = Symbol('data') const _delete = Symbol('delete') const _append = Symbol('append') const sqBracketsMatcher = str => str.match(/(.+)\[([^\]]+)\]\.?(.*)$/) // replaces any occurence of an empty-brackets (e.g: []) with a special // Symbol(append) to represent it, this is going to...
/* 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 not use th...
"use strict"; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
/*jshint esversion: 6,node: true,-W041: false */ 'use strict'; var debug = require('debug')('FakeGatoStorageDrive'); var fs = require('fs'); var readline = require('readline'); var google = require('googleapis'); var googleAuth = require('google-auth-library'); var path = require('path'); var os = require('os'); modul...
// JS Libraries const withData = require('leche').withData; const abi = require('ethereumjs-abi') const settingsNames = require('../utils/platformSettingsNames'); const { t, NULL_ADDRESS, TERMS_SET, THIRTY_DAYS, } = require('../utils/consts'); const { loans } = require('../utils/events'); const { createLoanRequ...
// Copyright 2014-2021, University of Colorado Boulder /** * Shows a readout of the elapsed time, with play and pause buttons. By default there are no units (which could be used * if all of a simulations time units are in 'seconds'), or you can specify a selection of units to choose from. * * @author <NAME> <<EMA...
'no use strict'; // Remove "use strict"; from transpiled module until // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed import { protoMethods as listenerMethods } from 'ember-metal/meta_listeners'; import EmptyObject from 'ember-metal/empty_object'; /** @module ember-metal */ /* This declares several meta-...
"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...
import React from "react"; import {store} from "./RegisterListStore"; import ToggleStar from "../../components/common/ToggleStar"; import {observer} from "mobx-react"; import {REGISTER_CALL_STATUS_CLASS_NAMES} from "../../constants/constants"; import TooltipButton from "../../components/common/TooltipButton"; import St...
"use strict"; const IconDefinition = require("./icon-definition.js"); const {escapeRegExp} = require("../utils.js"); /** * Interface for generating precompiled arrays of icon data. * * @class */ class IconCompiler{ /** * Compile working icon data from a CSON config file. * * @example compile("./config.c...
import React from 'react'; import Popover from '@material-ui/core/Popover'; import MenuList from '@material-ui/core/MenuList'; import MenuItem from '@material-ui/core/MenuItem'; import Typography from '@material-ui/core/Typography'; import { makeStyles } from '@material-ui/core/styles'; import { Map, TileLayer, Layers...
import React, { useEffect, useState } from 'react'; import { Link as RouterLink, withRouter } from 'react-router-dom'; import PropTypes from 'prop-types'; import validate from 'validate.js'; import { makeStyles } from '@material-ui/styles'; import { Button, Checkbox, FormHelperText, Grid, IconButton, Link, TextField, T...
/* Credits: - Lummit - https://obnoxious.club/ | https://github.com/Lumm1t/ | Discord: Lummit#0201 - expl0it, shellcode.team - Steam (emoticon: https://steamcommunity-a.akamaihd.net/economy/emoticon/mgh_17) - Trollface image (http://www.rw-designer.com/icon-image/7835-256x256x32.png) - Tumblr image...
import { initializeBlock, expandRecord, useBase, useSettingsButton, useGlobalConfig, Heading, Text, TablePicker, Box, FormField, Button, Dialog, } from "@airtable/blocks/ui"; import React, { useState } from "react"; import { session, viewport } from "@airtable/blocks"; import Log...
/** * * ToyPageEdit * */ import React, { useState, useEffect, useRef } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { compose } from 'redux'; import { useSnackbar } from 'notistack'; import { useFormik } from 'f...
/* file : cuckoo-filter.js MIT License Copyright (c) 2017 <NAME> & <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
import React, { useState, useEffect } from 'react'; import { Formik } from 'formik'; import { AsyncStorage, Button, Text, TextInput, View, ActivityIndicator } from 'react-native'; import { CardsInfo, ContainerRecipeForm, TitleRecipeForm, InputText, TitleRow, SliderLabels, Row, TemperatureText, LabelTe...
var passport = require('passport'); var admin = require('../models/admin'); var article = require('../models/article'); var fs = require('fs'); var fsextra = require('fs-extra'); var util = require('util'); var path = require('path'); var multer = require('multer'); function chng(article, fimg) { var tot, i, rep, rep...
const { Bot, Keyboard, session, SessionFlavor } = require('grammy') const { Menu, MenuRange } = require('@grammyjs/menu') const mongoose = require('mongoose') const AutoIncrement = require('mongoose-sequence')(mongoose) const timestamp = Date.now() + 10800000 //config and Language files const fs = require('fs') const...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Owner: <EMAIL> * @license MPL 2.0 * @copyright Famous Industries, Inc. 2015 */ var Entity = require('./E...
/*! * Module dependencies. */ var _ = require('underscore'), landmark = require('../'), async = require('async'), utils = require('landmark-utils'); /** * View Constructor * ================= * * Helper to simplify view logic in a Landmark application * * @api public */ function View(req, res) { if (!r...
import { ClientContext } from "./ClientContext"; import { C } from "./Constants"; import { Grammar, NonInviteClientTransaction } from "./core"; import { SessionStatus, TypeStrings } from "./Enums"; import { Exceptions } from "./Exceptions"; import { ServerContext } from "./ServerContext"; // tslint:disable-next-line:ma...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectSpread2 = _interopRequireD...
import agent from 'superagent'; import JSZip from 'jszip'; import { serializePromises } from './utils/common'; import { getDownloadParams } from './google-drive-utils'; import parseRange from 'range-parser'; async function appendGoogleApiScript() { if (window.gapi) { return false; } return new Promise((reso...
import React, { useState } from "react"; import { connect } from "react-redux"; import { loginAction, setFilter, recommendationAction, } from "../../store/actions"; import GroaLogo from "../../img/groa-logo-nav.png"; //for search bar import SearchBar from "../auth/SearchBar.js"; import { makeStyles, useTheme } f...
let core; window.onload = ()=>{ let sigma = new Range({ width: 500, value: .001, class: `input`, min: .0001, max: .2, scale: 5, label: `Descent rate`, labelWidth: 160}) // let f2 = new Range({ width: 500, value: 2.5, class: `input`, min: 1, max: 5, scale: 8, label: `2.5 Hz`, labelWidth: 160, step: .1}) // let s = n...
'use strict'; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ "use strict"; function _toConsumableArray(arr) { return ( _arrayWithoutHoles(arr) || _iterableToArray(a...
class Wdatepicker { constructor({ currentDate = new Date(), formatDate = 'YYYY/MM/DD hh:mm:ss', maxDate = '', minDate = '', disabledDate = []} = {}) { this.config({ win: window, format: formatDate, maxDate: this.judgeType(maxDate), minDate: this.judgeType(minDate), disabledDate, ...
/* jshint esversion: 6 */ import { ParamGui, Pixels, output } from "./modules.js"; /** * making pixel based images in a simple way * @namespace pixelPaint */ export const pixelPaint = {}; const intColor = Pixels.integerOfColor({ red: 255, green: 255, blue: 0, alpha: 255 }); /** * f...
/** * @fileoverview * @suppress {checkTypes} suppression added to enable type checking */ /** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ goog.module('goog.testing.mockmatchersTest'); goog.setTestOnly('goog.testing.mockmatchersTest'); const ArgumentMatcher = goo...
// A command object may have an options array of options // options are: // name: string (required) - name of the option // help: string (optional) - help of the option // match: none/object/array/regex/callable // callback return array of rvs or {name: 'xxx', help: 'xxx'}, or another callable or if takes an...
'use strict' //start recording and share a list when required const Datastore = require('nedb'), path = require('path'), fs = require('fs'), logUtil = require('./log'), events = require('events'), iconv = require('iconv-lite'), fastJson = require('fast-json-stringify'), proxyUtil = require('./util'); co...
// @ts-check // eslint-disable-next-line spaced-comment /// <reference types="ses"/> import { Nat } from '@endo/nat'; import { passStyleOf } from './passStyleOf.js'; import './types.js'; import { getInterfaceOf } from './helpers/remotable.js'; import { ErrorHelper, getErrorConstructor } from './helpers/error.js'; im...
'use strict'; // ---------------------------------------------------------------------------------------------- // Handle Requires ------------------------------------------------------------------------------ // Requires --------------------------------------------------------------------------------- const os ...
var netconfig var href window.onload = function() { var getaddress = localStorage.getItem("address") // Set overlay.js to open to import page localStorage.setItem("opened", "import.html") setImportLang() var apiget = localStorage.getItem("apiSet") // Sets History Tab to open to explorer i...
var path = require('path'); var config = require(path.resolve('config/config')); var util = require('util'); (function() { var NaverTalk = function() { }; NaverTalk.prototype.message = function(req, res) { var Engine = require('../core.js'); console.log("navertalk message"); ...
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(generator["throw"]...
$(function () { if(window.localStorage.sellerId){ window.seller_id = window.localStorage.sellerId; }else{ return alertWMsg('用户信息拉取失败,如果多次失败,请联系淘友记客服') } $(".contentShowDivTable").niceScroll({ cursorcolor:"#00B2EE", cursoropacitymax:1, hwacceleration:true, touchbehavior:false, ...
/* globals API_ENDPOINT, APP_VERSION */ /* eslint-disable no-underscore-dangle */ import startCase from 'lodash/startCase'; import ObjectSerializer from '@gdbots/pbj/serializers/ObjectSerializer'; import NodeRef from '@gdbots/schemas/gdbots/ncr/NodeRef'; import getAccessToken from '@triniti/cms/plugins/iam/selectors/ge...
// [SNIPPET_REGISTRY disabled] // [SNIPPETS_SEPARATION enabled] function setTenant() { // [START multitenant_set_tenant] const { getAuth } = require("firebase/auth"); const auth = getAuth(); const tenantId = "TENANT_ID1"; auth.tenantId = tenantId; // [END multitenant_set_tenant] } function switchTenantSin...
"use strict"; /*! * Copyright 2016 The ANTLR Project. All rights reserved. * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information. */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? tar...
// Copyright 2019 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writin...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = expandApplyAtRules; var _postcss = _interopRequireDefault(require("postcss")); var _postcssSelectorParser = _interopRequireDefault(require("postcss-selector-parser")); var _generateRules = require("./generateRules"); var ...
import Api from '@/api/home' import { PageLayout, RouteView, BlankLayout } from '@/layouts' // 前端路由表 const constantRouterComponents = { // 基础页面 layout 必须引入 PageLayout: PageLayout, RouteView: RouteView, BlankLayout: BlankLayout, '403': () => import(/* webpackChunkName: "error" */ '@/views/exception/403'), ...
/** * This requires dragula.js drag'n'drop library and jquery */ var $ = require('jquery') var dragula = window.dragula var onDrop = function (el, target, source, sibling) { var dataIdTemplate = $(target).attr('data-id-template') updateNames(target, dataIdTemplate) } var updateNames = function (containerEl, data...
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 = Reflect.decorate(d...
import React,{useState} from "react"; import Select from "react-select"; import PropTypes from "prop-types"; import DayPickerInput from "react-day-picker/DayPickerInput" import "react-day-picker/lib/style.css" import {Link} from "react-router-dom"; import{ Row, Col, Card, CardBody, Form, ...
/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you 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 agree...
import { FALLBACK_CS, FALLBACK_PROJECTION } from '../utils/Constants'; export var MapMLFeatures = L.FeatureGroup.extend({ /* * M.MapML turns any MapML feature data into a Leaflet layer. Based on L.GeoJSON. */ initialize: function (mapml, options) { L.setOptions(this, options); if(this.options....
import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; import RelatedTests from '../../containers/RelatedTests'; import {PropertiesBox, OverlaySelect, VText} from '../shared'; import assign from 'object-assign'; class CreateCircleTest extends Component { constructor(props) { supe...
var fs = require("fs"); var path = require("path"); var childProcess = require("child_process"); var crypto = require("crypto"); var tar = require("tar"); var zlib = require("zlib"); var glob = require("glob"); var rimraf = require("rimraf"); var request = require("request"); var semver = require("semver"); var pypi = ...
/* * Module for tracking standardized analytics. */ var _gaq = _gaq || []; var _sf_async_config = {}; var _comscore = _comscore || []; var ANALYTICS = (function () { // Global time tracking variables var slideStartTime = new Date(); var timeOnLastSlide = null; var timedAnalytics = {}; var emb...
import { Divider, Typography, Layout, Form, Row, Col, Icon, Input, Button, Tooltip, notification } from 'antd'; import React, {Component} from 'react'; import "antd/dist/antd.css"; import axios from 'axios'; import NavBar from '../../components/navbar/navbar'; import {TestaCPF} from '../../components/services/cfp_vali...
import React from 'react' import { View, ScrollView, Text, TouchableOpacity, BackHandler, } from 'react-native' import { connect } from 'react-redux' import MapView from 'react-native-maps' import { checkGooglePlayServices, openGooglePlayUpdate } from 'react-native-google-api-availability-bridge' import Toast from...
const apiUrl = location.protocol + '//' + location.host+'/Api/v1/'; const appUrl = location.protocol + '//' + location.host+'/'; // $apiUrl = \Config::get('data.apiUrl'); // $appUrl = \Config::get('data.apiUrl'); // const apiUrl = <?php echo $apiUrl; ?>; // const appUrl = <?php echo $appUrl; ?>; $(function(){ ...
import React from 'react'; import './index.css'; // constant const SHIFT_PERCENT = 100; // 滑动到两边的百分比 // default config const SCROLL_THRESHOLD = 90; // 滑动判定是否有效的阈值 const COVER_CONTAINER_SCALE = 1.05; // 最上层容器的 scale const COVER_CONTAINER_TOP = 15; // 最上层容器 距顶部距离 const ANIMATION_TIME = 0.43; // 动画时间 export default cla...
// Define region ID and scale of maps to download var roi_id = 'Region of Interest'; var scale = 90; // Define Region of interest (Polygon) var roi = ee.FeatureCollection('projects/ee-rbfontana/assets/geoft_bho_2017_50k_area_drenagem') .filter(ee.Filter.inList('nunivotto5', ['44947', '44948', '44949'])) ; ...
import { shuffle } from '../blackjack/standardDeck52.js'; /** * Computes the centroids for all hexagons on the island. * @param {number} centroidSpacing - Arbitrary spacing unit * @param {number} numCentroidsAcross - Width of island at center * @returns {Object[]} - Array of centroid coordinates */ function comp...
const momentTZ = require("moment-timezone"); require("moment-duration-format"); // const {inspect} = require('util'); const Command = require("../base/Command"); class Shardtimes extends Command { constructor(Bot) { super(Bot, { name: "shardtimes", aliases: ["shard", "st", "payout",...
export const SUBJECTS = { 'toan hoc': 'Toán Học', 'tieng anh': 'Tiếng Anh', 'vat ly': 'Vật Lí', 'hoa hoc': 'Hóa Học', 'lich su': 'Lịch Sử', 'sinh hoc': 'Sinh Học', 'dia ly': 'Địa Lý', SHORT: { 'toan hoc': 'Toán', 'tieng anh': 'Anh', 'vat ly': 'Lí', 'hoa hoc': 'Hóa', 'lich su': 'Sử', ...
const AVAILABLE_WEEK_DAYS = ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado']; //const localStorageName = 'calendar-events'; let userLogado = localStorage.getItem("userLogado"); var listaa = {}; var data = {}; var clicked = false; Agenda(); async function Agenda() { const response1 = await ...
"use strict"; require("babel-polyfill"); require("./localStoragePolyfill"); var IS_CX = false; if (typeof chrome != "undefined") IS_CX = chrome.windows === undefined ? false : true; var angular = require("angular"); var angularTranslate = require("angular-translate"); var angularTranslateErrorLog = require("angular-t...
/* * decaffeinate suggestions: * DS208: Avoid top-level this * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const moment = require('moment'); export const counts = { "hits": [], "aggregations": { "total": { "value": 32 }, "dimension_range": { ...
const fs = require("fs"); const { ipcRenderer } = require("electron"); let promptId = null; let promptOptions = null; let dataElement = null; function $(selector) { return document.querySelector(selector); } document.addEventListener("DOMContentLoaded", promptRegister); function promptRegister() { //get custom ses...
import {Trans, Plural, i18nMark} from '@lingui/react' import React, {Fragment} from 'react' import {Icon, Message} from 'semantic-ui-react' import {ActionLink} from 'components/ui/DbLink' import ACTIONS from 'data/ACTIONS' import Module from 'parser/core/Module' import {Rule, Requirement} from 'parser/core/modules/Che...
import { parse as URLParse } from 'url'; import React, { Component } from 'react'; import Tesseract from 'tesseract.js' import PdfJsLib from 'pdfjs-dist'; import JSZip from 'jszip'; import saveAs from 'file-saver'; import flat from 'array.prototype.flat'; import Manifesto from 'manifesto.js'; import logo from './log...
function QueryString() { var name, value, i; var str = location.href; var num = str.indexOf("?"); if (num >= 0) { str = str.substr(num + 1); var arrTmp = str.split("&"); for (i = 0; i < arrTmp.length; i++) { num = arrTmp[i].indexOf("="); if (num > 0) { ...
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator'; import _slicedToArray from '@babel/runtime/helpers/slicedToArray'; import _defineProperty from '@babel/runtime/helpers/defineProperty'; import _regeneratorRuntime from '@babel/runtime/regenerator'; import { createContext, useReducer, useEffect, us...