text
stringlengths
5.97k
41.2k
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FontCatalog = void 0; /* * Copyright (C) 2017-2020 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ const THREE = require("three"); const UnicodeUtils_1 = require("....
/* Copyright (c) <NAME> 2014-2015 @Catns */ var controllers = { main : function($rootScope, $scope, AJAX, $route, $modal){ $scope.user = $rootScope.user; $scope.current = {}; $scope.ads = []; $scope.profiles = []; $scope.loaded = 10; $scope.is_loading = false; $scope.tags = $rootScope.config.tags; ...
import * as BABYLON from 'babylonjs'; import * as Ammo from 'ammojs'; //import * as CANNON from 'cannon'; class VehicleData { constructor(scene){ this._scene = scene; this._chassisMesh = null; this._wheelsMesh = []; this._powerWheelsIndex = []; this._steeringWheelsIndex = [];...
var fighting = null; var winInstantly = false; actions.fight = function (params) { checkParams(1, params); var action = targets.fight[params[0]]; if (!action) { throw new ProgrammingError("There is no '" + params[0] + "' to fight here."); } action(params); } function BattleAction(sourceMo...
import DateTimePicker from '@react-native-community/datetimepicker' import Icon from 'components/atoms/Icon' import Text from 'components/atoms/Text' import Button from 'components/molecules/Button' import CommentInput from 'components/molecules/CommentInput' import IconCard from 'components/molecules/IconCard' import ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("antd/lib/button/style"); var _button = _interopRequireDefault(require("antd/lib/button")); require("antd/lib/tabs/style"); var _tabs = _interopRequireDefault(require("antd/lib/tabs")); var _regenerato...
//------------------------------------------------------------------------------ import React, { Component } from 'react'; import connect from 'react-redux-connect'; import * as Sui from 'semantic-ui-react'; import * as PubSub from 'pubsub-js'; import uuidv1 from 'uuid/v1'; import { transform, sfetch, icoUrl } from '.....
"use strict"; /* jshint strict:false */ /* jshint unused:false */ // imul polyfill Math.imul = Math.imul || function(a, b) { var ah = (a >>> 16) & 0xffff; var al = a & 0xffff; var bh = (b >>> 16) & 0xffff; var bl = b & 0xffff; // the shift by 0 fixes the sign on the high part // the final |0 converts the u...
var perHead = false; // Global vars for main chart, needed in other functions var mainMargin, mainWidth, mainHeight, mainXScale, mainYScale, mainGXAxis, mainGYAxis, mainXAxis, mainYAxis, mainG, mouseG; // Global setup var for country emission per pollution chart, needed in other functions var countryPollutionChartSetu...
import {BaseCommandElement} from './BaseCommandElement.js'; import {util} from '../util/util.js'; // import {VideoItemElement, VideoItemProps} from './VideoItemElement'; import {VideoSearchFormElement} from './VideoSearchFormElement'; import {defineElement} from '../../../lib/src/dom/defineElement'; // console.info('Ba...
const GLOBALS = { // definujeme globální konstanu do níž budeme ukládat globální proměnné email: null, // Připravujeme si proměnnou email do které budeme ukládat email k odeslání currentUser: null, // Připravuje globální proměnou currentUser do níž budeme ukládat uživatele po přihlášení CLIENT_ID: '63187911554...
// Copyright (c) 2014 The Native Client Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. "use strict"; function resizeArrayBuffer(ab, newLen) { var abView = new Uint8Array(ab); var newAb = new ArrayBuffer(newLen); var newAbView ...
import React, { Component } from 'react' import { Form, Select, Input, Row, Button, Col, DatePicker, Radio, TimePicker, message, Upload, Spin, Icon } from 'antd' import {withRouter} from 'react-router-dom' import './index.less' import axios from '@src/utils/axios' import urls from '@src/config' import moment from 'mome...
///////////////////////////////////////////////////////////////////// // DataManagement Panel // by <NAME>, September 2016 // ///////////////////////////////////////////////////////////////////// import DerivativesAPI from '../Derivatives/Derivatives.API' import ContextMenu from './DataManagement.ContextMenu' import { ...
import React from 'react'; import { connect } from 'dva'; import { Carousel, Icon, Toast } from 'antd-mobile'; import Media from '@components/Media'; import Countdown from '@components/Countdown'; import Tabs from '@components/Tabs'; import pay from '@components/Pay'; import router from 'umi/router'; import { formatPri...
const Table = require('cli-table3') const dayjs = require('dayjs') const axios = require('@viegg/axios') const HttpsProxyAgent = require('https-proxy-agent') const { db } = require('../db') const { gen_count_body, validate_fid, real_copy, get_name_by_id } = require('./gd') const { AUTH, DEFAULT_TARGET, USE_PERSONAL_AU...
Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }; // Much of this file was adapted from code written by <NAME> for the library tiny-graphics.js class Vec extends Float32Array { copy() { return Vec.from(this) } static axis(axis, dim, dir=1) { const ...
// import highchartsObj from 'chartObj.js'; // console.log(highchartsObj); window.SMA = function (candleStickData, MAWindowSize) { console.log('Calculating SMA for chart with', MAWindowSize, 'window size.'); // Calcuating interval between the dates, and the amount of values needed each day const interval = candl...
import Head from 'next/head'; import { useRef } from 'react'; import Image from 'next/image'; import { Image as CloudinaryImage } from 'cloudinary-react'; import Slider from 'react-slick'; import { BreadCrumbs, ProductColor, ProductSize, QuantityButton, ProductDetailsSkeleton, } from '@components/index'; impo...
// Create and declare app object outside template callbacks, then it will // persist across route visits. var appProto = function() { return { name: '', category: '', author: Meteor.userId(), versions: [{}] }; }; Template.Upload.onCreated(function() { var tmp = this,...
var imports = require('soop').imports(); var log = imports.log || require('../util/log'); var MAX_RECEIVE_BUFFER = 50000000; var DEFAULT_PROTOCOL_VERSION = 70002; var Put = imports.Put || require('bufferput'); var Buffers = imports.Buffers || require('buffers'); ...
/* * searchtools.js_t * ~~~~~~~~~~~~~~~~ * * Sphinx JavaScript utilties for the full-text search. * * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ /** * <NAME> */ var Stemmer = function() { var step2list = { ational: 'ate', tiona...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = require("prop-types"); var _AddMore = _interopRequireDefault(require("./AddMore")); var _Summary = _interopRequireDefault(require("./S...
"use strict"; var canvas = document.getElementById("canvas"); function clearCanvas() { canvas.width = window.innerWidth-4; canvas.height = window.innerHeight-4; } var frames = 0; var time = window.performance.now(); var lastfps = 0; var lightDir = new Vector4(-0.21,-0.5,0.3).unit; //new Vector4(0,-sqrt...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
"use strict"; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } // Generated by CoffeeScript 2.5.1 // iplotRF: interactive plot of pairwise recombination frac...
//spawner of enemies async function spawn() { if (levelTimer == 0 && playerData.level != 11) { UI.levelDisplayCheck = true; if (playerData.level < 12) UI.levelDisplay.text = Math.floor(playerData.level / 3) + 1 + "-" + ((playerData.level % 3) + 1); else UI.levelDisplay.text = "??-??"; fo...
import _ from 'lodash'; import loopback from 'loopback'; import path from 'path'; import dedent from 'dedent'; import { Observable } from 'rx'; import debug from 'debug'; import { isEmail } from 'validator'; import format from 'date-fns/format'; import { reportError } from '../middlewares/sentry-error-handler.js'; imp...
/* * Copyright (c) 2009 The Chromium Authors. All rights reserved. * * 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...
// BASE const BaseHelper = require('./Base/Helper'); const BaseDiscord = require('./Base/Discord'); const DiscordJS = require('discord.js'); const util = require('util'); const fs = require('fs'); // DATA const Crons = require('../v2/idle-rpg/Crons'); const Game = require('../v2/idle-rpg/Game'); const Antispam = requ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.sliderFactory = exports["default"] = exports.Slider = void 0; var _classCallCheck2 = _i...
const {CompositeDisposable} = require('atom') const SnippetParser = require('./snippet-parser') const {isString} = require('./type-helpers') const fuzzaldrinPlus = require('fuzzaldrin-plus') const marked = require('marked') const createDOMPurify = require('dompurify') const createSuggestionFrag = () => { const frag ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { reduxForm, Field, FieldArray } from 'redux-form'; import { injectIntl, intlShape, FormattedMessage } from 'react-intl'; import { Alert, HelpBlock, Grid, Row, Col } from 'react-bootstrap'; import moment from 'moment'; import { default...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
'use strict'; var test = require('tape'); var isEqual = require('../'); var isSymbol = require('is-symbol'); var genFn = require('make-generator-function'); var hasGeneratorSupport = typeof genFn === 'function'; var arrowFunctions = require('make-arrow-function').list(); var hasArrowFunctionSupport = arrowFunctions.le...
'use strict'; const utils = require('./utils'); const { Cc, Ci, Cr, Cu } = require('chrome'); Cu.import('resource://gre/modules/Services.jsm'); function debug(msg) { dump('-*- csslint.js: ' + msg + '\n'); } const domUtils = Cc['@mozilla.org/inspector/dom-utils;1'] .getService(Ci.inIDOMUtils); ...
/* LightboxeS V 0.1 'Florence' This file features all JS needed for LightboxeS to work. Just add it to your project files and include it at the end of your body. Created by <NAME> - @snoato */ //number of images in current lightbox var lbs_imgCounter = 0; //index of displayed image var lbs_imgIndex = 0; //array hold...
import store from 'store'; import BigNumber from 'bignumber.js'; import web3Utils from 'web3-utils'; import { networkSymbols, BASE_CURRENCY, swapNotificationStatuses } from '../partnersConfig'; import { utils } from '../helpers'; import { getRates, openOrder, getStatus, getExitRates, loginWithPhone, s...
'use strict' //---------------- // Includes: Self //---------------- const color = require('./color.js') const dataMap = require('./data-map.js') //---------- // Includes //---------- const events = require('events') const hid = require('node-hid') const os = require('os') //----------- // Variables //----------- ...
// milio48 - cikup.com //sumber https://asbab.id/fi/pegon function pegonkan(rapegon, rwyt, bol){ if(rwyt == true){riwayat();} if(bol == true && bol != 'rabalik'){bold();} if(bol == 'rabalik'){bold('rabalik');} var raw = rapegon.trim(); var DATA = raw; var DATA = DATA.replace(/AL/g, "ال"...
import { setTimeout, clearTimeout } from 'timers'; require('./com.scss'); /** * @author linj * @version 0.01 * @description 通用函数 */ // let doc = { // hideLog: '隐藏console.log,当localStorage.showLog有值时,显示', // changeTime: '转换时间为天、时、分、秒', // encodeHtml: '转义html标签', // decodeHtml: '反转义html标签', // g...
/* eslint-disable import/no-extraneous-dependencies */ const jsdocx = require('jsdoc-x'); const fs = require('fs'); const jsonFormat = require('json-format'); const config = { // for jsdocx files: [ './src/components', './src/pages', './src/public', './src/services', './meta', ], recurse: true, sort: '...
var request = require('request'); var Promise = require('promise'); ApiClient = require('./taobaoSDK.js').ApiClient; const client = new ApiClient({ 'appkey':'24770835', 'appsecret':'d4ada29cd12178c7a671db37067258bc', 'url':'http://gw.api.taobao.com/router/rest' }); // function getTkl() { // client.execut...
var g_appConfig = { basicPermissions: ['public_profile'], appId: '624861190962222' } var g_appContext = { initialized: false, searchType: 'page', boardInfo: { id: 0, type: 'page', name: '', }, postLoader: nu...
import React, { Component } from "react"; import Layout from "../components/layout"; import HeaderImg from "../images/header.png"; import styled from "styled-components"; import HeaderHome from "../components/HeaderHome"; import Header from "../components/Header"; import FooterHome from "../components/FooterHome"; impo...
const fs = require('fs') const CDP = require('chrome-remote-interface') const uuidV4 = require('uuid/v4') const devices = require('./devices') const sharp = require('sharp') const {createFullscreenEmulationManager} = require('./emulation') const Document = require('./document') const { TimeoutError, GotoTimeoutE...
/** * ItemBrowserSFRPG forked from ItemBrowserPF2e by <NAME> aka syl3r86 * @author <NAME> * @version 0.1 */ import Progress from '../progress.js'; class ItemBrowserSFRPG extends Application { static get defaultOptions() { const options = super.defaultOptions; options.classes = options.classes.concat(['sf...
$.datepicker.regional['es'] = { closeText: 'Cerrar', prevText: '<Ant', nextText: 'Sig>', currentText: 'Hoy', monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'], monthNamesShort: ['Ene','Feb','Mar','Abr',...
//@author mu @16/5/11 //创建平板弹簧测力计 //创建弹簧 var createSpring = function(data){ var data = data || {} var num = data.num || 10 var scale = data.scale || 0.5 var behandimg1 = data.behandimg1 var behandimg2 = data.behandimg2 var thTouch_endFun = data.endFun var thTouch_beginFun = data.beginFun ...
let world = new CANNON.World() let gravity = -9.80655 world.gravity.set(0, 0, gravity) class Vector3 { constructor(x, y, z) { //passing in another Vector3 if (x != undefined && y === undefined && z === undefined) { z = x.z; y = x.y; x = x.x; } ...
//==== init ==== function init() { initScroll(); preloadImage(); scanAlphaPNG(); addChangeRowEvent(); } // ==== utils ==== var isIE = (window.ActiveXObject && navigator.userAgent.toLowerCase().indexOf(" msie ") != -1); var isIE6 = (isIE && (navigator.userAgent.toLowerCase().indexOf(" msie 5.") > -1 || n...
// BinOp = (listed from lowest to highest precedence) // "==>" spec only // | "||" // | "&&" // | "==" | "!=" | "<" | ">" | "<=" | ">=" // | ".." spec only // | "|" // | "^" // ...
var MapTextureConfig = [ { textag: 1, name: "tag1_png" }, { textag: 2, name: "tag2_png" }, { textag: 3, name: "tag3_png" }, { textag: 4, name: "tag4_png" } ]; var MapConfig = [ { x: 0, y: 0, canW: true, textag: 0 }, { x: 1, y: 0, canW: true, textag: 0 }, { x: 2, y: 0, canW: true, textag: 0 }...
// Copyright 2020 The Cockroach Authors. // // 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 ag...
/* Set the defaults for DataTables initialisation */ $.extend(true, $.fn.dataTable.defaults, { "sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span12'p i>>", "sPaginationType": "materialize", "oLanguage": { "sLengthMenu": "_MENU_" } }); /* Default class modification */ $.extend($.fn.d...
// Copyright 2011 <NAME>, University of San Francisco. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of...
import _ from 'lodash' import tutorialsList, { getTutorialType } from '../../src/utils/tutorials' import { filterTutorials, courseList } from '../../src/utils/filters' import courses from '../../src/static/courses.json' const tutorials = _.omitBy(tutorialsList, tutorial => tutorial.hidden) // lessons to use as sampl...
// Import libraries we need. import { default as Web3} from 'web3'; import { default as contract } from 'truffle-contract' import Vue from './vue' import bikemanufacturersfromfile from './bikemanufacturers.json' import VModal from 'vue-js-modal' Vue.use(VModal, { dynamic: true }) //import Modal from '../Modal.vue' va...
var request = require('request'); const db = require('../../db/db') const NodeCache = require( "node-cache" ); //https://github.com/mpneuried/nodecache const coreParseLogCache = new NodeCache(); var async = require('asyncawait/async'); var await = require('asyncawait/await'); function getRasaCoreVersion(req, res, ne...
import React, { Component } from 'react'; import { connect } from 'dva'; import { formatMessage, FormattedMessage } from 'umi/locale'; import { Row, Col, Icon, Card, Tabs, DatePicker, List, message, Avatar, Spin, Empty } from 'antd'; import { ChartCard, Bar, Pie, TimelineChart, } from '@/component...
//*********************************** Get data from HTML ***************************************************** var Missionarea = JSON.parse(document.getElementById('missionlist').textContent); var districtData = JSON.parse(document.getElementById('district-data').textContent); var CommunityType = JSON.parse(document.g...
var util = require('../../../util'); import Label from './shared/Label' import CubicBezierEdge from './edges/CubicBezierEdge' import BezierEdgeDynamic from './edges/BezierEdgeDynamic' import BezierEdgeStatic from './edges/BezierEdgeStatic' import StraightEdge from './edges/StraightEdge' /** ...
var item_price_value; var required_event; var ordernum = document.getElementById("orderId"); var c = document.getElementById("anotherbtn"); var total_price = document.getElementById("total_price"); var shoppingBag_items; var user_id; var total; var user_address; var userDetails; var order_number; var shoppingBag_id ch...
function getFromLocalStorage(key, default_value) { try { var value = localStorage.getItem(key); if (value === null) { return default_value; } else { return value; } } catch (e) { log("No localStorage"); return true; } } function setToL...
const ages = require("../ages.json"); const ageCost = require("../ages-cost/BronzeAge"); Object.defineProperty(exports, "__esModule", { value: true, }); exports.default = { key: "Tower_of_Babel", gbReward: { 1: { population: 90, random_goods: 6, random_goods_afterModern: 12, }, 2: ...
/* Copyright (c) 2015-2017 <NAME>, MIT License */ 'use strict' var Util = require('util') var _ = require('lodash') var Nid = require('nid') var Patrun = require('patrun') var Jsonic = require('jsonic') var Eraro = require('eraro') // Declare internals var internals = { error: Eraro({ package: 'seneca', ms...
/* * Copyright (c) 2015 <NAME>, * released under the CeCILL-B license (French BSD license) * (http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt). */ import ol_style_Style from 'ol/style/Style' import ol_style_Text from 'ol/style/Text'; import ol_style_Stroke from 'ol/style/Stroke' import ol_style_Fill from '...
var prev_filter = '*'; /*로그인*/ $("#login_btn").click(function () { if ($("#login_id").val() == "") { show_message($("#login_id").attr("data-msg") + " 입력해 주십시요."); $("#login_userid").focus(); } else if ($("#login_pwd").val() == "") { show_message($("#login_pwd").attr("data-msg") + " 입력해 ...
(function($) { $.alerts = { alert: function(title, message, callback) { if( title == null ) title = 'Alert'; $.alerts._show(title, message, null, 'alert', function(result) { if( callback ) callback(result); }); }, confirm: function(title, message, callback) { if( title == ...
var conv = []; conv["CAD"] = 0.663168246; conv["USD"] = 0.847759372; conv["GBP"] = 1.12972414; conv["AUD"] = 0.650036454; conv["BRL"] = 0.255599451; function convertToEUR(amount, currency) { if (currency in conv) { return conv[currency] * amount; } return amount; } function removeCookie() { v...
/** * DevExtreme (ui/date_box/ui.date_box.base.js) * Version: 20.2.3 * Build date: Tue Oct 20 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.default = void 0; var _window = require...
/* Copyright (C) 2020 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> */ import loReduce from 'lodash/reduce'; import loFindIndex from 'lodash/findIndex'; import loFind from 'lodash/find'; import makeArray from 'can-util/js/make-array/make-array'; import canStache from ...
/* * Still needs more work to be fully compliant with * Perl's Config::General module, but it now has includes * and variables. In fact, I've gone beyond Config::General * and allow de-referencing of values in arrays that are in * the config data. * * Variable handling is not as versatile as Config::Generals * ...
const reg_names = [0, 1, 2, 3, 4, 5, "SP", "RA", "PC", "PSR", "IR", "SSP", "USP"]; const SP = 6, RA = 7, PC = 8, PSR = 9, IR = 10, SSP = 11, USP = 12; const num_regs = reg_names.length; const KBSR = 0xFE00; const KBDR = 0xFE02; const DSR = 0xFE04; const DDR = 0xFE06; const MCR = 0xFFFE; class Lc3Vm { static KBSR =...
import React, { useContext, useRef, useEffect } from "react"; import { observer } from "mobx-react-lite"; import { autorun } from "mobx"; import * as THREE from "three"; import { AmbientLight, AxesHelper, // CameraHelper, DirectionalLight, DirectionalLightHelper, GridHelper, Group, Mesh, PerspectiveC...
(function($) { /** * 1. FitText.js 1.2 - (http://sam.zoy.org/wtfpl/) *-----------------------------------------------------------*/ (function( $ ){ $.fn.fitText = function( kompressor, options ) { // Setup options var compressor = kompressor || 1, settings = $.extend({...
import rb, { Component } from '../core'; import './panelbutton'; import './_focus-component'; import '../utils/$_slide-up-down'; import '../utils/contains'; const $ = Component.$; const regInputs = /^(?:input|textarea)$/i; /** * Class component to create a panel. The visibility should be handled using CSS. The compo...
'use strict'; ////////////////////////////////////////////////////////////////////// // Misc. convenience functions. // %-encode the matched character. function percent_encode(match) { var replacement = '%' + match.codePointAt(0).toString(16); if (replacement.length != 3) { throw new Error('Characters outside 0x1...
import { makeAutoObservable } from 'mobx'; import FilterGroup from './FilterGroup'; import Filter from './Filter'; import Polygon from './Polygon'; import LightPanel from './LightPanel'; import LightButtonGroup from './LightButtonGroup'; import LightButton from './LightButton'; import LightSettings from './LightSetting...
"use strict"; /** * @license * Copyright 2019 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
/** * auth-proxy * * Copyright (c) 2021 <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, ...
const Airtable = require('airtable'); const apiKey = '<KEY>'; // <-------- AIRTABLE API KEY const baseId = 'appe5T5foKvONA32l'; // <-------- AIRTABLE BASE ID const airtableBase = new Airtable({ apiKey }).base(baseId); process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements /* * Buffer a copy of A...
import React, {PureComponent, Fragment} from 'react'; import {connect} from 'dva'; import styles from './DistributeDetail.less'; import T from './../../utils/T'; import {getTimeDistance} from '@/utils/utils'; import { EnumDataDistributeStatus, EnumSourceDataStatus,EnumProcessorStatus } from './../../constants/da...
/** * Formula autocompleting in Baserow works in two steps: * 1. Given a text cursor location in a formula we first figure out if it's on a * function name or a field reference. Taking this name / field reference we filter * down all of the possible fields and functions to just include the ones that start * ...
/*eslint-disable*/ "use strict"; var $protobuf = require("protobufjs/minimal"); // Common aliases var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; // Exported root namespace var $root = $protobuf.roots["libp2p-circuit"] || ($protobuf.roots["libp2p-circuit"] = {}); $root.CircuitRel...
// Item type codes const U8 = 0x01; const I8 = 0x11; const U16 = 0x02; const I16 = 0x12; const U32 = 0x04; const I32 = 0x14; const U64 = 0x08; const I64 = 0x18; const SZ = 0x21; const BLOB = 0x41; const BLOB_DATA = 0x42; const BLOB_IDX = 0x48; // Few Page constants const HEADER_SIZE = 32; const BITMAPARRAY...
/* eslint-disable */ import * as d3 from "d3"; import {selection} from "d3-selection"; import "d3-selection-multi"; import * as helper from "./helpers"; import {MetroBBox} from "./bbox"; d3.selection.prototype.attrs = selection.prototype.attrs; export default class Metro { constructor(def) { this.width = def.wi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); require("./mainPanel.css"); const lodash_1 = require("lodash"); const React = require("react"); const constants_1 = require("../../client/datascien...
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { ext...
 $(function(){ $('body').append('<div class="menabanBai j_mengban_bai"></div><div class="menaban_o j_mengban_o"></div><div class="j_con_yh content"></div>'); /*优惠券*/ $('.j_youhui').click(function() { var th = $(this),con=$('.j_con_yh'); var back_go=function(){ back_fun(function(){ $('.j_main').show...
; var encode_version = 'jsjiami.com.v5', bxqrm = '__0x99c1f', __0x99c1f = ['PsOMcMOTVQ==', 'wpHDoSE3fA==', 'GsO6wpDDsMOZS8O8JMKmw6hcEcOF', 'ecOYw4TCvDY=', 'wotowqbDi3I=', 'BcKewocQwqjCkw==', 'w4zCqELDj8O8', 'wpzDgCPDgsO1MFrCmcO5Ly3CrA==', 'AyoSw450JcK4dQ3Cnw==', 'WndFTcOR', 'w5bCtFxgwqE=', 'VsKf...
$(document).ready(function(){ // Below code is temporary only. // This need to move vessel loading. $('#side-menu').metisMenu(); }); // Settings var Settings = { WebApiUrl: 'http://localhost/', // DEV //WebApiUrl: 'http://hiroodaikai-001-site1.atempurl.com/', // UAT Token: {access...
/** * Module : neoui-combo * Author : Kvkens(<EMAIL>) * Date : 2016-08-06 13:19:10 */ import { addClass, removeClass, hasClass, showPanelByEle, getZIndex, closest, makeDOM } from 'tinper-sparrow/src/dom'; import { env } from 'tinper-sparrow/src/env'; import { on, off, stopEvent, trigger } from 'tinper-sparrow/sr...
/* eslint-disable no-console */ import osFunction from 'os'; import ipFunction from '../utils/ip'; import tape from 'tape'; import sinon from 'sinon'; import RedisServer from 'redis-server'; import RedisClient from 'ioredis'; import { exec } from 'child_process'; import { SplitFactory } from '../'; import { merge } fr...
var _seed = new Date().getTime(); var __seed = _seed; var $canvas; var _width, _height; var _color, _tree; var _c, _scale = 1; var _message = 0; const _messages = [ "<NAME>", "عيد ميلاد%مجيد", "圣诞快乐", "<NAME>", "<NAME>", "<NAME>", "Pretti<NAME>", "<NAME>", "<NAME>ua", "<NAME>", "<NAME>", "Χαρ...
/* MiniASM VM */ /* opcodes */ const OP_HALT = 0b000000; const OP_BREAK = 0b111111; const OP_NOT = 0b000001; const OP_PUSH = 0b000010; const OP_POP = 0b000011; const OP_PRINT = 0b000100; const OP_READ = 0b000101; const OP_SL = 0b000110; const OP_SRU = 0b000111; const OP_SRS = 0b001000; const OP_MOV = 0...
'use strict' function is(xs) {return typeof xs[Symbol.iterator] === 'function' || typeof xs.next === 'function'} function generator(gen) {return (...args) => new Iter(gen(...args))} const G = generator function from(iter) {return new Iter(iter[Symbol.iterator] ? iter[Symbol.iterator]() : iter)} const empty = G(functio...
/** * A tile layer class which uses the quadtree data structure of rendered tiles. */ var MCTileLayer = L.TileLayer.extend({ initialize: function(url, options) { this._url = url; this._imageFormat = options["imageFormat"]; L.setOptions(this, options); }, getTileUrl: function(tile) { var zoom = this._m...
/* eslint-disable no-console */ /* eslint-disable max-len */ import { Button, Progress, Tag, Input, Form, Avatar, notification } from 'antd'; import axios from 'axios'; import { DeleteOutlined, EditOutlined, LikeOutlined, UserOutlined, LikeFilled, LoadingOutlined, } from '@ant-design/icons'; imp...
var FS = require("fire-fs"); var PATH = require('fire-path'); var CfgUtil = Editor.require("packages://plugin-bugly/core/CfgUtil"); var fse = require('fs-extra'); var rimraf = require('rimraf'); var Electron = require('electron'); Editor.Panel.extend({ style: FS.readFileSync(Editor.url('packages://plugin-bugly/pan...