text
stringlengths
3.07k
16k
import * as Util from './ExportUtil' export function addGridToElements (parent) { let grid = computeGrid(parent) if (grid) { parent.grid = grid if (parent.children && parent.children.length > 0) { parent.children.forEach(e => { e.gridColumnStart = 0 e.gridColumnEnd...
'use strict'; var EventEmitter = require( 'events' ).EventEmitter; var WritableStream = require( 'stream' ).Writable; var util = require( './util' ); /** * @summary Input stream for sending audio to Mumble. * * @description * The stream implements the `WritableStream` interface. * * The input data format can ...
'use strict' import React, { Component } from 'react' import { connect } from 'react-redux' import toastr from 'toastr' import { TextAreaInputComponent, DropdownBorderComponent, DropdownBorderWidth, CheckBoxComponent, } from '../../components/common/input' import * as Actions from '../../store/actions/...
import * as assert from "assert"; const LOG_START_INDEX = "Program log: ".length; export class EventManager { constructor(programId, provider, coder) { this._programId = programId; this._provider = provider; this._eventParser = new EventParser(programId, coder); this._eventCallbacks ...
import React, { Component } from 'react' //import ReactMarkdown from "react-markdown"; import { TouchableOpacity, BackHandler, View, Text, Platform, } from 'react-native' import dismissableStackNavigator from 'src/helpers' import { createStackNavigator } from 'react-navigation' import Colors from 'src/statics...
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _createReactClass = require('create-react-class'); var _createReactClass2 = _interopRequireDefaul...
'use strict'; /* eslint-disable no-console */ const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const merge = require('webpack-merge'); const prettyjson = require('prettyjson'); const semverUtils = require('semver-utils'); const webpackVersion...
var images = { image1: "Greek background.jpg", image2: "http://eskipaper.com/images/girl-background-3.jpg", image3: "https://vsi.chem.tue.nl/images/logo-tue.png", image4: "http://hdwallpapersrocks.com/wp-content/uploads/2014/05/Girl-and-boy-friendship.jpg", image5: "http://thiswallpaper.com/cdn/hdwa...
import React from 'react' import { CContainer, CCol, CRow, } from '@coreui/react' import * as models from "../models/models" import Header from "../reusable/header" import EquitiesTable from 'src/reusable/EquitiesTable' import axios from 'axios'; import { userLogout, showAlert} from "../store"; import { co...
require('colors'); const fs = require('fs'); const config = require('config'); const { prompt } = require('enquirer'); const OASNormalize = require('oas-normalize'); const promptOpts = require('../lib/prompts'); const APIError = require('../lib/apiError'); const { cleanHeaders } = require('../lib/cleanHeaders'); const ...
import React, { useEffect, useRef, useState } from 'react'; import { Link } from 'react-router-dom'; import { BsFillPlayFill } from 'react-icons/bs'; import {RiPencilLine} from "react-icons/ri" import './styles.scss'; import { collection, query, where, getDocs, getDoc } from 'firebase/firestore'; import { useDispatch, ...
import * as React from 'react' import _ from 'lodash' import { observer } from 'mobx-react' import { Route } from 'react-router-dom' import { Card, Table, Divider, Header, Button, Grid } from 'semantic-ui-react' import { fieldDefinitions } from '../../../utils/fieldDefinitions' import { HelperPopup } from '../../../com...
import React, { PureComponent, Fragment } from 'react'; import { connect } from 'dva'; import { Row, Col, Card, Form, Select, Button, Modal, Table } from 'antd'; import StandardTable from '@/components/StandardTable'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import styles from './userManage.less...
const constants = require('../constants'); const SimplifiedMNList = require('./SimplifiedMNList'); const SimplifiedMNListDiff = require('./SimplifiedMNListDiff'); const Transaction = require('../transaction'); const { SMLSTORE_MAX_DIFFS } = constants; /** * @class SimplifiedMNListStore * @param {Array.<SimplifiedMN...
const EventEmitter = require('events'); const chalk = require('chalk'); const {Divinity} = require('./divinity'); const {Unit} = require('./unit'); class Polis { constructor(a, b) { this.reserveArmy_ = []; this.defendingArmy_ = []; this.attackingArmy_ = []; this.corn_ = 1000; this.go...
var express = require('express'); var nunjucks = require('nunjucks'); var path = require('path'); var screenshot = require('./utils/screenshot'); var database = require('./utils/database_utils'); var words = require('./data/words.json'); var app = express(); const config = require('./co...
import { createFromOptions, reset, copyProps } from './field'; /** Find field by field name */ const find = (state, name) => { const field = state.find((item) => item.name === name); if (!field) { throw new Error(`No field found with the name: '${name}'`); } return field; }; /** * Executes validate metho...
'use strict'; const transpiler = require('@babel/core'); const path = require('path'); const workerpool = require('workerpool'); const Promise = require('rsvp').Promise; const debugGenerator = require('heimdalljs-logger'); const JOBS = Number(process.env.JOBS) || require('os').cpus().length; const loggerName = 'broc...
function mv(speech) { theMovieDb.search.getMulti({ query: speech }, successCB, errorCB); function successCB(data) { $("#oscar").html(""); $(".output").html("From The Movie Database"); var obj = JSON.parse(data); var m; var movie = []; for (m = 0; m < obj.results.length; m++) { // cons...
// Função para icone do menu se tranformar no X function closedFunction(x) { x.classList.toggle("change"); } /* Quando o usuário clica no botão, alternar entre ocultar e mostrar o conteúdo suspenso */ function myFunction() { document.getElementById("myDropdown").classList.toggle("show"); } function notification...
const { exec } = require("child_process") const { readFileSync, writeFileSync, existsSync, readdirSync, mkdirSync, chmodSync } = require("fs") const { resolve, join } = require("path") const yml = require("yaml") const { Z_BLOCK } = require("zlib") const Package_Json = JSON.parse(readFileSync(resolve(__dirname, "..", "...
import React, { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import * as Yup from 'yup' import { Link, useHistory } from 'react-router-dom' import { CButton, CCard, CCardBody, CCardGroup, CCol, CContainer, CForm, CFormControl, CInputGroup, CInputGroupText, CRow...
import React, { Component } from 'react' import { Form } from 'react-bootstrap'; import * as ROUTES from '../../constants/routes'; import { withFirebase } from '../../BackEnd/Firebase'; import Image from 'react-bootstrap/Image' import InstrumentIcon from './instrumentIcon'; import JoinModal from './joinModal'; import J...
/** * This modules handles the view and user interaction of projects * */ import '../style/project.css'; const ui = (function() { let domBody = document.querySelector('.content'); let domProjectsBody; let PubSub; function gluePubSub(pubSub) { PubSub = pubSub; } function glueUiBody(body) { domBody = body...
'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]; } } }...
window.$ = window.jQuery = require("../lib/jquery"); var EventManager = require('../lib/event'), Anyproxy_wsUtil = require("../lib/anyproxy_wsUtil"), React = require("../lib/react"); var WsIndicator = require("./wsIndicator").init(React), RecordPanel = require("./recordPanel").init(React), Popup ...
// ********************************************************************* // // API Hub request, persist & respond error handling code // JavaScript code file: ah_rpr_err.js // // Copyright 2019 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
import JSZip from 'jszip'; /** * 前端图片处理一些工具方法,获取图片类型、获取图片文件数据,前端回显、按比例压缩图片、压缩图片到指定大小 * @example * import {compressImageToSize, getImageFileInfo} from 'path/to/image-utils'; * * handleChange = (e) => { * const images = [...this.state.images]; * if (!e.target.files) return; * Array.from(e.target.file...
/* Create and display specific graphic */ var GRAPH_REFRESH_TIME = 3000; if(Loader){Loader.toLoad("html/graph.html");} var GraphicAction = { panel:null, graph:null, init:function(){ this.panel = $('#addGraphPanel') $.extend(this,Panel) this.initPanel(this.panel,'Create graph') ...
import $ from 'jquery' import _ from 'lodash' import Events from '../../Events' import LanguageUtils from '../../utils/LanguageUtils' class UserFilter { constructor () { this.filteredUsers = [] // Includes only the users that are filtered by this.allUsers = [] // Includes all the users that have created anno...
const { strIsIn, findMatch } = require('@igor.dvlpr/str-is-in') const { CommonFormatter, multilineFormatter } = require('./formatters/commonFormatters') const cStyleFormatter = require('./formatters/cStyleFormatter') const doubleSlashFormatter = require('./formatters/doubleSlashFormatter') const jsxFormatter = require...
var assert = require('chai').assert; var expect = require('chai').expect; var should = require('chai').should(); var csv = require('../src/jquery.csv.js'); var fixtures = require('./fixtures/fixtures.js'); describe('core:', function () { describe('toArray', function () { it ('should be able to parse an en...
/** * @license * Copyright 2017-2021 Open Ag Data Alliance * * 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 ...
'use strict' // // This template for this file is heavily inspired by the 2019 TNM094 group; // @gunnarsdotter @Anondod @ylvaselling @SimonKallberg // When you see them, buy them a beer; they saved you about 2 weeks of work // const fs = require('fs'); const express = require('express'); const app = express(); const s...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const chai_1 = require("chai"); const KucoinClient_1 = require("../../src/exchanges/KucoinClient"); const TestRunner_1 = require("../TestRunner"); (0, TestRunner_1.testClient)({ clientFactory: () => new KucoinClient_1.KucoinClient(), c...
'use strict'; var yeoman = require('yeoman-generator'); var yosay = require('yosay'); var path = require('path'); var chalk = require('chalk'); var banner = require('./banner'); var request = require('request-promise'); var filterComponents = require('./lib/filter-components'); var updateNotifier = require('./lib/noti...
import React, { useState, useEffect, useContext, useCallback } from 'react' import { Link } from '@reach/router' import Button from './Button' import Gallery from './ImageGallery' import CommentForm from './CommentForm' import Context from '../modules/Context' import userStory from '../services/user_story' const atta...
'use strict'; const util = require('util'); const winston = require('winston'); const wjlf = require('winston-json-log-formatter'); const request = require('request-promise'); const jsdom = require('jsdom'); const ejs = require('ejs'); const moment = require('moment-timezone'); const AWS = require('aws-sdk'); const H...
const Web = require('.'); const cors = require('cors'); const compression = require('compression'); const defaultErrors = { apiNotFound: '404 API Endpoint Not Found', badRequest: '400 Bad Request', badAuth: '401 Unauthorized', needPay: '402 Payment Required', denied: '403 Forbidden', notFound: '404 Not Fou...
"use strict"; /* * Copyright 2019 NEM * * 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 agre...
#!/usr/bin/env node /** * Copyright 2019 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft 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 * * ...
const { DEFAULT_AND_MAX_CHARACTER_HEALTH, MELEE_FIGHTER, RANGED_FIGHTER } = require('./core') const S = require('sanctuary') const $ = require('sanctuary-def') // -- Internal Helpers -- const isClass = className => S.pipe([ S.prop('class'), S.equals(className) ]) const inList = list => item => S.pipe([ S...
var editTypes = { edit: 'Ändra', create : 'Skapa' }; var types = { 'note': 'notis', 'event': 'händelse', 'news': 'nyhet', 'user': 'användare', 'booking': 'bookning' }; function getType(type) { var quoted = "\""+type+"\""; return types[eval(quoted)]; } function getEditType(type) { var quoted...
// Configuration and Logging handlers const dotenv = require('dotenv').config(); const morgan = require('morgan'); const debug = require('debug')('server'); const socketDebug = require('debug')('socket'); // HTTP handlers const createError = require('http-errors'); const http = require('http'); const path = require('p...
import AjaxService from './ajax-service'; var $ajax = null; // make ajax available for WpObject & WpCollection export default class RestApiService { constructor($http, $q) { $ajax = new AjaxService($http, $q); this.$server = window.angularize_server; this.ready = (namespace = '/wp/v...
var config = { apiKey: "<KEY>", authDomain: "beer-me-863c9.firebaseapp.com", databaseURL: "https://beer-me-863c9.firebaseio.com", projectId: "beer-me-863c9", storageBucket: "beer-me-863c9.appspot.com", messagingSenderId: "71623818381" }; firebase.initializeApp(config); // Create a vari...
let $ = require('jquery') let env = require('./env') let util = require('./util') /** ~~ Log viewer frontend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ let logText = $('#log-text') let noLogsError = $('#no-logs-error') function highlightListEntry (id) { $('.shown-log').toggleClass('shown-log') $...
import { readFile } from 'fs'; import * as LRUMap from 'lru_map'; const CONTENT_CACHE = new LRUMap.default.LRUMap(100); class Util { constructor(options) { this.options = options; } getErrorType() { return { INFO: 'info', WARNING: 'warning', ERROR: 'error'...
"use strict"; var _react = _interopRequireDefault(require("react")); var _enzyme = require("enzyme"); var _ = _interopRequireDefault(require("..")); var _Sidebar = _interopRequireDefault(require("../../Sidebar")); var _Timeline = _interopRequireDefault(require("../../Timeline")); var _computedStyle = _interopRequ...
const mongoose = require('mongoose'); const express = require("express"); const path = require('path'); const Arweave = require('arweave'); const Community = require('community-js').default; mongoose.connect(process.env.MONGO_URL, {useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true}); const app = ex...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.receive = exports.run = exports.loadExecutor = exports.generateContext = void 0; const tslib_1 = require("tslib"); const cli_framework_1 = require("@ionic/cli-framework"); const node_1 = require("@ionic/cli-framework/utils/node"); cons...
import React, { Component, PropTypes } from 'react'; import { Alert, Button, Card, Divider, Form, Input, Row, Col, Upload, Icon, Select, DatePicker, message } from 'antd'; import { qualityProgramUploadService } from 'services'; import $ from 'lib/jquery-3.3.1'; import { getStore } from 'store/globalStore'; import { s...
// Copyright 2014 <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 writi...
var gameStarted = false; var turn = false; var horizontal = [true, true, true, true]; var lastShot = []; var countdown; ($(function () { Board.startBoard(); document.getElementsByTagName("html")[0].addEventListener('click', clearError, true); $("#turn").text(""); Load.stop(); Facebook.load(function () { ...
import {Warning} from '../utils/warn'; import {isEmpty, isNull} from '../utils/string'; import { getElements, hasAttribute, getAttribute, hasAccessibileText, hasTrack } from '../utils/dom'; const hasHeadingOnce = () => { const H1 = getElements('h1'); const hasMultiHeading = H1.length > 1; if (hasMultiHeadi...
///////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by Forge Partner Development // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that...
import { getMonthDates, getWeekdayDates } from './helpers'; import JDate from './jalalidate'; // Infer first day of week === 1 if not listed (dow) const locales = { // Arabic ar: { dow: 7, L: 'D/\u200FM/\u200FYYYY' }, // Bulgarian bg: { dow: 2, L: 'D.MM.YYYY' }, // Catalan ca: { dow: 2, L: 'DD/MM/YYYY' }, ...
/* Connect and periodically pull MercadoBitCoin.net API for Trades and Order book entries */ // Imports const winston = require('./loggerLib.js'); const fileSys = require('fs'); const CLR = require('cli-color'); const Yaml = require('js-yaml'); const Fetch = require('node-fetch'); // Pull in configuration options -...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _rcTrigger = require('rc-trigger'); var _rcTrigger2 = _interopRequireDefault(_rcTrigger); var _Panel = require('./Panel'); var _Panel2 = _interopRequireD...
import React, { useEffect } from 'react'; import Axios from 'axios'; import { useDispatch, useSelector } from 'react-redux'; import { saveMessage } from '../_actions/message_actions'; import Message from './Sections/Message'; import { List, Icon, Avatar } from 'antd'; import Card from "./Sections/Card"; import CheckStr...
import { Nuxt, Builder } from 'nuxt' import Bootstrap from '@panaceajs/core/src/utils/bootstrap' /** * Prepares a nuxt build for build and live reload scripts. * * @param params * Nuxt options (not Panacea's container options.) */ export default async function (params = {}) { await new Bootstrap().runStages([...
import get from 'simple-get'; /** * @typedef {Object} GitProgressEvent * @property {string} phase * @property {number} loaded * @property {number} total */ /** * @callback ProgressCallback * @param {GitProgressEvent} progress * @returns {void | Promise<void>} */ /** * @typedef {Object} GitHttpRequest * @p...
import normalizeColor from 'normalize-css-color'; import {FillType} from 'sketch-constants'; const lut = []; for (let i = 0; i < 256; i += 1) { lut[i] = (i < 16 ? '0' : '') + i.toString(16); } // http://stackoverflow.com/a/21963136 function e7() { const d0 = (Math.random() * 0xffffffff) | 0; const d1 = (Math.r...
'use strict'; const fs = require('fs'); const path = require('path'); const promisedHandlebars = require('promised-handlebars'); const HandlebarsAsync = promisedHandlebars(require('handlebars')); const Handlebars = require('handlebars'); const handlebarsWax = require('handlebars-wax'); const addressFormat = require('a...
/* ** VARIABLES */ //afficher l'icone de moficiation lorsque c'est possible var toogleModifs = 0; //variables nescessaire a la récuperation de la traduction existante avant modifications var dataLangs; //definis lor du mouseenter; var langSelected; //definis lor du radio-lang .change var pageName = $('body').attr('i...
let data; let planet = 0; const planets = { 0: { color: "hsl(194, 48%, 49%)", name: "Mercury", size: "111px", maxSize: "290px" }, 1: { color: "hsl(33, 82%, 61%)", name: "Venus", size: "154px", maxSize: "400px" }, 2: { color: "h...
$(function () { $('[data-toggle="popover"]').popover() }) function Incluir_Beneficiario(txtid) { let btnIncluirBenef = document.getElementById("btnIncluirBenef"); let txtcpf = document.getElementById("CPFBenef").value; let txtnome = document.getElementById("NomeBenef").value; let dataTable = ...
import React from "react"; import { WidthProvider, Responsive } from "react-grid-layout"; import Location from 'components/Location'; import Character from 'components/Character'; import Quest from 'components/Quest'; import Encounter from 'components/Encounter'; import Search from 'components/Search'; import PlayerSta...
import React, { useContext, useState } from 'react' import styled, { useTheme, th, up, css, x, ThemeProvider, defaultTheme, } from '@xstyled/styled-components' import Editor from 'react-simple-code-editor' import { LiveProvider, LiveError, LivePreview, LiveContext } from 'react-live' import { mdx } from '...
/* Copyright (C) 2011 <NAME> <<EMAIL>> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following discl...
function createSaver({ targetID = undefined, data = [], type = "json", filename = "save.json" }={}) { let file, url, reader = new FileReader; let jsonToSave = {type:type, data:app.store.projects}//TODO closure issue, shoud not be here function createJSONFile(json) { let e = void 0; try { JSO...
'use strict' module.exports = match var bcp47Match = require('bcp-47-match') var commaSeparated = require('comma-separated-tokens') var has = require('hast-util-has-property') var is = require('hast-util-is-element') var whitespace = require('hast-util-whitespace') var not = require('not') var zwitch = require('zwitc...
'use strict'; var invariant = require('../../vendor/invariant'); var makeService = require('../make_service'); /** * @class MapboxMatching */ var MapboxMatching = makeService('MapboxMatching'); var API_MATCHING = '/matching/v5/{account}/{profile}/{coordinates}.json{?access_token,geometries,radiuses,steps,overview,...
var db = firebase.firestore(); var auth = firebase.auth(); var name; var days=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; var idOfUser; var email; firebase.auth().onAuthStateChanged(function(user) { if (user) { name=auth.currentUser.displayName; var img2 = document.getElementById...
const createUsersTable = () => { const text = `CREATE TABLE IF NOT EXISTS users( id SERIAL PRIMARY KEY, firstname VARCHAR(128) NOT NULL, lastname VARCHAR(128) NOT NULL, othername VARCHAR(128), email VARCHAR(128) UNIQUE NOT NULL, phoneNu...
import React, { useEffect, useState } from 'react'; import { Connection, PublicKey, clusterApiUrl } from '@solana/web3.js'; import { Program, Provider, web3 } from '@project-serum/anchor'; import twitterLogo from './assets/twitter-logo.svg'; import './App.css'; import idl from './idl.json'; import kp from './keypair.js...
import * as THREE from 'three'; import '/css/main.css'; import { createCamera, createRenderer } from '/js/basicComponents'; import { createOrbitControls } from '/js/sceneControls'; import { createLights } from '/js/lights'; import { createMeshes, createGridHelp } from '/js/objects'; import Stats from 'stats.js'; import...
/* * Copyright 2019 EPAM Systems * * 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 ...
var Prefix = "__Encode"; function Form_Load( ) { DGN_Design.InitMode( true, 800, 600 ); var dgn_code = Form.DialogParamGet("dgn_code"); var dgn_name = Form.DialogParamGet("dgn_name"); var hash_code = Form.DialogParamGet("hash_code"); Form.SetViewData("dgn_code", dgn_code); Form.SetViewDat...
import contains from 'dom-helpers/contains'; import PropTypes from 'prop-types'; import React, { cloneElement, useCallback, useRef, useState } from 'react'; import useTimeout from '@restart/hooks/useTimeout'; import ReactDOM from 'react-dom'; import warning from 'warning'; import Overlay from './Overlay'; class RefHol...
// (c) 2014 <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 writing, so...
//make react comps // const handleDomo = e => { // e.preventDefault(); // $("#domoMessage").animate({ width: "hide" }, 350); // if ( // $("#domoName").val() == "" || // $("#domoAge").val() == "" || // $("#domoSkill").val() == "" // ) { // handleError("RAWR! All fields are required"); // re...
//Width and height var marginFigure2 = {top: 0, right: 20, bottom: 50, left: 100}, widthFigure2 = 700 - marginFigure2.left - marginFigure2.right, paddingFigure2=30, paddingxFigure2=5, heightFigure2 = 250 - marginFigure2.top - marginFigure2.bottom; var xFigure2 = d3.scale...
'use strict'; var path = require('path'); var grunt = require('grunt'); /** * Gets the index.html file from the code coverage folder. * * @param {!string} folder The path to the code coverage folder. * @returns {string} The path to the index.html file */ function getCoverageReport (folder) { var reports = gr...
var React = require('react'); var util = require('utils/util'); var api = require('utils/api'); import {IconButton} from 'material-ui'; import PropTypes from 'prop-types'; import CSSTransitionGroup from 'react-transition-group/CSSTransitionGroup' // ES6 var AppConstants = require('constants/AppConstants'); export defa...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import Button from 'Components/buttons/button'; import Heading from 'Components/text/heading'; import Loader from 'Components/loader'; import Markdown from 'Components/text/markdown'; import NotF...
import React from "react" import { Link } from "gatsby" import { navigate } from "gatsby" import { AwesomeButton } from "react-awesome-button" import Fade from "react-reveal/Fade" import Layout from "../components/layout" import Seo from "../components/seo" import "../styles/bgPattern.css" import Confetti from "react-d...
import { VtlParser, VtlVisitor } from '../../../antlr-tools'; import { CastTypeError, OperatorTypeError } from '../../errors'; import { getDate, getStringFromDate } from '../../utils/dates'; class CastVisitor extends VtlVisitor { constructor(exprVisitor) { super(); this.exprVisitor = exprVisitor; } visitCastEx...
// 1. Character Frequency. /** * Calculates the character frequencies in a string. Whitespace and * punctuation is ignored. Non-english characters are not counted. * Case is ignored ('A' and 'a' both count toward the same character). * * @param {string} sentence The string whose characters will be counted * @re...
'use strict' /** * ***************************************************************** * * STORE CONSTRUCTORE * ******************************************************************/ function Store(n, mHC, mxHC, cC) { //contructor to create Store Object this.name = n; this.minHourlyCust = mHC; ...
import store from '@/store' import axios from 'axios' import { Message } from 'element-ui-eoi' import util from '@/libs/util' import router from '@/router' import { isPlainObject, get, has } from 'lodash' import { blobToString, hasOwnProperty } from '@/libs/util.common' import { INVALID_SESSION } from '@/plugin/auth' ...
if(!AgoraRTC.checkSystemRequirements()) { alert("Your browser does not support WebRTC!"); } /* select Log type */ // AgoraRTC.Logger.setLogLevel(AgoraRTC.Logger.NONE); // AgoraRTC.Logger.setLogLevel(AgoraRTC.Logger.ERROR); // AgoraRTC.Logger.setLogLevel(AgoraRTC.Logger.WARNING); // AgoraRTC.Logger.setLogLevel(Agora...
import { URL_META } from "@jsenv/url-meta" import { urlToFileSystemPath, resolveDirectoryUrl } from "@jsenv/urls" import { ensureEmptyDirectory, assertAndNormalizeDirectoryUrl, } from "@jsenv/filesystem" import { createLogger, createDetailedMessage } from "@jsenv/log" import { generateCoverageJsonFile } from "@jse...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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(_...
import THREE from 'three' import BaseHelper from "./BaseHelper" import {GizmoMaterial} from "./GizmoMaterial" class LabelHelper extends BaseHelper { constructor( options ) { const DEFAULTS = { text: "", color:"rgba(0, 0, 0, 1)", bgColor: "rgba(255, 255, 255, 1)", background: true, ...
'use strict'; import { L10nError } from '../../../lib/errors'; const KNOWN_MACROS = ['plural']; const MAX_PLACEABLE_LENGTH = 2500; // Matches characters outside of the Latin-1 character set const nonLatin1 = /[^\x01-\xFF]/; // Unicode bidi isolation characters const FSI = '\u2068'; const PDI = '\u2069'; const reso...
const isEqual = require('lodash.isequal'); const Logger = require('../Logger'); const { getEmploymentFromJourneyData, clearEmploymentJourneyData } = require('./employmentDataUtils'); const { getInsuranceFromJourneyData, clearInsuranceJourneyData } = require('./insuranceDataUtils'); const { getPensionFromJourneyData, c...
import React from 'react' import './viewMenu.css' import { CCard, CCardHeader, CCardBody, CTable, CTableHead, CTableRow, CTableHeaderCell, CTableDataCell, CTableBody, CContainer, } from '@coreui/react' import { useEffect, useState } from 'react' import { DocsLink } from 'src/components' import { App...
/* * WHMCS Stripe SEPA Javascript * * @copyright Copyright (c) WHMCS Limited 2005-2019 * @license https://www.whmcs.com/license/ WHMCS Eula */ function initStripeSEPA() { var paymentForm = jQuery('#frmPayment'); if (paymentForm.length) { jQuery('#inputBankAcctType').closest('div.form-group').slide...