code
stringlengths
2
1.05M
'use strict'; const path = require('path'), url = require('url'); const express = require('express'), passport = require('passport'); const KeycloakStrategy = require('../../src'); const userStore = {}; passport.serializeUser((user, done) => done(null, user.id)); passport.deserializeUser((id, done) => ...
// Copyright 2010 Stephen Schwink. All Rights Reserved. /** @fileoverview Include this file to define the KanaloaConnection class. Create instances of this class to communicate with the kanaloa server. @author kanaloa@schwink.net (Stephen Schwink) */ function stringTrim(str) { return str.replace(/^\s*/, ...
const path = require('path'); const webpack = require('webpack'); const WebpackDevServer = require('webpack-dev-server'); const cp = require('child_process'); const webpackConfig = require('../webpack/webpack.dev.config.js'); const cmds = { wind32: 'start', linux: 'xdg-open', darwin: 'open', }; let onceMark = ...
(function(root) { root.App = { // A component is a top level backbone view // and it gets automatically instantiated in main Components: {}, // coffee classes go here Views: {}, Models: {}, Collections: {}, Templates: {}, // awesome sauce Dispatch: _.clone(Backbone.Events) } ...
'use strict'; const VALUE_ATTR = 'aria-valuenow'; module.exports = { '@tags': ['progress'], 'is shown in `full` mode': (browser) => { browser.url(`${browser.launchUrl}/full`); browser.assert.cssProperty('.progress', 'display', 'block'); browser.end(); }, 'is hidden in `list` ...
function makeTimer() { var endTime = new Date("May 2, 2015 18:00:00 GMT"); var endTime = (Date.parse(endTime)) / 1000; var now = new Date(); var now = (Date.parse(now) / 1000); var timeLeft = endTime - now; var days = Math.floor(timeLeft / 86400); var hours = Math.floor((timeLeft - (days * ...
/** * System configuration for Angular samples * Adjust as necessary for your application needs. */ (function (global) { System.config({ paths: { // paths serve as alias 'npm:': 'node_modules/' }, // map tells the System loader where to look for things map: { // our app is within ...
var FeatureToggleRepo = require('../data/feature-toggle-repository'); exports.getAll = function(req, res) { FeatureToggleRepo().findAll(function (err, results) { if (err) { res.status(500).send('Something went wrong'); } else { res.json(results); } }); };...
import PropTypes from 'prop-types'; /* id SERIAL NOT NULL PRIMARY KEY, bar_id INT NOT NULL ordered_at TIMESTAMP NOT NULL */ export const RoundShape = PropTypes.shape({ id: PropTypes.number.isRequired, bar_id: PropTypes.number.isRequired, ordered_at: PropTypes.number.isRequired, });
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ retu...
/* eslint-env mocha */ /* eslint prefer-arrow-callback: "off"*/ /* eslint func-names: "off"*/ /* eslint no-underscore-dangle: ["error", { "allow": ["_id"] }]*/ /* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }]*/ /* eslint "import/no-unresolved": [0]*/ // Probar que al logearse cambie a board // P...
import axios from 'axios'; const axiosConfigured = axios.create() axiosConfigured.defaults.headers.common['Content-Type'] = 'application/json' axiosConfigured.defaults.headers.common['Accept'] = 'application/json' axiosConfigured.defaults.headers.put['Content-Type'] = 'application/json' axiosConfigured.defaults.header...
/** * Copyright 2017 aixigo AG * Released under the MIT license. * http://laxarjs.org/license */ import * as ng from 'angular'; import 'angular-sanitize'; import * as ax from 'laxar'; import * as patterns from 'laxar-patterns'; import * as moment from 'moment'; import Handsontable from 'handsontable'; import 'hand...
const express = require('express'); const app = express(); const config = require('./config/'); const server = require('http').createServer(app); const logger = config.logger; app.use(express.static(__dirname + '/public')); var https = require('https'); var httpsPort = 3443; // Setup HTTPS var options = { k...
// Nodejs express CRUD using mongodb server side app // This is from Zell Liew's great blog article // // https://zellwk.com/blog/crud-express-mongodb/ // const express = require('express') const bodyParser = require('body-parser') const MongoClient = require('mongodb').MongoClient // Grab the mlab MongoDB URI stri...
/* http://localhost:3000/articles/view */ exports.view = function(req, res) { var locals = { title: 'Articles', users: ['Article1', 'Article2', 'Article3'], pagename: 'awesome people locals', params: JSON.stringify(req.params) }; /*No articles DIR is created inside view DIR, ...
/* global describe it */ import {expect} from 'mai-chai'; import React from 'react'; import radium from 'radium'; /******************************************************************************/ class Foo extends React.Component { render () { return <div>Hello</div>; } } describe ('Native Node 5 classes', (...
/** * @fileOverview Test suite for lib/posting_process.js * **/ /* global describe, it, expect, spyOn, g */ describe("Posting Process Suite", function() { var pp = g.postingProcess, Privly = g.Privly, sendResponse; beforeEach(function() { pp.postingApplicationTab = { close: function() { r...
(function() { var compileDep, cscript, fs, packCSS, packJS, path, serve, stitch, stylus; fs = require('fs'); stylus = require('stylus'); path = require('path'); cscript = require('coffee-script'); stitch = require('stitch'); serve = function() { var connect, http, server; connect = require('connec...
var fs = require('fs-extra'); var path = require('path'); var assert = require('assert'); var shell = require('shelljs'); var glob = require('glob'); var diffChars = require('diff').diffChars; var _ = require('lodash-node/modern'); var nonwhitespace = /\S/; function read(filename) { return filename ? fs.readFileSyn...
function solve(){ if (!Array.prototype.find) { Array.prototype.find = function(predicate) { if (this === null) { throw new TypeError('Array.prototype.find called on null or undefined'); } if (typeof predicate !== 'function') { throw new TypeError('predicate must be a function'); ...
document.addEventListener("DOMContentLoaded", function(){ var tabCountText = document.getElementById('tabCount'); var tabCount = chrome.tabs.query({'currentWindow':true}, function(tabs){ tabCountText.innerHTML = "You have " + "<span class='tab-number'>" + tabs.length + "</span>" + " tabs open."; }); });
"use strict" var servers = { iceServers: [ {url:'stun:stun.l.google.com:19302'}, {url:'stun:stun1.l.google.com:19302'}, {url:'stun:stun2.l.google.com:19302'}, {url:'stun:stun3.l.google.com:19302'}, {url:'stun:stun4.l.google.com:19302'} ] }; var ChatClient = function (user...
import 'babel-polyfill' import argv from './argv' import checkOptions from './options' import { install, prepare } from './dependencies' import createFiles from './files' import clear from 'clear' export default async function wooo() { const args = await argv() const options = await checkOptions(args) const prep...
import React, { useState, useEffect } from 'react'; import { FormattedMessage } from 'react-intl'; import { pick } from 'lodash'; import SweetInput from '../../components/SweetInput/SweetInput'; import FormGroup from '../../components/Form/FormGroup'; import Button from '../../components/Button/Button'; import ErrorMes...
// Tests are placed alongside files under test. // This file does the following: // 1. Sets the environment to "test" so that // dev-specific babel config in .babelrc doesn"t run. // 2. Disables Webpack-specific features that Mocha doesn"t understand. // 3. Registers babel for transpiling our code for testing. // T...
// params.js (function() { 'use strict'; angular.module('app.core') .factory('Params', Params); // handle parameters across controllers Params.$inject = []; function Params() { var service = { employee: null // employee parameter for directory to map }; ...
app.service('ProfilesService', function($http, BASE_URL, AuthService) { var profileService = {}; profileService.saveProfile = function(profile) { return $http({ method: "POST", url: BASE_URL + "/v1/profiles", headers: { "Authorization": "Bearer " + AuthService.getToken() ...
"use strict"; exports.__esModule = true; exports["default"] = void 0; var StringUtil = { setFirstToUpperCase: function setFirstToUpperCase(msg) { if (!msg) { return msg; } return msg.charAt(0).toUpperCase() + msg.substring(1); } }; var _default = StringUtil; exports["default"] = _default; //# so...
function hello(){"use strict";return"world"}
module.exports = function (grunt) { var _ = grunt.util._; var shellOpts = { stdout: true, failOnError: true }; var fileFilter = function () { var excludes = _.toArray(arguments); return function (file) { return !_.some(excludes, function (exclude) { return exclude.test(file); }); } } grunt.i...
$(document).ready(function() { var kkeys = [], konami = "80,82,69,69,78,70,79,82,83,65,84,65,78"; $(document).keydown(function(e) { kkeys.push( e.keyCode ); if ( kkeys.toString().indexOf( konami ) >= 0 ) { $(document).unbind('keydown',arguments.callee); // do something funny ...
import React, { Component } from 'react'; import { View, Text, Image, TextInput, ScrollView, StyleSheet, TouchableOpacity } from 'react-native'; import _ from 'lodash'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Toast from '@remobile/react-native-toast'; impo...
'use strict'; /*global require, __dirname, module */ // sets up, and initializes authentication var LocalStrategy = require('passport-local').Strategy, etc = __dirname + '/../../../etc/', config = require(etc + 'config'), passport = require('passport'), session = require('express-session'), users ...
'use strict'; /** * @ngdoc function * @name eventifyApp.controller:EditeventCtrl * @description * # EditeventCtrl * Controller of the eventifyApp */ angular.module('eventifyApp') .controller('EditeventCtrl', function ($scope, EventService, $location, $filter) { angular.element(document).ready(function () {...
Template.task_kanplz.task = function () { return TaskCollection.current(KanplzTask.TASK_NUM); }; Template.task_kanplz.results = function () { return KanplzTask.computeList(TaskCollection.current(KanplzTask.TASK_NUM)); }; Template.task_kanplz.inputError = function () { var task = TaskCollection.current(KanplzTask.T...
var webpackConfig = require('./webpack.config.js') delete webpackConfig.entry // karma.conf.js module.exports = function (config) { config.set({ browsers: ['PhantomJS'], frameworks: ['jasmine'], // this is the entry file for all our tests. files: ['test/index.js'], // we will pass the entry file ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; // Include required modules var browser = require("../ui/browser"); var downloads = require("../../...
define( function() { return [ function( domGraph ) { var s = []; for( var i = 1; i < 1000 ; i += 1 ) { s.push( Math.pow( 10, - i / 100 ) ); s.push( 2 * Math.pow( 10, ( - i / 1000 ) ) ); } var graphinstance = new Graph( domGraph, { wheel: { type: 'plugin', plugin: 'zoom', optio...
import * as selectors from '../src/selectors' describe('selectors', () => { it('includes selector to get session data', () => { const state = { session: { data: { token: 'abcde' } } } const result = selectors.getSessionData(state) expect(result).toEqual({ token: 'abcde' }) }) ...
/* Native JavaScript for Bootstrap 4 | Button ---------------------------------------------*/ import querySelector from 'shorter-js/src/selectors/querySelector'; import bootstrapCustomEvent from '../util/bootstrapCustomEvent-v4'; import dispatchCustomEvent from '../util/dispatchCustomEvent'; // BUTTON DEFINITION // =...
import PropTypes from 'prop-types'; import { createElement, PureComponent } from 'react'; import cx from 'classnames'; import omit from 'boundless-utils-omit-keys'; import uuid from 'boundless-utils-uuid'; const isFunction = (x) => typeof x === 'function'; /** Radio is implemented as a "controlled input", meaning it...
var mongo = require("mongodb"), redis = require("redis"), config = require("../config"); var redis_client = redis.createClient(config.REDIS_PORT, config.REDIS_HOST); redis_client.auth(config.REDIS_PSWD); redis_client.on("connect", function () { "use strict"; console.log("Connected Redis"); }); var m...
function FilterFactory() {} /** * create a filter for the filter library * @param type * @return filter object */ FilterFactory.prototype.createFilter = function(type) { switch (type) { case "includeFavoritesOnly": return FilterFactory.prototype.filterOutFavorites; break; ...
//render jade file without addition variables function render_jade(file) { return function(req, res, next) { res.render(file); }; }; module.exports = render_jade;
/* * MASK server * */ /** * Module dependencies. */ var tacitServer = require('tacit-server'); /* * CONFIGS - The Configurations */ config = require('../configs/server.js'); var configs = config.configs, server_prefix = configs.server_prefix || 'MASK'; tacitServer.setConfigs(configs); /* * ROUTER - The Router */ var ro...
const a11yCSS = require('./a11y.css') module.exports = function (eleventyConfig) { eleventyConfig.setUseGitIgnore(false) eleventyConfig.addPlugin(a11yCSS) eleventyConfig.addPassthroughCopy('site/static') eleventyConfig.addPassthroughCopy({ 'css/a11y-en_errors-only.css': 'static/css/a11y-en_errors-only.cs...
'use strict'; module.exports = function(grunt) { require('time-grunt')(grunt); // Project Configuration grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), watch: { js: { files: ['gruntfile.js', 'application.js', 'lib/**/*.js', 'test/**/*.js'], options: { liverelo...
'use strict' const path = require('path'), db = require(path.resolve('./config/lib/sequelize')), models = db.models, response = require('../utils/response'), winston = require('winston'), sequelize = require('sequelize'); const Joi = require("joi"); const moment = require("moment"); const async = require("a...
'use strict'; var Tile = require('./Tile'); var Rules = require('./Rules'); var CubeCoords = require('./CubeCoords'); var Coords = require('./Coords'); var Cost = require('./Cost'); var Config = require('./Config'); var Stream = require('./Stream'); var Q = require('./Q'); var WebComponent = require('./WebComponent');...
'use strict'; exports.seed = function(knex) { return knex('users').insert([{ id: 'f42723e2-af37-475f-9d81-ac27d9b8c57e', name: 'Bruce Wayne', status: 'corrector-entre', email: 'bruce@wayne.com', password: '$2a$10$fvDkXPmfbi9NUhhBHox7kexVJoTU5tvma2W1FVcajgypqj50C.0Fu' // batman75 }, { id: '...
// COMMENT_START /* eslint no-const-assign:0 */ // COMMENT_END const noop = () => { } test('Import List', () => { // WORKSHOP_START // Import Immutable List // hint: { List } // WORKSHOP_END // FINAL_START const { List } = require('immutable') // FINAL_END expect(List) .toBeDefined(); }); test('Cr...
var koa = require('koa'); var hbs = require('..'); var assert = require('assert'); var request = require('supertest'); var testApp = require('./app'); describe('without required options', function () { it('should throw an error when viewPath is not set', function () { assert.throws(function () { hbs.create().mid...
var ready; $(document).ready(function() { $('#menubutton').show(); $('#menu').hide(); $('a#menubutton').click(function (e) { e.preventDefault(); $('div#menu').toggle('slide'); }); });
'use strict'; // Module dependencies const glob = require('glob'); const os = require('os'); const compose = require('./lib/compose'); const METHOD_ENUM = ['get', 'post', 'put', 'delete', 'patch']; function loadRouter(app, root, options) { const opt = options || {}; glob.sync(`${root}/**/*.js`).forEach((file) ...
import { FB_STATUSES, SET_FB_STATUS } from './actions' //return { ...state, visibilityFilter: action.filter } export const facebook_status = (state = FB_STATUSES.LOADING, action) => { switch (action.type) { case SET_FB_STATUS: return action.status default: return sta...
export function update(game) { if(game.state.inGame) { game.setState({ currentScore: game.state.currentScore + game.state.partySquare[0].points }); } } export function updateTopScore(game, firebase) { updateLocalTopScore(game); checkForNewGlobalTopScore(game, firebase); } function updateLocalTop...
var mkdirp=require("../"),path=require("path"),fs=require("fs"),test=require("tap").test;test("return value",function(t){t.plan(4);var x=Math.floor(Math.random()*Math.pow(16,4)).toString(16),y=Math.floor(Math.random()*Math.pow(16,4)).toString(16),z=Math.floor(Math.random()*Math.pow(16,4)).toString(16),file="/tmp/"+[x,y...
/* Axis Labels Plugin for flot. http://github.com/markrcote/flot-axislabels Original code is Copyright (c) 2010 Xuan Luo. Original code was released under the GPLv3 license by Xuan Luo, September 2010. Original code was rereleased under the MIT license by Xuan Luo, April 2012. Improvements by Mark Cote. Permission i...
'use strict'; /* Controllers */ function NavigationCtrl ($scope, $location) { $scope.isCurrentPath = function (path) { return $location.path() == path; }; } function SwitchListCtrl($scope, $http, $location, Switch) { $scope.switches = Switch.query(); $scope.editSwitch = function (switchId) { ...
import Login from './_Login'; export default Login;
var load = function(url, func) { document.getElementById("demo").innerHTML = "Loading..."; window.chttp = new XMLHttpRequest(); window.chttp.onreadystatechange = function() { if (this.readyState == 4) { try { func(); } catch(err) { ...
version https://git-lfs.github.com/spec/v1 oid sha256:60a176662428fdd2af14427b2eb38156563e4bbc1281d701c76016940deaefda size 1130
// https://leetcode.com/problems/implement-queue-using-stacks/#/description /** * Initialize your data structure here. */ var MyQueue = function () { this.data = []; }; /** * Push element x to the back of queue. * @param {number} x * @return {void} */ MyQueue.prototype.push = function (x) { this.data.push(...
'use strict'; // Dependencies. var angular = require('angular'); // App. var app = angular.module('formulate'); // Controller. function FormulateFileUploadController($scope) { // This is a trick to force Angular to render the file input again (thereby clearing the selection). this.uploadResetList = [{}]; ...
var here = require('kcd-common-tools/utils/here'); var _ = require('lodash'); module.exports = function(defaultConfig) { return _.merge(defaultConfig, { output: { library: 'angularScopeTypes', libraryTarget: 'umd' }, externals: { angular: 'angular', 'api-check': { root: 'ap...
#!/usr/bin/env node import './commander.js' import config from '../src/utils/config.js' import wd from '../src/wd' import proxy from '../src/proxy' import Promise from 'bluebird' console.log('starting Proxy and WebDriver servers...') Promise .all([ Promise.fromCallback(cb => wd.listen(config.wd.port, cb)) ...
const errors = require('./custom-errors.js'); module.exports = (knex) => { const saveRecipe = async (user_id, recipe_id, categoryName = undefined) => { const recipe = { user_id, recipe_id }; if(categoryName){ const category = await knex('categories').first('id').where('name', categoryName); reci...
search_result['447']=["topic_00000000000000DC_vars--.html","RandomHelper Fields",""];
/* * Guerilla * Copyright 2015, Yahoo Inc. * Copyrights licensed under the MIT License. * * Router for all worker endpoints. */ var router = require('express').Router(); var path = require('path'); var request = require('request'); var config = require(path.join(__rootdir, 'lib', 'config')); var workers = []; c...
angular.module('socialNetwork.newsFeed.feed', []) .factory('feed', [ '$http', '$q', 'BASE_URL', function($http, $q, BASE_URL) { function latest(pageSize) { pageSize = pageSize || 10; var deferred = $q.defer(); ...
import { getContent } from '../../src/utils/file'; function parser(prefix, content) { return content .replace(/\r\n/g, '\n') .split('\n') .filter((line) => line.startsWith(prefix)) .map((line) => ({ type: 'ImportDeclaration', source: { type: 'Literal', value: line.substrin...
import React, { Component } from "react"; import { observer, inject } from "mobx-react"; import AddIcon from '@material-ui/icons/Add'; import CreateBlogAction from './Actions/createBlog'; import BrowserToolsAction from './Actions/browserTools'; import BrowserBooksAction from './Actions/browserBooks'; import SignInActio...
define( [ '../src/buildstatusDirective' ], function (buildstatusDirective) { 'use strict'; describe('<build-status />', function () { beforeEach(function () { }); afterEach(function () { }); it('should pass', function () { buildstatusDirective.should.n...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.5.0 (2020-09-29) */ (function () { 'use strict'; ...
module.exports = require( './config/karma.conf.js' );
export default { name: 'MRWidgetLocked', props: { mr: { type: Object, required: true }, }, template: ` <div class="mr-widget-body mr-state-locked"> <span class="state-label">已锁定</span> 这个合并请求正在合并中, 在这个过程中合并请求将被锁定并无法关闭。 <i class="fa fa-spinner fa-spin" aria-hidden="true"...
var exec = require('child_process').exec; exec('NODE_ENV=production PORT=80 grunt > grunt.log', function (error, stdout, stderr) { console.log('stdout: ' + stdout); console.log('stderr: ' + stderr); if (error !== null) { console.log('exec error: ' + error); } });
/*! * Clean Blog v1.0.x (http://startbootstrap.com/template-overviews/clean-blog) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ // Navigation Scripts to Show Header on Scroll-Up jQuery(document).ready(function($) { var MQL...
const chai = require("chai"); const sinon = require("sinon"); const sinonChai = require("sinon-chai"); chai.use(sinonChai); chai.config.includeStack = true; global.expect = chai.expect; global.should = chai.should(); global.sinon = sinon;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* Tabulator v4.8.3 (c) Oliver Folkerd */ var Ex...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['2267',"Tlece.Recruitment.Models.RecruitmentPlanning Namespace","topic_0000000000000692.html"],['2306',"ApplicantListResponseDto Class","topic_00000000000007C4.html"],['2307',"Properties","topic_00000000000007C4_prop...
search_result['1343']=["topic_0000000000000328.html","tlece_Company.ReferralCode Property",""];
// https://leetcode.com/problems/sum-of-two-integers/?tab=Description /** * @param {number} a * @param {number} b * @return {number} */ var getSum = function (a, b) { var sum = a ^ b; var carry = (a & b) << 1; if (carry !== 0) { sum = getSum(sum, carry); } return sum; }; console.log(`1+2=${getSum(1,...
/** * Created by liulin on 2016/12/23. */ ES.MapView.PopMarkerInfo = ES.Common.Pop.extend({ // 车辆列表构造函数 initialize: function (oParent, oBus) { this.oBus = oBus; this.cContentCls = 'business-type-' + this.oBus.Id; // data this.aoList = [ {'label': '工地信息', 'conte...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'iframe', 'cs', { border: 'Zobrazit okraj', noUrl: 'Zadejte prosím URL obsahu pro IFrame', scrolling: 'Zapnout posuvníky', title: 'Vlastno...
google.maps.event.addDomListener(window, "load", function () { "use strict"; // example 1 var map1 = new google.maps.Map(document.getElementById("map1"), { zoom: 0, center: new google.maps.LatLng(0, 0), mapTypeId: google.maps.MapTypeId.SATELLITE }); new google.maps.Raphael...
'use strict'; import alt from '../alt'; import ResourcesService from '../services/resources'; /* * Load all initial data here */ function fetchData (service, successAction, failAction, done) { service.fetch() .then((data) => { successAction(data); done(); }) .catch((err) => { ...
/** * dom storage adapter * === * - originally authored by Joseph Pecoraro * */ // // TODO does it make sense to be chainable all over the place? // chainable: nuke, remove, all, get, save, all // not chainable: valid, keys // Lawnchair.adapter('dom', { // ensure we are in an env with localStorage ...
(function (global, factory) { if (typeof define === "function" && define.amd) { define([], factory); } else if (typeof exports !== "undefined") { factory(); } else { var mod = { exports: {} }; factory(); global.formConfig = mod.exports; } })(typeof globalThis !== "undefined" ? glob...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Geosuggest = f...
define(["exports","./when-54335d57"],function(t,n){"use strict";t.GeometryAttributes=function(t){t=n.defaultValue(t,n.defaultValue.EMPTY_OBJECT),this.position=t.position,this.normal=t.normal,this.st=t.st,this.bitangent=t.bitangent,this.tangent=t.tangent,this.color=t.color}});
typeof window !== "undefined" && (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Hls"] = f...
/** * Swiper 7.0.8 * Most modern mobile touch slider and framework with hardware accelerated transitions * https://swiperjs.com * * Copyright 2014-2021 Vladimir Kharlampidi * * Released under the MIT License * * Released on: October 4, 2021 */ import Swiper from './core/core.js'; export { default as Swiper, ...
import { W as WidgetBehavior, u as devMode, w as warn, H as hideEffect } from './index-99934d20.js'; let CUS_VAL_COUNT = 0; class ValidatorBehavior extends WidgetBehavior { static get params() { return { primary: true, linkValue: false, linkHostValue: false, }; } init() { const { ...
/*! UIkit 3.2.6 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define('uikit', factory) : (global = global || self, g...
/** * * Get the element on the page that currently has focus. The element will be returned as a WebElement JSON object. * * @returns {String} A WebElement JSON object for the active element. * * @see https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/element/active * @type protocol * ...
var mongoose = require('mongoose'), Schema = mongoose.Schema; var picklistSchema = new Schema({ name: { type: String, required: true, unique: true, trim: true }, createuser: { type: Schema.ObjectId, ref: 'userprofiles' } }); module.exports = mongoose.model('picklist', picklistSchema)...
var assert = require('assert') exports.createTypeArray = function (type) { if (typeof type === 'string') type = [ type ] return type } exports.ownProperty = function (obj, propertyName) { var properties = [] , property for (var i in obj) { properties.push(i) } while (property = properties.pop...
"use strict"; var _Object$create = require("babel-runtime/core-js/object/create")["default"]; var _getIterator = require("babel-runtime/core-js/get-iterator")["default"]; var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"]; var _tokenizerTypes = require("../tokenizer/typ...