text
stringlengths
3.07k
16k
import {colors} from '../resources/theme.json'; import { PRIME_IMAGE_MAX_DIGIT_COUNT, PRIME_IMAGE_MAX_DIGIT_WARNING_COUNT, } from '../resources/constants'; const _componentToHex = (c) => { var hex = c.toString(16); return hex.length === 1 ? '0' + hex : hex; }; const rgbToHex = (r, g, b) => { return '#' + _c...
/* eslint-env mocha */ const { plugins } = require('../src/') const expect = require('expect.js') const cases = { '@csl/object': { 'with no properties': [{}, [{}]], 'with nonsense properties': [{ a: 1 }, [{ a: 1 }]], 'with proper properties': [{ title: 'test' }, [{ title: 'test' }]] }, '@csl/list+ob...
$.ajax({ method: "post", url: "/vehicle/search", data: JSON.parse(localStorage.getItem("search_data")), dataType: "json" }) .done(function (data) { if (data) { let vehicle_id = localStorage.getItem("details_vehicle"); let vehicle = data.find((veh) => { return veh.id =...
import { dataSource as CoreDataSource } from '@apollosproject/data-connector-algolia-search'; import { createGlobalId } from '@apollosproject/server-core'; import ApollosConfig from '@apollosproject/config' import Queue from 'bull' import Redis from 'ioredis'; import { graphql } from 'graphql'; import { take, get } fro...
'use strict'; var cookieStoreLocations = []; function CreateCookieStoreLocation(location, minCust, maxCust, avgSale, openAt, closeAt) { this.location = location; this.minCust = minCust; this.maxCust = maxCust; this.avgSale = avgSale; this.openAt = openAt; this.closeAt = closeAt; cookieStoreLocations.pus...
// parametro p, determina funcao a ser chamada function construcao() { $att('#fundo1').css('display', 'block'); $att('#construcao').css('display', 'block') .load('construcao.php',{objeto: '...' }); } function colaboradores(p,n) { $att('#fundo1').css('display', 'block'); $att(this).html( '<img src="imgs/...
const chrono = require('chrono-node'); const iCal = require('ical'); const moment = require('moment-timezone'); const { CommandClient, Utils } = require('detritus-client'); const { Markup } = Utils; const { Paginator } = require('./paginator'); const CALENDAR_URL = 'https://caldav.icloud.com/published/...'; const DI...
var _ = require('underscore'); var GF = { Name: 'gulpfile.coffee', Config: 'gulpconfig.json', GENERIC_CONFIG_KEYS: ['taskName', 'src', 'dst', 'sourceMap'], SECTION_REGEX: /^#<\s(\w+)([\s\S]*?)^#>/gmi, DEP_REGEX: /(GLOBAL\.)?([\w\d_$]+)\s=\srequire\('(.*)'\)/gmi, TASK_REGEX: /require\('.\/gulp-task\/(.*)'\)\...
/* Node Modules */ const fs = require('fs'); //require filereader const request = require('request'); //npm i request an http requester const eventEmitter = require('events'); const OHLC = require('./OHLC/OHLC'); /* set time */ let STARTDATE = new Date('Feb 11 2020 21:00');//set the start date in UTC STARTDATE = START...
import React, {Component} from "react"; import { Form, Button, Col } from "react-bootstrap"; let statesProvinces = [{abbrev: "AL", stateName:"Alabama"}, {abbrev: "AK", stateName:"Alaska"}, {abbrev: "AZ", stateName:"Arizona"}, {abbrev: "AR", stateNam...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const collection_utils_1 = require("collection-utils"); const TypeUtils_1 = require("../TypeUtils"); const Support_1 = require("../support/Support"); const TypeAttributes_1 = require("../TypeAttributes"); const StringTypes_1 = require("../Stri...
import React from 'react'; import PropTypes from 'prop-types'; import { cloneDeep, get } from 'lodash'; import compose from 'compose-function'; import SafeHTMLMessage from '@folio/react-intl-safe-html'; import { CalloutContext, stripesConnect } from '@folio/stripes/core'; import withFileHandlers from './components/wi...
import React, { Component } from 'react'; import { View, SafeAreaView, Text, StyleSheet, Image, ScrollView, TouchableOpacity } from 'react-native'; import { connect } from 'react-redux'; import { MaterialIcons } from '@expo/vector-icons'; import { Avatar } from 'react-native-elements'; import firebase from 'firebase'; ...
/** * Attention: My english is not good enough. Sorry. * * @author <NAME> */ var fs = require('fs'); var qs = require('querystring'); /** * possibles filenames */ var licenses_filenames = [ "LICENSE", "LICENSE.MD", "LICENSE.md", "license", "license.md", "LICENSE.TXT", ...
import Immutable from 'immutable'; import UUID from 'uuid'; import { addCellWithIndex, initialState } from '../reducers/notebook/notebookReducer'; import { CellTypes } from '../constants/NotebookConstants'; export function getCodeEmbedsFromNotebook(notebookImmutable) { const cells = notebookImmutable.get('cells'); ...
import React, {Component} from 'react' import 'bootstrap/dist/css/bootstrap.min.css' import {Card, Button} from 'react-bootstrap' import {Link, withRouter} from "react-router-dom"; import GlobalNav from "./GlobalNav" import FadeLoader from "react-spinners/FadeLoader"; class VideoList extends Component{ constructor...
import Percent from '../percent'; import Stat from '../rvals/stat'; import { precise } from '../../util/format'; import { TYP_MOD } from '../consts'; import { assign } from 'objecty'; import RValue from '../rvals/rvalue'; import { canWriteProp } from '../../util/util'; //import Emitter from 'eventemitter3'; export con...
// .env require("dotenv").config(); // Bcrypt const bcrypt = require("bcrypt"); // Config const { db } = require("../config/db"); // Validation const { registerValidate, loginValidate, passwordValidate, } = require("../utils/validate"); // Tokens const { getAccessToken, getRefreshToken, verifyToken, getToken...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _util = require("util"); var _request2 = _interopRequireDefault(require("request")); var _bluebird = _interopRequireDefault(require("bluebird")); var _merge = _interopRequireDefault(require("lodash/merge...
var mysql = require("mysql"); var inquirer = require("inquirer"); var consoleTable = require('console.table'); var connection = mysql.createConnection( { host:"localhost", port:8889, user: "root", password:"<PASSWORD>", database:"bamazon", insecureAuth:true ...
var warpedmap; var warped_wmslayer; var maxOpacity = 1; var minOpacity = 0.1; maps['warped'] = {}; maps['warped'].zoomWheel = new OpenLayers.Control.Navigation( { zoomWheelEnabled: true } ); maps['warped'].panZoomBar = new OpenLayers.Control.PanZoomBar(); maps['warped'].keyboard = new OpenLayers.Control.KeyboardDefaul...
"use strict" import React, { Component } from "react"; import { bindActionCreators } from "redux"; import { connect } from "react-redux"; import { browserHistory } from "react-router"; import { submitFreeResponse } from "../../actions/usersActions"; import { CircularProgress } from "material-ui"; import ProgressBar fro...
$(function () { $("#tabHandle").click(function () { return $("#CRUD").val() == "adjust"; }); GetZWAREHS(); $("#form").submit(function (e) { if (!$("#form").valid()) { AlertErrorMsg("form"); return false; } ShowBlockUI(); //prevent Default functionality e.preventDefault(); //ResultD...
const jaro = (s, t) => { let [s_len, t_len] = [s.length, t.length] if (s_len === 0 && t_len === 0) return 1 let matchDistance = Math.floor(Math.max(s_len, t_len) / 2) - 1 let [sMatches, tMatches] = [Array(s_len).fill(false), Array(t_len).fill(false)] let [matches, transpositions] = [0, 0] for (let i = 0; i...
import React, {Component} from 'react'; import {connect} from 'react-redux'; import PropTypes from 'prop-types'; import ConfigTableCard from '../components/validation/ConfigTableCard'; import {CLASSIFICATION, LABELLING, REGRESSION, TIME_SERIES_PREDICTION} from '../reference'; import { FILTER_LABEL_CHANGED, FILT...
'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]; } } }...
mapboxgl.accessToken = '<KEY>'; var ros_server_url = document.location.hostname + ":9090"; var ros = new ROSLIB.Ros(); var focused = false; var rosConnected = false; var direction; var joy_msg1 = new ROSLIB.Message({ linear: { x: 0.0, y: 0.0, z: 0.0 }, angular: { x: 0.0, ...
/* pace settings */ Pace.options = { ajax: false, } /* jQuery loading settings */ $.loading.default.tip = '請稍後'; $.loading.default.imgPath = '../static/vendor/ajax-loading/img/ajax-loading.gif'; function csrfSafeMethod(method) { // these HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIO...
const axios = require('axios'); const dnsUtils = require('./dnsUtils'); const ipRangeCheck = require('ip-range-check'); const logger = require('./logger'); const net = require('net'); const uuidv4 = require('uuid').v4; /** * Authenticate the request, if auth configured. * * If UVS_AUTH_TOKEN is set, we'll require t...
// to GET CONTENTS for folder at PATH (which may be a PACKAGE): // - if PACKAGE, read path/package.json // - if bins in ../node_modules/.bin, add those to result // - if depth >= maxDepth, add PATH to result, and finish // - readdir(PATH, with file types) // - add all FILEs in PATH to result // - if PARENT: // - if...
import { nearestPowerOf2, generateRange, instanceCount } from '../../utilities'; import { addFinishingRounds } from './addFinishingRounds'; import { buildFeedRound } from './buildFeedRound'; import { buildRound } from './buildRound'; export function feedInMatchUps({ linkFedFinishingRoundNumbers = [], linkFedRoundN...
import React, { PureComponent, Fragment } from 'react'; import { connect } from 'dva'; import NormalTable from '@/components/NormalTable'; import { formatMessage, FormattedMessage } from 'umi/locale'; import FooterToolbar from '@/components/FooterToolbar'; import { Table, Row, Col, Form, Input, Select, Di...
/* eslint-disable jsx-quotes */ // https://raw.githubusercontent.com/FormidableLabs/component-playground/master/src/components/playground.jsx /* eslint no-unused-vars:0 */ // import 'babel-polyfill' import React, { Component } from 'react' import PropTypes from 'prop-types' import Editor from 'component-playground/lib/...
/* * HomePage * * This is the first thing users see of our App, at the '/' route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a neccessity for you then you can refactor it and remove * the ...
import React from 'react'; import { BackHandler, Image, ImageEditor, Keyboard, View } from 'react-native'; import { ImagePicker } from 'expo'; import { Appbar, Button, Snackbar, Surface } from 'react-native-paper'; import { Transition } from 'react-navigation-fluid-transitions'; import t from 'src/forms'; import { Keyb...
'use strict'; var PubSub = require('PubSub'); var _ = require('util'); function SceneLoader(params) { PubSub.call(this); this.defaultModelFormat = params.defaultModelFormat; this.assetManager = params.assetManager; this.useSupportHierarchy = true; this.useNormalizedCoordinateFrame = true; this.freezeObjec...
'use strict'; var Editor = require('./editor'); var highlighter = require('./highlighter'); var helper = require('./helper'); var titleEditor; //editor for the title var bodyEditor; //editor for the body content var adminActionsEl; //parent element containing the buttons of the admin actions var contentActionsEl; //p...
/* file : property-paths.js MIT License Copyright (c) 2018 <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, modify...
'use strict'; import $ from 'jquery'; import FireDisplay from './FireDisplay.js'; import Fireflies from './Fireflies.js'; function createButton( label, root ) { const btn = $('<button type="button">' + label + '</button>') .addClass('btn btn-default') .appendTo( $(root) ); return btn[0]; } export default class...
'use strict' const path = require('path') const fs = require('fs') const globby = require('globby') const crypto = require('crypto') const { CleanWebpackPlugin } = require('clean-webpack-plugin') const WorkboxPlugin = require('workbox-webpack-plugin') const defaultCache = require('./cache') const getRevision = file =...
/* * Class: NewSnakePacket * Description: Class for creating a new snake on the game field. * Created: 13.04.2016 * Last change: 13.04.2016 * Collaborators: circa94, Kogs */ 'use strict'; var msgUtil = require('../../utils/message_util'); var consts = require("../../utils/constants"); var exp...
/* Copyright 2014-2019 Google LLC 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 agree...
function parseSExp(string) { string = string.replace(/^\s+|\s+$/g, "") .replace(/\(\s+/g, "(") .replace(/\s+\)/g, ")") .replace(/\s+/g, " ") let sexp = [[]] let word = "" for (let i = 0; i < string.length; i++) { let char = string.charAt(i); if (char == "(") { sexp.push([]) } ...
// https://github.com/ramlmn/serv/blob/master/lib/static-serv.js import path from 'path' import fsPromises from 'fs/promises' import fresh from 'fresh' import mime from 'mime' import { SETTINGS } from './other/globals.js' // import etag from 'etag' // import parseRange from 'range-parser' // simple parser, base is req...
//*********************************************************************************** // Copyright 2018 Verimatrix // // 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,...
var sparql = require('../common/queries/sparql'); var request = require('request'); var cors = require('cors'); const ServerUtils = require('../common/utils/server-utils.js'); const DatabusCache = require('../common/databus-cache'); const LayeredCache = require('../common/layered-cache') const UriUtils = require('../c...
/* * == BSD2 LICENSE == * Copyright (c) 2016, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program ...
import React, { useEffect, useRef, useState, useMemo, forwardRef } from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' import { deepMerge } from '@jiaminghi/charts/lib/util/index' import { deepClone } from '@jiaminghi/c-render/lib/plugin/util' import useAutoResize from '../../use/au...
var formSubmitting = true; //Array containing all exercises count var arrayEx; const listas = document.getElementById("Lista"); loadLists(); var select = document.getElementById("Lista"); var choiceSelected = select.value; //If there's info from the previous question saved in cache, load it into the fo...
/* * Copyright 2012-2015 MarkLogic 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 appli...
import Enum from '../util/enum.js'; import {formatTime} from '../util/datetime.js'; import recordStore from '../log-record-store.js'; import {lsKeys, getGameLabels} from '../logbook.js'; import ContainerElement from './spa-focus-container.js'; import _ from '../i18n.js'; import './spa-textbox.js'; const templateBase =...
// initial global variables to start with. XsecArray = []; var dXmm = 10; var Cols = 20; var Rows = 20; var canvasScale = 1; var globalZoom = 1; var minGrid = 3; var mouseCol; var mouseRow; var currentPhase = 1; var dragStartX; var dragStartY; var currentScrollX; var currentScrollY; var isModal = false; var mouseBox; v...
import d3 from '../../utils/d3-import'; import { moveMenubar } from './cont-bbox'; export const rExtent = [2, 16]; export const zoomScaleExtent = [0.95, 30]; export const zoomStart = (state, multiMenu) => { if (state.selectedInfo.hasSelected) { d3.select(multiMenu) .classed('hidden', true); } }; export...
import Component from './component.js'; import GridContentComponent from './gridContentComponent.js'; import ShowItemModalBinder from '../Binders/showItemModalBinder.js'; import WorkflowActivityCompletionModalBinder from '../Binders/workflowActivityCompletionModalBinder.js'; import HttpRequestManager from '../httpRequ...
import IdsPopup from '../../src/components/ids-popup'; import IdsButton from '../../src/components/ids-button'; import IdsInput from '../../src/components/ids-input'; import './test-sandbox.scss'; let popupEl; let xControlEl; let yControlEl; let xyControlFieldsetLabelEl; let xyClickToSetEl; let alignmentDisplayEl; /...
import React, { useState, useEffect } from 'react'; import styled from 'styled-components'; import TokenIcon from 'components/TokenIcon'; import { getShortenedAddress, abbreviateRelativeTime, daysFromNow, } from 'utils/string'; import Icon from 'components/Icon'; import { Link } from 'react-router-dom'; import Ci...
'use-strict'; const imageSection = document.getElementById('imageSection'); const leftImage = document.getElementById('leftImage'); const rightImage = document.getElementById('rightImage'); const middleImage = document.getElementById('middleImage'); const buttonElement = document.getElementById('SSbutton'); const listE...
import React from "react"; import {useParams, useHistory} from "react-router-dom"; import Message from "../Utils/Message.js"; import {UserContext} from "../../App.js"; import {sendForm, formatDate} from "../../utils.js"; function GrantCard({user, type, addGrant, removeGrant}) { return ( <div className="gr...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file a...
import * as React from 'react' import { render, screen, waitForLoadingToFinish, userEvent, loginAsUser, } from 'test/app-test-utils' import faker from 'faker' import {server, rest} from 'test/server' import {buildBook, buildListItem} from 'test/generate' import * as booksDB from 'test/data/books' import * as ...
// This is a Github fork of a CodePen fork of IFTTT Slottt Machine by <NAME> // Inspiration: Serving the world for over 20 years: https://www.dack.com/web/bullshit.html // Slot machine inspiration: https://codepen.io/paulstone/pen/RRrQQB var actionsList =[ 'aggregate', 'architect', 'augment', ...
const ALPHA_REGEX = /^[A-Za-z]*$/; const ALPHA_DASH_REGEX = /^[A-Za-z_-]*$/; const ALPHA_SPACES_REGEX = /^[A-Za-z ]*$/; const ALPHA_NUMERIC_REGEX = /^[A-Za-z0-9]*$/; const ALPHA_NUMERIC_DASH_REGEX = /^[A-Za-z0-9_]*$/; const ALPHA_NUMERIC_SPACES_REGEX = /^[A-Za-z0-9 ]*$/; const NUMERIC_REGEX = /^[+-]?\d+(\.\d+)?$/; cons...
var fs = require("fs"); var moment = require('moment'); var folderPath = './public/data/'; console.log('folderPath : '+folderPath); var temPath,humPath,dtaePath,interval; var temobj,humobj; exports.saveJsonToFile = function (path,obj){ saveJaonFile(path,obj); } exports.getJsonFromFile = function (path){ retur...
/* eslint-disable */ // The MIT License (MIT) // // Copyright (c) [2017] [<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 r...
import cx from "classnames"; import React from "react"; import { connect } from "react-redux"; import home_logo from "../../../assets/images/home_logo.png"; import txFailed from "../../../assets/images/txFailed.png"; import { clearLocalExcept, getLocal } from "../../../background/storage/localStorage"; import { clearSt...
/* * 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 writing, software * distributed u...
/* Copyright 2018 Streampunk Media Ltd. 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 wri...
$('.finishOrder').on('click', function (e) { var form = e.target.parentElement; var id = form.querySelector('input[name=id]').value; var antiForgeryToken = form.querySelector('input[name=__RequestVerificationToken]').value; $.ajax({ type: 'POST', url: '/api/Order/FinishOrder/' + id, ...
/* Copyright (c) 2015 - 2017, Nordic Semiconductor ASA * * All rights reserved. * * Use in source and binary forms, redistribution in binary form only, with * or without modification, are permitted provided that the following conditions * are met: * * 1. Redistributions in binary form, except as embedded into a...
import React, { useEffect, useState } from "react"; import styled from "styled-components"; import { Link } from "react-router-dom"; import { useDispatch, useSelector } from "react-redux"; import { useHistory } from "react-router-dom"; import { toastr } from "react-redux-toastr"; import { translate } from "../../utils...
import * as React from "react" import {useState, useEffect} from "react" import { Link, graphql } from "gatsby" import { StaticImage } from "gatsby-plugin-image" import Layout from "../components/layout" import Seo from "../components/seo" import { MapContainer, TileLayer, Marker, Popup, useMap } from "react-leaflet"...
const vscode = require('vscode'); const DB = require('./source/db'); const path = require("path"); const fs = require("fs"); const TableText = require('./source/tableText'); const TableTexts = require('./source/tableTexts'); const config = require('./config.json'); /** * @param {vscode.ExtensionContext} context */ ...
// Populate dropdowns var districts = null; var lander = {"latLong": [28.7066773,77.102488], "zoomFactor": 20} fetch("https://covidbeed.com ").then(response => { return response.json(); }).then(data => { districts = data; var loc = document.getElementById("city"); var states = [] districts.map(i => { if(!...
import React from "react"; import PropTypes from "prop-types"; const SvgComponent = ({ size, width, height, ...otherProps }) => { if (size !== height) { width = width * (size / height); height = height * (size / height); } return ( <svg width={width} height={height} viewBox="0 0 37...
import styled from 'styled-components' import * as hx from '../helpers' const Guide = styled.div` --reactour-accent: ${props => props.accentColor}; ${props => props.defaultStyles ? ` max-width: 331px; min-width: 150px; padding-right: 40px; border-radius: ${props.rounded}px; border: 1px solid tr...
'use strict'; import React, {Component,PureComponent} from 'react'; import { View, Text, Image, StyleSheet, AsyncStorage, Animated, Easing, ScrollView, ListView, ActivityIndicator, AppRegistry, } from 'react-native'; import CustomImage from './CustomImage' export default cl...
var debug = require('debug')(require('../package.json').name); var path = require('path'); var fs = require('fs'); var _ = require('lodash'); var flatten = require('flat'); var exec = require('child_process').exec; var Scanner = function(spec) { debug('new instance', spec); var obj = {}; //inheritance: var obj ...
const { test, readInput } = require("../utils") const prepareInput = (rawInput) => rawInput.split(require("os").EOL).map((row) => {return row.split('')}) const input = prepareInput(readInput("input.txt")) const testInput = prepareInput(readInput("test.txt")) let isOccupied = function (seat) {return seat == '#'} let ...
$(document).ready(function () { $('#variable-dropdown').change(function () { // Show fields based on dropdown selection if ($(this).val() == 'text') { $('#variable-text-value').show(); $('#variable-numerical-range').hide(); } else { $('#variable-text-value...
import classnames from "classnames"; import { isEmpty } from "lodash"; import React from "react"; import { connect } from "react-redux"; import { fetchPlaylist } from "../../modular/genre"; import { addTrackToPlaylist, fetchUserPlaylistsIfNeeded } from "../../modular/playlist"; import "../UserPlaylists/UserPlaylist...
import React, { useState, useContext, useEffect, useCallback } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Icon from '@material-ui/core/Icon'; import Store from '@material-ui/icons/Store'; import Accessibility from '@material-ui/icons/Accessibility'; import GridItem from 'components/Grid...
import React from "react"; import PropTypes from "prop-types"; import { withStyles } from "@material-ui/core/styles"; import Typography from "@material-ui/core/Typography"; import NoSsr from "@material-ui/core/NoSsr"; import TextField from "@material-ui/core/TextField"; import AppBar from "@material-ui/core/AppBar"; im...
import React from 'react'; import * as PropTypes from 'prop-types'; import classNames from 'classnames'; import loadable from '@loadable/component'; import { TableRow, TableCell } from '@material-ui/core'; import { PhotoLibrary as PhotoLibraryIcon, RateReview as RateReviewIcon, Build as BuildIcon, ...
"use strict"; const axios = require(`axios`); const _ = require(`lodash`); const jsonApisHit = {}; const { nodeFromData, downloadFile, isFileNode } = require(`./normalize`); const { handleReferences, handleWebhookUpdate } = require(`./utils`); const asyncPool = require(`tiny-async-pool`); const bodyPar...
const pino = require('pino'); const logger = pino({ prettyPrint: { levelFirst: true }, prettifier: require('pino-pretty') }); const utils = require('./utils'); const scraper = require('./scraper'); /** * slot ---- 处理Request 请求的一个生命周期 * @constructor */ function Slot( start_requests , nextcall ...
let navToggle = document.querySelector(".nav-toggle"); navToggle?.addEventListener("click", () => { "use strict"; navToggle.classList.toggle("nav-toggle-open"); if (navToggle.classList.contains("nav-toggle-open")) { navToggle.innerHTML = `<i class="las la-times"></i>`; } else { navTogg...
var _ = require('lodash'); var util = require('util'); var juice = require('juice'); var command = require('../utils/command'); var fs = require('../utils/fs'); var Promise = require('../utils/promise'); var error = require('../utils/error'); var WebsiteOutput = require('./website'); var assetsInliner = require('./ass...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const devtools_1 = __importDefault(require("../../utils/interception/devtools")); const webdriver_1 = __...
var in_standup_position = false; // ****** TEST ********* var robot_feedback_listener = new ROSLIB.Topic({ ros: ros, // name: '/robotis/status', name: "/archie/status", messageType: "robotis_controller_msgs/StatusMsg", }); robot_feedback_listener.subscribe(function (message) { // https://stackoverflow.com/q...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _element = require("@wordpress/element"); var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/...
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. function Audit(keep_original_message) { var processor = require("processor"); ...
const _ = require('lodash'); const yaml = require('js-yaml'); const fs = require('fs'); const Ajv = require('ajv'); const traverse = require('traverse'); const operators = require('./operator'); const schema = yaml.safeLoad( fs.readFileSync( __dirname + '/rulesSchema.yaml' ) ); const ajv...
import React from 'react'; import { makeStyles, useTheme } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import LeafStepperItem from '../components/leafStepperItem.js'; import LeafAddButton from '../components/leafAddButton'; import net from '../img/net.png'; import shovel from '../img/s...
// RepeatedSeq.js var dbDir = "Chr1"; var qChrName = "Chr1"; vv.CurrentDirectory = vv.CurrentDataDir2 + "/" + dbDir; var fso = new ActiveXObject("Scripting.FileSystemObject"); var shell = new ActiveXObject("WScript.Shell"); var sa = vv.FindPluginObject("SeqAnalysis"); var seqBlob = sa.OpenSequence(qChrName); if ( seqB...
import React, {Component} from "react"; import "./App.css"; import { render } from 'react-dom'; import carfix from "./SunrisePeekTeaEstate.jpg"; import firebase from "../config/firebase.js"; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; class App extends C...
import React, { Component } from 'react'; import { Carousel } from 'antd'; import { GET_CURRENT_EVENTS } from '../../components/GraphQL/queries'; import { print } from 'graphql'; import { url } from '../../utils/constants'; import { Container, Row, Col } from 'react-grid-system'; import { Card, Icon, Avatar } from 'ant...
const async = require('async'); const request = require('request'); const cheerio = require('cheerio'); const iconv = require('iconv-lite'); const url = require('url'); const sqlite3 = require('sqlite3'); // const BASEURL = 'https://samara.hh.ru/resume/697563de000336c85a0039ed1f303134497537'; const BASEURL = 'https://...
/** Ludibrium PQ (101st Eos Tower) */ var minPlayers = 6; function init() { em.setProperty("state", "0"); } function monsterValue(eim, mobId) { return 1; } function setup() { em.setProperty("state", "1"); var eim = em.newInstance("LudiPQ"); var map = eim.setInstanceMap(922010100); map...
var _ = require('lodash'); var Q = require('q'); var path = require('path'); var semver = require('semver'); var pkg = require('../package.json'); var i18n = require('./utils/i18n'); var version = require('./version'); var DEFAULT_CONFIG = require('./config_default'); // Default plugins added to each books var DEFAU...
import React, { Component, Fragment } from "react"; import Navigation from "./Navigation"; import { connect } from "react-redux"; import { get_categories } from "../redux/action-creators/categories"; import { decode_token, avatarToText, calculateDiscount } from "../helpers/users"; import { get_single_user } from ...