text
stringlengths
3
1.05M
import React,{Component} from 'react'; import PrivacyComponent from '../Components/PrivacyComponent' class PrivacyContainer extends Component { render (){ return( <PrivacyComponent /> ) } } export default PrivacyContainer;
/* * 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 i = 4 + options.other_options; function remove_choices(e) { e.preventDefault(); $(this).closest("div.row").remove(); ...
import * as React from 'react'; import ReactDOM from 'react-dom'; import {getSchemeAndHttpHost, moneyFormat} from "../../utils"; import Cleave from "cleave.js/react"; import { TIPO_PAGO } from "../../constants"; const SI_REQUIERE_FACTURA_DEFAULT = 1; const NO_REQUIERE_FACTURA_DEFAULT = 0; const CargaDeComprobanteDePag...
module.exports={A:{A:{"2":"J D E F A B rB"},B:{"1":"M N O P Q R S V W X Y Z a b c d e f g T h H","2":"C K L G"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I i J D E F A B C K L G M N O j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB hB NB iB OB PB U QB RB SB TB UB VB WB XB YB ZB aB bB cB dB P Q R jB S V W X Y...
for n in range(1,6): print(n)
# Persimmon imports from persimmon.view.blackboard import BlackBoard, Blocks # MYPY HACK from persimmon.view.util import PlayButton, Notification # Kivy imports from kivy.app import App from kivy.config import Config from kivy.factory import Factory from kivy.properties import ObjectProperty # Kivy Widgets from kivy.u...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
import { Action } from "../../internal/Action.js"; import { Qualifier } from "../../internal/qualifier/Qualifier.js"; import { toFloatAsString } from "../../internal/utils/toFloatAsString.js"; /** * @extends SDK.Action * @memberOf Actions.Transcode * @description Controls the keyframe interval of the delivered video...
exports.get_app = (ref_fb, ref_fb_admin, admin_firestore, admin_real_time_db) => { const express = require('express') const cookieParser = require('cookie-parser') const helmet = require('helmet') const app = express() const p_get_secret = require('../model/get_secret').p_get_secret(admin_firestore) ...
import React from "react" import { FormattedMessage } from "react-intl" import { FaTimes } from "react-icons/fa"; class Donate extends React.Component { constructor(props) { super(props); this.state = { shown: true } } toggleShown() { this.setState({ shown: !this.state.shown });...
from .checksum import Checksum from .cid import UbxCID from .types import Fields # TODO: Flag/State that shows whether frame is fully constructed and can be sent to module # TODO: True for Action Frames, which are typically small and have only a selector value # TODO: True for frames that have been constructed from a...
module.exports = function pipelines(defaults){ defaults = defaults || {}; var EventEmitter = require('events').EventEmitter, async = require('async'), util = require('util'), extend = require('deep-extend'), shortid = require('shortid'), _slice...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // Aplicando o princípio LSP - Liskov substitution Principle
define('client/helpers/app-version', ['exports', 'client/config/environment', 'ember-cli-app-version/utils/regexp'], function (exports, _environment, _regexp) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.appVersion = appVersion; function appVersion(_, hash = {}) ...
import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import Table from './table'; import Selection from './selection'; const { selection: __selection__, onSelect: __onSelect__, ...restPropTypes } = Table.propTypes; class SmartTable extends PureComponent { static propTypes = { o...
"""Support for Tesla door locks.""" import logging from openpeerpower.components.lock import LockEntity from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) async def async_setup_entry(opp, config_entry, async_add_entities): """Set up the Tesla binary_sensors by config_entry....
import React from "react"; function TodoItem(props) { const completedStyle = { fontStyle: "italic", color: "grey", textDecoration: "line-through", }; return ( <div className="todo-item"> <input type="checkbox" checked={props.item.completed} onChange={() => props.hand...
""" Policies and roles needed for meadowrun to use EC2 instances and access meadowrun resources from meadowrun-launched EC2 instances """ from __future__ import annotations from typing import Any import boto3 from meadowrun.aws_integration.aws_core import _get_account_number, _iam_role_exists from meadowrun.aws_int...
var EventEmitter = require('events').EventEmitter; var util = require('util'); var utils = require('../../util/utils'); var Composer = require('stream-pkg'); var net = require('net'); var Tracer = require('../../util/tracer'); var DEFAULT_CALLBACK_TIMEOUT = 10 * 1000; var DEFAULT_INTERVAL = 50; var MailBox = function(...
/** * Amazon Elastic Compute Cloud * <fullname>Amazon Elastic Compute Cloud</fullname> <p>Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster....
sap.ui.define(['sap/ui/core/mvc/Controller','sap/ui/unified/DateRange', 'sap/m/MessageToast'], function(Controller, DateRange, MessageToast) { "use strict"; var CalendarSingleIntervalSelectionController = Controller.extend("sap.ui.unified.sample.CalendarSingleIntervalSelection.CalendarSingleIntervalSelection", { ...
import Input from './Input.js' export default Input
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React from 'react'; import { MonitoringTimeseriesContainer } fr...
describe('A suite for config-API', function () { var map; var configJSON; beforeEach(function (done) { createDomMap(); new BKGWebMap.MapBuilder() .loadConfig(JSON.parse(mockConfigJSON)) .create(function (data) { // console.log(data); map ...
# Copyright 2014 PerfKitBenchmarker Authors. 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...
"""Support for VersaSense sensor peripheral.""" import logging from homeassistant.components.sensor import SensorEntity from . import DOMAIN from .const import ( KEY_CONSUMER, KEY_IDENTIFIER, KEY_MEASUREMENT, KEY_PARENT_MAC, KEY_PARENT_NAME, KEY_UNIT, ) _LOGGER = logging.getLogger(__name__) ...
export const audioAndVideoCommands = [ // Remove ffmpeg's console spamming '-threads', '2', '-loglevel', '8', '-hide_banner', // Redirect/Enable progress messages '-progress', 'pipe:3', // Set inputs // Map audio & video from streams '-i', 'pipe:4', '-i', 'pipe:5', '-map', '0:a', '-m...
#!/usr/bin/python # # Copyright 2018-2021 Polyaxon, 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 ...
__author__ = "<your@email.here>" from axi_driver import Driver REG_CONTROL = 0 << 2 REG_CLK_DIV = 1 << 2 REG_RGB0_COLOR = 2 << 2 REG_RGB1_COLOR = 3 << 2 REG_ST_CTRL = 4 << 2 REG_ST_COUNT = 5 << 2 REG_ST_PWM_LEN = 6 << 2 REG_ST_TRANS_LEN = 7 << 2 REG_VERSION = 8 << 2 #Set/Cl...
""" In this module, a dataset is built which will form the basis of the quantitative analyses. """ import cx_analysis.graph_nav as nav from cx_analysis.cx import Construction import collections import pandas as pd import numpy as np from tf_tools.tokenizers import tokenize_surface from tf_tools.formatting import book2...
const express = require('express') const path = require('path'); const fs = require('fs'); const ytdl = require('ytdl-core'); const Utils = require("./utils"); const app = express() const port = process.env.PORT || 3000 app.use('/data', express.static(path.join(__dirname, 'data'))); app.use(express.static(__dirname+...
const request_btn = document.getElementById("request-btn"); request_btn.addEventListener("click", this.generateAnimeQuotes.bind(this)); async function generateAnimeQuotes(){ const dataPromise = await this.getAnimeQuotes(); const cardList = document.getElementById("card-list"); cardList.innerHTML = null; cons...
module.exports = { NODE_ENV: '"production"', ENV_CONFIG: '"prod"', // BASE_API: '"https://api-prod"' // BASE_API: '"http://47.93.121.177:8080/app/mock/17/"' // BASE_API: '"http://localhost:8080/"' // BASE_API: '"http://47.93.121.177:8031/basic"' BASE_API: '"http://localhost:8080/task"' // BASE_API: '"...
# pyOCD debugger # Copyright (c) 2006-2015 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # 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...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.icon = void 0; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _extends() { _extends = Object.assign || function (tar...
/* artifact generator: C:\my\wizzi\v5\apps\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\v5\apps\wizzi-studio\wizzi\ittf\server\webpacks\material-ui-docs\src\components\ui\styles\withstyles.js.ittf utc time: Thu, 06 Dec 2018 17:50:06 GMT */ 'use strict'; ...
import React, { Component } from "react"; import { Field, reduxForm } from "redux-form"; // IDentical to connect Function of Redux import { Link } from "react-router-dom"; import { createPost } from "../actions"; import { connect } from "react-redux"; class PostNew extends Component { renderField = field => { co...
/** * Copyright (c) 2007-2015 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 2.1.1 */ ;(function (f) { "use strict"; "function" === typeof define && define.amd ? define(["jquery"], f) : "undefined" !== typeof module && module.exp...
module.exports = { // github username: required github: 'tkshill', // // everything below here is optional. by default, we pull most profile data from your github profile. // you can override that data here, as well as provide some additional account links below // // name - if not defined here, will defa...
/** * Copyright 2020 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, ...
const DatadogLogs = require('./lib/DatadogLogs'); class BunyanDatadog { constructor(config) { if (!config || !config.host || !config.port ) { throw new Error("bunyan-datadog requires a config object with host and port. See Readme for details"); } this.datadogClient = new DatadogLogs(config.port,c...
const router = require('express').Router(); const { getAllThought, getThoughtById, addThought, removeThought, updateThought, addReaction, removeReaction } = require('../../controllers/thought-controller'); router .route('/') .get(getAllThought) .post(addThought) router .route('/:id') .get(getThought...
(function() { 'use strict'; function TrafficService($http, $q) { var service = {}; var BING_MAPS = "http://dev.virtualearth.net/REST/V1/Routes/" service.getDurationForTrips = function(){ var deferred = $q.defer(); var promises = []; angula...
import unittest from unittest.mock import MagicMock from samsung_multiroom.service import REPEAT_ALL from samsung_multiroom.service import REPEAT_OFF from samsung_multiroom.service.tunein import TuneInPlayer def _get_player(): api = MagicMock() api.get_preset_list.return_value = [ { 'kind...
require('dotenv').config(); const AWS = require('aws-sdk'); const fs = require('fs'); const velocityMapper = require('amplify-appsync-simulator/lib/velocity/value-mapper/mapper'); const velocityTemplate = require('amplify-velocity-template'); const GraphQL = require('../lib/graphql'); const we_invoke_confirmUserSignup...
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test block processing. This reimplements tests from the bitcoinj/FullBlockTestGenerator used by the pu...
import { CustomCache } from './CustomCache'; import moment from 'moment'; const TIMESTAMP_KEY = '__TimedCache__TIMESTAMP'; class TimedCache extends CustomCache { lifetime = 0; constructor(lifetime) { super(); if (typeof lifetime !== 'number') { throw 'Lifetime argument needs to b...
import File from './File'; export default class Theme { constructor(value, { imgixHost, itemsRepo }) { this.value = value; this.imgixHost = imgixHost; this.itemsRepo = itemsRepo; } get primaryColor() { return this.value.primaryColor; } get lightColor() { return this.value.lightColor; ...
import React from 'react'; import { Layout, PageContainer } from 'components/layout'; import Zoom from 'react-reveal/Zoom'; import Fade from 'react-reveal/Fade'; import { H1, H2, H3, H4, H5, H6, A, P, Img, Video, Section, Block, Paragraph, Form, FormGroup, Button, Input, SectionBackground, } from 'com...
describe('flot', function() { describe('setRange', function() { var placeholder, plot; var options = { series: { shadowSize: 0, // don't draw shadows lines: { show: false }, points: { show: true, fill: false, symbol: 'circle' } ...
module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable('help_orders', { id: { type: Sequelize.INTEGER, allowNull: false, autoIncrement: true, primaryKey: true, }, student_id: { type: Sequelize.INTEGER, references:...
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
import React from 'react'; import { navigate } from '@reach/router'; import { isLoggedIn } from '../../utils/auth'; class PrivateRoute extends React.Component { render() { const { component: Component, location, ...rest } = this.props; if (!isLoggedIn()) { navigate(`/app/login`); return null; ...
const { glob } = require("glob"); const { promisify } = require("util"); const globPromise = promisify(glob); const USERS = require(`${process.cwd()}/models/users`) module.exports = { name: "ready", once: true, async execute(client) { // client.users.cache.forEach((user) => { // var userDB = USERS.findOne({ u...
import React from 'react'; import { Link } from 'gatsby'; import { ChevronLeft as LeftIcon } from '@styled-icons/boxicons-solid'; import { ChevronRight as RightIcon } from '@styled-icons/boxicons-solid'; import './index.scss'; let genPageList = (cur, last) => { const raw = [1, cur - 2, cur - 1, cur, cur + 1, cur + 2...
import os import pytest import fault from hwtypes import BitVector, Bit import magma as m from magma.testing import check_files_equal def test_memory_basic(): class test_memory_basic(m.Circuit): io = m.IO( raddr=m.In(m.Bits[2]), rdata=m.Out(m.Bits[5]), waddr=m.In(m.B...
importScripts("mediasource-worker-util.js"); // Note, we do not use testharness.js utilities within the worker context // because it also communicates using postMessage to the main HTML document's // harness, and would confuse the test case message parsing there. onmessage = function(evt) { postMessage({ subject: m...
"""argot URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
$(document).ready(function() { $("#intra-day-update").click(function() { $(".dimension-tabular-table").each(function(i, elt) { updateTableOrder($(elt), $("#intra-day-table-order")) }) }) // If order is already defined, set UI component and update var hashParams = parseHashParameters...
const { makeBenchmark, addTsBelt, addLodashFp, addRambda, addRamda, addRemeda, } = require('../utils') const input = [ [1, 9], [2, 8], [3, 7], [4, 6], [5, 5], [6, 4], [7, 3], [8, 2], [9, 1], ] module.exports = makeBenchmark( 'unzip', addTsBelt(tsBelt => { const { A, pipe } = tsBe...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }), 'Menu');
'use strict'; const fs = require('fs'); const os = require('os'); const si = require('systeminformation'); const NodeHelper = require('node_helper'); var log = (...args) => {} module.exports = NodeHelper.create({ start: function() { this.config = {}; this.timer = null; this.status = { ...
const os = require('os'); const path = require('path'); const fs = require('fs'); const cleanDirectory = require('./cleanDirectory'); const platformInfo = require('./platformInfo'); const createDirectories = {}; const ensureDirectory = (dir, clean) => { if (!createDirectories[dir]) { if (clean && fs.existsSync(d...
# -*- coding: utf-8 -*- # __author__ = chenchiyuan from __future__ import division, unicode_literals, print_function from django.db.models import Q class QuerysetMixin(object): @classmethod def get_by_unique(cls, **kwargs): try: instance = cls.objects.get(**kwargs) except Exceptio...
module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.006655,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.006655,"23":0,"24":0,"25":0,"26":0.006655,"27":0.006655,"28":0.01331,"29":0.006655,"30":0.019965,"31":0.006655,"32":0,"33":0.2662,"34":0,"35":0.006655,"36":0,"37":0,"3...
import Button from "./Button"; import React from "react"; import PropTypes from "prop-types"; import "./ButtonPanel.css"; class ButtonPanel extends React.Component { handleClick = buttonName => { this.props.clickHandler(buttonName); }; render() { return ( <div className="component-button-panel"> ...
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20141007 */ !function(a){"use strict";a(document).on("cycle-bootstrap",function(a,b,c){"carousel"===b.fx&&(c.getSlideIndex=function(a){var b=this.opts()._carouselWrap.children(),c=b.index(a);return c%b.length},c.next=function(){var a=b.reverse?-1:1;b.allowWrap===!1&&b...
from py_sexpr.terms import * from py_sexpr.stack_vm.emit import module_code res = block( "No document" , assign_star( "ps_Control_Category" , call( var('import_module') , "purescript_show_python.Control.Category.pure" ) ) , assign_star( "ps_Eff...
# Copyright 2016 The TensorFlow Authors. 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 applicable ...
var createError = require('http-errors'); var express = require('express'); var path = require('path'); var cookieParser = require('cookie-parser'); var logger = require('morgan'); import mongoose from 'mongoose'; import bodyParser from 'body-parser'; var indexRouter = require('./routes/index'); var usersRouter = requi...
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- __version__ = '1.55.8' # ----------------------------------------------------------------------------- import asyncio import concurrent.futures import socket import certifi import aiohttp import ssl import sys im...
require("dotenv").config() const webpack = require("webpack") module.exports = { webpack: (config) => { const env = { HOTJAR_ID: JSON.stringify(process.env.HOTJAR_ID), MIXPANEL_TOKEN: JSON.stringify(process.env.MIXPANEL_TOKEN), SENTRY_DSN: JSON.stringify(process.env.SENTRY_DSN), SHOPIFY_A...
const { exec } = require('child_process'); const fs = require('fs'); const fetch = require('node-fetch'); const downloadFile = async (url, path) => { const res = await fetch(url); const fileStream = fs.createWriteStream(path); await new Promise((resolve, reject) => { res.body.pipe(fileStream); res.body.o...
import streams from "../apis/streams"; import history from "../history"; import { SIGN_IN, SIGN_OUT, CREATE_STREAM, FETCH_STREAMS, FETCH_STREAM, DELETE_STREAM, EDIT_STREAM, } from "./types"; export const signIn = (userId) => { return { type: SIGN_IN, payload: userId, }; }; export const signO...
import React, { useState } from 'react'; import { Helmet } from 'react-helmet'; import { FaBars } from 'react-icons/fa'; import Layout from '../../components/layout'; import HybridCloud from '../../images/Hybrid/Hybrid Cloud.jpg'; import hybridIma from '../../images/Hybrid/HybridCloud.jpg'; import { TabContent, Tab...
import { Route, Switch } from 'react-router-dom'; import Home from './Home'; import Quote from './Quote'; import Calculator from './Calculator'; import Navigation from './Navigation'; export default function App() { return ( <div> <Navigation /> <Switch> <Route exact path="/" component={Home}...
from check_limits import * #Tester which is encapsulated instead of using multiple asserts class Test_Battery_OK(): def Tester(self, BMS_Object, Value_to_Test, expected_result): assert(BMS_Object.Battery_Status_Check(Value_to_Test) == expected_result) if __name__ == '__main__': #Object Initi...
ace.define("ace/mode/perl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/perl_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/folding/cstyle"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./perl_highlight_rul...
""" Resnet keras code. Use resnet to implement face recognition algo. """ from keras.models import Sequential from keras.optimizers import Adam from keras import layers from keras.models import Model from keras.layers import Dense, Dropout, Flatten, Conv2D, BatchNormalization, Activation, Input, MaxPooling2D def ide...
var site_url = "http://vivafelizapartamentos.com.br/"; $(document).ready(function() { var login = { beforeSend: function() { $(".lmask").show(); }, error: function(e) { }, success: function(success) { if (success.code == 200) $(".lm...
export default { "pages": { "root": { "id": "root", "pageUrl": "root", "name": "root", "children": [ "609103ee7f5b95001e5eb590", "609103ee7f5b95001e5eb592", "60924146542aaa001f91f84b" ] }, "609103ee7f5b95001e5eb590": { "id": "609103ee7f5b95001e5eb590", "name": "404", "pageUrl"...
var GpuShaders = {}; GpuShaders.bboxVertexShader = 'attribute vec3 aPosition;\n'+ 'uniform mat4 uMVP;\n'+ 'void main(){ \n'+ 'gl_Position = uMVP * vec4(aPosition, 1.0);\n'+ '}'; GpuShaders.bbox2VertexShader = 'attribute vec3 aPosition;\n'+ 'uniform mat4 uMVP;\n'+ 'uniform float u...
# -*- coding: utf-8 -*- # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe, json from frappe.model.document import Document from frappe import _ from frappe.desk.search import sanitize_searchfield ...
/** @jsx jsx */ import { jsx } from '@emotion/core'; import { useEffect, Fragment, useRef, useState, createContext, useContext } from 'react'; import { Button } from '@arch-ui/button'; export let type = 'embed'; let Context = createContext(null); export let Provider = Context.Provider; let Embed = ({ url }) => { ...
"use strict";(self.webpackChunk_elegantstack_gatsby_starter_flexiblocks=self.webpackChunk_elegantstack_gatsby_starter_flexiblocks||[]).push([[965],{5582:function(t,n,e){e(7378);var o=e(8945),l=e(3059),r=e(4332),i=e(256),a=e(4570),Z=e(6495);(0,a.Z)((function(t){var n=t.content,e=n.container,a=n.text,c=n.buttons;return(0...
/*** * Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC * Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms. * * Handles IndexedDB updates. * Only updates init IDBObjectStore if it gets new/first data. */ import * as stores from './stores'; import * as db fro...
'use strict'; const { MathMin, Set, Symbol, } = primordials; const { tokTypes: tt, Parser: AcornParser } = require('internal/deps/acorn/acorn/dist/acorn'); const privateMethods = require('internal/deps/acorn-plugins/acorn-private-methods/index'); const classFields = require('internal/deps/acorn-plugins/ac...
/** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may ...
/* @flow strict-local */ import React from 'react'; import type { Node } from 'react'; import Label from './Label'; import { openLinkEmbedded } from '../utils/openLink'; import { BRAND_COLOR, createStyleSheet } from '../styles'; type Props = $ReadOnly<{| label: string, url: URL, |}>; const componentStyles = cre...
/* * Copyright (c) 2020, Jeff Hlywa (jhlywa@gmail.com) * 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, * th...
"use strict";function registerSW(){"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(function(){console.log("Service Worker Registered")},function(e){console.log("Service Worker Registration Error: ",e)})}var connectionStatus=function(e){if(e){var n=document.getElementById("offlinealert");n&&...
//// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] {"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,Q...
import styled from 'styled-components'; export const Container = styled.div` margin-top: 4rem; background-color: #232129; padding: 0 0 3rem 0; `; export const BoxText = styled.div` display: flex; justify-content: center; padding: 3rem 0; `; export const Text = styled.h2` color: #FFF; ...
import styled from 'styled-components'; const Wrapper = styled.div` padding-bottom: 26px; label { margin-bottom: 1rem; line-height: 18px; display: block; } > div { border-radius: 4px; border: 1px solid #090300; } &.bordered { > div { border-color: red; } } > p { w...
/** * @module system-npm/utils * * Helpers that are used by npm-extension and the npm plugin. * This should be kept small and not have helpers exclusive to npm. * However, it can have all npm-extension helpers. */ // A regex to test if a moduleName is npm-like. var slice = Array.prototype.slice; var npmModuleReg...
var fs = require('fs'); var autoPush = require('../index.js'); var http = require('http'); var http2 = require('http2'); var ecstatic = require('ecstatic'); var st = require('st'); var h1proxy = require('./h1proxy.js'); var h2proxy = require('./h2proxy.js'); var options = { key: fs.readFileSync(__dirname + '/ssl/key...
(function() { var init, isMobile, setupBrowserDemo, setupHero, _Drop; _Drop = Drop.createContext({ classPrefix: 'tether' }); isMobile = $(window).width() < 567; init = function() { setupHero(); return setupBrowserDemo(); }; setupHero = function() { var $target, finalDropState, frameLen...
# validation utils for ast # TODO this really belongs in vyper/semantics/validation/utils from typing import Optional, Union from vyper.ast import nodes as vy_ast from vyper.exceptions import ArgumentException, CompilerPanic, StructureException def validate_call_args( node: vy_ast.Call, arg_count: Union[int, tup...
//index.js //获取应用实例 var app = getApp() Page({ data: { motto: '微信小程序尝鲜,地图定位', userInfo: {}, appInfo:{ logoUrl:'../../image/logo.png', title:'使用微信内置地图查看API定位' } }, onLoad: function () { var that = this that.setData({ appInfo:this.data.appInfo }) // 调用应用实例的方法获取全局数据 ...
import { createStepperFromConfig } from '../stepper/stepper'; import { activeStepSelector } from './selectors'; import { connect } from 'react-redux'; import steps from './event-program-steps'; import { changeStep } from './actions'; import { bindActionCreators } from 'redux'; const mapStateToProps = state => ({ a...