text
stringlengths
3.07k
16k
var PersistentError = require('../error/PersistentError'); /** * @class baqend.connector.Connector * * @param {String} host * @param {number} port * @param {boolean} secure */ var Connector = Object.inherit(/** @lends baqend.connector.Connector.prototype */{ /** @lends baqend.connector.Connector */ extend: {...
"use strict"; var fs = require("fs"); var os = require("os"); var path = require("path"); var isLib = require("./isLib"); var parseURL = require("../basic/parseURL"); var userAgent = "Efront/1.0"; var memery = require("./memery"); var mainLoaderPromise = new Promise(function (ok, oh) { fs.readFile(path.join(__dirna...
// core import React, { Component } from 'react' import { connect } from 'react-redux' import PropTypes from 'prop-types' import { withRouter } from 'react-router-dom' import { withStyles } from '@material-ui/core/styles' import { injectIntl } from 'react-intl' // components import Grid from '@material-ui/core/Grid' i...
const async = require('async'); const AWS = require('aws-sdk'); //const through2 = require('through2'); /* config = { path: '/test' <- path to listen to for pushing items to s3 getS3Id: function(req, callback) <- return the correct s3 id for this file } */ module.exports = funct...
function theme_menu(parent) { var styles = [ two.style_minimal, two.style_vector, two.style_imgui_dark, two.style_blendish_light, two.style_blendish_dark ]; var names = [ 'Minimal', 'Vector', 'Imgui (Dark)', 'Blendish (Light)', 'Blendish (Dark)' ]; var menu = two.ui.menu(parent, 'Theme').body; if(menu...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const readLines_1 = __importDefault(require("../readLines")); const path_1 = __importDefault(require("pa...
/* eslint-disable no-unused-vars */ import { curry, filter, flatten, identity, isEmpty, map, mapValues, merge, negate, pipe, pickBy, uniq } from 'lodash/fp'; /** Types of error that can be generated by this validator */ export const errorTypes = { CONFLICT_NAME: 'NAME_CONFLICT', UNDEFINED_...
const isSite = window.location.href.indexOf('draggable.github.io') !== -1 const container = document.querySelector('.build-form') const renderContainer = document.querySelector('.render-form') const external = { user: { isAuthenticated: true, userName: 'Kevin', }, } const formeoOpts = { editorContainer: '...
const graphics = require("graphics"); /** * SSD1351 class */ class SSD1351 { /** * Setup SSD1351 for SPI connection * @param {SPI} spi * @param {Object} options * .width {number=128} * .height {number=128} * .dc {number=-1} * .rst {number=-1} * .cs {number=-1} * .rotation {nu...
/** * global services/endpoint configurations */ var domain = "svc.cluster.local"; var getHost = function(env, service) { if(service == "riox-ui-frontend") { var uiFrontends = { "production": "platform.riox.io", "staging": "demo.riox.io", "test": "gateway.test." + domain, "development": "gateway....
import React, { useEffect, useState } from "react"; import { connect } from "react-redux"; import { create, read, update, destroy } from "../../reducer/incidents"; import Table from "react-bootstrap/Table"; import Spinner from "react-bootstrap/Spinner"; import Button from "react-bootstrap/Button"; import OverlayTrigger...
const redisUtil = require('./utils/redis-util'); function random() { let arr = (new Array(6)).fill(1); arr = arr.map(() => ~~(Math.random() * 10)); return arr.join(''); } function init() { const data = [ { isManager: true, nickname: '姑获鸟', password: '' }, { isManager: true, nickname: '...
// Phantombuster configuration { "phantombuster command: nodejs" "phantombuster package: 5" "phantombuster dependencies: lib-StoreUtilities.js, lib-LinkedIn-DEV.js" const Buster = require("phantombuster") const buster = new Buster() const Nick = require("nickjs") const nick = new Nick({ loadImages: true, printPageE...
function createEditorHTML() { var editor = new Vue({ el: '#editor', data: { examples: [ { name: "<NAME>", id:0, innerWallDefinition: {x:"i*2.5", y:"(((i%10)<8&&(i%10)>=2)&& ((h%10)>=2&&(h%10)<8))?2:22",z:"h*2.5" ...
import React, {useState, useRef} from "react"; import { makeStyles } from "@material-ui/core/styles"; import GridItem from "../../components/Grid/GridItem"; import GridContainer from "../../components/Grid/GridContainer"; import Card from "../../components/Card/Card"; import CardBody from "../../components/Card/CardBod...
'use strict'; var gulp = require('gulp'); var es = require("event-stream"); var $ = require('gulp-load-plugins')({ pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del'] }); // TODO require gulp plugins normally instead of using gulp-load-plugins - makes the code easier to understand var connect = re...
$(function () { _getItems(); //1.初始化Table var oTable = new TableInit(); oTable.Init(); //2.初始化Button的点击事件 var oButtonInit = new ButtonInit(); oButtonInit.Init(); $("#logout").click(function () { window.location.href = "/Login/Logout"; }); $("#btn_delete").click(functi...
import { AnimationMixer, MeshNormalMaterial, WebGLRenderer } from "../../build/three.module.js" import { openDialog, closeDialog, UIDiv, UIRow, UIInteger, UIText, UIButton, UISelect } from "./libs/ui.js" const MeshTypes = { Bone: 'Bone', SkinnedMesh: 'SkinnedMesh', Group: 'Group' } const createConfig = (ed...
/** * File Appender, supporting rolling of log files * appenders only need to implement one method: write(String|Buffer) */ "use strict"; var fs = require('fs'); var WritableStream = require('stream').Writable; var util = require('util'); var path = require('path'); var dateutil = require('./dateutil.js'); //var D...
import React from "react" import { Typography, Container } from "@material-ui/core" import { Link } from "gatsby-theme-material-ui" import { withStyles } from "@material-ui/styles" // Internal Components import Layout from "../components/layout" import Split from "../components/split" import ImageContainer from "../co...
/****************************************************************************/ /* Copyright 2017 <NAME> */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may...
import React, { Component } from 'react' import Icon from '@/common/customIcon/customIcon' import ForumProblemPageReply from '../forumProblemPageReply/forumProblemPageReply' import { Modal, Radio, Row, Col, message } from 'antd' import { withRouter, Link } from 'react-router-dom' import { connect } from 'react-redux' ...
const AWS = require('aws-sdk'); const lambda = new AWS.Lambda(); const Alexa = require('ask-sdk-core'); const CommonUtil = require('./CommonUtil.js'); const util = new CommonUtil(); const Constant = require('./Constant'); const c = new Constant(); const uuid = require('node-uuid'); class Logic { ...
var searchedTerms = []; var searchBtn = document.querySelector(".search-btn"); var clearResultsBtn = document.querySelector(".clear-results-btn"); var key = "ce8ded9363f8838690bb46ae0314a5c5"; var checkStorage = function () { if (!window.localStorage.getItem("searches")) { window.localStorage.setItem("searches",...
String.prototype.hashCode = function(){ if (Array.prototype.reduce){ return this.split("").reduce(function(a,b){a=((a<<5)-a)+b.charCodeAt(0);return a&a},0); } var hash = 0; if (this.length === 0) return hash; for (var i = 0; i < this.length; i++) { var character = thi...
import React from 'react'; import Header from "./Header"; import { Col, Row, Card, Image, Container, Form, Button, } from "react-bootstrap"; import { BrowserRouter as Router, Link } from "react-router-dom"; import '../assets/stylesheets/general.css' import menuData from "../data/menuData"; const server = { name:...
const dependencies = [ require('../urlParser/urlParser').default.name, require('./Cinder').default.name, require('./BaseOpenstack').default.name, require('./ServerModel').default.name ]; export default angular.module('boss.openstackService.Nova', dependencies) .value('SHOW_DISK_SIZE_IN_FLAVOR', true) .fact...
const Discord = require('discord.js'); const client = new Discord.Client(); var auth = require('./auth.json'); var config = require('./config.json'); var Queue = require('./queue.js'); // Messages ---------------------------------------------------------- var errorMsg = `That is not a valid command. Type !help for he...
import i18next from 'i18next'; import i18nextXHRBackend from 'i18next-xhr-backend'; import i18nextLocalStorageCache from 'i18next-localstorage-cache'; import smoothscroll from 'smoothscroll-polyfill'; import pgnBase from "./pgnvjs"; import './css/chessground.css'; import './css/theme.css'; import './css/pgnvjs.css'; ...
/** * Created by <NAME> on 10/01/2019. * Copyright © 2019 Spotify AB. 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....
var ref = require("prosemirror-model"); var Slice = ref.Slice; var ref$1 = require("./step"); var Step = ref$1.Step; var StepResult = ref$1.StepResult; var ref$2 = require("./map"); var StepMap = ref$2.StepMap; // ::- Replace a part of the document with a slice of new content. var ReplaceStep = (function (Step) { f...
/* https://github.com/react-native-community/react-native-modal https://github.com/arronhunt/react-native-emoji-selector */ import React, {PureComponent, Component} from 'react'; import { StyleSheet, View, Text, ActivityIndicator, TextInput, ScrollView, SafeAreaView, } from 'react-native'; import {observe...
/* * Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. */ // This function is run when the app is ready to start interacting with the host application // It ensures the DOM is ready before adding click handlers to buttons Office.initialize = func...
var CELL_SHOULD_CONTROL_AIR_CON = 'A2'; var CELL_LAST_SHOULD_CONTROL = 'A3'; var CELL_ON_REQUEST = 'B2'; var CELL_LAST_ON_REQUEST = 'B3'; var CELL_ON_TRIGGER = 'B4'; var CELL_ON_COMMAND = 'C2'; var CELL_OFF_REQUEST = 'D2'; var CELL_LAST_OFF_REQUES ...
import React from "react"; import {Link} from "react-router-dom"; import { searchUser, deleteUser } from "../../API"; import OptionsBar from "./optionsBar"; import { Modal, Button } from "react-bootstrap"; class Users extends React.Component { constructor() { super(); const users = []; this.state = { ...
const { FRONT_END, STRIPE_WEBHOOK_SECRET } = require("../configs/environments"); const { firestore, increment, arrayUnion, timestamp, } = require("../configs/firebase"); const stripe = require("../configs/stripe"); const { createOrGetCustomer } = require("../utils/stripeUtilityFunctions"); const { validateUser ...
// helper functions defined in helpers.js var data = generateData(10); var columns = getColumns(data); describe("sensei-grid api", function () { var grid; var $el = $('<div class="sensei-grid">'); // create dom element before each test beforeEach(function () { // suppress console.log stateme...
import * as React from 'react'; import Tooltip from 'react-tooltip-lite'; import { withAlert } from 'react-alert'; import debounce from 'debounce'; import GraphUtils from '../../../../utilities/graph-util'; import { getErrorMessage } from '../common'; class SaveButton extends React.Component { constructor(props) { ...
// if saturn isn't installed if (typeof web3 == 'undefined') { displayError( ` <span>To Use, Install an <a target="_blank" href="https://www.youtube.com/watch?v=TUD-w5P_uAA&feature=youtu.be">ETC Wallet</a></span> ` ) } else { getCropInfo() getRainMakerInfo() setInterval(func...
import { ValidationGroup } from "../../widgets/form/ValidationGroup"; import { VDOM } from "../../ui/Widget"; import { ddMouseDown, ddMouseUp, ddDetect, isDragHandleEvent } from "../drag-drop/ops"; import { isTouchEvent } from "../../util/isTouchEvent"; import { preventFocusOnTouch } from "../../ui/FocusManager"; impor...
import React, { useState, useEffect, useContext } from "react" import clsx from "clsx" import { UserContext, FeedbackContext } from "../../../contexts" import { setSnackbar } from "../../../contexts/actions" import Rating from "../../ui/Rating" import Swatches from "../../product-list/Swatches" import Sizes from "../...
/* * Copyright 2018 ABSA Group Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
import React, { useState, useEffect } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import CssBaseline from '@material-ui/core/CssBaseline'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; impor...
import React from 'react' import { Link } from 'gatsby' import styled from 'styled-components' const PostsWrap = styled.div` margin: -16px; display: flex; flex-wrap: wrap; @media (max-width: 599px) { margin: -12px; } ` const Post = styled.div` padding: 16px; display: flex; width: ${props => (props....
import request from './request'; import qs from 'qs'; import * as commons from './commonUtil'; import {formatDate} from './formatUtils'; import {Tool} from './tools'; export function requestWithToken(url,param,userIdKey,headerLimit) { let userObj = {}; if(process.env.NODE_ENV !== 'production') { userObj = { ...
"use strict"; /** * Copyright (c) 2020, Microsoft Corporation (MIT License). */ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise)...
// test for circle-line intersection const canvasSketch = require('canvas-sketch'); const penplot = require('./utils/penplot'); const utils = require('./utils/random'); const poly = require('./utils/poly'); let svgFile = new penplot.SvgFile(); const settings = { dimensions: 'A3', orientation: 'portrait', pixel...
const u = up.util const e = up.element up.MotionController = class MotionController { constructor(name) { this.activeClass = `up-${name}` this.dataKey = `up-${name}-finished` this.selector = `.${this.activeClass}` this.finishEvent = `up:${name}:finish` this.finishCount = 0 this.clusterCount ...
/** * 숫자, 단위 */ import regexp from './regexp'; // 숫자 랜덤값 export const numberRandom = (max=1, min=0) => { if(min >= max) { return max; } return Math.floor(Math.random() * (max - min) + min); } // 단위 분리 export const numberUnit = (value) => { // [1]: 숫자값 // [2]: 단위 return /^([0-9]+)(\D+)$/i.exec(value); } //...
"use strict"; /* * Copyright (C) 2017-2020 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MapViewFog = void 0; const harp_materials_1 = require("@here/harp-materials"); const ha...
const express = require('express') const http = require('http') const path = require('path') const wsio = require('socket.io') const logger = require('log-js')() const utils = require('./lib/utils') var app = express() var server = http.Server(app) var wsServer = wsio(server) wsServer.clients = {} app.use(require('...
import React, {Component} from 'react'; import {connect} from 'dva'; import PropTypes from 'prop-types'; import styles from './PlanSearch.less' import {Select, Button, Icon, DatePicker, Input} from 'antd'; const {RangePicker} = DatePicker; const defaultState = { stateValue: '', stationValue: '', likeValue: '',...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
import Main from '@/views-core/main.vue'; // 不作为Main组件的子页面展示的页面单独写,如下 export const loginRouter = { path: '/login', name: 'login', meta: { title: {i18n: 'title.login'} }, component: resolve => { require(['@/views-core/login/login.vue'], resolve); } }; export const page404 = { path: '/*'...
import React, { createRef, forwardRef } from 'react' import styled from 'styled-components' import ImgBlur from './QueryImgBlur' import ScrollMagic from 'scrollmagic' import 'imports-loader?define=>false!scrollmagic/scrollmagic/minified/plugins/animation.gsap.min' import 'imports-loader?define=>false!scrollmagic/scroll...
const Line = require('./contrib/line'); const util = require('util'); const times = require('lodash.times'); const constant = require('lodash.constant'); const mapValues = require('lodash.mapvalues'); const forEach = require('lodash.foreach'); const map = require('lodash.map'); const chalk = require('chalk'); let ren...
var piano = new Wad({ source : 'square', env : { attack : .01, decay : .005, sustain : .2, hold : .015, release : .3 }, filter : { type : 'lowpass', frequency : 1200, q : 8.5, env : { attack : .2, f...
const slice = [].slice const hasProp = {}.hasOwnProperty const Liquid = require('../liquid') module.exports = Liquid.Template = (function () { function Template () { this.registers = {} this.assigns = {} this.instanceAssigns = {} this.tags = {} this.errors = [] this.rethrowErrors = true } ...
'use strict'; import moment from 'moment/src/moment.js'; import $ from 'jquery'; import _ from 'lodash'; import * as Util from '/util.js'; import * as Common from '/common.js'; import * as d3 from 'd3'; // Given a node in a partition layout, return an array of all of its ancestor // nodes, highest first, but excludin...
var _bonescript = {}; _bonescript.modules = {}; _bonescript._callbacks = {}; _bonescript._seqnum = 0; _bonescript.on = {}; _bonescript.on.connect = function () {}; _bonescript.on.connecting = function () {}; _bonescript.on.disconnect = function () {}; _bonescript.on.connect_failed = function () {}; _bonescript.on.error...
//Adress the HTML element the timeline is to be inserted in let container = document.getElementById('timeline-container'); //Create and add the elements let items = new vis.DataSet([ {id: 1, className: 'container black', content: createItemContent(1, '<NAME>', '15 September 1949 -',' 16 October 1963', ['cdu', 'fdp...
import React, { useState, useEffect, isValidElement, cloneElement } from 'react'; import PropTypes from 'prop-types'; import { Grid, makeStyles } from '@material-ui/core'; import { FormInput } from 'react-admin'; import { TextInput, Labeled, // Edit as BaseEdit, // S...
import React from "react"; import PropTypes from "prop-types"; import styled from "styled-components"; import ModeCommentIcon from "@material-ui/icons/ModeComment"; import KeyboardArrowUpIcon from "@material-ui/icons/KeyboardArrowUp"; import KeyboardArrowDownIcon from "@material-ui/icons/KeyboardArrowDown"; import Ed...
import React from 'react'; import { withTracker } from 'meteor/react-meteor-data'; import _ from 'lodash' import { Button, Icon, Empty, Select, Tabs } from 'antd'; import { Bar } from 'react-chartjs-2'; import { TwitterPicker } from 'react-color'; import { Resizable, ResizableBox } from 'react-resizable'; import 'r...
import React, {useState} from 'react'; import { Dimensions, FlatList, PermissionsAndroid, StyleSheet, View, Platform, } from 'react-native'; import {useTranslation} from 'react-i18next'; import ImagePicker from 'react-native-image-crop-picker'; import {faCamera, faFlask, faFolder} from '@fortawesome/free-solid-sv...
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import Filter from './brand/Filter' import Table from '../components/commons/Table' import { Link } from 'react-router' // import Constants import * as Const from '../constants/Constants'; import { USER_AUTHORITY_ADMIN, USER_AU...
process.env.DRSS = true const Discord = require('discord.js') const listeners = require('../util/listeners.js') const initialize = require('../util/initialization.js') const config = require('../config.js') const ScheduleManager = require('./ScheduleManager.js') const storage = require('../util/storage.js') const log =...
$(document).ready(function () { initQty(); initClearCart(); initCountTotal(); initDeleteItem(); initCheckout(); initCheckSuccess(); initOverflowCheck(); function initCountTotal() { if ($('.product_quantity').length) { var qtys = $('.cart_item'); var cart_total = $('.cart_extra_total_value') var ...
"use strict"; var _reactTransformHmr2 = require("react-transform-hmr"); var _reactTransformHmr3 = _interopRequireDefault(_reactTransformHmr2); var _react = require("react"); Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = (function () { function defineProperties(target, props) {...
/* * Copyright (C) 2011 Samsung Electronics Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list o...
var child_process = require('child_process'); var tempDirectory = require('./options').tempDirectory; var fs = require('fs'); var logDate = function() { return ' [' + new Date() + ']'; }; /** * Proceeding 5 stages: * 1) Creating 'tmp' directory if such doesn't exist; * 2) Creating repository project directory if...
/* vim:set ts=2 sw=2 sts=2 et: */ /* ***** BEGIN LICENSE BLOCK ***** * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ * * Contributor(s): * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * ***** END LICENSE BLOCK ***** */ // Tests that network...
//Global variables var destinations = {} var targets = {} var links = [] var timer // List of domains this extension should be disabled on var ignoredDomains = [ /docs\.google\.com/ ] // Resets the timer and causes populateDestinations() to be called after a delay function resetDestinations(){ destinations = {} if...
import React, { useEffect } from "react"; import { withRouter } from 'react-router'; import { Redirect } from 'react-router'; import ReactDOM from "react-dom"; import { Formik, Form, useField, useFormikContext } from "formik"; import * as Yup from "yup"; import styled from "@emotion/styled"; import "./styles.css"; impo...
const MockERC20 = artifacts.require('MockERC20') const MockRecurringPaymentTerms = artifacts.require('MockRecurringPaymentTerms') const StandardSubscription = artifacts.require('StandardSubscription') const AuthorizedTokenTransferer = artifacts.require('AuthorizedTokenTransferer') const assert = require('assert') func...
$(document).ready(function(){ load(1); //alert("se cargo el documento"); }); function load(page){ var q = $("#q").val(); var inicio = $("#datepicker4").val(); var fin = $("#datepicker5").val(); var estatus = $("#estatus").val(); $("#loader").fadeIn('slow'); $.ajax({ ur...
/** * Astroid SDK Solution * * Copyright (c) 2014 .decimal, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to u...
const poupopButton = document.querySelector(".poupopButton"); const backgroundBlur = document.querySelector(".bg-transparent"); const poupopInput = document.querySelector(".input"); //Arr onde será armazenado o histórico let cupsHistory = []; poupopButton.addEventListener("click", function meta() { //Validando entr...
import alt from 'alt'; import game from 'natives'; const player = alt.Player.local const PizzaJob = { keyDownE: undefined, storage_blip: undefined, storage_marker: undefined, active: false, blips: [], colshapes: [], markers: [] }; alt.onServer('create.pizza.storagemarker', (type) => { if (type === false) ...
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]; } r...
const path = require('path') const xlsx = require('node-xlsx'); const fs = require('fs'); const Common = require('./utils/utils') const { info } = require('./utils/log'); const LOCALE_FILE = 'source file.xlsx' const sheets = xlsx.parse(`./${LOCALE_FILE}`); //^[\u2E80-\u9FFF]+$ 匹配所有东亚区的语言 //^[\u4E00-\u9FFF]+$ 匹配简体和繁体...
import React from 'react'; import PropTypes from 'prop-types'; import { TextInput, ScrollView, View, Button, StyleSheet, Text } from 'react-native'; import { v4 as uuid } from 'uuid'; import { translate } from '../services/translationsService'; import SettingsService from '../services/settingsService'; import { Setti...
import path from 'path'; import {dest} from 'gulp'; import cond from 'gulp-if'; import gzip from 'gulp-gzip'; import rename from 'gulp-rename'; import terser from 'gulp-terser'; import {rollup} from 'rollup'; import through from 'through2'; import Vinyl from 'vinyl'; import errorHandler from '@hidoo/gulp-util-error-han...
import React from "react" import styled from "styled-components" import { gsap, ScrollTrigger } from "gsap/all" gsap.registerPlugin(ScrollTrigger) gsap.core.globals("ScrollTrigger", ScrollTrigger) const Section__contact_container = styled.section` // position: fixed; // top: 80px; // right: 0; // wid...
import React, { Component } from 'react' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import Button from '@material-ui/core/Button' import IntegrationAutosuggest from './OpinionSelectorAutoSuggest' import CategoryRadioButtons from './opinionSelectorCategory' import Card from './ca...
/* * This file will control the general operations of the application. */ /* Adding functionalit for the patients page. * *************************************************** */ $(function () { var base_url = "http://localhost/hosp/"; var site_url = "http://localhost/hosp/index.php/"; $('.toggle-b...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _asyncToGenerator = _interopRequireDefault(require('async-to-generator')); let getRealPath = (() => { var _ref = (0, _asyncToGenerator.default)(function* (entityPath, isFile) { let stat; try { stat = yield (_fsPromise ...
import Vue from 'vue' import Router from 'vue-router' import Home from '@/components/framework7/Home' import Accordion from '@/components/framework7/Accordion' import ActionSheet from '@/components/framework7/ActionSheet' import Appbar from '@/components/framework7/Appbar' import Badge from '@/components/framework7/Ba...
// const { Conflux } = require('js-conflux-sdk'); const crosschain = require('conflux-crosschain'); const ethers = require('ethers'); const ADDRESS_CPIUSD = '0x8a1cacfc644a88d371517262d030b06bb43a3a2d'; // on conflux const ADDRESS_CPIUSDV2 = '0x8961A4a15DBE65e742097CCcB87c1863e22e07EC'; // on conflux const ADDRESS_CA...
var pg = require('pg'); var passphrase = "<PASSWORD>"; const crypto = require("crypto"); // todo: Read connection string from uncommited file var connectionString = "postgres://fvtjauwobkigbf:8reHZ_30Uj-6js4s1nY66ktN0l@ec2-54-247-170-228.eu-west-1.compute.amazonaws.com:5432/d6t3vp05h61n8r?ssl=true&sslfactory=org.postg...
/*! * IOTA Fountain * Copyright(c) 2018 <NAME> * MIT Licensed */ import UserDataIndexConverter from './UserDataIndexConverter' window.world = null // FIXME: liquidfun.js:b2Body.prototype.CreateFixtureFromDef breaks if world is not defined globally let world = null let fountainWaterParticleSystem = null const tim...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
var global = {}; var gcnt =0; var req; function printc( str ){ if( typeof str === "object" ) str = JSON.stringify( str ); print( "<!--"+str+"-->"); } global.templates = {}; function loadtemplate( name, returnobject ){ var mtime = ftime( name ); //log( "ftime for " + name + " = " + mtime ); var fnct; var ...
#!/usr/bin/env node "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function ...
"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...
/*global $ _*/ var number = '(844) 293-0481'; var admin = false; var magic = '85238'; $(function() { consolify($('#adminconsole')); }); function consolify(el){ var h = [ '<pre id="terminaloutput"></pre>', '<div class="input-group">', '<input type="text" id="terminalinput" class="form-contr...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.combine = undefined; var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototy...
/* global MESSAGE,_ */ // const validate = require('validate.js'); const formidable = require('formidable'); const mongoose = require('mongoose'); const path = require('path'); const fs = require('fs'); const { ROUTE_GENERATE_TYPE } = require('../../models/constants/project'); const { getApplicationDetail } = require('...
import { Projectron } from '../src' var $ = s => document.getElementById(s) /* * * * init projectron * * */ // allow internal comparison texture size to be specified in query var size = 256 var s = parseInt(new URLSearchParams(location.search).get('size')) if (s > 8) size = s var canvas = $('view'...
import React, { useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { useMutation } from '@apollo/client'; import { Image } from 'cloudinary-react'; import { UPLOAD_IMAGE, ADD_USER_IMAGE, ADD_PROPERTY_IMAGE } from '../apollo-client/mutations' // bring in redux action import { EDI...