text stringlengths 2 1.04M |
|---|
import _ from 'lodash'
const BDCashLogin = require('@bdcash-protocol/login')
const BDCashCore = require('@bdcash-protocol/core')
import css from './css/style.css'
import jsQR from "jsqr"
var video
var canvasElement
var canvas
var loadingMessage
var dapp = ''
var found = []
var required = []
var gateway = []
var callba... |
window.sf = window.sf || {};
var sfsmithchart = (function (exports) {
'use strict';
var __extends$2 = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__... |
import { svg } from 'lit';
export const file = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zm-6-2h5V9.157l-6-5.454-6 5.454V19h5v-6h2v6z"/>
</... |
import { TwoToneFormatBold as SharpFormatBold } from './TwoToneFormatBold'
export { SharpFormatBold } |
/** @license React v16.3.0-alpha.1
* react-dom.development.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
(function (global, factory) {
typeof exports === 'object' ... |
/**
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIA... |
import { PDFDownloadLink, Link, Page, Text, View, Document, StyleSheet, Image, Font } from '@react-pdf/renderer';
import Logo from 'assets/img/logo 4k shadow.png';
let interesMeses = ""
let interesPais = ""
let distM = ""
let nombre = ""
let noticias = ""
let productos = ""
let today = ""
let nombreProd = ""
let preci... |
// @flow
const {satisfies, minVersion, compare, gt} = require('semver');
const {parse, stringify} = require('@yarnpkg/lockfile');
const {read, exec, write} = require('./node-helpers.js');
const {node, yarn} = require('./binary-paths.js');
const {isYarnResolution} = require('./is-yarn-resolution.js');
/*::
export type ... |
import { init, getHeight } from '../../plugins/api'
module.exports = {
command: 'getHeight',
aliases: ['gh', 'height'],
desc: 'Get block height',
builder: {},
handler: function (argv) {
init(argv)
getHeight(argv)
}
} |
const Localidad = require('../models/localidadModel')
const _ = require('underscore')
const { validationResult } = require('express-validator')
class localidadController {
static async create(req, res) {
// revisar si hay errores
const errores = validationResult(req)
if (!errores.isEmpty())... |
const { Model, DataTypes } = require("sequelize");
const sequelize = require("../config/connection");
class Region extends Model {}
Region.init(
{
id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true,
},
name: {
type: DataTypes.STRING,
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Rect = void 0;
var util_1 = require("./util");
exports.Rect = (0, util_1.createShape)('rect', {
attrs: {
body: {
refWidth: '100%',
refHeight: '100%',
},
},
});
//# sourceMappingURL=rect.j... |
function make2DArray (cols, rows){
let array = []
for (var i = 0; i < cols; i++){
let row = []
for (var j = 0; j < rows; j++){
let obj = {
x:i,
y:j,
state: (random()>0.5)
}
row.push(obj)
}
array.push(row)
}
// console.log(arr... |
module.exports = {
semi: false,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: false,
arrowParens: 'always',
proseWrap: 'always',
endOfLine: 'lf',
} |
import getNode from '@triniti/cms/plugins/ncr/selectors/getNode';
/**
* @param {Object} state - The entire redux state.
* @param {{ block }} ownProps - Props given to the component.
*
* @returns {Object}
*/
export default (state, { block }) => ({
audioNode: block.has('node_ref') ? getNode(state, block.get... |
async function randomString(len) {
len = len || 6;
let $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678'; /****默认去掉了容易混淆的字符oOLl,9gq,Vv,Uu,I1****/
let maxPos = $chars.length;
let result = '';
for (i = 0; i < len; i++) {
result += $chars.charAt(Math.floor(Math.random() * maxPos));
... |
import request from 'umi-request';
// 所有小组评估成员
export async function getSpecialAssessMembers() {
return request('/api/resource/groupAssess/specialAssessMembers');
}
// 小组评估规划
export async function createSavePlan(data) {
return request('/api/resource/groupAssess/savePlan', {
method: 'POST',
data,
});
}
/... |
import { railsnear as usage } from './modules/usage'
import { rails } from './modules/rails'
import { ignoredBlocks, allowedBlocks } from './modules/blocks'
import { transformIDs } from './modules/utils'
importPackage(Packages.com.sk89q.worldedit)
importPackage(Packages.com.sk89q.worldedit.math)
importPackage(Packages... |
import React, { useState, useContext, useEffect } from "react";
import { Segment, Form, Input, Button } from "semantic-ui-react";
import _ from "lodash";
import { ContactContext } from "../Context/ContactContext";
export default function ContactForm() {
// eslint-disable-next-line no-unused-vars
const [state, disp... |
module.exports = {
// This is the entry point or start of our react applicaton
entry: "./app/app-no-routes.js",
// The plain compiled Javascript will be output into this file
output: {
filename: "public/bundle.js"
},
// This section desribes the transformations we will perform
module: {
loaders... |
/* eslint-env node, mocha */
import expect from 'expect.js';
import {logger, calcDiffFileName, getPkgConfig} from '../src/util';
describe('util.js', () => {
it('logger', () => {
expect(logger.err).to.be.an('function');
expect(logger.warn).to.be.an('function');
expect(logger.info).to.be.an('function');
... |
var struct_sl_sock_secure_method =
[
[ "secureMethod", "struct_sl_sock_secure_method.html#ac93ce2e8398137141a30b5bf7c419f73", null ]
]; |
export const FETCH_INVITES_REQUEST = 'FETCH_INVITES_REQUEST'
export const FETCH_INVITES_SUCCESS = 'FETCH_INVITES_SUCCESS'
export const FETCH_INVITES_FAILURE = 'FETCH_INVITES_FAILURE'
export const DELETE_INVITES_REQUEST = 'DELETE_INVITES_REQUEST'
export const DELETE_INVITES_SUCCESS = 'DELETE_INVITES_SUCCESS'
export con... |
"use strict";
/*
BsTable - http://bs-table.com
Licensed under the MIT license
Copyright (c) 2014 Jan Holinka
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 witho... |
function main() {
const v4 = [13.37,13.37,13.37,13.37,13.37];
const v6 = [1337];
const v7 = [1337,String];
const v8 = {all:String,log10:String,ownKeys:v4,max:v6};
const v9 = {source:v7,includes:"number",ownKeys:v8,multiline:13.37,bind:v4};
let v10 = v4;
const v12 = [13.37];
const v14 = [1337];
const v15 = {exec:v14};
f... |
// (C) Copyright 2015 Martin Dougiamas
//
// 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... |
//# sourceMappingURL=chunk-3f30fe6a.7d1668eb.js.map |
/**
* @param {number[]} nums
* @return {void} Do not return anything, modify nums in-place instead.
*/
var moveZeroes = function (nums) {
let l = 0;
let r = 0;
while (r < nums.length) {
const rNum = nums[r];
if (rNum === 0) {
r++;
} else {
[nums[l], nums[r]] = [nums[r], nums[l]];
... |
import React from 'react'
export function IncrementButton(props) {
const handleButtonClick = () => {
const { onIncrement } = props
onIncrement('+')
}
return (
<button
onClick={handleButtonClick}
className="waves-effect waves-light btn green darken-4"
... |
// @flow
import { createCommand, Command } from 'helpers/ipc'
import { fromPromise } from 'rxjs/observable/fromPromise'
import { withDevice } from 'helpers/deviceAccess'
import installOsuFirmware from 'helpers/firmware/installOsuFirmware'
import type { Firmware } from 'components/modals/UpdateFirmware'
type Input =... |
app.directive('buttonAction', function () {
return {
restrict: 'E',
scope:{
colorButton:'@',
otherClass:'@',
linkRedirect:'@'
},
controller: ['$scope', '$http', '$location', function($scope, $http, $location) {
$scope.linkButton = function (link) {
$location.path(link)... |
/**
* Kendo UI v2019.3.1023 (http://www.telerik.com/kendo-ui)
* Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
var callbackArguments = [];
var argument1 = function callback(){callbackArguments.push(arguments)};
var argument2 = function callback(){callbackArguments.push(arguments)};
var argument3 = function callback(){callbackArguments.push(arguments)};
var argument4 = true;
var argument5 = function callback(){callbackArguments.... |
var gulp = require('gulp'),
watch = require('gulp-watch'),
livereload = require('gulp-livereload'),
config = require('../config');
gulp.task('watch', function() {
console.log('watch files');
livereload.listen();
watch([config.script.watch], function() {
gulp.start('browserify');
});
watch(config.style.sr... |
"use strict";
const semver = require("semver");
module.exports = function (version, type) {
if (!["major", "minor", "patch"].includes(type)) {
throw new TypeError(`Invalid version type: ${type}`);
}
const raw = version;
version = semver.parse(version, { loose: true });
if (!version) {
throw new Er... |
const webpack = require('webpack');
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
entry: './src/browser/index.ts',
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'dist')
},
resolve: {
extensions: [ '.ts'... |
const { Menu, MenuItem } = require('electron')
const template = [
{
label: 'Edit',
submenu: [
{ role: 'undo' },
{ role: 'redo' },
{ type: 'separator' },
{ role: 'cut' },
{ role: 'copy' },
{ role: 'paste' },
{ role: ... |
var CreateInstancesTestScene = function (engine) {
var scene = new BABYLON.Scene(engine);
var light = new BABYLON.DirectionalLight("dir01", new BABYLON.Vector3(0, -1, -0.3), scene);
var camera = new BABYLON.FreeCamera("Camera", new BABYLON.Vector3(0, 10, -20), scene);
camera.speed = 0.4;
light.pos... |
initSidebarItems({"enum":[["Error","An error from parsing a terminfo entry"]],"mod":[["parm","Parameterized string expansion"],["parser","TermInfo format parsing. ncurses-compatible compiled terminfo format parsing (term(5))"],["searcher","ncurses-compatible database discovery"]],"struct":[["TermInfo","A parsed terminf... |
var vows = require('vows');
var assert = require('assert');
var util = require('util');
var GitLabStrategy = require('passport-gitlab/strategy');
vows.describe('GitLabStrategy').addBatch({
'strategy': {
topic: function() {
return new GitLabStrategy({
consumerKey: 'ABC123',
consumerSecre... |
import { Router } from 'express';
import multer from 'multer';
import multerConfig from './config/multer';
import UserController from './app/controllers/UserController';
import SessionController from './app/controllers/SessionController';
import FileController from './app/controllers/FileController';
import ProviderCo... |
function getPaginatedOptions(path, page, apiKey) {
return {
href: 'https://api.themoviedb.org',
protocol: 'https:',
hostname: 'api.themoviedb.org',
path: `/3/${path}?page=${page}`,
port: 443,
method: 'GET',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${apiKey}`,
},
}
}
... |
import { moduleForModel, test } from 'ember-qunit';
moduleForModel('csv-data', 'Unit | Model | csv data', {
// Specify the other units that are required for this test.
needs: []
});
test('it exists', function(assert) {
let model = this.subject();
// let store = this.store();
assert.ok(!!model);
}); |
angular.module('HomePageApp',
[
'<%= module_prefix %>.services',
'<%= module_prefix %>.components',
'<%= module_prefix %>.models'
])
.controller('HomePageCtrl', function( $scope ) {
}); |
//此函数用于checkbox的全选和反选
var checked=false;
function check_all(form) {
var checkboxes = document.getElementById(form);
if (checked == false) {
checked = true
} else {
checked = false
}
for (var i = 0; i < checkboxes.elements.length; i++) {
if (checkboxes.elements[i].type == "che... |
import React from 'react';
import PropTypes from 'prop-types';
import { Text } from 'components/elements';
import Image from './image.png';
import Slide from '../../../../CoverSlides/Slide';
const Slide2 = ({ nextAction }) => (
<Slide
bodyJsx={
<Text>
"Hey, bud! Congrats on making it till the end o... |
/***********************************************************************************************************
* Server URL as required by assignment instructions: h ttp://52.41.119.135:3000/
*
* Chris Kearns, kearnsc@oregonstate.edu, cs290-400-Summer16-Database UI, 03 Aug 2016
*
* dbUIscript.js included by home.handleb... |
import Vue from 'vue'
import App from './App.vue'
/* eslint-disable no-new */
new Vue({
el: '#app',
template: '<App/>',
components: { App }
}) |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+draft_js
* @flow strict-local
* @format
*/
'use strict';
jest.disableAutomock();
const CharacterMetadata = r... |
"use strict";
require("core-js/modules/es.symbol");
require("core-js/modules/es.symbol.description");
require("core-js/modules/es.symbol.iterator");
require("core-js/modules/es.array.concat");
require("core-js/modules/es.array.filter");
require("core-js/modules/es.array.find-index");
require("core-js/modules/es.... |
'use strict';
var autoprefixer = require('autoprefixer');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var ManifestPlugin = require('webpack-manifest-plugin');
var InterpolateHtmlPlugin = require('react-dev-uti... |
angular.module('srirama')
.component('dashboardMap', {
template: require('./dashboard-map.html'),
bindings: {
latlng: '<'
},
controller: [class dashboardMap {
$onInit() {
this.latlng = {
lat: -6.894,
lng:... |
/**
* @description Runer for jsbeautify
* support nodejs and v8 interpretator
*/
(function(contentPath, options, path) {
"use strict";
var global = (function() {
return this || eval.call(null, 'this');
}()),
load = global.load,
read = global.read,
hop = Object.prototype.h... |
"use strict";
import { changeLevel, TheCounter, jumper, Character } from "./JumperBase/base.js";
import { requestGameChange } from "./JumperBase/loading.js";
import { findWhithId } from "./JumperBase/Functions.js";
import { PLM_forLevelRestore } from "./JumperBase/platforms.js";
import { portal_clearParticles } from "... |
export default function isEmptyString(value) {
return typeof value === 'string' && value.trim().length === 0;
} |
var config_8h =
[
[ "SOUNDIO_HAVE_ALSA", "config_8h.html#ac0d55a78a7cb204d35114ee0c27d219e", null ],
[ "SOUNDIO_HAVE_JACK", "config_8h.html#a64d78d43ebcddb692704695731771c38", null ],
[ "SOUNDIO_HAVE_PULSEAUDIO", "config_8h.html#a374872c9816db78b31d577f1c2b04790", null ],
[ "SOUNDIO_VERSION_MAJOR", "con... |
"use strict";
/**
* @packageDocumentation
* @module Parts.D6T44L
*/
Object.defineProperty(exports, "__esModule", { value: true });
class D6T44L {
constructor() {
this.requiredKeys = [];
this.keys = ['vcc', 'gnd', 'sda', 'scl', 'clock'];
this.address = 0x0a;
this.ioKeys = ['vcc', '... |
var class_m_q_t_t =
[
[ "MQTT", "class_m_q_t_t.html#a75b5fb0489a6ecc75d75ed2362e60aef", null ],
[ "Connect", "class_m_q_t_t.html#adbdce236a43cd417fa1127713026dd73", null ],
[ "publishTopic", "class_m_q_t_t.html#ad7e9e770d0b2c800d15bc7ec00e29608", null ]
]; |
import dom from './DOM.js'
import Router from './Router.js'
import Component from './Component.js'
import Localizer from './Localizer.js'
import EventHandler from './EventHandler.js'
/**
`App` contains the orchestration logic for the entirety of what is being displayed for a given app, including the app chrome like na... |
__ui_UIObject.prototype.__class__ = "ui_UIObject";
function ui_UIObject() {
return new __ui_UIObject();
}
function __ui_UIObject() {
}
__ui_UIObject.prototype.getElement = function() {
return this.element;
};
__ui_UIObject.prototype.setElement = function(element) {
this.element = element;
};
__ui_UIObject.p... |
const Base = require('inquirer/lib/prompts/base');
const chalk = require('chalk');
const observe = require('inquirer/lib/utils/events');
class SuggestPrompt extends Base {
constructor(questions, rl, answers) {
super(questions, rl, answers);
if (!this.opt.suggestions) {
this.throwParamError('suggestion... |
import React from 'react';
import PropTypes from 'prop-types';
import { termFromId } from 'React/helpers/terms';
import Dropdown from '../../../../components/Dropdown';
import './TermDropdown.scss';
const TermDropdown = ({ value, termIds, onChange }) => {
const terms = termIds.map(termFromId);
const options = ... |
define([
'../core_module',
],
function (coreModule) {
'use strict';
coreModule.directive('confirmClick', function() {
return {
restrict: 'A',
link: function(scope, elem, attrs) {
elem.bind('click', function() {
var message = attrs.confirmation || "Are you sure you want to do tha... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import axios from 'axios';
import PropTypes from 'prop-types';
import Button from '@material-ui/core/Button';
import Grid from '@material-ui/core/Grid';
import DateFnsUtils from '@date-io/date-fns';
import Fab from '@material-ui/core/Fab';
i... |
import Component from '@ember/component';
import { computed, observer } from '@ember/object';
import FormMixin from 'open-event-frontend/mixins/form';
import EventWizardMixin from 'open-event-frontend/mixins/event-wizard';
import { sortBy } from 'lodash-es';
export default Component.extend(FormMixin, EventWizardMixin, ... |
import { equal } from '../utils';
export function hasSubUnits(calculator) {
var equalFn = equal(calculator);
return function _hasSubUnits() {
for (var _len = arguments.length, _ref = new Array(_len), _key = 0; _key < _len; _key++) {
_ref[_key] = arguments[_key];
}
var dineroObject = _ref[0];
... |
import './index.css'
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
ReactDOM.render(
<React.Fragment>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTw... |
function linearLegression(data) {
var n = coordinates.length;
var X = coordinates.reduce(function (x, y) { return x + y.x; }, 0);
var Y = coordinates.reduce(function (x, y) { return x + y.y; }, 0);
var XX = coordinates.reduce(function (x, y) { return x + y.x * y.x; }, 0);
var XY = coordinates.reduce... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var OrderBookModel = /** @class */ (function () {
function OrderBookModel() {
}
return OrderBookModel;
}());
exports.OrderBookModel = OrderBookModel;
//# sourceMappingURL=OrderbookModel.js.map |
import React from "react";
import "./Person.css";
const person = (props) => (
<div className="Person" onClick={props.clicked}>
<h1>{props.name}</h1>
<p>Age: {props.age}</p>
</div>
);
export default person; |
/**
* @file render server
* @author lincenying(lincenying@qq.com)
*/
const jwt = require('jsonwebtoken')
const config = require('./server/config')
const logger = require('morgan')
const cookieParser = require('cookie-parser')
const bodyParser = require('body-parser')
// 引入 mongoose 相关模型
require('./server/models/adm... |
import React from 'react';
import { Chart, Tooltip, Geom, Legend, Axis } from 'bizcharts';
import DataSet from '@antv/data-set';
import Slider from 'bizcharts-plugin-slider';
import autoHeight from '../autoHeight';
import styles from './index.less';
@autoHeight()
export default class TimelineChart extends React.Compon... |
// Tools for encrypting and decrypting passwords.
// Basically promise-friendly wrappers for bcrypt.
var bcrypt = require('bcryptjs');
try {
bcrypt = require('bcrypt');
} catch(e) { /* */ }
// Returns a promise for a hashed password string.
function hash(password) {
return bcrypt.hash(password, 10);
}
// Returns... |
const chai = require('chai');
const assert = chai.assert;
const expect = chai.expect;
describe(`require('electron') in node process`, function () {
it(`test 1`, function () {
// electron is in node_modules as declared as a devDependencies, so it is found !!
const electronProcessTypeModule = require('electron... |
module.exports={A:{A:{"1":"F A B","2":"M D H mB"},B:{"1":"C E q L O I J K"},C:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB","2":"jB AB eB cB"},D:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X... |
import TeamUsageSerializer from '@apps/maha/serializers/team_usage_serializer'
import TeamUsage from '@apps/maha/models/team_usage'
const listRoute = async (req, res) => {
const usages = await TeamUsage.filterFetch({
scope: (qb) => {
qb.select('maha_team_usages.*','maha_usage_cycles.*')
qb.joinRaw('... |
'use strict'
const ParserBaseClass = require('../../src/ParserBaseClass')
const userAddressSchema = require('../schemas/userAddress')
function UserAddressParser (params) {
ParserBaseClass.apply(this, arguments)
}
UserAddressParser.prototype = Object.create(ParserBaseClass.prototype)
UserAddressParser.prototype.con... |
module.exports={A:{A:{"2":"L H G E A B jB"},B:{"2":"C D e K I N J","33":"8"},C:{"1":"0 1 2 3 9 r s t u v w x y z KB JB CB DB EB O GB HB IB","2":"4 5 7 gB BB F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q aB ZB"},D:{"16":"4 F L H G E A B C D e K I N J","33":"0 1 2 3 5 7 8 9 P Q R S T U... |
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true
},
extends: [
'standard'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018
},
rules: {
}
} |
import { LightningElement, api } from 'lwc';
export default class Main extends LightningElement {
@api classes;
@api styles;
@api attrs;
} |
'use strict';
exports.find = function(req, res, next){
req.query.username = req.query.username ? req.query.username : '';
req.query.limit = req.query.limit ? parseInt(req.query.limit, null) : 20;
req.query.page = req.query.page ? parseInt(req.query.page, null) : 1;
req.query.sort = req.query.sort ? req.query.s... |
!(function(A) {
var I = {};
function g(C) {
if (I[C]) return I[C].exports;
var t = (I[C] = { i: C, l: !1, exports: {} });
return A[C].call(t.exports, t, t.exports, g), (t.l = !0), t.exports;
}
(g.m = A),
(g.c = I),
(g.d = function(A, I, C) {
g.o(A, I) || Object.defineProperty(A, I, { e... |
// STRUCTURE
/**
* Create favicon link tag.
*/
function createFavicon() {
var icon = document.createElement('link');
icon.rel = 'shortcut icon';
icon.href = 'favicon.ico';
icon.type = "image/x-icon";
document.querySelector('head').appendChild(icon);
}
/**
* Create a header link object.
*
... |
import React from 'react';
import PropTypes from 'prop-types';
import { HeadingText } from 'nr1';
const ReactMarkdown = require('react-markdown');
export default class IndUpdates extends React.Component {
static propTypes = {
update: PropTypes.any,
};
render() {
const { update } = this.props;
cons... |
var classmagmadnn_1_1op_1_1_pow_op =
[
[ "PowOp", "classmagmadnn_1_1op_1_1_pow_op.html#a3a17575fdd53f76de537c70bb9dd6155", null ],
[ "_eval", "classmagmadnn_1_1op_1_1_pow_op.html#ab2fbda01002895dbe4a7eecb4a9da295", null ],
[ "_grad", "classmagmadnn_1_1op_1_1_pow_op.html#a82cbfb20fc89169e11174396a7e62261", n... |
import React from 'react';
import { Icon } from './Icon';
export var SharpCropFree =
/*#__PURE__*/
function SharpCropFree(props) {
return React.createElement(Icon, props, React.createElement("path", {
d: "M3 3v6h2V5h4V3zm2 12H3v6h6v-2H5zm14 4h-4v2h6v-6h-2zm2-16h-6v2h4v4h2z"
}));
}; |
/*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... |
const roteador = require('express').Router()
const TabelaFornecedor = require('./TabelaFornecedor')
const Fornecedor = require('./Fornecedor')
const SerializadorFornecedor = require('../../Serializador').
SerializadorFornecedor
roteador.get('/', async (requisicao, resposta) => {
const resultados = await TabelaForn... |
angular.module('images', [])
.controller('ImagesController', ['$scope', 'Image', 'ViewSpinner', 'Messages',
function ($scope, Image, ViewSpinner, Messages) {
$scope.toggle = false;
$scope.predicate = '-Created';
$scope.showBuilder = function () {
$('#buil... |
/*!
* @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md. |
const presets = [
["@babel/env", {
target: "> 0.25%, not dead",
useBuiltIns: "usage"
}]
];
module.exports = { presets }; |
pbjsChunk([196],{
/***/ 304:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(305);
/***/ }),
/***/ 305:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmo... |
import customTooltipUtils from '../utils';
export default function customTooltipModel({ layout, app, picasso, model, chart, translator, localeInfo, embed }) {
const useCustomTooltip = layout.tooltip && !layout.tooltip.auto;
return {
layout,
app,
picasso,
model,
chart,
translator,
locale... |
angular.module('MyApp', ['ngRoute', 'satellizer'])
.config(["$routeProvider", "$locationProvider", "$authProvider", function($routeProvider, $locationProvider, $authProvider) {
skipIfAuthenticated.$inject = ["$location", "$auth"];
loginRequired.$inject = ["$location", "$auth"];
$locationProvider.html5Mode... |
"use strict";
var f = require('util').format
, crypto = require('crypto')
, retrieveBSON = require('../connection/utils').retrieveBSON
, Query = require('../connection/commands').Query
, MongoError = require('../error');
var BSON = retrieveBSON(),
Binary = BSON.Binary;
var AuthSession = function(db, userna... |
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
... |
/*
Utility Functions for OMG Plasma
Copyright (C) 2021 Enya Inc. Palo Alto, CA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... |
import webpack from 'webpack';
import merge from 'webpack-merge';
import path from 'path';
import DeadCodePlugin from 'webpack-deadcode-plugin';
// import CircularDependencyPlugin from 'circular-dependency-plugin';
import baseConfig from './base.config.babel';
const env = 'development';
const ROOT_DIR = path.join(_... |
/**
* Enforce a specific amount of decimal digits and also fix floating
* point rounding issues.
* @example `enforcePrecision(0.615, 2) -> 0.62`, `(0.615).toFixed(2) ->
* 0.61`
*/
function enforcePrecision(val, nDecimalDigits){
var pow = Math.pow(10, nDecimalDigits);
return ... |
const express = require('express');
const cors = require('cors');
const app = express();
const socketio = require('socket.io');
const server = app.listen(8000, () => console.log(`Listening on port: 8000`) );
const io = socketio(server, {cors: true});
app.use(cors());
require('dotenv').config();
const cookieParser = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.