text
stringlengths
2
1.05M
module.exports = require('prop-types');
export const headers = { Accept: 'text/plain', }; const errorElem = document.querySelector('.error'); const clearError = () => { errorElem.textContent = ''; }; export function fetchThen(resp) { if (resp.ok) { clearError(); } else { console.error('fetch request failed: ', resp); errorElem.textContent = `A HTTP error occurred: ${resp.status} ${resp.statusText}.`; } }; export function fetchCatch(e) { console.error('fetch request error: ', e); errorElem.textContent = `An error occurred: ${e.toString()}`; }; export function playlistUpdates(onmessage) { const es = new EventSource('/playlist/updates'); es.onopen = clearError; es.onmessage = msg => { clearError(); onmessage(JSON.parse(msg.data)); }; es.onerror = e => { console.error('EventSource error: ', e); errorElem.textContent = 'The EventSource failed; unable to listen for playlist updates.'; }; }
import _account from './account.svg'; import _angleBottom from './angle-bottom.svg'; import _angleDown from './angle-down.svg'; import _angleEnd from './angle-end.svg'; import _angleLeft from './angle-left.svg'; import _angleRight from './angle-right.svg'; import _angleStart from './angle-start.svg'; import _angleTop from './angle-top.svg'; import _angleUp from './angle-up.svg'; import _bell from './bell.svg'; import _billing from './billing.svg'; import _calendar from './calendar.svg'; import _checkmark from './checkmark.svg'; import _checkmarkCircle from './checkmark-circle.svg'; import _cog from './cog.svg'; import _copy from './copy.svg'; import _download from './download.svg'; import _envelope from './envelope.svg'; import _exclamationCircle from './exclamation-circle.svg'; import _exclamationDiamond from './exclamation-diamond.svg'; import _exclamationTriangle from './exclamation-triangle.svg'; import _externalLink from './external-link.svg'; import _file from './file.svg'; import _filter from './filter.svg'; import _flag from './flag.svg'; import _globe from './globe.svg'; import _helpCircle from './help-circle.svg'; import _infoCircle from './info-circle.svg'; import _inputFile from './input-file.svg'; import _inputTime from './input-time.svg'; import _kbdArrowDown from './kbd-arrow-down.svg'; import _kbdArrowLeft from './kbd-arrow-left.svg'; import _kbdArrowRight from './kbd-arrow-right.svg'; import _kbdArrowUp from './kbd-arrow-up.svg'; import _kbdCapslock from './kbd-capslock.svg'; import _kbdCmd from './kbd-command.svg'; import _kbdDelete from './kbd-delete.svg'; import _kbdEject from './kbd-eject.svg'; import _kbdOption from './kbd-option.svg'; import _kbdReturn from './kbd-return.svg'; import _kbdShift from './kbd-shift.svg'; import _kbdSpace from './kbd-space.svg'; import _kbdTab from './kbd-tab.svg'; import _key from './key.svg'; import _lock from './lock.svg'; import _mimeArchive from './mime-archive.svg'; import _mimeAudio from './mime-audio.svg'; import _mimeCode from './mime-code.svg'; import _mimeData from './mime-data.svg'; import _mimeImage from './mime-image.svg'; import _mimeSystem from './mime-system.svg'; import _mimeText from './mime-text.svg'; import _mimeVideo from './mime-video.svg'; import _minus from './minus.svg'; import _minusCircle from './minus-circle.svg'; import _monitoring from './monitoring.svg'; import _paperclip from './paperclip.svg'; import _payment from './payment.svg'; import _pencil from './pencil.svg'; import _phone from './phone.svg'; import _plus from './plus.svg'; import _plusOrMinus from './plus-or-minus.svg'; import _redo from './redo.svg'; import _search from './search.svg'; import _server from './server.svg'; import _serverConfig from './server-config.svg'; import _serverIncident from './server-incident.svg'; import _sort from './sort.svg'; import _sortDown from './sort-down.svg'; import _sortUp from './sort-up.svg'; import _support from './support.svg'; import _tag from './tag.svg'; import _ticketing from './ticketing.svg'; import _times from './times.svg'; import _timesCircle from './times-circle.svg'; import _trash from './trash.svg'; import _undo from './undo.svg'; import _upload from './upload.svg'; import _user from './user.svg'; const MAP = { 'account': _account, 'angle-bottom': _angleBottom, 'angle-down': _angleDown, 'angle-end': _angleEnd, 'angle-left': _angleLeft, 'angle-right': _angleRight, 'angle-start': _angleStart, 'angle-top': _angleTop, 'angle-up': _angleUp, 'bell': _bell, 'billing': _billing, 'calendar': _calendar, 'checkmark': _checkmark, 'checkmark-circle': _checkmarkCircle, 'cog': _cog, 'copy': _copy, 'download': _download, 'envelope': _envelope, 'exclamation-circle': _exclamationCircle, 'exclamation-diamond': _exclamationDiamond, 'exclamation-triangle': _exclamationTriangle, 'external-link': _externalLink, 'file': _file, 'filter': _filter, 'flag': _flag, 'globe': _globe, 'help-circle': _helpCircle, 'info-circle': _infoCircle, 'input-file': _inputFile, 'input-time': _inputTime, 'kbd-arrow-down': _kbdArrowDown, 'kbd-arrow-left': _kbdArrowLeft, 'kbd-arrow-right': _kbdArrowRight, 'kbd-arrow-up': _kbdArrowUp, 'kbd-capslock': _kbdCapslock, 'kbd-command': _kbdCmd, 'kbd-delete': _kbdDelete, 'kbd-eject': _kbdEject, 'kbd-option': _kbdOption, 'kbd-return': _kbdReturn, 'kbd-shift': _kbdShift, 'kbd-space': _kbdSpace, 'kbd-tab': _kbdTab, 'key': _key, 'lock': _lock, 'mime-archive': _mimeArchive, 'mime-audio': _mimeAudio, 'mime-code': _mimeCode, 'mime-data': _mimeData, 'mime-image': _mimeImage, 'mime-system': _mimeSystem, 'mime-text': _mimeText, 'mime-video': _mimeVideo, 'minus': _minus, 'minus-circle': _minusCircle, 'monitoring': _monitoring, 'paperclip': _paperclip, 'payment': _payment, 'pencil': _pencil, 'phone': _phone, 'plus': _plus, 'plus-or-minus': _plusOrMinus, 'redo': _redo, 'search': _search, 'server': _server, 'server-config': _serverConfig, 'server-incident': _serverIncident, 'sort': _sort, 'sort-down': _sortDown, 'sort-up': _sortUp, 'support': _support, 'tag': _tag, 'ticketing': _ticketing, 'times': _times, 'times-circle': _timesCircle, 'trash': _trash, 'undo': _undo, 'upload': _upload, 'user': _user, }; // DEPRECATED: remove in v1.0.0 MAP['export'] = MAP['upload']; MAP['input-url'] = MAP['globe']; MAP['technical-change'] = MAP['server-config']; MAP['technical-incident'] = MAP['server-incident']; export default MAP;
import Highlighter from "../../components/highlighter"; const exampleRequest = ` GET https://api.vatcomply.com/currencies HTTP/1.1 `.trim(); const exampleResponse = ` { "EUR": { "name": "Euro", "symbol": "€" }, "USD": { "name": "US Dollar", "symbol": "$" }, "JPY": { "name": "Japanese Yen", "symbol": "¥" }, "BGN": { "name": "Bulgarian Lev", "symbol": "BGN" }, "CZK": { "name": "Czech Koruna", "symbol": "CZK" }, "DKK": { "name": "Danish Krone", "symbol": "DKK" }, "GBP": { "name": "British Pound", "symbol": "£" }, "HUF": { "name": "Hungarian Forint", "symbol": "HUF" }, "PLN": { "name": "Polish Zloty", "symbol": "PLN" }, "RON": { "name": "Romanian Leu", "symbol": "RON" }, "SEK": { "name": "Swedish Krona", "symbol": "SEK" }, "CHF": { "name": "Swiss Franc", "symbol": "CHF" }, "ISK": { "name": "Icelandic Króna", "symbol": "ISK" }, "NOK": { "name": "Norwegian Krone", "symbol": "NOK" }, "HRK": { "name": "Croatian Kuna", "symbol": "HRK" }, "RUB": { "name": "Russian Ruble", "symbol": "RUB" }, "TRY": { "name": "Turkish Lira", "symbol": "TRY" }, "AUD": { "name": "Australian Dollar", "symbol": "A$" }, "BRL": { "name": "Brazilian Real", "symbol": "R$" }, "CAD": { "name": "Canadian Dollar", "symbol": "CA$" }, "CNY": { "name": "Chinese Yuan", "symbol": "CN¥" }, "HKD": { "name": "Hong Kong Dollar", "symbol": "HK$" }, "IDR": { "name": "Indonesian Rupiah", "symbol": "IDR" }, "ILS": { "name": "Israeli New Shekel", "symbol": "₪" }, "INR": { "name": "Indian Rupee", "symbol": "₹" }, "KRW": { "name": "South Korean Won", "symbol": "₩" }, "MXN": { "name": "Mexican Peso", "symbol": "MX$" }, "MYR": { "name": "Malaysian Ringgit", "symbol": "MYR" }, "NZD": { "name": "New Zealand Dollar", "symbol": "NZ$" }, "PHP": { "name": "Philippine Piso", "symbol": "PHP" }, "SGD": { "name": "Singapore Dollar", "symbol": "SGD" }, "THB": { "name": "Thai Baht", "symbol": "THB" }, "ZAR": { "name": "South African Rand", "symbol": "ZAR" } } `.trim(); const Currencies = () => { return ( <div id="currencies" style={{ marginTop: 100 }}> <h2 className="mb-4">Currencies</h2> <p> Returns your visitors country code by geolocating your visitor via{" "} <a href="https://support.cloudflare.com/hc/en-us/articles/200168236-Configuring-Cloudflare-IP-Geolocation"> CloudFlare IP geolocation </a> . </p> <p className="mb-4"> It's meant to be used in the frontend of your application by having the visitors browser make the request. </p> <div className="card boxed"> <div className="card-body p-0"> <Highlighter code={exampleRequest} language="http" /> </div> </div> <div className="card boxed mt-4"> <div className="card-body p-0"> <Highlighter code={exampleResponse} language="json" /> </div> </div> </div> ); }; export default Currencies;
const connection = require('../models'); const bcrypt = require('bcrypt'); const jwt = require('jsonwebtoken'); const passport = require('passport'); const LocalStrategy = require('passport-local').Strategy; const register = async (req, res)=>{ const saltRounds = 10; const salt = bcrypt.genSaltSync(saltRounds); const hash = bcrypt.hashSync(req.body.password, salt); const data = req.body; data.password = hash; //ARE THESE TWO NOT THE SAME?? await connection.User.create( data ) res.json("registration successfully"); } const login = async (req, res)=>{ const email = req.body.email; const password = req.body.password; //ARE THESE TWO NOT THE SAME?? meaning const password = hash // const data = req.body; const user = await connection.User.findOne({ where:{ email : email } }); //----------------------------------------------------------------------------------------------------------- const showuser = await connection.User.findOne( { where: { email : email }, attributes: { exclude: ['id','password','createdAt','updatedAt'] } } ); // attributes : ['firstName','lastName','email'] if (!user){ return res.json("you have to regiter first"); } //----------------------------------------------------------------------------------------------------- const checkPassword = bcrypt.compareSync(password, user.password); //the user. if (!checkPassword){ return res.json("your password is incorrect"); } else { const payload = { id:user.id, } const token = jwt.sign(payload, 'myVerySecret') res.json({ "token" : token, "msg" : "login successfull", "user" : showuser, "statusCode" : 200 }); } } const getAllUsers = async (req, res)=>{ const data = await connection.User.findAll(); res.json(data); } const getOneUser = async (req, res)=>{ const data = await connection.User.findOne({where: {id:req.user.id}}); res.json(data); } module.exports = { register, getAllUsers, login, getOneUser // loginWithPassport }
var gulp = require( 'gulp' ), minifycss = require( 'gulp-minify-css' ), sass = require( 'gulp-sass' ), imagemin = require( 'gulp-imagemin' ), uglify = require( 'gulp-uglify' ), minifyHTML = require( 'gulp-minify-html' ), rename = require( 'gulp-rename' ), notify = require( 'gulp-notify' ), browserSync = require( 'browser-sync' ), reload = browserSync.reload; var config = { root_path: 'develop/', project: 'gulp-project', build: 'build/', web: 'public/' }; //Error Handler var handleErrors = function() { // Send error to notification center with gulp-notify notify.onError({ title: "Compile Error", message: "<%= error.message %>" }).apply(this, arguments); // Keep gulp from hanging on this task this.emit('end'); }; // browser-sync task for starting the server. gulp.task('browser-sync', function() { var opts = { port: 3001, proxy: 'http://localhost/' + config.root_path + config.project + '/' + config.web }; browserSync( opts ); }); gulp.task( 'styles', function() { return gulp .src(config.build + 'scss/style.scss') .on('error', handleErrors) .pipe(sass({ style: 'compress', 'sourcemap=none': true, errLogToConsole: false, })).on('error', function (err) { console.error('Error: ' + err + '<%= file.relative %>'); return notify().write(err); // }) .pipe( minifycss() ) .pipe(rename({ suffix: '.min' })) .pipe( gulp.dest( config.web + 'css' ) ) .pipe(reload({stream:true})) .pipe( notify({ message:'Css ok!', onLast:true }) ); }); gulp.task( 'scripts', function() { return gulp .src([config.build + 'js/**/*.js', '!' + config.build + 'js/**/*.min.js']) .pipe( uglify() ) .pipe(rename({ suffix: '.min' })) .pipe( gulp.dest( config.web + 'js' ) ) .pipe( notify({ message:'Js ok!', onLast:true }) ) .pipe(reload({stream:true})); }); // Copy Web Fonts To Dist gulp.task('fonts', function () { gulp.src([config.build +'fonts/**']) .pipe(gulp.dest(config.web + 'fonts')); }); gulp.task('imagemin', function () { gulp .src(config.build + 'img/**/*') .on('error', handleErrors) .pipe(imagemin({ optimizationLevel: 5, progressive: true, interlaced: true, svgoPlugins: [{removeViewBox: false}] })) .pipe(gulp.dest( config.web + 'img')) .pipe(reload({stream:true})); }); gulp.task('minify-html', function() { gulp .src([config.build + '**/*.{php,html}', '!' + config.build + 'bootstrap/**/*.php']) .pipe(minifyHTML({ spare:true })) .pipe(gulp.dest(config.web)) .pipe(reload({stream:true})); }); gulp.task('copy', function() { gulp.src([config.build + 'js/**/*.min.js']) .pipe( uglify() ) .pipe( gulp.dest(config.web + 'js') ); gulp.src(config.build + 'bootstrap/**/*.php') .pipe(gulp.dest(config.web + 'bootstrap')) .pipe(reload({stream:true})); }); // Default Task gulp.task( 'default', function() { gulp.start('styles', 'scripts', 'imagemin', 'copy', 'minify-html', 'fonts'); }); // Create server in localhost; gulp.task('server', function() { gulp.start('browser-sync', 'default', 'watch'); }); // Watch gulp.task('watch', ['default'], function(){ // Watch files gulp.watch(config.build + 'scss/**/*.scss', ['styles']); gulp.watch(config.build + 'js/**/*.js', ['scripts']); gulp.watch(config.build + 'img/**/*', ['imagemin']); gulp.watch(config.build + '**/*.{php,html}', ['minify-html']); gulp.watch(config.build + 'bootstrap/**/*.php', ['copy']); gulp.watch(config.build + 'fonts/**/*', ['fonts']); });
macDetailCallback("78c95e000000/24",[{"d":"2020-08-27","t":"add","s":"ieee-oui.csv","a":"2600 Millercreek Rd Traverse City MI US 49684","c":"US","o":"Midmark RTLS"}]);
const { encode, decode, extract } = require('./data.js'); const { push, replace } = require('./forward.js'); const pop = require('./pop.js'); const relaunch = require('./relaunch.js'); const init = require('./init.js'); module.exports = { encode, decode, extract, push, replace, pop, relaunch, init, };
const express = require("express"); const router = express.Router(); const Admin = require("../models/Admin"); const { setToken } = require("../utilities/jwtHelpers"); const { authAdmin } = require("../utilities/routeAuth"); /** * Register new admin * @route POST api/admin */ router.post("/", async (req, res) => { const { name, email, password } = req.body; const checkUserExists = await Admin.findOne({ email }); if (checkUserExists) { return res.status(400).json({ msg: "Admin alread exists." }); } const newAdmin = new Admin({ name, email, password, }); const adminData = await newAdmin.save(); if (!adminData) { return res .status(500) .json({ msg: "There was an error creating the user." }); } const token = setToken({ id: adminData.id, role: adminData.role }); return res.status(200).json({ token, user: adminData, msg: "Admin registered successfully.", }); }); /** * Update existing admin email * @route PUT api/admin/update/email * Requires auth */ router.put("/update/email", authAdmin, async (req, res) => { const { email } = req.body; const filter = { _id: req.user.id }; const dataToUpdate = { email }; const opts = { new: true, omitUndefined: true }; try { const updatedAdmin = await Admin.findOneAndUpdate( filter, dataToUpdate, opts ); return res.status(200).json(updatedAdmin); } catch (error) { return res.status(400).json(error); } }); /** * Update existing admin password * @route PUT api/admin/update/password * Requires auth */ router.put("/update/password", authAdmin, async (req, res) => { const { password } = req.body; const adminWithPassword = await Admin.findById(req.user.id).select( "+password" ); adminWithPassword.password = password; try { await adminWithPassword.save(); return res.status(200).json({ msg: "Update was successful." }); } catch (error) { return res.status(400).json(error); } }); module.exports = router;
"use strict"; 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]; } return t; }; return __assign.apply(this, arguments); }; var babel = require("@babel/core"); var path_1 = require("path"); /** * Transpiles a javascript file using babel. * * @param {Object} options The options to customize the behavior of babel. * @param {String} options.cwd * @param {Object} options.caller * @param {String} options.caller.name * @param {Boolean} options.caller.supportsStaticESM * @param {Array} options.plugins * @param {Array} options.presets * @param {Boolean} options.passPerPreset * @param {Boolean | String} options.sourceMaps * @param {String} options.sourceType * @param {Boolean} options.highlightCode * @param {Object} options.parserOpts * @param {Object} options.generatorOpts * @param {Boolean} options.retainLines * @param {Boolean | String} options.compact * @param {Boolean} options.minified * @param {String} options.auxiliaryCommentBefore * @param {String} options.auxiliaryCommentAfter * @param {Boolean} options.comments * @param {Function} options.shouldPrintComment * @param {Boolean} options.moduleIds * @param {String} options.moduleId * @param {Function} options.getModuleId * @param {String} options.moduleRoot * @return {Object} * @see https://babeljs.io/docs/en/next/options For a list of available babel options. */ var fangBabel = function (options) { return function (fang) { fang.pluginName = "fang-babel"; fang.files.forEach(function (file) { var additionalOptions = { filename: path_1.basename(file.path), code: true, ast: false }; file.content = Buffer.from(babel.transformSync(file.content.toString(), __assign({}, options, additionalOptions)).code); return file; }); return fang; }; }; module.exports = fangBabel;
// Increase timeout since e2e tests take longer jest.setTimeout(30000); describe('index.js', () => { beforeAll(async () => { await page.goto('http://localhost:3000'); }); it('renders /', async () => { await expect(page).toMatch('Hello World!'); }); });
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * */ 'use strict'; module.exports = { IndeterminateComponent: 0, // Before we know whether it is functional or class FunctionalComponent: 1, ClassComponent: 2, HostContainer: 3, // Root of a host tree. Could be nested inside another node. HostComponent: 4, CoroutineComponent: 5, CoroutineHandlerPhase: 6, YieldComponent: 7 };
import * as React from 'react'; import { Spinner } from 'office-ui-fabric-react/lib/Spinner'; import { Stack } from 'office-ui-fabric-react/lib/Stack'; import { Label } from 'office-ui-fabric-react/lib/Label'; export var SpinnerLabeledExample = function () { return (React.createElement(Stack, { gap: 20, maxWidth: 250 }, React.createElement("div", null, React.createElement(Label, null, "Spinner with label positioned below"), React.createElement(Spinner, { label: "I am definitely loading..." })), React.createElement("div", null, React.createElement(Label, null, "Spinner with label positioned above"), React.createElement(Spinner, { label: "Seriously, still loading...", ariaLive: "assertive", labelPosition: "top" })), React.createElement("div", null, React.createElement(Label, null, "Spinner with label positioned to right"), React.createElement(Spinner, { label: "Wait, wait...", ariaLive: "assertive", labelPosition: "right" })), React.createElement("div", null, React.createElement(Label, null, "Spinner with label positioned to left"), React.createElement(Spinner, { label: "Nope, still loading...", ariaLive: "assertive", labelPosition: "left" })))); }; //# sourceMappingURL=Spinner.Labeled.Example.js.map
import React, { PureComponent } from "react"; import classNames from "classnames"; import PropTypes from "prop-types"; import Check from "./check"; import X from "./x"; import { pointerCoord } from "./util"; export class Toggle extends PureComponent { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); this.handleTouchStart = this.handleTouchStart.bind(this); this.handleTouchMove = this.handleTouchMove.bind(this); this.handleTouchEnd = this.handleTouchEnd.bind(this); this.handleFocus = this.handleFocus.bind(this); this.handleBlur = this.handleBlur.bind(this); this.previouslyChecked = !!(props.checked || props.defaultChecked); this.state = { checked: !!(props.checked || props.defaultChecked), hasFocus: false, }; } componentDidUpdate(prevProps) { if (prevProps.checked !== this.props.checked) { // Disable linting rule here since this usage of setState inside // componentDidUpdate is OK; see // https://reactjs.org/docs/react-component.html#componentdidupdate // eslint-disable-next-line react/no-did-update-set-state this.setState({ checked: !!this.props.checked }); } } handleClick(event) { if (this.props.disabled) { return; } const checkbox = (this.props.innerref && this.props.innerref.current) || this.input; if (event.target !== checkbox && !this.moved) { this.previouslyChecked = checkbox.checked; event.preventDefault(); checkbox.focus(); checkbox.click(); return; } const checked = this.props.hasOwnProperty("checked") ? this.props.checked : checkbox.checked; this.setState({ checked }); } handleTouchStart(event) { if (this.props.disabled) { return; } this.startX = pointerCoord(event).x; this.activated = true; } handleTouchMove(event) { if (!this.activated) return; this.moved = true; if (this.startX) { let currentX = pointerCoord(event).x; if (this.state.checked && currentX + 15 < this.startX) { this.setState({ checked: false }); this.startX = currentX; this.activated = true; } else if (currentX - 15 > this.startX) { this.setState({ checked: true }); this.startX = currentX; this.activated = currentX < this.startX + 5; } } } handleTouchEnd(event) { if (!this.moved) return; const checkbox = this.input; event.preventDefault(); if (this.startX) { let endX = pointerCoord(event).x; if (this.previouslyChecked === true && this.startX + 4 > endX) { if (this.previouslyChecked !== this.state.checked) { this.setState({ checked: false }); this.previouslyChecked = this.state.checked; checkbox.click(); } } else if (this.startX - 4 < endX) { if (this.previouslyChecked !== this.state.checked) { this.setState({ checked: true }); this.previouslyChecked = this.state.checked; checkbox.click(); } } this.activated = false; this.startX = null; this.moved = false; } } handleFocus(event) { const { onFocus } = this.props; if (onFocus) { onFocus(event); } this.setState({ hasFocus: true }); } handleBlur(event) { const { onBlur } = this.props; if (onBlur) { onBlur(event); } this.setState({ hasFocus: false }); } getIcon(type) { const { icons } = this.props; if (!icons) { return null; } return icons[type] === undefined ? Toggle.defaultProps.icons[type] : icons[type]; } render() { const { className, icons: _icons, ...inputProps } = this.props; const classes = classNames( "react-toggle", { "react-toggle--checked": this.state.checked, "react-toggle--focus": this.state.hasFocus, "react-toggle--disabled": this.props.disabled, }, className ); return ( <div className={classes} onClick={this.handleClick} onTouchStart={this.handleTouchStart} onTouchMove={this.handleTouchMove} onTouchEnd={this.handleTouchEnd} > <div className="react-toggle-track"> <div className="react-toggle-track-check"> {this.getIcon("checked")} </div> <div className="react-toggle-track-x"> {this.getIcon("unchecked")} </div> </div> <div className="react-toggle-thumb" /> <input {...inputProps} ref={ this.props.innerref || ((ref) => { this.input = ref; }) } onFocus={this.handleFocus} onBlur={this.handleBlur} className="react-toggle-screenreader-only" type="checkbox" /> </div> ); } } Toggle.displayName = "Toggle"; Toggle.defaultProps = { icons: { checked: <Check />, unchecked: <X />, }, }; Toggle.propTypes = { checked: PropTypes.bool, disabled: PropTypes.bool, defaultChecked: PropTypes.bool, onChange: PropTypes.func, onFocus: PropTypes.func, onBlur: PropTypes.func, className: PropTypes.string, name: PropTypes.string, value: PropTypes.string, id: PropTypes.string, "aria-labelledby": PropTypes.string, "aria-label": PropTypes.string, icons: PropTypes.oneOfType([ PropTypes.bool, PropTypes.shape({ checked: PropTypes.node, unchecked: PropTypes.node, }), ]), };
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. // *************************************************************** // - [#] indicates a test step (e.g. # Go to a page) // - [*] indicates an assertion (e.g. * Check the title) // - Use element ID when selecting an element. Create one if none. // *************************************************************** // Stage: @prod // Group: @enterprise @system_console import uuid from 'uuid/v4'; const PAGE_SIZE = 10; describe('Search teams', () => { before(() => { // * Check if server has license cy.requireLicense(); }); beforeEach(() => { cy.apiLogin('sysadmin'); cy.visit('/admin_console/user_management/teams'); cy.wrap([]).as('createdTeamIDs'); }); afterEach(function() { this.createdTeamIDs.forEach((teamID) => { cy.apiDeleteTeam(teamID); }); }); it('loads with no search text', () => { // * Check the search input is empty. cy.findByTestId('search-input').should('be.visible').and('have.text', ''); }); it('returns results', function() { const displayName = uuid(); // # Create a new team. cy.apiCreateTeam('team-search', displayName).then((response) => { this.createdTeamIDs.push(response.body.id); }); // # Search for the new team. cy.findByTestId('search-input').type(displayName + '{enter}'); // * Check that the search results contain the team. cy.findAllByTestId('team-display-name').contains(displayName); }); it('results are paginated', function() { const displayName = uuid(); // # Create enough new teams with common name prefixes to get multiple pages of search results. for (let i = 0; i < PAGE_SIZE + 2; i++) { cy.apiCreateTeam('team-search-paged-' + i, displayName + ' ' + i).then((response) => { this.createdTeamIDs.push(response.body.id); }); } // # Search using the common team name prefix. cy.findByTestId('search-input').type(displayName + '{enter}'); // * Check that the first page of results is full. cy.findAllByTestId('team-display-name').should('have.length', PAGE_SIZE); // # Click the next pagination arrow. cy.findByTestId('page-link-next').should('be.enabled').click(); // * Check that the 2nd page of results has the expected amount. cy.findAllByTestId('team-display-name').should('have.length', 2); }); it('clears the results when "x" is clicked', function() { const displayName = uuid(); // # Create a new team. cy.apiCreateTeam('team-search', displayName).then((response) => { this.createdTeamIDs.push(response.body.id); }); // # Search for the team. cy.get('[data-testid=search-input]').as('searchInput').type(displayName + '{enter}'); // * Check that the list of teams is in search results mode. cy.findAllByTestId('team-display-name').should('have.length', 1); // # Click the x in the search input. cy.findByTestId('clear-search').click(); // * Check that the search input text is cleared. cy.get('@searchInput').should('be.visible').and('have.text', ''); // * Check that the search results are reset to the default page-load list. cy.findAllByTestId('team-display-name').should('have.length', PAGE_SIZE); }); it('clears the results when the search term is deleted with backspace', function() { const displayName = uuid(); // # Create a team. cy.apiCreateTeam('team-search', displayName).then((response) => { this.createdTeamIDs.push(response.body.id); }); // # Search for the team. cy.get('[data-testid=search-input]').as('searchInput').type(displayName + '{enter}'); // * Check that the list of teams is in search results mode. cy.findAllByTestId('team-display-name').should('have.length', 1); // # Clear the search input by deleting the search text. cy.get('@searchInput').type('{selectall}{del}'); // * Check that the search results are reset to the default page-load list. cy.findAllByTestId('team-display-name').should('have.length', PAGE_SIZE); }); });
import {requestAnimationFrame, cancelAnimationFrame} from 'base/utils' import Playback from 'base/playback' import template from 'base/template' import Styler from 'base/styler' import Events from 'base/events' import noOpStyle from './public/style.scss' import noOpHTML from './public/error.html' export default class NoOp extends Playback { get name() { return 'no_op' } get template() { return template(noOpHTML) } get attributes() { return {'data-no-op': ''} } constructor(...args) { super(...args) this._noiseFrameNum = -1 } render() { var style = Styler.getStyleFor(noOpStyle) const playbackNotSupported = this.options.playbackNotSupportedMessage || this.i18n.t('playback_not_supported') this.$el.html(this.template({message: playbackNotSupported})) this.$el.append(style) this._animate() this.trigger(Events.PLAYBACK_READY, this.name) return this } _noise() { this._noiseFrameNum = (this._noiseFrameNum+1)%5 if (this._noiseFrameNum) { // only update noise every 5 frames to save cpu return } let idata = this.context.createImageData(this.context.canvas.width, this.context.canvas.height) let buffer32 try { buffer32 = new Uint32Array(idata.data.buffer) } catch (err) { buffer32 = new Uint32Array(this.context.canvas.width * this.context.canvas.height * 4) let data=idata.data for(let i = 0; i < data.length; i++){ buffer32[i]=data[i] } } let len = buffer32.length let run = 0 let color = 0 let m = Math.random() * 6 + 4 for (let i = 0; i < len;) { if (run < 0) { run = m * Math.random() let p = Math.pow(Math.random(), 0.4) color = (255 * p) << 24 } run -= 1 buffer32[i++] = color } this.context.putImageData(idata, 0, 0) } _loop() { if (this._stop) { return } this._noise() this._animationHandle = requestAnimationFrame(() => this._loop()) } destroy() { if (this._animationHandle) { cancelAnimationFrame(this._animationHandle) this._stop = true } } _animate() { this.canvas = this.$el.find('canvas[data-no-op-canvas]')[0] this.context = this.canvas.getContext('2d') this._loop() } } NoOp.canPlay = (source) => { // eslint-disable-line no-unused-vars return true }
'use strict'; const mongoose = require('mongoose'); const bcrypt = require('bcrypt'); const jwt = require('jsonwebtoken'); const roles = require('../../docs/roles.json'); const schema = mongoose.Schema({ username: { type: 'String', required: true, unique: true }, password: { type: 'String', required: true }, email: { type: 'String' }, role: {type: 'String', required: true, default: 'user', enum: ['admin', 'editor', 'user']} }); schema.pre('save', async function(){ this.password = await bcrypt.hash(this.password, 10); }); schema.methods.generateToken = function() { let timeout = Date.now() + 5000000; return jwt.sign( { exp: timeout, data: { _id: this.id } }, process.env.CLIENT_SECRET, ); }; schema.methods.canDo = function(capability){ for ( let i = 0 ; i < roles.length ; i++ ) { if ( roles[i].role === this.role ) { return roles[i].capabilities.includes(capability); } } return false; } schema.statics.verifyToken = function(token) { let tokenContents = jwt.verify(token, process.env.CLIENT_SECRET); return tokenContents.data; }; module.exports = mongoose.model('users', schema);
import Head from 'next/head'; import { useRouter } from 'next/router'; import { Box, Container, Grid, Typography } from '@mui/material'; import { AccountProfile } from '../components/account/account-profile'; import {UserReports} from "../components/reports/user-reports" import { DashboardLayout } from '../components/dashboard-layout'; import React, { useState, useEffect } from 'react'; import api from '../utils/api'; const Account = () => { const router = useRouter(); const [userId, setUserId] = useState(null); const getData = (values) => { console.log(values) console.log(userId) api.post( `users/${userId}/report`,values) .then(res => { console.log(res); console.log(res.data); router.push('/reports'); }) } useEffect (() => { console.log("Im here") const user = localStorage.getItem('user'); setUserId(JSON.parse(user).user_id); }, []) return ( <> <Head> <title> Account | KGXperience </title> </Head> <Box component="main" sx={{ flexGrow: 1, py: 8 }} > <Container maxWidth="lg"> <Typography sx={{ mb: 3 }} variant="h4" > Add Report </Typography> <Grid container spacing={3} > <Grid item lg={18} md={6} xs={12} > <UserReports getData={getData}/> </Grid> </Grid> </Container> </Box> </> ) } Account.getLayout = (page) => ( <DashboardLayout> {page} </DashboardLayout> ); export default Account;
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=280)}([function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(t,e){return r.call(t,e)}function i(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!=(65535&t)&&65534!=(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function a(t){if(t>65535){var e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=n(55);var f=/[&<>"]/,p=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(t){return d[t]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=n(36);e.lib={},e.lib.mdurl=n(56),e.lib.ucmicro=n(107),e.assign=function(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=o,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(s,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(c,function(t,e,n){return e||function(t,e){var n=0;return o(l,e)?l[e]:35===e.charCodeAt(0)&&u.test(e)&&i(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?a(n):t}(t,n)})},e.isValidEntityCode=i,e.fromCodePoint=a,e.escapeHtml=function(t){return f.test(t)?t.replace(p,h):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(t){return g.test(t)},e.escapeRE=function(t){return t.replace(m,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}},function(t,e,n){"use strict";e.a={functional:!0,props:{label:{default:""}},render:function(t,e){return[t("dt",{attrs:{class:"definition-label"}},e.props.label),t("dd",{attrs:{class:"definition-value"}},e.children)]}}},function(t,e,n){"use strict";var r={props:{title:{default:""},className:{default:""}}},o=n(0),i=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className},[t.title?n("h3",{staticClass:"definition-list-title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),this.$slots.default?n("dl",{staticClass:"definition-list"},[t._t("default")],2):t._e(),t._v(" "),this.$slots.default?t._e():n("div",{staticClass:"definition-list"},[n("div",{staticClass:"definition-list-empty"},[t._v("—")])])])},[],!1,null,null,null);e.a=i.exports},function(t,e,n){var r=n(160),o=n(161),i=n(162);t.exports=function(t){return r(t)||o(t)||i()}},function(t,e,n){"use strict";var r=n(33),o={props:{file:{required:!0},editable:{default:!1},relative:{default:!0},lineNumber:{required:!1},pathClass:{default:""}},data:function(){return{segments:[],filename:"",fileSegments:[]}},inject:["config","report"],watch:{file:{immediate:!0,handler:function(){this.segments=this.path.replace(/^\/Users/,"~").split("/"),this.filename=this.segments.pop()||"",this.fileSegments=this.filename.split(".")}}},computed:{path:function(){return this.relative?this.file.replace(this.report.application_path+"/",""):this.file},editorUrl:function(){return Object(r.a)(this.config,this.file,this.lineNumber)}}},i=n(0),a=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"inline-flex justify-start items-baseline"},[n("span",t._g({staticClass:"ui-path",class:t.pathClass},t.$listeners),[t._l(t.segments,function(e,r){return n("span",{key:"segment-"+r},[t._v(t._s(e)+"/"),n("wbr")])}),t._l(t.fileSegments,function(e,r){return n("span",{key:"file-"+r,class:0===r?"font-semibold":""},[t._v(t._s(r>0?".":"")+t._s(e))])}),t.lineNumber?n("span",[t._v(":"+t._s(t.lineNumber))]):t._e()],2),t._v(" "),t._t("default"),t._v(" "),t.editable&&t.editorUrl?n("a",{staticClass:"ml-2 inline-block text-sm text-purple-400 hover:text-purple-500",attrs:{href:t.editorUrl}},[n("Icon",{attrs:{name:"pencil"}})],1):t._e()],2)},[],!1,null,null,null);e.a=a.exports},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";(function(t,n){ /*! * Vue.js v2.6.10 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var v=g("slot,component",!0),b=g("key,ref,slot,slot-scope,is");function _(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function E(t,e){return y.call(t,e)}function k(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,w=k(function(t){return t.replace(x,function(t,e){return e?e.toUpperCase():""})}),C=k(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),A=/\B([A-Z])/g,T=k(function(t){return t.replace(A,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function R(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function O(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n<t.length;n++)t[n]&&O(e,t[n]);return e}function L(t,e,n){}var I=function(t,e,n){return!1},D=function(t){return t};function M(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every(function(t,n){return M(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return M(t[n],e[n])})}catch(t){return!1}}function P(t,e){for(var n=0;n<t.length;n++)if(M(t[n],e))return n;return-1}function j(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var U="data-server-rendered",F=["component","directive","filter"],$=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:L,parsePlatformTagName:D,mustUseProp:I,async:!0,_lifecycleHooks:$},z=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function q(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var G=new RegExp("[^"+z.source+".$_\\d]");var V,W="__proto__"in{},Y="undefined"!=typeof window,K="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,X=K&&WXEnvironment.platform.toLowerCase(),Z=Y&&window.navigator.userAgent.toLowerCase(),J=Z&&/msie|trident/.test(Z),Q=Z&&Z.indexOf("msie 9.0")>0,tt=Z&&Z.indexOf("edge/")>0,et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===X),nt=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),rt={}.watch,ot=!1;if(Y)try{var it={};Object.defineProperty(it,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var at=function(){return void 0===V&&(V=!Y&&!K&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),V},st=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,lt="undefined"!=typeof Symbol&&ct(Symbol)&&"undefined"!=typeof Reflect&&ct(Reflect.ownKeys);ut="undefined"!=typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=L,pt=0,dt=function(){this.id=pt++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){_(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},dt.target=null;var ht=[];function mt(t){ht.push(t),dt.target=t}function gt(){ht.pop(),dt.target=ht[ht.length-1]}var vt=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},bt={child:{configurable:!0}};bt.child.get=function(){return this.componentInstance},Object.defineProperties(vt.prototype,bt);var _t=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function yt(t){return new vt(void 0,void 0,void 0,String(t))}function Et(t){var e=new vt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var kt=Array.prototype,xt=Object.create(kt);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=kt[t];H(xt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var wt=Object.getOwnPropertyNames(xt),Ct=!0;function At(t){Ct=t}var Tt=function(t){this.value=t,this.dep=new dt,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)?(W?function(t,e){t.__proto__=e}(t,xt):function(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];H(t,i,e[i])}}(t,xt,wt),this.observeArray(t)):this.walk(t)};function St(t,e){var n;if(c(t)&&!(t instanceof vt))return E(t,"__ob__")&&t.__ob__ instanceof Tt?n=t.__ob__:Ct&&!at()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Tt(t)),e&&n&&n.vmCount++,n}function Rt(t,e,n,r,o){var i=new dt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!o&&St(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return dt.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,o=e.length;r<o;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!c||(c?c.call(t,e):n=e,u=!o&&St(e),i.notify())}})}}function Ot(t,e,n){if(Array.isArray(t)&&p(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Rt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Nt(t,e){if(Array.isArray(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||E(t,e)&&(delete t[e],n&&n.dep.notify())}}Tt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Rt(t,e[n])},Tt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)St(t[e])};var Lt=B.optionMergeStrategies;function It(t,e){if(!e)return t;for(var n,r,o,i=lt?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=t[n],o=e[n],E(t,n)?r!==o&&l(r)&&l(o)&&It(r,o):Ot(t,n,o));return t}function Dt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?It(r,o):o}:e?t?function(){return It("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Mt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Pt(t,e,n,r){var o=Object.create(t||null);return e?O(o,e):o}Lt.data=function(t,e,n){return n?Dt(t,e,n):e&&"function"!=typeof e?t:Dt(t,e)},$.forEach(function(t){Lt[t]=Mt}),F.forEach(function(t){Lt[t+"s"]=Pt}),Lt.watch=function(t,e,n,r){if(t===rt&&(t=void 0),e===rt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in O(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Lt.props=Lt.methods=Lt.inject=Lt.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return O(o,t),e&&O(o,e),o},Lt.provide=Dt;var jt=function(t,e){return void 0===e?t:e};function Ut(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[w(o)]={type:null});else if(l(n))for(var a in n)o=n[a],i[w(a)]=l(o)?o:{type:o};t.props=i}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(l(n))for(var i in n){var a=n[i];r[i]=l(a)?O({from:i},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Ut(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Ut(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)E(t,i)||s(i);function s(r){var o=Lt[r]||jt;a[r]=o(t[r],e[r],n,r)}return a}function Ft(t,e,n,r){if("string"==typeof n){var o=t[e];if(E(o,n))return o[n];var i=w(n);if(E(o,i))return o[i];var a=C(i);return E(o,a)?o[a]:o[n]||o[i]||o[a]}}function $t(t,e,n,r){var o=e[t],i=!E(n,t),a=n[t],s=qt(Boolean,o.type);if(s>-1)if(i&&!E(o,"default"))a=!1;else if(""===a||a===T(t)){var c=qt(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!E(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==Bt(e.type)?r.call(t):r}(r,o,t);var u=Ct;At(!0),St(a),At(u)}return a}function Bt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function zt(t,e){return Bt(t)===Bt(e)}function qt(t,e){if(!Array.isArray(e))return zt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(zt(e[n],t))return n;return-1}function Ht(t,e,n){mt();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){Vt(t,r,"errorCaptured hook")}}Vt(t,e,n)}finally{gt()}}function Gt(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&d(i)&&!i._handled&&(i.catch(function(t){return Ht(t,r,o+" (Promise/async)")}),i._handled=!0)}catch(t){Ht(t,r,o)}return i}function Vt(t,e,n){if(B.errorHandler)try{return B.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Wt(e,null,"config.errorHandler")}Wt(t,e,n)}function Wt(t,e,n){if(!Y&&!K||"undefined"==typeof console)throw t;console.error(t)}var Yt,Kt=!1,Xt=[],Zt=!1;function Jt(){Zt=!1;var t=Xt.slice(0);Xt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ct(Promise)){var Qt=Promise.resolve();Yt=function(){Qt.then(Jt),et&&setTimeout(L)},Kt=!0}else if(J||"undefined"==typeof MutationObserver||!ct(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Yt=void 0!==n&&ct(n)?function(){n(Jt)}:function(){setTimeout(Jt,0)};else{var te=1,ee=new MutationObserver(Jt),ne=document.createTextNode(String(te));ee.observe(ne,{characterData:!0}),Yt=function(){te=(te+1)%2,ne.data=String(te)},Kt=!0}function re(t,e){var n;if(Xt.push(function(){if(t)try{t.call(e)}catch(t){Ht(t,e,"nextTick")}else n&&n(e)}),Zt||(Zt=!0,Yt()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}var oe=new ut;function ie(t){!function t(e,n){var r,o;var i=Array.isArray(e);if(!i&&!c(e)||Object.isFrozen(e)||e instanceof vt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=e.length;r--;)t(e[r],n);else for(o=Object.keys(e),r=o.length;r--;)t(e[o[r]],n)}(t,oe),oe.clear()}var ae=k(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}});function se(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Gt(r,null,arguments,e,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)Gt(o[i],null,t,e,"v-on handler")}return n.fns=t,n}function ce(t,e,n,r,i,s){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=ae(c),o(u)||(o(l)?(o(u.fns)&&(u=t[c]=se(u,s)),a(f.once)&&(u=t[c]=i(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)o(t[c])&&r((f=ae(c)).name,e[c],f.capture)}function ue(t,e,n){var r;t instanceof vt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){n.apply(this,arguments),_(r.fns,c)}o(s)?r=se([c]):i(s.fns)&&a(s.merged)?(r=s).fns.push(c):r=se([s,c]),r.merged=!0,t[e]=r}function le(t,e,n,r,o){if(i(e)){if(E(e,n))return t[n]=e[n],o||delete e[n],!0;if(E(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function fe(t){return s(t)?[yt(t)]:Array.isArray(t)?function t(e,n){var r=[];var c,u,l,f;for(c=0;c<e.length;c++)o(u=e[c])||"boolean"==typeof u||(l=r.length-1,f=r[l],Array.isArray(u)?u.length>0&&(pe((u=t(u,(n||"")+"_"+c))[0])&&pe(f)&&(r[l]=yt(f.text+u[0].text),u.shift()),r.push.apply(r,u)):s(u)?pe(f)?r[l]=yt(f.text+u):""!==u&&r.push(yt(u)):pe(u)&&pe(f)?r[l]=yt(f.text+u.text):(a(e._isVList)&&i(u.tag)&&o(u.key)&&i(n)&&(u.key="__vlist"+n+"_"+c+"__"),r.push(u)));return r}(t):void 0}function pe(t){return i(t)&&i(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=t[i].from,s=e;s;){if(s._provided&&E(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var c=t[i].default;n[i]="function"==typeof c?c.call(e):c}else 0}}return n}}function he(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(me)&&delete n[u];return n}function me(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ge(t,e,n){var o,i=Object.keys(e).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=ve(e,c,t[c]))}else o={};for(var u in e)u in o||(o[u]=be(e,u));return t&&Object.isExtensible(t)&&(t._normalized=o),H(o,"$stable",a),H(o,"$key",s),H(o,"$hasNormal",i),o}function ve(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:fe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function be(t,e){return function(){return t[e]}}function _e(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(lt&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function ye(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=O(O({},r),n)),o=i(n)||e):o=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Ee(t){return Ft(this.$options,"filters",t)||D}function ke(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function xe(t,e,n,r,o){var i=B.keyCodes[e]||n;return o&&r&&!B.keyCodes[e]?ke(o,r):i?ke(i,t):r?T(r)!==e:void 0}function we(t,e,n,r,o){if(n)if(c(n)){var i;Array.isArray(n)&&(n=N(n));var a=function(a){if("class"===a||"style"===a||b(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||B.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=w(a),u=T(a);c in i||u in i||(i[a]=n[a],o&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var s in n)a(s)}else;return t}function Ce(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(Te(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function Ae(t,e,n){return Te(t,"__once__"+e+(n?"_"+n:""),!0),t}function Te(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Se(t[r],e+"_"+r,n);else Se(t,e,n)}function Se(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Re(t,e){if(e)if(l(e)){var n=t.on=t.on?O({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function Oe(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?Oe(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function Ne(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Le(t,e){return"string"==typeof t?e+t:t}function Ie(t){t._o=Ae,t._n=m,t._s=h,t._l=_e,t._t=ye,t._q=M,t._i=P,t._m=Ce,t._f=Ee,t._k=xe,t._b=we,t._v=yt,t._e=_t,t._u=Oe,t._g=Re,t._d=Ne,t._p=Le}function De(t,e,n,o,i){var s,c=this,u=i.options;E(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=a(u._compiled),f=!l;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=de(u.inject,o),this.slots=function(){return c.$slots||ge(t.scopedSlots,c.$slots=he(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ge(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ge(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var i=qe(s,t,e,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,r){return qe(s,t,e,n,r,f)}}function Me(t,e,n,r,o){var i=Et(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Pe(t,e){for(var n in e)t[w(n)]=e[n]}Ie(De.prototype);var je={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;je.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Qe)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,i){0;var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),u=!!(i||t.$options._renderChildren||c);t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o);if(t.$options._renderChildren=i,t.$attrs=o.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){At(!1);for(var l=t._props,f=t.$options._propKeys||[],p=0;p<f.length;p++){var d=f[p],h=t.$options.props;l[d]=$t(d,h,e,t)}At(!0),t.$options.propsData=e}n=n||r;var m=t.$options._parentListeners;t.$options._parentListeners=n,Je(t,n,m),u&&(t.$slots=he(i,o.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,rn(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,an.push(e)):nn(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,en(e)))return;if(!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);rn(e,"deactivated")}}(e,!0):e.$destroy())}},Ue=Object.keys(je);function Fe(t,e,n,s,u){if(!o(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"==typeof t){var f;if(o(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=Ge;n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(a(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var r=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",function(){return _(r,n)});var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},p=j(function(n){t.resolved=Ve(n,e),s?r.length=0:f(!0)}),h=j(function(e){i(t.errorComp)&&(t.error=!0,f(!0))}),m=t(p,h);return c(m)&&(d(m)?o(t.resolved)&&m.then(p,h):d(m.component)&&(m.component.then(p,h),i(m.error)&&(t.errorComp=Ve(m.error,e)),i(m.loading)&&(t.loadingComp=Ve(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout(function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))},m.delay||200)),i(m.timeout)&&(l=setTimeout(function(){l=null,o(t.resolved)&&h(null)},m.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(f=t,l)))return function(t,e,n,r,o){var i=_t();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(f,e,n,s,u);e=e||{},An(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[r],s=e.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(t.options,e);var p=function(t,e,n){var r=e.options.props;if(!o(r)){var a={},s=t.attrs,c=t.props;if(i(s)||i(c))for(var u in r){var l=T(u);le(a,c,u,l,!0)||le(a,s,u,l,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,o,a){var s=t.options,c={},u=s.props;if(i(u))for(var l in u)c[l]=$t(l,u,e||r);else i(n.attrs)&&Pe(c,n.attrs),i(n.props)&&Pe(c,n.props);var f=new De(n,c,a,o,t),p=s.render.call(null,f._c,f);if(p instanceof vt)return Me(p,n,f.parent,s);if(Array.isArray(p)){for(var d=fe(p)||[],h=new Array(d.length),m=0;m<d.length;m++)h[m]=Me(d[m],n,f.parent,s);return h}}(t,p,e,n,s);var h=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ue.length;n++){var r=Ue[n],o=e[r],i=je[r];o===i||o&&o._merged||(e[r]=o?$e(i,o):i)}}(e);var g=t.options.name||u;return new vt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:p,listeners:h,tag:u,children:s},f)}}}function $e(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var Be=1,ze=2;function qe(t,e,n,r,u,l){return(Array.isArray(n)||s(n))&&(u=r,r=n,n=void 0),a(l)&&(u=ze),function(t,e,n,r,s){if(i(n)&&i(n.__ob__))return _t();i(n)&&i(n.is)&&(e=n.is);if(!e)return _t();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);s===ze?r=fe(r):s===Be&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var u,l;if("string"==typeof e){var f;l=t.$vnode&&t.$vnode.ns||B.getTagNamespace(e),u=B.isReservedTag(e)?new vt(B.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(f=Ft(t.$options,"components",e))?new vt(e,n,r,void 0,void 0,t):Fe(f,n,t,r,e)}else u=Fe(e,n,t,r);return Array.isArray(u)?u:i(u)?(i(l)&&function t(e,n,r){e.ns=n;"foreignObject"===e.tag&&(n=void 0,r=!0);if(i(e.children))for(var s=0,c=e.children.length;s<c;s++){var u=e.children[s];i(u.tag)&&(o(u.ns)||a(r)&&"svg"!==u.tag)&&t(u,n,r)}}(u,l),i(n)&&function(t){c(t.style)&&ie(t.style);c(t.class)&&ie(t.class)}(n),u):_t()}(t,e,n,r,u)}var He,Ge=null;function Ve(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function We(t){return t.isComment&&t.asyncFactory}function Ye(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||We(n)))return n}}function Ke(t,e){He.$on(t,e)}function Xe(t,e){He.$off(t,e)}function Ze(t,e){var n=He;return function r(){var o=e.apply(null,arguments);null!==o&&n.$off(t,r)}}function Je(t,e,n){He=t,ce(e,n||{},Ke,Xe,Ze,t),He=void 0}var Qe=null;function tn(t){var e=Qe;return Qe=t,function(){Qe=e}}function en(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function nn(t,e){if(e){if(t._directInactive=!1,en(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)nn(t.$children[n]);rn(t,"activated")}}function rn(t,e){mt();var n=t.$options[e],r=e+" hook";if(n)for(var o=0,i=n.length;o<i;o++)Gt(n[o],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),gt()}var on=[],an=[],sn={},cn=!1,un=!1,ln=0;var fn=0,pn=Date.now;if(Y&&!J){var dn=window.performance;dn&&"function"==typeof dn.now&&pn()>document.createEvent("Event").timeStamp&&(pn=function(){return dn.now()})}function hn(){var t,e;for(fn=pn(),un=!0,on.sort(function(t,e){return t.id-e.id}),ln=0;ln<on.length;ln++)(t=on[ln]).before&&t.before(),e=t.id,sn[e]=null,t.run();var n=an.slice(),r=on.slice();ln=on.length=an.length=0,sn={},cn=un=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,nn(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&rn(r,"updated")}}(r),st&&B.devtools&&st.emit("flush")}var mn=0,gn=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++mn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};gn.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Ht(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ie(t),gt(),this.cleanupDeps()}return t},gn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},gn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},gn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==sn[e]){if(sn[e]=!0,un){for(var n=on.length-1;n>ln&&on[n].id>t.id;)n--;on.splice(n+1,0,t)}else on.push(t);cn||(cn=!0,re(hn))}}(this)},gn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ht(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},gn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},gn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},gn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var vn={enumerable:!0,configurable:!0,get:L,set:L};function bn(t,e,n){vn.get=function(){return this[e][n]},vn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,vn)}function _n(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&At(!1);var i=function(i){o.push(i);var a=$t(i,e,n,t);Rt(r,i,a),i in t||bn(t,"_props",i)};for(var a in e)i(a);At(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?L:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){mt();try{return t.call(e,e)}catch(t){return Ht(t,e,"data()"),{}}finally{gt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&E(r,i)||q(i)||bn(t,"_data",i)}St(e,!0)}(t):St(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=at();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new gn(t,a||L,L,yn)),o in t||En(t,o,i)}}(t,e.computed),e.watch&&e.watch!==rt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)wn(t,n,r[o]);else wn(t,n,r)}}(t,e.watch)}var yn={lazy:!0};function En(t,e,n){var r=!at();"function"==typeof n?(vn.get=r?kn(e):xn(n),vn.set=L):(vn.get=n.get?r&&!1!==n.cache?kn(e):xn(n.get):L,vn.set=n.set||L),Object.defineProperty(t,e,vn)}function kn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function xn(t){return function(){return t.call(this,this)}}function wn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Cn=0;function An(t){var e=t.options;if(t.super){var n=An(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&O(t.extendOptions,r),(e=t.options=Ut(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Tn(t){this._init(t)}function Sn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ut(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)bn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)En(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),o[r]=a,a}}function Rn(t){return t&&(t.Ctor.options.name||t.tag)}function On(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Nn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Rn(a.componentOptions);s&&!e(s)&&Ln(n,i,r,o)}}}function Ln(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Cn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ut(An(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=he(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return qe(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return qe(t,e,n,r,o,!0)};var i=n&&n.data;Rt(t,"$attrs",i&&i.attrs||r,null,!0),Rt(t,"$listeners",e._parentListeners||r,null,!0)}(e),rn(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach(function(n){Rt(t,n,e[n])}),At(!0))}(e),_n(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),rn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Tn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){if(l(e))return wn(this,t,e,n);(n=n||{}).user=!0;var r=new gn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Ht(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Tn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((i=a[s])===e||i.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?R(n):n;for(var r=R(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;i<a;i++)Gt(n[i],e,r,e,o)}return e}}(Tn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=tn(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){rn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),rn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Tn),function(t){Ie(t.prototype),t.prototype.$nextTick=function(t){return re(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&(e.$scopedSlots=ge(o.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=o;try{Ge=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Ht(n,e,"render"),t=e._vnode}finally{Ge=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof vt||(t=_t()),t.parent=o,t}}(Tn);var In=[String,RegExp,Array],Dn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:In,exclude:In,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ln(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Nn(t,function(t){return On(e,t)})}),this.$watch("exclude",function(e){Nn(t,function(t){return!On(e,t)})})},render:function(){var t=this.$slots.default,e=Ye(t),n=e&&e.componentOptions;if(n){var r=Rn(n),o=this.include,i=this.exclude;if(o&&(!r||!On(o,r))||i&&r&&On(i,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(a[c]=e,s.push(c),this.max&&s.length>parseInt(this.max)&&Ln(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:O,mergeOptions:Ut,defineReactive:Rt},t.set=Ot,t.delete=Nt,t.nextTick=re,t.observable=function(t){return St(t),t},t.options=Object.create(null),F.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,O(t.options.components,Dn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=R(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}(t),Sn(t),function(t){F.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Tn),Object.defineProperty(Tn.prototype,"$isServer",{get:at}),Object.defineProperty(Tn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Tn,"FunctionalRenderContext",{value:De}),Tn.version="2.6.10";var Mn=g("style,class"),Pn=g("input,textarea,option,select,progress"),jn=function(t,e,n){return"value"===n&&Pn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Un=g("contenteditable,draggable,spellcheck"),Fn=g("events,caret,typing,plaintext-only"),$n=function(t,e){return Gn(e)||"false"===e?"false":"contenteditable"===t&&Fn(e)?e:"true"},Bn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),zn="http://www.w3.org/1999/xlink",qn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Hn=function(t){return qn(t)?t.slice(6,t.length):""},Gn=function(t){return null==t||!1===t};function Vn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Wn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Wn(e,n.data));return function(t,e){if(i(t)||i(e))return Yn(t,Kn(e));return""}(e.staticClass,e.class)}function Wn(t,e){return{staticClass:Yn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Yn(t,e){return t?e?t+" "+e:t:e||""}function Kn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Kn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):c(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Xn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Zn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Jn=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Qn=function(t){return Zn(t)||Jn(t)};function tr(t){return Jn(t)?"svg":"math"===t?"math":void 0}var er=Object.create(null);var nr=g("text,number,password,search,email,tel,url");function rr(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var or=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Xn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),ir={create:function(t,e){ar(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ar(t,!0),ar(e))},destroy:function(t){ar(t,!0)}};function ar(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var sr=new vt("",{},[]),cr=["create","activate","update","remove","destroy"];function ur(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||nr(r)&&nr(o)}(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function lr(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}var fr={create:pr,update:pr,destroy:function(t){pr(t,sr)}};function pr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===sr,a=e===sr,s=hr(t.data.directives,t.context),c=hr(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,gr(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(gr(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)gr(u[n],"inserted",e,t)};i?ue(e,"insert",f):f()}l.length&&ue(e,"postpatch",function(){for(var n=0;n<l.length;n++)gr(l[n],"componentUpdated",e,t)});if(!i)for(n in s)c[n]||gr(s[n],"unbind",t,t,a)}(t,e)}var dr=Object.create(null);function hr(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=dr),o[mr(r)]=r,r.def=Ft(e.$options,"directives",r.name);return o}function mr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function gr(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){Ht(r,n.context,"directive "+t.name+" "+e+" hook")}}var vr=[ir,fr];function br(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in i(u.__ob__)&&(u=e.data.attrs=O({},u)),u)a=u[r],c[r]!==a&&_r(s,r,a);for(r in(J||tt)&&u.value!==c.value&&_r(s,"value",u.value),c)o(u[r])&&(qn(r)?s.removeAttributeNS(zn,Hn(r)):Un(r)||s.removeAttribute(r))}}function _r(t,e,n){t.tagName.indexOf("-")>-1?yr(t,e,n):Bn(e)?Gn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Un(e)?t.setAttribute(e,$n(e,n)):qn(e)?Gn(n)?t.removeAttributeNS(zn,Hn(e)):t.setAttributeNS(zn,e,n):yr(t,e,n)}function yr(t,e,n){if(Gn(n))t.removeAttribute(e);else{if(J&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Er={create:br,update:br};function kr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Vn(e),c=n._transitionClasses;i(c)&&(s=Yn(s,Kn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var xr,wr,Cr,Ar,Tr,Sr,Rr={create:kr,update:kr},Or=/[\w).+\-_$\]]/;function Nr(t){var e,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||l||f||p){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===e){for(var h=r-1,m=void 0;h>=0&&" "===(m=t.charAt(h));h--);m&&Or.test(m)||(u=!0)}}else void 0===o?(d=r+1,o=t.slice(0,r).trim()):g();function g(){(i||(i=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==d&&g(),i)for(r=0;r<i.length;r++)o=Lr(o,i[r]);return o}function Lr(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),o=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==o?","+o:o)}function Ir(t,e){console.error("[Vue compiler]: "+t)}function Dr(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Mr(t,e,n,r,o){(t.props||(t.props=[])).push(Hr({name:e,value:n,dynamic:o},r)),t.plain=!1}function Pr(t,e,n,r,o){(o?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Hr({name:e,value:n,dynamic:o},r)),t.plain=!1}function jr(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Hr({name:e,value:n},r))}function Ur(t,e,n,r,o,i,a,s){(t.directives||(t.directives=[])).push(Hr({name:e,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},s)),t.plain=!1}function Fr(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function $r(t,e,n,o,i,a,s,c){var u;(o=o||r).right?c?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete o.right):o.middle&&(c?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),o.capture&&(delete o.capture,e=Fr("!",e,c)),o.once&&(delete o.once,e=Fr("~",e,c)),o.passive&&(delete o.passive,e=Fr("&",e,c)),o.native?(delete o.native,u=t.nativeEvents||(t.nativeEvents={})):u=t.events||(t.events={});var l=Hr({value:n.trim(),dynamic:c},s);o!==r&&(l.modifiers=o);var f=u[e];Array.isArray(f)?i?f.unshift(l):f.push(l):u[e]=f?i?[l,f]:[f,l]:l,t.plain=!1}function Br(t,e,n){var r=zr(t,":"+e)||zr(t,"v-bind:"+e);if(null!=r)return Nr(r);if(!1!==n){var o=zr(t,e);if(null!=o)return JSON.stringify(o)}}function zr(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var o=t.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===e){o.splice(i,1);break}return n&&delete t.attrsMap[e],r}function qr(t,e){for(var n=t.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(e.test(i.name))return n.splice(r,1),i}}function Hr(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Gr(t,e,n){var r=n||{},o=r.number,i="$$v";r.trim&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(i="_n("+i+")");var a=Vr(e,i);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function Vr(t,e){var n=function(t){if(t=t.trim(),xr=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<xr-1)return(Ar=t.lastIndexOf("."))>-1?{exp:t.slice(0,Ar),key:'"'+t.slice(Ar+1)+'"'}:{exp:t,key:null};wr=t,Ar=Tr=Sr=0;for(;!Yr();)Kr(Cr=Wr())?Zr(Cr):91===Cr&&Xr(Cr);return{exp:t.slice(0,Tr),key:t.slice(Tr+1,Sr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Wr(){return wr.charCodeAt(++Ar)}function Yr(){return Ar>=xr}function Kr(t){return 34===t||39===t}function Xr(t){var e=1;for(Tr=Ar;!Yr();)if(Kr(t=Wr()))Zr(t);else if(91===t&&e++,93===t&&e--,0===e){Sr=Ar;break}}function Zr(t){for(var e=t;!Yr()&&(t=Wr())!==e;);}var Jr,Qr="__r",to="__c";function eo(t,e,n){var r=Jr;return function o(){var i=e.apply(null,arguments);null!==i&&oo(t,o,n,r)}}var no=Kt&&!(nt&&Number(nt[1])<=53);function ro(t,e,n,r){if(no){var o=fn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Jr.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function oo(t,e,n,r){(r||Jr).removeEventListener(t,e._wrapper||e,n)}function io(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Jr=e.elm,function(t){if(i(t[Qr])){var e=J?"change":"input";t[e]=[].concat(t[Qr],t[e]||[]),delete t[Qr]}i(t[to])&&(t.change=[].concat(t[to],t.change||[]),delete t[to])}(n),ce(n,r,ro,oo,eo,e.context),Jr=void 0}}var ao,so={create:io,update:io};function co(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=O({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=o(r)?"":String(r);uo(a,u)&&(a.value=u)}else if("innerHTML"===n&&Jn(a.tagName)&&o(a.innerHTML)){(ao=ao||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=ao.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function uo(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var lo={create:co,update:co},fo=k(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function po(t){var e=ho(t.style);return t.staticStyle?O(t.staticStyle,e):e}function ho(t){return Array.isArray(t)?N(t):"string"==typeof t?fo(t):t}var mo,go=/^--/,vo=/\s*!important$/,bo=function(t,e,n){if(go.test(e))t.style.setProperty(e,n);else if(vo.test(n))t.style.setProperty(T(e),n.replace(vo,""),"important");else{var r=yo(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},_o=["Webkit","Moz","ms"],yo=k(function(t){if(mo=mo||document.createElement("div").style,"filter"!==(t=w(t))&&t in mo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<_o.length;n++){var r=_o[n]+e;if(r in mo)return r}});function Eo(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var a,s,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},f=u||l,p=ho(e.data.style)||{};e.data.normalizedStyle=i(p.__ob__)?O({},p):p;var d=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=po(o.data))&&O(r,n);(n=po(t.data))&&O(r,n);for(var i=t;i=i.parent;)i.data&&(n=po(i.data))&&O(r,n);return r}(e,!0);for(s in f)o(d[s])&&bo(c,s,"");for(s in d)(a=d[s])!==f[s]&&bo(c,s,null==a?"":a)}}var ko={create:Eo,update:Eo},xo=/\s+/;function wo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Co(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ao(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,To(t.name||"v")),O(e,t),e}return"string"==typeof t?To(t):void 0}}var To=k(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),So=Y&&!Q,Ro="transition",Oo="animation",No="transition",Lo="transitionend",Io="animation",Do="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(No="WebkitTransition",Lo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Io="WebkitAnimation",Do="webkitAnimationEnd"));var Mo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Po(t){Mo(function(){Mo(t)})}function jo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),wo(t,e))}function Uo(t,e){t._transitionClasses&&_(t._transitionClasses,e),Co(t,e)}function Fo(t,e,n){var r=Bo(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ro?Lo:Do,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}var $o=/\b(transform|all)(,|$)/;function Bo(t,e){var n,r=window.getComputedStyle(t),o=(r[No+"Delay"]||"").split(", "),i=(r[No+"Duration"]||"").split(", "),a=zo(o,i),s=(r[Io+"Delay"]||"").split(", "),c=(r[Io+"Duration"]||"").split(", "),u=zo(s,c),l=0,f=0;return e===Ro?a>0&&(n=Ro,l=a,f=i.length):e===Oo?u>0&&(n=Oo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ro:Oo:null)?n===Ro?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ro&&$o.test(r[No+"Property"])}}function zo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return qo(e)+qo(t[n])}))}function qo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ho(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ao(t.data.transition);if(!o(r)&&!i(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,u=r.enterClass,l=r.enterToClass,f=r.enterActiveClass,p=r.appearClass,d=r.appearToClass,h=r.appearActiveClass,g=r.beforeEnter,v=r.enter,b=r.afterEnter,_=r.enterCancelled,y=r.beforeAppear,E=r.appear,k=r.afterAppear,x=r.appearCancelled,w=r.duration,C=Qe,A=Qe.$vnode;A&&A.parent;)C=A.context,A=A.parent;var T=!C._isMounted||!t.isRootInsert;if(!T||E||""===E){var S=T&&p?p:u,R=T&&h?h:f,O=T&&d?d:l,N=T&&y||g,L=T&&"function"==typeof E?E:v,I=T&&k||b,D=T&&x||_,M=m(c(w)?w.enter:w);0;var P=!1!==a&&!Q,U=Wo(L),F=n._enterCb=j(function(){P&&(Uo(n,O),Uo(n,R)),F.cancelled?(P&&Uo(n,S),D&&D(n)):I&&I(n),n._enterCb=null});t.data.show||ue(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),L&&L(n,F)}),N&&N(n),P&&(jo(n,S),jo(n,R),Po(function(){Uo(n,S),F.cancelled||(jo(n,O),U||(Vo(M)?setTimeout(F,M):Fo(n,s,F)))})),t.data.show&&(e&&e(),L&&L(n,F)),P||U||F()}}}function Go(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ao(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var a=r.css,s=r.type,u=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,p=r.beforeLeave,d=r.leave,h=r.afterLeave,g=r.leaveCancelled,v=r.delayLeave,b=r.duration,_=!1!==a&&!Q,y=Wo(d),E=m(c(b)?b.leave:b);0;var k=n._leaveCb=j(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Uo(n,l),Uo(n,f)),k.cancelled?(_&&Uo(n,u),g&&g(n)):(e(),h&&h(n)),n._leaveCb=null});v?v(x):x()}function x(){k.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),_&&(jo(n,u),jo(n,f),Po(function(){Uo(n,u),k.cancelled||(jo(n,l),y||(Vo(E)?setTimeout(k,E):Fo(n,s,k)))})),d&&d(n,k),_||y||k())}}function Vo(t){return"number"==typeof t&&!isNaN(t)}function Wo(t){if(o(t))return!1;var e=t.fns;return i(e)?Wo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Yo(t,e){!0!==e.data.show&&Ho(e)}var Ko=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<cr.length;++e)for(r[cr[e]]=[],n=0;n<c.length;++n)i(c[n][cr[e]])&&r[cr[e]].push(c[n][cr[e]]);function l(t){var e=u.parentNode(t);i(e)&&u.removeChild(e,t)}function f(t,e,n,o,s,c,l){if(i(t.elm)&&i(c)&&(t=c[l]=Et(t)),t.isRootInsert=!s,!function(t,e,n,o){var s=t.data;if(i(s)){var c=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return p(t,e),d(n,t.elm,o),a(c)&&function(t,e,n,o){for(var a,s=t;s.componentInstance;)if(s=s.componentInstance._vnode,i(a=s.data)&&i(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](sr,s);e.push(s);break}d(n,t.elm,o)}(t,e,n,o),!0}}(t,e,n,o)){var f=t.data,m=t.children,g=t.tag;i(g)?(t.elm=t.ns?u.createElementNS(t.ns,g):u.createElement(g,t),b(t),h(t,m,e),i(f)&&v(t,e),d(n,t.elm,o)):a(t.isComment)?(t.elm=u.createComment(t.text),d(n,t.elm,o)):(t.elm=u.createTextNode(t.text),d(n,t.elm,o))}}function p(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),b(t)):(ar(t),e.push(t))}function d(t,e,n){i(t)&&(i(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function h(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)f(e[r],n,t.elm,null,!0,e,r);else s(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function v(t,n){for(var o=0;o<r.create.length;++o)r.create[o](sr,t);i(e=t.data.hook)&&(i(e.create)&&e.create(sr,t),i(e.insert)&&n.push(t))}function b(t){var e;if(i(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;i(e=Qe)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function _(t,e,n,r,o,i){for(;r<=o;++r)f(n[r],i,t,e,!1,n,r)}function y(t){var e,n,o=t.data;if(i(o))for(i(e=o.hook)&&i(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)y(t.children[n])}function E(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(k(o),y(o)):l(o.elm))}}function k(t,e){if(i(e)||i(t.data)){var n,o=r.remove.length+1;for(i(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&l(t)}return n.listeners=e,n}(t.elm,o),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&k(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else l(t.elm)}function x(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&ur(t,a))return o}}function w(t,e,n,s,c,l){if(t!==e){i(e.elm)&&i(s)&&(e=s[c]=Et(e));var p=e.elm=t.elm;if(a(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,h=e.data;i(h)&&i(d=h.hook)&&i(d=d.prepatch)&&d(t,e);var g=t.children,v=e.children;if(i(h)&&m(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);i(d=h.hook)&&i(d=d.update)&&d(t,e)}o(e.text)?i(g)&&i(v)?g!==v&&function(t,e,n,r,a){for(var s,c,l,p=0,d=0,h=e.length-1,m=e[0],g=e[h],v=n.length-1,b=n[0],y=n[v],k=!a;p<=h&&d<=v;)o(m)?m=e[++p]:o(g)?g=e[--h]:ur(m,b)?(w(m,b,r,n,d),m=e[++p],b=n[++d]):ur(g,y)?(w(g,y,r,n,v),g=e[--h],y=n[--v]):ur(m,y)?(w(m,y,r,n,v),k&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++p],y=n[--v]):ur(g,b)?(w(g,b,r,n,d),k&&u.insertBefore(t,g.elm,m.elm),g=e[--h],b=n[++d]):(o(s)&&(s=lr(e,p,h)),o(c=i(b.key)?s[b.key]:x(b,e,p,h))?f(b,r,t,m.elm,!1,n,d):ur(l=e[c],b)?(w(l,b,r,n,d),e[c]=void 0,k&&u.insertBefore(t,l.elm,m.elm)):f(b,r,t,m.elm,!1,n,d),b=n[++d]);p>h?_(t,o(n[v+1])?null:n[v+1].elm,n,d,v,r):d>v&&E(0,e,p,h)}(p,g,v,n,l):i(v)?(i(t.text)&&u.setTextContent(p,""),_(p,null,v,0,v.length-1,n)):i(g)?E(0,g,0,g.length-1):i(t.text)&&u.setTextContent(p,""):t.text!==e.text&&u.setTextContent(p,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function C(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var A=g("attrs,class,staticClass,staticStyle,key");function T(t,e,n,r){var o,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,a(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(o=c.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return p(e,n),!0;if(i(s)){if(i(u))if(t.hasChildNodes())if(i(o=c)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,d=0;d<u.length;d++){if(!f||!T(f,u[d],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else h(e,u,n);if(i(c)){var m=!1;for(var g in c)if(!A(g)){m=!0,v(e,n);break}!m&&c.class&&ie(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!o(e)){var c,l=!1,p=[];if(o(t))l=!0,f(e,p);else{var d=i(t.nodeType);if(!d&&ur(t,e))w(t,e,p,null,null,s);else{if(d){if(1===t.nodeType&&t.hasAttribute(U)&&(t.removeAttribute(U),n=!0),a(n)&&T(t,e,p))return C(e,p,!0),t;c=t,t=new vt(u.tagName(c).toLowerCase(),{},[],void 0,c)}var h=t.elm,g=u.parentNode(h);if(f(e,p,h._leaveCb?null:g,u.nextSibling(h)),i(e.parent))for(var v=e.parent,b=m(e);v;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](v);if(v.elm=e.elm,b){for(var k=0;k<r.create.length;++k)r.create[k](sr,v);var x=v.data.hook.insert;if(x.merged)for(var A=1;A<x.fns.length;A++)x.fns[A]()}else ar(v);v=v.parent}i(g)?E(0,[t],0,0):i(t.tag)&&y(t)}}return C(e,p,l),e.elm}i(t)&&y(t)}}({nodeOps:or,modules:[Er,Rr,so,lo,ko,Y?{create:Yo,activate:Yo,remove:function(t,e){!0!==t.data.show?Go(t,e):e()}}:{}].concat(vr)});Q&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ri(t,"input")});var Xo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ue(n,"postpatch",function(){Xo.componentUpdated(t,e,n)}):Zo(t,e,n.context),t._vOptions=[].map.call(t.options,ti)):("textarea"===n.tag||nr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ei),t.addEventListener("compositionend",ni),t.addEventListener("change",ni),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Zo(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,ti);if(o.some(function(t,e){return!M(t,r[e])}))(t.multiple?e.value.some(function(t){return Qo(t,o)}):e.value!==e.oldValue&&Qo(e.value,o))&&ri(t,"change")}}};function Zo(t,e,n){Jo(t,e,n),(J||tt)&&setTimeout(function(){Jo(t,e,n)},0)}function Jo(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=P(r,ti(a))>-1,a.selected!==i&&(a.selected=i);else if(M(ti(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Qo(t,e){return e.every(function(e){return!M(e,t)})}function ti(t){return"_value"in t?t._value:t.value}function ei(t){t.target.composing=!0}function ni(t){t.target.composing&&(t.target.composing=!1,ri(t.target,"input"))}function ri(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oi(t){return!t.componentInstance||t.data&&t.data.transition?t:oi(t.componentInstance._vnode)}var ii={model:Xo,show:{bind:function(t,e,n){var r=e.value,o=(n=oi(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Ho(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oi(n)).data&&n.data.transition?(n.data.show=!0,r?Ho(n,function(){t.style.display=t.__vOriginalDisplay}):Go(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},ai={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function si(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?si(Ye(e.children)):t}function ci(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[w(i)]=o[i];return e}function ui(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var li=function(t){return t.tag||We(t)},fi=function(t){return"show"===t.name},pi={name:"transition",props:ai,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(li)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=si(o);if(!i)return o;if(this._leaving)return ui(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=ci(this),u=this._vnode,l=si(u);if(i.data.directives&&i.data.directives.some(fi)&&(i.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,l)&&!We(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=O({},c);if("out-in"===r)return this._leaving=!0,ue(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),ui(t,o);if("in-out"===r){if(We(i))return u;var p,d=function(){p()};ue(c,"afterEnter",d),ue(c,"enterCancelled",d),ue(f,"delayLeave",function(t){p=t})}}return o}}},di=O({tag:String,moveClass:String},ai);function hi(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function mi(t){t.data.newPos=t.elm.getBoundingClientRect()}function gi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete di.mode;var vi={Transition:pi,TransitionGroup:{props:di,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=tn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ci(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(hi),t.forEach(mi),t.forEach(gi),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;jo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Lo,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Lo,t),n._moveCb=null,Uo(n,e))})}}))},methods:{hasMove:function(t,e){if(!So)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Co(n,t)}),wo(n,e),n.style.display="none",this.$el.appendChild(n);var r=Bo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Tn.config.mustUseProp=jn,Tn.config.isReservedTag=Qn,Tn.config.isReservedAttr=Mn,Tn.config.getTagNamespace=tr,Tn.config.isUnknownElement=function(t){if(!Y)return!0;if(Qn(t))return!1;if(t=t.toLowerCase(),null!=er[t])return er[t];var e=document.createElement(t);return t.indexOf("-")>-1?er[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:er[t]=/HTMLUnknownElement/.test(e.toString())},O(Tn.options.directives,ii),O(Tn.options.components,vi),Tn.prototype.__patch__=Y?Ko:L,Tn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=_t),rn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new gn(t,r,L,{before:function(){t._isMounted&&!t._isDestroyed&&rn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,rn(t,"mounted")),t}(this,t=t&&Y?rr(t):void 0,e)},Y&&setTimeout(function(){B.devtools&&st&&st.emit("init",Tn)},0);var bi=/\{\{((?:.|\r?\n)+?)\}\}/g,_i=/[-.*+?^${}()|[\]\/\\]/g,yi=k(function(t){var e=t[0].replace(_i,"\\$&"),n=t[1].replace(_i,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});var Ei={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=zr(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=Br(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var ki,xi={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=zr(t,"style");n&&(t.staticStyle=JSON.stringify(fo(n)));var r=Br(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},wi=function(t){return(ki=ki||document.createElement("div")).innerHTML=t,ki.textContent},Ci=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ai=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ti=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Si=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ri=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Oi="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",Ni="((?:"+Oi+"\\:)?"+Oi+")",Li=new RegExp("^<"+Ni),Ii=/^\s*(\/?)>/,Di=new RegExp("^<\\/"+Ni+"[^>]*>"),Mi=/^<!DOCTYPE [^>]+>/i,Pi=/^<!\--/,ji=/^<!\[/,Ui=g("script,style,textarea",!0),Fi={},$i={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Bi=/&(?:lt|gt|quot|amp|#39);/g,zi=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,qi=g("pre,textarea",!0),Hi=function(t,e){return t&&qi(t)&&"\n"===e[0]};function Gi(t,e){var n=e?zi:Bi;return t.replace(n,function(t){return $i[t]})}var Vi,Wi,Yi,Ki,Xi,Zi,Ji,Qi,ta=/^@|^v-on:/,ea=/^v-|^@|^:/,na=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ra=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g,ia=/^\[.*\]$/,aa=/:(.*)$/,sa=/^:|^\.|^v-bind:/,ca=/\.[^.\]]+(?=[^\]]*$)/g,ua=/^v-slot(:|$)|^#/,la=/[\r\n]/,fa=/\s+/g,pa=k(wi),da="_empty_";function ha(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Ea(e),rawAttrsMap:{},parent:n,children:[]}}function ma(t,e){Vi=e.warn||Ir,Zi=e.isPreTag||I,Ji=e.mustUseProp||I,Qi=e.getTagNamespace||I;var n=e.isReservedTag||I;(function(t){return!!t.component||!n(t.tag)}),Yi=Dr(e.modules,"transformNode"),Ki=Dr(e.modules,"preTransformNode"),Xi=Dr(e.modules,"postTransformNode"),Wi=e.delimiters;var r,o,i=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,u=!1;function l(t){if(f(t),c||t.processed||(t=ga(t,e)),i.length||t===r||r.if&&(t.elseif||t.else)&&ba(r,{exp:t.elseif,block:t}),o&&!t.forbidden)if(t.elseif||t.else)a=t,(s=function(t){var e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(o.children))&&s.if&&ba(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=t}o.children.push(t),t.parent=o}var a,s;t.children=t.children.filter(function(t){return!t.slotScope}),f(t),t.pre&&(c=!1),Zi(t.tag)&&(u=!1);for(var l=0;l<Xi.length;l++)Xi[l](t,e)}function f(t){if(!u)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,r,o=[],i=e.expectHTML,a=e.isUnaryTag||I,s=e.canBeLeftOpenTag||I,c=0;t;){if(n=t,r&&Ui(r)){var u=0,l=r.toLowerCase(),f=Fi[l]||(Fi[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),p=t.replace(f,function(t,n,r){return u=r.length,Ui(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Hi(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});c+=t.length-p.length,t=p,A(l,c-u,c)}else{var d=t.indexOf("<");if(0===d){if(Pi.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),c,c+h+3),x(h+3);continue}}if(ji.test(t)){var m=t.indexOf("]>");if(m>=0){x(m+2);continue}}var g=t.match(Mi);if(g){x(g[0].length);continue}var v=t.match(Di);if(v){var b=c;x(v[0].length),A(v[1],b,c);continue}var _=w();if(_){C(_),Hi(_.tagName,t)&&x(1);continue}}var y=void 0,E=void 0,k=void 0;if(d>=0){for(E=t.slice(d);!(Di.test(E)||Li.test(E)||Pi.test(E)||ji.test(E)||(k=E.indexOf("<",1))<0);)d+=k,E=t.slice(d);y=t.substring(0,d)}d<0&&(y=t),y&&x(y.length),e.chars&&y&&e.chars(y,c-y.length,c)}if(t===n){e.chars&&e.chars(t);break}}function x(e){c+=e,t=t.substring(e)}function w(){var e=t.match(Li);if(e){var n,r,o={tagName:e[1],attrs:[],start:c};for(x(e[0].length);!(n=t.match(Ii))&&(r=t.match(Ri)||t.match(Si));)r.start=c,x(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function C(t){var n=t.tagName,c=t.unarySlash;i&&("p"===r&&Ti(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=t.attrs.length,f=new Array(l),p=0;p<l;p++){var d=t.attrs[p],h=d[3]||d[4]||d[5]||"",m="a"===n&&"href"===d[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;f[p]={name:d[1],value:Gi(h,m)}}u||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:t.start,end:t.end}),r=n),e.start&&e.start(n,f,u,t.start,t.end)}function A(t,n,i){var a,s;if(null==n&&(n=c),null==i&&(i=c),t)for(s=t.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)e.end&&e.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}A()}(t,{warn:Vi,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,f){var p=o&&o.ns||Qi(t);J&&"svg"===p&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];ka.test(r.name)||(r.name=r.name.replace(xa,""),e.push(r))}return e}(n));var d,h=ha(t,n,o);p&&(h.ns=p),"style"!==(d=h).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||at()||(h.forbidden=!0);for(var m=0;m<Ki.length;m++)h=Ki[m](h,e)||h;c||(!function(t){null!=zr(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(c=!0)),Zi(h.tag)&&(u=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),o=0;o<n;o++)r[o]={name:e[o].name,value:JSON.stringify(e[o].value)},null!=e[o].start&&(r[o].start=e[o].start,r[o].end=e[o].end);else t.pre||(t.plain=!0)}(h):h.processed||(va(h),function(t){var e=zr(t,"v-if");if(e)t.if=e,ba(t,{exp:e,block:t});else{null!=zr(t,"v-else")&&(t.else=!0);var n=zr(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){null!=zr(t,"v-once")&&(t.once=!0)}(h)),r||(r=h),a?l(h):(o=h,i.push(h))},end:function(t,e,n){var r=i[i.length-1];i.length-=1,o=i[i.length-1],l(r)},chars:function(t,e,n){if(o&&(!J||"textarea"!==o.tag||o.attrsMap.placeholder!==t)){var r,i,l,f=o.children;if(t=u||t.trim()?"script"===(r=o).tag||"style"===r.tag?t:pa(t):f.length?s?"condense"===s&&la.test(t)?"":" ":a?" ":"":"")u||"condense"!==s||(t=t.replace(fa," ")),!c&&" "!==t&&(i=function(t,e){var n=e?yi(e):bi;if(n.test(t)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(o=r.index)>c&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=Nr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c<t.length&&(s.push(i=t.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}(t,Wi))?l={type:2,expression:i.expression,tokens:i.tokens,text:t}:" "===t&&f.length&&" "===f[f.length-1].text||(l={type:3,text:t}),l&&f.push(l)}},comment:function(t,e,n){if(o){var r={type:3,text:t,isComment:!0};0,o.children.push(r)}}}),r}function ga(t,e){var n;!function(t){var e=Br(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Br(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=zr(t,"scope"),t.slotScope=e||zr(t,"slot-scope")):(e=zr(t,"slot-scope"))&&(t.slotScope=e);var n=Br(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Pr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var r=qr(t,ua);if(r){0;var o=_a(r),i=o.name,a=o.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=r.value||da}}else{var s=qr(t,ua);if(s){0;var c=t.scopedSlots||(t.scopedSlots={}),u=_a(s),l=u.name,f=u.dynamic,p=c[l]=ha("template",[],t);p.slotTarget=l,p.slotTargetDynamic=f,p.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=p,!0}),p.slotScope=s.value||da,t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=Br(n,"name")),function(t){var e;(e=Br(t,"is"))&&(t.component=e);null!=zr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Yi.length;r++)t=Yi[r](t,e)||t;return function(t){var e,n,r,o,i,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++){if(r=o=u[e].name,i=u[e].value,ea.test(r))if(t.hasBindings=!0,(a=ya(r.replace(ea,"")))&&(r=r.replace(ca,"")),sa.test(r))r=r.replace(sa,""),i=Nr(i),(c=ia.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=w(r))&&(r="innerHTML"),a.camel&&!c&&(r=w(r)),a.sync&&(s=Vr(i,"$event"),c?$r(t,'"update:"+('+r+")",s,null,!1,0,u[e],!0):($r(t,"update:"+w(r),s,null,!1,0,u[e]),T(r)!==w(r)&&$r(t,"update:"+T(r),s,null,!1,0,u[e])))),a&&a.prop||!t.component&&Ji(t.tag,t.attrsMap.type,r)?Mr(t,r,i,u[e],c):Pr(t,r,i,u[e],c);else if(ta.test(r))r=r.replace(ta,""),(c=ia.test(r))&&(r=r.slice(1,-1)),$r(t,r,i,a,!1,0,u[e],c);else{var l=(r=r.replace(ea,"")).match(aa),f=l&&l[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),ia.test(f)&&(f=f.slice(1,-1),c=!0)),Ur(t,r,o,i,f,c,a,u[e])}else Pr(t,r,JSON.stringify(i),u[e]),!t.component&&"muted"===r&&Ji(t.tag,t.attrsMap.type,r)&&Mr(t,r,"true",u[e])}}(t),t}function va(t){var e;if(e=zr(t,"v-for")){var n=function(t){var e=t.match(na);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(oa,""),o=r.match(ra);o?(n.alias=r.replace(ra,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r;return n}(e);n&&O(t,n)}}function ba(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function _a(t){var e=t.name.replace(ua,"");return e||"#"!==t.name[0]&&(e="default"),ia.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function ya(t){var e=t.match(ca);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function Ea(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var ka=/^xmlns:NS\d+/,xa=/^NS\d+:/;function wa(t){return ha(t.tag,t.attrsList.slice(),t.parent)}var Ca=[Ei,xi,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Br(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=zr(t,"v-if",!0),i=o?"&&("+o+")":"",a=null!=zr(t,"v-else",!0),s=zr(t,"v-else-if",!0),c=wa(t);va(c),jr(c,"type","checkbox"),ga(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+i,ba(c,{exp:c.if,block:c});var u=wa(t);zr(u,"v-for",!0),jr(u,"type","radio"),ga(u,e),ba(c,{exp:"("+n+")==='radio'"+i,block:u});var l=wa(t);return zr(l,"v-for",!0),jr(l,":type",n),ga(l,e),ba(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var Aa,Ta,Sa={expectHTML:!0,modules:Ca,directives:{model:function(t,e,n){n;var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Gr(t,r,o),!1;if("select"===i)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Vr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),$r(t,"change",r,null,!0)}(t,r,o);else if("input"===i&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,o=Br(t,"value")||"null",i=Br(t,"true-value")||"true",a=Br(t,"false-value")||"false";Mr(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),$r(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Vr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Vr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Vr(e,"$$c")+"}",null,!0)}(t,r,o);else if("input"===i&&"radio"===a)!function(t,e,n){var r=n&&n.number,o=Br(t,"value")||"null";Mr(t,"checked","_q("+e+","+(o=r?"_n("+o+")":o)+")"),$r(t,"change",Vr(e,o),null,!0)}(t,r,o);else if("input"===i||"textarea"===i)!function(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Qr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Vr(e,l);c&&(f="if($event.target.composing)return;"+f),Mr(t,"value","("+e+")"),$r(t,u,f,null,!0),(s||a)&&$r(t,"blur","$forceUpdate()")}(t,r,o);else if(!B.isReservedTag(i))return Gr(t,r,o),!1;return!0},text:function(t,e){e.value&&Mr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Mr(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:Ci,mustUseProp:jn,canBeLeftOpenTag:Ai,isReservedTag:Qn,getTagNamespace:tr,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Ca)},Ra=k(function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function Oa(t,e){t&&(Aa=Ra(e.staticKeys||""),Ta=e.isReservedTag||I,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!Ta(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Aa)))}(e);if(1===e.type){if(!Ta(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var o=e.children[n];t(o),o.static||(e.static=!1)}if(e.ifConditions)for(var i=1,a=e.ifConditions.length;i<a;i++){var s=e.ifConditions[i].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,o=e.children.length;r<o;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var i=1,a=e.ifConditions.length;i<a;i++)t(e.ifConditions[i].block,n)}}(t,!1))}var Na=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/,La=/\([^)]*?\);*$/,Ia=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Da={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ma={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Pa=function(t){return"if("+t+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Pa("$event.target !== $event.currentTarget"),ctrl:Pa("!$event.ctrlKey"),shift:Pa("!$event.shiftKey"),alt:Pa("!$event.altKey"),meta:Pa("!$event.metaKey"),left:Pa("'button' in $event && $event.button !== 0"),middle:Pa("'button' in $event && $event.button !== 1"),right:Pa("'button' in $event && $event.button !== 2")};function Ua(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=Fa(t[i]);t[i]&&t[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function Fa(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Fa(t)}).join(",")+"]";var e=Ia.test(t.value),n=Na.test(t.value),r=Ia.test(t.value.replace(La,""));if(t.modifiers){var o="",i="",a=[];for(var s in t.modifiers)if(ja[s])i+=ja[s],Da[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=Pa(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(o+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map($a).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function $a(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Da[t],r=Ma[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ba={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:L},za=function(t){this.options=t,this.warn=t.warn||Ir,this.transforms=Dr(t.modules,"transformCode"),this.dataGenFns=Dr(t.modules,"genData"),this.directives=O(O({},Ba),t.directives);var e=t.isReservedTag||I;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function qa(t,e){var n=new za(e);return{render:"with(this){return "+(t?Ha(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ha(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ga(t,e);if(t.once&&!t.onceProcessed)return Va(t,e);if(t.for&&!t.forProcessed)return Ya(t,e);if(t.if&&!t.ifProcessed)return Wa(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Ja(t,e),o="_t("+n+(r?","+r:""),i=t.attrs||t.dynamicAttrs?es((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:w(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];!i&&!a||r||(o+=",null");i&&(o+=","+i);a&&(o+=(i?"":",null")+","+a);return o+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Ja(e,n,!0);return"_c("+t+","+Ka(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=Ka(t,e));var o=t.inlineTemplate?null:Ja(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return Ja(t,e)||"void 0"}function Ga(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Ha(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Va(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Wa(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Ha(t,e)+","+e.onceId+++","+n+")":Ha(t,e)}return Ga(t,e)}function Wa(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,o){if(!e.length)return o||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+a(i.block)+":"+t(e,n,r,o):""+a(i.block);function a(t){return r?r(t,n):t.once?Va(t,n):Ha(t,n)}}(t.ifConditions.slice(),e,n,r)}function Ya(t,e,n,r){var o=t.for,i=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(n||Ha)(t,e)+"})"}function Ka(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,o,i,a,s="directives:[",c=!1;for(r=0,o=n.length;r<o;r++){i=n[r],a=!0;var u=e.directives[i.name];u&&(a=!!u(t,i,e.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var o=0;o<e.dataGenFns.length;o++)n+=e.dataGenFns[o](t);if(t.attrs&&(n+="attrs:"+es(t.attrs)+","),t.props&&(n+="domProps:"+es(t.props)+","),t.events&&(n+=Ua(t.events,!1)+","),t.nativeEvents&&(n+=Ua(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var r=t.for||Object.keys(e).some(function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Xa(n)}),o=!!t.if;if(!r)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==da||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(e).map(function(t){return Za(e[t],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&o?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=qa(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+es(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Xa(t){return 1===t.type&&("slot"===t.tag||t.children.some(Xa))}function Za(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Wa(t,e,Za,"null");if(t.for&&!t.forProcessed)return Ya(t,e,Za);var r=t.slotScope===da?"":String(t.slotScope),o="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ja(t,e)||"undefined")+":undefined":Ja(t,e)||"undefined":Ha(t,e))+"}",i=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+o+i+"}"}function Ja(t,e,n,r,o){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Ha)(a,e)+s}var c=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var o=t[r];if(1===o.type){if(Qa(o)||o.ifConditions&&o.ifConditions.some(function(t){return Qa(t.block)})){n=2;break}(e(o)||o.ifConditions&&o.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(i,e.maybeComponent):0,u=o||ts;return"["+i.map(function(t){return u(t,e)}).join(",")+"]"+(c?","+c:"")}}function Qa(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function ts(t,e){return 1===t.type?Ha(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:ns(JSON.stringify(t.text)))+")"}(t)}function es(t){for(var e="",n="",r=0;r<t.length;r++){var o=t[r],i=ns(o.value);o.dynamic?n+=o.name+","+i+",":e+='"'+o.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function ns(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function rs(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),L}}function os(t){var e=Object.create(null);return function(n,r,o){(r=O({},r)).warn;delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(e[i])return e[i];var a=t(n,r);var s={},c=[];return s.render=rs(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return rs(t,c)}),e[i]=s}}var is,as,ss=(is=function(t,e){var n=ma(t.trim(),e);!1!==e.optimize&&Oa(n,e);var r=qa(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),o=[],i=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=O(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?i:o).push(t)};var s=is(e.trim(),r);return s.errors=o,s.tips=i,s}return{compile:e,compileToFunctions:os(e)}})(Sa),cs=(ss.compile,ss.compileToFunctions);function us(t){return(as=as||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',as.innerHTML.indexOf("&#10;")>0}var ls=!!Y&&us(!1),fs=!!Y&&us(!0),ps=k(function(t){var e=rr(t);return e&&e.innerHTML}),ds=Tn.prototype.$mount;Tn.prototype.$mount=function(t,e){if((t=t&&rr(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ps(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var o=cs(r,{outputSourceRange:!1,shouldDecodeNewlines:ls,shouldDecodeNewlinesForHref:fs,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return ds.call(this,t,e)},Tn.compile=cs,e.a=Tn}).call(this,n(11),n(154).setImmediate)},function(t,e,n){var r=n(71),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){t.exports=n(99)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(199),o=n(202);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){"use strict";var r={props:{name:{required:!0},method:{default:null}},data:function(){return{segments:[],segmentsClass:""}},watch:{name:{immediate:!0,handler:function(){this.segments=this.name.split("\\"),this.segmentsClass=this.segments.pop()}}}},o=n(0),i=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"ui-exception-class"},[t._l(t.segments,function(e,r){return n("span",{key:r,staticClass:"opacity-75"},[t._v(t._s(e)+"\\"),n("wbr")])}),n("span",[t._v(t._s(t.segmentsClass)),n("wbr")]),t.method?n("span",{staticClass:"opacity-75"},[t._v("::"+t._s(t.method))]):t._e()],2)},[],!1,null,null,null);e.a=i.exports},function(t,e,n){"use strict";var r={props:{lineNumber:{required:!0}}},o=n(0),i=Object(o.a)(r,function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"ui-line-number"},[this._v("\n :"),e("span",{staticClass:"font-mono"},[this._v(this._s(this.lineNumber))])])},[],!1,null,null,null);e.a=i.exports},function(t,e,n){var r=n(215);t.exports=function(t){return t&&t.length?r(t):[]}},function(t,e,n){var r=n(70);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){var r=n(22),o=n(176),i=n(177),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:a:c&&c in Object(t)?o(t):i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e){function n(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,c,"next",t)}function c(t){n(a,o,i,s,c,"throw",t)}s(void 0)})}}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var r=n(8).Symbol;t.exports=r},function(t,e,n){var r=n(17),o=n(18),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},function(t,e,n){"use strict";e.__esModule=!0;var r=c(n(180)),o=c(n(39)),i=c(n(185)),a=c(n(193)),s=c(n(194));function c(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cfg=e||{},this.indentation=new i.default(this.cfg.indent),this.inlineBlock=new a.default,this.params=new s.default(this.cfg.params),this.tokenizer=n,this.previousReservedWord={},this.tokens=[],this.index=0}return t.prototype.format=function(t){return this.tokens=this.tokenizer.tokenize(t),this.getFormattedQueryFromTokens().trim()},t.prototype.getFormattedQueryFromTokens=function(){var t=this,e="";return this.tokens.forEach(function(n,r){t.index=r,n.type===o.default.WHITESPACE||(n.type===o.default.LINE_COMMENT?e=t.formatLineComment(n,e):n.type===o.default.BLOCK_COMMENT?e=t.formatBlockComment(n,e):n.type===o.default.RESERVED_TOPLEVEL?(e=t.formatToplevelReservedWord(n,e),t.previousReservedWord=n):n.type===o.default.RESERVED_NEWLINE?(e=t.formatNewlineReservedWord(n,e),t.previousReservedWord=n):n.type===o.default.RESERVED?(e=t.formatWithSpaces(n,e),t.previousReservedWord=n):e=n.type===o.default.OPEN_PAREN?t.formatOpeningParentheses(n,e):n.type===o.default.CLOSE_PAREN?t.formatClosingParentheses(n,e):n.type===o.default.PLACEHOLDER?t.formatPlaceholder(n,e):","===n.value?t.formatComma(n,e):":"===n.value?t.formatWithSpaceAfter(n,e):"."===n.value?t.formatWithoutSpaces(n,e):";"===n.value?t.formatQuerySeparator(n,e):t.formatWithSpaces(n,e))}),e},t.prototype.formatLineComment=function(t,e){return this.addNewline(e+t.value)},t.prototype.formatBlockComment=function(t,e){return this.addNewline(this.addNewline(e)+this.indentComment(t.value))},t.prototype.indentComment=function(t){return t.replace(/\n/g,"\n"+this.indentation.getIndent())},t.prototype.formatToplevelReservedWord=function(t,e){return this.indentation.decreaseTopLevel(),e=this.addNewline(e),this.indentation.increaseToplevel(),e+=this.equalizeWhitespace(t.value),this.addNewline(e)},t.prototype.formatNewlineReservedWord=function(t,e){return this.addNewline(e)+this.equalizeWhitespace(t.value)+" "},t.prototype.equalizeWhitespace=function(t){return t.replace(/\s+/g," ")},t.prototype.formatOpeningParentheses=function(t,e){return[o.default.WHITESPACE,o.default.OPEN_PAREN,o.default.LINE_COMMENT].includes(this.previousToken().type)||(e=(0,r.default)(e)),e+=t.value,this.inlineBlock.beginIfPossible(this.tokens,this.index),this.inlineBlock.isActive()||(this.indentation.increaseBlockLevel(),e=this.addNewline(e)),e},t.prototype.formatClosingParentheses=function(t,e){return this.inlineBlock.isActive()?(this.inlineBlock.end(),this.formatWithSpaceAfter(t,e)):(this.indentation.decreaseBlockLevel(),this.formatWithSpaces(t,this.addNewline(e)))},t.prototype.formatPlaceholder=function(t,e){return e+this.params.get(t)+" "},t.prototype.formatComma=function(t,e){return e=this.trimTrailingWhitespace(e)+t.value+" ",this.inlineBlock.isActive()?e:/^LIMIT$/i.test(this.previousReservedWord.value)?e:this.addNewline(e)},t.prototype.formatWithSpaceAfter=function(t,e){return this.trimTrailingWhitespace(e)+t.value+" "},t.prototype.formatWithoutSpaces=function(t,e){return this.trimTrailingWhitespace(e)+t.value},t.prototype.formatWithSpaces=function(t,e){return e+t.value+" "},t.prototype.formatQuerySeparator=function(t,e){return this.trimTrailingWhitespace(e)+t.value+"\n"},t.prototype.addNewline=function(t){return(0,r.default)(t)+"\n"+this.indentation.getIndent()},t.prototype.trimTrailingWhitespace=function(t){return this.previousNonWhitespaceToken().type===o.default.LINE_COMMENT?(0,r.default)(t)+"\n":(0,r.default)(t)},t.prototype.previousNonWhitespaceToken=function(){for(var t=1;this.previousToken(t).type===o.default.WHITESPACE;)t++;return this.previousToken(t)},t.prototype.previousToken=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.tokens[this.index-t]||{}},t}();e.default=u,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(195)),o=a(n(210)),i=a(n(39));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.WHITESPACE_REGEX=/^(\s+)/,this.NUMBER_REGEX=/^((-\s*)?[0-9]+(\.[0-9]+)?|0x[0-9a-fA-F]+|0b[01]+)\b/,this.OPERATOR_REGEX=/^(!=|<>|==|<=|>=|!<|!>|\|\||::|->>|->|~~\*|~~|!~~\*|!~~|~\*|!~\*|!~|.)/,this.BLOCK_COMMENT_REGEX=/^(\/\*[^]*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=this.createLineCommentRegex(e.lineCommentTypes),this.RESERVED_TOPLEVEL_REGEX=this.createReservedWordRegex(e.reservedToplevelWords),this.RESERVED_NEWLINE_REGEX=this.createReservedWordRegex(e.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=this.createReservedWordRegex(e.reservedWords),this.WORD_REGEX=this.createWordRegex(e.specialWordChars),this.STRING_REGEX=this.createStringRegex(e.stringTypes),this.OPEN_PAREN_REGEX=this.createParenRegex(e.openParens),this.CLOSE_PAREN_REGEX=this.createParenRegex(e.closeParens),this.INDEXED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(e.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(e.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=this.createPlaceholderRegex(e.namedPlaceholderTypes,this.createStringPattern(e.stringTypes))}return t.prototype.createLineCommentRegex=function(t){return new RegExp("^((?:"+t.map(function(t){return(0,o.default)(t)}).join("|")+").*?(?:\n|$))")},t.prototype.createReservedWordRegex=function(t){var e=t.join("|").replace(/ /g,"\\s+");return new RegExp("^("+e+")\\b","i")},t.prototype.createWordRegex=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new RegExp("^([\\w"+t.join("")+"]+)")},t.prototype.createStringRegex=function(t){return new RegExp("^("+this.createStringPattern(t)+")")},t.prototype.createStringPattern=function(t){var e={"``":"((`[^`]*($|`))+)","[]":"((\\[[^\\]]*($|\\]))(\\][^\\]]*($|\\]))*)",'""':'(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*("|$))+)',"''":"(('[^'\\\\]*(?:\\\\.[^'\\\\]*)*('|$))+)","N''":"((N'[^N'\\\\]*(?:\\\\.[^N'\\\\]*)*('|$))+)"};return t.map(function(t){return e[t]}).join("|")},t.prototype.createParenRegex=function(t){var e=this;return new RegExp("^("+t.map(function(t){return e.escapeParen(t)}).join("|")+")","i")},t.prototype.escapeParen=function(t){return 1===t.length?(0,o.default)(t):"\\b"+t+"\\b"},t.prototype.createPlaceholderRegex=function(t,e){if((0,r.default)(t))return!1;var n=t.map(o.default).join("|");return new RegExp("^((?:"+n+")(?:"+e+"))")},t.prototype.tokenize=function(t){for(var e=[],n=void 0;t.length;)n=this.getNextToken(t,n),t=t.substring(n.value.length),e.push(n);return e},t.prototype.getNextToken=function(t,e){return this.getWhitespaceToken(t)||this.getCommentToken(t)||this.getStringToken(t)||this.getOpenParenToken(t)||this.getCloseParenToken(t)||this.getPlaceholderToken(t)||this.getNumberToken(t)||this.getReservedWordToken(t,e)||this.getWordToken(t)||this.getOperatorToken(t)},t.prototype.getWhitespaceToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.WHITESPACE,regex:this.WHITESPACE_REGEX})},t.prototype.getCommentToken=function(t){return this.getLineCommentToken(t)||this.getBlockCommentToken(t)},t.prototype.getLineCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})},t.prototype.getBlockCommentToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})},t.prototype.getStringToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.STRING,regex:this.STRING_REGEX})},t.prototype.getOpenParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})},t.prototype.getCloseParenToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})},t.prototype.getPlaceholderToken=function(t){return this.getIdentNamedPlaceholderToken(t)||this.getStringNamedPlaceholderToken(t)||this.getIndexedPlaceholderToken(t)},t.prototype.getIdentNamedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getStringNamedPlaceholderToken=function(t){var e=this;return this.getPlaceholderTokenWithKey({input:t,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(t){return e.getEscapedPlaceholderKey({key:t.slice(2,-1),quoteChar:t.slice(-1)})}})},t.prototype.getIndexedPlaceholderToken=function(t){return this.getPlaceholderTokenWithKey({input:t,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(t){return t.slice(1)}})},t.prototype.getPlaceholderTokenWithKey=function(t){var e=t.input,n=t.regex,r=t.parseKey,o=this.getTokenOnFirstMatch({input:e,regex:n,type:i.default.PLACEHOLDER});return o&&(o.key=r(o.value)),o},t.prototype.getEscapedPlaceholderKey=function(t){var e=t.key,n=t.quoteChar;return e.replace(new RegExp((0,o.default)("\\")+n,"g"),n)},t.prototype.getNumberToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.NUMBER,regex:this.NUMBER_REGEX})},t.prototype.getOperatorToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.OPERATOR,regex:this.OPERATOR_REGEX})},t.prototype.getReservedWordToken=function(t,e){if(!e||!e.value||"."!==e.value)return this.getToplevelReservedToken(t)||this.getNewlineReservedToken(t)||this.getPlainReservedToken(t)},t.prototype.getToplevelReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.RESERVED_TOPLEVEL,regex:this.RESERVED_TOPLEVEL_REGEX})},t.prototype.getNewlineReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})},t.prototype.getPlainReservedToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.RESERVED,regex:this.RESERVED_PLAIN_REGEX})},t.prototype.getWordToken=function(t){return this.getTokenOnFirstMatch({input:t,type:i.default.WORD,regex:this.WORD_REGEX})},t.prototype.getTokenOnFirstMatch=function(t){var e=t.input,n=t.type,r=t.regex,o=e.match(r);if(o)return{type:n,value:o[1]}},t}();e.default=s,t.exports=e.default},function(t,e,n){var r=n(12)(Object,"create");t.exports=r},function(t,e,n){var r=n(223),o=n(224),i=n(225),a=n(226),s=n(227);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(40);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(229);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(23),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){"use strict";function r(t,e,n){var r=t.editor,o={sublime:"subl://open?url=file://%path&line=%line",textmate:"txmt://open?url=file://%path&line=%line",emacs:"emacs://open?url=file://%path&line=%line",macvim:"mvim://open/?url=file://%path&line=%line",phpstorm:"phpstorm://open?file=%path&line=%line",idea:"idea://open?file=%path&line=%line",vscode:"vscode://file/%path:%line","vscode-insiders":"vscode-insiders://file/%path:%line",atom:"atom://core/open/file?filename=%path&line=%line"};return e=(t.remoteSitesPath||!1).length>0&&(t.localSitesPath||!1).length>0?e.replace(t.remoteSitesPath,t.localSitesPath):e,Object.keys(o).includes(r)?o[r].replace("%path",encodeURIComponent(e)).replace("%line",encodeURIComponent(n)):(console.error("'".concat(r,"' is not supported. Support editors are: ").concat(Object.keys(o).join(", "))),null)}n.d(e,"a",function(){return r})},function(t,e,n){var r=n(171)("toUpperCase");t.exports=r},function(t,e,n){"use strict";var r={props:{label:{required:!0},name:{required:!0},disabled:{required:!1},value:{required:!1,default:!1}},methods:{checkboxChanged:function(t){this.$emit("input",t.target.checked)}}},o=n(0),i=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"checkbox-label",class:t.disabled?"text-gray-400 pointer-events-none":"",attrs:{for:t.name}},[n("input",{staticClass:"checkbox",attrs:{id:t.name,type:"checkbox",disabled:t.disabled},domProps:{checked:t.value},on:{change:t.checkboxChanged}}),t._v("\n "+t._s(t.label)+"\n")])},[],!1,null,null,null);e.a=i.exports},function(t,e){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},r.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),t.__cache__={},e.forEach(function(e){t.__cache__[e]=[],t.__rules__.forEach(function(n){n.enabled&&(e&&n.alt.indexOf(e)<0||t.__cache__[e].push(n.fn))})})},r.prototype.at=function(t,e,n){var r=this.__find__(t),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=o.alt||[],this.__cache__=null},r.prototype.before=function(t,e,n,r){var o=this.__find__(t),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.after=function(t,e,n,r){var o=this.__find__(t),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var r=this.__find__(t);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[r].enabled=!0,n.push(t)},this),this.__cache__=null,n},r.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(t,e)},r.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var r=this.__find__(t);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[r].enabled=!1,n.push(t)},this),this.__cache__=null,n},r.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},t.exports=r},function(t,e,n){"use strict";function r(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(t){var e,n,r;if(!this.attrs)return-1;for(n=0,r=(e=this.attrs).length;n<r;n++)if(e[n][0]===t)return n;return-1},r.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},r.prototype.attrSet=function(t,e){var n=this.attrIndex(t),r=[t,e];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(t){var e=this.attrIndex(t),n=null;return e>=0&&(n=this.attrs[e][1]),n},r.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=r},function(t,e,n){"use strict";e.__esModule=!0,e.default={WHITESPACE:"whitespace",WORD:"word",STRING:"string",RESERVED:"reserved",RESERVED_TOPLEVEL:"reserved-toplevel",RESERVED_NEWLINE:"reserved-newline",OPERATOR:"operator",OPEN_PAREN:"open-paren",CLOSE_PAREN:"close-paren",LINE_COMMENT:"line-comment",BLOCK_COMMENT:"block-comment",NUMBER:"number",PLACEHOLDER:"placeholder"},t.exports=e.default},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(73),o=n(42);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?n:e)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(12)(n(8),"Map");t.exports=r},function(t,e,n){var r=n(205),o=n(18),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e,n){(function(t){var r=n(8),o=n(206),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;t.exports=c}).call(this,n(21)(t))},function(t,e,n){var r=n(207),o=n(208),i=n(209),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},function(t,e,n){var r=n(216),o=n(228),i=n(230),a=n(231),s=n(232);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},function(t,e,n){var r=n(243),o=n(74),i=n(41);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,e,n){var r=n(9),o=n(23),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e,n){"use strict";var r=n(163);function o(t){if("string"!=typeof t)throw new Error("The url must be a string.");var e=r(t),n=e.resource.split("."),i=null;switch(e.toString=function(t){return o.stringify(this,t)},e.source=n.length>2?n.slice(1-n.length).join("."):e.source=e.resource,e.git_suffix=/\.git$/.test(e.pathname),e.name=decodeURIComponent(e.pathname.replace(/^\//,"").replace(/\.git$/,"")),e.owner=decodeURIComponent(e.user),e.source){case"git.cloudforge.com":e.owner=e.user,e.organization=n[0],e.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===e.resource){4===(i=e.name.split("/")).length&&(e.organization=i[1],e.owner=i[2],e.name=i[3],e.full_name=i[2]+"/"+i[3]);break}2===(i=e.name.split("/")).length?(e.owner=i[1],e.name=i[1],e.full_name="_git/"+e.name):3===i.length?(e.name=i[2],"DefaultCollection"===i[0]?(e.owner=i[2],e.organization=i[0],e.full_name=e.organization+"/_git/"+e.name):(e.owner=i[0],e.full_name=e.owner+"/_git/"+e.name)):4===i.length&&(e.organization=i[0],e.owner=i[1],e.name=i[3],e.full_name=e.organization+"/"+e.owner+"/_git/"+e.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===e.resource){4===(i=e.name.split("/")).length&&(e.organization=i[1],e.owner=i[2],e.name=i[3]);break}5===(i=e.name.split("/")).length?(e.organization=i[0],e.owner=i[1],e.name=i[4],e.full_name="_git/"+e.name):3===i.length?(e.name=i[2],"DefaultCollection"===i[0]?(e.owner=i[2],e.organization=i[0],e.full_name=e.organization+"/_git/"+e.name):(e.owner=i[0],e.full_name=e.owner+"/_git/"+e.name)):4===i.length&&(e.organization=i[0],e.owner=i[1],e.name=i[3],e.full_name=e.organization+"/"+e.owner+"/_git/"+e.name);break;default:var a=(i=e.name.split("/")).length-1;if(i.length>=2){var s=i.indexOf("blob",2),c=i.indexOf("tree",2),u=i.indexOf("commit",2);a=s>0?s-1:c>0?c-1:u>0?u-1:a,e.owner=i.slice(0,a).join("/"),e.name=i[a],u&&(e.commit=i[a+2])}e.ref="",e.filepathtype="",e.filepath="",i.length>a+2&&["blob","tree"].indexOf(i[a+1])>=0&&(e.filepathtype=i[a+1],e.ref=i[a+2],i.length>a+3&&(e.filepath=i.slice(a+3).join("/"))),e.organization=e.owner}return e.full_name||(e.full_name=e.owner,e.name&&(e.full_name&&(e.full_name+="/"),e.full_name+=e.name)),e}o.stringify=function(t,e){e=e||(t.protocols&&t.protocols.length?t.protocols.join("+"):t.protocol);var n=t.port?":"+t.port:"",r=t.user||"git",o=t.git_suffix?".git":"";switch(e){case"ssh":return n?"ssh://"+r+"@"+t.resource+n+"/"+t.full_name+o:r+"@"+t.resource+":"+t.full_name+o;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return e+"://"+r+"@"+t.resource+n+"/"+t.full_name+o;case"http":case"https":return e+"://"+(t.token? /*! * buildToken * Builds OAuth token prefix (helper function) * * @name buildToken * @function * @param {GitUrl} obj The parsed Git url object. * @return {String} token prefix */ function(t){switch(t.source){case"bitbucket.org":return"x-token-auth:"+t.token+"@";default:return t.token+"@"}}(t):t.user&&(t.protocols.includes("http")||t.protocols.includes("https"))?t.user+"@":"")+t.resource+n+"/"+t.full_name+o;default:return t.href}},t.exports=o},function(t,e,n){(function(t,r){var o; /** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var i,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="__lodash_hash_undefined__",l=500,f="__lodash_placeholder__",p=1,d=2,h=4,m=1,g=2,v=1,b=2,_=4,y=8,E=16,k=32,x=64,w=128,C=256,A=512,T=30,S="...",R=800,O=16,N=1,L=2,I=1/0,D=9007199254740991,M=17976931348623157e292,P=NaN,j=4294967295,U=j-1,F=j>>>1,$=[["ary",w],["bind",v],["bindKey",b],["curry",y],["curryRight",E],["flip",A],["partial",k],["partialRight",x],["rearg",C]],B="[object Arguments]",z="[object Array]",q="[object AsyncFunction]",H="[object Boolean]",G="[object Date]",V="[object DOMException]",W="[object Error]",Y="[object Function]",K="[object GeneratorFunction]",X="[object Map]",Z="[object Number]",J="[object Null]",Q="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",it="[object Undefined]",at="[object WeakMap]",st="[object WeakSet]",ct="[object ArrayBuffer]",ut="[object DataView]",lt="[object Float32Array]",ft="[object Float64Array]",pt="[object Int8Array]",dt="[object Int16Array]",ht="[object Int32Array]",mt="[object Uint8Array]",gt="[object Uint8ClampedArray]",vt="[object Uint16Array]",bt="[object Uint32Array]",_t=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,xt=/[&<>"']/g,wt=RegExp(kt.source),Ct=RegExp(xt.source),At=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,St=/<%=([\s\S]+?)%>/g,Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Lt.source),Dt=/^\s+|\s+$/g,Mt=/^\s+/,Pt=/\s+$/,jt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Ft=/,? & /,$t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bt=/\\(\\)?/g,zt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,Wt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xt=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Qt+"]",ne="["+Jt+"]",re="\\d+",oe="[\\u2700-\\u27bf]",ie="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Qt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pe="(?:"+ie+"|"+ae+")",de="(?:"+fe+"|"+ae+")",he="(?:"+ne+"|"+se+")"+"?",me="[\\ufe0e\\ufe0f]?"+he+("(?:\\u200d(?:"+[ce,ue,le].join("|")+")[\\ufe0e\\ufe0f]?"+he+")*"),ge="(?:"+[oe,ue,le].join("|")+")"+me,ve="(?:"+[ce+ne+"?",ne,ue,le,te].join("|")+")",be=RegExp("['’]","g"),_e=RegExp(ne,"g"),ye=RegExp(se+"(?="+se+")|"+ve+me,"g"),Ee=RegExp([fe+"?"+ie+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+pe,"$"].join("|")+")",fe+"?"+pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ge].join("|"),"g"),ke=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,we=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ce=-1,Ae={};Ae[lt]=Ae[ft]=Ae[pt]=Ae[dt]=Ae[ht]=Ae[mt]=Ae[gt]=Ae[vt]=Ae[bt]=!0,Ae[B]=Ae[z]=Ae[ct]=Ae[H]=Ae[ut]=Ae[G]=Ae[W]=Ae[Y]=Ae[X]=Ae[Z]=Ae[Q]=Ae[et]=Ae[nt]=Ae[rt]=Ae[at]=!1;var Te={};Te[B]=Te[z]=Te[ct]=Te[ut]=Te[H]=Te[G]=Te[lt]=Te[ft]=Te[pt]=Te[dt]=Te[ht]=Te[X]=Te[Z]=Te[Q]=Te[et]=Te[nt]=Te[rt]=Te[ot]=Te[mt]=Te[gt]=Te[vt]=Te[bt]=!0,Te[W]=Te[Y]=Te[at]=!1;var Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Re=parseFloat,Oe=parseInt,Ne="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,Ie=Ne||Le||Function("return this")(),De=e&&!e.nodeType&&e,Me=De&&"object"==typeof r&&r&&!r.nodeType&&r,Pe=Me&&Me.exports===De,je=Pe&&Ne.process,Ue=function(){try{var t=Me&&Me.require&&Me.require("util").types;return t||je&&je.binding&&je.binding("util")}catch(t){}}(),Fe=Ue&&Ue.isArrayBuffer,$e=Ue&&Ue.isDate,Be=Ue&&Ue.isMap,ze=Ue&&Ue.isRegExp,qe=Ue&&Ue.isSet,He=Ue&&Ue.isTypedArray;function Ge(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ve(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}function We(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ye(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Xe(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function Ze(t,e){return!!(null==t?0:t.length)&&cn(t,e,0)>-1}function Je(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Qe(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function tn(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function en(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function nn(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=pn("length");function an(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function sn(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function cn(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):sn(t,ln,n)}function un(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function ln(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?mn(t,e)/n:P}function pn(t){return function(e){return null==e?i:e[t]}}function dn(t){return function(e){return null==t?i:t[e]}}function hn(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function mn(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function gn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function vn(t){return function(e){return t(e)}}function bn(t,e){return Qe(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function yn(t,e){for(var n=-1,r=t.length;++n<r&&cn(e,t[n],0)>-1;);return n}function En(t,e){for(var n=t.length;n--&&cn(e,t[n],0)>-1;);return n}var kn=dn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xn=dn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function wn(t){return"\\"+Se[t]}function Cn(t){return ke.test(t)}function An(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Tn(t,e){return function(n){return t(e(n))}}function Sn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n];a!==e&&a!==f||(t[n]=f,i[o++]=n)}return i}function Rn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Nn(t){return Cn(t)?function(t){var e=ye.lastIndex=0;for(;ye.test(t);)++e;return e}(t):on(t)}function Ln(t){return Cn(t)?function(t){return t.match(ye)||[]}(t):function(t){return t.split("")}(t)}var In=dn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Dn=function t(e){var n,r=(e=null==e?Ie:Dn.defaults(Ie.Object(),e,Dn.pick(Ie,we))).Array,o=e.Date,Jt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,oe=e.TypeError,ie=r.prototype,ae=Qt.prototype,se=ee.prototype,ce=e["__core-js_shared__"],ue=ae.toString,le=se.hasOwnProperty,fe=0,pe=(n=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=se.toString,he=ue.call(ee),me=Ie._,ge=ne("^"+ue.call(le).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=Pe?e.Buffer:i,ye=e.Symbol,ke=e.Uint8Array,Se=ve?ve.allocUnsafe:i,Ne=Tn(ee.getPrototypeOf,ee),Le=ee.create,De=se.propertyIsEnumerable,Me=ie.splice,je=ye?ye.isConcatSpreadable:i,Ue=ye?ye.iterator:i,on=ye?ye.toStringTag:i,dn=function(){try{var t=Fi(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Mn=e.clearTimeout!==Ie.clearTimeout&&e.clearTimeout,Pn=o&&o.now!==Ie.Date.now&&o.now,jn=e.setTimeout!==Ie.setTimeout&&e.setTimeout,Un=te.ceil,Fn=te.floor,$n=ee.getOwnPropertySymbols,Bn=ve?ve.isBuffer:i,zn=e.isFinite,qn=ie.join,Hn=Tn(ee.keys,ee),Gn=te.max,Vn=te.min,Wn=o.now,Yn=e.parseInt,Kn=te.random,Xn=ie.reverse,Zn=Fi(e,"DataView"),Jn=Fi(e,"Map"),Qn=Fi(e,"Promise"),tr=Fi(e,"Set"),er=Fi(e,"WeakMap"),nr=Fi(ee,"create"),rr=er&&new er,or={},ir=fa(Zn),ar=fa(Jn),sr=fa(Qn),cr=fa(tr),ur=fa(er),lr=ye?ye.prototype:i,fr=lr?lr.valueOf:i,pr=lr?lr.toString:i;function dr(t){if(Ss(t)&&!vs(t)&&!(t instanceof vr)){if(t instanceof gr)return t;if(le.call(t,"__wrapped__"))return pa(t)}return new gr(t)}var hr=function(){function t(){}return function(e){if(!Ts(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function mr(){}function gr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function vr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Er(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new yr;++e<n;)this.add(t[e])}function kr(t){var e=this.__data__=new _r(t);this.size=e.size}function xr(t,e){var n=vs(t),r=!n&&gs(t),o=!n&&!r&&Es(t),i=!n&&!r&&!o&&Ps(t),a=n||r||o||i,s=a?gn(t.length,re):[],c=s.length;for(var u in t)!e&&!le.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Vi(u,c))||s.push(u);return s}function wr(t){var e=t.length;return e?t[ko(0,e-1)]:i}function Cr(t,e){return ca(ri(t),Dr(e,0,t.length))}function Ar(t){return ca(ri(t))}function Tr(t,e,n){(n===i||ds(t[e],n))&&(n!==i||e in t)||Lr(t,e,n)}function Sr(t,e,n){var r=t[e];le.call(t,e)&&ds(r,n)&&(n!==i||e in t)||Lr(t,e,n)}function Rr(t,e){for(var n=t.length;n--;)if(ds(t[n][0],e))return n;return-1}function Or(t,e,n,r){return Fr(t,function(t,o,i){e(r,t,n(t),i)}),r}function Nr(t,e){return t&&oi(e,oc(e),t)}function Lr(t,e,n){"__proto__"==e&&dn?dn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ir(t,e){for(var n=-1,o=e.length,a=r(o),s=null==t;++n<o;)a[n]=s?i:Qs(t,e[n]);return a}function Dr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function Mr(t,e,n,r,o,a){var s,c=e&p,u=e&d,l=e&h;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!Ts(t))return t;var f=vs(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&le.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!c)return ri(t,s)}else{var m=zi(t),g=m==Y||m==K;if(Es(t))return Zo(t,c);if(m==Q||m==B||g&&!o){if(s=u||g?{}:Hi(t),!c)return u?function(t,e){return oi(t,Bi(t),e)}(t,function(t,e){return t&&oi(e,ic(e),t)}(s,t)):function(t,e){return oi(t,$i(t),e)}(t,Nr(s,t))}else{if(!Te[m])return o?t:{};s=function(t,e,n){var r,o=t.constructor;switch(e){case ct:return Jo(t);case H:case G:return new o(+t);case ut:return function(t,e){var n=e?Jo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case lt:case ft:case pt:case dt:case ht:case mt:case gt:case vt:case bt:return Qo(t,n);case X:return new o;case Z:case rt:return new o(t);case et:return function(t){var e=new t.constructor(t.source,qt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case nt:return new o;case ot:return r=t,fr?ee(fr.call(r)):{}}}(t,m,c)}}a||(a=new kr);var v=a.get(t);if(v)return v;a.set(t,s),Is(t)?t.forEach(function(r){s.add(Mr(r,e,n,r,t,a))}):Rs(t)&&t.forEach(function(r,o){s.set(o,Mr(r,e,n,o,t,a))});var b=f?i:(l?u?Li:Ni:u?ic:oc)(t);return We(b||t,function(r,o){b&&(r=t[o=r]),Sr(s,o,Mr(r,e,n,o,t,a))}),s}function Pr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function jr(t,e,n){if("function"!=typeof t)throw new oe(c);return oa(function(){t.apply(i,n)},e)}function Ur(t,e,n,r){var o=-1,i=Ze,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Qe(e,vn(n))),r?(i=Je,s=!1):e.length>=a&&(i=_n,s=!1,e=new Er(e));t:for(;++o<c;){var f=t[o],p=null==n?f:n(f);if(f=r||0!==f?f:0,s&&p==p){for(var d=l;d--;)if(e[d]===p)continue t;u.push(f)}else i(e,p,r)||u.push(f)}return u}dr.templateSettings={escape:At,evaluate:Tt,interpolate:St,variable:"",imports:{_:dr}},dr.prototype=mr.prototype,dr.prototype.constructor=dr,gr.prototype=hr(mr.prototype),gr.prototype.constructor=gr,vr.prototype=hr(mr.prototype),vr.prototype.constructor=vr,br.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},br.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},br.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===u?i:n}return le.call(e,t)?e[t]:i},br.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==i:le.call(e,t)},br.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===i?u:e,this},_r.prototype.clear=function(){this.__data__=[],this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=Rr(e,t);return!(n<0||(n==e.length-1?e.pop():Me.call(e,n,1),--this.size,0))},_r.prototype.get=function(t){var e=this.__data__,n=Rr(e,t);return n<0?i:e[n][1]},_r.prototype.has=function(t){return Rr(this.__data__,t)>-1},_r.prototype.set=function(t,e){var n=this.__data__,r=Rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},yr.prototype.clear=function(){this.size=0,this.__data__={hash:new br,map:new(Jn||_r),string:new br}},yr.prototype.delete=function(t){var e=ji(this,t).delete(t);return this.size-=e?1:0,e},yr.prototype.get=function(t){return ji(this,t).get(t)},yr.prototype.has=function(t){return ji(this,t).has(t)},yr.prototype.set=function(t,e){var n=ji(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Er.prototype.add=Er.prototype.push=function(t){return this.__data__.set(t,u),this},Er.prototype.has=function(t){return this.__data__.has(t)},kr.prototype.clear=function(){this.__data__=new _r,this.size=0},kr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},kr.prototype.get=function(t){return this.__data__.get(t)},kr.prototype.has=function(t){return this.__data__.has(t)},kr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _r){var r=n.__data__;if(!Jn||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new yr(r)}return n.set(t,e),this.size=n.size,this};var Fr=si(Wr),$r=si(Yr,!0);function Br(t,e){var n=!0;return Fr(t,function(t,r,o){return n=!!e(t,r,o)}),n}function zr(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=e(a);if(null!=s&&(c===i?s==s&&!Ms(s):n(s,c)))var c=s,u=a}return u}function qr(t,e){var n=[];return Fr(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function Hr(t,e,n,r,o){var i=-1,a=t.length;for(n||(n=Gi),o||(o=[]);++i<a;){var s=t[i];e>0&&n(s)?e>1?Hr(s,e-1,n,r,o):tn(o,s):r||(o[o.length]=s)}return o}var Gr=ci(),Vr=ci(!0);function Wr(t,e){return t&&Gr(t,e,oc)}function Yr(t,e){return t&&Vr(t,e,oc)}function Kr(t,e){return Xe(e,function(e){return ws(t[e])})}function Xr(t,e){for(var n=0,r=(e=Wo(e,t)).length;null!=t&&n<r;)t=t[la(e[n++])];return n&&n==r?t:i}function Zr(t,e,n){var r=e(t);return vs(t)?r:tn(r,n(t))}function Jr(t){return null==t?t===i?it:J:on&&on in ee(t)?function(t){var e=le.call(t,on),n=t[on];try{t[on]=i;var r=!0}catch(t){}var o=de.call(t);return r&&(e?t[on]=n:delete t[on]),o}(t):function(t){return de.call(t)}(t)}function Qr(t,e){return t>e}function to(t,e){return null!=t&&le.call(t,e)}function eo(t,e){return null!=t&&e in ee(t)}function no(t,e,n){for(var o=n?Je:Ze,a=t[0].length,s=t.length,c=s,u=r(s),l=1/0,f=[];c--;){var p=t[c];c&&e&&(p=Qe(p,vn(e))),l=Vn(p.length,l),u[c]=!n&&(e||a>=120&&p.length>=120)?new Er(c&&p):i}p=t[0];var d=-1,h=u[0];t:for(;++d<a&&f.length<l;){var m=p[d],g=e?e(m):m;if(m=n||0!==m?m:0,!(h?_n(h,g):o(f,g,n))){for(c=s;--c;){var v=u[c];if(!(v?_n(v,g):o(t[c],g,n)))continue t}h&&h.push(g),f.push(m)}}return f}function ro(t,e,n){var r=null==(t=ea(t,e=Wo(e,t)))?t:t[la(xa(e))];return null==r?i:Ge(r,t,n)}function oo(t){return Ss(t)&&Jr(t)==B}function io(t,e,n,r,o){return t===e||(null==t||null==e||!Ss(t)&&!Ss(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var s=vs(t),c=vs(e),u=s?z:zi(t),l=c?z:zi(e),f=(u=u==B?Q:u)==Q,p=(l=l==B?Q:l)==Q,d=u==l;if(d&&Es(t)){if(!Es(e))return!1;s=!0,f=!1}if(d&&!f)return a||(a=new kr),s||Ps(t)?Ri(t,e,n,r,o,a):function(t,e,n,r,o,i,a){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ct:return!(t.byteLength!=e.byteLength||!i(new ke(t),new ke(e)));case H:case G:case Z:return ds(+t,+e);case W:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case X:var s=An;case nt:var c=r&m;if(s||(s=Rn),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=g,a.set(t,e);var l=Ri(s(t),s(e),r,o,i,a);return a.delete(t),l;case ot:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,u,n,r,o,a);if(!(n&m)){var h=f&&le.call(t,"__wrapped__"),v=p&&le.call(e,"__wrapped__");if(h||v){var b=h?t.value():t,_=v?e.value():e;return a||(a=new kr),o(b,_,n,r,a)}}return!!d&&(a||(a=new kr),function(t,e,n,r,o,a){var s=n&m,c=Ni(t),u=c.length,l=Ni(e).length;if(u!=l&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in e:le.call(e,p)))return!1}var d=a.get(t);if(d&&a.get(e))return d==e;var h=!0;a.set(t,e),a.set(e,t);for(var g=s;++f<u;){p=c[f];var v=t[p],b=e[p];if(r)var _=s?r(b,v,p,e,t,a):r(v,b,p,t,e,a);if(!(_===i?v===b||o(v,b,n,r,a):_)){h=!1;break}g||(g="constructor"==p)}if(h&&!g){var y=t.constructor,E=e.constructor;y!=E&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof E&&E instanceof E)&&(h=!1)}return a.delete(t),a.delete(e),h}(t,e,n,r,o,a))}(t,e,n,r,io,o))}function ao(t,e,n,r){var o=n.length,a=o,s=!r;if(null==t)return!a;for(t=ee(t);o--;){var c=n[o];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<a;){var u=(c=n[o])[0],l=t[u],f=c[1];if(s&&c[2]){if(l===i&&!(u in t))return!1}else{var p=new kr;if(r)var d=r(l,f,u,t,e,p);if(!(d===i?io(f,l,m|g,r,p):d))return!1}}return!0}function so(t){return!(!Ts(t)||(e=t,pe&&pe in e))&&(ws(t)?ge:Vt).test(fa(t));var e}function co(t){return"function"==typeof t?t:null==t?Oc:"object"==typeof t?vs(t)?mo(t[0],t[1]):ho(t):Fc(t)}function uo(t){if(!Zi(t))return Hn(t);var e=[];for(var n in ee(t))le.call(t,n)&&"constructor"!=n&&e.push(n);return e}function lo(t){if(!Ts(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Zi(t),n=[];for(var r in t)("constructor"!=r||!e&&le.call(t,r))&&n.push(r);return n}function fo(t,e){return t<e}function po(t,e){var n=-1,o=_s(t)?r(t.length):[];return Fr(t,function(t,r,i){o[++n]=e(t,r,i)}),o}function ho(t){var e=Ui(t);return 1==e.length&&e[0][2]?Qi(e[0][0],e[0][1]):function(n){return n===t||ao(n,t,e)}}function mo(t,e){return Yi(t)&&Ji(e)?Qi(la(t),e):function(n){var r=Qs(n,t);return r===i&&r===e?tc(n,t):io(e,r,m|g)}}function go(t,e,n,r,o){t!==e&&Gr(e,function(a,s){if(o||(o=new kr),Ts(a))!function(t,e,n,r,o,a,s){var c=na(t,n),u=na(e,n),l=s.get(u);if(l)Tr(t,n,l);else{var f=a?a(c,u,n+"",t,e,s):i,p=f===i;if(p){var d=vs(u),h=!d&&Es(u),m=!d&&!h&&Ps(u);f=u,d||h||m?vs(c)?f=c:ys(c)?f=ri(c):h?(p=!1,f=Zo(u,!0)):m?(p=!1,f=Qo(u,!0)):f=[]:Ns(u)||gs(u)?(f=c,gs(c)?f=Hs(c):Ts(c)&&!ws(c)||(f=Hi(u))):p=!1}p&&(s.set(u,f),o(f,u,r,a,s),s.delete(u)),Tr(t,n,f)}}(t,e,s,n,go,r,o);else{var c=r?r(na(t,s),a,s+"",t,e,o):i;c===i&&(c=a),Tr(t,s,c)}},ic)}function vo(t,e){var n=t.length;if(n)return Vi(e+=e<0?n:0,n)?t[e]:i}function bo(t,e,n){var r=-1;return e=Qe(e.length?e:[Oc],vn(Pi())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(po(t,function(t,n,o){return{criteria:Qe(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,a=o.length,s=n.length;++r<a;){var c=ti(o[r],i[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function _o(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var a=e[r],s=Xr(t,a);n(s,a)&&To(i,Wo(a,t),s)}return i}function yo(t,e,n,r){var o=r?un:cn,i=-1,a=e.length,s=t;for(t===e&&(e=ri(e)),n&&(s=Qe(t,vn(n)));++i<a;)for(var c=0,u=e[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==t&&Me.call(s,c,1),Me.call(t,c,1);return t}function Eo(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;Vi(o)?Me.call(t,o,1):Fo(t,o)}}return t}function ko(t,e){return t+Fn(Kn()*(e-t+1))}function xo(t,e){var n="";if(!t||e<1||e>D)return n;do{e%2&&(n+=t),(e=Fn(e/2))&&(t+=t)}while(e);return n}function wo(t,e){return ia(ta(t,e,Oc),t+"")}function Co(t){return wr(dc(t))}function Ao(t,e){var n=dc(t);return ca(n,Dr(e,0,n.length))}function To(t,e,n,r){if(!Ts(t))return t;for(var o=-1,a=(e=Wo(e,t)).length,s=a-1,c=t;null!=c&&++o<a;){var u=la(e[o]),l=n;if(o!=s){var f=c[u];(l=r?r(f,u,c):i)===i&&(l=Ts(f)?f:Vi(e[o+1])?[]:{})}Sr(c,u,l),c=c[u]}return t}var So=rr?function(t,e){return rr.set(t,e),t}:Oc,Ro=dn?function(t,e){return dn(t,"toString",{configurable:!0,enumerable:!1,value:Tc(e),writable:!0})}:Oc;function Oo(t){return ca(dc(t))}function No(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=r(i);++o<i;)a[o]=t[o+e];return a}function Lo(t,e){var n;return Fr(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function Io(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=F){for(;r<o;){var i=r+o>>>1,a=t[i];null!==a&&!Ms(a)&&(n?a<=e:a<e)?r=i+1:o=i}return o}return Do(t,e,Oc,n)}function Do(t,e,n,r){e=n(e);for(var o=0,a=null==t?0:t.length,s=e!=e,c=null===e,u=Ms(e),l=e===i;o<a;){var f=Fn((o+a)/2),p=n(t[f]),d=p!==i,h=null===p,m=p==p,g=Ms(p);if(s)var v=r||m;else v=l?m&&(r||d):c?m&&d&&(r||!h):u?m&&d&&!h&&(r||!g):!h&&!g&&(r?p<=e:p<e);v?o=f+1:a=f}return Vn(a,U)}function Mo(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!ds(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Po(t){return"number"==typeof t?t:Ms(t)?P:+t}function jo(t){if("string"==typeof t)return t;if(vs(t))return Qe(t,jo)+"";if(Ms(t))return pr?pr.call(t):"";var e=t+"";return"0"==e&&1/t==-I?"-0":e}function Uo(t,e,n){var r=-1,o=Ze,i=t.length,s=!0,c=[],u=c;if(n)s=!1,o=Je;else if(i>=a){var l=e?null:xi(t);if(l)return Rn(l);s=!1,o=_n,u=new Er}else u=e?[]:c;t:for(;++r<i;){var f=t[r],p=e?e(f):f;if(f=n||0!==f?f:0,s&&p==p){for(var d=u.length;d--;)if(u[d]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,n)||(u!==c&&u.push(p),c.push(f))}return c}function Fo(t,e){return null==(t=ea(t,e=Wo(e,t)))||delete t[la(xa(e))]}function $o(t,e,n,r){return To(t,e,n(Xr(t,e)),r)}function Bo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?No(t,r?0:i,r?i+1:o):No(t,r?i+1:0,r?o:i)}function zo(t,e){var n=t;return n instanceof vr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function qo(t,e,n){var o=t.length;if(o<2)return o?Uo(t[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=t[i],c=-1;++c<o;)c!=i&&(a[i]=Ur(a[i]||s,t[c],e,n));return Uo(Hr(a,1),e,n)}function Ho(t,e,n){for(var r=-1,o=t.length,a=e.length,s={};++r<o;){var c=r<a?e[r]:i;n(s,t[r],c)}return s}function Go(t){return ys(t)?t:[]}function Vo(t){return"function"==typeof t?t:Oc}function Wo(t,e){return vs(t)?t:Yi(t,e)?[t]:ua(Gs(t))}var Yo=wo;function Ko(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:No(t,e,n)}var Xo=Mn||function(t){return Ie.clearTimeout(t)};function Zo(t,e){if(e)return t.slice();var n=t.length,r=Se?Se(n):new t.constructor(n);return t.copy(r),r}function Jo(t){var e=new t.constructor(t.byteLength);return new ke(e).set(new ke(t)),e}function Qo(t,e){var n=e?Jo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ti(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=Ms(t),s=e!==i,c=null===e,u=e==e,l=Ms(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!l&&t<e||l&&n&&o&&!r&&!a||c&&n&&o||!s&&o||!u)return-1}return 0}function ei(t,e,n,o){for(var i=-1,a=t.length,s=n.length,c=-1,u=e.length,l=Gn(a-s,0),f=r(u+l),p=!o;++c<u;)f[c]=e[c];for(;++i<s;)(p||i<a)&&(f[n[i]]=t[i]);for(;l--;)f[c++]=t[i++];return f}function ni(t,e,n,o){for(var i=-1,a=t.length,s=-1,c=n.length,u=-1,l=e.length,f=Gn(a-c,0),p=r(f+l),d=!o;++i<f;)p[i]=t[i];for(var h=i;++u<l;)p[h+u]=e[u];for(;++s<c;)(d||i<a)&&(p[h+n[s]]=t[i++]);return p}function ri(t,e){var n=-1,o=t.length;for(e||(e=r(o));++n<o;)e[n]=t[n];return e}function oi(t,e,n,r){var o=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],u=r?r(n[c],t[c],c,n,t):i;u===i&&(u=t[c]),o?Lr(n,c,u):Sr(n,c,u)}return n}function ii(t,e){return function(n,r){var o=vs(n)?Ve:Or,i=e?e():{};return o(n,t,Pi(r,2),i)}}function ai(t){return wo(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&Wi(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=ee(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e})}function si(t,e){return function(n,r){if(null==n)return n;if(!_s(n))return t(n,r);for(var o=n.length,i=e?o:-1,a=ee(n);(e?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function ci(t){return function(e,n,r){for(var o=-1,i=ee(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}function ui(t){return function(e){var n=Cn(e=Gs(e))?Ln(e):i,r=n?n[0]:e.charAt(0),o=n?Ko(n,1).join(""):e.slice(1);return r[t]()+o}}function li(t){return function(e){return en(wc(gc(e).replace(be,"")),t,"")}}function fi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=hr(t.prototype),r=t.apply(n,e);return Ts(r)?r:n}}function pi(t){return function(e,n,r){var o=ee(e);if(!_s(e)){var a=Pi(n,3);e=oc(e),n=function(t){return a(o[t],t,o)}}var s=t(e,n,r);return s>-1?o[a?e[s]:s]:i}}function di(t){return Oi(function(e){var n=e.length,r=n,o=gr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new oe(c);if(o&&!s&&"wrapper"==Di(a))var s=new gr([],!0)}for(r=s?r:n;++r<n;){var u=Di(a=e[r]),l="wrapper"==u?Ii(a):i;s=l&&Ki(l[0])&&l[1]==(w|y|k|C)&&!l[4].length&&1==l[9]?s[Di(l[0])].apply(s,l[3]):1==a.length&&Ki(a)?s[u]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&vs(r))return s.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function hi(t,e,n,o,a,s,c,u,l,f){var p=e&w,d=e&v,h=e&b,m=e&(y|E),g=e&A,_=h?i:fi(t);return function v(){for(var b=arguments.length,y=r(b),E=b;E--;)y[E]=arguments[E];if(m)var k=Mi(v),x=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(y,k);if(o&&(y=ei(y,o,a,m)),s&&(y=ni(y,s,c,m)),b-=x,m&&b<f){var w=Sn(y,k);return Ei(t,e,hi,v.placeholder,n,y,w,u,l,f-b)}var C=d?n:this,A=h?C[t]:t;return b=y.length,u?y=function(t,e){for(var n=t.length,r=Vn(e.length,n),o=ri(t);r--;){var a=e[r];t[r]=Vi(a,n)?o[a]:i}return t}(y,u):g&&b>1&&y.reverse(),p&&l<b&&(y.length=l),this&&this!==Ie&&this instanceof v&&(A=_||fi(A)),A.apply(C,y)}}function mi(t,e){return function(n,r){return function(t,e,n,r){return Wr(t,function(t,o,i){e(r,n(t),o,i)}),r}(n,t,e(r),{})}}function gi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=jo(n),r=jo(r)):(n=Po(n),r=Po(r)),o=t(n,r)}return o}}function vi(t){return Oi(function(e){return e=Qe(e,vn(Pi())),wo(function(n){var r=this;return t(e,function(t){return Ge(t,r,n)})})})}function bi(t,e){var n=(e=e===i?" ":jo(e)).length;if(n<2)return n?xo(e,t):e;var r=xo(e,Un(t/Nn(e)));return Cn(e)?Ko(Ln(r),0,t).join(""):r.slice(0,t)}function _i(t){return function(e,n,o){return o&&"number"!=typeof o&&Wi(e,n,o)&&(n=o=i),e=$s(e),n===i?(n=e,e=0):n=$s(n),function(t,e,n,o){for(var i=-1,a=Gn(Un((e-t)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=t,t+=n;return s}(e,n,o=o===i?e<n?1:-1:$s(o),t)}}function yi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=qs(e),n=qs(n)),t(e,n)}}function Ei(t,e,n,r,o,a,s,c,u,l){var f=e&y;e|=f?k:x,(e&=~(f?x:k))&_||(e&=~(v|b));var p=[t,e,o,f?a:i,f?s:i,f?i:a,f?i:s,c,u,l],d=n.apply(i,p);return Ki(t)&&ra(d,p),d.placeholder=r,aa(d,t,e)}function ki(t){var e=te[t];return function(t,n){if(t=qs(t),(n=null==n?0:Vn(Bs(n),292))&&zn(t)){var r=(Gs(t)+"e").split("e");return+((r=(Gs(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var xi=tr&&1/Rn(new tr([,-0]))[1]==I?function(t){return new tr(t)}:Mc;function wi(t){return function(e){var n=zi(e);return n==X?An(e):n==nt?On(e):function(t,e){return Qe(e,function(e){return[e,t[e]]})}(e,t(e))}}function Ci(t,e,n,o,a,s,u,l){var p=e&b;if(!p&&"function"!=typeof t)throw new oe(c);var d=o?o.length:0;if(d||(e&=~(k|x),o=a=i),u=u===i?u:Gn(Bs(u),0),l=l===i?l:Bs(l),d-=a?a.length:0,e&x){var h=o,m=a;o=a=i}var g=p?i:Ii(t),A=[t,e,n,o,a,h,m,s,u,l];if(g&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<(v|b|w),a=r==w&&n==y||r==w&&n==C&&t[7].length<=e[8]||r==(w|C)&&e[7].length<=e[8]&&n==y;if(!i&&!a)return t;r&v&&(t[2]=e[2],o|=n&v?0:_);var s=e[3];if(s){var c=t[3];t[3]=c?ei(c,s,e[4]):s,t[4]=c?Sn(t[3],f):e[4]}(s=e[5])&&(c=t[5],t[5]=c?ni(c,s,e[6]):s,t[6]=c?Sn(t[5],f):e[6]),(s=e[7])&&(t[7]=s),r&w&&(t[8]=null==t[8]?e[8]:Vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o}(A,g),t=A[0],e=A[1],n=A[2],o=A[3],a=A[4],!(l=A[9]=A[9]===i?p?0:t.length:Gn(A[9]-d,0))&&e&(y|E)&&(e&=~(y|E)),e&&e!=v)T=e==y||e==E?function(t,e,n){var o=fi(t);return function a(){for(var s=arguments.length,c=r(s),u=s,l=Mi(a);u--;)c[u]=arguments[u];var f=s<3&&c[0]!==l&&c[s-1]!==l?[]:Sn(c,l);return(s-=f.length)<n?Ei(t,e,hi,a.placeholder,i,c,f,i,i,n-s):Ge(this&&this!==Ie&&this instanceof a?o:t,this,c)}}(t,e,l):e!=k&&e!=(v|k)||a.length?hi.apply(i,A):function(t,e,n,o){var i=e&v,a=fi(t);return function e(){for(var s=-1,c=arguments.length,u=-1,l=o.length,f=r(l+c),p=this&&this!==Ie&&this instanceof e?a:t;++u<l;)f[u]=o[u];for(;c--;)f[u++]=arguments[++s];return Ge(p,i?n:this,f)}}(t,e,n,o);else var T=function(t,e,n){var r=e&v,o=fi(t);return function e(){return(this&&this!==Ie&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return aa((g?So:ra)(T,A),t,e)}function Ai(t,e,n,r){return t===i||ds(t,se[n])&&!le.call(r,n)?e:t}function Ti(t,e,n,r,o,a){return Ts(t)&&Ts(e)&&(a.set(e,t),go(t,e,i,Ti,a),a.delete(e)),t}function Si(t){return Ns(t)?i:t}function Ri(t,e,n,r,o,a){var s=n&m,c=t.length,u=e.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t);if(l&&a.get(e))return l==e;var f=-1,p=!0,d=n&g?new Er:i;for(a.set(t,e),a.set(e,t);++f<c;){var h=t[f],v=e[f];if(r)var b=s?r(v,h,f,e,t,a):r(h,v,f,t,e,a);if(b!==i){if(b)continue;p=!1;break}if(d){if(!rn(e,function(t,e){if(!_n(d,e)&&(h===t||o(h,t,n,r,a)))return d.push(e)})){p=!1;break}}else if(h!==v&&!o(h,v,n,r,a)){p=!1;break}}return a.delete(t),a.delete(e),p}function Oi(t){return ia(ta(t,i,ba),t+"")}function Ni(t){return Zr(t,oc,$i)}function Li(t){return Zr(t,ic,Bi)}var Ii=rr?function(t){return rr.get(t)}:Mc;function Di(t){for(var e=t.name+"",n=or[e],r=le.call(or,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function Mi(t){return(le.call(dr,"placeholder")?dr:t).placeholder}function Pi(){var t=dr.iteratee||Nc;return t=t===Nc?co:t,arguments.length?t(arguments[0],arguments[1]):t}function ji(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ui(t){for(var e=oc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Ji(o)]}return e}function Fi(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return so(n)?n:i}var $i=$n?function(t){return null==t?[]:(t=ee(t),Xe($n(t),function(e){return De.call(t,e)}))}:zc,Bi=$n?function(t){for(var e=[];t;)tn(e,$i(t)),t=Ne(t);return e}:zc,zi=Jr;function qi(t,e,n){for(var r=-1,o=(e=Wo(e,t)).length,i=!1;++r<o;){var a=la(e[r]);if(!(i=null!=t&&n(t,a)))break;t=t[a]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&As(o)&&Vi(a,o)&&(vs(t)||gs(t))}function Hi(t){return"function"!=typeof t.constructor||Zi(t)?{}:hr(Ne(t))}function Gi(t){return vs(t)||gs(t)||!!(je&&t&&t[je])}function Vi(t,e){var n=typeof t;return!!(e=null==e?D:e)&&("number"==n||"symbol"!=n&&Yt.test(t))&&t>-1&&t%1==0&&t<e}function Wi(t,e,n){if(!Ts(n))return!1;var r=typeof e;return!!("number"==r?_s(n)&&Vi(e,n.length):"string"==r&&e in n)&&ds(n[e],t)}function Yi(t,e){if(vs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ms(t))||Ot.test(t)||!Rt.test(t)||null!=e&&t in ee(e)}function Ki(t){var e=Di(t),n=dr[e];if("function"!=typeof n||!(e in vr.prototype))return!1;if(t===n)return!0;var r=Ii(n);return!!r&&t===r[0]}(Zn&&zi(new Zn(new ArrayBuffer(1)))!=ut||Jn&&zi(new Jn)!=X||Qn&&"[object Promise]"!=zi(Qn.resolve())||tr&&zi(new tr)!=nt||er&&zi(new er)!=at)&&(zi=function(t){var e=Jr(t),n=e==Q?t.constructor:i,r=n?fa(n):"";if(r)switch(r){case ir:return ut;case ar:return X;case sr:return"[object Promise]";case cr:return nt;case ur:return at}return e});var Xi=ce?ws:qc;function Zi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||se)}function Ji(t){return t==t&&!Ts(t)}function Qi(t,e){return function(n){return null!=n&&n[t]===e&&(e!==i||t in ee(n))}}function ta(t,e,n){return e=Gn(e===i?t.length-1:e,0),function(){for(var o=arguments,i=-1,a=Gn(o.length-e,0),s=r(a);++i<a;)s[i]=o[e+i];i=-1;for(var c=r(e+1);++i<e;)c[i]=o[i];return c[e]=n(s),Ge(t,this,c)}}function ea(t,e){return e.length<2?t:Xr(t,No(e,0,-1))}function na(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ra=sa(So),oa=jn||function(t,e){return Ie.setTimeout(t,e)},ia=sa(Ro);function aa(t,e,n){var r=e+"";return ia(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(jt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return We($,function(n){var r="_."+n[0];e&n[1]&&!Ze(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Ut);return e?e[1].split(Ft):[]}(r),n)))}function sa(t){var e=0,n=0;return function(){var r=Wn(),o=O-(r-n);if(n=r,o>0){if(++e>=R)return arguments[0]}else e=0;return t.apply(i,arguments)}}function ca(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var a=ko(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var ua=function(t){var e=ss(t,function(t){return n.size===l&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Nt,function(t,n,r,o){e.push(r?o.replace(Bt,"$1"):n||t)}),e});function la(t){if("string"==typeof t||Ms(t))return t;var e=t+"";return"0"==e&&1/t==-I?"-0":e}function fa(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function pa(t){if(t instanceof vr)return t.clone();var e=new gr(t.__wrapped__,t.__chain__);return e.__actions__=ri(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var da=wo(function(t,e){return ys(t)?Ur(t,Hr(e,1,ys,!0)):[]}),ha=wo(function(t,e){var n=xa(e);return ys(n)&&(n=i),ys(t)?Ur(t,Hr(e,1,ys,!0),Pi(n,2)):[]}),ma=wo(function(t,e){var n=xa(e);return ys(n)&&(n=i),ys(t)?Ur(t,Hr(e,1,ys,!0),i,n):[]});function ga(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Bs(n);return o<0&&(o=Gn(r+o,0)),sn(t,Pi(e,3),o)}function va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=Bs(n),o=n<0?Gn(r+o,0):Vn(o,r-1)),sn(t,Pi(e,3),o,!0)}function ba(t){return null!=t&&t.length?Hr(t,1):[]}function _a(t){return t&&t.length?t[0]:i}var ya=wo(function(t){var e=Qe(t,Go);return e.length&&e[0]===t[0]?no(e):[]}),Ea=wo(function(t){var e=xa(t),n=Qe(t,Go);return e===xa(n)?e=i:n.pop(),n.length&&n[0]===t[0]?no(n,Pi(e,2)):[]}),ka=wo(function(t){var e=xa(t),n=Qe(t,Go);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?no(n,i,e):[]});function xa(t){var e=null==t?0:t.length;return e?t[e-1]:i}var wa=wo(Ca);function Ca(t,e){return t&&t.length&&e&&e.length?yo(t,e):t}var Aa=Oi(function(t,e){var n=null==t?0:t.length,r=Ir(t,e);return Eo(t,Qe(e,function(t){return Vi(t,n)?+t:t}).sort(ti)),r});function Ta(t){return null==t?t:Xn.call(t)}var Sa=wo(function(t){return Uo(Hr(t,1,ys,!0))}),Ra=wo(function(t){var e=xa(t);return ys(e)&&(e=i),Uo(Hr(t,1,ys,!0),Pi(e,2))}),Oa=wo(function(t){var e=xa(t);return e="function"==typeof e?e:i,Uo(Hr(t,1,ys,!0),i,e)});function Na(t){if(!t||!t.length)return[];var e=0;return t=Xe(t,function(t){if(ys(t))return e=Gn(t.length,e),!0}),gn(e,function(e){return Qe(t,pn(e))})}function La(t,e){if(!t||!t.length)return[];var n=Na(t);return null==e?n:Qe(n,function(t){return Ge(e,i,t)})}var Ia=wo(function(t,e){return ys(t)?Ur(t,e):[]}),Da=wo(function(t){return qo(Xe(t,ys))}),Ma=wo(function(t){var e=xa(t);return ys(e)&&(e=i),qo(Xe(t,ys),Pi(e,2))}),Pa=wo(function(t){var e=xa(t);return e="function"==typeof e?e:i,qo(Xe(t,ys),i,e)}),ja=wo(Na);var Ua=wo(function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,La(t,n)});function Fa(t){var e=dr(t);return e.__chain__=!0,e}function $a(t,e){return e(t)}var Ba=Oi(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Ir(e,t)};return!(e>1||this.__actions__.length)&&r instanceof vr&&Vi(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:$a,args:[o],thisArg:i}),new gr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(i),t})):this.thru(o)});var za=ii(function(t,e,n){le.call(t,n)?++t[n]:Lr(t,n,1)});var qa=pi(ga),Ha=pi(va);function Ga(t,e){return(vs(t)?We:Fr)(t,Pi(e,3))}function Va(t,e){return(vs(t)?Ye:$r)(t,Pi(e,3))}var Wa=ii(function(t,e,n){le.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Ya=wo(function(t,e,n){var o=-1,i="function"==typeof e,a=_s(t)?r(t.length):[];return Fr(t,function(t){a[++o]=i?Ge(e,t,n):ro(t,e,n)}),a}),Ka=ii(function(t,e,n){Lr(t,n,e)});function Xa(t,e){return(vs(t)?Qe:po)(t,Pi(e,3))}var Za=ii(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ja=wo(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Wi(t,e[0],e[1])?e=[]:n>2&&Wi(e[0],e[1],e[2])&&(e=[e[0]]),bo(t,Hr(e,1),[])}),Qa=Pn||function(){return Ie.Date.now()};function ts(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Ci(t,w,i,i,i,i,e)}function es(t,e){var n;if("function"!=typeof e)throw new oe(c);return t=Bs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var ns=wo(function(t,e,n){var r=v;if(n.length){var o=Sn(n,Mi(ns));r|=k}return Ci(t,r,e,n,o)}),rs=wo(function(t,e,n){var r=v|b;if(n.length){var o=Sn(n,Mi(rs));r|=k}return Ci(e,r,t,n,o)});function os(t,e,n){var r,o,a,s,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof t)throw new oe(c);function m(e){var n=r,a=o;return r=o=i,f=e,s=t.apply(a,n)}function g(t){var n=t-l;return l===i||n>=e||n<0||d&&t-f>=a}function v(){var t=Qa();if(g(t))return b(t);u=oa(v,function(t){var n=e-(t-l);return d?Vn(n,a-(t-f)):n}(t))}function b(t){return u=i,h&&r?m(t):(r=o=i,s)}function _(){var t=Qa(),n=g(t);if(r=arguments,o=this,l=t,n){if(u===i)return function(t){return f=t,u=oa(v,e),p?m(t):s}(l);if(d)return Xo(u),u=oa(v,e),m(l)}return u===i&&(u=oa(v,e)),s}return e=qs(e)||0,Ts(n)&&(p=!!n.leading,a=(d="maxWait"in n)?Gn(qs(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),_.cancel=function(){u!==i&&Xo(u),f=0,r=l=o=u=i},_.flush=function(){return u===i?s:b(Qa())},_}var is=wo(function(t,e){return jr(t,1,e)}),as=wo(function(t,e,n){return jr(t,qs(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(c);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ss.Cache||yr),n}function cs(t){if("function"!=typeof t)throw new oe(c);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=yr;var us=Yo(function(t,e){var n=(e=1==e.length&&vs(e[0])?Qe(e[0],vn(Pi())):Qe(Hr(e,1),vn(Pi()))).length;return wo(function(r){for(var o=-1,i=Vn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return Ge(t,this,r)})}),ls=wo(function(t,e){var n=Sn(e,Mi(ls));return Ci(t,k,i,e,n)}),fs=wo(function(t,e){var n=Sn(e,Mi(fs));return Ci(t,x,i,e,n)}),ps=Oi(function(t,e){return Ci(t,C,i,i,i,e)});function ds(t,e){return t===e||t!=t&&e!=e}var hs=yi(Qr),ms=yi(function(t,e){return t>=e}),gs=oo(function(){return arguments}())?oo:function(t){return Ss(t)&&le.call(t,"callee")&&!De.call(t,"callee")},vs=r.isArray,bs=Fe?vn(Fe):function(t){return Ss(t)&&Jr(t)==ct};function _s(t){return null!=t&&As(t.length)&&!ws(t)}function ys(t){return Ss(t)&&_s(t)}var Es=Bn||qc,ks=$e?vn($e):function(t){return Ss(t)&&Jr(t)==G};function xs(t){if(!Ss(t))return!1;var e=Jr(t);return e==W||e==V||"string"==typeof t.message&&"string"==typeof t.name&&!Ns(t)}function ws(t){if(!Ts(t))return!1;var e=Jr(t);return e==Y||e==K||e==q||e==tt}function Cs(t){return"number"==typeof t&&t==Bs(t)}function As(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=D}function Ts(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ss(t){return null!=t&&"object"==typeof t}var Rs=Be?vn(Be):function(t){return Ss(t)&&zi(t)==X};function Os(t){return"number"==typeof t||Ss(t)&&Jr(t)==Z}function Ns(t){if(!Ss(t)||Jr(t)!=Q)return!1;var e=Ne(t);if(null===e)return!0;var n=le.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==he}var Ls=ze?vn(ze):function(t){return Ss(t)&&Jr(t)==et};var Is=qe?vn(qe):function(t){return Ss(t)&&zi(t)==nt};function Ds(t){return"string"==typeof t||!vs(t)&&Ss(t)&&Jr(t)==rt}function Ms(t){return"symbol"==typeof t||Ss(t)&&Jr(t)==ot}var Ps=He?vn(He):function(t){return Ss(t)&&As(t.length)&&!!Ae[Jr(t)]};var js=yi(fo),Us=yi(function(t,e){return t<=e});function Fs(t){if(!t)return[];if(_s(t))return Ds(t)?Ln(t):ri(t);if(Ue&&t[Ue])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Ue]());var e=zi(t);return(e==X?An:e==nt?Rn:dc)(t)}function $s(t){return t?(t=qs(t))===I||t===-I?(t<0?-1:1)*M:t==t?t:0:0===t?t:0}function Bs(t){var e=$s(t),n=e%1;return e==e?n?e-n:e:0}function zs(t){return t?Dr(Bs(t),0,j):0}function qs(t){if("number"==typeof t)return t;if(Ms(t))return P;if(Ts(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ts(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Dt,"");var n=Gt.test(t);return n||Wt.test(t)?Oe(t.slice(2),n?2:8):Ht.test(t)?P:+t}function Hs(t){return oi(t,ic(t))}function Gs(t){return null==t?"":jo(t)}var Vs=ai(function(t,e){if(Zi(e)||_s(e))oi(e,oc(e),t);else for(var n in e)le.call(e,n)&&Sr(t,n,e[n])}),Ws=ai(function(t,e){oi(e,ic(e),t)}),Ys=ai(function(t,e,n,r){oi(e,ic(e),t,r)}),Ks=ai(function(t,e,n,r){oi(e,oc(e),t,r)}),Xs=Oi(Ir);var Zs=wo(function(t,e){t=ee(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&Wi(e[0],e[1],o)&&(r=1);++n<r;)for(var a=e[n],s=ic(a),c=-1,u=s.length;++c<u;){var l=s[c],f=t[l];(f===i||ds(f,se[l])&&!le.call(t,l))&&(t[l]=a[l])}return t}),Js=wo(function(t){return t.push(i,Ti),Ge(sc,i,t)});function Qs(t,e,n){var r=null==t?i:Xr(t,e);return r===i?n:r}function tc(t,e){return null!=t&&qi(t,e,eo)}var ec=mi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),t[e]=n},Tc(Oc)),nc=mi(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),le.call(t,e)?t[e].push(n):t[e]=[n]},Pi),rc=wo(ro);function oc(t){return _s(t)?xr(t):uo(t)}function ic(t){return _s(t)?xr(t,!0):lo(t)}var ac=ai(function(t,e,n){go(t,e,n)}),sc=ai(function(t,e,n,r){go(t,e,n,r)}),cc=Oi(function(t,e){var n={};if(null==t)return n;var r=!1;e=Qe(e,function(e){return e=Wo(e,t),r||(r=e.length>1),e}),oi(t,Li(t),n),r&&(n=Mr(n,p|d|h,Si));for(var o=e.length;o--;)Fo(n,e[o]);return n});var uc=Oi(function(t,e){return null==t?{}:function(t,e){return _o(t,e,function(e,n){return tc(t,n)})}(t,e)});function lc(t,e){if(null==t)return{};var n=Qe(Li(t),function(t){return[t]});return e=Pi(e),_o(t,n,function(t,n){return e(t,n[0])})}var fc=wi(oc),pc=wi(ic);function dc(t){return null==t?[]:bn(t,oc(t))}var hc=li(function(t,e,n){return e=e.toLowerCase(),t+(n?mc(e):e)});function mc(t){return xc(Gs(t).toLowerCase())}function gc(t){return(t=Gs(t))&&t.replace(Kt,kn).replace(_e,"")}var vc=li(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),bc=li(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_c=ui("toLowerCase");var yc=li(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Ec=li(function(t,e,n){return t+(n?" ":"")+xc(e)});var kc=li(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),xc=ui("toUpperCase");function wc(t,e,n){return t=Gs(t),(e=n?i:e)===i?function(t){return xe.test(t)}(t)?function(t){return t.match(Ee)||[]}(t):function(t){return t.match($t)||[]}(t):t.match(e)||[]}var Cc=wo(function(t,e){try{return Ge(t,i,e)}catch(t){return xs(t)?t:new Jt(t)}}),Ac=Oi(function(t,e){return We(e,function(e){e=la(e),Lr(t,e,ns(t[e],t))}),t});function Tc(t){return function(){return t}}var Sc=di(),Rc=di(!0);function Oc(t){return t}function Nc(t){return co("function"==typeof t?t:Mr(t,p))}var Lc=wo(function(t,e){return function(n){return ro(n,t,e)}}),Ic=wo(function(t,e){return function(n){return ro(t,n,e)}});function Dc(t,e,n){var r=oc(e),o=Kr(e,r);null!=n||Ts(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Kr(e,oc(e)));var i=!(Ts(n)&&"chain"in n&&!n.chain),a=ws(t);return We(o,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=ri(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Mc(){}var Pc=vi(Qe),jc=vi(Ke),Uc=vi(rn);function Fc(t){return Yi(t)?pn(la(t)):function(t){return function(e){return Xr(e,t)}}(t)}var $c=_i(),Bc=_i(!0);function zc(){return[]}function qc(){return!1}var Hc=gi(function(t,e){return t+e},0),Gc=ki("ceil"),Vc=gi(function(t,e){return t/e},1),Wc=ki("floor");var Yc,Kc=gi(function(t,e){return t*e},1),Xc=ki("round"),Zc=gi(function(t,e){return t-e},0);return dr.after=function(t,e){if("function"!=typeof e)throw new oe(c);return t=Bs(t),function(){if(--t<1)return e.apply(this,arguments)}},dr.ary=ts,dr.assign=Vs,dr.assignIn=Ws,dr.assignInWith=Ys,dr.assignWith=Ks,dr.at=Xs,dr.before=es,dr.bind=ns,dr.bindAll=Ac,dr.bindKey=rs,dr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return vs(t)?t:[t]},dr.chain=Fa,dr.chunk=function(t,e,n){e=(n?Wi(t,e,n):e===i)?1:Gn(Bs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,c=r(Un(o/e));a<o;)c[s++]=No(t,a,a+=e);return c},dr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},dr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],o=t;o--;)e[o-1]=arguments[o];return tn(vs(n)?ri(n):[n],Hr(e,1))},dr.cond=function(t){var e=null==t?0:t.length,n=Pi();return t=e?Qe(t,function(t){if("function"!=typeof t[1])throw new oe(c);return[n(t[0]),t[1]]}):[],wo(function(n){for(var r=-1;++r<e;){var o=t[r];if(Ge(o[0],this,n))return Ge(o[1],this,n)}})},dr.conforms=function(t){return function(t){var e=oc(t);return function(n){return Pr(n,t,e)}}(Mr(t,p))},dr.constant=Tc,dr.countBy=za,dr.create=function(t,e){var n=hr(t);return null==e?n:Nr(n,e)},dr.curry=function t(e,n,r){var o=Ci(e,y,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},dr.curryRight=function t(e,n,r){var o=Ci(e,E,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},dr.debounce=os,dr.defaults=Zs,dr.defaultsDeep=Js,dr.defer=is,dr.delay=as,dr.difference=da,dr.differenceBy=ha,dr.differenceWith=ma,dr.drop=function(t,e,n){var r=null==t?0:t.length;return r?No(t,(e=n||e===i?1:Bs(e))<0?0:e,r):[]},dr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?No(t,0,(e=r-(e=n||e===i?1:Bs(e)))<0?0:e):[]},dr.dropRightWhile=function(t,e){return t&&t.length?Bo(t,Pi(e,3),!0,!0):[]},dr.dropWhile=function(t,e){return t&&t.length?Bo(t,Pi(e,3),!0):[]},dr.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&Wi(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=Bs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:Bs(r))<0&&(r+=o),r=n>r?0:zs(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},dr.filter=function(t,e){return(vs(t)?Xe:qr)(t,Pi(e,3))},dr.flatMap=function(t,e){return Hr(Xa(t,e),1)},dr.flatMapDeep=function(t,e){return Hr(Xa(t,e),I)},dr.flatMapDepth=function(t,e,n){return n=n===i?1:Bs(n),Hr(Xa(t,e),n)},dr.flatten=ba,dr.flattenDeep=function(t){return null!=t&&t.length?Hr(t,I):[]},dr.flattenDepth=function(t,e){return null!=t&&t.length?Hr(t,e=e===i?1:Bs(e)):[]},dr.flip=function(t){return Ci(t,A)},dr.flow=Sc,dr.flowRight=Rc,dr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},dr.functions=function(t){return null==t?[]:Kr(t,oc(t))},dr.functionsIn=function(t){return null==t?[]:Kr(t,ic(t))},dr.groupBy=Wa,dr.initial=function(t){return null!=t&&t.length?No(t,0,-1):[]},dr.intersection=ya,dr.intersectionBy=Ea,dr.intersectionWith=ka,dr.invert=ec,dr.invertBy=nc,dr.invokeMap=Ya,dr.iteratee=Nc,dr.keyBy=Ka,dr.keys=oc,dr.keysIn=ic,dr.map=Xa,dr.mapKeys=function(t,e){var n={};return e=Pi(e,3),Wr(t,function(t,r,o){Lr(n,e(t,r,o),t)}),n},dr.mapValues=function(t,e){var n={};return e=Pi(e,3),Wr(t,function(t,r,o){Lr(n,r,e(t,r,o))}),n},dr.matches=function(t){return ho(Mr(t,p))},dr.matchesProperty=function(t,e){return mo(t,Mr(e,p))},dr.memoize=ss,dr.merge=ac,dr.mergeWith=sc,dr.method=Lc,dr.methodOf=Ic,dr.mixin=Dc,dr.negate=cs,dr.nthArg=function(t){return t=Bs(t),wo(function(e){return vo(e,t)})},dr.omit=cc,dr.omitBy=function(t,e){return lc(t,cs(Pi(e)))},dr.once=function(t){return es(2,t)},dr.orderBy=function(t,e,n,r){return null==t?[]:(vs(e)||(e=null==e?[]:[e]),vs(n=r?i:n)||(n=null==n?[]:[n]),bo(t,e,n))},dr.over=Pc,dr.overArgs=us,dr.overEvery=jc,dr.overSome=Uc,dr.partial=ls,dr.partialRight=fs,dr.partition=Za,dr.pick=uc,dr.pickBy=lc,dr.property=Fc,dr.propertyOf=function(t){return function(e){return null==t?i:Xr(t,e)}},dr.pull=wa,dr.pullAll=Ca,dr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?yo(t,e,Pi(n,2)):t},dr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?yo(t,e,i,n):t},dr.pullAt=Aa,dr.range=$c,dr.rangeRight=Bc,dr.rearg=ps,dr.reject=function(t,e){return(vs(t)?Xe:qr)(t,cs(Pi(e,3)))},dr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=Pi(e,3);++r<i;){var a=t[r];e(a,r,t)&&(n.push(a),o.push(r))}return Eo(t,o),n},dr.rest=function(t,e){if("function"!=typeof t)throw new oe(c);return wo(t,e=e===i?e:Bs(e))},dr.reverse=Ta,dr.sampleSize=function(t,e,n){return e=(n?Wi(t,e,n):e===i)?1:Bs(e),(vs(t)?Cr:Ao)(t,e)},dr.set=function(t,e,n){return null==t?t:To(t,e,n)},dr.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:To(t,e,n,r)},dr.shuffle=function(t){return(vs(t)?Ar:Oo)(t)},dr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Wi(t,e,n)?(e=0,n=r):(e=null==e?0:Bs(e),n=n===i?r:Bs(n)),No(t,e,n)):[]},dr.sortBy=Ja,dr.sortedUniq=function(t){return t&&t.length?Mo(t):[]},dr.sortedUniqBy=function(t,e){return t&&t.length?Mo(t,Pi(e,2)):[]},dr.split=function(t,e,n){return n&&"number"!=typeof n&&Wi(t,e,n)&&(e=n=i),(n=n===i?j:n>>>0)?(t=Gs(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=jo(e))&&Cn(t)?Ko(Ln(t),0,n):t.split(e,n):[]},dr.spread=function(t,e){if("function"!=typeof t)throw new oe(c);return e=null==e?0:Gn(Bs(e),0),wo(function(n){var r=n[e],o=Ko(n,0,e);return r&&tn(o,r),Ge(t,this,o)})},dr.tail=function(t){var e=null==t?0:t.length;return e?No(t,1,e):[]},dr.take=function(t,e,n){return t&&t.length?No(t,0,(e=n||e===i?1:Bs(e))<0?0:e):[]},dr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?No(t,(e=r-(e=n||e===i?1:Bs(e)))<0?0:e,r):[]},dr.takeRightWhile=function(t,e){return t&&t.length?Bo(t,Pi(e,3),!1,!0):[]},dr.takeWhile=function(t,e){return t&&t.length?Bo(t,Pi(e,3)):[]},dr.tap=function(t,e){return e(t),t},dr.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new oe(c);return Ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),os(t,e,{leading:r,maxWait:e,trailing:o})},dr.thru=$a,dr.toArray=Fs,dr.toPairs=fc,dr.toPairsIn=pc,dr.toPath=function(t){return vs(t)?Qe(t,la):Ms(t)?[t]:ri(ua(Gs(t)))},dr.toPlainObject=Hs,dr.transform=function(t,e,n){var r=vs(t),o=r||Es(t)||Ps(t);if(e=Pi(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Ts(t)&&ws(i)?hr(Ne(t)):{}}return(o?We:Wr)(t,function(t,r,o){return e(n,t,r,o)}),n},dr.unary=function(t){return ts(t,1)},dr.union=Sa,dr.unionBy=Ra,dr.unionWith=Oa,dr.uniq=function(t){return t&&t.length?Uo(t):[]},dr.uniqBy=function(t,e){return t&&t.length?Uo(t,Pi(e,2)):[]},dr.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?Uo(t,i,e):[]},dr.unset=function(t,e){return null==t||Fo(t,e)},dr.unzip=Na,dr.unzipWith=La,dr.update=function(t,e,n){return null==t?t:$o(t,e,Vo(n))},dr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:$o(t,e,Vo(n),r)},dr.values=dc,dr.valuesIn=function(t){return null==t?[]:bn(t,ic(t))},dr.without=Ia,dr.words=wc,dr.wrap=function(t,e){return ls(Vo(e),t)},dr.xor=Da,dr.xorBy=Ma,dr.xorWith=Pa,dr.zip=ja,dr.zipObject=function(t,e){return Ho(t||[],e||[],Sr)},dr.zipObjectDeep=function(t,e){return Ho(t||[],e||[],To)},dr.zipWith=Ua,dr.entries=fc,dr.entriesIn=pc,dr.extend=Ws,dr.extendWith=Ys,Dc(dr,dr),dr.add=Hc,dr.attempt=Cc,dr.camelCase=hc,dr.capitalize=mc,dr.ceil=Gc,dr.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=qs(n))==n?n:0),e!==i&&(e=(e=qs(e))==e?e:0),Dr(qs(t),e,n)},dr.clone=function(t){return Mr(t,h)},dr.cloneDeep=function(t){return Mr(t,p|h)},dr.cloneDeepWith=function(t,e){return Mr(t,p|h,e="function"==typeof e?e:i)},dr.cloneWith=function(t,e){return Mr(t,h,e="function"==typeof e?e:i)},dr.conformsTo=function(t,e){return null==e||Pr(t,e,oc(e))},dr.deburr=gc,dr.defaultTo=function(t,e){return null==t||t!=t?e:t},dr.divide=Vc,dr.endsWith=function(t,e,n){t=Gs(t),e=jo(e);var r=t.length,o=n=n===i?r:Dr(Bs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},dr.eq=ds,dr.escape=function(t){return(t=Gs(t))&&Ct.test(t)?t.replace(xt,xn):t},dr.escapeRegExp=function(t){return(t=Gs(t))&&It.test(t)?t.replace(Lt,"\\$&"):t},dr.every=function(t,e,n){var r=vs(t)?Ke:Br;return n&&Wi(t,e,n)&&(e=i),r(t,Pi(e,3))},dr.find=qa,dr.findIndex=ga,dr.findKey=function(t,e){return an(t,Pi(e,3),Wr)},dr.findLast=Ha,dr.findLastIndex=va,dr.findLastKey=function(t,e){return an(t,Pi(e,3),Yr)},dr.floor=Wc,dr.forEach=Ga,dr.forEachRight=Va,dr.forIn=function(t,e){return null==t?t:Gr(t,Pi(e,3),ic)},dr.forInRight=function(t,e){return null==t?t:Vr(t,Pi(e,3),ic)},dr.forOwn=function(t,e){return t&&Wr(t,Pi(e,3))},dr.forOwnRight=function(t,e){return t&&Yr(t,Pi(e,3))},dr.get=Qs,dr.gt=hs,dr.gte=ms,dr.has=function(t,e){return null!=t&&qi(t,e,to)},dr.hasIn=tc,dr.head=_a,dr.identity=Oc,dr.includes=function(t,e,n,r){t=_s(t)?t:dc(t),n=n&&!r?Bs(n):0;var o=t.length;return n<0&&(n=Gn(o+n,0)),Ds(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&cn(t,e,n)>-1},dr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Bs(n);return o<0&&(o=Gn(r+o,0)),cn(t,e,o)},dr.inRange=function(t,e,n){return e=$s(e),n===i?(n=e,e=0):n=$s(n),function(t,e,n){return t>=Vn(e,n)&&t<Gn(e,n)}(t=qs(t),e,n)},dr.invoke=rc,dr.isArguments=gs,dr.isArray=vs,dr.isArrayBuffer=bs,dr.isArrayLike=_s,dr.isArrayLikeObject=ys,dr.isBoolean=function(t){return!0===t||!1===t||Ss(t)&&Jr(t)==H},dr.isBuffer=Es,dr.isDate=ks,dr.isElement=function(t){return Ss(t)&&1===t.nodeType&&!Ns(t)},dr.isEmpty=function(t){if(null==t)return!0;if(_s(t)&&(vs(t)||"string"==typeof t||"function"==typeof t.splice||Es(t)||Ps(t)||gs(t)))return!t.length;var e=zi(t);if(e==X||e==nt)return!t.size;if(Zi(t))return!uo(t).length;for(var n in t)if(le.call(t,n))return!1;return!0},dr.isEqual=function(t,e){return io(t,e)},dr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?io(t,e,i,n):!!r},dr.isError=xs,dr.isFinite=function(t){return"number"==typeof t&&zn(t)},dr.isFunction=ws,dr.isInteger=Cs,dr.isLength=As,dr.isMap=Rs,dr.isMatch=function(t,e){return t===e||ao(t,e,Ui(e))},dr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,ao(t,e,Ui(e),n)},dr.isNaN=function(t){return Os(t)&&t!=+t},dr.isNative=function(t){if(Xi(t))throw new Jt(s);return so(t)},dr.isNil=function(t){return null==t},dr.isNull=function(t){return null===t},dr.isNumber=Os,dr.isObject=Ts,dr.isObjectLike=Ss,dr.isPlainObject=Ns,dr.isRegExp=Ls,dr.isSafeInteger=function(t){return Cs(t)&&t>=-D&&t<=D},dr.isSet=Is,dr.isString=Ds,dr.isSymbol=Ms,dr.isTypedArray=Ps,dr.isUndefined=function(t){return t===i},dr.isWeakMap=function(t){return Ss(t)&&zi(t)==at},dr.isWeakSet=function(t){return Ss(t)&&Jr(t)==st},dr.join=function(t,e){return null==t?"":qn.call(t,e)},dr.kebabCase=vc,dr.last=xa,dr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=Bs(n))<0?Gn(r+o,0):Vn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):sn(t,ln,o,!0)},dr.lowerCase=bc,dr.lowerFirst=_c,dr.lt=js,dr.lte=Us,dr.max=function(t){return t&&t.length?zr(t,Oc,Qr):i},dr.maxBy=function(t,e){return t&&t.length?zr(t,Pi(e,2),Qr):i},dr.mean=function(t){return fn(t,Oc)},dr.meanBy=function(t,e){return fn(t,Pi(e,2))},dr.min=function(t){return t&&t.length?zr(t,Oc,fo):i},dr.minBy=function(t,e){return t&&t.length?zr(t,Pi(e,2),fo):i},dr.stubArray=zc,dr.stubFalse=qc,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Kc,dr.nth=function(t,e){return t&&t.length?vo(t,Bs(e)):i},dr.noConflict=function(){return Ie._===this&&(Ie._=me),this},dr.noop=Mc,dr.now=Qa,dr.pad=function(t,e,n){t=Gs(t);var r=(e=Bs(e))?Nn(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return bi(Fn(o),n)+t+bi(Un(o),n)},dr.padEnd=function(t,e,n){t=Gs(t);var r=(e=Bs(e))?Nn(t):0;return e&&r<e?t+bi(e-r,n):t},dr.padStart=function(t,e,n){t=Gs(t);var r=(e=Bs(e))?Nn(t):0;return e&&r<e?bi(e-r,n)+t:t},dr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Yn(Gs(t).replace(Mt,""),e||0)},dr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Wi(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=$s(t),e===i?(e=t,t=0):e=$s(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Kn();return Vn(t+o*(e-t+Re("1e-"+((o+"").length-1))),e)}return ko(t,e)},dr.reduce=function(t,e,n){var r=vs(t)?en:hn,o=arguments.length<3;return r(t,Pi(e,4),n,o,Fr)},dr.reduceRight=function(t,e,n){var r=vs(t)?nn:hn,o=arguments.length<3;return r(t,Pi(e,4),n,o,$r)},dr.repeat=function(t,e,n){return e=(n?Wi(t,e,n):e===i)?1:Bs(e),xo(Gs(t),e)},dr.replace=function(){var t=arguments,e=Gs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},dr.result=function(t,e,n){var r=-1,o=(e=Wo(e,t)).length;for(o||(o=1,t=i);++r<o;){var a=null==t?i:t[la(e[r])];a===i&&(r=o,a=n),t=ws(a)?a.call(t):a}return t},dr.round=Xc,dr.runInContext=t,dr.sample=function(t){return(vs(t)?wr:Co)(t)},dr.size=function(t){if(null==t)return 0;if(_s(t))return Ds(t)?Nn(t):t.length;var e=zi(t);return e==X||e==nt?t.size:uo(t).length},dr.snakeCase=yc,dr.some=function(t,e,n){var r=vs(t)?rn:Lo;return n&&Wi(t,e,n)&&(e=i),r(t,Pi(e,3))},dr.sortedIndex=function(t,e){return Io(t,e)},dr.sortedIndexBy=function(t,e,n){return Do(t,e,Pi(n,2))},dr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Io(t,e);if(r<n&&ds(t[r],e))return r}return-1},dr.sortedLastIndex=function(t,e){return Io(t,e,!0)},dr.sortedLastIndexBy=function(t,e,n){return Do(t,e,Pi(n,2),!0)},dr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Io(t,e,!0)-1;if(ds(t[n],e))return n}return-1},dr.startCase=Ec,dr.startsWith=function(t,e,n){return t=Gs(t),n=null==n?0:Dr(Bs(n),0,t.length),e=jo(e),t.slice(n,n+e.length)==e},dr.subtract=Zc,dr.sum=function(t){return t&&t.length?mn(t,Oc):0},dr.sumBy=function(t,e){return t&&t.length?mn(t,Pi(e,2)):0},dr.template=function(t,e,n){var r=dr.templateSettings;n&&Wi(t,e,n)&&(e=i),t=Gs(t),e=Ys({},e,r,Ai);var o,a,s=Ys({},e.imports,r.imports,Ai),c=oc(s),u=bn(s,c),l=0,f=e.interpolate||Xt,p="__p += '",d=ne((e.escape||Xt).source+"|"+f.source+"|"+(f===St?zt:Xt).source+"|"+(e.evaluate||Xt).source+"|$","g"),h="//# sourceURL="+(le.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Ce+"]")+"\n";t.replace(d,function(e,n,r,i,s,c){return r||(r=i),p+=t.slice(l,c).replace(Zt,wn),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+e.length,e}),p+="';\n";var m=le.call(e,"variable")&&e.variable;m||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(_t,""):p).replace(yt,"$1").replace(Et,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Cc(function(){return Qt(c,h+"return "+p).apply(i,u)});if(g.source=p,xs(g))throw g;return g},dr.times=function(t,e){if((t=Bs(t))<1||t>D)return[];var n=j,r=Vn(t,j);e=Pi(e),t-=j;for(var o=gn(r,e);++n<t;)e(n);return o},dr.toFinite=$s,dr.toInteger=Bs,dr.toLength=zs,dr.toLower=function(t){return Gs(t).toLowerCase()},dr.toNumber=qs,dr.toSafeInteger=function(t){return t?Dr(Bs(t),-D,D):0===t?t:0},dr.toString=Gs,dr.toUpper=function(t){return Gs(t).toUpperCase()},dr.trim=function(t,e,n){if((t=Gs(t))&&(n||e===i))return t.replace(Dt,"");if(!t||!(e=jo(e)))return t;var r=Ln(t),o=Ln(e);return Ko(r,yn(r,o),En(r,o)+1).join("")},dr.trimEnd=function(t,e,n){if((t=Gs(t))&&(n||e===i))return t.replace(Pt,"");if(!t||!(e=jo(e)))return t;var r=Ln(t);return Ko(r,0,En(r,Ln(e))+1).join("")},dr.trimStart=function(t,e,n){if((t=Gs(t))&&(n||e===i))return t.replace(Mt,"");if(!t||!(e=jo(e)))return t;var r=Ln(t);return Ko(r,yn(r,Ln(e))).join("")},dr.truncate=function(t,e){var n=T,r=S;if(Ts(e)){var o="separator"in e?e.separator:o;n="length"in e?Bs(e.length):n,r="omission"in e?jo(e.omission):r}var a=(t=Gs(t)).length;if(Cn(t)){var s=Ln(t);a=s.length}if(n>=a)return t;var c=n-Nn(r);if(c<1)return r;var u=s?Ko(s,0,c).join(""):t.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),Ls(o)){if(t.slice(c).search(o)){var l,f=u;for(o.global||(o=ne(o.source,Gs(qt.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var p=l.index;u=u.slice(0,p===i?c:p)}}else if(t.indexOf(jo(o),c)!=c){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},dr.unescape=function(t){return(t=Gs(t))&&wt.test(t)?t.replace(kt,In):t},dr.uniqueId=function(t){var e=++fe;return Gs(t)+e},dr.upperCase=kc,dr.upperFirst=xc,dr.each=Ga,dr.eachRight=Va,dr.first=_a,Dc(dr,(Yc={},Wr(dr,function(t,e){le.call(dr.prototype,e)||(Yc[e]=t)}),Yc),{chain:!1}),dr.VERSION="4.17.15",We(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){dr[t].placeholder=dr}),We(["drop","take"],function(t,e){vr.prototype[t]=function(n){n=n===i?1:Gn(Bs(n),0);var r=this.__filtered__&&!e?new vr(this):this.clone();return r.__filtered__?r.__takeCount__=Vn(n,r.__takeCount__):r.__views__.push({size:Vn(n,j),type:t+(r.__dir__<0?"Right":"")}),r},vr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),We(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==N||3==n;vr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Pi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),We(["head","last"],function(t,e){var n="take"+(e?"Right":"");vr.prototype[t]=function(){return this[n](1).value()[0]}}),We(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");vr.prototype[t]=function(){return this.__filtered__?new vr(this):this[n](1)}}),vr.prototype.compact=function(){return this.filter(Oc)},vr.prototype.find=function(t){return this.filter(t).head()},vr.prototype.findLast=function(t){return this.reverse().find(t)},vr.prototype.invokeMap=wo(function(t,e){return"function"==typeof t?new vr(this):this.map(function(n){return ro(n,t,e)})}),vr.prototype.reject=function(t){return this.filter(cs(Pi(t)))},vr.prototype.slice=function(t,e){t=Bs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new vr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=Bs(e))<0?n.dropRight(-e):n.take(e-t)),n)},vr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},vr.prototype.toArray=function(){return this.take(j)},Wr(vr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=dr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(dr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof vr,u=s[0],l=c||vs(e),f=function(t){var e=o.apply(dr,tn([t],s));return r&&p?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,m=c&&!d;if(!a&&l){e=m?e:new vr(this);var g=t.apply(e,s);return g.__actions__.push({func:$a,args:[f],thisArg:i}),new gr(g,p)}return h&&m?t.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),We(["pop","push","shift","sort","splice","unshift"],function(t){var e=ie[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);dr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(vs(o)?o:[],t)}return this[n](function(n){return e.apply(vs(n)?n:[],t)})}}),Wr(vr.prototype,function(t,e){var n=dr[e];if(n){var r=n.name+"";le.call(or,r)||(or[r]=[]),or[r].push({name:e,func:n})}}),or[hi(i,b).name]=[{name:"wrapper",func:i}],vr.prototype.clone=function(){var t=new vr(this.__wrapped__);return t.__actions__=ri(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ri(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ri(this.__views__),t},vr.prototype.reverse=function(){if(this.__filtered__){var t=new vr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},vr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=vs(t),r=e<0,o=n?t.length:0,i=function(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Vn(e,t+a);break;case"takeRight":t=Gn(t,e-a)}}return{start:t,end:e}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=Vn(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return zo(t,this.__actions__);var h=[];t:for(;c--&&p<d;){for(var m=-1,g=t[u+=e];++m<f;){var v=l[m],b=v.iteratee,_=v.type,y=b(g);if(_==L)g=y;else if(!y){if(_==N)continue t;break t}}h[p++]=g}return h},dr.prototype.at=Ba,dr.prototype.chain=function(){return Fa(this)},dr.prototype.commit=function(){return new gr(this.value(),this.__chain__)},dr.prototype.next=function(){this.__values__===i&&(this.__values__=Fs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},dr.prototype.plant=function(t){for(var e,n=this;n instanceof mr;){var r=pa(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},dr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof vr){var e=t;return this.__actions__.length&&(e=new vr(this)),(e=e.reverse()).__actions__.push({func:$a,args:[Ta],thisArg:i}),new gr(e,this.__chain__)}return this.thru(Ta)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return zo(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,Ue&&(dr.prototype[Ue]=function(){return this}),dr}();Ie._=Dn,(o=function(){return Dn}.call(e,n,e,r))===i||(r.exports=o)}).call(this)}).call(this,n(11),n(21)(t))},function(t,e,n){!function(t){"object"==typeof window&&window||"object"==typeof self&&self;(function(t){var e,n=[],r=Object.keys,o={},i={},a=/^(no-?highlight|plain|text)$/i,s=/\blang(?:uage)?-([\w-]+)\b/i,c=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,u="</span>",l={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function f(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function p(t){return t.nodeName.toLowerCase()}function d(t,e){var n=t&&t.exec(e);return n&&0===n.index}function h(t){return a.test(t)}function m(t){var e,n={},r=Array.prototype.slice.call(arguments,1);for(e in t)n[e]=t[e];return r.forEach(function(t){for(e in t)n[e]=t[e]}),n}function g(t){var e=[];return function t(n,r){for(var o=n.firstChild;o;o=o.nextSibling)3===o.nodeType?r+=o.nodeValue.length:1===o.nodeType&&(e.push({event:"start",offset:r,node:o}),r=t(o,r),p(o).match(/br|hr|img|input/)||e.push({event:"stop",offset:r,node:o}));return r}(t,0),e}function v(t){if(e&&!t.langApiRestored){for(var n in t.langApiRestored=!0,e)t[n]&&(t[e[n]]=t[n]);(t.contains||[]).concat(t.variants||[]).forEach(v)}}function b(t){function e(t){return t&&t.source||t}function n(n,r){return new RegExp(e(n),"m"+(t.case_insensitive?"i":"")+(r?"g":""))}!function o(i,a){if(i.compiled)return;i.compiled=!0;i.keywords=i.keywords||i.beginKeywords;if(i.keywords){var s={},c=function(e,n){t.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach(function(t){var n=t.split("|");s[n[0]]=[e,n[1]?Number(n[1]):1]})};"string"==typeof i.keywords?c("keyword",i.keywords):r(i.keywords).forEach(function(t){c(t,i.keywords[t])}),i.keywords=s}i.lexemesRe=n(i.lexemes||/\w+/,!0);a&&(i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")\\b"),i.begin||(i.begin=/\B|\b/),i.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=n(i.end)),i.terminator_end=e(i.end)||"",i.endsWithParent&&a.terminator_end&&(i.terminator_end+=(i.end?"|":"")+a.terminator_end));i.illegal&&(i.illegalRe=n(i.illegal));null==i.relevance&&(i.relevance=1);i.contains||(i.contains=[]);i.contains=Array.prototype.concat.apply([],i.contains.map(function(t){return function(t){t.variants&&!t.cached_variants&&(t.cached_variants=t.variants.map(function(e){return m(t,{variants:null},e)}));return t.cached_variants||t.endsWithParent&&[m(t)]||[t]}("self"===t?i:t)}));i.contains.forEach(function(t){o(t,i)});i.starts&&o(i.starts,a);var u=i.contains.map(function(t){return t.beginKeywords?"\\.?(?:"+t.begin+")\\.?":t.begin}).concat([i.terminator_end,i.illegal]).map(e).filter(Boolean);i.terminators=u.length?n(function(t,n){for(var r=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,o=0,i="",a=0;a<t.length;a++){var s=o,c=e(t[a]);for(a>0&&(i+=n);c.length>0;){var u=r.exec(c);if(null==u){i+=c;break}i+=c.substring(0,u.index),c=c.substring(u.index+u[0].length),"\\"==u[0][0]&&u[1]?i+="\\"+String(Number(u[1])+s):(i+=u[0],"("==u[0]&&o++)}}return i}(u,"|"),!0):{exec:function(){return null}}}(t)}function _(t,e,n,r){function i(t){return new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function a(t,e){var n=m.case_insensitive?e[0].toLowerCase():e[0];return t.keywords.hasOwnProperty(n)&&t.keywords[n]}function s(t,e,n,r){var o=r?"":l.classPrefix,i='<span class="'+o,a=n?"":u;return i+=t+'">',t?i+e+a:e}function c(){k+=null!=v.subLanguage?function(){var t="string"==typeof v.subLanguage;if(t&&!o[v.subLanguage])return f(x);var e=t?_(v.subLanguage,x,!0,E[v.subLanguage]):y(x,v.subLanguage.length?v.subLanguage:void 0);v.relevance>0&&(C+=e.relevance);t&&(E[v.subLanguage]=e.top);return s(e.language,e.value,!1,!0)}():function(){var t,e,n,r;if(!v.keywords)return f(x);r="",e=0,v.lexemesRe.lastIndex=0,n=v.lexemesRe.exec(x);for(;n;)r+=f(x.substring(e,n.index)),(t=a(v,n))?(C+=t[1],r+=s(t[0],f(n[0]))):r+=f(n[0]),e=v.lexemesRe.lastIndex,n=v.lexemesRe.exec(x);return r+f(x.substr(e))}(),x=""}function p(t){k+=t.className?s(t.className,"",!0):"",v=Object.create(t,{parent:{value:v}})}function h(t,e){if(x+=t,null==e)return c(),0;var r=function(t,e){var n,r;for(n=0,r=e.contains.length;n<r;n++)if(d(e.contains[n].beginRe,t))return e.contains[n].endSameAsBegin&&(e.contains[n].endRe=i(e.contains[n].beginRe.exec(t)[0])),e.contains[n]}(e,v);if(r)return r.skip?x+=e:(r.excludeBegin&&(x+=e),c(),r.returnBegin||r.excludeBegin||(x=e)),p(r),r.returnBegin?0:e.length;var o=function t(e,n){if(d(e.endRe,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.endsWithParent)return t(e.parent,n)}(v,e);if(o){var a=v;a.skip?x+=e:(a.returnEnd||a.excludeEnd||(x+=e),c(),a.excludeEnd&&(x=e));do{v.className&&(k+=u),v.skip||v.subLanguage||(C+=v.relevance),v=v.parent}while(v!==o.parent);return o.starts&&(o.endSameAsBegin&&(o.starts.endRe=o.endRe),p(o.starts)),a.returnEnd?0:e.length}if(function(t,e){return!n&&d(e.illegalRe,t)}(e,v))throw new Error('Illegal lexeme "'+e+'" for mode "'+(v.className||"<unnamed>")+'"');return x+=e,e.length||1}var m=w(t);if(!m)throw new Error('Unknown language: "'+t+'"');b(m);var g,v=r||m,E={},k="";for(g=v;g!==m;g=g.parent)g.className&&(k=s(g.className,"",!0)+k);var x="",C=0;try{for(var A,T,S=0;v.terminators.lastIndex=S,A=v.terminators.exec(e);)T=h(e.substring(S,A.index),A[0]),S=A.index+T;for(h(e.substr(S)),g=v;g.parent;g=g.parent)g.className&&(k+=u);return{relevance:C,value:k,language:t,top:v}}catch(t){if(t.message&&-1!==t.message.indexOf("Illegal"))return{relevance:0,value:f(e)};throw t}}function y(t,e){e=e||l.languages||r(o);var n={relevance:0,value:f(t)},i=n;return e.filter(w).filter(C).forEach(function(e){var r=_(e,t,!1);r.language=e,r.relevance>i.relevance&&(i=r),r.relevance>n.relevance&&(i=n,n=r)}),i.language&&(n.second_best=i),n}function E(t){return l.tabReplace||l.useBR?t.replace(c,function(t,e){return l.useBR&&"\n"===t?"<br>":l.tabReplace?e.replace(/\t/g,l.tabReplace):""}):t}function k(t){var e,r,o,a,c,u=function(t){var e,n,r,o,i=t.className+" ";if(i+=t.parentNode?t.parentNode.className:"",n=s.exec(i))return w(n[1])?n[1]:"no-highlight";for(i=i.split(/\s+/),e=0,r=i.length;e<r;e++)if(h(o=i[e])||w(o))return o}(t);h(u)||(l.useBR?(e=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):e=t,c=e.textContent,o=u?_(u,c,!0):y(c),(r=g(e)).length&&((a=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=o.value,o.value=function(t,e,r){var o=0,i="",a=[];function s(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset<e[0].offset?t:e:"start"===e[0].event?t:e:t.length?t:e}function c(t){i+="<"+p(t)+n.map.call(t.attributes,function(t){return" "+t.nodeName+'="'+f(t.value).replace('"',"&quot;")+'"'}).join("")+">"}function u(t){i+="</"+p(t)+">"}function l(t){("start"===t.event?c:u)(t.node)}for(;t.length||e.length;){var d=s();if(i+=f(r.substring(o,d[0].offset)),o=d[0].offset,d===t){a.reverse().forEach(u);do{l(d.splice(0,1)[0]),d=s()}while(d===t&&d.length&&d[0].offset===o);a.reverse().forEach(c)}else"start"===d[0].event?a.push(d[0].node):a.pop(),l(d.splice(0,1)[0])}return i+f(r.substr(o))}(r,g(a),c)),o.value=E(o.value),t.innerHTML=o.value,t.className=function(t,e,n){var r=e?i[e]:n,o=[t.trim()];t.match(/\bhljs\b/)||o.push("hljs");-1===t.indexOf(r)&&o.push(r);return o.join(" ").trim()}(t.className,u,o.language),t.result={language:o.language,re:o.relevance},o.second_best&&(t.second_best={language:o.second_best.language,re:o.second_best.relevance}))}function x(){if(!x.called){x.called=!0;var t=document.querySelectorAll("pre code");n.forEach.call(t,k)}}function w(t){return t=(t||"").toLowerCase(),o[t]||o[i[t]]}function C(t){var e=w(t);return e&&!e.disableAutodetect}t.highlight=_,t.highlightAuto=y,t.fixMarkup=E,t.highlightBlock=k,t.configure=function(t){l=m(l,t)},t.initHighlighting=x,t.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",x,!1),addEventListener("load",x,!1)},t.registerLanguage=function(e,n){var r=o[e]=n(t);v(r),r.aliases&&r.aliases.forEach(function(t){i[t]=e})},t.listLanguages=function(){return r(o)},t.getLanguage=w,t.autoDetection=C,t.inherit=m,t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t.COMMENT=function(e,n,r){var o=t.inherit({className:"comment",begin:e,end:n,contains:[]},r||{});return o.contains.push(t.PHRASAL_WORDS_MODE),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),o},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0}})(e)}()},function(t,e,n){"use strict";t.exports=n(102)},function(t,e,n){"use strict";t.exports.encode=n(103),t.exports.decode=n(104),t.exports.format=n(105),t.exports.parse=n(106)},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(t,e,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+o+")");t.exports.HTML_TAG_RE=i,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(t,e,n){"use strict";t.exports.tokenize=function(t,e){var n,r,o,i,a=t.pos,s=t.src.charCodeAt(a);if(e)return!1;if(126!==s)return!1;if(o=(r=t.scanDelims(t.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(t.push("text","",0).content=i,o--),n=0;n<o;n+=2)t.push("text","",0).content=i+i,t.delimiters.push({marker:s,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0},t.exports.postProcess=function(t){var e,n,r,o,i,a=[],s=t.delimiters,c=t.delimiters.length;for(e=0;e<c;e++)126===(r=s[e]).marker&&-1!==r.end&&(o=s[r.end],(i=t.tokens[r.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=t.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===t.tokens[o.token-1].type&&"~"===t.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(n=(e=a.pop())+1;n<t.tokens.length&&"s_close"===t.tokens[n].type;)n++;e!==--n&&(i=t.tokens[n],t.tokens[n]=t.tokens[e],t.tokens[e]=i)}}},function(t,e,n){"use strict";t.exports.tokenize=function(t,e){var n,r,o=t.pos,i=t.src.charCodeAt(o);if(e)return!1;if(95!==i&&42!==i)return!1;for(r=t.scanDelims(t.pos,42===i),n=0;n<r.length;n++)t.push("text","",0).content=String.fromCharCode(i),t.delimiters.push({marker:i,length:r.length,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0},t.exports.postProcess=function(t){var e,n,r,o,i,a,s=t.delimiters;for(e=t.delimiters.length-1;e>=0;e--)95!==(n=s[e]).marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=e>0&&s[e-1].end===n.end+1&&s[e-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[e-1].marker===n.marker,i=String.fromCharCode(n.marker),(o=t.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=t.tokens[r.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(t.tokens[s[e-1].token].content="",t.tokens[s[n.end+1].token].content="",e--))}},function(t,e,n){(function(t,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=36,l=1,f=26,p=38,d=700,h=72,m=128,g="-",v=/^xn--/,b=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=u-l,k=Math.floor,x=String.fromCharCode;function w(t){throw new RangeError(y[t])}function C(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function A(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+C((t=t.replace(_,".")).split("."),e).join(".")}function T(t){for(var e,n,r=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function S(t){return C(t,function(t){var e="";return t>65535&&(e+=x((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=x(t)}).join("")}function R(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function O(t,e,n){var r=0;for(t=n?k(t/d):t>>1,t+=k(t/e);t>E*f>>1;r+=u)t=k(t/E);return k(r+(E+1)*t/(t+p))}function N(t){var e,n,r,o,i,a,s,p,d,v,b,_=[],y=t.length,E=0,x=m,C=h;for((n=t.lastIndexOf(g))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&w("not-basic"),_.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<y;){for(i=E,a=1,s=u;o>=y&&w("invalid-input"),((p=(b=t.charCodeAt(o++))-48<10?b-22:b-65<26?b-65:b-97<26?b-97:u)>=u||p>k((c-E)/a))&&w("overflow"),E+=p*a,!(p<(d=s<=C?l:s>=C+f?f:s-C));s+=u)a>k(c/(v=u-d))&&w("overflow"),a*=v;C=O(E-i,e=_.length+1,0==i),k(E/e)>c-x&&w("overflow"),x+=k(E/e),E%=e,_.splice(E++,0,x)}return S(_)}function L(t){var e,n,r,o,i,a,s,p,d,v,b,_,y,E,C,A=[];for(_=(t=T(t)).length,e=m,n=0,i=h,a=0;a<_;++a)(b=t[a])<128&&A.push(x(b));for(r=o=A.length,o&&A.push(g);r<_;){for(s=c,a=0;a<_;++a)(b=t[a])>=e&&b<s&&(s=b);for(s-e>k((c-n)/(y=r+1))&&w("overflow"),n+=(s-e)*y,e=s,a=0;a<_;++a)if((b=t[a])<e&&++n>c&&w("overflow"),b==e){for(p=n,d=u;!(p<(v=d<=i?l:d>=i+f?f:d-i));d+=u)C=p-v,E=u-v,A.push(x(R(v+C%E,0))),p=k(C/E);A.push(x(R(p,0))),i=O(n,y,r==o),n=0,++r}++n,++e}return A.join("")}s={version:"1.4.1",ucs2:{decode:T,encode:S},decode:N,encode:L,toASCII:function(t){return A(t,function(t){return b.test(t)?"xn--"+L(t):t})},toUnicode:function(t){return A(t,function(t){return v.test(t)?N(t.slice(4).toLowerCase()):t})}},void 0===(o=function(){return s}.call(e,n,e,t))||(t.exports=o)}()}).call(this,n(21)(t),n(11))},function(t,e,n){"use strict";t.exports=function(t,e){!0===e&&(e=0);var n=t.indexOf("://"),r=t.substring(0,n).split("+").filter(Boolean);return"number"==typeof e?r[e]:r}},function(t,e,n){"use strict";var r=n(64);t.exports=function t(e){if(Array.isArray(e))return-1!==e.indexOf("ssh")||-1!==e.indexOf("rsync");if("string"!=typeof e)return!1;var n=r(e);return e=e.substring(e.indexOf("://")+3),!!t(n)||e.indexOf("@")<e.indexOf(":")}},function(t,e,n){"use strict";e.decode=e.parse=n(166),e.encode=e.stringify=n(167)},function(t,e,n){var r=n(172);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},function(t,e,n){var r=n(173),o=n(68),i=n(174);t.exports=function(t){return o(t)?i(t):r(t)}},function(t,e,n){var r=n(22),o=n(175),i=n(9),a=n(23),s=1/0,c=r?r.prototype:void 0,u=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return u?u.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(11))},function(t,e,n){var r=n(182),o=n(183),i=n(184);t.exports=function(t,e,n){return e==e?i(t,e,n):r(t,o,n)}},function(t,e,n){var r=n(17),o=n(19),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==a||e==s||e==i||e==c}},function(t,e,n){var r=n(75),o=n(196),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(198),o=n(44),i=n(203),a=n(78),s=n(204),c=n(17),u=n(77),l=u(r),f=u(o),p=u(i),d=u(a),h=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=m},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var r=n(12)(n(8),"Set");t.exports=r},function(t,e,n){var r=n(48),o=n(233),i=n(234);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,n){var r=n(27),o=n(248),i=n(249),a=n(250),s=n(251),c=n(252);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e,n){var r=n(253),o=n(18);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},function(t,e,n){var r=n(79),o=n(254),i=n(80),a=1,s=2;t.exports=function(t,e,n,c,u,l){var f=n&a,p=t.length,d=e.length;if(p!=d&&!(f&&d>p))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var m=-1,g=!0,v=n&s?new r:void 0;for(l.set(t,e),l.set(e,t);++m<p;){var b=t[m],_=e[m];if(c)var y=f?c(_,b,m,e,t,l):c(b,_,m,t,e,l);if(void 0!==y){if(y)continue;g=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(b===t||u(b,t,n,c,l)))return v.push(e)})){g=!1;break}}else if(b!==_&&!u(b,_,n,c,l)){g=!1;break}}return l.delete(t),l.delete(e),g}},function(t,e,n){var r=n(19);t.exports=function(t){return t==t&&!r(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},function(t,e,n){var r=n(87),o=n(30);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},function(t,e,n){var r=n(9),o=n(51),i=n(268),a=n(16);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){var r=n(157),o=n(158),i=n(159);t.exports=function(t,e){return r(t)||o(t,e)||i()}},function(t,e,n){"use strict";e.__esModule=!0;var r=s(n(179)),o=s(n(211)),i=s(n(212)),a=s(n(213));function s(t){return t&&t.__esModule?t:{default:t}}e.default={format:function(t,e){switch((e=e||{}).language){case"db2":return new r.default(e).format(t);case"n1ql":return new o.default(e).format(t);case"pl/sql":return new i.default(e).format(t);case"sql":case void 0:return new a.default(e).format(t);default:throw Error("Unsupported SQL dialect: "+e.language)}}},t.exports=e.default},function(t,e,n){var r=n(239),o=n(240),i=n(245);t.exports=function(t,e){return r(t,i(e,3),o)}},function(t,e,n){var r,o,i,a,s;r=n(278),o=n(88).utf8,i=n(279),a=n(88).bin,(s=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?a.stringToBytes(t):o.stringToBytes(t):i(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),c=8*t.length,u=1732584193,l=-271733879,f=-1732584194,p=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var h=s._ff,m=s._gg,g=s._hh,v=s._ii;for(d=0;d<n.length;d+=16){var b=u,_=l,y=f,E=p;u=h(u,l,f,p,n[d+0],7,-680876936),p=h(p,u,l,f,n[d+1],12,-389564586),f=h(f,p,u,l,n[d+2],17,606105819),l=h(l,f,p,u,n[d+3],22,-1044525330),u=h(u,l,f,p,n[d+4],7,-176418897),p=h(p,u,l,f,n[d+5],12,1200080426),f=h(f,p,u,l,n[d+6],17,-1473231341),l=h(l,f,p,u,n[d+7],22,-45705983),u=h(u,l,f,p,n[d+8],7,1770035416),p=h(p,u,l,f,n[d+9],12,-1958414417),f=h(f,p,u,l,n[d+10],17,-42063),l=h(l,f,p,u,n[d+11],22,-1990404162),u=h(u,l,f,p,n[d+12],7,1804603682),p=h(p,u,l,f,n[d+13],12,-40341101),f=h(f,p,u,l,n[d+14],17,-1502002290),u=m(u,l=h(l,f,p,u,n[d+15],22,1236535329),f,p,n[d+1],5,-165796510),p=m(p,u,l,f,n[d+6],9,-1069501632),f=m(f,p,u,l,n[d+11],14,643717713),l=m(l,f,p,u,n[d+0],20,-373897302),u=m(u,l,f,p,n[d+5],5,-701558691),p=m(p,u,l,f,n[d+10],9,38016083),f=m(f,p,u,l,n[d+15],14,-660478335),l=m(l,f,p,u,n[d+4],20,-405537848),u=m(u,l,f,p,n[d+9],5,568446438),p=m(p,u,l,f,n[d+14],9,-1019803690),f=m(f,p,u,l,n[d+3],14,-187363961),l=m(l,f,p,u,n[d+8],20,1163531501),u=m(u,l,f,p,n[d+13],5,-1444681467),p=m(p,u,l,f,n[d+2],9,-51403784),f=m(f,p,u,l,n[d+7],14,1735328473),u=g(u,l=m(l,f,p,u,n[d+12],20,-1926607734),f,p,n[d+5],4,-378558),p=g(p,u,l,f,n[d+8],11,-2022574463),f=g(f,p,u,l,n[d+11],16,1839030562),l=g(l,f,p,u,n[d+14],23,-35309556),u=g(u,l,f,p,n[d+1],4,-1530992060),p=g(p,u,l,f,n[d+4],11,1272893353),f=g(f,p,u,l,n[d+7],16,-155497632),l=g(l,f,p,u,n[d+10],23,-1094730640),u=g(u,l,f,p,n[d+13],4,681279174),p=g(p,u,l,f,n[d+0],11,-358537222),f=g(f,p,u,l,n[d+3],16,-722521979),l=g(l,f,p,u,n[d+6],23,76029189),u=g(u,l,f,p,n[d+9],4,-640364487),p=g(p,u,l,f,n[d+12],11,-421815835),f=g(f,p,u,l,n[d+15],16,530742520),u=v(u,l=g(l,f,p,u,n[d+2],23,-995338651),f,p,n[d+0],6,-198630844),p=v(p,u,l,f,n[d+7],10,1126891415),f=v(f,p,u,l,n[d+14],15,-1416354905),l=v(l,f,p,u,n[d+5],21,-57434055),u=v(u,l,f,p,n[d+12],6,1700485571),p=v(p,u,l,f,n[d+3],10,-1894986606),f=v(f,p,u,l,n[d+10],15,-1051523),l=v(l,f,p,u,n[d+1],21,-2054922799),u=v(u,l,f,p,n[d+8],6,1873313359),p=v(p,u,l,f,n[d+15],10,-30611744),f=v(f,p,u,l,n[d+6],15,-1560198380),l=v(l,f,p,u,n[d+13],21,1309151649),u=v(u,l,f,p,n[d+4],6,-145523070),p=v(p,u,l,f,n[d+11],10,-1120210379),f=v(f,p,u,l,n[d+2],15,718787259),l=v(l,f,p,u,n[d+9],21,-343485551),u=u+b>>>0,l=l+_>>>0,f=f+y>>>0,p=p+E>>>0}return r.endian([u,l,f,p])})._ff=function(t,e,n,r,o,i,a){var s=t+(e&n|~e&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._gg=function(t,e,n,r,o,i,a){var s=t+(e&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._hh=function(t,e,n,r,o,i,a){var s=t+(e^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._ii=function(t,e,n,r,o,i,a){var s=t+(n^(e|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=r.wordsToBytes(s(t,e));return e&&e.asBytes?n:e&&e.asString?a.bytesToString(n):r.bytesToHex(n)}},function(t,e,n){var r=n(94);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(96)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){(t.exports=n(95)(!1)).push([t.i,'@charset \'UTF-8\';\n\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type="button"],\n[type="reset"],\n[type="submit"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type="button"]:-moz-focusring,\n[type="reset"]:-moz-focusring,\n[type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type="checkbox"],\n[type="radio"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type="number"]::-webkit-inner-spin-button,\n[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\n/*\n * Add the correct display in all browsers.\n */\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * 1. Prevent padding and border from affecting element width\n * https://goo.gl/pYtbK7\n * 2. Change the default font family in all browsers (opinionated)\n */\n\nhtml {\n box-sizing: border-box; /* 1 */\n font-family: sans-serif; /* 2 */\n}\n\n*,\n*::before,\n*::after {\n box-sizing: inherit;\n}\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\n\ndl,\ndd,\nh2,\nh3,\nh5,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background: transparent;\n padding: 0;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the system font stack as a sane default.\n * 2. Use Tailwind\'s default "normal" line-height so the user isn\'t forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it\'s border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n*::before,\n*::after {\n border-width: 0;\n border-style: solid;\n border-color: rgb(232, 229, 239);\n border-color: var(--gray-300);\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder,\ntextarea::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.5;\n}\n\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n color: inherit;\n opacity: 0.5;\n}\n\ninput:-ms-input-placeholder,\ntextarea:-ms-input-placeholder {\n color: inherit;\n opacity: 0.5;\n}\n\ninput::-ms-input-placeholder,\ntextarea::-ms-input-placeholder {\n color: inherit;\n opacity: 0.5;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n color: inherit;\n opacity: 0.5;\n}\n\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n\nh2,\nh3,\nh5 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don\'t inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured \'mono\' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * \'mono\' font family.\n */\n\npre,\ncode {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n}\n\n/**\n * Make replaced elements `display: block` by default as that\'s\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\n\nsvg,\ncanvas {\n display: block;\n vertical-align: middle;\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their instrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\n:root {\n --white: rgb(255, 255, 255);\n --blue-400: rgb(122, 122, 255);\n --green-100: rgb(227, 255, 242);\n --green-300: rgb(148, 242, 200);\n --green-400: rgb(114, 224, 175);\n --green-500: rgb(34, 212, 146);\n --purple-100: rgb(251, 245, 255);\n --purple-200: rgb(236, 211, 253);\n --purple-300: rgb(214, 188, 250);\n --purple-400: rgb(183, 148, 244);\n --purple-500: rgb(121, 0, 245);\n --purple-600: rgb(113, 7, 220);\n --purple-800: rgb(79, 15, 143);\n --red-100: rgb(255, 235, 243);\n --red-300: rgb(250, 133, 162);\n --red-400: rgb(250, 78, 121);\n --yellow-100: rgb(255, 253, 235);\n --yellow-200: rgb(255, 248, 196);\n --yellow-300: rgb(255, 243, 148);\n --yellow-400: rgb(255, 234, 79);\n --tint-50: rgba(0, 0, 150, 0.015);\n --tint-100: rgba(0, 0, 150, 0.025);\n --tint-200: rgba(0, 0, 100, 0.07);\n --tint-300: rgba(25, 0, 100, 0.1);\n --tint-400: rgba(20, 0, 100, 0.2);\n --tint-500: rgba(30, 20, 90, 0.35);\n --tint-600: rgba(30, 20, 70, 0.5);\n --tint-700: rgba(15, 10, 60, 0.75);\n --gray-50: rgb(252, 252, 253);\n --gray-100: rgb(247, 247, 252);\n --gray-200: rgb(238, 238, 245);\n --gray-300: rgb(232, 229, 239);\n --gray-400: rgb(209, 204, 224);\n --gray-500: rgb(176, 173, 197);\n --gray-600: rgb(142, 137, 162);\n --gray-700: rgb(75, 71, 109);\n --gray-800: rgb(51, 47, 81);\n /* dark theme */\n --dark-white: rgb(38, 38, 50);\n --dark-blue-400: rgb(85, 0, 255);\n --dark-green-100: rgb(32, 97, 90);\n --dark-green-300: rgb(55, 111, 123);\n --dark-green-500: rgb(63, 152, 142);\n --dark-purple-100: rgb(60, 46, 96);\n --dark-purple-200: rgb(81, 50, 128);\n --dark-purple-300: rgb(104, 85, 147);\n --dark-purple-400: rgb(106, 87, 148);\n --dark-purple-500: rgb(126, 107, 167);\n --dark-purple-600: rgb(145, 127, 183);\n --dark-purple-800: rgb(158, 140, 194);\n --dark-red-100: rgb(255, 235, 243);\n --dark-red-300: rgb(250, 133, 162);\n --dark-red-400: rgb(250, 78, 121);\n --dark-yellow-100: rgb(61, 57, 49);\n --dark-yellow-200: rgb(90, 78, 53);\n --dark-yellow-300: rgb(119, 103, 70);\n --dark-yellow-400: rgb(145, 121, 90);\n --dark-tint-50: rgba(240, 240, 245, 0.05);\n --dark-tint-100: rgba(240, 240, 245, 0.075);\n --dark-tint-200: rgba(240, 240, 245, 0.1);\n --dark-tint-300: rgba(240, 240, 245, 0.125);\n --dark-tint-400: rgba(240, 240, 245, 0.25);\n --dark-tint-500: rgba(240, 240, 245, 0.45);\n --dark-tint-600: rgba(240, 240, 245, 0.55);\n --dark-tint-700: rgba(240, 240, 245, 0.65);\n --dark-gray-0: rgb(30, 30, 40);\n --dark-gray-50: rgb(38, 38, 50);\n --dark-gray-100: rgb(48, 48, 58);\n --dark-gray-200: rgb(51, 51, 65);\n --dark-gray-300: rgb(75, 75, 85);\n --dark-gray-400: rgb(142, 142, 160);\n --dark-gray-500: rgb(152, 152, 170);\n --dark-gray-600: rgb(165, 165, 175);\n --dark-gray-700: rgb(216, 216, 223);\n --dark-gray-800: rgb(230, 230, 235);\n --dark-shadow-sm: \'0 2px 0 var(--gray-0)\';\n --dark-shadow-default: \'0 2px 0 var(--gray-50), 2px 4px 0 var(--gray-0)\';\n --dark-shadow-lg: \'0 2px 0 var(--gray-100), 2px 4px 0 var(--gray-50), 4px 6px 0 var(--gray-0)\';\n --dark-shadow-input: \'inset 0 2px 0 var(--gray-100)\';\n}\n\nhtml {\n box-sizing: border-box;\n font-size: 14px;\n background-color: rgb(238, 238, 245);\n background-color: var(--gray-200);\n overflow-x: hidden;\n overflow-y: scroll;\n}\n\n@media (min-width: 1024px) {\n html {\n font-size: 16px;\n }\n}\n\n/* Exclude iframes like 1Password save modals */\n\n*:not(iframe),\n*:after,\n*:before {\n position: relative;\n}\n\n*:focus {\n outline: 0 !important;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n color: rgb(51, 47, 81);\n color: var(--gray-800);\n line-height: 1.5;\n width: 100%;\n}\n\n/* Dark theme */\n\n@media (prefers-color-scheme: dark) {\n html.theme-auto {\n --white: var(--dark-white);\n --blue-400: var(--dark-blue-400);\n --green-100: var(--dark-green-100);\n --green-300: var(--dark-green-300);\n --green-400: var(--dark-green-400);\n --green-500: var(--dark-green-500);\n --purple-100: var(--dark-purple-100);\n --purple-200: var(--dark-purple-200);\n --purple-300: var(--dark-purple-300);\n --purple-400: var(--dark-purple-400);\n --purple-500: var(--dark-purple-500);\n --purple-600: var(--dark-purple-600);\n --purple-800: var(--dark-purple-800);\n --red-100: var(--dark-red-100);\n --red-300: var(--dark-red-300);\n --red-400: var(--dark-red-400);\n --yellow-100: var(--dark-yellow-100);\n --yellow-200: var(--dark-yellow-200);\n --yellow-300: var(--dark-yellow-300);\n --yellow-400: var(--dark-yellow-400);\n --tint-50: var(--dark-tint-50);\n --tint-100: var(--dark-tint-100);\n --tint-200: var(--dark-tint-200);\n --tint-300: var(--dark-tint-300);\n --tint-400: var(--dark-tint-400);\n --tint-500: var(--dark-tint-500);\n --tint-600: var(--dark-tint-600);\n --tint-700: var(--dark-tint-700);\n --gray-0: var(--dark-gray-0);\n --gray-50: var(--dark-gray-50);\n --gray-100: var(--dark-gray-100);\n --gray-200: var(--dark-gray-200);\n --gray-300: var(--dark-gray-300);\n --gray-400: var(--dark-gray-400);\n --gray-500: var(--dark-gray-500);\n --gray-600: var(--dark-gray-600);\n --gray-700: var(--dark-gray-700);\n --gray-800: var(--dark-gray-800);\n --shadow-sm: \'0 2px 0 var(--gray-50)\';\n --shadow-default: \'0 2px 0 var(--gray-100), 2px 4px 0 var(--gray-50)\';\n --shadow-lg: \'0 2px 0 var(--gray-200), 2px 4px 0 var(--gray-100), 4px 6px 0 var(--gray-50)\';\n --shadow-input: \'inset 0 2px 0 var(--gray-100)\';\n }\n\n html.theme-auto {\n background-color: rgb(30, 30, 40);\n background-color: var(--dark-gray-0);\n }\n\n html.theme-auto .checkbox:before {\n background-color: rgb(51, 47, 81);\n background-color: var(--gray-800);\n }\n\n html.theme-auto .tab-nav,\n html.theme-auto .dropdown {\n background-color: rgb(209, 204, 224);\n background-color: var(--gray-400);\n }\n}\n\nhtml.theme-dark {\n --white: var(--dark-white);\n --blue-400: var(--dark-blue-400);\n --green-100: var(--dark-green-100);\n --green-300: var(--dark-green-300);\n --green-400: var(--dark-green-400);\n --green-500: var(--dark-green-500);\n --purple-100: var(--dark-purple-100);\n --purple-200: var(--dark-purple-200);\n --purple-300: var(--dark-purple-300);\n --purple-400: var(--dark-purple-400);\n --purple-500: var(--dark-purple-500);\n --purple-600: var(--dark-purple-600);\n --purple-800: var(--dark-purple-800);\n --red-100: var(--dark-red-100);\n --red-300: var(--dark-red-300);\n --red-400: var(--dark-red-400);\n --yellow-100: var(--dark-yellow-100);\n --yellow-200: var(--dark-yellow-200);\n --yellow-300: var(--dark-yellow-300);\n --yellow-400: var(--dark-yellow-400);\n --tint-50: var(--dark-tint-50);\n --tint-100: var(--dark-tint-100);\n --tint-200: var(--dark-tint-200);\n --tint-300: var(--dark-tint-300);\n --tint-400: var(--dark-tint-400);\n --tint-500: var(--dark-tint-500);\n --tint-600: var(--dark-tint-600);\n --tint-700: var(--dark-tint-700);\n --gray-0: var(--dark-gray-0);\n --gray-50: var(--dark-gray-50);\n --gray-100: var(--dark-gray-100);\n --gray-200: var(--dark-gray-200);\n --gray-300: var(--dark-gray-300);\n --gray-400: var(--dark-gray-400);\n --gray-500: var(--dark-gray-500);\n --gray-600: var(--dark-gray-600);\n --gray-700: var(--dark-gray-700);\n --gray-800: var(--dark-gray-800);\n --shadow-sm: \'0 2px 0 var(--gray-50)\';\n --shadow-default: \'0 2px 0 var(--gray-100), 2px 4px 0 var(--gray-50)\';\n --shadow-lg: \'0 2px 0 var(--gray-200), 2px 4px 0 var(--gray-100), 4px 6px 0 var(--gray-50)\';\n --shadow-input: \'inset 0 2px 0 var(--gray-100)\';\n}\n\nhtml.theme-dark {\n background-color: rgb(30, 30, 40);\n background-color: var(--dark-gray-0);\n}\n\nhtml.theme-dark .checkbox:before {\n background-color: rgb(51, 47, 81);\n background-color: var(--gray-800);\n}\n\nhtml.theme-dark .tab-nav,\nhtml.theme-dark .dropdown {\n background-color: rgb(209, 204, 224);\n background-color: var(--gray-400);\n}\n\n.alert {\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n border-width: 0;\n border-left-width: 2px;\n border-color: rgba(0, 0, 150, 0.025);\n border-color: var(--tint-100);\n}\n\n.alert-warning {\n background-color: rgb(255, 253, 235);\n background-color: var(--yellow-100);\n border-color: rgb(255, 234, 79);\n border-color: var(--yellow-400);\n}\n\n.alert-empty {\n color: rgba(30, 20, 90, 0.35);\n color: var(--tint-500);\n padding-top: 2rem;\n padding-bottom: 2rem;\n text-align: center;\n}\n\n.button {\n display: inline-flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n padding-left: 1rem;\n padding-right: 1rem;\n min-height: 2.5rem;\n border-width: 0;\n background-color: rgb(121, 0, 245);\n background-color: var(--purple-500);\n overflow: hidden;\n border-radius: 0.125rem;\n color: rgb(255, 255, 255);\n color: var(--white);\n line-height: 1;\n text-decoration: none;\n}\n\n.button:after {\n content: \'\';\n display: block;\n position: absolute;\n left: 100%;\n bottom: 0;\n width: 200%;\n height: 100vh;\n background-color: rgba(30, 20, 90, 0.35);\n background-color: var(--tint-500);\n transform: translateX(-1rem) skewX(-65deg);\n transform-origin: 0% 100%;\n transition: transform 0.75s ease-out;\n}\n\n.button:hover:after {\n transform: translateX(-1.5rem) skewX(-65deg);\n transition-duration: 0.3s;\n}\n\n.button:not(:disabled):active:after {\n transition-delay: 0.2s;\n transition-duration: 0.3s;\n transform: translateX(-100%) skewX(-65deg);\n}\n\n.button-secondary {\n display: inline-flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n padding-left: 1rem;\n padding-right: 1rem;\n min-height: 2.5rem;\n border-width: 0;\n background-color: rgb(121, 0, 245);\n background-color: var(--purple-500);\n overflow: hidden;\n border-radius: 0.125rem;\n color: rgb(255, 255, 255);\n color: var(--white);\n line-height: 1;\n text-decoration: none;\n background-color: rgba(0, 0, 100, 0.07);\n background-color: var(--tint-200);\n color: rgba(15, 10, 60, 0.75);\n color: var(--tint-700);\n}\n\n.button-secondary:hover {\n background-color: rgba(25, 0, 100, 0.1);\n background-color: var(--tint-300);\n}\n\n.button-secondary:not(:disabled):active {\n background-color: rgba(30, 20, 90, 0.35);\n background-color: var(--tint-500);\n opacity: 0.5;\n}\n\n.button:focus,\n.button-secondary:focus {\n outline: 0;\n}\n\n.button:disabled,\n.button-secondary:disabled {\n cursor: not-allowed;\n opacity: 0.25;\n}\n\n.button-sm {\n font-size: 0.875rem;\n}\n\n.button.button-sm,\n.button-secondary.button-sm {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n min-height: 1.5rem;\n border-radius: 0.125rem;\n}\n\n.button-lg {\n font-size: 1.125rem;\n}\n\n.button.button-lg,\n.button-secondary.button-lg {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n min-height: 3rem;\n}\n\n.button-lg.button:after {\n transform: translateX(-2rem) skewX(-65deg);\n}\n\n.button-lg.button:hover:after {\n transform: translateX(-3rem) skewX(-65deg);\n}\n\n.card {\n position: relative;\n display: grid;\n align-items: stretch;\n border-width: 1px;\n border-color: rgba(25, 0, 100, 0.1);\n border-color: var(--tint-300);\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n box-shadow: var(--shadow-sm);\n border-radius: 0.125rem;\n}\n\n.card-details {\n overflow: hidden;\n}\n\n.card-details-overflow {\n display: grid;\n grid-gap: 1rem;\n padding: 1.5rem;\n overflow-x: auto;\n}\n\n@media (min-width: 768px) {\n .card {\n grid-template-columns: 16rem 1fr;\n }\n\n .card-has-header {\n grid-template-rows: auto 1fr;\n }\n\n .card.card-no-props {\n display: block;\n }\n\n .card-header {\n grid-column-end: span 2;\n }\n\n .card-details-overflow {\n padding: 2rem;\n }\n}\n\n.checkbox-label {\n display: grid;\n justify-content: flex-start;\n grid-template-columns: auto;\n grid-auto-flow: column;\n grid-gap: 0.5rem;\n min-height: 0;\n cursor: pointer;\n color: rgb(51, 47, 81);\n color: var(--gray-800);\n}\n\n.checkbox {\n width: 1.5em;\n height: 1.5em;\n border-style: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n.checkbox:before {\n position: absolute;\n width: 1.5em;\n height: 1.5em;\n border-width: 1px;\n border-color: rgba(0, 0, 100, 0.07);\n border-color: var(--tint-200);\n background-color: rgb(252, 252, 253);\n background-color: var(--gray-50);\n box-shadow: var(--shadow-default);\n border-radius: 0.125rem;\n overflow: hidden;\n content: \'\';\n}\n\n.checkbox:after {\n position: absolute;\n top: 50%;\n left: 50%;\n color: rgb(121, 0, 245);\n color: var(--purple-500);\n font-size: 1.2em;\n font-weight: 900;\n line-height: 1;\n content: \'✓\';\n transition: transform 0.1s;\n transform: translate(-50%, -50%) scale(0);\n}\n\n.checkbox:focus,\n.checkbox:hover {\n outline: 0;\n}\n\n.checkbox:focus:before {\n border-color: rgba(25, 0, 100, 0.1);\n border-color: var(--tint-300);\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n}\n\n.checkbox:hover:before {\n border-color: rgba(25, 0, 100, 0.1);\n border-color: var(--tint-300);\n}\n\n.checkbox:checked:after {\n transform: translate(-50%, -50%) scale(1);\n}\n\n.checkbox:disabled {\n opacity: 0.5;\n}\n\n.code {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n}\n\n.code-inline {\n display: inline-block;\n margin-top: -0.25rem;\n margin-bottom: -0.25rem;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n border-radius: 0.125rem;\n background-color: rgb(247, 247, 252);\n background-color: var(--gray-100);\n border-width: 1px;\n border-color: rgba(0, 0, 150, 0.025);\n border-color: var(--tint-100);\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n word-break: break-all;\n}\n\n.code-block {\n display: block;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n border-radius: 0.125rem;\n background-color: rgb(247, 247, 252);\n background-color: var(--gray-100);\n border-width: 1px;\n border-color: rgba(0, 0, 150, 0.025);\n border-color: var(--tint-100);\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n}\n\n.code-inline pre,\n.code-block pre {\n white-space: pre-wrap;\n}\n\n.definition-list {\n display: grid;\n grid-column-gap: 1.5rem;\n grid-row-gap: 0.5rem;\n}\n\n.definition-list .definition-list {\n border-left-width: 2px;\n border-color: rgb(232, 229, 239);\n border-color: var(--gray-300);\n padding-left: 1rem;\n}\n\n@media (min-width: 640px) {\n .definition-list {\n grid-template-columns: 8rem 1fr;\n }\n\n .definition-list .definition-list {\n grid-template-columns: auto 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n .definition-list {\n grid-template-columns: 14rem 1fr;\n }\n}\n\n.definition-list-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n}\n\n@media (min-width: 640px) {\n .definition-list-title {\n margin-left: 9.5rem;\n }\n}\n\n@media (min-width: 1024px) {\n .definition-list-title {\n margin-left: 15.5rem;\n }\n}\n\n.definition-label {\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n word-wrap: break-word;\n line-height: 1.25;\n}\n\n@media (min-width: 640px) {\n .definition-label {\n text-align: right;\n }\n}\n\n.definition-value {\n word-break: break-all;\n margin-bottom: 1rem;\n line-height: 1.25;\n}\n\n@media (min-width: 640px) {\n .definition-value {\n margin-bottom: 0;\n }\n}\n\n.definition-label:empty:after,\n.definition-value:empty:after {\n content: \'—\';\n color: rgb(232, 229, 239);\n color: var(--gray-300);\n}\n\n.definition-list-empty {\n color: rgb(232, 229, 239);\n color: var(--gray-300);\n}\n\n@media (min-width: 640px) {\n .definition-list-empty {\n grid-column-start: 2;\n }\n\n .definition-list .definition-list .definition-list-empty {\n grid-column-start: 1;\n }\n}\n\n.dropdown {\n position: absolute;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n overflow-y: auto;\n max-height: \'66vh\';\n border-width: 1px;\n border-top-width: 0;\n border-color: rgba(0, 0, 100, 0.07);\n border-color: var(--tint-200);\n color: rgb(255, 255, 255);\n color: var(--white);\n background-color: rgb(75, 71, 109);\n background-color: var(--gray-700);\n}\n\n.layout-col {\n max-width: 80rem;\n padding-left: 1rem;\n padding-right: 1rem;\n margin-left: auto;\n margin-right: auto;\n}\n\n@media (min-width: 640px) {\n .layout-col {\n padding-left: 2.5rem;\n padding-right: 2.5rem;\n }\n}\n\n.link {\n text-decoration: underline;\n -webkit-text-decoration-color: rgb(209, 204, 224);\n text-decoration-color: rgb(209, 204, 224);\n -webkit-text-decoration-color: var(--gray-400);\n text-decoration-color: var(--gray-400);\n}\n\n.link:hover {\n color: rgb(121, 0, 245);\n color: var(--purple-500);\n -webkit-text-decoration-color: rgb(214, 188, 250);\n text-decoration-color: rgb(214, 188, 250);\n -webkit-text-decoration-color: var(--purple-300);\n text-decoration-color: var(--purple-300);\n}\n\n.links a {\n text-decoration: underline;\n -webkit-text-decoration-color: rgb(209, 204, 224);\n text-decoration-color: rgb(209, 204, 224);\n -webkit-text-decoration-color: var(--gray-400);\n text-decoration-color: var(--gray-400);\n}\n\n.links a:hover {\n color: rgb(121, 0, 245);\n color: var(--purple-500);\n -webkit-text-decoration-color: rgb(214, 188, 250);\n text-decoration-color: rgb(214, 188, 250);\n -webkit-text-decoration-color: var(--purple-300);\n text-decoration-color: var(--purple-300);\n}\n\n.link-dimmed {\n font-weight: 400;\n text-decoration: underline;\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n -webkit-text-decoration-color: rgba(20, 0, 100, 0.2);\n text-decoration-color: rgba(20, 0, 100, 0.2);\n -webkit-text-decoration-color: var(--tint-400);\n text-decoration-color: var(--tint-400);\n}\n\n.link-dimmed:hover {\n color: rgba(15, 10, 60, 0.75);\n color: var(--tint-700);\n -webkit-text-decoration-color: rgba(30, 20, 90, 0.35);\n text-decoration-color: rgba(30, 20, 90, 0.35);\n -webkit-text-decoration-color: var(--tint-500);\n text-decoration-color: var(--tint-500);\n}\n\n.link-solution {\n text-decoration: underline;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n -webkit-text-decoration-color: rgba(20, 0, 100, 0.2);\n text-decoration-color: rgba(20, 0, 100, 0.2);\n -webkit-text-decoration-color: var(--tint-400);\n text-decoration-color: var(--tint-400);\n}\n\n.link-solution:hover {\n color: rgb(51, 47, 81);\n color: var(--gray-800);\n -webkit-text-decoration-color: rgba(30, 20, 90, 0.35);\n text-decoration-color: rgba(30, 20, 90, 0.35);\n -webkit-text-decoration-color: var(--tint-500);\n text-decoration-color: var(--tint-500);\n}\n\n.grid {\n display: grid;\n}\n\n.cols-2 {\n grid-template-columns: repeat(2, 1fr);\n}\n\n.cols-auto {\n grid-template-columns: auto;\n grid-auto-flow: column;\n}\n\n.cols-auto-1fr {\n grid-template-columns: auto 1fr;\n}\n\n.gap-1 {\n grid-gap: 0.25rem;\n}\n\n.gap-2 {\n grid-gap: 0.5rem;\n}\n\n.gapy-2 {\n grid-row-gap: 0.5rem;\n}\n\n.gap-4 {\n grid-gap: 1rem;\n}\n\n.gapx-4 {\n grid-column-gap: 1rem;\n}\n\n.gapx-6 {\n grid-column-gap: 1.5rem;\n}\n\n.span-2 {\n grid-column-end: span 2;\n}\n\n.place-center {\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n}\n\n.icon {\n fill: currentColor;\n height: 1em;\n line-height: 1;\n width: 1em;\n display: inline-block;\n vertical-align: baseline;\n vertical-align: initial;\n}\n\n.scrollbar::-webkit-scrollbar,\n.scrollbar::-webkit-scrollbar-corner {\n width: 4px;\n height: 4px;\n}\n\n.scrollbar::-webkit-scrollbar-track {\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n}\n\n.scrollbar::-webkit-scrollbar-track:horizontal,\n.scrollbar-lg::-webkit-scrollbar-track:horizontal {\n border-top: solid 1px rgba(0, 0, 0, 0.1);\n}\n\n.scrollbar::-webkit-scrollbar-track:vertical,\n.scrollbar-lg::-webkit-scrollbar-track:vertical {\n border-left: solid 1px rgba(0, 0, 0, 0.1);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n background-color: rgb(209, 204, 224);\n background-color: var(--gray-400);\n border-radius: 2px;\n}\n\n.scrollbar-lg::-webkit-scrollbar,\n.scrollbar-lg::-webkit-scrollbar-corner {\n width: 8px;\n height: 8px;\n}\n\n.scrollbar-lg::-webkit-scrollbar-track {\n background-color: rgb(252, 252, 253);\n background-color: var(--gray-50);\n}\n\n.scrollbar-lg::-webkit-scrollbar-thumb {\n background-color: rgb(142, 137, 162);\n background-color: var(--gray-600);\n border-radius: 4px;\n}\n\n:root {\n --stack-height: var(--tab-main-height);\n}\n\n.stack {\n display: grid;\n grid-template: calc(0.4 * calc(100vh - 3rem)) calc(0.6 * calc(100vh - 3rem)) / 1fr;\n grid-template: calc(0.4 * var(--stack-height)) calc(0.6 * var(--stack-height)) / 1fr;\n}\n\n@media (min-width: 640px) {\n .stack {\n align-items: stretch;\n grid-template: calc(100vh - 3rem) / 22rem 1fr;\n grid-template: var(--stack-height) / 22rem 1fr;\n }\n}\n\n.stack-nav {\n height: 100%;\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n border-bottom-width: 1px;\n border-color: rgb(232, 229, 239);\n border-color: var(--gray-300);\n font-size: 0.75rem;\n overflow: hidden;\n display: grid;\n grid-template: 1fr / 100%;\n}\n\n@media (min-width: 640px) {\n .stack-nav {\n display: grid;\n grid-template: auto 1fr / 100%;\n border-bottom-width: 0;\n border-right-width: 1px;\n }\n}\n\n.stack-nav-actions {\n display: none;\n}\n\n@media (min-width: 640px) {\n .stack-nav-actions {\n display: grid;\n align-items: center;\n justify-content: space-between;\n grid-template-columns: auto;\n grid-auto-flow: column;\n padding-top: 1rem;\n padding-bottom: 1rem;\n background-color: rgb(247, 247, 252);\n background-color: var(--gray-100);\n }\n}\n\n.stack-nav-arrows {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n justify-content: center;\n align-items: center;\n grid-gap: 0.25rem;\n width: 2.5rem;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.stack-nav-arrow {\n color: rgb(176, 173, 197);\n color: var(--gray-500);\n font-size: 0.75rem;\n}\n\n.stack-nav-arrow:hover {\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n}\n\n.stack-frames {\n overflow: hidden;\n border-top-width: 1px;\n border-color: rgb(238, 238, 245);\n border-color: var(--gray-200);\n}\n\n.stack-frames-scroll {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.stack-frame-group {\n border-bottom-width: 1px;\n border-color: rgb(232, 229, 239);\n border-color: var(--gray-300);\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n}\n\n.stack-frame {\n display: grid;\n align-items: flex-end;\n grid-template-columns: 2rem auto auto;\n}\n\n@media (min-width: 640px) {\n .stack-frame {\n grid-template-columns: 3rem 1fr auto;\n }\n}\n\n.stack-frame:not(:first-child) {\n margin-top: -0.5rem;\n}\n\n.stack-frame-selected,\n.stack-frame-selected .stack-frame-header {\n background-color: rgb(251, 245, 255);\n background-color: var(--purple-100);\n z-index: 10;\n}\n\n.stack-frame-group-vendor .stack-frame-selected,\n.stack-frame-group-vendor .stack-frame-selected .stack-frame-header {\n /* @apply bg-gray-100; */\n}\n\n.stack-frame-number {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n color: rgb(121, 0, 245);\n color: var(--purple-500);\n -webkit-font-feature-settings: "tnum";\n font-feature-settings: "tnum";\n font-variant-numeric: tabular-nums;\n text-align: center;\n}\n\n.stack-frame-group-vendor .stack-frame-number {\n color: rgba(30, 20, 90, 0.35);\n color: var(--tint-500);\n}\n\n.stack-frame-header {\n margin-right: -2.5rem;\n width: 100%;\n}\n\n.stack-frame-text {\n display: grid;\n align-items: center;\n grid-gap: 0.5rem;\n border-left-width: 2px;\n padding-left: 0.75rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n border-color: rgb(214, 188, 250);\n border-color: var(--purple-300);\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n}\n\n.stack-frame-group-vendor .stack-frame-text {\n border-color: rgb(232, 229, 239);\n border-color: var(--gray-300);\n}\n\n.stack-frame-selected .stack-frame-text {\n border-color: rgb(121, 0, 245);\n border-color: var(--purple-500);\n}\n\n.stack-frame-group-vendor .stack-frame-selected .stack-frame-text {\n border-color: rgb(176, 173, 197);\n border-color: var(--gray-500);\n}\n\n.stack-frame-line {\n padding-left: 0.5rem;\n padding-right: 0.25rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n text-align: right;\n line-height: 1.25;\n}\n\n.stack-main {\n display: grid;\n height: 100%;\n overflow: hidden;\n background-color: rgb(247, 247, 252);\n background-color: var(--gray-100);\n grid-template: auto 1fr / 100%;\n}\n\n.stack-main-header {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n border-bottom-width: 1px;\n border-color: rgb(238, 238, 245);\n border-color: var(--gray-200);\n font-size: 0.75rem;\n}\n\n@media (min-width: 640px) {\n .stack-main-header {\n padding-top: 1rem;\n padding-bottom: 1rem;\n font-size: 1rem;\n }\n}\n\n.stack-main-content {\n overflow: hidden;\n}\n\n.stack-viewer {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n overflow: auto;\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n font-size: 0.75rem;\n}\n\n.stack-ruler {\n position: -webkit-sticky;\n position: sticky;\n flex: none;\n left: 0;\n z-index: 20;\n}\n\n.stack-lines {\n min-height: 100%;\n border-right-width: 1px;\n border-color: rgb(238, 238, 245);\n border-color: var(--gray-200);\n background-color: rgb(247, 247, 252);\n background-color: var(--gray-100);\n padding-top: 1rem;\n padding-bottom: 1rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.stack-line {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n line-height: 2;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.stack-line-highlight {\n background-color: rgb(236, 211, 253);\n background-color: var(--purple-200);\n}\n\n.stack-line-selected {\n background-color: rgb(255, 248, 196);\n background-color: var(--yellow-200);\n}\n\n.stack-line-highlight.stack-line-selected {\n background-color: rgb(255, 243, 148);\n background-color: var(--yellow-300);\n}\n\n.stack-code {\n flex-grow: 1;\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.stack-code-line {\n padding-left: 1.5rem;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n line-height: 2;\n}\n\n.stack-code-line:hover {\n background-color: rgb(251, 245, 255);\n background-color: var(--purple-100);\n}\n\n.stack-code-line .editor-link {\n display: inline-block;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n opacity: 0;\n color: rgb(183, 148, 244);\n color: var(--purple-400);\n}\n\n.stack-code-line .editor-link:hover {\n color: rgb(121, 0, 245);\n color: var(--purple-500);\n}\n\n.stack-code-line:hover .editor-link {\n opacity: 1;\n}\n\n.stack-code-line-highlight {\n background-color: rgb(251, 245, 255);\n background-color: var(--purple-100);\n}\n\n.stack-code-line-selected {\n background-color: rgb(255, 253, 235);\n background-color: var(--yellow-100);\n}\n\n.stack-code-line-highlight.stack-code-line-selected {\n background-color: rgb(255, 248, 196);\n background-color: var(--yellow-200);\n}\n\n.solution-hiding {\n pointer-events: none;\n}\n\n.solution-hidden {\n height: 0;\n overflow: hidden;\n}\n\n.solution-hidden .solution-main,\n.solution-hiding .solution-main {\n transform: translateY(-25px) scaleY(0.95);\n opacity: 0;\n}\n\n.solution-main {\n z-index: 1;\n color: rgb(51, 47, 81);\n color: var(--gray-800);\n opacity: 1;\n transition: all 0.1s;\n}\n\n.solution-toggle {\n position: absolute;\n z-index: 10;\n top: 0.5rem;\n right: 10px;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n font-size: 0.75rem;\n line-height: 1;\n cursor: pointer;\n}\n\n.solution-toggle-show {\n top: 0;\n background-color: rgb(148, 242, 200);\n background-color: var(--green-300);\n box-shadow: var(--shadow-sm);\n border-bottom-right-radius: 0.125rem;\n border-bottom-left-radius: 0.125rem;\n z-index: 0;\n clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 5px));\n -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 5px));\n}\n\n.solution-toggle-show a {\n text-decoration: none;\n}\n\n.solution-background {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n top: -6px;\n margin: 0 10px;\n background-color: rgb(148, 242, 200);\n background-color: var(--green-300);\n box-shadow: var(--shadow-default);\n border-width: 1px;\n border-color: rgba(25, 0, 100, 0.1);\n border-color: var(--tint-300);\n overflow: hidden;\n border-bottom-right-radius: 0.125rem;\n border-bottom-left-radius: 0.125rem;\n}\n\n.solution-title {\n font-weight: 600;\n font-size: 1.5rem;\n line-height: 1.25;\n margin-bottom: 1rem;\n}\n\n.solution-content {\n max-width: 56rem;\n}\n\n@media (min-width: 768px) {\n .solution-content {\n margin-left: 15rem;\n }\n}\n\n.solution code {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n display: inline-block;\n margin-top: -0.25rem;\n margin-bottom: -0.25rem;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n border-radius: 0.125rem;\n background-color: rgba(0, 0, 150, 0.025);\n background-color: var(--tint-100);\n border-width: 1px;\n border-color: rgba(0, 0, 150, 0.025);\n border-color: var(--tint-100);\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n color: rgb(75, 71, 109);\n color: var(--gray-700);\n word-break: break-all;\n line-height: 1.25;\n}\n\n:root {\n --tab-main-height: calc(100vh - 3rem);\n}\n\n.tabs {\n z-index: 10;\n}\n\n.tab-main {\n z-index: 1;\n border-left-width: 1px;\n border-right-width: 1px;\n border-bottom-width: 1px;\n border-color: rgba(25, 0, 100, 0.1);\n border-color: var(--tint-300);\n min-height: calc(100vh - 3rem);\n min-height: var(--tab-main-height);\n}\n\n.tab-content {\n background-color: rgb(255, 255, 255);\n background-color: var(--white);\n font-size: 0.875rem;\n min-height: calc(100vh - 3rem);\n min-height: var(--tab-main-height);\n}\n\n.tab-content-section {\n padding-top: 2rem;\n padding-bottom: 2rem;\n border-top-width: 2px;\n border-color: rgba(0, 0, 100, 0.07);\n border-color: var(--tint-200);\n}\n\n.tab-content-section:first-child {\n border-top-width: 0;\n}\n\n.tab-nav {\n position: sticky;\n position: -webkit-sticky;\n display: grid;\n justify-content: center;\n grid-template-columns: auto;\n grid-auto-flow: column;\n grid-gap: 0.5rem;\n top: 0;\n width: 100%;\n z-index: 10;\n background-color: rgb(75, 71, 109);\n background-color: var(--gray-700);\n padding: 0.25rem;\n box-shadow: var(--shadow-default);\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n font-size: 0.75rem;\n}\n\n.tab-bar {\n display: grid;\n grid-template-columns: auto;\n grid-auto-flow: column;\n justify-content: flex-start;\n grid-gap: 0.25rem;\n overflow-x: auto;\n overflow-y: hidden;\n}\n\n.tab-bar::-webkit-scrollbar {\n height: 2px;\n}\n\n@media (min-width: 640px) {\n .tab-bar {\n justify-content: center;\n }\n}\n\n.tab {\n padding-left: 1rem;\n padding-right: 1rem;\n color: rgb(232, 229, 239);\n color: var(--gray-300);\n white-space: nowrap;\n border-radius: 0.125rem;\n height: 2.5rem;\n font-size: 0.875rem;\n}\n\n.tab-delimiter {\n border-left-width: 1px;\n border-color: rgb(142, 137, 162);\n border-color: var(--gray-600);\n}\n\n.tab:hover {\n background-color: rgba(20, 0, 100, 0.2);\n background-color: var(--tint-400);\n color: rgb(255, 255, 255);\n color: var(--white);\n}\n\n.tab-active,\n.tab-active:hover {\n background-color: rgba(30, 20, 70, 0.5);\n background-color: var(--tint-600);\n color: rgb(255, 255, 255);\n color: var(--white);\n}\n\n.ui-url {\n display: inline-block;\n line-height: 1.25;\n font-size: 0.875rem;\n font-weight: 400;\n text-decoration: underline;\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n -webkit-text-decoration-color: rgba(20, 0, 100, 0.2);\n text-decoration-color: rgba(20, 0, 100, 0.2);\n -webkit-text-decoration-color: var(--tint-400);\n text-decoration-color: var(--tint-400);\n}\n\n.ui-url:hover {\n color: rgba(15, 10, 60, 0.75);\n color: var(--tint-700);\n -webkit-text-decoration-color: rgba(30, 20, 90, 0.35);\n text-decoration-color: rgba(30, 20, 90, 0.35);\n -webkit-text-decoration-color: var(--tint-500);\n text-decoration-color: var(--tint-500);\n}\n\n.ui-path {\n display: inline-block;\n line-height: 1.25;\n}\n\n.ui-exception-message {\n font-weight: 600;\n line-height: 1.25;\n word-wrap: break-word;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 5;\n overflow: hidden;\n}\n\n.ui-exception-message-full {\n -webkit-line-clamp: unset;\n}\n\n.ui-exception-class {\n display: inline-block;\n line-height: 1.25;\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n}\n\n.ui-line-number {\n display: inline-block;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n border-radius: 0.125rem;\n background-color: rgba(0, 0, 150, 0.015);\n background-color: var(--tint-50);\n color: rgba(30, 20, 70, 0.5);\n color: var(--tint-600);\n font-size: 0.75rem;\n line-height: 1.25;\n}\n\n.dark .hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n color: #abb2bf;\n background: #282c34;\n}\n\n.dark .hljs-comment,\n.dark .hljs-quote {\n color: #5c6370;\n font-style: italic;\n}\n\n.dark .hljs-doctag,\n.dark .hljs-keyword,\n.dark .hljs-formula {\n color: #c678dd;\n}\n\n.dark .hljs-section,\n.dark .hljs-name,\n.dark .hljs-selector-tag,\n.dark .hljs-deletion,\n.dark .hljs-subst {\n color: #e06c75;\n}\n\n.dark .hljs-literal {\n color: #56b6c2;\n}\n\n.dark .hljs-string,\n.dark .hljs-regexp,\n.dark .hljs-addition,\n.dark .hljs-attribute,\n.dark .hljs-meta-string {\n color: #98c379;\n}\n\n.dark .hljs-built_in,\n.dark .hljs-class .dark .hljs-title {\n color: #e6c07b;\n}\n\n.dark .hljs-attr,\n.dark .hljs-variable,\n.dark .hljs-template-variable,\n.dark .hljs-type,\n.dark .hljs-selector-class,\n.dark .hljs-selector-attr,\n.dark .hljs-selector-pseudo,\n.dark .hljs-number {\n color: #d19a66;\n}\n\n.dark .hljs-symbol,\n.dark .hljs-bullet,\n.dark .hljs-link,\n.dark .hljs-meta,\n.dark .hljs-selector-id,\n.dark .hljs-title {\n color: #61aeee;\n}\n\n.dark .hljs-emphasis {\n font-style: italic;\n}\n\n.dark .hljs-strong {\n font-weight: bold;\n}\n\n.dark .hljs-link {\n text-decoration: underline;\n}\n\n.light .hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n color: #383a42;\n background: #fafafa;\n}\n\n.light .hljs-comment,\n.light .hljs-quote {\n color: #a0a1a7;\n font-style: italic;\n}\n\n.light .hljs-doctag,\n.light .hljs-keyword,\n.light .hljs-formula {\n color: #a626a4;\n}\n\n.light .hljs-section,\n.light .hljs-name,\n.light .hljs-selector-tag,\n.light .hljs-deletion,\n.light .hljs-subst {\n color: #e45649;\n}\n\n.light .hljs-literal {\n color: #0184bb;\n}\n\n.light .hljs-string,\n.light .hljs-regexp,\n.light .hljs-addition,\n.light .hljs-attribute,\n.light .hljs-meta-string {\n color: #50a14f;\n}\n\n.light .hljs-built_in,\n.light .hljs-class .light .hljs-title {\n color: #c18401;\n}\n\n.light .hljs-attr,\n.light .hljs-variable,\n.light .hljs-template-variable,\n.light .hljs-type,\n.light .hljs-selector-class,\n.light .hljs-selector-attr,\n.light .hljs-selector-pseudo,\n.light .hljs-number {\n color: #986801;\n}\n\n.light .hljs-symbol,\n.light .hljs-bullet,\n.light .hljs-link,\n.light .hljs-meta,\n.light .hljs-selector-id,\n.light .hljs-title {\n color: #4078f2;\n}\n\n.light .hljs-emphasis {\n font-style: italic;\n}\n\n.light .hljs-strong {\n font-weight: bold;\n}\n\n.light .hljs-link {\n text-decoration: underline;\n}\n\n/* \n Dumps are hidden asap in errorPage.blade \n What follows is !important\n*/\n\n.tabs pre.sf-dump {\n display: block !important;\n}\n\n.sf-dump-public.sf-dump-highlight,\n.sf-dump-protected.sf-dump-highlight,\n.sf-dump-private.sf-dump-highlight,\n.sf-dump-str.sf-dump-highlight,\n.sf-dump-key.sf-dump-highlight {\n background-color: rgb(251, 245, 255) !important;\n background-color: var(--purple-100) !important;\n border-color: rgb(236, 211, 253) !important;\n border-color: var(--purple-200) !important;\n}\n\n.sf-dump-public.sf-dump-highlight-active,\n.sf-dump-protected.sf-dump-highlight-active,\n.sf-dump-private.sf-dump-highlight-active,\n.sf-dump-str.sf-dump-highlight-active,\n.sf-dump-key.sf-dump-highlight-active {\n background-color: rgb(255, 253, 235) !important;\n background-color: var(--yellow-100) !important;\n border-color: rgb(255, 248, 196) !important;\n border-color: var(--yellow-200) !important;\n}\n\npre.sf-dump .sf-dump-search-wrapper > * {\n border-color: rgb(232, 229, 239) !important;\n border-color: var(--gray-300) !important;\n}\n\npre.sf-dump .sf-dump-search-wrapper > input.sf-dump-search-input {\n font-size: 0.75rem !important;\n background-color: rgb(51, 47, 81) !important;\n background-color: var(--gray-800) !important;\n}\n\npre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next,\npre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous {\n background-color: rgba(0, 0, 150, 0.025) !important;\n background-color: var(--tint-100) !important;\n}\n\npre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-count {\n font-size: 0.875rem !important;\n}\n\npre.sf-dump,\npre.sf-dump .sf-dump-default {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;\n background-color: rgb(247, 247, 252) !important;\n background-color: var(--gray-100) !important;\n color: rgb(51, 47, 81) !important;\n color: var(--gray-800) !important;\n}\n\npre.sf-dump .sf-dump-num {\n color: rgb(250, 133, 162) !important;\n color: var(--red-300) !important;\n}\n\npre.sf-dump .sf-dump-const {\n font-weight: 400 !important;\n}\n\npre.sf-dump .sf-dump-str {\n font-weight: 400 !important;\n color: rgb(142, 137, 162) !important;\n color: var(--gray-600) !important;\n}\n\npre.sf-dump .sf-dump-note {\n color: rgb(122, 122, 255) !important;\n color: var(--blue-400) !important;\n}\n\npre.sf-dump .sf-dump-ref {\n color: rgb(142, 137, 162) !important;\n color: var(--gray-600) !important;\n}\n\npre.sf-dump .sf-dump-public,\npre.sf-dump .sf-dump-protected,\npre.sf-dump .sf-dump-private {\n color: rgb(121, 0, 245) !important;\n color: var(--purple-500) !important;\n}\n\npre.sf-dump .sf-dump-meta {\n color: rgb(121, 0, 245) !important;\n color: var(--purple-500) !important;\n}\n\npre.sf-dump .sf-dump-key {\n color: rgb(113, 7, 220) !important;\n color: var(--purple-600) !important;\n}\n\npre.sf-dump .sf-dump-index {\n color: rgb(122, 122, 255) !important;\n color: var(--blue-400) !important;\n}\n\npre.sf-dump .sf-dump-ellipsis {\n color: rgb(113, 7, 220) !important;\n color: var(--purple-600) !important;\n}\n\n.bg-gray-100{\n background-color: rgb(247, 247, 252) !important;\n background-color: var(--gray-100) !important;\n}\n\n.bg-tint-200{\n background-color: rgba(0, 0, 100, 0.07) !important;\n background-color: var(--tint-200) !important;\n}\n\n.bg-tint-300{\n background-color: rgba(25, 0, 100, 0.1) !important;\n background-color: var(--tint-300) !important;\n}\n\n.bg-tint-600{\n background-color: rgba(30, 20, 70, 0.5) !important;\n background-color: var(--tint-600) !important;\n}\n\n.hover\\:bg-tint-100:hover{\n background-color: rgba(0, 0, 150, 0.025) !important;\n background-color: var(--tint-100) !important;\n}\n\n.hover\\:bg-tint-400:hover{\n background-color: rgba(20, 0, 100, 0.2) !important;\n background-color: var(--tint-400) !important;\n}\n\n.hover\\:bg-tint-700:hover{\n background-color: rgba(15, 10, 60, 0.75) !important;\n background-color: var(--tint-700) !important;\n}\n\n.border-gray-700{\n border-color: rgb(75, 71, 109) !important;\n border-color: var(--gray-700) !important;\n}\n\n.border-tint-200{\n border-color: rgba(0, 0, 100, 0.07) !important;\n border-color: var(--tint-200) !important;\n}\n\n.border-tint-300{\n border-color: rgba(25, 0, 100, 0.1) !important;\n border-color: var(--tint-300) !important;\n}\n\n.rounded-full{\n border-radius: 9999px !important;\n}\n\n.rounded-t{\n border-top-left-radius: 0.25rem !important;\n border-top-right-radius: 0.25rem !important;\n}\n\n.border-none{\n border-style: none !important;\n}\n\n.border-t-2{\n border-top-width: 2px !important;\n}\n\n.border-b{\n border-bottom-width: 1px !important;\n}\n\n.cursor-pointer{\n cursor: pointer !important;\n}\n\n.inline-block{\n display: inline-block !important;\n}\n\n.flex{\n display: flex !important;\n}\n\n.inline-flex{\n display: inline-flex !important;\n}\n\n.hidden{\n display: none !important;\n}\n\n.items-center{\n align-items: center !important;\n}\n\n.items-baseline{\n align-items: baseline !important;\n}\n\n.justify-start{\n justify-content: flex-start !important;\n}\n\n.justify-end{\n justify-content: flex-end !important;\n}\n\n.justify-center{\n justify-content: center !important;\n}\n\n.font-mono{\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;\n}\n\n.font-normal{\n font-weight: 400 !important;\n}\n\n.font-medium{\n font-weight: 500 !important;\n}\n\n.font-semibold{\n font-weight: 600 !important;\n}\n\n.h-5{\n height: 1.25rem !important;\n}\n\n.h-8{\n height: 2rem !important;\n}\n\n.h-full{\n height: 100% !important;\n}\n\n.mx-0{\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.ml-0{\n margin-left: 0 !important;\n}\n\n.mt-1{\n margin-top: 0.25rem !important;\n}\n\n.mr-1{\n margin-right: 0.25rem !important;\n}\n\n.mb-1{\n margin-bottom: 0.25rem !important;\n}\n\n.mt-2{\n margin-top: 0.5rem !important;\n}\n\n.mr-2{\n margin-right: 0.5rem !important;\n}\n\n.mb-2{\n margin-bottom: 0.5rem !important;\n}\n\n.ml-2{\n margin-left: 0.5rem !important;\n}\n\n.mb-3{\n margin-bottom: 0.75rem !important;\n}\n\n.mt-4{\n margin-top: 1rem !important;\n}\n\n.mr-4{\n margin-right: 1rem !important;\n}\n\n.mb-4{\n margin-bottom: 1rem !important;\n}\n\n.ml-6{\n margin-left: 1.5rem !important;\n}\n\n.mt-8{\n margin-top: 2rem !important;\n}\n\n.mt-12{\n margin-top: 3rem !important;\n}\n\n.ml-auto{\n margin-left: auto !important;\n}\n\n.min-h-0{\n min-height: 0 !important;\n}\n\n.min-w-8{\n min-width: 2rem !important;\n}\n\n.opacity-25{\n opacity: 0.25 !important;\n}\n\n.opacity-50{\n opacity: 0.5 !important;\n}\n\n.opacity-75{\n opacity: 0.75 !important;\n}\n\n.overflow-visible{\n overflow: visible !important;\n}\n\n.p-4{\n padding: 1rem !important;\n}\n\n.p-12{\n padding: 3rem !important;\n}\n\n.py-2{\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n\n.px-2{\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n}\n\n.py-4{\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.px-4{\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n}\n\n.px-6{\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n}\n\n.pt-2{\n padding-top: 0.5rem !important;\n}\n\n.pt-10{\n padding-top: 2.5rem !important;\n}\n\n.pointer-events-none{\n pointer-events: none !important;\n}\n\n.static{\n position: static !important;\n}\n\n.absolute{\n position: absolute !important;\n}\n\n.relative{\n position: relative !important;\n}\n\n.sticky{\n position: -webkit-sticky !important;\n position: sticky !important;\n}\n\n.inset-0{\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n}\n\n.top-0{\n top: 0 !important;\n}\n\n.right-0{\n right: 0 !important;\n}\n\n.bottom-0{\n bottom: 0 !important;\n}\n\n.left-0{\n left: 0 !important;\n}\n\n.top-full{\n top: 100% !important;\n}\n\n.left-full{\n left: 100% !important;\n}\n\n.text-left{\n text-align: left !important;\n}\n\n.text-white{\n color: rgb(255, 255, 255) !important;\n color: var(--white) !important;\n}\n\n.text-green-300{\n color: rgb(148, 242, 200) !important;\n color: var(--green-300) !important;\n}\n\n.text-purple-400{\n color: rgb(183, 148, 244) !important;\n color: var(--purple-400) !important;\n}\n\n.text-purple-800{\n color: rgb(79, 15, 143) !important;\n color: var(--purple-800) !important;\n}\n\n.text-gray-200{\n color: rgb(238, 238, 245) !important;\n color: var(--gray-200) !important;\n}\n\n.text-gray-300{\n color: rgb(232, 229, 239) !important;\n color: var(--gray-300) !important;\n}\n\n.text-gray-400{\n color: rgb(209, 204, 224) !important;\n color: var(--gray-400) !important;\n}\n\n.text-gray-500{\n color: rgb(176, 173, 197) !important;\n color: var(--gray-500) !important;\n}\n\n.text-gray-800{\n color: rgb(51, 47, 81) !important;\n color: var(--gray-800) !important;\n}\n\n.text-tint-600{\n color: rgba(30, 20, 70, 0.5) !important;\n color: var(--tint-600) !important;\n}\n\n.hover\\:text-white:hover{\n color: rgb(255, 255, 255) !important;\n color: var(--white) !important;\n}\n\n.hover\\:text-purple-500:hover{\n color: rgb(121, 0, 245) !important;\n color: var(--purple-500) !important;\n}\n\n.text-xs{\n font-size: 0.75rem !important;\n}\n\n.text-sm{\n font-size: 0.875rem !important;\n}\n\n.text-2xl{\n font-size: 1.5rem !important;\n}\n\n.italic{\n font-style: italic !important;\n}\n\n.uppercase{\n text-transform: uppercase !important;\n}\n\n.underline{\n text-decoration: underline !important;\n}\n\n.no-underline{\n text-decoration: none !important;\n}\n\n.tracking-wider{\n letter-spacing: 0.05em !important;\n}\n\n.align-middle{\n vertical-align: middle !important;\n}\n\n.whitespace-no-wrap{\n white-space: nowrap !important;\n}\n\n.w-4{\n width: 1rem !important;\n}\n\n.w-full{\n width: 100% !important;\n}\n\n.z-1{\n z-index: 1 !important;\n}\n\n.z-10{\n z-index: 10 !important;\n}\n\n@media (min-width: 640px){\n\n .sm\\:start-2 {\n grid-column-start: 2;\n }\n\n .sm\\:block{\n display: block !important;\n }\n\n .sm\\:ml-6{\n margin-left: 1.5rem !important;\n }\n}\n\n@media (min-width: 768px){\n\n .md\\:block{\n display: block !important;\n }\n}\n',""])},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),i=r.sources.map(function(t){return"/*# sourceURL=".concat(r.sourceRoot).concat(t," */")});return[n].concat(i).concat([o]).join("\n")}var a,s,c;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2],"{").concat(n,"}"):n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var a=0;a<t.length;a++){var s=t[a];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),e.push(s))}},e}},function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),c=null,u=0,l=[],f=n(97);function p(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(b(r.parts[a],e))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],e));i[r.id]={id:r.id,refs:1,parts:s}}}}function d(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(t,e){var n=s(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(t.insertAt.before,n);n.insertBefore(e,o)}}function m(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return v(e,t.attrs),h(t,e),e}function v(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=u++;n=c||(c=g(e)),r=E.bind(null,n,a,!1),o=E.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),h(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}t&&p(d(t,e),e);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var _,y=(_=[],function(t,e){return _[t]=e,_.filter(Boolean).join("\n")});function E(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,e){Sfdump=window.Sfdump||function(t){var e=t.createElement("style"),n=/([.*+?^${}()|\[\]\/\\])/g,r=/\bsf-dump-\d+-ref[012]\w+\b/,o=0<=navigator.platform.toUpperCase().indexOf("MAC")?"Cmd":"Ctrl",i=function(t,e,n){t.addEventListener(e,n,!1)};function a(e,n){var r,o,i=e.nextSibling||{},a=i.className;if(/\bsf-dump-compact\b/.test(a))r="▼",o="sf-dump-expanded";else{if(!/\bsf-dump-expanded\b/.test(a))return!1;r="▶",o="sf-dump-compact"}if(t.createEvent&&i.dispatchEvent){var s=t.createEvent("Event");s.initEvent("sf-dump-expanded"===o?"sfbeforedumpexpand":"sfbeforedumpcollapse",!0,!1),i.dispatchEvent(s)}if(e.lastChild.innerHTML=r,i.className=i.className.replace(/\bsf-dump-(compact|expanded)\b/,o),n)try{for(e=i.querySelectorAll("."+a),i=0;i<e.length;++i)-1==e[i].className.indexOf(o)&&(e[i].className=o,e[i].previousSibling.lastChild.innerHTML=r)}catch(t){}return!0}function s(t,e){var n=(t.nextSibling||{}).className;return!!/\bsf-dump-compact\b/.test(n)&&(a(t,e),!0)}function c(t){var e=t.querySelector("a.sf-dump-toggle");return!!e&&(function(t,e){var n=(t.nextSibling||{}).className;!!/\bsf-dump-expanded\b/.test(n)&&a(t,e)}(e,!0),s(e),!0)}function u(t){Array.from(t.querySelectorAll(".sf-dump-str, .sf-dump-key, .sf-dump-public, .sf-dump-protected, .sf-dump-private")).forEach(function(t){t.className=t.className.replace(/\bsf-dump-highlight\b/,""),t.className=t.className.replace(/\bsf-dump-highlight-active\b/,"")})}return(t.documentElement.firstElementChild||t.documentElement.children[0]).appendChild(e),t.addEventListener||(i=function(t,e,n){t.attachEvent("on"+e,function(t){t.preventDefault=function(){t.returnValue=!1},t.target=t.srcElement,n(t)})}),function(l,f){l=t.getElementById(l);for(var p,d,h=new RegExp("^("+(l.getAttribute("data-indent-pad")||" ").replace(n,"\\$1")+")+","m"),m={$options:$options},g=l.getElementsByTagName("A"),v=g.length,b=0,_=[];b<v;)_.push(g[b++]);for(b in f)m[b]=f[b];function y(t,e){i(l,t,function(t,n){"A"==t.target.tagName?e(t.target,t):"A"==t.target.parentNode.tagName?e(t.target.parentNode,t):(n=t.target.nextElementSibling)&&"A"==n.tagName&&(/\bsf-dump-toggle\b/.test(n.className)||(n=n.nextElementSibling),e(n,t,!0))})}function E(t){return t.ctrlKey||t.metaKey}function k(t){return"concat("+t.match(/[^'"]+|['"]/g).map(function(t){return"'"==t?'"\'"':'"'==t?"'\"'":"'"+t+"'"}).join(",")+", '')"}function x(t){return"contains(concat(' ', normalize-space(@class), ' '), ' "+t+" ')"}for(i(l,"mouseover",function(t){""!=e.innerHTML&&(e.innerHTML="")}),y("mouseover",function(t,n,o){if(o)n.target.style.cursor="pointer";else if(t=r.exec(t.className))try{e.innerHTML="pre.sf-dump ."+t[0]+"{background-color: #B729D9; color: #FFF !important; border-radius: 2px}"}catch(n){}}),y("click",function(e,r,o){if(/\bsf-dump-toggle\b/.test(e.className)){if(r.preventDefault(),!a(e,E(r))){var i=t.getElementById(e.getAttribute("href").substr(1)),s=i.previousSibling,c=i.parentNode,u=e.parentNode;u.replaceChild(i,e),c.replaceChild(e,s),u.insertBefore(s,i),c=c.firstChild.nodeValue.match(h),u=u.firstChild.nodeValue.match(h),c&&u&&c[0]!==u[0]&&(i.innerHTML=i.innerHTML.replace(new RegExp("^"+c[0].replace(n,"\\$1"),"mg"),u[0])),/\bsf-dump-compact\b/.test(i.className)&&a(s,E(r))}if(o);else if(t.getSelection)try{t.getSelection().removeAllRanges()}catch(r){t.getSelection().empty()}else t.selection.empty()}else/\bsf-dump-str-toggle\b/.test(e.className)&&(r.preventDefault(),(r=e.parentNode.parentNode).className=r.className.replace(/\bsf-dump-str-(expand|collapse)\b/,e.parentNode.className))}),v=(g=l.getElementsByTagName("SAMP")).length,b=0;b<v;)_.push(g[b++]);for(v=_.length,b=0;b<v;++b)if("SAMP"==(g=_[b]).tagName){"A"!=(y=g.previousSibling||{}).tagName?((y=t.createElement("A")).className="sf-dump-ref",g.parentNode.insertBefore(y,g)):y.innerHTML+=" ",y.title=(y.title?y.title+"\n[":"[")+o+"+click] Expand all children",y.innerHTML+="<span>▼</span>",y.className+=" sf-dump-toggle",f=1,"sf-dump"!=g.parentNode.className&&(f+=g.parentNode.getAttribute("data-depth")/1),g.setAttribute("data-depth",f);var w=g.className;g.className="sf-dump-expanded",(w?"sf-dump-expanded"!==w:f>m.maxDepth)&&a(y)}else if(/\bsf-dump-ref\b/.test(g.className)&&(y=g.getAttribute("href"))&&(y=y.substr(1),g.className+=" "+y,/[\[{]$/.test(g.previousSibling.nodeValue))){y=y!=g.nextSibling.id&&t.getElementById(y);try{p=y.nextSibling,g.appendChild(y),p.parentNode.insertBefore(y,p),/^[@#]/.test(g.innerHTML)?g.innerHTML+=" <span>▶</span>":(g.innerHTML="<span>▶</span>",g.className="sf-dump-ref"),g.className+=" sf-dump-toggle"}catch(t){"&"==g.innerHTML.charAt(0)&&(g.innerHTML="…",g.className="sf-dump-ref")}}if(t.evaluate&&Array.from&&l.children.length>1){var C=function(t){var e,n,r=t.current();r&&(!function(t){for(var e,n=[];(t=t.parentNode||{})&&(e=t.previousSibling)&&"A"===e.tagName;)n.push(e);0!==n.length&&n.forEach(function(t){s(t)})}(r),function(t,e,n){u(t),Array.from(n||[]).forEach(function(t){/\bsf-dump-highlight\b/.test(t.className)||(t.className=t.className+" sf-dump-highlight")}),/\bsf-dump-highlight-active\b/.test(e.className)||(e.className=e.className+" sf-dump-highlight-active")}(l,r,t.nodes),"scrollIntoView"in r&&(r.scrollIntoView(!0),e=r.getBoundingClientRect(),n=A.getBoundingClientRect(),e.top<n.top+n.height&&window.scrollBy(0,-(n.top+n.height+5)))),R.textContent=(t.isEmpty()?0:t.idx+1)+" of "+t.count()};l.setAttribute("tabindex",0),SearchState=function(){this.nodes=[],this.idx=0},SearchState.prototype={next:function(){return this.isEmpty()?this.current():(this.idx=this.idx<this.nodes.length-1?this.idx+1:0,this.current())},previous:function(){return this.isEmpty()?this.current():(this.idx=this.idx>0?this.idx-1:this.nodes.length-1,this.current())},isEmpty:function(){return 0===this.count()},current:function(){return this.isEmpty()?null:this.nodes[this.idx]},reset:function(){this.nodes=[],this.idx=0},count:function(){return this.nodes.length}};var A=t.createElement("div");A.className="sf-dump-search-wrapper sf-dump-search-hidden",A.innerHTML='\n <input type="text" class="sf-dump-search-input">\n <span class="sf-dump-search-count">0 of 0</span>\n <button type="button" class="sf-dump-search-input-previous" tabindex="-1">\n <svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1683 1331l-166 165q-19 19-45 19t-45-19L896 965l-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z"/></svg>\n </button>\n <button type="button" class="sf-dump-search-input-next" tabindex="-1">\n <svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1683 808l-742 741q-19 19-45 19t-45-19L109 808q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z"/></svg>\n </button>\n ',l.insertBefore(A,l.firstChild);var T=new SearchState,S=A.querySelector(".sf-dump-search-input"),R=A.querySelector(".sf-dump-search-count"),O=0,N="";i(S,"keyup",function(e){var n=e.target.value;n!==N&&(N=n,clearTimeout(O),O=setTimeout(function(){if(T.reset(),c(l),u(l),""!==n){for(var e=["sf-dump-str","sf-dump-key","sf-dump-public","sf-dump-protected","sf-dump-private"].map(x).join(" or "),r=t.evaluate(".//span["+e+"][contains(translate(child::text(), "+k(n.toUpperCase())+", "+k(n.toLowerCase())+"), "+k(n.toLowerCase())+")]",l,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);node=r.iterateNext();)T.nodes.push(node);C(T)}else R.textContent="0 of 0"},400))}),Array.from(A.querySelectorAll(".sf-dump-search-input-next, .sf-dump-search-input-previous")).forEach(function(t){i(t,"click",function(t){t.preventDefault(),-1!==t.target.className.indexOf("next")?T.next():T.previous(),S.focus(),c(l),C(T)})}),i(l,"keydown",function(t){var e=!/\bsf-dump-search-hidden\b/.test(A.className);if(114===t.keyCode&&!e||E(t)&&70===t.keyCode){if(70===t.keyCode&&document.activeElement===S)return;t.preventDefault(),A.className=A.className.replace(/\bsf-dump-search-hidden\b/,""),S.focus()}else e&&(27===t.keyCode?(A.className+=" sf-dump-search-hidden",t.preventDefault(),u(l),S.value=""):(E(t)&&71===t.keyCode||13===t.keyCode||114===t.keyCode)&&(t.preventDefault(),t.shiftKey?T.previous():T.next(),c(l),C(T)))})}if(!(0>=m.maxStringLength))try{for(v=(g=l.querySelectorAll(".sf-dump-str")).length,b=0,_=[];b<v;)_.push(g[b++]);for(v=_.length,b=0;b<v;++b)0<(f=(p=(g=_[b]).innerText||g.textContent).length-m.maxStringLength)&&(d=g.innerHTML,g[g.innerText?"innerText":"textContent"]=p.substring(0,m.maxStringLength),g.className+=" sf-dump-str-collapse",g.innerHTML="<span class=sf-dump-str-collapse>"+d+'<a class="sf-dump-ref sf-dump-str-toggle" title="Collapse"> ◀</a></span><span class=sf-dump-str-expand>'+g.innerHTML+'<a class="sf-dump-ref sf-dump-str-toggle" title="'+f+' remaining characters"> ▶</a></span>')}catch(t){}}}(document)},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new T(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return R()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function m(){}function g(){}function v(){}var b={};b[i]=function(){return this};var _=Object.getPrototypeOf,y=_&&_(_(S([])));y&&y!==n&&r.call(y,i)&&(b=y);var E=v.prototype=m.prototype=Object.create(b);function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(t){var e;this._invoke=function(n,o){function i(){return new Promise(function(e,i){!function e(n,o,i,a){var s=u(t[n],t,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(l).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,a)})}a(s.arg)}(n,o,e,i)})}return e=e?e.then(i,i):i()}}function w(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,w(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=u(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:R}}function R(){return{value:e,done:!0}}return g.prototype=E.constructor=v,v.constructor=g,v[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},k(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,o){var i=new x(c(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},k(E),E[s]="Generator",E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";t.exports=n(101)},function(t,e,n){"use strict";var r=n(1),o=n(109),i=n(113),a=n(114),s=n(122),c=n(136),u=n(149),l=n(56),f=n(63),p={default:n(151),zero:n(152),commonmark:n(153)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(t){var e=t.trim().toLowerCase();return!d.test(e)||!!h.test(e)}var g=["http:","https:","mailto:"];function v(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=f.toASCII(e.hostname)}catch(t){}return l.encode(l.format(e))}function b(t){var e=l.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=f.toUnicode(e.hostname)}catch(t){}return l.decode(l.format(e))}function _(t,e){if(!(this instanceof _))return new _(t,e);e||r.isString(t)||(e=t||{},t="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new u,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=b,this.utils=r,this.helpers=r.assign({},o),this.options={},this.configure(t),e&&this.set(e)}_.prototype.set=function(t){return r.assign(this.options,t),this},_.prototype.configure=function(t){var e,n=this;if(r.isString(t)&&!(t=p[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},_.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},_.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},_.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},_.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},_.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},_.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},_.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=_},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(t,e,n){"use strict";var r={};function o(t,e,n){var i,a,s,c,u,l="";for("string"!=typeof e&&(n=e,e=o.defaultChars),void 0===n&&(n=!0),u=function(t){var e,n,o=r[t];if(o)return o;for(o=r[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)o[t.charCodeAt(e)]=t[e];return o}(e),i=0,a=t.length;i<a;i++)if(s=t.charCodeAt(i),n&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(t.slice(i+1,i+3)))l+=t.slice(i,i+3),i+=2;else if(s<128)l+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(c=t.charCodeAt(i+1))>=56320&&c<=57343){l+=encodeURIComponent(t[i]+t[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[i]);return l}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",t.exports=o},function(t,e,n){"use strict";var r={};function o(t,e){var n;return"string"!=typeof e&&(e=o.defaultChars),n=function(t){var e,n,o=r[t];if(o)return o;for(o=r[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),o.push(n);for(e=0;e<t.length;e++)o[n=t.charCodeAt(e)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}(e),t.replace(/(%[a-f0-9]{2})+/gi,function(t){var e,r,o,i,a,s,c,u="";for(e=0,r=t.length;e<r;e+=3)(o=parseInt(t.slice(e+1,e+3),16))<128?u+=n[o]:192==(224&o)&&e+3<r&&128==(192&(i=parseInt(t.slice(e+4,e+6),16)))?(u+=(c=o<<6&1984|63&i)<128?"��":String.fromCharCode(c),e+=3):224==(240&o)&&e+6<r&&(i=parseInt(t.slice(e+4,e+6),16),a=parseInt(t.slice(e+7,e+9),16),128==(192&i)&&128==(192&a))?(u+=(c=o<<12&61440|i<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),e+=6):240==(248&o)&&e+9<r&&(i=parseInt(t.slice(e+4,e+6),16),a=parseInt(t.slice(e+7,e+9),16),s=parseInt(t.slice(e+10,e+12),16),128==(192&i)&&128==(192&a)&&128==(192&s))?((c=o<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||c>1114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),e+=9):u+="�";return u})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",t.exports=o},function(t,e,n){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||""}},function(t,e,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),u=["%","/","?",";","#"].concat(c),l=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(t,e){var n,r,i,s,c,m=t;if(m=m.trim(),!e&&1===t.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=o.exec(m);if(v&&(i=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(e||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===m.substr(0,2))||v&&d[v]||(m=m.substr(2),this.slashes=!0)),!d[v]&&(c||v&&!h[v])){var b,_,y=-1;for(n=0;n<l.length;n++)-1!==(s=m.indexOf(l[n]))&&(-1===y||s<y)&&(y=s);for(-1!==(_=-1===y?m.lastIndexOf("@"):m.lastIndexOf("@",y))&&(b=m.slice(0,_),m=m.slice(_+1),this.auth=b),y=-1,n=0;n<u.length;n++)-1!==(s=m.indexOf(u[n]))&&(-1===y||s<y)&&(y=s);-1===y&&(y=m.length),":"===m[y-1]&&y--;var E=m.slice(0,y);m=m.slice(y),this.parseHost(E),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var x=this.hostname.split(/\./);for(n=0,r=x.length;n<r;n++){var w=x[n];if(w&&!w.match(f)){for(var C="",A=0,T=w.length;A<T;A++)w.charCodeAt(A)>127?C+="x":C+=w[A];if(!C.match(f)){var S=x.slice(0,n),R=x.slice(n+1),O=w.match(p);O&&(S.push(O[1]),R.unshift(O[2])),R.length&&(m=R.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var N=m.indexOf("#");-1!==N&&(this.hash=m.substr(N),m=m.slice(0,N));var L=m.indexOf("?");return-1!==L&&(this.search=m.substr(L),m=m.slice(0,L)),m&&(this.pathname=m),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(t){var e=i.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,e){if(t&&t instanceof r)return t;var n=new r;return n.parse(t,e),n}},function(t,e,n){"use strict";e.Any=n(57),e.Cc=n(58),e.Cf=n(108),e.P=n(36),e.Z=n(59)},function(t,e){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(t,e,n){"use strict";e.parseLinkLabel=n(110),e.parseLinkDestination=n(111),e.parseLinkTitle=n(112)},function(t,e,n){"use strict";t.exports=function(t,e,n){var r,o,i,a,s=-1,c=t.posMax,u=t.pos;for(t.pos=e+1,r=1;t.pos<c;){if(93===(i=t.src.charCodeAt(t.pos))&&0===--r){o=!0;break}if(a=t.pos,t.md.inline.skipToken(t),91===i)if(a===t.pos-1)r++;else if(n)return t.pos=u,-1}return o&&(s=t.pos),t.pos=u,s}},function(t,e,n){"use strict";var r=n(1).unescapeAll;t.exports=function(t,e,n){var o,i,a=e,s={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(e)){for(e++;e<n;){if(10===(o=t.charCodeAt(e)))return s;if(62===o)return s.pos=e+1,s.str=r(t.slice(a+1,e)),s.ok=!0,s;92===o&&e+1<n?e+=2:e++}return s}for(i=0;e<n&&32!==(o=t.charCodeAt(e))&&!(o<32||127===o);)if(92===o&&e+1<n)e+=2;else{if(40===o&&i++,41===o){if(0===i)break;i--}e++}return a===e?s:0!==i?s:(s.str=r(t.slice(a,e)),s.lines=0,s.pos=e,s.ok=!0,s)}},function(t,e,n){"use strict";var r=n(1).unescapeAll;t.exports=function(t,e,n){var o,i,a=0,s=e,c={ok:!1,pos:0,lines:0,str:""};if(e>=n)return c;if(34!==(i=t.charCodeAt(e))&&39!==i&&40!==i)return c;for(e++,40===i&&(i=41);e<n;){if((o=t.charCodeAt(e))===i)return c.pos=e+1,c.lines=a,c.str=r(t.slice(s+1,e)),c.ok=!0,c;10===o?a++:92===o&&e+1<n&&(e++,10===t.charCodeAt(e)&&a++),e++}return c}},function(t,e,n){"use strict";var r=n(1).assign,o=n(1).unescapeAll,i=n(1).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(t,e,n,r,o){var a=t[e];return"<code"+o.renderAttrs(a)+">"+i(t[e].content)+"</code>"},a.code_block=function(t,e,n,r,o){var a=t[e];return"<pre"+o.renderAttrs(a)+"><code>"+i(t[e].content)+"</code></pre>\n"},a.fence=function(t,e,n,r,a){var s,c,u,l,f=t[e],p=f.info?o(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||i(f.content)).indexOf("<pre")?s+"\n":p?(c=f.attrIndex("class"),u=f.attrs?f.attrs.slice():[],c<0?u.push(["class",n.langPrefix+d]):u[c][1]+=" "+n.langPrefix+d,l={attrs:u},"<pre><code"+a.renderAttrs(l)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(f)+">"+s+"</code></pre>\n"},a.image=function(t,e,n,r,o){var i=t[e];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(t,e){return i(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e<n;e++)r+=" "+i(t.attrs[e][0])+'="'+i(t.attrs[e][1])+'"';return r},s.prototype.renderToken=function(t,e,n){var r,o="",i=!1,a=t[e];return a.hidden?"":(a.block&&-1!==a.nesting&&e&&t[e-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&e+1<t.length&&("inline"===(r=t[e+1]).type||r.hidden?i=!1:-1===r.nesting&&r.tag===a.tag&&(i=!1))),o+=i?">\n":">")},s.prototype.renderInline=function(t,e,n){for(var r,o="",i=this.rules,a=0,s=t.length;a<s;a++)void 0!==i[r=t[a].type]?o+=i[r](t,a,e,n,this):o+=this.renderToken(t,a,e);return o},s.prototype.renderInlineAsText=function(t,e,n){for(var r="",o=0,i=t.length;o<i;o++)"text"===t[o].type?r+=t[o].content:"image"===t[o].type&&(r+=this.renderInlineAsText(t[o].children,e,n));return r},s.prototype.render=function(t,e,n){var r,o,i,a="",s=this.rules;for(r=0,o=t.length;r<o;r++)"inline"===(i=t[r].type)?a+=this.renderInline(t[r].children,e,n):void 0!==s[i]?a+=s[t[r].type](t,r,e,n,this):a+=this.renderToken(t,r,e,n);return a},t.exports=s},function(t,e,n){"use strict";var r=n(37),o=[["normalize",n(115)],["block",n(116)],["inline",n(117)],["linkify",n(118)],["replacements",n(119)],["smartquotes",n(120)]];function i(){this.ruler=new r;for(var t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1])}i.prototype.process=function(t){var e,n,r;for(e=0,n=(r=this.ruler.getRules("")).length;e<n;e++)r[e](t)},i.prototype.State=n(121),t.exports=i},function(t,e,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;t.exports=function(t){var e;e=(e=t.src.replace(r,"\n")).replace(o,"�"),t.src=e}},function(t,e,n){"use strict";t.exports=function(t){var e;t.inlineMode?((e=new t.Token("inline","",0)).content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},function(t,e,n){"use strict";t.exports=function(t){var e,n,r,o=t.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(e=o[n]).type&&t.md.inline.parse(e.content,t.md,t.env,e.children)}},function(t,e,n){"use strict";var r=n(1).arrayReplaceAt;function o(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var e,n,i,a,s,c,u,l,f,p,d,h,m,g,v,b,_,y,E=t.tokens;if(t.md.options.linkify)for(n=0,i=E.length;n<i;n++)if("inline"===E[n].type&&t.md.linkify.pretest(E[n].content))for(m=0,e=(a=E[n].children).length-1;e>=0;e--)if("link_close"!==(c=a[e]).type){if("html_inline"===c.type&&(y=c.content,/^<a[>\s]/i.test(y)&&m>0&&m--,o(c.content)&&m++),!(m>0)&&"text"===c.type&&t.md.linkify.test(c.content)){for(f=c.content,_=t.md.linkify.match(f),u=[],h=c.level,d=0,l=0;l<_.length;l++)g=_[l].url,v=t.md.normalizeLink(g),t.md.validateLink(v)&&(b=_[l].text,b=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(b)?t.md.normalizeLinkText(b):t.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),(p=_[l].index)>d&&((s=new t.Token("text","",0)).content=f.slice(d,p),s.level=h,u.push(s)),(s=new t.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",u.push(s),(s=new t.Token("text","",0)).content=b,s.level=h,u.push(s),(s=new t.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",u.push(s),d=_[l].lastIndex);d<f.length&&((s=new t.Token("text","",0)).content=f.slice(d),s.level=h,u.push(s)),E[n].children=a=r(a,e,u)}}else for(e--;a[e].level!==c.level&&"link_open"!==a[e].type;)e--}},function(t,e,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function s(t,e){return a[e.toLowerCase()]}function c(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)"text"!==(n=t[e]).type||r||(n.content=n.content.replace(i,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function u(t){var e,n,o=0;for(e=t.length-1;e>=0;e--)"text"!==(n=t[e]).type||o||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(o.test(t.tokens[e].content)&&c(t.tokens[e].children),r.test(t.tokens[e].content)&&u(t.tokens[e].children))}},function(t,e,n){"use strict";var r=n(1).isWhiteSpace,o=n(1).isPunctChar,i=n(1).isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="’";function u(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function l(t,e){var n,a,l,f,p,d,h,m,g,v,b,_,y,E,k,x,w,C,A,T,S;for(A=[],n=0;n<t.length;n++){for(a=t[n],h=t[n].level,w=A.length-1;w>=0&&!(A[w].level<=h);w--);if(A.length=w+1,"text"===a.type){p=0,d=(l=a.content).length;t:for(;p<d&&(s.lastIndex=p,f=s.exec(l));){if(k=x=!0,p=f.index+1,C="'"===f[0],g=32,f.index-1>=0)g=l.charCodeAt(f.index-1);else for(w=n-1;w>=0&&("softbreak"!==t[w].type&&"hardbreak"!==t[w].type);w--)if("text"===t[w].type){g=t[w].content.charCodeAt(t[w].content.length-1);break}if(v=32,p<d)v=l.charCodeAt(p);else for(w=n+1;w<t.length&&("softbreak"!==t[w].type&&"hardbreak"!==t[w].type);w++)if("text"===t[w].type){v=t[w].content.charCodeAt(0);break}if(b=i(g)||o(String.fromCharCode(g)),_=i(v)||o(String.fromCharCode(v)),y=r(g),(E=r(v))?k=!1:_&&(y||b||(k=!1)),y?x=!1:b&&(E||_||(x=!1)),34===v&&'"'===f[0]&&g>=48&&g<=57&&(x=k=!1),k&&x&&(k=!1,x=_),k||x){if(x)for(w=A.length-1;w>=0&&(m=A[w],!(A[w].level<h));w--)if(m.single===C&&A[w].level===h){m=A[w],C?(T=e.md.options.quotes[2],S=e.md.options.quotes[3]):(T=e.md.options.quotes[0],S=e.md.options.quotes[1]),a.content=u(a.content,f.index,S),t[m.token].content=u(t[m.token].content,m.pos,T),p+=S.length-1,m.token===n&&(p+=T.length-1),d=(l=a.content).length,A.length=w;continue t}k?A.push({token:n,pos:f.index,single:C,level:h}):x&&C&&(a.content=u(a.content,f.index,c))}else C&&(a.content=u(a.content,f.index,c))}}}}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&a.test(t.tokens[e].content)&&l(t.tokens[e].children,t)}},function(t,e,n){"use strict";var r=n(38);function o(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}o.prototype.Token=r,t.exports=o},function(t,e,n){"use strict";var r=n(37),o=[["table",n(123),["paragraph","reference"]],["code",n(124)],["fence",n(125),["paragraph","reference","blockquote","list"]],["blockquote",n(126),["paragraph","reference","blockquote","list"]],["hr",n(127),["paragraph","reference","blockquote","list"]],["list",n(128),["paragraph","reference","blockquote"]],["reference",n(129)],["heading",n(130),["paragraph","reference","blockquote"]],["lheading",n(131)],["html_block",n(132),["paragraph","reference","blockquote"]],["paragraph",n(134)]];function i(){this.ruler=new r;for(var t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1],{alt:(o[t][2]||[]).slice()})}i.prototype.tokenize=function(t,e,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=e,s=!1,c=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n))&&!(t.sCount[a]<t.blkIndent);){if(t.level>=c){t.line=n;break}for(r=0;r<i&&!o[r](t,a,n,!1);r++);t.tight=!s,t.isEmpty(t.line-1)&&(s=!0),(a=t.line)<n&&t.isEmpty(a)&&(s=!0,a++,t.line=a)}},i.prototype.parse=function(t,e,n,r){var o;t&&(o=new this.State(t,e,n,r),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=n(135),t.exports=i},function(t,e,n){"use strict";var r=n(1).isSpace;function o(t,e){var n=t.bMarks[e]+t.blkIndent,r=t.eMarks[e];return t.src.substr(n,r-n)}function i(t){var e,n=[],r=0,o=t.length,i=0,a=0,s=!1,c=0;for(e=t.charCodeAt(r);r<o;)96===e?s?(s=!1,c=r):i%2==0&&(s=!0,c=r):124!==e||i%2!=0||s||(n.push(t.substring(a,r)),a=r+1),92===e?i++:i=0,++r===o&&s&&(s=!1,r=c+1),e=t.charCodeAt(r);return n.push(t.substring(a)),n}t.exports=function(t,e,n,a){var s,c,u,l,f,p,d,h,m,g,v,b;if(e+2>n)return!1;if(f=e+1,t.sCount[f]<t.blkIndent)return!1;if(t.sCount[f]-t.blkIndent>=4)return!1;if((u=t.bMarks[f]+t.tShift[f])>=t.eMarks[f])return!1;if(124!==(s=t.src.charCodeAt(u++))&&45!==s&&58!==s)return!1;for(;u<t.eMarks[f];){if(124!==(s=t.src.charCodeAt(u))&&45!==s&&58!==s&&!r(s))return!1;u++}for(p=(c=o(t,e+1)).split("|"),m=[],l=0;l<p.length;l++){if(!(g=p[l].trim())){if(0===l||l===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(c=o(t,e).trim()).indexOf("|"))return!1;if(t.sCount[e]-t.blkIndent>=4)return!1;if((d=(p=i(c.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=t.push("table_open","table",1)).map=v=[e,0],(h=t.push("thead_open","thead",1)).map=[e,e+1],(h=t.push("tr_open","tr",1)).map=[e,e+1],l=0;l<p.length;l++)(h=t.push("th_open","th",1)).map=[e,e+1],m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=t.push("inline","",0)).content=p[l].trim(),h.map=[e,e+1],h.children=[],h=t.push("th_close","th",-1);for(h=t.push("tr_close","tr",-1),h=t.push("thead_close","thead",-1),(h=t.push("tbody_open","tbody",1)).map=b=[e+2,0],f=e+2;f<n&&!(t.sCount[f]<t.blkIndent)&&-1!==(c=o(t,f).trim()).indexOf("|")&&!(t.sCount[f]-t.blkIndent>=4);f++){for(p=i(c.replace(/^\||\|$/g,"")),h=t.push("tr_open","tr",1),l=0;l<d;l++)h=t.push("td_open","td",1),m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=t.push("inline","",0)).content=p[l]?p[l].trim():"",h.children=[],h=t.push("td_close","td",-1);h=t.push("tr_close","tr",-1)}return h=t.push("tbody_close","tbody",-1),h=t.push("table_close","table",-1),v[1]=b[1]=f,t.line=f,!0}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r,o,i;if(t.sCount[e]-t.blkIndent<4)return!1;for(o=r=e+1;r<n;)if(t.isEmpty(r))r++;else{if(!(t.sCount[r]-t.blkIndent>=4))break;o=++r}return t.line=o,(i=t.push("code_block","code",0)).content=t.getLines(e,o,4+t.blkIndent,!0),i.map=[e,t.line],!0}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){var o,i,a,s,c,u,l,f=!1,p=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(o=t.src.charCodeAt(p))&&96!==o)return!1;if(c=p,(i=(p=t.skipChars(p,o))-c)<3)return!1;if(l=t.src.slice(c,p),a=t.src.slice(p,d),96===o&&a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(s=e;!(++s>=n)&&!((p=c=t.bMarks[s]+t.tShift[s])<(d=t.eMarks[s])&&t.sCount[s]<t.blkIndent);)if(t.src.charCodeAt(p)===o&&!(t.sCount[s]-t.blkIndent>=4||(p=t.skipChars(p,o))-c<i||(p=t.skipSpaces(p))<d)){f=!0;break}return i=t.sCount[e],t.line=s+(f?1:0),(u=t.push("fence","code",0)).info=a,u.content=t.getLines(e+1,s,i,!0),u.markup=l,u.map=[e,t.line],!0}},function(t,e,n){"use strict";var r=n(1).isSpace;t.exports=function(t,e,n,o){var i,a,s,c,u,l,f,p,d,h,m,g,v,b,_,y,E,k,x,w,C=t.lineMax,A=t.bMarks[e]+t.tShift[e],T=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(A++))return!1;if(o)return!0;for(c=d=t.sCount[e]+A-(t.bMarks[e]+t.tShift[e]),32===t.src.charCodeAt(A)?(A++,c++,d++,i=!1,y=!0):9===t.src.charCodeAt(A)?(y=!0,(t.bsCount[e]+d)%4==3?(A++,c++,d++,i=!1):i=!0):y=!1,h=[t.bMarks[e]],t.bMarks[e]=A;A<T&&(a=t.src.charCodeAt(A),r(a));)9===a?d+=4-(d+t.bsCount[e]+(i?1:0))%4:d++,A++;for(m=[t.bsCount[e]],t.bsCount[e]=t.sCount[e]+1+(y?1:0),l=A>=T,b=[t.sCount[e]],t.sCount[e]=d-c,_=[t.tShift[e]],t.tShift[e]=A-t.bMarks[e],k=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",w=!1,p=e+1;p<n&&(t.sCount[p]<t.blkIndent&&(w=!0),!((A=t.bMarks[p]+t.tShift[p])>=(T=t.eMarks[p])));p++)if(62!==t.src.charCodeAt(A++)||w){if(l)break;for(E=!1,s=0,u=k.length;s<u;s++)if(k[s](t,p,n,!0)){E=!0;break}if(E){t.lineMax=p,0!==t.blkIndent&&(h.push(t.bMarks[p]),m.push(t.bsCount[p]),_.push(t.tShift[p]),b.push(t.sCount[p]),t.sCount[p]-=t.blkIndent);break}h.push(t.bMarks[p]),m.push(t.bsCount[p]),_.push(t.tShift[p]),b.push(t.sCount[p]),t.sCount[p]=-1}else{for(c=d=t.sCount[p]+A-(t.bMarks[p]+t.tShift[p]),32===t.src.charCodeAt(A)?(A++,c++,d++,i=!1,y=!0):9===t.src.charCodeAt(A)?(y=!0,(t.bsCount[p]+d)%4==3?(A++,c++,d++,i=!1):i=!0):y=!1,h.push(t.bMarks[p]),t.bMarks[p]=A;A<T&&(a=t.src.charCodeAt(A),r(a));)9===a?d+=4-(d+t.bsCount[p]+(i?1:0))%4:d++,A++;l=A>=T,m.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(y?1:0),b.push(t.sCount[p]),t.sCount[p]=d-c,_.push(t.tShift[p]),t.tShift[p]=A-t.bMarks[p]}for(g=t.blkIndent,t.blkIndent=0,(x=t.push("blockquote_open","blockquote",1)).markup=">",x.map=f=[e,0],t.md.block.tokenize(t,e,p),(x=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=C,t.parentType=v,f[1]=t.line,s=0;s<_.length;s++)t.bMarks[s+e]=h[s],t.tShift[s+e]=_[s],t.sCount[s+e]=b[s],t.bsCount[s+e]=m[s];return t.blkIndent=g,!0}},function(t,e,n){"use strict";var r=n(1).isSpace;t.exports=function(t,e,n,o){var i,a,s,c,u=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(42!==(i=t.src.charCodeAt(u++))&&45!==i&&95!==i)return!1;for(a=1;u<l;){if((s=t.src.charCodeAt(u++))!==i&&!r(s))return!1;s===i&&a++}return!(a<3)&&(!!o||(t.line=e+1,(c=t.push("hr","hr",0)).map=[e,t.line],c.markup=Array(a+1).join(String.fromCharCode(i)),!0))}},function(t,e,n){"use strict";var r=n(1).isSpace;function o(t,e){var n,o,i,a;return o=t.bMarks[e]+t.tShift[e],i=t.eMarks[e],42!==(n=t.src.charCodeAt(o++))&&45!==n&&43!==n?-1:o<i&&(a=t.src.charCodeAt(o),!r(a))?-1:o}function i(t,e){var n,o=t.bMarks[e]+t.tShift[e],i=o,a=t.eMarks[e];if(i+1>=a)return-1;if((n=t.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=t.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-o>=10)return-1}return i<a&&(n=t.src.charCodeAt(i),!r(n))?-1:i}t.exports=function(t,e,n,r){var a,s,c,u,l,f,p,d,h,m,g,v,b,_,y,E,k,x,w,C,A,T,S,R,O,N,L,I,D=!1,M=!0;if(t.sCount[e]-t.blkIndent>=4)return!1;if(t.listIndent>=0&&t.sCount[e]-t.listIndent>=4&&t.sCount[e]<t.blkIndent)return!1;if(r&&"paragraph"===t.parentType&&t.tShift[e]>=t.blkIndent&&(D=!0),(S=i(t,e))>=0){if(p=!0,O=t.bMarks[e]+t.tShift[e],b=Number(t.src.substr(O,S-O-1)),D&&1!==b)return!1}else{if(!((S=o(t,e))>=0))return!1;p=!1}if(D&&t.skipSpaces(S)>=t.eMarks[e])return!1;if(v=t.src.charCodeAt(S-1),r)return!0;for(g=t.tokens.length,p?(I=t.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=t.push("bullet_list_open","ul",1),I.map=m=[e,0],I.markup=String.fromCharCode(v),y=e,R=!1,L=t.md.block.ruler.getRules("list"),x=t.parentType,t.parentType="list";y<n;){for(T=S,_=t.eMarks[y],f=E=t.sCount[y]+S-(t.bMarks[e]+t.tShift[e]);T<_;){if(9===(a=t.src.charCodeAt(T)))E+=4-(E+t.bsCount[y])%4;else{if(32!==a)break;E++}T++}if((l=(s=T)>=_?1:E-f)>4&&(l=1),u=f+l,(I=t.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=d=[e,0],A=t.tight,C=t.tShift[e],w=t.sCount[e],k=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=u,t.tight=!0,t.tShift[e]=s-t.bMarks[e],t.sCount[e]=E,s>=_&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!R||(M=!1),R=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=k,t.tShift[e]=C,t.sCount[e]=w,t.tight=A,(I=t.push("list_item_close","li",-1)).markup=String.fromCharCode(v),y=e=t.line,d[1]=y,s=t.bMarks[e],y>=n)break;if(t.sCount[y]<t.blkIndent)break;if(t.sCount[e]-t.blkIndent>=4)break;for(N=!1,c=0,h=L.length;c<h;c++)if(L[c](t,y,n,!0)){N=!0;break}if(N)break;if(p){if((S=i(t,y))<0)break}else if((S=o(t,y))<0)break;if(v!==t.src.charCodeAt(S-1))break}return(I=p?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),m[1]=y,t.line=y,t.parentType=x,M&&function(t,e){var n,r,o=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===o&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}(t,g),!0}},function(t,e,n){"use strict";var r=n(1).normalizeReference,o=n(1).isSpace;t.exports=function(t,e,n,i){var a,s,c,u,l,f,p,d,h,m,g,v,b,_,y,E,k=0,x=t.bMarks[e]+t.tShift[e],w=t.eMarks[e],C=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(x))return!1;for(;++x<w;)if(93===t.src.charCodeAt(x)&&92!==t.src.charCodeAt(x-1)){if(x+1===w)return!1;if(58!==t.src.charCodeAt(x+1))return!1;break}for(u=t.lineMax,y=t.md.block.ruler.getRules("reference"),m=t.parentType,t.parentType="reference";C<u&&!t.isEmpty(C);C++)if(!(t.sCount[C]-t.blkIndent>3||t.sCount[C]<0)){for(_=!1,f=0,p=y.length;f<p;f++)if(y[f](t,C,u,!0)){_=!0;break}if(_)break}for(w=(b=t.getLines(e,C,t.blkIndent,!1).trim()).length,x=1;x<w;x++){if(91===(a=b.charCodeAt(x)))return!1;if(93===a){h=x;break}10===a?k++:92===a&&++x<w&&10===b.charCodeAt(x)&&k++}if(h<0||58!==b.charCodeAt(h+1))return!1;for(x=h+2;x<w;x++)if(10===(a=b.charCodeAt(x)))k++;else if(!o(a))break;if(!(g=t.md.helpers.parseLinkDestination(b,x,w)).ok)return!1;if(l=t.md.normalizeLink(g.str),!t.md.validateLink(l))return!1;for(s=x=g.pos,c=k+=g.lines,v=x;x<w;x++)if(10===(a=b.charCodeAt(x)))k++;else if(!o(a))break;for(g=t.md.helpers.parseLinkTitle(b,x,w),x<w&&v!==x&&g.ok?(E=g.str,x=g.pos,k+=g.lines):(E="",x=s,k=c);x<w&&(a=b.charCodeAt(x),o(a));)x++;if(x<w&&10!==b.charCodeAt(x)&&E)for(E="",x=s,k=c;x<w&&(a=b.charCodeAt(x),o(a));)x++;return!(x<w&&10!==b.charCodeAt(x))&&(!!(d=r(b.slice(1,h)))&&(!!i||(void 0===t.env.references&&(t.env.references={}),void 0===t.env.references[d]&&(t.env.references[d]={title:E,href:l}),t.parentType=m,t.line=e+k+1,!0)))}},function(t,e,n){"use strict";var r=n(1).isSpace;t.exports=function(t,e,n,o){var i,a,s,c,u=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(35!==(i=t.src.charCodeAt(u))||u>=l)return!1;for(a=1,i=t.src.charCodeAt(++u);35===i&&u<l&&a<=6;)a++,i=t.src.charCodeAt(++u);return!(a>6||u<l&&!r(i))&&(!!o||(l=t.skipSpacesBack(l,u),(s=t.skipCharsBack(l,35,u))>u&&r(t.src.charCodeAt(s-1))&&(l=s),t.line=e+1,(c=t.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),c.map=[e,t.line],(c=t.push("inline","",0)).content=t.src.slice(u,l).trim(),c.map=[e,t.line],c.children=[],(c=t.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r,o,i,a,s,c,u,l,f,p,d=e+1,h=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";d<n&&!t.isEmpty(d);d++)if(!(t.sCount[d]-t.blkIndent>3)){if(t.sCount[d]>=t.blkIndent&&(c=t.bMarks[d]+t.tShift[d])<(u=t.eMarks[d])&&(45===(f=t.src.charCodeAt(c))||61===f)&&(c=t.skipChars(c,f),(c=t.skipSpaces(c))>=u)){l=61===f?1:2;break}if(!(t.sCount[d]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](t,d,n,!0)){o=!0;break}if(o)break}}return!!l&&(r=t.getLines(e,d,t.blkIndent,!1).trim(),t.line=d+1,(s=t.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(f),s.map=[e,t.line],(s=t.push("inline","",0)).content=r,s.map=[e,t.line-1],s.children=[],(s=t.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(f),t.parentType=p,!0)}},function(t,e,n){"use strict";var r=n(133),o=n(60).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var o,a,s,c,u=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(u))return!1;for(c=t.src.slice(u,l),o=0;o<i.length&&!i[o][0].test(c);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=e+1,!i[o][1].test(c))for(;a<n&&!(t.sCount[a]<t.blkIndent);a++)if(u=t.bMarks[a]+t.tShift[a],l=t.eMarks[a],c=t.src.slice(u,l),i[o][1].test(c)){0!==c.length&&a++;break}return t.line=a,(s=t.push("html_block","",0)).map=[e,a],s.content=t.getLines(e,a,t.blkIndent,!0),!0}},function(t,e,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(t,e,n){"use strict";t.exports=function(t,e){var n,r,o,i,a,s,c=e+1,u=t.md.block.ruler.getRules("paragraph"),l=t.lineMax;for(s=t.parentType,t.parentType="paragraph";c<l&&!t.isEmpty(c);c++)if(!(t.sCount[c]-t.blkIndent>3||t.sCount[c]<0)){for(r=!1,o=0,i=u.length;o<i;o++)if(u[o](t,c,l,!0)){r=!0;break}if(r)break}return n=t.getLines(e,c,t.blkIndent,!1).trim(),t.line=c,(a=t.push("paragraph_open","p",1)).map=[e,t.line],(a=t.push("inline","",0)).content=n,a.map=[e,t.line],a.children=[],a=t.push("paragraph_close","p",-1),t.parentType=s,!0}},function(t,e,n){"use strict";var r=n(38),o=n(1).isSpace;function i(t,e,n,r){var i,a,s,c,u,l,f,p;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,s=c=l=f=0,u=(a=this.src).length;c<u;c++){if(i=a.charCodeAt(c),!p){if(o(i)){l++,9===i?f+=4-f%4:f++;continue}p=!0}10!==i&&c!==u-1||(10!==i&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(f),this.bsCount.push(0),p=!1,l=0,f=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(t,e,n){var o=new r(t,e,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},i.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;t<e&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},i.prototype.skipSpaces=function(t){for(var e,n=this.src.length;t<n&&(e=this.src.charCodeAt(t),o(e));t++);return t},i.prototype.skipSpacesBack=function(t,e){if(t<=e)return t;for(;t>e;)if(!o(this.src.charCodeAt(--t)))return t+1;return t},i.prototype.skipChars=function(t,e){for(var n=this.src.length;t<n&&this.src.charCodeAt(t)===e;t++);return t},i.prototype.skipCharsBack=function(t,e,n){if(t<=n)return t;for(;t>n;)if(e!==this.src.charCodeAt(--t))return t+1;return t},i.prototype.getLines=function(t,e,n,r){var i,a,s,c,u,l,f,p=t;if(t>=e)return"";for(l=new Array(e-t),i=0;p<e;p++,i++){for(a=0,f=c=this.bMarks[p],u=p+1<e||r?this.eMarks[p]+1:this.eMarks[p];c<u&&a<n;){if(s=this.src.charCodeAt(c),o(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(c-f<this.tShift[p]))break;a++}c++}l[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(c,u):this.src.slice(c,u)}return l.join("")},i.prototype.Token=r,t.exports=i},function(t,e,n){"use strict";var r=n(37),o=[["text",n(137)],["newline",n(138)],["escape",n(139)],["backticks",n(140)],["strikethrough",n(61).tokenize],["emphasis",n(62).tokenize],["link",n(141)],["image",n(142)],["autolink",n(143)],["html_inline",n(144)],["entity",n(145)]],i=[["balance_pairs",n(146)],["strikethrough",n(61).postProcess],["emphasis",n(62).postProcess],["text_collapse",n(147)]];function a(){var t;for(this.ruler=new r,t=0;t<o.length;t++)this.ruler.push(o[t][0],o[t][1]);for(this.ruler2=new r,t=0;t<i.length;t++)this.ruler2.push(i[t][0],i[t][1])}a.prototype.skipToken=function(t){var e,n,r=t.pos,o=this.ruler.getRules(""),i=o.length,a=t.md.options.maxNesting,s=t.cache;if(void 0===s[r]){if(t.level<a)for(n=0;n<i&&(t.level++,e=o[n](t,!0),t.level--,!e);n++);else t.pos=t.posMax;e||t.pos++,s[r]=t.pos}else t.pos=s[r]},a.prototype.tokenize=function(t){for(var e,n,r=this.ruler.getRules(""),o=r.length,i=t.posMax,a=t.md.options.maxNesting;t.pos<i;){if(t.level<a)for(n=0;n<o&&!(e=r[n](t,!1));n++);if(e){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,r){var o,i,a,s=new this.State(t,e,n,r);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=n(148),t.exports=a},function(t,e,n){"use strict";function r(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){for(var n=t.pos;n<t.posMax&&!r(t.src.charCodeAt(n));)n++;return n!==t.pos&&(e||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}},function(t,e,n){"use strict";var r=n(1).isSpace;t.exports=function(t,e){var n,o,i=t.pos;if(10!==t.src.charCodeAt(i))return!1;for(n=t.pending.length-1,o=t.posMax,e||(n>=0&&32===t.pending.charCodeAt(n)?n>=1&&32===t.pending.charCodeAt(n-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),i++;i<o&&r(t.src.charCodeAt(i));)i++;return t.pos=i,!0}},function(t,e,n){"use strict";for(var r=n(1).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){o[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,i=t.pos,a=t.posMax;if(92!==t.src.charCodeAt(i))return!1;if(++i<a){if((n=t.src.charCodeAt(i))<256&&0!==o[n])return e||(t.pending+=t.src[i]),t.pos+=2,!0;if(10===n){for(e||t.push("hardbreak","br",0),i++;i<a&&(n=t.src.charCodeAt(i),r(n));)i++;return t.pos=i,!0}}return e||(t.pending+="\\"),t.pos++,!0}},function(t,e,n){"use strict";t.exports=function(t,e){var n,r,o,i,a,s,c=t.pos;if(96!==t.src.charCodeAt(c))return!1;for(n=c,c++,r=t.posMax;c<r&&96===t.src.charCodeAt(c);)c++;for(o=t.src.slice(n,c),i=a=c;-1!==(i=t.src.indexOf("`",a));){for(a=i+1;a<r&&96===t.src.charCodeAt(a);)a++;if(a-i===o.length)return e||((s=t.push("code_inline","code",0)).markup=o,s.content=t.src.slice(c,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=a,!0}return e||(t.pending+=o),t.pos+=o.length,!0}},function(t,e,n){"use strict";var r=n(1).normalizeReference,o=n(1).isSpace;t.exports=function(t,e){var n,i,a,s,c,u,l,f,p,d="",h=t.pos,m=t.posMax,g=t.pos,v=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(c=t.pos+1,(s=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((u=s+1)<m&&40===t.src.charCodeAt(u)){for(v=!1,u++;u<m&&(i=t.src.charCodeAt(u),o(i)||10===i);u++);if(u>=m)return!1;for(g=u,(l=t.md.helpers.parseLinkDestination(t.src,u,t.posMax)).ok&&(d=t.md.normalizeLink(l.str),t.md.validateLink(d)?u=l.pos:d=""),g=u;u<m&&(i=t.src.charCodeAt(u),o(i)||10===i);u++);if(l=t.md.helpers.parseLinkTitle(t.src,u,t.posMax),u<m&&g!==u&&l.ok)for(p=l.str,u=l.pos;u<m&&(i=t.src.charCodeAt(u),o(i)||10===i);u++);else p="";(u>=m||41!==t.src.charCodeAt(u))&&(v=!0),u++}if(v){if(void 0===t.env.references)return!1;if(u<m&&91===t.src.charCodeAt(u)?(g=u+1,(u=t.md.helpers.parseLinkLabel(t,u))>=0?a=t.src.slice(g,u++):u=s+1):u=s+1,a||(a=t.src.slice(c,s)),!(f=t.env.references[r(a)]))return t.pos=h,!1;d=f.href,p=f.title}return e||(t.pos=c,t.posMax=s,t.push("link_open","a",1).attrs=n=[["href",d]],p&&n.push(["title",p]),t.md.inline.tokenize(t),t.push("link_close","a",-1)),t.pos=u,t.posMax=m,!0}},function(t,e,n){"use strict";var r=n(1).normalizeReference,o=n(1).isSpace;t.exports=function(t,e){var n,i,a,s,c,u,l,f,p,d,h,m,g,v="",b=t.pos,_=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(u=t.pos+2,(c=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=c+1)<_&&40===t.src.charCodeAt(l)){for(l++;l<_&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);if(l>=_)return!1;for(g=l,(p=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(v=t.md.normalizeLink(p.str),t.md.validateLink(v)?l=p.pos:v=""),g=l;l<_&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);if(p=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<_&&g!==l&&p.ok)for(d=p.str,l=p.pos;l<_&&(i=t.src.charCodeAt(l),o(i)||10===i);l++);else d="";if(l>=_||41!==t.src.charCodeAt(l))return t.pos=b,!1;l++}else{if(void 0===t.env.references)return!1;if(l<_&&91===t.src.charCodeAt(l)?(g=l+1,(l=t.md.helpers.parseLinkLabel(t,l))>=0?s=t.src.slice(g,l++):l=c+1):l=c+1,s||(s=t.src.slice(u,c)),!(f=t.env.references[r(s)]))return t.pos=b,!1;v=f.href,d=f.title}return e||(a=t.src.slice(u,c),t.md.inline.parse(a,t.md,t.env,m=[]),(h=t.push("image","img",0)).attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,d&&n.push(["title",d])),t.pos=l,t.posMax=_,!0}},function(t,e,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,e){var n,i,a,s,c,u,l=t.pos;return 60===t.src.charCodeAt(l)&&(!((n=t.src.slice(l)).indexOf(">")<0)&&(o.test(n)?(s=(i=n.match(o))[0].slice(1,-1),c=t.md.normalizeLink(s),!!t.md.validateLink(c)&&(e||((u=t.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=t.push("text","",0)).content=t.md.normalizeLinkText(s),(u=t.push("link_close","a",-1)).markup="autolink",u.info="auto"),t.pos+=i[0].length,!0)):!!r.test(n)&&(s=(a=n.match(r))[0].slice(1,-1),c=t.md.normalizeLink("mailto:"+s),!!t.md.validateLink(c)&&(e||((u=t.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=t.push("text","",0)).content=t.md.normalizeLinkText(s),(u=t.push("link_close","a",-1)).markup="autolink",u.info="auto"),t.pos+=a[0].length,!0))))}},function(t,e,n){"use strict";var r=n(60).HTML_TAG_RE;t.exports=function(t,e){var n,o,i,a=t.pos;return!!t.md.options.html&&(i=t.posMax,!(60!==t.src.charCodeAt(a)||a+2>=i)&&(!(33!==(n=t.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))&&(!!(o=t.src.slice(a).match(r))&&(e||(t.push("html_inline","",0).content=t.src.slice(a,a+o[0].length)),t.pos+=o[0].length,!0))))}},function(t,e,n){"use strict";var r=n(55),o=n(1).has,i=n(1).isValidEntityCode,a=n(1).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var n,u,l=t.pos,f=t.posMax;if(38!==t.src.charCodeAt(l))return!1;if(l+1<f)if(35===t.src.charCodeAt(l+1)){if(u=t.src.slice(l).match(s))return e||(n="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),t.pending+=i(n)?a(n):a(65533)),t.pos+=u[0].length,!0}else if((u=t.src.slice(l).match(c))&&o(r,u[1]))return e||(t.pending+=r[u[1]]),t.pos+=u[0].length,!0;return e||(t.pending+="&"),t.pos++,!0}},function(t,e,n){"use strict";t.exports=function(t){var e,n,r,o,i=t.delimiters,a=t.delimiters.length;for(e=0;e<a;e++)if((r=i[e]).close)for(n=e-r.jump-1;n>=0;){if((o=i[n]).open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var s=!1;if((o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0&&(o.length%3==0&&r.length%3==0||(s=!0)),!s){r.jump=e-n,r.open=!1,o.end=e,o.jump=0;break}}n-=o.jump+1}}},function(t,e,n){"use strict";t.exports=function(t){var e,n,r=0,o=t.tokens,i=t.tokens.length;for(e=n=0;e<i;e++)o[e].nesting<0&&r--,o[e].level=r,o[e].nesting>0&&r++,"text"===o[e].type&&e+1<i&&"text"===o[e+1].type?o[e+1].content=o[e].content+o[e+1].content:(e!==n&&(o[n]=o[e]),n++);e!==n&&(o.length=n)}},function(t,e,n){"use strict";var r=n(38),o=n(1).isWhiteSpace,i=n(1).isPunctChar,a=n(1).isMdAsciiPunct;function s(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},s.prototype.push=function(t,e,n){this.pending&&this.pushPending();var o=new r(t,e,n);return n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},s.prototype.scanDelims=function(t,e){var n,r,s,c,u,l,f,p,d,h=t,m=!0,g=!0,v=this.posMax,b=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;h<v&&this.src.charCodeAt(h)===b;)h++;return s=h-t,r=h<v?this.src.charCodeAt(h):32,f=a(n)||i(String.fromCharCode(n)),d=a(r)||i(String.fromCharCode(r)),l=o(n),(p=o(r))?m=!1:d&&(l||f||(m=!1)),l?g=!1:f&&(p||d||(g=!1)),e?(c=m,u=g):(c=m&&(!g||f),u=g&&(!m||d)),{can_open:c,can_close:u,length:s}},s.prototype.Token=r,t.exports=s},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){e&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&":"===t[e-3]?0:e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f(t){var e=t.re=n(150)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push(u),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var c=[];function l(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var r={validate:null,link:null};if(t.__compiled__[e]=r,"[object Object]"===o(n))return!function(t){return"[object RegExp]"===o(t)}(n.validate)?i(n.validate)?r.validate=n.validate:l(e,n):r.validate=function(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?l(e,n):r.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===o(t)}(n)?l(e,n):c.push(e)}}),c.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var f=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function p(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function d(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function h(t,e){if(!(this instanceof h))return new h(t,e);var n;e||(n=t,Object.keys(n||{}).reduce(function(t,e){return t||s.hasOwnProperty(e)},!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},f(this)}h.prototype.add=function(t,e){return this.__schemas__[t]=e,f(this),this},h.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},h.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,c;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(t){return this.re.pretest.test(t)},h.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},h.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(d(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),f(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,f(this),this)},h.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},h.prototype.onCompile=function(){},t.exports=h},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(57).source,e.src_Cc=n(58).source,e.src_Z=n(59).source,e.src_P=n(36).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(t,e,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(155),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(11))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},p.clearImmediate=d}function d(t){delete u[t]}function h(t){if(l)setTimeout(h,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{d(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(11),n(156))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}},function(t,e){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,e,n){"use strict";var r=n(164),o=n(65);t.exports=function(t){var e=r(t);e.token="";var n=e.user.split(":");return 2===n.length&&("x-oauth-basic"===n[1]?e.token=n[0]:"x-token-auth"===n[0]&&(e.token=n[1])),o(e.protocols)||o(t)?e.protocol="ssh":e.protocols.length?e.protocol=e.protocols[0]:e.protocol="file",e.href=e.href.replace(/\/$/,""),e}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(165),i=n(168);t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof t||!t.trim())throw new Error("Invalid url.");return e&&("object"!==(void 0===e?"undefined":r(e))&&(e={stripFragment:!1}),t=i(t,e)),o(t)}},function(t,e,n){"use strict";var r=n(64),o=n(65),i=n(66);t.exports=function(t){t=(t||"").trim();var e={protocols:r(t),protocol:null,port:null,resource:"",user:"",pathname:"",hash:"",search:"",href:t,query:Object.create(null)},n=t.indexOf("://"),a=null,s=null;t.startsWith(".")&&(t.startsWith("./")&&(t=t.substring(2)),e.pathname=t,e.protocol="file");var c=t.charAt(1);return e.protocol||(e.protocol=e.protocols[0],e.protocol||(o(t)?e.protocol="ssh":"/"===c||"~"===c?(t=t.substring(2),e.protocol="file"):e.protocol="file")),-1!==n&&(t=t.substring(n+3)),s=t.split("/"),"file"!==e.protocol?e.resource=s.shift():e.resource="",2===(a=e.resource.split("@")).length&&(e.user=a[0],e.resource=a[1]),2===(a=e.resource.split(":")).length&&(e.resource=a[0],a[1]?(e.port=Number(a[1]),isNaN(e.port)&&(e.port=null,s.unshift(a[1]))):e.port=null),s=s.filter(Boolean),"file"===e.protocol?e.pathname=e.href:e.pathname=e.pathname||("file"!==e.protocol||"/"===e.href[0]?"/":"")+s.join("/"),2===(a=e.pathname.split("#")).length&&(e.pathname=a[0],e.hash=a[1]),2===(a=e.pathname.split("?")).length&&(e.pathname=a[0],e.search=a[1]),e.query=i.parse(e.search),e.href=e.href.replace(/\/$/,""),e.pathname=e.pathname.replace(/\/$/,""),e}},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,i){e=e||"&",n=n||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,p,d,h,m=t[l].replace(s,"%20"),g=m.indexOf(n);g>=0?(f=m.substr(0,g),p=m.substr(g+1)):(f=m,p=""),d=decodeURIComponent(f),h=decodeURIComponent(p),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,s){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?i(a(t),function(a){var s=encodeURIComponent(r(a))+n;return o(t[a])?i(t[a],function(t){return s+encodeURIComponent(r(t))}).join(e):s+encodeURIComponent(r(t[a]))}).join(e):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var a=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},function(t,e,n){"use strict";const r="undefined"==typeof URL?n(169).URL:URL,o=(t,e)=>e.some(e=>e instanceof RegExp?e.test(t):e===t);t.exports=(t,e)=>{e=Object.assign({defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripHash:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0},e),Reflect.has(e,"normalizeHttps")&&(e.forceHttp=e.normalizeHttps),Reflect.has(e,"normalizeHttp")&&(e.forceHttps=e.normalizeHttp),Reflect.has(e,"stripFragment")&&(e.stripHash=e.stripFragment);const n=(t=t.trim()).startsWith("//");!n&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));const i=new r(t);if(e.forceHttp&&e.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===i.protocol&&(i.protocol="http:"),e.forceHttps&&"http:"===i.protocol&&(i.protocol="https:"),e.stripHash&&(i.hash=""),i.pathname&&(i.pathname=i.pathname.replace(/((?![https?:]).)\/{2,}/g,(t,e)=>/^(?!\/)/g.test(e)?`${e}/`:"/")),i.pathname&&(i.pathname=decodeURI(i.pathname)),!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=i.pathname.split("/");const n=t[t.length-1];o(n,e.removeDirectoryIndex)&&(t=t.slice(0,t.length-1),i.pathname=t.slice(1).join("/")+"/")}if(i.hostname&&(i.hostname=i.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.([a-z\-\d]{2,63})\.([a-z\.]{2,5})$/.test(i.hostname)&&(i.hostname=i.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(const t of[...i.searchParams.keys()])o(t,e.removeQueryParameters)&&i.searchParams.delete(t);return e.sortQueryParameters&&i.searchParams.sort(),t=i.toString(),(e.removeTrailingSlash||"/"===i.pathname)&&(t=t.replace(/\/$/,"")),n&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),t}},function(t,e,n){"use strict";var r=n(63),o=n(170);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=_,e.resolve=function(t,e){return _(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?_(t,!1,!0).resolveObject(e):e},e.format=function(t){o.isString(t)&&(t=_(t));return t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(66);function _(t,e,n){if(t&&o.isObject(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i<t.indexOf("#")?"?":"#",u=t.split(s);u[0]=u[0].replace(/\\/g,"/");var _=t=u.join(s);if(_=_.trim(),!n&&1===t.split("#").length){var y=c.exec(_);if(y)return this.path=_,this.href=_,this.pathname=y[1],y[2]?(this.search=y[2],this.query=e?b.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var E=a.exec(_);if(E){var k=(E=E[0]).toLowerCase();this.protocol=k,_=_.substr(E.length)}if(n||E||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===_.substr(0,2);!x||E&&g[E]||(_=_.substr(2),this.slashes=!0)}if(!g[E]&&(x||E&&!v[E])){for(var w,C,A=-1,T=0;T<p.length;T++){-1!==(S=_.indexOf(p[T]))&&(-1===A||S<A)&&(A=S)}-1!==(C=-1===A?_.lastIndexOf("@"):_.lastIndexOf("@",A))&&(w=_.slice(0,C),_=_.slice(C+1),this.auth=decodeURIComponent(w)),A=-1;for(T=0;T<f.length;T++){var S;-1!==(S=_.indexOf(f[T]))&&(-1===A||S<A)&&(A=S)}-1===A&&(A=_.length),this.host=_.slice(0,A),_=_.slice(A),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var O=this.hostname.split(/\./),N=(T=0,O.length);T<N;T++){var L=O[T];if(L&&!L.match(d)){for(var I="",D=0,M=L.length;D<M;D++)L.charCodeAt(D)>127?I+="x":I+=L[D];if(!I.match(d)){var P=O.slice(0,T),j=O.slice(T+1),U=L.match(h);U&&(P.push(U[1]),j.unshift(U[2])),j.length&&(_="/"+j.join(".")+_),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+F,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!m[k])for(T=0,N=l.length;T<N;T++){var B=l[T];if(-1!==_.indexOf(B)){var z=encodeURIComponent(B);z===B&&(z=escape(B)),_=_.split(B).join(z)}}var q=_.indexOf("#");-1!==q&&(this.hash=_.substr(q),_=_.slice(0,q));var H=_.indexOf("?");if(-1!==H?(this.search=_.substr(H),this.query=_.substr(H+1),e&&(this.query=b.parse(this.query)),_=_.slice(0,H)):e&&(this.search="",this.query={}),_&&(this.pathname=_),v[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var G=this.search||"";this.path=F+G}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||v[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),e+i+(n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(t){return this.resolveObject(_(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if(o.isString(t)){var e=new i;e.parse(t,!1,!0),t=e}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(n[l]=t[l])}return v[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!v[t.protocol]){for(var f=Object.keys(t),p=0;p<f.length;p++){var d=f[p];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||g[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var m=n.pathname||"",b=n.search||"";n.path=m+b}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var _=n.pathname&&"/"===n.pathname.charAt(0),y=t.host||t.pathname&&"/"===t.pathname.charAt(0),E=y||_||n.host&&t.pathname,k=E,x=n.pathname&&n.pathname.split("/")||[],w=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!v[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),E=E&&(""===h[0]||""===x[0])),y)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,x=h;else if(h.length)x||(x=[]),x.pop(),x=x.concat(h),n.search=t.search,n.query=t.query;else if(!o.isNullOrUndefined(t.search)){if(w)n.hostname=n.host=x.shift(),(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift());return n.search=t.search,n.query=t.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=x.slice(-1)[0],A=(n.host||t.host||x.length>1)&&("."===C||".."===C)||""===C,T=0,S=x.length;S>=0;S--)"."===(C=x[S])?x.splice(S,1):".."===C?(x.splice(S,1),T++):T&&(x.splice(S,1),T--);if(!E&&!k)for(;T--;T)x.unshift("..");!E||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var R,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);w&&(n.hostname=n.host=O?"":x.length?x.shift():"",(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift()));return(E=E||n.host&&x.length)&&!O&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){var r=n(67),o=n(68),i=n(69),a=n(16);t.exports=function(t){return function(e){e=a(e);var n=o(e)?i(e):void 0,s=n?n[0]:e.charAt(0),c=n?r(n,1).join(""):e.slice(1);return s[t]()+c}}},function(t,e){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+u,"g");t.exports=function(t){return t.match(f)||[]}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},function(t,e,n){var r=n(22),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var r={"./DumpEvent.vue":291,"./GlowEvent.vue":288,"./LogEvent.vue":290,"./QueryEvent.vue":289};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=178},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(24)),o=i(n(25));function i(t){return t&&t.__esModule?t:{default:t}}var a=["ABS","ACTIVATE","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","ANY","ARE","ARRAY","AS","ASC","ASENSITIVE","ASSOCIATE","ASUTIME","ASYMMETRIC","AT","ATOMIC","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","AVG","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CCSID","CEIL","CEILING","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOB","CLONE","CLOSE","CLUSTER","COALESCE","COLLATE","COLLECT","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","CONVERT","CORR","CORRESPONDING","COUNT","COUNT_BIG","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DATE","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DEREF","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DOUBLE","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELEMENT","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPTION","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXIT","EXP","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FILTER","FINAL","FIRST","FLOAT","FLOOR","FOR","FOREIGN","FREE","FULL","FUNCTION","FUSION","GENERAL","GENERATED","GET","GLOBAL","GOTO","GRANT","GRAPHIC","GROUP","GROUPING","HANDLER","HASH","HASHED_VALUE","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTEGRITY","INTERSECTION","INTERVAL","INTO","IS","ISOBID","ISOLATION","ITERATE","JAR","JAVA","KEEP","KEY","LABEL","LANGUAGE","LARGE","LATERAL","LC_CTYPE","LEADING","LEAVE","LEFT","LIKE","LINKTYPE","LN","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","LOWER","MAINTAINED","MATCH","MATERIALIZED","MAX","MAXVALUE","MEMBER","MERGE","METHOD","MICROSECOND","MICROSECONDS","MIN","MINUTE","MINUTES","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MONTHS","MULTISET","NAN","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZE","NORMALIZED","NOT","NULL","NULLIF","NULLS","NUMERIC","NUMPARTS","OBID","OCTET_LENGTH","OF","OFFSET","OLD","OLD_TABLE","ON","ONLY","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","ORDER","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PIECESIZE","PLAN","POSITION","POWER","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","REAL","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCOPE","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SIGNAL","SIMILAR","SIMPLE","SMALLINT","SNAN","SOME","SOURCE","SPECIFIC","SPECIFICTYPE","SQL","SQLEXCEPTION","SQLID","SQLSTATE","SQLWARNING","SQRT","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STDDEV_POP","STDDEV_SAMP","STOGROUP","STORES","STYLE","SUBMULTISET","SUBSTRING","SUM","SUMMARY","SYMMETRIC","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","TABLESPACE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TYPE","UESCAPE","UNDO","UNIQUE","UNKNOWN","UNNEST","UNTIL","UPPER","USAGE","USER","USING","VALIDPROC","VALUE","VARCHAR","VARIABLE","VARIANT","VARYING","VAR_POP","VAR_SAMP","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHILE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],s=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INTERSECT","LIMIT","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UPDATE","VALUES","WHERE"],c=["AND","CROSS JOIN","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN"],u=void 0,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cfg=e}return t.prototype.format=function(t){return u||(u=new o.default({reservedWords:a,reservedToplevelWords:s,reservedNewlineWords:c,stringTypes:['""',"''","``","[]"],openParens:["("],closeParens:[")"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["#","@"]})),new r.default(this.cfg,u).format(t)},t}();e.default=l,t.exports=e.default},function(t,e,n){var r=n(70),o=n(67),i=n(181),a=n(69),s=n(16),c=/\s+$/;t.exports=function(t,e,n){if((t=s(t))&&(n||void 0===e))return t.replace(c,"");if(!t||!(e=r(e)))return t;var u=a(t),l=i(u,a(e))+1;return o(u,0,l).join("")}},function(t,e,n){var r=n(72);t.exports=function(t,e){for(var n=t.length;n--&&r(e,t[n],0)>-1;);return n}},function(t,e){t.exports=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(186)),o=i(n(192));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.indent=e||" ",this.indentTypes=[]}return t.prototype.getIndent=function(){return(0,r.default)(this.indent,this.indentTypes.length)},t.prototype.increaseToplevel=function(){this.indentTypes.push("top-level")},t.prototype.increaseBlockLevel=function(){this.indentTypes.push("block-level")},t.prototype.decreaseTopLevel=function(){"top-level"===(0,o.default)(this.indentTypes)&&this.indentTypes.pop()},t.prototype.decreaseBlockLevel=function(){for(;this.indentTypes.length>0;){if("top-level"!==this.indentTypes.pop())break}},t}();e.default=a,t.exports=e.default},function(t,e,n){var r=n(187),o=n(188),i=n(189),a=n(16);t.exports=function(t,e,n){return e=(n?o(t,e,n):void 0===e)?1:i(e),r(a(t),e)}},function(t,e){var n=9007199254740991,r=Math.floor;t.exports=function(t,e){var o="";if(!t||e<1||e>n)return o;do{e%2&&(o+=t),(e=r(e/2))&&(t+=t)}while(e);return o}},function(t,e,n){var r=n(40),o=n(41),i=n(43),a=n(19);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){var r=n(190);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},function(t,e,n){var r=n(191),o=1/0,i=17976931348623157e292;t.exports=function(t){return t?(t=r(t))===o||t===-o?(t<0?-1:1)*i:t==t?t:0:0===t?t:0}},function(t,e,n){var r=n(19),o=n(23),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return i;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?i:+t}},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(39),i=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.level=0}return t.prototype.beginIfPossible=function(t,e){0===this.level&&this.isInlineBlock(t,e)?this.level=1:this.level>0?this.level++:this.level=0},t.prototype.end=function(){this.level--},t.prototype.isActive=function(){return this.level>0},t.prototype.isInlineBlock=function(t,e){for(var n=0,r=0,o=e;o<t.length;o++){var a=t[o];if((n+=a.value.length)>50)return!1;if(a.type===i.default.OPEN_PAREN)r++;else if(a.type===i.default.CLOSE_PAREN&&0===--r)return!0;if(this.isForbiddenToken(a))return!1}return!1},t.prototype.isForbiddenToken=function(t){var e=t.type,n=t.value;return e===i.default.RESERVED_TOPLEVEL||e===i.default.RESERVED_NEWLINE||e===i.default.COMMENT||e===i.default.BLOCK_COMMENT||";"===n},t}();e.default=a,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.params=e,this.index=0}return t.prototype.get=function(t){var e=t.key,n=t.value;return this.params?e?this.params[e]:this.params[this.index++]:n},t}();e.default=r,t.exports=e.default},function(t,e,n){var r=n(74),o=n(76),i=n(45),a=n(9),s=n(41),c=n(46),u=n(75),l=n(47),f="[object Map]",p="[object Set]",d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||i(t)))return!t.length;var e=o(t);if(e==f||e==p)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},function(t,e,n){var r=n(197)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var r=n(12)(n(8),"DataView");t.exports=r},function(t,e,n){var r=n(73),o=n(200),i=n(19),a=n(77),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:s).test(a(t))}},function(t,e,n){var r,o=n(201),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},function(t,e,n){var r=n(8)["__core-js_shared__"];t.exports=r},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(12)(n(8),"Promise");t.exports=r},function(t,e,n){var r=n(12)(n(8),"WeakMap");t.exports=r},function(t,e,n){var r=n(17),o=n(18),i="[object Arguments]";t.exports=function(t){return o(t)&&r(t)==i}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(17),o=n(42),i=n(18),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var r=n(71),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n(21)(t))},function(t,e,n){var r=n(16),o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source);t.exports=function(t){return(t=r(t))&&i.test(t)?t.replace(o,"\\$&"):t}},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(24)),o=i(n(25));function i(t){return t&&t.__esModule?t:{default:t}}var a=["ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","CONNECT","CONTINUE","CORRELATE","COVER","CREATE","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FIRST","FLATTEN","FOR","FORCE","FROM","FUNCTION","GRANT","GROUP","GSI","HAVING","IF","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LAST","LEFT","LET","LETTING","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NOT","NULL","NUMBER","OBJECT","OFFSET","ON","OPTION","OR","ORDER","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROCEDURE","PUBLIC","RAW","REALM","REDUCE","RENAME","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","SATISFIES","SCHEMA","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TO","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WITH","WITHIN","WORK","XOR"],s=["DELETE FROM","EXCEPT ALL","EXCEPT","EXPLAIN DELETE FROM","EXPLAIN UPDATE","EXPLAIN UPSERT","FROM","GROUP BY","HAVING","INFER","INSERT INTO","INTERSECT ALL","INTERSECT","LET","LIMIT","MERGE","NEST","ORDER BY","PREPARE","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UNNEST","UPDATE","UPSERT","USE KEYS","VALUES","WHERE"],c=["AND","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","XOR"],u=void 0,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cfg=e}return t.prototype.format=function(t){return u||(u=new o.default({reservedWords:a,reservedToplevelWords:s,reservedNewlineWords:c,stringTypes:['""',"''","``"],openParens:["(","[","{"],closeParens:[")","]","}"],namedPlaceholderTypes:["$"],lineCommentTypes:["#","--"]})),new r.default(this.cfg,u).format(t)},t}();e.default=l,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(24)),o=i(n(25));function i(t){return t&&t.__esModule?t:{default:t}}var a=["A","ACCESSIBLE","AGENT","AGGREGATE","ALL","ALTER","ANY","ARRAY","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BETWEEN","BFILE_BASE","BINARY_INTEGER","BINARY","BLOB_BASE","BLOCK","BODY","BOOLEAN","BOTH","BOUND","BULK","BY","BYTE","C","CALL","CALLING","CASCADE","CASE","CHAR_BASE","CHAR","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLONE","CLOSE","CLUSTER","CLUSTERS","COALESCE","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONTINUE","CONVERT","COUNT","CRASH","CREATE","CREDENTIAL","CURRENT","CURRVAL","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE_BASE","DATE","DAY","DECIMAL","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DIRECTORY","DISTINCT","DO","DOUBLE","DROP","DURATION","ELEMENT","ELSIF","EMPTY","ESCAPE","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTENDS","EXTERNAL","EXTRACT","FALSE","FETCH","FINAL","FIRST","FIXED","FLOAT","FOR","FORALL","FORCE","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSTANTIABLE","INT","INTEGER","INTERFACE","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMITED","LOCAL","LOCK","LONG","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MLSLABEL","MOD","MODE","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NATURAL","NATURALN","NCHAR","NEW","NEXTVAL","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NULLIF","NUMBER_BASE","NUMBER","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","OLD","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","ORACLE","ORADATA","ORDER","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERLAPS","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARENT","PARTITION","PASCAL","PCTFREE","PIPE","PIPELINED","PLS_INTEGER","PLUGGABLE","POSITIVE","POSITIVEN","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","REAL","RECORD","REF","REFERENCE","RELEASE","RELIES_ON","REM","REMAINDER","RENAME","RESOURCE","RESULT_CACHE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","ROWID","ROWNUM","ROWTYPE","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SHARE","SHORT","SIZE_T","SIZE","SMALLINT","SOME","SPACE","SPARSE","SQL","SQLCODE","SQLDATA","SQLERRM","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUCCESSFUL","SUM","SYNONYM","SYSDATE","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSACTION","TRANSACTIONAL","TRIGGER","TRUE","TRUSTED","TYPE","UB1","UB2","UB4","UID","UNDER","UNIQUE","UNPLUG","UNSIGNED","UNTRUSTED","USE","USER","USING","VALIDATE","VALIST","VALUE","VARCHAR","VARCHAR2","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHENEVER","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],s=["ADD","ALTER COLUMN","ALTER TABLE","BEGIN","CONNECT BY","DECLARE","DELETE FROM","DELETE","END","EXCEPT","EXCEPTION","FETCH FIRST","FROM","GROUP BY","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","LOOP","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","START WITH","UNION ALL","UNION","UPDATE","VALUES","WHERE"],c=["AND","CROSS APPLY","CROSS JOIN","ELSE","END","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],u=void 0,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cfg=e}return t.prototype.format=function(t){return u||(u=new o.default({reservedWords:a,reservedToplevelWords:s,reservedNewlineWords:c,stringTypes:['""',"N''","''","``"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:[":"],lineCommentTypes:["--"],specialWordChars:["_","$","#",".","@"]})),new r.default(this.cfg,u).format(t)},t}();e.default=l,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(24)),o=i(n(25));function i(t){return t&&t.__esModule?t:{default:t}}var a=["ACCESSIBLE","ACTION","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ANALYSE","ANALYZE","AS","ASC","AUTOCOMMIT","AUTO_INCREMENT","BACKUP","BEGIN","BETWEEN","BINLOG","BOTH","CASCADE","CASE","CHANGE","CHANGED","CHARACTER SET","CHARSET","CHECK","CHECKSUM","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPRESSED","CONCURRENT","CONSTRAINT","CONTAINS","CONVERT","CREATE","CROSS","CURRENT_TIMESTAMP","DATABASE","DATABASES","DAY","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DEFAULT","DEFINER","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO","DROP","DUMPFILE","DUPLICATE","DYNAMIC","ELSE","ENCLOSED","END","ENGINE","ENGINES","ENGINE_TYPE","ESCAPE","ESCAPED","EVENTS","EXEC","EXECUTE","EXISTS","EXPLAIN","EXTENDED","FAST","FETCH","FIELDS","FILE","FIRST","FIXED","FLUSH","FOR","FORCE","FOREIGN","FULL","FULLTEXT","FUNCTION","GLOBAL","GRANT","GRANTS","GROUP_CONCAT","HEAP","HIGH_PRIORITY","HOSTS","HOUR","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IFNULL","IGNORE","IN","INDEX","INDEXES","INFILE","INSERT","INSERT_ID","INSERT_METHOD","INTERVAL","INTO","INVOKER","IS","ISOLATION","KEY","KEYS","KILL","LAST_INSERT_ID","LEADING","LEVEL","LIKE","LINEAR","LINES","LOAD","LOCAL","LOCK","LOCKS","LOGS","LOW_PRIORITY","MARIA","MASTER","MASTER_CONNECT_RETRY","MASTER_HOST","MASTER_LOG_FILE","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MERGE","MINUTE","MINUTE_SECOND","MIN_ROWS","MODE","MODIFY","MONTH","MRG_MYISAM","MYISAM","NAMES","NATURAL","NOT","NOW()","NULL","OFFSET","ON DELETE","ON UPDATE","ON","ONLY","OPEN","OPTIMIZE","OPTION","OPTIONALLY","OUTFILE","PACK_KEYS","PAGE","PARTIAL","PARTITION","PARTITIONS","PASSWORD","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PURGE","QUICK","RAID0","RAID_CHUNKS","RAID_CHUNKSIZE","RAID_TYPE","RANGE","READ","READ_ONLY","READ_WRITE","REFERENCES","REGEXP","RELOAD","RENAME","REPAIR","REPEATABLE","REPLACE","REPLICATION","RESET","RESTORE","RESTRICT","RETURN","RETURNS","REVOKE","RLIKE","ROLLBACK","ROW","ROWS","ROW_FORMAT","SECOND","SECURITY","SEPARATOR","SERIALIZABLE","SESSION","SHARE","SHOW","SHUTDOWN","SLAVE","SONAME","SOUNDS","SQL","SQL_AUTO_IS_NULL","SQL_BIG_RESULT","SQL_BIG_SELECTS","SQL_BIG_TABLES","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_LOG_BIN","SQL_LOG_OFF","SQL_LOG_UPDATE","SQL_LOW_PRIORITY_UPDATES","SQL_MAX_JOIN_SIZE","SQL_NO_CACHE","SQL_QUOTE_SHOW_CREATE","SQL_SAFE_UPDATES","SQL_SELECT_LIMIT","SQL_SLAVE_SKIP_COUNTER","SQL_SMALL_RESULT","SQL_WARNINGS","START","STARTING","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","STRIPED","SUPER","TABLE","TABLES","TEMPORARY","TERMINATED","THEN","TO","TRAILING","TRANSACTIONAL","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNIQUE","UNLOCK","UNSIGNED","USAGE","USE","USING","VARIABLES","VIEW","WHEN","WITH","WORK","WRITE","YEAR_MONTH"],s=["ADD","AFTER","ALTER COLUMN","ALTER TABLE","DELETE FROM","EXCEPT","FETCH FIRST","FROM","GROUP BY","GO","HAVING","INSERT INTO","INSERT","INTERSECT","LIMIT","MODIFY","ORDER BY","SELECT","SET CURRENT SCHEMA","SET SCHEMA","SET","UNION ALL","UNION","UPDATE","VALUES","WHERE"],c=["AND","CROSS APPLY","CROSS JOIN","ELSE","INNER JOIN","JOIN","LEFT JOIN","LEFT OUTER JOIN","OR","OUTER APPLY","OUTER JOIN","RIGHT JOIN","RIGHT OUTER JOIN","WHEN","XOR"],u=void 0,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cfg=e}return t.prototype.format=function(t){return u||(u=new o.default({reservedWords:a,reservedToplevelWords:s,reservedNewlineWords:c,stringTypes:['""',"N''","''","``","[]"],openParens:["(","CASE"],closeParens:[")","END"],indexedPlaceholderTypes:["?"],namedPlaceholderTypes:["@",":"],lineCommentTypes:["#","--"]})),new r.default(this.cfg,u).format(t)},t}();e.default=l,t.exports=e.default},function(t,e){t.exports=function(t){var e={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},n={className:"meta",begin:/<\?(php)?|\?>/},r={className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},o={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[t.HASH_COMMENT_MODE,t.COMMENT("//","$",{contains:[n]}),t.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:t.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[t.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,{className:"keyword",begin:/\$this\b/},e,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",e,t.C_BLOCK_COMMENT_MODE,r,o]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"=>"},r,o]}}},function(t,e,n){var r=n(79),o=n(235),i=n(236),a=n(80),s=n(237),c=n(49),u=200;t.exports=function(t,e,n){var l=-1,f=o,p=t.length,d=!0,h=[],m=h;if(n)d=!1,f=i;else if(p>=u){var g=e?null:s(t);if(g)return c(g);d=!1,f=a,m=new r}else m=e?[]:h;t:for(;++l<p;){var v=t[l],b=e?e(v):v;if(v=n||0!==v?v:0,d&&b==b){for(var _=m.length;_--;)if(m[_]===b)continue t;e&&m.push(b),h.push(v)}else f(m,b,n)||(m!==h&&m.push(b),h.push(v))}return h}},function(t,e,n){var r=n(217),o=n(27),i=n(44);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(t,e,n){var r=n(218),o=n(219),i=n(220),a=n(221),s=n(222);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(26);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(26),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(26),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},function(t,e,n){var r=n(26),o="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?o:e,this}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(28),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},function(t,e,n){var r=n(28);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(28);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(28);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},function(t,e,n){var r=n(29);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(29);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(29);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(29);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},function(t,e){var n="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,n),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(72);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},function(t,e){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},function(t,e,n){var r=n(78),o=n(238),i=n(49),a=r&&1/i(new r([,-0]))[1]==1/0?function(t){return new r(t)}:o;t.exports=a},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}},function(t,e,n){var r=n(241),o=n(50);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(242)();t.exports=r},function(t,e){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}},function(t,e,n){var r=n(244),o=n(45),i=n(9),a=n(46),s=n(43),c=n(47),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),l=!n&&o(t),f=!n&&!l&&a(t),p=!n&&!l&&!f&&c(t),d=n||l||f||p,h=d?r(t.length,String):[],m=h.length;for(var g in t)!e&&!u.call(t,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(246),o=n(266),i=n(274),a=n(9),s=n(275);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},function(t,e,n){var r=n(247),o=n(265),i=n(85);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},function(t,e,n){var r=n(81),o=n(82),i=1,a=2;t.exports=function(t,e,n,s){var c=n.length,u=c,l=!s;if(null==t)return!u;for(t=Object(t);c--;){var f=n[c];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++c<u;){var p=(f=n[c])[0],d=t[p],h=f[1];if(l&&f[2]){if(void 0===d&&!(p in t))return!1}else{var m=new r;if(s)var g=s(d,h,p,t,e,m);if(!(void 0===g?o(h,d,i|a,s,m):g))return!1}}return!0}},function(t,e,n){var r=n(27);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(27),o=n(44),i=n(48),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(81),o=n(83),i=n(255),a=n(258),s=n(76),c=n(9),u=n(46),l=n(47),f=1,p="[object Arguments]",d="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,v,b){var _=c(t),y=c(e),E=_?d:s(t),k=y?d:s(e),x=(E=E==p?h:E)==h,w=(k=k==p?h:k)==h,C=E==k;if(C&&u(t)){if(!u(e))return!1;_=!0,x=!1}if(C&&!x)return b||(b=new r),_||l(t)?o(t,e,n,g,v,b):i(t,e,E,n,g,v,b);if(!(n&f)){var A=x&&m.call(t,"__wrapped__"),T=w&&m.call(e,"__wrapped__");if(A||T){var S=A?t.value():t,R=T?e.value():e;return b||(b=new r),v(S,R,n,g,b)}}return!!C&&(b||(b=new r),a(t,e,n,g,v,b))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},function(t,e,n){var r=n(22),o=n(256),i=n(40),a=n(83),s=n(257),c=n(49),u=1,l=2,f="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",b="[object String]",_="[object Symbol]",y="[object ArrayBuffer]",E="[object DataView]",k=r?r.prototype:void 0,x=k?k.valueOf:void 0;t.exports=function(t,e,n,r,k,w,C){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y:return!(t.byteLength!=e.byteLength||!w(new o(t),new o(e)));case f:case p:case m:return i(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case b:return t==e+"";case h:var A=s;case v:var T=r&u;if(A||(A=c),t.size!=e.size&&!T)return!1;var S=C.get(t);if(S)return S==e;r|=l,C.set(t,e);var R=a(A(t),A(e),r,k,w,C);return C.delete(t),R;case _:if(x)return x.call(t)==x.call(e)}return!1}},function(t,e,n){var r=n(8).Uint8Array;t.exports=r},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},function(t,e,n){var r=n(259),o=1,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,s,c){var u=n&o,l=r(t),f=l.length;if(f!=r(e).length&&!u)return!1;for(var p=f;p--;){var d=l[p];if(!(u?d in e:i.call(e,d)))return!1}var h=c.get(t);if(h&&c.get(e))return h==e;var m=!0;c.set(t,e),c.set(e,t);for(var g=u;++p<f;){var v=t[d=l[p]],b=e[d];if(a)var _=u?a(b,v,d,e,t,c):a(v,b,d,t,e,c);if(!(void 0===_?v===b||s(v,b,n,a,c):_)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var y=t.constructor,E=e.constructor;y!=E&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof E&&E instanceof E)&&(m=!1)}return c.delete(t),c.delete(e),m}},function(t,e,n){var r=n(260),o=n(262),i=n(50);t.exports=function(t){return r(t,i,o)}},function(t,e,n){var r=n(261),o=n(9);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},function(t,e,n){var r=n(263),o=n(264),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return i.call(t,e)}))}:o;t.exports=s},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(84),o=n(50);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},function(t,e,n){var r=n(82),o=n(267),i=n(271),a=n(51),s=n(84),c=n(85),u=n(30),l=1,f=2;t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,l|f)}}},function(t,e,n){var r=n(86);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},function(t,e,n){var r=n(269),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=a},function(t,e,n){var r=n(270),o=500;t.exports=function(t){var e=r(t,function(t){return n.size===o&&n.clear(),t}),n=e.cache;return e}},function(t,e,n){var r=n(48),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},function(t,e,n){var r=n(272),o=n(273);t.exports=function(t,e){return null!=t&&o(t,e,r)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var r=n(87),o=n(45),i=n(9),a=n(43),s=n(42),c=n(30);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,f=!1;++u<l;){var p=c(e[u]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(p,l)&&(i(t)||o(t))}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(276),o=n(277),i=n(51),a=n(30);t.exports=function(t){return i(t)?r(a(t)):o(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,n){var r=n(86);t.exports=function(t){return function(e){return r(e,t)}}},function(t,e){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var e=[],r=0;r<t.length;r+=3)for(var o=t[r]<<16|t[r+1]<<8|t[r+2],i=0;i<4;i++)8*r+6*i<=8*t.length?e.push(n.charAt(o>>>6*(3-i)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,o=0;r<t.length;o=++r%4)0!=o&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(t.charAt(r))>>>6-2*o);return e}},t.exports=r},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";n.r(e);n(93);var r,o,i,a=n(6),s=n.n(a),c=n(31),u=n.n(c),l=n(32),f=n.n(l),p=n(7),d=n(0),h=Object(d.a)({},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticStyle:{display:"none"},attrs:{xmlns:"http://www.w3.org/2000/svg"}},[e("symbol",{attrs:{id:"arrow-down-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"}},[e("path",{attrs:{d:"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"}})]),this._v(" "),e("symbol",{attrs:{id:"arrow-up-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"}},[e("path",{attrs:{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"}})]),this._v(" "),e("symbol",{attrs:{id:"clipboard-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"}},[e("path",{attrs:{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm144 418c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h42v36c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-36h42c3.3 0 6 2.7 6 6z"}})]),this._v(" "),e("symbol",{attrs:{id:"lightbulb-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"}},[e("path",{attrs:{d:"M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"}})]),this._v(" "),e("symbol",{attrs:{id:"pencil-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"}})]),this._v(" "),e("symbol",{attrs:{id:"plus-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}})]),this._v(" "),e("symbol",{attrs:{id:"share-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}})])])},[],!1,null,null,null).exports,m=n(5),g=n(14),v={props:{name:{required:!0}},data:function(){return{fullException:!1}},methods:{removeClamp:function(){this.fullException||(this.fullException=!0)}}},b=Object(d.a)(v,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"ui-exception-message",class:this.fullException?"ui-exception-message-full":"",on:{mousedown:this.removeClamp}},[this._v("\n "+this._s(this.name)+"\n")])},[],!1,null,null,null).exports,_={components:{ExceptionClass:n(13).a,ExceptionMessage:b,LineNumber:g.a,FilePath:m.a},inject:["report"],computed:{firstFrame:function(){return this.report.stacktrace[0]}}},y={inject:["report","telescopeUrl","config"],components:{OccurrenceDetails:Object(d.a)(_,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card-details-overflow scrollbar p-12 pt-10"},[n("div",{staticClass:"text-2xl"},[n("ExceptionClass",{attrs:{name:t.report.exception_class}}),t._v(" "),n("ExceptionMessage",{attrs:{name:t.report.message}})],1),t._v(" "),n("div",[n("a",{staticClass:"ui-url",attrs:{href:t.report.context.request.url,target:"_blank"}},[t._v("\n "+t._s(t.report.context.request.url)+"\n ")])])])},[],!1,null,null,null).exports,FilePath:m.a}},E=Object(d.a)(y,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mt-12 card card-has-header card-no-props"},[n("div",{staticClass:"card-header"},[n("div",{staticClass:"grid items-center rounded-t border-b border-tint-300 text-xs text-tint-600 ",staticStyle:{"grid-template-columns":"1fr 1fr"}},[n("div",{staticClass:"grid cols-auto justify-start gap-2 px-4 py-2"},[n("div",{staticClass:"flex items-center"},[n("a",{attrs:{href:"http://flareapp.io/docs/ignition-for-laravel/introduction",target:"_blank",title:"Ignition docs"}},[n("svg",{staticClass:"w-4 h-5 mr-4",attrs:{viewBox:"0 0 428 988"}},[n("polygon",{staticStyle:{fill:"#FA4E79"},attrs:{points:"428,247.1 428,494.1 214,617.5 214,369.3 \t\t"}}),t._v(" "),n("polygon",{staticStyle:{fill:"#FFF082"},attrs:{points:"0,988 0,741 214,617.5 214,864.1 \t\t"}}),t._v(" "),n("polygon",{staticStyle:{fill:"#E6003A"},attrs:{points:"214,123.9 214,617.5 0,494.1 0,0 \t\t"}}),t._v(" "),n("polygon",{staticStyle:{fill:"#FFE100"},attrs:{points:"214,864.1 214,617.5 428,741 428,988 \t\t"}})])]),t._v(" "),n("FilePath",{attrs:{pathClass:"font-normal",file:t.report.application_path+t.config.directorySeparator,relative:!1}})],1)]),t._v(" "),n("div",{staticClass:"grid cols-auto items-center justify-end gap-4 px-4 py-2"},[t.telescopeUrl?n("div",[n("a",{staticClass:"link-dimmed sm:ml-6",attrs:{href:t.telescopeUrl,target:"_blank"}},[t._v("Telescope")])]):t._e()])])]),t._v(" "),n("div"),t._v(" "),n("div",{staticClass:"card-details"},[n("OccurrenceDetails")],1)])},[],!1,null,null,null).exports,k=n(10),x=n.n(k),w=n(20),C=n.n(w),A=n(100)(),T=null,S={inject:["config"],props:{solution:{required:!0}},data:function(){return{isHidingSolutions:this.hasHideSolutionsCookie(),canExecuteSolutions:null,runningSolution:!1,executionSuccessful:null}},computed:{healthCheckEndpoint:function(){return this.solution.execute_endpoint.replace("execute-solution","health-check")}},created:function(){this.configureRunnableSolutions()},mounted:function(){this.isHidingSolutions&&this.$refs.solutionCard.classList.add("solution-hidden")},methods:{configureRunnableSolutions:function(){this.config.enableRunnableSolutions?this.checkExecutionEndpoint():this.canExecuteSolutions=!1},markdown:function(t){return A.render(t)},checkExecutionEndpoint:(o=C()(x.a.mark(function t(){var e;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(this.healthCheckEndpoint);case 3:return t.next=5,t.sent.json();case 5:e=t.sent,this.canExecuteSolutions=e.can_execute_commands,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),this.canExecuteSolutions=!1;case 12:case"end":return t.stop()}},t,this,[[0,9]])})),function(){return o.apply(this,arguments)}),execute:(r=C()(x.a.mark(function t(){var e;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.runningSolution){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,this.runningSolution=!0,t.next=6,fetch(this.solution.execute_endpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({solution:this.solution.class,parameters:this.solution.run_parameters})});case 6:e=t.sent,this.executionSuccessful=200===e.status,t.next=14;break;case 10:t.prev=10,t.t0=t.catch(2),console.error(t.t0),this.executionSuccessful=!1;case 14:return t.prev=14,this.runningSolution=!1,t.finish(14);case 17:case"end":return t.stop()}},t,this,[[2,10,14,17]])})),function(){return r.apply(this,arguments)}),refresh:function(){location.reload()},getUrlLabel:function(t){var e=document.createElement("a");return e.href=t,e.hostname},toggleSolutions:function(){var t=this;this.isHidingSolutions?(window.clearTimeout(T),this.toggleHidingSolutions()):(this.$refs.solutionCard.classList.add("solution-hiding"),T=window.setTimeout(function(){t.$refs.solutionCard.classList.remove("solution-hiding"),t.toggleHidingSolutions()},100))},toggleHidingSolutions:function(){if(this.isHidingSolutions)return document.cookie="".concat("hide_solutions","=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;"),void(this.isHidingSolutions=!1);var t=new Date;t.setTime(t.getTime()+31536e6),document.cookie="".concat("hide_solutions","=true;expires=").concat(t.toUTCString(),";path=/;"),this.isHidingSolutions=!0},hasHideSolutionsCookie:function(){return document.cookie.includes("hide_solutions")}}},R={components:{SolutionCard:Object(d.a)(S,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"solution-toggle",class:{"solution-toggle-show":t.isHidingSolutions},on:{click:t.toggleSolutions}},[t.isHidingSolutions?n("a",{staticClass:"link-solution",attrs:{target:"_blank"}},[n("Icon",{staticClass:"text-xs mr-1",attrs:{name:"lightbulb"}}),t._v(" Show solutions")],1):n("a",{staticClass:"link-solution",attrs:{target:"_blank"}},[t._v("Hide solutions")])]),t._v(" "),n("div",{ref:"solutionCard",staticClass:"solution",class:{"solution-hidden":t.isHidingSolutions}},[n("div",{staticClass:"solution-main"},[n("div",{staticClass:"solution-background mx-0"},[n("svg",{staticClass:"hidden absolute right-0 h-full | md:block",attrs:{x:"0px",y:"0px",viewBox:"0 0 299 452"}},[n("g",{staticStyle:{opacity:"0.075"}},[n("polygon",{staticStyle:{fill:"rgb(63,63,63)"},attrs:{points:"298.1,451.9 150.9,451.9 21,226.9 298.1,227.1"}}),t._v(" "),n("polygon",{staticStyle:{fill:"rgb(151,151,151)"},attrs:{points:"298.1,227.1 21,226.9 150.9,1.9 298.1,1.9"}})])])]),t._v(" "),n("div",{staticClass:"p-12"},[n("div",{staticClass:"solution-content ml-0"},[n("h2",{staticClass:"solution-title"},[t._v(t._s(t.solution.title))]),t._v(" "),t.solution.description?n("div",{domProps:{innerHTML:t._s(t.markdown(t.solution.description))}}):t._e(),t._v(" "),t.solution.is_runnable?n("div",[n("p",{domProps:{innerHTML:t._s(t.markdown(t.solution.action_description))}}),t._v(" "),null===t.canExecuteSolutions?n("p",{staticClass:"py-4 text-sm italic"},[t._v("\n Loading...\n ")]):t._e(),t._v(" "),n("div",{staticClass:"mt-4"},[t.solution.is_runnable&&!0===t.canExecuteSolutions&&null===t.executionSuccessful?n("button",{staticClass:"button-secondary button-lg bg-tint-300 hover:bg-tint-400",attrs:{disabled:t.runningSolution},on:{click:t.execute}},[t.runningSolution?n("span",[t._v("Running...")]):t._e(),t._v(" "),t.runningSolution?t._e():n("span",[t._v(t._s(t.solution.run_button_text))])]):t._e(),t._v(" "),t.executionSuccessful?n("p",[n("strong",{staticClass:"font-semibold"},[t._v("The solution was executed succesfully.")]),t._v(" "),n("a",{staticClass:"link-solution",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refresh(e)}}},[t._v("Refresh now.")])]):t._e(),t._v(" "),!1===t.executionSuccessful?n("p",[t._v("\n Something went wrong when executing the solution. Please try\n refresh the page and try again.\n ")]):t._e()])]):t._e(),t._v(" "),Object.entries(t.solution.links).length>0?n("div",{staticClass:"mt-8 grid justify-start"},[n("div",{staticClass:"border-t-2 border-gray-700 opacity-25 "}),t._v(" "),n("div",{staticClass:"pt-2 grid cols-auto-1fr gapx-4 gapy-2 text-sm"},[n("label",{staticClass:"font-semibold uppercase tracking-wider"},[t._v("Read more")]),t._v(" "),n("ul",t._l(t.solution.links,function(e,r){return n("li",{key:r},[n("a",{staticClass:"link-solution",attrs:{href:e,target:"_blank"}},[t._v(t._s(r))])])}),0)])]):t._e()])])])])])},[],!1,null,null,null).exports,ErrorCard:E,FilePath:m.a},inject:["report","solutions"],data:function(){return{activeSolutionKey:0}},computed:{firstFrame:function(){return this.report.stacktrace[0]},solution:function(){return this.solutions[this.activeSolutionKey]}}},O=Object(d.a)(R,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"layout-col z-10"},[n("ErrorCard")],1),t._v(" "),t.solutions.length>0?n("div",{staticClass:"layout-col z-1"},[n("SolutionCard",t._b({},"SolutionCard",{solution:t.solution},!1)),t._v(" "),t.solutions.length>1?n("div",{staticClass:"absolute left-0 bottom-0 w-full h-8 mb-2 px-4 text-sm z-10"},[n("ul",{staticClass:"grid cols-auto place-center gap-1"},t._l(t.solutions,function(e,r){return n("li",{key:e.class,on:{click:function(e){t.activeSolutionKey=r}}},[n("a",{staticClass:"grid place-center h-8 min-w-8 px-2 rounded-full",class:{"bg-tint-200 font-semibold":t.activeSolutionKey===r,"hover:bg-tint-100 cursor-pointer":t.activeSolutionKey!==r}},[t._v("\n "+t._s(r+1)+"\n ")])])}),0)]):t._e()],1):t._e()])},[],!1,null,null,null).exports,N={components:{CheckboxField:n(35).a},props:["error"],computed:{selectedTabs:function(){return this.tabs.filter(function(t){return t.checked}).map(function(t){return t.name})}},data:function(){return{tabs:[{label:"Stack trace",name:"stackTraceTab",checked:!0},{label:"Request",name:"requestTab",checked:!0},{label:"App",name:"appTab",checked:!0},{label:"User",name:"userTab",checked:!0},{label:"Context",name:"contextTab",checked:!0},{label:"Debug",name:"debugTab",checked:!0}]}},methods:{shareError:function(){this.$emit("share",this.selectedTabs)}}},L=Object(d.a)(N,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"grid cols-2 justify-start gapx-6 gapy-2"},t._l(t.tabs,function(e){return n("CheckboxField",{key:e.name,staticClass:"text-gray-200 hover:text-white",attrs:{label:e.label,name:e.name},on:{change:function(t){e.checked=!e.checked}},model:{value:e.checked,callback:function(n){t.$set(e,"checked",n)},expression:"tab.checked"}})}),1),t._v(" "),n("div",{staticClass:"mt-4"},[t.error?n("div",{staticClass:"mb-3"},[t._v("\n We were unable to share your error."),n("br"),t._v("\n Please try again later.\n ")]):t._e(),t._v(" "),n("button",{staticClass:"button-secondary button-sm bg-tint-600 text-white",on:{click:t.shareError}},[t._v("\n Share\n ")])])])},[],!1,null,null,null).exports,I={props:{text:{required:!0}},data:function(){return{copied:!1,timeout:!1}},methods:{copy:function(t){var e=this;this.timeout&&window.clearTimeout(this.timeout);var n=document.createElement("textarea");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.copied=!0,this.timeout=window.setTimeout(function(){return e.copied=!1},3e3)}}},D={components:{CopyButton:Object(d.a)(I,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{attrs:{title:"Copy to clipboard"},on:{click:function(e){return t.copy(t.text)}}},[n("Icon",{class:t.copied?"fill-green-300":"fill-gray-200 hover:fill-white",attrs:{name:"clipboard"}}),t._v(" "),t.copied?n("div",{staticClass:"ml-2 absolute top-0 left-full text-green-300"},[t._v("\n Copied!\n ")]):t._e()],1)},[],!1,null,null,null).exports},props:{publicUrl:{required:!0},ownerUrl:{required:!0}}},M={components:{ShareLinks:Object(d.a)(D,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-left"},[n("p",{staticClass:"mt-2 text-gray-300"},[t._v("Share your error with others:")]),t._v(" "),n("div",{staticClass:"grid cols-auto items-center justify-start gap-2 mt-2"},[n("a",{staticClass:"button-secondary button-sm bg-tint-600 hover:bg-tint-700 text-white",attrs:{href:t.publicUrl,target:"_blank"}},[t._v("Open public share")]),t._v(" "),n("CopyButton",{attrs:{text:t.publicUrl}})],1),t._v(" "),n("p",{staticClass:"mt-4 text-gray-300"},[t._v("Administer your shared error here:")]),t._v(" "),n("div",{staticClass:"grid cols-auto items-center justify-start gap-2 mt-2"},[n("a",{staticClass:"button-secondary button-sm bg-tint-600 hover:bg-tint-700 text-white",attrs:{href:t.ownerUrl,target:"_blank"}},[t._v("Open share admin")]),t._v(" "),n("CopyButton",{attrs:{text:t.ownerUrl}})],1)])},[],!1,null,null,null).exports,ShareForm:L},inject:["report","shareEndpoint"],data:function(){return{shareHadError:!1,sharedErrorUrls:null,menuVisible:!1}},watch:{menuVisible:function(t){t?window.addEventListener("click",this.toggleMenu):window.removeEventListener("click",this.toggleMenu)}},methods:{toggleMenu:function(){this.menuVisible=!this.menuVisible},shareError:(i=C()(x.a.mark(function t(e){var n,r;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(this.shareEndpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({report:JSON.stringify(this.report),tabs:e,lineSelection:window.location.hash})});case 3:return n=t.sent,t.next=6,n.json();case 6:r=t.sent,n.ok?this.sharedErrorUrls=r:this.shareHadError=!0,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),this.shareHadError=!0;case 13:case"end":return t.stop()}},t,this,[[0,10]])})),function(t){return i.apply(this,arguments)})}},P={inject:["config"],components:{ShareButton:Object(d.a)(M,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{click:function(t){t.stopPropagation()}}},[n("button",{staticClass:"tab",class:t.menuVisible?"tab-active":"",on:{click:t.toggleMenu}},[t._v("\n Share\n "),n("Icon",{staticClass:"ml-2",attrs:{name:"share"}})],1),t._v(" "),n("div",{staticClass:"dropdown z-10 right-0 top-full p-4 overflow-visible",class:{hidden:!t.menuVisible},staticStyle:{"min-width":"18rem","margin-right":"-1px"},on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"flex items-center mb-4"},[n("svg",{staticClass:"w-4 h-5 mr-2",attrs:{viewBox:"0 0 682 1024"}},[n("polygon",{staticStyle:{fill:"#51DB9E"},attrs:{points:"235.3,510.5 21.5,387 21.5,140.2 236.5,264.1 "}}),t._v(" "),n("polygon",{staticStyle:{fill:"#7900F5"},attrs:{points:"235.3,1004.8 21.5,881.4 21.5,634.5 234.8,757.9 "}}),t._v(" "),n("polygon",{staticStyle:{fill:"#94F2C8"},attrs:{points:"448.9,386.9 21.5,140.2 235.3,16.7 663.2,263.4 "}}),t._v(" "),n("polygon",{staticStyle:{fill:"#A475F4"},attrs:{points:"234.8,757.9 21.5,634.5 235.3,511 449.1,634.5 "}})]),t._v(" "),n("h5",{staticClass:"text-left font-semibold uppercase tracking-wider whitespace-no-wrap"},[t._v("\n "+t._s(t.sharedErrorUrls?"Shared":"Share")+" on Flare\n ")]),t._v(" "),n("a",{staticClass:"ml-auto underline",attrs:{target:"_blank",href:"https://flareapp.io/docs/ignition-for-laravel/sharing-errors",title:"Flare documentation"}},[t._v("Docs\n ")])]),t._v(" "),t.sharedErrorUrls?n("div",[n("ShareLinks",{attrs:{publicUrl:t.sharedErrorUrls.public_url,ownerUrl:t.sharedErrorUrls.owner_url}})],1):n("ShareForm",{attrs:{error:t.shareHadError},on:{share:t.shareError}})],1)])},[],!1,null,null,null).exports},props:{value:{required:!0},customTabs:{required:!0}},data:function(){return{defaultTabs:[{component:"StackTab",title:"Stack trace"},{component:"RequestTab",title:"Request"},{component:"AppTab",title:"App"},{component:"UserTab",title:"User"},{component:"ContextTab",title:"Context"},{component:"DebugTab",title:"Debug"}],shareButtonEnabled:this.config.enableShareButton}},mounted:function(){this.applyDefaultTabProps(),this.$emit("input",this.tabs[this.currentTabIndex])},computed:{currentTabIndex:function(){var t=this;return this.tabs.findIndex(function(e){return e.component===t.value.component})},nextTab:function(){return this.tabs[this.currentTabIndex+1]||this.tabs[0]},previousTab:function(){return this.tabs[this.currentTabIndex-1]||this.tabs[this.tabs.length-1]},tabs:function(){var t={};return this.defaultTabs.forEach(function(e){t[e.component]=e}),this.customTabs.forEach(function(e){t[e.component]=e}),Object.values(t)}},methods:{applyDefaultTabProps:function(){var t=this;this.defaultTabs.map(function(e){return e.component===t.value.component&&(e.props=t.value.props||{}),e})}}},j={props:{tab:{required:!0}},render:function(t){return t(this.tab.component,{props:this.tab.props||{}})}},U={props:{report:{required:!0},config:{required:!0},solutions:{required:!0},telescopeUrl:{required:!0},shareEndpoint:{required:!0},defaultTab:{required:!0},defaultTabProps:{required:!1}},data:function(){return{customTabs:window.tabs,tab:{component:this.defaultTab,props:this.defaultTabProps||{}}}},provide:function(){return{config:this.config,report:this.report,solutions:this.solutions,telescopeUrl:this.telescopeUrl,shareEndpoint:this.shareEndpoint,setTab:this.setTab}},components:{Summary:O,Tabs:Object(d.a)(P,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"tab-nav"},[n("ul",{staticClass:"tab-bar"},t._l(t.tabs,function(e){return n("li",{key:e.component},[n("button",{staticClass:"tab",class:t.value.component===e.component?"tab-active":"",on:{click:function(n){return n.preventDefault(),t.$emit("input",e)}}},[t._v("\n "+t._s(e.title)+"\n ")])])}),0),t._v(" "),t.shareButtonEnabled?[n("div",{staticClass:"tab-delimiter"}),t._v(" "),n("ShareButton")]:t._e()],2)},[],!1,null,null,null).exports,Details:Object(d.a)(j,void 0,void 0,!1,null,null,null).exports,IconSymbols:h},methods:{setTab:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.tab={component:t,props:e}}},created:function(){}},F=Object(d.a)(U,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("IconSymbols"),t._v(" "),n("Summary"),t._v(" "),n("div",{staticClass:"layout-col mt-12"},[n("div",{staticClass:"tabs"},[n("Tabs",t._b({model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},"Tabs",{customTabs:t.customTabs},!1)),t._v(" "),n("div",{staticClass:"tab-main"},[n("Details",t._b({},"Details",{tab:t.tab},!1))],1)],1)])],1)},[],!1,null,null,null).exports;function $(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$(n,!0).forEach(function(e){s()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var z=function(){function t(e){u()(this,t),this.data=e,this.tabCallbacks=[]}return f()(t,[{key:"registerIcons",value:function(){p.a.component("Icon",n(286).default)}},{key:"registerBuiltinTabs",value:function(){p.a.component("AppTab",n(285).default),p.a.component("ContextTab",n(284).default),p.a.component("DebugTab",n(282).default),p.a.component("RequestTab",n(283).default),p.a.component("StackTab",n(281).default),p.a.component("UserTab",n(287).default)}},{key:"registerCustomTabs",value:function(){var t=this;this.tabCallbacks.forEach(function(e){return e(p.a,t.data)}),this.tabCallbacks=[]}},{key:"registerTab",value:function(t){this.tabCallbacks.push(t)}},{key:"start",value:function(){var t=this;this.registerIcons(),this.registerBuiltinTabs(),this.registerCustomTabs(),window.app=new p.a({data:function(){return t.data},render:function(t){var e=this;return t(F,{props:{report:B({},this.report,{stacktrace:this.report.stacktrace.map(function(t){return B({},t,{relative_file:t.file.replace("".concat(e.report.application_path,"/"),"")})})}),config:this.config,solutions:this.solutions,telescopeUrl:this.telescopeUrl,shareEndpoint:this.shareEndpoint,defaultTab:this.defaultTab,defaultTabProps:this.defaultTabProps}})}}).$mount("#app")}}]),t}();n(98),window.ignite=function(t){return new z(t)}},function(t,e,n){"use strict";n.r(e);var r=n(54),o=n.n(r),i=n(13),a=n(5),s=n(14),c=n(33);o.a.registerLanguage("php",n(214));var u={inject:["config"],props:{selectedFrame:{required:!0},selectedRange:{default:[null,null]}},components:{ExceptionClass:i.a,FilePath:a.a,LineNumber:s.a},data:function(){var t=matchMedia("(prefers-color-scheme: dark)");return{mediaQuery:t,detectedTheme:t.matches?"dark":"light",firstSelectedLineNumber:null}},created:function(){this.highlightState=null},watch:{selectedFrame:function(){this.highlightState=null}},mounted:function(){var t=this;this.mediaQuery.addEventListener("change",function(e){t.detectedTheme=e.matches?"dark":"light"})},computed:{highlightTheme:function(){return"auto"===this.config.theme?this.detectedTheme:this.config.theme}},methods:{handleLineNumberClick:function(t,e){t.shiftKey&&null!==this.firstSelectedLineNumber?this.$emit("select-range",[this.firstSelectedLineNumber,e].sort(function(t,e){return t-e})):(this.firstSelectedLineNumber=e,this.$emit("select-range",[e,e]))},withinSelectedRange:function(t){return!!this.selectedRange&&(t>=this.selectedRange[0]&&t<=this.selectedRange[1])},editorUrl:function(t){return Object(c.a)(this.config,this.selectedFrame.file,t)},highlightedCode:function(t){var e=o.a.highlight("php",t||"",!0,this.highlightState);return this.highlightState=e.top,e.value||"&nbsp;"}}},l=n(0),f=Object(l.a)(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"stack-main"},[n("div",{staticClass:"stack-main-header"},[n("div",{staticClass:"grid cols-auto gap-2 justify-start items-center"},[n("ExceptionClass",{attrs:{name:t.selectedFrame.class||"",method:t.selectedFrame.method||""}})],1),t._v(" "),t.selectedFrame.file?n("FilePath",{staticClass:"mt-1",attrs:{"line-number":t.selectedFrame.line_number,file:t.selectedFrame.file,editable:!0}}):t._e()],1),t._v(" "),n("div",{staticClass:"stack-main-content"},[n("div",{staticClass:"stack-viewer scrollbar"},[n("div",{staticClass:"stack-ruler"},[n("div",{staticClass:"stack-lines"},t._l(t.selectedFrame.code_snippet,function(e,r){return n("p",{key:r,staticClass:"stack-line cursor-pointer",class:{"stack-line-selected":t.withinSelectedRange(parseInt(r)),"stack-line-highlight":parseInt(r)===t.selectedFrame.line_number},on:{click:function(e){t.handleLineNumberClick(e,parseInt(r))}}},[t._v("\n "+t._s(r)+"\n ")])}),0)]),t._v(" "),n("pre",{ref:"codeContainer",staticClass:"stack-code",class:t.highlightTheme},[t._l(t.selectedFrame.code_snippet,function(e,r){return n("p",{key:r,staticClass:"stack-code-line",class:{"stack-code-line-highlight":parseInt(r)===t.selectedFrame.line_number,"stack-code-line-selected":t.withinSelectedRange(parseInt(r))}},[n("span",{domProps:{innerHTML:t._s(t.highlightedCode(e))}}),n("a",{staticClass:"editor-link",attrs:{href:t.editorUrl(r)}},[n("Icon",{attrs:{name:"pencil"}})],1)])}),t._v("\n ")],2)])])])},[],!1,null,null,null).exports,p={props:{frameGroup:{required:!0}},components:{ExceptionClass:i.a,FilePath:a.a,LineNumber:s.a}},d=Object(l.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.frameGroup.expanded||"vendor"!==t.frameGroup.type?"unknown"===t.frameGroup.type?n("li",{staticClass:"stack-frame-group stack-frame-group-unknown"},[n("div",{staticClass:"stack-frame"},[n("button",{staticClass:"stack-frame-number"}),t._v(" "),n("div",{staticClass:"span-2 stack-frame-text"},[n("span",{staticClass:"text-left text-gray-500"},[t._v("\n "+t._s(t.frameGroup.frames.length>1?t.frameGroup.frames.length+" unknown frames":"1 unknown frame")+"\n ")])])])]):n("li",[n("ul",{staticClass:"stack-frame-group",class:"vendor"===t.frameGroup.type?"stack-frame-group-vendor":""},t._l(t.frameGroup.frames,function(e,r){return n("li",{key:r,staticClass:"stack-frame | cursor-pointer",class:e.selected?"stack-frame-selected":"",on:{click:function(n){return t.$emit("select",e.frame_number)}}},[n("div",{staticClass:"stack-frame-number"},[t._v(t._s(e.frame_number))]),t._v(" "),n("div",{staticClass:"stack-frame-text"},[0===r?n("header",{staticClass:"stack-frame-header",class:e.class?"mb-1":""},[n("FilePath",{staticClass:"stack-frame-path",attrs:{pathClass:"vendor"===t.frameGroup.type?"text-gray-800":"text-purple-800",file:e.relative_file}})],1):t._e(),t._v(" "),e.class?n("span",{staticClass:"stack-frame-exception-class"},[n("ExceptionClass",{staticClass:"stack-frame-exception-class",attrs:{name:e.class}})],1):t._e()]),t._v(" "),n("div",{staticClass:"stack-frame-line"},[n("LineNumber",{attrs:{lineNumber:e.line_number}})],1)])}),0)]):n("li",{staticClass:"stack-frame-group stack-frame-group-vendor",on:{click:function(e){return t.$emit("expand")}}},[n("div",{staticClass:"stack-frame | cursor-pointer"},[n("button",{staticClass:"stack-frame-number"},[n("Icon",{staticClass:"align-middle text-gray-500",attrs:{name:"plus"}})],1),t._v(" "),n("div",{staticClass:"span-2 stack-frame-text"},[n("button",{staticClass:"text-left text-gray-500"},[t._v("\n "+t._s(t.frameGroup.frames.length>1?t.frameGroup.frames.length+" vendor frames…":"1 vendor frame…")+"\n ")])])])])},[],!1,null,null,null).exports,h=n(6),m=n.n(h),g=n(4),v=n.n(g),b=n(15),_=n.n(b);function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function E(t){return t.map(function(e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(n,!0).forEach(function(e){m()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{frame_number:t.length-n})})}function k(t){return t.relative_file.startsWith("vendor/")?"vendor":"unknown"===t.relative_file?"unknown":"application"}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(n,!0).forEach(function(e){m()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function C(t,e){switch(e.type){case"EXPAND_FRAMES":return w({},t,{expanded:_()([].concat(v()(t.expanded),v()(e.frames)))});case"EXPAND_ALL_VENDOR_FRAMES":return w({},t,{expanded:E(t.frames).filter(function(t){return"unknown"!==t.relative_file}).map(function(t){return t.frame_number})});case"COLLAPSE_ALL_VENDOR_FRAMES":var n=E(t.frames).filter(function(t){return!t.relative_file.startsWith("vendor/")&&(!t.relative_file.startsWith("vendor\\")&&"unknown"===t.relative_file)}).map(function(t){return t.frame_number});return w({},t,{expanded:_()([].concat(v()(n),[t.frames.length]))});case"SELECT_FRAME":var r=E(t.frames).filter(function(t){return"unknown"!==t.relative_file}).map(function(t){return t.frame_number}).includes(e.frame)?e.frame:t.selected;return w({},t,{expanded:_()([].concat(v()(t.expanded),[r])),selected:r});case"SELECT_NEXT_FRAME":var o=E(t.frames).filter(function(t){return"unknown"!==t.relative_file}).map(function(t){return t.frame_number}),i=o.indexOf(t.selected),a=i===o.length-1?o[0]:o[i+1];return w({},t,{expanded:_()([].concat(v()(t.expanded),[a])),selected:a});case"SELECT_PREVIOUS_FRAME":var s=E(t.frames).filter(function(t){return"unknown"!==t.relative_file}).map(function(t){return t.frame_number}),c=s.indexOf(t.selected),u=0===c?s[s.length-1]:s[c-1];return w({},t,{expanded:_()([].concat(v()(t.expanded),[u])),selected:u});default:return t}}function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(n,!0).forEach(function(e){m()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var S={type:"application",relative_file:"",expanded:!0,frames:[]};function R(t){var e=t.frames,n=t.selected,r=t.expanded;return e.reduce(function(t,o,i){var a={current:o,previous:t[t.length-1]||S,isFirstFrame:0===i,frameNumber:e.length-i,expanded:r,selected:n};return a.expanded.includes(a.frameNumber)?t.concat(function(t){if(t.current.relative_file!==t.previous.relative_file)return[{type:k(t.current),relative_file:t.current.relative_file,expanded:!0,frames:[T({},t.current,{frame_number:t.frameNumber,selected:t.selected===t.frameNumber})]}];return t.previous.frames.push(T({},t.current,{frame_number:t.frameNumber,selected:t.selected===t.frameNumber})),[]}(a)):t.concat(function(t){var e=k(t.current);if(!t.previous.expanded&&e===t.previous.type)return t.previous.frames.push(T({},t.current,{selected:!1,frame_number:t.frameNumber})),[];return[{type:e,relative_file:t.current.relative_file,expanded:!1,frames:[T({},t.current,{frame_number:t.frameNumber,selected:t.selected===t.frameNumber})]}]}(a))},[])}var O={props:{frames:{required:!0}},data:function(){return{state:{frames:this.frames,expanded:[],selected:this.frames.length},selectedRange:null}},components:{Snippet:f,FrameGroup:d},created:function(){var t=this;this.state=C(this.state,{type:"COLLAPSE_ALL_VENDOR_FRAMES"}),this.dispatch=function(e){t.state=C(t.state,e)};var e=function(e){"j"===e.key&&t.selectNextFrame(),"k"===e.key&&t.selectPreviousFrame()};window.addEventListener("keydown",e),this.$once("hook:beforeDestroy",function(){window.removeEventListener("keydown",e)})},computed:{allVendorFramesAreExpanded:function(){return E((t=this.state).frames).filter(function(t){return"vendor"===k(t)}).every(function(e){return t.expanded.includes(e.frame_number)});var t},frameGroups:function(){return R(this.state)},selectedFrame:function(){return E((t=this.state).frames).find(function(e){return e.frame_number===t.selected});var t}},watch:{selectedRange:function(t){if(t){var e=t[0]===t[1]?t[0]:"".concat(t[0],"-").concat(t[1]);window.history.replaceState(window.history.state,"","#F".concat(this.state.selected,"L").concat(e))}}},methods:{expandFrameGroup:function(t){this.dispatch({type:"EXPAND_FRAMES",frames:t.frames.map(function(t){return t.frame_number})})},selectFrame:function(t){this.dispatch({type:"SELECT_FRAME",frame:t})},selectNextFrame:function(){this.dispatch({type:"SELECT_NEXT_FRAME"})},selectPreviousFrame:function(){this.dispatch({type:"SELECT_PREVIOUS_FRAME"})},collapseAllVendorFrames:function(){this.dispatch({type:"COLLAPSE_ALL_VENDOR_FRAMES"})},expandAllVendorFrames:function(){this.dispatch({type:"EXPAND_ALL_VENDOR_FRAMES"})}}},N=Object(l.a)(O,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"stack"},[n("div",{staticClass:"stack-nav"},[n("div",{staticClass:"stack-nav-actions"},[n("div",{staticClass:"stack-nav-arrows"},[n("button",{staticClass:"stack-nav-arrow",attrs:{title:"Frame up (Key:K)"},on:{click:t.selectPreviousFrame}},[n("Icon",{attrs:{name:"arrow-up"}})],1),t._v(" "),n("button",{staticClass:"stack-nav-arrow",attrs:{title:"Frame down (Key:J)"},on:{click:t.selectNextFrame}},[n("Icon",{attrs:{name:"arrow-down"}})],1)]),t._v(" "),n("div",{staticClass:"px-4"},[t.allVendorFramesAreExpanded?n("button",{staticClass:"ml-auto link-dimmed",on:{click:t.collapseAllVendorFrames}},[t._v("\n Collapse vendor frames\n ")]):n("button",{staticClass:"ml-auto link-dimmed",on:{click:t.expandAllVendorFrames}},[t._v("\n Expand vendor frames\n ")])])]),t._v(" "),n("div",{staticClass:"stack-frames"},[n("ol",{staticClass:"stack-frames-scroll scrollbar"},t._l(t.frameGroups,function(e,r){return n("FrameGroup",{key:r,attrs:{frameGroup:e},on:{expand:function(n){return t.expandFrameGroup(e)},select:t.selectFrame}})}),1)])]),t._v(" "),n("Snippet",{attrs:{"selected-frame":t.selectedFrame,"selected-range":t.selectedRange},on:{"select-range":function(e){t.selectedRange=e}}})],1)},[],!1,null,null,null).exports,L=n(91),I=n.n(L),D={inject:["report"],props:{file:{required:!1},lineNumber:{required:!1}},data:function(){return{selectedFrameNumber:this.report.stacktrace.length}},components:{Stack:N},provide:function(){var t=this;return{setSelectedFrameNumber:function(e){return t.selectedFrameNumber=e}}},created:function(){this.selectFrame()},computed:{selectedFrame:function(){return this.report.stacktrace[this.report.stacktrace.length-this.selectedFrameNumber]}},methods:{selectFrame:function(){var t=this;if(this.file){var e=I()(this.report.stacktrace,function(e){return e.file===t.file});this.selectedFrameNumber=this.report.stacktrace.length-e||this.selectedFrameNumber}}}},M=Object(l.a)(D,function(){var t=this,e=t.$createElement;return(t._self._c||e)("Stack",{attrs:{frames:t.report.stacktrace,"selected-frame-number":t.selectedFrameNumber},on:{frameclick:function(e){t.selectedFrameNumber=e}}})},[],!1,null,null,null);e.default=M.exports},function(t,e,n){"use strict";n.r(e);var r=n(4),o=n.n(r),i=n(31),a=n.n(i),s=n(32),c=n.n(s),u=n(34),l=n.n(u),f=function(){function t(e){var n=e.microtime,r=e.type,o=e.label,i=e.metadata,s=void 0===i?null:i,c=e.context,u=void 0===c?null:c,l=e.file,f=void 0===l?null:l,p=e.line_number,d=void 0===p?null:p;a()(this,t),this.microtime=n,this.type=r,this.label=o,this.metadata=s,this.context=u,this.file=f,this.line_number=d}return c()(t,[{key:"getComponentName",value:function(){return l()(this.type)+"Event"}}],[{key:"forQuery",value:function(e){return new t({microtime:e.microtime,type:"query",label:e.sql,metadata:{time:e.time,connection_name:e.connection_name},context:e.bindings})}},{key:"forDump",value:function(e){return new t({microtime:e.microtime,type:"dump",label:e.html_dump,file:e.file,line_number:e.line_number})}},{key:"forLog",value:function(e){var n=e.microtime,r=e.context,o=e.level;return new t({microtime:n,type:"log",label:e.message,context:r,metadata:{level:o}})}},{key:"forGlow",value:function(e){var n=e.microtime,r=e.message_level,o=e.meta_data;return new t({microtime:n,type:"glow",label:e.name,context:o,metadata:{time:e.time,message_level:r}})}}]),t}(),p={props:["event"],render:function(t){return t(n(178)("./".concat(this.event.getComponentName(),".vue")).default,{props:{event:this.event},attrs:{class:"tab-content-section"}})}},d=n(0),h=Object(d.a)(p,void 0,void 0,!1,null,null,null).exports,m=n(35),g=n(53),v=n.n(g),b={inject:["report"],components:{CheckboxField:m.a,DebugEvent:h},props:["query","dump","log","glow"],data:function(){return{visibleTypes:{query:void 0===this.query||this.query,dump:void 0===this.dump||this.dump,log:void 0===this.log||this.log,glow:void 0===this.glow||this.glow}}},computed:{queries:function(){return this.report.context.queries||[]},dumps:function(){return this.report.context.dumps},logs:function(){return this.report.context.logs},glows:function(){return this.report.glows},timelineEvents:function(){return v.a.sortBy([].concat(o()(this.queries.map(function(t){return f.forQuery(t)})),o()(this.dumps.map(function(t){return f.forDump(t)})),o()(this.logs.map(function(t){return f.forLog(t)})),o()(this.glows.map(function(t){return f.forGlow(t)}))),function(t){return t.microtime})},visibleTimelineEvents:function(){var t=this;return this.timelineEvents.filter(function(e){return t.visibleTypes[e.type]})},hasFilteredVisibleTypes:function(){return Object.values(this.visibleTypes).filter(function(t){return t}).length!==Object.values(this.visibleTypes).length}},methods:{resetVisibleTypes:function(){this.visibleTypes=v.a.mapValues(this.visibleTypes,function(){return!0})}}},_=Object(d.a)(b,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-content"},[n("div",{staticClass:"sticky top-0 z-10 grid cols-auto items-center justify-center px-6 py-2 bg-gray-100 border-b border-tint-200 text-xs"},[n("nav",{staticClass:"grid cols-auto items-center gapx-6 gapy-2"},[n("CheckboxField",{attrs:{label:"Dumps",name:"show_dumps",disabled:!t.dumps.length},model:{value:t.visibleTypes.dump,callback:function(e){t.$set(t.visibleTypes,"dump",e)},expression:"visibleTypes.dump"}}),t._v(" "),n("CheckboxField",{attrs:{label:"Glows",name:"show_glows",disabled:!t.glows.length},model:{value:t.visibleTypes.glow,callback:function(e){t.$set(t.visibleTypes,"glow",e)},expression:"visibleTypes.glow"}}),t._v(" "),n("CheckboxField",{attrs:{label:"Logs",name:"show_logs",disabled:!t.logs.length},model:{value:t.visibleTypes.log,callback:function(e){t.$set(t.visibleTypes,"log",e)},expression:"visibleTypes.log"}}),t._v(" "),n("CheckboxField",{attrs:{label:"Queries",name:"show_queries",disabled:!t.queries.length},model:{value:t.visibleTypes.query,callback:function(e){t.$set(t.visibleTypes,"query",e)},expression:"visibleTypes.query"}}),t._v(" "),t.hasFilteredVisibleTypes?n("button",{staticClass:"link-dimmed no-underline absolute left-full ml-6 hidden | sm:block",on:{click:t.resetVisibleTypes}},[t._v("\n Reset filters\n ")]):t._e()],1)]),t._v(" "),n("div",{staticClass:"layout-col"},t._l(t.visibleTimelineEvents,function(e){return n("DebugEvent",t._b({key:e.microtime},"DebugEvent",{event:e},!1))}),1),t._v(" "),0===t.visibleTimelineEvents.length?n("p",{staticClass:"absolute inset-0 grid place-center alert-empty"},[t._v("\n No debug data available.\n ")]):t._e()])},[],!1,null,null,null);e.default=_.exports},function(t,e,n){"use strict";n.r(e);var r=n(3),o={components:{DefinitionListRow:n(2).a,DefinitionList:r.a},inject:["report"],computed:{request:function(){return this.report.context.request},requestData:function(){return this.report.context.request_data},headers:function(){return this.report.context.headers},session:function(){return this.report.context.session},cookies:function(){return this.report.context.cookies}}},i=n(0),a=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-content"},[n("div",{staticClass:"layout-col"},[n("DefinitionList",{attrs:{title:"Request","class-name":"tab-content-section border-none"}},[n("DefinitionListRow",{attrs:{label:"URL"}},[t._v(t._s(t.request.url))]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Method"}},[t._v(t._s(t.request.method))])],1),t._v(" "),n("DefinitionList",{attrs:{title:"Headers","class-name":"tab-content-section"}},t._l(t.headers,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},[t._v(t._s(e[0]))])}),1),t._v(" "),n("DefinitionList",{attrs:{title:"Query String","class-name":"tab-content-section"}},t._l(t.requestData.queryString,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},[t._v(t._s(e))])}),1),t._v(" "),n("DefinitionList",{attrs:{title:"Body","class-name":"tab-content-section"}},t._l(t.requestData.body,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},[t._v(t._s(e))])}),1),t._v(" "),n("DefinitionList",{attrs:{title:"Files","class-name":"tab-content-section"}},t._l(t.requestData.files,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},[t._v(t._s(e))])}),1),t._v(" "),n("DefinitionList",{attrs:{title:"Session","class-name":"tab-content-section"}},t._l(t.session,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},["string"==typeof e?[t._v("\n "+t._s(e)+"\n ")]:n("code",{staticClass:"code-inline"},[n("pre",[t._v(t._s(e))])])],2)}),1),t._v(" "),n("DefinitionList",{attrs:{title:"Cookies","class-name":"tab-content-section"}},t._l(t.cookies,function(e,r){return n("DefinitionListRow",{key:e,attrs:{label:r}},[t._v(t._s(e))])}),1)],1)])},[],!1,null,null,null);e.default=a.exports},function(t,e,n){"use strict";n.r(e);var r=n(4),o=n.n(r),i=n(6),a=n.n(i),s=n(52),c=n.n(s),u=n(3),l=n(2),f=n(34),p=n.n(f);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var h={laravel_version:"Laravel version",laravel_locale:"Laravel locale",laravel_config_cached:"Laravel config cached",php_version:"PHP version"},m=["request","request_data","headers","session","cookies","view","queries","route","user","env","git","context","logs","dumps"],g={inject:["report"],components:{DefinitionListRow:l.a,DefinitionList:u.a},filters:{upperFirst:p.a},computed:{git:function(){return this.report.context.git},env:function(){return this.report.context.env},context:function(){return this.report.context.context},repoInfo:function(){return c()(this.git.remote)},repoUrl:function(){if(!this.git.remote)return null;var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(n,!0).forEach(function(e){a()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},this.repoInfo,{git_suffix:!1});return c.a.stringify(t,"https")},commitUrl:function(){return"".concat(this.repoUrl,"/commit/").concat(this.git.hash.replace(/'/g,""))},tagUrl:function(){return this.git.tag?"".concat(this.repoUrl,"/releases/tag/").concat(this.git.tag):this.repoUrl},customContextGroups:function(){var t=this,e=Object.keys(this.report.context).filter(function(t){return!m.includes(t)});return Object.assign.apply(Object,[{}].concat(o()(e.map(function(e){return a()({},e,t.report.context[e])}))))}},methods:{lookupKey:function(t){return h[t]||t}}},v=n(0),b=Object(v.a)(g,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-content"},[n("div",{staticClass:"layout-col"},[t._l(t.customContextGroups,function(e,r){return n("DefinitionList",{key:r,staticClass:"tab-content-section",attrs:{title:r}},t._l(e,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[t._v(t._s(t._f("upperFirst")(e)))])}),1)}),t._v(" "),t.git?n("section",{staticClass:"tab-content-section border-none"},[n("DefinitionList",{attrs:{title:"Git"}},[t.repoUrl?n("DefinitionListRow",{attrs:{label:"Repository"}},[n("a",{staticClass:"underline",attrs:{href:t.repoUrl,target:"_blank"}},[t._v(t._s(t.repoUrl))])]):t._e(),t._v(" "),t.git.message?n("DefinitionListRow",{attrs:{label:"Message"}},[n("a",{attrs:{href:t.commitUrl,target:"_blank"}},[t._v("\n “"+t._s(t.git.message)+"” –\n "),n("code",{staticClass:"code underline"},[t._v(t._s(t.git.hash))])])]):t._e(),t._v(" "),t.git.tag?n("DefinitionListRow",{attrs:{label:"Tag"}},[t._v(t._s(t.git.tag))]):t._e(),t._v(" "),t.git.isDirty?n("div",{staticClass:"mt-4 sm:start-2"},[n("div",{staticClass:"inline-block alert alert-warning min-h-0"},[t._v("\n This commit is dirty. (Un)staged changes have been made since this\n commit.\n ")])]):t._e()],1)],1):t._e(),t._v(" "),n("DefinitionList",{staticClass:"tab-content-section",attrs:{title:"Environment information"}},t._l(t.env,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:t.lookupKey(r)}},[t._v(t._s(e))])}),1),t._v(" "),n("DefinitionList",{staticClass:"tab-content-section",attrs:{title:"Generic context"}},t._l(t.context,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[t._v(t._s(e))])}),1)],2)])},[],!1,null,null,null);e.default=b.exports},function(t,e,n){"use strict";n.r(e);var r=n(89),o=n.n(r),i=n(3),a={components:{DefinitionListRow:n(2).a,DefinitionList:i.a},inject:["report"],computed:{route:function(){return this.report.context.route},view:function(){return this.report.context.view||{}},viewData:function(){return Object.entries(this.view.data||[]).map(function(t){var e=o()(t,2);return{key:e[0],dump:e[1]}})}}},s=n(0),c=Object(s.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-content"},[n("div",{staticClass:"layout-col"},[n("DefinitionList",{attrs:{title:"Routing","class-name":"tab-content-section border-none"}},[n("DefinitionListRow",{attrs:{label:"Controller"}},[t._v(t._s(t.route.controllerAction))]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Route name"}},[t._v(t._s(t.route.route||"unknown"))]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Route parameters"}},[n("DefinitionList",t._l(t.route.routeParameters||[],function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[n("code",{staticClass:"code-inline"},[n("pre",[t._v(t._s(e))])])])}),1)],1),t._v(" "),n("DefinitionListRow",{attrs:{label:"Middleware"}},[n("DefinitionList",t._l(t.route.middleware||[],function(e,r){return n("DefinitionListRow",{key:r},[t._v(t._s(e))])}),1)],1)],1),t._v(" "),n("DefinitionList",{staticClass:"tab-content-section",attrs:{title:"View"}},[n("DefinitionListRow",{attrs:{label:"View name"}},[t._v(t._s(t.view.view))]),t._v(" "),n("DefinitionListRow",{attrs:{label:"View data"}},[n("DefinitionList",t._l(t.view.data||[],function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[n("div",{domProps:{innerHTML:t._s(e)}})])}),1)],1)],1)],1)])},[],!1,null,null,null);e.default=c.exports},function(t,e,n){"use strict";n.r(e);var r={props:{name:{required:!0}}},o=n(0),i=Object(o.a)(r,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"icon"},[e("use",{attrs:{"xlink:href":"#"+this.name+"-icon"}})])},[],!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);var r=n(92),o=n.n(r),i=n(3),a={components:{DefinitionListRow:n(2).a,DefinitionList:i.a},inject:["report"],computed:{user:function(){return this.report.context.user},request:function(){return this.report.context.request},gravatar:function(){if(!this.user.email)return null;return"https://www.gravatar.com/avatar/"+o()(this.user.email)+".jpg?s=80"},stringifiedUserData:function(){return JSON.stringify(this.user,null,4)}}},s=n(0),c=Object(s.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-content"},[n("div",{staticClass:"layout-col"},[n("DefinitionList",{staticClass:"tab-content-section border-none",attrs:{title:"User Data"}},[t.user.email?n("DefinitionListRow",{attrs:{label:"Email"}},[t._v(t._s(t.user.email))]):t._e(),t._v(" "),n("DefinitionListRow",{attrs:{label:"User data"}},[n("code",{staticClass:"code-inline"},[n("pre",[t._v(t._s(t.stringifiedUserData))])])])],1),t._v(" "),n("DefinitionList",{staticClass:"tab-content-section",attrs:{title:"Client info"}},[n("DefinitionListRow",{attrs:{label:"IP address"}},[t._v(t._s(t.request.ip))]),t._v(" "),n("DefinitionListRow",{attrs:{label:"User agent"}},[t._v(t._s(t.request.useragent))])],1)],1)])},[],!1,null,null,null);e.default=c.exports},function(t,e,n){"use strict";n.r(e);var r=n(3),o={components:{DefinitionListRow:n(2).a,DefinitionList:r.a},props:["event"],mounted:function(){console.log(this.event)}},i=n(0),a=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("DefinitionList",{attrs:{title:"Glow"}},[n("DefinitionListRow",{attrs:{label:"Message"}},[n("code",{staticClass:"code-block"},[n("pre",{domProps:{innerHTML:t._s(t.event.label)}})])]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Level"}},[t._v("\n "+t._s(t.event.metadata.message_level)+"\n ")]),t._v(" "),t._l(t.event.context,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[t._v("\n "+t._s(e)+"\n ")])})],2)],1)},[],!1,null,null,null);e.default=a.exports},function(t,e,n){"use strict";n.r(e);var r=n(90),o=n.n(r),i=n(3),a={components:{DefinitionListRow:n(2).a,DefinitionList:i.a},props:["event"],methods:{formatQuery:function(t){return o.a.format(t)}}},s=n(0),c=Object(s.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("DefinitionList",{attrs:{title:"Query"}},[n("DefinitionListRow",{attrs:{label:"Query"}},[n("code",{staticClass:"code-block"},[n("pre",{domProps:{innerHTML:t._s(t.formatQuery(t.event.label))}})])]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Time"}},[t._v("\n "+t._s(t.event.metadata.time)+"\n ")]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Connection name"}},[t._v("\n "+t._s(t.event.metadata.connection_name)+"\n ")]),t._v(" "),t._l(t.event.context,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[t._v("\n "+t._s(e)+"\n ")])})],2)],1)},[],!1,null,null,null);e.default=c.exports},function(t,e,n){"use strict";n.r(e);var r=n(3),o={components:{DefinitionListRow:n(2).a,DefinitionList:r.a},props:["event"]},i=n(0),a=Object(i.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("DefinitionList",{attrs:{title:"Log"}},[n("DefinitionListRow",{attrs:{label:"Message"}},[n("code",{staticClass:"code-block"},[n("pre",[t._v(t._s(t.event.label))])])]),t._v(" "),n("DefinitionListRow",{attrs:{label:"Level"}},[t._v("\n "+t._s(t.event.metadata.level)+"\n ")]),t._v(" "),t._l(t.event.context,function(e,r){return n("DefinitionListRow",{key:r,attrs:{label:r}},[t._v("\n "+t._s(e)+"\n ")])})],2)],1)},[],!1,null,null,null);e.default=a.exports},function(t,e,n){"use strict";n.r(e);var r=n(5),o=n(3),i={components:{DefinitionListRow:n(2).a,DefinitionList:o.a,FilePath:r.a},inject:["setTab"],props:["event"],mounted:function(){var t=this.detectDumpId(this.event.label);t&&window.Sfdump(t)},methods:{detectDumpId:function(t){return/sf-dump-([0-9]+)/gm.exec(t)[0]||null},openInStackTab:function(){this.setTab("StackTab",{file:this.event.file,lineNumber:this.event.line_number})}}},a=n(0),s=Object(a.a)(i,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("DefinitionList",{attrs:{title:"Dump"}},[e("DefinitionListRow",{attrs:{label:"Content"}},[e("code",{staticClass:"code-block mb-3",domProps:{innerHTML:this._s(this.event.label)}})]),this._v(" "),e("DefinitionListRow",{attrs:{label:"Location"}},[this.event.file?e("FilePath",{attrs:{file:this.event.file,lineNumber:this.event.line_number,editable:!0}}):this._e()],1)],1)],1)},[],!1,null,null,null);e.default=s.exports}]);
load("jstests/replsets/rslib.js"); var NODE_COUNT = 2; /** * Prepare to call testReadPreference() or assertFailure(). */ var setUp = function() { var configDB = st.s.getDB('config'); configDB.adminCommand({enableSharding: 'test'}); configDB.adminCommand({shardCollection: 'test.user', key: {x: 1}}); // Each time we drop the 'test' DB we have to re-enable profiling st.rs0.nodes.forEach(function(node) { node.getDB('test').setProfilingLevel(2); }); }; /** * Clean up after testReadPreference() or testBadMode(), prepare to call setUp() again. */ var tearDown = function() { st.s.getDB('test').dropDatabase(); // Hack until SERVER-7739 gets fixed st.rs0.awaitReplication(); }; /** * Performs a series of tests on commands with read preference. * * @param conn {Mongo} the connection object of which to test the read * preference functionality. * @param hostList {Array.<Mongo>} list of the replica set host members. * @param isMongos {boolean} true if conn is a mongos connection. * @param mode {string} a read preference mode like 'secondary' * @param tagSets {Array.<Object>} list of tag sets to use * @param secExpected {boolean} true if we expect to run any commands on secondary */ var testReadPreference = function(conn, hostList, isMongos, mode, tagSets, secExpected) { var testDB = conn.getDB('test'); conn.setSlaveOk(false); // purely rely on readPref jsTest.log('Testing mode: ' + mode + ', tag sets: ' + tojson(tagSets)); conn.setReadPref(mode, tagSets); /** * Performs the command and checks whether the command was routed to the * appropriate node. * * @param cmdObj the cmd to send. * @param secOk true if command should be routed to a secondary. * @param profileQuery the query to perform agains the profile collection to * look for the cmd just sent. */ var cmdTest = function(cmdObj, secOk, profileQuery) { jsTest.log('about to do: ' + tojson(cmdObj)); // use runReadCommand so that the cmdObj is modified with the readPreference // set on the connection. var cmdResult = testDB.runReadCommand(cmdObj); jsTest.log('cmd result: ' + tojson(cmdResult)); assert(cmdResult.ok); var testedAtLeastOnce = false; var query = {op: 'command'}; Object.extend(query, profileQuery); hostList.forEach(function(node) { var testDB = node.getDB('test'); var result = testDB.system.profile.findOne(query); if (result != null) { if (secOk && secExpected) { // The command obeys read prefs and we expect to run // commands on secondaries with this mode and tag sets assert(testDB.adminCommand({isMaster: 1}).secondary); } else { // The command does not obey read prefs, or we expect to run // commands on primary with this mode or tag sets assert(testDB.adminCommand({isMaster: 1}).ismaster); } testedAtLeastOnce = true; } }); assert(testedAtLeastOnce); }; /** * Assumption: all values are native types (no objects) */ var formatProfileQuery = function(queryObj) { var newObj = {}; for (var field in queryObj) { newObj['command.' + field] = queryObj[field]; } return newObj; }; // Test command that can be sent to secondary cmdTest( {distinct: 'user', key: 'x', query: {x: 1}}, true, formatProfileQuery({distinct: 'user'})); // Test command that can't be sent to secondary cmdTest({create: 'mrIn'}, false, formatProfileQuery({create: 'mrIn'})); // Make sure mrIn is propagated to secondaries before proceeding testDB.runCommand({getLastError: 1, w: NODE_COUNT}); var mapFunc = function(doc) {}; var reduceFunc = function(key, values) { return values; }; // Test inline mapReduce on sharded collection. // Note that in sharded map reduce, it will output the result in a temp collection // even if out is inline. if (isMongos) { cmdTest({mapreduce: 'user', map: mapFunc, reduce: reduceFunc, out: {inline: 1}}, false, formatProfileQuery({mapreduce: 'user', shardedFirstPass: true})); } // Test inline mapReduce on unsharded collection. cmdTest({mapreduce: 'mrIn', map: mapFunc, reduce: reduceFunc, out: {inline: 1}}, true, formatProfileQuery({mapreduce: 'mrIn', 'out.inline': 1})); // Test non-inline mapReduce on sharded collection. if (isMongos) { cmdTest({mapreduce: 'user', map: mapFunc, reduce: reduceFunc, out: {replace: 'mrOut'}}, false, formatProfileQuery({mapreduce: 'user', shardedFirstPass: true})); } // Test non-inline mapReduce on unsharded collection. cmdTest({mapreduce: 'mrIn', map: mapFunc, reduce: reduceFunc, out: {replace: 'mrOut'}}, false, formatProfileQuery({mapreduce: 'mrIn', 'out.replace': 'mrOut'})); // Test other commands that can be sent to secondary. cmdTest({count: 'user'}, true, formatProfileQuery({count: 'user'})); cmdTest({group: {key: {x: true}, '$reduce': function(a, b) {}, ns: 'mrIn', initial: {x: 0}}}, true, formatProfileQuery({'group.ns': 'mrIn'})); cmdTest({collStats: 'user'}, true, formatProfileQuery({count: 'user'})); cmdTest({dbStats: 1}, true, formatProfileQuery({dbStats: 1})); testDB.user.ensureIndex({loc: '2d'}); testDB.user.ensureIndex({position: 'geoHaystack', type: 1}, {bucketSize: 10}); testDB.runCommand({getLastError: 1, w: NODE_COUNT}); cmdTest({geoNear: 'user', near: [1, 1]}, true, formatProfileQuery({geoNear: 'user'})); // Mongos doesn't implement geoSearch; test it only with ReplicaSetConnection. if (!isMongos) { cmdTest({geoSearch: 'user', near: [1, 1], search: {type: 'restaurant'}, maxDistance: 10}, true, formatProfileQuery({geoSearch: 'user'})); } // Test on sharded cmdTest({aggregate: 'user', pipeline: [{$project: {x: 1}}]}, true, formatProfileQuery({aggregate: 'user'})); // Test on non-sharded cmdTest({aggregate: 'mrIn', pipeline: [{$project: {x: 1}}]}, true, formatProfileQuery({aggregate: 'mrIn'})); }; /** * Verify that commands fail with the given combination of mode and tags. * * @param conn {Mongo} the connection object of which to test the read * preference functionality. * @param hostList {Array.<Mongo>} list of the replica set host members. * @param isMongos {boolean} true if conn is a mongos connection. * @param mode {string} a read preference mode like 'secondary' * @param tagSets {Array.<Object>} list of tag sets to use */ var testBadMode = function(conn, hostList, isMongos, mode, tagSets) { var failureMsg, testDB, cmdResult; jsTest.log('Expecting failure for mode: ' + mode + ', tag sets: ' + tojson(tagSets)); // use setReadPrefUnsafe to bypass client-side validation conn._setReadPrefUnsafe(mode, tagSets); testDB = conn.getDB('test'); // Test that a command that could be routed to a secondary fails with bad mode / tags. if (isMongos) { // Command result should have ok: 0. cmdResult = testDB.runReadCommand({distinct: 'user', key: 'x'}); jsTest.log('cmd result: ' + tojson(cmdResult)); assert(!cmdResult.ok); } else { try { // conn should throw error testDB.runReadCommand({distinct: 'user', key: 'x'}); failureMsg = "Unexpected success running distinct!"; } catch (e) { jsTest.log(e); } if (failureMsg) throw failureMsg; } }; var testAllModes = function(conn, hostList, isMongos) { // The primary is tagged with { tag: 'one' } and the secondary with // { tag: 'two' } so we can test the interaction of modes and tags. Test // a bunch of combinations. [ // mode, tagSets, expectedHost ['primary', undefined, false], ['primary', [], false], ['primaryPreferred', undefined, false], ['primaryPreferred', [{tag: 'one'}], false], // Correctly uses primary and ignores the tag ['primaryPreferred', [{tag: 'two'}], false], ['secondary', undefined, true], ['secondary', [{tag: 'two'}], true], ['secondary', [{tag: 'doesntexist'}, {}], true], ['secondary', [{tag: 'doesntexist'}, {tag: 'two'}], true], ['secondaryPreferred', undefined, true], ['secondaryPreferred', [{tag: 'one'}], false], ['secondaryPreferred', [{tag: 'two'}], true], // We don't have a way to alter ping times so we can't predict where an // untagged 'nearest' command should go, hence only test with tags. ['nearest', [{tag: 'one'}], false], ['nearest', [{tag: 'two'}], true] ].forEach(function(args) { var mode = args[0], tagSets = args[1], secExpected = args[2]; setUp(); testReadPreference(conn, hostList, isMongos, mode, tagSets, secExpected); tearDown(); }); [ // Tags not allowed with primary ['primary', [{dc: 'doesntexist'}]], ['primary', [{dc: 'ny'}]], ['primary', [{dc: 'one'}]], // No matching node ['secondary', [{tag: 'one'}]], ['nearest', [{tag: 'doesntexist'}]], ['invalid-mode', undefined], ['secondary', ['misformatted-tags']] ].forEach(function(args) { var mode = args[0], tagSets = args[1]; setUp(); testBadMode(conn, hostList, isMongos, mode, tagSets); tearDown(); }); }; var st = new ShardingTest({shards: {rs0: {nodes: NODE_COUNT}}}); st.stopBalancer(); ReplSetTest.awaitRSClientHosts(st.s, st.rs0.nodes); // Tag primary with { dc: 'ny', tag: 'one' }, secondary with { dc: 'ny', tag: 'two' } var primary = st.rs0.getPrimary(); var secondary = st.rs0.getSecondary(); var PRIMARY_TAG = {dc: 'ny', tag: 'one'}; var SECONDARY_TAG = {dc: 'ny', tag: 'two'}; var rsConfig = primary.getDB("local").system.replset.findOne(); jsTest.log('got rsconf ' + tojson(rsConfig)); rsConfig.members.forEach(function(member) { if (member.host == primary.host) { member.tags = PRIMARY_TAG; } else { member.tags = SECONDARY_TAG; } }); rsConfig.version++; jsTest.log('new rsconf ' + tojson(rsConfig)); try { primary.adminCommand({replSetReconfig: rsConfig}); } catch (e) { jsTest.log('replSetReconfig error: ' + e); } st.rs0.awaitSecondaryNodes(); // Force mongos to reconnect after our reconfig assert.soon(function() { try { st.s.getDB('foo').runCommand({create: 'foo'}); return true; } catch (x) { // Intentionally caused an error that forces mongos's monitor to refresh. jsTest.log('Caught exception while doing dummy command: ' + tojson(x)); return false; } }); reconnect(primary); reconnect(secondary); rsConfig = primary.getDB("local").system.replset.findOne(); jsTest.log('got rsconf ' + tojson(rsConfig)); var replConn = new Mongo(st.rs0.getURL()); // Make sure replica set connection is ready _awaitRSHostViaRSMonitor(primary.name, {ok: true, tags: PRIMARY_TAG}, st.rs0.name); _awaitRSHostViaRSMonitor(secondary.name, {ok: true, tags: SECONDARY_TAG}, st.rs0.name); st.rs0.nodes.forEach(function(conn) { assert.commandWorked( conn.adminCommand({setParameter: 1, logComponentVerbosity: {command: {verbosity: 1}}})); }); assert.commandWorked( st.s.adminCommand({setParameter: 1, logComponentVerbosity: {network: {verbosity: 3}}})); testAllModes(replConn, st.rs0.nodes, false); jsTest.log('Starting test for mongos connection'); testAllModes(st.s, st.rs0.nodes, true); st.stop();
import interval from "./interval"; import {durationMinute} from "./duration"; var utcMinute = interval(function(date) { date.setUTCSeconds(0, 0); }, function(date, step) { date.setTime(+date + step * durationMinute); }, function(start, end) { return (end - start) / durationMinute; }, function(date) { return date.getUTCMinutes(); }); export default utcMinute; export var utcMinutes = utcMinute.range;
// // Scripts // /* -------------------------------------------------------------------------------------- * Name : Wicodus - HTML Template * File : scripts.js * Author : ScanThemes * Author URI : scanthemes@gmail.com * * All Rights Reserved. * -------------------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------------------- /* -------------------------------------------------------------------------------------- // Options Here you can customize the options for your website // -------------------------------------------------------------------------------------- */ "use strict"; var options = true, // Enable / Disable user settings preloader = { /* -------------------------------------------------------------------------------------- // Here you can enable or disable the preloader. Set the value : "true" to enable it. // -------------------------------------------------------------------------------------- */ enabled : false // }, scrollToElement = { /* -------------------------------------------------------------------------------------- // With this duration option you can change the scrolling speed to the item. Duration are given in milliseconds. Higher values indicate slower animations, not faster ones. // -------------------------------------------------------------------------------------- */ scrollSpeed : 700 // Milliseconds }, GoogleMapAPI = { /* -------------------------------------------------------------------------------------- // To use the Maps JavaScript API, you must register your app project on the Google Cloud Platform Console and get a Google API key which you can add to your app. // -------------------------------------------------------------------------------------- */ key : '', // YOUR_API_KEY /* -------------------------------------------------------------------------------------- // By default the API will attempt to load the most appropriate language based on the users location or browser settings. Some APIs allow you to explicitly set a language when you make a request // -------------------------------------------------------------------------------------- */ language : '', // auto by default /* -------------------------------------------------------------------------------------- // If you set the language of the map, it's important to consider setting the region too. This helps ensure that your application complies with local laws. // -------------------------------------------------------------------------------------- */ region : '', // auto by default /* -------------------------------------------------------------------------------------- // You may wish to turn off the API's default UI settings entirely. To do so, set the map's disableDefaultUI property to true. This property disables any automatic UI behavior from the Maps JavaScript API. // -------------------------------------------------------------------------------------- */ disableDefaultUI : false, /* -------------------------------------------------------------------------------------- // The icon can simply indicate an image to use instead of the default Google Maps pushpin icon. To specify such an icon, set the marker's icon property to the URL of an image. The Maps JavaScript API will size the icon automatically. // -------------------------------------------------------------------------------------- */ markerIcon: '', /* -------------------------------------------------------------------------------------- // You can use the custom style for the map. Copy and paste your style below. To switch, use data-map-style="custom" in your HTML code. // -------------------------------------------------------------------------------------- */ customMapStyle: [ { "featureType": "all", "elementType": "labels.text.fill", "stylers": [ { "color": "#ffffff" } ] }, { "featureType": "all", "elementType": "labels.text.stroke", "stylers": [ { "color": "#000000" }, { "lightness": 13 } ] }, { "featureType": "administrative", "elementType": "geometry.fill", "stylers": [ { "color": "#000000" } ] }, { "featureType": "administrative", "elementType": "geometry.stroke", "stylers": [ { "color": "#144b53" }, { "lightness": 14 }, { "weight": 1.4 } ] }, { "featureType": "landscape", "elementType": "all", "stylers": [ { "color": "#08304b" } ] }, { "featureType": "poi", "elementType": "geometry", "stylers": [ { "color": "#0c4152" }, { "lightness": 5 } ] }, { "featureType": "road.highway", "elementType": "geometry.fill", "stylers": [ { "color": "#000000" } ] }, { "featureType": "road.highway", "elementType": "geometry.stroke", "stylers": [ { "color": "#0b434f" }, { "lightness": 25 } ] }, { "featureType": "road.arterial", "elementType": "geometry.fill", "stylers": [ { "color": "#000000" } ] }, { "featureType": "road.arterial", "elementType": "geometry.stroke", "stylers": [ { "color": "#0b3d51" }, { "lightness": 16 } ] }, { "featureType": "road.local", "elementType": "geometry", "stylers": [ { "color": "#000000" } ] }, { "featureType": "transit", "elementType": "all", "stylers": [ { "color": "#146474" } ] }, { "featureType": "water", "elementType": "all", "stylers": [ { "color": "#021019" } ] } ] }, slider = { /* -------------------------------------------------------------------------------------- // The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. // -------------------------------------------------------------------------------------- */ interval : 5000, // Milliseconds }, scrollbar = { zindex: 12 };
import FileSystemUtilities from "./FileSystemUtilities"; import PackageUtilities from "./PackageUtilities"; import ExitHandler from "./ExitHandler"; import progressBar from "./progressBar"; import Repository from "./Repository"; import logger from "./logger"; const DEFAULT_CONCURRENCY = 4; export default class Command { constructor(input, flags) { this.input = input; this.flags = flags; this.lernaVersion = require("../package.json").version; this.repository = new Repository(); this.progressBar = progressBar; this.logger = logger; this.concurrency = (!flags || flags.concurrency === undefined) ? DEFAULT_CONCURRENCY : Math.max(1, +flags.concurrency || DEFAULT_CONCURRENCY); } run() { this.logger.info("Lerna v" + this.lernaVersion); if (this.repository.isIndependent()) { this.logger.info("Independent Versioning Mode"); } this.runValidations(); this.runPreparations(); this.runCommand(); } runValidations() { if (this.concurrency < 1) { this.logger.warning("command must be run with at least one thread."); this._complete(null, 1); return; } if (!FileSystemUtilities.existsSync(this.repository.packagesLocation)) { this.logger.warning("`packages/` directory does not exist, have you run `lerna init`?"); this._complete(null, 1); return; } if (!FileSystemUtilities.existsSync(this.repository.packageJsonLocation)) { this.logger.warning("`package.json` does not exist, have you run `lerna init`?"); this._complete(null, 1); return; } if (!FileSystemUtilities.existsSync(this.repository.lernaJsonLocation)) { this.logger.warning("`lerna.json` does not exist, have you run `lerna init`?"); this._complete(null, 1); return; } if (this.flags.independent && !this.repository.isIndependent()) { this.logger.warning( "You ran lerna with `--independent` or `-i`, but the repository is not set to independent mode. " + "To use independent mode you need to set your `lerna.json` \"version\" to \"independent\". " + "Then you won't need to pass the `--independent` or `-i` flags." ); this._complete(null, 1); return; } if ( process.env.NODE_ENV !== "test" && this.lernaVersion !== this.repository.lernaVersion ) { this.logger.warning( `Lerna version mismatch: The current version of lerna is ${this.lernaVersion}, ` + `but the Lerna version in \`lerna.json\` is ${this.repository.lernaVersion}. ` + `You can either run \`lerna init\` again or install \`lerna@${this.repository.lernaVersion}\`.` ); this._complete(null, 1); return; } if (FileSystemUtilities.existsSync(this.repository.versionLocation)) { this.logger.warning("You have a `VERSION` file in your repository, this is leftover from a previous "); this._complete(null, 1); return; } if (process.env.NPM_DIST_TAG !== undefined) { this.logger.warning("`NPM_DIST_TAG=[tagname] lerna publish` is deprecated, please use `lerna publish --tag [tagname]` instead."); this._complete(null, 1); return; } if (process.env.FORCE_VERSION !== undefined) { this.logger.warning("`FORCE_VERSION=[package/*] lerna updated/publish` is deprecated, please use `lerna updated/publish --force-publish [package/*]` instead."); this._complete(null, 1); return; } } runPreparations() { try { this.packages = PackageUtilities.getPackages(this.repository.packagesLocation); this.packageGraph = PackageUtilities.getPackageGraph(this.packages); } catch (err) { this.logger.error("Errored while collecting packages and package graph", err); this._complete(null, 1); throw err; } } runCommand(callback) { this._attempt("initialize", () => { this._attempt("execute", () => { this._complete(null, 0, callback); }, callback); }, callback); } _attempt(method, next, callback) { const methodName = `${this.constructor.name}.${method}`; try { this.logger.debug(`Attempting running ${methodName}`); this[method]((err, completed) => { if (err) { this.logger.error(`Errored while running ${methodName}`, err); this._complete(err, 1, callback); } else if (!completed) { this.logger.debug(`Exited early while running ${methodName}`); this._complete(null, 1, callback); } else { this.logger.debug(`Successfully ran ${methodName}`); next(); } }); } catch (err) { this.logger.error(`Errored while running ${methodName}`, err); this._complete(err, 1, callback); } } _complete(err, code, callback) { if (code !== 0) { const exitHandler = new ExitHandler(); exitHandler.writeLogs(); } if (callback) { callback(err, code); } if (process.env.NODE_ENV !== "test") { process.exit(code); } } initialize() { throw new Error("command.initialize() needs to be implemented."); } execute() { throw new Error("command.execute() needs to be implemented."); } }
import { renderDefault } from './TabFocusTrap.int.render' describe('<TabFocusTrap />', () => { describe('Snaphot', () => { test('must match renderDefault()', () => { expect(global.renderToJSON(renderDefault())).toMatchSnapshot() }) }) })
var test = require('tap').test var run = require('../index').run var getCommand = require('../index').getCommand var execCommand = require('../index').execCommand test('empty flags - default port', function (t) { var testCommand = getCommand('php-dir', '8000') t.is(typeof testCommand, 'string') t.is(testCommand, 'php-dir/php.exe -S localhost:8000') t.end() }) test('port and dist flags defined', function (t) { var testCommand = getCommand('php-dir', '9000', 'dist/') t.is(typeof testCommand, 'string') t.is(testCommand, 'php-dir/php.exe -S localhost:9000 -t dist/') t.end() }) test('execute command and "kill()" it', function (t) { var testCommand = getCommand('php-dir', '9000', 'dist/') execCommand(testCommand).kill() t.end() }) test('run main method and terminate it with "kill()" ', function (t) { run().kill() t.end() })
import CharacterPlatform from './CharacterPlatform'; import {fetchDataFromURLS} from '../helper/APIManipulation'; const DetailsPlatform = ({item, closeHandler, updateExposedData}) => { const exposeComplexProp = (propName, validateValue) => { fetchDataFromURLS(validateValue.split(',')) .then(resArr => resArr.map((item) => item.name || item.title)) .then(data => { updateExposedData(propName, data.join(', ')); }); }; // Get properties of key/value pairs and validate it. // Check if value type is array and if elements include http protocol const propDisplayHandler = (key, value) => { if(value.length === 0) return 'none'; if(value[0].startsWith('http') || value.startsWith('http')){ let itemStr = value.constructor === Array ? value.sort().toString() : value; return <label onClick={(() => { let clickedCount = -1; return (() => { ++clickedCount; if(clickedCount == 0) { exposeComplexProp(key, itemStr); } }); })()} className="expose">Expose </label> } return value; }; return <div className="details_platform"> <button className="close_btn" title="close" onClick={closeHandler}>X </button> <CharacterPlatform item={item} propDisplayHandler={propDisplayHandler}/> </div> }; export default DetailsPlatform;
import { parse } from './parse' //TO-DO : DRY , mathematical functions export const calculate = (inputValue, btc, mode) => { const values = { amount: parse(inputValue.coinAmount.value), buy: parse(inputValue.buyValue.value), sell: parse(inputValue.sellValue.value), buyFee: parse(inputValue.buyFee.value), sellFee: parse(inputValue.sellFee.value), } let buyValue = 0 let sellValue = 0 if (values.sell && values.buy && values.amount) { buyValue = mode ? values.amount : values.amount * values.buy sellValue = mode ? (values.amount * values.sell) / values.buy : values.amount * values.sell } const calcBtc = mode ? values.amount / btc.price : (values.amount * values.buy) / btc.price const investToBtc = isFinite(calcBtc) ? calcBtc.toFixed(10) : 0 const investmentFee = values.buyFee ? buyValue * (values.buyFee * 0.01) : 0 const exitFee = values.sellFee ? sellValue * (values.sellFee * 0.01) : 0 const totalFee = investmentFee + exitFee const profit = sellValue - buyValue - totalFee const total = buyValue + profit const inProfit = sellValue > buyValue return { profit, total, totalFee, investmentFee, exitFee, inProfit, investToBtc, } }
const express = require('express'); const bodyParser = require('body-parser'); const fs = require('fs'); const app = express(); const mongoose = require('mongoose'); const appConfig = require('./config/appConfig'); const socketLib = require('./app/libs/socketLib'); mongoose.set('useCreateIndex', true); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.all('*', (req, res, next) => { res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE') next(); }); // require models const modelsPath = './app/models'; fs.readdirSync(modelsPath).forEach(file => { if (~file.indexOf('.js')) { require(modelsPath + '/' + file) } }); // require routes const routesPath = './app/routes' fs.readdirSync(routesPath).forEach(file => { if (~file.indexOf('.js')) { let route = require(routesPath + '/' + file); route.setRouter(app); } }); // Handlers // handle specific listen errors with friendly messages let serverErrorHandler = (error) => { if (error.syscall !== 'listen') { throw error; } switch (error.code) { case 'EACCES': process.exit(1); break; case 'EADDRINUSE': process.exit(1); break; default: throw error; } }; let serverListeningHandler = () => { var addr = server.address(); var bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port; ('Listening on ' + bind); mongoose.connect(appConfig.db.uri, { useNewUrlParser: true }); console.log('Port ' + appConfig.port + ' is ready...!') }; let mongooseErrorHandler = (err) => { console.log('Database connection error: ' + err); }; let mongooseConnectionHandler = (err) => { if (err) { console.log("Database error: " + err); } else { console.log("Database connected successfully..!"); } } // application specific logging, throwing an error, or other logic here let processRejectionHandler = (reason, p) => { console.log('Unhandled Rejection at: Promise', p, 'reason:', reason); }; // start server, connect mongo db and handle events const server = app.listen(appConfig.port); server.on('error', serverErrorHandler); server.on('listening', serverListeningHandler); mongoose.connection.on('error', mongooseErrorHandler); mongoose.connection.on('open', mongooseConnectionHandler); socketLib.setServer(server); process.on('unhandledRejection', processRejectionHandler); module.exports = app;
import routes from "../../routes"; const fetchProducts = async (categoryNumber, pageNum) => { try { return await fetch( // `http://localhost:5000/api/products/${this.categoryNumber}/${pagenum}` `${routes.URL}/${routes.API_PRODUCTS}/${categoryNumber}/${pageNum}` ) .then(res => res.json()) .catch() .finally(); } catch (err) { console.log(err); } }; export default fetchProducts;
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), require('@angular-devkit/build-angular/plugins/karma') ], client: { clearContext: false, // leave Jasmine Spec Runner output visible in browser jasmine: { random: false } }, coverageIstanbulReporter: { dir: require('path').join(__dirname, '../coverage'), reports: ['html', 'lcovonly'], fixWebpackSourcePaths: true }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: [ 'ChromeDebugging' ], customLaunchers: { ChromeDebugging: { base: 'Chrome', flags: [ '--remote-debugging-port=9333' ] } }, singleRun: false }); };
// const db = require('../models'); let workouts = []; let exercises = []; let myChart; function populateChart() { const reversed = workouts.slice().reverse(); const reversedExercises = exercises.slice().reverse(); let sum = 0; const labels = reversed.map((t) => { const date = new Date(t.date); return `${date.getMonth() + 1}/${date.getDate()}/${date.getFullYear()}`; }); console.log('reversed', reversed); console.log('lables', labels); console.log('reversedExercises', reversedExercises); // create incremental values for chart const data = reversedExercises.map((t) => { if (t.duration) { sum += parseInt(t.duration); return sum; } }); // const data = [20, 65, 85, 105]; console.log('data', data); // remove old chart if it exists if (myChart) { myChart.destroy(); } const ctx = document.getElementById('my-chart').getContext('2d'); myChart = new Chart(ctx, { type: 'line', data: { labels, datasets: [ { label: 'Workout Duration In Minutes', fill: true, backgroundColor: '#6666ff', data, }, ], }, }); } async function displayWorkouts() { const response = await fetch('/chart/lastExercises', { method: 'GET', headers: { 'Content-Type': 'application/json' }, }); if (response.ok) { const data = await response.json(); workouts = data.lastWorkout; exercises = data.exercises; populateChart(); // document.location.replace('chart'); } } displayWorkouts(); // await getExercises(); // console.log(exercises);
import instance from '@/api/index.js' const urlPrefix = '/v1/' export default { ciList (params) { return instance({ method: 'get', url: `${urlPrefix}cidata/`, params: params }) }, getCiById(id){ return instance({ method: 'get', url: `${urlPrefix}cidata/description/${id}`, }) }, jobList(ciid,params) { return instance({ method: 'get', url: `${urlPrefix}cidata/job/${ciid}`, params: params }) }, updateCIList(params) { return instance({ method: 'get', url: `${urlPrefix}cidata/updatedata`, params: params }) }, }
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * External dependencies */ import { useMemo, useState } from 'react'; /** * Internal dependencies */ import { useKeyDownEffect } from '../../keyboard'; import { useStory } from '../../../app'; function useGridViewKeys(ref, gridRef, pageRefs, isRTL) { const { arrangePage, currentPageId, pages } = useStory( ({ state: { pages, currentPageId }, actions: { arrangePage } }) => ({ arrangePage, currentPageId, pages, }) ); const [focusedPageId, setFocusedPageId] = useState(currentPageId); const pageIds = useMemo(() => pages.map(({ id }) => id), [pages]); // Navigate focus left, right, up, down useKeyDownEffect( ref, { key: ['up', 'down', 'left', 'right'] }, ({ key }) => { switch (key) { case 'ArrowLeft': case 'ArrowRight': { const dir = getArrowDir(key, 'ArrowRight', 'ArrowLeft', isRTL); if (dir === 0) { return; } const index = pageIds.indexOf(focusedPageId); const nextIndex = index + dir; if (nextIndex < 0 || nextIndex === pageIds.length) { return; } const pageId = pageIds[nextIndex]; setFocusedPageId(pageId); const page = pageRefs?.current?.[pageId]; focusOnPage(page); break; } case 'ArrowUp': case 'ArrowDown': { const { rows: numRows, columns: numColumns, } = getGridColumnAndRowCount(gridRef.current, pageIds.length); const currentIndex = pageIds.indexOf(focusedPageId); const dir = key === 'ArrowDown' ? 1 : -1; const currentRow = getRow(currentIndex, numColumns); const currentColumn = getColumn(currentIndex, numColumns); const nextIndex = getIndex({ row: currentRow + dir, column: currentColumn, numRows, numColumns, numItems: pageIds.length, }); if (nextIndex < 0) { return; } const pageId = pageIds[nextIndex]; setFocusedPageId(pageId); const page = pageRefs?.current?.[pageId]; focusOnPage(page); break; } default: break; } }, [focusedPageId, isRTL, pageIds, pageRefs, gridRef, currentPageId] ); // Rearrange pages useKeyDownEffect( ref, { key: ['mod+up', 'mod+down', 'mod+left', 'mod+right'], shift: true }, (e) => { const { key, shiftKey } = e; // Cancel the default behavior of the event: it's very jarring to run // into mod+left/right triggering the browser's back/forward navigation. e.preventDefault(); switch (key) { case 'ArrowLeft': case 'ArrowRight': { const dir = getArrowDir(key, 'ArrowRight', 'ArrowLeft', isRTL); if (dir === 0) { return; } const currentIndex = pageIds.indexOf(focusedPageId); let nextIndex = currentIndex; // If the user is pressing shift, jump to the beginning/end if (shiftKey) { nextIndex = dir < 0 ? 0 : pageIds.length - 1; } else { nextIndex += dir; } const canArrange = nextIndex !== currentIndex && nextIndex >= 0 && nextIndex <= pageIds.length - 1; if (canArrange) { arrangePage({ pageId: focusedPageId, position: nextIndex }); // Focus on DOM element where this page is moving to const page = pageRefs?.current?.[pageIds[nextIndex]]; focusOnPage(page); } break; } case 'ArrowUp': case 'ArrowDown': { const { rows: numRows, columns: numColumns, } = getGridColumnAndRowCount(gridRef.current, pageIds.length); const currentIndex = pageIds.indexOf(focusedPageId); const dir = key === 'ArrowDown' ? 1 : -1; const currentRow = getRow(currentIndex, numColumns); const currentColumn = getColumn(currentIndex, numColumns); const nextIndex = getIndex({ row: currentRow + dir, column: currentColumn, numRows, numColumns, numItems: pageIds.length, }); if (nextIndex < 0) { return; } const canArrange = nextIndex !== currentIndex && nextIndex >= 0 && nextIndex <= pageIds.length - 1; if (canArrange) { arrangePage({ pageId: focusedPageId, position: nextIndex }); // Focus on DOM element where this page is moving to const page = pageRefs?.current?.[pageIds[nextIndex]]; focusOnPage(page); } break; } default: break; } }, [ currentPageId, pageIds, isRTL, gridRef, pageRefs, focusedPageId, arrangePage, ] ); } // @todo: provide a cleaner `focusFirst()` API and takes into account // `tabIndex`, `disabled`, links, buttons, inputs, etc. export function focusOnPage(page) { const button = page?.querySelector('button'); if (button) { button.focus(); } } export function getArrowDir(key, pos, neg, isRTL) { const rtlDir = isRTL ? -1 : 1; if (key === pos) { return rtlDir; } if (key === neg) { return -1 * rtlDir; } return 0; } export function getGridColumnAndRowCount(grid, pageCount) { let columns = 0; let prevX; for (const el of grid.children) { const { x } = el.getBoundingClientRect(); if (prevX != null && x < prevX) { break; } prevX = x; columns++; } const rows = Math.ceil(pageCount / columns); return { rows, columns }; } // will return a 1 based index export function getRow(index, numColumns) { return Math.ceil((index + 1) / numColumns); } // will return a 1 based index export function getColumn(index, numColumns) { return (index % numColumns) + 1; } // will return a 0 based index export function getIndex({ row, column, numRows, numColumns, numItems }) { const isOutOfBounds = row > numRows || row <= 0 || column > numColumns || column <= 0; if (isOutOfBounds) { return -1; } const index = numColumns * (row - 1) + (column - 1); // If the index is greater than or equal to numItems default to the last index. // This handles the case when we press ArrowDown and there is another row, but // the column below is empty. It will default to the last item in the list. return index >= numItems ? numItems - 1 : index; } export default useGridViewKeys;
// @flow import Issue from '../models/issue'; import User from '../models/user'; import Label from '../models/label'; import { GitHubClientInterface, type GitHubClientResponse } from '../lib/github_client'; type Props = {| client: GitHubClientInterface, |}; export default class IssueStore { client: GitHubClientInterface; constructor(props: Props) { this.client = props.client; } async list(repo: string): Promise<Issue[]> { let path: string = `/repos/${repo}/issues`; let issues: Issue[] = []; while (path) { const response: GitHubClientResponse = await this.client.do({ method: 'GET', path: path, }); for (const issue of response.data) { if (!issue.pull_request) { const labels: Label[] = []; for (const label of issue.labels) { labels.push(new Label({ id: label.id, name: label.name, color: label.color, })); } issues.push(new Issue({ id: issue.id, number: issue.number, title: issue.title, url: issue.html_url, createdAt: issue.created_at, commentCount: issue.comments, user: new User({ avatarURL: issue.user.avatar_url, }), labels: labels, })); } } path = ((response.headers.link || "").match( /<([^>]+)>;\s*rel="next"/) || [])[1]; } return issues; } }; export interface IssueStoreInterface { list(repo: string): Promise<Issue[]>; };
import React from 'react'; import { observer } from 'mobx-react-lite'; import { NumberField, Form, SelectBox, TextArea, TextField, Password } from 'choerodon-ui/pro'; import { Modal } from 'choerodon-ui'; const { Option } = SelectBox; const { Sidebar } = Modal; export default observer(({ dataSet, onOk, onCancel }) => { const { current } = dataSet; function handleCancel() { onCancel(); dataSet.reset(); } async function handleOk() { if (!current.dirty) { onOk(); } if (await dataSet.submit()) { await dataSet.query(); await onOk(); } } return ( <Sidebar title="修改客户端" bodyStyle={{ padding: '0 0.2rem' }} okCancel okText="保存" onOk={handleOk} onCancel={handleCancel} visible className="safe-modal" > <Form className="safe-modal-form hidden-password" dataSet={dataSet}> <input type="password" style={{ position: 'absolute', top: '-999px' }} /> <TextField name="name" /> <Password name="secret" /> <SelectBox name="authorizedGrantTypes"> <Option value="password">password</Option> <Option value="implicit">implicit</Option> <Option value="client_credentials">client_credentials</Option> <Option value="authorization_code">authorization_code</Option> <Option value="refresh_token">refresh_token</Option> </SelectBox> <TextField name="webServerRedirectUri" /> <NumberField name="accessTokenValidity" suffix="秒" /> <NumberField name="refreshTokenValidity" suffix="秒" /> <TextField name="scope" showHelp="tooltip" /> <TextField name="autoApprove" showHelp="tooltip" /> <TextArea name="additionalInformation" resize="vertical" /> </Form> </Sidebar> ); });
/** * User: Alex Goldring * Date: 8/4/2014 * Time: 20:52 */ /** * * @param {function|function[]} [options] * @constructor */ function Script(options) { if (options instanceof Array) { this.scripts = options; } else if (typeof options === "function") { this.scripts = [options]; } else { this.scripts = []; } } Script.typeName = "Script"; Script.serializable = false; export default Script;
/***************************************************************************** * Open MCT, Copyright (c) 2014-2016, United States Government * as represented by the Administrator of the National Aeronautics and Space * Administration. All rights reserved. * * Open MCT is 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 writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * * Open MCT includes source code licensed under additional open source * licenses. See the Open Source Licenses file (LICENSES.md) included with * this source code distribution or the Licensing information page available * at runtime from the About dialog for additional information. *****************************************************************************/ define( function () { /** * A class for capturing user input data from an object creation * dialog, and populating a domain object with that data. * * @param {DomainObject} domainObject the newly created object to * populate with user input * @param {DomainObject} parent the domain object to serve as * the initial parent for the created object, in the dialog * @memberof platform/commonUI/browse * @constructor */ function CreateWizard(domainObject, parent, policyService) { this.type = domainObject.getCapability('type'); this.model = domainObject.getModel(); this.domainObject = domainObject; this.properties = this.type.getProperties(); this.parent = parent; this.policyService = policyService; } /** * Get the form model for this wizard; this is a description * that will be rendered to an HTML form. See the * platform/forms bundle * @param {boolean} includeLocation if true, a 'location' section * will be included that will allow the user to select the location * of the newly created object, otherwise the .location property of * the model will be used. * @return {FormModel} formModel the form model to * show in the create dialog */ CreateWizard.prototype.getFormStructure = function (includeLocation) { var sections = [], domainObject = this.domainObject, policyService = this.policyService; function validateLocation(parent) { var parentType = parent && parent.getCapability('type'); return parentType && policyService.allow( "composition", parentType, domainObject ); } sections.push({ name: "Properties", rows: this.properties.map(function (property, index) { // Property definition is same as form row definition var row = Object.create(property.getDefinition()); // Use index as the key into the formValue; // this correlates to the indexing provided by // getInitialFormValue row.key = index; return row; }).filter(function (row) { // Only show rows which have defined controls return row && row.control; }) }); // Ensure there is always a "save in" section if (includeLocation) { sections.push({ name: 'Location', cssClass: "grows", rows: [{ name: "Save In", control: "locator", validate: validateLocation, key: "createParent" }] }); } return { sections: sections, name: "Create a New " + this.type.getName() }; }; /** * Given some form input values and a domain object, populate the * domain object used to create this wizard from the given form values. * @param formValue * @returns {DomainObject} */ CreateWizard.prototype.populateObjectFromInput = function (formValue) { var parent = this.getLocation(formValue), formModel = this.createModel(formValue); formModel.location = parent.getId(); this.domainObject.useCapability("mutation", function () { return formModel; }); return this.domainObject; }; /** * Get the initial value for the form being described. * This will include the values for all properties described * in the structure. * * @returns {object} the initial value of the form */ CreateWizard.prototype.getInitialFormValue = function () { // Start with initial values for properties var model = this.model, formValue = this.properties.map(function (property) { return property.getValue(model); }); // Include the createParent formValue.createParent = this.parent; return formValue; }; /** * Based on a populated form, get the domain object which * should be used as a parent for the newly-created object. * @private * @return {DomainObject} */ CreateWizard.prototype.getLocation = function (formValue) { return formValue.createParent || this.parent; }; /** * Create the domain object model for a newly-created object, * based on user input read from a formModel. * @private * @return {object} the domain object model */ CreateWizard.prototype.createModel = function (formValue) { // Clone var newModel = JSON.parse(JSON.stringify(this.model)); // Always use the type from the type definition newModel.type = this.type.getKey(); // Update all properties this.properties.forEach(function (property, index) { property.setValue(newModel, formValue[index]); }); return newModel; }; return CreateWizard; } );
import React, { useContext, useEffect } from 'react'; import Headroom from 'react-headroom'; import { Link } from 'gatsby'; import classNames from 'classnames'; import logo from '../../../static/logos/pn-logo-48.png'; import MobileNavLinks from '../MobileNavLinks/MobileNavLinks'; import MobileNavContext from '../../context/MobileNavContext'; import './Navigation.scss'; const Navigation = () => { const mobileNavContext = useContext(MobileNavContext); const active = classNames('mobile-menu', { open: mobileNavContext.mobileNavOpen, }); useEffect(() => { const handleResize = () => { if (window.innerWidth > 767) { mobileNavContext.toggleMobileNav(false); mobileNavContext.toggleMobileNavView(false); } else if (window.innerWidth < 767) { mobileNavContext.toggleMobileNavView(true); } }; window.addEventListener('resize', handleResize); return () => { window.removeEventListener('resize', handleResize); }; }, []); return ( <> <Headroom> <header className="navigation-wrapper"> <div className="navigation-header"> <span className="navigation-names"> <Link className="link" to="/"> <img className="logo" src={logo} alt="pn initials logo"></img> <span>Paige Niedringhaus</span> </Link> </span> <span className="navigation-links"> {mobileNavContext.showMobileNavMenu ? ( <button aria-label="Toggle Mobile Menu Button" className={active} onClick={() => { mobileNavContext.toggleMobileNav( !mobileNavContext.mobileNavOpen, ); }} > <div className="bar-one" /> <div className="bar-two" /> <div className="bar-three" /> </button> ) : ( <nav aria-label="desktop navigation"> <Link className="link" activeClassName="active" to="/blog"> Blog </Link> <Link className="link" activeClassName="active" to="/media"> Media </Link> <Link className="link" activeClassName="active" to="/about"> About </Link> <Link className="link" activeClassName="active" to="/contact"> Contact </Link> </nav> )} </span> </div> </header> </Headroom> {mobileNavContext.showMobileNavMenu ? ( <MobileNavLinks open={mobileNavContext.mobileNavOpen} /> ) : null} </> ); }; export default Navigation;
//Logout Routes const express = require( 'express'); const router = express.Router( ); const db = require(__dirname + '/../modules/database'); // GET router.get('/logout', (request, response) =>{ request.session.destroy( (error) => { if(error) { throw error } response.redirect('/login'); }) }) module.exports = router;
addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) }) const { handle } = wasm_bindgen; const instance = wasm_bindgen(wasm); /** * Fetch and log a request * @param {Request} request */ async function handleRequest(request) { await instance; return await handle(KV_FROM_RUST, request); }
/* * Copyright (c) 2006-2007 Erin Catto http: * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked, and must not be * misrepresented the original software. * 3. This notice may not be removed or altered from any source distribution. */ // We use contact ids to facilitate warm starting. var Features = function() {}; Features.prototype = { // set_referenceFace: function(value){ this._referenceFace = value; this._m_id._key = (this._m_id._key & 0xffffff00) | (this._referenceFace & 0x000000ff) }, get_referenceFace: function(){ return this._referenceFace; }, _referenceFace: 0, // set_incidentEdge: function(value){ this._incidentEdge = value; this._m_id._key = (this._m_id._key & 0xffff00ff) | ((this._incidentEdge << 8) & 0x0000ff00) }, get_incidentEdge: function(){ return this._incidentEdge; }, _incidentEdge: 0, // set_incidentVertex: function(value){ this._incidentVertex = value; this._m_id._key = (this._m_id._key & 0xff00ffff) | ((this._incidentVertex << 16) & 0x00ff0000) }, get_incidentVertex: function(){ return this._incidentVertex; }, _incidentVertex: 0, // set_flip: function(value){ this._flip = value; this._m_id._key = (this._m_id._key & 0x00ffffff) | ((this._flip << 24) & 0xff000000) }, get_flip: function(){ return this._flip; }, _flip: 0, _m_id: null, };
/** * Given matrix, a rectangular matrix of integers, * just add up all the values that don't appear below a "0". * * @param {Array<Array>} matrix * @return {Number} * * @example * matrix = [ * [0, 1, 1, 2], * [0, 5, 0, 0], * [2, 0, 3, 3] * ] * * The result should be 9 */ function getMatrixElementsSum(matrix) { let summ = 0; for (let i = 0; i < matrix.length; i++) { for (let k = 0; k < matrix[i].length; k++) { if (i < 1) { summ += matrix[i][k]; } if (i > 0 && matrix[i - 1][k] !== 0) { summ += matrix[i][k]; } } } return summ; } module.exports = getMatrixElementsSum;
#!/usr/bin/env node /** * Module dependencies */ var tradedoubler = require('./') , nomnom = require('nomnom'); var opts = nomnom .script('tradedoubler-lookup') .nocolors() .option('id', { abbr: 'i', required: true, help: 'Tradedoubler api token' }) .option('keywords', { abbr: 'k', required: 'true', help: 'Keywords to query with' }) .option('feed', { abbr: 'f', help: 'Feed ids' }) .option('one', { abbr: '1', help: 'Limit to one result', flag: true, default: false }) .option('limit', { abbr: 'l', help: 'Limit results' }) .option('page', { abbr: 'p', help: 'Results page' }) .option('price', { abbr: 'c', help: 'Price range' }) .parse(); tradedoubler({keywords: opts.keywords}) .id(opts.id) .feed(opts.feed) .one(opts.one) .limit(opts.limit) .page(opts.page) .price(opts.price) .done(function (err, res) { if (err) throw err; console.log(JSON.stringify(res)); });
import React, { useState, useEffect, useMemo } from 'react'; import { useDispatch } from 'react-redux'; import { Link } from 'react-router-dom'; import { addMonths, format } from 'date-fns'; import pt from 'date-fns/locale/en-US'; import { Form, Input } from '@rocketseat/unform'; import ReactSelect from '../ReactSelect'; import ReactAsyncSelect from '../ReactAsyncSelect'; import DatePicker from '../DatePicker'; import api from '~/services/api'; import { formatPrice } from '~/utils/format'; import { registerRequest } from '~/store/modules/registrations/actions'; import { ControlElement } from './styles'; import { Container, Header, Content, StudentTable, ButtonDelete, } from '../_layout/default/styles'; export default function CreateRegistrations() { const dispatch = useDispatch(); const [plans, setPlans] = useState([]); const [choosedPlan, setChoosedPlan] = useState(''); const [priceFormated, setPriceFormated] = useState(''); const [startDate, setStartDate] = useState(''); useEffect(() => { async function loadlans() { const response = await api.get('plans'); setPlans(response.data); } loadlans(); }, []); const endDate = useMemo(() => { if (choosedPlan !== '' && startDate !== '') { const endDateFormatted = addMonths(startDate, choosedPlan.duration); setPriceFormated( formatPrice(choosedPlan.price * choosedPlan.duration) ); return format(endDateFormatted, "dd'/'MM'/'Y", { locale: pt }); } return ''; }, [choosedPlan, startDate]); const filterStudents = inputValue => { async function loadStudents() { const response = await api.get(`students?q=${inputValue}`); return response.data; } return loadStudents(); }; const promiseOptions = inputValue => new Promise(resolve => { setTimeout(() => { resolve(filterStudents(inputValue)); }, 200); }); function handleSubmit(data) { dispatch(registerRequest(data)); } return ( <Container> <Form onSubmit={handleSubmit}> <Header> <strong>Edit a enrollment</strong> <aside> <Link to="/enrollments"> <button type="button">RETURN</button> </Link> <button type="submit">SAVE</button> </aside> </Header> <Content> <div className="editRow"> <ControlElement> <Label>STUDENT</Label> <div className="selectStudent"> <ReactAsyncSelect name="student_id" options={promiseOptions} /> </div> </ControlElement> </div> <div className="editColumn"> <ControlElement> <Label>PLAN</Label> <div className="selectElement"> <ReactSelect name="plan_id" placeholder="Choose a plan" className="basic-single" classNamePrefix="select" onChange={plan => setChoosedPlan(plan)} options={plans} /> </div> </ControlElement> <ControlElement> <Label>START DATE</Label> <DatePicker name="start_date" placeholder="Start date" onChangeDate={data => setStartDate(data)} /> </ControlElement> <ControlElement> <Label>END DATE</Label> <Input name="end_date" value={endDate} readOnly /> </ControlElement> <ControlElement> <Label>TOTAL PRICE</Label> <Input name="price" type="text" value={priceFormated} readOnly /> </ControlElement> </div> </Content> </Form> </Container> ); }
/* Author: Jeremy Espinosa File Name: requestData.js Description: 1. Requesting the data to the backend (PHP) and retrieve the converted data into json 2. Passing the data to the Handlebar Template 3. Then initialize the callback function most of it are initialization of functions / plugins, because the the functions will not work if the template is not yet rendered. */ var AVATAR = AVATAR || {}; (function($){ "use strict"; AVATAR.requestData = { init: function() { var self; self = AVATAR.requestData; self.dataCongfig(); if($(".avatar-library").length) { //need to request data from database which will return json to the handlebar to output this.getData(self.libraryConfig); } if($(".avatar-gallery").length) { //need to request data from database which will return json to the handlebar to output this.getData(self.galleryConfig); } if($(".avatar-favorites").length) { //need to request data from database which will return json to the handlebar to output this.getData(self.favoritesConfig); } }, dataCongfig: function() { this.libraryConfig = { url: "get/getAllLibrary", method: "get", containerClass: "avatar-library", templateId: "hb-avatar-lists", data: { }, callback: function() { AVATAR.downloads.init(); AVATAR.favorites.init(); AVATAR.pagination.init(); AVATAR.popover.init(); AVATAR.thumbnailModal.init(); } }; this.galleryConfig = { url: "get/getAllMyGallery", method: "get", containerClass: "avatar-gallery", templateId: "hb-avatar-lists", data: { // requestId: "getAllMyGallery" }, callback: function() { AVATAR.downloads.init(); AVATAR.favorites.init(); AVATAR.pagination.init(); AVATAR.popover.init(); AVATAR.thumbnailModal.init(); } }; this.favoritesConfig = { url: "get/getAllMyFavoritesInAllTable", method: "get", containerClass: "avatar-favorites", templateId: "hb-avatar-lists", data: { // requestId: "getAllMyFavoritesInAllTable" }, callback: function() { AVATAR.favorites.init(); AVATAR.downloads.init(); AVATAR.pagination.init(); AVATAR.popover.init(); AVATAR.thumbnailModal.init(); } }; }, getData: function(config) { var self; self = AVATAR.requestData; $.ajax({ url: config.url, method: config.method, data: config.data, success: function(data) { console.log(data); //create a handlebar to create this self.template(config.containerClass, config.templateId, data); // console.log(data); } }).done(function() { //must load this after creating the template //for the function to work config.callback(); }); }, template: function(containerClass, templateId, data) { var $container, template, templateScript, html; $container = $("." + containerClass); template = $("#" + templateId).html(); templateScript = Handlebars.compile(template); // catching if the json is valid or not try { html = templateScript($.parseJSON(data)); } catch(e) { html = templateScript(data); } if($container.find(".hb-wrapper").length) { $container.find('.hb-wrapper').remove().promise().done(function() { $container.append(html); }); } else { $container.append(html); } } } $(function() { AVATAR.requestData.init(); }); })(jQuery);
/* This file is part of web3.js. web3.js 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 of the License, or (at your option) any later version. web3.js is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with web3.js. If not, see <http://www.gnu.org/licenses/>. */ /** * @file allevents.js * @author Marek Kotewicz <marek@ethdev.com> * @date 2014 */ var sha3 = require('../utils/sha3'); var SolidityEvent = require('./event'); var formatters = require('./formatters'); var utils = require('../utils/utils'); var Filter = require('./filter'); var watches = require('./methods/watches'); var AllSolidityEvents = function (requestManager, json, address) { this._requestManager = requestManager; this._json = json; this._address = address; }; AllSolidityEvents.prototype.encode = function (options) { options = options || {}; var result = {}; ['fromBlock', 'toBlock'].filter(function (f) { return options[f] !== undefined; }).forEach(function (f) { result[f] = formatters.inputBlockNumberFormatter(options[f]); }); result.address = this._address; return result; }; AllSolidityEvents.prototype.decode = function (data) { data.data = data.data || ''; data.topics = data.topics || []; var eventTopic = data.topics[0].slice(2); var match = this._json.filter(function (j) { return eventTopic === sha3(utils.transformToFullName(j)); })[0]; if (!match) { // cannot find matching event? console.warn('cannot find event for log'); return data; } var event = new SolidityEvent(this._requestManager, match, this._address); return event.decode(data); }; AllSolidityEvents.prototype.execute = function (options, callback) { if (utils.isFunction(arguments[arguments.length - 1])) { callback = arguments[arguments.length - 1]; if(arguments.length === 1) options = null; } var o = this.encode(options); var formatter = this.decode.bind(this); return new Filter(this._requestManager, o, watches.eth(), formatter, callback); }; AllSolidityEvents.prototype.attachToContract = function (contract) { var execute = this.execute.bind(this); contract.allEvents = execute; }; module.exports = AllSolidityEvents;
var _ = require('underscore'), fs = require('fs-extra'), glob = require('glob'), path = require('path'), yaml = require('js-yaml'); // Please see the Grunt documentation for more information regarding task // creation: http://gruntjs.com/creating-tasks module.exports = function(grunt) { var root = path.join(__dirname, '..', '..'), src = path.join(root, 'client'), dest = path.join(root, 'public'); grunt.registerTask('precompileYamlFiles', 'Compile YAML files from the "clients" directory into the "public" directory', function() { var files = glob.sync('**/*.yml', { cwd: src }); _.each(files, function(file) { var srcFile = path.join(src, file), destFilename = file.replace(/\.yml$/, '.json'), destFile = path.join(dest, destFilename), contents = fs.readFileSync(srcFile, { encoding: 'utf-8' }), data = yaml.safeLoad(contents); fs.mkdirsSync(path.dirname(destFile)); fs.writeFileSync(destFile, JSON.stringify(data)); grunt.log.ok(path.join('client', file) + ' -> ' + path.join('public', destFilename)); }); }); };
import angular from 'angular'; import IconNG from '../icon-ng/icon-ng'; import '../error-message-ng/error-message-ng.scss'; /** * @name Error Message Ng * @category Legacy Angular * @description Displays an error message. * @example <example name="Error Message Ng"> <file name="index.html" disable-auto-size> <div ng-app="ExampleApp" ng-strict-di ng-controller="DemoCtrl"> <rg-error-message code="Disconnected" message="No, no one\'s there." icon="{{errorIcon}}" links="[{href:'.',text:'home'}]"> Service backend isn't available </rg-error-message> </div> </file> <file name="index.js"> import angular from 'angular'; import errorMessageNg from '@jetbrains/ring-ui/components/error-message-ng/error-message-ng'; import {FrownIcon} from '@jetbrains/ring-ui/components/icon'; angular.module('ExampleApp', [errorMessageNg]). controller('DemoCtrl', function($scope) { $scope.errorIcon = FrownIcon; }); </file> </example> */ const angularModule = angular.module('Ring.error-message', [IconNG]); angularModule.directive('rgErrorMessage', function rgErrorMessageDirective() { return { replace: true, transclude: true, template: require('./error-message-ng.html'), restrict: 'E', scope: { code: '@', message: '@', links: '=', icon: '@' } }; }); export default angularModule.name;
var searchData= [ ['r',['r',['../structmpcdi_1_1_n_o_d_e.html#ae38b650a5d7fb7a8bc1318148e3f80ec',1,'mpcdi::NODE']]], ['read',['Read',['../classmpcdi_1_1_pfm_i_o.html#a2a1e7120cfbd2594e0adf867c11de970',1,'mpcdi::PfmIO::Read(std::string fileName, mpcdi::PFM *&amp;pfm)'],['../classmpcdi_1_1_pfm_i_o.html#af694b93cc37e63b53c2c2f2648055b79',1,'mpcdi::PfmIO::Read(std::istream &amp;source, mpcdi::PFM *&amp;pfm)'],['../classmpcdi_1_1_p_n_g_read_write.html#a2db44a7769a6ae61652bc6ddb2ffc9f6',1,'mpcdi::PNGReadWrite::Read(std::string fileName, mpcdi::DataMap *&amp;dataMap)'],['../classmpcdi_1_1_p_n_g_read_write.html#acd0eaddd28f8e4fd827d6c53ee976beb',1,'mpcdi::PNGReadWrite::Read(std::istream &amp;source, mpcdi::DataMap *&amp;dataMap)'],['../classmpcdi_1_1_reader.html#a8c662770fa2379c20dd15786a0715fd1',1,'mpcdi::Reader::Read(std::istream &amp;is, Profile *profile)=0'],['../classmpcdi_1_1_reader.html#a79a2956dd54d4389603fc99e4d5bb2fe',1,'mpcdi::Reader::Read(std::string FileName, Profile *profile)=0'],['../classmpcdi_1_1_reader_intern.html#ab36a11a4689b085a998fa6c9f39c7369',1,'mpcdi::ReaderIntern::Read(std::istream &amp;is, Profile *profile)'],['../classmpcdi_1_1_reader_intern.html#a712956bca07cf9d657446da81cdce63c',1,'mpcdi::ReaderIntern::Read(std::string FileName, Profile *profile)']]], ['readalphamap1_5f0',['ReadAlphaMap1_0',['../classmpcdi_1_1_reader_intern.html#a645b7f0cfe91f72aea353d2334608fcc',1,'mpcdi::ReaderIntern']]], ['readbetamap1_5f0',['ReadBetaMap1_0',['../classmpcdi_1_1_reader_intern.html#a920b8eb679fe34284dab5b5d3f041cd6',1,'mpcdi::ReaderIntern']]], ['readbuffer1_5f0',['ReadBuffer1_0',['../classmpcdi_1_1_reader_intern.html#a0fb58682246db418f6b1e052f17fa1aa',1,'mpcdi::ReaderIntern']]], ['readcoordinateframe1_5f0',['ReadCoordinateFrame1_0',['../classmpcdi_1_1_reader_intern.html#a47597098088bd2dfa6d812cf3c0d82ac',1,'mpcdi::ReaderIntern']]], ['readdatamap',['ReadDataMap',['../classmpcdi_1_1_reader_intern.html#a59b8b22b9bc7cf227639ce3744826618',1,'mpcdi::ReaderIntern']]], ['readdisplay1_5f0',['ReadDisplay1_0',['../classmpcdi_1_1_reader_intern.html#a9b5c36bfa27868fdd48d5b13dd218caa',1,'mpcdi::ReaderIntern']]], ['readdistortionmapfile1_5f0',['ReadDistortionMapFile1_0',['../classmpcdi_1_1_reader_intern.html#a26bcf2e78e501f0fc67f10096fe01c7a',1,'mpcdi::ReaderIntern']]], ['reader',['Reader',['../classmpcdi_1_1_reader.html',1,'mpcdi']]], ['readerintern',['ReaderIntern',['../classmpcdi_1_1_reader_intern.html',1,'mpcdi']]], ['readerintern',['ReaderIntern',['../classmpcdi_1_1_reader_intern.html#a176d14c95e3842264bec3700675ec59b',1,'mpcdi::ReaderIntern']]], ['readfileset1_5f0',['ReadFileSet1_0',['../classmpcdi_1_1_reader_intern.html#a5df4e57383bf7f16bfc4ee6ca58d485d',1,'mpcdi::ReaderIntern']]], ['readfrustum1_5f0',['ReadFrustum1_0',['../classmpcdi_1_1_reader_intern.html#aa641265fe1ab630c3a97fb8c8ad9c532',1,'mpcdi::ReaderIntern']]], ['readgeometrywarpfile1_5f0',['ReadGeometryWarpFile1_0',['../classmpcdi_1_1_reader_intern.html#a210121325302dce5787806c986c95a0d',1,'mpcdi::ReaderIntern']]], ['readmpcd',['ReadMPCD',['../classmpcdi_1_1_reader_intern.html#a700345b4736f2b42ea04d22e3a757f90',1,'mpcdi::ReaderIntern']]], ['readmpcdversion1_5f0',['ReadMPCDVersion1_0',['../classmpcdi_1_1_reader_intern.html#ab6dca472307347ded2ff02f816bfb0e6',1,'mpcdi::ReaderIntern']]], ['readpfm',['ReadPFM',['../classmpcdi_1_1_reader_intern.html#a473a64db549dad97867ba433d0bc9e93',1,'mpcdi::ReaderIntern']]], ['readprofile1_5f0',['ReadProfile1_0',['../classmpcdi_1_1_reader_intern.html#a193e31995c36a1b5c3fd25da5013d4f7',1,'mpcdi::ReaderIntern']]], ['readregion',['ReadRegion',['../classmpcdi_1_1_reader_intern.html#aade751e98e8255693832b739422cca11',1,'mpcdi::ReaderIntern']]], ['readtest',['ReadTest',['../_read_write_example_8cpp.html#a666d3e37ac936edda33d1aeb09f1e081',1,'ReadWriteExample.cpp']]], ['readwriteexample_2ecpp',['ReadWriteExample.cpp',['../_read_write_example_8cpp.html',1,'']]], ['region',['Region',['../structmpcdi_1_1_region.html',1,'mpcdi']]], ['region',['Region',['../structmpcdi_1_1_region.html#a9694901c2d2eb25626593e18f92218d3',1,'mpcdi::Region']]], ['regioniterator',['RegionIterator',['../structmpcdi_1_1_buffer.html#ac0d4f9b845df1f468dbbaa66aa4e1911',1,'mpcdi::Buffer']]], ['regionpair',['RegionPair',['../structmpcdi_1_1_buffer.html#a0252e0ad06d427ff0f9e66ce1a24c03f',1,'mpcdi::Buffer']]], ['returncustomerrormacro',['ReturnCustomErrorMacro',['../mpcdi_error_helper_8h.html#a161deee40f07eb9673a703bbe9772509',1,'mpcdiErrorHelper.h']]] ];
// install : cordova plugin add de.appplant.cordova.plugin.printer // link : https://github.com/katzer/cordova-plugin-printer angular.module('ngCordova.plugins.printer', []) .factory('$cordovaPrinter', ['$q', function ($q) { return { isAvailable: function () { var d = $q.defer(); window.plugin.printer.isServiceAvailable(function (isAvailable) { d.resolve(isAvailable); }); return d.promise; }, print: function (doc) { window.plugin.printer.print(doc); } } } ]);
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _Flex = _interopRequireDefault(require("../Flex")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _extends() { _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]; } } } return target; }; return _extends.apply(this, arguments); } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } var StyledAutoCompleteValueContainer = function StyledAutoCompleteValueContainer(_ref) { var cx = _ref.cx, innerProps = _ref.innerProps, children = _ref.children, props = _objectWithoutProperties(_ref, ["cx", "innerProps", "children"]); return /*#__PURE__*/_react["default"].createElement(_Flex["default"], _extends({ flex: "1", flexWrap: "wrap", gridGap: "smallest" }, _objectSpread(_objectSpread({}, innerProps), props)), children); }; StyledAutoCompleteValueContainer.propTypes = { cx: _propTypes["default"].func.isRequired, children: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].arrayOf(_propTypes["default"].node)]).isRequired, innerProps: _propTypes["default"].object // eslint-disable-line react/forbid-prop-types }; StyledAutoCompleteValueContainer.defaultProps = { innerProps: {} }; var _default = StyledAutoCompleteValueContainer; exports["default"] = _default;
// eslint-disable-next-line import { UserLayout, BasicLayout, PageView, BlankLayout } from '@/layouts' // market 市场管理,暂时去掉 import { index, account, set, application, code, robot, order } from '@/core/icons' const RouteView = { name: 'RouteView', render: (h) => h('router-view') } export const asyncRouterMap = [ { path: '/', name: 'index', component: BasicLayout, meta: { title: '首页' }, redirect: '/home/index', children: [ // index { path: '/home', name: 'home', redirect: '/home/index', component: RouteView, hideChildrenInMenu: true, meta: { icon: index, title: '仪表盘', keepAlive: false, permission: ['index'] }, children: [ { path: '/home/index', name: 'HomeIndex', meta: { title: '仪表盘', keepAlive: true, permission: ['index'] }, component: () => import('@/views/index/index') } ] }, // 账号管理 { path: '/account', name: 'account', redirect: '/account/list', component: RouteView, hideChildrenInMenu: true, meta: { icon: account, title: '账号管理', keepAlive: false, permission: ['account'] }, children: [ { path: '/account/list', name: 'accountList', meta: { title: '账号管理', keepAlive: true, permission: ['account'] }, component: () => import('@/views/account/list') }, { path: '/account/detail', name: 'accountDetail', meta: { title: '账号管理详情', keepAlive: true, permission: ['account'] }, component: () => import('@/views/account/detail') } ] }, // 专有云账号管理 { path: '/account', name: 'account', redirect: '/account/list', component: RouteView, hideChildrenInMenu: true, meta: { icon: account, title: '账号管理', keepAlive: false, permission: ['pertaccount'] }, children: [ { path: '/account/list', name: 'accountList', meta: { title: '账号管理', keepAlive: true, permission: ['pertaccount'] }, component: () => import('@/views/account/list1') }, { path: '/account/detail', name: 'accountDetail', meta: { title: '账号管理详情', keepAlive: true, permission: ['pertaccount'] }, component: () => import('@/views/account/detail') } ] }, // 调度中心 { path: '/plans', name: 'plans', redirect: '/plans/list', component: RouteView, meta: { icon: robot, title: '调度中心', keepAlive: false, permission: ['robot_name'] }, children: [ { path: '/robot/list', name: 'robotList', meta: { title: '机器人管理', keepAlive: true, permission: ['robot'] }, component: () => import('@/views/dispatch/robot/list') }, { path: '/plans/list', name: 'plansList', hideChildrenInMenu: true, component: RouteView, meta: { title: '计划执行', keepAlive: true, permission: ['plans'] }, children: [ { path: '/plans/list', name: 'plansList', hideChildrenInMenu: true, meta: { title: '计划执行', keepAlive: true, permission: ['plans'] }, component: () => import('@/views/dispatch/plans/list') }, { path: '/plans/add', name: 'plansAdd', meta: { title: '新建计划', keepAlive: true, permission: ['plans'] }, component: () => import('@/views/dispatch/plans/add') } ] } // { // path: '/task/list', // name: 'taskList', // meta: { // title: '任务列表', // keepAlive: true, // permission: ['task'] // }, // component: () => import('@/views/dispatch/task/list') // } ] }, // 应用管理 { path: '/application', name: 'application', redirect: '/application/list', component: RouteView, hideChildrenInMenu: true, meta: { icon: application, title: '应用管理', keepAlive: false, permission: ['Application'] }, children: [ { path: '/application/list', name: 'applicationList', meta: { title: '应用管理', keepAlive: true, permission: ['Application'] }, component: () => import('@/views/application/list') }, { path: '/application/detail', name: 'applicationDetail', meta: { title: '应用管理详情', keepAlive: true, permission: ['Application'] }, component: () => import('@/views/application/detail') } ] }, // 市场管理 // { // path: '/market', // name: 'market', // redirect: '/market/list', // component: RouteView, // hideChildrenInMenu: true, // meta: { // icon: market, // title: '市场管理', // keepAlive: false, // permission: ['market'] // }, // children: [ // { // path: '/market/list', // name: 'marketList', // meta: { // title: '市场管理', // keepAlive: true, // permission: ['market'] // }, // component: () => import('@/views/market/list') // } // ] // }, // 订单管理 { path: '/order', component: RouteView, name: 'order', redirect: '/order/list', hideChildrenInMenu: true, meta: { icon: order, title: '订单管理', keepAlive: false, permission: ['order'] }, children: [ { path: '/order/list', nama: 'orderList', meta: { title: '订单管理', keepAlive: true, permission: ['order'] }, component: () => import('@/views/order/list') } ] }, // 激活码 { path: '/author', component: RouteView, name: 'author', redirect: '/author/list', hideChildrenInMenu: true, meta: { icon: code, title: '激活码', keepAlive: false, permission: ['Authorization'] }, children: [ { path: '/author/list', nama: 'Authorization', meta: { title: '激活码', keepAlive: true, permission: ['Authorization'] }, component: () => import('@/views/author/list') }, { path: '/author/tripartite', nama: 'tripartite', meta: { title: '企业管理', keepAlive: true, permission: ['tripartite'] }, component: () => import('@/views/author/tripartite') } ] }, // 许可证列表 { path: '/licence', component: RouteView, name: 'licence', redirect: '/licence/list', hideChildrenInMenu: true, meta: { icon: set, title: '许可证列表', keepAlive: false, permission: ['licence'] }, children: [ { path: '/licence/list', nama: 'licenceList', meta: { title: '许可证列表', keepAlive: true, permission: ['licence'] }, component: () => import('@/views/licence/list') } ] }, // 客户端版本管理 { path: '/Client', component: RouteView, name: 'Client', redirect: '/Clientversion/list', hideChildrenInMenu: true, meta: { icon: set, title: '客户端版本', keepAlive: false, permission: ['Clientversion'] }, children: [ { path: '/Clientversion/list', nama: 'Clientversion', meta: { title: '客户端版本', keepAlive: true, permission: ['Clientversion'] }, component: () => import('@/views/Clientversion/list') } ] }, // Python包管理 { path: '/Python', component: RouteView, name: 'Python', redirect: '/Python/list', hideChildrenInMenu: true, meta: { icon: set, title: 'Python包管理', keepAlive: false, permission: ['PythonList'] }, children: [ { path: '/Python/list', nama: 'PythonList', meta: { title: 'Python包管理', keepAlive: true, permission: ['PythonList'] }, component: () => import('@/views/Python/list') } ] }, // 审批管理 { path: '/client', component: RouteView, name: 'approval', redirect: '/client/approval', hideChildrenInMenu: true, meta: { icon: set, title: '审批管理', keepAlive: false, permission: ['approval'] }, children: [ { path: '/client/approval', nama: 'approvalList', meta: { title: '审批管理', keepAlive: true, permission: ['approval'] }, component: () => import('@/views/client/components/approval') } ] }, // { // path: '/setting', // component: RouteView, // name: 'setting', // redirect: '/setting/security', // hideChildrenInMenu: true, // meta: { // icon: set, // title: '设置', // keepAlive: false, // permission: ['setting'] // }, // children: [ // { // path: '/setting/index', // nama: 'index', // meta: { // title: '设置', // keepAlive: true, // permission: ['setting'] // }, // component: () => import('@/views/setting/index'), // hideChildrenInMenu: true, // redirect: '/setting/security', // children: [ // { // path: '/setting/security', // name: 'settingSecurity', // meta: { // title: '设置', // keepAlive: true // }, // component: () => import('@/views/setting/security') // } // ] // } // ] // } // 设置 { path: '/setting', component: RouteView, name: 'setting', redirect: '/setting/security', hideChildrenInMenu: true, meta: { icon: set, title: '设置', keepAlive: false, permission: ['setting'] }, children: [ { path: '/setting/security', nama: 'settingSecurity', meta: { title: '设置', keepAlive: true, permission: ['setting'] }, component: () => import('@/views/setting/security') } ] } ] } ] /** * 基础路由 * @type { *[] } */ export const constantRouterMap = [ { path: '/user', component: UserLayout, redirect: '/user/login', hidden: true, children: [ { path: 'login', name: 'login', component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login') }, { path: 'recover', name: 'recover', component: undefined } ] }, { path: '/client', component: RouteView, name: 'approval', redirect: '/client/approval', hideChildrenInMenu: true, meta: { icon: set, title: '审批管理', keepAlive: false, permission: ['approval'] }, children: [ { path: '/client/approval', nama: 'approvalList', meta: { title: '审批管理', keepAlive: true, permission: ['approval'] }, component: () => import('@/views/client/components/approval') } ] }, { path: '/client', name: 'client', component: RouteView, redirect: '/client/enterprise/index', hidden: true, children: [ { path: '/client/enterprise/index', name: 'client', component: () => import('@/views/client/enterprise/index') } ] }, { path: '/client', name: 'invitation', component: RouteView, redirect: '/s', hidden: true, children: [ { meta: { title: '用户分享', keepAlive: true }, path: '/s', name: 'invitation', component: () => import('@/views/client/invitation/enterprise') } ] }, { path: '/client', name: 'success', component: RouteView, redirect: '/client/invitation/success', hidden: true, children: [ { path: '/client/invitation/success', name: 'success', component: () => import('@/views/client/invitation/success') } ] }, { path: '/404', component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') } ]
var NAVTREEINDEX9 = { "a00170.html#a04f5873776c784cafd55b4ac05b4b757":[3,0,1,185,4], "a00170.html#a2743c4c486e80127e8eca591ee3ffbed":[3,0,1,185,1], "a00170.html#a35453b054509f5679a29a06b59340cf1":[3,0,1,185,5], "a00170.html#a3b3777f359b34892f33784d73cb62234":[3,0,1,185,3], "a00170.html#a4d27f5d0beaa35e1e4a5f0ef8974c5a6":[3,0,1,185,9], "a00170.html#a5fb0fe8b056bad2171f84922c5184ef1":[3,0,1,185,2], "a00170.html#a8c2961991a7f2b253874612fc8124c09":[3,0,1,185,0], "a00170.html#a9640bbbb433383f0b40b5c2d9439415e":[3,0,1,185,10], "a00170.html#a9aa6dcd7db6734479e2212213b021ec1":[3,0,1,185,7], "a00170.html#ab629a5dc71461efe61d68faaf5a659f3":[3,0,1,185,6], "a00170.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,185,11], "a00170.html#ae3b88b40b4ee6e9af9eefcde77bf9768":[3,0,1,185,8], "a00171.html":[3,0,1,186], "a00171.html#a0bf4383cea2cdb0d263e570e98499ac7":[3,0,1,186,5], "a00171.html#a45c5f50294af1756fac4d4f59b7e31e5":[3,0,1,186,0], "a00171.html#a4b4dcb0572c11a2f920b67d0ca7ac8b7":[3,0,1,186,7], "a00171.html#a535f2bec61538509696513b2ab6bbf0b":[3,0,1,186,9], "a00171.html#a78613881d348f96be1a158b9bb812950":[3,0,1,186,8], "a00171.html#a85e11c8ae6f70e0bdf17f9b6405e6501":[3,0,1,186,2], "a00171.html#a91a0dfdc66913a71ba5daea0ac681745":[3,0,1,186,1], "a00171.html#a9924ba92623c9a10a286ddd1a8b33f2e":[3,0,1,186,4], "a00171.html#aaa8424af6ceb0ce3458efe56d52d5187":[3,0,1,186,3], "a00171.html#aab8e3316ef77cecc1bd1909a2c0eed33":[3,0,1,186,12], "a00171.html#ac2a8e8247e7d55768915fac27a4c078c":[3,0,1,186,6], "a00171.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,186,13], "a00171.html#ae8722af2eb7ac282ba82e49fca1264e1":[3,0,1,186,11], "a00171.html#af049e3934c4588d78810051272bdd995":[3,0,1,186,10], "a00172.html":[3,0,1,187], "a00172.html#a372757bbf75dee8eaf33b479b31f06a1":[3,0,1,187,1], "a00172.html#a3e53af328261232767713e26fa0d35d5":[3,0,1,187,8], "a00172.html#a4339880be87fa2a533aa07324481f7b6":[3,0,1,187,10], "a00172.html#a5e4197ee6a113e77d2abc1dbbebb0857":[3,0,1,187,9], "a00172.html#a65adc8d1272df63390168b26f4f7bc70":[3,0,1,187,6], "a00172.html#a6a79ae22fc40447c8dc183a951243440":[3,0,1,187,14], "a00172.html#a6ca1a804d790e17f108c8e14df2c5077":[3,0,1,187,5], "a00172.html#a6d9ee65e09dfe61a663c60d97f01b341":[3,0,1,187,13], "a00172.html#a846f05b113e5553fe7b42a9a49906f98":[3,0,1,187,0], "a00172.html#a8ce3daa05897e12db9e38a9c96043ce3":[3,0,1,187,7], "a00172.html#aa07132c1d7f42154fafd026c702ca240":[3,0,1,187,4], "a00172.html#aafd5bc6e588c7e1084897814831713c5":[3,0,1,187,3], "a00172.html#ac1111c7becb0904f141dc07eff1a4e7c":[3,0,1,187,12], "a00172.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,187,15], "a00172.html#acb1d3940d9b5ee1aa7c9c3c3c1a21ed9":[3,0,1,187,11], "a00172.html#ae43138cc390ef4b2956e334f160df42e":[3,0,1,187,2], "a00173.html":[3,0,1,188], "a00173.html#a01d2e8a5253a67ceac02320a719c5280":[3,0,1,188,8], "a00173.html#a028c4fbddfe09a66ac3780e23bd25fcd":[3,0,1,188,13], "a00173.html#a19020d6d909366475872911b6dfc16df":[3,0,1,188,1], "a00173.html#a23886196ba086677b1e2168e17a34280":[3,0,1,188,11], "a00173.html#a424c4633f6c1907d0dd3381cffbed82a":[3,0,1,188,7], "a00173.html#a464749bd22a65ee29f99452f194eaf54":[3,0,1,188,12], "a00173.html#a4e272b4742d0477f444995ec73e097c7":[3,0,1,188,5], "a00173.html#a514869f1357a9e05118bfab0c6fa97e2":[3,0,1,188,2], "a00173.html#a529d24a558fe3e6bd1dc4839c9778f0c":[3,0,1,188,15], "a00173.html#a594617cffc3d1a9985cd64e34936a7f5":[3,0,1,188,0], "a00173.html#a701b7a764f18310b4eea14ee023c922b":[3,0,1,188,16], "a00173.html#aac1933a0fa685709867f12cb636c98d3":[3,0,1,188,14], "a00173.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,188,17], "a00173.html#ad9181205117e8efb56ebe4f297645d3e":[3,0,1,188,3], "a00173.html#ae16654ff529ddcfedd1b394f7716412d":[3,0,1,188,9], "a00173.html#aeb3efb9dbda7a2fef53c55a4513ab4ec":[3,0,1,188,4], "a00173.html#af0adaca3d551e42404aaf98c3053b009":[3,0,1,188,10], "a00173.html#afaf024c990892895e5f5ed0b34758f27":[3,0,1,188,6], "a00174.html":[3,0,1,189], "a00174.html#a15bcca054e397e486fb9dda0d0436cdb":[3,0,1,189,8], "a00174.html#a16a7857c857694bc66e19f455ad90a57":[3,0,1,189,17], "a00174.html#a2a90aff22e4bd88dae81bf824956a113":[3,0,1,189,5], "a00174.html#a369d9accd53012d84bbbaf87b176222b":[3,0,1,189,2], "a00174.html#a37bbec5754c7c6bd7cee9b3e94d9cbb1":[3,0,1,189,14], "a00174.html#a57f3ba7d334871bcb688727788ac95d3":[3,0,1,189,13], "a00174.html#a587ce14373742350ff30a78c856ecaa0":[3,0,1,189,12], "a00174.html#a6107bc96fff5d12783429158e79b9390":[3,0,1,189,3], "a00174.html#a675e3df6fed6189dd9b8977907348960":[3,0,1,189,15], "a00174.html#a6939c52138ed37f395a57db8b50c71ec":[3,0,1,189,1], "a00174.html#a76c477f40c2b911a9f28d456ea9164a2":[3,0,1,189,4], "a00174.html#a896a223b88b621bfe9f45bf8e2cd9960":[3,0,1,189,11], "a00174.html#a926065f63458a5673888e0b53054061d":[3,0,1,189,16], "a00174.html#a945d269f9a722d585e3332be23030450":[3,0,1,189,18], "a00174.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,189,19], "a00174.html#ad3d89a85f0c70d7a424f2060d514cab9":[3,0,1,189,9], "a00174.html#ad4a36f4c5b39c0ea03806592fc1c3474":[3,0,1,189,0], "a00174.html#ad62b1867b67dee83e8733392a0aa579b":[3,0,1,189,10], "a00174.html#ae13e19a4b3a7a331d04d5b460e73216f":[3,0,1,189,6], "a00174.html#af44204ef6947a65b973dee5707495601":[3,0,1,189,7], "a00175.html":[3,0,1,177], "a00175.html#a000f40c36885488d934b7dac731a93ab":[3,0,1,177,0], "a00175.html#a04991e99b4d2d8975de6ab597ec620c1":[3,0,1,177,2], "a00175.html#a0a55af6825186120f65067cd0deb9507":[3,0,1,177,11], "a00175.html#a47824e55ee6d35bb3fff25f02778e6d3":[3,0,1,177,7], "a00175.html#a69d27d70d2e946d61d7dcb745e1ec81a":[3,0,1,177,5], "a00175.html#a72e1dfeb351df06f450cff32c48eee2b":[3,0,1,177,6], "a00175.html#a8f845cc802ea938cd9d81cd23bbc4db7":[3,0,1,177,9], "a00175.html#aa7efc61484f08c6bcf4c916578333587":[3,0,1,177,1], "a00175.html#adcdbda12c7ef744763c23e7e7864238f":[3,0,1,177,8], "a00175.html#ae7d179c3c81282b9acbe6ef084a8c186":[3,0,1,177,10], "a00175.html#af47b0b5ac48aa14d7463796ce84eedf5":[3,0,1,177,3], "a00175.html#afdd9a2c13cf10cd09e1631de75c04c70":[3,0,1,177,4], "a00176.html":[3,0,1,176], "a00176.html#a47bc1d1e75dffe00db1a3adb5943986d":[3,0,1,176,0], "a00176.html#a71f78c728161e12b3b19d3c741629293":[3,0,1,176,1], "a00177.html":[3,0,1,178], "a00177.html#a117f0295401501aa39ea2ef9ebbdab08":[3,0,1,178,9], "a00177.html#a14d43289cab9aef77aeb7baa8cce59ad":[3,0,1,178,8], "a00177.html#a1fba323e8d1f274e1d7d4eaf4b6d3655":[3,0,1,178,5], "a00177.html#a1fbdbc55009c272ff77c125fccc89929":[3,0,1,178,4], "a00177.html#a3c42832dfb457819a39366e562e59d36":[3,0,1,178,6], "a00177.html#a4ddf63b7c6c4b6b90c936040a2ae3e64":[3,0,1,178,7], "a00177.html#a4e0cdbdd8fd078728efd1c6cd57a6316":[3,0,1,178,2], "a00177.html#a6641562c13421c003dc60e226b79de54":[3,0,1,178,10], "a00177.html#a889bc82bedc14a8900ae63325b709445":[3,0,1,178,3], "a00177.html#a925972afca1aa82cf9efc736ef7a21d4":[3,0,1,178,1], "a00177.html#a9a608c517b8f17e574b784047afff84e":[3,0,1,178,12], "a00177.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,178,11], "a00177.html#af301bd69bb3a29a1132f33e019d5891a":[3,0,1,178,0], "a00178.html":[3,0,1,179], "a00178.html#a22fbee83dc24b381ecbb1109bc35d38e":[3,0,1,179,0], "a00178.html#a24d5ae010757ab93b0398d0944b6ff72":[3,0,1,179,10], "a00178.html#a31ad92249a611de384edf14d351221a7":[3,0,1,179,13], "a00178.html#a506149df29200050c7ec8c390812d884":[3,0,1,179,8], "a00178.html#a535f9a8ee4d12239d3ff5b812189a02c":[3,0,1,179,6], "a00178.html#a556d7247e0ed8d55d4266cfc935c5676":[3,0,1,179,3], "a00178.html#a7c45b712715c9eb953d7d4c671df432e":[3,0,1,179,9], "a00178.html#a852d310c682c6e720a50dae759002fd1":[3,0,1,179,1], "a00178.html#a900084358bbc4c0a9941261f3b1aadfb":[3,0,1,179,5], "a00178.html#aa331a1cacd4c4c69f2d8386d3f8cd327":[3,0,1,179,4], "a00178.html#ab18a6fc00371da0d3d4310f3054f5c47":[3,0,1,179,7], "a00178.html#ab4f69055e267877a2b778d15fcf965a3":[3,0,1,179,11], "a00178.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,179,12], "a00178.html#acff1715c6a09a200a8b932aa391cf5b7":[3,0,1,179,2], "a00179.html":[3,0,1,180], "a00179.html#a048b07dd50cb3980b1f5bab45c5666af":[3,0,1,180,5], "a00179.html#a28648f47d4402d847b670f0c2895e8b8":[3,0,1,180,7], "a00179.html#a4241fc68993a6345b72ab34689822922":[3,0,1,180,4], "a00179.html#a4bb6b94755d643b8f2138e97f9dbde62":[3,0,1,180,2], "a00179.html#a781481bdbfcafadedff93f12800e1fc4":[3,0,1,180,3], "a00179.html#a9e44c6c4d341352b47c3a04baac42fb0":[3,0,1,180,6], "a00179.html#ac0536c3779c6aa1250d45edeb6b118fb":[3,0,1,180,8], "a00179.html#ac87d6694242835fbc351af764cd5d66d":[3,0,1,180,1], "a00179.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,180,10], "a00179.html#ad4344d80d6df9d9b007803bfd525083f":[3,0,1,180,9], "a00179.html#af07ad5314cb2df782bece57cef73e14c":[3,0,1,180,0], "a00180.html":[3,0,1,182], "a00180.html#a15c628be5e7433ee4ece0c5fd12d049e":[3,0,1,182,2], "a00180.html#a38cdabb3302973815e357bd00573734a":[3,0,1,182,9], "a00180.html#a3b78e8d20d94c6f6945c2465f7fe3fee":[3,0,1,182,11], "a00180.html#a5f0fcf1c93ded207d4a31e8ede07d797":[3,0,1,182,8], "a00180.html#a6a9bdff697b2f74502d5a2b0101b29b5":[3,0,1,182,14], "a00180.html#a758285fe17213cbf9c23b9f42fb960e6":[3,0,1,182,12], "a00180.html#a7c719ae67f222f66569ccb3b526cb9cb":[3,0,1,182,3], "a00180.html#a7e1ca72312cffc5d0a140cbc7cee7ded":[3,0,1,182,6], "a00180.html#a8a7610dba7e9a6f878268c2769ea0e04":[3,0,1,182,4], "a00180.html#a8e67e58ff0e4f9d58f07e5eb227adc52":[3,0,1,182,10], "a00180.html#a95f4d57e8646b6df634496aaabb683b5":[3,0,1,182,13], "a00180.html#aa76bae0d7aeb6591a824daa7c5dc2ac6":[3,0,1,182,0], "a00180.html#aa98a30a78ade8489214ce2e5b8302777":[3,0,1,182,7], "a00180.html#ac457810c504de58732d51d61f715c2de":[3,0,1,182,5], "a00180.html#afab063cca7f2ac8b9a80795516d54396":[3,0,1,182,1], "a00181.html":[3,0,1,191], "a00181.html#a05ec0a5ca8294be8934fbf8315c1345b":[3,0,1,191,15], "a00181.html#a08a2bceb4013a4ffe20c27f76aae7a96":[3,0,1,191,3], "a00181.html#a21910081ed385d4c41bc01a268a7a8d0":[3,0,1,191,13], "a00181.html#a29dc9f7cdd6d6f3cb94c536135254d54":[3,0,1,191,2], "a00181.html#a43084725945d3a15f6c9ae642f5f803a":[3,0,1,191,14], "a00181.html#a48ec0364335a5ebe280c3db57e5774a3":[3,0,1,191,1], "a00181.html#a4c8efe5949a8b2bcddc165264358e4b0":[3,0,1,191,10], "a00181.html#a771a175bd35d1624ca0b633ae72291f8":[3,0,1,191,16], "a00181.html#a955686c166a967d8fc4884d65cd4ce56":[3,0,1,191,5], "a00181.html#aa28a06741d0b57804ed1ee22c496b506":[3,0,1,191,9], "a00181.html#aae26862ce29ab6695f209b4c0ac5f569":[3,0,1,191,0], "a00181.html#ab1ca065994632164fe3986388d847604":[3,0,1,191,4], "a00181.html#ac46f47f647ac235db105cdb7c6359ca5":[3,0,1,191,11], "a00181.html#ac98d07dd8f7b70e16ccb9a01abf56b9c":[3,0,1,191,19], "a00181.html#accfb7f4d521006b560a364f1299f8702":[3,0,1,191,18], "a00181.html#acd147df7d707f0486daf2b9936b08d71":[3,0,1,191,6], "a00181.html#ad9fd4a6167cd53edd03661e21929dacd":[3,0,1,191,7], "a00181.html#ae3c38f64fbff53cd1610029059da0970":[3,0,1,191,8], "a00181.html#af48e8be39fcb9eae4f70e3b60f0c74d6":[3,0,1,191,12], "a00181.html#af4fe6c4a779bbc8b985ffdb6b55c3227":[3,0,1,191,17], "a00182.html":[3,0,1,192], "a00182.html#a11c6752e75625cd1532a5a6503c4d7cd":[3,0,1,192,12], "a00182.html#a177189467b87cc41c92f03e3d73b283e":[3,0,1,192,13], "a00182.html#a34fc007f2d5d613869d217133975d901":[3,0,1,192,1], "a00182.html#a3abd8344c16dc519209aec578a9f56df":[3,0,1,192,14], "a00182.html#a474d68422a20639b8926caa4eec254b4":[3,0,1,192,4], "a00182.html#a47971c703bcfa4893180c796f3e498ae":[3,0,1,192,2], "a00182.html#a529d864386d1de8bf84b4389fc9a59d4":[3,0,1,192,6], "a00182.html#a5d0af6935fc2483ea5f612b974f78597":[3,0,1,192,7], "a00182.html#a70c6267c25926d6ebca5d3caa1e04845":[3,0,1,192,10], "a00182.html#a8098f317cbc91772e3988ae70d775b9c":[3,0,1,192,8], "a00182.html#a837da55a98397202bfd927d2dd26a332":[3,0,1,192,11], "a00182.html#aab0dfdab7d58675bf953220f1369d5d6":[3,0,1,192,5], "a00182.html#abc9c9840bcb83c74912d5cceff049ae7":[3,0,1,192,9], "a00182.html#ac940560235c9c6e7ffd28e8401948ce4":[3,0,1,192,17], "a00182.html#acce79d0a1cb22a2874f3b15c3a2bf0bc":[3,0,1,192,0], "a00182.html#ae53203f6b84dc0f29f9fb52afdc49fd9":[3,0,1,192,18], "a00182.html#aed05de793f4fde627a4c234bbc38a8f2":[3,0,1,192,16], "a00182.html#af086a430e64feb173465e8794a876c52":[3,0,1,192,3], "a00182.html#afd3d7d897197b0a60a8e25dc68c588fd":[3,0,1,192,15], "a00183.html":[3,0,1,194], "a00183.html#a18fccb58fc1890327f3af6424a0c05e5":[3,0,1,194,7], "a00183.html#a27c34013a243e3db4120587c2cb33b11":[3,0,1,194,4], "a00183.html#a3f5f50cd14a0b2862b886f8eb9ffaeeb":[3,0,1,194,10], "a00183.html#a43a2c8945708a723b510610e90a2d13e":[3,0,1,194,3], "a00183.html#a6297e3156d51ab86449f1e254286589e":[3,0,1,194,1], "a00183.html#a6de9dab0f18ddb8766c3c5346f2aa711":[3,0,1,194,9], "a00183.html#a7142764a820ba039a610074f855bce13":[3,0,1,194,13], "a00183.html#a7f69fa0d65bb8cca6344f64b8552e47c":[3,0,1,194,0], "a00183.html#a8a5d9472d016ed784988c88c3a89ba13":[3,0,1,194,8], "a00183.html#a9e52df0eb76e16cbf7f86ba5bad04a6b":[3,0,1,194,12], "a00183.html#acd13b9acb0d502edafac78c63815a9f1":[3,0,1,194,5], "a00183.html#ad16c430cc5fe90bc711dee512460a260":[3,0,1,194,2], "a00183.html#ade894676f4cb99ed05d961046b231faf":[3,0,1,194,6], "a00183.html#afe3e024ac6eae41c8a9378002317200b":[3,0,1,194,11], "a00184.html":[3,0,1,195], "a00184.html#a01f8529b9f7efdd818e0d75134f1ae8b":[3,0,1,195,24], "a00184.html#a03be0edb78a672848a54c3c3587d2908":[3,0,1,195,4], "a00184.html#a0b862409a2478a0e85e23d22d28820f9":[3,0,1,195,12], "a00184.html#a1d03db93ee4016c9d4664faa4fd9d257":[3,0,1,195,18], "a00184.html#a21971e7b985115acab326deeedcfe220":[3,0,1,195,31], "a00184.html#a22f0350290afc3b8f3731b67a4917ea6":[3,0,1,195,26], "a00184.html#a2b085d375ec6effa42e3deaaeab98694":[3,0,1,195,1], "a00184.html#a2b085d375ec6effa42e3deaaeab98694a28688cb2a2d509040b28f49584339976":[3,0,1,195,1,2], "a00184.html#a2b085d375ec6effa42e3deaaeab98694a2f01214f8f0d837ef5ddc61461802e51":[3,0,1,195,1,0], "a00184.html#a2b085d375ec6effa42e3deaaeab98694aaff21a08bfabfcd34d2963125ef60ac6":[3,0,1,195,1,4], "a00184.html#a2b085d375ec6effa42e3deaaeab98694ae0ea8560c40e030d7f87d488edd0cb48":[3,0,1,195,1,3], "a00184.html#a2b085d375ec6effa42e3deaaeab98694ae6c168005355f75d8d62fa1d0f3de11c":[3,0,1,195,1,1], "a00184.html#a2b085d375ec6effa42e3deaaeab98694aeeda71b239a02d5987ec680902f2764a":[3,0,1,195,1,5], "a00184.html#a2b161cb1a485cadc3f591b0dacf7a7dc":[3,0,1,195,2], "a00184.html#a412c9bda5c251eeabd52fbd6cb902e51":[3,0,1,195,17], "a00184.html#a43925d81eb9dce49846894effcffe1b2":[3,0,1,195,16], "a00184.html#a485c77a8db945a892f4588f8ba9b0811":[3,0,1,195,28], "a00184.html#a4d103fcbdff857b83e748011a69490d2":[3,0,1,195,27], "a00184.html#a58afa429d14ebb5bf1d7f9bba24feac9":[3,0,1,195,21], "a00184.html#a68089f362776f7ba20bf74db24b65fb1":[3,0,1,195,14], "a00184.html#a7216676b9e4ef6e7ef4d5dfbf3c28dd5":[3,0,1,195,11], "a00184.html#a88ad935c965912fc6aa77b8624651cc9":[3,0,1,195,13], "a00184.html#a88b60a77b27f44e6525fe0963ee913b1":[3,0,1,195,20], "a00184.html#a89bdf6ecfcd5b598b979297811abcde6":[3,0,1,195,5], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203b":[3,0,1,195,0], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203ba02bccfba6114d08e8cd0f6e18915038b":[3,0,1,195,0,4], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203ba087813b7e257559299bef2643c829b59":[3,0,1,195,0,2], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203ba2f610dd5b3d689c2f0036f50f371613d":[3,0,1,195,0,5], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203ba4cb25a1fff492601faf2c3ab131d3187":[3,0,1,195,0,3], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203ba9e3f9ff1160f9476fc825547a00c9dc2":[3,0,1,195,0,1], "a00184.html#a8eaa669b1681529cdc98d1e7b7b6203bac278a0aecdcaf16db53a3c6c442483a6":[3,0,1,195,0,0], "a00184.html#a9525e668e93fbb60ea4bffeab963629e":[3,0,1,195,30], "a00184.html#a9872369847c8f6abc3825353fcbff789":[3,0,1,195,9], "a00184.html#a9a8847336f487c9b5b8605593b16440a":[3,0,1,195,10], "a00184.html#aa505852f77464ec10c3bc2c25f02c417":[3,0,1,195,6], "a00184.html#aa992901212023b31878f1132960c1f10":[3,0,1,195,8] };
// @flow import * as React from 'react' import {NoticeView} from './notice' export default function LoadingView({text = 'Loading…'}: {text?: string}) { return <NoticeView spinner={true} text={text} /> }
const ringA4C4 = [3,7,10,14,18,21,25,28,32,36,39,43,46,50,54,57,61,64,68,72,75,79,82,86,90,93,97,100,104,108,111,115,118,122,126,129,133,136,140,144,147,151,154,158,162,165,169,173,176,180,183,187,191,194,198,201,205,209,212,216,219,223,227,230,234,237,241,245,248,252,255,259,263,266,270,273,277,281,284,288,291,295,299,302,306,309,313,317,320,324,328,331,335,338,342,346,349,353,356,360,364,367,371,374,378,382,385,389,392,396,400,403,407,410,414,418,421,425,428,432,436,439,443,446,450,454,457,461,464,468,472,475,479,483,486,490,493,497,501,504,508,511,515,519,522,526,529,533,537,540,544,547,551,555,558,562,565,569,573,576,580,583,587,591,594,598,601,605,609,612,616,619,623,627,630,634,637,641,645,648,652,656,659,663,666,670,674,677,681,684,688,692,695,699,702,706,710,713,717,720,724,728,731,735,738,742,746,749,753,756,760,764,767,771,774,778,782,785,789,792,796,800,803,807,811,814,818,821,825,829,832,836,839,843,847,850,854,857,861,865,868,872,875,879,883,886,890,893,897,901,904,908,911,915,919,922,926,929,933,937,940,944,947,951,955,958,962,966,969,973,976,980,984,987,991,994,998,1002,1005,1009,1012,1016,1020,1023,1027,1030,1034,1038,1041,1045,1048,1052,1056,1059,1063,1066,1070,1074,1077,1081,1084,1088,1092,1095,1099,1102,1106,1110,1113,1117,1120,1124,1128,1131,1135,1139,1142,1146,1149,1153,1157,1160,1164,1167,1171,1175,1178,1182,1185,1189,1193,1196,1200,1203,1207,1211,1214,1218,1221,1225,1229,1232,1236,1239,1243,1247,1250,1254,1257,1261,1265,1268,1272,1275,1279,1283,1286,1290,1294,1297,1301,1304,1308,1312,1315,1319,1322,1326,1330,1333,1337,1340,1344,1348,1351,1355,1358,1362,1366,1369,1373,1376,1380,1384,1387,1391,1394,1398,1402,1405,1409,1412,1416,1420,1423,1427,1430,1434,1438,1441,1445,1449,1452,1456,1459,1463,1467,1470,1474,1477,1481,1485,1488,1492,1495,1499,1503,1506,1510,1513,1517,1521,1524,1528,1531,1535,1539,1542,1546,1549,1553,1557,1560,1564,1567,1571,1575,1578,1582,1585,1589,1593,1596,1600,1603,1607,1611,1614,1618,1622,1625,1629,1632,1636,1640,1643,1647,1650,1654,1658,1661,1665,1668,1672,1676,1679,1683,1686,1690,1694,1697,1701,1704,1708,1712,1715,1719,1722,1726,1730,1733,1737,1740,1744,1748,1751,1755,1758,1762,1766,1769,1773,1777,1780,1784,1787,1791,1795,1798,1802,1805,1809,1813,1816,1820,1823,1827,1831,1834,1838,1841,1845,1849,1852,1856,1859,1863,1867,1870,1874,1877,1881,1885,1888,1892,1895,1899,1903,1906,1910,1913,1917,1921,1924,1928,1932,1935,1939,1942,1946,1950,1953,1957,1960,1964,1968,1971,1975,1978,1982,1986,1989,1993,1996,2000,2004,2007,2011,2014,2018,2022,2025,2029,2032,2036,2040,2043,2047,2050,2054,2058,2061,2065,2068,2072,2076,2079,2083,2087,2090,2094,2097,2101,2105,2108,2112,2115,2119,2123,2126,2130,2133,2137,2141,2144,2148,2151,2155,2159,2162,2166,2169,2173,2177,2180,2184,2187,2191,2195,2198,2202,2205,2209,2213,2216,2220,2223,2227,2231,2234,2238,2241,2245,2249,2252,2256,2260,2263,2267,2270,2274,2278,2281,2285,2288,2292,2296,2299,2303,2306,2310,2314,2317,2321,2324,2328,2332,2335,2339,2342,2346,2350,2353,2357,2360,2364,2368,2371,2375,2378,2382,2386,2389,2393,2396,2400,2404,2407,2411,2415,2418,2422,2425,2429,2433,2436,2440,2443,2447,2451,2454,2458,2461,2465,2469,2472,2476,2479,2483,2487,2490,2494,2497,2501,2505,2508,2512,2515,2519,2523,2526,2530,2533,2537,2541,2544,2548,2551,2555,2559,2562,2566,2570,2573,2577,2580,2584,2588,2591,2595,2598,2602,2606,2609,2613,2616,2620,2624,2627,2631,2634,2638,2642,2645,2649,2652,2656,2660,2663,2667,2670,2674,2678,2681,2685,2688,2692,2696,2699,2703,2706,2710,2714,2717,2721,2724,2728,2732,2735,2739,2743,2746,2750,2753,2757,2761,2764,2768,2771,2775,2779,2782,2786,2789,2793,2797,2800,2804,2807,2811,2815,2818,2822,2825,2829,2833,2836,2840,2843,2847,2851,2854,2858,2861,2865,2869,2872,2876,2879,2883,2887,2890,2894,2898,2901,2905,2908,2912,2916,2919,2923,2926,2930,2934,2937,2941,2944,2948,2952,2955,2959,2962,2966,2970,2973,2977,2980,2984,2988,2991,2995,2998,3002,3006,3009,3013,3016,3020,3024,3027,3031,3034,3038,3042,3045,3049,3053,3056,3060,3063,3067,3071,3074,3078,3081,3085,3089,3092,3096,3099,3103,3107,3110,3114,3117,3121,3125,3128,3132,3135,3139,3143,3146,3150,3153,3157,3161,3164,3168,3171,3175,3179,3182,3186,3189,3193,3197,3200,3204,3207,3211,3215,3218,3222,3226,3229,3233,3236,3240,3244,3247,3251,3254,3258,3262,3265,3269,3272,3276,3280,3283,3287,3290,3294,3298,3301,3305,3308,3312,3316,3319,3323,3326,3330,3334,3337,3341,3344,3348,3352,3355,3359,3362,3366,3370,3373,3377,3381,3384,3388,3391,3395,3399,3402,3406,3409,3413,3417,3420,3424,3427,3431,3435,3438,3442,3445,3449,3453,3456,3460,3463,3467,3471,3474,3478,3481,3485,3489,3492,3496,3499,3503,3507,3510,3514,3517,3521,3525,3528,3532,3536,3539,3543,3546,3550,3554,3557,3561,3564,3568,3572,3575,3579,3582,3586,3590,3593,3597,3600,3604,3608,3611,3615,3618,3622,3626,3629,3633,3636,3640,3644,3647,3651,3654,3658,3662,3665,3669,3672,3676,3680,3683,3687,3691,3694,3698,3701,3705,3709,3712,3716,3719,3723,3727,3730,3734,3737,3741,3745,3748,3752,3755,3759,3763,3766,3770,3773,3777,3781,3784,3788,3791,3795,3799,3802,3806,3809,3813,3817,3820,3824,3827,3831,3835,3838,3842,3845,3849,3853,3856,3860,3864,3867,3871,3874,3878,3882,3885,3889,3892,3896,3900,3903,3907,3910,3914,3918,3921,3925,3928,3932,3936,3939,3943,3946,3950,3954,3957,3961,3964,3968,3972,3975,3979,3982,3986,3990,3993,3997,4000,4004,4008,4011,4015,4019,4022,4026,4029,4033,4037,4040,4044,4047,4051,4055,4058,4062,4065,4069,4073,4076,4080,4083,4087,4091,4094,4093,4090,4086,4082,4079,4075,4072,4068,4064,4061,4057,4054,4050,4046,4043,4039,4036,4032,4028,4025,4021,4017,4014,4010,4007,4003,3999,3996,3992,3989,3985,3981,3978,3974,3971,3967,3963,3960,3956,3953,3949,3945,3942,3938,3935,3931,3927,3924,3920,3917,3913,3909,3906,3902,3899,3895,3891,3888,3884,3881,3877,3873,3870,3866,3863,3859,3855,3852,3848,3844,3841,3837,3834,3830,3826,3823,3819,3816,3812,3808,3805,3801,3798,3794,3790,3787,3783,3780,3776,3772,3769,3765,3762,3758,3754,3751,3747,3744,3740,3736,3733,3729,3726,3722,3718,3715,3711,3708,3704,3700,3697,3693,3689,3686,3682,3679,3675,3671,3668,3664,3661,3657,3653,3650,3646,3643,3639,3635,3632,3628,3625,3621,3617,3614,3610,3607,3603,3599,3596,3592,3589,3585,3581,3578,3574,3571,3567,3563,3560,3556,3553,3549,3545,3542,3538,3534,3531,3527,3524,3520,3516,3513,3509,3506,3502,3498,3495,3491,3488,3484,3480,3477,3473,3470,3466,3462,3459,3455,3452,3448,3444,3441,3437,3434,3430,3426,3423,3419,3416,3412,3408,3405,3401,3398,3394,3390,3387,3383,3380,3376,3372,3369,3365,3361,3358,3354,3351,3347,3343,3340,3336,3333,3329,3325,3322,3318,3315,3311,3307,3304,3300,3297,3293,3289,3286,3282,3279,3275,3271,3268,3264,3261,3257,3253,3250,3246,3243,3239,3235,3232,3228,3225,3221,3217,3214,3210,3206,3203,3199,3196,3192,3188,3185,3181,3178,3174,3170,3167,3163,3160,3156,3152,3149,3145,3142,3138,3134,3131,3127,3124,3120,3116,3113,3109,3106,3102,3098,3095,3091,3088,3084,3080,3077,3073,3070,3066,3062,3059,3055,3051,3048,3044,3041,3037,3033,3030,3026,3023,3019,3015,3012,3008,3005,3001,2997,2994,2990,2987,2983,2979,2976,2972,2969,2965,2961,2958,2954,2951,2947,2943,2940,2936,2933,2929,2925,2922,2918,2915,2911,2907,2904,2900,2897,2893,2889,2886,2882,2878,2875,2871,2868,2864,2860,2857,2853,2850,2846,2842,2839,2835,2832,2828,2824,2821,2817,2814,2810,2806,2803,2799,2796,2792,2788,2785,2781,2778,2774,2770,2767,2763,2760,2756,2752,2749,2745,2742,2738,2734,2731,2727,2723,2720,2716,2713,2709,2705,2702,2698,2695,2691,2687,2684,2680,2677,2673,2669,2666,2662,2659,2655,2651,2648,2644,2641,2637,2633,2630,2626,2623,2619,2615,2612,2608,2605,2601,2597,2594,2590,2587,2583,2579,2576,2572,2568,2565,2561,2558,2554,2550,2547,2543,2540,2536,2532,2529,2525,2522,2518,2514,2511,2507,2504,2500,2496,2493,2489,2486,2482,2478,2475,2471,2468,2464,2460,2457,2453,2450,2446,2442,2439,2435,2432,2428,2424,2421,2417,2413,2410,2406,2403,2399,2395,2392,2388,2385,2381,2377,2374,2370,2367,2363,2359,2356,2352,2349,2345,2341,2338,2334,2331,2327,2323,2320,2316,2313,2309,2305,2302,2298,2295,2291,2287,2284,2280,2277,2273,2269,2266,2262,2259,2255,2251,2248,2244,2240,2237,2233,2230,2226,2222,2219,2215,2212,2208,2204,2201,2197,2194,2190,2186,2183,2179,2176,2172,2168,2165,2161,2158,2154,2150,2147,2143,2140,2136,2132,2129,2125,2122,2118,2114,2111,2107,2104,2100,2096,2093,2089,2085,2082,2078,2075,2071,2067,2064,2060,2057,2053,2049,2046,2042,2039,2035,2031,2028,2024,2021,2017,2013,2010,2006,2003,1999,1995,1992,1988,1985,1981,1977,1974,1970,1967,1963,1959,1956,1952,1949,1945,1941,1938,1934,1930,1927,1923,1920,1916,1912,1909,1905,1902,1898,1894,1891,1887,1884,1880,1876,1873,1869,1866,1862,1858,1855,1851,1848,1844,1840,1837,1833,1830,1826,1822,1819,1815,1812,1808,1804,1801,1797,1794,1790,1786,1783,1779,1776,1772,1768,1765,1761,1757,1754,1750,1747,1743,1739,1736,1732,1729,1725,1721,1718,1714,1711,1707,1703,1700,1696,1693,1689,1685,1682,1678,1675,1671,1667,1664,1660,1657,1653,1649,1646,1642,1639,1635,1631,1628,1624,1621,1617,1613,1610,1606,1602,1599,1595,1592,1588,1584,1581,1577,1574,1570,1566,1563,1559,1556,1552,1548,1545,1541,1538,1534,1530,1527,1523,1520,1516,1512,1509,1505,1502,1498,1494,1491,1487,1484,1480,1476,1473,1469,1466,1462,1458,1455,1451,1447,1444,1440,1437,1433,1429,1426,1422,1419,1415,1411,1408,1404,1401,1397,1393,1390,1386,1383,1379,1375,1372,1368,1365,1361,1357,1354,1350,1347,1343,1339,1336,1332,1329,1325,1321,1318,1314,1311,1307,1303,2795,2799,2802,2806,2810,2813,2817,2821,2824,2828,2831,2835,2839,2842,2846,2849,2853,2857,2860,2864,2867,2871,2875,2878,2882,2885,2889,2893,2896,2900,2903,2907,2911,2914,2918,2921,2925,2929,2932,2936,2939,2943,2947,2950,2954,2957,2961,2965,2968,2972,2976,2979,2983,2986,2990,2994,2997,3001,3004,3008,3012,3015,3019,3022,3026,3030,3033,3037,3040,3044,3048,3051,3055,3058,3062,3066,3069,3073,3076,3080,3084,3087,3091,3094,3098,3102,3105,3109,3112,3116,3120,3123,3127,3131,3134,3138,3141,3145,3149,3152,3156,3159,3163,3167,3170,3174,3177,3181,3185,3188,3192,3195,3199,3203,3206,3210,3213,3217,3221,3224,3228,3231,3235,3239,3242,3246,3249,3253,3257,3260,3264,3267,3271,3275,3278,3282,3286,3289,3293,3296,3300,3304,3307,3311,3314,3318,3322,3325,3329,3332,3336,3340,3343,3347,3350,3354,3358,3361,3365,3368,3372,3376,3379,3383,3386,3390,3394,3397,3401,3404,3408,3412,3415,3419,3422,3426,3430,3433,3437,3440,3444,3448,3451,3455,3459,3462,3466,3469,3473,3477,3480,3484,3487,3491,3495,3498,3502,3505,3509,3513,3516,3520,3523,3527,3531,3534,3538,3541,3545,3549,3552,3556,3559,3563,3567,3570,3574,3577,3581,3585,3588,3592,3595,3599,3603,3606,3610,3614,3617,3621,3624,3628,3632,3635,3639,3642,3646,3650,3653,3657,3660,3664,3668,3671,3675,3678,3682,3686,3689,3693,3696,3700,3704,3707,3711,3714,3718,3722,3725,3729,3732,3736,3740,3743,3747,3750,3754,3758,3761,3765,3769,3772,3776,3779,3783,3787,3790,3794,3797,3801,3805,3808,3812,3815,3819,3823,3826,3830,3833,3837,3841,3844,3848,3851,3855,3859,3862,3866,3869,3873,3877,3880,3884,3887,3891,3895,3898,3902,3905,3909,3913,3916,3920,3923,3927,3931,3934,3938,3942,3945,3949,3952,3956,3960,3963,3967,3970,3974,3978,3981,3985,3988,3992,3996,3999,4003,4006,4010,4014,4017,4021,4024,4028,4032,4035,4039,4042,4046,4050,4053,4057,4060,4064,4068,4071,4075,4078,4082,4086,4089,4093,4094,4091,4087,4084,4080,4076,4073,4069,4066,4062,4058,4055,4051,4048,4044,4040,4037,4033,4030,4026,4022,4019,4015,4012,4008,4004,4001,3997,3994,3990,3986,3983,3979,3976,3972,3968,3965,3961,3958,3954,3950,3947,3943,3939,3936,3932,3929,3925,3921,3918,3914,3911,3907,3903,3900,3896,3893,3889,3885,3882,3878,3875,3871,3867,3864,3860,3857,3853,3849,3846,3842,3839,3835,3831,3828,3824,3821,3817,3813,3810,3806,3803,3799,3795,3792,3788,3785,3781,3777,3774,3770,3766,3763,3759,3756,3752,3748,3745,3741,3738,3734,3730,3727,3723,3720,3716,3712,3709,3705,3702,3698,3694,3691,3687,3684,3680,3676,3673,3669,3666,3662,3658,3655,3651,3648,3644,3640,3637,3633,3630,3626,3622,3619,3615,3611,3608,3604,3601,3597,3593,3590,3586,3583,3579,3575,3572,3568,3565,3561,3557,3554,3550,3547,3543,3539,3536,3532,3529,3525,3521,3518,3514,3511,3507,3503,3500,3496,3493,3489,3485,3482,3478,3475,3471,3467,3464,3460,3456,3453,3449,3446,3442,3438,3435,3431,3428,3424,3420,3417,3413,3410,3406,3402,3399,3395,3392,3388,3384,3381,3377,3374,3370,3366,3363,3359,3356,3352,3348,3345,3341,3338,3334,3330,3327,3323,3320,3316,3312,3309,3305,3302,3298,3294,3291,3287,3283,3280,3276,3273,3269,3265,3262,3258,3255,3251,3247,3244,3240,3237,3233,3229,3226,3222,3219,3215,3211,3208,3204,3201,3197,3193,3190,3186,3183,3179,3175,3172,3168,3165,3161,3157,3154,3150,3147,3143,3139,3136,3132,3128,3125,3121,3118,3114,3110,3107,3103,3100,3096,3092,3089,3085,3082,3078,3074,3071,3067,3064,3060,3056,3053,3049,3046,3042,3038,3035,3031,3028,3024,3020,3017,3013,3010,3006,3002,2999,2995,2992,2988,2984,2981,2977,2973,2970,2966,2963,2959,2955,2952,2948,2945,2941,2937,2934,2930,2927,2923,2919,2916,2912,2909,2905,2901,2898,2894,2891,2887,2883,2880,2876,2873,2869,2865,2862,2858,2855,2851,2847,2844,2840,2837,2833,2829,2826,2822,2818,2815,2811,2808,2804,2800,2797,2793,2790,2786,2782,2779,2775,2772,2768,2764,2761,2757,2754,2750,2746,2743,2739,2736,2732,2728,2725,2721,2718,2714,2710,2707,2703,2700,2696,2692,2689,2685,2682,2678,2674,2671,2667,2664,2660,2656,2653,2649,2645,2642,2638,2635,2631,2627,2624,2620,2617,2613,2609,2606,2602,2599,2595,2591,2588,2584,2581,2577,2573,2570,2566,2563,2559,2555,2552,2548,2545,2541,2537,2534,2530,2527,2523,2519,2516,2512,2509,2505,2501,2498,2494,2490,2487,2483,2480,2476,2472,2469,2465,2462,2458,2454,2451,2447,2444,2440,2436,2433,2429,2426,2422,2418,2415,2411,2408,2404,2400,2397,2393,2390,2386,2382,2379,2375,2372,2368,2364,2361,2357,2354,2350,2346,2343,2339,2335,2332,2328,2325,2321,2317,2314,2310,2307,2303,2299,2296,2292,2289,2285,2281,2278,2274,2271,2267,2263,2260,2256,2253,2249,2245,2242,2238,2235,2231,2227,2224,2220,2217,2213,2209,2206,2202,2199,2195,2191,2188,2184,2181,2177,2173,2170,2166,2162,2159,2155,2152,2148,2144,2141,2137,2134,2130,2126,2123,2119,2116,2112,2108,2105,2101,2098,2094,2090,2087,2083,2080,2076,2072,2069,2065,2062,2058,2054,2051,2047,2044,2040,2036,2033,2029,2026,2022,2018,2015,2011,2007,2004,2000,1997,1993,1989,1986,1982,1979,1975,1971,1968,1964,1961,1957,1953,1950,1946,1943,1939,1935,1932,1928,1925,1921,1917,1914,1910,1907,1903,1899,1896,1892,1889,1885,1881,1878,1874,1871,1867,1863,1860,1856,1852,1849,1845,1842,1838,1834,1831,1827,1824,1820,1816,1813,1809,1806,1802,1798,1795,1791,1788,1784,1780,1777,1773,1770,1766,1762,1759,1755,1752,1748,1744,1741,1737,1734,1730,1726,1723,1719,1716,1712,1708,1705,1701,1698,1694,1690,1687,1683,1679,1676,1672,1669,1665,1661,1658,1654,1651,1647,1643,1640,1636,1633,1629,1625,1622,1618,1615,1611,1607,1604,1600,1597,1593,1589,1586,1582,1579,1575,1571,1568,1564,1561,1557,1553,1550,1546,1543,1539,1535,1532,1528,1524,1521,1517,1514,1510,1506,1503,1499,1496,1492,1488,1485,1481,1478,1474,1470,1467,1463,1460,1456,1452,1449,1445,1442,1438,1434,1431,1427,1424,1420,1416,1413,1409,1406,1402,1398,1395,1391,1388,1384,1380,1377,1373,1369,1366,1362,1359,1355,1351,1348,1344,1341,1337,1333,1330,1326,1323,1319,1315,1312,1308,1305,1301,1297,1294,1290,1287,1283,1279,1276,1272,1269,1265,1261,1258,1254,1251,1247,1243,1240,1236,1233,1229,1225,1222,1218,1214,1211,1207,1204,1200,1196,1193,1189,1186,1182,1178,1175,1171,1168,1164,1160,1157,1153,1150,1146,1142,1139,1135,1132,1128,1124,1121,1117,1114,1110,1106,1103,1099,1096,1092,1088,1085,1081,1078,1074,1070,1067,1063,1060,1056,1052,1049,1045,1041,1038,1034,1031,1027,1023,1020,1016,1013,1009,1005,1002,998,995,991,987,984,980,977,973,969,966,962,959,955,951,948,944,941,937,933,930,926,923,919,915,912,908,905,901,897,894,890,886,883,879,876,872,868,865,861,858,854,850,847,843,840,836,832,829,825,822,818,814,811,807,804,800,796,793,789,786,782,778,775,771,768,764,760,757,753,750,746,742,739,735,731,728,724,721,717,713,710,706,703,699,695,692,688,685,681,677,674,670,667,663,659,656,652,649,645,641,638,634,631,627,623,620,616,613,609,605,602,598,595,591,587,584,580,577,573,569,566,562,558,555,551,548,544,540,537,533,530,526,522,519,515,512,508,504,501,497,494,490,486,483,479,476,472,468,465,461,458,454,450,447,443,440,436,432,429,425,422,418,414,411,407,403,400,396,393,389,385,382,378,375,371,367,364,360,357,353,349,346,342,339,335,331,328,324,321,317,313,310,306,303,299,295,292,288,285,281,277,274,270,267,263,259,256,252,248,245,241,238,234,230,227,223,220,216,212,209,205,202,198,194,191,187,184,180,176,173,169,166,162,158,155,151,148,144,140,137,133,130,126,122,119,115,112,108,104,101,97,94,90,86,83,79,75,72,68,65,61,57,54,50,47,43,39,36,32,29,25,21,18,14,11,7,3,0,3,6,10,14,17,21,24,28,32,35,39,42,46,50,53,57,60,64,68,71,75,79,82,86,89,93,97,100,104,107,111,115,118,122,125,129,133,136,140,143,147,151,154,158,161,165,169,172,176,179,183,187,190,194,197,201,205,208,212,215,219,223,226,230,234,237,241,244,248,252,255,259,262,266,270,273,277,280,284,288,291,295,298,302,306,309,313,316,320,324,327,331,334,338,342,345,349,352,356,360,363,367,370,374,378,381,385,388,392,396,399,403,407,410,414,417,421,425,428,432,435,439,443,446,450,453,457,461,464,468,471,475,479,482,486,489,493,497,500,504,507,511,515,518,522,525,529,533,536,540,543,547,551,554,558,562,565,569,572,576,580,583,587,590,594,598,601,605,608,612,616,619,623,626,630,634,637,641,644,648,652,655,659,662,666,670,673,677,680,684,688,691,695,698,702,706,709,713,717,720,724,727,731,735,738,742,745,749,753,756,760,763,767,771,774,778,781,785,789,792,796,799,803,807,810,814,817,821,825,828,832,835,839,843,846,850,853,857,861,864,868,872,875,879,882,886,890,893,897,900,904,908,911,915,918,922,926,929,933,936,940,944,947,951,954,958,962,965,969,972,976,980,983,987,990,994,998,1001,1005,1008,1012,1016,1019,1023,1026,1030,1034,1037,1041,1045,1048,1052,1055,1059,1063,1066,1070,1073,1077,1081,1084,1088,1091,1095,1099,1102,1106,1109,1113,1117,1120,1124,1127,1131,1135,1138,1142,1145,1149,1153,1156,1160,1163,1167,1171,1174,1178,1181,1185,1189,1192,1196,1200,1203,1207,1210,1214,1218,1221,1225,1228,1232,1236,1239,1243,1246,1250,1254,1257,1261,1264,1268,1272,1275,1279,1282,1286,1290,1293,1297,1300,1304,1308,1311,1315,1318,1322,1326,1329,1333,1336,1340,1344,1347,1351,1355,1358,1362,1365,1369,1373,1376,1380,1383,1387,1391,1394,1398,1401,1405,1409,1412,1416,1419,1423,1427,1430,1434,1437,1441,1445,1448,1452,1455,1459,1463,1466,1470,1473,1477,1481,1484,1488,2604,2600,2596,2593,2589,2586,2582,2578,2575,2571,2567,2564,2560,2557,2553,2549,2546,2542,2539,2535,2531,2528,2524,2521,2517,2513,2510,2506,2503,2499,2495,2492,2488,2485,2481,2477,2474,2470,2467,2463,2459,2456,2452,2449,2445,2441,2438,2434,2431,2427,2423,2420,2416,2412,2409,2405,2402,2398,2394,2391,2387,2384,2380,2376,2373,2369,2366,2362,2358,2355,2351,2348,2344,2340,2337,2333,2330,2326,2322,2319,2315,2312,2308,2304,2301,2297,2294,2290,2286,2283,2279,2276,2272,2268,2265,2261,2257,2254,2250,2247,2243,2239,2236,2232,2229,2225,2221,2218,2214,2211,2207,2203,2200,2196,2193,2189,2185,2182,2178,2175,2171,2167,2164,2160,2157,2153,2149,2146,2142,2139,2135,2131,2128,2124,2121,2117,2113,2110,2106,2103,2099,2095,2092,2088,2084,2081,2077,2074,2070,2066,2063,2059,2056,2052,2048,2045,2041,2038,2034,2030,2027,2023,2020,2016,2012,2009,2005,2002,1998,1994,1991,1987,1984,1980,1976,1973,1969,1966,1962,1958,1955,1951,1948,1944,1940,1937,1933,1929,1926,1922,1919,1915,1911,1908,1904,1901,1897,1893,1890,1886,1883,1879,1875,1872,1868,1865,1861,1857,1854,1850,1847,1843,1839,1836,1832,1829,1825,1821,1818,1814,1811,1807,1803,1800,1796,1793,1789,1785,1782,1778,1774,1771,1767,1764,1760,1756,1753,1749,1746,1742,1738,1735,1731,1728,1724,1720,1717,1713,1710,1706,1702,1699,1695,1692,1688,1684,1681,1677,1674,1670,1666,1663,1659,1656,1652,1648,1645,1641,1638,1634,1630,1627,1623,1619,1616,1612,1609,1605,1601,1598,1594,1591,1587,1583,1580,1576,1573,1569,1565,1562,1558,1555,1551,1547,1544,1540,1537,1533,1529,1526,1522,1519,1515,1511,1508,1504,1501,1497,1493,1490,1486,1483,1479,1475,1472,1468,1465,1461,1457,1454,1450,1446,1443,1439,1436,1432,1428,1425,1421,1418,1414,1410,1407,1403,1400,1396,1392,1389,1385,1382,1378,1374,1371,1367,1364,1360,1356,1353,1349,1346,1342,1338,1335,1331,1328,1324,1320,1317,1313,1310,1306,1302,1299,1295,1291,1288,1284,1281,1277,1273,1270,1266,1263,1259,1255,1252,1248,1245,1241,1237,1234,1230,1227,1223,1219,1216,1212,1209,1205,1201,1198,1194,1191,1187,1183,1180,1176,1173,1169,1165,1162,1158,1155,1151,1147,1144,1140,1136,1133,1129,1126,1122,1118,1115,1111,1108,1104,1100,1097,1093,1090,1086,1082,1079,1075,1072,1068,1064,1061,1057,1054,1050,1046,1043,1039,1036,1032,1028,1025,1021,1018,1014,1010,1007,1003,1000,996,992,989,985,982,978,974,971,967,963,960,956,953,949,945,942,938,935,931,927,924,920,917,913,909,906,902,899,895,891,888,884,881,877,873,870,866,863,859,855,852,848,845,841,837,834,830,827,823,819,816,812,808,805,801,798,794,790,787,783,780,776,772,769,765,762,758,754,751,747,744,740,736,733,729,726,722,718,715,711,708,704,700,697,693,690,686,682,679,675,672,668,664,661,657,653,650,646,643,639,635,632,628,625,621,617,614,610,607,603,599,596,592,589,585,581,578,574,571,567,563,560,556,553,549,545,542,538,535,531,527,524,520,517,513,509,506,502,499,495,491,488,484,480,477,473,470,466,462,459,455,452,448,444,441,437,434,430,426,423,419,416,412,408,405,401,398,394,390,387,383,380,376,372,369,365,362,358,354,351,347,344,340,336,333,329,325,322,318,315,311,307,304,300,297,293,289,286,282,279,275,271,268,264,261,257,253,250,246,243,239,235,232,228,225,221,217,214,210,207,203,199,196,192,189,185,181,178,174,170,167,163,160,156,152,149,145,142,138,134,131,127,124,120,116,113,109,106,102,98,95,91,88,84,80,77,73,70,66,62,59,55,52,48,44,41,37,34,30,26,23,19,16,12,8,5,1,2,5,9,12,16,20,23,27,30,34,38,41,45,48,52,56,59,63,66,70,74,77,81,84,88,92,95,99,102,106,110,113,117,120,124,128,131,135,138,142,146,149,153,157,160,164,167,171,175,178,182,185,189,193,196,200,203,207,211,214,218,221,225,229,232,236,239,243,247,250,254,257,261,265,268,272,275,279,283,286,290,293,297,301,304,308,312,315,319,322,326,330,333,337,340,344,348,351,355,358,362,366,369,373,376,380,384,387,391,394,398,402,405,409,412,416,420,423,427,430,434,438,441,445,448,452,456,459,463,467,470,474,477,481,485,488,492,495,499,503,506,510,513,517,521,524,528,531,535,539,542,546,549,553,557,560,564,567,571,575,578,582,585,589,593,596,600,603,607,611,614,618,621,625,629,632,636,640,643,647,650,654,658,661,665,668,672,676,679,683,686,690,694,697,701,704,708,712,715,719,722,726,730,733,737,740,744,748,751,755,758,762,766,769,773,776,780,784,787,791,795,798,802,805,809,813,816,820,823,827,831,834,838,841,845,849,852,856,859,863,867,870,874,877,881,885,888,892,895,899,903,906,910,913,917,921,924,928,931,935,939,942,946,950,953,957,960,964,968,971,975,978,982,986,989,993,996,1000,1004,1007,1011,1014,1018,1022,1025,1029,1032,1036,1040,1043,1047,1050,1054,1058,1061,1065,1068,1072,1076,1079,1083,1086,1090,1094,1097,1101,1104,1108,1112,1115,1119,1123,1126,1130,1133,1137,1141,1144,1148,1151,1155,1159,1162,1166,1169,1173,1177,1180,1184,1187,1191,1195,1198,1202,1205,1209,1213,1216,1220,1223,1227,1231,1234,1238,1241,1245,1249,1252,1256,1259,1263,1267,1270,1274,1278,1281,1285,1288,1292,1296,1299,1303,1306,1310,1314,1317,1321,1324,1328,1332,1335,1339,1342,1346,1350,1353,1357,1360,1364,1368,1371,1375,1378,1382,1386,1389,1393,1396,1400,1404,1407,1411,1414,1418,1422,1425,1429,1433,1436,1440,1443,1447,1451,1454,1458,1461,1465,1469,1472,1476,1479,1483,1487,1490,1494,1497,1501,1505,1508,1512,1515,1519,1523,1526,1530,1533,1537,1541,1544,1548,1551,1555,1559,1562,1566,1569,1573,1577,1580,1584,1587,1591,1595,1598,1602,1606,1609,1613,1616,1620,1624,1627,1631,1634,1638,1642,1645,1649,1652,1656,1660,1663,1667,1670,1674,1678,1681,1685,1688,1692,1696,1699,1703,1706,1710,1714,1717,1721,1724,1728,1732,1735,1739,1742,1746,1750,1753,1757,1761,1764,1768,1771,1775,1779,1782,1786,1789,1793,1797,1800,1804,1807,1811,1815,1818,1822,1825,1829,1833,1836,1840,1843,1847,1851,1854,1858,1861,1865,1869,1872,1876,1879,1883,1887,1890,1894,1897,1901,1905,1908,1912,1916,1919,1923,1926,1930,1934,1937,1941,1944,1948,1952,1955,1959,1962,1966,1970,1973,1977,1980,1984,1988,1991,1995,1998,2002,2006,2009,2013,2016,2020,2024,2027,2031,2034,2038,2042,2045,2049,2052,2056,2060,2063,2067,2071,2074,2078,2081,2085,2089,2092,2096,2099,2103,2107,2110,2114,2117,2121,2125,2128,2132,2135,2139,2143,2146,2150,2153,2157,2161,2164,2168,2171,2175,2179,2182,2186,2189,2193,2197,2200,2204,2207,2211,2215,2218,2222,2225,2229,2233,2236,2240,2244,2247,2251,2254,2258,2262,2265,2269,2272,2276,2280,2283,2287,2290,2294,2298,2301,2305,2308,2312,2316,2319,2323,2326,2330,2334,2337,2341,2344,2348,2352,2355,2359,2362,2366,2370,2373,2377,2380,2384,2388,2391,2395,2399,2402,2406,2409,2413,2417,2420,2424,2427,2431,2435,2438,2442,2445,2449,2453,2456,2460,2463,2467,2471,2474,2478,2481,2485,2489,2492,2496,2499,2503,2507,2510,2514,2517,2521,2525,2528,2532,2535,2539,2543,2546,2550,2554,2557,2561,2564,2568,2572,2575,2579,2582,2586,2590,2593,2597,2600,2604,2608,2611,2615,2618,2622,2626,2629,2633,2636,2640,2644,2647,2651,2654,2658,2662,2665,2669,2672,2676,2680,2683,2687,2690,2694,2698,2701,2705,2708,2712,2716,2719,2723,2727,2730,2734,2737,2741,2745,2748,2752,2755,2759,2763,2766,2770,2773,2777,2781,2784,2788,2791,2795,2799,2802,2806,2809,2813,2817,2820,2824,2827,2831,2835,2838,2842,2845,2849,2853,2856,2860,2863,2867,2871,2874,2878,2882,2885,2889,2892,2896,2900,2903,2907,2910,2914,2918,2921,2925,2928,2932,2936,2939,2943,2946,2950,2954,2957,2961,2964,2968,2972,2975,2979,2982,2986,2990,2993,2997,3000,3004,3008,3011,3015,3018,3022,3026,3029,3033,3037,3040,3044,3047,3051,3055,3058,3062,3065,3069,3073,3076,3080,3083,3087,3091,3094,3098,3101,3105,3109,3112,3116,3119,3123,3127,3130,3134,3137,3141,3145,3148,3152,3155,3159,3163,3166,3170,3173,3177,3181,3184,3188,3191,3195,3199,3202,3206,3210,3213,3217,3220,3224,3228,3231,3235,3238,3242,3246,3249,3253,3256,3260,3264,3267,3271,3274,3278,3282,3285,3289,3292,3296,3300,3303,3307,3310,3314,3318,3321,3325,3328,3332,3336,3339,3343,3346,3350,3354,3357,3361,3365,3368,3372,3375,3379,3383,3386,3390,3393,3397,3401,3404,3408,3411,3415,3419,3422,3426,3429,3433,3437,3440,3444,3447,3451,3455,3458,3462,3465,3469,3473,3476,3480,3483,3487,3491,3494,3498,3501,3505,3509,3512,3516,3520,3523,3527,3530,3534,3538,3541,3545,3548,3552,3556,3559,3563,3566,3570,3574,3577,3581,3584,3588,3592,3595,3599,3602,3606,3610,3613,3617,3620,3624,3628,3631,3635,3638,3642,3646,3649,3653,3656,3660,3664,3667,3671,3674,3678,3682,3685,3689,3693,3696,3700,3703,3707,3711,3714,3718,3721,3725,3729,3732,3736,3739,3743,3747,3750,3754,3757,3761,3765,3768,3772,3775,3779,3783,3786,3790,3793,3797,3801,3804,3808,3811,3815,3819,3822,3826,3829,3833,3837,3840,3844,3848,3851,3855,3858,3862,3866,3869,3873,3876,3880,3884,3887,3891,3894,3898,3902,3905,3909,3912,3916,3920,3923,3927,3930,3934,3938,3941,3945,3948,3952,3956,3959,3963,3966,3970,3974,3977,3981,3984,3988,3992,3995,3999,4003,4006,4010,4013,4017,4021,4024,4028,4031,4035,4039,4042,4046,4049,4053,4057,4060,4064,4067,4071,4075,4078,4082,4085,4089,4093,4095,4091,4088,4084,4080,4077,4073,4070,4066,4062,4059,4055,4052,4048,4044,4041,4037,4033,4030,4026,4023,4019,4015,4012,4008,4005,4001,3997,3994,3990,3987,3983,3979,3976,3972,3969,3965,3961,3958,3954,3951,3947,3943,3940,3936,3933,3929,3925,3922,3918,3915,3911,188,191,195,198,202,206,209,213,216,220,224,227,231,235,238,242,245,249,253,256,260,263,267,271,274,278,281,285,289,292,296,299,303,307,310,314,317,321,325,328,332,335,339,343,346,350,353,357,361,364,368,371,375,379,382,386,390,393,397,400,404,408,411,415,418,422,426,429,433,436,440,444,447,451,454,458,462,465,469,472,476,480,483,487,490,494,498,501,505,508,512,516,519,523,526,530,534,537,541,545,548,552,555,559,563,566,570,573,577,581,584,588,591,595,599,602,606,609,613,617,620,624,627,631,635,638,642,645,649,653,656,660,663,667,671,674,678,681,685,689,692,696,699,703,707,710,714,718,721,725,728,732,736,739,743,746,750,754,757,761,764,768,772,775,779,782,786,790,793,797,800,804,808,811,815,818,822,826,829,833,836,840,844,847,851,854,858,862,865,869,873,876,880,883,887,891,894,898,901,905,909,912,916,919,923,927,930,934,937,941,945,948,952,955,959,963,966,970,973,977,981,984,988,991,995,999,1002,1006,1009,1013,1017,1020,1024,1028,1031,1035,1038,1042,1046,1049,1053,1056,1060,1064,1067,1071,1074,1078,1082,1085,1089,1092,1096,1100,1103,1107,1110,1114,1118,1121,1125,1128,1132,1136,1139,1143,1146,1150,1154,1157,1161,1164,1168,1172,1175,1179,1182,1186,1190,1193,1197,1201,1204,1208,1211,1215,1219,1222,1226,1229,1233,1237,1240,1244,1247,1251,1255,1258,1262,1265,1269,1273,1276,1280,1283,1287,1291,1294,1298,1301,1305,1309,1312,1316,1319,1323,1327,1330,1334,1337,1341,1345,1348,1352,1356,1359,1363,1366,1370,1374,1377,1381,1384,1388,1392,1395,1399,1402,1406,1410,1413,1417,1420,1424,1428,1431,1435,1438,1442,1446,1449,1453,1456,1460,1464,1467,1471,1474,1478,1482,1485,1489,1492,1496,1500,1503,1507,1511,1514,1518,1521,1525,1529,1532,1536,1539,1543,1547,1550,1554,1557,1561,1565,1568,1572,1575,1579,1583,1586,1590,1593,1597,1601,1604,1608,1611,1615,1619,1622,1626,1629,1633,1637,1640,1644,1647,1651,1655,1658,1662,1666,1669,1673,1676,1680,1684,1687,1691,1694,1698,1702,1705,1709,1712,1716,1720,1723,1727,1730,1734,1738,1741,1745,1748,1752,1756,1759,1763,1766,1770,1774,1777,1781,1784,1788,1792,1795,1799,1802,1806,1810,1813,1817,1820,1824,1828,1831,1835,1839,1842,1846,1849,1853,1857,1860,1864,1867,1871,1875,1878,1882,1885,1889,1893,1896,1900,1903,1907,1911,1914,1918,1921,1925,1929,1932,1936,1939,1943,1947,1950,1954,1957,1961,1965,1968,1972,1975,1979,1983,1986,1990,1994,1997,2001,2004,2008,2012,2015,2019,2022,2026,2030,2033,2037,2040,2044,2048,2051,2055,2058,2062,2066,2069,2073,2076,2080,2084,2087,2091,2094,2098,2102,2105,2109,2112,2116,2120,2123,2127,2130,2134,2138,2141,2145,2149,2152,2156,2159,2163,2167,2170,2174,2177,2181,2185,2188,2192,2195,2199,2203,2206,2210,2213,2217,2221,2224,2228,2231,2235,2239,2242,2246,2249,2253,2257,2260,2264,2267,2271,2275,2278,2282,2285,2289,2293,2296,2300,2303,2307,2311,2314,2318,2322,2325,2329,2332,2336,2340,2343,2347,2350,2354,2358,2361,2365,2368,2372,2376,2379,2383,2386,2390,2394,2397,2401,2404,2408,2412,2415,2419,2422,2426,2430,2433,2437,2440,2444,2448,2451,2455,2458,2462,2466,2469,2473,2477,2480,2484,2487,2491,2495,2498,2502,2505,2509,2513,2516,2520,2523,2527,2531,2534,2538,2541,2545,2549,2552,2556,2559,2563,2567,2570,2574,2577,2581,2585,2588,2592,2595,2599,2603,2606,2610,2613,2617,2621,2624,2628,2632,2635,2639,2642,2646,2650,2653,2657,2660,2664,2668,2671,2675,2678,2682,2686,2689,2693,2696,2700,2704,2707,2711,2714,2718,2722,2725,2729,2732,2736,2740,2743,2747,2750,2754,2758,2761,2765,2768,2772,2776,2779,2783,2786,2790,2794,2797,2801,2805,2808,2812,2815,2819,2823,2826,2830,2833,2837,2841,2844,2848,2851,2855,2859,2862,2866,2869,2873,2877,2880,2884,2887,2891,2895,2898,2902,2905,2909,2913,2916,2920,2923,2927,2931,2934,2938,2941,2945,2949,2952,2956,2960,2963,2967,2970,2974,2978,2981,2985,2988,2992,2996,2999,3003,3006,3010,3014,3017,3021,3024,3028,3032,3035,3039,3042,3046,3050,3053,3057,3060,3064,3068,3071,3075,3078,3082,3086,3089,3093,3096,3100,3104,3107,3111,3115,3118,3122,3125,3129,3133,3136,3140,3143,3147,3151,3154,3158,3161,3165,3169,3172,3176,3179,3183,3187,3190,3194,3197,3201,3205,3208,3212,3215,3219,3223,3226,3230,3233,3237,3241,3244,3248,3251,3255,3259,3262,3266,3269,3273,3277,3280,3284,3288,3291,3295,3298,3302,3306,3309,3313,3316,3320,3324,3327,3331,3334,3338,3342,3345,3349,3352,3356,3360,3363,3367,3370,3374,3378,3381,3385,3388,3392,3396,3399,3403,3406,3410,3414,3417,3421,3424,3428,3432,3435,3439,3443,3446,3450,3453,3457,3461,3464,3468,3471,3475,3479,3482,3486,3489,3493,3497,3500,3504,3507,3511,3515,3518,3522,3525,3529,3533,3536,3540,3543,3547,3551,3554,3558,3561,3565,3569,3572,3576,3579,3583,3587,3590,3594,3598,3601,3605,3608,3612,3616,3619,3623,3626,3630,3634,3637,3641,3644,3648,3652,3655,3659,3662,3666,3670,3673,3677,3680,3684,3688,3691,3695,3698,3702,3706,3709,3713,3716,3720,3724,3727,3731,3734,3738,3742,3745,3749,3753,3756,3760,3763,3767,3771,3774,3778,3781,3785,3789,3792,3796,3799,3803,3807,3810,3814,3817,3821,3825,3828,3832,3835,3839,3843,3846,3850,3853,3857,3861,3864,3868,3871,3875,3879,3882,3886,3889,3893,3897,3900,3904,3907,3911,3915,3918,3922,3926,3929,3933,3936,3940,3944,3947,3951,3954,3958,3962,3965,3969,3972,3976,3980,3983,3987,3990,3994,3998,4001,4005,4008,4012,4016,4019,4023,4026,4030,4034,4037,4041,4044,4048,4052,4055,4059,4062,4066,4070,4073,4077,4081,4084,4088,4091,4095,4092,4089,4085,4082,4078,4074,4071,4067,4064,4060,4056,4053,4049,4046,4042,4038,4035,4031,4028,4024,4020,4017,4013,4010,4006,4002,3999,3995,3992,3988,3984,3981,3977,3974,3970,3966,3963,3959,3955,3952,3948,3945,3941,3937,3934,3930,3927,3923,3919,3916,3912,3909,3905,3901,3898,3894,3891,3887,3883,3880,3876,3873,3869,3865,3862,3858,3855,3851,3847,3844,3840,3837,3833,3829,3826,3822,3819,3815,3811,3808,3804,3801,3797,3793,3790,3786,3782,3779,3775,3772,3768,3764,3761,3757,3754,3750,3746,3743,3739,3736,3732,3728,3725,3721,3718,3714,3710,3707,3703,3700,3696,3692,3689,3685,3682,3678,3674,3671,3667,3664,3660,3656,3653,3649,3646,3642,3638,3635,3631,3627,3624,3620,3617,3613,3609,3606,3602,3599,3595,3591,3588,3584,3581,3577,3573,3570,3566,3563,3559,3555,3552,3548,3545,3541,3537,3534,3530,3527,3523,3519,3516,3512,3509,3505,3501,3498,3494,3491,3487,3483,3480,3476,3472,3469,3465,3462,3458,3454,3451,3447,3444,3440,3436,3433,3429,3426,3422,3418,3415,3411,3408,3404,3400,3397,3393,3390,3386,3382,3379,3375,3372,3368,3364,3361,3357,3354,3350,3346,3343,3339,3336,3332,3328,3325,3321,3318,3314,3310,3307,3303,3299,3296,3292,3289,3285,3281,3278,3274,3271,3267,3263,3260,3256,3253,3249,3245,3242,3238,3235,3231,3227,3224,3220,3217,3213,3209,3206,3202,3199,3195,3191,3188,3184,3181,3177,3173,3170,3166,3163,3159,3155,3152,3148,3144,3141,3137,3134,3130,3126,3123,3119,3116,3112,3108,3105,3101,3098,3094,3090,3087,3083,3080,3076,3072,3069,3065,3062,3058,3054,3051,3047,3044,3040,3036,3033,3029,3026,3022,3018,3015,3011,3008,3004,3000,2997,2993,2989,2986,2982,2979,2975,2971,2968,2964,2961,2957,2953,2950,2946,2943,2939,2935,2932,2928,2925,2921,2917,2914,2910,2907,2903,2899,2896,2892,2889,2885,2881,2878,2874,2871,2867,2863,2860,2856,2853,2849,2845,2842,2838,2834,2831,2827,2824,2820,2816,2813,2809,2806,2802,2798,2795,2791,2788,2784,2780,2777,2773,2770,2766,2762,2759,2755,2752,2748,2744,2741,2737,2734,2730,2726,2723,2719,2716,2712,2708,2705,2701,2698,2694,2690,2687,2683,2680,2676,2672,2669,2665,2661,2658,2654,2651,2647,2643,2640,2636,2633,2629,2625,2622,2618,2615,2611,2607,2604,2600,2597,2593,2589,2586,2582,2579,2575,2571,2568,2564,2561,2557,2553,2550,2546,2543,2539,2535,2532,2528,2525,2521,2517,2514,2510,2506,2503,2499,2496,2492,2488,2485,2481,2478,2474,2470,2467,2463,2460,2456,2452,2449,2445,2442,2438,2434,2431,2427,2424,2420,2416,2413,2409,2406,2402,2398,2395,2391,2388,2384,2380,2377,2373,2370,2366,2362,2359,2355,2351,2348,2344,2341,2337,2333,2330,2326,2323,2319,2315,2312,2308,2305,2301,2297,2294,2290,2287,2283,2279,2276,2272,2269,2265,2261,2258,2254,2251,2247,2243,2240,2236,2233,2229,2225,2222,2218,2215,2211,2207,2204,2200,2197,2193,2189,2186,2182,2178,2175,2171,2168,2164,2160,2157,2153,2150,2146,2142,2139,2135,2132,2128,2124,2121,2117,2114,2110,2106,2103,2099,2096,2092,2088,2085,2081,2078,2074,2070,2067,2063,2060,2056,2052,2049,2045,2042,2038,2034,2031,2027,2023,2020,2016,2013,2009,2005,2002,1998,1995,1991,1987,1984,1980,1977,1973,1969,1966,1962,1959,1955,1951,1948,1944,1941,1937,1933,1930,1926,1923,1919,1915,1912,1908,1905,1901,1897,1894,1890,1887,1883,1879,1876,1872,1868,1865,1861,1858,1854,1850,1847,1843,1840,1836,1832,1829,1825,1822,1818,1814,1811,1807,1804,1800,1796,1793,1789,1786,1782,1778,1775,1771,1768,1764,1760,1757,1753,1750,1746,1742,1739,1735,1732,1728,1724,1721,1717,1714,1710,1706,1703,1699,1695,1692,1688,1685,1681,1677,1674,1670,1667,1663,1659,1656,1652,1649,1645,1641,1638,1634,1631,1627,1623,1620,1616,1613,1609,1605,1602,1598,1595,1591,1587,1584,1580,1577,1573,1569,1566,1562,1559,1555,1551,1548,1544,1540,1537,1533,1530,1526,1522,1519,1515,1512,1508,1504,1501,1497,1494,1490,1486,1483,1479,1476,1472,1468,1465,1461,1458,1454,1450,1447,1443,1440,1436,1432,1429,1425,1422,1418,1414,1411,1407,1404,1400,1396,1393,1389,1385,1382,1378,1375,1371,1367,1364,1360,1357,1353,1349,1346,1342,1339,1335,1331,1328,1324,1321,1317,1313,1310,1306,1303,1299,1295,1292,1288,1285,1281,1277,1274,1270,1267,1263,1259,1256,1252,1249,1245,1241,1238,1234,1231,1227,1223,1220,1216,1212,1209,1205,1202,1198,1194,1191,1187,1184,1180,1176,1173,1169,1166,1162,1158,1155,1151,1148,1144,1140,1137,1133,1130,1126,1122,1119,1115,2983,2987,2991,2994,2998,3001,3005,3009,3012,3016,3019,3023,3027,3030,3034,3038,3041,3045,3048,3052,3056,3059,3063,3066,3070,3074,3077,3081,3084,3088,3092,3095,3099,3102,3106,3110,3113,3117,3120,3124,3128,3131,3135,3138,3142,3146,3149,3153,3156,3160,3164,3167,3171,3174,3178,3182,3185,3189,3193,3196,3200,3203,3207,3211,3214,3218,3221,3225,3229,3232,3236,3239,3243,3247,3250,3254,3257,3261,3265,3268,3272,3275,3279,3283,3286,3290,3293,3297,3301,3304,3308,3311,3315,3319,3322,3326,3329,3333,3337,3340,3344,3348,3351,3355,3358,3362,3366,3369,3373,3376,3380,3384,3387,3391,3394,3398,3402,3405,3409,3412,3416,3420,3423,3427,3430,3434,3438,3441,3445,3448,3452,3456,3459,3463,3466,3470,3474,3477,3481,3484,3488,3492,3495,3499,3502,3506,3510,3513,3517,3521,3524,3528,3531,3535,3539,3542,3546,3549,3553,3557,3560,3564,3567,3571,3575,3578,3582,3585,3589,3593,3596,3600,3603,3607,3611,3614,3618,3621,3625,3629,3632,3636,3639,3643,3647,3650,3654,3657,3661,3665,3668,3672,3676,3679,3683,3686,3690,3694,3697,3701,3704,3708,3712,3715,3719,3722,3726,3730,3733,3737,3740,3744,3748,3751,3755,3758,3762,3766,3769,3773,3776,3780,3784,3787,3791,3794,3798,3802,3805,3809,3812,3816,3820,3823,3827,3831,3834,3838,3841,3845,3849,3852,3856,3859,3863,3867,3870,3874,3877,3881,3885,3888,3892,3895,3899,3903,3906,3910,3913,3917,3921,3924,3928,3931,3935,3939,3942,3946,3949,3953,3957,3960,3964,3967,3971,3975,3978,3982,3985,3989,3993,3996,4000,4004,4007,4011,4014,4018,4022,4025,4029,4032,4036,4040,4043,4047,4050,4054,4058,4061,4065,4068,4072,4076,4079,4083,4086,4090,4094,4094,4090,4087,4083,4079,4076,4072,4069,4065,4061,4058,4054,4051,4047,4043,4040,4036,4032,4029,4025,4022,4018,4014,4011,4007,4004,4000,3996,3993,3989,3986,3982,3978,3975,3971,3968,3964,3960,3957,3953,3950,3946,3942,3939,3935,3932,3928,3924,3921,3917,3914,3910,3906,3903,3899,3896,3892,3888,3885,3881,3877,3874,3870,3867,3863,3859,3856,3852,3849,3845,3841,3838,3834,3831,3827,3823,3820,3816,3813,3809,3805,3802,3798,3795,3791,3787,3784,3780,3777,3773,3769,3766,3762,3759,3755,3751,3748,3744,3741,3737,3733,3730,3726,3723,3719,3715,3712,3708,3704,3701,3697,3694,3690,3686,3683,3679,3676,3672,3668,3665,3661,3658,3654,3650,3647,3643,3640,3636,3632,3629,3625,3622,3618,3614,3611,3607,3604,3600,3596,3593,3589,3586,3582,3578,3575,3571,3568,3564,3560,3557,3553,3549,3546,3542,3539,3535,3531,3528,3524,3521,3517,3513,3510,3506,3503,3499,3495,3492,3488,3485,3481,3477,3474,3470,3467,3463,3459,3456,3452,3449,3445,3441,3438,3434,3431,3427,3423,3420,3416,3413,3409,3405,3402,3398,3394,3391,3387,3384,3380,3376,3373,3369,3366,3362,3358,3355,3351,3348,3344,3340,3337,3333,3330,3326,3322,3319,3315,3312,3308,3304,3301,3297,3294,3290,3286,3283,3279,3276,3272,3268,3265,3261,3258,3254,3250,3247,3243,3239,3236,3232,3229,3225,3221,3218,3214,3211,3207,3203,3200,3196,3193,3189,3185,3182,3178,3175,3171,3167,3164,3160,3157,3153,3149,3146,3142,3139,3135,3131,3128,3124,3121,3117,3113,3110,3106,3103,3099,3095,3092,3088,3085,3081,3077,3074,3070,3066,3063,3059,3056,3052,3048,3045,3041,3038,3034,3030,3027,3023,3020,3016,3012,3009,3005,3002,2998,2994,2991,2987,2984,2980,2976,2973,2969,2966,2962,2958,2955,2951,2948,2944,2940,2937,2933,2930,2926,2922,2919,2915,2911,2908,2904,2901,2897,2893,2890,2886,2883,2879,2875,2872,2868,2865,2861,2857,2854,2850,2847,2843,2839,2836,2832,2829,2825,2821,2818,2814,2811,2807,2803,2800,2796,2793,2789,2785,2782,2778,2775,2771,2767,2764,2760,2756,2753,2749,2746,2742,2738,2735,2731,2728,2724,2720,2717,2713,2710,2706,2702,2699,2695,2692,2688,2684,2681,2677,2674,2670,2666,2663,2659,2656,2652,2648,2645,2641,2638,2634,2630,2627,2623,2620,2616,2612,2609,2605,2602,2598,2594,2591,2587,2583,2580,2576,2573,2569,2565,2562,2558,2555,2551,2547,2544,2540,2537,2533,2529,2526,2522,2519,2515,2511,2508,2504,2501,2497,2493,2490,2486,2483,2479,2475,2472,2468,2465,2461,2457,2454,2450,2447,2443,2439,2436,2432,2428,2425,2421,2418,2414,2410,2407,2403,2400,2396,2392,2389,2385,2382,2378,2374,2371,2367,2364,2360,2356,2353,2349,2346,2342,2338,2335,2331,2328,2324,2320,2317,2313,2310,2306,2302,2299,2295,2292,2288,2284,2281,2277,2273,2270,2266,2263,2259,2255,2252,2248,2245,2241,2237,2234,2230,2227,2223,2219,2216,2212,2209,2205,2201,2198,2194,2191,2187,2183,2180,2176,2173,2169,2165,2162,2158,2155,2151,2147,2144,2140,2137,2133,2129,2126,2122,2119,2115,2111,2108,2104,2100,2097,2093,2090,2086,2082,2079,2075,2072,2068,2064,2061,2057,2054,2050,2046,2043,2039,2036,2032,2028,2025,2021,2018,2014,2010,2007,2003,2000,1996,1992,1989,1985,1982,1978,1974,1971,1967,1964,1960,1956,1953,1949,1945,1942,1938,1935,1931,1927,1924,1920,1917,1913,1909,1906,1902,1899,1895,1891,1888,1884,1881,1877,1873,1870,1866,1863,1859,1855,1852,1848,1845,1841,1837,1834,1830,1827,1823,1819,1816,1812,1809,1805,1801,1798,1794,1790,1787,1783,1780,1776,1772,1769,1765,1762,1758,1754,1751,1747,1744,1740,1736,1733,1729,1726,1722,1718,1715,1711,1708,1704,1700,1697,1693,1690,1686,1682,1679,1675,1672,1668,1664,1661,1657,1654,1650,1646,1643,1639,1636,1632,1628,1625,1621,1617,1614,1610,1607,1603,1599,1596,1592,1589,1585,1581,1578,1574,1571,1567,1563,1560,1556,1553,1549,1545,1542,1538,1535,1531,1527,1524,1520,1517,1513,1509,1506,1502,1499,1495,1491,1488,1484,1481,1477,1473,1470,1466,1462,1459,1455,1452,1448,1444,1441,1437,1434,1430,1426,1423,1419,1416,1412,1408,1405,1401,1398,1394,1390,1387,1383,1380,1376,1372,1369,1365,1362,1358,1354,1351,1347,1344,1340,1336,1333,1329,1326,1322,1318,1315,1311,1307,1304,1300,1297,1293,1289,1286,1282,1279,1275,1271,1268,1264,1261,1257,1253,1250,1246,1243,1239,1235,1232,1228,1225,1221,1217,1214,1210,1207,1203,1199,1196,1192,1189,1185,1181,1178,1174,1171,1167,1163,1160,1156,1152,1149,1145,1142,1138,1134,1131,1127,1124,1120,1116,1113,1109,1106,1102,1098,1095,1091,1088,1084,1080,1077,1073,1070,1066,1062,1059,1055,1052,1048,1044,1041,1037,1034,1030,1026,1023,1019,1016,1012,1008,1005,1001,998,994,990,987,983,979,976,972,969,965,961,958,954,951,947,943,940,936,933,929,925,922,918,915,911,907,904,900,897,893,889,886,882,879,875,871,868,864,861,857,853,850,846,843,839,835,832,828,824,821,817,814,810,806,803,799,796,792,788,785,781,778,774,770,767,763,760,756,752,749,745,742,738,734,731,727,724,720,716,713,709,706,702,698,695,691,688,684,680,677,673,669,666,662,659,655,651,648,644,641,637,633,630,626,623,619,615,612,608,605,601,597,594,590,587,583,579,576,572,569,565,561,558,554,551,547,543,540,536,533,529,525,522,518,515,511,507,504,500,496,493,489,486,482,478,475,471,468,464,460,457,453,450,446,442,439,435,432,428,424,421,417,414,410,406,403,399,396,392,388,385,381,378,374,370,367,363,360,356,352,349,345,341,338,334,331,327,323,320,316,313,309,305,302,298,295,291,287,284,280,277,273,269,266,262,259,255,251,248,244,241,237,233,230,226,223,219,215,212,208,205,201,197,194,190,186,183,179,176,172,168,165,161,158,154,150,147,143,140,136,132,129,125,122,118,114,111,107,104,100,96,93,89,86,82,78,75,71,68,64,60,57,53,50,46,42,39,35,32,28,24,21,17,13,10,6,3,0,4,7,11,14,18,22,25,29,32,36,40,43,47,50,54,58,61,65,68,72,76,79,83,86,90,94,97,101,104,108,112,115,119,122,126,130,133,137,141,144,148,151,155,159,162,166,169,173,177,180,184,187,191,195,198,202,205,209,213,216,220,223,227,231,234,238,241,245,249,252,256,259,263,267,270,274,277,281,285,288,292,296,299,303,306,310,314,317,321,324,328,332,335,339,342,346,350,353,357,360,364,368,371,375,378,382,386,389,393,396,400,404,407,411,414,418,422,425,429,432,436,440,443,447,451,454,458,461,465,469,472,476,479,483,487,490,494,497,501,505,508,512,515,519,523,526,530,533,537,541,544,548,551,555,559,562,566,569,573,577,580,584,587,591,595,598,602,605,609,613,616,620,624,627,631,634,638,642,645,649,652,656,660,663,667,670,674,678,681,685,688,692,696,699,703,706,710,714,717,721,724,728,732,735,739,742,746,750,753,757,760,764,768,771,775,779,782,786,789,793,797,800,804,807,811,815,818,822,825,829,833,836,840,843,847,851,854,858,861,865,869,872,876,879,883,887,890,894,897,901,905,908,912,915,919,923,926,930,934,937,941,944,948,952,955,959,962,966,970,973,977,980,984,988,991,995,998,1002,1006,1009,1013,1016,1020,1024,1027,1031,1034,1038,1042,1045,1049,1052,1056,1060,1063,1067,1070,1074,1078,1081,1085,1088,1092,1096,1099,1103,1107,1110,1114,1117,1121,1125,1128,1132,1135,1139,1143,1146,1150,1153,1157,1161,1164,1168,1171,1175,1179,1182,1186,1189,1193,1197,1200,1204,1207,1211,1215,1218,1222,1225,1229,1233,1236,1240,1243,1247,1251,1254,1258,1262,1265,1269,1272,1276,1280,1283,1287,1290,1294,1298,1301,1305,1308,1312,1316,1319,1323,1326,1330,1334,1337,1341,1344,1348,1352,1355,1359,1362,1366,1370,1373,1377,1380,1384,1388,1391,1395,1398,1402,1406,1409,1413,1417,1420,1424,1427,1431,1435,1438,1442,1445,1449,1453,1456,1460,1463,1467,1471,1474,1478,1481,1485,1489,1492,1496,1499,1503,1507,1510,1514,1517,1521,1525,1528,1532,1535,1539,1543,1546,1550,1553,1557,1561,1564,1568,1571,1575,1579,1582,1586,1590,1593,1597,1600,1604,1608,1611,1615,1618,1622,1626,1629,1633,1636,1640,1644,1647,1651,1654,1658,1662,1665,1669,1672,1676,2415,2412,2408,2405,2401,2397,2394,2390,2387,2383,2379,2376,2372,2369,2365,2361,2358,2354,2350,2347,2343,2340,2336,2332,2329,2325,2322,2318,2314,2311,2307,2304,2300,2296,2293,2289,2286,2282,2278,2275,2271,2268,2264,2260,2257,2253,2250,2246,2242,2239,2235,2232,2228,2224,2221,2217,2214,2210,2206,2203,2199,2195,2192,2188,2185,2181,2177,2174,2170,2167,2163,2159,2156,2152,2149,2145,2141,2138,2134,2131,2127,2123,2120,2116,2113,2109,2105,2102,2098,2095,2091,2087,2084,2080,2077,2073,2069,2066,2062,2059,2055,2051,2048,2044,2041,2037,2033,2030,2026,2022,2019,2015,2012,2008,2004,2001,1997,1994,1990,1986,1983,1979,1976,1972,1968,1965,1961,1958,1954,1950,1947,1943,1940,1936,1932,1929,1925,1922,1918,1914,1911,1907,1904,1900,1896,1893,1889,1886,1882,1878,1875,1871,1867,1864,1860,1857,1853,1849,1846,1842,1839,1835,1831,1828,1824,1821,1817,1813,1810,1806,1803,1799,1795,1792,1788,1785,1781,1777,1774,1770,1767,1763,1759,1756,1752,1749,1745,1741,1738,1734,1731,1727,1723,1720,1716,1712,1709,1705,1702,1698,1694,1691,1687,1684,1680,1676,1673,1669,1666,1662,1658,1655,1651,1648,1644,1640,1637,1633,1630,1626,1622,1619,1615,1612,1608,1604,1601,1597,1594,1590,1586,1583,1579,1576,1572,1568,1565,1561,1557,1554,1550,1547,1543,1539,1536,1532,1529,1525,1521,1518,1514,1511,1507,1503,1500,1496,1493,1489,1485,1482,1478,1475,1471,1467,1464,1460,1457,1453,1449,1446,1442,1439,1435,1431,1428,1424,1421,1417,1413,1410,1406,1403,1399,1395,1392,1388,1384,1381,1377,1374,1370,1366,1363,1359,1356,1352,1348,1345,1341,1338,1334,1330,1327,1323,1320,1316,1312,1309,1305,1302,1298,1294,1291,1287,1284,1280,1276,1273,1269,1266,1262,1258,1255,1251,1248,1244,1240,1237,1233,1229,1226,1222,1219,1215,1211,1208,1204,1201,1197,1193,1190,1186,1183,1179,1175,1172,1168,1165,1161,1157,1154,1150,1147,1143,1139,1136,1132,1129,1125,1121,1118,1114,1111,1107,1103,1100,1096,1093,1089,1085,1082,1078,1074,1071,1067,1064,1060,1056,1053,1049,1046,1042,1038,1035,1031,1028,1024,1020,1017,1013,1010,1006,1002,999,995,992,988,984,981,977,974,970,966,963,959,956,952,948,945,941,938,934,930,927,923,920,916,912,909,905,901,898,894,891,887,883,880,876,873,869,865,862,858,855,851,847,844,840,837,833,829,826,822,819,815,811,808,804,801,797,793,790,786,783,779,775,772,768,765,761,757,754,750,746,743,739,736,732,728,725,721,718,714,710,707,703,700,696,692,689,685,682,678,674,671,667,664,660,656,653,649,646,642,638,635,631,628,624,620,617,613,610,606,602,599,595,591,588,584,581,577,573,570,566,563,559,555,552,548,545,541,537,534,530,527,523,519,516,512,509,505,501,498,494,491,487,483,480,476,473,469,465,462,458,455,451,447,444,440,437,433,429,426,422,418,415,411,408,404,400,397,393,390,386,382,379,375,372,368,364,361,357,354,350,346,343,339,336,332,328,325,321,318,314,310,307,303,300,296,292,289,285,282,278,274,271,267,263,260,256,253,249,245,242,238,235,231,227,224,220,217,213,209,206,202,199,195,191,188,184,181,177,173,170,166,163,159,155,152,148,145,141,137,134,130,127,123,119,116,112,108,105,101,98,94,90,87,83,80,76,72,69,65,62,58,54,51,47,44,40,36,33,29,26,22,18,15,11,8,4,0,2,6,9,13,17,20,24,27,31,35,38,42,46,49,53,56,60,64,67,71,74,78,82,85,89,92,96,100,103,107,110,114,118,121,125,128,132,136,139,143,146,150,154,157,161,164,168,172,175,179,182,186,190,193,197,200,204,208,211,215,219,222,226,229,233,237,240,244,247,251,255,258,262,265,269,273,276,280,283,287,291,294,298,301,305,309,312,316,319,323,327,330,334,337,341,345,348,352,355,359,363,366,370,374,377,381,384,388,392,395,399,402,406,410,413,417,420,424,428,431,435,438,442,446,449,453,456,460,464,467,471,474,478,482,485,489,492,496,500,503,507,510,514,518,521,525,529,532,536,539,543,547,550,554,557,561,565,568,572,575,579,583,586,590,593,597,601,604,608,611,615,619,622,626,629,633,637,640,644,647,651,655,658,662,665,669,673,676,680,683,687,691,694,698,702,705,709,712,716,720,723,727,730,734,738,741,745,748,752,756,759,763,766,770,774,777,781,784,788,792,795,799,802,806,810,813,817,820,824,828,831,835,838,842,846,849,853,857,860,864,867,871,875,878,882,885,889,893,896,900,903,907,911,914,918,921,925,929,932,936,939,943,947,950,954,957,961,965,968,972,975,979,983,986,990,993,997,1001,1004,1008,1012,1015,1019,1022,1026,1030,1033,1037,1040,1044,1048,1051,1055,1058,1062,1066,1069,1073,1076,1080,1084,1087,1091,1094,1098,1102,1105,1109,1112,1116,1120,1123,1127,1130,1134,1138,1141,1145,1148,1152,1156,1159,1163,1166,1170,1174,1177,1181,1185,1188,1192,1195,1199,1203,1206,1210,1213,1217,1221,1224,1228,1231,1235,1239,1242,1246,1249,1253,1257,1260,1264,1267,1271,1275,1278,1282,1285,1289,1293,1296,1300,1303,1307,1311,1314,1318,1321,1325,1329,1332,1336,1340,1343,1347,1350,1354,1358,1361,1365,1368,1372,1376,1379,1383,1386,1390,1394,1397,1401,1404,1408,1412,1415,1419,1422,1426,1430,1433,1437,1440,1444,1448,1451,1455,1458,1462,1466,1469,1473,1476,1480,1484,1487,1491,1495,1498,1502,1505,1509,1513,1516,1520,1523,1527,1531,1534,1538,1541,1545,1549,1552,1556,1559,1563,1567,1570,1574,1577,1581,1585,1588,1592,1595,1599,1603,1606,1610,1613,1617,1621,1624,1628,1631,1635,1639,1642,1646,1649,1653,1657,1660,1664,1668,1671,1675,1678,1682,1686,1689,1693,1696,1700,1704,1707,1711,1714,1718,1722,1725,1729,1732,1736,1740,1743,1747,1750,1754,1758,1761,1765,1768,1772,1776,1779,1783,1786,1790,1794,1797,1801,1804,1808,1812,1815,1819,1823,1826,1830,1833,1837,1841,1844,1848,1851,1855,1859,1862,1866,1869,1873,1877,1880,1884,1887,1891,1895,1898,1902,1905,1909,1913,1916,1920,1923,1927,1931,1934,1938,1941,1945,1949,1952,1956,1959,1963,1967,1970,1974,1978,1981,1985,1988,1992,1996,1999,2003,2006,2010,2014,2017,2021,2024,2028,2032,2035,2039,2042,2046,2050,2053,2057,2060,2064,2068,2071,2075,2078,2082,2086,2089,2093,2096,2100,2104,2107,2111,2114,2118,2122,2125,2129,2133,2136,2140,2143,2147,2151,2154,2158,2161,2165,2169,2172,2176,2179,2183,2187,2190,2194,2197,2201,2205,2208,2212,2215,2219,2223,2226,2230,2233,2237,2241,2244,2248,2251,2255,2259,2262,2266,2269,2273,2277,2280,2284,2287,2291,2295,2298,2302,2306,2309,2313,2316,2320,2324,2327,2331,2334,2338,2342,2345,2349,2352,2356,2360,2363,2367,2370,2374,2378,2381,2385,2388,2392,2396,2399,2403,2406,2410,2414,2417,2421,2424,2428,2432,2435,2439,2442,2446,2450,2453,2457,2461,2464,2468,2471,2475,2479,2482,2486,2489,2493,2497,2500,2504,2507,2511,2515,2518,2522,2525,2529,2533,2536,2540,2543,2547,2551,2554,2558,2561,2565,2569,2572,2576,2579,2583,2587,2590,2594,2597,2601,2605,2608,2612,2616,2619,2623,2626,2630,2634,2637,2641,2644,2648,2652,2655,2659,2662,2666,2670,2673,2677,2680,2684,2688,2691,2695,2698,2702,2706,2709,2713,2716,2720,2724,2727,2731,2734,2738,2742,2745,2749,2752,2756,2760,2763,2767,2770,2774,2778,2781,2785,2789,2792,2796,2799,2803,2807,2810,2814,2817,2821,2825,2828,2832,2835,2839,2843,2846,2850,2853,2857,2861,2864,2868,2871,2875,2879,2882,2886,2889,2893,2897,2900,2904,2907,2911,2915,2918,2922,2925,2929,2933,2936,2940,2944,2947,2951,2954,2958,2962,2965,2969,2972,2976,2980,2983,2987,2990,2994,2998,3001,3005,3008,3012,3016,3019,3023,3026,3030,3034,3037,3041,3044,3048,3052,3055,3059,3062,3066,3070,3073,3077,3080,3084,3088,3091,3095,3099,3102,3106,3109,3113,3117,3120,3124,3127,3131,3135,3138,3142,3145,3149,3153,3156,3160,3163,3167,3171,3174,3178,3181,3185,3189,3192,3196,3199,3203,3207,3210,3214,3217,3221,3225,3228,3232,3235,3239,3243,3246,3250,3253,3257,3261,3264,3268,3272,3275,3279,3282,3286,3290,3293,3297,3300,3304,3308,3311,3315,3318,3322,3326,3329,3333,3336,3340,3344,3347,3351,3354,3358,3362,3365,3369,3372,3376,3380,3383,3387,3390,3394,3398,3401,3405,3408,3412,3416,3419,3423,3427,3430,3434,3437,3441,3445,3448,3452,3455,3459,3463,3466,3470,3473,3477,3481,3484,3488,3491,3495,3499,3502,3506,3509,3513,3517,3520,3524,3527,3531,3535,3538,3542,3545,3549,3553,3556,3560,3563,3567,3571,3574,3578,3582,3585,3589,3592,3596,3600,3603,3607,3610,3614,3618,3621,3625,3628,3632,3636,3639,3643,3646,3650,3654,3657,3661,3664,3668,3672,3675,3679,3682,3686,3690,3693,3697,3700,3704,3708,3711,3715,3718,3722,3726,3729,3733,3737,3740,3744,3747,3751,3755,3758,3762,3765,3769,3773,3776,3780,3783,3787,3791,3794,3798,3801,3805,3809,3812,3816,3819,3823,3827,3830,3834,3837,3841,3845,3848,3852,3855,3859,3863,3866,3870,3873,3877,3881,3884,3888,3891,3895,3899,3902,3906,3910,3913,3917,3920,3924,3928,3931,3935,3938,3942,3946,3949,3953,3956,3960,3964,3967,3971,3974,3978,3982,3985,3989,3992,3996,4000,4003,4007,4010,4014,4018,4021,4025,4028,4032,4036,4039,4043,4046,4050,4054,4057,4061,4065,4068,4072,4075,4079,4083,4086,4090,4093,4094,4090,4087,4083,4080,4076,4072,4069,4065,4062,4058,4054,4051,4047,4044,4040,4036,4033,4029,4026,4022,4018,4015,4011,4008,4004,4000,3997,3993,3990,3986,3982,3979,3975,3971,3968,3964,3961,3957,3953,3950,3946,3943,3939,3935,3932,3928,3925,3921,3917,3914,3910,3907,3903,3899,3896,3892,3889,3885,3881,3878,3874,3871,3867,3863,3860,3856,3853,3849,3845,3842,3838,3835,3831,3827,3824,3820,3817,3813,3809,3806,3802,3798,3795,3791,3788,3784,3780,3777,3773,3770,3766,3762,3759,3755,3752,3748,3744,3741,3737,3734,3730,3726,3723,376,379,383,387,390,394,397,401,405,408,412,415,419,423,426,430,433,437,441,444,448,452,455,459,462,466,470,473,477,480,484,488,491,495,498,502,506,509,513,516,520,524,527,531,534,538,542,545,549,552,556,560,563,567,570,574,578,581,585,588,592,596,599,603,607,610,614,617,621,625,628,632,635,639,643,646,650,653,657,661,664,668,671,675,679,682,686,689,693,697,700,704,707,711,715,718,722,725,729,733,736,740,743,747,751,754,758,761,765,769,772,776,780,783,787,790,794,798,801,805,808,812,816,819,823,826,830,834,837,841,844,848,852,855,859,862,866,870,873,877,880,884,888,891,895,898,902,906,909,913,916,920,924,927,931,935,938,942,945,949,953,956,960,963,967,971,974,978,981,985,989,992,996,999,1003,1007,1010,1014,1017,1021,1025,1028,1032,1035,1039,1043,1046,1050,1053,1057,1061,1064,1068,1071,1075,1079,1082,1086,1090,1093,1097,1100,1104,1108,1111,1115,1118,1122,1126,1129,1133,1136,1140,1144,1147,1151,1154,1158,1162,1165,1169,1172,1176,1180,1183,1187,1190,1194,1198,1201,1205,1208,1212,1216,1219,1223,1226,1230,1234,1237,1241,1244,1248,1252,1255,1259,1263,1266,1270,1273,1277,1281,1284,1288,1291,1295,1299,1302,1306,1309,1313,1317,1320,1324,1327,1331,1335,1338,1342,1345,1349,1353,1356,1360,1363,1367,1371,1374,1378,1381,1385,1389,1392,1396,1399,1403,1407,1410,1414,1418,1421,1425,1428,1432,1436,1439,1443,1446,1450,1454,1457,1461,1464,1468,1472,1475,1479,1482,1486,1490,1493,1497,1500,1504,1508,1511,1515,1518,1522,1526,1529,1533,1536,1540,1544,1547,1551,1554,1558,1562,1565,1569,1573,1576,1580,1583,1587,1591,1594,1598,1601,1605,1609,1612,1616,1619,1623,1627,1630,1634,1637,1641,1645,1648,1652,1655,1659,1663,1666,1670,1673,1677,1681,1684,1688,1691,1695,1699,1702,1706,1709,1713,1717,1720,1724,1728,1731,1735,1738,1742,1746,1749,1753,1756,1760,1764,1767,1771,1774,1778,1782,1785,1789,1792,1796,1800,1803,1807,1810,1814,1818,1821,1825,1828,1832,1836,1839,1843,1846,1850,1854,1857,1861,1864,1868,1872,1875,1879,1882,1886,1890,1893,1897,1901,1904,1908,1911,1915,1919,1922,1926,1929,1933,1937,1940,1944,1947,1951,1955,1958,1962,1965,1969,1973,1976,1980,1983,1987,1991,1994,1998,2001,2005,2009,2012,2016,2019,2023,2027,2030,2034,2037,2041,2045,2048,2052,2056,2059,2063,2066,2070,2074,2077,2081,2084,2088,2092,2095,2099,2102,2106,2110,2113,2117,2120,2124,2128,2131,2135,2138,2142,2146,2149,2153,2156,2160,2164,2167,2171,2174,2178,2182,2185,2189,2192,2196,2200,2203,2207,2211,2214,2218,2221,2225,2229,2232,2236,2239,2243,2247,2250,2254,2257,2261,2265,2268,2272,2275,2279,2283,2286,2290,2293,2297,2301,2304,2308,2311,2315,2319,2322,2326,2329,2333,2337,2340,2344,2347,2351,2355,2358,2362,2365,2369,2373,2376,2380,2384,2387,2391,2394,2398,2402,2405,2409,2412,2416,2420,2423,2427,2430,2434,2438,2441,2445,2448,2452,2456,2459,2463,2466,2470,2474,2477,2481,2484,2488,2492,2495,2499,2502,2506,2510,2513,2517,2520,2524,2528,2531,2535,2539,2542,2546,2549,2553,2557,2560,2564,2567,2571,2575,2578,2582,2585,2589,2593,2596,2600,2603,2607,2611,2614,2618,2621,2625,2629,2632,2636,2639,2643,2647,2650,2654,2657,2661,2665,2668,2672,2675,2679,2683,2686,2690,2694,2697,2701,2704,2708,2712,2715,2719,2722,2726,2730,2733,2737,2740,2744,2748,2751,2755,2758,2762,2766,2769,2773,2776,2780,2784,2787,2791,2794,2798,2802,2805,2809,2812,2816,2820,2823,2827,2830,2834,2838,2841,2845,2848,2852,2856,2859,2863,2867,2870,2874,2877,2881,2885,2888,2892,2895,2899,2903,2906,2910,2913,2917,2921,2924,2928,2931,2935,2939,2942,2946,2949,2953,2957,2960,2964,2967,2971,2975,2978,2982,2985,2989,2993,2996,3000,3003,3007,3011,3014,3018,3022,3025,3029,3032,3036,3040,3043,3047,3050,3054,3058,3061,3065,3068,3072,3076,3079,3083,3086,3090,3094,3097,3101,3104,3108,3112,3115,3119,3122,3126,3130,3133,3137,3140,3144,3148,3151,3155,3158,3162,3166,3169,3173,3177,3180,3184,3187,3191,3195,3198,3202,3205,3209,3213,3216,3220,3223,3227,3231,3234,3238,3241,3245,3249,3252,3256,3259,3263,3267,3270,3274,3277,3281,3285,3288,3292,3295,3299,3303,3306,3310,3313,3317,3321,3324,3328,3332,3335,3339,3342,3346,3350,3353,3357,3360,3364,3368,3371,3375,3378,3382,3386,3389,3393,3396,3400,3404,3407,3411,3414,3418,3422,3425,3429,3432,3436,3440,3443,3447,3450,3454,3458,3461,3465,3468,3472,3476,3479,3483,3486,3490,3494,3497,3501,3505,3508,3512,3515,3519,3523,3526,3530,3533,3537,3541,3544,3548,3551,3555,3559,3562,3566,3569,3573,3577,3580,3584,3587,3591,3595,3598,3602,3605,3609,3613,3616,3620,3623,3627,3631,3634,3638,3641,3645,3649,3652,3656,3660,3663,3667,3670,3674,3678,3681,3685,3688,3692,3696,3699,3703,3706,3710,3714,3717,3721,3724,3728,3732,3735,3739,3742,3746,3750,3753,3757,3760,3764,3768,3771,3775,3778,3782,3786,3789,3793,3796,3800,3804,3807,3811,3815,3818,3822,3825,3829,3833,3836,3840,3843,3847,3851,3854,3858,3861,3865,3869,3872,3876,3879,3883,3887,3890,3894,3897,3901,3905,3908,3912,3915,3919,3923,3926,3930,3933,3937,3941,3944,3948,3951,3955,3959,3962,3966,3969,3973,3977,3980,3984,3988,3991,3995,3998,4002,4006,4009,4013,4016,4020,4024,4027,4031,4034,4038,4042,4045,4049,4052,4056,4060,4063,4067,4070,4074,4078,4081,4085,4088,4092,4095,4092,4088,4085,4081,4077,4074,4070,4067,4063,4059,4056,4052,4048,4045,4041,4038,4034,4030,4027,4023,4020,4016,4012,4009,4005,4002,3998,3994,3991,3987,3984,3980,3976,3973,3969,3966,3962,3958,3955,3951,3948,3944,3940,3937,3933,3930,3926,3922,3919,3915,3912,3908,3904,3901,3897,3893,3890,3886,3883,3879,3875,3872,3868,3865,3861,3857,3854,3850,3847,3843,3839,3836,3832,3829,3825,3821,3818,3814,3811,3807,3803,3800,3796,3793,3789,3785,3782,3778,3775,3771,3767,3764,3760,3757,3753,3749,3746,3742,3739,3735,3731,3728,3724,3720,3717,3713,3710,3706,3702,3699,3695,3692,3688,3684,3681,3677,3674,3670,3666,3663,3659,3656,3652,3648,3645,3641,3638,3634,3630,3627,3623,3620,3616,3612,3609,3605,3602,3598,3594,3591,3587,3584,3580,3576,3573,3569,3565,3562,3558,3555,3551,3547,3544,3540,3537,3533,3529,3526,3522,3519,3515,3511,3508,3504,3501,3497,3493,3490,3486,3483,3479,3475,3472,3468,3465,3461,3457,3454,3450,3447,3443,3439,3436,3432,3429,3425,3421,3418,3414,3410,3407,3403,3400,3396,3392,3389,3385,3382,3378,3374,3371,3367,3364,3360,3356,3353,3349,3346,3342,3338,3335,3331,3328,3324,3320,3317,3313,3310,3306,3302,3299,3295,3292,3288,3284,3281,3277,3274,3270,3266,3263,3259,3256,3252,3248,3245,3241,3237,3234,3230,3227,3223,3219,3216,3212,3209,3205,3201,3198,3194,3191,3187,3183,3180,3176,3173,3169,3165,3162,3158,3155,3151,3147,3144,3140,3137,3133,3129,3126,3122,3119,3115,3111,3108,3104,3101,3097,3093,3090,3086,3082,3079,3075,3072,3068,3064,3061,3057,3054,3050,3046,3043,3039,3036,3032,3028,3025,3021,3018,3014,3010,3007,3003,3000,2996,2992,2989,2985,2982,2978,2974,2971,2967,2964,2960,2956,2953,2949,2946,2942,2938,2935,2931,2927,2924,2920,2917,2913,2909,2906,2902,2899,2895,2891,2888,2884,2881,2877,2873,2870,2866,2863,2859,2855,2852,2848,2845,2841,2837,2834,2830,2827,2823,2819,2816,2812,2809,2805,2801,2798,2794,2791,2787,2783,2780,2776,2772,2769,2765,2762,2758,2754,2751,2747,2744,2740,2736,2733,2729,2726,2722,2718,2715,2711,2708,2704,2700,2697,2693,2690,2686,2682,2679,2675,2672,2668,2664,2661,2657,2654,2650,2646,2643,2639,2636,2632,2628,2625,2621,2618,2614,2610,2607,2603,2599,2596,2592,2589,2585,2581,2578,2574,2571,2567,2563,2560,2556,2553,2549,2545,2542,2538,2535,2531,2527,2524,2520,2517,2513,2509,2506,2502,2499,2495,2491,2488,2484,2481,2477,2473,2470,2466,2463,2459,2455,2452,2448,2444,2441,2437,2434,2430,2426,2423,2419,2416,2412,2408,2405,2401,2398,2394,2390,2387,2383,2380,2376,2372,2369,2365,2362,2358,2354,2351,2347,2344,2340,2336,2333,2329,2326,2322,2318,2315,2311,2308,2304,2300,2297,2293,2289,2286,2282,2279,2275,2271,2268,2264,2261,2257,2253,2250,2246,2243,2239,2235,2232,2228,2225,2221,2217,2214,2210,2207,2203,2199,2196,2192,2189,2185,2181,2178,2174,2171,2167,2163,2160,2156,2153,2149,2145,2142,2138,2135,2131,2127,2124,2120,2116,2113,2109,2106,2102,2098,2095,2091,2088,2084,2080,2077,2073,2070,2066,2062,2059,2055,2052,2048,2044,2041,2037,2034,2030,2026,2023,2019,2016,2012,2008,2005,2001,1998,1994,1990,1987,1983,1980,1976,1972,1969,1965,1961,1958,1954,1951,1947,1943,1940,1936,1933,1929,1925,1922,1918,1915,1911,1907,1904,1900,1897,1893,1889,1886,1882,1879,1875,1871,1868,1864,1861,1857,1853,1850,1846,1843,1839,1835,1832,1828,1825,1821,1817,1814,1810,1806,1803,1799,1796,1792,1788,1785,1781,1778,1774,1770,1767,1763,1760,1756,1752,1749,1745,1742,1738,1734,1731,1727,1724,1720,1716,1713,1709,1706,1702,1698,1695,1691,1688,1684,1680,1677,1673,1670,1666,1662,1659,1655,1652,1648,1644,1641,1637,1633,1630,1626,1623,1619,1615,1612,1608,1605,1601,1597,1594,1590,1587,1583,1579,1576,1572,1569,1565,1561,1558,1554,1551,1547,1543,1540,1536,1533,1529,1525,1522,1518,1515,1511,1507,1504,1500,1497,1493,1489,1486,1482,1478,1475,1471,1468,1464,1460,1457,1453,1450,1446,1442,1439,1435,1432,1428,1424,1421,1417,1414,1410,1406,1403,1399,1396,1392,1388,1385,1381,1378,1374,1370,1367,1363,1360,1356,1352,1349,1345,1342,1338,1334,1331,1327,1323,1320,1316,1313,1309,1305,1302,1298,1295,1291,1287,1284,1280,1277,1273,1269,1266,1262,1259,1255,1251,1248,1244,1241,1237,1233,1230,1226,1223,1219,1215,1212,1208,1205,1201,1197,1194,1190,1187,1183,1179,1176,1172,1168,1165,1161,1158,1154,1150,1147,1143,1140,1136,1132,1129,1125,1122,1118,1114,1111,1107,1104,1100,1096,1093,1089,1086,1082,1078,1075,1071,1068,1064,1060,1057,1053,1050,1046,1042,1039,1035,1032,1028,1024,1021,1017,1014,1010,1006,1003,999,995,992,988,985,981,977,974,970,967,963,959,956,952,949,945,941,938,934,931,3168,3172,3175,3179,3182,3186,3190,3193,3197,3200,3204,3208,3211,3215,3218,3222,3226,3229,3233,3236,3240,3244,3247,3251,3255,3258,3262,3265,3269,3273,3276,3280,3283,3287,3291,3294,3298,3301,3305,3309,3312,3316,3319,3323,3327,3330,3334,3337,3341,3345,3348,3352,3355,3359,3363,3366,3370,3373,3377,3381,3384,3388,3391,3395,3399,3402,3406,3410,3413,3417,3420,3424,3428,3431,3435,3438,3442,3446,3449,3453,3456,3460,3464,3467,3471,3474,3478,3482,3485,3489,3492,3496,3500,3503,3507,3510,3514,3518,3521,3525,3528,3532,3536,3539,3543,3546,3550,3554,3557,3561,3564,3568,3572,3575,3579,3583,3586,3590,3593,3597,3601,3604,3608,3611,3615,3619,3622,3626,3629,3633,3637,3640,3644,3647,3651,3655,3658,3662,3665,3669,3673,3676,3680,3683,3687,3691,3694,3698,3701,3705,3709,3712,3716,3719,3723,3727,3730,3734,3738,3741,3745,3748,3752,3756,3759,3763,3766,3770,3774,3777,3781,3784,3788,3792,3795,3799,3802,3806,3810,3813,3817,3820,3824,3828,3831,3835,3838,3842,3846,3849,3853,3856,3860,3864,3867,3871,3874,3878,3882,3885,3889,3893,3896,3900,3903,3907,3911,3914,3918,3921,3925,3929,3932,3936,3939,3943,3947,3950,3954,3957,3961,3965,3968,3972,3975,3979,3983,3986,3990,3993,3997,4001,4004,4008,4011,4015,4019,4022,4026,4029,4033,4037,4040,4044,4047,4051,4055,4058,4062,4066,4069,4073,4076,4080,4084,4087,4091,4094,4093,4089,4086,4082,4079,4075,4071,4068,4064,4061,4057,4053,4050,4046,4043,4039,4035,4032,4028,4025,4021,4017,4014,4010,4007,4003,3999,3996,3992,3989,3985,3981,3978,3974,3970,3967,3963,3960,3956,3952,3949,3945,3942,3938,3934,3931,3927,3924,3920,3916,3913,3909,3906,3902,3898,3895,3891,3888,3884,3880,3877,3873,3870,3866,3862,3859,3855,3852,3848,3844,3841,3837,3834,3830,3826,3823,3819,3815,3812,3808,3805,3801,3797,3794,3790,3787,3783,3779,3776,3772,3769,3765,3761,3758,3754,3751,3747,3743,3740,3736,3733,3729,3725,3722,3718,3715,3711,3707,3704,3700,3697,3693,3689,3686,3682,3679,3675,3671,3668,3664,3661,3657,3653,3650,3646,3642,3639,3635,3632,3628,3624,3621,3617,3614,3610,3606,3603,3599,3596,3592,3588,3585,3581,3578,3574,3570,3567,3563,3560,3556,3552,3549,3545,3542,3538,3534,3531,3527,3524,3520,3516,3513,3509,3506,3502,3498,3495,3491,3487,3484,3480,3477,3473,3469,3466,3462,3459,3455,3451,3448,3444,3441,3437,3433,3430,3426,3423,3419,3415,3412,3408,3405,3401,3397,3394,3390,3387,3383,3379,3376,3372,3369,3365,3361,3358,3354,3351,3347,3343,3340,3336,3332,3329,3325,3322,3318,3314,3311,3307,3304,3300,3296,3293,3289,3286,3282,3278,3275,3271,3268,3264,3260,3257,3253,3250,3246,3242,3239,3235,3232,3228,3224,3221,3217,3214,3210,3206,3203,3199,3196,3192,3188,3185,3181,3177,3174,3170,3167,3163,3159,3156,3152,3149,3145,3141,3138,3134,3131,3127,3123,3120,3116,3113,3109,3105,3102,3098,3095,3091,3087,3084,3080,3077,3073,3069,3066,3062,3059,3055,3051,3048,3044,3041,3037,3033,3030,3026,3023,3019,3015,3012,3008,3004,3001,2997,2994,2990,2986,2983,2979,2976,2972,2968,2965,2961,2958,2954,2950,2947,2943,2940,2936,2932,2929,2925,2922,2918,2914,2911,2907,2904,2900,2896,2893,2889,2886,2882,2878,2875,2871,2868,2864,2860,2857,2853,2849,2846,2842,2839,2835,2831,2828,2824,2821,2817,2813,2810,2806,2803,2799,2795,2792,2788,2785,2781,2777,2774,2770,2767,2763,2759,2756,2752,2749,2745,2741,2738,2734,2731,2727,2723,2720,2716,2713,2709,2705,2702,2698,2694,2691,2687,2684,2680,2676,2673,2669,2666,2662,2658,2655,2651,2648,2644,2640,2637,2633,2630,2626,2622,2619,2615,2612,2608,2604,2601,2597,2594,2590,2586,2583,2579,2576,2572,2568,2565,2561,2558,2554,2550,2547,2543,2540,2536,2532,2529,2525,2521,2518,2514,2511,2507,2503,2500,2496,2493,2489,2485,2482,2478,2475,2471,2467,2464,2460,2457,2453,2449,2446,2442,2439,2435,2431,2428,2424,2421,2417,2413,2410,2406,2403,2399,2395,2392,2388,2385,2381,2377,2374,2370,2366,2363,2359,2356,2352,2348,2345,2341,2338,2334,2330,2327,2323,2320,2316,2312,2309,2305,2302,2298,2294,2291,2287,2284,2280,2276,2273,2269,2266,2262,2258,2255,2251,2248,2244,2240,2237,2233,2230,2226,2222,2219,2215,2211,2208,2204,2201,2197,2193,2190,2186,2183,2179,2175,2172,2168,2165,2161,2157,2154,2150,2147,2143,2139,2136,2132,2129,2125,2121,2118,2114,2111,2107,2103,2100,2096,2093,2089,2085,2082,2078,2075,2071,2067,2064,2060,2057,2053,2049,2046,2042,2038,2035,2031,2028,2024,2020,2017,2013,2010,2006,2002,1999,1995,1992,1988,1984,1981,1977,1974,1970,1966,1963,1959,1956,1952,1948,1945,1941,1938,1934,1930,1927,1923,1920,1916,1912,1909,1905,1902,1898,1894,1891,1887,1883,1880,1876,1873,1869,1865,1862,1858,1855,1851,1847,1844,1840,1837,1833,1829,1826,1822,1819,1815,1811,1808,1804,1801,1797,1793,1790,1786,1783,1779,1775,1772,1768,1765,1761,1757,1754,1750,1747,1743,1739,1736,1732,1728,1725,1721,1718,1714,1710,1707,1703,1700,1696,1692,1689,1685,1682,1678,1674,1671,1667,1664,1660,1656,1653,1649,1646,1642,1638,1635,1631,1628,1624,1620,1617,1613,1610,1606,1602,1599,1595,1592,1588,1584,1581,1577,1573,1570,1566,1563,1559,1555,1552,1548,1545,1541,1537,1534,1530,1527,1523,1519,1516,1512,1509,1505,1501,1498,1494,1491,1487,1483,1480,1476,1473,1469,1465,1462,1458,1455,1451,1447,1444,1440,1437,1433,1429,1426,1422,1419,1415,1411,1408,1404,1400,1397,1393,1390,1386,1382,1379,1375,1372,1368,1364,1361,1357,1354,1350,1346,1343,1339,1336,1332,1328,1325,1321,1318,1314,1310,1307,1303,1300,1296,1292,1289,1285,1282,1278,1274,1271,1267,1264,1260,1256,1253,1249,1245,1242,1238,1235,1231,1227,1224,1220,1217,1213,1209,1206,1202,1199,1195,1191,1188,1184,1181,1177,1173,1170,1166,1163,1159,1155,1152,1148,1145,1141,1137,1134,1130,1127,1123,1119,1116,1112,1109,1105,1101,1098,1094,1090,1087,1083,1080,1076,1072,1069,1065,1062,1058,1054,1051,1047,1044,1040,1036,1033,1029,1026,1022,1018,1015,1011,1008,1004,1000,997,993,990,986,982,979,975,972,968,964,961,957,954,950,946,943,939,936,932,928,925,921,917,914,910,907,903,899,896,892,889,885,881,878,874,871,867,863,860,856,853,849,845,842,838,835,831,827,824,820,817,813,809,806,802,799,795,791,788,784,781,777,773,770,766,762,759,755,752,748,744,741,737,734,730,726,723,719,716,712,708,705,701,698,694,690,687,683,680,676,672,669,665,662,658,654,651,647,644,640,636,633,629,626,622,618,615,611,607,604,600,597,593,589,586,582,579,575,571,568,564,561,557,553,550,546,543,539,535,532,528,525,521,517,514,510,507,503,499,496,492,489,485,481,478,474,471,467,463,460,456,453,449,445,442,438,434,431,427,424,420,416,413,409,406,402,398,395,391,388,384,380,377,373,370,366,362,359,355,352,348,344,341,337,334,330,326,323,319,316,312,308,305,301,298,294,290,287,283,279,276,272,269,265,261,258,254,251,247,243,240,236,233,229,225,222,218,215,211,207,204,200,197,193,189,186,182,179,175,171,168,164,161,157,153,150,146,143,139,135,132,128,124,121,117,114,110,106,103,99,96,92,88,85,81,78,74,70,67,63,60,56,52,49,45,42,38,34,31,27,24,20,16,13,9,6,2,1,4,8,11,15,19,22,26,29,33,37,40,44,48,51,55,58,62,66,69,73,76,80,84,87,91,94,98,102,105,109,112,116,120,123,127,130,134,138,141,145,148,152,156,159,163,166,170,174,177,181,184,188,192,195,199,203,206,210,213,217,221,224,228,231,235,239,242,246,249,253,257,260,264,267,271,275,278,282,285,289,293,296,300,303,307,311,314,318,321,325,329,332,336,339,343,347,350,354,358,361,365,368,372,376,379,383,386,390,394,397,401,404,408,412,415,419,422,426,430,433,437,440,444,448,451,455,458,462,466,469,473,476,480,484,487,491,494,498,502,505,509,513,516,520,523,527,531,534,538,541,545,549,552,556,559,563,567,570,574,577,581,585,588,592,595,599,603,606,610,613,617,621,624,628,631,635,639,642,646,649,653,657,660,664,667,671,675,678,682,686,689,693,696,700,704,707,711,714,718,722,725,729,732,736,740,743,747,750,754,758,761,765,768,772,776,779,783,786,790,794,797,801,804,808,812,815,819,822,826,830,833,837,841,844,848,851,855,859,862,866,869,873,877,880,884,887,891,895,898,902,905,909,913,916,920,923,927,931,934,938,941,945,949,952,956,959,963,967,970,974,977,981,985,988,992,996,999,1003,1006,1010,1014,1017,1021,1024,1028,1032,1035,1039,1042,1046,1050,1053,1057,1060,1064,1068,1071,1075,1078,1082,1086,1089,1093,1096,1100,1104,1107,1111,1114,1118,1122,1125,1129,1132,1136,1140,1143,1147,1150,1154,1158,1161,1165,1169,1172,1176,1179,1183,1187,1190,1194,1197,1201,1205,1208,1212,1215,1219,1223,1226,1230,1233,1237,1241,1244,1248,1251,1255,1259,1262,1266,1269,1273,1277,1280,1284,1287,1291,1295,1298,1302,1305,1309,1313,1316,1320,1324,1327,1331,1334,1338,1342,1345,1349,1352,1356,1360,1363,1367,1370,1374,1378,1381,1385,1388,1392,1396,1399,1403,1406,1410,1414,1417,1421,1424,1428,1432,1435,1439,1442,1446,1450,1453,1457,1460,1464,1468,1471,1475,1479,1482,1486,1489,1493,1497,1500,1504,1507,1511,1515,1518,1522,1525,1529,1533,1536,1540,1543,1547,1551,1554,1558,1561,1565,1569,1572,1576,1579,1583,1587,1590,1594,1597,1601,1605,1608,1612,1615,1619,1623,1626,1630,1633,1637,1641,1644,1648,1652,1655,1659,1662,1666,1670,1673,1677,1680,1684,1688,1691,1695,1698,1702,1706,1709,1713,1716,1720,1724,1727,1731,1734,1738,1742,1745,1749,1752,1756,1760,1763,1767,1770,1774,1778,1781,1785,1788,1792,1796,1799,1803,1807,1810,1814,1817,1821,1825,1828,1832,1835,1839,1843,1846,1850,1853,1857,1861,1864,2227,2224,2220,2216,2213,2209,2206,2202,2198,2195,2191,2188,2184,2180,2177,2173,2170,2166,2162,2159,2155,2152,2148,2144,2141,2137,2133,2130,2126,2123,2119,2115,2112,2108,2105,2101,2097,2094,2090,2087,2083,2079,2076,2072,2069,2065,2061,2058,2054,2051,2047,2043,2040,2036,2033,2029,2025,2022,2018,2015,2011,2007,2004,2000,1997,1993,1989,1986,1982,1978,1975,1971,1968,1964,1960,1957,1953,1950,1946,1942,1939,1935,1932,1928,1924,1921,1917,1914,1910,1906,1903,1899,1896,1892,1888,1885,1881,1878,1874,1870,1867,1863,1860,1856,1852,1849,1845,1842,1838,1834,1831,1827,1824,1820,1816,1813,1809,1805,1802,1798,1795,1791,1787,1784,1780,1777,1773,1769,1766,1762,1759,1755,1751,1748,1744,1741,1737,1733,1730,1726,1723,1719,1715,1712,1708,1705,1701,1697,1694,1690,1687,1683,1679,1676,1672,1669,1665,1661,1658,1654,1650,1647,1643,1640,1636,1632,1629,1625,1622,1618,1614,1611,1607,1604,1600,1596,1593,1589,1586,1582,1578,1575,1571,1568,1564,1560,1557,1553,1550,1546,1542,1539,1535,1532,1528,1524,1521,1517,1514,1510,1506,1503,1499,1495,1492,1488,1485,1481,1477,1474,1470,1467,1463,1459,1456,1452,1449,1445,1441,1438,1434,1431,1427,1423,1420,1416,1413,1409,1405,1402,1398,1395,1391,1387,1384,1380,1377,1373,1369,1366,1362,1359,1355,1351,1348,1344,1341,1337,1333,1330,1326,1322,1319,1315,1312,1308,1304,1301,1297,1294,1290,1286,1283,1279,1276,1272,1268,1265,1261,1258,1254,1250,1247,1243,1240,1236,1232,1229,1225,1222,1218,1214,1211,1207,1204,1200,1196,1193,1189,1186,1182,1178,1175,1171,1167,1164,1160,1157,1153,1149,1146,1142,1139,1135,1131,1128,1124,1121,1117,1113,1110,1106,1103,1099,1095,1092,1088,1085,1081,1077,1074,1070,1067,1063,1059,1056,1052,1049,1045,1041,1038,1034,1031,1027,1023,1020,1016,1012,1009,1005,1002,998,994,991,987,984,980,976,973,969,966,962,958,955,951,948,944,940,937,933,930,926,922,919,915,912,908,904,901,897,894,890,886,883,879,876,872,868,865,861,858,854,850,847,843,839,836,832,829,825,821,818,814,811,807,803,800,796,793,789,785,782,778,775,771,767,764,760,757,753,749,746,742,739,735,731,728,724,721,717,713,710,706,703,699,695,692,688,684,681,677,674,670,666,663,659,656,652,648,645,641,638,634,630,627,623,620,616,612,609,605,602,598,594,591,587,584,580,576,573,569,566,562,558,555,551,548,544,540,537,533,529,526,522,519,515,511,508,504,501,497,493,490,486,483,479,475,472,468,465,461,457,454,450,447,443,439,436,432,429,425,421,418,414,411,407,403,400,396,393,389,385,382,378,375,371,367,364,360,356,353,349,346,342,338,335,331,328,324,320,317,313,310,306,302,299,295,292,288,284,281,277,274,270,266,263,259,256,252,248,245,241,238,234,230,227,223,220,216,212,209,205,201,198,194,191,187,183,180,176,173,169,165,162,158,155,151,147,144,140,137,133,129,126,122,119,115,111,108,104,101,97,93,90,86,83,79,75,72,68,65,61,57,54,50,46,43,39,36,32,28,25,21,18,14,10,7,3,0,3,7,10,14,17,21,25,28,32,35,39,43,46,50,53,57,61,64,68,71,75,79,82,86,89,93,97,100,104,108,111,115,118,122,126,129,133,136,140,144,147,151,154,158,162,165,169,172,176,180,183,187,190,194,198,201,205,208,212,216,219,223,226,230,234,237,241,244,248,252,255,259,262,266,270,273,277,281,284,288,291,295,299,302,306,309,313,317,320,324,327,331,335,338,342,345,349,353,356,360,363,367,371,374,378,381,385,389,392,396,399,403,407,410,414,417,421,425,428,432,436,439,443,446,450,454,457,461,464,468,472,475,479,482,486,490,493,497,500,504,508,511,515,518,522,526,529,533,536,540,544,547,551,554,558,562,565,569,572,576,580,583,587,591,594,598,601,605,609,612,616,619,623,627,630,634,637,641,645,648,652,655,659,663,666,670,673,677,681,684,688,691,695,699,702,706,709,713,717,720,724,727,731,735,738,742,745,749,753,756,760,764,767,771,774,778,782,785,789,792,796,800,803,807,810,814,818,821,825,828,832,836,839,843,846,850,854,857,861,864,868,872,875,879,882,886,890,893,897,900,904,908,911,915,919,922,926,929,933,937,940,944,947,951,955,958,962,965,969,973,976,980,983,987,991,994,998,1001,1005,1009,1012,1016,1019,1023,1027,1030,1034,1037,1041,1045,1048,1052,1055,1059,1063,1066,1070,1074,1077,1081,1084,1088,1092,1095,1099,1102,1106,1110,1113,1117,1120,1124,1128,1131,1135,1138,1142,1146,1149,1153,1156,1160,1164,1167,1171,1174,1178,1182,1185,1189,1192,1196,1200,1203,1207,1210,1214,1218,1221,1225,1228,1232,1236,1239,1243,1247,1250,1254,1257,1261,1265,1268,1272,1275,1279,1283,1286,1290,1293,1297,1301,1304,1308,1311,1315,1319,1322,1326,1329,1333,1337,1340,1344,1347,1351,1355,1358,1362,1365,1369,1373,1376,1380,1383,1387,1391,1394,1398,1402,1405,1409,1412,1416,1420,1423,1427,1430,1434,1438,1441,1445,1448,1452,1456,1459,1463,1466,1470,1474,1477,1481,1484,1488,1492,1495,1499,1502,1506,1510,1513,1517,1520,1524,1528,1531,1535,1538,1542,1546,1549,1553,1557,1560,1564,1567,1571,1575,1578,1582,1585,1589,1593,1596,1600,1603,1607,1611,1614,1618,1621,1625,1629,1632,1636,1639,1643,1647,1650,1654,1657,1661,1665,1668,1672,1675,1679,1683,1686,1690,1693,1697,1701,1704,1708,1712,1715,1719,1722,1726,1730,1733,1737,1740,1744,1748,1751,1755,1758,1762,1766,1769,1773,1776,1780,1784,1787,1791,1794,1798,1802,1805,1809,1812,1816,1820,1823,1827,1830,1834,1838,1841,1845,1848,1852,1856,1859,1863,1866,1870,1874,1877,1881,1885,1888,1892,1895,1899,1903,1906,1910,1913,1917,1921,1924,1928,1931,1935,1939,1942,1946,1949,1953,1957,1960,1964,1967,1971,1975,1978,1982,1985,1989,1993,1996,2000,2003,2007,2011,2014,2018,2021,2025,2029,2032,2036,2040,2043,2047,2050,2054,2058,2061,2065,2068,2072,2076,2079,2083,2086,2090,2094,2097,2101,2104,2108,2112,2115,2119,2122,2126,2130,2133,2137,2140,2144,2148,2151,2155,2158,2162,2166,2169,2173,2176,2180,2184,2187,2191,2195,2198,2202,2205,2209,2213,2216,2220,2223,2227,2231,2234,2238,2241,2245,2249,2252,2256,2259,2263,2267,2270,2274,2277,2281,2285,2288,2292,2295,2299,2303,2306,2310,2313,2317,2321,2324,2328,2331,2335,2339,2342,2346,2349,2353,2357,2360,2364,2368,2371,2375,2378,2382,2386,2389,2393,2396,2400,2404,2407,2411,2414,2418,2422,2425,2429,2432,2436,2440,2443,2447,2450,2454,2458,2461,2465,2468,2472,2476,2479,2483,2486,2490,2494,2497,2501,2504,2508,2512,2515,2519,2523,2526,2530,2533,2537,2541,2544,2548,2551,2555,2559,2562,2566,2569,2573,2577,2580,2584,2587,2591,2595,2598,2602,2605,2609,2613,2616,2620,2623,2627,2631,2634,2638,2641,2645,2649,2652,2656,2659,2663,2667,2670,2674,2678,2681,2685,2688,2692,2696,2699,2703,2706,2710,2714,2717,2721,2724,2728,2732,2735,2739,2742,2746,2750,2753,2757,2760,2764,2768,2771,2775,2778,2782,2786,2789,2793,2796,2800,2804,2807,2811,2814,2818,2822,2825,2829,2832,2836,2840,2843,2847,2851,2854,2858,2861,2865,2869,2872,2876,2879,2883,2887,2890,2894,2897,2901,2905,2908,2912,2915,2919,2923,2926,2930,2933,2937,2941,2944,2948,2951,2955,2959,2962,2966,2969,2973,2977,2980,2984,2987,2991,2995,2998,3002,3006,3009,3013,3016,3020,3024,3027,3031,3034,3038,3042,3045,3049,3052,3056,3060,3063,3067,3070,3074,3078,3081,3085,3088,3092,3096,3099,3103,3106,3110,3114,3117,3121,3124,3128,3132,3135,3139,3142,3146,3150,3153,3157,3161,3164,3168,3171,3175,3179,3182,3186,3189,3193,3197,3200,3204,3207,3211,3215,3218,3222,3225,3229,3233,3236,3240,3243,3247,3251,3254,3258,3261,3265,3269,3272,3276,3279,3283,3287,3290,3294,3297,3301,3305,3308,3312,3315,3319,3323,3326,3330,3334,3337,3341,3344,3348,3352,3355,3359,3362,3366,3370,3373,3377,3380,3384,3388,3391,3395,3398,3402,3406,3409,3413,3416,3420,3424,3427,3431,3434,3438,3442,3445,3449,3452,3456,3460,3463,3467,3470,3474,3478,3481,3485,3489,3492,3496,3499,3503,3507,3510,3514,3517,3521,3525,3528,3532,3535,3539,3543,3546,3550,3553,3557,3561,3564,3568,3571,3575,3579,3582,3586,3589,3593,3597,3600,3604,3607,3611,3615,3618,3622,3625,3629,3633,3636,3640,3644,3647,3651,3654,3658,3662,3665,3669,3672,3676,3680,3683,3687,3690,3694,3698,3701,3705,3708,3712,3716,3719,3723,3726,3730,3734,3737,3741,3744,3748,3752,3755,3759,3762,3766,3770,3773,3777,3780,3784,3788,3791,3795,3799,3802,3806,3809,3813,3817,3820,3824,3827,3831,3835,3838,3842,3845,3849,3853,3856,3860,3863,3867,3871,3874,3878,3881,3885,3889,3892,3896,3899,3903,3907,3910,3914,3917,3921,3925,3928,3932,3935,3939,3943,3946,3950,3953,3957,3961,3964,3968,3972,3975,3979,3982,3986,3990,3993,3997,4000,4004,4008,4011,4015,4018,4022,4026,4029,4033,4036,4040,4044,4047,4051,4054,4058,4062,4065,4069,4072,4076,4080,4083,4087,4090,4094,4093,4090,4086,4083,4079,4075,4072,4068,4064,4061,4057,4054,4050,4046,4043,4039,4036,4032,4028,4025,4021,4018,4014,4010,4007,4003,4000,3996,3992,3989,3985,3982,3978,3974,3971,3967,3964,3960,3956,3953,3949,3946,3942,3938,3935,3931,3928,3924,3920,3917,3913,3909,3906,3902,3899,3895,3891,3888,3884,3881,3877,3873,3870,3866,3863,3859,3855,3852,3848,3845,3841,3837,3834,3830,3827,3823,3819,3816,3812,3809,3805,3801,3798,3794,3791,3787,3783,3780,3776,3773,3769,3765,3762,3758,3755,3751,3747,3744,3740,3736,3733,3729,3726,3722,3718,3715,3711,3708,3704,3700,3697,3693,3690,3686,3682,3679,3675,3672,3668,3664,3661,3657,3654,3650,3646,3643,3639,3636,3632,3628,3625,3621,3618,3614,3610,3607,3603,3600,3596,3592,3589,3585,3581,3578,3574,3571,3567,3563,3560,3556,3553,3549,3545,3542,3538,3535,564,568,571,575,578,582,586,589,593,596,600,604,607,611,614,618,622,625,629,632,636,640,643,647,650,654,658,661,665,669,672,676,679,683,687,690,694,697,701,705,708,712,715,719,723,726,730,733,737,741,744,748,751,755,759,762,766,769,773,777,780,784,787,791,795,798,802,805,809,813,816,820,823,827,831,834,838,842,845,849,852,856,860,863,867,870,874,878,881,885,888,892,896,899,903,906,910,914,917,921,924,928,932,935,939,942,946,950,953,957,960,964,968,971,975,978,982,986,989,993,997,1000,1004,1007,1011,1015,1018,1022,1025,1029,1033,1036,1040,1043,1047,1051,1054,1058,1061,1065,1069,1072,1076,1079,1083,1087,1090,1094,1097,1101,1105,1108,1112,1115,1119,1123,1126,1130,1133,1137,1141,1144,1148,1152,1155,1159,1162,1166,1170,1173,1177,1180,1184,1188,1191,1195,1198,1202,1206,1209,1213,1216,1220,1224,1227,1231,1234,1238,1242,1245,1249,1252,1256,1260,1263,1267,1270,1274,1278,1281,1285,1288,1292,1296,1299,1303,1307,1310,1314,1317,1321,1325,1328,1332,1335,1339,1343,1346,1350,1353,1357,1361,1364,1368,1371,1375,1379,1382,1386,1389,1393,1397,1400,1404,1407,1411,1415,1418,1422,1425,1429,1433,1436,1440,1443,1447,1451,1454,1458,1461,1465,1469,1472,1476,1480,1483,1487,1490,1494,1498,1501,1505,1508,1512,1516,1519,1523,1526,1530,1534,1537,1541,1544,1548,1552,1555,1559,1562,1566,1570,1573,1577,1580,1584,1588,1591,1595,1598,1602,1606,1609,1613,1616,1620,1624,1627,1631,1635,1638,1642,1645,1649,1653,1656,1660,1663,1667,1671,1674,1678,1681,1685,1689,1692,1696,1699,1703,1707,1710,1714,1717,1721,1725,1728,1732,1735,1739,1743,1746,1750,1753,1757,1761,1764,1768,1771,1775,1779,1782,1786,1790,1793,1797,1800,1804,1808,1811,1815,1818,1822,1826,1829,1833,1836,1840,1844,1847,1851,1854,1858,1862,1865,1869,1872,1876,1880,1883,1887,1890,1894,1898,1901,1905,1908,1912,1916,1919,1923,1926,1930,1934,1937,1941,1944,1948,1952,1955,1959,1963,1966,1970,1973,1977,1981,1984,1988,1991,1995,1999,2002,2006,2009,2013,2017,2020,2024,2027,2031,2035,2038,2042,2045,2049,2053,2056,2060,2063,2067,2071,2074,2078,2081,2085,2089,2092,2096,2099,2103,2107,2110,2114,2118,2121,2125,2128,2132,2136,2139,2143,2146,2150,2154,2157,2161,2164,2168,2172,2175,2179,2182,2186,2190,2193,2197,2200,2204,2208,2211,2215,2218,2222,2226,2229,2233,2236,2240,2244,2247,2251,2254,2258,2262,2265,2269,2273,2276,2280,2283,2287,2291,2294,2298,2301,2305,2309,2312,2316,2319,2323,2327,2330,2334,2337,2341,2345,2348,2352,2355,2359,2363,2366,2370,2373,2377,2381,2384,2388,2391,2395,2399,2402,2406,2409,2413,2417,2420,2424,2427,2431,2435,2438,2442,2446,2449,2453,2456,2460,2464,2467,2471,2474,2478,2482,2485,2489,2492,2496,2500,2503,2507,2510,2514,2518,2521,2525,2528,2532,2536,2539,2543,2546,2550,2554,2557,2561,2564,2568,2572,2575,2579,2582,2586,2590,2593,2597,2601,2604,2608,2611,2615,2619,2622,2626,2629,2633,2637,2640,2644,2647,2651,2655,2658,2662,2665,2669,2673,2676,2680,2683,2687,2691,2694,2698,2701,2705,2709,2712,2716,2719,2723,2727,2730,2734,2737,2741,2745,2748,2752,2756,2759,2763,2766,2770,2774,2777,2781,2784,2788,2792,2795,2799,2802,2806,2810,2813,2817,2820,2824,2828,2831,2835,2838,2842,2846,2849,2853,2856,2860,2864,2867,2871,2874,2878,2882,2885,2889,2892,2896,2900,2903,2907,2910,2914,2918,2921,2925,2929,2932,2936,2939,2943,2947,2950,2954,2957,2961,2965,2968,2972,2975,2979,2983,2986,2990,2993,2997,3001,3004,3008,3011,3015,3019,3022,3026,3029,3033,3037,3040,3044,3047,3051,3055,3058,3062,3065,3069,3073,3076,3080,3084,3087,3091,3094,3098,3102,3105,3109,3112,3116,3120,3123,3127,3130,3134,3138,3141,3145,3148,3152,3156,3159,3163,3166,3170,3174,3177,3181,3184,3188,3192,3195,3199,3202,3206,3210,3213,3217,3220,3224,3228,3231,3235,3239,3242,3246,3249,3253,3257,3260,3264,3267,3271,3275,3278,3282,3285,3289,3293,3296,3300,3303,3307,3311,3314,3318,3321,3325,3329,3332,3336,3339,3343,3347,3350,3354,3357,3361,3365,3368,3372,3375,3379,3383,3386,3390,3394,3397,3401,3404,3408,3412,3415,3419,3422,3426,3430,3433,3437,3440,3444,3448,3451,3455,3458,3462,3466,3469,3473,3476,3480,3484,3487,3491,3494,3498,3502,3505,3509,3512,3516,3520,3523,3527,3530,3534,3538,3541,3545,3548,3552,3556,3559,3563,3567,3570,3574,3577,3581,3585,3588,3592,3595,3599,3603,3606,3610,3613,3617,3621,3624,3628,3631,3635,3639,3642,3646,3649,3653,3657,3660,3664,3667,3671,3675,3678,3682,3685,3689,3693,3696,3700,3703,3707,3711,3714,3718,3722,3725,3729,3732,3736,3740,3743,3747,3750,3754,3758,3761,3765,3768,3772,3776,3779,3783,3786,3790,3794,3797,3801,3804,3808,3812,3815,3819,3822,3826,3830,3833,3837,3840,3844,3848,3851,3855,3858,3862,3866,3869,3873,3877,3880,3884,3887,3891,3895,3898,3902,3905,3909,3913,3916,3920,3923,3927,3931,3934,3938,3941,3945,3949,3952,3956,3959,3963,3967,3970,3974,3977,3981,3985,3988,3992,3995,3999,4003,4006,4010,4013,4017,4021,4024,4028,4031,4035,4039,4042,4046,4050,4053,4057,4060,4064,4068,4071,4075,4078,4082,4086,4089,4093,4095,4091,4087,4084,4080,4077,4073,4069,4066,4062,4059,4055,4051,4048,4044,4041,4037,4033,4030,4026,4023,4019,4015,4012,4008,4005,4001,3997,3994,3990,3986,3983,3979,3976,3972,3968,3965,3961,3958,3954,3950,3947,3943,3940,3936,3932,3929,3925,3922,3918,3914,3911,3907,3904,3900,3896,3893,3889,3886,3882,3878,3875,3871,3868,3864,3860,3857,3853,3850,3846,3842,3839,3835,3831,3828,3824,3821,3817,3813,3810,3806,3803,3799,3795,3792,3788,3785,3781,3777,3774,3770,3767,3763,3759,3756,3752,3749,3745,3741,3738,3734,3731,3727,3723,3720,3716,3713,3709,3705,3702,3698,3695,3691,3687,3684,3680,3677,3673,3669,3666,3662,3658,3655,3651,3648,3644,3640,3637,3633,3630,3626,3622,3619,3615,3612,3608,3604,3601,3597,3594,3590,3586,3583,3579,3576,3572,3568,3565,3561,3558,3554,3550,3547,3543,3540,3536,3532,3529,3525,3522,3518,3514,3511,3507,3503,3500,3496,3493,3489,3485,3482,3478,3475,3471,3467,3464,3460,3457,3453,3449,3446,3442,3439,3435,3431,3428,3424,3421,3417,3413,3410,3406,3403,3399,3395,3392,3388,3385,3381,3377,3374,3370,3367,3363,3359,3356,3352,3348,3345,3341,3338,3334,3330,3327,3323,3320,3316,3312,3309,3305,3302,3298,3294,3291,3287,3284,3280,3276,3273,3269,3266,3262,3258,3255,3251,3248,3244,3240,3237,3233,3230,3226,3222,3219,3215,3212,3208,3204,3201,3197,3193,3190,3186,3183,3179,3175,3172,3168,3165,3161,3157,3154,3150,3147,3143,3139,3136,3132,3129,3125,3121,3118,3114,3111,3107,3103,3100,3096,3093,3089,3085,3082,3078,3075,3071,3067,3064,3060,3057,3053,3049,3046,3042,3039,3035,3031,3028,3024,3020,3017,3013,3010,3006,3002,2999,2995,2992,2988,2984,2981,2977,2974,2970,2966,2963,2959,2956,2952,2948,2945,2941,2938,2934,2930,2927,2923,2920,2916,2912,2909,2905,2902,2898,2894,2891,2887,2884,2880,2876,2873,2869,2865,2862,2858,2855,2851,2847,2844,2840,2837,2833,2829,2826,2822,2819,2815,2811,2808,2804,2801,2797,2793,2790,2786,2783,2779,2775,2772,2768,2765,2761,2757,2754,2750,2747,2743,2739,2736,2732,2729,2725,2721,2718,2714,2710,2707,2703,2700,2696,2692,2689,2685,2682,2678,2674,2671,2667,2664,2660,2656,2653,2649,2646,2642,2638,2635,2631,2628,2624,2620,2617,2613,2610,2606,2602,2599,2595,2592,2588,2584,2581,2577,2574,2570,2566,2563,2559,2556,2552,2548,2545,2541,2537,2534,2530,2527,2523,2519,2516,2512,2509,2505,2501,2498,2494,2491,2487,2483,2480,2476,2473,2469,2465,2462,2458,2455,2451,2447,2444,2440,2437,2433,2429,2426,2422,2419,2415,2411,2408,2404,2401,2397,2393,2390,2386,2382,2379,2375,2372,2368,2364,2361,2357,2354,2350,2346,2343,2339,2336,2332,2328,2325,2321,2318,2314,2310,2307,2303,2300,2296,2292,2289,2285,2282,2278,2274,2271,2267,2264,2260,2256,2253,2249,2246,2242,2238,2235,2231,2227,2224,2220,2217,2213,2209,2206,2202,2199,2195,2191,2188,2184,2181,2177,2173,2170,2166,2163,2159,2155,2152,2148,2145,2141,2137,2134,2130,2127,2123,2119,2116,2112,2109,2105,2101,2098,2094,2091,2087,2083,2080,2076,2073,2069,2065,2062,2058,2054,2051,2047,2044,2040,2036,2033,2029,2026,2022,2018,2015,2011,2008,2004,2000,1997,1993,1990,1986,1982,1979,1975,1972,1968,1964,1961,1957,1954,1950,1946,1943,1939,1936,1932,1928,1925,1921,1918,1914,1910,1907,1903,1899,1896,1892,1889,1885,1881,1878,1874,1871,1867,1863,1860,1856,1853,1849,1845,1842,1838,1835,1831,1827,1824,1820,1817,1813,1809,1806,1802,1799,1795,1791,1788,1784,1781,1777,1773,1770,1766,1763,1759,1755,1752,1748,1744,1741,1737,1734,1730,1726,1723,1719,1716,1712,1708,1705,1701,1698,1694,1690,1687,1683,1680,1676,1672,1669,1665,1662,1658,1654,1651,1647,1644,1640,1636,1633,1629,1626,1622,1618,1615,1611,1608,1604,1600,1597,1593,1590,1586,1582,1579,1575,1571,1568,1564,1561,1557,1553,1550,1546,1543,1539,1535,1532,1528,1525,1521,1517,1514,1510,1507,1503,1499,1496,1492,1489,1485,1481,1478,1474,1471,1467,1463,1460,1456,1453,1449,1445,1442,1438,1435,1431,1427,1424,1420,1416,1413,1409,1406,1402,1398,1395,1391,1388,1384,1380,1377,1373,1370,1366,1362,1359,1355,1352,1348,1344,1341,1337,1334,1330,1326,1323,1319,1316,1312,1308,1305,1301,1298,1294,1290,1287,1283,1280,1276,1272,1269,1265,1261,1258,1254,1251,1247,1243,1240,1236,1233,1229,1225,1222,1218,1215,1211,1207,1204,1200,1197,1193,1189,1186,1182,1179,1175,1171,1168,1164,1161,1157,1153,1150,1146,1143,1139,1135,1132,1128,1125,1121,1117,1114,1110,1106,1103,1099,1096,1092,1088,1085,1081,1078,1074,1070,1067,1063,1060,1056,1052,1049,1045,1042,1038,1034,1031,1027,1024,1020,1016,1013,1009,1006,1002,998,995,991,988,984,980,977,973,970,966,962,959,955,952,948,944,941,937,933,930,926,923,919,915,912,908,905,901,897,894,890,887,883,879,876,872,869,865,861,858,854,851,847,843,840,836,833,829,825,822,818,815,811,807,804,800,797,793,789,786,782,778,775,771,768,764,760,757,753,750,746,742,3356,3360,3363,3367,3371,3374,3378,3381,3385,3389,3392,3396,3399,3403,3407,3410,3414,3417,3421,3425,3428,3432,3435,3439,3443,3446,3450,3453,3457,3461,3464,3468,3472,3475,3479,3482,3486,3490,3493,3497,3500,3504,3508,3511,3515,3518,3522,3526,3529,3533,3536,3540,3544,3547,3551,3554,3558,3562,3565,3569,3572,3576,3580,3583,3587,3590,3594,3598,3601,3605,3608,3612,3616,3619,3623,3626,3630,3634,3637,3641,3645,3648,3652,3655,3659,3663,3666,3670,3673,3677,3681,3684,3688,3691,3695,3699,3702,3706,3709,3713,3717,3720,3724,3727,3731,3735,3738,3742,3745,3749,3753,3756,3760,3763,3767,3771,3774,3778,3781,3785,3789,3792,3796,3800,3803,3807,3810,3814,3818,3821,3825,3828,3832,3836,3839,3843,3846,3850,3854,3857,3861,3864,3868,3872,3875,3879,3882,3886,3890,3893,3897,3900,3904,3908,3911,3915,3918,3922,3926,3929,3933,3936,3940,3944,3947,3951,3955,3958,3962,3965,3969,3973,3976,3980,3983,3987,3991,3994,3998,4001,4005,4009,4012,4016,4019,4023,4027,4030,4034,4037,4041,4045,4048,4052,4055,4059,4063,4066,4070,4073,4077,4081,4084,4088,4091,4095,4092,4089,4085,4082,4078,4074,4071,4067,4063,4060,4056,4053,4049,4045,4042,4038,4035,4031,4027,4024,4020,4017,4013,4009,4006,4002,3999,3995,3991,3988,3984,3981,3977,3973,3970,3966,3963,3959,3955,3952,3948,3945,3941,3937,3934,3930,3927,3923,3919,3916,3912,3908,3905,3901,3898,3894,3890,3887,3883,3880,3876,3872,3869,3865,3862,3858,3854,3851,3847,3844,3840,3836,3833,3829,3826,3822,3818,3815,3811,3808,3804,3800,3797,3793,3790,3786,3782,3779,3775,3772,3768,3764,3761,3757,3753,3750,3746,3743,3739,3735,3732,3728,3725,3721,3717,3714,3710,3707,3703,3699,3696,3692,3689,3685,3681,3678,3674,3671,3667,3663,3660,3656,3653,3649,3645,3642,3638,3635,3631,3627,3624,3620,3617,3613,3609,3606,3602,3598,3595,3591,3588,3584,3580,3577,3573,3570,3566,3562,3559,3555,3552,3548,3544,3541,3537,3534,3530,3526,3523,3519,3516,3512,3508,3505,3501,3498,3494,3490,3487,3483,3480,3476,3472,3469,3465,3462,3458,3454,3451,3447,3444,3440,3436,3433,3429,3425,3422,3418,3415,3411,3407,3404,3400,3397,3393,3389,3386,3382,3379,3375,3371,3368,3364,3361,3357,3353,3350,3346,3343,3339,3335,3332,3328,3325,3321,3317,3314,3310,3307,3303,3299,3296,3292,3289,3285,3281,3278,3274,3270,3267,3263,3260,3256,3252,3249,3245,3242,3238,3234,3231,3227,3224,3220,3216,3213,3209,3206,3202,3198,3195,3191,3188,3184,3180,3177,3173,3170,3166,3162,3159,3155,3152,3148,3144,3141,3137,3134,3130,3126,3123,3119,3115,3112,3108,3105,3101,3097,3094,3090,3087,3083,3079,3076,3072,3069,3065,3061,3058,3054,3051,3047,3043,3040,3036,3033,3029,3025,3022,3018,3015,3011,3007,3004,3000,2997,2993,2989,2986,2982,2979,2975,2971,2968,2964,2961,2957,2953,2950,2946,2942,2939,2935,2932,2928,2924,2921,2917,2914,2910,2906,2903,2899,2896,2892,2888,2885,2881,2878,2874,2870,2867,2863,2860,2856,2852,2849,2845,2842,2838,2834,2831,2827,2824,2820,2816,2813,2809,2806,2802,2798,2795,2791,2787,2784,2780,2777,2773,2769,2766,2762,2759,2755,2751,2748,2744,2741,2737,2733,2730,2726,2723,2719,2715,2712,2708,2705,2701,2697,2694,2690,2687,2683,2679,2676,2672,2669,2665,2661,2658,2654,2651,2647,2643,2640,2636,2632,2629,2625,2622,2618,2614,2611,2607,2604,2600,2596,2593,2589,2586,2582,2578,2575,2571,2568,2564,2560,2557,2553,2550,2546,2542,2539,2535,2532,2528,2524,2521,2517,2514,2510,2506,2503,2499,2496,2492,2488,2485,2481,2478,2474,2470,2467,2463,2459,2456,2452,2449,2445,2441,2438,2434,2431,2427,2423,2420,2416,2413,2409,2405,2402,2398,2395,2391,2387,2384,2380,2377,2373,2369,2366,2362,2359,2355,2351,2348,2344,2341,2337,2333,2330,2326,2323,2319,2315,2312,2308,2304,2301,2297,2294,2290,2286,2283,2279,2276,2272,2268,2265,2261,2258,2254,2250,2247,2243,2240,2236,2232,2229,2225,2222,2218,2214,2211,2207,2204,2200,2196,2193,2189,2186,2182,2178,2175,2171,2168,2164,2160,2157,2153,2149,2146,2142,2139,2135,2131,2128,2124,2121,2117,2113,2110,2106,2103,2099,2095,2092,2088,2085,2081,2077,2074,2070,2067,2063,2059,2056,2052,2049,2045,2041,2038,2034,2031,2027,2023,2020,2016,2013,2009,2005,2002,1998,1995,1991,1987,1984,1980,1976,1973,1969,1966,1962,1958,1955,1951,1948,1944,1940,1937,1933,1930,1926,1922,1919,1915,1912,1908,1904,1901,1897,1894,1890,1886,1883,1879,1876,1872,1868,1865,1861,1858,1854,1850,1847,1843,1840,1836,1832,1829,1825,1821,1818,1814,1811,1807,1803,1800,1796,1793,1789,1785,1782,1778,1775,1771,1767,1764,1760,1757,1753,1749,1746,1742,1739,1735,1731,1728,1724,1721,1717,1713,1710,1706,1703,1699,1695,1692,1688,1685,1681,1677,1674,1670,1666,1663,1659,1656,1652,1648,1645,1641,1638,1634,1630,1627,1623,1620,1616,1612,1609,1605,1602,1598,1594,1591,1587,1584,1580,1576,1573,1569,1566,1562,1558,1555,1551,1548,1544,1540,1537,1533,1530,1526,1522,1519,1515,1511,1508,1504,1501,1497,1493,1490,1486,1483,1479,1475,1472,1468,1465,1461,1457,1454,1450,1447,1443,1439,1436,1432,1429,1425,1421,1418,1414,1411,1407,1403,1400,1396,1393,1389,1385,1382,1378,1375,1371,1367,1364,1360,1357,1353,1349,1346,1342,1338,1335,1331,1328,1324,1320,1317,1313,1310,1306,1302,1299,1295,1292,1288,1284,1281,1277,1274,1270,1266,1263,1259,1256,1252,1248,1245,1241,1238,1234,1230,1227,1223,1220,1216,1212,1209,1205,1202,1198,1194,1191,1187,1183,1180,1176,1173,1169,1165,1162,1158,1155,1151,1147,1144,1140,1137,1133,1129,1126,1122,1119,1115,1111,1108,1104,1101,1097,1093,1090,1086,1083,1079,1075,1072,1068,1065,1061,1057,1054,1050,1047,1043,1039,1036,1032,1028,1025,1021,1018,1014,1010,1007,1003,1000,996,992,989,985,982,978,974,971,967,964,960,956,953,949,946,942,938,935,931,928,924,920,917,913,910,906,902,899,895,892,888,884,881,877,874,870,866,863,859,855,852,848,845,841,837,834,830,827,823,819,816,812,809,805,801,798,794,791,787,783,780,776,773,769,765,762,758,755,751,747,744,740,737,733,729,726,722,719,715,711,708,704,700,697,693,690,686,682,679,675,672,668,664,661,657,654,650,646,643,639,636,632,628,625,621,618,614,610,607,603,600,596,592,589,585,582,578,574,571,567,564,560,556,553,549,545,542,538,535,531,527,524,520,517,513,509,506,502,499,495,491,488,484,481,477,473,470,466,463,459,455,452,448,445,441,437,434,430,427,423,419,416,412,409,405,401,398,394,391,387,383,380,376,372,369,365,362,358,354,351,347,344,340,336,333,329,326,322,318,315,311,308,304,300,297,293,290,286,282,279,275,272,268,264,261,257,254,250,246,243,239,236,232,228,225,221,217,214,210,207,203,199,196,192,189,185,181,178,174,171,167,163,160,156,153,149,145,142,138,135,131,127,124,120,117,113,109,106,102,99,95,91,88,84,81,77,73,70,66,62,59,55,52,48,44,41,37,34,30,26,23,19,16,12,8,5,1,1,5,9,12,16,19,23,27,30,34,37,41,45,48,52,55,59,63,66,70,73,77,81,84,88,92,95,99,102,106,110,113,117,120,124,128,131,135,138,142,146,149,153,156,160,164,167,171,174,178,182,185,189,192,196,200,203,207,210,214,218,221,225,228,232,236,239,243,246,250,254,257,261,265,268,272,275,279,283,286,290,293,297,301,304,308,311,315,319,322,326,329,333,337,340,344,347,351,355,358,362,365,369,373,376,380,383,387,391,394,398,401,405,409,412,416,420,423,427,430,434,438,441,445,448,452,456,459,463,466,470,474,477,481,484,488,492,495,499,502,506,510,513,517,520,524,528,531,535,538,542,546,549,553,556,560,564,567,571,575,578,582,585,589,593,596,600,603,607,611,614,618,621,625,629,632,636,639,643,647,650,654,657,661,665,668,672,675,679,683,686,690,693,697,701,704,708,711,715,719,722,726,729,733,737,740,744,748,751,755,758,762,766,769,773,776,780,784,787,791,794,798,802,805,809,812,816,820,823,827,830,834,838,841,845,848,852,856,859,863,866,870,874,877,881,884,888,892,895,899,903,906,910,913,917,921,924,928,931,935,939,942,946,949,953,957,960,964,967,971,975,978,982,985,989,993,996,1000,1003,1007,1011,1014,1018,1021,1025,1029,1032,1036,1039,1043,1047,1050,1054,1058,1061,1065,1068,1072,1076,1079,1083,1086,1090,1094,1097,1101,1104,1108,1112,1115,1119,1122,1126,1130,1133,1137,1140,1144,1148,1151,1155,1158,1162,1166,1169,1173,1176,1180,1184,1187,1191,1194,1198,1202,1205,1209,1212,1216,1220,1223,1227,1231,1234,1238,1241,1245,1249,1252,1256,1259,1263,1267,1270,1274,1277,1281,1285,1288,1292,1295,1299,1303,1306,1310,1313,1317,1321,1324,1328,1331,1335,1339,1342,1346,1349,1353,1357,1360,1364,1367,1371,1375,1378,1382,1386,1389,1393,1396,1400,1404,1407,1411,1414,1418,1422,1425,1429,1432,1436,1440,1443,1447,1450,1454,1458,1461,1465,1468,1472,1476,1479,1483,1486,1490,1494,1497,1501,1504,1508,1512,1515,1519,1522,1526,1530,1533,1537,1541,1544,1548,1551,1555,1559,1562,1566,1569,1573,1577,1580,1584,1587,1591,1595,1598,1602,1605,1609,1613,1616,1620,1623,1627,1631,1634,1638,1641,1645,1649,1652,1656,1659,1663,1667,1670,1674,1677,1681,1685,1688,1692,1695,1699,1703,1706,1710,1714,1717,1721,1724,1728,1732,1735,1739,1742,1746,1750,1753,1757,1760,1764,1768,1771,1775,1778,1782,1786,1789,1793,1796,1800,1804,1807,1811,1814,1818,1822,1825,1829,1832,1836,1840,1843,1847,1850,1854,1858,1861,1865,1869,1872,1876,1879,1883,1887,1890,1894,1897,1901,1905,1908,1912,1915,1919,1923,1926,1930,1933,1937,1941,1944,1948,1951,1955,1959,1962,1966,1969,1973,1977,1980,1984,1987,1991,1995,1998,2002,2005,2009,2013,2016,2020,2024,2027,2031,2034,2038,2042,2045,2049,2052,2039,2035,2032,2028,2025,2021,2017,2014,2010,2007,2003,1999,1996,1992,1989,1985,1981,1978,1974,1971,1967,1963,1960,1956,1953,1949,1945,1942,1938,1935,1931,1927,1924,1920,1916,1913,1909,1906,1902,1898,1895,1891,1888,1884,1880,1877,1873,1870,1866,1862,1859,1855,1852,1848,1844,1841,1837,1834,1830,1826,1823,1819,1816,1812,1808,1805,1801,1798,1794,1790,1787,1783,1780,1776,1772,1769,1765,1762,1758,1754,1751,1747,1743,1740,1736,1733,1729,1725,1722,1718,1715,1711,1707,1704,1700,1697,1693,1689,1686,1682,1679,1675,1671,1668,1664,1661,1657,1653,1650,1646,1643,1639,1635,1632,1628,1625,1621,1617,1614,1610,1607,1603,1599,1596,1592,1588,1585,1581,1578,1574,1570,1567,1563,1560,1556,1552,1549,1545,1542,1538,1534,1531,1527,1524,1520,1516,1513,1509,1506,1502,1498,1495,1491,1488,1484,1480,1477,1473,1470,1466,1462,1459,1455,1452,1448,1444,1441,1437,1433,1430,1426,1423,1419,1415,1412,1408,1405,1401,1397,1394,1390,1387,1383,1379,1376,1372,1369,1365,1361,1358,1354,1351,1347,1343,1340,1336,1333,1329,1325,1322,1318,1315,1311,1307,1304,1300,1297,1293,1289,1286,1282,1279,1275,1271,1268,1264,1260,1257,1253,1250,1246,1242,1239,1235,1232,1228,1224,1221,1217,1214,1210,1206,1203,1199,1196,1192,1188,1185,1181,1178,1174,1170,1167,1163,1160,1156,1152,1149,1145,1142,1138,1134,1131,1127,1124,1120,1116,1113,1109,1105,1102,1098,1095,1091,1087,1084,1080,1077,1073,1069,1066,1062,1059,1055,1051,1048,1044,1041,1037,1033,1030,1026,1023,1019,1015,1012,1008,1005,1001,997,994,990,987,983,979,976,972,969,965,961,958,954,950,947,943,940,936,932,929,925,922,918,914,911,907,904,900,896,893,889,886,882,878,875,871,868,864,860,857,853,850,846,842,839,835,832,828,824,821,817,814,810,806,803,799,796,792,788,785,781,777,774,770,767,763,759,756,752,749,745,741,738,734,731,727,723,720,716,713,709,705,702,698,695,691,687,684,680,677,673,669,666,662,659,655,651,648,644,641,637,633,630,626,622,619,615,612,608,604,601,597,594,590,586,583,579,576,572,568,565,561,558,554,550,547,543,540,536,532,529,525,522,518,514,511,507,504,500,496,493,489,486,482,478,475,471,467,464,460,457,453,449,446,442,439,435,431,428,424,421,417,413,410,406,403,399,395,392,388,385,381,377,374,370,367,363,359,356,352,349,345,341,338,334,331,327,323,320,316,312,309,305,302,298,294,291,287,284,280,276,273,269,266,262,258,255,251,248,244,240,237,233,230,226,222,219,215,212,208,204,201,197,194,190,186,183,179,176,172,168,165,161,158,154,150,147,143,139,136,132,129,125,121,118,114,111,107,103,100,96,93,89,85,82,78,75,71,67,64,60,57,53,49,46,42,39,35,31,28,24,21,17,13,10,6,3,0,4,7,11,15,18,22,25,29,33,36,40,43,47,51,54,58,61,65,69,72,76,79,83,87,90,94,97,101,105,108,112,115,119,123,126,130,133,137,141,144,148,151,155,159,162,166,170,173,177,180,184,188,191,195,198,202,206,209,213,216,220,224,227,231,234,238,242,245,249,252,256,260,263,267,270,274,278,281,285,288,292,296,299,303,306,310,314,317,321,324,328,332,335,339,343,346,350,353,357,361,364,368,371,375,379,382,386,389,393,397,400,404,407,411,415,418,422,425,429,433,436,440,443,447,451,454,458,461,465,469,472,476,479,483,487,490,494,498,501,505,508,512,516,519,523,526,530,534,537,541,544,548,552,555,559,562,566,570,573,577,580,584,588,591,595,598,602,606,609,613,616,620,624,627,631,634,638,642,645,649,653,656,660,663,667,671,674,678,681,685,689,692,696,699,703,707,710,714,717,721,725,728,732,735,739,743,746,750,753,757,761,764,768,771,775,779,782,786,789,793,797,800,804,807,811,815,818,822,826,829,833,836,840,844,847,851,854,858,862,865,869,872,876,880,883,887,890,894,898,901,905,908,912,916,919,923,926,930,934,937,941,944,948,952,955,959,962,966,970,973,977,981,984,988,991,995,999,1002,1006,1009,1013,1017,1020,1024,1027,1031,1035,1038,1042,1045,1049,1053,1056,1060,1063,1067,1071,1074,1078,1081,1085,1089,1092,1096,1099,1103,1107,1110,1114,1117,1121,1125,1128,1132,1136,1139,1143,1146,1150,1154,1157,1161,1164,1168,1172,1175,1179,1182,1186,1190,1193,1197,1200,1204,1208,1211,1215,1218,1222,1226,1229,1233,1236,1240,1244,1247,1251,1254,1258,1262,1265,1269,1272,1276,1280,1283,1287,1290,1294,1298,1301,1305,1309,1312,1316,1319,1323,1327,1330,1334,1337,1341,1345,1348,1352,1355,1359,1363,1366,1370,1373,1377,1381,1384,1388,1391,1395,1399,1402,1406,1409,1413,1417,1420,1424,1427,1431,1435,1438,1442,1445,1449,1453,1456,1460,1464,1467,1471,1474,1478,1482,1485,1489,1492,1496,1500,1503,1507,1510,1514,1518,1521,1525,1528,1532,1536,1539,1543,1546,1550,1554,1557,1561,1564,1568,1572,1575,1579,1582,1586,1590,1593,1597,1600,1604,1608,1611,1615,1619,1622,1626,1629,1633,1637,1640,1644,1647,1651,1655,1658,1662,1665,1669,1673,1676,1680,1683,1687,1691,1694,1698,1701,1705,1709,1712,1716,1719,1723,1727,1730,1734,1737,1741,1745,1748,1752,1755,1759,1763,1766,1770,1774,1777,1781,1784,1788,1792,1795,1799,1802,1806,1810,1813,1817,1820,1824,1828,1831,1835,1838,1842,1846,1849,1853,1856,1860,1864,1867,1871,1874,1878,1882,1885,1889,1892,1896,1900,1903,1907,1910,1914,1918,1921,1925,1928,1932,1936,1939,1943,1947,1950,1954,1957,1961,1965,1968,1972,1975,1979,1983,1986,1990,1993,1997,2001,2004,2008,2011,2015,2019,2022,2026,2029,2033,2037,2040,2044,2047,2051,2055,2058,2062,2065,2069,2073,2076,2080,2083,2087,2091,2094,2098,2102,2105,2109,2112,2116,2120,2123,2127,2130,2134,2138,2141,2145,2148,2152,2156,2159,2163,2166,2170,2174,2177,2181,2184,2188,2192,2195,2199,2202,2206,2210,2213,2217,2220,2224,2228,2231,2235,2238,2242,2246,2249,2253,2257,2260,2264,2267,2271,2275,2278,2282,2285,2289,2293,2296,2300,2303,2307,2311,2314,2318,2321,2325,2329,2332,2336,2339,2343,2347,2350,2354,2357,2361,2365,2368,2372,2375,2379,2383,2386,2390,2393,2397,2401,2404,2408,2411,2415,2419,2422,2426,2430,2433,2437,2440,2444,2448,2451,2455,2458,2462,2466,2469,2473,2476,2480,2484,2487,2491,2494,2498,2502,2505,2509,2512,2516,2520,2523,2527,2530,2534,2538,2541,2545,2548,2552,2556,2559,2563,2566,2570,2574,2577,2581,2585,2588,2592,2595,2599,2603,2606,2610,2613,2617,2621,2624,2628,2631,2635,2639,2642,2646,2649,2653,2657,2660,2664,2667,2671,2675,2678,2682,2685,2689,2693,2696,2700,2703,2707,2711,2714,2718,2721,2725,2729,2732,2736,2740,2743,2747,2750,2754,2758,2761,2765,2768,2772,2776,2779,2783,2786,2790,2794,2797,2801,2804,2808,2812,2815,2819,2822,2826,2830,2833,2837,2840,2844,2848,2851,2855,2858,2862,2866,2869,2873,2876,2880,2884,2887,2891,2894,2898,2902,2905,2909,2913,2916,2920,2923,2927,2931,2934,2938,2941,2945,2949,2952,2956,2959,2963,2967,2970,2974,2977,2981,2985,2988,2992,2995,2999,3003,3006,3010,3013,3017,3021,3024,3028,3031,3035,3039,3042,3046,3049,3053,3057,3060,3064,3068,3071,3075,3078,3082,3086,3089,3093,3096,3100,3104,3107,3111,3114,3118,3122,3125,3129,3132,3136,3140,3143,3147,3150,3154,3158,3161,3165,3168,3172,3176,3179,3183,3186,3190,3194,3197,3201,3204,3208,3212,3215,3219,3223,3226,3230,3233,3237,3241,3244,3248,3251,3255,3259,3262,3266,3269,3273,3277,3280,3284,3287,3291,3295,3298,3302,3305,3309,3313,3316,3320,3323,3327,3331,3334,3338,3341,3345,3349,3352,3356,3359,3363,3367,3370,3374,3378,3381,3385,3388,3392,3396,3399,3403,3406,3410,3414,3417,3421,3424,3428,3432,3435,3439,3442,3446,3450,3453,3457,3460,3464,3468,3471,3475,3478,3482,3486,3489,3493,3496,3500,3504,3507,3511,3514,3518,3522,3525,3529,3532,3536,3540,3543,3547,3551,3554,3558,3561,3565,3569,3572,3576,3579,3583,3587,3590,3594,3597,3601,3605,3608,3612,3615,3619,3623,3626,3630,3633,3637,3641,3644,3648,3651,3655,3659,3662,3666,3669,3673,3677,3680,3684,3687,3691,3695,3698,3702,3706,3709,3713,3716,3720,3724,3727,3731,3734,3738,3742,3745,3749,3752,3756,3760,3763,3767,3770,3774,3778,3781,3785,3788,3792,3796,3799,3803,3806,3810,3814,3817,3821,3824,3828,3832,3835,3839,3842,3846,3850,3853,3857,3861,3864,3868,3871,3875,3879,3882,3886,3889,3893,3897,3900,3904,3907,3911,3915,3918,3922,3925,3929,3933,3936,3940,3943,3947,3951,3954,3958,3961,3965,3969,3972,3976,3979,3983,3987,3990,3994,3997,4001,4005,4008,4012,4015,4019,4023,4026,4030,4034,4037,4041,4044,4048,4052,4055,4059,4062,4066,4070,4073,4077,4080,4084,4088,4091,4095,4093,4089,4085,4082,4078,4075,4071,4067,4064,4060,4057,4053,4049,4046,4042,4039,4035,4031,4028,4024,4021,4017,4013,4010,4006,4002,3999,3995,3992,3988,3984,3981,3977,3974,3970,3966,3963,3959,3956,3952,3948,3945,3941,3938,3934,3930,3927,3923,3920,3916,3912,3909,3905,3902,3898,3894,3891,3887,3884,3880,3876,3873,3869,3866,3862,3858,3855,3851,3847,3844,3840,3837,3833,3829,3826,3822,3819,3815,3811,3808,3804,3801,3797,3793,3790,3786,3783,3779,3775,3772,3768,3765,3761,3757,3754,3750,3747,3743,3739,3736,3732,3729,3725,3721,3718,3714,3711,3707,3703,3700,3696,3693,3689,3685,3682,3678,3674,3671,3667,3664,3660,3656,3653,3649,3646,3642,3638,3635,3631,3628,3624,3620,3617,3613,3610,3606,3602,3599,3595,3592,3588,3584,3581,3577,3574,3570,3566,3563,3559,3556,3552,3548,3545,3541,3538,3534,3530,3527,3523,3519,3516,3512,3509,3505,3501,3498,3494,3491,3487,3483,3480,3476,3473,3469,3465,3462,3458,3455,3451,3447,3444,3440,3437,3433,3429,3426,3422,3419,3415,3411,3408,3404,3401,3397,3393,3390,3386,3383,3379,3375,3372,3368,3364,3361,3357,3354,3350,3346,752,756,759,763,767,770,774,777,781,785,788,792,795,799,803,806,810,813,817,821,824,828,831,835,839,842,846,849,853,857,860,864,867,871,875,878,882,885,889,893,896,900,904,907,911,914,918,922,925,929,932,936,940,943,947,950,954,958,961,965,968,972,976,979,983,986,990,994,997,1001,1004,1008,1012,1015,1019,1022,1026,1030,1033,1037,1040,1044,1048,1051,1055,1059,1062,1066,1069,1073,1077,1080,1084,1087,1091,1095,1098,1102,1105,1109,1113,1116,1120,1123,1127,1131,1134,1138,1141,1145,1149,1152,1156,1159,1163,1167,1170,1174,1177,1181,1185,1188,1192,1195,1199,1203,1206,1210,1214,1217,1221,1224,1228,1232,1235,1239,1242,1246,1250,1253,1257,1260,1264,1268,1271,1275,1278,1282,1286,1289,1293,1296,1300,1304,1307,1311,1314,1318,1322,1325,1329,1332,1336,1340,1343,1347,1350,1354,1358,1361,1365,1369,1372,1376,1379,1383,1387,1390,1394,1397,1401,1405,1408,1412,1415,1419,1423,1426,1430,1433,1437,1441,1444,1448,1451,1455,1459,1462,1466,1469,1473,1477,1480,1484,1487,1491,1495,1498,1502,1505,1509,1513,1516,1520,1523,1527,1531,1534,1538,1542,1545,1549,1552,1556,1560,1563,1567,1570,1574,1578,1581,1585,1588,1592,1596,1599,1603,1606,1610,1614,1617,1621,1624,1628,1632,1635,1639,1642,1646,1650,1653,1657,1660,1664,1668,1671,1675,1678,1682,1686,1689,1693,1697,1700,1704,1707,1711,1715,1718,1722,1725,1729,1733,1736,1740,1743,1747,1751,1754,1758,1761,1765,1769,1772,1776,1779,1783,1787,1790,1794,1797,1801,1805,1808,1812,1815,1819,1823,1826,1830,1833,1837,1841,1844,1848,1852,1855,1859,1862,1866,1870,1873,1877,1880,1884,1888,1891,1895,1898,1902,1906,1909,1913,1916,1920,1924,1927,1931,1934,1938,1942,1945,1949,1952,1956,1960,1963,1967,1970,1974,1978,1981,1985,1988,1992,1996,1999,2003,2006,2010,2014,2017,2021,2025,2028,2032,2035,2039,2043,2046,2050,2053,2057,2061,2064,2068,2071,2075,2079,2082,2086,2089,2093,2097,2100,2104,2107,2111,2115,2118,2122,2125,2129,2133,2136,2140,2143,2147,2151,2154,2158,2161,2165,2169,2172,2176,2180,2183,2187,2190,2194,2198,2201,2205,2208,2212,2216,2219,2223,2226,2230,2234,2237,2241,2244,2248,2252,2255,2259,2262,2266,2270,2273,2277,2280,2284,2288,2291,2295,2298,2302,2306,2309,2313,2316,2320,2324,2327,2331,2335,2338,2342,2345,2349,2353,2356,2360,2363,2367,2371,2374,2378,2381,2385,2389,2392,2396,2399,2403,2407,2410,2414,2417,2421,2425,2428,2432,2435,2439,2443,2446,2450,2453,2457,2461,2464,2468,2471,2475,2479,2482,2486,2489,2493,2497,2500,2504,2508,2511,2515,2518,2522,2526,2529,2533,2536,2540,2544,2547,2551,2554,2558,2562,2565,2569,2572,2576,2580,2583,2587,2590,2594,2598,2601,2605,2608,2612,2616,2619,2623,2626,2630,2634,2637,2641,2644,2648,2652,2655,2659,2663,2666,2670,2673,2677,2681,2684,2688,2691,2695,2699,2702,2706,2709,2713,2717,2720,2724,2727,2731,2735,2738,2742,2745,2749,2753,2756,2760,2763,2767,2771,2774,2778,2781,2785,2789,2792,2796,2799,2803,2807,2810,2814,2818,2821,2825,2828,2832,2836,2839,2843,2846,2850,2854,2857,2861,2864,2868,2872,2875,2879,2882,2886,2890,2893,2897,2900,2904,2908,2911,2915,2918,2922,2926,2929,2933,2936,2940,2944,2947,2951,2954,2958,2962,2965,2969,2973,2976,2980,2983,2987,2991,2994,2998,3001,3005,3009,3012,3016,3019,3023,3027,3030,3034,3037,3041,3045,3048,3052,3055,3059,3063,3066,3070,3073,3077,3081,3084,3088,3091,3095,3099,3102,3106,3109,3113,3117,3120,3124,3127,3131,3135,3138,3142,3146,3149,3153,3156,3160,3164,3167,3171,3174,3178,3182,3185,3189,3192,3196,3200,3203,3207,3210,3214,3218,3221,3225,3228,3232,3236,3239,3243,3246,3250,3254,3257,3261,3264,3268,3272,3275,3279,3282,3286,3290,3293,3297,3301,3304,3308,3311,3315,3319,3322,3326,3329,3333,3337,3340,3344,3347,3351,3355,3358,3362,3365,3369,3373,3376,3380,3383,3387,3391,3394,3398,3401,3405,3409,3412,3416,3419,3423,3427,3430,3434,3437,3441,3445,3448,3452,3456,3459,3463,3466,3470,3474,3477,3481,3484,3488,3492,3495,3499,3502,3506,3510,3513,3517,3520,3524,3528,3531,3535,3538,3542,3546,3549,3553,3556,3560,3564,3567,3571,3574,3578,3582,3585,3589,3592,3596,3600,3603,3607,3610,3614,3618,3621,3625,3629,3632,3636,3639,3643,3647,3650,3654,3657,3661,3665,3668,3672,3675,3679,3683,3686,3690,3693,3697,3701,3704,3708,3711,3715,3719,3722,3726,3729,3733,3737,3740,3744,3747,3751,3755,3758,3762,3765,3769,3773,3776,3780,3784,3787,3791,3794,3798,3802,3805,3809,3812,3816,3820,3823,3827,3830,3834,3838,3841,3845,3848,3852,3856,3859,3863,3866,3870,3874,3877,3881,3884,3888,3892,3895,3899,3902,3906,3910,3913,3917,3920,3924,3928,3931,3935,3939,3942,3946,3949,3953,3957,3960,3964,3967,3971,3975,3978,3982,3985,3989,3993,3996,4000,4003,4007,4011,4014,4018,4021,4025,4029,4032,4036,4039,4043,4047,4050,4054,4057,4061,4065,4068,4072,4075,4079,4083,4086,4090,4093,4094,4090,4087,4083,4079,4076,4072,4069,4065,4061,4058,4054,4051,4047,4043,4040,4036,4033,4029,4025,4022,4018,4015,4011,4007,4004,4000,3997,3993,3989,3986,3982,3979,3975,3971,3968,3964,3961,3957,3953,3950,3946,3943,3939,3935,3932,3928,3924,3921,3917,3914,3910,3906,3903,3899,3896,3892,3888,3885,3881,3878,3874,3870,3867,3863,3860,3856,3852,3849,3845,3842,3838,3834,3831,3827,3824,3820,3816,3813,3809,3806,3802,3798,3795,3791,3788,3784,3780,3777,3773,3769,3766,3762,3759,3755,3751,3748,3744,3741,3737,3733,3730,3726,3723,3719,3715,3712,3708,3705,3701,3697,3694,3690,3687,3683,3679,3676,3672,3669,3665,3661,3658,3654,3651,3647,3643,3640,3636,3633,3629,3625,3622,3618,3615,3611,3607,3604,3600,3596,3593,3589,3586,3582,3578,3575,3571,3568,3564,3560,3557,3553,3550,3546,3542,3539,3535,3532,3528,3524,3521,3517,3514,3510,3506,3503,3499,3496,3492,3488,3485,3481,3478,3474,3470,3467,3463,3460,3456,3452,3449,3445,3441,3438,3434,3431,3427,3423,3420,3416,3413,3409,3405,3402,3398,3395,3391,3387,3384,3380,3377,3373,3369,3366,3362,3359,3355,3351,3348,3344,3341,3337,3333,3330,3326,3323,3319,3315,3312,3308,3305,3301,3297,3294,3290,3286,3283,3279,3276,3272,3268,3265,3261,3258,3254,3250,3247,3243,3240,3236,3232,3229,3225,3222,3218,3214,3211,3207,3204,3200,3196,3193,3189,3186,3182,3178,3175,3171,3168,3164,3160,3157,3153,3150,3146,3142,3139,3135,3131,3128,3124,3121,3117,3113,3110,3106,3103,3099,3095,3092,3088,3085,3081,3077,3074,3070,3067,3063,3059,3056,3052,3049,3045,3041,3038,3034,3031,3027,3023,3020,3016,3013,3009,3005,3002,2998,2995,2991,2987,2984,2980,2977,2973,2969,2966,2962,2958,2955,2951,2948,2944,2940,2937,2933,2930,2926,2922,2919,2915,2912,2908,2904,2901,2897,2894,2890,2886,2883,2879,2876,2872,2868,2865,2861,2858,2854,2850,2847,2843,2840,2836,2832,2829,2825,2822,2818,2814,2811,2807,2803,2800,2796,2793,2789,2785,2782,2778,2775,2771,2767,2764,2760,2757,2753,2749,2746,2742,2739,2735,2731,2728,2724,2721,2717,2713,2710,2706,2703,2699,2695,2692,2688,2685,2681,2677,2674,2670,2667,2663,2659,2656,2652,2648,2645,2641,2638,2634,2630,2627,2623,2620,2616,2612,2609,2605,2602,2598,2594,2591,2587,2584,2580,2576,2573,2569,2566,2562,2558,2555,2551,2548,2544,2540,2537,2533,2530,2526,2522,2519,2515,2512,2508,2504,2501,2497,2494,2490,2486,2483,2479,2475,2472,2468,2465,2461,2457,2454,2450,2447,2443,2439,2436,2432,2429,2425,2421,2418,2414,2411,2407,2403,2400,2396,2393,2389,2385,2382,2378,2375,2371,2367,2364,2360,2357,2353,2349,2346,2342,2339,2335,2331,2328,2324,2320,2317,2313,2310,2306,2302,2299,2295,2292,2288,2284,2281,2277,2274,2270,2266,2263,2259,2256,2252,2248,2245,2241,2238,2234,2230,2227,2223,2220,2216,2212,2209,2205,2202,2198,2194,2191,2187,2184,2180,2176,2173,2169,2165,2162,2158,2155,2151,2147,2144,2140,2137,2133,2129,2126,2122,2119,2115,2111,2108,2104,2101,2097,2093,2090,2086,2083,2079,2075,2072,2068,2065,2061,2057,2054,2050,2047,2043,2039,2036,2032,2029,2025,2021,2018,2014,2011,2007,2003,2000,1996,1992,1989,1985,1982,1978,1974,1971,1967,1964,1960,1956,1953,1949,1946,1942,1938,1935,1931,1928,1924,1920,1917,1913,1910,1906,1902,1899,1895,1892,1888,1884,1881,1877,1874,1870,1866,1863,1859,1856,1852,1848,1845,1841,1837,1834,1830,1827,1823,1819,1816,1812,1809,1805,1801,1798,1794,1791,1787,1783,1780,1776,1773,1769,1765,1762,1758,1755,1751,1747,1744,1740,1737,1733,1729,1726,1722,1719,1715,1711,1708,1704,1701,1697,1693,1690,1686,1682,1679,1675,1672,1668,1664,1661,1657,1654,1650,1646,1643,1639,1636,1632,1628,1625,1621,1618,1614,1610,1607,1603,1600,1596,1592,1589,1585,1582,1578,1574,1571,1567,1564,1560,1556,1553,1549,1546,1542,1538,1535,1531,1527,1524,1520,1517,1513,1509,1506,1502,1499,1495,1491,1488,1484,1481,1477,1473,1470,1466,1463,1459,1455,1452,1448,1445,1441,1437,1434,1430,1427,1423,1419,1416,1412,1409,1405,1401,1398,1394,1391,1387,1383,1380,1376,1373,1369,1365,1362,1358,1354,1351,1347,1344,1340,1336,1333,1329,1326,1322,1318,1315,1311,1308,1304,1300,1297,1293,1290,1286,1282,1279,1275,1272,1268,1264,1261,1257,1254,1250,1246,1243,1239,1236,1232,1228,1225,1221,1218,1214,1210,1207,1203,1199,1196,1192,1189,1185,1181,1178,1174,1171,1167,1163,1160,1156,1153,1149,1145,1142,1138,1135,1131,1127,1124,1120,1117,1113,1109,1106,1102,1099,1095,1091,1088,1084,1081,1077,1073,1070,1066,1063,1059,1055,1052,1048,1044,1041,1037,1034,1030,1026,1023,1019,1016,1012,1008,1005,1001,998,994,990,987,983,980,976,972,969,965,962,958,954,951,947,944,940,936,933,929,926,922,918,915,911,908,904,900,897,893,890,886,882,879,875,871,868,864,861,857,853,850,846,843,839,835,832,828,825,821,817,814,810,807,803,799,796,792,789,785,781,778,774,771,767,763,760,756,753,749,745,742,738,735,731,727,724,720,716,713,709,706,702,698,695,691,688,684,680,677,673,670,666,662,659,655,652,648,644,641,637,634,630,626,623,619,616,612,608,605,601,598,594,590,587,583,580,576,572,569,565,561,558,554,3544,3548,3552,3555,3559,3562,3566,3570,3573,3577,3580,3584,3588,3591,3595,3598,3602,3606,3609,3613,3616,3620,3624,3627,3631,3634,3638,3642,3645,3649,3652,3656,3660,3663,3667,3670,3674,3678,3681,3685,3688,3692,3696,3699,3703,3707,3710,3714,3717,3721,3725,3728,3732,3735,3739,3743,3746,3750,3753,3757,3761,3764,3768,3771,3775,3779,3782,3786,3789,3793,3797,3800,3804,3807,3811,3815,3818,3822,3825,3829,3833,3836,3840,3843,3847,3851,3854,3858,3862,3865,3869,3872,3876,3880,3883,3887,3890,3894,3898,3901,3905,3908,3912,3916,3919,3923,3926,3930,3934,3937,3941,3944,3948,3952,3955,3959,3962,3966,3970,3973,3977,3980,3984,3988,3991,3995,3998,4002,4006,4009,4013,4017,4020,4024,4027,4031,4035,4038,4042,4045,4049,4053,4056,4060,4063,4067,4071,4074,4078,4081,4085,4089,4092,4095]
/* Copyright 2019 XbyOrange 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 writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ const books = new Set(); books.add({ id: "3", title: "Don Quijote de la Mancha", year: "1605" }); books.add({ id: "1", title: "El viejo y el mar", year: "1952" }); books.add({ id: "2", title: "El rayo que no cesa", year: "1936" }); books.add({ id: "4", title: "El conde Lucanor", year: "1335" }); const getBooks = { url: "/books", method: "GET", response: (req, res) => { res.status(200); if (req.query.title_containing) { res.send( Array.from(books).filter(book => book.title.toLowerCase().includes(req.query.title_containing.toLowerCase()) ) ); } else if (req.query.bookIds) { const bookIdsArray = req.query.bookIds.split(","); res.send(Array.from(books).filter(book => bookIdsArray.includes(book.id))); } else { res.send(Array.from(books)); } } }; const getBook = { url: "/books/:id", method: "GET", response: (req, res) => { let selectedBook = Array.from(books).find(book => book.id === req.params.id); if (selectedBook) { res.status(200); res.send(selectedBook); } else { res.status(404); res.send(); } } }; const addBook = { url: "/books", method: "POST", response: (req, res) => { const book = req.body; if (Array.from(books).find(currentBook => currentBook.id === req.body.id)) { res.status(409); res.send(); } else if (!book.id || !book.title || !book.year) { res.status(422); res.send(); } else { books.add(req.body); res.status(201); res.send(null); } } }; const updateBook = { url: "/books/:id", method: "PATCH", response: (req, res) => { const book = Array.from(books).find(currentBook => currentBook.id === req.body.id); if (!book) { res.status(404); res.send(); } else if (!req.body.title || !req.body.year) { res.status(422); res.send(); } else { book.title = req.body.title; book.year = req.body.year; res.status(204); res.send(null); } } }; const deleteBook = { url: "/books/:id", method: "DELETE", response: (req, res) => { const book = Array.from(books).find(currentBook => currentBook.id === req.params.id); if (!book) { res.status(404); res.send(); } else { books.delete(book); res.status(204); res.send(null); } } }; module.exports = { getBooks, getBook, addBook, updateBook, deleteBook };
import {normalizeToRangeMaxInclusive} from 'utils/normalize'; import {PI, NEGATIVE_PI, DEGREES_PER_RADIAN} from 'utils/constants'; export function degreesToRadians(degrees) { return degrees / DEGREES_PER_RADIAN; } export function radiansToDegrees(radians) { return radians * DEGREES_PER_RADIAN; } /* Takes an angle in radians, and returns an angle in radians x * such that -pi < x <= pi */ export function normalize(radians) { return normalizeToRangeMaxInclusive(radians, NEGATIVE_PI, PI); }
(this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{20:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/HanaSong.8d3adcd4.mp3"},21:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/HanaSongOgg.f36fdb62.ogg"},22:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/favicon500.16159b48.png"},34:function(e,t,s){var n={"./HanaSong.mp3":20,"./HanaSongOgg.ogg":21,"./Prize1.png":65,"./Prize2.png":66,"./favicon500.png":22,"./hana_background.png":67,"./hanaprize1.jpeg":68,"./hanaprize2.jpeg":69,"./hanaprize_omrvinky.jpg":70,"./hanaprize_recital.jpg":71};function a(e){var t=i(e);return s(t)}function i(e){if(!s.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=i,e.exports=a,a.id=34},46:function(e,t,s){},47:function(e,t,s){},65:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/Prize1.20023d3b.png"},66:function(e,t,s){"use strict";s.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAABPCAYAAAC9H50jAAAABHNCSVQICAgIfAhkiAAAABl0RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AABzVSURBVHic7Z13WBTXGoffLcCyLB0pFlCssWBH7C2iRgXB3jUaW4xGc1NvTDQx7ebeGLtGY0+ixoI9sUTsil2xoSJiV5pKXbbcP1YnrpRdUFHieZ+H52FmzpzznSm/KWf2+8mcXUsaEQgEAkGBkb/oAAQCgaC4IgRUIBAICokQUIFAICgkQkAFAoGgkBSpgC77IohW9TyLsklBMcHG3h7/Ri1edBgCQYFQ5rewWjknZn9QF6VczvW76djZKcjONvD+jJNcup5a4Ma2Rt3m+t30Qgdb3LG3V/P5F7O4dvUydioVrm4luHXjKmoHDceP7WfLH6tedIgvjHYffcvZbRtedBgCQYHIV0BPX77PD8ti0NgrWPJHPABlvdX8+G5tOn+0t8CN/bzhcuGi/IegN+g5fnw/y36ZjadXaVq06sCK3+bg61cBf/8qLzq8F4rGw4uLu7e+6DAEggKRr4DmRtytdLTZBhRyGXqDETAydWwd2jXwptnbOxjXsxL+Pg7cSs5k7JTjZOuMVPbT8NVbNSjjpWbi/NNs2n/LrM4SrnbsntmS6Ev3AHBysMHXW02VXn9IZUKblmRkeHmysg04qJQs23aVuetirYpZZa9m6PCPSUi4TWrqPUqW9MNGaUNS0l3WrF5Metp9AFq1DqFJs3asXbMIV9cS1AioT5Y2i9W/zychwRRznbqNadS4DQAymYxt2yI4e/qYVW1os7JY/utPOeKLv3KRq/GmvnQM7U2TJm35delMTp44iFJpw7ARH+PpVYpvJr1LSOd+VKhUja1/rqJ+YHPkMgXZumzWr13KjetXAJDLFQS360JAzUCytJnI5Qo2b1jOubPHpTb9K1SlVauO2NnZA0bUag2LFk7lzu1rVm1TgUBQQAH1dlfRrWVpbidnPRRPABmjJx9j4af1mfleHb5YcJrjF+5R1ltNts4AyDh/JZWun+5nSCf/XOtNy9AxeXkMcyJisVHKWPp5Az6eeEpa3raBNw2quRPy4V6ytCbxfiukHENDy/HTWst3tZkZ6fy6dAb/Hj+V2TMnsW7NEgAqVarBoDffZca0LwD4a/s69Ho9HUJ6s/WP1Uyb8jkOGkcMej0AATUbUOW1WsyaMQm9XoetnR39B4whMyODy7HnrGrDaDTkGuOj+RvW/UblyjU5d84kdjpdNhcunCYychOZmRmsWPYTX3w9FzdXT2ZO+xIAF1cPhgx9n5nTvyI97T6h4f2Jv3KR/3z7PhiN2Nmp6Nl7OOlpD4iPvwRAWHh/liyaxp3b1wHo2Xs4Br3O4rZ8RFD/kfjVbZRjvk6bxfoJo9GmpVldl0wuR6ZQWF1eIHhZsEpAR4ZVJLRJKR6k69h18i5jpxzLtdw7k49x/W4GYLpTBZlVQaRn6pkTEQsYmTauLgs3XuHIuWRpeXiLUni52rHo00BpnkwGrhpbqwT0EWfOHOP8uZPSdEzMKZq1aI9G40Rq6n1p/rYtERyK2glAWuoDaX5Qo9Ys/Pm/6B8KjTYri9Ur59O+Q08ux54rUBt5YjSye+dmmjVrz7atEShtbKlYsbrZ+9HMzHT+/GOlNJ2SnEDUgZ1UqVKDo0f2EhAQiLd3aQIbtJDKqNUa6tRrKgnoju3r6dZ9MImJd7hz+waROzZId9nWcGDxTA4snml1+fzoMWUp8Uf2P5O6BIKixCoBnbnmgvQOND8epGc/VTATBlfn4JlENh+4aTb/ZkIms9dc4lhMylPVr3F0yjFPpVKTkWE+sJWZkftAl0wGRqP5RcHwxA9hrW0jPw5F7WLs+18TGbmJxo3bsHfPn2bL7WztsLW1RavVmrV76+ZVABIT7/DTrG8koc+No0f2cvTIXlT2arx9yhDedRDbt641E//8eJZ3oJsm/YsOn/9gdXmB4GXhpfkOdEgnf3R6Aws2xAHQq40vHi62ACzceJnPBlXDzclGKu/rZU9Ik5I56nn9vYm8tXwHDh45P5fy8PAipHNfNI7OaDROdArtw+XLMfkKzePs37udrt3fRP7wcdPGxo7wLoPYv2/7M2sDTI/z+/ZspVnz9lSvUZfjxw6YLdfp9PTtPxpPr1KoVPbUrd8Mv7IViLkQDcC+PVvo3vMtKU4wvfMs618ZAEcnFwYOfg+ZTE5mRjpxsec5d+YEPj6+Vsd4YPFMlo/pm+Nv1fuDCySeAPdv3wCRkUFQDMn3DvS1so6826MSCjl0aFSS5duvsmbndbMyZTzt+X5UTWpXdGHBJ4Fk6w2cvJjC14vPSWX+83YAvl5q/LwcyNTq6d++LMdiUvhuqalMxTIavhpWnchjd1j2RRAAVfwcORaTTEKKlrhb6YyfG83kMbWxUcrRZuvJ1BqYtfpijpjtNI6onJxRKm1yLIs+eYgLMdGEhvVHqVRy8vhBjh3dB5gGXvoNeAdfvwpkZ2tp3DSYrMxMFi+agi7bdKd38sRBlDY2jHx7PHqDHrlMxo4dG4i9dNaqNh4R1nUQfmUr4O7uhbu7J78vm5vj8TnqQCSfTZzOhvW/5ejHvXtJbFi/jGbN2+Pi4kZs7Hl+mvUtGE0qdPSI6QuJ4SM/wWg0kq3Vcv9+Cps3rZDqcHZx5b0PvkGblYXK3p64yxdY9fv8HG0JBIK8kb0q2Zg8SnjTJjiM336ZVSzakMnkvD36c2ZMnZhj4Gn02C+ZOnn8U7fxMtH1hwVsmDCWzPtP95pGIChKXppHeIE59eo35cih3XmO2v/T2D3nfwT2futFhyEQFIhX4g5UZa9m4JvjUCqUGIx6liyaxoNnfKfzrNpo0qwttWo1lKZ/XTqDpKS70nT3nkPx9DS9+93y5ypizp/KUYdAICgaXgkBFQgEgueBeIQXCASCQiIEVCAQCAqJEFCBQCAoJEJABQKBoJAIARUIBIJCkq+Aunt4F1UcAoFAUOx4Je9AJ09dketPPQWvHt17DuWTz6YUaJ2Jk+bg5lbiOUX09Pj6luf9j75/0WE8E0aMGs9r1WoXSVtduw/h359PLdA6BU6o/E9g396tGAwv5y98wroMpFGTNly5fAEAjZMzRw7tZuufq4sshlfJemTFsp8YPfbLAq1z6NBOMjMzn3ksrdt05vjRfSQm3nmqelJT73HiiQQ01lCqVFkGDB6LQq4gOSkBpa0NBr2BX5fOJOHuTcsVPAdOnzpCclJCkbS1csW8Ah8Lr6SA/r587osOIU/WrFpIGd/yTJ86ATAlOQnp3JdatYNyZGV6XgjrkfzZsPbX51Kvk7Mr9vYOT11PUlICW/4s+EXu+vU4/ty8Ejs7Ffv2mOxVPL1K07vPCKb++NlTx1UYdu3c9ELatZaXXkCtteOoXCWAjiF9uBJ3gZMnDhLcritGg54dOzZyJvoIAHXrN6Vhw9aU8fVnwvjhOXJ09uozAp9Sfmgf3l34+lVg3dol7NllysdpjVUGgFfl6vSc9isn1v1G5PRvnqr/BoOekyeiqPJaTUlAhfVIwaxHSpf2541OPbFR2qBQKok+dZi/tq01K1OrdkMaNGyJjY0dWVmZRKxexN07N6TlgUEtCQxsLk3L5XIzUalTtzGtXg8hW5eNna2Kgwci2bnD3CSvecuO1Aioj1wuR6FQkJR4h21bIrh+PY7O4QOoU7cx5ctXITPDlJR8x44NnD512Op+AoSE9cO3THkcNI589/V7OZY7ObsSGtYfJ0cXwIhMJufY0b3s3ZO7H9Wd29fI1mnN5lnqq6+vPx1CeqOQKzEajURF7aBd+x6cOXOU9RFLGDLsQ9LT01j48w/I5QoGvjmOylVqMP7fb6HNygLA26cMXbsNxs3dk4jVizh54qBZDNac75bi9PIuRUjn/tja2GIw6tm18w8KyksvoNbacZw/d5L791MYMepTdDodM6eb5rs4u0p1HTm0myOHdjNk2Ie5tnX16mXWrllKevoDqlavQ1BQa/bs3iItt8YqA0CfrSUr9R7a9ILlxXwSmUxOxUrVaNe+Gyt//1maL6xHrM+t6ubmQXjXgcyf91/JESC4fRfatA2XXot4lPCijK8/c2Z+bZp292LA4LFMnzKBrCzTxTTqwA6iDuyQ6h01eoL0f/Ua9fEv/xo//jAeXbYWuVxB85Zv0KJlRyIfnrDNW3RAbe/A9CmfA6BQKBk+8hNs7VQARKxehEwu59CBSK5dK7z54qP9mdejaItWHYm9eEYSzMAGLTAac/81t7dPaerWa8rNG39frCz11cnJlS7dhzDvp/+YckHIZHQM6YVcLmfVCtMxvGTRNLp0exMw3SDMn/d9jnPy1s2rTJ86geYtOuQam6Xz3VKcarWGXn1HsnDeD6SkJCKXK+jafTDOzm5WbedHvPQC+ghrrTJizkcTsXqhNJ1UgPcne3aZrkC+vv60bNmJObO/kXJsAlZZZQAkxMYwO7xpQbpnhsbRiVGjJ2A0GribcJsVy+dK2eYfR1iPWKZO3SZs2bLarE9bNq/inTETJQHN1mpZv+7vx/KExNscO7KPSpUDOHUyymIb9QKb4uTkyluPiYBMBg5qR0lAA2oGMu2heALo9Tp+nvs9mZkZVvflWXDo4E7CuwyirH8VEhNuE3vpbI6ENK1fD6VOncaULlOOA/u3m51PlvpatVpt9u7Z+nciHaORjeuWUSMgkOdBXue7xTir1yHqQCQpKYmASchXr1rIx/+eXKD2i42APq0dh7V4uHsR1u1N5s76Vkqk/AhrrDKeBakP7kvvQPNDWI9YgUyWa7b7vO66pOUYMWLdQGNKchI7tq/nStyFvMOQ5/zgpajFE+DmjXhmTJuIUmmDRwlvGjV+nYqVqrPxscTd27etZd+erThoHOk/cAyVKtUgJsYkspb6mpGRhru7l9k8lUqFjdL2ufQnr3PAmn3y5HGh1+nQ6XPaErmULANyOfduXMX4xOBzsfmM6VlYZVhCrXakz8B3WLLgR9LTU5ErFLRqHSItt2SVIcXqX5GhKyIJGvj2M4utILyK1iN5WbkcPbybNsFhOGgc/y7bprPZXZfKXk3HTr2kaTc3D2rVbmh1qsA9u/4gtHM/szbc3T2pXedvz6hzZ47Tpm242XqBDVoQULOBNJ2Zno6ndylpWqNxwvWJz6XkNjb0mxdBt8kLrYrtSd4a/jFqtSM6XTa3bl4l6sBOSpYqm2vZtNQHLJj3Pzp27oP64eCWpb5GnzpC9YD61KodhJ2dCm+f0vTpN8pMmLIy0/H09JGm/cpWwq9sxUL1Jy8sxXkm+iiBDVvg9Ngrvg4hPXMIvcbTm5HrDtBpwpQc4gnF6A7UklVGcPsuVKteD1dXD0o83DmrV87n9i3TuzO1WkO/gaORyxX4+VVg8NAP0et17N+7jePHTI6QPXoPxcnRlR69RwCgkCvIzMrgr+3rAOusMgAUNnbYu7hhr3EucD9Dw/pTpkw5RowaT1ZmJksWTSU7O0taLqxHcrceycvKJSkpgYjVi+nb/x3kcgUKuYKzZ49Lo9Rduw8hLe0BKSlJjBj1KSAjO1vLkkXTpAENSyQk3GL1ygX07vs2CoUSnS6b7GwtOx4bqNqyZTXBbcMZNWYiBoMOuVzJmegjHD68Wyqze9dmwrsNIrBBC7K1WRiMBrb+sYbkx/LBymRy7J1cco2jnH8V2r3RDUA6hgBWrvhZGhAzGg0MHfkRRoMRhVJJWup9ViwzfZVSspQfwe26mAa5lEp2R24mMzODzRuWMfq9SUz78TOLfdXrdcye8SUtWnaiXv1mJCcnELFmCb37jpTi1Gq1HD2yj/c/+h4bW1vuJSdyLyWRNsFd2Lje9Cqle69huLt74uHhJR3n8VcuSnfKls53S3Gmp6ey7JfZ9OozArlcgU5n0oLatRsT1nUQa1YuAMA/qAUA26d8kes2zzcfqLuHN4kFeN/0vCgKO45XCWE98nSo7NUMGjyOWdMnvehQig3F9VgI+2Y2AGs+Hp7r8mLzCC94OXnVrEdUKnvad+jBhfPRLzoUQRFgY+/Ajhl5f4r40t+BFoUdx6uEsB4pHI2atKFOncboDTounI9m+7Z1r8xF42moWr0OrVqZxhFu3roqfcr0T+GlF1CBQCB4WRGP8AKBQFBIhIAKBAJBIRECKhAIBIVECKhAIBAUEiGgAoFAUEiEgAoEAkEhKTY/5XxZ6BjSm7JlK+WZb1HwalO/QTNatwkj7cF9lDY2LP9tjpT/9GVixKjxRO7YwNnTx150KE/F6206o3F0ImL14ufelq9vefoNGsOWzaukLGivlIB6epWiR8+h2NjZoZDJOXfuBGdOH+XSxbOWV37Ihodpzwqa+r8gPCtrh7x4GWxDAD74+L+kp6UC4FeuohQPYFU2qpcNhUJJcLuufPPlWAwG/YsOJ18Ka5VhduzIZDg6OXPo4E62bVnzHKK0zLVrcdjZ2RVJW/Hxl9i+JcJs3isloL36jOCXJdNJuHsLZDLeGvYhiYl3CiSgRcGzsnbIi5fBNgTg9q1rLFrwI2C6ID2KZ8Cgd4sshmeJo6MzV+MvvfTiCYW3yshx7CgUdOn6JtUD6hF9smDZ858FT7pBFDXFRkDzs2VQKJQMHvoBly6eoZx/ZRwcTCmsJLF8iI2Nzd9XXaORXxZPRyb/O29mmTLlCencF1s7O5RKG+LiYlgfsbRAeRuLytpBYWvH4KV/kn4/maVDwqzfkLmQm22INZYJ+e2T7j2HWrT0WLwwdwfER/Mt2YbUrdeEjqF9WLxwCs1bdEAhV6BQKtm5YwMnjv9tAWFpnxTU5iI36gU2o0mztniWKCllq98ZuYlTJ6Mks7bIvzawb89WPEp406PnMNRqB77/7gMAatUOokmz9pw6EUWNmoFoNI4cPbLXLEG1SmVPp9C+eHr6YGunIj09FaMRfpr1tdVxWrLKeHQx9Snpi1wmx2A0kJx8l2W/zM61PoNez4ljB/AtW0ESUEvnkVyhoP0bPfD3r4zBoCctPZVr8bE0aNSKJQt+xNvHl9Cw/kz+3yck3L1FQM0GtGkbTmzsOSlLktLGloFvjsXZ2Y0rcRdYuWJejtj69H+HgID6fD3pXdq274ZnCR/u3Uvi16Uz0et1ls93mYzg4HAqVwlAb9CRkpTI9etXSE9PldooFgJqyZZBr9dxYN922nfozrTJn5GekYanVyk6hw9g3pzvpHo2bVzOiFHjuRIXw5W4i1yMiSYt1bQxXFw96Bjam0ULJkttVKhYjR69h7NovnVZqovS2sFoNJBxP4Usa7LH50NetiGWLBMs7RNrLD2e1jZk756tVKxcg8aN2zB/7n/QarXY2toy4M1xpKencSEm2qp9UhCbi7w4HLWLizGn6dS5L0sWmtskP27WBpBw9xYzpk00swU5fuwA7Tv2JCMjTTo2Bg5+j5Kl/KQLTq++I9m/Zxvnzp0ATML/rw++LVCclqwyKlWpgYurB7Omm/aZT0lfGjZqnWtZWzs7KleuSctWHVm6eBpg3XnUMaQ3yckJUoZ+D3cvxvzrK9atWUJ8fCzx8bGUr/Ca1M7JEwe5e/cmQY/FocvWMm/Od/iU9KVxk+Bc4/tl8TTsh31I/wFjWLtmMfHxl/Dw8Eav11kVZ3BwOEaMUpw+JX15Z8xE1qxaKLVRLATUGlsGgAP7/iI9w+RDdOf2dVQqtVk9Z6KPcib6KJ5epfEr68+Q4R+xLmIJcZdjqFqtNi6u7vQbOMZsHT+/CtjZqSRvnPwoSmsHQ3Y2S4Z0LtA6j2OtbUhelgnW7BNLlh4WscI2BEwXxkdZ77VaLevX/kKLlh24EBNt1T6xxuaiKEhLfUDUwUhpOj7uAs4ubty4fgWVyh6l0lYST4D795L5ZtLYZxpDXOx5Gjduw8DB40hKvMO1q5dZF7HUrMyjY8dOpcLbpwyTJr7DvZQkAKvOo3LlKkveTWCyUNkdufmZ9uNxli6ZLuVUfZTP1po4q1StZZaC7+aNePbtM38qKRYCWlhbhsf9jDSOzjg6OnPzRjx3bl/jzu1rXImLJbhdOHGXY0hJSeJw1K6nGkgpTtYOT2sbYs0+sWTpYQ2WbEPAlLn9yekHD0zCbs0+scbm4kVgfGwDy+UKjLm8Wy2IBYs1ZGZm8PPc70Emw92tBFVeq8mwER9LZoNgfuzUC2xG955DmTvnOzAarTqPjEYjcoVCMkEEcNA4kpz8fPzfMzNymjsW9nx/Msl2sfgO1BpbBkuULVeRnn1GoFLZm2bIZNSsFcitG/EAnD97gteq1qZ0aX9pHZXKniZNc388yI2itnboO3c1Xf6bMzt7UWDNPrFk6WENlmxDANq90Z0KFapia2uLf4WqdArtIw2SWLNPrLW5qNYujBFr91OuYfMcyyyRnp6Kl3dpabp+YHNU9vYFWl+hVFKhQlVpnq2tLR1DeuPxhAfR08TZOXwAZctVAqORxMQ7HDmyFyeXvJ0qD0ft4vzZkwQHm45pa86jPbv+YOCgcXi4e6GyVxPUqDW1ajc0qzcjIw1vH9P2UtrY0qjx6wXuS35YE+e5c8dp9XqoNO3h4Z1DD4pNOrsyZcrzRqceZrYM27eaPinQaJwY+c54bG1VzJ75FQl3b9GkaTAhnfuzaOGPnD51mAoVqtK4aTAeJbzJzs7GQePI6egjrI/4RXrnptE4ERrWH0cnFwwGAwa9TjI1A3PLBH//ysTGngfMLRNKly5H+449ctgIxD/0U0cmI7htOJUqB5hZO0RGbpSuyBqNE+HdBqFWO5pZO1y7Fittj0eDSBn3Uwr8KB8a1p8mTYOJjT2fq20ImFsm3Hx4kXncMsHSPgHTyPqyX+fQrHk7ydJj546NZr5LDYJaUadeY2l77t29JdeBjUe2IYejdpktGzh4HJs2LKd+YHN8SpYh4e5Ntm9bZ5bj1NI+GTLsQzSOTjlsLh630gCoFdablu/8m41fvEdMpLmHeKvWIVQPqI+XdymuXTW9u14fsVR6j/3I/9zZ1Q0XZzeiTx2mZu0gVvz2EydPHKR5y4507NSTv7avZ/PG5ajtHRjzr6+4n5LEzOmTMBoNqNUaOocPwMXVDRky9AbTxeXJ7ZVfnE9aZdy7l2xmldEptA9lfP1R2Tug1+mQyWVsXPcbF2KizY6dixfPsmTRNNLT7kv7+vjR/ezaucnieQTgX/41goJaorJXc/7cCQwGIzpdtvR9patbCQYOHgdGIy4u7pw8GUXNWkFM/d+nJCTepkmzttQICERlr5aO0azMDBYvnIJOl42bWwl69B6On18Frl2LQ6/XcfXqJTas/dt91WKcMhlt23ahYuUaaLVZPLifzI0bV2nU5HWWLpzG1auXio+ACoofz8rGIT/bkIGDx7Hq9/kiyXYxJ6hhK/R6vSSgxYVi8QgveLV51WxDBMUHhcrecUJeC9VqDRmPffMkEFhL955DUas1BDZoQUpKYqF+VdWkWVtCQvtRunQ5Spb05eKF02aDJo2btMHPryK1agXhoHEk7nLMs+yCoAiQyeT0HzSacuWqULp0OW7djOfeveQXHZbViEd4gUAgKCTiEV4gEAgKiRBQgUAgKCRCQAUCgaCQCAEVCASCQiIEVCAQCApJvqPwAoFAIMgbq+5AVY7O+NVtZLmgQCAQvEJYJaAGg47Krd+gUvO2zzsegUAgKDZYJaDatDRORPxGqZr1n3c8AoFAUGywehCpoBm6BQKB4J+O1QKqy85C5eBouaBAIBC8IlgtoElXYvGpUZvaYX2eZzwCgUBQbLBaQJ08fXhw5yYn1i9/nvEIBAJBscFqAVU5uZAQewGDTme5sEAgELwCiF8iCQQCQSGxWkA9ylfi3s1rzzMWgUAgKFZYJaBO3iXxrFiN6E2/P+94BAKBoNggfgsvEAgEhUS8AxUIBIJCIgRUIBAICokQUIFAICgkQkAFAoGgkAgBFQgEgkLyf4jHASVAjSbrAAAAAElFTkSuQmCC"},67:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/hana_background.229c3d42.png"},68:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/hanaprize1.72df1be4.jpeg"},69:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/hanaprize2.b0ff1709.jpeg"},70:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/hanaprize_omrvinky.91c3363c.jpg"},71:function(e,t,s){"use strict";s.r(t),t.default=s.p+"static/media/hanaprize_recital.984a7fe4.jpg"},78:function(e,t,s){"use strict";s.r(t);var n=s(0),a=s(1),i=s.n(a),r=s(36),o=s.n(r),c=(s(46),s(2)),u=s(3),l=s(5),p=s(4),h=s(38),d=s(7),m=(s(47),s(20)),j=s(21),b=s(8),v=s.n(b),O=s(10),f=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={email:"",first_name:"",last_name:"",phone:""},e.onSubmit=function(t){t.preventDefault(),e.props.registerFunction(e.state.email,e.state.first_name,e.state.last_name,e.state.phone),e.setState({email:"",first_name:"",last_name:"",phone:""})},e.onChangeValue=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"columns-container",children:[Object(n.jsxs)("div",{className:"column-container",children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Pravidl\xe1 a postup hry"}),Object(n.jsxs)("ul",{className:"rules-list",children:[Object(n.jsx)("li",{children:"Zaregistrujte sa."}),Object(n.jsx)("li",{children:"Po registr\xe1cii dostanete 21 ot\xe1zok a 4 mo\u017enosti na odpove\u010f. Na ka\u017ed\xfa z nich m\xe1te stanoven\xfd \u010dasov\xfd limit 30 sek\xfand."}),Object(n.jsx)("li",{children:"Po skon\u010den\xed kv\xedzu sa zobraz\xed v\xe1\u0161 v\xfdsledok, v\u0161etky polo\u017een\xe9 ot\xe1zky aj spr\xe1vne odpovede."}),Object(n.jsx)("li",{children:"Ak bude va\u0161a \xfaspe\u0161nos\u0165 vy\u0161\u0161ia ako 80% m\xe1te mo\u017enos\u0165 v\xfdberu z troch vecn\xfdch cien."}),Object(n.jsx)("li",{children:"Pri 100% bilancii z\xedskate v\xedkendov\xfd pobyt v dome Hany Hegerovej www.aprtmanyhana.sk."}),Object(n.jsx)("li",{children:"Ak v\xe1\u0161 v\xfdsledok bude ni\u017e\u0161\xed ako 80% nez\xfafajte. Dozvedeli ste sa predsa ve\u013ea nov\xe9ho o Va\u0161ej ob\u013e\xfabenej spev\xe1\u010dke a d\xe1me V\xe1m ako bonus e\u0161te 3 opravn\xe9 pokusy."}),Object(n.jsx)("li",{children:"Pr\xedjemn\xfa z\xe1bavu."})]})]}),Object(n.jsxs)("div",{className:"column-container",children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Registrace"}),Object(n.jsxs)("form",{onSubmit:this.onSubmit,className:"form",children:[Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"email",name:"email",className:"text-input",placeholder:"V\xe1\u0161 Email",value:this.state.email,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"first_name",className:"text-input",placeholder:"Krstn\xe9 meno",value:this.state.first_name,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"last_name",className:"text-input",placeholder:"Priezvisko",value:this.state.last_name,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"phone",className:"text-input",placeholder:"Va\u0161e telefon\xe9 \u010d\xedslo",value:this.state.phone,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Hr\xe1t",required:!0})})]})]})]})}}]),s}(a.Component),x=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).onSubmit=function(t){t.preventDefault(),e.props.onSubmit(e.props.question.id,t.target.value)},e}return Object(u.a)(s,[{key:"render",value:function(){var e;return e=1===this.props.question.difficulty?"A":2===this.props.question.difficulty?"B":"C",Object(n.jsx)("div",{className:"question",children:Object(n.jsxs)("div",{className:"form",children:[Object(n.jsxs)("div",{className:"question-top-bar",children:[Object(n.jsx)("div",{className:"question-top-bar-part",children:Object(n.jsxs)("p",{className:"small-text",children:["Kateg\xf3ria: ",e]})}),Object(n.jsxs)("div",{className:"question-top-bar-part",children:[Object(n.jsxs)("p",{className:"small-text",children:["Zost\xe1vaj\xfaci \u010das: ",this.props.time_left,"/30"]}),Object(n.jsxs)("p",{className:"small-text",children:["Ot\xe1zka: ",this.props.question_number," z 21"]})]})]}),Object(n.jsx)("h1",{className:"medium-heading",children:this.props.question.question}),Object(n.jsxs)("div",{className:"vertical-container",children:[Object(n.jsx)("button",{className:"question-button",value:this.props.question.a1,onClick:this.onSubmit,children:this.props.question.a1}),Object(n.jsx)("button",{className:"question-button",value:this.props.question.a2,onClick:this.onSubmit,children:this.props.question.a2}),Object(n.jsx)("button",{className:"question-button",value:this.props.question.a3,onClick:this.onSubmit,children:this.props.question.a3}),Object(n.jsx)("button",{className:"question-button",value:this.props.question.a4,onClick:this.onSubmit,children:this.props.question.a4})]})]})})}}]),s}(a.Component),g=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).showResult=function(){e.props.showResult(e.props.answered)},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-center",children:[Object(n.jsx)("h2",{className:"medium-heading",children:"Za\u010da\u0165 kv\xedz"}),Object(n.jsx)("p",{className:"medium-text",children:"Kv\xedz obsahuje 21 ot\xe1zok a 4 mo\u017en\xe9 odpovede. Na ka\u017ed\xfa z nich m\xe1te \u010dasov\xfd limit 30 sek\xfand."}),Object(n.jsx)("button",{className:"large-button",onClick:this.props.playButton,children:"Hrat!"})]})}}]),s}(a.Component),y=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={timer:0,display_question:!1,question_number:-1,seconds:30,seconds_to_set:30,current_question:{question:"",id:"",a1:"",a2:"",a3:"",a4:"",difficulty:""},questions:"",answeredQuestions:[]},e.setQuestion=function(){if(20===e.state.question_number){clearInterval(e.state.timer);var t=e.question_number+1;e.setState({display_question:!1,question_number:t}),e.props.showResult(e.state.answeredQuestions)}else e.state.question_number<20&&e.setState({question_number:e.state.question_number+1,display_question:!0})},e.startTimer=function(){0===e.state.timer&&e.state.seconds>0?(e.setQuestion(),e.setState({timer:setInterval(e.countDown,1e3)})):0===e.state.seconds&&(e.setQuestion(),e.setState({seconds:e.state.seconds_to_set,timer:0}),e.setState({timer:setInterval(e.countDown,1e3)}))},e.answerQuestion=function(t,s){e.setState({answeredQuestions:e.state.answeredQuestions.concat({id:t,answer:s}),seconds:0}),e.startTimer()},e.countDown=function(){if(e.state.seconds<=0)e.startTimer(),clearInterval(e.state.timer);else{var t=e.state.seconds-1;e.setState({seconds:t}),t<=0&&(e.setState({answeredQuestions:e.state.answeredQuestions.concat({id:e.state.questions[e.state.question_number].id,answer:""})}),e.startTimer(),clearInterval(e.state.timer))}},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){this.setState({questions:this.props.questions})}},{key:"render",value:function(){var e;return e=this.state.display_question?Object(n.jsx)(x,{question:this.state.questions[this.state.question_number],question_number:this.state.question_number+1,onSubmit:this.answerQuestion,time_left:this.state.seconds}):Object(n.jsx)(g,{playButton:this.startTimer}),Object(n.jsx)("div",{className:"centerbox",children:e})}}]),s}(a.Component),w=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={user_answer:""},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){""===this.props.question.user_answer?this.setState({user_answer:"Ziadna odpoved"}):this.setState({user_answer:this.props.question.user_answer})}},{key:"render",value:function(){var e,t;return e=1===this.props.question.difficulty?"A":2===this.props.question.difficulty?"B":"C",t="Ano"===this.props.question.correct?"Spr\xe1vne":"Nespr\xe1vne",Object(n.jsxs)("div",{className:"show-result-question",children:[Object(n.jsx)("h2",{className:"show-result-question-heading",children:this.props.question.question}),Object(n.jsxs)("p",{className:"small-text",children:["Kateg\xf3ria ot\xe1zky: ",e]}),Object(n.jsxs)("p",{className:"small-text",children:["Va\u0161a odpove\u010f: ",this.state.user_answer]}),Object(n.jsxs)("p",{className:"small-text",children:["Spr\xe1vna odpove\u010f: ",this.props.question.correct_answer]}),Object(n.jsxs)("p",{className:"small-text",children:["Vyhodnotenie: ",t]})]})}}]),s}(a.Component),z=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return this.props.questions.map((function(e){return Object(n.jsx)(w,{question:e},e.id)}))}}]),s}(a.Component),N=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={address:""},e.onChangeAddress=function(t){return e.setState({address:t.target.value})},e.onSubmit=function(t){t.preventDefault(),e.props.onSubmit(e.props.prize.name,e.state.address),e.setState({information:""})},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsx)("div",{className:"question",children:Object(n.jsxs)("form",{onSubmit:this.onSubmit,className:"form",children:[Object(n.jsx)("h2",{className:"small-heading",children:this.props.prize.name}),Object(n.jsx)("p",{className:"medium-text",children:this.props.prize.description}),Object(n.jsx)("div",{className:"vertical-space"}),Object(n.jsx)("input",{type:"text",placeholder:"Adresa",className:"text-input",value:this.state.address,onChange:this.onChangeAddress}),Object(n.jsx)("input",{type:"submit",value:"Odoslat",className:"medium-button"})]})})}}]),s}(a.Component),k=function(e){Object(l.a)(a,e);var t=Object(p.a)(a);function a(){var e;Object(c.a)(this,a);for(var s=arguments.length,n=new Array(s),i=0;i<s;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))).onSelectPrize=function(){e.props.onSelect(e.props.prize)},e}return Object(u.a)(a,[{key:"render",value:function(){var e,t;return e=s(34)("./"+this.props.prize.image).default,t=this.props.winner?1===this.props.average&&1===this.props.prize.special?Object(n.jsx)("button",{className:"large-button",onClick:this.onSelectPrize,children:"Vybrat tuto vyhru"}):1===this.props.prize.special?"":Object(n.jsx)("button",{className:"large-button",onClick:this.onSelectPrize,children:"Vybrat tuto vyhru"}):"",Object(n.jsxs)("div",{className:"question show-result-question",children:[Object(n.jsx)("h2",{className:"medium-heading",children:this.props.prize.name}),Object(n.jsx)("p",{className:"medium-text margin-bottom",children:this.props.prize.description}),t,Object(n.jsx)("img",{src:e,className:"prize-img",alt:"Prize"})]})}}]),a}(a.Component),C=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){var e=this;return this.props.prizes.map((function(t){return Object(n.jsx)(k,{prize:t,onSelect:e.props.onSelect,average:e.props.average,winner:e.props.winner},t.id)}))}}]),s}(a.Component),q={token:"ts9pFkGuXKgcmo43Mmj0^eG%iiR3m",server_ip:"https://backend.apartmanyhana.sk/"},A=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={component_main:"",show_prizes:!1,token:q.token,server_ip:q.server_ip,prizes:"",select_prize:!1,select_prize_id:"",show_sample_prizes:!1},e.onSelectPrize=function(t){e.setState({select_prize_obj:t,select_prize:!0})},e.showPrizes=function(){e.setState({show_prizes:!0})},e.showSamplePrizes=function(){e.setState({show_sample_prizes:!0})},e.onSubmitPrize=function(t,s){v.a.post(e.state.server_ip+"prizes",{token:e.state.token,prize_name:t,email:e.props.user.email,first_name:e.props.user.first_name,last_name:e.props.user.last_name,address:s,average:e.props.average,answers:e.props.questions,phone_number:e.props.user.phone_number}),e.props.afterPriceSelect()},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){var e=this;v.a.get(this.state.server_ip+"prizes",{params:{token:this.state.token,average:this.props.average_raw}}).then((function(t){e.setState({prizes:t.data.prizes})}))}},{key:"render",value:function(){var e,t,s;return!0===this.state.select_prize?t=Object(n.jsx)(N,{prize:this.state.select_prize_obj,onSubmit:this.onSubmitPrize}):!0===this.state.show_prizes?t=Object(n.jsx)(C,{prizes:this.state.prizes,onSelect:this.onSelectPrize,average:this.props.average_raw,winner:!0}):(t=Object(n.jsx)(z,{questions:this.props.questions}),"true"===this.props.winner?e=Object(n.jsx)("button",{onClick:this.showPrizes,className:"large-button",children:"Zobrazit vyhry"}):this.props.tries<=2?(e=Object(n.jsx)("button",{onClick:this.props.playAgain,className:"large-button",children:"Hrat jeste raz"}),s=this.state.show_sample_prizes?Object(n.jsx)(C,{prizes:this.state.prizes,onSelect:this.onSelectPrize,average:0,winner:!1}):Object(n.jsx)("button",{onClick:this.showSamplePrizes,className:"large-button",children:"Zobrazit vyhry"})):e=Object(n.jsx)("h2",{className:"error-text",children:"Uz nemate dalsi pokusy na kviz"})),Object(n.jsxs)("div",{className:"container",children:[Object(n.jsxs)("h1",{className:"medium-heading",children:["V\xe1\u0161 v\xfdsledok : ",this.props.average]}),e,s,t]})}}]),s}(a.Component),S=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"question",children:[Object(n.jsx)("h2",{className:"medium-heading",children:"Dokoncili jste kviz"}),Object(n.jsx)("p",{className:"medium-text",children:"Ohledne vyhry vam napiseme na email, ktery jste zadali"})]})}}]),s}(a.Component),P=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var a=arguments.length,i=new Array(a),r=0;r<a;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).state={token:q.token,server_ip:q.server_ip,res_answers:"",res_average:"",register_form:!0,show_error_text:!1,error_text:"",show_result:!1,user:"",show_result_component:"",tries:0,price_selected:!1,res:""},e.registerFunction=function(t,s,n,a){v.a.post(e.state.server_ip+"users",{user_email:t,first_name:s,last_name:n,user_phone_number:a,token:e.state.token}).then((function(t){"This email already exist"===t.data.message?(e.setState({show_error_text:!0,error_text:"This email already exists"}),window.location.replace("/email_exists")):e.setState({register_form:!1,user:t.data})}))},e.showResult=function(t){v.a.post(e.state.server_ip+"questions",{answers:t,token:e.state.token,email:e.state.user.email,name:e.state.user.first_name+" "+e.state.user.last_name,phone_number:e.state.user.phone_number}).then((function(t){e.setState({show_result_component:Object(n.jsx)(A,{user:e.state.user,winner:t.data.winner,questions:t.data.scheme,average:t.data.average,average_raw:t.data.average_raw,playAgain:e.playAgain,tries:e.state.tries,afterPriceSelect:e.afterPriceSelect}),show_result:!0})}))},e.afterPriceSelect=function(){e.setState({price_selected:!0,register_form:!1,show_result:!1})},e.playAgain=function(){v.a.get(e.state.server_ip+"questions",{params:{token:e.state.token}}).then((function(t){e.setState({res:t.data.questions,tries:e.state.tries+1,register_form:!1,show_result:!1,price_selected:!1})}))},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){var e=this;v.a.get(this.state.server_ip+"questions",{params:{token:this.state.token}}).then((function(t){e.setState({res:t.data.questions})}))}},{key:"render",value:function(){var e;return e=!0===this.state.register_form?Object(n.jsx)(f,{registerFunction:this.registerFunction}):!0===this.state.show_result?this.state.show_result_component:!0===this.state.price_selected?Object(n.jsx)(S,{}):Object(n.jsx)(y,{questions:this.state.res,showResult:this.showResult}),Object(n.jsx)("div",{className:"container",children:e})}}]),s}(a.Component),_=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-center",children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Email u\u017e existuje"}),Object(n.jsx)("a",{href:"/quiz",className:"medium-button",children:"Registrovat"})]})}}]),s}(a.Component),V=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={email:"",password:""},e.onSubmit=function(t){t.preventDefault(),e.props.loginFunction(e.state.email,e.state.password),e.setState({email:"",password:""})},e.onChangeEmail=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e.onChangePassword=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-center",children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Login"}),Object(n.jsxs)("form",{onSubmit:this.onSubmit,className:"form",children:[Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"email",name:"email",className:"text-input",placeholder:"Email",value:this.state.email,onChange:this.onChangeEmail,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"password",name:"password",className:"text-input",placeholder:"Heslo",value:this.state.password,onChange:this.onChangePassword,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Prihlasit",required:!0})})]})]})}}]),s}(a.Component),R=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"question",children:[Object(n.jsx)("h2",{className:"medium-heading",children:this.props.question.question}),Object(n.jsxs)("p",{className:"medium-text",children:["Obtiznost: ",this.props.question.difficulty]}),Object(n.jsxs)("ul",{className:"rules-list",children:[Object(n.jsxs)("li",{children:["Spravna odpoved: ",this.props.question.correct_answer]}),Object(n.jsxs)("li",{children:["Odpoved 2: ",this.props.question.a2]}),Object(n.jsxs)("li",{children:["Odpoved 3: ",this.props.question.a3]}),Object(n.jsxs)("li",{children:["Odpoved 4: ",this.props.question.a4]})]}),Object(n.jsx)("button",{className:"small-button",onClick:this.props.onEdit.bind(this,this.props.question),children:"Upravit"}),Object(n.jsx)("button",{className:"small-button danger",onClick:this.props.onDelete.bind(this,this.props.question.id),children:"Smazat"})]})}}]),s}(a.Component),Q=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){var e=this;return this.props.questions.map((function(t){return Object(n.jsx)(R,{question:t,onEdit:e.props.onEdit,onDelete:e.props.onDelete},t.id)}))}}]),s}(a.Component),Z=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={question:"",difficulty:1,correct_answer:"",a2:"",a3:"",a4:""},e.onSubmit=function(t){t.preventDefault(),e.props.createQuestion(e.state.question,e.state.difficulty,e.state.correct_answer,e.state.a2,e.state.a3,e.state.a4),e.setState({question:"",difficulty:1,correct_answer:"",a2:"",a3:"",a4:""})},e.onChangeValue=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e.onChangeQuestion=function(t){var s;s=t.target.value.replace(/"/g,"'"),e.setState(Object(O.a)({},t.target.name,s))},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsx)("div",{className:"container",children:Object(n.jsxs)("form",{className:"form",onSubmit:this.onSubmit,children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Vytvorit otazku"}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("textarea",{type:"text",name:"question",className:"text-input",placeholder:"Otazka",value:this.state.question,onChange:this.onChangeQuestion,required:!0})}),Object(n.jsx)("h3",{className:"small-heading",children:"Obtiznost"}),Object(n.jsxs)("div",{className:"radios",children:[Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"radio",type:"radio",id:"1",name:"difficulty",value:"1",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"1",children:"1"})]}),Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"radio",type:"radio",id:"2",name:"difficulty",value:"2",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"2",children:"2"})]}),Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"radio",type:"radio",id:"3",name:"difficulty",value:"3",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"3",children:"3"})]})]}),Object(n.jsxs)("div",{className:"answers",children:[Object(n.jsx)("textarea",{type:"text",placeholder:"Spravna odpoved",className:"textarea-half",id:"correct_answer",name:"correct_answer",value:this.state.correct_answer,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 2",className:"textarea-half",id:"a2",name:"a2",value:this.state.a2,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 3",className:"textarea-half",id:"a3",name:"a3",value:this.state.a3,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 4",className:"textarea-half",id:"a4",name:"a4",value:this.state.a4,onChange:this.onChangeValue})]}),Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Answer",required:!0})]})})}}]),s}(a.Component),T=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={question:"",difficulty:1,correct_answer:"",a2:"",a3:"",a4:""},e.onSubmit=function(t){t.preventDefault(),e.props.editQuestion(e.state.question,e.state.difficulty,e.state.correct_answer,e.state.a2,e.state.a3,e.state.a4,e.props.question.id),e.setState({question:"",difficulty:1,correct_answer:"",a2:"",a3:"",a4:""})},e.onChangeValue=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e.onChangeQuestion=function(t){var s;s=t.target.value.replace(/"/g,"'"),e.setState(Object(O.a)({},t.target.name,s))},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){var e=this.props.question;this.setState({question:e.question,difficulty:e.difficulty,correct_answer:e.correct_answer,a2:e.a2,a3:e.a3,a4:e.a4})}},{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-overlay",children:[Object(n.jsxs)("div",{className:"close-button",onClick:this.props.onClose,children:[Object(n.jsx)("div",{className:"close-button-line1"}),Object(n.jsx)("div",{className:"close-button-line2"})]}),Object(n.jsxs)("form",{className:"form",onSubmit:this.onSubmit,children:[Object(n.jsx)("h1",{children:"Upravit otazku"}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("textarea",{type:"text",name:"question",className:"text-input",placeholder:"Otazka",value:this.state.question,onChange:this.onChangeQuestion,required:!0})}),Object(n.jsx)("h3",{children:"Obtiznost"}),Object(n.jsxs)("div",{className:"horizontal-container",children:[Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"raido-button",type:"radio",id:"1",name:"difficulty",value:"1",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"1",children:"1"})]}),Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"raido-button",type:"radio",id:"2",name:"difficulty",value:"2",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"2",children:"2"})]}),Object(n.jsxs)("div",{className:"radio-group",children:[Object(n.jsx)("input",{className:"raido-button",type:"radio",id:"3",name:"difficulty",value:"3",onChange:this.onChangeValue}),Object(n.jsx)("label",{for:"3",children:"3"})]})]}),Object(n.jsxs)("div",{className:"answers",children:[Object(n.jsx)("textarea",{type:"text",placeholder:"Spravna odpoved",className:"textarea",id:"correct_answer",name:"correct_answer",value:this.state.correct_answer,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 2",className:"textarea",id:"a2",name:"a2",value:this.state.a2,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 3",className:"textarea",id:"a3",name:"a3",value:this.state.a3,onChange:this.onChangeValue}),Object(n.jsx)("textarea",{type:"text",placeholder:"Odpoved 4",className:"textarea",id:"a4",name:"a4",value:this.state.a4,onChange:this.onChangeValue})]}),Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Upravit",required:!0})]})]})}}]),s}(a.Component),U=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).showResult=function(){e.props.showResult(e.props.answered)},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"question",children:[Object(n.jsx)("h2",{className:"medium-heading",children:this.props.answered.name}),Object(n.jsxs)("p",{className:"medium-text",children:["Email: ",this.props.answered.email]}),Object(n.jsxs)("p",{className:"medium-text",children:["Telefone cislo: ",this.props.answered.phone_number]}),Object(n.jsx)("button",{onClick:this.showResult,className:"small-button",children:"Zobrazit vysledky"})]})}}]),s}(a.Component),D=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){var e=this;return this.props.answered.map((function(t){return Object(n.jsx)(U,{answered:t,showResult:e.props.showResult},t.email)}))}}]),s}(a.Component),L=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).showResult=function(){e.props.showResult(e.props.answered)},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"question",children:[Object(n.jsx)("h2",{className:"medium-heading",children:this.props.question.question}),Object(n.jsxs)("p",{className:"medium-text",children:["Obtiznost: ",this.props.question.difficulty]}),Object(n.jsxs)("p",{className:"medium-text bolder",children:["Odpoved uzivatela: ",this.props.question.user_answer]}),Object(n.jsxs)("p",{className:"medium-text bolder",children:["Spravna odpoved: ",this.props.question.correct_answer]}),Object(n.jsxs)("p",{className:"medium-text bolder",children:["Spravne: ",this.props.question.correct]})]})}}]),s}(a.Component),B=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return this.props.questions.map((function(e){return Object(n.jsx)(L,{question:e},e.question)}))}}]),s}(a.Component),J=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var a=arguments.length,i=new Array(a),r=0;r<a;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).state={questionsComponent:Object(n.jsx)(B,{questions:e.props.answered.questions1}),score:e.props.answered.score.score1},e.questions1=function(){e.setState({questionsComponent:Object(n.jsx)(B,{questions:e.props.answered.questions1}),score:e.props.answered.score.score1})},e.questions2=function(){e.setState({questionsComponent:Object(n.jsx)(B,{questions:e.props.answered.questions2}),score:e.props.answered.score.score2})},e.questions3=function(){e.setState({questionsComponent:Object(n.jsx)(B,{questions:e.props.answered.questions3}),score:e.props.answered.score.score3})},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-overlay",children:[Object(n.jsxs)("div",{className:"close-button",onClick:this.props.onClose,children:[Object(n.jsx)("div",{className:"close-button-line1"}),Object(n.jsx)("div",{className:"close-button-line2"})]}),Object(n.jsx)("h1",{className:"medium-heading",children:this.props.answered.name}),Object(n.jsx)("h3",{className:"small-heading",children:this.props.answered.email}),Object(n.jsx)("h3",{className:"small-heading",children:this.props.answered.phone_number}),Object(n.jsxs)("div",{className:"horizontal-container",children:[Object(n.jsx)("button",{onClick:this.questions1,className:"small-button",children:"Questions 1"}),Object(n.jsx)("button",{onClick:this.questions2,className:"small-button",children:"Questions 2"}),Object(n.jsx)("button",{onClick:this.questions3,className:"small-button",children:"Questions 3"})]}),Object(n.jsxs)("h2",{className:"small-heading",children:["Skore: ",100*this.state.score,"%"]}),this.state.questionsComponent]})}}]),s}(a.Component),W=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={prize_name:"",prize_information:"",prize_image:""},e.onSubmit=function(t){t.preventDefault(),e.props.createPrize(e.state.prize_name,e.state.prize_information,e.props.prize_image),e.setState({prize_name:"",prize_information:"",prize_image:""})},e.onChangeValue=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsx)("div",{className:"container",children:Object(n.jsxs)("form",{className:"form",onSubmit:this.onSubmit,children:[Object(n.jsx)("h1",{className:"medium-heading",children:"Vytvorit vyhru"}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"prize_name",className:"text-input",placeholder:"Jmeno vyhry",value:this.state.prize_name,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("textarea",{type:"text",name:"prize_information",className:"text-input",placeholder:"Popis vyhry",value:this.state.prize_information,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"prize_image",className:"text-input",placeholder:"Obrazek vyhry",value:this.state.prize_image,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Pridat",required:!0})]})})}}]),s}(a.Component),H=function(e){Object(l.a)(a,e);var t=Object(p.a)(a);function a(){var e;Object(c.a)(this,a);for(var s=arguments.length,n=new Array(s),i=0;i<s;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))).showResult=function(){e.props.showResult(e.props.answered)},e.onEdit=function(){e.props.onEdit(e.props.prize)},e.onDelete=function(){e.props.onDelete(e.props.prize.id)},e}return Object(u.a)(a,[{key:"render",value:function(){var e;return e=s(34)("./"+this.props.prize.prize_image).default,Object(n.jsxs)("div",{className:"question",children:[Object(n.jsxs)("h2",{className:"medium-heading",children:["Vyhra: ",this.props.prize.prize_name]}),Object(n.jsxs)("p",{className:"medium-text",children:["Popis vyhry: ",this.props.prize.prize_information]}),Object(n.jsx)("button",{className:"small-button",onClick:this.onEdit,children:"Upravit"}),Object(n.jsx)("button",{className:"small-button danger",onClick:this.onDelete,children:"Smazat"}),Object(n.jsx)("img",{src:e,className:"prize-img",alt:"Prize"})]})}}]),a}(a.Component),I=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){var e=this;return this.props.prizes.map((function(t){return Object(n.jsx)(H,{prize:t,onEdit:e.props.onEdit,onDelete:e.props.onDelete},t.id)}))}}]),s}(a.Component),K=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={prize_name:"",prize_information:"",prize_image:""},e.onSubmit=function(t){t.preventDefault(),e.props.editPrize(e.state.prize_name,e.state.prize_information,e.state.prize_image,e.props.prize.id),e.setState({prize_name:"",prize_information:"",prize_image:""})},e.onChangeValue=function(t){return e.setState(Object(O.a)({},t.target.name,t.target.value))},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){this.setState({prize_name:this.props.prize.prize_name,prize_information:this.props.prize.prize_information,prize_image:this.props.prize.prize_image})}},{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-overlay",children:[Object(n.jsxs)("div",{className:"close-button",onClick:this.props.onClose,children:[Object(n.jsx)("div",{className:"close-button-line1"}),Object(n.jsx)("div",{className:"close-button-line2"})]}),Object(n.jsxs)("form",{className:"form",onSubmit:this.onSubmit,children:[Object(n.jsx)("h1",{children:"Upravit vyhru"}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"prize_name",className:"text-input",placeholder:"Jmeno vyhry",value:this.state.prize_name,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("textarea",{type:"text",name:"prize_information",className:"text-input",placeholder:"Popis vyhry",value:this.state.prize_information,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("div",{className:"input-line",children:Object(n.jsx)("input",{type:"text",name:"prize_image",className:"text-input",placeholder:"Obrazek vyhry",value:this.state.prize_image,onChange:this.onChangeValue,required:!0})}),Object(n.jsx)("input",{type:"submit",name:"submit",className:"medium-button",value:"Upravit",required:!0})]})]})}}]),s}(a.Component),E=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var a=arguments.length,i=new Array(a),r=0;r<a;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).state={errorMessage:"",token:q.token,server_ip:q.server_ip,editComponent:"",showResult:!1,showResultComponent:"",showResults:!1,showPrizes:!1,showQuestions:!0,showCreateQuestion:!1,showCreatePrize:!1},e.addQuestion=function(t,s,n,a,i,r){v.a.post(e.state.server_ip+"admin",{question:t,difficulty:s,correct_answer:n,a2:a,a3:i,a4:r,token:e.state.token})},e.addPrize=function(t,s,n){v.a.put(e.state.server_ip+"prizes",{name:t,information:s,image:n,token:e.state.token})},e.onEditQuestion=function(t){e.setState({editComponent:Object(n.jsx)(T,{question:t,editQuestion:e.editQuestion,onClose:e.onCloseEdit})})},e.editQuestion=function(t,s,n,a,i,r,o){e.setState({editComponent:""}),v.a.put(e.state.server_ip+"admin",{question:t,difficulty:s,correct_answer:n,a2:a,a3:i,a4:r,id:o,token:e.state.token})},e.onEditPrize=function(t){e.setState({editComponent:Object(n.jsx)(K,{prize:t,editPrize:e.editPrize,onClose:e.onCloseEdit})})},e.editPrize=function(t,s,n,a){e.setState({editComponent:""}),v.a.patch(e.state.server_ip+"prizes",{name:t,information:s,image:n,id:a,token:e.state.token}).then((function(e){return console.log(e)}))},e.onDeletePrize=function(t){v.a.delete(e.state.server_ip+"prizes",{params:{id:t,token:e.state.token}})},e.onDeleteQuestion=function(t){v.a.delete(e.state.server_ip+"admin",{params:{id:t,token:e.state.token}})},e.onCloseEdit=function(){e.setState({editComponent:""})},e.showResult=function(t){e.setState({showResult:!0,showResultComponent:Object(n.jsx)(J,{answered:t,onClose:e.onClose})})},e.onClose=function(){e.setState({showResult:!1})},e.showResults=function(){e.setState({showResults:!0,showPrizes:!1,showQuestions:!1,showResult:!1,showCreateQuestion:!1,showCreatePrize:!1})},e.showQuestions=function(){e.setState({showResults:!1,showPrizes:!1,showQuestions:!0,showResult:!1,showCreateQuestion:!1,showCreatePrize:!1})},e.showPrizes=function(){e.setState({showResults:!1,showPrizes:!0,showQuestions:!1,showResult:!1,showCreateQuestion:!1,showCreatePrize:!1})},e.showCreateQuestion=function(){e.setState({showResults:!1,showPrizes:!1,showQuestions:!1,showResult:!1,showCreateQuestion:!0,showCreatePrize:!1})},e.showCreatePrize=function(){e.setState({showResults:!1,showPrizes:!1,showQuestions:!1,showResult:!1,showCreateQuestion:!1,showCreatePrize:!0})},e}return Object(u.a)(s,[{key:"render",value:function(){var e;return e=this.state.showResult?this.state.showResultComponent:this.state.showResults?Object(n.jsx)(D,{answered:this.props.answered,showResult:this.showResult}):this.state.showPrizes?Object(n.jsx)(I,{prizes:this.props.prizes,onEdit:this.onEditPrize,onDelete:this.onDeletePrize}):this.state.showQuestions?Object(n.jsx)(Q,{questions:this.props.questions,onEdit:this.onEditQuestion,onDelete:this.onDeleteQuestion}):this.state.showCreateQuestion?Object(n.jsx)(Z,{createQuestion:this.addQuestion}):this.state.showCreatePrize?Object(n.jsx)(W,{createPrize:this.addPrize}):Object(n.jsx)("h1",{children:"Everything is fucked up and IT DOESN'T WORK"}),Object(n.jsxs)("div",{className:"container",children:[Object(n.jsxs)("div",{className:"admin-page-menu",children:[Object(n.jsx)("button",{onClick:this.showQuestions,className:"medium-button",children:"Otazky v kvizu"}),Object(n.jsx)("button",{onClick:this.showResults,className:"medium-button",children:"Vysledky uzivatelu"}),Object(n.jsx)("button",{onClick:this.showPrizes,className:"medium-button",children:"Vyhry"}),Object(n.jsx)("button",{onClick:this.showCreateQuestion,className:"medium-button",children:"Vytvorit otazku"}),Object(n.jsx)("button",{onClick:this.showCreatePrize,className:"medium-button",children:"Vytvorit vyhru"})]}),Object(n.jsx)("div",{className:"component",children:e}),this.state.editComponent]})}}]),s}(a.Component),X=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).state={loggedIn:!1,token:q.token,server_ip:q.server_ip,res_questions:"",res_answered:"",res_prizes:""},e.updateState=function(){v.a.get(e.state.server_ip+"admin",{params:{token:e.state.token}}).then((function(t){return e.setState({res_questions:t.data.questions,res_answered:t.data.answered,res_prizes:t.data.prizes})}))},e.login=function(t,s){v.a.post(e.state.server_ip+"validate_admin",{email:t,password:s,token:e.state.token}).then((function(t){"login approved"===t.data.message?e.setState({loggedIn:!0}):window.location.replace("/admin_wrong_credentials")}))},e}return Object(u.a)(s,[{key:"componentDidMount",value:function(){var e=this;v.a.get(this.state.server_ip+"admin",{params:{token:this.state.token}}).then((function(t){return e.setState({res_questions:t.data.questions,res_answered:t.data.answered,res_prizes:t.data.prizes})}))}},{key:"render",value:function(){var e;return e=this.state.loggedIn?Object(n.jsx)(E,{questions:this.state.res_questions,answered:this.state.res_answered,prizes:this.state.res_prizes,updateState:this.updateState}):Object(n.jsx)(V,{loginFunction:this.login}),Object(n.jsx)("div",{className:"container",children:e})}}]),s}(a.Component),M=s(37),Y=s(40),G=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"container-center",children:[Object(n.jsx)("h1",{className:"medium-heading",children:"\u010co vie\u0161 o Hane ?"}),Object(n.jsxs)("p",{className:"homepage-text",children:["Pozn\xe1te Hanu Hegerov\xfa ? ",Object(n.jsx)("br",{}),"Ste si ist\xfd ? ",Object(n.jsx)("br",{}),"Va\u0161e vedomosti si m\xf4\u017eete overi\u0165 v kv\xedze o na\u0161ej najzn\xe1mej\u0161ej \u0161ansoni\xe9rke."]}),Object(n.jsx)("a",{href:"/quiz",className:"homepage-button",children:"Hrat"})]})}}]),s}(a.Component),F=s(22),$=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){return Object(c.a)(this,s),t.apply(this,arguments)}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsxs)("div",{className:"menu",children:[Object(n.jsx)("img",{src:F.default,className:"menu-logo"}),Object(n.jsx)("h1",{children:Object(n.jsx)("a",{href:"/",children:"\u010co vie\u0161 o Hane ?"})})]})}}]),s}(a.Component),ee=function(e){Object(l.a)(s,e);var t=Object(p.a)(s);function s(){var e;Object(c.a)(this,s);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).playAudio=function(){var e=document.getElementById("track");e.paused?e.play():e.pause()},e}return Object(u.a)(s,[{key:"render",value:function(){return Object(n.jsx)(h.a,{children:Object(n.jsxs)("div",{className:"app",children:[Object(n.jsx)($,{}),Object(n.jsx)(d.a,{exact:!0,path:"/",component:G}),Object(n.jsx)(d.a,{exact:!0,path:"/quiz",component:P}),Object(n.jsx)(d.a,{exact:!0,path:"/email_exists",component:_}),Object(n.jsx)(d.a,{exact:!0,path:"/admin",component:X}),Object(n.jsx)(d.a,{exact:!0,path:"/admin_wrong_credentials",component:X}),Object(n.jsxs)("audio",{id:"track",loop:!0,children:[Object(n.jsx)("source",{src:m.default,type:"audio/mpeg"}),Object(n.jsx)("source",{src:j.default,type:"audio/ogg"})]}),Object(n.jsx)(M.a,{className:"audio-button",onClick:this.playAudio,icon:Y.a})]})})}}]),s}(a.Component),te=function(e){e&&e instanceof Function&&s.e(3).then(s.bind(null,79)).then((function(t){var s=t.getCLS,n=t.getFID,a=t.getFCP,i=t.getLCP,r=t.getTTFB;s(e),n(e),a(e),i(e),r(e)}))};o.a.render(Object(n.jsx)(i.a.StrictMode,{children:Object(n.jsx)(ee,{})}),document.getElementById("root")),te()}},[[78,1,2]]]); //# sourceMappingURL=main.4c919946.chunk.js.map
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<245720bff73f3e2e779d093660d18a9c>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disable */ 'use strict'; /*:: import type { ConcreteRequest, Mutation } from 'relay-runtime'; type RelayModernEnvironmentApplyMutationTestFragment$fragmentType = any; export type CommentCreateInput = {| clientMutationId?: ?string, feedbackId?: ?string, feedback?: ?CommentfeedbackFeedback, |}; export type CommentfeedbackFeedback = {| comment?: ?FeedbackcommentComment, |}; export type FeedbackcommentComment = {| feedback?: ?CommentfeedbackFeedback, |}; export type RelayModernEnvironmentApplyMutationTest1Mutation$variables = {| input: CommentCreateInput, |}; export type RelayModernEnvironmentApplyMutationTest1MutationVariables = RelayModernEnvironmentApplyMutationTest1Mutation$variables; export type RelayModernEnvironmentApplyMutationTest1Mutation$data = {| +commentCreate: ?{| +comment: ?{| +$fragmentSpreads: RelayModernEnvironmentApplyMutationTestFragment$fragmentType, |}, |}, |}; export type RelayModernEnvironmentApplyMutationTest1MutationResponse = RelayModernEnvironmentApplyMutationTest1Mutation$data; export type RelayModernEnvironmentApplyMutationTest1Mutation = {| variables: RelayModernEnvironmentApplyMutationTest1MutationVariables, response: RelayModernEnvironmentApplyMutationTest1Mutation$data, |}; */ var node/*: ConcreteRequest*/ = (function(){ var v0 = [ { "defaultValue": null, "kind": "LocalArgument", "name": "input" } ], v1 = [ { "kind": "Variable", "name": "input", "variableName": "input" } ]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), "kind": "Fragment", "metadata": null, "name": "RelayModernEnvironmentApplyMutationTest1Mutation", "selections": [ { "alias": null, "args": (v1/*: any*/), "concreteType": "CommentCreateResponsePayload", "kind": "LinkedField", "name": "commentCreate", "plural": false, "selections": [ { "alias": null, "args": null, "concreteType": "Comment", "kind": "LinkedField", "name": "comment", "plural": false, "selections": [ { "args": null, "kind": "FragmentSpread", "name": "RelayModernEnvironmentApplyMutationTestFragment" } ], "storageKey": null } ], "storageKey": null } ], "type": "Mutation", "abstractKey": null }, "kind": "Request", "operation": { "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "RelayModernEnvironmentApplyMutationTest1Mutation", "selections": [ { "alias": null, "args": (v1/*: any*/), "concreteType": "CommentCreateResponsePayload", "kind": "LinkedField", "name": "commentCreate", "plural": false, "selections": [ { "alias": null, "args": null, "concreteType": "Comment", "kind": "LinkedField", "name": "comment", "plural": false, "selections": [ { "alias": null, "args": null, "kind": "ScalarField", "name": "id", "storageKey": null }, { "alias": null, "args": null, "concreteType": "Text", "kind": "LinkedField", "name": "body", "plural": false, "selections": [ { "alias": null, "args": null, "kind": "ScalarField", "name": "text", "storageKey": null } ], "storageKey": null } ], "storageKey": null } ], "storageKey": null } ] }, "params": { "cacheID": "91894c0eef9f8835af6e9e2592409903", "id": null, "metadata": {}, "name": "RelayModernEnvironmentApplyMutationTest1Mutation", "operationKind": "mutation", "text": "mutation RelayModernEnvironmentApplyMutationTest1Mutation(\n $input: CommentCreateInput!\n) {\n commentCreate(input: $input) {\n comment {\n ...RelayModernEnvironmentApplyMutationTestFragment\n id\n }\n }\n}\n\nfragment RelayModernEnvironmentApplyMutationTestFragment on Comment {\n id\n body {\n text\n }\n}\n" } }; })(); if (__DEV__) { (node/*: any*/).hash = "132d201099718ff26a1198c441d73c0a"; } module.exports = ((node/*: any*/)/*: Mutation< RelayModernEnvironmentApplyMutationTest1Mutation$variables, RelayModernEnvironmentApplyMutationTest1Mutation$data, >*/);
; (function() { window.require(["ace/snippets/d"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })();
/* YUI 3.12.0 (build 8655935) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('dd-drop', function (Y, NAME) { /** * Provides the ability to create a Drop Target. * @module dd * @submodule dd-drop */ /** * Provides the ability to create a Drop Target. * @class Drop * @extends Base * @constructor * @namespace DD */ var NODE = 'node', DDM = Y.DD.DDM, OFFSET_HEIGHT = 'offsetHeight', OFFSET_WIDTH = 'offsetWidth', /** * Fires when a drag element is over this target. * @event drop:over * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The drop object at the time of the event.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ EV_DROP_OVER = 'drop:over', /** * Fires when a drag element enters this target. * @event drop:enter * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The drop object at the time of the event.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ EV_DROP_ENTER = 'drop:enter', /** * Fires when a drag element exits this target. * @event drop:exit * @param {EventFacade} event An Event Facade object * @bubbles DDM * @type {CustomEvent} */ EV_DROP_EXIT = 'drop:exit', /** * Fires when a draggable node is dropped on this Drop Target. (Fired from dd-ddm-drop) * @event drop:hit * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The best guess on what was dropped on.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * <dt>others</dt><dd>An array of all the other drop targets that was dropped on.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ Drop = function() { this._lazyAddAttrs = false; Drop.superclass.constructor.apply(this, arguments); //DD init speed up. Y.on('domready', Y.bind(function() { Y.later(100, this, this._createShim); }, this)); DDM._regTarget(this); /* TODO if (Dom.getStyle(this.el, 'position') == 'fixed') { Event.on(window, 'scroll', function() { this.activateShim(); }, this, true); } */ }; Drop.NAME = 'drop'; Drop.ATTRS = { /** * Y.Node instanace to use as the element to make a Drop Target * @attribute node * @type Node */ node: { setter: function(node) { var n = Y.one(node); if (!n) { Y.error('DD.Drop: Invalid Node Given: ' + node); } return n; } }, /** * Array of groups to add this drop into. * @attribute groups * @type Array */ groups: { value: ['default'], getter: function() { if (!this._groups) { this._groups = {}; return []; } return Y.Object.keys(this._groups); }, setter: function(g) { this._groups = Y.Array.hash(g); return g; } }, /** * CSS style padding to make the Drop Target bigger than the node. * @attribute padding * @type String */ padding: { value: '0', setter: function(p) { return DDM.cssSizestoObject(p); } }, /** * Set to lock this drop element. * @attribute lock * @type Boolean */ lock: { value: false, setter: function(lock) { if (lock) { this.get(NODE).addClass(DDM.CSS_PREFIX + '-drop-locked'); } else { this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-locked'); } return lock; } }, /** * Controls the default bubble parent for this Drop instance. Default: Y.DD.DDM. Set to false to disable bubbling. * Use bubbleTargets in config. * @deprecated * @attribute bubbles * @type Object */ bubbles: { setter: function(t) { this.addTarget(t); return t; } }, /** * Use the Drop shim. Default: true * @deprecated * @attribute useShim * @type Boolean */ useShim: { value: true, setter: function(v) { Y.DD.DDM._noShim = !v; return v; } } }; Y.extend(Drop, Y.Base, { /** * The default bubbleTarget for this object. Default: Y.DD.DDM * @private * @property _bubbleTargets */ _bubbleTargets: Y.DD.DDM, /** * Add this Drop instance to a group, this should be used for on-the-fly group additions. * @method addToGroup * @param {String} g The group to add this Drop Instance to. * @return {Self} * @chainable */ addToGroup: function(g) { this._groups[g] = true; return this; }, /** * Remove this Drop instance from a group, this should be used for on-the-fly group removals. * @method removeFromGroup * @param {String} g The group to remove this Drop Instance from. * @return {Self} * @chainable */ removeFromGroup: function(g) { delete this._groups[g]; return this; }, /** * This method creates all the events for this Event Target and publishes them so we get Event Bubbling. * @private * @method _createEvents */ _createEvents: function() { var ev = [ EV_DROP_OVER, EV_DROP_ENTER, EV_DROP_EXIT, 'drop:hit' ]; Y.Array.each(ev, function(v) { this.publish(v, { type: v, emitFacade: true, preventable: false, bubbles: true, queuable: false, prefix: 'drop' }); }, this); }, /** * Flag for determining if the target is valid in this operation. * @private * @property _valid * @type Boolean */ _valid: null, /** * The groups this target belongs to. * @private * @property _groups * @type Array */ _groups: null, /** * Node reference to the targets shim * @property shim * @type {Object} */ shim: null, /** * A region object associated with this target, used for checking regions while dragging. * @property region * @type Object */ region: null, /** * This flag is tripped when a drag element is over this target. * @property overTarget * @type Boolean */ overTarget: null, /** * Check if this target is in one of the supplied groups. * @method inGroup * @param {Array} groups The groups to check against * @return Boolean */ inGroup: function(groups) { this._valid = false; var ret = false; Y.Array.each(groups, function(v) { if (this._groups[v]) { ret = true; this._valid = true; } }, this); return ret; }, /** * Private lifecycle method * @private * @method initializer */ initializer: function() { Y.later(100, this, this._createEvents); var node = this.get(NODE), id; if (!node.get('id')) { id = Y.stamp(node); node.set('id', id); } node.addClass(DDM.CSS_PREFIX + '-drop'); //Shouldn't have to do this.. this.set('groups', this.get('groups')); }, /** * Lifecycle destructor, unreg the drag from the DDM and remove listeners * @private * @method destructor */ destructor: function() { DDM._unregTarget(this); if (this.shim && (this.shim !== this.get(NODE))) { this.shim.detachAll(); this.shim.remove(); this.shim = null; } this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop'); this.detachAll(); }, /** * Removes classes from the target, resets some flags and sets the shims deactive position [-999, -999] * @private * @method _deactivateShim */ _deactivateShim: function() { if (!this.shim) { return false; } this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-active-valid'); this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-active-invalid'); this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-over'); if (this.get('useShim')) { this.shim.setStyles({ top: '-999px', left: '-999px', zIndex: '1' }); } this.overTarget = false; }, /** * Activates the shim and adds some interaction CSS classes * @private * @method _activateShim */ _activateShim: function() { if (!DDM.activeDrag) { return false; //Nothing is dragging, no reason to activate. } if (this.get(NODE) === DDM.activeDrag.get(NODE)) { return false; } if (this.get('lock')) { return false; } var node = this.get(NODE); //TODO Visibility Check.. //if (this.inGroup(DDM.activeDrag.get('groups')) && this.get(NODE).isVisible()) { if (this.inGroup(DDM.activeDrag.get('groups'))) { node.removeClass(DDM.CSS_PREFIX + '-drop-active-invalid'); node.addClass(DDM.CSS_PREFIX + '-drop-active-valid'); DDM._addValid(this); this.overTarget = false; if (!this.get('useShim')) { this.shim = this.get(NODE); } this.sizeShim(); } else { DDM._removeValid(this); node.removeClass(DDM.CSS_PREFIX + '-drop-active-valid'); node.addClass(DDM.CSS_PREFIX + '-drop-active-invalid'); } }, /** * Positions and sizes the shim with the raw data from the node, * this can be used to programatically adjust the Targets shim for Animation.. * @method sizeShim */ sizeShim: function() { if (!DDM.activeDrag) { return false; //Nothing is dragging, no reason to activate. } if (this.get(NODE) === DDM.activeDrag.get(NODE)) { return false; } //if (this.get('lock') || !this.get('useShim')) { if (this.get('lock')) { return false; } if (!this.shim) { Y.later(100, this, this.sizeShim); return false; } var node = this.get(NODE), nh = node.get(OFFSET_HEIGHT), nw = node.get(OFFSET_WIDTH), xy = node.getXY(), p = this.get('padding'), dd, dH, dW; //Apply padding nw = nw + p.left + p.right; nh = nh + p.top + p.bottom; xy[0] = xy[0] - p.left; xy[1] = xy[1] - p.top; if (DDM.activeDrag.get('dragMode') === DDM.INTERSECT) { //Intersect Mode, make the shim bigger dd = DDM.activeDrag; dH = dd.get(NODE).get(OFFSET_HEIGHT); dW = dd.get(NODE).get(OFFSET_WIDTH); nh = (nh + dH); nw = (nw + dW); xy[0] = xy[0] - (dW - dd.deltaXY[0]); xy[1] = xy[1] - (dH - dd.deltaXY[1]); } if (this.get('useShim')) { //Set the style on the shim this.shim.setStyles({ height: nh + 'px', width: nw + 'px', top: xy[1] + 'px', left: xy[0] + 'px' }); } //Create the region to be used by intersect when a drag node is over us. this.region = { '0': xy[0], '1': xy[1], area: 0, top: xy[1], right: xy[0] + nw, bottom: xy[1] + nh, left: xy[0] }; }, /** * Creates the Target shim and adds it to the DDM's playground.. * @private * @method _createShim */ _createShim: function() { //No playground, defer if (!DDM._pg) { Y.later(10, this, this._createShim); return; } //Shim already here, cancel if (this.shim) { return; } var s = this.get('node'); if (this.get('useShim')) { s = Y.Node.create('<div id="' + this.get(NODE).get('id') + '_shim"></div>'); s.setStyles({ height: this.get(NODE).get(OFFSET_HEIGHT) + 'px', width: this.get(NODE).get(OFFSET_WIDTH) + 'px', backgroundColor: 'yellow', opacity: '.5', zIndex: '1', overflow: 'hidden', top: '-900px', left: '-900px', position: 'absolute' }); DDM._pg.appendChild(s); s.on('mouseover', Y.bind(this._handleOverEvent, this)); s.on('mouseout', Y.bind(this._handleOutEvent, this)); } this.shim = s; }, /** * This handles the over target call made from this object or from the DDM * @private * @method _handleOverTarget */ _handleTargetOver: function() { if (DDM.isOverTarget(this)) { this.get(NODE).addClass(DDM.CSS_PREFIX + '-drop-over'); DDM.activeDrop = this; DDM.otherDrops[this] = this; if (this.overTarget) { DDM.activeDrag.fire('drag:over', { drop: this, drag: DDM.activeDrag }); this.fire(EV_DROP_OVER, { drop: this, drag: DDM.activeDrag }); } else { //Prevent an enter before a start.. if (DDM.activeDrag.get('dragging')) { this.overTarget = true; this.fire(EV_DROP_ENTER, { drop: this, drag: DDM.activeDrag }); DDM.activeDrag.fire('drag:enter', { drop: this, drag: DDM.activeDrag }); DDM.activeDrag.get(NODE).addClass(DDM.CSS_PREFIX + '-drag-over'); //TODO - Is this needed?? //DDM._handleTargetOver(); } } } else { this._handleOut(); } }, /** * Handles the mouseover DOM event on the Target Shim * @private * @method _handleOverEvent */ _handleOverEvent: function() { this.shim.setStyle('zIndex', '999'); DDM._addActiveShim(this); }, /** * Handles the mouseout DOM event on the Target Shim * @private * @method _handleOutEvent */ _handleOutEvent: function() { this.shim.setStyle('zIndex', '1'); DDM._removeActiveShim(this); }, /** * Handles out of target calls/checks * @private * @method _handleOut */ _handleOut: function(force) { if (!DDM.isOverTarget(this) || force) { if (this.overTarget) { this.overTarget = false; if (!force) { DDM._removeActiveShim(this); } if (DDM.activeDrag) { this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-over'); DDM.activeDrag.get(NODE).removeClass(DDM.CSS_PREFIX + '-drag-over'); this.fire(EV_DROP_EXIT, { drop: this, drag: DDM.activeDrag }); DDM.activeDrag.fire('drag:exit', { drop: this, drag: DDM.activeDrag }); delete DDM.otherDrops[this]; } } } } }); Y.DD.Drop = Drop; }, '3.12.0', {"requires": ["dd-drag", "dd-ddm-drop"]});
var Blockly = {}; Blockly.Msg={}; module.exports = function(){ // This file was automatically generated. Do not modify. 'use strict'; Blockly.Msg["ADD_COMMENT"] = "コメントを追加"; Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "変数 '%1' は関数 '%2' の定義の一部であるため、削除できません"; Blockly.Msg["CHANGE_VALUE_TITLE"] = "値を変える:"; Blockly.Msg["CLEAN_UP"] = "ブロックを整理する"; Blockly.Msg["COLLAPSE_ALL"] = "ブロックを折りたたむ"; Blockly.Msg["COLLAPSE_BLOCK"] = "ブロックを折りたたむ"; Blockly.Msg["COLOUR_BLEND_COLOUR1"] = "色 1"; Blockly.Msg["COLOUR_BLEND_COLOUR2"] = "色 2"; Blockly.Msg["COLOUR_BLEND_HELPURL"] = "http://meyerweb.com/eric/tools/color-blend/"; Blockly.Msg["COLOUR_BLEND_RATIO"] = "比率"; Blockly.Msg["COLOUR_BLEND_TITLE"] = "ブレンド"; Blockly.Msg["COLOUR_BLEND_TOOLTIP"] = "2色を与えられた比率(0.0~1.0)で混ぜます。"; Blockly.Msg["COLOUR_PICKER_HELPURL"] = "https://ja.wikipedia.org/wiki/色"; Blockly.Msg["COLOUR_PICKER_TOOLTIP"] = "パレットから色を選んでください。"; Blockly.Msg["COLOUR_RANDOM_HELPURL"] = "http://randomcolour.com"; // untranslated Blockly.Msg["COLOUR_RANDOM_TITLE"] = "ランダムな色"; Blockly.Msg["COLOUR_RANDOM_TOOLTIP"] = "ランダムな色を選ぶ。"; Blockly.Msg["COLOUR_RGB_BLUE"] = "青"; Blockly.Msg["COLOUR_RGB_GREEN"] = "緑"; Blockly.Msg["COLOUR_RGB_HELPURL"] = "http://www.december.com/html/spec/colorper.html"; Blockly.Msg["COLOUR_RGB_RED"] = "赤"; Blockly.Msg["COLOUR_RGB_TITLE"] = "色:"; Blockly.Msg["COLOUR_RGB_TOOLTIP"] = "赤、緑、および青の指定された量で色を作成します。すべての値は 0 ~ 100 の間でなければなりません。"; Blockly.Msg["CONTROLS_FLOW_STATEMENTS_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks"; // untranslated Blockly.Msg["CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK"] = "ループから抜け出す"; Blockly.Msg["CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE"] = "ループの次の反復処理を続行します"; Blockly.Msg["CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK"] = "入っているループから抜け出します。"; Blockly.Msg["CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE"] = "このループの残りの部分をスキップして、ループの繰り返しを続けます。"; Blockly.Msg["CONTROLS_FLOW_STATEMENTS_WARNING"] = "注意: このブロックは、ループ内でのみ使用できます。"; Blockly.Msg["CONTROLS_FOREACH_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#for-each"; // untranslated Blockly.Msg["CONTROLS_FOREACH_TITLE"] = "リスト%2の各項目%1について"; Blockly.Msg["CONTROLS_FOREACH_TOOLTIP"] = "リストの各項目について、その項目を変数'%1'として、いくつかのステートメントを実行します。"; Blockly.Msg["CONTROLS_FOR_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#count-with"; // untranslated Blockly.Msg["CONTROLS_FOR_TITLE"] = "%1 を %2 から %3 まで %4 ずつカウントする"; Blockly.Msg["CONTROLS_FOR_TOOLTIP"] = "変数 '%1' が開始番号から終了番号まで指定した間隔での値をとって、指定したブロックを実行する。"; Blockly.Msg["CONTROLS_IF_ELSEIF_TOOLTIP"] = "「もしも」のブロックに条件を追加します。"; Blockly.Msg["CONTROLS_IF_ELSE_TOOLTIP"] = "Ifブロックに、すべてをキャッチする条件を追加。"; Blockly.Msg["CONTROLS_IF_HELPURL"] = "https://github.com/google/blockly/wiki/IfElse"; // untranslated Blockly.Msg["CONTROLS_IF_IF_TOOLTIP"] = "追加、削除、またはセクションを順序変更して、ブロックをこれを再構成します。"; Blockly.Msg["CONTROLS_IF_MSG_ELSE"] = "そうでなければ"; Blockly.Msg["CONTROLS_IF_MSG_ELSEIF"] = "そうでなくもし"; Blockly.Msg["CONTROLS_IF_MSG_IF"] = "もし"; Blockly.Msg["CONTROLS_IF_TOOLTIP_1"] = "値が true の場合、ステートメントを実行します。"; Blockly.Msg["CONTROLS_IF_TOOLTIP_2"] = "値が true 場合は、ステートメントの最初のブロックを行います。それ以外の場合は、ステートメントの 2 番目のブロックを行います。"; Blockly.Msg["CONTROLS_IF_TOOLTIP_3"] = "最初の値が true 場合は、ステートメントの最初のブロックを行います。それ以外の場合は、2 番目の値が true の場合、ステートメントの 2 番目のブロックをします。"; Blockly.Msg["CONTROLS_IF_TOOLTIP_4"] = "最初の値が true 場合は、ステートメントの最初のブロックを行います。2 番目の値が true の場合は、ステートメントの 2 番目のブロックを行います。それ以外の場合は最後のブロックのステートメントを行います。"; Blockly.Msg["CONTROLS_REPEAT_HELPURL"] = "https://ja.wikipedia.org/wiki/for文"; Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"] = "実行"; Blockly.Msg["CONTROLS_REPEAT_TITLE"] = "%1 回繰り返す"; Blockly.Msg["CONTROLS_REPEAT_TOOLTIP"] = "いくつかのステートメントを数回実行します。"; Blockly.Msg["CONTROLS_WHILEUNTIL_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#repeat"; // untranslated Blockly.Msg["CONTROLS_WHILEUNTIL_OPERATOR_UNTIL"] = "繰り返す:終わる条件"; Blockly.Msg["CONTROLS_WHILEUNTIL_OPERATOR_WHILE"] = "繰り返す:続ける条件"; Blockly.Msg["CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL"] = "値がfalseの間、いくつかのステートメントを実行する。"; Blockly.Msg["CONTROLS_WHILEUNTIL_TOOLTIP_WHILE"] = "値がtrueの間、いくつかのステートメントを実行する。"; Blockly.Msg["DELETE_ALL_BLOCKS"] = "%1件のすべてのブロックを削除しますか?"; Blockly.Msg["DELETE_BLOCK"] = "ブロックを削除"; Blockly.Msg["DELETE_VARIABLE"] = "変数 '%1' を削除"; Blockly.Msg["DELETE_VARIABLE_CONFIRMATION"] = "%1か所で使われている変数 '%2' を削除しますか?"; Blockly.Msg["DELETE_X_BLOCKS"] = "%1 個のブロックを削除"; Blockly.Msg["DISABLE_BLOCK"] = "ブロックを無効にする"; Blockly.Msg["DUPLICATE_BLOCK"] = "複製"; Blockly.Msg["DUPLICATE_COMMENT"] = "コメントを複製"; Blockly.Msg["ENABLE_BLOCK"] = "ブロックを有効にする"; Blockly.Msg["EXPAND_ALL"] = "ブロックを展開する"; Blockly.Msg["EXPAND_BLOCK"] = "ブロックを展開する"; Blockly.Msg["EXTERNAL_INPUTS"] = "外部入力"; Blockly.Msg["HELP"] = "ヘルプ"; Blockly.Msg["INLINE_INPUTS"] = "インライン入力"; Blockly.Msg["IOS_CANCEL"] = "キャンセル"; Blockly.Msg["IOS_ERROR"] = "エラー"; Blockly.Msg["IOS_OK"] = "OK"; Blockly.Msg["IOS_PROCEDURES_ADD_INPUT"] = "+ 入力を追加"; Blockly.Msg["IOS_PROCEDURES_ALLOW_STATEMENTS"] = "ステートメントを許可"; Blockly.Msg["IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR"] = "この関数には重複する入力があります。"; Blockly.Msg["IOS_PROCEDURES_INPUTS"] = "入力"; Blockly.Msg["IOS_VARIABLES_ADD_BUTTON"] = "追加"; Blockly.Msg["IOS_VARIABLES_ADD_VARIABLE"] = "+ 変数を追加"; Blockly.Msg["IOS_VARIABLES_DELETE_BUTTON"] = "削除"; Blockly.Msg["IOS_VARIABLES_EMPTY_NAME_ERROR"] = "空の変数名は使用できません。"; Blockly.Msg["IOS_VARIABLES_RENAME_BUTTON"] = "名前を変更"; Blockly.Msg["IOS_VARIABLES_VARIABLE_NAME"] = "変数名"; Blockly.Msg["LISTS_CREATE_EMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; Blockly.Msg["LISTS_CREATE_EMPTY_TITLE"] = "空のリストを作成"; Blockly.Msg["LISTS_CREATE_EMPTY_TOOLTIP"] = "長さ0でデータ・レコードを含まない空のリストを返す"; Blockly.Msg["LISTS_CREATE_WITH_CONTAINER_TITLE_ADD"] = "リスト"; Blockly.Msg["LISTS_CREATE_WITH_CONTAINER_TOOLTIP"] = "追加、削除、またはセクションの順序変更をして、このリスト・ブロックを再構成する。"; Blockly.Msg["LISTS_CREATE_WITH_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated Blockly.Msg["LISTS_CREATE_WITH_INPUT_WITH"] = "以下を使ってリストを作成:"; Blockly.Msg["LISTS_CREATE_WITH_ITEM_TOOLTIP"] = "リストに項目を追加。"; Blockly.Msg["LISTS_CREATE_WITH_TOOLTIP"] = "項目数が不定のリストを作成。"; Blockly.Msg["LISTS_GET_INDEX_FIRST"] = "最初"; Blockly.Msg["LISTS_GET_INDEX_FROM_END"] = "位置:後ろから"; Blockly.Msg["LISTS_GET_INDEX_FROM_START"] = "#"; Blockly.Msg["LISTS_GET_INDEX_GET"] = "取得"; Blockly.Msg["LISTS_GET_INDEX_GET_REMOVE"] = "取得して削除"; Blockly.Msg["LISTS_GET_INDEX_LAST"] = "最後"; Blockly.Msg["LISTS_GET_INDEX_RANDOM"] = "ランダム"; Blockly.Msg["LISTS_GET_INDEX_REMOVE"] = "削除"; Blockly.Msg["LISTS_GET_INDEX_TAIL"] = ""; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_FIRST"] = "リストの最初の項目を返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_FROM"] = "リスト内の指定位置にある項目を返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_LAST"] = "リストの最後の項目を返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_RANDOM"] = "ランダム アイテム リストを返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST"] = "リスト内の最初の項目を削除し返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM"] = "リスト内の指定位置にある項目を削除し、返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST"] = "リスト内の最後の項目を削除したあと返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM"] = "リストのランダムなアイテムを削除し返します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST"] = "リスト内の最初の項目を削除します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM"] = "リスト内の指定された項目を削除します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST"] = "リスト内の最後の項目を削除します。"; Blockly.Msg["LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM"] = "リスト内にあるアイテムをランダムに削除します。"; Blockly.Msg["LISTS_GET_SUBLIST_END_FROM_END"] = "終了位置:後ろから"; Blockly.Msg["LISTS_GET_SUBLIST_END_FROM_START"] = "終了位置:"; Blockly.Msg["LISTS_GET_SUBLIST_END_LAST"] = "最後まで"; Blockly.Msg["LISTS_GET_SUBLIST_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist"; // untranslated Blockly.Msg["LISTS_GET_SUBLIST_START_FIRST"] = "最初からサブリストを取得する。"; Blockly.Msg["LISTS_GET_SUBLIST_START_FROM_END"] = "端から #のサブリストを取得します。"; Blockly.Msg["LISTS_GET_SUBLIST_START_FROM_START"] = "# からサブディレクトリのリストを取得します。"; Blockly.Msg["LISTS_GET_SUBLIST_TAIL"] = ""; Blockly.Msg["LISTS_GET_SUBLIST_TOOLTIP"] = "リストの指定された部分のコピーを作成してくださ。"; Blockly.Msg["LISTS_INDEX_FROM_END_TOOLTIP"] = "%1 は、最後の項目です。"; Blockly.Msg["LISTS_INDEX_FROM_START_TOOLTIP"] = "%1 は、最初の項目です。"; Blockly.Msg["LISTS_INDEX_OF_FIRST"] = "で以下のアイテムの最初の出現箇所を検索:"; Blockly.Msg["LISTS_INDEX_OF_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; // untranslated Blockly.Msg["LISTS_INDEX_OF_LAST"] = "で以下のテキストの最後の出現箇所を検索:"; Blockly.Msg["LISTS_INDEX_OF_TOOLTIP"] = "リスト項目の最初/最後に出現するインデックス位置を返します。項目が見つからない場合は %1 を返します。"; Blockly.Msg["LISTS_INLIST"] = "リスト"; Blockly.Msg["LISTS_ISEMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#is-empty"; // untranslated Blockly.Msg["LISTS_ISEMPTY_TITLE"] = "%1が空"; Blockly.Msg["LISTS_ISEMPTY_TOOLTIP"] = "リストが空の場合は、true を返します。"; Blockly.Msg["LISTS_LENGTH_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#length-of"; // untranslated Blockly.Msg["LISTS_LENGTH_TITLE"] = "%1の長さ"; Blockly.Msg["LISTS_LENGTH_TOOLTIP"] = "リストの長さを返します。"; Blockly.Msg["LISTS_REPEAT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated Blockly.Msg["LISTS_REPEAT_TITLE"] = "項目%1を%2回繰り返したリストを作成"; Blockly.Msg["LISTS_REPEAT_TOOLTIP"] = "与えられた値を指定された回数繰り返してリストを作成。"; Blockly.Msg["LISTS_REVERSE_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#reversing-a-list"; Blockly.Msg["LISTS_REVERSE_MESSAGE0"] = "%1を逆順に"; Blockly.Msg["LISTS_REVERSE_TOOLTIP"] = "リストのコピーを逆順にする。"; Blockly.Msg["LISTS_SET_INDEX_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#in-list--set"; // untranslated Blockly.Msg["LISTS_SET_INDEX_INPUT_TO"] = "値:"; Blockly.Msg["LISTS_SET_INDEX_INSERT"] = "挿入位置:"; Blockly.Msg["LISTS_SET_INDEX_SET"] = "セット"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST"] = "リストの先頭に項目を挿入します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_INSERT_FROM"] = "リスト内の指定位置に項目を挿入します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_INSERT_LAST"] = "リストの末尾に項目を追加します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM"] = "リストに項目をランダムに挿入します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_SET_FIRST"] = "リスト内に最初の項目を設定します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_SET_FROM"] = "リスト内の指定された位置に項目を設定します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_SET_LAST"] = "リスト内の最後の項目を設定します。"; Blockly.Msg["LISTS_SET_INDEX_TOOLTIP_SET_RANDOM"] = "リスト内にランダムなアイテムを設定します。"; Blockly.Msg["LISTS_SORT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#sorting-a-list"; Blockly.Msg["LISTS_SORT_ORDER_ASCENDING"] = "昇順"; Blockly.Msg["LISTS_SORT_ORDER_DESCENDING"] = "降順"; Blockly.Msg["LISTS_SORT_TITLE"] = "%1 ( %2 ) に %3 を並び替える"; Blockly.Msg["LISTS_SORT_TOOLTIP"] = "リストのコピーを並べ替え"; Blockly.Msg["LISTS_SORT_TYPE_IGNORECASE"] = "アルファベット順(大文字・小文字の区別無し)"; Blockly.Msg["LISTS_SORT_TYPE_NUMERIC"] = "数値順"; Blockly.Msg["LISTS_SORT_TYPE_TEXT"] = "アルファベット順"; Blockly.Msg["LISTS_SPLIT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists"; // untranslated Blockly.Msg["LISTS_SPLIT_LIST_FROM_TEXT"] = "テキストからリストを作る"; Blockly.Msg["LISTS_SPLIT_TEXT_FROM_LIST"] = "リストからテキストを作る"; Blockly.Msg["LISTS_SPLIT_TOOLTIP_JOIN"] = "テキストのリストを区切り記号で区切られた一つのテキストにする"; Blockly.Msg["LISTS_SPLIT_TOOLTIP_SPLIT"] = "テキストを区切り記号で分割したリストにする"; Blockly.Msg["LISTS_SPLIT_WITH_DELIMITER"] = "区切り記号"; Blockly.Msg["LOGIC_BOOLEAN_FALSE"] = "false"; Blockly.Msg["LOGIC_BOOLEAN_HELPURL"] = "https://github.com/google/blockly/wiki/Logic#values"; // untranslated Blockly.Msg["LOGIC_BOOLEAN_TOOLTIP"] = "true または false を返します。"; Blockly.Msg["LOGIC_BOOLEAN_TRUE"] = "true"; Blockly.Msg["LOGIC_COMPARE_HELPURL"] = "https://ja.wikipedia.org/wiki/不等式"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_EQ"] = "両方の入力が互いに等しい場合に true を返します。"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_GT"] = "最初の入力が 2 番目の入力よりも大きい場合は true を返します。"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_GTE"] = "最初の入力が 2 番目の入力以上の場合に true を返します。"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_LT"] = "最初の入力が 2 番目の入力よりも小さい場合は true を返します。"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_LTE"] = "最初の入力が 2 番目の入力以下の場合に true を返します。"; Blockly.Msg["LOGIC_COMPARE_TOOLTIP_NEQ"] = "両方の入力が互いに等しくない場合に true を返します。"; Blockly.Msg["LOGIC_NEGATE_HELPURL"] = "https://ja.wikipedia.org/wiki/否定"; Blockly.Msg["LOGIC_NEGATE_TITLE"] = "%1ではない"; Blockly.Msg["LOGIC_NEGATE_TOOLTIP"] = "入力が false の場合は、true を返します。入力が true の場合は false を返します。"; Blockly.Msg["LOGIC_NULL"] = "null"; Blockly.Msg["LOGIC_NULL_HELPURL"] = "https://en.wikipedia.org/wiki/Nullable_type"; Blockly.Msg["LOGIC_NULL_TOOLTIP"] = "null を返します。"; Blockly.Msg["LOGIC_OPERATION_AND"] = "かつ"; Blockly.Msg["LOGIC_OPERATION_HELPURL"] = "https://github.com/google/blockly/wiki/Logic#logical-operations"; // untranslated Blockly.Msg["LOGIC_OPERATION_OR"] = "または"; Blockly.Msg["LOGIC_OPERATION_TOOLTIP_AND"] = "両方の入力が true のときに true を返します。"; Blockly.Msg["LOGIC_OPERATION_TOOLTIP_OR"] = "少なくとも 1 つの入力が true のときに true を返します。"; Blockly.Msg["LOGIC_TERNARY_CONDITION"] = "テスト"; Blockly.Msg["LOGIC_TERNARY_HELPURL"] = "https://ja.wikipedia.org/wiki/%3F:"; Blockly.Msg["LOGIC_TERNARY_IF_FALSE"] = "false の場合"; Blockly.Msg["LOGIC_TERNARY_IF_TRUE"] = "true の場合"; Blockly.Msg["LOGIC_TERNARY_TOOLTIP"] = "'テスト' の条件をチェックします。条件が true の場合、'true' の値を返します。それ以外の場合 'false' のを返します。"; Blockly.Msg["MATH_ADDITION_SYMBOL"] = "+"; Blockly.Msg["MATH_ARITHMETIC_HELPURL"] = "https://ja.wikipedia.org/wiki/算術"; Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_ADD"] = "2 つの数の合計を返します。"; Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_DIVIDE"] = "2 つの数の商を返します。"; Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_MINUS"] = "2 つの数の差を返します。"; Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_MULTIPLY"] = "2 つの数の積を返します。"; Blockly.Msg["MATH_ARITHMETIC_TOOLTIP_POWER"] = "最初の数を2 番目の値で累乗した結果を返します。"; Blockly.Msg["MATH_CHANGE_HELPURL"] = "https://ja.wikipedia.org/wiki/加法"; Blockly.Msg["MATH_CHANGE_TITLE"] = "%1 を %2 増やす"; Blockly.Msg["MATH_CHANGE_TOOLTIP"] = "変数'%1'に数をたす。"; Blockly.Msg["MATH_CONSTANT_HELPURL"] = "https://ja.wikipedia.org/wiki/数学定数"; Blockly.Msg["MATH_CONSTANT_TOOLTIP"] = "いずれかの共通の定数のを返す: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (無限)."; Blockly.Msg["MATH_CONSTRAIN_HELPURL"] = "https://en.wikipedia.org/wiki/Clamping_(graphics)"; // untranslated Blockly.Msg["MATH_CONSTRAIN_TITLE"] = "%1 を %2 以上 %3 以下の範囲に制限"; Blockly.Msg["MATH_CONSTRAIN_TOOLTIP"] = "指定した上限と下限の間に値を制限する(上限と下限の値を含む)。"; Blockly.Msg["MATH_DIVISION_SYMBOL"] = "÷"; Blockly.Msg["MATH_IS_DIVISIBLE_BY"] = "は以下で割りきれる:"; Blockly.Msg["MATH_IS_EVEN"] = "は偶数"; Blockly.Msg["MATH_IS_NEGATIVE"] = "は負"; Blockly.Msg["MATH_IS_ODD"] = "は奇数"; Blockly.Msg["MATH_IS_POSITIVE"] = "は正"; Blockly.Msg["MATH_IS_PRIME"] = "は素数"; Blockly.Msg["MATH_IS_TOOLTIP"] = "数字が、偶数、奇数、素数、整数、正数、負数、または特定の数で割り切れるかどうかを判定し、true か false を返します。"; Blockly.Msg["MATH_IS_WHOLE"] = "は整数"; Blockly.Msg["MATH_MODULO_HELPURL"] = "https://en.wikipedia.org/wiki/Modulo_operation"; Blockly.Msg["MATH_MODULO_TITLE"] = "%1÷%2の余り"; Blockly.Msg["MATH_MODULO_TOOLTIP"] = "2つの数値の割り算の余りを返す。"; Blockly.Msg["MATH_MULTIPLICATION_SYMBOL"] = "×"; Blockly.Msg["MATH_NUMBER_HELPURL"] = "https://ja.wikipedia.org/wiki/数"; Blockly.Msg["MATH_NUMBER_TOOLTIP"] = "数です。"; Blockly.Msg["MATH_ONLIST_HELPURL"] = ""; // untranslated Blockly.Msg["MATH_ONLIST_OPERATOR_AVERAGE"] = "リストの平均"; Blockly.Msg["MATH_ONLIST_OPERATOR_MAX"] = "リストの最大値"; Blockly.Msg["MATH_ONLIST_OPERATOR_MEDIAN"] = "リストの中央値"; Blockly.Msg["MATH_ONLIST_OPERATOR_MIN"] = "リストの最小値"; Blockly.Msg["MATH_ONLIST_OPERATOR_MODE"] = "リストの最頻値"; Blockly.Msg["MATH_ONLIST_OPERATOR_RANDOM"] = "リストからランダムに選ばれた項目"; Blockly.Msg["MATH_ONLIST_OPERATOR_STD_DEV"] = "リストの標準偏差"; Blockly.Msg["MATH_ONLIST_OPERATOR_SUM"] = "リストの合計"; Blockly.Msg["MATH_ONLIST_TOOLTIP_AVERAGE"] = "リストの数値の平均 (算術平均) を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_MAX"] = "リストの最大値を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_MEDIAN"] = "リストの中央値を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_MIN"] = "リストの最小値を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_MODE"] = "リスト中の最頻項目のリストを返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_RANDOM"] = "リストからランダムに選ばれた要素を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_STD_DEV"] = "リストの標準偏差を返す。"; Blockly.Msg["MATH_ONLIST_TOOLTIP_SUM"] = "リストの数値を足して返す。"; Blockly.Msg["MATH_POWER_SYMBOL"] = "^"; Blockly.Msg["MATH_RANDOM_FLOAT_HELPURL"] = "https://en.wikipedia.org/wiki/Random_number_generation"; Blockly.Msg["MATH_RANDOM_FLOAT_TITLE_RANDOM"] = "1未満の正の乱数"; Blockly.Msg["MATH_RANDOM_FLOAT_TOOLTIP"] = "0.0以上で1.0未満の範囲の乱数を返します。"; Blockly.Msg["MATH_RANDOM_INT_HELPURL"] = "https://en.wikipedia.org/wiki/Random_number_generation"; Blockly.Msg["MATH_RANDOM_INT_TITLE"] = "%1から%2までのランダムな整数"; Blockly.Msg["MATH_RANDOM_INT_TOOLTIP"] = "指定された(上下限を含む)範囲のランダムな整数を返します。"; Blockly.Msg["MATH_ROUND_HELPURL"] = "https://ja.wikipedia.org/wiki/端数処理"; Blockly.Msg["MATH_ROUND_OPERATOR_ROUND"] = "四捨五入"; Blockly.Msg["MATH_ROUND_OPERATOR_ROUNDDOWN"] = "切り捨て"; Blockly.Msg["MATH_ROUND_OPERATOR_ROUNDUP"] = "切り上げ"; Blockly.Msg["MATH_ROUND_TOOLTIP"] = "数値を切り上げるか切り捨てる"; Blockly.Msg["MATH_SINGLE_HELPURL"] = "https://ja.wikipedia.org/wiki/平方根"; Blockly.Msg["MATH_SINGLE_OP_ABSOLUTE"] = "絶対値"; Blockly.Msg["MATH_SINGLE_OP_ROOT"] = "平方根"; Blockly.Msg["MATH_SINGLE_TOOLTIP_ABS"] = "絶対値を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_EXP"] = "ネイピア数eの数値乗を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_LN"] = "数値の自然対数を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_LOG10"] = "底が10の対数を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_NEG"] = "負の数を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_POW10"] = "10の数値乗を返す。"; Blockly.Msg["MATH_SINGLE_TOOLTIP_ROOT"] = "平方根を返す。"; Blockly.Msg["MATH_SUBTRACTION_SYMBOL"] = "-"; Blockly.Msg["MATH_TRIG_ACOS"] = "acos"; Blockly.Msg["MATH_TRIG_ASIN"] = "asin"; Blockly.Msg["MATH_TRIG_ATAN"] = "atan"; Blockly.Msg["MATH_TRIG_COS"] = "cos"; Blockly.Msg["MATH_TRIG_HELPURL"] = "https://ja.wikipedia.org/wiki/三角関数"; Blockly.Msg["MATH_TRIG_SIN"] = "sin"; Blockly.Msg["MATH_TRIG_TAN"] = "tan"; Blockly.Msg["MATH_TRIG_TOOLTIP_ACOS"] = "アークコサイン(arccosin)を返す。"; Blockly.Msg["MATH_TRIG_TOOLTIP_ASIN"] = "アークサイン(arcsin)を返す。"; Blockly.Msg["MATH_TRIG_TOOLTIP_ATAN"] = "アークタンジェント(arctan)を返す。"; Blockly.Msg["MATH_TRIG_TOOLTIP_COS"] = "(ラジアンではなく)度数の余弦(cosin)を返す。"; Blockly.Msg["MATH_TRIG_TOOLTIP_SIN"] = "(ラジアンではなく)度数の正弦(sin)を返す。"; Blockly.Msg["MATH_TRIG_TOOLTIP_TAN"] = "(ラジアンではなく)度数の正接(tan)を返す。"; Blockly.Msg["NEW_COLOUR_VARIABLE"] = "色の変数を作る..."; Blockly.Msg["NEW_NUMBER_VARIABLE"] = "数の変数を作る..."; Blockly.Msg["NEW_STRING_VARIABLE"] = "文字列の変数を作る..."; Blockly.Msg["NEW_VARIABLE"] = "変数の作成…"; Blockly.Msg["NEW_VARIABLE_TITLE"] = "新しい変数の名前:"; Blockly.Msg["NEW_VARIABLE_TYPE_TITLE"] = "新しい変数の型:"; Blockly.Msg["ORDINAL_NUMBER_SUFFIX"] = ""; // untranslated Blockly.Msg["PROCEDURES_ALLOW_STATEMENTS"] = "ステートメントを許可"; Blockly.Msg["PROCEDURES_BEFORE_PARAMS"] = "引数:"; Blockly.Msg["PROCEDURES_CALLNORETURN_HELPURL"] = "https://ja.wikipedia.org/wiki/サブルーチン"; Blockly.Msg["PROCEDURES_CALLNORETURN_TOOLTIP"] = "ユーザー定義関数 '%1' を実行します。"; Blockly.Msg["PROCEDURES_CALLRETURN_HELPURL"] = "https://ja.wikipedia.org/wiki/サブルーチン"; Blockly.Msg["PROCEDURES_CALLRETURN_TOOLTIP"] = "ユーザー定義関数 '%1' を実行し、その出力を使用します。"; Blockly.Msg["PROCEDURES_CALL_BEFORE_PARAMS"] = "引数:"; Blockly.Msg["PROCEDURES_CREATE_DO"] = "'%1' を作成"; Blockly.Msg["PROCEDURES_DEFNORETURN_COMMENT"] = "この関数の説明…"; Blockly.Msg["PROCEDURES_DEFNORETURN_DO"] = ""; Blockly.Msg["PROCEDURES_DEFNORETURN_HELPURL"] = "https://ja.wikipedia.org/wiki/サブルーチン"; Blockly.Msg["PROCEDURES_DEFNORETURN_PROCEDURE"] = "何かする"; Blockly.Msg["PROCEDURES_DEFNORETURN_TITLE"] = "関数"; Blockly.Msg["PROCEDURES_DEFNORETURN_TOOLTIP"] = "出力なしの関数を作成します。"; Blockly.Msg["PROCEDURES_DEFRETURN_HELPURL"] = "https://ja.wikipedia.org/wiki/サブルーチン"; Blockly.Msg["PROCEDURES_DEFRETURN_RETURN"] = "返す"; Blockly.Msg["PROCEDURES_DEFRETURN_TOOLTIP"] = "一つの出力を持つ関数を作成します。"; Blockly.Msg["PROCEDURES_DEF_DUPLICATE_WARNING"] = "警告: この関数には重複するパラメーターがあります。"; Blockly.Msg["PROCEDURES_HIGHLIGHT_DEF"] = "関数の内容を強調表示します。"; Blockly.Msg["PROCEDURES_IFRETURN_HELPURL"] = "http://c2.com/cgi/wiki?GuardClause"; // untranslated Blockly.Msg["PROCEDURES_IFRETURN_TOOLTIP"] = "1番目の値が true の場合、2番目の値を返します。"; Blockly.Msg["PROCEDURES_IFRETURN_WARNING"] = "警告: このブロックは、関数定義内でのみ使用できます。"; Blockly.Msg["PROCEDURES_MUTATORARG_TITLE"] = "入力名:"; Blockly.Msg["PROCEDURES_MUTATORARG_TOOLTIP"] = "関数への入力の追加。"; Blockly.Msg["PROCEDURES_MUTATORCONTAINER_TITLE"] = "入力"; Blockly.Msg["PROCEDURES_MUTATORCONTAINER_TOOLTIP"] = "この関数への入力の追加、削除、順番変更。"; Blockly.Msg["REDO"] = "やり直す"; Blockly.Msg["REMOVE_COMMENT"] = "コメントを削除"; Blockly.Msg["RENAME_VARIABLE"] = "変数の名前を変える…"; Blockly.Msg["RENAME_VARIABLE_TITLE"] = "選択した%1の変数すべての名前を変える:"; Blockly.Msg["TEXT_APPEND_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated Blockly.Msg["TEXT_APPEND_TITLE"] = "項目 %1 へテキストを追加 %2"; Blockly.Msg["TEXT_APPEND_TOOLTIP"] = "変数 '%1' にテキストを追加。"; Blockly.Msg["TEXT_CHANGECASE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; // untranslated Blockly.Msg["TEXT_CHANGECASE_OPERATOR_LOWERCASE"] = "小文字に"; Blockly.Msg["TEXT_CHANGECASE_OPERATOR_TITLECASE"] = "タイトル ケースに"; Blockly.Msg["TEXT_CHANGECASE_OPERATOR_UPPERCASE"] = "大文字に"; Blockly.Msg["TEXT_CHANGECASE_TOOLTIP"] = "別のケースに、テキストのコピーを返します。"; Blockly.Msg["TEXT_CHARAT_FIRST"] = "最初の文字を得る"; Blockly.Msg["TEXT_CHARAT_FROM_END"] = "の、後ろから以下の数字番目の文字:"; Blockly.Msg["TEXT_CHARAT_FROM_START"] = "の、以下の数字番目の文字:"; Blockly.Msg["TEXT_CHARAT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#extracting-text"; // untranslated Blockly.Msg["TEXT_CHARAT_LAST"] = "最後の文字を得る"; Blockly.Msg["TEXT_CHARAT_RANDOM"] = "ランダムな文字を得る"; Blockly.Msg["TEXT_CHARAT_TAIL"] = ""; Blockly.Msg["TEXT_CHARAT_TITLE"] = "テキスト %1 %2"; Blockly.Msg["TEXT_CHARAT_TOOLTIP"] = "指定された位置に文字を返します。"; Blockly.Msg["TEXT_COUNT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#counting-substrings"; Blockly.Msg["TEXT_COUNT_MESSAGE0"] = "%2に含まれる%1の数を数える"; Blockly.Msg["TEXT_COUNT_TOOLTIP"] = "とある文が別の文のなかに使われた回数を数える。"; Blockly.Msg["TEXT_CREATE_JOIN_ITEM_TOOLTIP"] = "テキストへ項目を追加。"; Blockly.Msg["TEXT_CREATE_JOIN_TITLE_JOIN"] = "結合"; Blockly.Msg["TEXT_CREATE_JOIN_TOOLTIP"] = "セクションを追加、削除、または順序変更して、ブロックを再構成。"; Blockly.Msg["TEXT_GET_SUBSTRING_END_FROM_END"] = "終了位置:後ろから"; Blockly.Msg["TEXT_GET_SUBSTRING_END_FROM_START"] = "終了位置:"; Blockly.Msg["TEXT_GET_SUBSTRING_END_LAST"] = "最後のの文字"; Blockly.Msg["TEXT_GET_SUBSTRING_HELPURL"] = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text"; // untranslated Blockly.Msg["TEXT_GET_SUBSTRING_INPUT_IN_TEXT"] = "テキスト"; Blockly.Msg["TEXT_GET_SUBSTRING_START_FIRST"] = "の部分文字列を取得;最初から"; Blockly.Msg["TEXT_GET_SUBSTRING_START_FROM_END"] = "の部分文字列を取得;開始位置:後ろから"; Blockly.Msg["TEXT_GET_SUBSTRING_START_FROM_START"] = "の部分文字列を取得;開始位置:"; Blockly.Msg["TEXT_GET_SUBSTRING_TAIL"] = ""; Blockly.Msg["TEXT_GET_SUBSTRING_TOOLTIP"] = "テキストの指定部分を返します。"; Blockly.Msg["TEXT_INDEXOF_HELPURL"] = "https://github.com/google/blockly/wiki/Text#finding-text"; // untranslated Blockly.Msg["TEXT_INDEXOF_OPERATOR_FIRST"] = "で以下のテキストの最初の出現箇所を検索:"; Blockly.Msg["TEXT_INDEXOF_OPERATOR_LAST"] = "で以下のテキストの最後の出現箇所を検索:"; Blockly.Msg["TEXT_INDEXOF_TITLE"] = "テキスト %1 %2 %3"; Blockly.Msg["TEXT_INDEXOF_TOOLTIP"] = "二番目のテキストの中で一番目のテキストが最初/最後に出現したインデックスを返す。テキストが見つからない場合は%1を返す。"; Blockly.Msg["TEXT_ISEMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; // untranslated Blockly.Msg["TEXT_ISEMPTY_TITLE"] = "%1が空"; Blockly.Msg["TEXT_ISEMPTY_TOOLTIP"] = "与えられたテキストが空の場合は true を返す。"; Blockly.Msg["TEXT_JOIN_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-creation"; // untranslated Blockly.Msg["TEXT_JOIN_TITLE_CREATEWITH"] = "テキストの作成:"; Blockly.Msg["TEXT_JOIN_TOOLTIP"] = "任意の数の項目一部を一緒に接合してテキストを作成。"; Blockly.Msg["TEXT_LENGTH_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated Blockly.Msg["TEXT_LENGTH_TITLE"] = "%1の長さ"; Blockly.Msg["TEXT_LENGTH_TOOLTIP"] = "与えられたテキストの(スペースを含む)文字数を返す。"; Blockly.Msg["TEXT_PRINT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#printing-text"; // untranslated Blockly.Msg["TEXT_PRINT_TITLE"] = "%1 を表示"; Blockly.Msg["TEXT_PRINT_TOOLTIP"] = "指定したテキスト、番号または他の値を印刷します。"; Blockly.Msg["TEXT_PROMPT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; // untranslated Blockly.Msg["TEXT_PROMPT_TOOLTIP_NUMBER"] = "ユーザーに数値のインプットを求める。"; Blockly.Msg["TEXT_PROMPT_TOOLTIP_TEXT"] = "ユーザーにテキスト入力を求める。"; Blockly.Msg["TEXT_PROMPT_TYPE_NUMBER"] = "メッセージで番号の入力を求める"; Blockly.Msg["TEXT_PROMPT_TYPE_TEXT"] = "メッセージでテキスト入力を求める"; Blockly.Msg["TEXT_REPLACE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#replacing-substrings"; Blockly.Msg["TEXT_REPLACE_MESSAGE0"] = "%3に含まれる%1を%2に置換"; Blockly.Msg["TEXT_REPLACE_TOOLTIP"] = "文に含まれるキーワードを置換する。"; Blockly.Msg["TEXT_REVERSE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#reversing-text"; Blockly.Msg["TEXT_REVERSE_MESSAGE0"] = "%1を逆順に"; Blockly.Msg["TEXT_REVERSE_TOOLTIP"] = "文の文字を逆順にする。"; Blockly.Msg["TEXT_TEXT_HELPURL"] = "https://ja.wikipedia.org/wiki/文字列"; Blockly.Msg["TEXT_TEXT_TOOLTIP"] = "文字、単語、または行のテキスト。"; Blockly.Msg["TEXT_TRIM_HELPURL"] = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; // untranslated Blockly.Msg["TEXT_TRIM_OPERATOR_BOTH"] = "両端のスペースを取り除く"; Blockly.Msg["TEXT_TRIM_OPERATOR_LEFT"] = "左端のスペースを取り除く"; Blockly.Msg["TEXT_TRIM_OPERATOR_RIGHT"] = "右端のスペースを取り除く"; Blockly.Msg["TEXT_TRIM_TOOLTIP"] = "スペースを 1 つまたは両方の端から削除したのち、テキストのコピーを返します。"; Blockly.Msg["TODAY"] = "今日"; Blockly.Msg["UNDO"] = "取り消す"; Blockly.Msg["VARIABLES_DEFAULT_NAME"] = "項目"; Blockly.Msg["VARIABLES_GET_CREATE_SET"] = "'セット%1を作成します。"; Blockly.Msg["VARIABLES_GET_HELPURL"] = "https://github.com/google/blockly/wiki/Variables#get"; // untranslated Blockly.Msg["VARIABLES_GET_TOOLTIP"] = "この変数の値を返します。"; Blockly.Msg["VARIABLES_SET"] = "%1 に %2 をセット"; Blockly.Msg["VARIABLES_SET_CREATE_GET"] = "'%1 を取得' を作成します。"; Blockly.Msg["VARIABLES_SET_HELPURL"] = "https://github.com/google/blockly/wiki/Variables#set"; // untranslated Blockly.Msg["VARIABLES_SET_TOOLTIP"] = "この入力を変数と等しくなるように設定します。"; Blockly.Msg["VARIABLE_ALREADY_EXISTS"] = "変数名 '%1' は既に存在しています。"; Blockly.Msg["VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE"] = "'%2' 型の '%1' という名前の変数が既に存在します。"; Blockly.Msg["WORKSPACE_COMMENT_DEFAULT_TEXT"] = "ここへ入力"; Blockly.Msg["PROCEDURES_DEFRETURN_TITLE"] = Blockly.Msg["PROCEDURES_DEFNORETURN_TITLE"]; Blockly.Msg["CONTROLS_IF_IF_TITLE_IF"] = Blockly.Msg["CONTROLS_IF_MSG_IF"]; Blockly.Msg["CONTROLS_WHILEUNTIL_INPUT_DO"] = Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"]; Blockly.Msg["CONTROLS_IF_MSG_THEN"] = Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"]; Blockly.Msg["CONTROLS_IF_ELSE_TITLE_ELSE"] = Blockly.Msg["CONTROLS_IF_MSG_ELSE"]; Blockly.Msg["PROCEDURES_DEFRETURN_PROCEDURE"] = Blockly.Msg["PROCEDURES_DEFNORETURN_PROCEDURE"]; Blockly.Msg["LISTS_GET_SUBLIST_INPUT_IN_LIST"] = Blockly.Msg["LISTS_INLIST"]; Blockly.Msg["LISTS_GET_INDEX_INPUT_IN_LIST"] = Blockly.Msg["LISTS_INLIST"]; Blockly.Msg["MATH_CHANGE_TITLE_ITEM"] = Blockly.Msg["VARIABLES_DEFAULT_NAME"]; Blockly.Msg["PROCEDURES_DEFRETURN_DO"] = Blockly.Msg["PROCEDURES_DEFNORETURN_DO"]; Blockly.Msg["CONTROLS_IF_ELSEIF_TITLE_ELSEIF"] = Blockly.Msg["CONTROLS_IF_MSG_ELSEIF"]; Blockly.Msg["LISTS_GET_INDEX_HELPURL"] = Blockly.Msg["LISTS_INDEX_OF_HELPURL"]; Blockly.Msg["CONTROLS_FOREACH_INPUT_DO"] = Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"]; Blockly.Msg["LISTS_SET_INDEX_INPUT_IN_LIST"] = Blockly.Msg["LISTS_INLIST"]; Blockly.Msg["CONTROLS_FOR_INPUT_DO"] = Blockly.Msg["CONTROLS_REPEAT_INPUT_DO"]; Blockly.Msg["LISTS_CREATE_WITH_ITEM_TITLE"] = Blockly.Msg["VARIABLES_DEFAULT_NAME"]; Blockly.Msg["TEXT_APPEND_VARIABLE"] = Blockly.Msg["VARIABLES_DEFAULT_NAME"]; Blockly.Msg["TEXT_CREATE_JOIN_ITEM_TITLE_ITEM"] = Blockly.Msg["VARIABLES_DEFAULT_NAME"]; Blockly.Msg["LISTS_INDEX_OF_INPUT_IN_LIST"] = Blockly.Msg["LISTS_INLIST"]; Blockly.Msg["PROCEDURES_DEFRETURN_COMMENT"] = Blockly.Msg["PROCEDURES_DEFNORETURN_COMMENT"]; Blockly.Msg["MATH_HUE"] = "230"; Blockly.Msg["LOOPS_HUE"] = "120"; Blockly.Msg["LISTS_HUE"] = "260"; Blockly.Msg["LOGIC_HUE"] = "210"; Blockly.Msg["VARIABLES_HUE"] = "330"; Blockly.Msg["TEXTS_HUE"] = "160"; Blockly.Msg["PROCEDURES_HUE"] = "290"; Blockly.Msg["COLOUR_HUE"] = "20"; Blockly.Msg["VARIABLES_DYNAMIC_HUE"] = "310";return Blockly.Msg;}
// grunt-protoc // ========== // * GitHub: https://github.com/chobie/grunt-protoc // * Copyright (c) 2014 Shuhei Tanuma // * Licensed under the MIT license. module.exports = function (grunt) { var proc = require('child_process') , _ = grunt.util._ , f = require('util').format , log = grunt.log , verbose = grunt.verbose; grunt.registerMultiTask('protoc', 'generate protoc mesages.', function () { var data = this.data , execOptions = {} , callback = function() {} , childProcess , exitCodes = 0 , done = this.async() , proto = data.proto , command = "protoc" , target = this.target , plugin = data.plugin , output = data.output , includes = data.includes ; proto = _.isArray(proto) ? proto : [proto]; proto = proto.join(" "); command = command + " --" + target + "_out=" + output; if (!_.isUndefined(plugin)) { command = command + " --plugin=" + plugin; } command = command + " " + proto verbose.ok(command); exitCodes = _.isArray(exitCodes) ? exitCodes : [exitCodes]; childProcess = proc.exec(command, execOptions, callback); childProcess.stdout.on('data', function (d) { log.write(d); }); childProcess.stderr.on('data', function (d) { log.error(d); }); childProcess.on('exit', function(code) { if (exitCodes.indexOf(code) < 0) { log.error(f('Exited with code: %d.', code)); return done(false); } verbose.ok(f('Exited with code: %d.', code)); done(); }); }); };
// Require modules const express = require('express') const router = express.Router() const db = require(__dirname + '/../modules/db') const helper = require(__dirname + '/../modules/helpers') // Route for create new post router.route('/newpost') .get( (req, res) => { // Check if user is logged in if ( signedIn(req.session.user, res)) { res.render('newpost', {user: req.session.user}) } }) .post( (req, res) => { let post = req.body.post // Check if required fields are filled in if (post.title.length === 0 || post.text.length === 0) { res.render('newpost', {user: req.session.user, error: 'Please enter both a title and a body'}) return } // Store post in database db.Post.create({ title: post.title, text: post.text, userId: req.session.user.id }).then( post => { // Redirect to homepage res.redirect('/') }).catch( error => { // Let user know if something went wrong on the backend/database res.render('newpost', {user: req.session.user, error: 'Something went wrong. Please try again.'}) }) }) // Route for all posts for specific user router.get('/posts', (req, res) => { // Check if user is logged in if ( signedIn(req.session.user, res)) { // Retrieve all this users posts from database db.Post.findAll({ where: {userId: req.session.user.id}, include: [db.User], order: [['createdAt', 'DESC']] // Latest on top }).then( posts => { // Alter timestamp to preferred format helper.alterAllDates(posts) res.render('posts', {posts: posts, user: req.session.user}) }) } }) // Route for page of a specific post router.get('/post', (req, res) => { Promise.all([ // Find the in url specified post db.Post.findAll({ where: {id: req.query.id}, include: [db.User], limit: 1 }), // Find all comments for this post db.Comment.findAll({ where: {postId: req.query.id}, include: [db.User], order: [['createdAt', 'DESC']] }) ]).then(allPromises => { // Store the post id in session to redirect to correct post later req.session.postid = req.query.id // Alter timestamp to preferred format helper.alterAllDates(allPromises[0]) helper.alterAllDates(allPromises[1]) res.render('post', {post:allPromises[0][0], comments:allPromises[1], user: req.session.user}) }) }) // Route for added comments router.post('/addcomment', (req, res) => { // Check if required fields are filled in if (req.body.comment.length === 0) { res.redirect('/post/?id='+req.session.postid) return } // Add comment to database db.Comment.create({ text: req.body.comment, postId: req.session.postid, userId: req.session.user.id }).then( () => { res.redirect('/post/?id='+req.session.postid) }) }) // Function to check if user is signed in function signedIn(user, res) { if (user) { return true } else { // If not signed in, redirect to sign in page res.redirect('/signin') } } module.exports = router
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _createIcon = require('./util/createIcon'); var _createIcon2 = _interopRequireDefault(_createIcon); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = (0, _createIcon2.default)(_react2.default.createElement( 'g', null, _react2.default.createElement('path', { d: 'M22,3H7C6.31,3 5.77,3.35 5.41,3.88L0,12L5.41,20.11C5.77,20.64 6.31,21 7,21H22C23.1,21 24,20.1 24,19V5C24,3.9 23.1,3 22,3M19,15.59L17.59,17L14,13.41L10.41,17L9,15.59L12.59,12L9,8.41L10.41,7L14,10.59L17.59,7L19,8.41L15.41,12' }) ));
const jwt = require("jsonwebtoken"); const issue = ({ payload, expiresIn }) => { const token = jwt.sign(payload, process.env.JWT_SECRET, { expiresIn: expiresIn, }); return token; }; module.exports = { issue, };
/* eslint-disable */ /* tslint:disable */ import PropTypes from 'prop-types'; import React from 'react'; const Recurring = ({size, ...props}) => ( <svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}> <path d="M16.1935 2C16.6211 2 16.9677 2.34662 16.9677 2.77419V5.87097C16.9677 6.29854 16.6211 6.64516 16.1935 6.64516H13.0968C12.6692 6.64516 12.3226 6.29854 12.3226 5.87097C12.3226 5.44339 12.6692 5.09677 13.0968 5.09677H14.1931C13.3335 4.36173 12.2903 3.86108 11.1651 3.65448C9.67105 3.38016 8.12812 3.64181 6.80804 4.39335C5.48795 5.1449 4.47539 6.33813 3.94866 7.76291C3.42194 9.1877 3.41484 10.7526 3.92862 12.1821C4.4424 13.6116 5.4441 14.814 6.75732 15.5775C8.07053 16.341 9.61103 16.6166 11.1075 16.3559C12.604 16.0951 13.9605 15.3147 14.938 14.152C15.9156 12.9894 16.4516 11.519 16.4516 10C16.4516 9.57244 16.7982 9.22582 17.2258 9.22582C17.6534 9.22582 18 9.57244 18 10C18 11.8836 17.3354 13.7068 16.1232 15.1485C14.911 16.5902 13.2289 17.5579 11.3733 17.8813C9.51767 18.2046 7.60746 17.8628 5.97907 16.9161C4.35069 15.9694 3.10858 14.4784 2.47149 12.7059C1.8344 10.9333 1.8432 8.99274 2.49634 7.22601C3.14948 5.45928 4.40506 3.97967 6.04197 3.04775C7.67887 2.11584 9.59211 1.79139 11.4447 2.13155C12.9375 2.40563 14.3137 3.09704 15.4194 4.11522V2.77419C15.4194 2.34662 15.766 2 16.1935 2ZM10.7742 7.93548C10.7742 7.50791 10.4276 7.16129 10 7.16129C9.57242 7.16129 9.22581 7.50791 9.22581 7.93548V10.5161C9.22581 10.7215 9.30737 10.9184 9.45256 11.0636L11.5171 13.1281C11.8194 13.4304 12.3096 13.4304 12.612 13.1281C12.9143 12.8257 12.9143 12.3355 12.612 12.0332L10.7742 10.1954V7.93548Z" fill="currentColor" fillRule="evenodd" clipRule="evenodd" /> </svg> ); Recurring.displayName = 'Recurring'; Recurring.propTypes = { size: PropTypes.string } export default Recurring; /* tslint:enable */ /* eslint-enable */
// Gruntfile.js // our wrapper function (required by grunt and its plugins) // all configuration goes inside this function module.exports = function(grunt) { // =========================================================================== // CONFIGURE GRUNT =========================================================== // =========================================================================== grunt.initConfig({ // get the configuration info from package.json ---------------------------- // this way we can use things like name and version (pkg.name) pkg: grunt.file.readJSON('package.json'), // ========= // CREATE TASKS ========= // this default task will go through all configuration (dev and production) in each task jshint: { options: { reporter: require('jshint-stylish') // use jshint-stylish to make our errors look and read good }, // when this task is run, lint the Gruntfile and all js files in src build: ['Grunfile.js', 'src/**/*.js'] }, uglify: { options: { banner: '/*\n <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> \n*/\n' }, build: { files: { 'dist/js/all.min.js': ['src/js/Assignment7.js', 'src/js/CRUD.js' , 'src/js/parse.js'] } } } }); // =========================================================================== // LOAD GRUNT PLUGINS ======================================================== // =========================================================================== // we can only load these if they are in our package.json // make sure you have run npm install so our app can find these grunt.registerTask('default', ['uglify','jshint']); grunt.registerTask('cibuild', ['uglify','jshint',]); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-uglify'); }
const URL = require("./url.js"); const io = require("io-promise"); const path = require("path"); const config = require ('../config.js'); let References = {}; const refsets = { normative: [], informative: [] }; // load the white list let WHITELIST = []; io.read(path.resolve(config.basedir, "url-whitelist.txt")).then(data => { data.split('\n').forEach(line => { if (!(line.charAt(0) === '#')) { line = line.trim(); if (line !== "") { WHITELIST.push(new RegExp(line)); } } }) }).catch(err => { console.error(err); console.log("Couldn't load the URL whitelist"); }) function isWhitelisted(url) { return WHITELIST.reduce((r, e) => r || e.test(url), false); } function getNormativeReferencesSection(document) { let anchors = document.querySelectorAll("h3#normative-references + dl a[href], h3#normative + dl a[href]"); if (anchors.length === 0) { anchors = document.querySelectorAll("#normative-references a[href]"); } return anchors; } function getInformativeReferencesSection(document) { let anchors = document.querySelectorAll("h3#informative-references + dl a[href], h3#informative + dl a[href]"); if (anchors.length === 0) { anchors = document.querySelectorAll("#informative-references a[href]"); } return anchors; } // find the normative and informative references section and return what's found there. // we assume those don't contain url fragments References.init = function (document) { let normativeRefSection = getNormativeReferencesSection(document); let informativeRefSection = getInformativeReferencesSection(document); let map = { has_norm_refs: false, has_inform_refs: false }; normativeRefSection.forEach(anchor => { map.has_norm_refs = true; anchor.classList.add("isANormativeReference"); refsets.normative.push(URL.hostPath(anchor.href)); }); informativeRefSection.forEach(anchor => { map.has_inform_refs = true; anchor.classList.add("isAInformativeReference"); refsets.informative.push(URL.hostPath(anchor.href)); }); return (normativeRefSection.length !== 0); } // based on the normative reference section References.isNormativeReference = function(anchor) { let href = URL.hostPath(anchor.href); let references = refsets.normative; for (let index = 0; index < references.length; index++) { const nhref = references[index]; if (href.startsWith(nhref)) { return true; } } return false; } References.isInNormativeReferenceSection = function(anchor) { return anchor.classList.contains("isANormativeReference"); } // is the anchor informative? References.isInformative = function(anchor) { // note that we don't use the same logic as isNormativeReference // unless the reference is explicitly informative, it's normative return (anchor.classList.contains("isAInformativeReference")); }; // is the anchor in informative section? References.isInInformative = function(anchor) { if (isWhitelisted(anchor.href)) return true; // inspect the parent to see if we're an informative section let parent = anchor.parentElement; while (parent !== null) { let className = parent.className; if (/informative|note|issue|example/.test(parent.className)) { // unfortunately, bikeshed doesn't use class=informative for sections, // so we miss a lot of informative sections :( return true; } if (parent.localName === "div" && /head/.test(parent.className)) { return true; // avoid the <div class="head"> per pubrules } if (/abstract|sotd|references/.test(parent.id)) { // this is for respec return true; } if (parent.getAttribute("data-fill-with")) { // this is for bikeshed return true; } parent = parent.parentElement; } return false; }; module.exports = References;
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; Object.defineProperty(exports, "__esModule", { value: true }); var decorators_1 = require("./decorators"); var util_1 = require("../utils/util"); var courseAnalyzer_1 = require("../utils/courseAnalyzer"); var crowller_1 = require("../utils/crowller"); var CrowllerController = /** @class */ (function () { function CrowllerController() { } CrowllerController.prototype.logout = function (req, res) { var fileName = 'course'; var url = 'http://www.dell-lee.com/'; var analyzer = courseAnalyzer_1.CourseAnalyzer.getInstance(); new crowller_1.Crowller(url, fileName, analyzer); console.log('Pulled new data from website'); res.json(util_1.getResponseData(null)); }; __decorate([ decorators_1.get('/crowllerCourse'), decorators_1.use(util_1.checkLogin), __metadata("design:type", Function), __metadata("design:paramtypes", [Object, Object]), __metadata("design:returntype", void 0) ], CrowllerController.prototype, "logout", null); CrowllerController = __decorate([ decorators_1.controller ], CrowllerController); return CrowllerController; }());
const { assert } = require('chai') const _Promise = require('../promise.js').default describe('Promise.race', () => { it('Throw TypeError when not passing paramter', (done) => { _Promise.race().catch((e) => { assert.instanceOf(e, TypeError) done() }) }) it('Always pending when passing empty iterator', (done) => { const p = _Promise.race([]) assert(p._status === 'pending') setTimeout(() => { assert(p._status === 'pending') done() }, 0) }) it('Resolve asynchronously', (done) => { const p = _Promise.race([1, _Promise.resolve(2), 3]) assert(p._status === 'pending') setTimeout(() => { assert(p._status === 'fulfilled') p.then((value) => { assert(value === 1) done() }) }, 0) }) it('Reject asynchronously', (done) => { const p = _Promise.race([_Promise.reject(1), _Promise.resolve(2)]) assert(p._status === 'pending') setTimeout(() => { assert(p._status === 'rejected') p.catch((reason) => { assert(reason === 1) done() }) }, 0) }) it('Resolve once one of the passed promises resolves', (done) => { const p1 = new _Promise((resolve) => { setTimeout(() => { resolve('p1') }, 30) }) const p2 = new _Promise((resolve) => { setTimeout(() => { resolve('p2') }, 20) }) const p3 = new _Promise((resolve) => { setTimeout(() => { resolve('p3') }, 10) }) _Promise.race([p1, p2, p3]).then((value) => { assert(value === 'p3') done() }) }) it('Reject once one of the passed promises rejects', (done) => { const p1 = new _Promise((resolve) => { setTimeout(() => { resolve('p1') }, 30) }) const p2 = new _Promise((resolve) => { setTimeout(() => { resolve('p2') }, 20) }) const p3 = new _Promise((resolve, reject) => { setTimeout(() => { reject('p3') }, 10) }) _Promise.race([p1, p2, p3]).catch((reason) => { assert(reason === 'p3') done() }) }) })
const mongoose = require('mongoose'); const friendSchema = new mongoose.Schema({ firstName: String, lastName: String, gender: String, language: String, email: String, age: Number, contacts: [{firstName: String, lastName: String}] }); export default mongoose.model('Friend', friendSchema);
import React, { PropTypes } from 'react'; import { Link, IndexLink, browserHistory } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as navbarActions from '../../actions/navbarActions'; import MenuItem from 'material-ui/MenuItem'; import Drawer from 'material-ui/Drawer'; import { ListItem } from 'material-ui/List'; import { Nav, NavItem, NavDropdown } from 'react-bootstrap'; import logoImg from '../../images/mobileLogo.png'; class Header extends React.Component { constructor(props, context) { super(props, context); this.state = { open: false }; this.redirectToNavbarItemPage = this.redirectToNavbarItemPage.bind(this); this.handleToggle = this.handleToggle.bind(this); this.handleClose = this.handleClose.bind(this); this.preventRedirect = this.preventRedirect.bind(this); } handleToggle() { this.setState({ open: !this.state.open }); } handleClose() { this.setState({ open: false }); } navbarItem(item, index) { return (<div key={index}>{item.name}</div>); } redirectToNavbarItemPage(item) { browserHistory.push(`/${item.route}`); } preventRedirect(e) { e.preventDefault(); } render() { const styles = { fontWeight: 300 } const { navbar_items } = this.props; let that = this; let drawerItems = function (item) { if (!item.subMenu || item.subMenu.length == 0) return ( <Link key={item.route} to={'/' + item.route} > <MenuItem onTouchTap={that.handleToggle} key={item.route}>{item.name}</MenuItem> </Link> ); return ( <ListItem primaryText={item.name} initiallyOpen={false} style={styles} primaryTogglesNestedList nestedItems={[ item.subMenu.map(subMenu => drawerItems(subMenu)) ]} /> ); }; let navItems = function (item) { if (!item.subMenu || item.subMenu.length == 0) return ( <NavItem eventKey={item.id} onTouchTap={() => that.redirectToNavbarItemPage(item)} className="dark-color nav-links hidden-xs hidden-sm">{item.name}</NavItem> ); return ( <NavDropdown eventKey={item.id} pullRight={true} className="nav-links hidden-xs hidden-sm" title={item.name} id={item.id}> {item.subMenu.map(subMenu => navItems(subMenu))} </NavDropdown> ); }; return ( <header> <div className="mdl-layout__header-row nav-element-left anchor dark-bg-color color-blur navbar-fixed-top mdl-shadow--4dp"> <a className="navbar-brand mdl-layout-title mdl-layout__header-row drawer-header nav-menu-left" onTouchTap={this.handleToggle}><img className="m-0 p-b-5 brand img-responsive" src={logoImg}></img></a> <div className="mdl-layout-spacer nav-vertical-divider"> <div className="mdl-layout__header-row drawer-header anchor p-l-0"> <IndexLink to="/" className="mdl-layout-title nav-links p-r-1-em"> <h2 className="brand-text m-0 p-l-03-em">Yoga Marie Mills</h2> </IndexLink> </div> </div> <Nav bsStyle="" className="inline-nav" activeKey="1" onSelect={this.handleClose}> {navbar_items.filter(item => item.subMenu).map(item => navItems(item) )} </Nav> </div> <Drawer docked={false} open={this.state.open} onRequestChange={this.handleToggle}> <header> <div className="mdl-layout__header-row drawer-header color-blur anchor"> <IndexLink to="/"> <span onTouchTap={this.handleToggle}> <h4 className="m-0 p-t-05-em p-b-05-em p-l-03-em"> Yoga with Marie Mills </h4> </span> </IndexLink> </div> </header> <main className="inline-nav"> {navbar_items.map(item => drawerItems(item) )} </main> </Drawer> </header> ); } } Header.propTypes = { navbar_items: PropTypes.array.isRequired }; function mapStateToProps(state) { return { navbar_items: state.navbar_items }; } function mapDispatchToProps(dispatch) { return { actions: bindActionCreators(navbarActions, dispatch) }; } export default connect(mapStateToProps, mapDispatchToProps)(Header);
// key: blockHeight, value: native token transfers const transfersMap = {}; function addTransfer(height, transfer) { if (!transfersMap[height]) { transfersMap[height] = [transfer]; } else { transfersMap[height].push(transfer); } } function addTransfers(height, transfers = []) { if (!transfersMap[height]) { transfersMap[height] = transfers; } else { transfersMap[height].push(...transfers); } } function getBlockTransfers(height) { return transfersMap[height] || []; } function clearTransfers(height) { delete transfersMap[height]; } module.exports = { addNativeTransfer: addTransfer, addNativeTransfers: addTransfers, getBlockNativeTransfers: getBlockTransfers, clearNativeTransfers: clearTransfers, };
/*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.6 */ goog.provide('ngmaterial.components.gridList'); goog.require('ngmaterial.core'); /** * @ngdoc module * @name material.components.gridList */ GridListController['$inject'] = ["$mdUtil"]; GridLayoutFactory['$inject'] = ["$mdUtil"]; GridListDirective['$inject'] = ["$interpolate", "$mdConstant", "$mdGridLayout", "$mdMedia"]; GridTileDirective['$inject'] = ["$mdMedia"]; angular.module('material.components.gridList', ['material.core']) .directive('mdGridList', GridListDirective) .directive('mdGridTile', GridTileDirective) .directive('mdGridTileFooter', GridTileCaptionDirective) .directive('mdGridTileHeader', GridTileCaptionDirective) .factory('$mdGridLayout', GridLayoutFactory); /** * @ngdoc directive * @name mdGridList * @module material.components.gridList * @restrict E * @description * Grid lists are an alternative to standard list views. Grid lists are distinct * from grids used for layouts and other visual presentations. * * A grid list is best suited to presenting a homogenous data type, typically * images, and is optimized for visual comprehension and differentiating between * like data types. * * A grid list is a continuous element consisting of tessellated, regular * subdivisions called cells that contain tiles (`md-grid-tile`). * * <img src="//material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0Bx4BSt6jniD7OVlEaXZ5YmU1Xzg/components_grids_usage2.png" * style="width: 300px; height: auto; margin-right: 16px;" alt="Concept of grid explained visually"> * <img src="//material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0Bx4BSt6jniD7VGhsOE5idWlJWXM/components_grids_usage3.png" * style="width: 300px; height: auto;" alt="Grid concepts legend"> * * Cells are arrayed vertically and horizontally within the grid. * * Tiles hold content and can span one or more cells vertically or horizontally. * * ### Responsive Attributes * * The `md-grid-list` directive supports "responsive" attributes, which allow * different `md-cols`, `md-gutter` and `md-row-height` values depending on the * currently matching media query. * * In order to set a responsive attribute, first define the fallback value with * the standard attribute name, then add additional attributes with the * following convention: `{base-attribute-name}-{media-query-name}="{value}"` * (ie. `md-cols-lg="8"`) * * @param {number} md-cols Number of columns in the grid. * @param {string} md-row-height One of * <ul> * <li>CSS length - Fixed height rows (eg. `8px` or `1rem`)</li> * <li>`{width}:{height}` - Ratio of width to height (eg. * `md-row-height="16:9"`)</li> * <li>`"fit"` - Height will be determined by subdividing the available * height by the number of rows</li> * </ul> * @param {string=} md-gutter The amount of space between tiles in CSS units * (default 1px) * @param {expression=} md-on-layout Expression to evaluate after layout. Event * object is available as `$event`, and contains performance information. * * @usage * Basic: * <hljs lang="html"> * <md-grid-list md-cols="5" md-gutter="1em" md-row-height="4:3"> * <md-grid-tile></md-grid-tile> * </md-grid-list> * </hljs> * * Fixed-height rows: * <hljs lang="html"> * <md-grid-list md-cols="4" md-row-height="200px" ...> * <md-grid-tile></md-grid-tile> * </md-grid-list> * </hljs> * * Fit rows: * <hljs lang="html"> * <md-grid-list md-cols="4" md-row-height="fit" style="height: 400px;" ...> * <md-grid-tile></md-grid-tile> * </md-grid-list> * </hljs> * * Using responsive attributes: * <hljs lang="html"> * <md-grid-list * md-cols-sm="2" * md-cols-md="4" * md-cols-lg="8" * md-cols-gt-lg="12" * ...> * <md-grid-tile></md-grid-tile> * </md-grid-list> * </hljs> */ function GridListDirective($interpolate, $mdConstant, $mdGridLayout, $mdMedia) { return { restrict: 'E', controller: GridListController, scope: { mdOnLayout: '&' }, link: postLink }; function postLink(scope, element, attrs, ctrl) { element.addClass('_md'); // private md component indicator for styling // Apply semantics element.attr('role', 'list'); // Provide the controller with a way to trigger layouts. ctrl.layoutDelegate = layoutDelegate; var invalidateLayout = angular.bind(ctrl, ctrl.invalidateLayout), unwatchAttrs = watchMedia(); scope.$on('$destroy', unwatchMedia); /** * Watches for changes in media, invalidating layout as necessary. */ function watchMedia() { for (var mediaName in $mdConstant.MEDIA) { $mdMedia(mediaName); // initialize $mdMedia.getQuery($mdConstant.MEDIA[mediaName]) .addListener(invalidateLayout); } return $mdMedia.watchResponsiveAttributes( ['md-cols', 'md-row-height', 'md-gutter'], attrs, layoutIfMediaMatch); } function unwatchMedia() { ctrl.layoutDelegate = angular.noop; unwatchAttrs(); for (var mediaName in $mdConstant.MEDIA) { $mdMedia.getQuery($mdConstant.MEDIA[mediaName]) .removeListener(invalidateLayout); } } /** * Performs grid layout if the provided mediaName matches the currently * active media type. */ function layoutIfMediaMatch(mediaName) { if (mediaName == null) { // TODO(shyndman): It would be nice to only layout if we have // instances of attributes using this media type ctrl.invalidateLayout(); } else if ($mdMedia(mediaName)) { ctrl.invalidateLayout(); } } var lastLayoutProps; /** * Invokes the layout engine, and uses its results to lay out our * tile elements. * * @param {boolean} tilesInvalidated Whether tiles have been * added/removed/moved since the last layout. This is to avoid situations * where tiles are replaced with properties identical to their removed * counterparts. */ function layoutDelegate(tilesInvalidated) { var tiles = getTileElements(); var props = { tileSpans: getTileSpans(tiles), colCount: getColumnCount(), rowMode: getRowMode(), rowHeight: getRowHeight(), gutter: getGutter() }; if (!tilesInvalidated && angular.equals(props, lastLayoutProps)) { return; } var performance = $mdGridLayout(props.colCount, props.tileSpans, tiles) .map(function(tilePositions, rowCount) { return { grid: { element: element, style: getGridStyle(props.colCount, rowCount, props.gutter, props.rowMode, props.rowHeight) }, tiles: tilePositions.map(function(ps, i) { return { element: angular.element(tiles[i]), style: getTileStyle(ps.position, ps.spans, props.colCount, rowCount, props.gutter, props.rowMode, props.rowHeight) } }) } }) .reflow() .performance(); // Report layout scope.mdOnLayout({ $event: { performance: performance } }); lastLayoutProps = props; } // Use $interpolate to do some simple string interpolation as a convenience. var startSymbol = $interpolate.startSymbol(); var endSymbol = $interpolate.endSymbol(); // Returns an expression wrapped in the interpolator's start and end symbols. function expr(exprStr) { return startSymbol + exprStr + endSymbol; } // The amount of space a single 1x1 tile would take up (either width or height), used as // a basis for other calculations. This consists of taking the base size percent (as would be // if evenly dividing the size between cells), and then subtracting the size of one gutter. // However, since there are no gutters on the edges, each tile only uses a fration // (gutterShare = numGutters / numCells) of the gutter size. (Imagine having one gutter per // tile, and then breaking up the extra gutter on the edge evenly among the cells). var UNIT = $interpolate(expr('share') + '% - (' + expr('gutter') + ' * ' + expr('gutterShare') + ')'); // The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value. // The position comes the size of a 1x1 tile plus gutter for each previous tile in the // row/column (offset). var POSITION = $interpolate('calc((' + expr('unit') + ' + ' + expr('gutter') + ') * ' + expr('offset') + ')'); // The actual size of a tile, e.g., width or height, taking rowSpan or colSpan into account. // This is computed by multiplying the base unit by the rowSpan/colSpan, and then adding back // in the space that the gutter would normally have used (which was already accounted for in // the base unit calculation). var DIMENSION = $interpolate('calc((' + expr('unit') + ') * ' + expr('span') + ' + (' + expr('span') + ' - 1) * ' + expr('gutter') + ')'); /** * Gets the styles applied to a tile element described by the given parameters. * @param {{row: number, col: number}} position The row and column indices of the tile. * @param {{row: number, col: number}} spans The rowSpan and colSpan of the tile. * @param {number} colCount The number of columns. * @param {number} rowCount The number of rows. * @param {string} gutter The amount of space between tiles. This will be something like * '5px' or '2em'. * @param {string} rowMode The row height mode. Can be one of: * 'fixed': all rows have a fixed size, given by rowHeight, * 'ratio': row height defined as a ratio to width, or * 'fit': fit to the grid-list element height, divinding evenly among rows. * @param {string|number} rowHeight The height of a row. This is only used for 'fixed' mode and * for 'ratio' mode. For 'ratio' mode, this is the *ratio* of width-to-height (e.g., 0.75). * @returns {Object} Map of CSS properties to be applied to the style element. Will define * values for top, left, width, height, marginTop, and paddingTop. */ function getTileStyle(position, spans, colCount, rowCount, gutter, rowMode, rowHeight) { // TODO(shyndman): There are style caching opportunities here. // Percent of the available horizontal space that one column takes up. var hShare = (1 / colCount) * 100; // Fraction of the gutter size that each column takes up. var hGutterShare = (colCount - 1) / colCount; // Base horizontal size of a column. var hUnit = UNIT({share: hShare, gutterShare: hGutterShare, gutter: gutter}); // The width and horizontal position of each tile is always calculated the same way, but the // height and vertical position depends on the rowMode. var ltr = document.dir != 'rtl' && document.body.dir != 'rtl'; var style = ltr ? { left: POSITION({ unit: hUnit, offset: position.col, gutter: gutter }), width: DIMENSION({ unit: hUnit, span: spans.col, gutter: gutter }), // resets paddingTop: '', marginTop: '', top: '', height: '' } : { right: POSITION({ unit: hUnit, offset: position.col, gutter: gutter }), width: DIMENSION({ unit: hUnit, span: spans.col, gutter: gutter }), // resets paddingTop: '', marginTop: '', top: '', height: '' }; switch (rowMode) { case 'fixed': // In fixed mode, simply use the given rowHeight. style.top = POSITION({ unit: rowHeight, offset: position.row, gutter: gutter }); style.height = DIMENSION({ unit: rowHeight, span: spans.row, gutter: gutter }); break; case 'ratio': // Percent of the available vertical space that one row takes up. Here, rowHeight holds // the ratio value. For example, if the width:height ratio is 4:3, rowHeight = 1.333. var vShare = hShare / rowHeight; // Base veritcal size of a row. var vUnit = UNIT({ share: vShare, gutterShare: hGutterShare, gutter: gutter }); // padidngTop and marginTop are used to maintain the given aspect ratio, as // a percentage-based value for these properties is applied to the *width* of the // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties style.paddingTop = DIMENSION({ unit: vUnit, span: spans.row, gutter: gutter}); style.marginTop = POSITION({ unit: vUnit, offset: position.row, gutter: gutter }); break; case 'fit': // Fraction of the gutter size that each column takes up. var vGutterShare = (rowCount - 1) / rowCount; // Percent of the available vertical space that one row takes up. vShare = (1 / rowCount) * 100; // Base vertical size of a row. vUnit = UNIT({share: vShare, gutterShare: vGutterShare, gutter: gutter}); style.top = POSITION({unit: vUnit, offset: position.row, gutter: gutter}); style.height = DIMENSION({unit: vUnit, span: spans.row, gutter: gutter}); break; } return style; } function getGridStyle(colCount, rowCount, gutter, rowMode, rowHeight) { var style = {}; switch(rowMode) { case 'fixed': style.height = DIMENSION({ unit: rowHeight, span: rowCount, gutter: gutter }); style.paddingBottom = ''; break; case 'ratio': // rowHeight is width / height var hGutterShare = colCount === 1 ? 0 : (colCount - 1) / colCount, hShare = (1 / colCount) * 100, vShare = hShare * (1 / rowHeight), vUnit = UNIT({ share: vShare, gutterShare: hGutterShare, gutter: gutter }); style.height = ''; style.paddingBottom = DIMENSION({ unit: vUnit, span: rowCount, gutter: gutter}); break; case 'fit': // noop, as the height is user set break; } return style; } function getTileElements() { return [].filter.call(element.children(), function(ele) { return ele.tagName == 'MD-GRID-TILE' && !ele.$$mdDestroyed; }); } /** * Gets an array of objects containing the rowspan and colspan for each tile. * @returns {Array<{row: number, col: number}>} */ function getTileSpans(tileElements) { return [].map.call(tileElements, function(ele) { var ctrl = angular.element(ele).controller('mdGridTile'); return { row: parseInt( $mdMedia.getResponsiveAttribute(ctrl.$attrs, 'md-rowspan'), 10) || 1, col: parseInt( $mdMedia.getResponsiveAttribute(ctrl.$attrs, 'md-colspan'), 10) || 1 }; }); } function getColumnCount() { var colCount = parseInt($mdMedia.getResponsiveAttribute(attrs, 'md-cols'), 10); if (isNaN(colCount)) { throw 'md-grid-list: md-cols attribute was not found, or contained a non-numeric value'; } return colCount; } function getGutter() { return applyDefaultUnit($mdMedia.getResponsiveAttribute(attrs, 'md-gutter') || 1); } function getRowHeight() { var rowHeight = $mdMedia.getResponsiveAttribute(attrs, 'md-row-height'); if (!rowHeight) { throw 'md-grid-list: md-row-height attribute was not found'; } switch (getRowMode()) { case 'fixed': return applyDefaultUnit(rowHeight); case 'ratio': var whRatio = rowHeight.split(':'); return parseFloat(whRatio[0]) / parseFloat(whRatio[1]); case 'fit': return 0; // N/A } } function getRowMode() { var rowHeight = $mdMedia.getResponsiveAttribute(attrs, 'md-row-height'); if (!rowHeight) { throw 'md-grid-list: md-row-height attribute was not found'; } if (rowHeight == 'fit') { return 'fit'; } else if (rowHeight.indexOf(':') !== -1) { return 'ratio'; } else { return 'fixed'; } } function applyDefaultUnit(val) { return /\D$/.test(val) ? val : val + 'px'; } } } /* ngInject */ function GridListController($mdUtil) { this.layoutInvalidated = false; this.tilesInvalidated = false; this.$timeout_ = $mdUtil.nextTick; this.layoutDelegate = angular.noop; } GridListController.prototype = { invalidateTiles: function() { this.tilesInvalidated = true; this.invalidateLayout(); }, invalidateLayout: function() { if (this.layoutInvalidated) { return; } this.layoutInvalidated = true; this.$timeout_(angular.bind(this, this.layout)); }, layout: function() { try { this.layoutDelegate(this.tilesInvalidated); } finally { this.layoutInvalidated = false; this.tilesInvalidated = false; } } }; /* ngInject */ function GridLayoutFactory($mdUtil) { var defaultAnimator = GridTileAnimator; /** * Set the reflow animator callback */ GridLayout.animateWith = function(customAnimator) { defaultAnimator = !angular.isFunction(customAnimator) ? GridTileAnimator : customAnimator; }; return GridLayout; /** * Publish layout function */ function GridLayout(colCount, tileSpans) { var self, layoutInfo, gridStyles, layoutTime, mapTime, reflowTime; layoutTime = $mdUtil.time(function() { layoutInfo = calculateGridFor(colCount, tileSpans); }); return self = { /** * An array of objects describing each tile's position in the grid. */ layoutInfo: function() { return layoutInfo; }, /** * Maps grid positioning to an element and a set of styles using the * provided updateFn. */ map: function(updateFn) { mapTime = $mdUtil.time(function() { var info = self.layoutInfo(); gridStyles = updateFn(info.positioning, info.rowCount); }); return self; }, /** * Default animator simply sets the element.css( <styles> ). An alternate * animator can be provided as an argument. The function has the following * signature: * * function({grid: {element: JQLite, style: Object}, tiles: Array<{element: JQLite, style: Object}>) */ reflow: function(animatorFn) { reflowTime = $mdUtil.time(function() { var animator = animatorFn || defaultAnimator; animator(gridStyles.grid, gridStyles.tiles); }); return self; }, /** * Timing for the most recent layout run. */ performance: function() { return { tileCount: tileSpans.length, layoutTime: layoutTime, mapTime: mapTime, reflowTime: reflowTime, totalTime: layoutTime + mapTime + reflowTime }; } }; } /** * Default Gridlist animator simple sets the css for each element; * NOTE: any transitions effects must be manually set in the CSS. * e.g. * * md-grid-tile { * transition: all 700ms ease-out 50ms; * } * */ function GridTileAnimator(grid, tiles) { grid.element.css(grid.style); tiles.forEach(function(t) { t.element.css(t.style); }) } /** * Calculates the positions of tiles. * * The algorithm works as follows: * An Array<Number> with length colCount (spaceTracker) keeps track of * available tiling positions, where elements of value 0 represents an * empty position. Space for a tile is reserved by finding a sequence of * 0s with length <= than the tile's colspan. When such a space has been * found, the occupied tile positions are incremented by the tile's * rowspan value, as these positions have become unavailable for that * many rows. * * If the end of a row has been reached without finding space for the * tile, spaceTracker's elements are each decremented by 1 to a minimum * of 0. Rows are searched in this fashion until space is found. */ function calculateGridFor(colCount, tileSpans) { var curCol = 0, curRow = 0, spaceTracker = newSpaceTracker(); return { positioning: tileSpans.map(function(spans, i) { return { spans: spans, position: reserveSpace(spans, i) }; }), rowCount: curRow + Math.max.apply(Math, spaceTracker) }; function reserveSpace(spans, i) { if (spans.col > colCount) { throw 'md-grid-list: Tile at position ' + i + ' has a colspan ' + '(' + spans.col + ') that exceeds the column count ' + '(' + colCount + ')'; } var start = 0, end = 0; // TODO(shyndman): This loop isn't strictly necessary if you can // determine the minimum number of rows before a space opens up. To do // this, recognize that you've iterated across an entire row looking for // space, and if so fast-forward by the minimum rowSpan count. Repeat // until the required space opens up. while (end - start < spans.col) { if (curCol >= colCount) { nextRow(); continue; } start = spaceTracker.indexOf(0, curCol); if (start === -1 || (end = findEnd(start + 1)) === -1) { start = end = 0; nextRow(); continue; } curCol = end + 1; } adjustRow(start, spans.col, spans.row); curCol = start + spans.col; return { col: start, row: curRow }; } function nextRow() { curCol = 0; curRow++; adjustRow(0, colCount, -1); // Decrement row spans by one } function adjustRow(from, cols, by) { for (var i = from; i < from + cols; i++) { spaceTracker[i] = Math.max(spaceTracker[i] + by, 0); } } function findEnd(start) { var i; for (i = start; i < spaceTracker.length; i++) { if (spaceTracker[i] !== 0) { return i; } } if (i === spaceTracker.length) { return i; } } function newSpaceTracker() { var tracker = []; for (var i = 0; i < colCount; i++) { tracker.push(0); } return tracker; } } } /** * @ngdoc directive * @name mdGridTile * @module material.components.gridList * @restrict E * @description * Tiles contain the content of an `md-grid-list`. They span one or more grid * cells vertically or horizontally, and use `md-grid-tile-{footer,header}` to * display secondary content. * * ### Responsive Attributes * * The `md-grid-tile` directive supports "responsive" attributes, which allow * different `md-rowspan` and `md-colspan` values depending on the currently * matching media query. * * In order to set a responsive attribute, first define the fallback value with * the standard attribute name, then add additional attributes with the * following convention: `{base-attribute-name}-{media-query-name}="{value}"` * (ie. `md-colspan-sm="4"`) * * @param {number=} md-colspan The number of columns to span (default 1). Cannot * exceed the number of columns in the grid. Supports interpolation. * @param {number=} md-rowspan The number of rows to span (default 1). Supports * interpolation. * * @usage * With header: * <hljs lang="html"> * <md-grid-tile> * <md-grid-tile-header> * <h3>This is a header</h3> * </md-grid-tile-header> * </md-grid-tile> * </hljs> * * With footer: * <hljs lang="html"> * <md-grid-tile> * <md-grid-tile-footer> * <h3>This is a footer</h3> * </md-grid-tile-footer> * </md-grid-tile> * </hljs> * * Spanning multiple rows/columns: * <hljs lang="html"> * <md-grid-tile md-colspan="2" md-rowspan="3"> * </md-grid-tile> * </hljs> * * Responsive attributes: * <hljs lang="html"> * <md-grid-tile md-colspan="1" md-colspan-sm="3" md-colspan-md="5"> * </md-grid-tile> * </hljs> */ function GridTileDirective($mdMedia) { return { restrict: 'E', require: '^mdGridList', template: '<figure ng-transclude></figure>', transclude: true, scope: {}, // Simple controller that exposes attributes to the grid directive controller: ["$attrs", function($attrs) { this.$attrs = $attrs; }], link: postLink }; function postLink(scope, element, attrs, gridCtrl) { // Apply semantics element.attr('role', 'listitem'); // If our colspan or rowspan changes, trigger a layout var unwatchAttrs = $mdMedia.watchResponsiveAttributes(['md-colspan', 'md-rowspan'], attrs, angular.bind(gridCtrl, gridCtrl.invalidateLayout)); // Tile registration/deregistration gridCtrl.invalidateTiles(); scope.$on('$destroy', function() { // Mark the tile as destroyed so it is no longer considered in layout, // even if the DOM element sticks around (like during a leave animation) element[0].$$mdDestroyed = true; unwatchAttrs(); gridCtrl.invalidateLayout(); }); if (angular.isDefined(scope.$parent.$index)) { scope.$watch(function() { return scope.$parent.$index; }, function indexChanged(newIdx, oldIdx) { if (newIdx === oldIdx) { return; } gridCtrl.invalidateTiles(); }); } } } function GridTileCaptionDirective() { return { template: '<figcaption ng-transclude></figcaption>', transclude: true }; } ngmaterial.components.gridList = angular.module("material.components.gridList");
#!/usr/bin/env node "use strict"; module.exports = function () { return "$themes: (\n dark: (\n bgColorTheme: #000000\n ),\n light: (\n bgColorTheme: #ffffff\n ) \n);"; };
/** * 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. * * @format * @flow strict-local * @emails oncall+draft_js */ 'use strict'; const onBeforeInput = require('editOnBeforeInput'); const onBlur = require('editOnBlur'); const onCompositionStart = require('editOnCompositionStart'); const onCopy = require('editOnCopy'); const onCut = require('editOnCut'); const onDragOver = require('editOnDragOver'); const onDragStart = require('editOnDragStart'); const onFocus = require('editOnFocus'); const onInput = require('editOnInput'); const onKeyDown = require('editOnKeyDown'); const onPaste = require('editOnPaste'); const onSelect = require('editOnSelect'); const DraftEditorEditHandler = { onBeforeInput, onBlur, onCompositionStart, onCopy, onCut, onDragOver, onDragStart, onFocus, onInput, onKeyDown, onPaste, onSelect, }; module.exports = DraftEditorEditHandler;
const express = require('express'); const path = require('path'); const app = express(); const port = process.env.PORT || 8080; // sendFile will go here app.get('/', function(req, res) { res.sendFile(path.join(__dirname, '/index.html')); }); app.listen(port); console.log('Server started at http://localhost:' + port);
export default class Emitter { constructor() { this.listeners = {}; this.allListeners = []; } fire(name) { var i; for (i = 0; i < this.allListeners.length; i++) { this.allListeners[i](...arguments); } if (!(name in this.listeners)) return; var args = Array.prototype.slice.call(arguments, 1); for (i = 0; i < this.listeners[name].length; i++) { this.listeners[name][i](...args); } } on(name, listener) { if (!(name in this.listeners)) { this.listeners[name] = []; } this.listeners[name].push(listener); } onAll(listener) { this.allListeners.push(listener); } off(name, listener) { if (!(name in this.listeners)) return; var idx = this.listeners[name].indexOf(listener); if (idx === -1) return; this.listeners[name].splice(idx, 1); } offAll(listener) { var idx = this.allListeners.indexOf(listener); if (idx === -1) return; this.allListeners[name].splice(idx, 1); } };
var $ = require('jquery') function GetMovies($ct) { this.$ct = $ct this.start = 0 this.$icon = $ct.siblings('.update-icon') this.canGetMovies = true // 对于搜索区域要绑定事件 if ($ct.parent().hasClass('search')) { var $search_bar = this.$search_bar = $ct.siblings('.search-bar') this.$input = $search_bar.children('.input') this.$btn = $search_bar.children('.search-btn') this.current_query_str = '' this.bind() } } GetMovies.prototype = { bind: function () { var $input = this.$input var $btn = this.$btn var $icon = this.$icon var $ct = this.$ct var $search_bar = this.$search_bar var _this = this $btn.on('click', function () { if (_this.canGetMovies) { var val = $input.val() if (/^\s*$/.test(val)) { $search_bar.addClass('showTips') setTimeout(function () { $search_bar.removeClass('showTips') }, 1200) return } if (_this.current_query_str !== val) { _this.current_query_str = val $ct.empty() _this.start = 0 } $icon.show().addClass('rotate') _this.getMovies('search') } }) }, // 获取电影 getMovies: function (keyword, callback) { if (this.canGetMovies) { this.canGetMovies = false var _this = this var $icon = this.$icon var option = { dataType: 'jsonp', data: { start: _this.start } } if (keyword === 'top250') { option.url = 'https://api.douban.com/v2/movie/top250' } else if (keyword === 'us_box') { option.url = 'https://api.douban.com/v2/movie/us_box' } else if (keyword === 'search') { option.url = 'https://api.douban.com/v2/movie/search' option.data.q = this.current_query_str } $.ajax(option).done(function (data) { render(_this.$ct, data) $icon.removeClass('rotate') callback && callback($icon) _this.start += 20 _this.canGetMovies = true }).fail(function () { _this.$ct.append('<li style="text-align:center;margin-top:1rem;">获取数据失败,请检查网络</li>') $icon.removeClass('rotate') }) // 处理数据,放到页面上 function render($ct, data) { var fragment = document.createDocumentFragment() var template = '<li class="movie-list-item"><a target="blank">' + '<div class="cover"><img></div>' + '<div class="movie-message"><h2></h2>' + '<p><span class="score"></span>分 / <span class="collect"></span>收藏</p>' + '<p><span class="year"></span> / <span class="type"></span></p>' + '<p>导演:<span class="director"></span></p>' + '<p>主演:<span class="actor"></span></p>' + '</div></a></li>' if (data.title === '豆瓣电影北美票房榜') { data.subjects.forEach(function (item) { var tpl = template var actors = '' var directors = '' var $item = $(template) item.subject.directors.forEach(function (obj, index) { if (index === item.subject.directors.length - 1) { directors += obj.name } else { directors += obj.name + '、' } }) item.subject.casts.forEach(function (obj, index) { if (index === item.subject.casts.length - 1) { actors += obj.name } else { actors += obj.name + '、' } }) $item.find('a')[0].href = item.subject.alt $item.find('.cover img')[0].src = item.subject.images.medium $item.find('h2').text(item.subject.title) $item.find('.score').text(item.subject.rating.average) $item.find('.collect').text(item.subject.collect_count) $item.find('.year').text(item.subject.year) $item.find('.type').text(item.subject.genres.join(' / ')) $item.find('.director').text(directors) $item.find('.actor').text(actors) fragment.appendChild($item[0]) }) } else { data.subjects.forEach(function (item) { var tpl = template var actors = '' var directors = '' var $item = $(template) item.directors.forEach(function (obj, index) { if (index === item.directors.length - 1) { directors += obj.name } else { directors += obj.name + '、' } }) item.casts.forEach(function (obj, index) { if (index === item.casts.length - 1) { actors += obj.name } else { actors += obj.name + '、' } }) $item.find('a')[0].href = item.alt $item.find('h2').text(item.title) $item.find('.cover img')[0].src = item.images.medium $item.find('.score').text(item.rating.average) $item.find('.collect').text(item.collect_count) $item.find('.year').text(item.year) $item.find('.type').text(item.genres.join(' / ')) $item.find('.director').text(directors) $item.find('.actor').text(actors) fragment.appendChild($item[0]) }) } $ct.append(fragment) } } } } module.exports = GetMovies
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _default = (0, _createSvgIcon.default)(_react.default.createElement("path", { d: "M3 17h18c.55 0 1 .45 1 1s-.45 1-1 1H3c-.55 0-1-.45-1-1s.45-1 1-1zm10.84-9.21c.1-.24.16-.51.16-.79 0-1.1-.9-2-2-2s-2 .9-2 2c0 .28.06.55.16.79C6.25 8.6 3.27 11.93 3 16h18c-.27-4.07-3.25-7.4-7.16-8.21z" }), 'RoomServiceRounded'); exports.default = _default;
import React from 'react' import PropTypes from 'prop-types' import exact from 'prop-types-exact' class Button extends React.Component { render() { const type = this.props.type || 'button' return ( <button type={type} title={this.props.tooltip} className={this.props.className} onClick={this.props.clickFunction}> <span className="name">{this.props.name}</span> <span className="short-name">{this.props.shortName || this.props.name}</span> </button> ) } } Button.propTypes = exact({ name: PropTypes.string.isRequired, shortName: PropTypes.string, className: PropTypes.string, clickFunction: PropTypes.func, type: PropTypes.string, tooltip: PropTypes.string }) export default Button
// test derivative import assert from 'assert' import math from '../../../src/bundleAny' const OperatorNode = math.OperatorNode const ConstantNode = math.ConstantNode const SymbolNode = math.SymbolNode const derivative = math.derivative describe('derivative', function () { function derivativeWithoutSimplify (expr, value) { return math.derivative(expr, value, { simplify: false }) } function compareString (left, right) { assert.strictEqual(left.toString(), right.toString()) } it('should take the derivative of a constant', function () { compareString(derivativeWithoutSimplify('1', 'x'), '0') compareString(derivativeWithoutSimplify('10000000', 'x'), '0') }) it('should reckon with option simplify', function () { compareString(derivative('2x', 'x'), '2') // default of simplify is true compareString(derivative('2x', 'x', { simplify: true }), '2') compareString(derivative('2x', 'x', { simplify: false }), '2 * 1') }) it('should create a function node', function () { compareString(derivative('sin(2x)', 'x'), '2 * cos(2 x)') }) it('should take the derivative of a SymbolNodes', function () { compareString(derivativeWithoutSimplify('x', 'x'), '1') }) it('should maintain parenthesis of ParenthesisNodes', function () { compareString(derivativeWithoutSimplify('(1)', 'x'), '(0)') compareString(derivativeWithoutSimplify('(x)', 'x'), '(1)') }) it('should take the derivative of FunctionAssignmentNodes', function () { compareString(derivativeWithoutSimplify('f(x) = 5x + x + 2', 'x'), '5 * 1 + 1 + 0') compareString(derivativeWithoutSimplify('f(x) = 5 + 2', 'x'), '0') compareString(derivativeWithoutSimplify('f(y) = 5y + 2', 'x'), '0') // non-embedded example const f = math.parse('f(x) = x + 2') const newFunc = new OperatorNode('+', 'add', [math.parse('5x'), f]) compareString(derivativeWithoutSimplify(newFunc, 'x'), '5 * 1 + 1 + 0') }) it('should take the derivative of a OperatorNodes with ConstantNodes', function () { compareString(derivativeWithoutSimplify('1 + 2', 'x'), '0') compareString(derivativeWithoutSimplify('-100^2 + 3*3/2 - 12', 'x'), '0') const threeArgMultiplyConstant = new OperatorNode('*', 'multiply', [math.parse('3'), math.parse('7^4'), math.parse('123.124')]) compareString(derivativeWithoutSimplify(threeArgMultiplyConstant, 'x'), 0) }) it('should take the derivative of a OperatorNodes with SymbolNodes', function () { // d/dx(-4x) = -4*1 = -4 compareString(derivativeWithoutSimplify('-4x', 'x'), '-4 * 1') // d/dx(+4x) = +4*1 = +4 compareString(derivativeWithoutSimplify('+4x', 'x'), '+4 * 1') const threeArgMultiplyConstant = new OperatorNode('*', 'multiply', [math.parse('3'), math.parse('x'), math.parse('sin(x)')]) compareString(derivativeWithoutSimplify(threeArgMultiplyConstant, 'x'), '3 * (1 * sin(x) + x * 1 * cos(x))') // Linearity of differentiation // With '+': d/dx(5x + x + 2) = 5*1 + 1 + 0 = 6 compareString(derivativeWithoutSimplify('5x + x + 2', 'x'), '5 * 1 + 1 + 0') // With '-': d/dx(5x - x - 2) = 5*1 - 1 - 0 = 4 compareString(derivativeWithoutSimplify('5x - x - 2', 'x'), '5 * 1 - 1 - 0') const threeArgAddition = new OperatorNode('+', 'add', [math.parse('x'), math.parse('sin(x)'), math.parse('5x')]) compareString(derivativeWithoutSimplify(threeArgAddition, 'x'), '1 + 1 * cos(x) + 5 * 1') const threeArgMultiplication = new OperatorNode('*', 'multiply', [math.parse('x'), math.parse('sin(x)'), math.parse('5x')]) compareString(derivativeWithoutSimplify(threeArgMultiplication, 'x'), '1 * sin(x) * 5 x + x * 1 * cos(x) * 5 x + x * sin(x) * 5 * 1') // d/dx(2*(x + x)) = 2*(1 + 1) compareString(derivativeWithoutSimplify('2(x + x)', 'x'), '2 * (1 + 1)') compareString(derivativeWithoutSimplify('(x + x)*2', 'x'), '2 * (1 + 1)') // Product Rule, d/dx(5x*3x) = 5 * 1 * 3 x + 5 x * 3 * 1 = 30x compareString(derivativeWithoutSimplify('5x*3x', 'x'), '5 * 1 * 3 x + 5 x * 3 * 1') // Basic division, d/dx(7x / 2) = 7 * 1 / 2 = 7 / 2 compareString(derivativeWithoutSimplify('7x / 2', 'x'), '7 * 1 / 2') // Reciprocal Rule, d/dx(5 / (3x)) = -5 * (3 * 1) / (3 * x) ^ 2 = -5 / 3x^2 compareString(derivativeWithoutSimplify('5 / (3x)', 'x'), '-5 * (3 * 1) / (3 x) ^ 2') // Quotient rule, d/dx((2x) / (3x + 2)) = ((2*1)(3x + 2) - (2x)(3*1 + 0)) / (3x + 2)^2 = 4 / (3x + 2)^2 compareString(derivativeWithoutSimplify('(2x) / (3x + 2)', 'x'), '((2 * 1) * (3 x + 2) - (2 x) * (3 * 1 + 0)) / (3 x + 2) ^ 2') // Secret constant; 0^f(x) = 1 (in JS), 1^f(x) = 1, d/dx(1) = 0 compareString(derivativeWithoutSimplify('0^(2^x + x^3 + 2)', 'x'), '0') compareString(derivativeWithoutSimplify('1^(2^x + x^3 + 2)', 'x'), '0') // d/dx(10^(2x + 2)) = 10^(2x + 2)*ln(10)*(2*1 + 0) compareString(derivativeWithoutSimplify('10^(2x + 2)', 'x'), '10 ^ (2 x + 2) * log(10) * (2 * 1 + 0)') // Secret constant, f(x)^0 = 1 -> d/dx(f(x)^0) = 1 compareString(derivativeWithoutSimplify('(x^x^x^x)^0', 'x'), '0') // Ignore powers of 1, d/dx((x + 2)^1) -> d/dx(x+2) = (1 + 0) = 1 compareString(derivativeWithoutSimplify('(x+2)^1', 'x'), '(1 + 0)') // Elementary Power Rule, d/dx(2x^2) = 2*2*1*x^(2-1) = 4x compareString(derivativeWithoutSimplify('2x^2', 'x'), '2 * 2 * 1 * x ^ (2 - 1)') // Elementary Power Rule, d/dx(2x^-2) = 2*-2*1*x^(-2-1) = -4x^-3 compareString(derivativeWithoutSimplify('2x^-2', 'x'), '2 * -2 * 1 * x ^ (-2 - 1)') // Functional Power Rule, d/dx((x^3 + x)^(5x + 2)) = (x^3 + x)^(5x + 2) * [(((3*1*x)^(3-1)+1) * ((5x + 2) / (x^3 + x))) + (5*1 + 0)log((x^3 + x))] // = (x^3 + x)^(5x + 2) * [((3x^2 + 1)*(5x + 2) / (x^3 + x)) + 5log(x^3 + x)] compareString(derivativeWithoutSimplify('(x^3 + x)^(5x + 2)', 'x'), '(x ^ 3 + x) ^ (5 x + 2) * ((3 * 1 * x ^ (3 - 1) + 1) * (5 x + 2) / (x ^ 3 + x) + (5 * 1 + 0) * log((x ^ 3 + x)))') // https://github.com/josdejong/mathjs/issues/1063 compareString(derivativeWithoutSimplify('-x', 'x'), '-1') compareString(derivativeWithoutSimplify('1 - (-x)', 'x'), '0 - (-1)') }) it('should properly take the derivative of mathematical functions', function () { compareString(derivativeWithoutSimplify('cbrt(6x)', 'x'), '6 * 1 / (3 * (6 x) ^ (2 / 3))') compareString(derivativeWithoutSimplify('sqrt(6x)', 'x'), '6 * 1 / (2 * sqrt(6 x))') compareString(derivativeWithoutSimplify('nthRoot(6x)', 'x'), '6 * 1 / (2 * sqrt(6 x))') compareString(derivativeWithoutSimplify('nthRoot(6x, 3)', 'x'), '1 / 3 * 6 * 1 * (6 x) ^ (1 / 3 - 1)') compareString(derivativeWithoutSimplify('nthRoot((6x), (2x))', 'x'), '(6 x) ^ (1 / (2 x)) * ((6 * 1) * 1 / (2 x) / (6 x) + (0 * (2 x) - 1 * (2 * 1)) / (2 x) ^ 2 * log((6 x)))') compareString(derivativeWithoutSimplify('log((6*x))', 'x'), '(6 * 1) / (6 * x)') compareString(derivativeWithoutSimplify('log10((6x))', 'x'), '(6 * 1) / ((6 x) * log(10))') compareString(derivativeWithoutSimplify('log((6x), 10)', 'x'), '(6 * 1) / ((6 x) * log(10))') // d/dx(log(2x, 3x)) = ((2 * 1) / (2 * x) * log(3 * x) - log(2 * x) * (3 * 1) / (3 * x)) / log(3 * x) ^ 2 = (log(3x) - log(2x)) / (xlog(3x)^2) compareString(derivativeWithoutSimplify('log((2x), (3x))', 'x'), '((2 * 1) / (2 x) * log((3 x)) - log((2 x)) * (3 * 1) / (3 x)) / log((3 x)) ^ 2') compareString(derivativeWithoutSimplify('log(x)', 'x'), '1 / x') compareString(derivativeWithoutSimplify('sin(2x)', 'x'), '2 * 1 * cos(2 x)') compareString(derivativeWithoutSimplify('cos(2x)', 'x'), '2 * 1 * -sin(2 x)') compareString(derivativeWithoutSimplify('tan(2x)', 'x'), '2 * 1 * sec(2 x) ^ 2') compareString(derivativeWithoutSimplify('sec(2x)', 'x'), '2 * 1 * sec(2 x) * tan(2 x)') compareString(derivativeWithoutSimplify('csc(2x)', 'x'), '-(2 * 1) * csc(2 x) * cot(2 x)') compareString(derivativeWithoutSimplify('cot((2x))', 'x'), '-(2 * 1) * csc((2 x)) ^ 2') compareString(derivativeWithoutSimplify('asin((2x))', 'x'), '(2 * 1) / sqrt(1 - (2 x) ^ 2)') compareString(derivativeWithoutSimplify('acos((2x))', 'x'), '-(2 * 1) / sqrt(1 - (2 x) ^ 2)') compareString(derivativeWithoutSimplify('atan((2x))', 'x'), '(2 * 1) / ((2 x) ^ 2 + 1)') compareString(derivativeWithoutSimplify('asec((2x))', 'x'), '(2 * 1) / (abs((2 x)) * sqrt((2 x) ^ 2 - 1))') compareString(derivativeWithoutSimplify('acsc((2x))', 'x'), '-(2 * 1) / (abs((2 x)) * sqrt((2 x) ^ 2 - 1))') compareString(derivativeWithoutSimplify('acot((2x))', 'x'), '-(2 * 1) / ((2 x) ^ 2 + 1)') compareString(derivativeWithoutSimplify('sinh(2x)', 'x'), '2 * 1 * cosh(2 x)') compareString(derivativeWithoutSimplify('cosh(2x)', 'x'), '2 * 1 * sinh(2 x)') compareString(derivativeWithoutSimplify('tanh(2x)', 'x'), '2 * 1 * sech(2 x) ^ 2') compareString(derivativeWithoutSimplify('sech(2x)', 'x'), '-(2 * 1) * sech(2 x) * tanh(2 x)') compareString(derivativeWithoutSimplify('csch(2x)', 'x'), '-(2 * 1) * csch(2 x) * coth(2 x)') compareString(derivativeWithoutSimplify('coth(2x)', 'x'), '-(2 * 1) * csch(2 x) ^ 2') compareString(derivativeWithoutSimplify('asinh((2x))', 'x'), '(2 * 1) / sqrt((2 x) ^ 2 + 1)') compareString(derivativeWithoutSimplify('acosh((2x))', 'x'), '(2 * 1) / sqrt((2 x) ^ 2 - 1)') compareString(derivativeWithoutSimplify('atanh((2x))', 'x'), '(2 * 1) / (1 - (2 x) ^ 2)') compareString(derivativeWithoutSimplify('asech((2x))', 'x'), '-(2 * 1) / ((2 x) * sqrt(1 - (2 x) ^ 2))') compareString(derivativeWithoutSimplify('acsch((2x))', 'x'), '-(2 * 1) / (abs((2 x)) * sqrt((2 x) ^ 2 + 1))') compareString(derivativeWithoutSimplify('acoth((2x))', 'x'), '-(2 * 1) / (1 - (2 x) ^ 2)') compareString(derivativeWithoutSimplify('abs(2x)', 'x'), '2 * 1 * abs(2 x) / (2 x)') // See power operator tests above compareString(derivativeWithoutSimplify('pow(0, 2^x + x^3 + 2)', 'x'), '0') compareString(derivativeWithoutSimplify('pow(1, 2^x + x^3 + 2)', 'x'), '0') compareString(derivativeWithoutSimplify('pow(10, 2x + 2)', 'x'), '10 ^ (2 x + 2) * log(10) * (2 * 1 + 0)') compareString(derivativeWithoutSimplify('pow(x^x^x^x, 0)', 'x'), '0') compareString(derivativeWithoutSimplify('pow(x + 2, 1)', 'x'), '1 + 0') compareString(derivativeWithoutSimplify('2 * pow(x, 2)', 'x'), '2 * 2 * 1 * x ^ (2 - 1)') compareString(derivativeWithoutSimplify('2 * pow(x, -2)', 'x'), '2 * -2 * 1 * x ^ (-2 - 1)') compareString(derivativeWithoutSimplify('pow(x^3 + x, 5x + 2)', 'x'), '(x ^ 3 + x) ^ (5 x + 2) * ((3 * 1 * x ^ (3 - 1) + 1) * (5 x + 2) / (x ^ 3 + x) + (5 * 1 + 0) * log(x ^ 3 + x))') compareString(derivativeWithoutSimplify('exp(2x)', 'x'), '2 * 1 * exp(2 x)') }) it('should take the partial derivative of an expression', function () { compareString(derivativeWithoutSimplify('x + y', 'x'), '1 + 0') compareString(derivativeWithoutSimplify('x + log(y)*y', 'x'), '1 + 0') compareString(derivativeWithoutSimplify('x + y + z', 'x'), '1 + 0 + 0') compareString(derivativeWithoutSimplify('x + log(y)*z', 'x'), '1 + 0') compareString(derivativeWithoutSimplify('x + log(y)*x', 'x'), '1 + log(y) * 1') // 2 * 1 * x ^ (2 - 1) + y * 1 + 0 = 2x + y compareString(derivativeWithoutSimplify('x^2 + x*y + y^2', 'x'), '2 * 1 * x ^ (2 - 1) + y * 1 + 0') }) it('should function properly even without being called within an evaluate', function () { const f = math.parse('2x^3') // 2*3*1*x^(3-1) = 6x^2 compareString(derivativeWithoutSimplify(f, 'x').toString(), '2 * 3 * 1 * x ^ (3 - 1)') }) it('should accept string and Node input', function () { // NOTE: we use `parse` here on purpose to see whether derivative accepts it compareString(derivative('x^2', 'x'), '2 * x') compareString(derivative(math.parse('x^2'), 'x'), '2 * x') compareString(derivative('x^2', math.parse('x')), '2 * x') compareString(derivative(math.parse('x^2'), math.parse('x')), '2 * x') }) describe('expression parser', function () { it('should evaluate a derivative containing string value', function () { const res = math.evaluate('derivative("x^2", "x")') assert.ok(res && res.isNode) assert.strictEqual(res.toString(), '2 * x') }) it('should evaluate a derivative containing nodes', function () { const res = math.evaluate('derivative(parse("x^2"), parse("x"))') assert.ok(res && res.isNode) assert.strictEqual(res.toString(), '2 * x') }) }) it('should not drop any additional operator arguments', function () { // This case cannot happen when parsing via the expression parser, // but it can when you create your own operator nodes. See #1014 const c12 = new ConstantNode(12) const c4 = new ConstantNode(4) const x = new SymbolNode('x') assert.throws(function () { const node = new OperatorNode('/', 'myDivide', [c12, c4, x]) derivative(node, 'x') }, /Error: Operator "\/" is not supported by derivative, or a wrong number of arguments is passed/) assert.throws(function () { const node = new OperatorNode('^', 'myPow', [c12, c4, x]) derivative(node, 'x') }, /Error: Operator "\^" is not supported by derivative, or a wrong number of arguments is passed/) }) it('should throw error if expressions contain unsupported operators or functions', function () { assert.throws(function () { derivative('x << 2', 'x') }, /Error: Operator "<<" is not supported by derivative/) assert.throws(function () { derivative('subset(x)', 'x') }, /Error: Function "subset" is not supported by derivative/) }) it('should have controlled behavior on arguments errors', function () { assert.throws(function () { derivative('sqrt()', 'x') }, /TypeError: Too few arguments in function sqrt \(expected: number or Complex or BigNumber or Unit or Array or Matrix or Fraction or string or boolean, index: 0\)/) assert.throws(function () { derivative('sqrt(12, 2x)', 'x') }, /TypeError: Too many arguments in function sqrt \(expected: 1, actual: 2\)/) }) it('should throw error for incorrect argument types', function () { assert.throws(function () { derivative('42', '42') }, /TypeError: Unexpected type of argument in function derivative \(expected: string or SymbolNode or number or boolean, actual: ConstantNode, index: 1\)/) assert.throws(function () { derivative('[1, 2; 3, 4]', 'x') }, /TypeError: Unexpected type of argument in function constTag \(expected: ConstantNode or FunctionNode or FunctionAssignmentNode or OperatorNode or ParenthesisNode or SymbolNode, actual: ArrayNode, index: 1\)/) assert.throws(function () { derivative('x + [1, 2; 3, 4]', 'x') }, /TypeError: Unexpected type of argument in function constTag \(expected: ConstantNode or FunctionNode or FunctionAssignmentNode or OperatorNode or ParenthesisNode or SymbolNode, actual: ArrayNode, index: 1\)/) }) it('should throw error if incorrect number of arguments', function () { assert.throws(function () { derivative('x + 2') }, /TypeError: Too few arguments in function derivative \(expected: string or SymbolNode or number or boolean, index: 1\)/) assert.throws(function () { derivative('x + 2', 'x', {}, true, 42) }, /TypeError: Too many arguments in function derivative \(expected: 3, actual: 5\)/) }) it('should LaTeX expressions involving derivative', function () { compareString(math.parse('derivative(x*y,x)').toTex(), '{d\\over dx}\\left[x * y\\right]') compareString(math.parse('derivative("x*y",x)').toTex(), '{d\\over dx}\\left[x * y\\right]') compareString(math.parse('derivative(x*y,"x")').toTex(), '{d\\over dx}\\left[x * y\\right]') compareString(math.parse('derivative("x*y","x")').toTex(), '{d\\over dx}\\left[x * y\\right]') // FIXME: handle toTex of derivative with options as third argument // compareString(math.parse('derivative("x*y","x", { simplify: false })').toTex(), '{d\\over dx}\\left[x * y\\right]') }) })
// // 3: [ ]-----[ ]--------- NIL // 2: [ ]-----[ ]-----[ ]- NIL // 1: [ ]-----[ ]-[ ]-[ ]- NIL // Level 0: [ ]-[ ]-[ ]-[ ]-[ ]- NIL // [#] [#] [#] [#] [#] // | // + content (object) // + distance (number) // + links (array) // import assert from 'assert'; export default class WeightedSkiplist { constructor() { this.clear(); } // // Global Operations // clear() { this._front = undefined; } length() { let ret = 0; if (this._front) { const level = this.height() - 1; let node = this._front; while (node !== undefined) { ret += node._links[level].step; node = node._links[level].next; } } return ret; } distance() { let ret = 0; if (this._front) { let node = this._front; const level = node._links.length - 1; while (node !== undefined) { ret += node._links[level].distance; node = node._links[level].next; } } return ret; } height() { if (this._front) { return this._front._links.length; } return 0; } front() { return this._front; } back() { let node = this._front; if (node) { let level = node._links.length - 1; while (level >= 0) { while (node._links[level].next) { node = node._links[level].next; } level -= 1; } } return node; } // // Find // nodeForIndex(index) { if ((index < 0) || (index >= this.length())) { return undefined; } let node = this._front; let dist = 0; let nodeIndex = 0; let level = node._links.length - 1; while (nodeIndex < index) { while ((nodeIndex + node._links[level].step) > index) { level -= 1; } nodeIndex += node._links[level].step; dist += node._links[level].distance; node = node._links[level].next; } return { node, distance: dist }; } nodeForDistance(distance) { if ((distance < 0) || (distance >= this.distance())) { return undefined; } let node = this._front; let dist = 0; let level = node._links.length - 1; while ((node.distance + dist) <= distance) { while ((dist + node._links[level].distance) > distance) { level -= 1; } dist += node._links[level].distance; node = node._links[level].next; } return { node, distance: dist }; } prev(node) { if (node._links) { return node._links[0].prev; } return undefined; } next(node) { if (node._links) { return node._links[0].next; } return undefined; } // // Edit // insert(prev, node) { assert(node !== undefined); assert(node._links === undefined); if (this._front === undefined) { assert(prev === undefined); this._setupInitialNode(node); } else if (prev === undefined) { this._insertFront(node); } else { const path = this._traverse(prev); this._addLink(path, node); this._setNodeHeight(node, this._sampleNodeHeight()); } } remove(node) { assert(node); if (node === this._front) { const next = this.next(node); if (next) { this._setNodeHeight(next, this.height()); } this._front = next; } else { const height = node._links.length; for (let i = 0; i < height; i += 1) { this._removeLink(node); } } } push(node) { if (this._front === undefined) { this.insert(undefined, node); } else { this.insert(this.back(), node); } } resize(node, distance) { const path = this._traverse(node); const diff = distance - node.distance; for (let i = 0; i < path.length; i += 1) { path[i].node._links[i].distance += diff; } node.distance = distance; } // // Helper Functions // makeNode(content, distance) { assert(distance >= 0); return { content, distance }; } // // private // _setupInitialNode(node) { node._links = [{ step: 1, distance: node.distance, prev: undefined, next: undefined, }]; this._front = node; } _insertFront(node) { node._links = []; for (let i = 0; i < this.height(); i += 1) { node._links.push({ step: 1, distance: node.distance, prev: undefined, next: this._front, }); this._front._links[i].prev = node; } this._front = node; // front node may be higher than others const height = this._sampleNodeHeight(); if (height > this.height()) { node._links.push({ step: this.length(), distance: this.distance(), prev: undefined, next: undefined, }); } // resample second node height const secondHeight = Math.min(this.height(), this._sampleNodeHeight()); this._setNodeHeight(this.next(this._front), secondHeight); } _setHeight(height) { const front = this._front; assert(front); const step = this.length(); const distance = this.distance(); while (front._links.length < height) { front._links.push({ step, distance, prev: undefined, next: undefined, }); } } _setNodeHeight(node, height) { assert(node); assert(height > 0); if (height > this.height()) { this._setHeight(height); } const path = this._traverse(node); while (node._links.length < height) { this._addLink(path, node); } while (node._links.length > height) { this._removeLink(node); } } _addLink(path, node) { if (node._links === undefined) { const prev = path[0].node; const { next } = prev._links[0]; node._links = [{ step: 1, distance: node.distance, prev, next, }]; prev._links[0].next = node; if (next) { next._links[0].prev = node; } for (let i = 1; i < path.length; i += 1) { path[i].node._links[i].distance += node.distance; path[i].node._links[i].step += 1; } } else { const level = node._links.length; const prev = path[level].node; const { next } = prev._links[level]; const stepLR = prev._links[level].step; const distanceLR = prev._links[level].distance; prev._links[level].step = path[level].step; prev._links[level].distance = path[level].distance; node._links.push({ step: stepLR - prev._links[level].step, distance: distanceLR - prev._links[level].distance, prev, next, }); prev._links[level].next = node; if (next) { next._links[level].prev = node; } } } _removeLink(node) { assert(node !== this._front); const level = node._links.length - 1; const { prev, next } = node._links[level]; prev._links[level].distance += node._links[level].distance; prev._links[level].step += node._links[level].step; prev._links[level].next = next; if (next) { next._links[level].prev = prev; } node._links.pop(); if (level === 0) { const path = this._traverse(prev); for (let i = 0; i < path.length; i += 1) { path[i].node._links[i].distance -= node.distance; path[i].node._links[i].step -= 1; } delete node._links; } } _traverse(node) { // [x]<---------> [ step, distance ] // [ ]-----[x]<-> [ step, distance ] // [ ]-[ ]-[ ]-[x] [ 0, 0 ] // [ ]-[ ]-[ ]-[x] [ 0, 0 ] // node assert(node); let level = 0; let step = 0; let distance = 0; const ret = []; while (level < this.height()) { while (node._links.length <= level) { node = node._links[level - 1].prev; step += node._links[level - 1].step; distance += node._links[level - 1].distance; } ret.push({ node, step, distance }); level += 1; } return ret; } _sampleNodeHeight() { const maxHeight = this.height() + 1; return Math.min(maxHeight, Math.floor(1 + -Math.log2(Math.random()))); } // // diagnostics // _averageHeight() { if (this._front) { let total = 0; let node = this._front; while (node) { total += node._links.length; node = node._links[0].next; } return total / this.length(); } return 0; } _validate() { if (this._front) { const step = this.length(); const distance = this.distance(); for (let i = 0; i < this.height(); i += 1) { let node = this._front; let s = 0; let d = 0; while (node) { const { next } = node._links[i]; if (next) { assert(next._links[i].prev === node); } s += node._links[i].step; d += node._links[i].distance; node = next; } assert(step === s); assert(distance === d); } } } }
var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); var port = process.env.PORT || 3001; http.listen(port, function() { console.log('Listening on: ' + port); }); io.on("connection", function(socket) { // --------------- TEMPORARY INITCONNECT IMPLEMENTATION ------------------- socket.on("initConnect", function(userData) { socket.user = userData.user; socket.room = userData.room; socket.join(socket.room); console.log("Socket connected: " + socket.user + " in room " + socket.room); socket.emit("updateRoom", socket.room); updateUserList(socket.room); }); // ------------------------------------------------------------------------ socket.on("disconnect", function() { // Update the userlist of every client in the socket's room pre-disconnect updateUserList(socket.room); console.log("socket disconnected: " + socket.user + " from room " + socket.room); }); socket.on("message", function(message) { // Emit message from socket to every client in the socket's // room(including the socket itself) io.to(socket.room).emit("message", message); console.log("Message by " + socket.user + " in room " + socket.room + ": " + message.text); }); socket.on("changeTab", function(tab) { var prevRoom = socket.room; // Socket popped from current room and pushed into new room socket.leave(socket.room); socket.room = tab !== undefined ? tab.url : "/"; socket.join(socket.room); // Room update event emitted to socket to update its state.room socket.emit("room-update", socket.room); console.log("Room update of socket " + socket.user + " to " + socket.room); // Update userlist event fired to clients in the socket's // previous and current room updateUserlist(prevRoom); updateUserlist(socket.room); }); }); // TODO Find a more efficient implementation of updating the users' lists of // other users in their room function updateUserList(room) { if(!(room == null || io.sockets.adapter.rooms[room] == null)) { // Create an array of all socket IDs in room var socketIds = Object.keys(io.sockets.adapter.rooms[room].sockets); // Emit userlist-update to room with names of all clients in room io.to(room).emit("updateUserList", socketIds.map((socketId) => { return io.sockets.connected[socketId].user; })); } }
module.exports = class CallCustomParam { constructor(paramName,paramValue,isUpdated){ this.Name="" this.Value ="" this.IsUpdated=true if(paramName.constructor.name=="Object" && paramName.Name&& paramName.Name.length>0 ){ this.Name=paramName.Name this.SetParamValue(paramName.Value) if(paramName.IsUpdated===false)this.IsUpdated=false }else if (paramName.constructor.name=="String") { this.Name=paramName this.SetParamValue(paramValue) if(isUpdated===false)this.IsUpdated=false } } SetParamValue(val){ let valStr ="" if(val.constructor.name=="Object" ||val.constructor.name=="Array"){ valStr=JSON.stringify(val) }else if(val.constructor.name=="String" ) { valStr=val }else{ console.error("Failed to set value to call parameter ",this) } if(valStr.length<0){ console.error("parameter value is empty",this) }else if(valStr.length>128){ console.error("parameter value is to big ... cant be more than 128 characters ",this) }else{ this.Value=valStr } } Update(val){ this.SetParamValue(val) this.IsUpdated=true } }
import React from 'react' import { graphql } from 'gatsby' import Layout from '../components/layout' import SEO from '../components/seo' import Img from "gatsby-image" import { Box, Flex } from 'rebass' import Section from '../components/section' import Topic from '../components/topic' import Card from '../components/card' import Item from '../components/item' import Avatar from '../components/avatar' import Name from '../components/name' import Slogan from '../components/slogan' import Price from '../components/tagsPrice' import Location from '../components/tagsLocation' import Viewall from '../components/viewall' function shuffle(array) { let i = array.length - 1; for (; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); const temp = array[i]; array[i] = array[j]; array[j] = temp; } return array; } const IndexPage = ({ data }) => { const cards = data.allListYaml.edges return ( <Layout> <SEO title='' keywords={[`bookmarks`, `design`, `all-in-one`]} /> {cards.map(({ node }) => { const items = node.item const shuffledItems = shuffle(items) const url = `/${node.id}` return ( <Section key={node.id}> <Topic>{node.title}</Topic> {shuffledItems.slice(0, 24).map(item => { return ( <Card key={item.link} href={item.link} title={item.name} > <Item> <Flex> <Avatar> <Img fixed={item.logo.childImageSharp.fixed} /> </Avatar> <Box pl={2}> <Name> {item.name} {item.location ? <Location>{item.location}</Location> : <Price>{item.price}</Price> } </Name> <Slogan>{item.slogan}</Slogan> </Box> </Flex> </Item> </Card> ) })} {(items.length >=24) ? <Viewall to={url} /> : null} </Section> ) })} </Layout> ) } export default IndexPage export const query = graphql` query IndexPage { allListYaml( sort: { order: ASC, fields: [id] } ) { edges { node { id title item { name slogan price location link logo { childImageSharp { fixed( width: 32 height: 32 ) { ...GatsbyImageSharpFixed_tracedSVG } } } } } } } } `
// Get the image and insert it inside the modal - use its "alt" text as a caption var imageViewer_modal = $('.imageViewer-modal'); var img = document.getElementById("myImg"); var modalImg = $("#imageViewer-img"); var captionText = document.getElementById("imageViewer-caption"); // Get the <span> element that closes the modal var imageViewer_closeBtn = document.getElementsByClassName("imageViewer-close")[0]; // When the user clicks on <span> (x), close the modal imageViewer_closeBtn.onclick = function() { // Get the modal imageViewer_modal.css('display', 'none'); }; /* ---------------------- tampilkan modal image viewer ---------------------- */ function showImage(image_src, image_alt) { modalImg.attr('src', image_src); captionText.innerHTML = image_alt; imageViewer_modal.css('display', 'block'); }
({ handleEventinCustomNamespaceWithGlobalAccess : function(cmp, event) { cmp.set("v.message1",event.getParam("message")); }, handleEventinInternalNamespaceWithGlobalAccess : function(cmp, event) { cmp.set("v.message2",event.getParam("message")); }, handleEventinOtherCustomNamespaceWithGlobalAccess : function(cmp, event) { cmp.set("v.message3",event.getParam("message")); }, handleEventinPrivilegedNamespaceWithGlobalAccess : function(cmp, event) { cmp.set("v.message4",event.getParam("message")); } })
import React, { Component } from 'react'; import Button from '../../components/button'; class HomeScreen extends Component { render() { return ( <div className="homeScreen"> <Button /> </div> ); } }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Notes = undefined; var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _createClass2 = require('babel-runtime/helpers/createClass'); var _createClass3 = _interopRequireDefault(_createClass2); var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn'); var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); var _inherits2 = require('babel-runtime/helpers/inherits'); var _inherits3 = _interopRequireDefault(_inherits2); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _addons = require('@storybook/addons'); var _addons2 = _interopRequireDefault(_addons); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var styles = { notesPanel: { margin: 10, fontFamily: 'Arial', fontSize: 14, color: '#444', width: '100%', overflow: 'auto' } }; /* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ var Notes = exports.Notes = function (_React$Component) { (0, _inherits3.default)(Notes, _React$Component); function Notes() { var _ref; (0, _classCallCheck3.default)(this, Notes); for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } var _this = (0, _possibleConstructorReturn3.default)(this, (_ref = Notes.__proto__ || (0, _getPrototypeOf2.default)(Notes)).call.apply(_ref, [this].concat(args))); _this.state = { text: '' }; _this.onAddNotes = _this.onAddNotes.bind(_this); return _this; } (0, _createClass3.default)(Notes, [{ key: 'componentDidMount', value: function componentDidMount() { var _this2 = this; var _props = this.props, channel = _props.channel, api = _props.api; // Listen to the notes and render it. channel.on('storybook/notes/add_notes', this.onAddNotes); // Clear the current notes on every story change. this.stopListeningOnStory = api.onStory(function () { _this2.onAddNotes(''); }); } // This is some cleanup tasks when the Notes panel is unmounting. }, { key: 'componentWillUnmount', value: function componentWillUnmount() { if (this.stopListeningOnStory) { this.stopListeningOnStory(); } this.unmounted = true; var channel = this.props.channel; channel.removeListener('storybook/notes/add_notes', this.onAddNotes); } }, { key: 'onAddNotes', value: function onAddNotes(text) { this.setState({ text: text }); } }, { key: 'render', value: function render() { var text = this.state.text; var textAfterFormatted = text ? text.trim().replace(/\n/g, '<br />') : ''; return _react2.default.createElement( 'div', { style: styles.notesPanel }, _react2.default.createElement('div', { dangerouslySetInnerHTML: { __html: textAfterFormatted } }) ); } }]); return Notes; }(_react2.default.Component); Notes.propTypes = { channel: _propTypes2.default.object, // eslint-disable-line react/forbid-prop-types api: _propTypes2.default.object // eslint-disable-line react/forbid-prop-types }; Notes.defaultProps = { channel: {}, api: {} }; // Register the addon with a unique name. _addons2.default.register('storybook/notes', function (api) { // Also need to set a unique name to the panel. _addons2.default.addPanel('storybook/notes/panel', { title: 'Notes', render: function render() { return _react2.default.createElement(Notes, { channel: _addons2.default.getChannel(), api: api }); } }); });
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.10/esri/copyright.txt for details. //>>built define(["require","exports","../lib/DefaultVertexAttributeLocations","./sources/resolver"],function(d,a,c,b){Object.defineProperty(a,"__esModule",{value:!0});a.colorPass={name:"measurement-arrow-color",shaders:{vertexShader:b.resolveIncludes("materials/measurementArrow/measurementArrow.vert"),fragmentShader:b.resolveIncludes("materials/measurementArrow/measurementArrow.frag")},attributes:c.Default3D}});
import React from 'react' import { Table, TableHead, TableRow, TableCell, makeStyles } from '@material-ui/core' const useStyles = makeStyles(theme => ({ table: { marginTop: theme.spacing(3), '& thead th': { width: 'auto', fontWeight: '600', color: 'white', backgroundColor: '#03A89E', }, '& tbody td': { fontWeight: '300', }, '& tbody tr:hover': { backgroundColor: '#fffbf2', cursor: 'pointer', }, }, })) export default function useTable(records, headCells){ const classes = useStyles(); const TblContainer = props => ( <Table className={classes.table}> {props.children} </Table> ) const TblHead = props => { return ( <TableHead> <TableRow> { headCells.map(headCell => ( <TableCell key={headCell.id}> {headCell.label} </TableCell>)) } </TableRow> </TableHead>) } return { TblContainer, TblHead, } }
'use strict'; module.exports = { 'name': 'bitXor', 'category': 'Bitwise', 'syntax': ['bitXor(x, y)'], 'description': 'Bitwise XOR operation, exclusive OR. Performs the logical exclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if only the first bit is 1 or only the second bit is 1, but will be 0 if both are 0 or both are 1.', 'examples': ['bitOr(1, 2)', 'bitXor([2, 3, 4], 4)'], 'seealso': ['bitAnd', 'bitNot', 'bitOr', 'leftShift', 'rightArithShift', 'rightLogShift'] };
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Sweetalert2=t()}(this,function(){"use strict";const t="SweetAlert2:",y=e=>e.charAt(0).toUpperCase()+e.slice(1),i=e=>Array.prototype.slice.call(e),a=e=>{console.warn("".concat(t," ").concat("object"==typeof e?e.join(" "):e))},v=e=>{console.error("".concat(t," ").concat(e))},n=[],o=(e,t)=>{e='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),n.includes(e)||(n.push(e),a(e))},w=e=>"function"==typeof e?e():e,C=e=>e&&"function"==typeof e.toPromise,k=e=>C(e)?e.toPromise():Promise.resolve(e),A=e=>e&&Promise.resolve(e)===e,r={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},s=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],c={},P=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],B=e=>Object.prototype.hasOwnProperty.call(r,e),x=e=>-1!==s.indexOf(e),E=e=>c[e],T=e=>{!e.backdrop&&e.allowOutsideClick&&a('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const n in e)t=n,B(t)||a('Unknown parameter "'.concat(t,'"')),e.toast&&(t=n,P.includes(t)&&a('The parameter "'.concat(t,'" is incompatible with toasts'))),t=n,E(t)&&o(t,E(t));var t};var e=e=>{const t={};for(const n in e)t[e[n]]="swal2-"+e[n];return t};const p=e(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),S=e(["success","warning","info","question","error"]),m=()=>document.body.querySelector(".".concat(p.container)),L=e=>{const t=m();return t?t.querySelector(e):null},O=e=>L(".".concat(e)),g=()=>O(p.popup),j=()=>O(p.icon),M=()=>O(p.title),D=()=>O(p["html-container"]),H=()=>O(p.image),I=()=>O(p["progress-steps"]),q=()=>O(p["validation-message"]),V=()=>L(".".concat(p.actions," .").concat(p.confirm)),N=()=>L(".".concat(p.actions," .").concat(p.deny));const R=()=>L(".".concat(p.loader)),F=()=>L(".".concat(p.actions," .").concat(p.cancel)),U=()=>O(p.actions),W=()=>O(p.footer),z=()=>O(p["timer-progress-bar"]),_=()=>O(p.close),K=()=>{const e=i(g().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((e,t)=>{e=parseInt(e.getAttribute("tabindex")),t=parseInt(t.getAttribute("tabindex"));return t<e?1:e<t?-1:0});var t=i(g().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter(e=>"-1"!==e.getAttribute("tabindex"));return(t=>{const n=[];for(let e=0;e<t.length;e++)-1===n.indexOf(t[e])&&n.push(t[e]);return n})(e.concat(t)).filter(e=>ce(e))},Y=()=>$(document.body,p.shown)&&!$(document.body,p["toast-shown"])&&!$(document.body,p["no-backdrop"]),Z=()=>g()&&$(g(),p.toast);function J(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];const n=z();ce(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"},10))}const X={previousBodyPadding:null},l=(t,e)=>{if(t.textContent="",e){const n=new DOMParser,o=n.parseFromString(e,"text/html");i(o.querySelector("head").childNodes).forEach(e=>{t.appendChild(e)}),i(o.querySelector("body").childNodes).forEach(e=>{t.appendChild(e)})}},$=(t,e)=>{if(!e)return!1;var n=e.split(/\s+/);for(let e=0;e<n.length;e++)if(!t.classList.contains(n[e]))return!1;return!0},G=(t,n)=>{i(t.classList).forEach(e=>{Object.values(p).includes(e)||Object.values(S).includes(e)||Object.values(n.showClass).includes(e)||t.classList.remove(e)})},Q=(e,t,n)=>{if(G(e,t),t.customClass&&t.customClass[n]){if("string"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return a("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof t.customClass[n],'"'));u(e,t.customClass[n])}},ee=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(p.popup," > .").concat(p[t]));case"checkbox":return e.querySelector(".".concat(p.popup," > .").concat(p.checkbox," input"));case"radio":return e.querySelector(".".concat(p.popup," > .").concat(p.radio," input:checked"))||e.querySelector(".".concat(p.popup," > .").concat(p.radio," input:first-child"));case"range":return e.querySelector(".".concat(p.popup," > .").concat(p.range," input"));default:return e.querySelector(".".concat(p.popup," > .").concat(p.input))}},te=e=>{var t;e.focus(),"file"!==e.type&&(t=e.value,e.value="",e.value=t)},ne=(e,t,n)=>{e&&t&&(t="string"==typeof t?t.split(/\s+/).filter(Boolean):t).forEach(t=>{Array.isArray(e)?e.forEach(e=>{n?e.classList.add(t):e.classList.remove(t)}):n?e.classList.add(t):e.classList.remove(t)})},u=(e,t)=>{ne(e,t,!0)},oe=(e,t)=>{ne(e,t,!1)},ie=(e,t)=>{var n=i(e.childNodes);for(let e=0;e<n.length;e++)if($(n[e],t))return n[e]},ae=(e,t,n)=>{(n=n==="".concat(parseInt(n))?parseInt(n):n)||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},d=function(e){e.style.display=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"flex"},h=e=>{e.style.display="none"},re=(e,t,n,o)=>{const i=e.querySelector(t);i&&(i.style[n]=o)},se=(e,t,n)=>{t?d(e,n):h(e)},ce=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),le=()=>!ce(V())&&!ce(N())&&!ce(F()),ue=e=>!!(e.scrollHeight>e.clientHeight),de=e=>{const t=window.getComputedStyle(e);var e=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0<e||0<n},pe=()=>"undefined"==typeof window||"undefined"==typeof document,me=100,f={},ge=()=>{f.previousActiveElement&&f.previousActiveElement.focus?(f.previousActiveElement.focus(),f.previousActiveElement=null):document.body&&document.body.focus()},he=o=>new Promise(e=>{if(!o)return e();var t=window.scrollX,n=window.scrollY;f.restoreFocusTimeout=setTimeout(()=>{ge(),e()},me),window.scrollTo(t,n)}),fe='\n <div aria-labelledby="'.concat(p.title,'" aria-describedby="').concat(p["html-container"],'" class="').concat(p.popup,'" tabindex="-1">\n <button type="button" class="').concat(p.close,'"></button>\n <ul class="').concat(p["progress-steps"],'"></ul>\n <div class="').concat(p.icon,'"></div>\n <img class="').concat(p.image,'" />\n <h2 class="').concat(p.title,'" id="').concat(p.title,'"></h2>\n <div class="').concat(p["html-container"],'" id="').concat(p["html-container"],'"></div>\n <input class="').concat(p.input,'" />\n <input type="file" class="').concat(p.file,'" />\n <div class="').concat(p.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(p.select,'"></select>\n <div class="').concat(p.radio,'"></div>\n <label for="').concat(p.checkbox,'" class="').concat(p.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(p.label,'"></span>\n </label>\n <textarea class="').concat(p.textarea,'"></textarea>\n <div class="').concat(p["validation-message"],'" id="').concat(p["validation-message"],'"></div>\n <div class="').concat(p.actions,'">\n <div class="').concat(p.loader,'"></div>\n <button type="button" class="').concat(p.confirm,'"></button>\n <button type="button" class="').concat(p.deny,'"></button>\n <button type="button" class="').concat(p.cancel,'"></button>\n </div>\n <div class="').concat(p.footer,'"></div>\n <div class="').concat(p["timer-progress-bar-container"],'">\n <div class="').concat(p["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),be=()=>{const e=m();return!!e&&(e.remove(),oe([document.documentElement,document.body],[p["no-backdrop"],p["toast-shown"],p["has-column"]]),!0)},ye=()=>{f.currentInstance.resetValidationMessage()},ve=()=>{const e=g(),t=ie(e,p.input),n=ie(e,p.file),o=e.querySelector(".".concat(p.range," input")),i=e.querySelector(".".concat(p.range," output")),a=ie(e,p.select),r=e.querySelector(".".concat(p.checkbox," input")),s=ie(e,p.textarea);t.oninput=ye,n.onchange=ye,a.onchange=ye,r.onchange=ye,s.oninput=ye,o.oninput=()=>{ye(),i.value=o.value},o.onchange=()=>{ye(),o.nextSibling.value=o.value}},we=e=>"string"==typeof e?document.querySelector(e):e,Ce=e=>{const t=g();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},ke=e=>{"rtl"===window.getComputedStyle(e).direction&&u(m(),p.rtl)},Ae=(e,t)=>{if(e instanceof HTMLElement)t.appendChild(e);else if("object"==typeof e){var n=e,o=t;if(n.jquery)Pe(o,n);else l(o,n.toString())}else e&&l(t,e)},Pe=(t,n)=>{if(t.textContent="",0 in n)for(let e=0;e in n;e++)t.appendChild(n[e].cloneNode(!0));else t.appendChild(n.cloneNode(!0))},Be=(()=>{if(pe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})(),xe=(e,t)=>{var n,o,i,a,r,s=U(),c=R();(t.showConfirmButton||t.showDenyButton||t.showCancelButton?d:h)(s),Q(s,t,"actions"),s=s,n=c,o=t,i=V(),a=N(),r=F(),Ee(i,"confirm",o),Ee(a,"deny",o),Ee(r,"cancel",o),function(e,t,n,o){if(!o.buttonsStyling)return oe([e,t,n],p.styled);u([e,t,n],p.styled),o.confirmButtonColor&&(e.style.backgroundColor=o.confirmButtonColor,u(e,p["default-outline"]));o.denyButtonColor&&(t.style.backgroundColor=o.denyButtonColor,u(t,p["default-outline"]));o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor,u(n,p["default-outline"]))}(i,a,r,o),o.reverseButtons&&(o.toast?(s.insertBefore(r,i),s.insertBefore(a,i)):(s.insertBefore(r,n),s.insertBefore(a,n),s.insertBefore(i,n))),l(c,t.loaderHtml),Q(c,t,"loader")};function Ee(e,t,n){se(e,n["show".concat(y(t),"Button")],"inline-block"),l(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=p[t],Q(e,n,"".concat(t,"Button")),u(e,n["".concat(t,"ButtonClass")])}const Te=(e,t)=>{var n,o,i=m();i&&(o=i,"string"==typeof(n=t.backdrop)?o.style.background=n:n||u([document.documentElement,document.body],p["no-backdrop"]),o=i,(n=t.position)in p?u(o,p[n]):(a('The "position" parameter is not valid, defaulting to "center"'),u(o,p.center)),n=i,!(o=t.grow)||"string"!=typeof o||(o="grow-".concat(o))in p&&u(n,p[o]),Q(i,t,"container"))};var b={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Se=["input","file","range","select","radio","checkbox","textarea"],Le=(e,r)=>{const s=g();var t,e=b.innerParams.get(e);const c=!e||r.input!==e.input;Se.forEach(e=>{var t=p[e];const n=ie(s,t);{var o=r.inputAttributes;const i=ee(g(),e);if(i){Oe(i);for(const a in o)i.setAttribute(a,o[a])}}n.className=t,c&&h(n)}),r.input&&(c&&(e=>{if(!He[e.input])return v('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=De(e.input),n=He[e.input](t,e);d(n),setTimeout(()=>{te(n)})})(r),e=r,t=De(e.input),e.customClass&&u(t,e.customClass.input))},Oe=t=>{for(let e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;["type","value","style"].includes(n)||t.removeAttribute(n)}},je=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Me=(e,t,n)=>{if(n.inputLabel){e.id=p.input;const i=document.createElement("label");var o=p["input-label"];i.setAttribute("for",e.id),i.className=o,u(i,n.customClass.inputLabel),i.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",i)}},De=e=>{e=p[e]||p.input;return ie(g(),e)},He={},Ie=(He.text=He.email=He.password=He.number=He.tel=He.url=(e,t)=>("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:A(t.inputValue)||a('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),Me(e,e,t),je(e,t),e.type=t.input,e),He.file=(e,t)=>(Me(e,e,t),je(e,t),e),He.range=(e,t)=>{const n=e.querySelector("input"),o=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,o.value=t.inputValue,Me(n,e,t),e},He.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");l(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return Me(e,e,t),e},He.radio=e=>(e.textContent="",e),He.checkbox=(e,t)=>{const n=ee(g(),"checkbox");n.value="1",n.id=p.checkbox,n.checked=Boolean(t.inputValue);var o=e.querySelector("span");return l(o,t.inputPlaceholder),e},He.textarea=(n,e)=>{n.value=e.inputValue,je(n,e),Me(n,n,e);return setTimeout(()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(g()).width);new MutationObserver(()=>{var e=n.offsetWidth+(e=n,parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight));e>t?g().style.width="".concat(e,"px"):g().style.width=null}).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n},(e,t)=>{const n=D();Q(n,t,"htmlContainer"),t.html?(Ae(t.html,n),d(n,"block")):t.text?(n.textContent=t.text,d(n,"block")):h(n),Le(e,t)}),qe=(e,t)=>{var n=W();se(n,t.footer),t.footer&&Ae(t.footer,n),Q(n,t,"footer")},Ve=(e,t)=>{const n=_();l(n,t.closeButtonHtml),Q(n,t,"closeButton"),se(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)},Ne=(e,t)=>{var e=b.innerParams.get(e),n=j();return e&&t.icon===e.icon?(ze(n,t),void Re(n,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(S).indexOf(t.icon)?(v('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),h(n)):(d(n),ze(n,t),Re(n,t),void u(n,t.showClass.icon)):h(n)},Re=(e,t)=>{for(const n in S)t.icon!==n&&oe(e,S[n]);u(e,S[t.icon]),_e(e,t),Fe(),Q(e,t,"icon")},Fe=()=>{const e=g();var t=window.getComputedStyle(e).getPropertyValue("background-color");const n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},Ue='\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n',We='\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n',ze=(e,t)=>{var n;e.textContent="",t.iconHtml?l(e,Ke(t.iconHtml)):"success"===t.icon?l(e,Ue):"error"===t.icon?l(e,We):(n={question:"?",warning:"!",info:"i"},l(e,Ke(n[t.icon])))},_e=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])re(e,n,"backgroundColor",t.iconColor);re(e,".swal2-success-ring","borderColor",t.iconColor)}},Ke=e=>'<div class="'.concat(p["icon-content"],'">').concat(e,"</div>"),Ye=(e,t)=>{const n=H();if(!t.imageUrl)return h(n);d(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),ae(n,"width",t.imageWidth),ae(n,"height",t.imageHeight),n.className=p.image,Q(n,t,"image")},Ze=(e,o)=>{const i=I();if(!o.progressSteps||0===o.progressSteps.length)return h(i);d(i),i.textContent="",o.currentProgressStep>=o.progressSteps.length&&a("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.progressSteps.forEach((e,t)=>{e=e,n=document.createElement("li"),u(n,p["progress-step"]),l(n,e);var n,e=n;i.appendChild(e),t===o.currentProgressStep&&u(e,p["active-progress-step"]),t!==o.progressSteps.length-1&&(n=(e=>{const t=document.createElement("li");return u(t,p["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t})(o),i.appendChild(n))})},Je=(e,t)=>{const n=M();se(n,t.title||t.titleText,"block"),t.title&&Ae(t.title,n),t.titleText&&(n.innerText=t.titleText),Q(n,t,"title")},Xe=(e,t)=>{var n=m();const o=g();t.toast?(ae(n,"width",t.width),o.style.width="100%",o.insertBefore(R(),j())):ae(o,"width",t.width),ae(o,"padding",t.padding),t.color&&(o.style.color=t.color),t.background&&(o.style.background=t.background),h(q());n=o;(n.className="".concat(p.popup," ").concat(ce(n)?t.showClass.popup:""),t.toast)?(u([document.documentElement,document.body],p["toast-shown"]),u(n,p.toast)):u(n,p.modal);Q(n,t,"popup"),"string"==typeof t.customClass&&u(n,t.customClass);t.icon&&u(n,p["icon-".concat(t.icon)])},$e=(e,t)=>{Xe(e,t),Te(e,t),Ze(e,t),Ne(e,t),Ye(e,t),Je(e,t),Ve(e,t),Ie(e,t),xe(e,t),qe(e,t),"function"==typeof t.didRender&&t.didRender(g())},Ge=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Qe=()=>{const e=i(document.body.children);e.forEach(e=>{e===m()||e.contains(m())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))})},et=()=>{const e=i(document.body.children);e.forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},tt=["swal-title","swal-html","swal-footer"],nt=e=>{const n={};return i(e.querySelectorAll("swal-param")).forEach(e=>{lt(e,["name","value"]);var t=e.getAttribute("name"),e=e.getAttribute("value");"boolean"==typeof r[t]&&"false"===e&&(n[t]=!1),"object"==typeof r[t]&&(n[t]=JSON.parse(e))}),n},ot=e=>{const n={};return i(e.querySelectorAll("swal-button")).forEach(e=>{lt(e,["type","color","aria-label"]);var t=e.getAttribute("type");n["".concat(t,"ButtonText")]=e.innerHTML,n["show".concat(y(t),"Button")]=!0,e.hasAttribute("color")&&(n["".concat(t,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(n["".concat(t,"ButtonAriaLabel")]=e.getAttribute("aria-label"))}),n},it=e=>{const t={},n=e.querySelector("swal-image");return n&&(lt(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},at=e=>{const t={},n=e.querySelector("swal-icon");return n&&(lt(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},rt=e=>{const n={},t=e.querySelector("swal-input");t&&(lt(t,["type","label","placeholder","value"]),n.input=t.getAttribute("type")||"text",t.hasAttribute("label")&&(n.inputLabel=t.getAttribute("label")),t.hasAttribute("placeholder")&&(n.inputPlaceholder=t.getAttribute("placeholder")),t.hasAttribute("value")&&(n.inputValue=t.getAttribute("value")));e=e.querySelectorAll("swal-input-option");return e.length&&(n.inputOptions={},i(e).forEach(e=>{lt(e,["value"]);var t=e.getAttribute("value"),e=e.innerHTML;n.inputOptions[t]=e})),n},st=(e,t)=>{const n={};for(const o in t){const i=t[o],a=e.querySelector(i);a&&(lt(a,[]),n[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},ct=e=>{const t=tt.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);i(e.children).forEach(e=>{e=e.tagName.toLowerCase();-1===t.indexOf(e)&&a("Unrecognized element <".concat(e,">"))})},lt=(t,n)=>{i(t.attributes).forEach(e=>{-1===n.indexOf(e.name)&&a(['Unrecognized attribute "'.concat(e.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(n.length?"Allowed attributes are: ".concat(n.join(", ")):"To set the value, use HTML within the element.")])})};var ut={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function dt(e){(t=e).inputValidator||Object.keys(ut).forEach(e=>{t.input===e&&(t.inputValidator=ut[e])}),e.showLoaderOnConfirm&&!e.preConfirm&&a("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),(n=e).target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(a('Target parameter is not valid, defaulting to "body"'),n.target="body"),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />"));var t,n=e,e=be();if(pe())v("SweetAlert2 requires document to initialize");else{const o=document.createElement("div"),i=(o.className=p.container,e&&u(o,p["no-transition"]),l(o,fe),we(n.target));i.appendChild(o),Ce(n),ke(i),ve()}}class pt{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const mt=()=>{null===X.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(X.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(X.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=p["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},gt=()=>{null!==X.previousBodyPadding&&(document.body.style.paddingRight="".concat(X.previousBodyPadding,"px"),X.previousBodyPadding=null)},ht=()=>{var e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints;if(e&&!$(document.body,p.iosfix)){var t,e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),u(document.body,p.iosfix);{const n=m();let t;n.ontouchstart=e=>{t=ft(e)},n.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}}{const o=navigator.userAgent,i=!!o.match(/iPad/i)||!!o.match(/iPhone/i),a=!!o.match(/WebKit/i),r=i&&a&&!o.match(/CriOS/i);r&&(t=44,g().scrollHeight>window.innerHeight-44&&(m().style.paddingBottom="".concat(44,"px")))}}},ft=e=>{var t,n=e.target,o=m();return!((t=e).touches&&t.touches.length&&"stylus"===t.touches[0].touchType||(t=e).touches&&1<t.touches.length)&&(n===o||!(ue(o)||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||ue(D())&&D().contains(n)))},bt=()=>{var e;$(document.body,p.iosfix)&&(e=parseInt(document.body.style.top,10),oe(document.body,p.iosfix),document.body.style.top="",document.body.scrollTop=-1*e)},yt=10,vt=e=>{const t=g();if(e.target===t){const n=m();t.removeEventListener(Be,vt),n.style.overflowY="auto"}},wt=(e,t)=>{Be&&de(t)?(e.style.overflowY="hidden",t.addEventListener(Be,vt)):e.style.overflowY="auto"},Ct=(e,t,n)=>{ht(),t&&"hidden"!==n&&mt(),setTimeout(()=>{e.scrollTop=0})},kt=(e,t,n)=>{u(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),d(t,"grid"),setTimeout(()=>{u(t,n.showClass.popup),t.style.removeProperty("opacity")},yt),u([document.documentElement,document.body],p.shown),n.heightAuto&&n.backdrop&&!n.toast&&u([document.documentElement,document.body],p["height-auto"])},At=e=>{let t=g();t||new vn,t=g();var n=R();if(Z())h(j());else{var o=t;const i=U(),a=R();!e&&ce(V())&&(e=V());d(i),e&&(h(e),a.setAttribute("data-button-to-replace",e.className));a.parentNode.insertBefore(a,e),u([o,i],p.loading)}d(n),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Pt=(t,n)=>{const o=g(),i=e=>xt[n.input](o,Et(e),n);C(n.inputOptions)||A(n.inputOptions)?(At(V()),k(n.inputOptions).then(e=>{t.hideLoading(),i(e)})):"object"==typeof n.inputOptions?i(n.inputOptions):v("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof n.inputOptions))},Bt=(t,n)=>{const o=t.getInput();h(o),k(n.inputValue).then(e=>{o.value="number"===n.input?parseFloat(e)||0:"".concat(e),d(o),o.focus(),t.hideLoading()}).catch(e=>{v("Error in inputValue promise: ".concat(e)),o.value="",d(o),o.focus(),t.hideLoading()})},xt={select:(e,t,i)=>{const a=ie(e,p.select),r=(e,t,n)=>{const o=document.createElement("option");o.value=n,l(o,t),o.selected=Tt(n,i.inputValue),e.appendChild(o)};t.forEach(e=>{var t=e[0];const n=e[1];if(Array.isArray(n)){const o=document.createElement("optgroup");o.label=t,o.disabled=!1,a.appendChild(o),n.forEach(e=>r(o,e[1],e[0]))}else r(a,n,t)}),a.focus()},radio:(e,t,a)=>{const r=ie(e,p.radio),n=(t.forEach(e=>{var t=e[0],e=e[1];const n=document.createElement("input"),o=document.createElement("label"),i=(n.type="radio",n.name=p.radio,n.value=t,Tt(t,a.inputValue)&&(n.checked=!0),document.createElement("span"));l(i,e),i.className=p.label,o.appendChild(n),o.appendChild(i),r.appendChild(o)}),r.querySelectorAll("input"));n.length&&n[0].focus()}},Et=n=>{const o=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((e,t)=>{let n=e;"object"==typeof n&&(n=Et(n)),o.push([t,n])}):Object.keys(n).forEach(e=>{let t=n[e];"object"==typeof t&&(t=Et(t)),o.push([e,t])}),o},Tt=(e,t)=>t&&t.toString()===e.toString();function St(){var e,t=b.innerParams.get(this);if(t){const n=b.domCache.get(this);h(n.loader),Z()?t.icon&&d(j()):(t=n,(e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"))).length?d(e[0],"inline-block"):le()&&h(t.actions)),oe([n.popup,n.actions],p.loading),n.popup.removeAttribute("aria-busy"),n.popup.removeAttribute("data-loading"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}}var Lt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};function Ot(e,t,n,o){Z()?Ht(e,o):(he(n).then(()=>Ht(e,o)),f.keydownTarget.removeEventListener("keydown",f.keydownHandler,{capture:f.keydownListenerCapture}),f.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),Y()&&(gt(),bt(),et()),oe([document.documentElement,document.body],[p.shown,p["height-auto"],p["no-backdrop"],p["toast-shown"]])}function jt(e){e=void 0!==(n=e)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},n):{isConfirmed:!1,isDenied:!1,isDismissed:!0};const t=Lt.swalPromiseResolve.get(this);var n=(e=>{const t=g();if(!t)return false;const n=b.innerParams.get(e);if(!n||$(t,n.hideClass.popup))return false;oe(t,n.showClass.popup),u(t,n.hideClass.popup);const o=m();return oe(o,n.showClass.backdrop),u(o,n.hideClass.backdrop),Dt(e,t,n),true})(this);this.isAwaitingPromise()?e.isDismissed||(Mt(this),t(e)):n&&t(e)}const Mt=e=>{e.isAwaitingPromise()&&(b.awaitingPromise.delete(e),b.innerParams.get(e)||e._destroy())},Dt=(e,t,n)=>{var o,i,a,r=m(),s=Be&&de(t);"function"==typeof n.willClose&&n.willClose(t),s?(s=e,o=t,t=r,i=n.returnFocus,a=n.didClose,f.swalCloseEventFinishedCallback=Ot.bind(null,s,t,i,a),o.addEventListener(Be,function(e){e.target===o&&(f.swalCloseEventFinishedCallback(),delete f.swalCloseEventFinishedCallback)})):Ot(e,r,n.returnFocus,n.didClose)},Ht=(e,t)=>{setTimeout(()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()})};function It(e,t,n){const o=b.domCache.get(e);t.forEach(e=>{o[e].disabled=n})}function qt(e,t){if(!e)return!1;if("radio"===e.type){const n=e.parentNode.parentNode,o=n.querySelectorAll("input");for(let e=0;e<o.length;e++)o[e].disabled=t}else e.disabled=t}const Vt=e=>{e.isAwaitingPromise()?(Nt(b,e),b.awaitingPromise.set(e,!0)):(Nt(Lt,e),Nt(b,e))},Nt=(e,t)=>{for(const n in e)e[n].delete(t)};e=Object.freeze({hideLoading:St,disableLoading:St,getInput:function(e){var t=b.innerParams.get(e||this);return(e=b.domCache.get(e||this))?ee(e.popup,t.input):null},close:jt,isAwaitingPromise:function(){return!!b.awaitingPromise.get(this)},rejectPromise:function(e){const t=Lt.swalPromiseReject.get(this);Mt(this),t&&t(e)},handleAwaitingPromise:Mt,closePopup:jt,closeModal:jt,closeToast:jt,enableButtons:function(){It(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){It(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return qt(this.getInput(),!1)},disableInput:function(){return qt(this.getInput(),!0)},showValidationMessage:function(e){const t=b.domCache.get(this);var n=b.innerParams.get(this);l(t.validationMessage,e),t.validationMessage.className=p["validation-message"],n.customClass&&n.customClass.validationMessage&&u(t.validationMessage,n.customClass.validationMessage),d(t.validationMessage);const o=this.getInput();o&&(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedby",p["validation-message"]),te(o),u(o,p.inputerror))},resetValidationMessage:function(){var e=b.domCache.get(this);e.validationMessage&&h(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),oe(t,p.inputerror))},getProgressSteps:function(){return b.domCache.get(this).progressSteps},update:function(e){var t=g(),n=b.innerParams.get(this);if(!t||$(t,n.hideClass.popup))return a("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");t=(t=>{const n={};return Object.keys(t).forEach(e=>{if(x(e))n[e]=t[e];else a('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),n})(e),n=Object.assign({},n,t),$e(this,n),b.innerParams.set(this,n),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){var e=b.domCache.get(this);const t=b.innerParams.get(this);t?(e.popup&&f.swalCloseEventFinishedCallback&&(f.swalCloseEventFinishedCallback(),delete f.swalCloseEventFinishedCallback),f.deferDisposalTimer&&(clearTimeout(f.deferDisposalTimer),delete f.deferDisposalTimer),"function"==typeof t.didDestroy&&t.didDestroy(),e=this,Vt(e),delete e.params,delete f.keydownHandler,delete f.keydownTarget,delete f.currentInstance):Vt(this)}});const Rt=(e,t)=>{var n=b.innerParams.get(e);if(!n.input)return v('The "input" parameter is needed to be set when using returnInputValueOn'.concat(y(t)));var o=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return n.checked?1:0;case"radio":return(o=n).checked?o.value:null;case"file":return(o=n).files.length?null!==o.getAttribute("multiple")?o.files:o.files[0]:null;default:return t.inputAutoTrim?n.value.trim():n.value}var o})(e,n);if(n.inputValidator){var i=e;var a=o;var r=t;const s=b.innerParams.get(i),c=(i.disableInput(),Promise.resolve().then(()=>k(s.inputValidator(a,s.validationMessage))));c.then(e=>{i.enableButtons(),i.enableInput(),e?i.showValidationMessage(e):("deny"===r?Ft:zt)(i,a)})}else e.getInput().checkValidity()?("deny"===t?Ft:zt)(e,o):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},Ft=(t,n)=>{const e=b.innerParams.get(t||void 0);if(e.showLoaderOnDeny&&At(N()),e.preDeny){b.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=>k(e.preDeny(n,e.validationMessage)));o.then(e=>{!1===e?(t.hideLoading(),Mt(t)):t.closePopup({isDenied:!0,value:void 0===e?n:e})}).catch(e=>Wt(t||void 0,e))}else t.closePopup({isDenied:!0,value:n})},Ut=(e,t)=>{e.closePopup({isConfirmed:!0,value:t})},Wt=(e,t)=>{e.rejectPromise(t)},zt=(t,n)=>{const e=b.innerParams.get(t||void 0);if(e.showLoaderOnConfirm&&At(),e.preConfirm){t.resetValidationMessage(),b.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=>k(e.preConfirm(n,e.validationMessage)));o.then(e=>{ce(q())||!1===e?(t.hideLoading(),Mt(t)):Ut(t,void 0===e?n:e)}).catch(e=>Wt(t||void 0,e))}else Ut(t,n)},_t=(n,e,o)=>{e.popup.onclick=()=>{var e,t=b.innerParams.get(n);t&&((e=t).showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||t.timer||t.input)||o(Ge.close)}};let Kt=!1;const Yt=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(Kt=!0)}}},Zt=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||(Kt=!0)}}},Jt=(n,o,i)=>{o.container.onclick=e=>{var t=b.innerParams.get(n);Kt?Kt=!1:e.target===o.container&&w(t.allowOutsideClick)&&i(Ge.backdrop)}};const Xt=()=>V()&&V().click();const $t=(e,t,n)=>{const o=K();if(o.length)return(t+=n)===o.length?t=0:-1===t&&(t=o.length-1),o[t].focus();g().focus()},Gt=["ArrowRight","ArrowDown"],Qt=["ArrowLeft","ArrowUp"],en=(e,n,o)=>{var i=b.innerParams.get(e);if(i&&(!n.isComposing&&229!==n.keyCode))if(i.stopKeydownPropagation&&n.stopPropagation(),"Enter"===n.key)e=e,a=n,t=i,w(t.allowEnterKey)&&a.target&&e.getInput()&&a.target.outerHTML===e.getInput().outerHTML&&(["textarea","file"].includes(t.input)||(Xt(),a.preventDefault()));else if("Tab"!==n.key){if([...Gt,...Qt].includes(n.key)){e=n.key;const s=V(),c=N(),l=F();if([s,c,l].includes(document.activeElement)){var u=Gt.includes(e)?"nextElementSibling":"previousElementSibling";let t=document.activeElement;for(let e=0;e<U().children.length;e++){if(!(t=t[u]))return;if(ce(t)&&t instanceof HTMLButtonElement)break}t instanceof HTMLButtonElement&&t.focus()}}else if("Escape"===n.key){var t=n,a=i,e=o;if(w(a.allowEscapeKey)){t.preventDefault();e(Ge.esc)}}}else{o=n;e=i;var d=o.target,r=K();let t=-1;for(let e=0;e<r.length;e++)if(d===r[e]){t=e;break}o.shiftKey?$t(e,t,-1):$t(e,t,1);o.stopPropagation(),o.preventDefault()}},tn=e=>"object"==typeof e&&e.jquery,nn=e=>e instanceof Element||tn(e);const on=()=>{if(f.timeout){{const n=z();var e=parseInt(window.getComputedStyle(n).width),t=(n.style.removeProperty("transition"),n.style.width="100%",parseInt(window.getComputedStyle(n).width)),e=e/t*100;n.style.removeProperty("transition"),n.style.width="".concat(e,"%")}return f.timeout.stop()}},an=()=>{var e;if(f.timeout)return e=f.timeout.start(),J(e),e};let rn=!1;const sn={};const cn=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const o in sn){var n=e.getAttribute(o);if(n)return void sn[o].fire({template:n})}};var ln=Object.freeze({isValidParameter:B,isUpdatableParameter:x,isDeprecatedParameter:E,argsToParams:n=>{const o={};return"object"!=typeof n[0]||nn(n[0])?["title","html","icon"].forEach((e,t)=>{t=n[t];"string"==typeof t||nn(t)?o[e]=t:void 0!==t&&v("Unexpected type of ".concat(e,'! Expected "string" or "Element", got ').concat(typeof t))}):Object.assign(o,n[0]),o},isVisible:()=>ce(g()),clickConfirm:Xt,clickDeny:()=>N()&&N().click(),clickCancel:()=>F()&&F().click(),getContainer:m,getPopup:g,getTitle:M,getHtmlContainer:D,getImage:H,getIcon:j,getInputLabel:()=>O(p["input-label"]),getCloseButton:_,getActions:U,getConfirmButton:V,getDenyButton:N,getCancelButton:F,getLoader:R,getFooter:W,getTimerProgressBar:z,getFocusableElements:K,getValidationMessage:q,isLoading:()=>g().hasAttribute("data-loading"),fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new this(...t)},mixin:function(n){class e extends this{_main(e,t){return super._main(e,Object.assign({},n,t))}}return e},showLoading:At,enableLoading:At,getTimerLeft:()=>f.timeout&&f.timeout.getTimerLeft(),stopTimer:on,resumeTimer:an,toggleTimer:()=>{var e=f.timeout;return e&&(e.running?on:an)()},increaseTimer:e=>{if(f.timeout)return e=f.timeout.increase(e),J(e,!0),e},isTimerRunning:()=>f.timeout&&f.timeout.isRunning(),bindClickHandler:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"data-swal-template";sn[e]=this,rn||(document.body.addEventListener("click",cn),rn=!0)}});let un;class dn{constructor(){if("undefined"!=typeof window){un=this;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object.freeze(this.constructor.argsToParams(t)),o=(Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}}),this._main(this.params));b.promise.set(this,o)}}_main(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=(T(Object.assign({},t,e)),f.currentInstance&&(f.currentInstance._destroy(),Y()&&et()),f.currentInstance=this,mn(e,t)),t=(dt(e),Object.freeze(e),f.timeout&&(f.timeout.stop(),delete f.timeout),clearTimeout(f.restoreFocusTimeout),gn(this));return $e(this,e),b.innerParams.set(this,e),pn(this,t,e)}then(e){const t=b.promise.get(this);return t.then(e)}finally(e){const t=b.promise.get(this);return t.finally(e)}}const pn=(l,u,d)=>new Promise((e,t)=>{const n=e=>{l.closePopup({isDismissed:!0,dismiss:e})};var o,i,a;Lt.swalPromiseResolve.set(l,e),Lt.swalPromiseReject.set(l,t),u.confirmButton.onclick=()=>{var e=l,t=b.innerParams.get(e);e.disableButtons(),t.input?Rt(e,"confirm"):zt(e,!0)},u.denyButton.onclick=()=>{var e=l,t=b.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Rt(e,"deny"):Ft(e,!1)},u.cancelButton.onclick=()=>{var e=l,t=n;e.disableButtons(),t(Ge.cancel)},u.closeButton.onclick=()=>n(Ge.close),e=l,t=u,a=n,b.innerParams.get(e).toast?_t(e,t,a):(Yt(t),Zt(t),Jt(e,t,a)),o=l,e=f,t=d,i=n,e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),t.toast||(e.keydownHandler=e=>en(o,e,i),e.keydownTarget=t.keydownListenerCapture?window:g(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0),a=l,"select"===(t=d).input||"radio"===t.input?Pt(a,t):["text","email","number","tel","textarea"].includes(t.input)&&(C(t.inputValue)||A(t.inputValue))&&(At(V()),Bt(a,t));{var r=d;const s=m(),c=g();"function"==typeof r.willOpen&&r.willOpen(c),e=window.getComputedStyle(document.body).overflowY,kt(s,c,r),setTimeout(()=>{wt(s,c)},yt),Y()&&(Ct(s,r.scrollbarPadding,e),Qe()),Z()||f.previousActiveElement||(f.previousActiveElement=document.activeElement),"function"==typeof r.didOpen&&setTimeout(()=>r.didOpen(c)),oe(s,p["no-transition"])}hn(f,d,n),fn(u,d),setTimeout(()=>{u.container.scrollTop=0})}),mn=(e,t)=>{var n=(e=>{e="string"==typeof e.template?document.querySelector(e.template):e.template;if(!e)return{};e=e.content,ct(e),e=Object.assign(nt(e),ot(e),it(e),at(e),rt(e),st(e,tt));return e})(e);const o=Object.assign({},r,t,n,e);return o.showClass=Object.assign({},r.showClass,o.showClass),o.hideClass=Object.assign({},r.hideClass,o.hideClass),o},gn=e=>{var t={popup:g(),container:m(),actions:U(),confirmButton:V(),denyButton:N(),cancelButton:F(),loader:R(),closeButton:_(),validationMessage:q(),progressSteps:I()};return b.domCache.set(e,t),t},hn=(e,t,n)=>{var o=z();h(o),t.timer&&(e.timeout=new pt(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(d(o),Q(o,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&J(t.timer)})))},fn=(e,t)=>{if(!t.toast)return w(t.allowEnterKey)?void(bn(e,t)||$t(t,-1,1)):yn()},bn=(e,t)=>t.focusDeny&&ce(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ce(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ce(e.confirmButton))&&(e.confirmButton.focus(),!0),yn=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},vn=(Object.assign(dn.prototype,e),Object.assign(dn,ln),Object.keys(e).forEach(e=>{dn[e]=function(){if(un)return un[e](...arguments)}}),dn.DismissReason=Ge,dn.version="11.4.4",dn);return vn.default=vn}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);
var spawn = require('child_process').spawn; // Child will use parent's stdios spawn('ls', [], { stdio: 'inherit' }); // Spawn child sharing only stderr spawn('ls', [], { stdio: ['pipe', 'pipe', process.stderr] }); // Open an extra fd=4, to interact with programs present a // startd-style interface. spawn('ls', [], { stdio: ['pipe', null, null, null, 'pipe'] });
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","sr",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Опште",items:[{name:"Editor Toolbar",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT+TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"Editor Dialog",legend:"Inside a dialog, press TAB to navigate to the next dialog element, press SHIFT+TAB to move to the previous dialog element, press ENTER to submit the dialog, press ESC to cancel the dialog. When a dialog has multiple tabs, the tab list can be reached either with ALT+F10 or with TAB as part of the dialog tabbing order. With tab list focused, move to the next and previous tab with RIGHT and LEFT ARROW, respectively."}, {name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."}, {name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"Commands",items:[{name:" Undo command",legend:"Press ${undo}"},{name:" Redo command",legend:"Press ${redo}"},{name:" Bold command",legend:"Press ${bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command", legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Access previous focus space command",legend:"Press ${accessPreviousSpace} to access the closest unreachable focus space before the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."},{name:" Access next focus space command",legend:"Press ${accessNextSpace} to access the closest unreachable focus space after the caret, for example: two adjacent HR elements. Repeat the key combination to reach distant focus spaces."}, {name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}],tab:"Tab",pause:"Pause",capslock:"Caps Lock",escape:"Escape",pageUp:"Page Up",pageDown:"Page Down",leftArrow:"Left Arrow",upArrow:"Up Arrow",rightArrow:"Right Arrow",downArrow:"Down Arrow",insert:"Insert",leftWindowKey:"Left Windows key",rightWindowKey:"Right Windows key",selectKey:"Select key",numpad0:"Numpad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7", numpad8:"Numpad 8",numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num Lock",scrollLock:"Scroll Lock",semiColon:"Semicolon",equalSign:"Equal Sign",comma:"Comma",dash:"Dash",period:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",backSlash:"Backslash",closeBracket:"Close Bracket",singleQuote:"Single Quote"});
/* * Copyright (c) 2013-2015 node-coap contributors. * * node-coap is licensed under an MIT +no-false-attribs license. * All rights not explicitly granted in the MIT license are reserved. * See the included LICENSE file for more details. */ var coap = require('../') , parse = require('coap-packet').parse , generate = require('coap-packet').generate , dgram = require('dgram') , bl = require('bl') , request = coap.request , tk = require('timekeeper') , sinon = require('sinon') , params = require('../lib/parameters') , events = require('events') describe('server', function() { var server , port , clientPort , client , clock beforeEach(function(done) { clock = sinon.useFakeTimers() port = nextPort() server = coap.createServer() server.listen(port, done) }) beforeEach(function(done) { clientPort = nextPort() client = dgram.createSocket('udp4') client.bind(clientPort, done) }) afterEach(function() { clock.restore() client.close() server.close() tk.reset() }) function send(message) { client.send(message, 0, message.length, port, '127.0.0.1') } function fastForward(increase, max) { clock.tick(increase) if (increase < max) setImmediate(fastForward.bind(null, increase, max - increase)) } it('should receive a CoAP message', function(done) { send(generate()) server.on('request', function(req, res) { done() }) }) it('should listen when listen() has no argument ', function(done) { port = 5683 server.close() // refresh server = coap.createServer() server.on('request', function(req, res) { done() }) server.listen() send(generate()) }) it('should use a custom socket passed to listen()', function(done) { port = 5683 server.close() // refresh server = coap.createServer() server.on('request', function(req, res) { done() }) let sock = new events.EventEmitter() sock.send = function () { } server.listen(sock, function() { expect(server._sock).to.eql(sock) sock.emit('message', generate(), { address: '127.0.0.1', port: nextPort() }) }) }) it('should use the listener passed as a parameter in the creation', function(done) { port = 5683 server.close() // refresh server = coap.createServer({}, function(req, res) { done() }) server.listen() send(generate()) }) it('should listen by default to 5683', function(done) { server.close() // we need to change port server = coap.createServer() port = 5683 server.listen(function() { send(generate()) }) server.on('request', function(req, res) { done() }) }) it('should receive a request that can be piped', function(done) { var buf = Buffer.alloc(25) send(generate({ payload: buf })) server.on('request', function(req, res) { req.pipe(bl(function(err, data) { expect(data).to.eql(buf) done() })) }) }) it('should expose the payload', function(done) { var buf = Buffer.alloc(25) send(generate({ payload: buf })) server.on('request', function(req, res) { expect(req.payload).to.eql(buf) done() }) }) it('should include an URL in the request', function(done) { var buf = Buffer.alloc(25) send(generate({ payload: buf })) server.on('request', function(req, res) { expect(req).to.have.property('url', '/') done() }) }) it('should include the code', function(done) { var buf = Buffer.alloc(25) send(generate({ payload: buf })) server.on('request', function(req, res) { expect(req).to.have.property('code', '0.01') done() }) }) it('should include a rsinfo', function(done) { send(generate()) server.on('request', function(req, res) { expect(req).to.have.property('rsinfo') expect(req.rsinfo).to.have.property('address') expect(req.rsinfo).to.have.property('port') res.end('hello') done() }) }) ;['GET', 'POST', 'PUT', 'DELETE'].forEach(function(method) { it('should include the \'' + method + '\' method', function(done) { send(generate({ code: method })) server.on('request', function(req, res) { expect(req).to.have.property('method', method) done() }) }) }) it('should include the path in the URL', function(done) { send(generate({ options: [{ name: 'Uri-Path' , value: Buffer.from('hello') }, { name: 'Uri-Path' , value: Buffer.from('world') }] })) server.on('request', function(req, res) { expect(req).to.have.property('url', '/hello/world') done() }) }) it('should include the query in the URL', function(done) { send(generate({ options: [{ name: 'Uri-Query' , value: Buffer.from('a=b') }, { name: 'Uri-Query' , value: Buffer.from('b=c') }] })) server.on('request', function(req, res) { expect(req).to.have.property('url', '/?a=b&b=c') done() }) }) it('should include the path and the query in the URL', function(done) { send(generate({ options: [{ name: 'Uri-Query' , value: Buffer.from('a=b') }, { name: 'Uri-Query' , value: Buffer.from('b=c') }, { name: 'Uri-Path' , value: Buffer.from('hello') }, { name: 'Uri-Path' , value: Buffer.from('world') }] })) server.on('request', function(req, res) { expect(req).to.have.property('url', '/hello/world?a=b&b=c') done() }) }) it('should expose the options', function(done) { var options = [{ name: '555' , value: Buffer.alloc(45) }] send(generate({ options: options })) server.on('request', function(req, res) { expect(req.options).to.eql(options) done() }) }) it('should include a reset() function in the response', function(done) { var buf = Buffer.alloc(25) var tok = Buffer.alloc(4) send(generate({ payload: buf, token: tok })) client.on('message', function(msg, rinfo) { var result = parse(msg) expect(result.code).to.eql('0.00') expect(result.reset).to.eql(true) expect(result.ack).to.eql(false) expect(result.token.length).to.eql(0) expect(result.payload.length).to.eql(0) done() }); server.on('request', function(req, res) { res.reset() }) }) it('should only close once', function(done){ server.close(function(){ server.close(done) }) }) it('should not overwrite existing socket', function(done){ var initial_sock = server._sock server.listen(nextPort(), function(err){ expect(err.message).to.eql('Already listening') expect(server._sock).to.eql(initial_sock) done() }) }) var formatsString = { 'text/plain': Buffer.of(0) , 'application/link-format': Buffer.of(40) , 'application/xml': Buffer.of(41) , 'application/octet-stream': Buffer.of(42) , 'application/exi': Buffer.of(47) , 'application/json': Buffer.of(50) , 'application/cbor': Buffer.of(60) } describe('with the \'Content-Format\' header in the request', function() { function buildTest(option, format, value) { it('should parse \'' + option + ': ' + format + '\'', function(done) { send(generate({ options: [{ name: option , value: value }] })) server.on('request', function(req) { expect(req.options[0].value).to.eql(format) done() }) }) it('should include \'' + option + ': ' + format + '\' in the headers', function(done) { send(generate({ options: [{ name: option , value: value }] })) server.on('request', function(req) { expect(req.headers).to.have.property(option, format) done() }) }) } for (var format in formatsString) { buildTest('Content-Format', format, formatsString[format]) buildTest('Accept', format, formatsString[format]) } }) describe('with the \'Content-Format\' header and a wrong value in the request', function() { it('should return a 5.00 error to the cliend', function(done) { send(generate({ options: [{ name: 'Content-Format' , value: Buffer.of(1541) }] })) client.on('message', function(msg) { var response = parse(msg); expect(response.code).to.equal('5.00') expect(response.payload.toString()).to.equal('No matching format found') done() }) server.on('request', function(req) { assert(false, 'This should not happen') }) }) }) describe('with a non-confirmable message', function() { var packet = { confirmable: false , messageId: 4242 , token: Buffer.alloc(5) } function sendAndRespond(status) { send(generate(packet)) server.on('request', function(req, res) { if (status) { res.statusCode = status } res.end('42') }) } it('should reply with a payload to a NON message', function(done) { sendAndRespond() client.on('message', function(msg) { expect(parse(msg).payload).to.eql(Buffer.from('42')) done() }) }) it('should include the original messageId', function(done) { sendAndRespond() client.on('message', function(msg) { expect(parse(msg).messageId).to.eql(4242) done() }) }) it('should include the token', function(done) { sendAndRespond() client.on('message', function(msg) { expect(parse(msg).token).to.eql(packet.token) done() }) }) it('should respond with a different code', function(done) { sendAndRespond('2.04') client.on('message', function(msg) { expect(parse(msg).code).to.eql('2.04') done() }) }) it('should respond with a numeric code', function(done) { sendAndRespond(204) client.on('message', function(msg) { expect(parse(msg).code).to.eql('2.04') done() }) }) it('should allow to add an option', function(done) { var buf = Buffer.alloc(3) send(generate(packet)) server.on('request', function(req, res) { res.setOption('ETag', buf) res.end('42') }) client.on('message', function(msg) { expect(parse(msg).options[0].name).to.eql('ETag') expect(parse(msg).options[0].value).to.eql(buf) done() }) }) it('should overwrite the option', function(done) { var buf = Buffer.alloc(3) send(generate(packet)) server.on('request', function(req, res) { res.setOption('ETag', Buffer.alloc(3)) res.setOption('ETag', buf) res.end('42') }) client.on('message', function(msg) { expect(parse(msg).options[0].value).to.eql(buf) done() }) }) it('should alias setOption to setHeader', function(done) { send(generate(packet)) server.on('request', function(req, res) { res.setHeader('ETag', 'hello world') res.end('42') }) client.on('message', function(msg) { expect(parse(msg).options[0].name).to.eql('ETag') expect(parse(msg).options[0].value).to.eql(Buffer.from('hello world')) done() }) }) it('should set multiple options', function(done) { var buf1 = Buffer.alloc(3) , buf2 = Buffer.alloc(3) send(generate(packet)) server.on('request', function(req, res) { res.setOption('433', [buf1, buf2]) res.end('42') }) client.on('message', function(msg) { expect(parse(msg).options[0].value).to.eql(buf1) expect(parse(msg).options[1].value).to.eql(buf2) done() }) }) it('should calculate the response only once', function(done) { send(generate(packet)) send(generate(packet)) server.on('request', function(req, res) { res.end('42') // this will error if called twice done() }) }) it('should calculate the response twice after the interval', function(done) { var first = true var delay = (params.exchangeLifetime * 1000)+1 server.on('request', function(req, res) { var now = Date.now() if (first) { res.end('42') first = false setTimeout(function() { send(generate(packet)) }, delay) fastForward(100, delay) } else { res.end('24') done() } }) send(generate(packet)) }) it('should include \'ETag\' in the response options', function(done) { send(generate()) server.on('request', function(req, res) { res.setOption('ETag', 'abcdefgh') res.end('42') }) client.on('message', function(msg, rsinfo) { expect(parse(msg).options[0].name).to.eql('ETag') expect(parse(msg).options[0].value).to.eql(Buffer.from('abcdefgh')) done() }) }) it('should include \'Content-Format\' in the response options', function(done) { send(generate()) server.on('request', function(req, res) { res.setOption('Content-Format', 'text/plain') res.end('42') }) client.on('message', function(msg, rsinfo) { expect(parse(msg).options[0].name).to.eql('Content-Format') expect(parse(msg).options[0].value).to.eql(Buffer.of(0)) done() }) }) it('should reply with a \'5.00\' if it cannot parse the packet', function(done) { send(Buffer.alloc(3)) client.on('message', function(msg) { expect(parse(msg).code).to.eql('5.00') done() }) }) it('should not retry sending the response', function(done) { var messages = 0 send(generate(packet)) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { messages++ }) setTimeout(function() { expect(messages).to.eql(1) done() }, 45 * 1000) fastForward(100, 45 * 1000) }) }) describe('with a confirmable message', function() { var packet = { confirmable: true , messageId: 4242 , token: Buffer.alloc(5) } it('should reply in piggyback', function(done) { send(generate(packet)) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { var response = parse(msg) expect(response.ack).to.be.true expect(response.messageId).to.eql(packet.messageId) expect(response.payload).to.eql(Buffer.from('42')) done() }) }) it('should ack the message if it does not reply in 50ms', function(done) { send(generate(packet)) client.once('message', function(msg) { var response = parse(msg) expect(response.ack).to.be.true expect(response.code).to.eql('0.00') expect(response.messageId).to.eql(packet.messageId) expect(response.payload).to.eql(Buffer.alloc(0)) done() }) fastForward(10, 1000) }) it('should reply with a confirmable after an ack', function(done) { send(generate(packet)) server.on('request', function(req, res) { setTimeout(function() { res.end('42') }, 200) }) client.once('message', function(msg) { var response = parse(msg) expect(response.ack).to.be.true client.once('message', function(msg) { var response = parse(msg) expect(response.confirmable).to.be.true expect(response.messageId).not.to.eql(packet.messageId) done() }) }) fastForward(100, 1000) }) it('should retry sending the response if it does not receive an ack four times before 45s', function(done) { var messages = 0 send(generate(packet)) server.on('request', function(req, res) { setTimeout(function() { res.end('42') }, 200) }) client.once('message', function(msg) { client.on('message', function(msg) { messages++ }) }) setTimeout(function() { // original one plus 4 retries expect(messages).to.eql(5) done() }, 45 * 1000) fastForward(100, 45 * 1000) }) it('should stop resending after it receives an ack', function(done) { var messages = 0 send(generate(packet)) server.on('request', function(req, res) { setTimeout(function() { res.end('42') }, 200) }) client.once('message', function(msg) { client.on('message', function(msg) { var res = parse(msg) send(generate({ code: '0.00' , messageId: res.messageId , ack: true })) messages++ }) }) setTimeout(function() { expect(messages).to.eql(1) done() }, 45 * 1000) fastForward(100, 45 * 1000) }) it('should not resend with a piggyback response', function(done) { var messages = 0 send(generate(packet)) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { messages++ }) setTimeout(function() { expect(messages).to.eql(1) done() }, 45 * 1000) fastForward(100, 45 * 1000) }) it('should error if it does not receive an ack four times before ~247s', function(done) { var messages = 0 send(generate(packet)) server.on('request', function(req, res) { // needed to avoid sending a piggyback response setTimeout(function() { res.end('42') }, 200) res.on('error', function(err) { expect(err).to.have.property('retransmitTimeout', 247) done() }) }) fastForward(100, 250 * 1000) }) }) describe('close', function() { it('should emit "close" event when closed', function() { var stub = sinon.stub() server.on('close', stub) server.close() expect(stub.callCount).to.equal(1) }) it('should only emit "close" if the server has not already been closed', function() { var stub = sinon.stub() server.on('close', stub) server.close() server.close() expect(stub.callCount).to.equal(1) }) }) describe('observe', function() { var token = Buffer.alloc(3) function doObserve(method) { if (!method) method = 'GET' send(generate({ code: method , confirmable: true , token: token , options: [{ name: 'Observe' , value: Buffer.alloc(0) }] })) } ['PUT', 'POST', 'DELETE'].forEach(function(method) { it('should return an error when try to observe in a ' + method, function(done) { doObserve(method) server.on('request', function() { done(new Error('A request should not be emitted')) }) client.on('message', function(msg) { expect(parse(msg).code).to.eql('5.00') done() }) }) }) it('should include a rsinfo', function(done) { doObserve() server.on('request', function(req, res) { expect(req).to.have.property('rsinfo') expect(req.rsinfo).to.have.property('address') expect(req.rsinfo).to.have.property('port') res.end('hello') done() }) }) it('should emit a request with \'Observe\' in the headers', function(done) { doObserve() server.on('request', function(req, res) { expect(req.headers).to.have.property('Observe') res.end('hello') done() }) }) it('should send multiple messages for multiple writes', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { res.write('hello') setImmediate(function() { res.end('world') }) }) // the first one is an ack client.once('message', function(msg) { expect(parse(msg).payload.toString()).to.eql('hello') expect(parse(msg).options[0].name).to.eql('Observe') expect(parse(msg).options[0].value).to.eql(Buffer.of(1)) expect(parse(msg).token).to.eql(token) expect(parse(msg).code).to.eql('2.05') expect(parse(msg).ack).to.be.true client.once('message', function(msg) { expect(parse(msg).payload.toString()).to.eql('world') expect(parse(msg).options[0].name).to.eql('Observe') expect(parse(msg).options[0].value).to.eql(Buffer.of(2)) expect(parse(msg).token).to.eql(token) expect(parse(msg).code).to.eql('2.05') expect(parse(msg).ack).to.be.false expect(parse(msg).confirmable).to.be.true done() }) }) }) it('should emit a \'finish\' if the client do not ack for ~247s', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { // the first is the current status // it's in piggyback on the ack res.write('hello') // the second status is on the observe res.write('hello2') res.on('finish', function() { done() }) }) fastForward(100, 248 * 1000) }) it('should emit a \'finish\' if the client do a reset', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { res.write('hello') res.write('world') res.on('finish', function() { done() }) }) client.on('message', function(msg) { var packet = parse(msg) send(generate({ reset: true , messageId: packet.messageId , code: '0.00' })) }) }) it('should send a \'RST\' to the client if the msg.reset() method is invoked', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { res.reset() }) client.on('message', function(msg) { var result = parse(msg) expect(result.code).to.eql('0.00') expect(result.reset).to.eql(true) expect(result.ack).to.eql(false) expect(result.payload.length).to.eql(0) done(); }) }) it('should correctly generate two-byte long sequence numbers', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { // hack to override the message counter res._counter = 4242 res.write('hello') setImmediate(function() { res.end('world') }) }) // the first one is an ack client.once('message', function(msg) { expect(parse(msg).options[0].value).to.eql(Buffer.of(0x10, 0x93)) client.once('message', function(msg) { expect(parse(msg).options[0].value).to.eql(Buffer.of(0x10, 0x94)) done() }) }) }) it('should correctly generate three-byte long sequence numbers', function(done) { var now = Date.now() doObserve() server.on('request', function(req, res) { // hack to override the message counter res._counter = 65535 res.write('hello') setImmediate(function() { res.end('world') }) }) // the first one is an ack client.once('message', function(msg) { expect(parse(msg).options[0].value).to.eql(Buffer.of(1, 0, 0)) client.once('message', function(msg) { expect(parse(msg).options[0].value).to.eql(Buffer.of(1, 0, 1)) done() }) }) }) }) describe('multicast', function() { var port = nextPort() , reqCount = 0 it('receive CoAp message', function(done) { var server = coap.createServer({ multicastAddress: '224.0.1.2' }) server.listen(port) server.on('request', function(msg) { done() }) var req = request({ host: '224.0.1.2' , port: port , multicast: true }).end() }) }) }) describe('validate custom server options', function() { var server var port var client var clientPort beforeEach(function(done) { port = nextPort() clientPort = nextPort() client = dgram.createSocket('udp4') client.bind(clientPort, done) }) afterEach(function() { client.close() server.close() }) function send(message) { client.send(message, 0, message.length, port, '127.0.0.1') } it('use custom piggyBackTimeout time', function(done) { var piggyBackTimeout = 10 var messages = 0; server = coap.createServer({ piggybackReplyMs: piggyBackTimeout }) server.listen(port) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { messages++ }) send(Buffer.alloc(3)) setTimeout(function() { expect(messages).to.eql(1) expect(server._options.piggybackReplyMs).to.eql(piggyBackTimeout) done() }, piggyBackTimeout + 10) }) it('use default piggyBackTimeout time (50ms)', function(done) { server = coap.createServer() expect(server._options.piggybackReplyMs).to.eql(50) done() }) it('ignore invalid piggyBackTimeout time and use default (50ms)', function(done) { server = coap.createServer({ piggybackReplyMs: 'foo' }) expect(server._options.piggybackReplyMs).to.eql(50) done() }) it('use default sendAcksForNonConfirmablePackets', function(done) { server = coap.createServer() expect(server._options.sendAcksForNonConfirmablePackets).to.eql(true) done() }) it('define sendAcksForNonConfirmablePackets: true', function(done) { server = coap.createServer({ sendAcksForNonConfirmablePackets: true }) expect(server._options.sendAcksForNonConfirmablePackets).to.eql(true) done() }) it('define sendAcksForNonConfirmablePackets: false', function(done) { server = coap.createServer({ sendAcksForNonConfirmablePackets: false }) expect(server._options.sendAcksForNonConfirmablePackets).to.eql(false) done() }) it('define invalid sendAcksForNonConfirmablePackets setting', function(done) { server = coap.createServer({ sendAcksForNonConfirmablePackets: 'moo' }) expect(server._options.sendAcksForNonConfirmablePackets).to.eql(true) done() }) function sendNonConfirmableMessage() { var packet = { confirmable: false , messageId: 4242 , token: Buffer.alloc(5) } send(generate(packet)) } function sendConfirmableMessage() { var packet = { confirmable: true , messageId: 4242 , token: Buffer.alloc(5) } send(generate(packet)) } it('should send ACK for non-confirmable message, sendAcksForNonConfirmablePackets=true', function(done) { var messages = 0; server = coap.createServer({ sendAcksForNonConfirmablePackets: true }) server.listen(port) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { done() }) sendNonConfirmableMessage() }) it('should not send ACK for non-confirmable message, sendAcksForNonConfirmablePackets=false', function(done) { var messages = 0; server = coap.createServer({ sendAcksForNonConfirmablePackets: false }) server.listen(port) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { messages++ }) sendNonConfirmableMessage() setTimeout(function() { expect(messages).to.eql(0) done() }, 30) }) it('should send ACK for confirmable message, sendAcksForNonConfirmablePackets=true', function(done) { var messages = 0; server = coap.createServer({ sendAcksForNonConfirmablePackets: true }) server.listen(port) server.on('request', function(req, res) { res.end('42') }) client.on('message', function(msg) { done(); }) sendConfirmableMessage() }) }) describe('server LRU', function() { var server , port , clientPort , client , clock var packet = { confirmable: true , messageId: 4242 , token: Buffer.alloc(5) } beforeEach(function (done) { clock = sinon.useFakeTimers() port = nextPort() server = coap.createServer() server.listen(port, done) }) beforeEach(function (done) { clientPort = nextPort() client = dgram.createSocket('udp4') client.bind(clientPort, done) }) afterEach(function () { clock.restore() client.close() server.close() tk.reset() }) function send(message) { client.send(message, 0, message.length, port, '127.0.0.1') } it('should remove old packets after < exchangeLifetime x 1.5', function (done) { var messages = 0 send(generate(packet)) server.on('request', function (req, res) { var now = Date.now() res.end() expect(server._lru.itemCount, 1) clock.tick(params.exchangeLifetime * 500) expect(server._lru.itemCount, 1) clock.tick(params.exchangeLifetime * 1000) expect(server._lru.itemCount, 0) done() }) }) })
// ------- Imports ------------------------------------------------------------- import logger from 'winston'; // ------- Internal imports ---------------------------------------------------- import { Incident } from '../models/Incident'; // ------- IncidentsService ---------------------------------------------------- export class IncidentsService { constructor(pagerDutyClient) { this.client = pagerDutyClient; this.incidentsRepo = new Map(); } async load(onCallsService) { const onCalls = onCallsService.onCallRepo; if (!onCalls.size) { logger.verbose('Skipping incidents load: OnCalls not loaded yet'); return false; } const missingSchedules = new Set(); for (const [scheduleId, onCall] of onCalls.entries()) { if (!onCall || !onCall.userId) { logger.verbose( `Skip loading incidents for schedule ${scheduleId}: ` + 'on-call not loaded', ); continue; } try { // Limit the number of requests by sending them in sync. // eslint-disable-next-line no-await-in-loop const record = await this.client.getActiveIncidentForUserOnSchedule( onCall.userId, onCall.schedule.escalationPolicies, ); if (record) { const incident = Incident.fromApiRecord(record, scheduleId); this.incidentsRepo.set(scheduleId, incident); // @todo: log when oncall already has an incident and it's different onCall.setIncident(incident); logger.verbose( `Incident ${incident.id} is active for schedule ${scheduleId}`, ); logger.silly(`Incident ${incident.toString()}`); } else { // No incidents, clear. const existed = this.incidentsRepo.delete(scheduleId); onCall.clearIncident(); if (existed) { logger.verbose(`Incident resolved for schedule ${scheduleId}`); } } } catch (e) { logger.warn( `Error loading incident for user ${onCall.userId} ` + `on schedule ${scheduleId}: ${e}`, ); } } if (missingSchedules.size) { logger.warn( `Missing incidents data for schedules: ${Array.from(missingSchedules).join()}`, ); } return true; } serialize() { const result = []; for (const incident of this.incidentsRepo.values()) { if (!incident || !incident.id) { continue; } result.push(incident.serialize()); } return result; } // ------- Class end -------------------------------------------------------- } // ------- End -----------------------------------------------------------------
export class Clerk { constructor(credit = 100, transactions) { this._credit = credit; this._transactions = transactions; } calculateBalance() { let balance = 0; this._transactions.getAll().forEach(transaction => { switch (transaction.type) { case 'deposit': balance += transaction.amount; break; case 'withdraw': balance -= transaction.amount; break; } }); return balance; } isAllowed(amount) { const currentBalance = this.calculateBalance(); const creeditNeeded = Math.abs(currentBalance - amount); const isAllowed = creeditNeeded <= this._credit; return isAllowed; } }