Agata #2
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"CurrentProjectSetting": "Brak konfiguracji"
|
||||
}
|
11
.vs/VSWorkspaceState.json
Normal file
11
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
"",
|
||||
"\\highneed_react",
|
||||
"\\highneed_react\\src",
|
||||
"\\highneed_react\\src\\components",
|
||||
"\\highneed_react\\src\\Pages"
|
||||
],
|
||||
"SelectedNode": "\\highneed_react\\src\\Pages\\FBfanpage.js",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
BIN
.vs/inzynierka/v16/.suo
Normal file
BIN
.vs/inzynierka/v16/.suo
Normal file
Binary file not shown.
BIN
.vs/inzynierka/v16/Browse.VC.db
Normal file
BIN
.vs/inzynierka/v16/Browse.VC.db
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
3
highneed_react/.vs/ProjectSettings.json
Normal file
3
highneed_react/.vs/ProjectSettings.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
BIN
highneed_react/.vs/highneed_react/v16/.suo
Normal file
BIN
highneed_react/.vs/highneed_react/v16/.suo
Normal file
Binary file not shown.
BIN
highneed_react/.vs/slnx.sqlite
Normal file
BIN
highneed_react/.vs/slnx.sqlite
Normal file
Binary file not shown.
17
highneed_react/package-lock.json
generated
17
highneed_react/package-lock.json
generated
@ -3686,6 +3686,11 @@
|
||||
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
|
||||
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
|
||||
},
|
||||
"bootstrap": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.1.tgz",
|
||||
"integrity": "sha512-Fl79+wsLOZKoiU345KeEaWD0ik8WKRI5zm0YSPj2oF1Qr+BO7z0fco6GbUtqjoG1h4VI89PeKJnMsMMVQdKKTw=="
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||
@ -5083,9 +5088,9 @@
|
||||
"integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0="
|
||||
},
|
||||
"dns-packet": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz",
|
||||
"integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==",
|
||||
"version": "1.3.4",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.4.tgz",
|
||||
"integrity": "sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA==",
|
||||
"requires": {
|
||||
"ip": "^1.1.0",
|
||||
"safe-buffer": "^5.0.1"
|
||||
@ -16558,9 +16563,9 @@
|
||||
}
|
||||
},
|
||||
"ws": {
|
||||
"version": "7.4.5",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
|
||||
"integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g=="
|
||||
"version": "7.4.6",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
|
||||
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="
|
||||
},
|
||||
"xml-name-validator": {
|
||||
"version": "3.0.0",
|
||||
|
@ -6,6 +6,7 @@
|
||||
"@testing-library/jest-dom": "^5.12.0",
|
||||
"@testing-library/react": "^11.2.6",
|
||||
"@testing-library/user-event": "^12.8.3",
|
||||
"bootstrap": "^5.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-router-dom": "^5.2.0",
|
||||
|
@ -8,5 +8,5 @@ body
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Quicksand';
|
||||
font-family: 'Verdana';
|
||||
}
|
@ -1,9 +1,14 @@
|
||||
import React from 'react';
|
||||
import './App.css';
|
||||
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
|
||||
|
||||
import NavBar from './components/NavBar';
|
||||
import {BrowserRouter as Router, Switch, Route} from 'react-router-dom';
|
||||
import SearchEvent from './components/Pages/SearchEvent';
|
||||
import Home from './components/Pages/Home';
|
||||
import Home from './Pages/Home';
|
||||
import Login from './Pages/Login';
|
||||
import SearchEvent from './Pages/SearchEvent';
|
||||
import Calendar from './Pages/Calendar';
|
||||
import FBfanpage from './Pages/FBfanpage';
|
||||
|
||||
|
||||
function App() {
|
||||
return (
|
||||
@ -11,8 +16,11 @@ function App() {
|
||||
<Router>
|
||||
<NavBar />
|
||||
<Switch>
|
||||
<Route path='/' exact component={Home}/>
|
||||
<Route path='/search-event' component={SearchEvent}/>
|
||||
<Route path='/' exact component={Home} />
|
||||
<Route path='/login' exact component={Login} />
|
||||
<Route path='/search-event' component={SearchEvent} />
|
||||
<Route path='/calendar' exact component={Calendar} />
|
||||
<Route path='/fanpage' exact component={FBfanpage} />
|
||||
</Switch>
|
||||
</Router>
|
||||
</>
|
||||
|
12
highneed_react/src/Pages/Calendar.js
Normal file
12
highneed_react/src/Pages/Calendar.js
Normal file
@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
import '../App.css';
|
||||
|
||||
function Calendar() {
|
||||
return (
|
||||
<>
|
||||
Calendar
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default Calendar;
|
12
highneed_react/src/Pages/FBfanpage.js
Normal file
12
highneed_react/src/Pages/FBfanpage.js
Normal file
@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
import '../App.css';
|
||||
|
||||
function FBfanpage() {
|
||||
return (
|
||||
<>
|
||||
FB fanpage
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default FBfanpage;
|
@ -1,11 +1,10 @@
|
||||
import React from 'react';
|
||||
import '../../App.css';
|
||||
|
||||
import '../App.css';
|
||||
|
||||
function Home() {
|
||||
return (
|
||||
<>
|
||||
Strona głowna
|
||||
Strona główna
|
||||
</>
|
||||
);
|
||||
}
|
33
highneed_react/src/Pages/Login.js
Normal file
33
highneed_react/src/Pages/Login.js
Normal file
@ -0,0 +1,33 @@
|
||||
import React, { Component } from 'react';
|
||||
import '../App.css';
|
||||
|
||||
export default class Login extends Component {
|
||||
render() {
|
||||
return (
|
||||
<form>
|
||||
<h3>Logowanie</h3>
|
||||
<div className="form-group">
|
||||
<label>E-mail</label>
|
||||
<input type="email" className="form-control" placeholder="przykład@gmail.com" />
|
||||
</div>
|
||||
|
||||
<div className="form-group">
|
||||
<label>Hasło</label>
|
||||
<input type="password" className="form-control" placeholder="Podaj hasło" />
|
||||
</div>
|
||||
|
||||
<div className="form-group">
|
||||
<div className="custom-control custom-checkbox">
|
||||
<input type="checkbox" className="custom-control-input" id="customCheck1" />
|
||||
<label className="custom-control-label" htmlFor="customCheck1">Zapamiętaj</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit" className="btn btn-primary btn-block">Zaloguj</button>
|
||||
<p className="forgot-password text-right">
|
||||
<a href="#"> Nie pamiętasz hasła?</a>
|
||||
</p>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import '../../App.css';
|
||||
import Events from '../Events';
|
||||
import '../App.css';
|
||||
import Events from '../components/Events';
|
||||
|
||||
function SearchEvent() {
|
||||
return (
|
@ -13,7 +13,8 @@ function EventItem(props) {
|
||||
width='200px'
|
||||
height='200px'
|
||||
src={props.src}
|
||||
/>
|
||||
/>
|
||||
|
||||
</Link>
|
||||
<div className='events__item__info'>
|
||||
<h5 className='events__item__data'>{props.data}</h5>
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
.navbar
|
||||
{
|
||||
background-color: #64BE7B;
|
||||
@ -25,15 +24,23 @@
|
||||
background-color: #347945;
|
||||
}
|
||||
|
||||
h1
|
||||
.logo {
|
||||
height: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.logo-h1
|
||||
{
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
.logo-h2 {
|
||||
color: white;
|
||||
font-weight: lighter;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
@ -41,16 +48,9 @@ h2 {
|
||||
.icons
|
||||
{
|
||||
display: flex;
|
||||
|
||||
}
|
||||
|
||||
.logo
|
||||
{
|
||||
height: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.icon-container
|
||||
{
|
||||
|
@ -1,14 +1,12 @@
|
||||
import React, {useState} from 'react'
|
||||
import {Link} from 'react-router-dom';
|
||||
import React, { useState } from 'react'
|
||||
import { Link } from 'react-router-dom';
|
||||
import './NavBar.css';
|
||||
|
||||
function NavBar() {
|
||||
const [click, setClick] = useState(false);
|
||||
|
||||
const handleClick = () => setClick(!click);
|
||||
const closeMobileMenu = () => setClick(false);
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<nav className='navbar'>
|
||||
@ -16,31 +14,36 @@ function NavBar() {
|
||||
|
||||
<div className='menu-icon icon-container' onClick={handleClick}>
|
||||
<div className={click ? 'menu-icon-list' : 'menu-icon-cross'}>
|
||||
<svg className='icon-list' width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<line x1="4.28572" y1="7.92847" x2="25.7143" y2="7.92847" stroke="white" stroke-width="3"/>
|
||||
<line x1="4.28572" y1="21.6428" x2="25.7143" y2="21.6428" stroke="white" stroke-width="3"/>
|
||||
<line x1="4.28572" y1="14.7856" x2="25.7143" y2="14.7856" stroke="white" stroke-width="3"/>
|
||||
</svg>
|
||||
<svg className='icon-cross' width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18.3 5.70997C17.91 5.31997 17.28 5.31997 16.89 5.70997L12 10.59L7.10997 5.69997C6.71997 5.30997 6.08997 5.30997 5.69997 5.69997C5.30997 6.08997 5.30997 6.71997 5.69997 7.10997L10.59 12L5.69997 16.89C5.30997 17.28 5.30997 17.91 5.69997 18.3C6.08997 18.69 6.71997 18.69 7.10997 18.3L12 13.41L16.89 18.3C17.28 18.69 17.91 18.69 18.3 18.3C18.69 17.91 18.69 17.28 18.3 16.89L13.41 12L18.3 7.10997C18.68 6.72997 18.68 6.08997 18.3 5.70997V5.70997Z" fill="white"/>
|
||||
</svg>
|
||||
<svg className='icon-list' width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<line x1="4.28572" y1="7.92847" x2="25.7143" y2="7.92847" stroke="white" stroke-width="3" />
|
||||
<line x1="4.28572" y1="21.6428" x2="25.7143" y2="21.6428" stroke="white" stroke-width="3" />
|
||||
<line x1="4.28572" y1="14.7856" x2="25.7143" y2="14.7856" stroke="white" stroke-width="3" />
|
||||
</svg>
|
||||
<svg className='icon-cross' width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18.3 5.70997C17.91 5.31997 17.28 5.31997 16.89 5.70997L12 10.59L7.10997 5.69997C6.71997 5.30997 6.08997 5.30997 5.69997 5.69997C5.30997 6.08997 5.30997 6.71997 5.69997 7.10997L10.59 12L5.69997 16.89C5.30997 17.28 5.30997 17.91 5.69997 18.3C6.08997 18.69 6.71997 18.69 7.10997 18.3L12 13.41L16.89 18.3C17.28 18.69 17.91 18.69 18.3 18.3C18.69 17.91 18.69 17.28 18.3 16.89L13.41 12L18.3 7.10997C18.68 6.72997 18.68 6.08997 18.3 5.70997V5.70997Z" fill="white" />
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div classname='logo '>
|
||||
<Link to='/' onClick={closeMobileMenu}><h1>HighNeed.pl</h1><h2>Poznań</h2></Link>
|
||||
<div classname='logo'>
|
||||
<Link to='/' onClick={closeMobileMenu}>
|
||||
<div className = 'logo-h1'> HighNeed.pl </div>
|
||||
<div className='logo-h2'> Poznań </div>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<div className='icons'>
|
||||
<div className='home-icon icon-container'>
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.6061 23.7391V17.4347H17.3886V23.7391C17.3886 24.4326 17.9267 25 18.5843 25H22.1712C22.8288 25 23.3668 24.4326 23.3668 23.7391V14.9129H25.3994C25.9494 14.9129 26.2125 14.1942 25.794 13.816L15.7984 4.32153C15.3441 3.89282 14.6506 3.89282 14.1963 4.32153L4.20069 13.816C3.79417 14.1942 4.04526 14.9129 4.59525 14.9129H6.62785V23.7391C6.62785 24.4326 7.16588 25 7.82349 25H11.4104C12.068 25 12.6061 24.4326 12.6061 23.7391Z" fill="white"/>
|
||||
<path d="M12.6061 23.7391V17.4347H17.3886V23.7391C17.3886 24.4326 17.9267 25 18.5843 25H22.1712C22.8288 25 23.3668 24.4326 23.3668 23.7391V14.9129H25.3994C25.9494 14.9129 26.2125 14.1942 25.794 13.816L15.7984 4.32153C15.3441 3.89282 14.6506 3.89282 14.1963 4.32153L4.20069 13.816C3.79417 14.1942 4.04526 14.9129 4.59525 14.9129H6.62785V23.7391C6.62785 24.4326 7.16588 25 7.82349 25H11.4104C12.068 25 12.6061 24.4326 12.6061 23.7391Z" fill="white" />
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div className='log-in-icon icon-container'>
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.6805 8.1121C19.6805 10.4926 17.6606 12.4224 15.1692 12.4224C12.6777 12.4224 10.6579 10.4926 10.6579 8.1121C10.6579 5.73156 12.6777 3.80176 15.1692 3.80176C17.6606 3.80176 19.6805 5.73156 19.6805 8.1121ZM17.4248 8.1121C17.4248 9.30237 16.415 10.2673 15.1692 10.2673C13.9234 10.2673 12.9135 9.30237 12.9135 8.1121C12.9135 6.92183 13.9234 5.95693 15.1692 5.95693C16.415 5.95693 17.4248 6.92183 17.4248 8.1121Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 24.6724V17.1724C7.5 15.1012 8.93909 13.4224 10.7143 13.4224H19.2857C21.061 13.4224 22.5 15.1012 22.5 17.1724V24.6724H7.5ZM19.2857 15.9224C19.8775 15.9224 20.3571 16.482 20.3571 17.1724V22.3448H9.64286V17.1724C9.64286 16.482 10.1226 15.9224 10.7143 15.9224H19.2857Z" fill="white"/>
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.6805 8.1121C19.6805 10.4926 17.6606 12.4224 15.1692 12.4224C12.6777 12.4224 10.6579 10.4926 10.6579 8.1121C10.6579 5.73156 12.6777 3.80176 15.1692 3.80176C17.6606 3.80176 19.6805 5.73156 19.6805 8.1121ZM17.4248 8.1121C17.4248 9.30237 16.415 10.2673 15.1692 10.2673C13.9234 10.2673 12.9135 9.30237 12.9135 8.1121C12.9135 6.92183 13.9234 5.95693 15.1692 5.95693C16.415 5.95693 17.4248 6.92183 17.4248 8.1121Z" fill="white" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 24.6724V17.1724C7.5 15.1012 8.93909 13.4224 10.7143 13.4224H19.2857C21.061 13.4224 22.5 15.1012 22.5 17.1724V24.6724H7.5ZM19.2857 15.9224C19.8775 15.9224 20.3571 16.482 20.3571 17.1724V22.3448H9.64286V17.1724C9.64286 16.482 10.1226 15.9224 10.7143 15.9224H19.2857Z" fill="white" />
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
@ -54,44 +57,47 @@ function NavBar() {
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.4004 6.76005C16.4004 8.74383 14.7172 10.352 12.641 10.352C10.5647 10.352 8.88159 8.74383 8.88159 6.76005C8.88159 4.77626 10.5647 3.16809 12.641 3.16809C14.7172 3.16809 16.4004 4.77626 16.4004 6.76005ZM14.5207 6.76005C14.5207 7.75194 13.6791 8.55602 12.641 8.55602C11.6028 8.55602 10.7613 7.75194 10.7613 6.76005C10.7613 5.76815 11.6028 4.96407 12.641 4.96407C13.6791 4.96407 14.5207 5.76815 14.5207 6.76005Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.25 20.5604V14.3104C6.25 12.5844 7.44924 11.1854 8.92857 11.1854H16.0714C17.5508 11.1854 18.75 12.5844 18.75 14.3104V20.5604H6.25ZM16.0714 13.2687C16.5646 13.2687 16.9643 13.735 16.9643 14.3104V18.6207H8.03571V14.3104C8.03571 13.735 8.43546 13.2687 8.92857 13.2687H16.0714Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.4004 6.76005C16.4004 8.74383 14.7172 10.352 12.641 10.352C10.5647 10.352 8.88159 8.74383 8.88159 6.76005C8.88159 4.77626 10.5647 3.16809 12.641 3.16809C14.7172 3.16809 16.4004 4.77626 16.4004 6.76005ZM14.5207 6.76005C14.5207 7.75194 13.6791 8.55602 12.641 8.55602C11.6028 8.55602 10.7613 7.75194 10.7613 6.76005C10.7613 5.76815 11.6028 4.96407 12.641 4.96407C13.6791 4.96407 14.5207 5.76815 14.5207 6.76005Z" fill="black" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.25 20.5604V14.3104C6.25 12.5844 7.44924 11.1854 8.92857 11.1854H16.0714C17.5508 11.1854 18.75 12.5844 18.75 14.3104V20.5604H6.25ZM16.0714 13.2687C16.5646 13.2687 16.9643 13.735 16.9643 14.3104V18.6207H8.03571V14.3104C8.03571 13.735 8.43546 13.2687 8.92857 13.2687H16.0714Z" fill="black" />
|
||||
</svg>
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/search-event' onClick={closeMobileMenu} >Zaloguj się</Link>
|
||||
<Link className='nav-links' to='/login' onClick={closeMobileMenu} >Zaloguj się</Link>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.9325 15.7562C18.969 13.1408 18.785 9.35694 16.3807 6.95262C13.7772 4.34913 9.55612 4.34913 6.95262 6.95262C4.34913 9.55612 4.34913 13.7772 6.95262 16.3807C9.35694 18.785 13.1408 18.969 15.7562 16.9325C15.7675 16.9453 15.7793 16.9578 15.7915 16.97L19.327 20.5055C19.6524 20.8309 20.1801 20.8309 20.5055 20.5055C20.8309 20.1801 20.8309 19.6524 20.5055 19.327L16.97 15.7915C16.9578 15.7793 16.9453 15.7675 16.9325 15.7562ZM15.2022 8.13113C17.1548 10.0838 17.1548 13.2496 15.2022 15.2022C13.2496 17.1548 10.0838 17.1548 8.13113 15.2022C6.17851 13.2496 6.17851 10.0838 8.13113 8.13113C10.0838 6.17851 13.2496 6.17851 15.2022 8.13113Z" fill="black"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/search-event' onClick={closeMobileMenu} >Wyszukaj wydarzenie</Link>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16.6667 10.4167H8.33333C7.76042 10.4167 7.29167 10.8854 7.29167 11.4583C7.29167 12.0312 7.76042 12.5 8.33333 12.5H16.6667C17.2396 12.5 17.7083 12.0312 17.7083 11.4583C17.7083 10.8854 17.2396 10.4167 16.6667 10.4167ZM19.7917 3.12499H18.75V2.08332C18.75 1.51041 18.2812 1.04166 17.7083 1.04166C17.1354 1.04166 16.6667 1.51041 16.6667 2.08332V3.12499H8.33333V2.08332C8.33333 1.51041 7.86458 1.04166 7.29167 1.04166C6.71875 1.04166 6.25 1.51041 6.25 2.08332V3.12499H5.20833C4.05208 3.12499 3.125 4.06249 3.125 5.20832V19.7917C3.125 20.9375 4.05208 21.875 5.20833 21.875H19.7917C20.9375 21.875 21.875 20.9375 21.875 19.7917V5.20832C21.875 4.06249 20.9375 3.12499 19.7917 3.12499ZM18.75 19.7917H6.25C5.67708 19.7917 5.20833 19.3229 5.20833 18.75V8.33332H19.7917V18.75C19.7917 19.3229 19.3229 19.7917 18.75 19.7917ZM13.5417 14.5833H8.33333C7.76042 14.5833 7.29167 15.0521 7.29167 15.625C7.29167 16.1979 7.76042 16.6667 8.33333 16.6667H13.5417C14.1146 16.6667 14.5833 16.1979 14.5833 15.625C14.5833 15.0521 14.1146 14.5833 13.5417 14.5833Z" fill="black" fill-opacity="0.8"/>
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/search-event' onClick={closeMobileMenu} >Kalendarz</Link>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M25 12.5C25 5.59589 19.4041 0 12.5 0C5.59589 0 0 5.59589 0 12.5C0 18.7397 4.56849 23.911 10.5479 24.8493V16.1164H7.37671V12.5H10.5479V9.74658C10.5479 6.61644 12.411 4.88356 15.2671 4.88356C16.637 4.88356 18.0685 5.13014 18.0685 5.13014V8.20548H16.4931C14.9384 8.20548 14.4589 9.17123 14.4589 10.1575V12.5H17.9247L17.3699 16.1164H14.4589V24.8493C20.4315 23.911 25 18.7397 25 12.5Z" fill="#1877F2"/>
|
||||
<path d="M17.3631 16.1164L17.9178 12.5H14.4521V10.1575C14.4521 9.17119 14.9384 8.20543 16.4863 8.20543H18.0617V5.13009C18.0617 5.13009 16.6302 4.88351 15.2603 4.88351C12.4041 4.88351 10.5411 6.61639 10.5411 9.74653V12.5H7.3699V16.1164H10.5411V24.8493C11.1781 24.952 11.8288 25 12.4932 25C13.1576 25 13.8083 24.9452 14.4452 24.8493V16.1164H17.3631Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.9325 15.7562C18.969 13.1408 18.785 9.35694 16.3807 6.95262C13.7772 4.34913 9.55612 4.34913 6.95262 6.95262C4.34913 9.55612 4.34913 13.7772 6.95262 16.3807C9.35694 18.785 13.1408 18.969 15.7562 16.9325C15.7675 16.9453 15.7793 16.9578 15.7915 16.97L19.327 20.5055C19.6524 20.8309 20.1801 20.8309 20.5055 20.5055C20.8309 20.1801 20.8309 19.6524 20.5055 19.327L16.97 15.7915C16.9578 15.7793 16.9453 15.7675 16.9325 15.7562ZM15.2022 8.13113C17.1548 10.0838 17.1548 13.2496 15.2022 15.2022C13.2496 17.1548 10.0838 17.1548 8.13113 15.2022C6.17851 13.2496 6.17851 10.0838 8.13113 8.13113C10.0838 6.17851 13.2496 6.17851 15.2022 8.13113Z" fill="black" />
|
||||
</svg>
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/search-event' onClick={closeMobileMenu} >Facebook fanpage</Link>
|
||||
<Link className='nav-links' to='/search-event' onClick={closeMobileMenu} >Wyszukaj wydarzenie</Link>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16.6667 10.4167H8.33333C7.76042 10.4167 7.29167 10.8854 7.29167 11.4583C7.29167 12.0312 7.76042 12.5 8.33333 12.5H16.6667C17.2396 12.5 17.7083 12.0312 17.7083 11.4583C17.7083 10.8854 17.2396 10.4167 16.6667 10.4167ZM19.7917 3.12499H18.75V2.08332C18.75 1.51041 18.2812 1.04166 17.7083 1.04166C17.1354 1.04166 16.6667 1.51041 16.6667 2.08332V3.12499H8.33333V2.08332C8.33333 1.51041 7.86458 1.04166 7.29167 1.04166C6.71875 1.04166 6.25 1.51041 6.25 2.08332V3.12499H5.20833C4.05208 3.12499 3.125 4.06249 3.125 5.20832V19.7917C3.125 20.9375 4.05208 21.875 5.20833 21.875H19.7917C20.9375 21.875 21.875 20.9375 21.875 19.7917V5.20832C21.875 4.06249 20.9375 3.12499 19.7917 3.12499ZM18.75 19.7917H6.25C5.67708 19.7917 5.20833 19.3229 5.20833 18.75V8.33332H19.7917V18.75C19.7917 19.3229 19.3229 19.7917 18.75 19.7917ZM13.5417 14.5833H8.33333C7.76042 14.5833 7.29167 15.0521 7.29167 15.625C7.29167 16.1979 7.76042 16.6667 8.33333 16.6667H13.5417C14.1146 16.6667 14.5833 16.1979 14.5833 15.625C14.5833 15.0521 14.1146 14.5833 13.5417 14.5833Z" fill="black" fill-opacity="0.8" />
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/calendar' onClick={closeMobileMenu} >Kalendarz</Link>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div className='sidebar-icon'>
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M25 12.5C25 5.59589 19.4041 0 12.5 0C5.59589 0 0 5.59589 0 12.5C0 18.7397 4.56849 23.911 10.5479 24.8493V16.1164H7.37671V12.5H10.5479V9.74658C10.5479 6.61644 12.411 4.88356 15.2671 4.88356C16.637 4.88356 18.0685 5.13014 18.0685 5.13014V8.20548H16.4931C14.9384 8.20548 14.4589 9.17123 14.4589 10.1575V12.5H17.9247L17.3699 16.1164H14.4589V24.8493C20.4315 23.911 25 18.7397 25 12.5Z" fill="#1877F2" />
|
||||
<path d="M17.3631 16.1164L17.9178 12.5H14.4521V10.1575C14.4521 9.17119 14.9384 8.20543 16.4863 8.20543H18.0617V5.13009C18.0617 5.13009 16.6302 4.88351 15.2603 4.88351C12.4041 4.88351 10.5411 6.61639 10.5411 9.74653V12.5H7.3699V16.1164H10.5411V24.8493C11.1781 24.952 11.8288 25 12.4932 25C13.1576 25 13.8083 24.9452 14.4452 24.8493V16.1164H17.3631Z" fill="white" />
|
||||
</svg>
|
||||
</div>
|
||||
<div className='sidebar-text'>
|
||||
<Link className='nav-links' to='/fanpage' onClick={closeMobileMenu} >Facebook fanpage</Link>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -1,12 +1,12 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
|
||||
|
||||
ReactDOM.render(
|
||||
|
||||
<App />,
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
</BrowserRouter>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
||||
|
||||
|
15
node_modules/.bin/loose-envify
generated
vendored
Normal file
15
node_modules/.bin/loose-envify
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../loose-envify/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../loose-envify/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
17
node_modules/.bin/loose-envify.cmd
generated
vendored
Normal file
17
node_modules/.bin/loose-envify.cmd
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\loose-envify\cli.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
18
node_modules/.bin/loose-envify.ps1
generated
vendored
Normal file
18
node_modules/.bin/loose-envify.ps1
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../loose-envify/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../loose-envify/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
22
node_modules/@babel/runtime/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/runtime/LICENSE
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
node_modules/@babel/runtime/README.md
generated
vendored
Normal file
19
node_modules/@babel/runtime/README.md
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# @babel/runtime
|
||||
|
||||
> babel's modular runtime helpers
|
||||
|
||||
See our website [@babel/runtime](https://babeljs.io/docs/en/babel-runtime) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save @babel/runtime
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/runtime
|
||||
```
|
99
node_modules/@babel/runtime/helpers/AsyncGenerator.js
generated
vendored
Normal file
99
node_modules/@babel/runtime/helpers/AsyncGenerator.js
generated
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
var AwaitValue = require("./AwaitValue.js");
|
||||
|
||||
function AsyncGenerator(gen) {
|
||||
var front, back;
|
||||
|
||||
function send(key, arg) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
var request = {
|
||||
key: key,
|
||||
arg: arg,
|
||||
resolve: resolve,
|
||||
reject: reject,
|
||||
next: null
|
||||
};
|
||||
|
||||
if (back) {
|
||||
back = back.next = request;
|
||||
} else {
|
||||
front = back = request;
|
||||
resume(key, arg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function resume(key, arg) {
|
||||
try {
|
||||
var result = gen[key](arg);
|
||||
var value = result.value;
|
||||
var wrappedAwait = value instanceof AwaitValue;
|
||||
Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
|
||||
if (wrappedAwait) {
|
||||
resume(key === "return" ? "return" : "next", arg);
|
||||
return;
|
||||
}
|
||||
|
||||
settle(result.done ? "return" : "normal", arg);
|
||||
}, function (err) {
|
||||
resume("throw", err);
|
||||
});
|
||||
} catch (err) {
|
||||
settle("throw", err);
|
||||
}
|
||||
}
|
||||
|
||||
function settle(type, value) {
|
||||
switch (type) {
|
||||
case "return":
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: true
|
||||
});
|
||||
break;
|
||||
|
||||
case "throw":
|
||||
front.reject(value);
|
||||
break;
|
||||
|
||||
default:
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: false
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
front = front.next;
|
||||
|
||||
if (front) {
|
||||
resume(front.key, front.arg);
|
||||
} else {
|
||||
back = null;
|
||||
}
|
||||
}
|
||||
|
||||
this._invoke = send;
|
||||
|
||||
if (typeof gen["return"] !== "function") {
|
||||
this["return"] = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype.next = function (arg) {
|
||||
return this._invoke("next", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["throw"] = function (arg) {
|
||||
return this._invoke("throw", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["return"] = function (arg) {
|
||||
return this._invoke("return", arg);
|
||||
};
|
||||
|
||||
module.exports = AsyncGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
node_modules/@babel/runtime/helpers/AwaitValue.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/AwaitValue.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
function _AwaitValue(value) {
|
||||
this.wrapped = value;
|
||||
}
|
||||
|
||||
module.exports = _AwaitValue;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
31
node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
generated
vendored
Normal file
31
node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
|
||||
var desc = {};
|
||||
Object.keys(descriptor).forEach(function (key) {
|
||||
desc[key] = descriptor[key];
|
||||
});
|
||||
desc.enumerable = !!desc.enumerable;
|
||||
desc.configurable = !!desc.configurable;
|
||||
|
||||
if ('value' in desc || desc.initializer) {
|
||||
desc.writable = true;
|
||||
}
|
||||
|
||||
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
|
||||
return decorator(target, property, desc) || desc;
|
||||
}, desc);
|
||||
|
||||
if (context && desc.initializer !== void 0) {
|
||||
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
||||
desc.initializer = undefined;
|
||||
}
|
||||
|
||||
if (desc.initializer === void 0) {
|
||||
Object.defineProperty(target, property, desc);
|
||||
desc = null;
|
||||
}
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
module.exports = _applyDecoratedDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
12
node_modules/@babel/runtime/helpers/arrayLikeToArray.js
generated
vendored
Normal file
12
node_modules/@babel/runtime/helpers/arrayLikeToArray.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
function _arrayLikeToArray(arr, len) {
|
||||
if (len == null || len > arr.length) len = arr.length;
|
||||
|
||||
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
||||
arr2[i] = arr[i];
|
||||
}
|
||||
|
||||
return arr2;
|
||||
}
|
||||
|
||||
module.exports = _arrayLikeToArray;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
node_modules/@babel/runtime/helpers/arrayWithHoles.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/arrayWithHoles.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
function _arrayWithHoles(arr) {
|
||||
if (Array.isArray(arr)) return arr;
|
||||
}
|
||||
|
||||
module.exports = _arrayWithHoles;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray.js");
|
||||
|
||||
function _arrayWithoutHoles(arr) {
|
||||
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
||||
}
|
||||
|
||||
module.exports = _arrayWithoutHoles;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
10
node_modules/@babel/runtime/helpers/assertThisInitialized.js
generated
vendored
Normal file
10
node_modules/@babel/runtime/helpers/assertThisInitialized.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function _assertThisInitialized(self) {
|
||||
if (self === void 0) {
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
module.exports = _assertThisInitialized;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
57
node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
generated
vendored
Normal file
57
node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
generated
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
function _asyncGeneratorDelegate(inner, awaitWrap) {
|
||||
var iter = {},
|
||||
waiting = false;
|
||||
|
||||
function pump(key, value) {
|
||||
waiting = true;
|
||||
value = new Promise(function (resolve) {
|
||||
resolve(inner[key](value));
|
||||
});
|
||||
return {
|
||||
done: false,
|
||||
value: awaitWrap(value)
|
||||
};
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
iter.next = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("next", value);
|
||||
};
|
||||
|
||||
if (typeof inner["throw"] === "function") {
|
||||
iter["throw"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
throw value;
|
||||
}
|
||||
|
||||
return pump("throw", value);
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof inner["return"] === "function") {
|
||||
iter["return"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("return", value);
|
||||
};
|
||||
}
|
||||
|
||||
return iter;
|
||||
}
|
||||
|
||||
module.exports = _asyncGeneratorDelegate;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
16
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
16
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
function _asyncIterator(iterable) {
|
||||
var method;
|
||||
|
||||
if (typeof Symbol !== "undefined") {
|
||||
if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
|
||||
if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
|
||||
}
|
||||
|
||||
if (method == null) method = iterable["@@asyncIterator"];
|
||||
if (method == null) method = iterable["@@iterator"];
|
||||
if (method == null) throw new TypeError("Object is not async iterable");
|
||||
return method.call(iterable);
|
||||
}
|
||||
|
||||
module.exports = _asyncIterator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
38
node_modules/@babel/runtime/helpers/asyncToGenerator.js
generated
vendored
Normal file
38
node_modules/@babel/runtime/helpers/asyncToGenerator.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg);
|
||||
var value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.done) {
|
||||
resolve(value);
|
||||
} else {
|
||||
Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
}
|
||||
|
||||
function _asyncToGenerator(fn) {
|
||||
return function () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
return new Promise(function (resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
|
||||
_next(undefined);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _asyncToGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
var AwaitValue = require("./AwaitValue.js");
|
||||
|
||||
function _awaitAsyncGenerator(value) {
|
||||
return new AwaitValue(value);
|
||||
}
|
||||
|
||||
module.exports = _awaitAsyncGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
23
node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
generated
vendored
Normal file
23
node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
function _classApplyDescriptorDestructureSet(receiver, descriptor) {
|
||||
if (descriptor.set) {
|
||||
if (!("__destrObj" in descriptor)) {
|
||||
descriptor.__destrObj = {
|
||||
set value(v) {
|
||||
descriptor.set.call(receiver, v);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return descriptor.__destrObj;
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
return descriptor;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorDestructureSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
10
node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js
generated
vendored
Normal file
10
node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function _classApplyDescriptorGet(receiver, descriptor) {
|
||||
if (descriptor.get) {
|
||||
return descriptor.get.call(receiver);
|
||||
}
|
||||
|
||||
return descriptor.value;
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
14
node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
generated
vendored
Normal file
14
node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
function _classApplyDescriptorSet(receiver, descriptor, value) {
|
||||
if (descriptor.set) {
|
||||
descriptor.set.call(receiver, value);
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
descriptor.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/classCallCheck.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/classCallCheck.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
function _classCallCheck(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) {
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCallCheck;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
||||
if (receiver !== classConstructor) {
|
||||
throw new TypeError("Private static access of wrong provenance");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCheckPrivateStaticAccess;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
||||
if (descriptor === undefined) {
|
||||
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCheckPrivateStaticFieldDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
10
node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
generated
vendored
Normal file
10
node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
||||
if (!privateMap.has(receiver)) {
|
||||
throw new TypeError("attempted to " + action + " private field on non-instance");
|
||||
}
|
||||
|
||||
return privateMap.get(receiver);
|
||||
}
|
||||
|
||||
module.exports = _classExtractFieldDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
node_modules/@babel/runtime/helpers/classNameTDZError.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/classNameTDZError.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
function _classNameTDZError(name) {
|
||||
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
||||
}
|
||||
|
||||
module.exports = _classNameTDZError;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
11
node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
11
node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
|
||||
|
||||
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
|
||||
|
||||
function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
||||
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldDestructureSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
11
node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
generated
vendored
Normal file
11
node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
|
||||
|
||||
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
|
||||
|
||||
function _classPrivateFieldGet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
|
||||
return classApplyDescriptorGet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
10
node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
generated
vendored
Normal file
10
node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function _classPrivateFieldBase(receiver, privateKey) {
|
||||
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
||||
throw new TypeError("attempted to use private field on non-instance");
|
||||
}
|
||||
|
||||
return receiver;
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldBase;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
8
node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
var id = 0;
|
||||
|
||||
function _classPrivateFieldKey(name) {
|
||||
return "__private_" + id++ + "_" + name;
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldKey;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
12
node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
generated
vendored
Normal file
12
node_modules/@babel/runtime/helpers/classPrivateFieldSet.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
|
||||
|
||||
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
|
||||
|
||||
function _classPrivateFieldSet(receiver, privateMap, value) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
||||
classApplyDescriptorSet(receiver, descriptor, value);
|
||||
return value;
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
10
node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
generated
vendored
Normal file
10
node_modules/@babel/runtime/helpers/classPrivateMethodGet.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
||||
if (!privateSet.has(receiver)) {
|
||||
throw new TypeError("attempted to get private field on non-instance");
|
||||
}
|
||||
|
||||
return fn;
|
||||
}
|
||||
|
||||
module.exports = _classPrivateMethodGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/classPrivateMethodSet.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
function _classPrivateMethodSet() {
|
||||
throw new TypeError("attempted to reassign private method");
|
||||
}
|
||||
|
||||
module.exports = _classPrivateMethodSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
14
node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
generated
vendored
Normal file
14
node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
|
||||
|
||||
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
|
||||
|
||||
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
|
||||
|
||||
function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
||||
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classStaticPrivateFieldDestructureSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
14
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
14
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
|
||||
|
||||
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
|
||||
|
||||
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
|
||||
|
||||
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
||||
return classApplyDescriptorGet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classStaticPrivateFieldSpecGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
15
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
15
node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
|
||||
|
||||
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
|
||||
|
||||
var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
|
||||
|
||||
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
||||
classApplyDescriptorSet(receiver, descriptor, value);
|
||||
return value;
|
||||
}
|
||||
|
||||
module.exports = _classStaticPrivateFieldSpecSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
9
node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
|
||||
|
||||
function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
return method;
|
||||
}
|
||||
|
||||
module.exports = _classStaticPrivateMethodGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
6
node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
function _classStaticPrivateMethodSet() {
|
||||
throw new TypeError("attempted to set read only static private field");
|
||||
}
|
||||
|
||||
module.exports = _classStaticPrivateMethodSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
26
node_modules/@babel/runtime/helpers/construct.js
generated
vendored
Normal file
26
node_modules/@babel/runtime/helpers/construct.js
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
var setPrototypeOf = require("./setPrototypeOf.js");
|
||||
|
||||
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
||||
|
||||
function _construct(Parent, args, Class) {
|
||||
if (isNativeReflectConstruct()) {
|
||||
module.exports = _construct = Reflect.construct;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
} else {
|
||||
module.exports = _construct = function _construct(Parent, args, Class) {
|
||||
var a = [null];
|
||||
a.push.apply(a, args);
|
||||
var Constructor = Function.bind.apply(Parent, a);
|
||||
var instance = new Constructor();
|
||||
if (Class) setPrototypeOf(instance, Class.prototype);
|
||||
return instance;
|
||||
};
|
||||
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
}
|
||||
|
||||
return _construct.apply(null, arguments);
|
||||
}
|
||||
|
||||
module.exports = _construct;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
18
node_modules/@babel/runtime/helpers/createClass.js
generated
vendored
Normal file
18
node_modules/@babel/runtime/helpers/createClass.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
module.exports = _createClass;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
61
node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
generated
vendored
Normal file
61
node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js
generated
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
||||
|
||||
function _createForOfIteratorHelper(o, allowArrayLike) {
|
||||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
||||
|
||||
if (!it) {
|
||||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
||||
if (it) o = it;
|
||||
var i = 0;
|
||||
|
||||
var F = function F() {};
|
||||
|
||||
return {
|
||||
s: F,
|
||||
n: function n() {
|
||||
if (i >= o.length) return {
|
||||
done: true
|
||||
};
|
||||
return {
|
||||
done: false,
|
||||
value: o[i++]
|
||||
};
|
||||
},
|
||||
e: function e(_e) {
|
||||
throw _e;
|
||||
},
|
||||
f: F
|
||||
};
|
||||
}
|
||||
|
||||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
|
||||
var normalCompletion = true,
|
||||
didErr = false,
|
||||
err;
|
||||
return {
|
||||
s: function s() {
|
||||
it = it.call(o);
|
||||
},
|
||||
n: function n() {
|
||||
var step = it.next();
|
||||
normalCompletion = step.done;
|
||||
return step;
|
||||
},
|
||||
e: function e(_e2) {
|
||||
didErr = true;
|
||||
err = _e2;
|
||||
},
|
||||
f: function f() {
|
||||
try {
|
||||
if (!normalCompletion && it["return"] != null) it["return"]();
|
||||
} finally {
|
||||
if (didErr) throw err;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _createForOfIteratorHelper;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
25
node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
generated
vendored
Normal file
25
node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
||||
|
||||
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
||||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
||||
if (it) return (it = it.call(o)).next.bind(it);
|
||||
|
||||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
||||
if (it) o = it;
|
||||
var i = 0;
|
||||
return function () {
|
||||
if (i >= o.length) return {
|
||||
done: true
|
||||
};
|
||||
return {
|
||||
done: false,
|
||||
value: o[i++]
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
|
||||
module.exports = _createForOfIteratorHelperLoose;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
25
node_modules/@babel/runtime/helpers/createSuper.js
generated
vendored
Normal file
25
node_modules/@babel/runtime/helpers/createSuper.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
var getPrototypeOf = require("./getPrototypeOf.js");
|
||||
|
||||
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
||||
|
||||
var possibleConstructorReturn = require("./possibleConstructorReturn.js");
|
||||
|
||||
function _createSuper(Derived) {
|
||||
var hasNativeReflectConstruct = isNativeReflectConstruct();
|
||||
return function _createSuperInternal() {
|
||||
var Super = getPrototypeOf(Derived),
|
||||
result;
|
||||
|
||||
if (hasNativeReflectConstruct) {
|
||||
var NewTarget = getPrototypeOf(this).constructor;
|
||||
result = Reflect.construct(Super, arguments, NewTarget);
|
||||
} else {
|
||||
result = Super.apply(this, arguments);
|
||||
}
|
||||
|
||||
return possibleConstructorReturn(this, result);
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _createSuper;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
401
node_modules/@babel/runtime/helpers/decorate.js
generated
vendored
Normal file
401
node_modules/@babel/runtime/helpers/decorate.js
generated
vendored
Normal file
@ -0,0 +1,401 @@
|
||||
var toArray = require("./toArray.js");
|
||||
|
||||
var toPropertyKey = require("./toPropertyKey.js");
|
||||
|
||||
function _decorate(decorators, factory, superClass, mixins) {
|
||||
var api = _getDecoratorsApi();
|
||||
|
||||
if (mixins) {
|
||||
for (var i = 0; i < mixins.length; i++) {
|
||||
api = mixins[i](api);
|
||||
}
|
||||
}
|
||||
|
||||
var r = factory(function initialize(O) {
|
||||
api.initializeInstanceElements(O, decorated.elements);
|
||||
}, superClass);
|
||||
var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators);
|
||||
api.initializeClassElements(r.F, decorated.elements);
|
||||
return api.runClassFinishers(r.F, decorated.finishers);
|
||||
}
|
||||
|
||||
function _getDecoratorsApi() {
|
||||
_getDecoratorsApi = function _getDecoratorsApi() {
|
||||
return api;
|
||||
};
|
||||
|
||||
var api = {
|
||||
elementsDefinitionOrder: [["method"], ["field"]],
|
||||
initializeInstanceElements: function initializeInstanceElements(O, elements) {
|
||||
["method", "field"].forEach(function (kind) {
|
||||
elements.forEach(function (element) {
|
||||
if (element.kind === kind && element.placement === "own") {
|
||||
this.defineClassElement(O, element);
|
||||
}
|
||||
}, this);
|
||||
}, this);
|
||||
},
|
||||
initializeClassElements: function initializeClassElements(F, elements) {
|
||||
var proto = F.prototype;
|
||||
["method", "field"].forEach(function (kind) {
|
||||
elements.forEach(function (element) {
|
||||
var placement = element.placement;
|
||||
|
||||
if (element.kind === kind && (placement === "static" || placement === "prototype")) {
|
||||
var receiver = placement === "static" ? F : proto;
|
||||
this.defineClassElement(receiver, element);
|
||||
}
|
||||
}, this);
|
||||
}, this);
|
||||
},
|
||||
defineClassElement: function defineClassElement(receiver, element) {
|
||||
var descriptor = element.descriptor;
|
||||
|
||||
if (element.kind === "field") {
|
||||
var initializer = element.initializer;
|
||||
descriptor = {
|
||||
enumerable: descriptor.enumerable,
|
||||
writable: descriptor.writable,
|
||||
configurable: descriptor.configurable,
|
||||
value: initializer === void 0 ? void 0 : initializer.call(receiver)
|
||||
};
|
||||
}
|
||||
|
||||
Object.defineProperty(receiver, element.key, descriptor);
|
||||
},
|
||||
decorateClass: function decorateClass(elements, decorators) {
|
||||
var newElements = [];
|
||||
var finishers = [];
|
||||
var placements = {
|
||||
"static": [],
|
||||
prototype: [],
|
||||
own: []
|
||||
};
|
||||
elements.forEach(function (element) {
|
||||
this.addElementPlacement(element, placements);
|
||||
}, this);
|
||||
elements.forEach(function (element) {
|
||||
if (!_hasDecorators(element)) return newElements.push(element);
|
||||
var elementFinishersExtras = this.decorateElement(element, placements);
|
||||
newElements.push(elementFinishersExtras.element);
|
||||
newElements.push.apply(newElements, elementFinishersExtras.extras);
|
||||
finishers.push.apply(finishers, elementFinishersExtras.finishers);
|
||||
}, this);
|
||||
|
||||
if (!decorators) {
|
||||
return {
|
||||
elements: newElements,
|
||||
finishers: finishers
|
||||
};
|
||||
}
|
||||
|
||||
var result = this.decorateConstructor(newElements, decorators);
|
||||
finishers.push.apply(finishers, result.finishers);
|
||||
result.finishers = finishers;
|
||||
return result;
|
||||
},
|
||||
addElementPlacement: function addElementPlacement(element, placements, silent) {
|
||||
var keys = placements[element.placement];
|
||||
|
||||
if (!silent && keys.indexOf(element.key) !== -1) {
|
||||
throw new TypeError("Duplicated element (" + element.key + ")");
|
||||
}
|
||||
|
||||
keys.push(element.key);
|
||||
},
|
||||
decorateElement: function decorateElement(element, placements) {
|
||||
var extras = [];
|
||||
var finishers = [];
|
||||
|
||||
for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) {
|
||||
var keys = placements[element.placement];
|
||||
keys.splice(keys.indexOf(element.key), 1);
|
||||
var elementObject = this.fromElementDescriptor(element);
|
||||
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject);
|
||||
element = elementFinisherExtras.element;
|
||||
this.addElementPlacement(element, placements);
|
||||
|
||||
if (elementFinisherExtras.finisher) {
|
||||
finishers.push(elementFinisherExtras.finisher);
|
||||
}
|
||||
|
||||
var newExtras = elementFinisherExtras.extras;
|
||||
|
||||
if (newExtras) {
|
||||
for (var j = 0; j < newExtras.length; j++) {
|
||||
this.addElementPlacement(newExtras[j], placements);
|
||||
}
|
||||
|
||||
extras.push.apply(extras, newExtras);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
element: element,
|
||||
finishers: finishers,
|
||||
extras: extras
|
||||
};
|
||||
},
|
||||
decorateConstructor: function decorateConstructor(elements, decorators) {
|
||||
var finishers = [];
|
||||
|
||||
for (var i = decorators.length - 1; i >= 0; i--) {
|
||||
var obj = this.fromClassDescriptor(elements);
|
||||
var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj);
|
||||
|
||||
if (elementsAndFinisher.finisher !== undefined) {
|
||||
finishers.push(elementsAndFinisher.finisher);
|
||||
}
|
||||
|
||||
if (elementsAndFinisher.elements !== undefined) {
|
||||
elements = elementsAndFinisher.elements;
|
||||
|
||||
for (var j = 0; j < elements.length - 1; j++) {
|
||||
for (var k = j + 1; k < elements.length; k++) {
|
||||
if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) {
|
||||
throw new TypeError("Duplicated element (" + elements[j].key + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
elements: elements,
|
||||
finishers: finishers
|
||||
};
|
||||
},
|
||||
fromElementDescriptor: function fromElementDescriptor(element) {
|
||||
var obj = {
|
||||
kind: element.kind,
|
||||
key: element.key,
|
||||
placement: element.placement,
|
||||
descriptor: element.descriptor
|
||||
};
|
||||
var desc = {
|
||||
value: "Descriptor",
|
||||
configurable: true
|
||||
};
|
||||
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
||||
if (element.kind === "field") obj.initializer = element.initializer;
|
||||
return obj;
|
||||
},
|
||||
toElementDescriptors: function toElementDescriptors(elementObjects) {
|
||||
if (elementObjects === undefined) return;
|
||||
return toArray(elementObjects).map(function (elementObject) {
|
||||
var element = this.toElementDescriptor(elementObject);
|
||||
this.disallowProperty(elementObject, "finisher", "An element descriptor");
|
||||
this.disallowProperty(elementObject, "extras", "An element descriptor");
|
||||
return element;
|
||||
}, this);
|
||||
},
|
||||
toElementDescriptor: function toElementDescriptor(elementObject) {
|
||||
var kind = String(elementObject.kind);
|
||||
|
||||
if (kind !== "method" && kind !== "field") {
|
||||
throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"');
|
||||
}
|
||||
|
||||
var key = toPropertyKey(elementObject.key);
|
||||
var placement = String(elementObject.placement);
|
||||
|
||||
if (placement !== "static" && placement !== "prototype" && placement !== "own") {
|
||||
throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"');
|
||||
}
|
||||
|
||||
var descriptor = elementObject.descriptor;
|
||||
this.disallowProperty(elementObject, "elements", "An element descriptor");
|
||||
var element = {
|
||||
kind: kind,
|
||||
key: key,
|
||||
placement: placement,
|
||||
descriptor: Object.assign({}, descriptor)
|
||||
};
|
||||
|
||||
if (kind !== "field") {
|
||||
this.disallowProperty(elementObject, "initializer", "A method descriptor");
|
||||
} else {
|
||||
this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor");
|
||||
this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor");
|
||||
this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor");
|
||||
element.initializer = elementObject.initializer;
|
||||
}
|
||||
|
||||
return element;
|
||||
},
|
||||
toElementFinisherExtras: function toElementFinisherExtras(elementObject) {
|
||||
var element = this.toElementDescriptor(elementObject);
|
||||
|
||||
var finisher = _optionalCallableProperty(elementObject, "finisher");
|
||||
|
||||
var extras = this.toElementDescriptors(elementObject.extras);
|
||||
return {
|
||||
element: element,
|
||||
finisher: finisher,
|
||||
extras: extras
|
||||
};
|
||||
},
|
||||
fromClassDescriptor: function fromClassDescriptor(elements) {
|
||||
var obj = {
|
||||
kind: "class",
|
||||
elements: elements.map(this.fromElementDescriptor, this)
|
||||
};
|
||||
var desc = {
|
||||
value: "Descriptor",
|
||||
configurable: true
|
||||
};
|
||||
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
||||
return obj;
|
||||
},
|
||||
toClassDescriptor: function toClassDescriptor(obj) {
|
||||
var kind = String(obj.kind);
|
||||
|
||||
if (kind !== "class") {
|
||||
throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"');
|
||||
}
|
||||
|
||||
this.disallowProperty(obj, "key", "A class descriptor");
|
||||
this.disallowProperty(obj, "placement", "A class descriptor");
|
||||
this.disallowProperty(obj, "descriptor", "A class descriptor");
|
||||
this.disallowProperty(obj, "initializer", "A class descriptor");
|
||||
this.disallowProperty(obj, "extras", "A class descriptor");
|
||||
|
||||
var finisher = _optionalCallableProperty(obj, "finisher");
|
||||
|
||||
var elements = this.toElementDescriptors(obj.elements);
|
||||
return {
|
||||
elements: elements,
|
||||
finisher: finisher
|
||||
};
|
||||
},
|
||||
runClassFinishers: function runClassFinishers(constructor, finishers) {
|
||||
for (var i = 0; i < finishers.length; i++) {
|
||||
var newConstructor = (0, finishers[i])(constructor);
|
||||
|
||||
if (newConstructor !== undefined) {
|
||||
if (typeof newConstructor !== "function") {
|
||||
throw new TypeError("Finishers must return a constructor.");
|
||||
}
|
||||
|
||||
constructor = newConstructor;
|
||||
}
|
||||
}
|
||||
|
||||
return constructor;
|
||||
},
|
||||
disallowProperty: function disallowProperty(obj, name, objectType) {
|
||||
if (obj[name] !== undefined) {
|
||||
throw new TypeError(objectType + " can't have a ." + name + " property.");
|
||||
}
|
||||
}
|
||||
};
|
||||
return api;
|
||||
}
|
||||
|
||||
function _createElementDescriptor(def) {
|
||||
var key = toPropertyKey(def.key);
|
||||
var descriptor;
|
||||
|
||||
if (def.kind === "method") {
|
||||
descriptor = {
|
||||
value: def.value,
|
||||
writable: true,
|
||||
configurable: true,
|
||||
enumerable: false
|
||||
};
|
||||
} else if (def.kind === "get") {
|
||||
descriptor = {
|
||||
get: def.value,
|
||||
configurable: true,
|
||||
enumerable: false
|
||||
};
|
||||
} else if (def.kind === "set") {
|
||||
descriptor = {
|
||||
set: def.value,
|
||||
configurable: true,
|
||||
enumerable: false
|
||||
};
|
||||
} else if (def.kind === "field") {
|
||||
descriptor = {
|
||||
configurable: true,
|
||||
writable: true,
|
||||
enumerable: true
|
||||
};
|
||||
}
|
||||
|
||||
var element = {
|
||||
kind: def.kind === "field" ? "field" : "method",
|
||||
key: key,
|
||||
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype",
|
||||
descriptor: descriptor
|
||||
};
|
||||
if (def.decorators) element.decorators = def.decorators;
|
||||
if (def.kind === "field") element.initializer = def.value;
|
||||
return element;
|
||||
}
|
||||
|
||||
function _coalesceGetterSetter(element, other) {
|
||||
if (element.descriptor.get !== undefined) {
|
||||
other.descriptor.get = element.descriptor.get;
|
||||
} else {
|
||||
other.descriptor.set = element.descriptor.set;
|
||||
}
|
||||
}
|
||||
|
||||
function _coalesceClassElements(elements) {
|
||||
var newElements = [];
|
||||
|
||||
var isSameElement = function isSameElement(other) {
|
||||
return other.kind === "method" && other.key === element.key && other.placement === element.placement;
|
||||
};
|
||||
|
||||
for (var i = 0; i < elements.length; i++) {
|
||||
var element = elements[i];
|
||||
var other;
|
||||
|
||||
if (element.kind === "method" && (other = newElements.find(isSameElement))) {
|
||||
if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) {
|
||||
if (_hasDecorators(element) || _hasDecorators(other)) {
|
||||
throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated.");
|
||||
}
|
||||
|
||||
other.descriptor = element.descriptor;
|
||||
} else {
|
||||
if (_hasDecorators(element)) {
|
||||
if (_hasDecorators(other)) {
|
||||
throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ").");
|
||||
}
|
||||
|
||||
other.decorators = element.decorators;
|
||||
}
|
||||
|
||||
_coalesceGetterSetter(element, other);
|
||||
}
|
||||
} else {
|
||||
newElements.push(element);
|
||||
}
|
||||
}
|
||||
|
||||
return newElements;
|
||||
}
|
||||
|
||||
function _hasDecorators(element) {
|
||||
return element.decorators && element.decorators.length;
|
||||
}
|
||||
|
||||
function _isDataDescriptor(desc) {
|
||||
return desc !== undefined && !(desc.value === undefined && desc.writable === undefined);
|
||||
}
|
||||
|
||||
function _optionalCallableProperty(obj, name) {
|
||||
var value = obj[name];
|
||||
|
||||
if (value !== undefined && typeof value !== "function") {
|
||||
throw new TypeError("Expected '" + name + "' to be a function");
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
module.exports = _decorate;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
17
node_modules/@babel/runtime/helpers/defaults.js
generated
vendored
Normal file
17
node_modules/@babel/runtime/helpers/defaults.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
function _defaults(obj, defaults) {
|
||||
var keys = Object.getOwnPropertyNames(defaults);
|
||||
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
var key = keys[i];
|
||||
var value = Object.getOwnPropertyDescriptor(defaults, key);
|
||||
|
||||
if (value && value.configurable && obj[key] === undefined) {
|
||||
Object.defineProperty(obj, key, value);
|
||||
}
|
||||
}
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
module.exports = _defaults;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
25
node_modules/@babel/runtime/helpers/defineEnumerableProperties.js
generated
vendored
Normal file
25
node_modules/@babel/runtime/helpers/defineEnumerableProperties.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
function _defineEnumerableProperties(obj, descs) {
|
||||
for (var key in descs) {
|
||||
var desc = descs[key];
|
||||
desc.configurable = desc.enumerable = true;
|
||||
if ("value" in desc) desc.writable = true;
|
||||
Object.defineProperty(obj, key, desc);
|
||||
}
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var objectSymbols = Object.getOwnPropertySymbols(descs);
|
||||
|
||||
for (var i = 0; i < objectSymbols.length; i++) {
|
||||
var sym = objectSymbols[i];
|
||||
var desc = descs[sym];
|
||||
desc.configurable = desc.enumerable = true;
|
||||
if ("value" in desc) desc.writable = true;
|
||||
Object.defineProperty(obj, sym, desc);
|
||||
}
|
||||
}
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
module.exports = _defineEnumerableProperties;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
17
node_modules/@babel/runtime/helpers/defineProperty.js
generated
vendored
Normal file
17
node_modules/@babel/runtime/helpers/defineProperty.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
|
||||
module.exports = _defineProperty;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
95
node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js
generated
vendored
Normal file
95
node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js
generated
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
import AwaitValue from "./AwaitValue.js";
|
||||
export default function AsyncGenerator(gen) {
|
||||
var front, back;
|
||||
|
||||
function send(key, arg) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
var request = {
|
||||
key: key,
|
||||
arg: arg,
|
||||
resolve: resolve,
|
||||
reject: reject,
|
||||
next: null
|
||||
};
|
||||
|
||||
if (back) {
|
||||
back = back.next = request;
|
||||
} else {
|
||||
front = back = request;
|
||||
resume(key, arg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function resume(key, arg) {
|
||||
try {
|
||||
var result = gen[key](arg);
|
||||
var value = result.value;
|
||||
var wrappedAwait = value instanceof AwaitValue;
|
||||
Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
|
||||
if (wrappedAwait) {
|
||||
resume(key === "return" ? "return" : "next", arg);
|
||||
return;
|
||||
}
|
||||
|
||||
settle(result.done ? "return" : "normal", arg);
|
||||
}, function (err) {
|
||||
resume("throw", err);
|
||||
});
|
||||
} catch (err) {
|
||||
settle("throw", err);
|
||||
}
|
||||
}
|
||||
|
||||
function settle(type, value) {
|
||||
switch (type) {
|
||||
case "return":
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: true
|
||||
});
|
||||
break;
|
||||
|
||||
case "throw":
|
||||
front.reject(value);
|
||||
break;
|
||||
|
||||
default:
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: false
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
front = front.next;
|
||||
|
||||
if (front) {
|
||||
resume(front.key, front.arg);
|
||||
} else {
|
||||
back = null;
|
||||
}
|
||||
}
|
||||
|
||||
this._invoke = send;
|
||||
|
||||
if (typeof gen["return"] !== "function") {
|
||||
this["return"] = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype.next = function (arg) {
|
||||
return this._invoke("next", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["throw"] = function (arg) {
|
||||
return this._invoke("throw", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["return"] = function (arg) {
|
||||
return this._invoke("return", arg);
|
||||
};
|
3
node_modules/@babel/runtime/helpers/esm/AwaitValue.js
generated
vendored
Normal file
3
node_modules/@babel/runtime/helpers/esm/AwaitValue.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export default function _AwaitValue(value) {
|
||||
this.wrapped = value;
|
||||
}
|
28
node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js
generated
vendored
Normal file
28
node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
|
||||
var desc = {};
|
||||
Object.keys(descriptor).forEach(function (key) {
|
||||
desc[key] = descriptor[key];
|
||||
});
|
||||
desc.enumerable = !!desc.enumerable;
|
||||
desc.configurable = !!desc.configurable;
|
||||
|
||||
if ('value' in desc || desc.initializer) {
|
||||
desc.writable = true;
|
||||
}
|
||||
|
||||
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
|
||||
return decorator(target, property, desc) || desc;
|
||||
}, desc);
|
||||
|
||||
if (context && desc.initializer !== void 0) {
|
||||
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
||||
desc.initializer = undefined;
|
||||
}
|
||||
|
||||
if (desc.initializer === void 0) {
|
||||
Object.defineProperty(target, property, desc);
|
||||
desc = null;
|
||||
}
|
||||
|
||||
return desc;
|
||||
}
|
9
node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
export default function _arrayLikeToArray(arr, len) {
|
||||
if (len == null || len > arr.length) len = arr.length;
|
||||
|
||||
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
||||
arr2[i] = arr[i];
|
||||
}
|
||||
|
||||
return arr2;
|
||||
}
|
3
node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
generated
vendored
Normal file
3
node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export default function _arrayWithHoles(arr) {
|
||||
if (Array.isArray(arr)) return arr;
|
||||
}
|
4
node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
generated
vendored
Normal file
4
node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import arrayLikeToArray from "./arrayLikeToArray.js";
|
||||
export default function _arrayWithoutHoles(arr) {
|
||||
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export default function _assertThisInitialized(self) {
|
||||
if (self === void 0) {
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
54
node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
generated
vendored
Normal file
54
node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
generated
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
export default function _asyncGeneratorDelegate(inner, awaitWrap) {
|
||||
var iter = {},
|
||||
waiting = false;
|
||||
|
||||
function pump(key, value) {
|
||||
waiting = true;
|
||||
value = new Promise(function (resolve) {
|
||||
resolve(inner[key](value));
|
||||
});
|
||||
return {
|
||||
done: false,
|
||||
value: awaitWrap(value)
|
||||
};
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
iter.next = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("next", value);
|
||||
};
|
||||
|
||||
if (typeof inner["throw"] === "function") {
|
||||
iter["throw"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
throw value;
|
||||
}
|
||||
|
||||
return pump("throw", value);
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof inner["return"] === "function") {
|
||||
iter["return"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("return", value);
|
||||
};
|
||||
}
|
||||
|
||||
return iter;
|
||||
}
|
13
node_modules/@babel/runtime/helpers/esm/asyncIterator.js
generated
vendored
Normal file
13
node_modules/@babel/runtime/helpers/esm/asyncIterator.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
export default function _asyncIterator(iterable) {
|
||||
var method;
|
||||
|
||||
if (typeof Symbol !== "undefined") {
|
||||
if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
|
||||
if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
|
||||
}
|
||||
|
||||
if (method == null) method = iterable["@@asyncIterator"];
|
||||
if (method == null) method = iterable["@@iterator"];
|
||||
if (method == null) throw new TypeError("Object is not async iterable");
|
||||
return method.call(iterable);
|
||||
}
|
35
node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
generated
vendored
Normal file
35
node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
generated
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg);
|
||||
var value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.done) {
|
||||
resolve(value);
|
||||
} else {
|
||||
Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
}
|
||||
|
||||
export default function _asyncToGenerator(fn) {
|
||||
return function () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
return new Promise(function (resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
|
||||
_next(undefined);
|
||||
});
|
||||
};
|
||||
}
|
4
node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js
generated
vendored
Normal file
4
node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import AwaitValue from "./AwaitValue.js";
|
||||
export default function _awaitAsyncGenerator(value) {
|
||||
return new AwaitValue(value);
|
||||
}
|
20
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js
generated
vendored
Normal file
20
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
|
||||
if (descriptor.set) {
|
||||
if (!("__destrObj" in descriptor)) {
|
||||
descriptor.__destrObj = {
|
||||
set value(v) {
|
||||
descriptor.set.call(receiver, v);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return descriptor.__destrObj;
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
return descriptor;
|
||||
}
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export default function _classApplyDescriptorGet(receiver, descriptor) {
|
||||
if (descriptor.get) {
|
||||
return descriptor.get.call(receiver);
|
||||
}
|
||||
|
||||
return descriptor.value;
|
||||
}
|
11
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
generated
vendored
Normal file
11
node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
export default function _classApplyDescriptorSet(receiver, descriptor, value) {
|
||||
if (descriptor.set) {
|
||||
descriptor.set.call(receiver, value);
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
descriptor.value = value;
|
||||
}
|
||||
}
|
5
node_modules/@babel/runtime/helpers/esm/classCallCheck.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/esm/classCallCheck.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
export default function _classCallCheck(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) {
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
}
|
5
node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
||||
if (receiver !== classConstructor) {
|
||||
throw new TypeError("Private static access of wrong provenance");
|
||||
}
|
||||
}
|
5
node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
||||
if (descriptor === undefined) {
|
||||
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
||||
}
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
||||
if (!privateMap.has(receiver)) {
|
||||
throw new TypeError("attempted to " + action + " private field on non-instance");
|
||||
}
|
||||
|
||||
return privateMap.get(receiver);
|
||||
}
|
3
node_modules/@babel/runtime/helpers/esm/classNameTDZError.js
generated
vendored
Normal file
3
node_modules/@babel/runtime/helpers/esm/classNameTDZError.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export default function _classNameTDZError(name) {
|
||||
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
||||
}
|
6
node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
|
||||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
|
||||
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
||||
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
||||
}
|
6
node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
generated
vendored
Normal file
6
node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
|
||||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
|
||||
export default function _classPrivateFieldGet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
|
||||
return classApplyDescriptorGet(receiver, descriptor);
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export default function _classPrivateFieldBase(receiver, privateKey) {
|
||||
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
||||
throw new TypeError("attempted to use private field on non-instance");
|
||||
}
|
||||
|
||||
return receiver;
|
||||
}
|
4
node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js
generated
vendored
Normal file
4
node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
var id = 0;
|
||||
export default function _classPrivateFieldKey(name) {
|
||||
return "__private_" + id++ + "_" + name;
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
|
||||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
|
||||
export default function _classPrivateFieldSet(receiver, privateMap, value) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
||||
classApplyDescriptorSet(receiver, descriptor, value);
|
||||
return value;
|
||||
}
|
7
node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
generated
vendored
Normal file
7
node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
export default function _classPrivateMethodGet(receiver, privateSet, fn) {
|
||||
if (!privateSet.has(receiver)) {
|
||||
throw new TypeError("attempted to get private field on non-instance");
|
||||
}
|
||||
|
||||
return fn;
|
||||
}
|
3
node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js
generated
vendored
Normal file
3
node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export default function _classPrivateMethodSet() {
|
||||
throw new TypeError("attempted to reassign private method");
|
||||
}
|
8
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
|
||||
import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
|
||||
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
|
||||
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
||||
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
||||
}
|
8
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
8
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
|
||||
import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
|
||||
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
|
||||
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
||||
return classApplyDescriptorGet(receiver, descriptor);
|
||||
}
|
9
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
9
node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
|
||||
import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
|
||||
import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
|
||||
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
||||
classApplyDescriptorSet(receiver, descriptor, value);
|
||||
return value;
|
||||
}
|
5
node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js
generated
vendored
Normal file
5
node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
|
||||
export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
||||
classCheckPrivateStaticAccess(receiver, classConstructor);
|
||||
return method;
|
||||
}
|
3
node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js
generated
vendored
Normal file
3
node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export default function _classStaticPrivateMethodSet() {
|
||||
throw new TypeError("attempted to set read only static private field");
|
||||
}
|
18
node_modules/@babel/runtime/helpers/esm/construct.js
generated
vendored
Normal file
18
node_modules/@babel/runtime/helpers/esm/construct.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import setPrototypeOf from "./setPrototypeOf.js";
|
||||
import isNativeReflectConstruct from "./isNativeReflectConstruct.js";
|
||||
export default function _construct(Parent, args, Class) {
|
||||
if (isNativeReflectConstruct()) {
|
||||
_construct = Reflect.construct;
|
||||
} else {
|
||||
_construct = function _construct(Parent, args, Class) {
|
||||
var a = [null];
|
||||
a.push.apply(a, args);
|
||||
var Constructor = Function.bind.apply(Parent, a);
|
||||
var instance = new Constructor();
|
||||
if (Class) setPrototypeOf(instance, Class.prototype);
|
||||
return instance;
|
||||
};
|
||||
}
|
||||
|
||||
return _construct.apply(null, arguments);
|
||||
}
|
15
node_modules/@babel/runtime/helpers/esm/createClass.js
generated
vendored
Normal file
15
node_modules/@babel/runtime/helpers/esm/createClass.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
export default function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
57
node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
generated
vendored
Normal file
57
node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
generated
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
||||
export default function _createForOfIteratorHelper(o, allowArrayLike) {
|
||||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
||||
|
||||
if (!it) {
|
||||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
||||
if (it) o = it;
|
||||
var i = 0;
|
||||
|
||||
var F = function F() {};
|
||||
|
||||
return {
|
||||
s: F,
|
||||
n: function n() {
|
||||
if (i >= o.length) return {
|
||||
done: true
|
||||
};
|
||||
return {
|
||||
done: false,
|
||||
value: o[i++]
|
||||
};
|
||||
},
|
||||
e: function e(_e) {
|
||||
throw _e;
|
||||
},
|
||||
f: F
|
||||
};
|
||||
}
|
||||
|
||||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
|
||||
var normalCompletion = true,
|
||||
didErr = false,
|
||||
err;
|
||||
return {
|
||||
s: function s() {
|
||||
it = it.call(o);
|
||||
},
|
||||
n: function n() {
|
||||
var step = it.next();
|
||||
normalCompletion = step.done;
|
||||
return step;
|
||||
},
|
||||
e: function e(_e2) {
|
||||
didErr = true;
|
||||
err = _e2;
|
||||
},
|
||||
f: function f() {
|
||||
try {
|
||||
if (!normalCompletion && it["return"] != null) it["return"]();
|
||||
} finally {
|
||||
if (didErr) throw err;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user