text
stringlengths
3.22k
29.5k
const map = require('./map'); const domBuilder = require('./dom-builder'); const api = require('./api'); const colours = require('./colours'); const database = require('./database'); const {getModel, sortList} = require('./common'); const viewsRef = {}; let startX; let startWidth; let dragListener; let stopListener; ...
const grpc = require('@grpc/grpc-js') const datEncoding = require('dwebx-encoding') const { Profile, HyperdriveOptions, MountInfo, DriveStats, MountStats, CoreStats, FileStats, DownloadProgress, NetworkConfiguration, DriveInfo } = require('./rpc/daemon/common_pb') const { Stat, Mount, DiffEnt...
/** * Copyright 2018 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 required by appli...
// project dependencies require('./bootstrap'); // include router import VueRouter from 'vue-router' Vue.use(VueRouter) // include vuex import Vuex from 'vuex' Vue.use(Vuex) const helpers = new Vue({ methods: { formatConsultants(consultants) { var fields = store.fields; var formattedConsulta...
// requiring readling and declaring 'rl' const readline = require("readline"); const rl = readline.createInterface(process.stdin, process.stdout); chooseGame(); async function chooseGame() { let gameChoice = await ask( "Hello there! I've got two super fun games for you to choose from! Enter 1 if you'd like me to...
/* $(function(){ function loadMovieDetail(imdb_id){ $("#movie_detail_holder").load("http://localhost/movies/movies/parse/" + imdb_id); } }) */ function updateResults(){ var data = { "rating" : $("#slider-range-rating").slider("values"), "length" : $("#slider-range-length").slider("values"), "year" : $("#sl...
/* exported add_option, show_options, hide, fixHelper */ /* jshint scripturl: true */ /* global XProfileAdmin, ajaxurl */ /** * Add option for the forWhat type. * * @param {string} forWhat Value of the field to show options for */ function add_option(forWhat) { var holder = document.getElementById(forWhat +...
import { NCMessage } from '../../base'; import { toast } from '../../../src'; import Uitls from './utils'; import deepClone from '../../public/deepClone'; // 获取表单所有数据 export function getAllFormValue(moduleIds) { if (typeof moduleIds === 'string') { let formData = this.state.form[moduleIds]; let data = { values...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _express = _interopRequireDefault(require("express")); var _fs = _interopRequireDefault(require("fs")); var _path = _interopRequireDefault(require("path")); var _ytdlCore = _interopRequireDefault(require...
"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...
// OpenPGP.js - An OpenPGP implementation in javascript // Copyright (C) 2018 ProtonTech AG // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3.0 of the License, or ...
const base_url = "https://api.football-data.org/v2/"; const api_key = "a5dc07eb545540e1ace41ab8e3392712"; const league_id = "2001"; const id = "CL"; const Standings = `${base_url}competitions/${league_id}/standings`; const tim = `${base_url}teams/` var fetchApi = url => { return fetch(url, { headers: { "X-...
var copTimeBegan = null, copTimeStopped = null, copStoppedDuration = 0, copStarted = null, copBehavior = [], copBehavior_two = []; var objectOne = ""; var objectTwo = ""; function setUpCop() { objectOne = document.getElementById("obj_one").value; objectTwo = document.getElementById("obj_two").va...
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } /** * @fileOverview The class of the size legend * @author sima.zhang * @author <NAME> */ var Util = require('../../util'); var Gl...
var d3Edge = {}; //________________________________________________________________________________________________ // Table //________________________________________________________________________________________________ d3Edge.table = function module() { var table, tbody, thead; function exports(_selection...
/* global __REDIAL_PROPS__ */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import triggerHooks from './triggerHooks'; import createMap from './createMap'; import createMapKeys from './util/mapKeys'; import getAllComponents from './getAllComponents'; function hydrate(renderProps) { ...
function Controller() { require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments)); this.__controllerPath = "homeRight"; arguments[0] ? arguments[0]["__parentSymbol"] : null; arguments[0] ? arguments[0]["$model"] : null; arguments[0] ? arguments[0]["__itemTemplate...
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import moment from 'moment'; import Select from 'react-select'; import 'react-select/dist/react-select.css'; import SelectTimeRange, { momentRange, TIME_RANGE_45_DAYS_AGO } from '../../components/SelectTimeRange'; import {ALL} fr...
import _ from 'lodash'; import Scheme from '../../models/Scheme'; import Node from '../../models/Node'; import Edge from '../../models/Edge'; import { getVal, setLocalVal, setGlobalVal } from './Stack'; import extension from './Extension'; import { HandlerError, BehaviorError, ParseConditionError, ParseRole...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ANDROID_RES_PATH = void 0; exports.configureAdaptiveIconAsync = configureAdaptiveIconAsync; exports.dpiValues = exports.createAdaptiveIconXmlString = void 0; exports.getAdaptiveIcon = getAdaptiveIcon; exports.getIcon = getIcon; expo...
'use strict' const format = require('util').format const isString = require('is-string') const includes = require('lodash.includes') const isUndefined = require('lodash.isundefined') const isObject = require('lodash.isplainobject') const isArray = require('lodash.isarray') const isFunction = require('lodash.isfunction...
"use strict"; var Spawn = require("./spawn"); var Snake = function Snake(){ Snake.super_.apply(this, arguments); this.positions = []; this.maxLength = Snake.DEFAULT_MAX_LENGTH; this._turning = null; this.index = -1; this.perks = {}; this.invulnerable = false; this.name = ""; this.color = 1; this.kill = 0; ...
const mocksCityMap = { Aceh: { center: { lat: 106.816666, lng: -6.200 }, population: 28547, }, "<NAME>": { center: { lat: 2.1153547, lng: 99.5450974 }, population: 84273, }, "<NAME>": { center: { lat: -0.7399397, lng: 100.8000051 }, population: 82738, }, Riau: { center: { lat...
var map = null; var cityCodes = {}; var circles = []; var oldWindow = null; var APIkey = "<KEY>"; function getCodes(){ $.ajax({ url:'./city_data.txt', async: false, success: function (data){ var json = JSON.parse(data); for (var i=0; i < json.codes.length; i++){ var obj = json.cod...
var _ = require("lodash"); var assert = require("assert"); var normalizer = require("./normalize"); var yaml = require("./yaml"); var Plugins = require("./plugins"); var Context = require("./context"); var Promise = require("bluebird"); var verror = require("verror"); var ProcessingDirective = require("./processingDire...
const Sequelize = require('sequelize'); const { QueryTypes } = require('sequelize'); const Op = require('sequelize').Op const Model = require('../models') const User = Model.user; const Client = Model.client; const Account = Model.account; const AccountType = Model.accountType; const AccountMovement = Model.accountMove...
import { NearestFilter, NoColors } from "three"; import { Texture } from "three"; import { FaceColors, MeshBasicMaterial } from "three"; import { ImageFileHeader, ImagePixelHeader, IMAGE_TYPE, TrackTextureIndex } from "../structs"; // TODO: Rewrite const renderTIMToCanvas = (buffer) => { var data = new DataView(buffe...
import React, {Component} from 'react'; import {View, Text, TouchableOpacity, Animated, Easing} from 'react-native'; import {Icon} from 'react-native-elements'; import Popup from '../Popup/Popup.component.js'; import Button from '../Button/Button.component.js'; import Theme from '../../resources/Theme.js'; import con...
var paper = require('paper'); //Attaches a canvas to a particular element //Takes width and height in options function createCanvas(element, options) { var canvas = document.createElement('canvas'); canvas.width = options.width || 100; canvas.height = options.height || 100; canvas.style.border = "1px s...
// Copyright 2017 Google Inc. // // 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 ...
import React, { useState } from "react"; import PropTypes from "prop-types"; import clsx from "clsx"; import { withStyles } from "@material-ui/core/styles"; import { ButtonGroup, Button, FormControl, MenuItem, Paper, Select, SvgIcon, Tab, Tabs } from "@material-ui/core"; export const styles = () => (...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import path from 'path'; import express from 'express';...
import * as utils from '../common/utils'; import vector from '../common/vector'; import Point from '../geometry/Point'; import VectorView from '../views/VectorView'; class LinkView extends VectorView { render() { this.vel.empty(); this.renderMarkup() .update(); return this; } upd...
const mongoose = require('mongoose'); const Store = mongoose.model('Store'); const User = mongoose.model('User'); const Review = mongoose.model('Review'); const fs = require('fs'); const Jimp = require('jimp'); const { v4: uuidv4 } = require('uuid'); const multer = require('multer'); const { body, validationResult } = ...
////////////////////////////////////////////////////////////////////////////////////////// // ___ _ ___ // // | | \/ | ) | | This software may be modified and distri- // // O- |- | | - | | |- -O bute...
import { createApp } from './app' import config from 'config' import { execute } from 'core/api/task' import * as localForage from 'localforage' import EventBus from 'src/plugins/event-bus' require('./service-worker-registration') // register the service worker const { app, router, store } = createApp() global.isSSR ...
import validator from 'stylelint-csstree-validator'; import ruleTester from './utils/tester.js'; const { rule, ruleName, messages } = validator; const css = ruleTester(rule, ruleName); const unknownAtrule = (atrule, line, column) => { return invalid(messages.unknownAtrule(atrule), line, column); }; const invalidPr...
var p = require('flow-parser'); var fs = require('fs'); var path = require('path'); const allData = {}; const flatTypes = {}; const typesStack = []; let level = 0; const graphData = []; const graphConnectionsTmp = {}; const tplLayout = data => ` <html> <head> <link rel="stylesheet" type="text/css" href="assets...
/** ******************************************************************************** SAPPHIRE_LIB contains all the share methods used by all the page. Index: 1 - ajaxCall 2 - drawChart 3 - drawLineChart 4 - drawStockChart 5 - getRangeDataPoints 6 - getRangeArray 7 - arrayContains 8 - arrayRemoveByValue 9 - setObjectL...
//CODIGO PARA DIRECTORES var id_oficina_crud="autogenerado";//ID VARIABLE PARA DIRECTORES var confirmContent = '<span>¿Estás seguro de que deseas eliminar el registro permanentemente?</span>'; //MENSAJE CUANDO SE ELMINE UN REGISTRO ///---------CODIGO PARA ACTORES-------/// var da...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import {LitElement, html, svg, css} from 'lit-element'; /** * `chops-signin` is a web component that manages signing into services using * client-side ...
'use strict'; // All of the Node.js APIs are available in the preload process. // It has the same sandbox as a Chrome extension. // const gkm = require('gkm'); const Store = require('electron-store'); const store = new Store(); const { Howl } = require('howler'); const { shell, remote, ipcRenderer } = require('electro...
var ldslider; ldslider = function(opt){ var root, i$, to$, i, that, handle, el, mouse, this$ = this; opt == null && (opt = {}); this.evtHandler = {}; this.opt = import$({ min: 0, max: 100, from: 0, to: 0, step: 1 }, opt); this.val = { to: 0, from: 0 }; this.root = root = type...
/* eslint-disable */ import CodeMirror from 'codemirror' import 'codemirror/mode/javascript/javascript' import 'codemirror/mode/xml/xml' import 'codemirror/mode/css/css' import 'codemirror/mode/markdown/markdown' import 'codemirror/mode/sass/sass' import 'codemirror/mode/stylus/stylus' import 'codemirror/mode/coffeesc...
/* # Copyright 2020 FundingBox Accelerator S.P. z.o.o. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "li...
import React, { useState, useEffect, useCallback } from 'react' import styled from '@emotion/styled' import { Dialog, DialogTitle, Typography, DialogContent, DialogActions, Button, makeStyles } from '@material-ui/core' import { useDispatch, useSelector } from 'react-redux' import { ReactComponent as Ques...
/* This file in the main entry point for defining Gulp tasks and using Gulp plugins. Click here to learn more. http://go.microsoft.com/fwlink/?LinkId=518007 */ var gulp = require('gulp'), child_process = require("child_process"), spawn = child_process.spawn, path = require('path'), seriate = req...
/** * @fileoverview Cytoscape layout function for DRAGNN graphs. * * Currently, the algorithm has 3 stages: * * 1. Initial layout * 2. Spring-based resolution * 3. Re-layout based on component order and direction * * In the future, if we propagated a few more pieces of information, we could * probably ...
import React from 'react'; import clsx from 'clsx'; import { makeStyles } from '@material-ui/core/styles'; import Radio from '@material-ui/core/Radio'; import RadioGroup from '@material-ui/core/RadioGroup'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import FormControl from '@material-ui/core/For...
const SHA256 = require('crypto-js/sha256'); const enchex = require('crypto-js/enc-hex'); const { SmartContracts } = require('./SmartContracts'); const { Transaction } = require('../libs/Transaction'); class Block { constructor(timestamp, refSteemBlockNumber, refSteemBlockId, prevRefSteemBlockId, transactions, previ...
import {DomNode} from "./shared/dom-node.js"; import {TaskDetails} from "./task-details.js"; class Task extends DomNode { taskTypeIcons = { 'task': 'fa-bookmark blue-icon', 'improvement': 'fa-chart-line green-icon', 'bug': 'fa-bug red-icon' }; taskPriorityIcons = { 'low': '...
var pymChild = null; var $next = null; var $start = null; var colors = { 'red1': '#6C2315', 'red2': '#A23520', 'red3': '#D8472B', 'red4': '#E27560', 'red5': '#ECA395', 'red6': '#F5D1CA', 'orange1': '#714616', 'orange2': '#AA6A21', 'orange3': '#E38D2C', 'orange4': '#EAAA61', 'orange5': '#F1C696', 'orange6': '#F...
#!/usr/bin/env node const fs = require('fs-extra'); const path = require('path'); const yargs = require('yargs'); const yaml = require('js-yaml'); const chalk = require('chalk'); const Profile = require('./lib/profile'); const Loader = require('./lib/inspect/checks/loader'); const Reporter = requir...
'use strict'; const _ = require('lodash'); const P = require('bluebird'); const bunyan = require('bunyan'); /** * ValidationError is expected to be thrown during event validation. */ const ValidationError = require('./error').ValidationError; /** * Represents an EventGate process status result. * Each ...
/* * ******************************************************************************************* * @author: <NAME> (Kyri123) * @copyright Copyright (c) 2021, <NAME> * @license MIT License (LICENSE or https://github.com/Kyri123/KAdmin-ArkLIN2/blob/master/LICENSE) * Github: https://github.com/Kyri123/KAdmin-ArkLIN2...
import * as React from 'react'; import PropTypes from 'prop-types'; import Button from '@mui/material/Button'; import { styled } from '@mui/material/styles'; import Dialog from '@mui/material/Dialog'; import DialogTitle from '@mui/material/DialogTitle'; import DialogContent from '@mui/material/DialogContent'; import {I...
export const DATA_FILTER_KEY = 'dataFilterKey' export const QUERY_TABLE_FILTER_DEFAULT = 'query_table_filter_default' export const EXPLORE_DATA_FILTER_DEFAULT = 'explore_data_filter_default' export const HOME_DATA_FILTER_DEFAULT = 'home_data_filter_default' export const QUERY_COUNTS = 'queryCounts' export const EXCLUDE...
// Fully-automated brain // @ts-check import * as Adventure from '/adventure.js'; import * as Character from '/character.js'; import * as Color from '/color.js'; import * as Entity from '/entity.js'; import * as Item from '/item.js'; import * as Logging from '/logging.js'; import * as Util from '/util.js'; import * as ...
// This function fires off the search for each of the inline dotnotations as they are selected and asyncronously adds // them to the list as they come in. Complete with pagination, adding "searching" and removing function loadInlineSearchResults(tmpDotNotation, page, limit) { var className = tmpDotNotation.replace...
/* * Copyright 1999-2021 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefaul...
window.onload = iniciar; //<EMAIL>, correo de la lic xd // Your web app's Firebase configuration var firebaseConfig = { apiKey: "<KEY>", authDomain: "metnumeriocos.firebaseapp.com", databaseURL: "https://metnumeriocos.firebaseio.com", projectId: "metnumeriocos", storageBucket: "metnumeriocos.appspot.com", ...
/* 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...
/* eslint-disable react/no-multi-comp, no-shadow */ import React from "react"; import { storiesOf } from "@storybook/react"; import { action } from "@storybook/addon-actions"; import styled, { keyframes } from "styled-components"; import SearchField from "."; const image = "https://picsum.photos/100?image=0"; const ...
/* eslint-disable */ // TODO: remove once refactored const d3 = require('d3-selection'); const flags = require('../helpers/flags'); const translation = require('../helpers/translation'); const formatting = require('./formatting'); const { dispatchApplication } = require('../store'); // Production const FLAG_SIZE = ...
function getVerticalPage(y) { if (y < 0x02) { return -1; } return Math.floor((y-2)/12); } var lakituPlaced = 0; function getRandomEnemyOnRegularLevel(clan, group, originalEnemy, x, y, nextEnemy, lastX, nextX, levelHasLakitu) { var randomEnemy = { object: null, x: null, y: null }; var objs = null; ...
import path from 'path' import { EventEmitter } from 'events' import WebSocket from 'ws' import { BaseDriver } from 'appium-base-driver' import toPairs from 'lodash.topairs' import DevtoolsBackend from 'devtools-backend' import OperaTVEmulator from './emulator' import logger from './logger' import commands from './co...
//Michael is the name of the guy function steph() { var tabid = "frogs"; var ourHistory = JSON.parse(localStorage.getItem(tabid + "-test") || "[]"); ourHistory.push({ time: Date.now(), eventType: "URL Changed", Identification: "asdf", nURL: "asdf" }); console.log(ourHistory); localStorage.setItem(tabid +...
import React from "react"; import { Link } from "gatsby"; import { graphql } from "gatsby" import Img from "gatsby-image" import Slideshow from '../components/slideshow'; import Layout from '../components/layout'; import styled from 'styled-components' const SectionContainer = styled.div` margin: 0 auto; max...
'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]; } } }...
var fs = require('fs'); var moment = require('moment'); var crypto = require('crypto'); var exec = require('child_process').exec; var execSync = require('child_process').execSync; module.exports = function(s,config,lang,io){ const { scanForOrphanedVideos } = require('./video/utils.js')(s,config,lang) ...
'use strict'; const fs = require('fs'); const os = require('os'); const net = require('net'); const crypto = require('crypto'); const util = require('util'); const path = require('path'); const { EventEmitter, once } = require('events'); const earl = require('@devsnek/earl'); const { DEFAULT_DFLAGS } = require('./flag...
#!/usr/bin/env node "use strict"; var _yargs = _interopRequireDefault(require("yargs")); var _randomSeed = _interopRequireDefault(require("random-seed")); var _syllables = _interopRequireDefault(require("./syllables.json")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj ...
const Music = require('../../struct/Music.js'); const config = require('../../../media/config.json'); const { errorLog } = require('../../functions/eventLoader.js'); const { objectMap, timeString } = require('../../struct/Util.js'); const { calculateQueueLength, calculateEllapsedTime } = require('../../struct/Music.js'...
'use strict' // Messenger API integration example // We assume you have: // * a Wit.ai bot setup (https://wit.ai/docs/quickstart) // * a Messenger Platform setup (https://developers.facebook.com/docs/messenger-platform/quickstart) // You need to `npm install` the following dependencies: body-parser, express, request. ...
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import {GROUP_ICON_SIZE} from 'chrome://emoji-picker/constants.js'; import {EmojiButton} from 'chrome://emoji-picker/emoji_button.js'; import {EmojiPicker...
global._mckay_statistics_opt_out = true; // Opt out of node-steam-user stats const optionDefinitions = [ { name: 'config', alias: 'c', type: String, defaultValue: './config.js' }, // Config file location { name: 'steam_data', alias: 's', type: String } // Steam data directory ]; const fs = require('fs'), ...
import { __decorate, __extends } from "tslib"; import { serializeAsTexture, serialize, expandToProperty, serializeAsColor3, SerializationHelper } from "@babylonjs/core/Misc/decorators"; import { Color3 } from "@babylonjs/core/Maths/math.color"; import { Tags } from "@babylonjs/core/Misc/tags"; import { Texture } from "...
'use strict'; /*global require*/ var defaultValue = require('terriajs-cesium/Source/Core/defaultValue'); var defined = require('terriajs-cesium/Source/Core/defined'); var destroyObject = require('terriajs-cesium/Source/Core/destroyObject'); var DeveloperError = require('terriajs-cesium/Source/Core/DeveloperError'); va...
// /** // * 洗牌函数来自于 http://stackoverflow.com/a/2450976 // * @returns {iconsay} 随机排序之后的数组 // */ function shuffle(array) { let currentIndex = array.length, temporaryValue, randomIndex; while (currentIndex !== 0) { randomIndex = Math.floor(Math.random() * currentIndex); currentIndex -= 1; temporaryValue = a...
//importamos el achivo de funciones y accedemos al objeto de la bd y funciones import tiendabd, {consultar} from './funciones.js'; /*Referenciamos a la base de datos tienda y a la tabla productos*/ let bd=tiendabd("Tienda", {productos:`++id,nombre, precio,imagen`}); //Arreglo donde se almacenarán los productos recupe...
#!/usr/bin/env node // VexFlow does NOT include the necessary dependencies. To run this script, install the following: // npm i -g dependency-cruiser // npm i -g graphviz-cli // Set the NODE_PATH environment variable to point to your global node_modules directory. // Run this script from the vexflow/ directory: /...
var check = false; function removeProduct(el) { window.setTimeout( function(){ el.parentElement.parentElement.remove(); if($(".product").length == 0) { if(!check) { $("#listOfProducts").html("<h1>No products!</h1>"); check = true; } ...
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(generator["throw"]...
var lunr = require('lunr'); var fs = require('fs'); module.exports = { /* * This instantiates the Lunr index and a container object for content */ init: function(docpad) { var config = docpad.config.plugins.lunr; if (typeof config === 'undefined' || typeof config.indexes === 'undefined') { cons...
'use strict'; const _ = require('lodash'); const { set, omit, isEqual, pick, prop, isArray, isObject, mapValues, differenceWith, differenceBy, } = require('lodash/fp'); const { generateTimestampCode, stringIncludes, hooks: { createAsyncSeriesWaterfallHook }, } = require('strapi-utils'); const...
/** * Created by Administrator on 2017/10/25. */ var magazineData = { magazineList: [], keyword: '', partCode: '', pageNum: 1, typeList: [] }; var url = window.location.href; loadEnv(function () { pushToHistory(url); $('.magazine-list-admonition-icon>img').attr('src', magazineImg()); i...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ var language_id = 1; var languages = []; var language = "uzbek"; var selected_surah = 1; var selected_title; var lang = { englis...
// Initializaton // demographic_pull = "poverty_rate" // demographic_code = "Poverty_Rate" // health_pull = "low_food_access" // health_code = "LFA_2019" // disease_pull = "diabetes_rate" // disease_code = "HCSDIAP_2016-2018" // var myMap = null; function updatemap(health_code){ // console.log("test") // console...
const {app, nativeImage, nativeTheme, Notification, dialog} = require("electron"), {existsSync, readFileSync, readdirSync, constants, access} = require("fs"), {join, resolve} = require("path"), {autoUpdater} = require("electron-updater"), os = require("os"), chmod = require("chmodr"), rimraf = r...
$(function(){ //Functions //cookies for the sidebar collapse function toggleSideBar(_this){ var b = $("#sidebar-collapse")[0]; var w = $("#cl-wrapper"); var s = $(".cl-sidebar"); if(w.hasClass("sb-collapsed")){ $(".fa",b).addClass("fa-angle-left").removeClass("fa-angle-right"); w.rem...
jQuery.fn.extend({ autoHeight: function () { function autoHeight_(element) { return jQuery(element) .css({ 'height': 'auto', 'overflow-y': 'hidden' }) .height(element.scrollHeight); } return this.each(function() { autoHeight_(this).on('input', function() { autoHeight_(t...
var __reflect = (this && this.__reflect) || function (p, c, t) { p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t; }; var __extends = this && this.__extends || function __extends(t, e) { function r() { this.constructor = t; } for (var i in e) e.hasOwnProperty(i) &&...
import React from "react"; import clsx from "clsx"; import ListSubheader from "@material-ui/core/ListSubheader"; import { fade, makeStyles, createMuiTheme } from "@material-ui/core/styles"; import AppBar from "@material-ui/core/AppBar"; import Toolbar from "@material-ui/core/Toolbar"; import IconButton from "@material-...
import React, { useState, useEffect } from "react"; import { Button, Typography, Modal, Form, Input, message, Space, Row, Col, Switch, Select, Tooltip, InputNumber, Divider, Popconfirm, Popover } from "antd"; import { EditOutlined, DeleteOutlined, PlusCircleOutlined, DownloadOutlined, Fi...
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...
import React, {useEffect, useContext} from 'react' import styles from './experience.module.scss' import {gsap, Bounce, Power2} from "gsap" import themes from '../../layouts/themes.module.scss' import {GlobalStateContext} from '../../context/globalContextProvider' let t1, t2, t3, t4, t5, t6, t7, t8, t9, t10 = {} expor...
import React, { useState, useEffect, useCallback, useContext, useRef } from 'react'; import { notification, Collapse, Button, Modal, Input, Select, Tag, Divider, Spin } from 'antd'; import { PlusOutlined, CloseCircleOutlined } from '@ant-design/icons'; import { Pages, getBreadcrumbs } from '../components/Breadcrumbs'; ...
import React, { useEffect, useState } from 'react'; import { StyleSheet, Text, View, Image, Button, ImageBackground, TouchableOpacity, TextInput, ActivityIndicator } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import Svg, { Line, Path, Circle } from 'react-native-svg'; import { Icon }...
import ora from 'ora'; import axios from 'axios'; import bytes from 'bytes'; import { tmpdir } from 'os'; import request from 'request'; import archiver from 'archiver'; import retry from 'async-retry'; import EventEmitter from 'events'; import { prompt } from 'inquirer'; import ProgressBar from 'progress'; import conc...